From f0b211f269df2b0bb10d5552d14aeb8991a750ed Mon Sep 17 00:00:00 2001 From: seshukm Date: Fri, 20 Jan 2017 17:43:08 +0530 Subject: GUI Code refactor GUI Code refactor for the sun release code. Issue-Id : CLIENT-11 Change-Id: I771cc25ff3c8ff7a4e939ce7baef7dd94a67974b Signed-off-by: seshukm --- .../main/webapp/common/css/ZteIctIcons/Read Me.txt | 14 +- .../common/css/ZteIctIcons/demo-files/demo.css | 302 +- .../common/css/ZteIctIcons/demo-files/demo.js | 60 +- .../main/webapp/common/css/ZteIctIcons/demo.html | 9614 +- .../common/css/ZteIctIcons/fonts/ZteIctIcons.svg | 614 +- .../webapp/common/css/ZteIctIcons/selection.json | 16814 +-- .../main/webapp/common/css/ZteIctIcons/style.css | 1842 +- .../src/main/webapp/common/css/animate.css | 6556 +- .../src/main/webapp/common/css/frame-style.css | 508 +- .../src/main/webapp/common/css/login-apk.css | 364 +- .../src/main/webapp/common/css/login.css | 398 +- .../src/main/webapp/common/css/main_page.css | 96 +- .../src/main/webapp/common/css/more-operation.css | 332 +- .../src/main/webapp/common/css/ngict-component.css | 1578 +- .../src/main/webapp/common/css/plugins.css | 3122 +- .../src/main/webapp/common/css/print.css | 104 +- .../src/main/webapp/common/css/style-custom.css | 3018 +- .../main/webapp/common/css/style-ict-bootstrap.css | 1676 +- .../src/main/webapp/common/css/style-ict.css | 1640 +- .../main/webapp/common/css/style-responsive.css | 1976 +- .../src/main/webapp/common/css/style.css | 9428 +- .../src/main/webapp/common/css/themes/black.css | 776 +- .../main/webapp/common/css/themes/black_ifrm.css | 414 +- .../src/main/webapp/common/css/themes/blue.css | 748 +- .../main/webapp/common/css/themes/blue_ifrm.css | 414 +- .../src/main/webapp/common/css/themes/brown.css | 752 +- .../main/webapp/common/css/themes/brown_ifrm.css | 414 +- .../src/main/webapp/common/css/themes/grey.css | 744 +- .../main/webapp/common/css/themes/grey_ifrm.css | 418 +- .../src/main/webapp/common/css/themes/light.css | 956 +- .../main/webapp/common/css/themes/light_ifrm.css | 414 +- .../src/main/webapp/common/css/themes/purple.css | 750 +- .../main/webapp/common/css/themes/purple_ifrm.css | 414 +- .../src/main/webapp/common/css/themes/zteblue.css | 796 +- .../main/webapp/common/css/themes/zteblue_ifrm.css | 412 +- .../main/webapp/common/css/themes/ztebluelight.css | 900 +- .../webapp/common/css/themes/ztebluelight2.css | 1040 +- .../common/css/themes/ztebluelight2_ifrm.css | 458 +- .../webapp/common/css/themes/ztebluelight3.css | 992 +- .../common/css/themes/ztebluelight3_ifrm.css | 440 +- .../webapp/common/css/themes/ztebluelight4.css | 1238 +- .../common/css/themes/ztebluelight4_ifrm.css | 418 +- .../webapp/common/css/themes/ztebluelight_ifrm.css | 454 +- .../src/main/webapp/common/default.html | 348 +- .../i18n/web-framework-i18n-en-US.properties | 442 +- .../i18n/web-framework-login-i18n-en-US.properties | 50 +- .../web-framework-mainPage-i18n-en-US.properties | 48 +- .../i18n/web-framework-menu-i18n-en-US.properties | 82 +- .../src/main/webapp/common/image/License.txt | 722 +- .../src/main/webapp/common/image/about/License.txt | 722 +- .../webapp/common/image/checkbox-radio/License.txt | 722 +- .../webapp/common/image/integration/License.txt | 722 +- .../main/webapp/common/image/mainpage/License.txt | 722 +- .../main/webapp/common/image/ressvgs/License.txt | 722 +- .../src/main/webapp/common/image/ressvgs/NFV.svg | 116 +- .../src/main/webapp/common/image/ressvgs/NS.svg | 58 +- .../src/main/webapp/common/image/ressvgs/VDU.svg | 52 +- .../src/main/webapp/common/image/ressvgs/VIM.svg | 38 +- .../src/main/webapp/common/image/ressvgs/VNF.svg | 28 +- .../src/main/webapp/common/image/ressvgs/VNFC.svg | 40 +- .../src/main/webapp/common/image/ressvgs/VNFM.svg | 34 +- .../main/webapp/common/image/ressvgs/breakLink.svg | 18 +- .../main/webapp/common/image/ressvgs/common_dc.svg | 144 +- .../webapp/common/image/ressvgs/common_ncd.svg | 80 +- .../main/webapp/common/image/ressvgs/common_sc.svg | 142 +- .../src/main/webapp/common/image/ressvgs/host.svg | 28 +- .../common/image/ressvgs/it-Virtual network.svg | 372 +- .../webapp/common/image/ressvgs/it-app-bind.svg | 116 +- .../webapp/common/image/ressvgs/it-app-dns.svg | 116 +- .../webapp/common/image/ressvgs/it-app-ems.svg | 150 +- .../common/image/ressvgs/it-app-mediator.svg | 156 +- .../common/image/ressvgs/it-app-netnumen.svg | 114 +- .../webapp/common/image/ressvgs/it-app-ntp.svg | 122 +- .../webapp/common/image/ressvgs/it-app-ota.svg | 116 +- .../webapp/common/image/ressvgs/it-app-tomcat.svg | 104 +- .../webapp/common/image/ressvgs/it-app-trend.svg | 116 +- .../webapp/common/image/ressvgs/it-app-tsm.svg | 124 +- .../common/image/ressvgs/it-app-weblogic.svg | 116 +- .../main/webapp/common/image/ressvgs/it-app.svg | 124 +- .../common/image/ressvgs/it-cluster-hacmp.svg | 108 +- .../webapp/common/image/ressvgs/it-cluster-nec.svg | 110 +- .../webapp/common/image/ressvgs/it-cluster-ns.svg | 116 +- .../webapp/common/image/ressvgs/it-cluster-sg.svg | 130 +- .../webapp/common/image/ressvgs/it-cluster-vcs.svg | 156 +- .../webapp/common/image/ressvgs/it-cluster.svg | 154 +- .../common/image/ressvgs/it-database-mssql.svg | 154 +- .../common/image/ressvgs/it-database-oracle.svg | 154 +- .../common/image/ressvgs/it-database-sybase.svg | 142 +- .../common/image/ressvgs/it-database-sybaseiq.svg | 102 +- .../webapp/common/image/ressvgs/it-database.svg | 142 +- .../common/image/ressvgs/it-diskraid-dellmd.svg | 398 +- .../common/image/ressvgs/it-diskraid-emc.svg | 396 +- .../common/image/ressvgs/it-diskraid-eternus.svg | 390 +- .../common/image/ressvgs/it-diskraid-fujitsu.svg | 430 +- .../common/image/ressvgs/it-diskraid-hds.svg | 206 +- .../common/image/ressvgs/it-diskraid-hpaio.svg | 406 +- .../common/image/ressvgs/it-diskraid-hpeva.svg | 414 +- .../common/image/ressvgs/it-diskraid-hpmsa.svg | 406 +- .../common/image/ressvgs/it-diskraid-ibm.svg | 406 +- .../common/image/ressvgs/it-diskraid-ibmsm.svg | 190 +- .../common/image/ressvgs/it-diskraid-macrosan.svg | 56 +- .../common/image/ressvgs/it-diskraid-netapp.svg | 292 +- .../common/image/ressvgs/it-diskraid-sun.svg | 292 +- .../common/image/ressvgs/it-diskraid-zte.svg | 292 +- .../image/ressvgs/it-firewall-checkpoint.svg | 190 +- .../common/image/ressvgs/it-firewall-cisco.svg | 190 +- .../common/image/ressvgs/it-firewall-cisco2.svg | 190 +- .../common/image/ressvgs/it-firewall-h3c.svg | 232 +- .../common/image/ressvgs/it-firewall-juniper.svg | 218 +- .../common/image/ressvgs/it-firewall-neteye.svg | 240 +- .../common/image/ressvgs/it-firewall-zte.svg | 254 +- .../common/image/ressvgs/it-firewall-ztemf.svg | 254 +- .../common/image/ressvgs/it-firewall-zteutm.svg | 256 +- .../webapp/common/image/ressvgs/it-firewall.svg | 204 +- .../main/webapp/common/image/ressvgs/it-gather.svg | 590 +- .../webapp/common/image/ressvgs/it-group-dev.svg | 242 +- .../webapp/common/image/ressvgs/it-ibp-ibp2000.svg | 266 +- .../main/webapp/common/image/ressvgs/it-ibp.svg | 256 +- .../main/webapp/common/image/ressvgs/it-net.svg | 210 +- .../common/image/ressvgs/it-other-alteon.svg | 38 +- .../common/image/ressvgs/it-other-appdirector.svg | 50 +- .../common/image/ressvgs/it-other-atca-lb10.svg | 242 +- .../common/image/ressvgs/it-other-cisco-ucs.svg | 242 +- .../webapp/common/image/ressvgs/it-other-dcs.svg | 274 +- .../webapp/common/image/ressvgs/it-other-delta.svg | 258 +- .../webapp/common/image/ressvgs/it-other-dp.svg | 40 +- .../common/image/ressvgs/it-other-f5bigip.svg | 290 +- .../common/image/ressvgs/it-other-f5bigip2.svg | 322 +- .../webapp/common/image/ressvgs/it-other-gbe2c.svg | 332 +- .../webapp/common/image/ressvgs/it-other-hpblc.svg | 348 +- .../common/image/ressvgs/it-other-ibm-blade.svg | 312 +- .../webapp/common/image/ressvgs/it-other-imm.svg | 320 +- .../common/image/ressvgs/it-other-secfox.svg | 40 +- .../common/image/ressvgs/it-other-secsis.svg | 60 +- .../webapp/common/image/ressvgs/it-other-segw.svg | 306 +- .../webapp/common/image/ressvgs/it-other-vc.svg | 346 +- .../common/image/ressvgs/it-other-zteatca.svg | 382 +- .../common/image/ressvgs/it-other-zteips.svg | 106 +- .../common/image/ressvgs/it-other-ztepower.svg | 446 +- .../common/image/ressvgs/it-other-ztesgs.svg | 108 +- .../common/image/ressvgs/it-other-zxsdr-nt.svg | 372 +- .../main/webapp/common/image/ressvgs/it-other.svg | 220 +- .../common/image/ressvgs/it-router-cisco.svg | 372 +- .../common/image/ressvgs/it-router-juniper.svg | 340 +- .../webapp/common/image/ressvgs/it-router-zte.svg | 356 +- .../main/webapp/common/image/ressvgs/it-router.svg | 350 +- .../common/image/ressvgs/it-sdn-controller.svg | 352 +- .../webapp/common/image/ressvgs/it-sdn-host.svg | 334 +- .../webapp/common/image/ressvgs/it-sdn-switch.svg | 334 +- .../webapp/common/image/ressvgs/it-sdn-vnet.svg | 334 +- .../webapp/common/image/ressvgs/it-server-aix.svg | 340 +- .../webapp/common/image/ressvgs/it-server-hpux.svg | 362 +- .../common/image/ressvgs/it-server-klinux.svg | 382 +- .../common/image/ressvgs/it-server-redhat.svg | 342 +- .../common/image/ressvgs/it-server-solaris.svg | 346 +- .../webapp/common/image/ressvgs/it-server-suse.svg | 370 +- .../common/image/ressvgs/it-server-windows.svg | 352 +- .../webapp/common/image/ressvgs/it-server-zxve.svg | 358 +- .../main/webapp/common/image/ressvgs/it-server.svg | 390 +- .../common/image/ressvgs/it-storage-cisco-mds.svg | 354 +- .../common/image/ressvgs/it-storage-md3000.svg | 336 +- .../common/image/ressvgs/it-storage-netvault.svg | 372 +- .../webapp/common/image/ressvgs/it-storage-ops.svg | 372 +- .../image/ressvgs/it-storage-sanswitch-brocade.svg | 374 +- .../image/ressvgs/it-storage-sanswitch-hp.svg | 374 +- .../image/ressvgs/it-storage-sanswitch-zte.svg | 26 +- .../webapp/common/image/ressvgs/it-storage.svg | 366 +- .../webapp/common/image/ressvgs/it-switch-at.svg | 402 +- .../common/image/ressvgs/it-switch-cisco.svg | 352 +- .../webapp/common/image/ressvgs/it-switch-h3c.svg | 62 +- .../common/image/ressvgs/it-switch-juniper.svg | 352 +- .../webapp/common/image/ressvgs/it-switch-zte.svg | 354 +- .../main/webapp/common/image/ressvgs/it-switch.svg | 364 +- .../common/image/ressvgs/it-tapelib-hpmsl.svg | 352 +- .../common/image/ressvgs/it-tapelib-ibmts.svg | 366 +- .../common/image/ressvgs/it-tapelib-sunts.svg | 392 +- .../src/main/webapp/common/image/ressvgs/it.svg | 222 +- .../webapp/common/image/ressvgs/networkTree.svg | 698 +- .../src/main/webapp/common/image/ressvgs/new.svg | 14 +- .../common/image/ressvgs/popupmenufollower.svg | 30 +- .../webapp/common/image/ressvgs/resourceType.svg | 422 +- .../src/main/webapp/common/image/ressvgs/stop.svg | 36 +- .../main/webapp/common/image/ressvgs/tree-icon.svg | 582 +- .../webapp/common/image/ressvgs/uep-moc-root.svg | 710 +- .../common/image/ressvgs/uep-moc-uca-public.svg | 658 +- .../image/ressvgs/uep-topo-commongroup20x20.svg | 556 +- .../common/image/ressvgs/uep-topo-group20x20.svg | 554 +- .../webapp/common/image/ressvgs/uep-topo-root.svg | 518 +- .../image/ressvgs/uep-topo-undefinedgroup20x20.svg | 684 +- .../common/image/ressvgs/uep-topo-virtual20x20.svg | 710 +- .../image/ressvgs/uep-topo-wsf-disconnected8x8.svg | 74 +- .../common/image/ressvgs/usf-amf-try-activate.svg | 88 +- .../image/ressvgs/usf-amf-try-active-wait.svg | 80 +- .../src/main/webapp/common/js/Main2moreMenu.js | 34 +- .../src/main/webapp/common/js/core/const.js | 90 +- .../src/main/webapp/common/js/core/hk.min.js | 1636 +- .../main/webapp/common/js/core/load_menuList.js | 138 +- .../main/webapp/common/js/core/openoFrameWork.js | 7402 +- .../src/main/webapp/common/js/core/pym.min.js | 32 +- .../src/main/webapp/common/js/fm_light.js | 338 +- .../webapp/common/js/international/loadi18n.js | 104 +- .../src/main/webapp/common/js/json2.js | 682 +- .../src/main/webapp/common/js/login.js | 316 +- .../src/main/webapp/common/js/mainpage/about.js | 284 +- .../webapp/common/js/mainpage/load_mainPage.js | 188 +- .../src/main/webapp/common/js/moreOperation.js | 332 +- .../main/webapp/common/js/openotopo/openotopo.js | 628 +- .../webapp/common/js/openotopo/openotopo.min.js | 62 +- .../src/main/webapp/common/js/security/aes.js | 88 +- .../webapp/common/js/security/framework-util.js | 74 +- .../src/main/webapp/common/js/security/security.js | 254 +- .../src/main/webapp/common/js/tools.js | 2042 +- .../src/main/webapp/common/json/License.txt | 722 +- .../src/main/webapp/common/json/main_page.json | 190 +- .../src/main/webapp/common/login.html | 222 +- .../common/thirdparty/animate/animate.min.css | 10 +- .../main/webapp/common/thirdparty/avalon/avalon.js | 11636 +- .../common/thirdparty/avalon/avalon.modern.js | 9868 +- .../backstretch/jquery.backstretch.min.js | 6 +- .../webapp/common/thirdparty/bootbox/LICENSE.md | 46 +- .../webapp/common/thirdparty/bootbox/README.md | 182 +- .../common/thirdparty/bootbox/bootbox.min.js | 10 +- .../daterangepicker-bs3.css | 638 +- .../bootstrap-daterangepicker/daterangepicker.js | 2514 +- .../thirdparty/bootstrap-daterangepicker/moment.js | 5614 +- .../bootstrap-daterangepicker/moment.min.js | 10 +- .../bootstrap-fileinput/css/fileinput.min.css | 20 +- .../bootstrap-fileinput/js/fileinput.min.js | 36 +- .../js/fileinput_locale_LANG.js | 88 +- .../bootstrap-fileinput/js/fileinput_locale_zh.js | 96 +- .../bootstrap-growl/bootstrap-growl.min.js | 2 +- .../bootstrap-growl/jquery.bootstrap-growl.min.js | 2 +- .../thirdparty/bootstrap-hover-dropdown/LICENSE | 46 +- .../thirdparty/bootstrap-hover-dropdown/README.md | 244 +- .../bootstrap-hover-dropdown.js | 28 +- .../bootstrap-hover-dropdown.min.js | 24 +- .../css/bootstrap-modal-bs3patch.css | 100 +- .../bootstrap-modal/css/bootstrap-modal.css | 428 +- .../bootstrap-modal/js/bootstrap-modal.js | 756 +- .../bootstrap-modal/js/bootstrap-modalmanager.js | 846 +- .../bootstrap-select/bootstrap-select.min.css | 14 +- .../bootstrap-select/bootstrap-select.min.js | 14 +- .../thirdparty/bootstrap-table/bootstrap-table.css | 626 +- .../thirdparty/bootstrap-table/bootstrap-table.js | 6124 +- .../bootstrap-table/bootstrap-table.min.js | 14 +- .../thirdparty/bootstrap-table/bootstrap.min.css | 12 +- .../jquery.bootstrap.wizard.min.js | 40 +- .../thirdparty/bootstrap/css/bootstrap-dt.css | 11608 +- .../thirdparty/bootstrap/css/bootstrap.min.css | 12 +- .../fonts/glyphicons-halflings-regular.svg | 574 +- .../common/thirdparty/bootstrap/js/bootstrap.js | 3902 +- .../thirdparty/bootstrap/js/bootstrap.min.js | 10 +- .../bootstrap/js/bootstrap2-typeahead.min.js | 40 +- .../main/webapp/common/thirdparty/cometd/cometd.js | 6090 +- .../thirdparty/cometd/cometd/AckExtension.js | 224 +- .../thirdparty/cometd/cometd/ReloadExtension.js | 468 +- .../thirdparty/cometd/cometd/TimeStampExtension.js | 84 +- .../thirdparty/cometd/cometd/TimeSyncExtension.js | 432 +- .../thirdparty/cometd/jquery/jquery.cometd-ack.js | 68 +- .../cometd/jquery/jquery.cometd-reload.js | 84 +- .../cometd/jquery/jquery.cometd-timestamp.js | 68 +- .../cometd/jquery/jquery.cometd-timesync.js | 68 +- .../thirdparty/cometd/jquery/jquery.cometd.js | 278 +- .../common/thirdparty/data-tables/DT_bootstrap.css | 478 +- .../common/thirdparty/data-tables/DT_bootstrap.js | 724 +- .../common/thirdparty/data-tables/DataTableICT.js | 2918 +- .../thirdparty/data-tables/DataTableSmartClient.js | 2430 +- .../data-tables/DataTableSmartClientApp.js | 2624 +- .../data-tables/app-test-i18n-datatable-zh-CN.json | 100 +- .../app-universal-i18n-datatable-en-US.json | 176 +- .../app-universal-i18n-datatable-zh-CN.json | 180 +- .../common/thirdparty/data-tables/dataTable.html | 310 +- .../data-tables/dataTables.bootstrap.css | 662 +- .../data-tables/jquery.dataTables-1.9.4.js | 24202 ++-- .../data-tables/jquery.dataTables-1.9.4.min.js | 310 +- .../thirdparty/data-tables/jquery.dataTables.js | 30536 ++--- .../data-tables/jquery.dataTables.min.js | 332 +- .../thirdparty/data-tables/style-datatable.css | 306 +- .../common/thirdparty/echarts/echarts-all.js | 98 +- .../webapp/common/thirdparty/echarts/echarts.js | 109002 +++++++++--------- .../common/thirdparty/fakeLoader/fakeLoader.css | 762 +- .../common/thirdparty/fakeLoader/fakeLoader.min.js | 348 +- .../thirdparty/font-awesome/css/font-awesome.css | 3344 +- .../font-awesome/css/font-awesome.min.css | 6 +- .../font-awesome/fonts/fontawesome-webfont.svg | 1038 +- .../font-awesome/less/bordered-pulled.less | 32 +- .../common/thirdparty/font-awesome/less/core.less | 22 +- .../thirdparty/font-awesome/less/fixed-width.less | 12 +- .../thirdparty/font-awesome/less/font-awesome.less | 34 +- .../common/thirdparty/font-awesome/less/icons.less | 1104 +- .../thirdparty/font-awesome/less/larger.less | 26 +- .../common/thirdparty/font-awesome/less/list.less | 38 +- .../thirdparty/font-awesome/less/mixins.less | 50 +- .../common/thirdparty/font-awesome/less/path.less | 28 +- .../font-awesome/less/rotated-flipped.less | 40 +- .../thirdparty/font-awesome/less/spinning.less | 58 +- .../thirdparty/font-awesome/less/stacked.less | 40 +- .../thirdparty/font-awesome/less/variables.less | 1122 +- .../font-awesome/scss/_bordered-pulled.scss | 32 +- .../common/thirdparty/font-awesome/scss/_core.scss | 22 +- .../thirdparty/font-awesome/scss/_fixed-width.scss | 12 +- .../thirdparty/font-awesome/scss/_icons.scss | 1104 +- .../thirdparty/font-awesome/scss/_larger.scss | 26 +- .../common/thirdparty/font-awesome/scss/_list.scss | 38 +- .../thirdparty/font-awesome/scss/_mixins.scss | 50 +- .../common/thirdparty/font-awesome/scss/_path.scss | 28 +- .../font-awesome/scss/_rotated-flipped.scss | 40 +- .../thirdparty/font-awesome/scss/_spinning.scss | 58 +- .../thirdparty/font-awesome/scss/_stacked.scss | 40 +- .../thirdparty/font-awesome/scss/_variables.scss | 1122 +- .../thirdparty/font-awesome/scss/font-awesome.scss | 34 +- .../webapp/common/thirdparty/freewall/freewall.js | 2612 +- .../webapp/common/thirdparty/icheck/bower.json | 84 +- .../thirdparty/icheck/demo/css/montserrat-bold.svg | 2978 +- .../icheck/demo/css/montserrat-regular.svg | 2728 +- .../thirdparty/icheck/demo/css/normalize.css | 1054 +- .../common/thirdparty/icheck/demo/js/custom.js | 216 +- .../common/thirdparty/icheck/demo/js/custom.min.js | 8 +- .../common/thirdparty/icheck/demo/js/jquery.js | 6 +- .../common/thirdparty/icheck/icheck.jquery.json | 96 +- .../main/webapp/common/thirdparty/icheck/icheck.js | 1018 +- .../webapp/common/thirdparty/icheck/icheck.min.js | 22 +- .../webapp/common/thirdparty/icheck/skins/all.css | 120 +- .../common/thirdparty/icheck/skins/flat/_all.css | 1058 +- .../common/thirdparty/icheck/skins/flat/aero.css | 104 +- .../common/thirdparty/icheck/skins/flat/blue.css | 104 +- .../common/thirdparty/icheck/skins/flat/flat.css | 104 +- .../common/thirdparty/icheck/skins/flat/green.css | 104 +- .../common/thirdparty/icheck/skins/flat/grey.css | 104 +- .../common/thirdparty/icheck/skins/flat/orange.css | 104 +- .../common/thirdparty/icheck/skins/flat/pink.css | 104 +- .../common/thirdparty/icheck/skins/flat/purple.css | 104 +- .../common/thirdparty/icheck/skins/flat/red.css | 104 +- .../common/thirdparty/icheck/skins/flat/yellow.css | 104 +- .../thirdparty/icheck/skins/futurico/futurico.css | 104 +- .../common/thirdparty/icheck/skins/line/aero.css | 140 +- .../common/thirdparty/icheck/skins/line/blue.css | 140 +- .../common/thirdparty/icheck/skins/line/green.css | 140 +- .../common/thirdparty/icheck/skins/line/grey.css | 140 +- .../common/thirdparty/icheck/skins/line/line.css | 140 +- .../common/thirdparty/icheck/skins/line/orange.css | 140 +- .../common/thirdparty/icheck/skins/line/pink.css | 140 +- .../common/thirdparty/icheck/skins/line/purple.css | 140 +- .../common/thirdparty/icheck/skins/line/red.css | 140 +- .../common/thirdparty/icheck/skins/line/yellow.css | 140 +- .../thirdparty/icheck/skins/minimal/_all.css | 1178 +- .../thirdparty/icheck/skins/minimal/aero.css | 116 +- .../thirdparty/icheck/skins/minimal/blue.css | 116 +- .../thirdparty/icheck/skins/minimal/green.css | 116 +- .../thirdparty/icheck/skins/minimal/grey.css | 116 +- .../thirdparty/icheck/skins/minimal/minimal.css | 116 +- .../thirdparty/icheck/skins/minimal/orange.css | 116 +- .../thirdparty/icheck/skins/minimal/pink.css | 116 +- .../thirdparty/icheck/skins/minimal/purple.css | 116 +- .../common/thirdparty/icheck/skins/minimal/red.css | 116 +- .../thirdparty/icheck/skins/minimal/yellow.css | 116 +- .../thirdparty/icheck/skins/polaris/polaris.css | 116 +- .../common/thirdparty/icheck/skins/square/_all.css | 1178 +- .../common/thirdparty/icheck/skins/square/aero.css | 116 +- .../common/thirdparty/icheck/skins/square/blue.css | 116 +- .../thirdparty/icheck/skins/square/green.css | 116 +- .../common/thirdparty/icheck/skins/square/grey.css | 116 +- .../thirdparty/icheck/skins/square/orange.css | 116 +- .../common/thirdparty/icheck/skins/square/pink.css | 116 +- .../thirdparty/icheck/skins/square/purple.css | 116 +- .../common/thirdparty/icheck/skins/square/red.css | 116 +- .../thirdparty/icheck/skins/square/square.css | 116 +- .../thirdparty/icheck/skins/square/yellow.css | 116 +- .../thirdparty/jQuery UI/jquery-ui-1.12.1.min.css | 12 +- .../thirdparty/jQuery UI/jquery-ui-1.12.1.min.js | 24 +- .../jQuery-File-Upload/css/jquery.fileupload.css | 74 +- .../jQuery-File-Upload/js/jquery.fileupload.js | 2954 +- .../js/jquery.iframe-transport.js | 434 +- .../js/vendor/jquery.ui.widget.js | 1144 +- .../jquery-blockui/jquery.blockui.min.js | 28 +- .../thirdparty/jquery-cokie/jquery.cokie.min.js | 16 +- .../common/thirdparty/jquery-validation/README.md | 144 +- .../jquery-validation/dist/additional-methods.js | 1234 +- .../dist/additional-methods.min.js | 20 +- .../jquery-validation/dist/jquery.validate.js | 2462 +- .../jquery-validation/dist/jquery.validate.min.js | 22 +- .../jquery-validation/js/additional-methods.js | 1854 +- .../jquery-validation/js/additional-methods.min.js | 6 +- .../jquery-validation/js/jquery.validate.js | 2712 +- .../jquery-validation/js/jquery.validate.min.js | 6 +- .../js/localization/messages_ar.js | 64 +- .../js/localization/messages_ar.min.js | 6 +- .../js/localization/messages_bg.js | 64 +- .../js/localization/messages_bg.min.js | 6 +- .../js/localization/messages_ca.js | 64 +- .../js/localization/messages_ca.min.js | 6 +- .../js/localization/messages_cs.js | 64 +- .../js/localization/messages_cs.min.js | 6 +- .../js/localization/messages_da.js | 58 +- .../js/localization/messages_da.min.js | 6 +- .../js/localization/messages_de.js | 58 +- .../js/localization/messages_de.min.js | 6 +- .../js/localization/messages_el.js | 64 +- .../js/localization/messages_el.min.js | 6 +- .../js/localization/messages_es.js | 70 +- .../js/localization/messages_es.min.js | 6 +- .../js/localization/messages_es_AR.js | 72 +- .../js/localization/messages_es_AR.min.js | 6 +- .../js/localization/messages_et.js | 60 +- .../js/localization/messages_et.min.js | 6 +- .../js/localization/messages_eu.js | 64 +- .../js/localization/messages_eu.min.js | 6 +- .../js/localization/messages_fa.js | 70 +- .../js/localization/messages_fa.min.js | 6 +- .../js/localization/messages_fi.js | 60 +- .../js/localization/messages_fi.min.js | 6 +- .../js/localization/messages_fr.js | 116 +- .../js/localization/messages_fr.min.js | 6 +- .../js/localization/messages_gl.js | 74 +- .../js/localization/messages_gl.min.js | 6 +- .../js/localization/messages_he.js | 64 +- .../js/localization/messages_he.min.js | 6 +- .../js/localization/messages_hr.js | 64 +- .../js/localization/messages_hr.min.js | 6 +- .../js/localization/messages_hu.js | 62 +- .../js/localization/messages_hu.min.js | 6 +- .../js/localization/messages_id.js | 62 +- .../js/localization/messages_id.min.js | 6 +- .../js/localization/messages_is.js | 60 +- .../js/localization/messages_is.min.js | 6 +- .../js/localization/messages_it.js | 70 +- .../js/localization/messages_it.min.js | 6 +- .../js/localization/messages_ja.js | 64 +- .../js/localization/messages_ja.min.js | 6 +- .../js/localization/messages_ka.js | 64 +- .../js/localization/messages_ka.min.js | 6 +- .../js/localization/messages_kk.js | 64 +- .../js/localization/messages_kk.min.js | 6 +- .../js/localization/messages_ko.js | 64 +- .../js/localization/messages_ko.min.js | 6 +- .../js/localization/messages_lt.js | 64 +- .../js/localization/messages_lt.min.js | 6 +- .../js/localization/messages_lv.js | 64 +- .../js/localization/messages_lv.min.js | 6 +- .../js/localization/messages_my.js | 64 +- .../js/localization/messages_my.min.js | 6 +- .../js/localization/messages_nl.js | 84 +- .../js/localization/messages_nl.min.js | 6 +- .../js/localization/messages_no.js | 64 +- .../js/localization/messages_no.min.js | 6 +- .../js/localization/messages_pl.js | 64 +- .../js/localization/messages_pl.min.js | 6 +- .../js/localization/messages_pt_BR.js | 72 +- .../js/localization/messages_pt_BR.min.js | 6 +- .../js/localization/messages_pt_PT.js | 72 +- .../js/localization/messages_pt_PT.min.js | 6 +- .../js/localization/messages_ro.js | 64 +- .../js/localization/messages_ro.min.js | 6 +- .../js/localization/messages_ru.js | 64 +- .../js/localization/messages_ru.min.js | 6 +- .../js/localization/messages_si.js | 64 +- .../js/localization/messages_si.min.js | 6 +- .../js/localization/messages_sk.js | 58 +- .../js/localization/messages_sk.min.js | 6 +- .../js/localization/messages_sl.js | 64 +- .../js/localization/messages_sl.min.js | 6 +- .../js/localization/messages_sr.js | 64 +- .../js/localization/messages_sr.min.js | 6 +- .../js/localization/messages_sr_lat.js | 64 +- .../js/localization/messages_sr_lat.min.js | 6 +- .../js/localization/messages_sv.js | 60 +- .../js/localization/messages_sv.min.js | 6 +- .../js/localization/messages_th.js | 64 +- .../js/localization/messages_th.min.js | 6 +- .../js/localization/messages_tj.js | 64 +- .../js/localization/messages_tj.min.js | 6 +- .../js/localization/messages_tr.js | 64 +- .../js/localization/messages_tr.min.js | 6 +- .../js/localization/messages_uk.js | 64 +- .../js/localization/messages_uk.min.js | 6 +- .../js/localization/messages_vi.js | 64 +- .../js/localization/messages_vi.min.js | 6 +- .../js/localization/messages_zh.js | 64 +- .../js/localization/messages_zh.min.js | 6 +- .../js/localization/messages_zh_TW.js | 66 +- .../js/localization/messages_zh_TW.min.js | 6 +- .../js/localization/methods_de.js | 42 +- .../js/localization/methods_de.min.js | 6 +- .../js/localization/methods_es_CL.js | 42 +- .../js/localization/methods_es_CL.min.js | 6 +- .../js/localization/methods_fi.js | 42 +- .../js/localization/methods_fi.min.js | 6 +- .../js/localization/methods_nl.js | 36 +- .../js/localization/methods_nl.min.js | 6 +- .../js/localization/methods_pt.js | 36 +- .../js/localization/methods_pt.min.js | 6 +- .../jquery.i18n/jquery.i18n.properties-1.0.9.js | 956 +- .../common/thirdparty/jquery/jquery-1.10.2.min.js | 8 +- .../common/thirdparty/jquery/jquery-1.11.2.js | 20692 ++-- .../common/thirdparty/jquery/jquery-1.11.2.min.js | 8 +- .../common/thirdparty/jquery/jquery-1.4.4.min.js | 332 +- .../common/thirdparty/jquery/jquery-2.1.3.js | 18410 +-- .../common/thirdparty/jquery/jquery-2.1.3.min.js | 8 +- .../thirdparty/jquery/jquery-migrate-1.2.1.js | 1042 +- .../thirdparty/jquery/jquery-migrate-1.2.1.min.js | 2 +- .../common/thirdparty/jquery/jquery.reveal.js | 304 +- .../common/thirdparty/select2/select2-custom.css | 468 +- .../webapp/common/thirdparty/select2/select2.css | 1214 +- .../common/thirdparty/select2/select2.min.js | 42 +- .../webapp/common/thirdparty/sigma/sigma.min.js | 8 +- .../sigma/sigma.renderers.customShapes.min.js | 2 +- .../sigma/sigma.renderers.edgeLabels.min.js | 2 +- .../webapp/common/thirdparty/uniform/README.md | 778 +- .../thirdparty/uniform/css/uniform.default.css | 732 +- .../thirdparty/uniform/css/uniform.default.min.css | 2 +- .../thirdparty/uniform/css/uniform.default.scss | 300 +- .../common/thirdparty/uniform/jquery.uniform.js | 2136 +- .../webapp/common/thirdparty/zTree/api/API_cn.html | 204 +- .../webapp/common/thirdparty/zTree/api/API_en.html | 202 +- .../common/thirdparty/zTree/api/apiCss/api.js | 1182 +- .../common/thirdparty/zTree/api/apiCss/common.css | 436 +- .../thirdparty/zTree/api/apiCss/common_ie6.css | 44 +- .../zTree/api/apiCss/jquery-1.6.2.min.js | 34 +- .../zTree/api/apiCss/jquery.ztree.core-3.5.js | 138 +- .../zTree/api/apiCss/zTreeStyleForApi.css | 98 +- .../thirdparty/zTree/api/cn/fn.zTree._z.html | 24 +- .../thirdparty/zTree/api/cn/fn.zTree.destroy.html | 54 +- .../zTree/api/cn/fn.zTree.getZTreeObj.html | 46 +- .../thirdparty/zTree/api/cn/fn.zTree.init.html | 146 +- .../zTree/api/cn/setting.async.autoParam.html | 76 +- .../zTree/api/cn/setting.async.contentType.html | 56 +- .../zTree/api/cn/setting.async.dataFilter.html | 88 +- .../zTree/api/cn/setting.async.dataType.html | 56 +- .../zTree/api/cn/setting.async.enable.html | 58 +- .../zTree/api/cn/setting.async.otherParam.html | 78 +- .../zTree/api/cn/setting.async.type.html | 58 +- .../thirdparty/zTree/api/cn/setting.async.url.html | 98 +- .../zTree/api/cn/setting.callback.beforeAsync.html | 68 +- .../zTree/api/cn/setting.callback.beforeCheck.html | 66 +- .../zTree/api/cn/setting.callback.beforeClick.html | 96 +- .../api/cn/setting.callback.beforeCollapse.html | 66 +- .../api/cn/setting.callback.beforeDblClick.html | 70 +- .../zTree/api/cn/setting.callback.beforeDrag.html | 76 +- .../api/cn/setting.callback.beforeDragOpen.html | 72 +- .../zTree/api/cn/setting.callback.beforeDrop.html | 94 +- .../api/cn/setting.callback.beforeEditName.html | 74 +- .../api/cn/setting.callback.beforeExpand.html | 66 +- .../api/cn/setting.callback.beforeMouseDown.html | 68 +- .../api/cn/setting.callback.beforeMouseUp.html | 68 +- .../api/cn/setting.callback.beforeRemove.html | 72 +- .../api/cn/setting.callback.beforeRename.html | 90 +- .../api/cn/setting.callback.beforeRightClick.html | 68 +- .../api/cn/setting.callback.onAsyncError.html | 82 +- .../api/cn/setting.callback.onAsyncSuccess.html | 74 +- .../zTree/api/cn/setting.callback.onCheck.html | 66 +- .../zTree/api/cn/setting.callback.onClick.html | 96 +- .../zTree/api/cn/setting.callback.onCollapse.html | 66 +- .../zTree/api/cn/setting.callback.onDblClick.html | 68 +- .../zTree/api/cn/setting.callback.onDrag.html | 66 +- .../zTree/api/cn/setting.callback.onDragMove.html | 66 +- .../zTree/api/cn/setting.callback.onDrop.html | 90 +- .../zTree/api/cn/setting.callback.onExpand.html | 66 +- .../zTree/api/cn/setting.callback.onMouseDown.html | 68 +- .../zTree/api/cn/setting.callback.onMouseUp.html | 68 +- .../api/cn/setting.callback.onNodeCreated.html | 68 +- .../zTree/api/cn/setting.callback.onRemove.html | 66 +- .../zTree/api/cn/setting.callback.onRename.html | 78 +- .../api/cn/setting.callback.onRightClick.html | 70 +- .../api/cn/setting.check.autoCheckTrigger.html | 54 +- .../api/cn/setting.check.chkDisabledInherit.html | 54 +- .../zTree/api/cn/setting.check.chkStyle.html | 94 +- .../zTree/api/cn/setting.check.chkboxType.html | 60 +- .../zTree/api/cn/setting.check.enable.html | 48 +- .../zTree/api/cn/setting.check.nocheckInherit.html | 54 +- .../zTree/api/cn/setting.check.radioType.html | 56 +- .../zTree/api/cn/setting.data.keep.leaf.html | 54 +- .../zTree/api/cn/setting.data.keep.parent.html | 54 +- .../zTree/api/cn/setting.data.key.checked.html | 46 +- .../zTree/api/cn/setting.data.key.children.html | 44 +- .../zTree/api/cn/setting.data.key.name.html | 44 +- .../zTree/api/cn/setting.data.key.title.html | 46 +- .../zTree/api/cn/setting.data.key.url.html | 46 +- .../api/cn/setting.data.simpleData.enable.html | 74 +- .../api/cn/setting.data.simpleData.idKey.html | 62 +- .../api/cn/setting.data.simpleData.pIdKey.html | 62 +- .../api/cn/setting.data.simpleData.rootPId.html | 62 +- .../cn/setting.edit.drag.autoExpandTrigger.html | 54 +- .../api/cn/setting.edit.drag.autoOpenTime.html | 48 +- .../zTree/api/cn/setting.edit.drag.borderMax.html | 48 +- .../zTree/api/cn/setting.edit.drag.borderMin.html | 48 +- .../zTree/api/cn/setting.edit.drag.inner.html | 116 +- .../zTree/api/cn/setting.edit.drag.isCopy.html | 62 +- .../zTree/api/cn/setting.edit.drag.isMove.html | 62 +- .../api/cn/setting.edit.drag.maxShowNodeNum.html | 48 +- .../api/cn/setting.edit.drag.minMoveSize.html | 48 +- .../zTree/api/cn/setting.edit.drag.next.html | 114 +- .../zTree/api/cn/setting.edit.drag.prev.html | 114 +- .../api/cn/setting.edit.editNameSelectAll.html | 52 +- .../zTree/api/cn/setting.edit.enable.html | 74 +- .../zTree/api/cn/setting.edit.removeTitle.html | 94 +- .../zTree/api/cn/setting.edit.renameTitle.html | 94 +- .../zTree/api/cn/setting.edit.showRemoveBtn.html | 96 +- .../zTree/api/cn/setting.edit.showRenameBtn.html | 100 +- .../thirdparty/zTree/api/cn/setting.treeId.html | 26 +- .../thirdparty/zTree/api/cn/setting.treeObj.html | 26 +- .../zTree/api/cn/setting.view.addDiyDom.html | 78 +- .../zTree/api/cn/setting.view.addHoverDom.html | 88 +- .../api/cn/setting.view.autoCancelSelected.html | 50 +- .../zTree/api/cn/setting.view.dblClickExpand.html | 86 +- .../zTree/api/cn/setting.view.expandSpeed.html | 60 +- .../zTree/api/cn/setting.view.fontCss.html | 82 +- .../zTree/api/cn/setting.view.nameIsHTML.html | 52 +- .../zTree/api/cn/setting.view.removeHoverDom.html | 88 +- .../zTree/api/cn/setting.view.selectedMulti.html | 52 +- .../zTree/api/cn/setting.view.showIcon.html | 86 +- .../zTree/api/cn/setting.view.showLine.html | 48 +- .../zTree/api/cn/setting.view.showTitle.html | 90 +- .../api/cn/setting.view.txtSelectedEnable.html | 48 +- .../zTree/api/cn/treeNode.check_Child_State.html | 84 +- .../zTree/api/cn/treeNode.check_Focus.html | 36 +- .../thirdparty/zTree/api/cn/treeNode.checked.html | 62 +- .../zTree/api/cn/treeNode.checkedOld.html | 48 +- .../thirdparty/zTree/api/cn/treeNode.children.html | 68 +- .../zTree/api/cn/treeNode.chkDisabled.html | 54 +- .../thirdparty/zTree/api/cn/treeNode.click.html | 46 +- .../thirdparty/zTree/api/cn/treeNode.diy.html | 28 +- .../zTree/api/cn/treeNode.editNameFlag.html | 36 +- .../zTree/api/cn/treeNode.getCheckStatus.html | 124 +- .../zTree/api/cn/treeNode.getNextNode.html | 52 +- .../zTree/api/cn/treeNode.getParentNode.html | 52 +- .../zTree/api/cn/treeNode.getPreNode.html | 52 +- .../zTree/api/cn/treeNode.halfCheck.html | 56 +- .../thirdparty/zTree/api/cn/treeNode.icon.html | 64 +- .../zTree/api/cn/treeNode.iconClose.html | 64 +- .../thirdparty/zTree/api/cn/treeNode.iconOpen.html | 64 +- .../thirdparty/zTree/api/cn/treeNode.iconSkin.html | 84 +- .../zTree/api/cn/treeNode.isAjaxing.html | 50 +- .../zTree/api/cn/treeNode.isFirstNode.html | 54 +- .../thirdparty/zTree/api/cn/treeNode.isHidden.html | 52 +- .../thirdparty/zTree/api/cn/treeNode.isHover.html | 36 +- .../zTree/api/cn/treeNode.isLastNode.html | 54 +- .../thirdparty/zTree/api/cn/treeNode.isParent.html | 54 +- .../thirdparty/zTree/api/cn/treeNode.level.html | 48 +- .../thirdparty/zTree/api/cn/treeNode.name.html | 48 +- .../thirdparty/zTree/api/cn/treeNode.nocheck.html | 50 +- .../thirdparty/zTree/api/cn/treeNode.open.html | 58 +- .../zTree/api/cn/treeNode.parentTId.html | 52 +- .../thirdparty/zTree/api/cn/treeNode.tId.html | 48 +- .../thirdparty/zTree/api/cn/treeNode.target.html | 46 +- .../thirdparty/zTree/api/cn/treeNode.url.html | 48 +- .../thirdparty/zTree/api/cn/treeNode.zAsync.html | 54 +- .../thirdparty/zTree/api/cn/zTreeObj.addNodes.html | 82 +- .../zTree/api/cn/zTreeObj.cancelEditName.html | 58 +- .../zTree/api/cn/zTreeObj.cancelSelectedNode.html | 68 +- .../zTree/api/cn/zTreeObj.checkAllNodes.html | 56 +- .../zTree/api/cn/zTreeObj.checkNode.html | 86 +- .../thirdparty/zTree/api/cn/zTreeObj.copyNode.html | 86 +- .../thirdparty/zTree/api/cn/zTreeObj.destroy.html | 48 +- .../thirdparty/zTree/api/cn/zTreeObj.editName.html | 56 +- .../zTree/api/cn/zTreeObj.expandAll.html | 58 +- .../zTree/api/cn/zTreeObj.expandNode.html | 98 +- .../api/cn/zTreeObj.getChangeCheckedNodes.html | 46 +- .../zTree/api/cn/zTreeObj.getCheckedNodes.html | 54 +- .../zTree/api/cn/zTreeObj.getNodeByParam.html | 62 +- .../zTree/api/cn/zTreeObj.getNodeByTId.html | 52 +- .../zTree/api/cn/zTreeObj.getNodeIndex.html | 58 +- .../thirdparty/zTree/api/cn/zTreeObj.getNodes.html | 50 +- .../zTree/api/cn/zTreeObj.getNodesByFilter.html | 84 +- .../zTree/api/cn/zTreeObj.getNodesByParam.html | 60 +- .../api/cn/zTreeObj.getNodesByParamFuzzy.html | 62 +- .../zTree/api/cn/zTreeObj.getSelectedNodes.html | 44 +- .../thirdparty/zTree/api/cn/zTreeObj.hideNode.html | 56 +- .../zTree/api/cn/zTreeObj.hideNodes.html | 56 +- .../thirdparty/zTree/api/cn/zTreeObj.moveNode.html | 90 +- .../zTree/api/cn/zTreeObj.reAsyncChildNodes.html | 82 +- .../thirdparty/zTree/api/cn/zTreeObj.refresh.html | 46 +- .../zTree/api/cn/zTreeObj.removeChildNodes.html | 62 +- .../zTree/api/cn/zTreeObj.removeNode.html | 66 +- .../zTree/api/cn/zTreeObj.selectNode.html | 66 +- .../zTree/api/cn/zTreeObj.setChkDisabled.html | 86 +- .../zTree/api/cn/zTreeObj.setEditable.html | 52 +- .../thirdparty/zTree/api/cn/zTreeObj.setting.html | 24 +- .../thirdparty/zTree/api/cn/zTreeObj.showNode.html | 60 +- .../zTree/api/cn/zTreeObj.showNodes.html | 56 +- .../zTree/api/cn/zTreeObj.transformToArray.html | 48 +- .../api/cn/zTreeObj.transformTozTreeNodes.html | 84 +- .../zTree/api/cn/zTreeObj.updateNode.html | 72 +- .../thirdparty/zTree/api/en/fn.zTree._z.html | 24 +- .../thirdparty/zTree/api/en/fn.zTree.destroy.html | 54 +- .../zTree/api/en/fn.zTree.getZTreeObj.html | 48 +- .../thirdparty/zTree/api/en/fn.zTree.init.html | 148 +- .../zTree/api/en/setting.async.autoParam.html | 76 +- .../zTree/api/en/setting.async.contentType.html | 56 +- .../zTree/api/en/setting.async.dataFilter.html | 88 +- .../zTree/api/en/setting.async.dataType.html | 56 +- .../zTree/api/en/setting.async.enable.html | 58 +- .../zTree/api/en/setting.async.otherParam.html | 78 +- .../zTree/api/en/setting.async.type.html | 58 +- .../thirdparty/zTree/api/en/setting.async.url.html | 98 +- .../zTree/api/en/setting.callback.beforeAsync.html | 68 +- .../zTree/api/en/setting.callback.beforeCheck.html | 66 +- .../zTree/api/en/setting.callback.beforeClick.html | 96 +- .../api/en/setting.callback.beforeCollapse.html | 66 +- .../api/en/setting.callback.beforeDblClick.html | 70 +- .../zTree/api/en/setting.callback.beforeDrag.html | 76 +- .../api/en/setting.callback.beforeDragOpen.html | 72 +- .../zTree/api/en/setting.callback.beforeDrop.html | 98 +- .../api/en/setting.callback.beforeEditName.html | 74 +- .../api/en/setting.callback.beforeExpand.html | 66 +- .../api/en/setting.callback.beforeMouseDown.html | 68 +- .../api/en/setting.callback.beforeMouseUp.html | 68 +- .../api/en/setting.callback.beforeRemove.html | 72 +- .../api/en/setting.callback.beforeRename.html | 90 +- .../api/en/setting.callback.beforeRightClick.html | 68 +- .../api/en/setting.callback.onAsyncError.html | 82 +- .../api/en/setting.callback.onAsyncSuccess.html | 74 +- .../zTree/api/en/setting.callback.onCheck.html | 66 +- .../zTree/api/en/setting.callback.onClick.html | 96 +- .../zTree/api/en/setting.callback.onCollapse.html | 66 +- .../zTree/api/en/setting.callback.onDblClick.html | 68 +- .../zTree/api/en/setting.callback.onDrag.html | 66 +- .../zTree/api/en/setting.callback.onDragMove.html | 66 +- .../zTree/api/en/setting.callback.onDrop.html | 94 +- .../zTree/api/en/setting.callback.onExpand.html | 66 +- .../zTree/api/en/setting.callback.onMouseDown.html | 68 +- .../zTree/api/en/setting.callback.onMouseUp.html | 68 +- .../api/en/setting.callback.onNodeCreated.html | 68 +- .../zTree/api/en/setting.callback.onRemove.html | 66 +- .../zTree/api/en/setting.callback.onRename.html | 78 +- .../api/en/setting.callback.onRightClick.html | 70 +- .../api/en/setting.check.autoCheckTrigger.html | 56 +- .../api/en/setting.check.chkDisabledInherit.html | 54 +- .../zTree/api/en/setting.check.chkStyle.html | 94 +- .../zTree/api/en/setting.check.chkboxType.html | 60 +- .../zTree/api/en/setting.check.enable.html | 50 +- .../zTree/api/en/setting.check.nocheckInherit.html | 54 +- .../zTree/api/en/setting.check.radioType.html | 56 +- .../zTree/api/en/setting.data.keep.leaf.html | 54 +- .../zTree/api/en/setting.data.keep.parent.html | 54 +- .../zTree/api/en/setting.data.key.checked.html | 46 +- .../zTree/api/en/setting.data.key.children.html | 44 +- .../zTree/api/en/setting.data.key.name.html | 44 +- .../zTree/api/en/setting.data.key.title.html | 46 +- .../zTree/api/en/setting.data.key.url.html | 46 +- .../api/en/setting.data.simpleData.enable.html | 76 +- .../api/en/setting.data.simpleData.idKey.html | 62 +- .../api/en/setting.data.simpleData.pIdKey.html | 62 +- .../api/en/setting.data.simpleData.rootPId.html | 62 +- .../en/setting.edit.drag.autoExpandTrigger.html | 56 +- .../api/en/setting.edit.drag.autoOpenTime.html | 48 +- .../zTree/api/en/setting.edit.drag.borderMax.html | 48 +- .../zTree/api/en/setting.edit.drag.borderMin.html | 48 +- .../zTree/api/en/setting.edit.drag.inner.html | 118 +- .../zTree/api/en/setting.edit.drag.isCopy.html | 62 +- .../zTree/api/en/setting.edit.drag.isMove.html | 62 +- .../api/en/setting.edit.drag.maxShowNodeNum.html | 48 +- .../api/en/setting.edit.drag.minMoveSize.html | 48 +- .../zTree/api/en/setting.edit.drag.next.html | 116 +- .../zTree/api/en/setting.edit.drag.prev.html | 116 +- .../api/en/setting.edit.editNameSelectAll.html | 52 +- .../zTree/api/en/setting.edit.enable.html | 76 +- .../zTree/api/en/setting.edit.removeTitle.html | 94 +- .../zTree/api/en/setting.edit.renameTitle.html | 94 +- .../zTree/api/en/setting.edit.showRemoveBtn.html | 98 +- .../zTree/api/en/setting.edit.showRenameBtn.html | 102 +- .../thirdparty/zTree/api/en/setting.treeId.html | 26 +- .../thirdparty/zTree/api/en/setting.treeObj.html | 26 +- .../zTree/api/en/setting.view.addDiyDom.html | 78 +- .../zTree/api/en/setting.view.addHoverDom.html | 88 +- .../api/en/setting.view.autoCancelSelected.html | 52 +- .../zTree/api/en/setting.view.dblClickExpand.html | 88 +- .../zTree/api/en/setting.view.expandSpeed.html | 60 +- .../zTree/api/en/setting.view.fontCss.html | 82 +- .../zTree/api/en/setting.view.nameIsHTML.html | 54 +- .../zTree/api/en/setting.view.removeHoverDom.html | 88 +- .../zTree/api/en/setting.view.selectedMulti.html | 54 +- .../zTree/api/en/setting.view.showIcon.html | 88 +- .../zTree/api/en/setting.view.showLine.html | 50 +- .../zTree/api/en/setting.view.showTitle.html | 92 +- .../api/en/setting.view.txtSelectedEnable.html | 50 +- .../zTree/api/en/treeNode.check_Child_State.html | 84 +- .../zTree/api/en/treeNode.check_Focus.html | 36 +- .../thirdparty/zTree/api/en/treeNode.checked.html | 62 +- .../zTree/api/en/treeNode.checkedOld.html | 48 +- .../thirdparty/zTree/api/en/treeNode.children.html | 68 +- .../zTree/api/en/treeNode.chkDisabled.html | 54 +- .../thirdparty/zTree/api/en/treeNode.click.html | 46 +- .../thirdparty/zTree/api/en/treeNode.diy.html | 28 +- .../zTree/api/en/treeNode.editNameFlag.html | 36 +- .../zTree/api/en/treeNode.getCheckStatus.html | 124 +- .../zTree/api/en/treeNode.getNextNode.html | 52 +- .../zTree/api/en/treeNode.getParentNode.html | 52 +- .../zTree/api/en/treeNode.getPreNode.html | 52 +- .../zTree/api/en/treeNode.halfCheck.html | 56 +- .../thirdparty/zTree/api/en/treeNode.icon.html | 64 +- .../zTree/api/en/treeNode.iconClose.html | 64 +- .../thirdparty/zTree/api/en/treeNode.iconOpen.html | 64 +- .../thirdparty/zTree/api/en/treeNode.iconSkin.html | 84 +- .../zTree/api/en/treeNode.isAjaxing.html | 50 +- .../zTree/api/en/treeNode.isFirstNode.html | 54 +- .../thirdparty/zTree/api/en/treeNode.isHidden.html | 54 +- .../thirdparty/zTree/api/en/treeNode.isHover.html | 36 +- .../zTree/api/en/treeNode.isLastNode.html | 54 +- .../thirdparty/zTree/api/en/treeNode.isParent.html | 54 +- .../thirdparty/zTree/api/en/treeNode.level.html | 48 +- .../thirdparty/zTree/api/en/treeNode.name.html | 48 +- .../thirdparty/zTree/api/en/treeNode.nocheck.html | 50 +- .../thirdparty/zTree/api/en/treeNode.open.html | 58 +- .../zTree/api/en/treeNode.parentTId.html | 52 +- .../thirdparty/zTree/api/en/treeNode.tId.html | 48 +- .../thirdparty/zTree/api/en/treeNode.target.html | 46 +- .../thirdparty/zTree/api/en/treeNode.url.html | 48 +- .../thirdparty/zTree/api/en/treeNode.zAsync.html | 54 +- .../thirdparty/zTree/api/en/zTreeObj.addNodes.html | 82 +- .../zTree/api/en/zTreeObj.cancelEditName.html | 58 +- .../zTree/api/en/zTreeObj.cancelSelectedNode.html | 68 +- .../zTree/api/en/zTreeObj.checkAllNodes.html | 56 +- .../zTree/api/en/zTreeObj.checkNode.html | 86 +- .../thirdparty/zTree/api/en/zTreeObj.copyNode.html | 92 +- .../thirdparty/zTree/api/en/zTreeObj.destroy.html | 48 +- .../thirdparty/zTree/api/en/zTreeObj.editName.html | 56 +- .../zTree/api/en/zTreeObj.expandAll.html | 58 +- .../zTree/api/en/zTreeObj.expandNode.html | 98 +- .../api/en/zTreeObj.getChangeCheckedNodes.html | 46 +- .../zTree/api/en/zTreeObj.getCheckedNodes.html | 54 +- .../zTree/api/en/zTreeObj.getNodeByParam.html | 62 +- .../zTree/api/en/zTreeObj.getNodeByTId.html | 52 +- .../zTree/api/en/zTreeObj.getNodeIndex.html | 58 +- .../thirdparty/zTree/api/en/zTreeObj.getNodes.html | 50 +- .../zTree/api/en/zTreeObj.getNodesByFilter.html | 84 +- .../zTree/api/en/zTreeObj.getNodesByParam.html | 60 +- .../api/en/zTreeObj.getNodesByParamFuzzy.html | 62 +- .../zTree/api/en/zTreeObj.getSelectedNodes.html | 44 +- .../thirdparty/zTree/api/en/zTreeObj.hideNode.html | 56 +- .../zTree/api/en/zTreeObj.hideNodes.html | 56 +- .../thirdparty/zTree/api/en/zTreeObj.moveNode.html | 96 +- .../zTree/api/en/zTreeObj.reAsyncChildNodes.html | 82 +- .../thirdparty/zTree/api/en/zTreeObj.refresh.html | 46 +- .../zTree/api/en/zTreeObj.removeChildNodes.html | 62 +- .../zTree/api/en/zTreeObj.removeNode.html | 66 +- .../zTree/api/en/zTreeObj.selectNode.html | 66 +- .../zTree/api/en/zTreeObj.setChkDisabled.html | 86 +- .../zTree/api/en/zTreeObj.setEditable.html | 52 +- .../thirdparty/zTree/api/en/zTreeObj.setting.html | 26 +- .../thirdparty/zTree/api/en/zTreeObj.showNode.html | 60 +- .../zTree/api/en/zTreeObj.showNodes.html | 56 +- .../zTree/api/en/zTreeObj.transformToArray.html | 52 +- .../api/en/zTreeObj.transformTozTreeNodes.html | 86 +- .../zTree/api/en/zTreeObj.updateNode.html | 72 +- .../webapp/common/thirdparty/zTree/css/demo.css | 64 +- .../thirdparty/zTree/css/zTreeStyle/zTreeStyle.css | 212 +- .../common/thirdparty/zTree/js/jquery.ztree.all.js | 7012 +- .../thirdparty/zTree/js/jquery.ztree.all.min.js | 320 +- .../thirdparty/zTree/js/jquery.ztree.core.js | 3366 +- .../thirdparty/zTree/js/jquery.ztree.core.min.js | 138 +- .../thirdparty/zTree/js/jquery.ztree.excheck.js | 1256 +- .../zTree/js/jquery.ztree.excheck.min.js | 68 +- .../thirdparty/zTree/js/jquery.ztree.exedit.js | 2380 +- .../thirdparty/zTree/js/jquery.ztree.exedit.min.js | 106 +- .../thirdparty/zTree/js/jquery.ztree.exhide.js | 724 +- .../thirdparty/zTree/js/jquery.ztree.exhide.min.js | 44 +- .../common/thirdparty/zTree/zTree.v3.jquery.json | 70 +- 857 files changed, 252298 insertions(+), 252298 deletions(-) (limited to 'openo-portal/portal-common') diff --git a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/Read Me.txt b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/Read Me.txt index 8491652f..e39b5440 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/Read Me.txt +++ b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/Read Me.txt @@ -1,7 +1,7 @@ -Open *demo.html* to see a list of all the glyphs in your font along with their codes/ligatures. - -To use the generated font in desktop programs, you can install the TTF font. In order to copy the character associated with each icon, refer to the text box at the bottom right corner of each glyph in demo.html. The character inside this text box may be invisible; but it can still be copied. See this guide for more info: https://icomoon.io/#docs/local-fonts - -You won't need any of the files located under the *demo-files* directory when including the generated font in your own projects. - -You can import *selection.json* back to the IcoMoon app using the *Import Icons* button (or via Main Menu → Manage Projects) to retrieve your icon selection. +Open *demo.html* to see a list of all the glyphs in your font along with their codes/ligatures. + +To use the generated font in desktop programs, you can install the TTF font. In order to copy the character associated with each icon, refer to the text box at the bottom right corner of each glyph in demo.html. The character inside this text box may be invisible; but it can still be copied. See this guide for more info: https://icomoon.io/#docs/local-fonts + +You won't need any of the files located under the *demo-files* directory when including the generated font in your own projects. + +You can import *selection.json* back to the IcoMoon app using the *Import Icons* button (or via Main Menu → Manage Projects) to retrieve your icon selection. diff --git a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo-files/demo.css b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo-files/demo.css index 9b7c293f..44211330 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo-files/demo.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo-files/demo.css @@ -1,151 +1,151 @@ -body { - padding: 0; - margin: 0; - font-family: sans-serif; - font-size: 1em; - line-height: 1.5; - color: #555; - background: #fff; -} -h1 { - font-size: 1.5em; - font-weight: normal; -} -small { - font-size: .66666667em; -} -a { - color: #e74c3c; - text-decoration: none; -} -a:hover, a:focus { - box-shadow: 0 1px #e74c3c; -} -.bshadow0, input { - box-shadow: inset 0 -2px #e7e7e7; -} -input:hover { - box-shadow: inset 0 -2px #ccc; -} -input, fieldset { - font-size: 1em; - margin: 0; - padding: 0; - border: 0; -} -input { - color: inherit; - line-height: 1.5; - height: 1.5em; - padding: .25em 0; -} -input:focus { - outline: none; - box-shadow: inset 0 -2px #449fdb; -} -.glyph { - font-size: 16px; - width: 15em; - padding-bottom: 1em; - margin-right: 4em; - margin-bottom: 1em; - float: left; - overflow: hidden; -} -.liga { - width: 80%; - width: calc(100% - 2.5em); -} -.talign-right { - text-align: right; -} -.talign-center { - text-align: center; -} -.bgc1 { - background: #f1f1f1; -} -.fgc1 { - color: #999; -} -.fgc0 { - color: #000; -} -p { - margin-top: 1em; - margin-bottom: 1em; -} -.mvm { - margin-top: .75em; - margin-bottom: .75em; -} -.mtn { - margin-top: 0; -} -.mtl, .mal { - margin-top: 1.5em; -} -.mbl, .mal { - margin-bottom: 1.5em; -} -.mal, .mhl { - margin-left: 1.5em; - margin-right: 1.5em; -} -.mhmm { - margin-left: 1em; - margin-right: 1em; -} -.mls { - margin-left: .25em; -} -.ptl { - padding-top: 1.5em; -} -.pbs, .pvs { - padding-bottom: .25em; -} -.pvs, .pts { - padding-top: .25em; -} -.unit { - float: left; -} -.unitRight { - float: right; -} -.size1of2 { - width: 50%; -} -.size1of1 { - width: 100%; -} -.clearfix:before, .clearfix:after { - content: " "; - display: table; -} -.clearfix:after { - clear: both; -} -.hidden-true { - display: none; -} -.textbox0 { - width: 3em; - background: #f1f1f1; - padding: .25em .5em; - line-height: 1.5; - height: 1.5em; -} -#testDrive { - display: block; - padding-top: 24px; - line-height: 1.5; -} -.fs0 { - font-size: 16px; -} -.fs1 { - font-size: 16px; -} - +body { + padding: 0; + margin: 0; + font-family: sans-serif; + font-size: 1em; + line-height: 1.5; + color: #555; + background: #fff; +} +h1 { + font-size: 1.5em; + font-weight: normal; +} +small { + font-size: .66666667em; +} +a { + color: #e74c3c; + text-decoration: none; +} +a:hover, a:focus { + box-shadow: 0 1px #e74c3c; +} +.bshadow0, input { + box-shadow: inset 0 -2px #e7e7e7; +} +input:hover { + box-shadow: inset 0 -2px #ccc; +} +input, fieldset { + font-size: 1em; + margin: 0; + padding: 0; + border: 0; +} +input { + color: inherit; + line-height: 1.5; + height: 1.5em; + padding: .25em 0; +} +input:focus { + outline: none; + box-shadow: inset 0 -2px #449fdb; +} +.glyph { + font-size: 16px; + width: 15em; + padding-bottom: 1em; + margin-right: 4em; + margin-bottom: 1em; + float: left; + overflow: hidden; +} +.liga { + width: 80%; + width: calc(100% - 2.5em); +} +.talign-right { + text-align: right; +} +.talign-center { + text-align: center; +} +.bgc1 { + background: #f1f1f1; +} +.fgc1 { + color: #999; +} +.fgc0 { + color: #000; +} +p { + margin-top: 1em; + margin-bottom: 1em; +} +.mvm { + margin-top: .75em; + margin-bottom: .75em; +} +.mtn { + margin-top: 0; +} +.mtl, .mal { + margin-top: 1.5em; +} +.mbl, .mal { + margin-bottom: 1.5em; +} +.mal, .mhl { + margin-left: 1.5em; + margin-right: 1.5em; +} +.mhmm { + margin-left: 1em; + margin-right: 1em; +} +.mls { + margin-left: .25em; +} +.ptl { + padding-top: 1.5em; +} +.pbs, .pvs { + padding-bottom: .25em; +} +.pvs, .pts { + padding-top: .25em; +} +.unit { + float: left; +} +.unitRight { + float: right; +} +.size1of2 { + width: 50%; +} +.size1of1 { + width: 100%; +} +.clearfix:before, .clearfix:after { + content: " "; + display: table; +} +.clearfix:after { + clear: both; +} +.hidden-true { + display: none; +} +.textbox0 { + width: 3em; + background: #f1f1f1; + padding: .25em .5em; + line-height: 1.5; + height: 1.5em; +} +#testDrive { + display: block; + padding-top: 24px; + line-height: 1.5; +} +.fs0 { + font-size: 16px; +} +.fs1 { + font-size: 16px; +} + diff --git a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo-files/demo.js b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo-files/demo.js index 6f45f1c4..52f25145 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo-files/demo.js +++ b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo-files/demo.js @@ -1,30 +1,30 @@ -if (!('boxShadow' in document.body.style)) { - document.body.setAttribute('class', 'noBoxShadow'); -} - -document.body.addEventListener("click", function(e) { - var target = e.target; - if (target.tagName === "INPUT" && - target.getAttribute('class').indexOf('liga') === -1) { - target.select(); - } -}); - -(function() { - var fontSize = document.getElementById('fontSize'), - testDrive = document.getElementById('testDrive'), - testText = document.getElementById('testText'); - function updateTest() { - testDrive.innerHTML = testText.value || String.fromCharCode(160); - if (window.icomoonLiga) { - window.icomoonLiga(testDrive); - } - } - function updateSize() { - testDrive.style.fontSize = fontSize.value + 'px'; - } - fontSize.addEventListener('change', updateSize, false); - testText.addEventListener('input', updateTest, false); - testText.addEventListener('change', updateTest, false); - updateSize(); -}()); +if (!('boxShadow' in document.body.style)) { + document.body.setAttribute('class', 'noBoxShadow'); +} + +document.body.addEventListener("click", function(e) { + var target = e.target; + if (target.tagName === "INPUT" && + target.getAttribute('class').indexOf('liga') === -1) { + target.select(); + } +}); + +(function() { + var fontSize = document.getElementById('fontSize'), + testDrive = document.getElementById('testDrive'), + testText = document.getElementById('testText'); + function updateTest() { + testDrive.innerHTML = testText.value || String.fromCharCode(160); + if (window.icomoonLiga) { + window.icomoonLiga(testDrive); + } + } + function updateSize() { + testDrive.style.fontSize = fontSize.value + 'px'; + } + fontSize.addEventListener('change', updateSize, false); + testText.addEventListener('input', updateTest, false); + testText.addEventListener('change', updateTest, false); + updateSize(); +}()); diff --git a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo.html b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo.html index 4358ee93..fddfeac4 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo.html +++ b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/demo.html @@ -1,4807 +1,4807 @@ - - - - - IcoMoon Demo - - - - - -
-

Font Name: ZteIctIcons (Glyphs: 298)

-
-
-

Grid Size: Unknown

-
-
- - - - ict-it-other-lenovo -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-router-alu7750 -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-nds -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-php -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-app-glassfish -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-telnet -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-dns -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-url -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-database-mysql -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-ping -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-ftp -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-rest -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-soap -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-server-macos -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-server-openbsd -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-server-debian -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-app-iis -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-app-mailserver -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-app-websphere -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-app-apache -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-app-jboss -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-a10bala -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-NFV -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-VNFM -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-VNF -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-VNFC -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-VIM -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-VDU -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-host -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-NS -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-cluster-vcs -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-diskraid-hpeva -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-diskraid-zte -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-firewall-h3c -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-ibm-blade -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-secfox -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-segw -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-zteatca -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-zteips -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-sdn-controller -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-server-hpux -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-storage-ops -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-storage-sanswitch-brocade -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-uep-moc-uca-public -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-uep-topo-commongroup20x20 -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-vapel_chgpile -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-car -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-chgpile -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-chgposition -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-chgstation -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-common_dc -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-common_ncd -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-common_ncd_break -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-common_sc -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-app -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-app-bind -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-app-dns -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-app-ems -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-app-mediator -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-app-ntp -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-app-ota -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-app-tomcat -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-app-trend -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-app-tsm -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-app-weblogic -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-cluster -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-cluster-hacmp -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-cluster-nec -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-cluster-ns -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-cluster-sg -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-database -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-database-mssql -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-database-oracle -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-database-sybase -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-database-sybaseiq -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-diskraid-dellmd -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-diskraid-emc -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-diskraid-eternus -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-diskraid-fujitsu -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-diskraid-hds -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-diskraid-hpaio -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-diskraid-hpmsa -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-diskraid-ibm -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-diskraid-ibmsm -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-diskraid-macrosan -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-diskraid-netapp -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-diskraid-sun -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-firewall -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-firewall-checkpoint -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-firewall-cisco -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-firewall-cisco2 -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-firewall-juniper -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-firewall-neteye -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-firewall-zte -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-firewall-ztemf -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-firewall-zteutm -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-gather -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-ibp -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-ibp-ibp2000 -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-net -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-alteon -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-appdirector -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-atca-lb10 -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-cisco-ucs -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-dcs -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-delta -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-dp -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-e9000 -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-f5bigip -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-f5bigip2 -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-gbe2c -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-h3c -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-hpblc -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-imm -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-secsis -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-vc -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-ztepower -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-ztesgs -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-other-zxsdr-nt -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-router -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-router-cisco -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-router-juniper -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-router-zte -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-sdn-host -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-sdn-switch -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-server -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-server-aix -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-server-klinux -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-server-redhat -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-server-solaris -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-server-suse -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-server-windows -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-server-zxve -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-storage -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-storage-cisco-mds -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-storage-md3000 -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-storage-netvault -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-storage-sanswitch-zte -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-switch-at -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-switch-cisco -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-switch-h3c -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-switch-juniper -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-switch-zte -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-tapelib-hpmsl -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-tapelib-ibmts -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-tapelib-sunts -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-Virtualnetwork -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-networkTree -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-resourceType -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-tree-icon -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-uep-topo-group20x20 -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-uep-topo-root -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-uep-topo-virtual20x20 -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-common_ncd_stop -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-app-netnumen -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-sdn-vnet -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-storage-sanswitch-hp -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-it-switch -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-uep-moc-root -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-uep-topo-undefinedgroup20x20 -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-analysis -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-bindingRelationship -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-browsePolicy -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-businessManagment -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-cardData -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-dailyManagment -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-enterpriseCustomer -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-equipmentBlacklist -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-equipmentModel -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-examine -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-failureList -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-familyCustomer -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-fileTool -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-groupManagment -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-notice -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-policy -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-portal -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-recordQuery -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-resourceManagment -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-ruleManagment -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-sucessRate -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-terminalManagment -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-tools -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-track -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-userManagment -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-versionManagment -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-workOrder -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-cpu -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-memory -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-currentAlarm -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-noticeAlarm -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-historyAlarm -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-close -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-table -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-next -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-pre -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-roleset -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-role -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-user -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-empty -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-noticeFilter -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-alarmTurn -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-advice -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-clearAlarm -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-alarmBox -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-afreshDef -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-alarmFilter -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-manAnalysis -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-drill -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-gear -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-process -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-unacknownledge -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-acknownledge -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-Operation -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-cloud -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-computer -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-alarm -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-import -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-export -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-Admin -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-allSelected -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-angleRight -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-arrowLeft -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-arrowLeftAll -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-arrowRight -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-arrowRightAll -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-autoFind -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-back -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-ball -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-bell -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-blackList -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-breakLink -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-cancle -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-circle -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-closeTree -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-configmap -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-delete -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-department -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-detail -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-displaySwitch -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-file -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-filter -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-find -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-folder -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-forceOut -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-fullScreen -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-Graphical -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-helpTip -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-hide -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-history -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-launchingTower -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-layout -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-legendhide -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-legendshow -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-link -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-lock -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-ltArrow -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-Magnifier -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-Maintain -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-maximize -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-modify -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-Monitor -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-move -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-new -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-newShortcut -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-openTree -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-poNode -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-print -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-product -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-rbArrow -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-reduction -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-refresh -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-rename -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-save -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-select -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-selectAll -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-selectLeft -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-selectRight -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-show -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-shrink -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-start -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-stop -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-stretch -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-strikeOut -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-Synchronous -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-toRight -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-treefile -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-treeFolder -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-unlock -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-userCompare -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-userDispatch -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-xml -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-zoomIn -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-zoomOut -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-zoomOverView -
-
- - -
-
- liga: - -
-
-
-
- - - - ict-zoomReset -
-
- - -
-
- liga: - -
-
-
- - -
-

Font Test Drive

- - - -
  -
-
- -
-

Generated by IcoMoon

-
- - - - + + + + + IcoMoon Demo + + + + + +
+

Font Name: ZteIctIcons (Glyphs: 298)

+
+
+

Grid Size: Unknown

+
+
+ + + + ict-it-other-lenovo +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-router-alu7750 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-nds +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-php +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-glassfish +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-telnet +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-dns +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-url +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-database-mysql +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-ping +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-ftp +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-rest +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-soap +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-macos +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-openbsd +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-debian +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-iis +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-mailserver +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-websphere +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-apache +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-jboss +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-a10bala +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-NFV +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-VNFM +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-VNF +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-VNFC +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-VIM +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-VDU +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-host +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-NS +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-cluster-vcs +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-hpeva +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-zte +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall-h3c +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-ibm-blade +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-secfox +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-segw +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-zteatca +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-zteips +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-sdn-controller +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-hpux +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-storage-ops +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-storage-sanswitch-brocade +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-uep-moc-uca-public +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-uep-topo-commongroup20x20 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-vapel_chgpile +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-car +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-chgpile +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-chgposition +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-chgstation +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-common_dc +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-common_ncd +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-common_ncd_break +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-common_sc +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-bind +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-dns +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-ems +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-mediator +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-ntp +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-ota +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-tomcat +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-trend +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-tsm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-weblogic +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-cluster +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-cluster-hacmp +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-cluster-nec +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-cluster-ns +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-cluster-sg +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-database +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-database-mssql +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-database-oracle +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-database-sybase +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-database-sybaseiq +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-dellmd +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-emc +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-eternus +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-fujitsu +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-hds +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-hpaio +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-hpmsa +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-ibm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-ibmsm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-macrosan +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-netapp +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-diskraid-sun +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall-checkpoint +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall-cisco +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall-cisco2 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall-juniper +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall-neteye +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall-zte +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall-ztemf +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-firewall-zteutm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-gather +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-ibp +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-ibp-ibp2000 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-net +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-alteon +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-appdirector +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-atca-lb10 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-cisco-ucs +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-dcs +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-delta +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-dp +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-e9000 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-f5bigip +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-f5bigip2 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-gbe2c +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-h3c +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-hpblc +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-imm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-secsis +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-vc +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-ztepower +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-ztesgs +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-other-zxsdr-nt +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-router +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-router-cisco +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-router-juniper +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-router-zte +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-sdn-host +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-sdn-switch +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-aix +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-klinux +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-redhat +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-solaris +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-suse +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-windows +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-server-zxve +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-storage +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-storage-cisco-mds +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-storage-md3000 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-storage-netvault +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-storage-sanswitch-zte +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-switch-at +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-switch-cisco +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-switch-h3c +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-switch-juniper +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-switch-zte +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-tapelib-hpmsl +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-tapelib-ibmts +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-tapelib-sunts +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-Virtualnetwork +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-networkTree +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-resourceType +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-tree-icon +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-uep-topo-group20x20 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-uep-topo-root +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-uep-topo-virtual20x20 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-common_ncd_stop +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-app-netnumen +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-sdn-vnet +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-storage-sanswitch-hp +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-it-switch +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-uep-moc-root +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-uep-topo-undefinedgroup20x20 +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-analysis +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-bindingRelationship +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-browsePolicy +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-businessManagment +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-cardData +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-dailyManagment +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-enterpriseCustomer +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-equipmentBlacklist +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-equipmentModel +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-examine +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-failureList +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-familyCustomer +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-fileTool +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-groupManagment +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-notice +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-policy +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-portal +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-recordQuery +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-resourceManagment +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-ruleManagment +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-sucessRate +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-terminalManagment +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-tools +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-track +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-userManagment +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-versionManagment +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-workOrder +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-cpu +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-memory +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-currentAlarm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-noticeAlarm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-historyAlarm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-close +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-table +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-next +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-pre +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-roleset +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-role +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-user +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-empty +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-noticeFilter +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-alarmTurn +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-advice +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-clearAlarm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-alarmBox +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-afreshDef +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-alarmFilter +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-manAnalysis +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-drill +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-gear +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-process +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-unacknownledge +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-acknownledge +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-Operation +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-cloud +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-computer +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-alarm +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-import +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-export +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-Admin +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-allSelected +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-angleRight +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-arrowLeft +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-arrowLeftAll +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-arrowRight +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-arrowRightAll +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-autoFind +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-back +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-ball +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-bell +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-blackList +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-breakLink +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-cancle +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-circle +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-closeTree +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-configmap +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-delete +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-department +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-detail +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-displaySwitch +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-file +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-filter +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-find +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-folder +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-forceOut +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-fullScreen +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-Graphical +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-helpTip +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-hide +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-history +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-launchingTower +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-layout +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-legendhide +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-legendshow +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-link +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-lock +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-ltArrow +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-Magnifier +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-Maintain +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-maximize +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-modify +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-Monitor +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-move +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-new +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-newShortcut +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-openTree +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-poNode +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-print +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-product +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-rbArrow +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-reduction +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-refresh +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-rename +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-save +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-select +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-selectAll +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-selectLeft +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-selectRight +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-show +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-shrink +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-start +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-stop +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-stretch +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-strikeOut +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-Synchronous +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-toRight +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-treefile +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-treeFolder +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-unlock +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-userCompare +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-userDispatch +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-xml +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-zoomIn +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-zoomOut +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-zoomOverView +
+
+ + +
+
+ liga: + +
+
+
+
+ + + + ict-zoomReset +
+
+ + +
+
+ liga: + +
+
+
+ + +
+

Font Test Drive

+ + + +
  +
+
+ +
+

Generated by IcoMoon

+
+ + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.svg b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.svg index eb9225f8..8a4eb0e0 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.svg +++ b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/fonts/ZteIctIcons.svg @@ -1,308 +1,308 @@ - - - -Generated by IcoMoon - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + +Generated by IcoMoon + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/selection.json b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/selection.json index 79a56e09..b2ed9364 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/selection.json +++ b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/selection.json @@ -1,8408 +1,8408 @@ -{ - "IcoMoonType": "selection", - "icons": [ - { - "icon": { - "paths": [ - "M820.37 677.303c-13.605 0-24.795 5.193-33.646 15.726-8.85 10.459-13.312 26.331-13.312 47.762 0 21.65 4.389 37.742 13.166 48.128s19.822 15.579 33.134 15.579c13.458 0 24.503-5.12 33.061-15.36 8.631-10.313 13.019-26.697 13.019-49.298 0-21.065-4.389-36.791-13.093-47.177-8.704-10.24-19.456-15.36-32.329-15.36z", - "M888.027 0h-752.055c-75.557 0-135.973 60.416-135.973 135.973v751.982c0 75.703 60.416 136.046 135.973 136.046h751.982c75.703 0 136.046-60.343 136.046-135.973v-752.055c0-75.557-60.343-135.973-135.973-135.973zM107.52 141.385h103.863v253.294h162.085v82.725h-265.947v-336.018zM350.574 831.634c-24.869 23.918-59.173 35.84-103.058 35.84-39.131 0-70.729-9.947-94.866-29.769-29.696-24.576-44.471-56.832-44.471-96.695 0-37.157 12.507-67.73 37.595-91.794s58.953-36.133 101.522-36.133c48.786 0 85.577 14.117 110.519 42.423 19.968 22.821 30.062 50.761 30.062 84.114 0 37.449-12.434 68.096-37.303 92.014zM573.221 861.989h-82.798l-101.23-243.419h97.061l47.25 154.258 49.006-154.258h94.135l-103.424 243.419zM628.517 466.944c-19.895 10.606-48.347 15.945-85.504 15.945-32.183 0-57.563-4.535-76.069-13.678-18.505-8.997-33.792-23.479-46.007-43.301-12.142-19.749-18.213-43.008-18.213-69.778 0-38.107 12.215-68.827 36.571-92.379 24.43-23.552 58.075-35.255 101.010-35.255 34.889 0 62.391 5.266 82.505 15.799 20.187 10.533 35.547 25.819 46.080 45.787 10.606 20.041 15.872 46.080 15.872 78.19v10.533h-187.099c1.682 14.994 5.705 26.185 12.142 33.499 8.997 10.533 20.773 15.799 35.255 15.799 9.216 0 17.92-2.267 26.112-6.875 5.047-2.926 10.533-8.046 16.311-15.36l91.941 8.485c-14.043 24.503-31.013 41.984-50.907 52.59zM922.258 831.634c-24.869 23.918-59.246 35.84-103.058 35.84-39.058 0-70.729-9.947-94.866-29.769-29.623-24.576-44.471-56.832-44.471-96.695 0-37.157 12.581-67.73 37.669-91.794 25.015-24.064 58.88-36.133 101.522-36.133 48.786 0 85.577 14.117 110.519 42.423 19.968 22.821 29.989 50.761 29.989 84.114-0.073 37.449-12.507 68.096-37.303 92.014zM984.942 477.403h-93.696v-133.851c0-15.287-2.853-26.112-8.485-32.402-5.632-6.363-13.605-9.509-23.845-9.509-11.264 0-20.407 4.315-27.502 12.873-7.022 8.558-10.533 23.918-10.533 46.080v116.882h-93.33v-243.493h86.894v39.643c13.019-16.165 26.112-27.721 39.424-34.743s29.477-10.459 48.567-10.459c25.893 0 46.080 7.68 60.635 23.040s21.87 39.058 21.87 71.168v154.77z", - "M575.195 295.424c-7.826-7.753-18.213-11.703-31.013-11.703-14.848 0-26.697 5.851-35.547 17.627-5.632 7.314-9.216 18.286-10.752 32.768h91.941c-1.902-17.993-6.656-30.939-14.629-38.693z", - "M248.686 677.303c-13.605 0-24.869 5.193-33.719 15.726-8.85 10.459-13.312 26.331-13.312 47.762 0 21.65 4.389 37.742 13.166 48.128s19.822 15.579 33.134 15.579c13.458 0 24.43-5.12 33.134-15.36 8.631-10.313 12.946-26.697 12.946-49.298 0-21.065-4.389-36.791-13.093-47.177-8.631-10.24-19.383-15.36-32.256-15.36z" - ], - "attrs": [ - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - } - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-lenovo" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [ - 4, - 4, - 4, - 4 - ] - } - }, - "attrs": [ - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - } - ], - "properties": { - "order": 298, - "id": 297, - "prevSize": 16, - "code": 59648, - "name": "it-other-lenovo" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 0 - }, - { - "icon": { - "paths": [ - "M361.536 749.12l-107.008 274.88h58.88l22.656-62.464h109.888l24 62.464h60.352l-110.080-274.88h-58.688zM353.152 915.264l37.12-102.016 37.888 102.016h-75.008z", - "M616.768 751.36h-55.488v272.64h193.472v-46.336h-137.984z", - "M957.632 901.184c0 21.76-0.832 37.312-2.432 46.656s-6.464 17.344-14.464 23.68c-8 6.528-19.904 9.664-35.648 9.664-15.488 0-27.776-3.392-36.608-10.176-9.024-6.784-14.656-15.872-17.024-27.136-1.344-6.976-2.048-22.336-2.048-45.952v-148.864h-55.488v146.624c0 30.72 1.792 54.016 5.44 69.76 2.496 10.624 7.68 20.8 15.552 30.464 7.872 9.728 18.56 17.6 32.192 23.616 13.504 6.080 33.408 9.152 59.712 9.152 21.76 0 39.36-2.816 52.864-8.384 13.504-5.504 24.32-12.992 32.32-22.4 8.128-9.344 13.632-20.864 16.64-34.496s4.48-36.928 4.48-69.952v-144.384h-55.488v152.128z", - "M1006.016 643.392c11.328-42.304 17.984-86.592 17.984-132.416 0-282.688-230.336-510.976-513.024-510.976s-510.976 228.288-510.976 510.976c0 181.504 94.4 340.992 236.544 432.256v-171.904c0-70.656 57.344-128 128-128h108.224v-19.712c0-19.968-8.384-70.848-42.24-80.448h66.368c36.416 0 44.224 63.68 44.224 84.48v15.68h464.896zM859.008 444.608v-88.512l122.752 122.688-122.752 122.688v-88.448h-164.928c-19.968 0-70.912 10.432-80.448 44.224v-66.368c0-36.416 61.632-46.272 82.496-46.272h162.88zM408.384 468.736c0 36.416-61.632 44.224-82.496 44.224h-162.944v88.512l-122.688-122.688 122.688-122.688v88.512h166.976c19.968 0 68.928-8.384 78.464-42.24v66.368zM496.896 478.784h-66.368c33.856-9.536 42.24-60.544 42.24-80.448v-164.992h-88.512l122.688-122.688 122.688 122.688h-88.448v162.944c0 20.864-7.872 82.496-44.288 82.496z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-router-alu7750" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 299, - "id": 296, - "prevSize": 16, - "code": 59649, - "name": "it-router-alu7750" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 1 - }, - { - "icon": { - "paths": [ - "M558.656 403.584c-10.624-4.096-27.776-6.144-51.328-6.144h-63.040v229.12h64c19.776 0 35.264-1.792 46.592-5.504 11.264-3.712 20.16-8.896 26.88-15.552 9.344-9.408 16.768-22.080 22.016-37.952 5.184-15.872 7.808-35.136 7.808-57.856 0-31.36-5.056-55.424-15.424-72.32-10.304-16.768-22.784-28.032-37.504-33.792z", - "M888 0h-752c-75.648 0-136 60.352-136 136v752c0 75.648 60.352 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.648-60.352-136-136-136zM337.984 661.952h-40.768l-157.504-235.648v235.648h-38.016v-299.904h40.704l157.504 235.52v-235.52h38.080v299.904zM644.544 570.88c-5.312 17.664-12.096 32.192-20.416 43.712-8.384 11.584-17.408 20.608-27.392 27.264-9.856 6.656-21.76 11.648-35.776 14.976-13.952 3.456-30.016 5.12-48.064 5.12h-108.288v-299.904h103.36c23.232 0 41.088 1.472 53.312 4.352 17.216 3.904 31.872 11.072 44.032 21.44 15.744 13.376 27.648 30.464 35.456 51.2 7.808 20.864 11.776 44.608 11.776 71.36-0.064 22.784-2.688 42.944-8 60.48zM918.656 622.4c-9.216 14.144-22.272 25.088-39.36 32.96-17.216 7.808-36.416 11.776-57.792 11.776-27.2 0-49.92-4.032-68.16-11.904-18.368-7.936-32.768-19.776-43.2-35.712-10.432-15.872-15.872-33.856-16.448-53.888l37.44-3.264c1.728 14.976 5.824 27.264 12.352 36.864 6.464 9.6 16.448 17.344 30.208 23.296 13.568 5.952 28.864 8.896 46.016 8.896 15.040 0 28.416-2.176 40.064-6.656 11.584-4.48 20.16-10.688 25.792-18.496 5.76-7.872 8.576-16.448 8.576-25.664 0-9.408-2.688-17.664-8.192-24.64-5.44-6.976-14.464-12.928-27.008-17.728-8.064-3.072-25.856-8.064-53.376-14.656-27.648-6.592-46.848-12.864-57.856-18.688-14.4-7.488-25.024-16.768-32-27.904-7.104-11.072-10.56-23.552-10.56-37.312 0-15.104 4.288-29.312 12.928-42.496 8.512-13.184 21.056-23.168 37.632-30.016 16.448-6.784 34.816-10.24 54.976-10.24 22.208 0 41.792 3.52 58.816 10.688 16.96 7.104 30.016 17.664 39.168 31.616 9.088 13.888 14.016 29.696 14.72 47.232l-38.144 2.88c-1.984-18.944-9.024-33.28-20.736-42.944-11.84-9.664-29.248-14.592-52.224-14.592-24 0-41.536 4.416-52.416 13.184-11.008 8.832-16.448 19.392-16.448 31.808 0 10.752 3.84 19.648 11.648 26.624 7.616 6.976 27.52 14.080 59.84 21.376 32.256 7.296 54.4 13.632 66.368 19.136 17.408 8.064 30.272 18.368 38.592 30.72 8.384 12.352 12.544 26.56 12.544 42.624 0 16-4.672 30.976-13.76 45.12z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-nds" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 300, - "id": 295, - "prevSize": 16, - "code": 59650, - "name": "it-other-nds" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 2 - }, - { - "icon": { - "paths": [ - "M766.4 419.136c-9.728 48.512-19.52 97.088-29.248 145.664h80.256c23.488-12.48 30.656-14.336 43.904-38.4 7.232-20.416 14.528-40.832 21.76-61.248-23.552-43.456-48.128-49.856-116.672-46.016z", - "M211.968 419.136c-9.728 48.576-19.52 97.088-29.248 145.664 31.616-2.624 63.232-5.184 94.848-7.744 24.96-12.288 24.448-12.416 36.544-38.336 14.144-27.328 13.376-51.52 7.296-84.288-36.48-5.056-72.96-10.176-109.44-15.296z", - "M888 0h-752c-75.584 0-136 60.416-136 136v752c0 75.648 60.416 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.584-60.352-136-136-136zM175.488 618.432c-50.24 33.088 24.192 82.88-80.256 84.16v-22.848c19.456-102.144 38.912-204.416 58.368-306.56 113.472-4.544 188.288-3.136 240.704 53.696 7.232 255.232-114.304 122.816-218.816 191.552zM562.048 618.368v-22.976c9.792-51.072 19.52-102.144 29.184-153.28-7.296-7.68-14.592-15.296-21.888-22.976h-80.256c-12.16 66.432-24.32 132.864-36.48 199.232h-65.6c21.888-112.384 43.776-224.768 65.664-337.088h58.368c-2.432 30.592-4.8 61.248-7.296 91.904 71.68-3.072 114.624 4.224 153.28 30.656h-0.128v7.68c-9.6 68.928-19.456 137.92-29.12 206.848h-65.728zM722.56 626.176c-2.368 25.408-4.8 51.072-7.168 76.416h-65.6c19.456-109.76 38.784-219.584 58.24-329.408 89.792-3.072 174.016-1.6 226.24 30.656 53.632 184.896-72.448 186.56-211.712 222.336z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-php" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 301, - "id": 294, - "prevSize": 16, - "code": 59651, - "name": "it-other-php" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 3 - }, - { - "icon": { - "paths": [ - "M896 1024c70.848 0 128-57.152 128-128v-252.032l-379.968 380.032h251.968z", - "M896 0h-768c-70.912 0-128 57.088-128 128v768c0 70.848 57.088 128 128 128h417.984l478.016-480v-416c0-70.912-57.152-128-128-128zM831.936 262.336c-0.832 0.832-1.792 1.344-2.624 2.176h-10.944c4.48-0.768 9.152-1.472 13.568-2.176zM53.824 351.936c120.96-213.76 428.352-120.384 546.112-256.704h10.88c14.528 20.032 29.184 40 43.712 60.032-21.888-10.56-24.128-21.184-38.208-38.208-23.68 18.24-47.296 36.416-70.976 54.592 1.856 3.648 3.648 7.296 5.376 10.944 18.304 5.44 36.48 10.944 54.72 16.384-182.208-17.024-337.216 0.768-447.872 81.92-38.272 28.032-56.64 72.704-98.304 98.304h-5.44v-27.264zM239.488 362.88c-5.44 1.792-10.944 3.648-16.384 5.44-25.088-8.064-19.264-10.24-32.768-27.328 7.296-12.8 14.592-25.472 21.888-38.272h32.704v11.008c8.512 20.352 2.56 33.408-5.44 49.152zM288.704 510.272h-10.944c-75.712 40.832-229.056-50.432-245.76-109.184 110.528 9.92 119.68 119.36 256.704 103.68v5.504zM294.144 466.56c-31.232 16.768-61.056 29.312-92.8 5.44 54.144 0.96 67.968-11.968 92.8-38.208-1.856-10.944-3.648-21.824-5.44-32.704l16.384 16.32c-3.648 16.384-7.296 32.768-10.944 49.152zM310.528 242.688h-10.944c4.16-0.32 8.32-0.576 12.416-0.832-0.448 0.32-1.024 0.512-1.472 0.832zM414.272 204.416c120.256-2.176 196.544 24.064 283.968 43.712v5.44c-51.008-9.088-102.016-18.176-152.896-27.264-77.76 5.184-155.584 10.368-233.344 15.488 28.48-20.416 66.368-21.12 102.272-37.376zM610.88 379.2v-81.92c19.264 31.68 20.544 47.168 0 81.92zM556.224 390.144v-98.304c23.168 37.76 25.92 55.936 0 98.304zM397.888 433.792h-5.44c-1.856-56.448-3.648-112.832-5.504-169.28 36.8 61.056 18.24 90.24 10.944 169.28zM447.040 401.088c-1.792-43.712-3.648-87.424-5.44-131.072 20.672 36.672 25.216 89.28 5.44 131.072zM501.632 401.024v-114.688c22.208 41.92 14.4 60.928 5.376 114.688h-5.376zM627.392 559.424c-31.872-11.456-82.816-20.224-120.32-32.768 3.648-5.44 7.36-10.88 10.944-16.448h5.504c53.12 1.024 70.72 19.2 109.248 32.832 3.648-16.384 7.296-32.832 10.88-49.152 5.504 21.248 0.128 50.24-16.256 65.536zM665.472 368.256h-5.504v-70.976c13.504 19.968 10.176 43.52 5.504 70.976zM720.128 340.992c-12.736-3.648-25.472-7.296-38.272-10.944l38.272 5.44v5.504zM818.368 395.584c14.4-31.552 10.112-60.224-5.44-87.424 14.592 10.944 29.12 21.888 43.84 32.768-9.92 27.328-12.864 42.112-38.4 54.656zM944 537.536c-7.232-5.44-14.656-10.944-21.824-16.384-10.944-21.824-21.952-43.712-32.832-65.536 14.592 16.384 29.12 32.768 43.712 49.152-1.088-95.232-28.736-165.44-5.44-251.2-1.792-1.792-3.648-3.584-5.44-5.44-30.208 4.736-60.16 9.536-90.24 14.272 26.624-25.984 60.16-33.408 95.68-52.48h16.384v327.616z", - "M212.224 313.664c-3.648 7.232-7.232 14.528-10.88 21.824 10.88 5.504 21.76 10.944 32.704 16.448-4.544-26.688-6.016-25.152-21.824-38.272z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-app-glassfish" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 302, - "id": 293, - "prevSize": 16, - "code": 59652, - "name": "it-app-glassfish" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 4 - }, - { - "icon": { - "paths": [ - "M708.544 476.096h62.592v64.064h-62.592v-64.064z", - "M888 0h-752c-75.648 0-136 60.352-136 135.936v752.064c0 75.648 60.352 136 136 136h752c75.648 0 136-60.352 136-136v-752.064c0-75.584-60.352-135.936-136-135.936zM231.936 349.248h-52.992v315.456h-30.4v-315.456h-53.376v-26.944h136.704v26.944zM383.040 553.152l-9.792 10.304h-80.96v76.992h62.592v-39.040h28.224v38.528c0 16.512-8.128 24.768-24.512 24.768h-70.016c-16.32 0-24.512-8.256-24.512-24.768v-163.392c0-16.512 8.128-24.768 24.512-24.768h70.016c16.32 0 24.512 8.256 24.512 24.768v76.608zM461.568 664.704h-28.608v-342.4h28.672v342.4zM633.344 664.704h-29.12v-186.816l-64.128 1.728v185.088h-29.056v-212.864h29.12v5.952c11.328-1.472 22.784-3.072 34.368-4.608 13.952-1.728 25.472-2.624 34.496-2.624 16.256 0 24.384 7.936 24.384 23.808v190.336zM799.36 553.152l-9.856 10.304h-80.96v76.992h62.592v-39.040h28.224v38.528c0 16.512-8.192 24.768-24.512 24.768h-70.016c-16.384 0-24.512-8.256-24.512-24.768v-163.392c0-16.512 8.128-24.768 24.512-24.768h70.016c16.32 0 24.512 8.256 24.512 24.768v76.608zM924.032 477.44h-37.12v161.6h37.12v25.6h-41.344c-16.32 0-24.512-8.256-24.512-24.768v-162.432h-25.536v-25.6h25.536v-66.304h28.672v66.304h37.12v25.6z", - "M292.288 476.096h62.592v64.064h-62.592v-64.064z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-telnet" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 303, - "id": 292, - "prevSize": 16, - "code": 59653, - "name": "it-other-telnet" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 5 - }, - { - "icon": { - "paths": [ - "M264.576 342.848h-55.296v378.112h53.056c15.488 0 28.032-4.416 37.696-13.312 9.6-8.96 14.464-21.056 14.464-36.544v-278.912c0-14.656-4.608-26.56-13.888-35.712-9.344-9.024-21.312-13.632-36.032-13.632z", - "M888 0h-752c-75.648 0-136 60.352-136 136v752c0 75.648 60.352 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.648-60.352-136-136-136zM354.304 675.136c0 23.68-7.808 43.136-23.36 58.304s-35.2 22.784-58.88 22.784h-102.656v-448.64h102.592c23.936 0 43.584 7.616 59.072 22.784s23.232 34.624 23.232 58.304v286.464zM609.216 756.224h-27.584l-119.808-329.92v329.92h-37.568v-448.64h29.824l117.504 324.224v-324.16h37.568v448.576zM855.68 443.84h-39.872v-100.992h-96.896v94.656l124.416 149.632c8.192 9.92 12.288 21.12 12.288 33.536v103.744c0 9.344-2.944 17.024-8.768 22.912s-13.44 8.896-22.784 8.896h-112.96c-9.344 0-17.024-2.944-23.040-8.896s-9.024-13.568-9.024-22.912v-113.792h39.808v110.4h96.896v-106.944l-123.84-149.632c-8.576-10.304-12.864-21.696-12.864-34.112v-90.88c0-9.344 3.008-17.024 9.024-22.848 6.080-5.952 13.76-8.96 23.040-8.96h112.96c9.344 0 17.024 3.008 22.784 8.96 5.824 5.888 8.768 13.568 8.768 22.848v104.384z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-dns" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 304, - "id": 291, - "prevSize": 16, - "code": 59654, - "name": "it-other-dns" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 6 - }, - { - "icon": { - "paths": [ - "M888 0h-752c-75.648 0-136 60.352-136 136v752c0 75.648 60.352 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.648-60.352-136-136-136zM379.328 724.416c0 9.344-3.008 17.024-9.024 22.912-6.016 5.952-13.696 8.896-23.104 8.896h-122.048c-9.344 0-17.024-2.944-22.912-8.896-5.952-5.952-8.896-13.568-8.896-22.912v-416.768h39.872v413.376h106.368v-413.376h39.872v416.768zM600 756.224l-83.392-240.192 5.44-8.064h71.040v-165.12h-102.272v413.376h-39.808v-448.64h150.208c9.344 0 17.024 3.008 22.912 8.96 5.952 5.888 8.896 13.568 8.896 22.848v170.304c0 21.568-14.528 32.384-43.584 32.384-2.88 0-7.040-0.128-12.608-0.448-5.568-0.192-9.6-0.384-12.096-0.384 25.856 71.488 51.584 143.104 77.184 214.976h-41.92zM844.864 756.224h-143.296v-448.64h39.808v413.376h103.488v35.264z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-url" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 305, - "id": 290, - "prevSize": 16, - "code": 59655, - "name": "it-other-url" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 7 - }, - { - "icon": { - "paths": [ - "M4.032 488c0-7.232-2.816-30.4-4.032-43.968v129.984c1.856 20.864 4.032 44.224 4.032 54.016 0 17.472 5.248 33.728 14.016 49.984h237.952c-150.272-38.72-251.968-108.672-251.968-190.016z", - "M0 678.016h1.984c-0.896-9.472-1.28-17.984-1.984-25.984v25.984z", - "M513.984 444.032c282.752 0 512-99.328 512-222.016 0-1.344 0.128-2.624 0-4.032 0-0.704 0-1.344 0-1.984-7.488-119.808-233.984-216-512-216-282.752 0-512 99.328-512 222.016s229.248 222.016 512 222.016z", - "M516.032 494.016c-282.752 0-512-99.328-512-222.016 0-7.232-2.752-30.4-4.032-44.032v137.984c1.856 20.864 4.032 44.288 4.032 54.080 0 122.688 229.248 222.016 512 222.016s512-99.328 512-222.016v-148.032c-0 122.688-229.312 222.016-512 222.016z", - "M776 678.016h238.016c8.768-16.256 14.016-32.512 14.016-49.984v-140.032c0 81.344-101.76 151.296-252.032 190.016z", - "M140.736 932.096c-5.056 19.968-8.768 35.072-11.136 45.312-2.048-9.28-5.376-23.168-9.984-41.792l-49.472-200.128h-41.6v282.624h26.688v-240.64l60.48 240.64h24.96l60.736-236.544v236.544h26.688v-282.624h-37.376l-49.984 196.608z", - "M369.792 818.56c-8.96 18.56-16.576 35.2-22.848 49.92-6.592-15.936-13.632-31.872-21.248-47.808l-41.216-85.184h-33.6l80.512 162.88v119.744h27.648v-119.744l83.392-162.88h-32.128l-40.512 83.072z", - "M592.704 844.032c-9.472-6.784-24.128-13.632-43.904-20.032s-31.488-12.096-36.608-17.984c-4.032-4.608-5.824-9.472-5.824-16 0-7.104 1.536-13.76 5.824-17.984 6.656-6.656 16-9.984 27.84-9.984 11.392 0 19.072 3.776 24.896 9.984 5.632 6.208 9.92 15.872 11.712 30.016l40.96-2.048c-0.704-25.28-7.808-44.864-20.48-60.032-12.8-15.104-31.872-24-57.088-24-15.488 0-28.608 3.648-39.552 9.984-10.944 6.4-19.072 15.808-24.896 28.032-5.824 12.16-8.768 25.984-8.768 40 0 21.76 6.656 38.848 19.008 54.016 8.768 10.752 23.616 20.608 45.376 28.032 16.96 5.76 27.456 9.728 32.192 12.032 6.912 3.392 11.84 7.488 14.656 12.032 2.752 4.544 4.416 9.472 4.416 16 0 10.112-3.712 20.416-10.24 28.032-6.656 7.552-16.192 9.984-29.312 9.984-12.352 0-22.080-3.52-29.312-12.032-7.296-8.512-12.224-21.888-14.656-40l-39.424 5.952c2.688 30.72 11.264 53.952 24.896 70.016s33.152 24 58.56 24c17.472 0 32.128-3.328 43.904-9.984 11.712-6.656 19.968-18.24 26.304-32 6.464-13.76 10.24-28.224 10.24-44.032 0-17.344-3.456-32.192-8.768-44.032-5.376-11.84-12.544-21.184-21.952-27.968z", - "M917.632 724.032h-41.024v272h142.016v-46.016h-100.992z", - "M837.12 921.984c4.864-17.984 7.296-38.272 7.296-62.016 0-44.864-8.896-81.088-26.304-105.984-17.472-24.96-40.448-38.016-70.272-38.016-30.144 0-54.208 13.056-71.744 38.016s-26.304 61.12-26.304 105.984c0 44.992 8.768 79.104 26.304 104 17.472 24.896 40.832 38.016 71.744 38.016 16 0 30.72-4.096 43.904-12.032 16.768 15.36 26.56 23.104 27.84 24 5.888 4.352 11.456 7.488 17.536 9.984l14.656-40c-11.712-5.76-22.208-12.224-32.192-22.016 8.064-12.8 13.888-26.176 17.536-39.936zM799.040 900.032c-2.624 11.904-6.528 21.632-11.712 30.016-12.16-12.48-26.176-21.76-39.488-28.032l-10.24 32c8.512 4.096 16.64 10.624 24.896 17.984-5.248 2.624-10.24 4.032-16.128 4.032-15.68 0-29.248-8.064-39.488-24-10.304-15.936-16.128-39.872-16.128-72 0-31.616 5.824-56.256 16.128-72 10.24-15.744 22.912-24 39.488-24s30.72 8.32 41.024 24 14.656 40.256 14.656 72c-0.064 15.36-0.448 28.096-3.008 40z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-database-mysql" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 306, - "id": 289, - "prevSize": 16, - "code": 59656, - "name": "it-database-mysql" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 8 - }, - { - "icon": { - "paths": [ - "M154.24 298.752h98.048v199.808h-98.048v-199.808z", - "M888 0h-752c-75.648 0-136 60.416-136 136v752c0 75.648 60.352 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.584-60.352-136-136-136zM292.096 502.016c0 9.344-3.008 17.088-9.024 23.040-6.016 6.080-13.696 9.088-23.040 9.088h-105.792v177.984h-39.808v-448.64h145.6c9.344 0 17.088 3.008 23.104 8.96 6.016 5.888 9.024 13.568 9.024 22.848v206.72zM397.312 712.128h-39.872v-448.64h39.872v448.64zM657.088 712.128h-27.584l-119.808-329.92v329.92h-37.568v-448.64h29.824l117.568 324.288v-324.288h37.568v448.64zM910.144 399.68h-40.128v-100.928h-101.44v378.112h101.44v-155.072h-47.872v-34.432h88v192.96c0 9.344-2.944 17.024-8.896 22.912s-13.568 8.896-22.912 8.896h-117.824c-9.344 0-17.024-2.944-22.912-8.896s-8.896-13.568-8.896-22.912v-385.024c0-9.344 3.008-17.024 8.896-22.848 5.952-5.952 13.632-8.96 22.912-8.96h117.824c9.344 0 17.024 3.008 22.912 8.96 5.952 5.888 8.896 13.568 8.896 22.848v104.384z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-ping" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 307, - "id": 288, - "prevSize": 16, - "code": 59657, - "name": "it-other-ping" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 9 - }, - { - "icon": { - "paths": [ - "M888 0h-752c-75.584 0-136 60.352-136 136v752c0 75.648 60.416 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.648-60.352-136-136-136zM352 269.12h-119.168v193.92h109.696v40.832h-109.696v236.032h-45.376v-510.976h164.544v40.192zM590.656 269.12h-78.976v470.784h-45.376v-470.784h-79.68v-40.192h204.096v40.192zM846.4 500.608c0 10.624-3.456 19.392-10.304 26.24s-15.616 10.304-26.304 10.304h-120.448v202.752h-45.44v-510.976h165.888c10.688 0 19.456 3.392 26.304 10.112s10.304 15.488 10.304 26.112v235.456z", - "M689.344 269.12h111.616v227.584h-111.616v-227.584z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-ftp" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 308, - "id": 287, - "prevSize": 16, - "code": 59658, - "name": "it-other-ftp" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 10 - }, - { - "icon": { - "paths": [ - "M888 0h-752c-75.584 0-136 60.416-136 136v752c0 75.648 60.416 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.584-60.352-136-136-136zM243.456 695.040l-79.744-229.632 5.248-7.68h67.968v-157.76h-97.856v395.136h-38.080v-428.8h143.616c8.96 0 16.256 2.816 21.888 8.448 5.632 5.696 8.512 12.992 8.512 21.952v162.752c0 20.672-13.888 30.976-41.664 30.976-2.752 0-6.72-0.128-12.032-0.384s-9.152-0.384-11.52-0.384c24.64 68.288 49.216 136.832 73.728 205.504h-40.064zM481.28 695.040h-140.864v-428.8h139.2v33.664h-101.12v160h92.032v34.24h-91.968v167.168h102.72v33.728zM707.904 396.416h-38.080v-96.448h-92.608v90.432l118.912 143.040c7.808 9.472 11.776 20.16 11.776 32v99.2c0 9.024-2.752 16.32-8.32 21.952-5.632 5.696-12.864 8.512-21.824 8.512h-107.968c-8.96 0-16.32-2.816-22.080-8.512-5.76-5.632-8.64-12.928-8.64-21.952v-108.736h38.080v105.472h92.608v-102.272l-118.4-142.976c-8.192-9.856-12.352-20.736-12.352-32.64v-86.848c0-8.96 2.88-16.256 8.64-21.952 5.824-5.632 13.248-8.448 22.144-8.448h107.968c8.96 0 16.192 2.816 21.824 8.448 5.568 5.696 8.32 12.992 8.32 21.952v99.776zM923.008 299.968h-66.304v395.136h-38.080v-395.136h-66.88v-33.728h171.264v33.728z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-rest" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 309, - "id": 286, - "prevSize": 16, - "code": 59659, - "name": "it-other-rest" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 11 - }, - { - "icon": { - "paths": [ - "M594.752 566.016h75.392l-37.568-232.384z", - "M343.488 299.968h104.96v361.408h-104.96v-361.408z", - "M817.472 299.968h93.76v190.976h-93.76v-190.976z", - "M888 0h-752c-75.584 0-136 60.416-136 136v752c0 75.648 60.416 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.584-60.352-136-136-136zM238.016 396.416h-38.080v-96.448h-92.672v90.432l118.912 143.040c7.872 9.472 11.776 20.16 11.776 32v99.2c0 9.024-2.752 16.32-8.384 21.952-5.568 5.696-12.8 8.512-21.76 8.512h-107.904c-8.96 0-16.256-2.816-22.016-8.512-5.76-5.632-8.64-12.928-8.64-21.952v-108.736h38.080v105.472h92.608v-102.272l-118.4-142.976c-8.192-9.856-12.352-20.736-12.352-32.64v-86.848c0-8.96 2.88-16.256 8.64-21.952 5.76-5.632 13.12-8.448 22.080-8.448h107.968c8.96 0 16.192 2.816 21.76 8.448 5.568 5.696 8.384 12.992 8.384 21.952v99.776zM486.528 664.64c0 9.024-2.88 16.32-8.64 21.952-5.76 5.696-13.12 8.512-22.080 8.512h-120c-8.96 0-16.256-2.816-21.888-8.512-5.632-5.632-8.512-12.928-8.512-21.952v-368c0-8.96 2.816-16.256 8.512-21.952 5.632-5.632 12.928-8.448 21.888-8.448h120c8.96 0 16.32 2.816 22.080 8.448 5.76 5.696 8.64 12.992 8.64 21.952v368zM690.112 695.040l-15.040-95.36h-85.248l-15.104 95.36h-36.672v-1.152l76.48-428.8h37.568l75.904 429.952h-37.888zM949.312 494.208c0 8.96-2.88 16.32-8.64 22.080s-13.12 8.64-22.080 8.64h-101.12v170.176h-38.080v-428.8h139.2c8.96 0 16.32 2.816 22.080 8.448 5.76 5.696 8.64 12.992 8.64 21.952v197.504z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-soap" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 310, - "id": 285, - "prevSize": 16, - "code": 59660, - "name": "it-other-soap" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 12 - }, - { - "icon": { - "paths": [ - "M766.336 563.584c-6.912-61.952 29.12-128.832 94.144-209.92-23.168-15.424-37.44-36.096-78.592-46.912-170.496-21.632-250.176 23.744-250.176 23.744s-112.192-49.792-191.68-42.624c-130.432 11.648-176.448 134.72-179.712 201.152-2.368 47.936-6.528 116.544 1.408 168 29.888 192.832 130.688 269.952 213.632 297.536 64.768 21.568 88.256-30.784 135.744-30.784 15.232 0 63.872-1.728 73.856 3.712 146.176 79.68 238.656 7.040 303.040-193.024-45.056-16.704-111.36-90.24-121.664-170.88z", - "M696.768 64c-60.8 0-170.88 102.848-162.176 188.288 0.448 4.096 11.968 8.064 16 7.232 56.448-11.648 121.536-70.912 141.888-127.424 5.952-16.768 22.144-68.096 4.288-68.096z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-server-macos" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 311, - "id": 284, - "prevSize": 16, - "code": 59661, - "name": "it-server-macos" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 13 - }, - { - "icon": { - "paths": [ - "M619.904 452.8c9.984-7.552 16.896-18.24 20.544-31.936l-23.488-2.88c-3.456 9.6-8.128 16.576-14.016 20.928s-12.992 6.592-21.376 6.592c-11.2 0-20.48-3.904-28.032-11.776-7.488-7.808-11.648-19.072-12.48-33.792h100.032c0.064-2.688 0.128-4.672 0.128-6.016 0-22.144-5.696-39.296-17.088-51.52-11.392-12.16-25.984-18.304-43.968-18.304-18.496 0-33.536 6.272-45.184 18.688-11.584 12.416-17.408 29.888-17.408 52.48 0 21.824 5.76 38.72 17.28 50.816s27.072 18.112 46.656 18.112c15.552-0 28.288-3.776 38.4-11.392zM554.112 353.216c7.168-6.976 15.872-10.496 26.304-10.496 11.584 0 20.928 4.352 28.16 13.12 4.672 5.632 7.552 14.144 8.576 25.408h-74.88c0.768-11.712 4.736-21.056 11.84-28.032z", - "M513.472 673.92c-7.424-3.328-21.056-7.232-40.96-11.776s-32.192-8.96-36.928-13.248c-4.864-4.224-7.232-9.728-7.232-16.32 0-7.68 3.392-14.208 10.176-19.648s17.536-8.192 32.384-8.192c14.208 0 24.96 3.008 32.256 9.024 7.296 5.952 11.584 14.784 12.8 26.496l23.488-1.728c-0.448-10.88-3.456-20.544-9.088-29.184-5.632-8.576-13.696-15.104-24.192-19.52-10.432-4.48-22.528-6.656-36.288-6.656-12.48 0-23.808 2.112-33.984 6.336s-17.92 10.368-23.232 18.496c-5.248 8.128-7.936 16.896-7.936 26.176 0 8.512 2.176 16.192 6.528 23.040s10.944 12.544 19.776 17.28c6.848 3.584 18.752 7.424 35.776 11.52s27.968 7.104 32.96 9.088c7.744 2.944 13.312 6.592 16.704 10.944 3.328 4.288 5.056 9.344 5.056 15.168 0 5.76-1.728 11.008-5.248 15.872-3.456 4.8-8.832 8.64-16 11.392-7.168 2.816-15.424 4.16-24.704 4.16-10.56 0-20.032-1.792-28.416-5.504-8.384-3.648-14.656-8.448-18.624-14.4-4.032-5.952-6.592-13.568-7.68-22.784l-23.104 2.048c0.32 12.288 3.712 23.424 10.176 33.28s15.296 17.152 26.624 22.016c11.328 4.864 25.344 7.36 42.112 7.36 13.248 0 25.088-2.432 35.648-7.296 10.56-4.8 18.688-11.648 24.32-20.288s8.512-17.984 8.512-27.84c0-9.92-2.624-18.752-7.744-26.368-5.248-7.616-13.184-13.952-23.936-18.944z", - "M404.032 447.296c3.904 4.864 8.832 8.896 14.784 12.096 6.016 3.2 12.8 4.8 20.416 4.8 10.368 0 20.224-2.944 29.568-8.768 9.408-5.824 16.576-14.272 21.44-25.28 5.056-10.944 7.488-23.36 7.488-37.056 0-12.8-2.24-24.576-6.72-35.264-4.416-10.752-11.008-19.072-19.776-24.96s-18.88-8.832-30.336-8.832c-8.768 0-16.192 1.728-22.336 5.12s-11.648 8.512-16.512 15.36v-17.472h-20.736v185.472h22.72v-65.216zM413.12 355.392c7.424-9.024 16-13.568 25.664-13.568 9.728 0 18.176 4.224 25.216 12.736s10.56 21.312 10.56 38.4c0 17.92-3.584 31.168-10.752 39.744-7.232 8.512-15.872 12.8-25.984 12.8-9.92 0-18.368-4.096-25.344-12.352-7.104-8.256-10.56-21.056-10.56-38.272s3.712-30.4 11.2-39.488z", - "M337.408 672.96c8.704-4.224 15.168-9.92 19.456-16.896s6.464-14.464 6.464-22.4c0-8.512-2.432-16.64-7.296-24.448-4.8-7.744-11.52-13.504-20.032-17.28s-19.904-5.632-34.048-5.632h-69.44v185.152h70.592c11.776 0 21.696-1.024 29.824-3.072s14.848-5.12 20.288-9.216c5.376-4.032 9.92-9.792 13.568-17.28s5.504-15.488 5.504-24.192c0-10.752-3.008-20.032-9.024-28.032-6.016-7.872-14.592-13.44-25.856-16.704zM257.024 608.192h36.992c13.312 0 22.656 0.896 28.16 2.56 5.504 1.728 9.664 4.928 12.608 9.6 2.944 4.736 4.416 10.112 4.416 16.256 0 6.464-1.536 11.84-4.736 16.128s-7.872 7.36-14.080 9.28c-4.736 1.344-12.48 2.112-23.36 2.112h-40v-55.936zM343.232 733.376c-2.432 4.48-5.504 7.936-9.344 10.304-3.776 2.304-8.512 4.032-14.144 4.992-3.2 0.64-8.768 0.96-16.64 0.96h-46.080v-63.68h42.752c11.84 0 20.8 1.088 27.072 3.136s11.2 5.632 14.72 10.752c3.52 5.056 5.312 11.072 5.312 17.92 0.064 5.952-1.216 11.136-3.648 15.616z", - "M309.12 452.864c13.888-7.616 24.576-18.816 32.192-33.6 7.552-14.848 11.328-31.616 11.328-50.368 0-18.56-3.584-35.072-10.752-49.664-7.168-14.656-17.664-25.984-31.36-34.176s-29.184-12.288-46.272-12.288c-26.112 0-47.36 8.704-63.872 26.048s-24.704 41.472-24.704 72.192c0 16.256 3.52 31.68 10.624 46.208 7.104 14.592 17.472 26.048 31.168 34.496s29.312 12.608 46.72 12.608c16.064 0 31.040-3.84 44.928-11.456zM218.88 424.064c-11.968-12.8-17.984-30.4-17.984-52.672 0-27.84 6.272-47.744 18.752-59.648s27.392-17.856 44.736-17.856c12.224 0 23.232 3.072 33.024 9.28s17.28 14.848 22.336 26.112 7.616 24.384 7.616 39.488c0 23.808-5.952 42.176-17.856 55.168s-27.008 19.392-45.504 19.392c-18.048 0-33.088-6.4-45.12-19.264z", - "M702.4 602.24c-7.488-6.4-16.576-10.816-27.2-13.248-7.552-1.728-18.56-2.688-32.96-2.688h-63.744v185.152h66.816c11.2 0 21.056-1.088 29.696-3.2 8.64-2.048 16-5.184 22.144-9.28 6.080-4.032 11.712-9.664 16.896-16.832 5.12-7.040 9.344-16.064 12.608-26.944s4.864-23.296 4.864-37.376c0-16.512-2.368-31.168-7.232-44.032-4.864-12.736-12.16-23.296-21.888-31.552zM701.44 713.216c-3.264 9.792-7.808 17.6-13.632 23.36-4.096 4.096-9.6 7.36-16.576 9.6s-16.576 3.456-28.736 3.456h-39.488v-141.44h38.848c14.592 0 25.152 1.28 31.68 3.84 9.152 3.52 16.832 10.496 23.168 20.864s9.472 25.28 9.472 44.608c0.064 14.016-1.536 25.856-4.736 35.712z", - "M0 0v1024h1024v-533.12c-85.888 14.656-144.192 122.368-127.936 210.816-55.872-12.48-65.856-52.608-94.016-59.136 5.76 22.656 11.392 45.12 17.216 67.648-34.112-3.264-27.008-9.152-51.2 8.512 11.392 25.28 22.656 50.496 33.984 75.776-2.816 0-5.632 0-8.512 0-23.808-22.016-29.056-31.488-68.096-42.112-2.816 5.632-5.824 11.136-8.64 16.896 5.824 17.024 11.456 33.728 17.216 50.752-37.12-25.152-27.52-31.744-68.416-17.024-2.816 22.528-5.696 44.992-8.512 67.648-21.184-24.128-14.464-29.248-51.2-42.368-2.816 17.024-5.76 33.856-8.512 50.624-8.576-11.264-17.152-22.528-25.536-33.6-8.576 5.76-17.152 11.136-25.6 16.896-2.88 22.4-5.696 44.992-8.64 67.52-11.392-22.528-22.72-45.12-33.984-67.52-5.696 2.752-11.52 5.504-17.152 8.512-8.576 32.64-3.328 25.28-25.6 42.112-2.88-14.144-5.696-28.224-8.576-42.112-5.632 2.624-11.328 5.504-17.024 8.256-10.88 37.504-16.96 43.264-34.112 50.752-5.76-19.84-11.456-39.616-17.152-59.072-17.6 17.152-19.264 28.352-42.624 42.112 0-17.024 0-33.856 0-50.624-22.72 14.016-45.568 28.032-68.288 42.24 6.4-46.848 11.968-56.64-17.088-84.352-17.088 11.136-34.112 22.528-51.264 33.6 5.824-22.528 11.456-44.864 17.152-67.392-25.536 5.632-51.2 11.264-76.8 16.768 11.392-16.768 22.72-33.728 34.176-50.624-18.496-23.36-16.256-18.752-34.176-42.112-11.392 5.632-22.656 11.264-34.112 16.896 23.424-48.64 10.816-38.4-25.536-84.48-40.704 12.544-61.504 8.832-85.44-16.832 82.432-69.184 97.92-184 153.6-261.504-8.512-11.264-17.024-22.464-25.6-33.664 11.392 0 22.72 0 34.112 0-14.144-25.408-28.416-50.688-42.624-76.032 28.416 8.448 56.96 17.024 85.248 25.408-11.968-28.096 20.352-29.504 17.152-75.968 14.208 5.568 28.416 11.2 42.688 16.832-5.696-25.344-11.392-50.624-17.088-75.84 30.592 19.776 28.928 36.352 68.224 50.496 0-11.2 0-22.464 0-33.664 11.392 8.384 22.848 16.768 34.176 25.216 1.728-36.352 2.24-40.64 17.152-59.008 5.568 14.144 11.264 28.16 16.96 42.176 25.28-34.048 19.904 0.512 34.176-25.216 5.696-16.96 11.392-33.792 17.088-50.688 11.392 22.464 22.656 45.056 34.112 67.456 5.76-11.2 11.392-22.592 17.088-33.792 0 14.144 0 28.224 0 42.176 5.632-2.752 11.456-5.632 17.152-8.384 8.512-32.768 3.264-25.344 25.6-42.176 0 16.832 0 33.792 0 50.624 23.936-14.848 14.464-12.352 34.048-16.832 0 8.384 0 16.832 0 25.28 22.656-22.4 45.504-45.056 68.224-67.456-5.568 30.976-11.328 61.824-17.024 92.8 8.512-5.76 17.088-11.392 25.6-17.024 14.080-30.4 2.304-19.776 33.984-33.664-5.632 25.28-11.328 50.688-17.024 75.968 11.392-8.448 22.72-16.896 34.24-25.28-2.88 14.016-5.824 28.032-8.704 42.112 22.848-11.2 45.632-22.464 68.288-33.664-11.392 22.464-22.656 44.928-34.112 67.52 2.816 2.816 5.824 5.568 8.64 8.384 25.472-11.2 51.136-22.656 76.608-33.792 0 2.816 0 5.632 0 8.448-29.376 43.712-33.28 39.808-16.96 76.032 22.656-8.448 45.504-17.024 68.288-25.344 0 2.752 0 5.632 0 8.32-17.152 14.208-34.176 28.16-51.392 42.24 26.368 32.256 12.736-0.576 8.576 50.624 20.032-2.752 40-5.632 59.904-8.384-17.088 19.648-34.176 39.296-51.264 59.072 14.272-2.816 28.608-5.568 42.752-8.448-11.648 16-21.44 19.968-34.176 33.728 5.696 8.32 11.392 16.832 17.024 25.216 45.568-26.688 58.688-51.904 128-58.944 17.216 11.2 34.176 22.528 51.2 33.728v-490.944h-1023.936z", - "M769.6 339.84c-3.392-4.736-8.512-8.512-15.232-11.392s-14.208-4.352-22.272-4.352c-18.624 0-32.896 7.36-42.688 22.080v-19.136h-20.48v134.080h22.72v-73.152c0-17.216 3.52-28.864 10.56-35.008 6.976-6.144 15.36-9.216 25.088-9.216 6.080 0 11.328 1.344 15.808 4.096 4.48 2.688 7.68 6.4 9.408 10.944 1.728 4.608 2.624 11.52 2.624 20.8v81.536h22.72v-82.432c0-10.56-0.448-17.92-1.28-22.080-1.28-6.464-3.648-12.096-6.976-16.768z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-server-openbsd" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 312, - "id": 283, - "prevSize": 16, - "code": 59662, - "name": "it-server-openbsd" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 14 - }, - { - "icon": { - "paths": [ - "M797.952 299.072c5.824 5.824 11.648 11.584 17.408 17.408-12.032-16.64-0.896-5.12-17.408-17.408zM0 0v1024h1024v-1024h-1024zM214.656 273.024h17.344v8.704c-5.76 5.824-11.584 11.584-17.344 17.408h-8.768c2.88-8.768 5.824-17.472 8.768-26.112zM197.184 334.016c2.88 8.64 5.824 17.344 8.704 26.048h-8.704v-26.048zM571.648 647.36c-45.888-16.896-81.216-29.568-104.576-69.632 11.584 5.76 23.232 11.648 34.816 17.344-11.584-11.584-23.232-23.104-34.816-34.752-11.648 12.416-10.816 15.296-26.112 26.112-2.88-14.464-5.824-28.928-8.704-43.456 11.648-3.392 11.968-104.576 26.112-165.504 42.688-32.768 54.72-56.64 130.688-60.992 27.904 14.208 36.416 16.064 52.16 43.584-77.888-30.784-114.752 3.328-165.376 43.52-4.416 44.224-9.408 68.608 8.64 104.448 16.704 43.328 35.52 61.184 78.4 78.4 75.776 21.568 126.912-20.096 174.208-52.288 80.576-361.28-300.864-476.672-452.8-208.96-130.688 230.336 75.456 527.296 252.48 574.72v8.704h-52.288c-398.4-154.56-361.024-598.784-34.816-801.088 494.912-22.080 487.040 512.768 121.984 539.84zM615.104 534.144v8.832h-8.704c-8.704-2.944-17.408-5.888-26.176-8.832v-17.344c11.648 5.76 23.232 11.52 34.88 17.344zM667.264 447.168v-26.176c17.92 15.744 6.272 0.128 17.472 26.176h-17.472z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-server-debian" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 313, - "id": 282, - "prevSize": 16, - "code": 59663, - "name": "it-server-debian" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 15 - }, - { - "icon": { - "paths": [ - "M896 1024c70.848 0 128-57.152 128-128v-252.032l-379.968 380.032h251.968z", - "M896 0h-768c-70.912 0-128 57.088-128 128v768c0 70.848 57.088 128 128 128h417.984l478.016-480v-416c0-70.912-57.152-128-128-128zM340.032 570.624c0 2.304-1.728 3.52-5.248 3.52-6.976 0-30.272-1.728-80.896-1.728-55.296 0-80.32 1.728-86.72 1.728-2.88 0-4.672-1.216-4.672-3.52v-15.68c0-2.368 1.728-3.52 4.672-3.52h32.576c11.648 0 23.872-1.728 26.176-16.896 1.152-8.704 2.88-134.464 2.88-165.248v-40.768c0-13.952-1.728-118.72-2.304-127.488-1.152-13.952-6.976-19.776-29.12-19.776h-33.728c-2.88 0-4.608-1.152-4.608-3.52v-15.68c0-2.304 1.728-3.456 4.032-3.456 6.976 0 36.672 1.728 90.752 1.728 51.84 0 70.464-1.728 78.592-1.728 2.88 0 4.032 1.728 4.032 4.032v14.592c0 2.88-1.728 4.032-4.672 4.032h-27.264c-11.648 0-20.352 4.672-20.352 16.32 0 5.824-1.728 134.464-1.728 141.376v44.864c0 5.824 1.728 140.224 1.728 146.688 0 18.048 8.704 20.992 27.328 20.992h23.872c2.88 0 4.672 1.152 4.672 4.032v15.104zM561.728 570.624c0 2.304-1.728 3.52-5.248 3.52-6.976 0-30.272-1.728-80.896-1.728-55.296 0-80.32 1.728-86.72 1.728-2.88 0-4.672-1.216-4.672-3.52v-15.68c0-2.368 1.728-3.52 4.672-3.52h32.576c11.648 0 23.872-1.728 26.176-16.896 1.216-8.704 2.944-134.464 2.944-165.248v-40.768c0-13.952-1.728-118.72-2.304-127.488-1.152-13.952-6.976-19.776-29.12-19.776h-33.792c-2.88 0-4.608-1.152-4.608-3.52v-15.68c0-2.304 1.728-3.456 4.032-3.456 6.976 0 36.672 1.728 90.752 1.728 51.84 0 70.4-1.728 78.592-1.728 2.88 0 4.032 1.728 4.032 4.032v14.592c0 2.88-1.728 4.032-4.608 4.032h-27.264c-11.648 0-20.352 4.672-20.352 16.32 0 5.824-1.728 134.464-1.728 141.376v44.864c0 5.824 1.728 140.224 1.728 146.688 0 18.048 8.704 20.992 27.328 20.992h23.872c2.944 0 4.672 1.152 4.672 4.032v15.104zM755.008 581.12c-40.768 0-69.248-12.224-92.48-30.336-6.976-5.184-10.496-6.976-13.44-6.976-3.456 0-5.824 4.096-9.344 9.92-3.52 6.4-6.4 6.976-10.432 6.976-3.52 0-6.464-2.944-5.248-9.344 2.304-14.464 8.128-88.448 9.856-105.28 0.64-3.456 1.728-3.456 4.032-3.456l8.768 0.576c2.304 0 3.52 1.152 3.52 4.672 0.576 18.624 1.728 37.824 20.928 67.52 17.472 27.328 49.472 43.008 81.472 43.008 34.944 0 79.168-21.504 79.168-73.856 0-59.968-43.136-82.048-89.664-98.368-17.984-6.4-59.968-20.928-84.928-47.168-19.264-19.2-29.12-46.592-29.12-84.992 0-29.12 18.048-57.6 36.096-74.496 20.928-19.776 49.984-27.968 81.408-27.968 33.216 0 58.816 9.92 68.672 14.592 5.248 2.88 8.128 2.304 11.072-0.576l7.552-6.976c2.944-2.368 4.672-3.52 7.552-3.52 2.944 0 4.672 4.672 4.672 9.856 0 20.352 7.552 79.744 8.128 92.544 0 2.88-0.576 4.032-2.88 4.672l-6.848 1.792c-1.728 0.576-2.944 0-3.52-1.728-4.672-16.896-12.224-39.616-36.096-64.576-15.68-16.896-36.032-25.024-63.424-25.024-51.776 0-70.4 38.4-70.4 68.096 0 16.256 3.456 35.52 17.984 50.624 16.896 16.896 49.472 29.696 66.368 34.944 40.192 12.8 72.768 22.656 93.696 48.32 15.104 18.048 25.6 40.704 25.6 79.104-0 68.608-41.856 127.424-118.72 127.424z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-app-iis" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 314, - "id": 281, - "prevSize": 16, - "code": 59664, - "name": "it-app-iis" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 16 - }, - { - "icon": { - "paths": [ - "M896 1024c70.848 0 128-57.152 128-128v-252.032l-379.968 380.032h251.968z", - "M728.832 195.008h-418.624l201.792 140.992z", - "M832 170.688l-315.968 221.312-316.032-220.416v348.416h632z", - "M896 0h-768c-70.912 0-128 57.088-128 128v768c0 70.848 57.088 128 128 128h417.984l478.016-480v-416c0-70.912-57.152-128-128-128zM896 584h-760v-480h760v480z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-app-mailserver" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 315, - "id": 280, - "prevSize": 16, - "code": 59665, - "name": "it-app-mailserver" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 17 - }, - { - "icon": { - "paths": [ - "M896 1024c70.848 0 128-57.152 128-128v-252.032l-379.968 380.032h251.968z", - "M599.744 280.64c-9.664 0-17.664 4.352-24.064 13.184-6.464 8.768-9.6 22.016-9.6 39.872 0 18.432 2.496 32 7.424 40.832 6.976 12.416 16.256 18.688 27.84 18.688 8.896 0 16.448-4.416 22.656-13.312 6.272-8.896 9.344-22.848 9.344-41.92 0-20.288-3.136-34.944-9.408-43.904s-14.4-13.44-24.192-13.44z", - "M425.088 280.64c-8.832 0-16.064 3.776-21.76 11.2-5.76 7.488-8.576 17.6-8.448 30.464h60.16c-0.32-13.632-3.328-23.936-9.024-31.040-5.76-7.104-12.736-10.624-20.928-10.624z", - "M896 0h-768c-70.912 0-128 57.088-128 128v768c0 70.848 57.088 128 128 128h417.984l478.016-480v-416c0-70.912-57.152-128-128-128zM297.536 426.304h-44.928l-41.856-183.296-41.664 183.296h-46.016l-50.112-245.184h43.392l31.68 168.384 38.4-168.384h50.432l36.8 171.264 32.192-171.264h42.688l-51.008 245.184zM403.904 383.616c6.208 7.744 13.952 11.648 23.232 11.648 6.272 0 11.584-2.048 15.936-6.016 4.224-4.096 7.488-10.56 9.664-19.456l40.128 7.872c-5.184 17.152-13.312 30.208-24.448 39.232-11.136 8.96-25.024 13.44-41.728 13.44-26.496 0-46.016-10.048-58.752-30.272-10.048-16.192-15.040-36.608-15.040-61.248 0-29.44 6.592-52.48 19.776-69.184s29.824-25.024 49.984-25.024c22.656 0 40.448 8.704 53.568 26.176s19.328 44.16 18.752 80.192h-100.864c0.32 14.016 3.52 24.896 9.792 32.64zM656.128 405.76c-12.352 16.384-27.456 24.576-45.056 24.576-8.704 0-17.28-2.56-25.728-7.616s-15.808-12.544-21.824-22.528v26.112h-37.44v-245.184h40.32v88.32c12.352-16.512 27.136-24.768 44.096-24.768 18.496 0 33.792 7.808 45.952 23.488 12.096 15.68 18.176 38.144 18.176 67.456 0 30.4-6.208 53.76-18.496 70.144zM856.704 393.92c-6.4 11.584-15.552 20.544-27.584 26.944s-25.472 9.6-40.448 9.6c-19.072 0-34.944-3.264-47.808-9.728-12.8-6.464-22.912-16.192-30.272-29.184-7.232-12.992-11.136-27.648-11.52-44.032l26.176-2.688c1.28 12.224 4.096 22.336 8.704 30.208 4.544 7.872 11.584 14.208 21.12 19.072s20.288 7.296 32.256 7.296c10.56 0 19.968-1.856 28.032-5.504s14.208-8.704 18.112-15.104c4.032-6.464 5.952-13.376 5.952-20.992 0-7.68-1.856-14.4-5.696-20.16-3.904-5.76-10.112-10.56-18.944-14.464-5.632-2.56-18.112-6.592-37.376-11.968-19.328-5.376-32.832-10.496-40.576-15.296-9.984-6.144-17.472-13.76-22.464-22.848-4.864-9.088-7.36-19.264-7.36-30.528 0-12.352 3.008-23.936 9.088-34.688 6.016-10.752 14.784-18.944 26.304-24.512 11.584-5.568 24.448-8.384 38.592-8.384 15.552 0 29.312 2.944 41.216 8.768s21.056 14.464 27.456 25.856 9.792 24.256 10.304 38.656l-26.624 2.368c-1.408-15.488-6.336-27.2-14.592-35.136s-20.416-11.904-36.608-11.904c-16.832 0-29.056 3.584-36.736 10.816-7.68 7.168-11.52 15.872-11.52 25.984 0 8.832 2.688 16.064 8.192 21.76 5.312 5.696 19.328 11.52 41.856 17.472s38.080 11.2 46.528 15.616c12.16 6.592 21.248 14.912 27.072 25.024s8.768 21.696 8.768 34.88c0 12.992-3.2 25.28-9.6 36.8zM937.6 426.304h-29.376v-34.304h29.376v34.304zM1019.2 426.304h-29.376v-34.304h29.376v34.304z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-app-websphere" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 316, - "id": 279, - "prevSize": 16, - "code": 59666, - "name": "it-app-websphere" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 18 - }, - { - "icon": { - "paths": [ - "M896 1024c70.848 0 128-57.152 128-128v-252.032l-379.968 380.032h251.968z", - "M450.688 255.616c-14.656 0-27.648 6.848-38.848 20.544s-16.896 33.536-16.896 59.648c0 26.112 5.312 45.376 15.872 57.856s23.36 18.688 38.4 18.688c15.296 0 28.352-6.464 39.232-19.392 10.944-12.928 16.384-32.96 16.384-60.032 0-25.856-5.312-45.184-16-58.048s-23.36-19.264-38.144-19.264z", - "M203.2 185.472c-3.584 17.92-8.576 35.776-15.040 53.44l-30.72 82.112h94.912l-29.312-77.44c-8.896-23.552-15.488-42.944-19.84-58.112z", - "M624.64 354.112c-5.888 2.56-10.368 6.272-13.568 11.2s-4.736 10.368-4.736 16.32c0 9.216 3.456 16.832 10.368 22.912s17.152 9.152 30.528 9.152c13.248 0 25.024-2.88 35.328-8.704s17.856-13.696 22.72-23.808c3.712-7.744 5.504-19.2 5.504-34.368v-12.544c-12.416 5.12-31.168 9.408-56.128 12.992-14.144 2.048-24.128 4.352-30.016 6.848z", - "M896 0h-768c-70.912 0-128 57.088-128 128v768c0 70.848 57.088 128 128 128h417.984l478.016-480v-416c0-70.912-57.152-128-128-128zM296.384 436.032l-32.64-84.8h-117.056l-30.72 84.8h-39.36l107.52-280h39.872l114.56 280h-42.176zM528.704 389.184c-7.424 16.576-18.24 29.376-32.448 38.208-14.272 8.832-29.12 13.312-44.8 13.312-11.456 0-21.76-2.432-30.784-7.296-9.152-4.864-16.64-10.944-22.464-18.368v98.688h-34.368v-280.448h31.296v26.368c7.424-10.368 15.68-18.112 25.024-23.232s20.544-7.744 33.792-7.744c17.344 0 32.576 4.48 45.824 13.376s23.232 21.44 30.016 37.696c6.72 16.192 10.112 34.048 10.112 53.376 0 20.736-3.776 39.424-11.2 56.064zM720.512 436.032c-3.584-7.104-5.888-15.488-6.848-25.024-12.736 10.816-25.024 18.496-36.736 22.912-11.84 4.416-24.448 6.656-37.952 6.656-22.272 0-39.36-5.44-51.392-16.32-11.968-10.816-17.984-24.704-17.984-41.664 0-9.92 2.24-19.008 6.784-27.2 4.48-8.192 10.432-14.784 17.728-19.776 7.36-4.928 15.616-8.768 24.768-11.264 6.72-1.792 16.96-3.52 30.592-5.184 27.776-3.328 48.192-7.232 61.312-11.84 0.128-4.736 0.192-7.68 0.192-8.96 0-14.016-3.264-23.872-9.728-29.632-8.768-7.744-21.824-11.648-39.104-11.648-16.192 0-28.096 2.816-35.84 8.512-7.68 5.632-13.376 15.68-17.088 30.080l-33.664-4.544c3.072-14.4 8.064-26.048 15.040-34.88s17.152-15.68 30.4-20.416c13.248-4.736 28.544-7.168 46.080-7.168 17.344 0 31.36 2.048 42.176 6.144 10.816 4.032 18.752 9.216 23.872 15.36 5.056 6.144 8.64 13.952 10.688 23.36 1.152 5.888 1.664 16.448 1.664 31.744v45.824c0 32 0.768 52.16 2.24 60.672 1.408 8.448 4.288 16.576 8.704 24.32h-35.904zM847.744 436.032h-39.168v-39.104h39.168v39.104zM956.352 436.032h-39.168v-39.104h39.168v39.104z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-app-apache" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 317, - "id": 278, - "prevSize": 16, - "code": 59667, - "name": "it-app-apache" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 19 - }, - { - "icon": { - "paths": [ - "M900.032-3.968h-768c-70.912 0-128 57.088-128 128v768c0 70.848 57.088 128 128 128h417.984l478.016-480v-416c-0-70.912-57.152-128-128-128zM361.152 403.136c0 40.256-4.864 71.424-14.592 93.504s-25.152 38.976-46.272 50.56c-21.12 11.52-45.888 17.344-74.304 17.344-42.24 0-74.56-12.096-96.96-36.352-22.464-24.32-33.216-60.416-32.32-108.288l57.408-7.872c1.536 36.736 8.448 61.888 20.672 75.456s29.248 20.352 50.88 20.352c16 0 29.76-3.712 41.344-11.008s19.584-17.28 23.936-29.824c4.352-12.608 6.528-32.704 6.528-60.288v-331.328h63.68v327.744zM811.52 479.744c-9.472 19.392-21.248 34.304-35.264 44.8s-31.552 18.432-52.672 23.744c-21.12 5.376-46.912 8.064-77.568 8.064h-183.424v-480.96h180.416c36.736 0 66.24 4.864 88.448 14.592s39.616 24.704 52.16 44.928c12.544 20.224 18.88 41.408 18.88 63.488 0 20.544-5.568 39.936-16.768 58.048-11.136 18.176-28.032 32.832-50.496 43.968 29.056 8.512 51.456 23.104 67.072 43.648s23.424 44.864 23.424 72.832c0 22.592-4.736 43.52-14.208 62.848z", - "M707.84 342.272c-16.32-5.312-39.744-8-70.4-8h-111.232v165.376h119.808c20.544 0 35.008-0.768 43.328-2.304 14.656-2.624 26.88-6.976 36.736-13.12 9.792-6.144 17.856-15.040 24.256-26.752s9.472-25.216 9.472-40.512c0-17.92-4.544-33.536-13.76-46.784-9.152-13.248-21.952-22.528-38.208-27.904z", - "M690.944 271.936c16.192-4.8 28.352-12.8 36.544-24s12.288-25.152 12.288-41.984c0-15.936-3.84-30.016-11.52-42.176-7.616-12.096-18.56-20.416-32.832-24.96-14.208-4.48-38.592-6.72-73.152-6.72h-96.064v145.344h104c28.224 0 48.448-1.792 60.736-5.504z", - "M900.032 1020.032c70.848 0 128-57.152 128-128v-252.032l-379.968 380.032h251.968z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-app-jboss" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 318, - "id": 277, - "prevSize": 16, - "code": 59668, - "name": "it-app-jboss" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 20 - }, - { - "icon": { - "paths": [ - "M399.965 340.713h-172.125l-227.84 387.398 88.343 2.56 51.293-100.119h223.139l41.053 99.98h182.132l-185.996-389.818zM173.009 561.385l82.060-138.612 73.123 138.519-155.183 0.093z", - "M590.988 426.636l100.119-44.87h29.51v343.692h-85.876v-243.665h-42.356z", - "M970.799 381.766h-150.388c-28.207 0-51.153 22.854-51.153 51.107v241.478c0 28.253 22.9 51.153 51.153 51.153h150.388c28.207 0 51.153-22.854 51.153-51.153v-241.524c0-28.207-22.854-51.060-51.153-51.060zM941.196 635.718c0 24.716-20.154 44.87-44.87 44.87-24.762 0-44.916-20.154-44.916-44.87v-161.652c0-24.809 20.154-44.87 44.916-44.87 24.716 0 44.87 20.061 44.87 44.87v161.652z" - ], - "attrs": [ - { - "fill": "rgb(24, 49, 109)" - }, - { - "fill": "rgb(24, 49, 109)" - }, - { - "fill": "rgb(24, 49, 109)" - } - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-a10bala" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [ - 0, - 0, - 0 - ] - } - }, - "attrs": [ - { - "fill": "rgb(24, 49, 109)" - }, - { - "fill": "rgb(24, 49, 109)" - }, - { - "fill": "rgb(24, 49, 109)" - } - ], - "properties": { - "order": 319, - "id": 276, - "prevSize": 16, - "code": 59669, - "name": "it-other-a10bala" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 21 - }, - { - "icon": { - "paths": [ - "M176.567 573.586c11.703-14.263 27.721-67.584 27.721-67.584v-92.745l-103.424-9.874-100.864 10.898v92.745c0 0 15.945 53.321 27.794 67.803 39.058 48.421 53.979 63.415 73.070 83.017h1.463v-1.097h1.317c18.798-19.529 33.792-34.45 72.923-83.163zM103.131 617.179h-1.024v0.878h-1.024c-14.775-15.36-26.478-16.311-57.198-54.199-9.143-11.557-21.723-53.248-21.723-53.248v-72.485l78.921-8.631 80.896 7.826v72.485c0 0-12.434 41.618-21.577 52.882-30.72 38.181-42.423 39.205-57.271 54.491z", - "M166.4 454.144l-65.097-6.217-63.415 6.875v58.368c0 0 10.021 33.499 17.481 42.642 24.576 30.574 34.085 31.451 45.934 43.593h0.878v-0.731h0.878c11.776-12.069 21.285-12.946 45.934-43.52 7.461-8.997 17.408-42.642 17.408-42.642v-58.368z", - "M901.12 498.395c67.584 0 122.441-22.455 122.441-50.395 0-0.293 0-0.512 0-0.805 0-0.146 0-0.585 0-0.805-1.682-27.209-56.027-48.933-122.441-48.933-67.438 0.146-122.295 22.747-122.295 50.542 0 27.867 54.857 50.395 122.295 50.395z", - "M901.632 509.806c-67.511 0-122.368-22.601-122.368-50.395 0-1.682-0.731-6.949-0.878-10.167v31.525c0.439 4.754 0.878 9.874 0.878 12.142 0 27.794 54.857 50.469 122.368 50.469 67.584 0 122.368-22.674 122.368-50.469v-33.573c0 27.867-54.784 50.469-122.368 50.469z", - "M901.632 558.738c-67.511 0-122.368-22.747-122.368-50.395 0-1.609-0.731-6.583-0.878-9.655v29.403c0.439 4.827 0.878 9.874 0.878 12.069 0 28.087 54.857 50.542 122.368 50.542 67.584-0.146 122.368-22.528 122.368-50.688v-31.817c0 27.794-54.784 50.542-122.368 50.542z", - "M901.632 605.842c-67.511 0-122.368-22.455-122.368-50.395 0-1.536-0.731-6.583-0.878-9.728v31.013c0.146 1.024 0.439 2.267 0.439 2.999 0 28.014 54.857 50.395 122.295 50.395 67.584 0 122.441-22.601 122.441-50.395 0-0.731 0.219-1.975 0.439-2.999v-21.285c0 27.867-54.784 50.395-122.368 50.395z", - "M623.835 37.522c0-20.699-17.701-37.376-39.57-37.376h-94.427c-21.87-0.073-39.643 16.677-39.643 37.376v54.711h173.568l0.073-54.711z", - "M450.267 247.369c0 20.626 17.701 37.376 39.57 37.376h94.501c21.943 0 39.57-16.75 39.57-37.376v-136.411h-173.641v136.411zM537.015 194.341c8.85 0 16.018 6.729 16.018 15.067s-7.168 14.994-16.018 14.994c-8.704 0-15.872-6.802-15.872-15.067s7.022-14.994 15.872-14.994z", - "M669.769 858.258c0 10.018-56.62 18.139-126.464 18.139s-126.464-8.121-126.464-18.139c0-10.018 56.62-18.139 126.464-18.139s126.464 8.121 126.464 18.139z", - "M418.67 874.496v121.051c0 0 27.721 28.306 128.512 28.453 106.423 0 122.661-28.453 122.661-28.453v-121.051c0 0-68.608 11.849-124.343 11.849-66.487 0.073-126.83-11.849-126.83-11.849zM501.979 965.559v0h-16.018v16.238l-25.673-24.43 25.673-23.771v16.165h16.018v15.799zM540.745 1009.737l-25.746-24.283h16.969v-15.141h16.896v15.141h16.969l-25.088 24.283zM578.926 949.687h16.018v-16.165l25.673 23.845-25.673 24.283v-16.165h-16.018v-15.799zM548.864 930.158v15.067h-16.969v-15.067h-16.969l25.673-24.357 25.234 24.357h-16.969z", - "M382.025 154.697l-23.406-53.687c-18.139 7.973-35.621 16.896-52.224 26.99l30.208 50.103c14.482-8.777 29.623-16.603 45.422-23.406z", - "M281.819 217.673l-38.181-44.325c-19.529 16.823-37.742 35.401-54.199 55.296l45.056 37.303c14.409-17.408 30.354-33.646 47.323-48.274z", - "M196.096 321.829l-50.761-29.111c-9.655 16.969-18.286 34.597-25.746 52.663l54.053 22.309c6.51-15.653 13.97-31.086 22.455-45.861z", - "M909.897 367.689l54.126-22.309c-7.607-18.359-16.091-35.986-25.746-52.736l-50.688 29.038c8.411 14.702 15.799 30.062 22.309 46.007z", - "M893.294 227.328c-16.823-20.334-35.547-39.351-55.808-56.466l-37.888 44.544c17.481 14.994 33.865 31.525 48.494 49.225l45.202-37.303z", - "M697.125 152.357c15.799 6.656 31.013 14.263 45.641 22.894l29.55-50.469c-16.75-9.801-34.304-18.578-52.37-26.258l-22.821 53.833z", - "M697.051 885.102l22.967 53.833c18.139-7.753 35.547-16.53 52.297-26.112l-29.257-50.688c-14.702 8.411-29.989 16.165-46.007 22.967z", - "M798.354 823.15l37.595 44.837c19.749-16.603 38.181-34.962 54.93-54.711l-44.544-37.888c-14.702 17.335-30.866 33.426-47.982 47.762z", - "M885.321 720.018l50.542 29.403c9.801-16.75 18.505-34.231 26.185-52.224l-53.833-22.967c-6.656 15.726-14.19 31.013-22.894 45.787z", - "M175.543 674.231l-53.76 22.967c7.753 18.139 16.53 35.547 26.112 52.224l50.615-29.257c-8.485-14.629-16.165-30.062-22.967-45.934z", - "M191.561 811.593c16.018 19.383 33.938 37.595 53.321 54.053l38.034-44.398c-16.823-14.409-32.402-30.208-46.299-46.958l-45.056 37.303z", - "M306.542 910.19c16.75 10.094 34.231 19.090 52.005 26.843l23.406-53.541c-15.506-6.802-30.72-14.629-45.422-23.406l-29.989 50.103z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "NFV" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 320, - "id": 275, - "prevSize": 16, - "code": 59670, - "name": "NFV" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 22 - }, - { - "icon": { - "paths": [ - "M785.481 880.786h-555.081l92.306-294.766h203.703v-73.143h-257.39l-78.921 252.050-102.619-420.937v-63.561h225.134l81.993 85.797h247.589v-73.143h-216.283l-81.993-85.797h-329.582v141.093l146.578 605.55h655.872l100.718-105.399-52.882-50.615z", - "M1020.050 696.393c-13.239-39.936-56.466-61.952-96.768-48.64-28.965 9.655-47.909 34.816-51.639 63.195l-264.558-0.293c-0.731-4.169-1.609-8.265-2.853-12.288-4.096-12.142-10.971-22.235-19.383-30.501l160.841-265.874c16.018 5.998 33.938 7.168 51.273 1.39 40.155-13.312 61.879-56.686 48.494-96.914-13.312-40.155-56.539-61.952-96.768-48.64-40.082 13.312-61.806 56.686-48.567 96.841 3.73 11.118 9.801 20.846 17.554 28.745l-161.573 266.606c-15.287-5.266-32.037-5.998-48.64-0.585-40.155 13.312-61.952 56.613-48.64 96.768 13.312 40.302 56.613 62.025 96.841 48.64 24.576-8.119 42.13-27.502 49.152-50.469l269.824 0.219c13.312 40.155 56.686 61.879 96.695 48.567 40.302-13.385 62.025-56.686 48.713-96.768z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "VNFM" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 321, - "id": 274, - "prevSize": 16, - "code": 59671, - "name": "VNFM" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 23 - }, - { - "icon": { - "paths": [ - "M706.267 645.632c-29.989 0-55.589 17.627-67.73 42.935l-246.93-81.993c0.805-4.023 1.317-8.119 1.317-12.507 0-12.361-3.365-24.064-8.631-34.523l232.448-198.29c13.166 10.533 29.403 17.042 47.25 17.042 41.545 0 75.41-33.719 75.41-75.337 0-41.545-33.865-75.264-75.41-75.264-41.618 0-75.337 33.719-75.337 75.337 0 11.63 2.779 22.455 7.534 32.256l-233.253 198.949c-12.654-9.728-28.233-15.579-45.275-15.579-41.691 0-75.41 33.646-75.41 75.264 0 41.691 33.719 75.264 75.41 75.264 25.454 0 47.835-12.434 61.513-31.89l251.831 83.749c0 41.618 33.719 75.264 75.264 75.264 41.691 0 75.557-33.646 75.557-75.264-0.073-41.618-33.792-75.41-75.557-75.41z", - "M512 0c-282.258 0-512 229.742-512 512 0 282.331 229.742 512 512 512 282.331 0 512-229.669 512-512 0-282.258-229.669-512-512-512zM512 950.857c-242.030 0-438.857-196.827-438.857-438.857s196.827-438.857 438.857-438.857 438.857 196.827 438.857 438.857-196.827 438.857-438.857 438.857z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "VNF" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 322, - "id": 273, - "prevSize": 16, - "code": 59672, - "name": "VNF" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 24 - }, - { - "icon": { - "paths": [ - "M536.869 599.698c-24.21 0-44.763 14.19-54.638 34.597l-198.729-66.048c0.585-3.218 1.024-6.583 1.024-10.094 0-9.947-2.706-19.383-6.949-27.721l187.246-159.671c10.533 8.485 23.625 13.751 38.034 13.751 33.499 0 60.709-27.209 60.709-60.709s-27.209-60.709-60.709-60.709-60.709 27.282-60.709 60.782c0 9.362 2.194 18.066 5.998 25.966l-187.831 160.183c-10.167-7.826-22.674-12.581-36.425-12.581-33.499 0-60.709 27.136-60.709 60.635s27.209 60.635 60.709 60.635c20.48 0 38.546-10.021 49.518-25.673l202.752 67.365c0 33.573 27.209 60.635 60.709 60.635s60.782-27.063 60.782-60.635c-0.073-33.499-27.209-60.709-60.782-60.709z", - "M1024 360.594l-192.073-99.547-192.146 99.547 192.146 99.621 192.073-99.621zM831.927 299.666l117.321 60.928-117.321 60.928-117.467-60.928 117.467-60.928z", - "M831.927 551.278l-105.253-54.638h-74.679l179.931 93.33 179.931-93.33h-74.679z", - "M831.927 681.106l-105.253-54.784h-74.679l179.931 93.403 179.931-93.403h-74.679z", - "M821.394 822.857c-79.36 79.067-188.782 128-309.394 128-242.030 0-438.857-196.827-438.857-438.857s196.827-438.857 438.857-438.857c97.792 0 187.904 32.549 260.974 86.894h109.861c-93.33-98.304-224.914-160.037-370.834-160.037-282.331 0-512 229.669-512 512 0 282.258 229.669 512 512 512 165.376 0 312.247-79.141 405.87-201.143h-96.475z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "VNFC" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 323, - "id": 272, - "prevSize": 16, - "code": 59673, - "name": "VNFC" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 25 - }, - { - "icon": { - "paths": [ - "M992.11 634.734l-49.591-20.773c1.097-10.167 3.072-19.968 3.072-30.354 0-10.459-1.829-20.041-3.072-30.135l49.737-20.919c26.917-11.337 39.058-44.178 27.063-73.509l-14.994-36.571c-11.922-29.403-43.447-43.959-70.363-32.549l-49.591 20.773c-9.582-12.361-20.261-23.845-32.11-34.377l22.894-49.079c12.361-26.697-0.366-59.246-28.745-72.85l-35.401-16.75c-28.16-13.531-61.147-2.926-73.435 23.771l-4.169 8.85h-122.88l-4.169-8.923c-12.434-26.697-45.349-37.303-73.509-23.771l-35.401 16.823c-8.046 3.877-14.409 9.435-19.749 15.799h-69.266l-81.993-85.797h-329.655v141.166l146.578 605.623h394.24c14.043 5.339 28.599 5.12 41.253 0h186.149c14.117 5.705 30.647 6.071 46.007-1.317l35.328-17.115c25.088-11.776 36.864-38.546 30.939-63.049l22.821-23.845-42.423-40.594c9.509-9.070 18.578-18.432 26.77-28.745l49.371 20.919c26.917 11.191 58.514-3.218 70.437-32.622l14.994-36.498c12.142-29.55-0.219-62.098-27.136-73.582zM400.384 563.127c-0.951 6.729-2.048 13.458-2.048 20.48 0 10.459 1.975 20.187 3.072 30.501l-49.664 20.773c-26.917 11.337-39.131 43.886-27.136 73.435l15.141 36.498c11.849 29.403 43.447 43.886 70.29 32.622l49.371-20.626c9.728 12.288 20.48 23.698 32.037 34.231l-22.821 49.079c-2.706 5.778-3.657 11.849-4.096 17.92h-251.611l92.306-294.912h95.159zM841.070 583.753c0 94.574-75.776 171.593-169.033 171.593-93.477 0-169.179-77.019-169.179-171.593 0-7.095 1.243-13.824 2.048-20.699h4.096v-22.674c19.017-73.801 84.48-128.366 163.109-128.366 93.184 0 168.96 76.727 168.96 171.739zM715.118 857.966h-10.094c3.218-0.512 6.583-0.512 9.728-1.024l0.366 1.024zM638.683 857.966h-10.094l0.512-1.024c3.145 0.585 6.437 0.585 9.582 1.024zM69.925 257.536h225.207l81.993 85.797h99.035l15.287 32.914c-11.703 10.533-22.382 22.016-32.11 34.377l-49.445-20.699c-26.843-11.337-58.368 3.145-70.217 32.549l-15.067 36.571c-4.242 10.313-4.535 20.846-3.145 30.939h-69.998l-78.921 252.197-102.619-421.010v-63.634z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "VIM" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 324, - "id": 271, - "prevSize": 16, - "code": 59674, - "name": "VIM" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 26 - }, - { - "icon": { - "paths": [ - "M153.161 185.125h315.465v73.143h-315.465v-73.143z", - "M153.161 331.41h315.465v73.143h-315.465v-73.143z", - "M360.009 572.562c0 27.146-22.006 49.152-49.152 49.152s-49.152-22.006-49.152-49.152c0-27.146 22.006-49.152 49.152-49.152s49.152 22.006 49.152 49.152z", - "M429.714 779.849h-237.714c-15.799 0-28.599 16.384-28.599 36.571s12.8 36.571 28.599 36.571h237.714c15.799 0 28.599-16.384 28.599-36.571s-12.8-36.571-28.599-36.571z", - "M951.589 841.143h-38.034c-40.009 0-72.411 32.402-72.411 72.485v12.288h-103.424v-377.929h104.96c5.705 34.304 34.158 60.928 70.071 60.928h38.034c40.009 0 72.411-32.402 72.411-72.411v-38.034c0-40.009-32.402-72.485-72.411-72.485h-38.034c-40.009 0-72.411 32.402-72.411 72.485v12.873h-102.546v-386.999h105.179c6.363 33.499 34.45 59.392 69.778 59.392h38.034c40.009 0 72.411-32.402 72.411-72.485v-37.961c0-40.009-32.402-72.485-72.411-72.485h-38.034c-40.009 0-72.411 32.402-72.411 72.485v14.482h-119.369v0.219h-19.822v423.424h-79.433v-406.894c0-57.637-45.568-104.521-101.669-104.521h-418.45c-56.027 0-101.595 46.885-101.595 104.521v815.031c0 57.563 45.568 104.448 101.595 104.448h418.45c56.101 0 101.669-46.885 101.669-104.521v-371.566h79.433v414.354h19.822v0.219h122.368c5.413 34.597 34.085 61.513 70.217 61.513h38.034c40.009 0 72.411-32.402 72.411-72.411v-37.961c0-40.082-32.402-72.485-72.411-72.485zM548.571 919.479c0 17.335-12.8 31.378-28.526 31.378h-418.45c-15.726 0-28.453-14.043-28.453-31.378v-814.958c0-17.335 12.727-31.378 28.453-31.378h418.45c15.726 0 28.526 14.043 28.526 31.378v814.958z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "VDU" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 325, - "id": 270, - "prevSize": 16, - "code": 59675, - "name": "VDU" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 27 - }, - { - "icon": { - "paths": [ - "M336.238 185.125h315.465v73.143h-315.465v-73.143z", - "M703.122 0h-418.45c-56.027 0-101.595 46.885-101.595 104.521v815.031c0 57.563 45.568 104.448 101.595 104.448h418.523c56.101 0 101.669-46.885 101.669-104.521v-814.958c-0.073-57.637-45.641-104.521-101.742-104.521zM731.648 919.479c0 17.262-12.8 31.378-28.526 31.378h-418.45c-15.653 0-28.453-14.043-28.453-31.378v-814.958c0-17.335 12.727-31.378 28.453-31.378h418.523c15.726 0 28.526 14.043 28.526 31.378v814.958z", - "M336.238 331.41h315.465v73.143h-315.465v-73.143z", - "M543.086 572.562c0 27.146-22.006 49.152-49.152 49.152s-49.152-22.006-49.152-49.152c0-27.146 22.006-49.152 49.152-49.152s49.152 22.006 49.152 49.152z", - "M612.791 779.849h-237.714c-15.799 0-28.599 16.384-28.599 36.571s12.8 36.571 28.599 36.571h237.714c15.799 0 28.599-16.384 28.599-36.571s-12.8-36.571-28.599-36.571z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "host" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 326, - "id": 269, - "prevSize": 16, - "code": 59676, - "name": "host" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 28 - }, - { - "icon": { - "paths": [ - "M512 0c-282.331 0-512 229.669-512 512 0 239.031 164.864 439.808 386.779 495.835 0.366 0.585 1.097 1.536 1.317 1.755l1.463-1.097c39.278 9.801 80.165 15.506 122.441 15.506 282.258 0 512-229.742 512-512 0-282.331-229.742-512-512-512zM469.358 888.832c-11.995-14.775-29.477-24.869-49.957-24.869-15.799 0-29.769 6.363-41.106 15.726-3.145-6.29-6.363-12.434-9.582-19.237 43.081-19.383 92.891-47.982 145.701-90.478 8.631 4.242 18.066 7.168 28.379 7.168 24.576 0 45.129-14.117 56.247-34.158 135.753-12.507 248.174-65.024 320.366-108.617 4.315 1.17 8.485 2.341 13.093 2.633-5.047 16.969-11.045 33.499-18.066 49.591-56.174 36.279-192.366 123.026-242.249 143.579-53.029 21.87-143.726 44.837-202.825 58.661zM82.798 420.937l4.974 5.705c0.878-0.805 64.219-52.955 183.735-90.77-17.554 46.226-30.574 95.232-35.474 145.92-3.291 34.597-3.584 68.315-1.682 101.083-1.463 0.805-2.779 1.829-4.169 2.779-70.949-47.909-123.904-101.083-152.503-133.047 1.463-10.679 2.926-21.358 5.12-31.671zM512 73.143c77.019 0 149.358 20.041 212.261 55.003-1.536 26.551-4.901 67.218-11.41 115.054-6.29 3.365-12.142 7.314-16.969 12.434-62.757-11.63-133.12-18.871-207.506-16.018-36.059 1.463-69.851 4.681-101.449 9.289-1.243-2.341-2.926-4.389-4.389-6.51 45.787-76.507 97.719-136.777 128-169.179 0.512 0 0.951-0.073 1.463-0.073zM934.107 393.435c10.533 37.303 16.53 76.434 16.677 116.955-4.901-1.17-9.582-2.926-14.775-2.926-35.986 0-65.17 29.111-65.17 65.17 0 7.022 1.902 13.531 4.023 19.822-64.585 37.23-158.427 78.921-268.873 91.355 2.56-2.926 5.193-5.413 7.826-8.338 72.119-80.603 113.737-201.509 137.801-312.174 16.969-2.267 31.525-10.679 41.691-23.406 81.774 24.503 135.241 50.761 140.8 53.541zM292.791 577.682c-1.682-29.403-1.463-59.538 1.463-90.331 4.754-49.591 18.651-97.719 37.157-143.141 24.795-0.512 45.714-14.994 56.247-35.694 32.037-4.974 65.975-8.923 102.985-10.386 67.365-2.56 131.877 4.096 190.098 14.775 2.414 11.703 7.095 22.382 14.921 30.866-22.016 104.96-59.977 219.502-125.44 292.718-4.242 4.681-8.411 8.777-12.654 13.385-4.827-1.243-9.509-2.999-14.702-2.999-25.893 0-47.762 15.36-58.295 37.23-54.857-5.851-106.203-20.992-152.942-41.765 0.146-1.536 0.951-2.926 0.951-4.608-0-26.99-16.384-50.176-39.79-60.050zM457.435 739.767c-40.667 30.208-78.775 51.566-112.128 66.633-13.019-32.841-25.088-69.413-34.523-108.91 45.056 19.602 94.062 34.67 146.651 42.277zM904.119 316.123c-25.893-10.533-59.611-22.747-99.401-34.45-5.12-17.262-16.603-31.305-32.329-39.278 3.803-28.891 6.363-54.93 8.119-76.873 51.712 40.229 94.062 91.648 123.611 150.601zM424.594 81.92c-29.038 34.889-62.683 79.872-93.915 132.389-0.146 0-0.293-0.146-0.439-0.146-34.962 0-62.83 27.575-64.512 62.098-69.632 20.773-122.88 45.861-158.72 66.926 55.369-132.389 173.787-232.082 317.586-261.266zM74.24 534.162c32.475 31.89 75.703 69.339 128.146 104.082 0.219 29.842 20.919 53.906 48.494 61.221 10.386 46.811 24.283 89.893 39.497 128.146-37.595 11.849-61.879 14.263-66.414 14.629-86.967-75.922-143.506-185.417-149.723-308.078zM288.987 889.271c7.68-2.048 15.945-4.535 24.722-7.387 4.608 9.728 9.216 18.944 13.751 27.721-13.239-6.144-26.039-12.873-38.473-20.334zM512 950.857c-10.679 0-21.065-0.878-31.525-1.536 0.366-1.024 0.366-2.048 0.658-3.072 60.709-14.19 155.648-38.107 213.504-62.098 31.086-12.873 89.6-47.177 144.896-81.115-80.384 90.478-197.266 147.822-327.534 147.822z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "NS" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 327, - "id": 268, - "prevSize": 16, - "code": 59677, - "name": "NS" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 29 - }, - { - "icon": { - "paths": [ - "M86 0v80h268v324h140v92h-208v-346h-286v874h286v-388h208v34h286v-520h-286v172h-80v-322zM580 0v80h264v590h60v-670zM690 738.578c-34.861 0.001-62.608 12.688-84 38s-32 60.25-32 106c-0 43.25 10.721 77.061 32 102s48.95 38 82 38c26.711 0 48.626-7.439 66-22s28.53-36 36-66l-48-18c-4.188 20.125-12.379 34.624-22 44-9.621 9.356-20.644 14-34 14-18.11 0-32.682-7.25-44-22s-16-39.25-16-74c-0-32.75 4.512-55.375 16-70s27.551-21.999 46-22c13.356 0.001 24.662 3.75 34 12s15.057 19.75 18 34l50-14c-5.66-21.999-14.682-38.249-26-50-19.015-19.875-43.553-29.999-74-30zM920 738.578c-19.128 0.001-34.474 3.624-48 10s-24.813 15.812-32 28c-7.187 12.188-10 24-10 38 0 21.75 6.72 40.875 22 56 10.866 10.75 31.062 20.625 58 28 20.939 5.751 34.114 9.747 40 12 8.602 3.375 14.548 7.44 18 12 3.452 4.563 6 9.503 6 16-0 10.125-5.795 18.434-14 26-8.206 7.573-19.815 12-36 12-15.28 0-27.002-5.499-36-14-8.998-8.497-15.057-21.875-18-40l-50 6c3.283 30.75 15.135 53.939 32 70 16.865 16.068 40.535 24 72 24 21.618 0 39.512-3.341 54-10 14.487-6.685 26.077-16.253 34-30s12-28.25 12-44c-0-17.375-3.379-32.188-10-44s-16.286-21.187-28-28c-11.715-6.813-29.552-13.624-54-20-24.448-6.374-39.662-12.122-46-18-4.98-4.625-8-11.496-8-18-0-7.125 2.68-11.749 8-16 8.262-6.622 19.399-10 34-10 14.148 0 24.926 3.812 32 10s11.85 15.875 14 30l50-2c-0.792-25.25-8.211-46.874-24-62-15.789-15.124-40.761-21.999-72-22zM324 742.578l90 276h54l88-276h-52l-62 204-62-204z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-cluster-vcs" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 328, - "id": 267, - "prevSize": 16, - "code": 59678, - "name": "it-cluster-vcs" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 30 - }, - { - "icon": { - "paths": [ - "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106h-832zM76 74h872v420h-872v-420zM128 148v132h338v-132h-338zM546 148v132h338v-132h-338zM126 326v130h338v-130h-338zM546 326v130h338v-130h-338zM68 616v322h244v-54h-180v-88h162v-54h-162v-72h174v-54h-238zM334 616l116 322h68l116-322h-70l-78 238-82-238h-70zM758 616l-124 322h68l28-74h128l28 74h70l-128-322h-70zM792 692l44 118h-86l42-118z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-diskraid-hpeva" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 329, - "id": 266, - "prevSize": 16, - "code": 59679, - "name": "it-diskraid-hpeva" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 31 - }, - { - "icon": { - "paths": [ - "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM142 625.254v56h142l-160 220v62h246v-58h-172l166-228v-52zM388 625.254v56h90v282h62v-282h90v-56zM670 625.254v338h230v-58h-170v-92h152v-56h-152v-76h164v-56z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-diskraid-zte" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 330, - "id": 265, - "prevSize": 16, - "code": 59680, - "name": "it-diskraid-zte" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 32 - }, - { - "icon": { - "paths": [ - "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v112h352v-112h102v112h160v56h-18v176h18v490h-160v62h-102v-62h-352v62h-104v-62h-178v-490h320v-176h-320v-56h178v-112zM488 232v176h352v-176h-352zM768 480c-39.586 0-71.709 16.469-96 46s-36 70.625-36 124c-0 50.458 11.837 88.906 36 118s56.47 44 94 44c30.332 0 54.271-7.010 74-24s33.517-43 42-78l-54-20c-4.756 23.479-13.076 39.063-24 50s-24.834 18-40 18c-20.564 0-37.148-8.792-50-26s-18-47.458-18-88c-0-38.208 4.955-64.937 18-82s31.050-26 52-26c15.166 0 27.396 4.375 38 14s18.658 23.375 22 40l56-16c-6.427-25.666-17.148-44.291-30-58-21.593-23.187-49.427-36-84-36zM142 486v322h56v-142h112v142h58v-322h-58v126h-112v-126h-56zM504 486c-15.552 0-29.469 3.365-42 10s-22.995 14.407-30 26c-7.005 11.594-12.53 26.604-16 46l50 10c1.414-14 5.445-24.708 12-32s14.746-10 24-10c9.382 0 16.345 3.584 22 10s10 15.209 10 26c-0 12.688-4.289 22.344-12 30s-19.348 10.438-34 10l-6 50c9.639-3.062 19.060-4 26-4 10.539 0 18.674 4.959 26 14s10 20.542 10 36c-0 16.333-2.353 30.375-10 40s-16.818 14-28 14c-10.411 0-20.674-3.979-28-12s-10.329-20.833-12-36l-54 8c2.699 26.979 13.163 49.302 30 66s38.423 24 64 24c26.99 0 49.878-10.167 68-30s26-43.854 26-72c-0-19.396-4.297-34.292-14-48s-21.806-24.062-38-28c27.119-16.771 40-37.854 40-66-0-19.833-6.762-38.25-20-54-16.066-19.25-37.395-28-64-28z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-firewall-h3c" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 331, - "id": 264, - "prevSize": 16, - "code": 59681, - "name": "it-firewall-h3c" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 33 - }, - { - "icon": { - "paths": [ - "M136 0c-75.55 0-136 60.45-136 136v410h1024v-410c0-75.55-60.45-136-136-136h-752zM92 88h72v408h-72v-408zM232 88h142c28.247 0.001 50.12 1.312 64 4s27.042 7.469 38 16c10.958 8.532 18.694 19.812 26 34 7.305 14.189 12 30.381 12 48-0 19.103-4.99 36.050-14 52s-20.578 28.025-36 36c21.753 7.233 38.311 20.566 50 38s16 36.445 16 60c-0 18.547-2.451 36.473-10 54s-18.932 31.521-32 42c-13.069 10.479-28.844 17.589-48 20-12.013 1.484-40.058 3.624-86 4h-122v-408zM592 88h108l64 278 64-278h108v408h-68v-322l-70 322h-70l-70-322v322h-66v-408zM304 156v94h48c28.085 0.001 45.181-1.090 52-2 12.338-1.669 20.938-5.934 28-14 7.062-8.068 12-18.832 12-32-0-12.612-3.912-24.117-10-32s-13.987-12.331-26-14c-7.143-0.93-28.071 0-62 0h-42zM304 318v108h66c25.974 0 43.019-0.331 50-2 10.714-2.223 19.263-7.375 26-16s10-21.534 10-36c-0-12.241-2.805-21.468-8-30s-12.179-14.105-22-18c-9.822-3.892-31.207-6-64-6h-58zM396 594v274h94c35.375-0.256 56.75-0.976 66-2 14.75-1.626 27.937-4.941 38-12 10.062-7.066 18.187-16.186 24-28s8-25.501 8-38c-0-15.878-3-28.25-12-40s-23.25-21.136-40-26c11.875-5.37 21.062-13.248 28-24 6.937-10.746 12-23.123 12-36-0-11.872-4.375-22.438-10-32s-11.563-16.24-20-22c-8.438-5.779-19.313-10.208-30-12s-26.25-2-48-2h-110zM452 640h32c26.125 0 42.5-0.64 48 0 9.25 1.126 15.312 4.688 20 10s8 11.494 8 20c-0 8.87-2.563 16.56-8 22-5.438 5.427-14.5 8.848-24 10-5.25 0.96-18.375 0-40 0h-36v-62zM452 748h44c25.25 0 42.437 1.376 50 4s14 8.24 18 14c4 5.754 6 11.75 6 20-0 9.754-2.813 18.176-8 24-5.188 5.786-11.75 8.464-20 10-5.375 1.024-18 2-38 2h-52v-74zM0 886v2c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-2h-1024z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-ibm-blade" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 332, - "id": 263, - "prevSize": 16, - "code": 59682, - "name": "it-other-ibm-blade" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 34 - }, - { - "icon": { - "paths": [ - "M887.994 0h-751.988c-75.59 0-136.006 60.416-136.006 136.006v751.988c0 75.543 60.416 136.006 136.006 136.006h751.988c75.543 0 136.006-60.463 136.006-136.006v-751.988c0-75.59-60.463-136.006-136.006-136.006zM405.923 688.454c-12.567 19.363-30.627 34.49-54.179 45.242-23.505 10.799-49.99 16.198-79.453 16.198-37.329 0-68.608-5.399-93.836-16.337-25.228-10.845-45.009-27.183-59.299-49.059-14.383-21.876-21.923-46.545-22.668-74.147l51.433-4.515c2.467 20.62 8.099 37.609 16.989 50.781 8.89 13.219 22.761 23.924 41.519 32.023 18.758 8.192 39.843 12.288 63.302 12.288 20.806 0 39.191-3.072 55.11-9.309 15.919-6.144 27.788-14.615 35.607-25.46 7.773-10.705 11.636-22.528 11.636-35.328 0-12.847-3.77-24.204-11.264-33.885-7.494-9.635-19.875-17.734-37.097-24.297-11.078-4.329-35.561-10.985-73.402-20.154-37.888-9.030-64.419-17.687-79.593-25.693-19.689-10.38-34.397-23.133-44.032-38.447-9.635-15.267-14.476-32.349-14.476-51.293 0-20.806 5.911-40.262 17.687-58.368 11.823-18.060 29.091-31.837 51.759-41.193 22.807-9.309 48.035-14.010 75.776-14.010 30.58 0 57.53 4.934 80.849 14.755 23.366 9.868 41.286 24.343 53.853 43.473s19.316 40.774 20.247 64.977l-52.317 3.956c-2.839-26.065-12.335-45.754-28.579-59.066-16.198-13.359-40.122-20.015-71.82-20.015-33.001 0-57.065 6.051-72.145 18.153s-22.621 26.671-22.621 43.753c0 14.801 5.353 26.996 16.012 36.538 10.519 9.588 37.888 19.409 82.292 29.417 44.311 10.054 74.752 18.851 91.229 26.298 24.017 10.985 41.705 25.088 53.155 41.984 11.45 16.989 17.129 36.538 17.129 58.647 0.047 22.016-6.237 42.636-18.804 62.092zM852.294 379.159h-223.651v127.674h193.489v48.64h-193.489v187.345h-54.505v-412.3h278.156v48.64z" - ], - "attrs": [ - { - "fill": "rgb(96, 140, 193)" - } - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-secfox" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [ - 3 - ] - } - }, - "attrs": [ - { - "fill": "rgb(96, 140, 193)" - } - ], - "properties": { - "order": 333, - "id": 262, - "prevSize": 16, - "code": 59683, - "name": "it-other-secfox" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 35 - }, - { - "icon": { - "paths": [ - "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM322 274c50.426 0 88.513 12.744 114 38 25.487 25.257 38.721 59.837 40 102l-80 4c-3.472-23.586-10.581-41.667-22-52-11.419-10.332-29.162-13.999-52-14-23.569 0.001-42.663 4.94-56 16-8.587 7.097-12 16.103-12 28-0 10.854 3.961 20.277 12 28 10.231 9.811 34.536 19.355 74 30 39.464 10.646 69.090 22.624 88 34s33.312 26.275 44 46c10.688 19.725 16 44.986 16 74-0 26.3-7.211 51.039-20 74s-30.614 38.833-54 50c-23.386 11.167-51.104 18-86 18-50.792 0-90.777-13.178-118-40s-42.702-66.652-48-118l78-8c4.75 30.266 15.475 51.806 30 66s33.335 22.001 58 22c26.126 0.001 46.754-7.372 60-20s20-27.092 20-44c-0-10.853-4.428-20.382-10-28s-14.115-14.364-28-20c-9.501-3.756-32.2-10.398-66-20-43.484-12.315-72.461-28.049-90-46-24.665-25.257-38-55.681-38-92-0-23.378 6.398-45.648 18-66s28.167-35.354 50-46c21.833-10.645 47.123-16 78-16zM556 282h298v78h-216v102h202v78h-202v124h224v78h-306v-460z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-segw" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 334, - "id": 261, - "prevSize": 16, - "code": 59684, - "name": "it-other-segw" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 36 - }, - { - "icon": { - "paths": [ - "M136 0c-75.55 0-136 60.45-136 136v410h1024v-410c0-75.55-60.45-136-136-136h-752zM122 146h234v50l-176 218h182v54h-260v-60l168-208h-148v-54zM380 146h256v54h-96v268h-64v-268h-96v-54zM678 146h238v54h-174v72h162v54h-162v88h180v54h-244v-322zM496 576c-38.5 0-70.375 12.688-94 38s-36 60.25-36 106c-0 43.25 12.5 77.063 36 102s53.5 38 90 38c29.5-0 54.812-7.438 74-22s31.75-38 40-68l-54-16c-4.625 20.125-11.375 34.625-22 44s-23.25 14-38 14c-20 0-37.5-7.25-50-22s-18-39.25-18-74c-0-32.75 7.312-57.375 20-72s27.625-22 48-22c14.75 0 27.687 5.75 38 14s16.75 17.75 20 32l56-12c-6.25-22-15.5-38.25-28-50-21-19.875-48.375-30-82-30zM122 580v46h82v228h56v-228h80v-46h-218zM734 580l-108 274h58l24-62h110l24 62h60l-110-274h-58zM762 644l38 102h-76l38-102zM0 886v2c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-2h-1024z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-zteatca" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 335, - "id": 260, - "prevSize": 16, - "code": 59685, - "name": "it-other-zteatca" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 37 - }, - { - "icon": { - "paths": [ - "M176 0c-97.115 0-176 78.886-176 176v672c0 97.114 78.885 176 176 176h672c97.115 0 176-78.886 176-176v-672c0-97.114-78.885-176-176-176h-672zM142 40c46.967 0 84 38.355 84 86.003 0 20.058-6.681 37.344-18 52l104 204c2.902 0 5.019-1.984 8-1.984 15.987 0 31.225 4.224 44 12l134-128c-3.301-9.203-4-19.642-4-29.997 0-47.648 37.033-86.003 84-86.003s86 38.355 86 86.003c0 0.64 0.014 1.344 0 1.984l164 76c14.938-13.197 34.634-21.997 56-21.997 46.967 0 86 40.352 86 88 0 47.642-39.033 85.997-86 85.997s-84-38.355-84-85.997c0-2.624-0.224-5.44 0-8l-160-76.006c-15.514 16.762-37.542 25.997-62 25.997-14.090 0-26.299-3.84-38-9.997l-138 132c2.086 7.475 4 15.84 4 24 0 47.642-39.033 85.997-86 85.997s-84-38.355-84-85.997c0-20.64 8.082-39.155 20-54.003l-102-201.997c-3.796 0.64-8.062 1.984-12 1.984-46.967 0-86-38.355-86-85.997 0-47.648 39.033-86.003 86-86.003zM140 636h234v50.003l-176 216h182v53.997h-260v-57.997l168-208h-148v-54.003zM398 636h256v54.003h-96v265.997h-64v-265.997h-96v-54.003zM696 636h238v54.003h-174v72h162v53.997h-162v86.003h180v53.997h-244v-320z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-zteips" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 336, - "id": 259, - "prevSize": 16, - "code": 59686, - "name": "it-other-zteips" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 38 - }, - { - "icon": { - "paths": [ - "M508 0c-82.558 0.672-166.697 21.188-244 64-247.365 137.005-336.997 448.64-200 696 112.572 203.257 342.286 298.233 558 250l84-146 29.283-49.683-47.283-92.317 52-28c-27.342-23.445-47.521-53.56-60-88l-44 24-54-98 92-50c24.687-87.31 104.927-152 200-152 50.663 0 95.87 19.753 132 50-10.596-39.485-25.3-78.624-46-116-94.189-170.064-270.372-265.479-452-264zM530 98c45.407 1.984 91.792 9.699 134 26l-66 36c-22.418-22.534-44.33-43.274-68-62zM400 112c39.131 26.349 77.86 57.629 114 94l-86 48-70-126c-0.339-0.64 0.362-1.424 0-2 13.85-5.504 27.877-10.038 42-14zM266 176c0.32 0.64 1.711 1.488 2 2l70 126-94 52c-11.828-49.536-16.086-99.133-18-146 12.612-11.942 25.674-23.568 40-34zM766 182c30.756 23.571 58.291 51.565 82 84l-118 66c-19.826-33.114-41.392-64.963-64-94l90-48c3.229-1.792 7.526-5.517 10-8zM584 286c22.436 28.877 42.268 59.046 62 92l-114 64-54-98zM146 318c3.501 27.974 7.145 55.238 14 84l-56 32c7.85-40.659 22.519-79.302 42-116zM388 394l54 98-122 66c-17.597-34.106-31.279-67.754-44-102zM192 502c12.788 34.547 26.288 69.67 44 104l-110 60c-14.57-36.442-26.168-74.317-30-112zM492 582l54 98-106 58c-24.154-28.173-46.514-57.469-68-90zM288 696c21.57 32.525 45.675 59.827 70 88l-102 58c-29.908-23.232-56.84-52.314-80-84zM596 772l70 126c-7.344 2.944-14.551 7.504-22 10-43.856-24.314-86.79-54.854-128-92zM432 862c28.391 25.472 58.222 46.435 88 66-53.331 1.024-106.52-9.274-156-28z", - "M873.145 391.853c-83.828 0-150.949 67.322-150.949 148.794 0 57.709 34.419 105.702 84.1 129.939v299.699c0 21.075 17.123 37.722 38.815 37.722h56.067c21.692 0 38.815-16.646 38.815-37.722v-299.699c49.682-24.237 84.1-72.23 84.1-129.939 0-81.472-67.121-148.794-150.949-148.794z", - "M745.671 902.592h247.663l36.421 118.976h-313.221z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-sdn-controller" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 337, - "id": 258, - "prevSize": 16, - "code": 59687, - "name": "it-sdn-controller" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 39 - }, - { - "icon": { - "paths": [ - "M0 4v424h76v-186h148v186h74v-424h-74v166h-148v-166h-76zM376 4v424h76v-160h50c34.135 0 59.998-1.945 78-6 13.246-3.282 25.178-9.863 38-20s23.678-24.237 32-42c8.321-17.763 12-39.935 12-66-0-33.788-5.565-60.665-20-82s-32.602-35.628-54-42c-13.926-4.247-44.148-6-90-6h-122zM452 76h36c27.172 0 44.999 0.070 54 2 12.227 2.51 24.018 7.96 32 18s12 24.554 12 40c-0 12.55-4.311 22.54-10 32s-11.981 17.56-22 22c-10.020 4.441-30.281 6-60 6h-42v-120zM986 406l-28 10-234 190-50-84-22-14-26-2-42 30-176 168-36 14-22-4 6-26 88-120 28-46-6-34-22-6-36 32-170 184-44 24-12-8 2-28 72-98 34-64-8-36-14-10-30 16-102 150-36 64-6 74 20 32 36 8 38-14 78-66 14 54 30 16 50 2 44-26 96-80 124-132 12-2 42 60 4 22-276 316c0 0-8.993 18.503 2 36s8 16 8 16l48-6 238-294 10-2 18 6 70 124 30 6 14-20-4-34-78-122 226-198 30-30-14-32-18-16z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-server-hpux" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 338, - "id": 257, - "prevSize": 16, - "code": 59688, - "name": "it-server-hpux" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 40 - }, - { - "icon": { - "paths": [ - "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM178 122h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM176 344h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM214 578c47.25 0 85.635 14.688 114 44s42 69.792 42 122c-0 51.771-13.854 92.76-42 122s-64.896 44-112 44c-47.688 0-85.854-14.906-114-44s-42-68.958-42-120c-0-32.666 4.229-59.833 14-82 7.292-16.333 17.385-31.021 30-44s26.979-21.729 42-28c19.979-8.458 41.896-14 68-14zM832 578c40.25 0 71.656 8.354 92 26s30.979 42.542 32 72l-66 2c-2.771-16.479-8.886-28.781-18-36s-21.771-10-40-10c-18.813 0-33.354 4.271-44 12-6.854 4.959-10 11.688-10 20-0 7.584 1.583 12.604 8 18 8.167 6.854 28.5 14.563 60 22s54.906 16.052 70 24c15.094 7.948 27.468 18.219 36 32s12 31.729 12 52c-0 18.375-3.792 33.958-14 50s-25.334 28.198-44 36c-18.667 7.802-42.146 12-70 12-40.542 0-72.271-9.26-94-28s-33.771-46.125-38-82l62-6c3.791 21.146 12.406 36.083 24 46s26.312 16 46 16c20.854 0 37.427-5.177 48-14s16-18.187 16-30c-0-7.583-1.552-14.677-6-20s-12.917-10.062-24-14c-7.583-2.625-25.021-7.292-52-14-34.708-8.604-60-19.458-74-32-19.688-17.646-28-38.625-28-64 0-16.333 4.74-31.781 14-46s22.573-24.562 40-32c17.427-7.437 37.354-12 62-12zM420 584h104c39.375 0 66.041 0.792 78 4 18.375 4.813 33.604 15.886 46 32s18 36.479 18 62c-0 19.688-2.854 36.583-10 50s-16.99 24.344-28 32c-11.011 7.656-20.625 11.521-32 14-15.459 3.062-38.688 6-68 6h-42v120h-66v-320zM216 634c-26.688 0-49.667 9.698-66 28s-24 45.104-24 82c-0 36.313 9.229 63.261 26 82s38.187 28 64 28c25.812 0 45.448-9.406 62-28s26-44.812 26-82c-0-36.75-7.886-65.916-24-84s-37.313-26-64-26zM486 638v92h36c25.521 0 41.396-2.646 50-6s15.114-8.854 20-16c4.885-7.146 8-14.521 8-24-0-11.667-3.146-22.416-10-30s-15.5-12.104-26-14c-7.729-1.458-24.667-2-48-2h-30z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-storage-ops" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 339, - "id": 256, - "prevSize": 16, - "code": 59689, - "name": "it-storage-ops" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 41 - }, - { - "icon": { - "paths": [ - "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM178 122h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM176 344h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM724 584c39.229 0 71.5 10.813 96 34 14.583 13.709 24.708 34.334 32 60l-64 16c-3.792-16.625-11.969-30.375-24-40s-24.792-14-42-14c-23.771 0-43.198 8.938-58 26s-24 43.792-24 82c-0 40.542 7.417 68.792 22 86s34.666 26 58 26c17.208 0 31.604-5.062 44-16s20.604-28.521 26-52l64 20c-9.625 35-25.615 61.010-48 78s-51.583 26-86 26c-42.583 0-76.583-14.906-104-44s-42-69.542-42-120c-0-53.375 14.437-94.468 42-124s63.083-44 108-44zM164 590h128c25.375 0 43.531-0.115 56 2s24.156 7.292 34 14c9.843 6.709 17.437 14.844 24 26s10 24.146 10 38c-0 15.021-3.907 29.459-12 42s-18.146 21.729-32 28c19.541 5.688 33.5 16.292 44 30s16 29.479 16 48c-0 14.583-3.219 28.219-10 42s-16.261 23.76-28 32c-11.74 8.24-24.792 14.104-42 16-10.792 1.167-38.729 1.708-80 2h-108v-320zM228 644v74h44c25.229 0 39.875-1.271 46-2 11.083-1.312 19.656-5.656 26-12s10-13.646 10-24c-0-9.916-2.531-17.802-8-24s-13.209-10.687-24-12c-6.417-0.729-25.521 0-56 0h-38zM228 770v86h60c23.333 0 37.729-0.687 44-2 9.625-1.75 17.948-5.219 24-12s10-16.625 10-28c-0-9.625-3.334-17.292-8-24s-11.177-10.937-20-14c-8.823-3.062-28.542-6-58-6h-52z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-storage-sanswitch-brocade" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 340, - "id": 255, - "prevSize": 16, - "code": 59690, - "name": "it-storage-sanswitch-brocade" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 42 - }, - { - "icon": { - "paths": [ - "M86 0c-47.477 0-86 38.076-86 84v514c0 45.924 38.523 82 86 82h234v90h-184v82h280v-172h192v172h280v-82h-184v-90h234c47.477 0 86-36.076 86-82v-514c0-45.924-38.523-84-86-84h-852zM110 108h804v454h-804v-454zM136 946v80h752v-80h-752z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "uep-moc-uca-public" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 341, - "id": 254, - "prevSize": 16, - "code": 59691, - "name": "uep-moc-uca-public" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 43 - }, - { - "icon": { - "paths": [ - "M2 262v192h96v320c-55.192 13.323-96 62.716-96 122 0 69.49 56.51 126 126 126s126-56.51 126-126c0-57.76-38.954-107.215-92-122v-320h320v320c-54.028 14.132-94 63.542-94 122 0 69.49 56.51 126 126 126s126-56.51 126-126c0-58.458-39.972-107.868-94-122v-320h320v320c-53.356 14.581-94 64.019-94 122 0 69.49 56.51 126 126 126s126-56.51 126-126c0-58.632-39.727-108.036-94-122v-320h96v-192h-1024z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "uep-topo-commongroup20x20" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 342, - "id": 253, - "prevSize": 16, - "code": 59692, - "name": "uep-topo-commongroup20x20" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 44 - }, - { - "icon": { - "paths": [ - "M741.841 94.115c0-39.983-32.256-72.239-72.099-72.239h-375.529c-39.983 0-72.239 32.256-72.239 72.239v58.508h519.82v-58.508z", - "M745.472 980.713v-2.327c0 0.465-0.093 0.884-0.186 1.164 0.093 0.372 0.186 0.745 0.186 1.164z", - "M218.345 980.713c0-0.465 0.14-0.838 0.186-1.164-0.047-0.372-0.186-0.745-0.186-1.164v2.327z", - "M840.285 212.247h-98.351v-49.105h-519.913v128.047h519.866v-29.137h25.553v24.902h10.892c-0.605 26.577-5.353 228.492-7.075 279.459-4.561 138.333-7.121 198.796-21.83 231.098-24.25 53.248-103.098 64.698-119.901 66.607v-195.072h40.169c39.796 0 72.192-32.349 72.192-72.099v-295.331h-519.866v295.284c0 39.75 32.209 72.099 72.239 72.099h40.076v283.276c0 3.724 0.605 7.075 1.583 10.473h-99.514c-9.635 0-17.361 7.354-17.873 16.803 0.512 9.356 8.239 16.803 17.873 16.803h491.055c9.495 0 17.315-7.447 17.92-16.803-0.605-9.449-8.425-16.803-17.92-16.803h-99.421c0.977-3.351 1.396-6.749 1.396-10.38v-49.105c38.121-7.447 118.551-15.453 154.065-92.346 21.225-46.173 22.295-125.719 24.948-241.478 3.072-134.004 5.958-261.911 6.423-282.484h9.495v-24.902h15.919v-49.804h-0zM693.62 320.652c9.914 0 18.060 8.052 18.060 18.060 0 9.914-8.145 18.106-18.060 18.106-10.1 0-18.106-8.192-18.106-18.106 0.047-10.007 8.052-18.060 18.106-18.060zM435.852 642.979l30.906-96.815-45.056-11.729 84.294-145.315-23.366 114.502 45.754 20.48-92.532 118.877z" - ], - "attrs": [ - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - } - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "vapel_chgpile" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [ - 2, - 2, - 2, - 2 - ] - } - }, - "attrs": [ - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - } - ], - "properties": { - "order": 343, - "id": 252, - "prevSize": 16, - "code": 59693, - "name": "vapel_chgpile" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 45 - }, - { - "icon": { - "paths": [ - "M792.529 781.359v2.932c-1.955 0.093-28.393 4.887-44.544 8.052-12.241 0-203.124 0.326-333.405 0.326-66.979 0-117.9-0.093-120.413-0.326-7.494-0.559-53.76-9.588-55.715-9.961l0.652-3.305c-15.407 15.22-24.948 32.489-23.924 44.963 1.722 22.714 46.685 44.823 62.883 50.223 0.931 0.419 2.7 0.791 4.841 0.977l-0.233-0.279c2.095-1.35 20.62-12.753 29.091-12.753l418.257 0.372c0.093 0.093 6.33 4.375 14.941 9.961l-1.815 2.746c13.917-1.908 24.948-4.096 31.558-6.377 40.96-14.662 41.565-52.317 41.565-52.689-0.652-9.449-10.845-22.481-23.738-34.863z", - "M749.009 741.19c-16.989-4.887-182.737-21.132-236.544-22.947-1.908-0.093-3.91-0.093-6.097-0.093-59.252 0-219.555 23.505-221.184 23.831-42.449 13.731-78.103 59.159-76.288 85.178 1.769 25.507 47.709 50.129 64.186 56.273 12.567 4.701 136.099 10.38 202.426 13.312 21.69 0.977 38.772 1.722 45.847 2.095 2.7 0.233 6.796 0.326 12.288 0.326 56.273 0 211.27-8.471 245.62-21.969 41.612-16.198 43.241-54.877 43.706-67.444 0.605-13.359-43.892-59.578-73.961-68.561zM775.959 872.262c-36.631 13.172-194.42 20.108-242.362 20.108-5.446 0-9.588-0.093-12.288-0.279-6.842-0.559-23.599-1.21-44.823-2.095-69.911-2.886-186.927-7.633-199.727-12.055-12.567-4.329-63.535-27.089-65.536-53.62-1.955-25.135 33.652-67.119 77.824-80.198 1.862-0.186 159.372-21.364 217.74-21.364 2.141 0 4.189 0.093 6.097 0.093 52.829 1.629 216.111 16.291 232.82 20.666 16.524 4.561 72.937 48.826 74.24 72.332 0.559 8.471-5.585 42.775-43.985 56.413z", - "M747.66 788.527c6.33-1.117 38.028-7.168 44.032-8.052-16.989-16.244-38.167-30.767-46.825-33.187-16.57-4.655-179.293-18.897-232.029-20.527-1.908-0.093-3.863-0.093-6.004-0.093-58.135 0-215.412 20.992-216.948 21.225-7.866 2.374-15.546 5.632-22.714 9.775 11.823 1.117 60.090 6.051 66.56 6.703 7.308 0.559 378.321 0 382.045-0.093 12.381-1.443 45.196-5.12 47.709-5.585l0.698 3.863c-3.025 0.559-46.266 5.353-48.175 5.539-10.193 0-169.658 0.372-279.412 0.372-56.972 0-100.585-0.093-103.145-0.372-7.401-0.652-68.655-6.796-69.26-6.842l0.186-1.815c-9.263 5.492-17.687 12.195-24.902 19.316 3.863 0.745 47.942 9.216 54.97 9.868 7.354 0.512 448.791-0.093 453.213-0.093z", - "M311.761 865.932c-5.073 0-16.477 6.051-23.319 10.1 33.327 3.724 131.863 7.727 188.276 10.054 21.271 0.977 37.981 1.629 44.87 2.001 2.653 0.233 6.703 0.326 12.009 0.326 44.172 0 150.807-4.934 208.617-13.079-6.935-4.468-12.335-8.145-13.871-9.309l-416.582-0.093z", - "M1016.367 742.4c-1.303-12.986-5.26-37.841-5.26-44.265 0-6.47-15.593-79.5-15.593-79.5l-10.426-24.669-28.625-27.415-40.401-26.065-32.489-14.383-14.429-10.426-8.518-14.615c6.749-0.465 58.321-4.329 64.372-8.099 6.423-4.003 10.752-5.772 10.147-7.121-0.745-1.35-4.375-20.34-9.123-24.716-4.794-4.422-38.26-10.799-43.008-10.519-4.841 0.326-8.099 0.326-8.099 0.326s-11.543 17.268-10.193 27.415c1.303 10.193 2.048 12.567 2.048 12.567l-9.402 4.655-1.21-2.001-20.852-29.975-33.792-55.994-27.415-39.052-24.809-18.292-11.683-7.82c0 0-129.117-13.731-221.044-12.288-102.54 1.722-210.851 12.847-210.851 12.847l-8.425 6.051-20.806 19.084-84.759 103.331c-5.399 7.727-10.193 13.731-14.941 19.409l-10.938-4.98c0 0 0.745-2.374 2.001-12.567 1.35-10.147-10.193-27.415-10.193-27.415s-3.351 0-8.099-0.326c-4.748-0.419-38.26 6.051-43.008 10.426-4.748 4.422-8.425 23.412-9.123 24.762s3.724 3.025 10.147 7.121c6.33 4.003 62.883 8.239 64.512 8.332-4.143 4.655-8.332 9.169-12.986 14.289-11.683 13.033-37.841 23.459-46.918 30.022-9.123 6.563-69.027 41.658-69.027 53.434 0 11.683-26.065 98.956-26.065 98.956s0 19.549-1.303 27.322c-1.303 7.866-1.303 43.008-2.56 57.344-1.303 14.476 5.167 118.598 5.167 118.598l4.608 10.985c-0.559 7.494-0.279 22.807 10.333 27.276 1.303 0.465 4.003 1.303 7.82 2.513 1.164 4.329 26.81 33.187 40.076 34.956 13.591 1.955 43.38 3.212 51.153 3.212s18.665-8.657 21.923-9.914c0.047 0 0-0.14 0-0.14 39.657 9.263 74.473 16.756 77.824 15.965 7.773-2.001 12.335-3.91 18.758-3.91 6.516 0 213.085 17.455 231.191 16.756 18.153-0.652 286.255-16.756 296.029-16.756 9.635 0 10.333 0.652 20.015 2.56 4.608 0.977 44.218-6.982 86.807-16.943-0.698 2.095-1.024 5.585 1.862 8.611 4.608 4.608 59.625-1.908 69.958-5.167 10.38-3.212 31.092-30.348 31.092-30.348l-9.216 2.234c7.447-2.42 12.847-4.608 15.034-6.191 15.546-10.985 14.336-23.971 14.336-23.971l-3.351 0.605 6.516-8.378c-0.047-0.047 6.516-144.756 5.213-157.743zM983.599 870.167c-3.91 8.657-33.745 29.929-43.38 33.373-9.681 3.444-112.035 23.040-115.433 22.854-3.584-0.326-12.521-8.099-14.057-14.569-1.583-6.516 25.321-40.96 34.444-47.709 9.123-6.703 94.72-36.538 108.218-41.705 13.545-5.167 40.401-22.854 40.401-22.854s3.537 40.215-10.193 70.609zM781.079 880.361c-37.283 14.615-198.191 22.249-247.063 22.249-5.539 0-9.728-0.093-12.614-0.279-6.982-0.465-24.111-1.164-45.754-2.234-71.215-3.165-190.511-8.751-203.636-13.498-12.753-4.841-64.652-30.208-66.7-59.671-1.955-28.020 34.257-74.705 79.313-89.228 1.908-0.279 162.49-23.971 222.022-23.971 2.188 0 4.282 0.093 6.237 0.186 53.853 1.815 220.3 18.013 237.382 23.087 30.999 9.169 77.545 55.855 76.893 72.425-0.419 13.172-2.141 53.76-46.080 70.935zM841.356 655.779c8.844-5.818 132.841-49.338 132.841-49.338s12.428 32.442 13.452 39.331c0.977 6.842-3.398 33.14-6.516 37.004-3.025 3.724-35.933 26.345-40.215 26.95-4.236 0.838-20.852-8.564-24.017-8.564-2.932 0-55.808 16.896-75.729 19.363-20.015 2.7-57.204-16.57-57.204-16.57s48.593-42.403 57.391-48.175zM288.861 408.343c17.687-11.776 42.915-24.157 60.556-26.298 0 0 56.739-9.961 143.22-12.567l-0.047-0.326c12.055-0.233 23.692-0.326 34.956-0.279 11.264-0.047 22.807 0 34.816 0.279l-0.093 0.326c86.435 2.607 143.081 12.567 143.081 12.567 17.734 2.095 43.008 14.476 60.742 26.298l52.317 59.206c0 10.705-3.677 19.875-14.476 19.875l-281.367-0.652-281.414 0.652c-10.705 0-14.476-9.123-14.476-19.875l62.185-59.206zM45.708 646.237c1.024-6.842 14.895-40.96 14.895-40.96s126.836 45.568 135.68 51.34c8.844 5.818 57.391 48.361 57.391 48.361s-37.143 19.037-57.111 16.57c-19.968-2.56-72.797-19.503-75.823-19.503-2.979 0-19.689 9.263-24.017 8.657-4.282-0.884-41.425-22.249-44.451-26.065-3.025-3.77-7.54-31.651-6.563-38.4zM33.932 801.699c0 0 26.95 17.78 40.401 22.807 13.452 5.12 99.049 34.909 108.218 41.705s36.073 41.239 34.444 47.756c-1.583 6.423-10.519 14.196-14.010 14.476-3.444 0.279-105.798-19.27-115.479-22.761-9.728-3.537-39.471-24.855-43.334-33.466-13.731-30.441-10.24-70.516-10.24-70.516z" - ], - "attrs": [ - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - } - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "car" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [ - 2, - 2, - 2, - 2, - 2 - ] - } - }, - "attrs": [ - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - } - ], - "properties": { - "order": 344, - "id": 251, - "prevSize": 16, - "code": 59694, - "name": "car" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 46 - }, - { - "icon": { - "paths": [ - "M286.627 163.421h521.263v128.372h-521.263v-128.372z", - "M807.889 94.208c0-40.029-32.396-72.378-72.378-72.378h-376.553c-39.936 0-72.425 32.303-72.425 72.378v58.647h521.309v-58.647z", - "M811.473 982.202c0 0.372 0.093 0.791 0.093 1.21v-2.607c0 0.605-0.093 0.977-0.093 1.396z", - "M282.996 983.412c0-0.512 0.14-0.977 0.14-1.21 0-0.372-0.14-0.791-0.14-1.35v2.56z", - "M793.46 965.26h-99.84c0.977-3.258 1.536-6.842 1.536-10.473v-284.067h40.355c39.889 0 72.378-32.396 72.378-72.471v-296.029h-521.309v296.029c0 39.983 32.442 72.378 72.425 72.378h40.308v284.16c0 3.491 0.512 7.075 1.536 10.287h-99.747c-9.635 0-17.361 7.447-17.967 16.989 0.652 9.309 8.332 16.803 17.967 16.803h492.358c9.542 0 17.315-7.494 18.013-16.803-0.698-9.449-8.425-16.803-18.013-16.803zM759.529 321.443c9.914 0 18.060 8.099 18.060 18.153 0 9.961-8.145 18.106-18.060 18.106-10.007 0-18.199-8.099-18.199-18.106 0.14-10.054 8.239-18.153 18.199-18.153zM501.062 644.655l31.046-97.094-45.242-11.543 84.48-145.873-23.273 114.828 45.708 20.527-92.719 119.156z" - ], - "attrs": [ - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - } - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "chgpile" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [ - 2, - 2, - 2, - 2, - 2 - ] - } - }, - "attrs": [ - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - } - ], - "properties": { - "order": 345, - "id": 250, - "prevSize": 16, - "code": 59695, - "name": "chgpile" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 47 - }, - { - "icon": { - "paths": [ - "M550.959 563.805c-9.635-1.815-28.998-2.746-58.089-2.746h-39.005v113.478h44.172c31.837 0 53.108-2.095 63.86-6.284 10.705-4.189 19.084-10.705 25.181-19.642s9.169-19.27 9.169-31.092c0-14.569-4.329-26.531-12.8-35.98-8.518-9.449-19.363-15.36-32.489-17.734z", - "M977.455 395.636h-930.909c-25.693 0-46.545 20.852-46.545 46.545v488.727c0 25.74 20.852 46.545 46.545 46.545h930.909c25.74 0 46.545-20.806 46.545-46.545v-488.727c0-25.74-20.806-46.545-46.545-46.545zM666.112 678.353c-8.844 16.71-20.294 29.929-33.932 39.471s-27.695 15.825-41.751 18.897c-19.27 3.817-47.244 5.725-83.782 5.725h-52.783v150.807h-80.71v-399.779h129.536c49.152 0 81.129 2.001 96.023 6.004 22.9 6.004 42.077 19.037 57.53 39.145s23.18 45.987 23.18 77.824c0.047 24.529-4.422 45.196-13.312 61.905z" - ], - "attrs": [ - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - } - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "chgposition" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [ - 2, - 2 - ] - } - }, - "attrs": [ - { - "fill": "rgb(124, 133, 150)" - }, - { - "fill": "rgb(124, 133, 150)" - } - ], - "properties": { - "order": 346, - "id": 249, - "prevSize": 16, - "code": 59696, - "name": "chgposition" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 48 - }, - { - "icon": { - "paths": [ - "M667.741 391.913h-638.697v-138.799l638.697-11.171z", - "M995.002 439.529l-618.17-0.652-347.788-35.468h638.697z", - "M995.002 426.217l-327.261-34.304v-149.969l327.261 53.388z", - "M150.761 412.672h63.86v600.111h-63.86v-600.111z", - "M635.811 412.672h63.814v600.111h-63.814v-600.111z", - "M348.393 417.792h63.86v503.948h-63.86v-503.948z", - "M853.085 434.176h63.86v487.564h-63.86v-487.564z", - "M475.881 760.273h71.075v161.466h-71.075v-161.466z", - "M739.142 760.273h71.075v161.466h-71.075v-161.466z", - "M285.091 776.378l-24.716 23.645v160.954h17.594l26.205-23.18v-161.42z", - "M834.001 815.197l-24.716 23.599v161.001h17.641l26.159-23.18v-161.42z" - ], - "attrs": [ - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - } - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "chgstation" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [ - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1, - 1 - ] - } - }, - "attrs": [ - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - }, - { - "fill": "rgb(123, 131, 147)" - } - ], - "properties": { - "order": 347, - "id": 248, - "prevSize": 16, - "code": 59697, - "name": "chgstation" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 49 - }, - { - "icon": { - "paths": [ - "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h768c70.912 0 128-57.088 128-128v-768c0-70.912-57.088-128-128-128h-768zM266.182 72.723h490.182c43.596 0 80 32.73 80 72.736v738.906c0 40-36.404 72.723-80 72.723h-490.182c-43.596 0-78.545-32.723-78.545-72.723v-738.906c0-40.006 34.95-72.736 78.545-72.736zM667.636 189.088c-41.36 0-73.529 12.877-98.909 37.818-25.38 24.947-37.818 59.635-37.818 104.73 0 42.63 12.572 77.242 37.818 101.818 25.246 24.582 56.788 34.912 96 34.912 31.691 0 59.387-5.952 80-20.365 20.613-14.355 34.773-37.338 43.636-66.906l-58.182-14.554c-4.969 19.846-11.859 34.4-23.273 43.642s-26.336 11.635-42.182 11.635c-21.486 0-38.935-5.824-52.364-20.358-13.429-14.547-20.364-38.483-20.364-72.736-0-32.275 6.734-55.398 20.364-69.811 13.63-14.419 31.929-23.277 53.818-23.277 15.846 0 29.648 3.456 40.727 11.635 11.078 8.128 18.326 20.864 21.818 34.912l58.182-14.547c-6.715-21.683-17.117-37.869-30.545-49.453-22.56-19.59-52.605-29.094-88.727-29.094zM242.909 194.912v270.547h113.455c22.023 0 39.203-1.984 52.364-5.824 17.591-5.184 30.387-14.042 40.727-23.277 13.697-12.198 24.614-26.835 32-46.547 6.042-16.141 8.727-35.885 8.727-58.182-0-25.382-2.282-46.688-8.727-64-6.446-17.306-16.737-31.68-29.091-43.635-12.355-11.949-26.314-21.504-43.636-26.182-12.892-3.456-33.608-2.88-58.182-2.88h-107.636zM302.545 238.554h26.182c24.306 0 41.129 1.216 49.455 2.88 11.146 2.24 21.839 8.256 29.091 14.541 7.251 6.272 10.517 14.976 14.545 26.182 4.028 11.213 7.273 25.6 7.273 46.554-0 20.941-3.244 37.318-7.273 49.446-4.029 12.134-8.167 20.89-14.545 26.189-6.379 5.312-15.059 9.414-24.727 11.629-7.386 1.728-19.712 2.88-36.364 2.88h-43.636v-180.365zM272 599.283c-15.139 0-27.636 10.374-27.636 23.264 0 12.902 12.498 23.277 27.636 23.277h485.818c15.139 0 27.636-10.374 27.636-23.277 0-12.89-12.498-23.264-27.636-23.264h-485.818zM272 733.101c-15.139 0-27.636 10.381-27.636 23.27 0 12.896 12.498 23.27 27.636 23.27h485.818c15.139 0 27.636-10.374 27.636-23.27 0-12.89-12.498-23.27-27.636-23.27h-485.818z" - ], - "attrs": [ - { - "fill": "rgb(100, 155, 230)" - } - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "common_dc" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [ - 6 - ] - } - }, - "attrs": [ - { - "fill": "rgb(100, 155, 230)" - } - ], - "properties": { - "order": 348, - "id": 247, - "prevSize": 16, - "code": 59698, - "name": "common_dc" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 50 - }, - { - "icon": { - "paths": [ - "M152 0c-84.32 0-152 67.68-152 152v720c0 84.32 67.68 152 152 152h720c84.32 0 152-67.68 152-152v-720c0-84.32-67.68-152-152-152zM104 166h98l202 264v-264h94v302c-17.538-5.098-37.024-8-56-8-37.084 0-71.491 11.742-102 30l-144-186v258h-92zM456 551.336c40.013 0 73.010 10.353 98 34 14.874 13.982 26.562 33.824 34 60l-66 16c-3.868-16.956-9.729-30.18-22-40-12.272-9.825-28.448-14-46-14-24.246 0-44.902 8.593-60 26-15.098 17.401-22 45.029-22 84-0 41.357 7.125 72.45 22 90s36.2 24 60 24c17.552 0 31.356-4.844 44-16s20.496-28.050 26-52l64 20c-9.818 35.705-25.168 60.673-48 78s-50.896 28-86 28c-43.434 0-80.036-16.33-108-46-27.965-29.676-42-68.532-42-120-0-54.437 13.887-97.879 42-128s64.186-44 110-44zM646 557.336h122c27.221 0 47.72-0.168 62 4 19.188 5.652 34.315 17.573 48 32s24.86 31.105 32 52c7.14 20.901 10 47.359 10 78-0 26.924-3.307 50.515-10 70-8.181 23.796-20.828 41.27-36 56-11.454 11.156-26.514 19.754-46 26-14.577 4.63-33.606 8-58 8h-124zM712 611.336v216h50c18.445 0 31.819 0.055 40-2 10.71-2.672 18.934-7.606 26-14s13.537-17.345 18-32c4.463-14.65 6-34.714 6-60s-1.538-44.464-6-58c-4.463-13.536-11.968-24.413-20-32-8.033-7.582-17.654-13.317-30-16-9.223-2.341-27.077-2-54-2z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "common_ncd" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 349, - "id": 246, - "prevSize": 16, - "code": 59699, - "name": "common_ncd" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 51 - }, - { - "icon": { - "paths": [ - "M820 0l-40 4 12 66 40-4-12-66zM678 22c-39.083 0-68 30.966-68 70 0 39.021 28.917 70 68 70 10.831 0 22.823-1.648 32-6l48 46 36-38-48-48c2.62-7.392 4-15.725 4-24 0-39.034-32.916-70-72-70zM948 44l-90 60 30 46 90-62-30-44zM150 98c-84.081 0-150 66.045-150 150v626c0 83.962 65.919 150 150 150h628c84.081 0 150-66.038 150-150v-420c-97.009 35.552-219.538 4.931-304-82-79.068-81.382-102.955-187.984-68-274h-406zM1020 168l-66 12 4 40 66-12-4-40zM662 190l-66 12 4 38 66-10-4-40zM858 218l-38 38 38 36c-2.531 7.27-6 15.866-6 24 0 39.027 30.916 70 70 70s72-30.973 72-70c0-39.027-32.917-72-72-72-10.992 0-20.719 3.507-30 8l-34-34zM732 260l-90 62 28 44 92-58-30-48zM104 288h92l190 232v-232h88v266c-16.509-4.523-34.138-8-52-8-34.907 0-67.282 9.908-96 26l-136-164v228h-86v-348zM826 344l-40 2 10 66 40-4-10-64zM436 598c37.664 0 68.477 9.161 92 30 14.001 12.316 24.999 30.929 32 54l-62 14c-3.641-14.94-10.449-27.349-22-36-11.552-8.66-25.478-12-42-12-22.823 0-41.788 8.66-56 24-14.212 15.33-22 39.655-22 74-0 36.445 7.998 62.541 22 78 14.002 15.463 33.597 22 56 22 16.522 0 28.098-4.188 40-14 11.901-9.831 20.819-24.9 26-46l60 18c-9.241 31.46-24.508 52.727-46 68-21.493 15.263-46.956 24-80 24-40.885 0-75.677-13.848-102-40s-40-60.647-40-106c0-47.971 13.537-85.458 40-112s60.875-40 104-40zM614 604h116c25.623 0 44.558 0.525 58 4 18.062 4.961 31.118 15.279 44 28 12.881 12.707 23.279 27.585 30 46s10 40.996 10 68c-0 23.724-3.7 44.832-10 62-7.701 20.972-19.719 37.012-34 50-10.782 9.827-23.658 16.496-42 22-13.722 4.047-33.037 8-56 8h-116v-288zM676 652v190h48c17.362 0 30.299-0.237 38-2 10.081-2.381 17.349-6.368 24-12 6.651-5.637 11.799-15.088 16-28s6-31.719 6-54c0-22.286-1.8-38.074-6-50-4.201-11.936-10.439-21.316-18-28s-16.379-11.634-28-14c-8.681-2.095-26.657-2-52-2h-28z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "common_ncd_break" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 350, - "id": 245, - "prevSize": 16, - "code": 59700, - "name": "common_ncd_break" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 52 - }, - { - "icon": { - "paths": [ - "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h768c70.912 0 128-57.088 128-128v-768c0-70.912-57.088-128-128-128h-768zM192 146h628c26.012 0 49.542 11.019 68 26 22.109 17.944 38 42.938 38 72v380c0 53.325-48.83 96-106 96h-252c13.755 26.81 28.292 66.589 12 86-28.199 33.594-107.060 33.030-136 0-16.62-18.976-2.325-59.030 10-86h-262c-57.17 0-104-42.675-104-96v-380c0-29.062 13.891-54.056 36-72 18.458-14.981 41.988-26 68-26zM308 228c-31.688 0-57.594 4.438-80 14s-40.094 23.719-52 42c-11.906 18.282-18 39-18 60-0 32.625 12.687 59.313 38 82 18 16.125 49.375 28.938 94 40 34.687 8.625 58.25 14.625 68 18 14.25 5.063 22.281 11.156 28 18s10 16.25 10 26c-0 15.188-6.407 28.656-20 40s-35.188 16-62 16c-25.313 0-45.094-5.25-60-18s-25.125-32.812-30-60l-80 8c5.437 46.125 22.062 79.906 50 104s67.875 36 120 36c35.812 0 66-3.969 90-14s42.875-25.375 56-46c13.125-20.625 18-42.375 18-66-0-26.062-5.032-48.281-16-66s-26.594-31.781-46-42c-19.407-10.219-49.5-20.437-90-30s-65.5-19.187-76-28c-8.25-6.937-12-14.25-12-24-0-10.687 5.187-19.625 14-26 13.687-9.937 31.812-16 56-16 23.437 0 40.281 4.719 52 14s20.437 24.813 24 46l82-4c-1.313-37.875-13.844-67.312-40-90s-66.25-34-118-34zM728 228c-57.75 0-104.563 18.032-140 56s-54 91.375-54 160c-0 64.875 18.75 116.594 54 154s79.25 56 134 56c44.25 0 81.218-10.156 110-32s49.625-55 62-100l-80-26c-6.938 30.188-20.063 51.938-36 66s-33.875 22-56 22c-30 0-55.25-11.875-74-34s-28-59.875-28-112c-0-49.125 10.969-84.062 30-106s43.437-32 74-32c22.125 0 40.531 5.625 56 18s25.125 28.625 30 50l82-20c-9.375-33-23.25-58.375-42-76-31.5-29.812-71.563-44-122-44zM418 814c1.096 8.128 5.046 14.406 10 20 35.944 40.614 134.977 41.312 170 0 4.685-5.504 7.107-12.186 8-20 62.661 8.262 104 25.222 104 44 0 27.11-88.3 48-198 48s-200-20.89-200-48c0-18.778 43.339-35.738 106-44z" - ], - "attrs": [ - { - "fill": "rgb(100, 155, 230)" - } - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "common_sc" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [ - 6 - ] - } - }, - "attrs": [ - { - "fill": "rgb(100, 155, 230)" - } - ], - "properties": { - "order": 351, - "id": 244, - "prevSize": 16, - "code": 59701, - "name": "common_sc" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 53 - }, - { - "icon": { - "paths": [ - "M256 100v834h-256v90h1034v-90h-256v-252h-400v-96h400v-108h-400v-96h400v-282h-522z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 352, - "id": 243, - "prevSize": 16, - "code": 59702, - "name": "it" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 54 - }, - { - "icon": { - "paths": [ - "M132-4c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM516 76c203.792 0 370 166.208 370 370s-166.208 372-370 372c-203.792 0-370-168.208-370-372s166.208-370 370-370zM516 182c-147.271 0-266 116.729-266 264s118.729 266 266 266c147.271 0 266-118.729 266-266s-118.729-264-266-264zM480 286h68l128 322h-70l-28-74h-128l-26 74h-68l124-322zM514 362l-44 118h88l-44-118zM1028 640l-380 380h252c70.912 0 128-57.088 128-128v-252z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-app" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 353, - "id": 242, - "prevSize": 16, - "code": 59703, - "name": "it-app" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 55 - }, - { - "icon": { - "paths": [ - "M132-4c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM114 86h226c44.738 0 78.016 2.249 100 6s40.644 10.174 58 22c17.355 11.837 32.429 28.328 44 48 11.57 19.662 17.999 41.566 18 66-0.001 26.476-7.73 49.889-22 72s-33.574 38.945-58 50c34.453 10.003 61.487 27.826 80 52 18.512 24.174 27.999 53.345 28 86-0.001 25.716-6.045 49.701-18 74-11.956 24.299-29.302 43.475-50 58-20.698 14.535-45.661 24.655-76 28-19.027 2.084-65.236 1.479-138 2h-192v-564zM228 180v130h74c44.481 0 73.201-1.062 84-2 19.541-2.292 34.815-8.809 46-20 11.184-11.18 16-25.745 16-44-0-17.484-4.358-31.070-14-42s-24.974-17.687-44-20c-11.314-1.25-42.263-2-96-2h-66zM228 404v152h106c41.139 0 66.944-1.708 78-4 16.969-3.126 31.329-10.038 42-22 10.67-11.951 16-27.942 16-48-0-16.974-5.773-32.174-14-44-8.228-11.826-18.445-20.592-34-26-15.556-5.418-50.062-8-102-8h-92zM1028 640l-380 380h252c70.912 0 128-57.088 128-128v-252z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-app-bind" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 354, - "id": 241, - "prevSize": 16, - "code": 59704, - "name": "it-app-bind" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 56 - }, - { - "icon": { - "paths": [ - "M132-4c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM836 140c41.156 0 73.198 11.587 94 34s30.956 50.584 32 88l-66 4c-2.833-20.931-8.68-34.831-18-44s-23.361-13.999-42-14c-19.236 0.001-33.115 4.181-44 14-7.009 6.298-12 15.442-12 26-0 9.632 3.439 17.147 10 24 8.35 8.706 29.791 18.553 62 28s54.566 17.905 70 28c15.433 10.095 27.276 24.496 36 42s14 40.253 14 66c-0 23.339-5.562 43.625-16 64s-24.913 36.090-44 46c-19.087 9.91-43.519 16-72 16-41.455 0-71.782-12.198-94-36s-35.676-58.433-40-104l64-8c3.877 26.858 12.145 45.404 24 58s27.869 20 48 20c21.324 0 37.189-6.79 48-18 10.811-11.207 16-22.996 16-38-0-9.632-3.452-19.239-8-26s-10.667-10.998-22-16c-7.754-3.331-26.414-9.479-54-18-35.49-10.928-59.685-24.071-74-40-20.131-22.413-30-49.769-30-82 0-20.746 4.531-39.94 14-58s22.18-32.553 40-42c17.819-9.446 38.799-14 64-14zM60 146h120c27.288 0 49.685 2.817 64 8 19.236 7.040 34.281 20.033 48 38s24.842 39.975 32 66c7.157 26.025 10 57.843 10 96-0 33.527-3.29 61.735-10 86-8.202 29.637-18.79 53.662-34 72-11.482 13.892-26.466 26.22-46 34-14.614 5.742-35.545 8-60 8h-124v-408zM392 146h64l134 272v-272h62v408h-66l-132-266v266h-62v-408zM126 216v270h50c18.49 0 31.798-1.411 40-4 10.736-3.331 18.917-10.035 26-18s13.526-19.755 18-38c4.473-18.246 6-44.511 6-76s-1.527-55.144-6-72c-4.474-16.855-11.948-30.553-20-40s-17.623-14.665-30-18c-9.245-2.596-27.010-4-54-4h-30zM1028 640l-380 380h252c70.912 0 128-57.088 128-128v-252z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-app-dns" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 355, - "id": 240, - "prevSize": 16, - "code": 59705, - "name": "it-app-dns" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 57 - }, - { - "icon": { - "paths": [ - "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM816 172c37.375 0 65.109 7.615 84 24s29.052 38.646 30 66l-60 4c-2.573-15.302-9.537-27.297-18-34s-21.073-10-38-10c-17.469 0-30.115 2.823-40 10-6.365 4.604-10 12.281-10 20-0 7.042 2.042 12.99 8 18 7.583 6.365 26.75 13.094 56 20s51.984 12.62 66 20c14.015 7.38 24.078 17.203 32 30s12 29.177 12 48c-0 17.063-4.521 33.104-14 48s-22.667 26.755-40 34c-17.334 7.245-40.136 10-66 10-37.646-0-65.823-8.599-86-26s-32.073-42.687-36-76l58-6c3.521 19.636 11.234 34.792 22 44s25.719 14 44 14c19.364 0 34.182-3.807 44-12s14-19.031 14-30c-0-7.042-1.87-13.057-6-18s-11.708-8.344-22-12c-7.042-2.437-22.948-7.771-48-14-32.229-7.989-55-16.354-68-28-18.281-16.385-28-36.437-28-60 0-15.166 5.401-30.797 14-44s19.818-23.093 36-30c16.182-6.906 37.114-10 60-10zM86 178h220v50h-160v66h150v50h-150v80h166v52h-226v-298zM364 178h90l54 202 52-202h90v298h-56v-236l-58 236h-58l-58-236v236h-56v-298zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-app-ems" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 356, - "id": 239, - "prevSize": 16, - "code": 59706, - "name": "it-app-ems" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 58 - }, - { - "icon": { - "paths": [ - "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM158 148h112l66 250 66-250h110v366h-68v-288l-72 288h-72l-72-288v288h-70v-366zM586 148h272v62h-198v80h184v62h-184v100h206v62h-280v-366zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-app-mediator" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 357, - "id": 238, - "prevSize": 16, - "code": 59707, - "name": "it-app-mediator" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 59 - }, - { - "icon": { - "paths": [ - "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM58 150h68l142 272v-272h64v408h-70l-140-266v266h-64v-408zM382 150h274v70h-102v338h-70v-338h-102v-70zM702 150h112c42.436 0.001 69.112 1.922 82 6 19.803 6.114 36.64 19.532 50 40s20 47.585 20 80c-0 25.007-4.299 44.959-12 62s-16.134 32.275-28 42c-11.867 9.724-25.741 14.851-38 18-16.66 3.891-40.409 6-72 6h-44v154h-70v-408zM772 220v116h38c27.505 0 44.727-3.734 54-8 9.273-4.259 16.735-10.923 22-20s8-19.96 8-32c-0-14.818-4.613-26.368-12-36s-16.684-15.592-28-18c-8.33-1.848-24.853-2-50-2h-32zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-app-ntp" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 358, - "id": 237, - "prevSize": 16, - "code": 59708, - "name": "it-app-ntp" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 60 - }, - { - "icon": { - "paths": [ - "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM202 144c48.314 0 86.996 18.769 116 56 29.003 37.232 42 87.687 42 154-0 65.757-13.221 118.861-42 156s-67.835 54-116 54c-48.761 0-87.221-17.046-116-54s-44-89.169-44-154c-0-41.491 6.009-75.845 16-104 7.456-20.745 17.101-39.514 30-56s26.641-28.035 42-36c20.429-10.743 45.308-16 72-16zM388 150h262v70h-98v338h-66v-338h-98v-70zM786 150h70l132 408h-72l-28-92h-132l-26 92h-72l128-408zM202 214c-27.289 0.001-49.299 10.754-66 34-16.701 23.247-26 59.137-26 106-0 46.123 8.851 80.199 26 104 17.148 23.803 39.606 36 66 36s47.075-10.383 64-34c16.924-23.617 26-60.766 26-108-0-46.678-7.523-81.031-24-104s-38.712-33.999-66-34zM820 246l-44 150h90l-46-150zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-app-ota" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 359, - "id": 236, - "prevSize": 16, - "code": 59709, - "name": "it-app-ota" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 61 - }, - { - "icon": { - "paths": [ - "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM596 144c50.805 0.001 92.27 16.028 124 50 18.886 20.085 32.556 50.396 42 88l-82 22c-4.911-24.358-14.419-43.897-30-58-15.582-14.101-35.714-21.999-58-22-30.785 0.001-54.83 13.002-74 38s-30 66.020-30 122c-0 59.399 11.113 100.787 30 126s41.781 38 72 38c22.286 0 41.946-7.975 58-24s27.012-41.6 34-76l82 30c-12.465 51.279-33.010 89.108-62 114s-65.428 38-110 38c-55.149 0-100.493-21.374-136-64s-54-102.072-54-176c-0-78.201 18.304-138.733 54-182s81.829-63.999 140-64zM32 152h330v80h-122v390h-84v-390h-124v-80zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-app-tomcat" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 360, - "id": 235, - "prevSize": 16, - "code": 59710, - "name": "it-app-tomcat" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 62 - }, - { - "icon": { - "paths": [ - "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM32 152h330v80h-122v390h-84v-390h-124v-80zM416 152h126l74 320 76-320h126v470h-78v-370l-84 370h-80l-82-370v370h-78v-470zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-app-trend" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 361, - "id": 234, - "prevSize": 16, - "code": 59711, - "name": "it-app-trend" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 63 - }, - { - "icon": { - "paths": [ - "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM450 144c41.156 0 73.198 11.587 94 34s30.956 50.584 32 88l-66 4c-2.833-20.931-8.68-34.831-18-44s-23.361-13.999-42-14c-19.236 0.001-35.115 4.181-46 14-7.009 6.298-10 15.442-10 26-0 9.632 3.439 17.147 10 24 8.35 8.706 29.791 18.553 62 28s54.566 17.905 70 28c15.433 10.095 27.276 24.496 36 42s14 40.253 14 66c-0 23.339-5.562 43.625-16 64s-24.913 36.090-44 46c-19.087 9.91-43.519 16-72 16-41.455 0-71.782-12.198-94-36s-35.676-58.433-40-104l64-8c3.877 26.858 12.145 45.404 24 58s27.869 20 48 20c21.324 0 37.189-6.79 48-18 10.811-11.207 16-22.996 16-38-0-9.632-3.452-19.239-8-26s-10.667-10.998-22-16c-7.754-3.331-26.414-9.479-54-18-35.49-10.928-59.685-24.071-74-40-20.131-22.413-30-49.769-30-82-0-20.746 4.531-39.94 14-58s22.18-32.553 40-42c17.819-9.446 38.799-14 64-14zM32 150h262v70h-98v338h-66v-338h-98v-70zM642 150h98l60 278 58-278h100v408h-62v-320l-64 320h-64l-66-320v320h-60v-408zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-app-tsm" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 362, - "id": 233, - "prevSize": 16, - "code": 59712, - "name": "it-app-tsm" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 64 - }, - { - "icon": { - "paths": [ - "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM24 150h68l50 280 60-280h78l58 286 50-286h66l-78 408h-72l-64-304-66 304h-72l-78-408zM490 154h66v336h164v68h-230v-404zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-app-weblogic" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 363, - "id": 232, - "prevSize": 16, - "code": 59713, - "name": "it-app-weblogic" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 65 - }, - { - "icon": { - "paths": [ - "M180 2v168h156v278h172v98h-236v-308h-272v786h272v-340h236v338h274v-784h-274v72h-40v-308h-288zM740 2v168h156v852h132v-1020h-288zM336 748v278h132v-278h-132z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-cluster" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 364, - "id": 231, - "prevSize": 16, - "code": 59714, - "name": "it-cluster" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 66 - }, - { - "icon": { - "paths": [ - "M86 3.923v80.685h268.592v322.739h140.395v93.101h-208.987v-345.498h-286v873.050h286v-388.941h208.987v35.168h286v-519.277h-286v171.712h-80.395v-322.739zM580.987 3.923v80.685h262.913v589.619h60v-670.304zM426 714.022l-122 291.219h68l24-70.342h124l28 70.342h68l-124-291.219zM646 714.022v291.219h64v-291.219zM746 714.022l96 129.85-104 161.37h74l68-107.578 70 107.578h74l-106-159.296 98-131.923h-74l-60 82.266-62-82.266zM458 769.395l42 113.786h-84z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-cluster-hacmp" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 365, - "id": 230, - "prevSize": 16, - "code": 59715, - "name": "it-cluster-hacmp" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 67 - }, - { - "icon": { - "paths": [ - "M86 4v80h268v324h140v92h-208v-346h-286v874h286v-388h208v34h286v-520h-286v172h-80v-322h-328zM580 4v80h264v590h60v-670h-324zM924 704c-34.513 0-60.822 14.992-82 42-21.178 27.014-32 63.181-32 112-0 46.157 10.934 83.389 32 110s47.28 40 80 40c26.445 0 48.8-8.454 66-24 17.2-15.539 28.604-37.987 36-70l-48-20c-4.146 21.478-10.476 37.997-20 48-9.525 10.016-20.778 16-34 16-17.929 0-32.795-8.262-44-24s-18-42.918-18-80c-0-34.95 6.626-60.397 18-76 11.373-15.61 25.735-22 44-22 13.222 0 24.755 3.2 34 12 9.244 8.806 15.087 20.794 18 36l50-14c-5.603-23.475-14.795-41.462-26-54-18.825-21.21-43.858-32-74-32zM340 710v292h46v-190l100 190h50v-292h-46v196l-102-196h-48zM588 710v292h188v-48h-138v-80h124v-50h-124v-64h134v-50h-184z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-cluster-nec" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 366, - "id": 229, - "prevSize": 16, - "code": 59716, - "name": "it-cluster-nec" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 68 - }, - { - "icon": { - "paths": [ - "M86 4v80h268v324h140v92h-208v-346h-286v874h286v-388h208v34h286v-520h-286v172h-80v-322zM580 4v80h264v590h60v-670zM856.41 723.241c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28s-12 24.003-12 38c0 21.754 9.125 40.877 26 56 12 10.752 32.25 20.627 62 28 23.125 5.728 39.5 9.76 46 12 9.5 3.373 16.188 7.456 20 12 3.812 4.563 4 9.504 4 16-0 10.125-2.938 18.435-12 26s-24.125 12-42 12c-16.875 0-30.063-5.501-40-14s-16.75-21.875-20-40l-54 6c3.625 30.752 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.312 60-10s29.25-16.253 38-30c8.75-13.747 12-28.25 12-44-0-17.376-2.688-32.186-10-44s-19.063-21.19-32-28c-12.938-6.816-33-13.6-60-20-27-6.374-43-12.112-50-18-5.5-4.627-8-11.504-8-18-0-7.13 2.125-11.776 8-16 9.125-6.611 21.875-10 38-10 15.625 0 28.187 3.792 36 10 7.812 6.189 11.625 15.875 14 30l56-2c-0.875-25.248-10.563-46.877-28-62s-43.5-22-78-22zM423.783 717.518v276h50v-180l112 180h56v-276h-52v184l-112-184z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-cluster-ns" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 367, - "id": 228, - "prevSize": 16, - "code": 59717, - "name": "it-cluster-ns" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 69 - }, - { - "icon": { - "paths": [ - "M86 0v80h268v324h140v92h-208v-345.997h-286v873.997h286v-388h208v34.003h286v-520h-286v172h-80v-322.003zM580 0v80h264v590.003h60v-670.003zM483.586 734.24v276h56v-120h108v120h56v-276h-56v108h-108v-108zM806.959 734.24v276h56v-104h36c25.125 0 44.75-1.408 58-3.968 9.75-2.112 18.562-7.437 28-13.997 9.437-6.566 17.875-14.502 24-26.003 6.125-11.494 8-25.12 8-41.997-0-21.875-5.375-40.192-16-54.003s-22.25-23.904-38-28c-10.25-2.688-32.25-3.968-66-3.968zM862.959 782.24h26c20 0 33.375 0.704 40 1.984 9 1.6 16.125 5.504 22 12 5.875 6.502 10 14.003 10 24 0 8.128-1.812 15.853-6 21.997s-10.625 9.12-18 12c-7.375 2.88-22.125 6.016-44 6.016h-30z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-cluster-sg" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 368, - "id": 227, - "prevSize": 16, - "code": 59718, - "name": "it-cluster-sg" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 70 - }, - { - "icon": { - "paths": [ - "M514 0c-282.77 0-512 99.331-512 222s229.23 222 512 222c282.77 0 512-99.331 512-222 0-1.383 0.058-2.623 0-4-0.029-0.688 0.043-1.313 0-2-7.57-119.802-234.011-216-512-216zM0 228v138c1.854 20.829 4 44.253 4 54 0 122.669 229.23 222 512 222s512-99.331 512-222v-148c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44zM0 444v130c1.854 20.829 4 44.253 4 54 0 122.669 229.23 222 512 222s512-99.331 512-222v-140c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44zM0 652v138c0.439 3.52 2 9.51 2 12 0 122.669 229.23 222 512 222s512-99.331 512-222c0-2.24 1.483-8.499 2-12v-94c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-database" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 369, - "id": 226, - "prevSize": 16, - "code": 59719, - "name": "it-database" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 71 - }, - { - "icon": { - "paths": [ - "M514 0c-282.77 0-512 99.331-512 222s229.23 222 512 222c282.77 0 512-99.331 512-222 0-1.383 0.058-2.623 0-4-0.029-0.688 0.043-1.313 0-2-7.57-119.802-234.011-216-512-216zM0 228v138c1.854 20.829 4 44.253 4 54 0 122.669 229.23 222 512 222s512-99.331 512-222v-148c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44zM0 444v130c1.854 20.829 4 44.253 4 54 0 17.453 5.225 33.711 14 50h238c-150.238-38.674-252-108.698-252-190 0-7.227-2.795-30.407-4-44zM1028 488c0 81.302-101.762 151.326-252 190h238c8.775-16.289 14-32.547 14-50v-140zM0 652v26h2c-0.917-9.45-1.289-17.978-2-26zM114 716c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28-7.938 12.192-12 26.003-12 40-0 21.747 9.125 38.87 26 54 12 10.746 32.25 20.621 62 28 23.125 5.728 37.5 9.76 44 12 9.5 3.373 16.187 7.456 20 12 3.812 4.563 6 9.498 6 16-0 10.125-4.938 20.442-14 28-9.063 7.571-22.125 10-40 10-16.875 0-30.063-3.494-40-12-9.938-8.499-16.75-21.875-20-40l-54 6c3.625 30.746 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.318 60-10 16-6.688 27.25-18.246 36-32 8.75-13.747 14-28.25 14-44-0-17.37-4.688-32.192-12-44-7.313-11.814-17.063-21.184-30-28-12.938-6.81-33-13.6-60-20-27-6.381-43-12.112-50-18-5.5-4.621-8-9.498-8-16-0-7.123 2.125-13.776 8-18 9.125-6.611 21.875-10 38-10 15.625 0 26.187 3.792 34 10 7.812 6.189 13.625 15.875 16 30l56-2c-0.875-25.248-10.563-44.87-28-60-17.438-15.123-43.5-24-78-24zM398 716c-41.125 0-74 13.066-98 38-24 24.941-36 61.123-36 106-0 44.998 12.062 79.123 36 104 23.937 24.87 55.75 38 98 38 21.875 0 42-4.128 60-12 22.875 15.373 36.25 23.104 38 24 8 4.365 15.625 7.504 24 10l20-40c-16-5.754-30.375-12.253-44-22 11-12.877 19-26.253 24-40 6.625-18.003 10-38.25 10-62-0-44.877-12.125-81.059-36-106-23.875-24.934-55.25-38-96-38zM904 716c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28-7.938 12.192-12 26.003-12 40 0 21.747 9.125 38.87 26 54 12 10.746 32.25 20.621 62 28 23.125 5.728 37.5 9.76 44 12 9.5 3.373 16.188 7.456 20 12 3.812 4.563 6 9.498 6 16-0 10.125-4.938 20.442-14 28-9.063 7.571-22.125 10-40 10-16.875 0-30.063-3.494-40-12-9.938-8.499-16.75-21.875-20-40l-54 6c3.625 30.746 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.318 60-10 16-6.688 27.25-18.246 36-32 8.75-13.747 14-28.25 14-44-0-17.37-4.688-32.192-12-44-7.313-11.814-17.063-21.184-30-28-12.938-6.81-33-13.6-60-20-27-6.381-43-12.112-50-18-5.5-4.621-10-9.498-10-16-0-7.123 4.125-13.776 10-18 9.125-6.611 21.875-10 38-10 15.625 0 26.187 3.792 34 10 7.812 6.189 13.625 15.875 16 30l56-2c-0.875-25.248-10.563-44.87-28-60-17.438-15.123-43.5-24-78-24zM574 724v272h194v-46h-138v-226h-56zM396 764c22.625 0 42 8.314 56 24 14 15.693 20 40.25 20 72-0 15.373-0.438 28.128-4 40-3.563 11.878-8.875 21.629-16 30-16.625-12.499-35.75-21.728-54-28l-14 32c11.625 4.128 22.75 10.627 34 18-7.125 2.624-14 4-22 4-21.5 0-39.938-8.064-54-24s-22-39.878-22-72c-0-31.629 7.937-56.25 22-72s31.375-24 54-24z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-database-mssql" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 370, - "id": 225, - "prevSize": 16, - "code": 59720, - "name": "it-database-mssql" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 72 - }, - { - "icon": { - "paths": [ - "M514 0c-282.77 0-512 99.331-512 222s229.23 222 512 222c282.77 0 512-99.331 512-222 0-1.383 0.058-2.623 0-4-0.029-0.688 0.043-1.313 0-2-7.57-119.802-234.011-216-512-216zM0 228v138c1.854 20.829 4 44.253 4 54 0 122.669 229.23 222 512 222s512-99.331 512-222v-148c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44zM0 444v130c1.854 20.829 4 44.253 4 54 0 17.453 5.225 33.711 14 50h238c-150.238-38.674-252-108.698-252-190 0-7.227-2.795-30.407-4-44zM1028 488c0 81.302-101.762 151.326-252 190h238c8.775-16.289 14-32.547 14-50zM0 652v26h2c-0.917-9.45-1.289-17.978-2-26zM140 716c-22.375 0-42.875 4.749-60 12-12.875 5.376-23.188 12.877-34 24s-19.75 23.997-26 38c-8.375 18.995-14 42-14 70-0 43.75 13.875 79.059 38 104 24.125 24.934 55.125 38 96 38 40.375 0 73.875-12.938 98-38s36-59.622 36-104c-0-44.749-11.688-80.874-36-106s-57.5-38-98-38zM714 716c-38.5 0-70.375 12.688-94 38s-36 62.253-36 108c-0 43.251 12.5 77.059 36 102 23.5 24.934 53.5 38 90 38 29.5 0 52.812-7.44 72-22 19.187-14.566 33.75-37.997 42-68l-54-16c-4.625 20.128-11.375 34.624-22 44-10.625 9.389-23.25 14.006-38 14-20 0.006-37.5-7.248-50-22-12.5-14.746-18-39.248-18-74-0-32.749 5.313-57.37 18-72 12.687-14.624 29.625-22 50-22 14.75 0 27.687 3.75 38 12s16.75 19.747 20 34l56-12c-6.25-22.003-17.5-40.25-30-52-21-19.878-46.375-30-80-30zM316 722v274h56v-114h12c12.75 0 22.125-0.048 28 2 5.875 2.061 10.75 6.432 16 12 5.25 5.562 15.75 18.63 30 40l40 60h66l-34-54c-13.25-21.376-24.188-35.629-32-44-7.813-8.378-16-14.998-28-22 24.125-3.501 41.875-12.56 54-26 12.125-13.434 18-31.373 18-52-0-16.25-4-29.373-12-42-8-12.621-18.688-23.072-32-28-13.313-4.909-34.625-6-64-6zM874 724v272h146.652v-46h-92.652v-226zM140 764c22.875 0 42.187 8.506 56 24 13.812 15.501 20 38.499 20 70-0 31.878-7.813 56.064-22 72s-31.875 24.006-54 24c-22.125 0.006-39.625-7.936-54-24s-22-40.87-22-72c-0-31.622 8-54.307 22-70 14-15.686 31.125-24 54-24zM372 768h44c22.5 0 35.5-0.64 40 0 9 1.498 17.062 6.304 22 12 4.937 5.683 6 12.746 6 22-0 8.25-2.25 14.496-6 20-3.75 5.485-7.375 9.76-14 12s-23.375 4-50 4h-42z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-database-oracle" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 371, - "id": 224, - "prevSize": 16, - "code": 59721, - "name": "it-database-oracle" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 73 - }, - { - "icon": { - "paths": [ - "M514 0c-282.77 0-512 99.331-512 222s229.23 222 512 222c282.77 0 512-99.331 512-222 0-1.383 0.058-2.623 0-4-0.029-0.688 0.043-1.313 0-2-7.57-119.802-234.011-216-512-216zM0 228v138c1.854 20.829 4 44.253 4 54 0 122.669 229.23 222 512 222s512-99.331 512-222v-148c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44zM0 444v130c1.854 20.829 4 44.253 4 54 0 17.453 5.225 33.711 14 50h238c-150.238-38.674-252-108.698-252-190 0-7.227-2.795-30.407-4-44zM1028 488c0 81.302-101.762 151.326-252 190h238c8.775-16.289 14-32.547 14-50v-140zM0 652v26h2c-0.917-9.45-1.289-17.978-2-26zM114 716c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28-7.938 12.192-12 26.003-12 40-0 21.747 9.125 38.87 26 54 12 10.746 32.25 20.621 62 28 23.125 5.728 37.5 9.76 44 12 9.5 3.373 16.187 7.456 20 12 3.812 4.563 6 9.498 6 16-0 10.125-4.938 20.442-14 28-9.063 7.571-22.125 10-40 10-16.875 0-30.063-3.494-40-12-9.938-8.499-16.75-21.875-20-40l-54 6c3.625 30.746 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.318 60-10 16-6.688 27.25-18.246 36-32 8.75-13.747 14-28.25 14-44-0-17.37-4.688-32.192-12-44-7.313-11.814-17.063-21.184-30-28-12.938-6.81-33-13.6-60-20-27-6.381-43-12.112-50-18-5.5-4.621-8-9.498-8-16-0-7.123 2.125-13.776 8-18 9.125-6.611 21.875-10 38-10 15.625 0 26.187 3.792 34 10 7.812 6.189 13.625 15.875 16 30l56-2c-0.875-25.248-10.563-44.87-28-60-17.438-15.123-43.5-24-78-24zM904 716c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28-7.938 12.192-12 26.003-12 40-0 21.747 9.125 38.87 26 54 12 10.746 32.25 20.621 62 28 23.125 5.728 37.5 9.76 44 12 9.5 3.373 16.188 7.456 20 12 3.812 4.563 6 9.498 6 16-0 10.125-2.938 20.442-12 28-9.063 7.571-24.125 10-42 10-16.875 0-30.063-3.494-40-12-9.938-8.499-16.75-21.875-20-40l-54 6c3.625 30.746 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.318 60-10 16-6.688 27.25-18.246 36-32 8.75-13.747 14-28.25 14-44-0-17.37-2.688-32.192-10-44-7.313-11.814-19.063-21.184-32-28-12.938-6.81-33-13.6-60-20-27-6.381-43-12.112-50-18-5.5-4.621-8-9.498-8-16-0-7.123 2.125-13.776 8-18 9.125-6.611 21.875-10 38-10 15.625 0 28.187 3.792 36 10 7.812 6.189 11.625 15.875 14 30l56-2c-0.876-25.248-10.563-44.87-28-60-17.438-15.123-43.5-24-78-24zM246 722l100 158v116h56v-114l102-160h-64l-64 108-64-108h-66zM532 722v274h92c35.375-0.256 58.75-0.976 68-2 14.75-1.626 27.937-4.934 38-12 10.062-7.059 16.188-16.186 22-28 5.812-11.808 10-25.501 10-38-0-15.872-5-28.25-14-40s-21.25-21.136-38-26c11.875-5.376 21.062-13.254 28-24 6.937-10.752 10-23.13 10-36-0-11.878-2.375-22.438-8-32s-13.563-16.24-22-22c-8.438-5.773-17.313-10.208-28-12-10.688-1.856-26.25-2-48-2h-110zM586 768h32c26.125 0 42.5-0.64 48 0 9.25 1.126 17.312 4.688 22 10s6 11.501 6 20c-0 8.877-2.563 16.56-8 22-5.437 5.434-12.5 8.848-22 10-5.25 0.96-18.375 0-40 0h-38v-62zM586 876h46c25.25 0 40.437 1.376 48 4s14 8.24 18 14c4 5.747 6 11.75 6 20-0 9.747-2.813 18.176-8 24-5.188 5.85-11.75 8.528-20 10-5.375 1.024-18 2-38 2h-52v-74z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-database-sybase" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 372, - "id": 223, - "prevSize": 16, - "code": 59722, - "name": "it-database-sybase" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 74 - }, - { - "icon": { - "paths": [ - "M514 0c-282.77 0-512 99.331-512 222s229.23 222 512 222c282.77 0 512-99.331 512-222 0-1.383 0.058-2.623 0-4-0.029-0.688 0.043-1.313 0-2-7.57-119.802-234.011-216-512-216zM576 72c40.75 0 74.125 13.059 98 38 23.875 24.934 36 59.13 36 104-0 23.75-3.375 44.003-10 62-5 13.754-13 27.123-24 40 13.625 9.747 28 18.253 44 24l-20 40c-8.375-2.496-18-7.642-26-12-1.75-0.896-13.125-8.627-36-24-18 7.872-38.125 12-60 12-42.25 0-76.063-13.123-100-38s-36-59.002-36-104c-0-44.87 12-79.066 36-104 24-24.941 56.875-38 98-38zM346 76h56v276h-56v-276zM560 120c-15.363 2.954-27.453 12.187-38 24-14.063 15.75-22 38.378-22 70-0 32.128 7.937 56.064 22 72s30.5 24 52 24c8 0 16.875-1.376 24-4-11.25-7.373-24.375-13.878-36-18l16-30c18.25 6.272 35.375 15.501 52 28 7.125-8.378 12.437-20.128 16-32 3.562-11.878 5.999-24.621 6-40-0-31.75-6-56.314-20-72s-33.375-22-56-22c-5.656 0-10.879-0.985-16 0zM0 228v138c1.854 20.829 4 44.253 4 54 0 122.669 229.23 222 512 222s512-99.331 512-222v-148c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44zM0 444v130c1.854 20.829 4 44.253 4 54 0 17.453 5.225 33.711 14 50h238c-150.238-38.674-252-108.698-252-190 0-7.227-2.795-30.407-4-44zM1028 488c0 81.302-101.762 151.326-252 190h238c8.775-16.289 14-32.547 14-50v-140zM0 652v26h2c-0.917-9.45-1.289-17.978-2-26zM114 716c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28-7.938 12.192-12 26.003-12 40-0 21.747 9.125 38.87 26 54 12 10.746 32.25 20.621 62 28 23.125 5.728 37.5 9.76 44 12 9.5 3.373 16.187 7.456 20 12 3.812 4.563 6 9.498 6 16-0 10.125-4.938 20.442-14 28-9.063 7.571-22.125 10-40 10-16.875 0-30.063-3.494-40-12-9.938-8.499-16.75-21.875-20-40l-54 6c3.625 30.746 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.318 60-10 16-6.688 27.25-18.246 36-32 8.75-13.747 14-28.25 14-44-0-17.37-4.688-32.192-12-44-7.313-11.814-17.063-21.184-30-28-12.938-6.81-33-13.6-60-20-27-6.381-43-12.112-50-18-5.5-4.621-8-9.498-8-16-0-7.123 2.125-13.776 8-18 9.125-6.611 21.875-10 38-10 15.625 0 26.187 3.792 34 10 7.812 6.189 13.625 15.875 16 30l56-2c-0.875-25.248-10.563-44.87-28-60-17.438-15.123-43.5-24-78-24zM904 716c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28-7.938 12.192-12 26.003-12 40-0 21.747 9.125 38.87 26 54 12 10.746 32.25 20.621 62 28 23.125 5.728 37.5 9.76 44 12 9.5 3.373 16.188 7.456 20 12 3.812 4.563 6 9.498 6 16-0 10.125-2.938 20.442-12 28-9.063 7.571-24.125 10-42 10-16.875 0-30.063-3.494-40-12-9.938-8.499-16.75-21.875-20-40l-54 6c3.625 30.746 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.318 60-10 16-6.688 27.25-18.246 36-32 8.75-13.747 14-28.25 14-44-0-17.37-2.688-32.192-10-44-7.313-11.814-19.063-21.184-32-28-12.938-6.81-33-13.6-60-20-27-6.381-43-12.112-50-18-5.5-4.621-8-9.498-8-16-0-7.123 2.125-13.776 8-18 9.125-6.611 21.875-10 38-10 15.625 0 28.187 3.792 36 10 7.812 6.189 11.625 15.875 14 30l56-2c-0.876-25.248-10.563-44.87-28-60-17.438-15.123-43.5-24-78-24zM246 722l100 158v116h56v-114l102-160h-64l-64 108-64-108h-66zM532 722v274h92c35.375-0.256 58.75-0.976 68-2 14.75-1.626 27.937-4.934 38-12 10.062-7.059 16.188-16.186 22-28 5.812-11.808 10-25.501 10-38-0-15.872-5-28.25-14-40s-21.25-21.136-38-26c11.875-5.376 21.062-13.254 28-24 6.937-10.752 10-23.13 10-36-0-11.878-2.375-22.438-8-32s-13.563-16.24-22-22c-8.438-5.773-17.313-10.208-28-12-10.688-1.856-26.25-2-48-2h-110zM586 768h32c26.125 0 42.5-0.64 48 0 9.25 1.126 17.312 4.688 22 10s6 11.501 6 20c-0 8.877-2.563 16.56-8 22-5.437 5.434-12.5 8.848-22 10-5.25 0.96-18.375 0-40 0h-38v-62zM586 876h46c25.25 0 40.437 1.376 48 4s14 8.24 18 14c4 5.747 6 11.75 6 20-0 9.747-2.813 18.176-8 24-5.188 5.85-11.75 8.528-20 10-5.375 1.024-18 2-38 2h-52v-74z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-database-sybaseiq" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 373, - "id": 222, - "prevSize": 16, - "code": 59723, - "name": "it-database-sybaseiq" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 75 - }, - { - "icon": { - "paths": [ - "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM0 605.772v320h110c21.777 0 40.987-1.48 54-6 17.395-6.125 29.775-15.063 40-26 13.544-14.438 24.696-34.667 32-58 5.975-19.104 8-41.604 8-68-0-30.041-1.626-55.51-8-76s-15.784-37.854-28-52c-12.217-14.146-26.87-22.458-44-28-12.748-4.083-31.7-6-56-6zM294 605.772v320h224v-54h-164v-88h146v-54h-146v-70h158v-54zM570 607.772v318h204v-54h-146v-264zM818 607.772v318h206v-54h-146v-264zM58 659.772h28c24.035 0 39.767-0.041 48 2 11.021 2.625 20.829 8.563 28 16s12.016 16.729 16 30c3.983 13.271 6 33.209 6 58s-2.017 43.636-6 58c-3.984 14.365-9.693 25.729-16 32s-14.439 9.375-24 12c-7.304 2.042-19.534 4-36 4h-44z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-diskraid-dellmd" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 374, - "id": 221, - "prevSize": 16, - "code": 59724, - "name": "it-diskraid-dellmd" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 76 - }, - { - "icon": { - "paths": [ - "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM854 613.898c-44.917 0-82.438 14.469-110 44s-40 72.625-40 126c-0 50.458 12.583 88.906 40 118s63.417 44 106 44c34.416 0 61.614-9.010 84-26s38.375-43 48-78l-62-20c-5.396 23.479-15.604 41.063-28 52s-26.792 16-44 16c-23.334 0-41.417-8.792-56-26s-22-45.458-22-86c-0-38.208 7.198-64.937 22-82s34.229-26 58-26c17.208 0 31.969 4.375 44 14s20.208 23.375 24 40l64-16c-7.292-25.666-19.417-44.291-34-58-24.5-23.187-54.771-36-94-36zM42 619.898v320h244v-54h-180v-86h162v-54h-162v-72h174v-54zM340 619.898v320h60v-252l64 252h62l64-252v252h60v-320h-98l-56 218-60-218z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-diskraid-emc" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 375, - "id": 220, - "prevSize": 16, - "code": 59725, - "name": "it-diskraid-emc" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 77 - }, - { - "icon": { - "paths": [ - "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM906 622.576c-22.115 0-42.363 4.563-58 12s-27.691 17.781-36 32c-8.309 14.219-12 29.667-12 46 0 25.375 8.335 46.354 26 64 12.562 12.542 34.857 23.396 66 32 24.208 6.708 41.195 11.375 48 14 9.945 3.937 16.009 8.677 20 14s6 12.417 6 20c-0 11.813-4.513 21.177-14 30s-23.288 14-42 14c-17.665 0-31.597-6.083-42-16s-18.598-24.854-22-46l-56 6c3.795 35.875 14.503 63.26 34 82s47.622 28 84 28c24.993 0 47.25-4.198 64-12s28.84-19.958 38-36c9.159-16.042 14-33.625 14-52-0-20.271-4.346-36.219-12-50s-18.457-24.052-32-32c-13.544-7.948-33.736-16.562-62-24s-46.672-15.146-54-22c-5.758-5.396-8-10.416-8-18-0-8.312 3.85-15.041 10-20 9.552-7.729 21.12-12 38-12 16.357 0 29.821 2.781 38 10s13.514 19.521 16 36l58-2c-0.916-29.458-9.746-54.354-28-72s-45.884-26-82-26zM0 628.576v320h218v-54h-160v-88h144v-54h-144v-70h156v-54zM248 628.576v54h86v266h58v-266h84v-54zM514 628.576v320h54v-208l116 208h60v-320h-54v214l-118-214z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-diskraid-eternus" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 376, - "id": 219, - "prevSize": 16, - "code": 59726, - "name": "it-diskraid-eternus" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 78 - }, - { - "icon": { - "paths": [ - "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106h-832zM76 74h872v420h-872v-420zM128 148v132h338v-132h-338zM546 148v132h338v-132h-338zM126 326v130h338v-130h-338zM546 326v130h338v-130h-338zM216 620v322h72v-136h134v-54h-134v-76h154v-56h-226zM728 620v208c-0 25.958-2.021 43.761-8 52-5.663 7.804-14.751 11.587-28 12-12.099-1.212-21.741-7.699-28-18-4.667-7.583-7.271-19.625-8-38h-6l-62 6c0.146 34.271 8.937 60.281 26 78 14.335 14.887 33.371 23.621 58 26 6.9 1.241 14.089 2 22 2 26.979 0 49.521-6.698 66-18s27.729-25.333 34-44c4.667-14.292 6-35.458 6-62v-204h-72z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-diskraid-fujitsu" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 377, - "id": 218, - "prevSize": 16, - "code": 59727, - "name": "it-diskraid-fujitsu" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 79 - }, - { - "icon": { - "paths": [ - "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM826 618.237c-24.646 0-46.573 4.563-64 12s-30.74 17.782-40 32c-9.26 14.219-14 29.667-14 46-0 25.375 10.312 46.354 30 64 14 12.542 39.292 23.396 74 32 26.979 6.708 44.417 11.375 52 14 11.083 3.937 17.552 8.677 22 14s8 12.417 8 20c-0 11.813-5.427 21.177-16 30s-27.146 14-48 14c-19.688 0-34.406-6.083-46-16s-20.209-24.854-24-46l-62 6c4.229 35.875 16.271 63.26 38 82s53.458 28 94 28c27.854 0 51.333-4.198 70-12s31.791-19.958 42-36c10.208-16.042 16-33.625 16-52-0-20.271-3.469-36.219-12-50s-20.906-24.052-36-32c-15.094-7.948-38.5-16.562-70-24s-51.833-15.146-60-22c-6.417-5.396-10-10.416-10-18-0-8.312 3.146-15.041 10-20 10.646-7.729 27.187-12 46-12 18.229 0 30.885 2.781 40 10s15.229 19.521 18 36l64-2c-1.021-29.458-11.657-54.354-32-72s-49.75-26-90-26zM66 624.237v320h64v-140h128v140h64v-320h-64v126h-128v-126zM390 624.237v320h122c23.916 0 41.708-1.479 56-6 19.104-6.125 34.771-15.062 46-26 14.875-14.437 25.979-32.667 34-56 6.562-19.104 10-41.604 10-68-0-30.041-3-55.51-10-76s-16.584-37.854-30-52c-13.417-14.146-31.188-24.458-50-30-14-4.083-33.313-6-60-6zM454 678.237h30c26.396 0 42.958-0.042 52 2 12.104 2.625 22.125 8.563 30 16s13.625 18.729 18 32c4.375 13.271 8 31.209 8 56s-3.625 43.636-8 58c-4.375 14.365-9.073 25.729-16 32s-15.5 11.375-26 14c-8.021 2.042-21.99 0.371-40 2h-48z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-diskraid-hds" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 378, - "id": 217, - "prevSize": 16, - "code": 59728, - "name": "it-diskraid-hds" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 80 - }, - { - "icon": { - "paths": [ - "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM732 617.593c-24.727 0-45.075 5.071-64 14-14.229 6.62-28.051 16.298-40 30s-21.093 28.757-28 46c-9.255 23.401-14 51.514-14 86-0 53.884 13.339 97.286 40 128s62.828 46 108 46c44.619 0 79.339-15.132 106-46s40-73.346 40-128c-0-55.115-13.132-99.055-40-130s-63.243-46-108-46zM262 623.593l-118 338h64l26-76h120l28 76h66l-122-338zM480 623.593v60h58v-60zM734 675.593c25.28 0 44.735 8.91 60 28s24 49.204 24 88c-0 39.258-8.321 68.371-24 88s-35.549 30-60 30c-24.451 0-44.114-10.217-60-30s-24-49.665-24-88c-0-38.95 6.528-66.678 22-86s36.72-30 62-30zM294 701.593l42 126h-84zM480 715.593v246h58v-246z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-diskraid-hpaio" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 379, - "id": 216, - "prevSize": 16, - "code": 59729, - "name": "it-diskraid-hpaio" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 81 - }, - { - "icon": { - "paths": [ - "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM516 617.593c-23.346 0-41.492 4.148-58 12s-29.228 18.99-38 34c-8.772 15.011-14 30.757-14 48-0 26.788 9.351 49.372 28 68 13.261 13.24 37.122 24.917 70 34 25.556 7.082 40.817 11.229 48 14 10.499 4.157 17.787 10.381 22 16s6 11.994 6 20c-0 12.47-3.985 22.686-14 32s-24.246 14-44 14c-18.649 0-35.018-5.531-46-16s-18.408-25.677-22-48l-58 6c4.006 37.873 15.417 66.217 36 86s49.597 30 88 30c26.385 0 48.318-3.763 66-12s32.33-21.065 42-38c9.669-16.935 14-34.602 14-54-0-21.399-3.919-39.451-12-54s-19.703-25.609-34-34c-14.298-8.39-36.162-18.148-66-26s-48.264-14.764-56-22c-6.078-5.696-10-11.994-10-20-0-8.775 3.507-16.765 10-22 10.084-8.159 24.18-12 42-12 17.267 0 31.366 4.38 40 12s13.375 20.604 16 38l62-4c-0.967-31.098-10.73-55.371-30-74s-49.873-28-88-28zM56 623.593v338h56v-266l62 266h58l60-266v266h58v-338h-92l-56 230-54-230zM782 623.593l-118 338h64l26-76h120l28 76h66l-122-338zM814 701.593l42 126h-84z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-diskraid-hpmsa" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 380, - "id": 215, - "prevSize": 16, - "code": 59730, - "name": "it-diskraid-hpmsa" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 82 - }, - { - "icon": { - "paths": [ - "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM152 625.254v338h62v-338zM272 625.254v338h104c39.094-0.307 63.777-0.769 74-2 16.3-2.001 28.879-7.302 40-16s21.576-21.451 28-36c6.423-14.549 8-28.604 8-44-0-19.552-4.054-37.528-14-52s-23.489-23.996-42-30c13.123-6.62 22.333-16.76 30-30s12-28.142 12-44c-0-14.625-3.784-26.222-10-38s-12.676-22.918-22-30c-9.325-7.082-20.189-11.768-32-14s-29.964-2-54-2zM578 625.254v338h56v-266l62 266h58l60-266v266h58v-338h-92l-56 230-54-230zM334 681.254h34c28.871 0 47.922-0.769 54 0 10.222 1.386 16.82 5.457 22 12s8 15.531 8 26c-0 10.931-1.991 19.303-8 26s-15.501 10.615-26 12c-5.802 0.769-20.102 2-44 2h-40zM334 815.254h50c27.904 0 45.642 2.767 54 6s13.579 6.918 18 14c4.42 7.082 8 15.839 8 26-0 12.009-4.267 22.841-10 30s-12.883 10.153-22 12c-5.94 1.386-19.898 2-42 2h-56z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-diskraid-ibm" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 381, - "id": 214, - "prevSize": 16, - "code": 59731, - "name": "it-diskraid-ibm" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 83 - }, - { - "icon": { - "paths": [ - "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM338 610.576c-23.346 0-43.492 4.148-60 12s-29.228 18.99-38 34c-8.772 15.011-12 30.757-12 48-0 26.788 9.351 49.372 28 68 13.261 13.24 35.122 24.917 68 34 25.556 7.082 42.817 11.229 50 14 10.499 4.157 17.787 10.38 22 16s6 11.994 6 20c-0 12.47-5.985 22.686-16 32s-24.246 14-44 14c-18.649 0-33.018-5.531-44-16s-18.408-25.677-22-48l-60 6c4.006 37.873 17.417 66.217 38 86s49.597 30 88 30c26.385 0 48.318-3.763 66-12s30.33-21.065 40-38c9.67-16.935 16-34.602 16-54-0-21.399-3.919-39.451-12-54s-19.703-25.609-34-34c-14.298-8.39-36.162-18.148-66-26s-50.264-14.764-58-22c-6.078-5.696-8-11.994-8-20-0-8.775 3.507-16.765 10-22 10.084-8.159 24.18-12 42-12 17.267 0 29.366 4.38 38 12s15.375 20.604 18 38l60-4c-0.967-31.098-10.73-55.371-30-74s-47.873-28-86-28zM514 616.576v338h58v-266l60 266h58l60-266v266h58v-338h-92l-54 230-56-230z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-diskraid-ibmsm" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 382, - "id": 213, - "prevSize": 16, - "code": 59732, - "name": "it-diskraid-ibmsm" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 84 - }, - { - "icon": { - "paths": [ - "M545.978 325.073h338.060v129.629h-338.060v-129.629z", - "M545.978 147.596h338.060v131.631h-338.060v-131.631z", - "M126.045 325.073h337.967v129.629h-337.967v-129.629z", - "M128.047 147.596h337.967v131.631h-337.967v-131.631z", - "M928.023 0h-832c-53.434 0-96.023 46.732-96.023 105.705v353.001c0 58.973 42.589 107.706 96.023 107.706h832.047c53.341 0 95.977-48.733 95.977-107.706v-353.001c-0.047-58.973-42.636-105.705-96.023-105.705zM948.038 492.637h-872.029v-418.863h872.029v418.863z", - "M326.051 844.102c-7.68 22.481-13.405 39.657-17.036 51.293-3.212-10.519-8.332-26.298-15.267-47.383l-75.916-226.444h-63.907v319.814h40.913v-272.244l92.719 272.244h38.353l93.091-267.636v267.636h40.96v-319.814h-57.065l-76.847 222.534z", - "M838.982 772.934c-12.753-5.818-36.399-12.614-70.889-20.387-34.444-7.82-55.808-15.407-63.953-22.807-8.378-7.401-12.521-16.849-12.521-28.346 0-13.219 5.818-24.529 17.594-33.932 11.729-9.402 30.394-14.103 56.087-14.103 24.623 0 43.241 5.167 55.855 15.453 12.66 10.38 20.061 25.6 22.202 45.894l40.774-3.119c-0.791-18.665-5.958-35.561-15.732-50.362-9.821-14.801-23.785-26.065-41.937-33.745-18.153-7.587-39.098-11.404-62.883-11.404-21.597 0-41.239 3.631-58.833 10.845-17.641 7.261-31.139 17.92-40.262 31.977-9.216 14.010-13.777 29.091-13.777 45.335 0 14.615 3.77 27.927 11.217 39.75 7.494 11.823 18.944 21.783 34.211 29.789 11.823 6.237 32.396 12.893 61.952 19.968 29.463 7.028 48.454 12.288 57.111 15.593 13.405 5.12 23.040 11.404 28.858 18.851 5.818 7.494 8.751 16.291 8.751 26.298 0 9.914-2.979 18.991-9.030 27.369-6.097 8.332-15.313 14.941-27.695 19.735-12.428 4.841-26.717 7.168-42.915 7.168-18.246 0-34.583-3.119-49.199-9.449-14.615-6.284-25.414-14.569-32.256-24.855-6.935-10.24-11.311-23.366-13.219-39.331l-39.983 3.491c0.559 21.318 6.377 40.495 17.594 57.437 11.124 16.943 26.438 29.603 46.127 37.981 19.596 8.471 43.892 12.66 72.89 12.66 22.993 0 43.567-4.236 61.812-12.614 18.339-8.378 32.349-20.061 42.124-35.095s14.662-31.046 14.662-48.035c0-17.175-4.515-32.396-13.359-45.521-8.844-13.033-22.668-23.831-41.379-32.489z" - ], - "attrs": [ - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - } - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-diskraid-macrosan" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [ - 4, - 4, - 4, - 4, - 4, - 4, - 4 - ] - } - }, - "attrs": [ - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - } - ], - "properties": { - "order": 383, - "id": 212, - "prevSize": 16, - "code": 59733, - "name": "it-diskraid-macrosan" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 85 - }, - { - "icon": { - "paths": [ - "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM222 616.576v338h56v-220l124 220h60v-338h-56v226l-124-226zM616 616.576l-118 338h64l26-76h120l28 76h66l-122-338zM648 694.576l42 126h-84z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-diskraid-netapp" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 384, - "id": 211, - "prevSize": 16, - "code": 59734, - "name": "it-diskraid-netapp" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 86 - }, - { - "icon": { - "paths": [ - "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM210 614.915c-23.346 0-43.492 4.148-60 12s-29.228 18.99-38 34c-8.772 15.011-12 30.757-12 48-0 26.788 9.351 49.372 28 68 13.261 13.24 35.122 24.917 68 34 25.556 7.082 42.817 11.229 50 14 10.499 4.157 17.787 10.38 22 16s6 11.994 6 20c-0 12.47-5.985 22.686-16 32s-24.246 14-44 14c-18.649 0-33.018-5.531-44-16s-18.408-25.677-22-48l-60 6c4.006 37.873 17.417 66.217 38 86s49.597 30 88 30c26.385 0 48.318-3.763 66-12s30.33-21.065 40-38c9.67-16.935 16-34.602 16-54-0-21.399-3.919-39.451-12-54s-19.703-25.609-34-34c-14.298-8.39-36.162-18.148-66-26s-48.264-14.764-56-22c-6.078-5.696-10-11.994-10-20-0-8.775 3.507-16.765 10-22 10.084-8.159 24.18-12 42-12 17.267 0 29.366 4.38 38 12s15.375 20.604 18 38l60-4c-0.967-31.098-10.73-55.371-30-74s-47.873-28-86-28zM386 620.915v180c0 37.873 1.994 66.602 6 86 2.763 13.086 9.297 26.069 18 38s21.012 20.533 36 28c14.988 7.467 36.99 12 66 12 24.036 0 43.081-3.149 58-10s27.090-16.453 36-28c8.91-11.547 14.684-25.219 18-42s6-45.356 6-86v-178h-62v186c0 26.788-0.204 46.454-2 58s-7.159 22.071-16 30c-8.841 7.928-22.594 12-40 12-17.13 0-30.123-5.61-40-14s-17.375-18.144-20-32c-1.52-8.621-2-28.903-2-58v-182zM694 620.915v338h58v-220l122 220h62v-338h-58v226l-124-226z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-diskraid-sun" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 385, - "id": 210, - "prevSize": 16, - "code": 59735, - "name": "it-diskraid-sun" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 87 - }, - { - "icon": { - "paths": [ - "M0 0v176h242v-176h-242zM346 0v176h352v-176h-352zM800 0v176h224v-176h-224zM30 232v176h354v-176h-354zM488 232v176h352v-176h-352zM942 232v176h82v-176h-82zM0 462v178h256v-178h-256zM366 462v178h352v-178h-352zM822 462v178h202v-178h-202zM30 702v176h354v-176h-354zM488 702v176h352v-176h-352zM942 702v176h82v-176h-82zM0 934v90h242v-90h-242zM346 934v90h352v-90h-352zM800 934v90h224v-90h-224z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-firewall" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 386, - "id": 209, - "prevSize": 16, - "code": 59736, - "name": "it-firewall" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 88 - }, - { - "icon": { - "paths": [ - "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v112h352v-112h102v112h160v56h-18v176h18v490h-160v62h-102v-62h-352v62h-104v-62h-178v-490h320v-176h-320v-56h178v-112zM488 232v176h352v-176h-352zM380 478c-44.917 0-82.438 14.47-110 44s-40 72.624-40 126c0 50.458 12.583 88.906 40 118s63.417 44 106 44c34.417 0 61.614-9.008 84-26s38.375-42.998 48-78l-62-20c-5.396 23.482-13.604 41.062-26 52-12.396 10.963-26.792 16-44 16-23.333 0-43.417-8.79-58-26s-22-45.456-22-86c-0-38.208 7.198-64.938 22-82s34.229-26 58-26c17.208 0 31.969 4.374 44 14s20.208 23.373 24 40l64-16c-7.292-25.67-17.417-44.291-32-58-24.5-23.187-56.771-36-96-36zM564 484v320h66v-120h42c29.312 0 50.541-2.928 66-6 11.375-2.477 22.989-6.346 34-14 11.010-7.661 20.854-18.586 28-32 7.146-13.421 10-30.314 10-50-0-25.523-5.604-45.885-18-62s-27.625-27.2-46-32c-11.959-3.2-38.625-4-78-4h-104zM630 538h30c23.333 0 40.271 0.531 48 2 10.5 1.901 19.146 6.416 26 14s10 18.333 10 30c-0 9.478-3.115 16.858-8 24-4.886 7.149-11.396 12.672-20 16-8.604 3.392-26.479 6-52 6h-34v-92z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-firewall-checkpoint" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 387, - "id": 208, - "prevSize": 16, - "code": 59737, - "name": "it-firewall-checkpoint" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 89 - }, - { - "icon": { - "paths": [ - "M68 0c-37.964 0-68 30.272-68 68v888c0 37.728 30.036 68 68 68h894c37.964 0 68-30.272 68-68v-888c0-37.728-30.036-68-68-68h-894zM244 64h104v112h354v-112h102v112h162v56h-18v176h18v490h-162v62h-102v-62h-354v62h-104v-62h-180v-490h322v-176h-322v-56h180v-112zM492 232v176h354v-176h-354zM340 492c-44.917 0-82.438 14.47-110 44s-40 72.624-40 126c0 50.458 12.583 88.906 40 118s63.417 44 106 44c34.416 0 61.614-9.008 84-26s38.375-42.998 48-78l-62-20c-5.396 23.482-13.604 41.062-26 52-12.396 10.963-26.792 16-44 16-23.334 0-43.417-8.79-58-26s-22-45.456-22-86c-0-38.208 7.198-64.938 22-82s34.229-26 58-26c17.208 0 31.969 4.355 44 14 12.031 9.626 20.208 23.373 24 40l64-16c-7.292-25.67-17.417-44.291-32-58-24.5-23.187-56.771-36-96-36zM714 492c-44.917 0-82.438 14.47-110 44s-40 72.624-40 126c0 50.458 12.583 88.906 40 118s63.417 44 106 44c34.417 0 61.614-9.008 84-26s38.375-42.998 48-78l-62-20c-5.396 23.482-15.604 41.062-28 52-12.396 10.963-26.792 16-44 16-23.333 0-41.417-8.79-56-26s-22-45.456-22-86c-0-38.208 7.198-64.938 22-82s34.229-26 58-26c17.208 0 31.969 4.355 44 14 12.031 9.626 20.208 23.373 24 40l64-16c-7.292-25.67-19.417-44.291-34-58-24.5-23.187-54.771-36-94-36z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-firewall-cisco" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 388, - "id": 207, - "prevSize": 16, - "code": 59738, - "name": "it-firewall-cisco" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 90 - }, - { - "icon": { - "paths": [ - "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v112h352v-112h102v112h160v56h-18v176h18v490h-160v62h-102v-62h-352v62h-104v-62h-178v-490h320v-176h-320v-56h178v-112zM488 232v176h352v-176h-352zM266 478c-44.917 0-82.438 14.47-110 44s-40 72.624-40 126c0 50.458 12.583 88.906 40 118s63.417 44 106 44c34.417 0 61.614-9.008 84-26s38.375-42.998 48-78l-62-20c-5.396 23.482-13.604 41.062-26 52-12.396 10.963-26.792 16-44 16-23.333 0-43.417-8.79-58-26s-22-45.456-22-86c-0-38.208 7.198-64.938 22-82s34.229-26 58-26c17.208 0 31.969 4.374 44 14s20.208 23.373 24 40l64-16c-7.292-25.67-17.417-44.291-32-58-24.5-23.187-56.771-36-96-36zM768 478c-44.917 0-82.438 14.47-110 44s-40 72.624-40 126c0 50.458 12.583 88.906 40 118s63.417 44 106 44c34.417 0 61.614-9.008 84-26s38.375-42.998 48-78l-62-20c-5.396 23.482-13.604 41.062-26 52-12.396 10.963-26.792 16-44 16-23.333 0-43.417-8.79-58-26s-22-45.456-22-86c-0-38.208 7.198-64.938 22-82s34.229-26 58-26c17.208 0 31.969 4.374 44 14s20.208 23.373 24 40l64-16c-7.292-25.67-17.417-44.291-32-58-24.5-23.187-56.771-36-96-36zM420 594v96h150v-96h-150z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-firewall-cisco2" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 389, - "id": 206, - "prevSize": 16, - "code": 59739, - "name": "it-firewall-cisco2" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 91 - }, - { - "icon": { - "paths": [ - "M68 0c-37.964 0-68 30.272-68 68v888c0 37.728 30.036 68 68 68h894c37.964 0 68-30.272 68-68v-888c0-37.728-30.036-68-68-68h-894zM244 64h104v112h354v-112h102v112h162v56h-18v176h18v490h-162v62h-102v-62h-354v62h-104v-62h-180v-490h322v-176h-322v-56h180v-112zM492 232v176h354v-176h-354zM396 496v206c-0 25.958-4.021 43.76-10 52s-15.563 12-30 12c-14.292 0-25-6.479-32-18-4.667-7.583-7.271-19.625-8-38l-60 6c0.146 34.271 8.937 60.281 26 78s40.354 28 72 28c26.979 0 49.521-6.698 66-18s27.729-25.333 34-44c4.666-14.292 6-35.458 6-62v-202h-64zM530 496v320h64v-122h42c29.312 0 52.542-0.938 68-4 11.375-2.479 22.989-8.344 34-16s18.854-16.583 26-30c7.146-13.416 12-30.312 12-50-0-25.521-7.604-45.885-20-62s-27.625-27.187-46-32c-11.959-3.208-36.625-4-76-4h-104zM594 550h32c23.333 0 38.271 0.542 46 2 10.5 1.896 19.146 6.417 26 14s10 16.334 10 28c-0 9.479-1.115 18.854-6 26s-13.396 12.646-22 16c-8.604 3.354-24.479 4-50 4h-36v-90z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-firewall-juniper" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 390, - "id": 205, - "prevSize": 16, - "code": 59740, - "name": "it-firewall-juniper" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 92 - }, - { - "icon": { - "paths": [ - "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v112h352v-112h102v112h160v56h-18v176h18v82h-154v322h154v86h-160v62h-102v-62h-352v62h-104v-62h-178v-86h24v-210l100 210h50v-322h-46v214l-102-214h-26v-82h320v-176h-320v-56h178v-112zM488 232v176h352v-176h-352zM306 490v322h168v-54h-102v-88h84v-54h-84v-72h96v-54h-162zM500 490l92 186v136h50v-136l90-186h-58l-56 128-58-128h-60zM870 544h90v72h-90v-72zM870 670h90v88h-90v-88z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-firewall-neteye" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 391, - "id": 204, - "prevSize": 16, - "code": 59741, - "name": "it-firewall-neteye" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 93 - }, - { - "icon": { - "paths": [ - "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v112h352v-112h102v112h160v56h-18v176h18v490h-160v62h-102v-62h-352v62h-104v-62h-178v-490h320v-176h-320v-56h178v-112zM488 232v176h352v-176h-352zM122 498v54h148l-168 208v58h260v-54h-182l176-216v-50h-234zM380 498v54h96v266h64v-266h96v-54h-256zM678 498v320h244v-54h-180v-88h162v-54h-162v-70h174v-54h-238z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-firewall-zte" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 392, - "id": 203, - "prevSize": 16, - "code": 59742, - "name": "it-firewall-zte" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 94 - }, - { - "icon": { - "paths": [ - "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v12c-36.731 40.161-60 93.286-60 152 0 1.333-0.023 2.673 0 4h-222v-56h178v-112zM698 64h102v112h160v56h-18v176h18v490h-160v62h-102v-62h-352v62h-104v-62h-178v-490h312c37.915 28.819 84.701 46 136 46s98.085-17.181 136-46h192v-176h-102c0.023-1.34 0-2.655 0-4 0-47.763-14.694-91.517-40-128v-36zM418 98h188v48h-132v64h114v46h-114v118h-56v-276zM122 498v54h148l-146 180-22 28v58h260v-54h-182l176-216v-50h-234zM380 498v54h96v266h64v-266h96v-54h-256zM678 498v320h244v-54h-180v-88h162v-54h-162v-70h174v-54h-238z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-firewall-ztemf" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 393, - "id": 202, - "prevSize": 16, - "code": 59743, - "name": "it-firewall-ztemf" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 95 - }, - { - "icon": { - "paths": [ - "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v12c-36.731 40.161-60 93.286-60 152 0 1.333-0.023 2.673 0 4h-222v-56h178v-112zM698 64h102v112h160v56h-18v176h18v490h-160v62h-102v-62h-352v62h-104v-62h-178v-490h312c37.915 28.819 84.701 46 136 46s98.085-17.181 136-46h192v-176h-102c0.023-1.34 0-2.655 0-4 0-47.763-14.694-91.517-40-128v-36zM410 98h56v148c-0 23.625 0.625 39 2 46 2.375 11.25 7.062 21.188 16 28s20.5 10 36 10c15.75 0 28-3.562 36-10s12.375-14.625 14-24c1.625-9.375 4-24.25 4-46v-152h54v144c-0 33-1 56.375-4 70s-7.938 24.625-16 34c-8.063 9.375-18.5 16.438-32 22s-32.25 8-54 8c-26.25-0-46.438-1.937-60-8s-24.125-14.312-32-24c-7.875-9.687-11.5-19.375-14-30-3.625-15.75-6-39.25-6-70v-146zM122 498v54h148l-146 180-22 28v58h260v-54h-182l176-216v-50h-234zM380 498v54h96v266h64v-266h96v-54h-256zM678 498v320h244v-54h-180v-88h162v-54h-162v-70h174v-54h-238z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-firewall-zteutm" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 394, - "id": 201, - "prevSize": 16, - "code": 59744, - "name": "it-firewall-zteutm" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 96 - }, - { - "icon": { - "paths": [ - "M260 2c-65.696 7.147-134.149 50.113-186 122-94.814 131.45-98.966 314.24-10 410 37.902 40.797 87.3 58.623 138 56v402c42.667 47.332 85.333 40.057 128 0v-456c23.249-18.201 46.339-38.742 66-66 94.814-131.45 100.966-316.24 12-412-33.362-35.91-75.78-53.99-120-56-9.213-0.419-18.615-1.021-28 0zM484 46c54.103 128.562 67.65 281.261-28 418-34.982 50.009-66.676 94.444-104 130l102 12c620.106-30.772 784.298-551.082 242-514-68.87 4.709-170.379-12.038-212-46zM270 106c28.56 1.298 54.453 12.807 76 36 57.459 61.847 55.236 181.102-6 266s-158.541 103.847-216 42c-57.459-61.847-53.236-181.102 8-266 38.272-53.061 90.4-80.163 138-78z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-gather" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 395, - "id": 200, - "prevSize": 16, - "code": 59745, - "name": "it-gather" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 97 - }, - { - "icon": { - "paths": [ - "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h768c70.912 0 128-57.088 128-128v-768c0-70.912-57.088-128-128-128h-768zM164 352h64v320h-64v-320zM290 352h128c25.375 0 45.531-0.115 58 2s24.156 7.292 34 14c9.843 6.709 17.437 14.844 24 26s10 24.146 10 38c-0 15.021-3.907 29.459-12 42s-20.146 21.729-34 28c19.541 5.688 35.5 16.292 46 30s16 29.479 16 48c-0 14.583-3.219 28.219-10 42s-16.261 23.76-28 32c-11.74 8.24-26.792 14.104-44 16-10.792 1.167-36.729 1.708-78 2h-110v-320zM614 352h104c39.375 0 66.041 0.792 78 4 18.375 4.813 33.604 15.886 46 32s18 36.479 18 62c-0 19.688-2.854 36.584-10 50s-16.99 24.344-28 32c-11.011 7.656-22.625 11.521-34 14-15.459 3.063-36.688 6-66 6h-44v120h-64v-320zM356 406v74h42c25.229 0 39.875-1.27 46-2 11.083-1.312 19.656-5.656 26-12s10-13.646 10-24c-0-9.916-2.531-17.802-8-24s-13.209-10.687-24-12c-6.417-0.729-25.521 0-56 0h-36zM678 406v90h36c25.521 0 43.396-0.646 52-4s15.114-8.854 20-16c4.885-7.146 8-14.521 8-24-0-11.666-5.146-22.416-12-30s-15.5-12.104-26-14c-7.729-1.458-22.667-2-46-2h-32zM356 532v86h60c23.333 0 37.729-0.687 44-2 9.625-1.75 17.948-5.219 24-12s8-16.625 8-28c-0-9.625-1.334-17.292-6-24s-11.177-10.937-20-14c-8.823-3.062-28.542-6-58-6h-52z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-ibp" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 396, - "id": 199, - "prevSize": 16, - "code": 59746, - "name": "it-ibp" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 98 - }, - { - "icon": { - "paths": [ - "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h768c70.912 0 128-57.088 128-128v-768c0-70.912-57.088-128-128-128h-768zM164 170h64v322h-64v-322zM290 170h128c25.375 0 45.531 1.886 58 4s24.156 7.292 34 14c9.843 6.709 17.437 14.844 24 26s10 24.146 10 38c-0 15.021-3.907 27.459-12 40s-20.146 21.729-34 28c19.541 5.688 35.5 16.292 46 30s16 29.479 16 48c-0 14.583-3.219 28.219-10 42s-16.261 25.76-28 34c-11.74 8.24-26.792 14.104-44 16-10.792 1.167-36.729 1.708-78 2h-110v-322zM614 170h104c39.375 0 66.041 2.792 78 6 18.375 4.813 33.604 13.886 46 30s18 38.479 18 64c-0 19.688-2.854 34.584-10 48s-16.99 24.344-28 32c-11.011 7.656-22.625 13.521-34 16-15.459 3.063-36.688 4-66 4h-44v122h-64v-322zM356 224v74h42c25.229 0 39.875 0.73 46 0 11.083-1.312 19.656-5.656 26-12s10-15.646 10-26c-0-9.916-2.531-17.802-8-24s-13.209-8.687-24-10c-6.417-0.729-25.521-2-56-2h-36zM678 224v92h36c25.521 0 43.396-2.646 52-6s15.114-6.854 20-14c4.885-7.146 8-16.521 8-26-0-11.666-5.146-20.416-12-28s-15.5-12.104-26-14c-7.729-1.458-22.667-4-46-4h-32zM356 352v86h60c23.333 0 37.729-0.687 44-2 9.625-1.75 17.948-7.219 24-14s8-14.625 8-26c-0-9.625-1.334-19.292-6-26s-11.177-10.937-20-14c-8.823-3.062-28.542-4-58-4h-52zM196 598c27.125 0 48.5 7.375 64 22s24 34.25 24 56c-0 12.375-3.563 22.813-8 34s-10.375 23.75-20 36c-6.375 8.125-17.375 18.75-34 34s-27.563 25-32 30c-4.438 5-9.25 11.25-12 16h106v48h-186c2-18.5 8-35.438 18-52s30.5-38.625 60-66c23.75-22.125 38.625-36.125 44-44 7.25-10.875 10-23.375 10-34-0-11.75-1.688-19.687-8-26s-14.875-10-26-10c-11 0-21.5 3.375-28 10s-9 18.625-10 34l-52-6c3.125-29 11.5-49.375 28-62s37.25-20 62-20zM408 598c26.625 0 47 11 62 30 17.875 22.5 28 57.875 28 110-0 52-10 91.25-28 114-14.875 18.75-35.375 28-62 28-26.75 0-47.625-11.437-64-32s-24-57.25-24-110c-0-51.75 8-89.25 26-112 14.875-18.75 35.375-28 62-28zM622 598c26.625 0 47 11 62 30 17.875 22.5 28 57.875 28 110-0 52-10 91.25-28 114-14.875 18.75-35.375 28-62 28-26.75 0-47.625-11.437-64-32s-26-57.25-26-110c-0-51.75 10-89.25 28-112 14.875-18.75 35.375-28 62-28zM836 598c26.625 0 47 11 62 30 17.875 22.5 28 57.875 28 110-0 52-10 91.25-28 114-14.875 18.75-35.375 28-62 28-26.75 0-47.625-11.437-64-32s-26-57.25-26-110c0-51.75 10-89.25 28-112 14.875-18.75 35.375-28 62-28zM408 642c-6.375 0-11 1.937-16 6s-9.25 11.5-12 22c-3.625 13.625-6 35.75-6 68s2.75 55.938 6 68c3.25 12.063 7.062 20 12 24s9.625 6 16 6c6.375 0 13-1.937 18-6s9.25-11.5 12-22c3.625-13.5 4-37.75 4-70s-0.75-53.937-4-66c-3.25-12.062-7.063-19.937-12-24s-11.625-5.999-18-6zM622 642c-6.375 0-11 1.937-16 6s-9.25 11.5-12 22c-3.625 13.625-6 35.75-6 68s0.75 55.938 4 68c3.25 12.063 9.062 20 14 24s9.625 6 16 6c6.375 0 13-1.937 18-6s7.25-11.5 10-22c3.625-13.5 6-37.75 6-70s-0.75-53.937-4-66c-3.25-12.062-7.063-19.937-12-24s-11.625-5.999-18-6zM836 642c-6.375 0-13 1.937-18 6s-7.25 11.5-10 22c-3.625 13.625-6 35.75-6 68s0.75 55.938 4 68c3.25 12.063 7.062 20 12 24s11.625 6 18 6c6.375 0 11-1.937 16-6s9.25-11.5 12-22c3.625-13.5 6-37.75 6-70s-0.75-53.937-4-66c-3.25-12.062-9.063-19.937-14-24s-9.625-5.999-16-6z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-ibp-ibp2000" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 397, - "id": 198, - "prevSize": 16, - "code": 59747, - "name": "it-ibp-ibp2000" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 99 - }, - { - "icon": { - "paths": [ - "M512 0c-282.77 0-512 229.229-512 512s229.23 512 512 512c282.77 0 512-229.229 512-512s-229.23-512-512-512zM460 100c-0.035 0.64 0 1.344 0 1.984v144h-106c13.653-49.069 32.968-94.080 54-136 16.822-4.352 34.424-7.789 52-10.003zM564 100c14.799 1.856 29.727 4.608 44 8 21.464 42.010 40.007 88.672 54 138.003h-98v-144c0-0.64 0.035-1.344 0-1.984zM728 158.003c38.764 23.725 74.975 53.293 104 88h-74c-8.692-30.573-18.367-60.154-30-88zM286 164.019c-10.493 26.163-20.063 53.523-28 82.003h-66c26.566-31.763 59.179-59.334 94-82.003zM894 346.022c15.484 35.52 24.974 74.131 30 113.997h-134c-1.3-38.579-4.291-75.648-10-112h102c3.699 0 8.643-0.96 12-1.984zM128 348.006h110c-5.555 36.416-10.864 73.389-12 112h-126c4.91-38.938 13.095-77.184 28-112zM332 348.006h128v112h-138c1.129-38.362 4.536-75.872 10-112zM564 348.006h120c5.637 36.122 8.706 73.606 10 112h-130v-112zM100 564.006h128c3.115 38.906 10.371 75.571 18 112h-118c-14.905-34.816-23.090-73.062-28-112zM324 564.006h136v112h-120c-7.481-36.346-12.966-73.126-16-112zM564 564.006h130c-2.897 38.304-8.783 76.128-16 112h-114v-112zM788 564.006h136c-4.91 38.938-13.095 77.184-28 112h-124c7.324-35.814 13.028-73.824 16-112zM194 780.006h78c12.495 36.038 29.429 68.461 46 100-47.143-24.954-89.788-59.642-124-100zM368 780.006h92v144c-7.868-0.96-16.275-0.64-24-1.984-26.587-42.522-49.947-89.542-68-142.003zM564 780.006h86c-17.597 51.622-40.138 99.91-66 142.003-6.473 1.152-13.428 1.152-20 1.984v-144zM746 780.006h84c-35.169 41.491-79.231 76.851-128 102.003 16.61-31.923 31.55-65.536 44-102.003z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-net" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 398, - "id": 197, - "prevSize": 16, - "code": 59748, - "name": "it-net" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 100 - }, - { - "icon": { - "paths": [ - "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM248 230l124 32-142 528-122-32 140-528zM448 232h128v546h-128v-546zM774 234l142 528-124 32-142-528 124-32z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 399, - "id": 196, - "prevSize": 16, - "code": 59749, - "name": "it-other" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 101 - }, - { - "icon": { - "paths": [ - "M832 0h-640c-105.984 0-192 85.969-192 192v640c0 106.031 86.016 192 192 192h640c106.031 0 192-85.969 192-192v-640c0-106.031-85.969-192-192-192zM607.697 84.992c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012c-44.218 0-80.012-35.84-80.012-80.012s35.747-80.012 80.012-80.012zM392.332 84.992c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012-80.012-35.84-80.012-80.012 35.84-80.012 80.012-80.012zM177.012 245.015c-44.172 0-80.012-35.84-80.012-80.012s35.84-80.012 80.012-80.012 80.012 35.84 80.012 80.012-35.84 80.012-80.012 80.012zM574.65 945.99l-45.382-117.993h-162.863l-42.775 117.993h-54.691l149.551-389.446h55.529l159.372 389.446h-58.74zM607.697 511.023c-44.218 0-80.012-35.84-80.012-80.012s35.793-80.012 80.012-80.012c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012zM715.171 945.99h-47.802v-389.446h47.802v389.446zM823.017 511.023c-44.172 0-80.012-35.84-80.012-80.012s35.84-80.012 80.012-80.012 79.965 35.84 79.965 80.012-35.793 80.012-79.965 80.012zM823.017 245.015c-44.172 0-80.012-35.84-80.012-80.012s35.84-80.012 80.012-80.012 79.965 35.84 79.965 80.012-35.793 80.012-79.965 80.012z", - "M445.021 597.504c-4.934 24.948-11.962 49.757-20.945 74.38l-42.775 114.176h132.049l-40.681-107.753c-12.428-32.815-21.597-59.811-27.648-80.803z" - ], - "attrs": [ - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - } - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-alteon" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [ - 4, - 4 - ] - } - }, - "attrs": [ - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - } - ], - "properties": { - "order": 400, - "id": 195, - "prevSize": 16, - "code": 59750, - "name": "it-other-alteon" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 102 - }, - { - "icon": { - "paths": [ - "M816.035 622.871c-8.611-2.281-24.436-3.398-47.569-3.398h-98.49v137.681h99.561c32.954 0 56.32-6.144 70.191-18.432 13.824-12.241 20.713-29.51 20.713-51.712 0-16.151-4.049-29.929-12.195-41.425-8.192-11.45-18.944-19.037-32.209-22.714z", - "M832 0h-640c-105.984 0-192 85.969-192 192v640c0 105.984 86.016 192 192 192h640.047c105.937 0 191.953-86.016 191.953-192v-640c0-106.031-86.016-192-192-192zM823.017 84.992c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012-80.012-35.84-80.012-80.012c0-44.172 35.793-80.012 80.012-80.012zM823.017 350.999c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012-80.012-35.84-80.012-80.012c0-44.172 35.793-80.012 80.012-80.012zM607.744 84.992c44.125 0 80.012 35.84 80.012 80.012s-35.887 80.012-80.012 80.012c-44.265 0-80.058-35.84-80.058-80.012s35.747-80.012 80.058-80.012zM392.332 84.992c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012c-44.172 0-80.012-35.84-80.012-80.012s35.84-80.012 80.012-80.012zM177.012 245.015c-44.172 0-80.012-35.84-80.012-80.012s35.84-80.012 80.012-80.012c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012zM520.192 959.162l-44.916-116.643h-161.094l-42.31 116.643h-54.132l147.921-385.164h54.924l157.649 385.164h-58.042zM527.686 431.011c0-44.172 35.793-80.012 80.058-80.012 44.125 0 80.012 35.84 80.012 80.012s-35.887 80.012-80.012 80.012c-44.311 0-80.058-35.84-80.058-80.012zM881.711 768.559c-20.852 22.668-58.554 34.025-113.012 34.025h-98.769v156.579h-51.014v-385.164h145.315c25.553 0 45.103 1.21 58.601 3.677 18.897 3.119 34.769 9.123 47.523 18.013s23.087 21.225 30.86 37.19c7.82 15.965 11.683 33.466 11.683 52.55 0.047 32.768-10.333 60.416-31.185 83.13z", - "M391.959 614.447c-4.887 24.716-11.823 49.245-20.759 73.588l-42.31 112.966h130.607l-40.215-106.682c-12.241-32.349-21.364-59.020-27.322-79.872z" - ], - "attrs": [ - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - } - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-appdirector" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [ - 4, - 4, - 4 - ] - } - }, - "attrs": [ - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - }, - { - "fill": "rgb(100, 148, 206)" - } - ], - "properties": { - "order": 401, - "id": 194, - "prevSize": 16, - "code": 59751, - "name": "it-other-appdirector" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 103 - }, - { - "icon": { - "paths": [ - "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM518 230h186c36.836 0.001 65.899 2.491 84 6s33.71 10.875 48 22c14.289 11.126 26.473 25.499 36 44 9.526 18.503 14 39.023 14 62-0 24.912-6.251 47.2-18 68s-27.889 37.6-48 48c28.367 9.433 50.757 25.266 66 48s22 49.284 22 80c-0 24.186-4.156 47.145-14 70s-22.959 40.335-40 54c-17.042 13.665-39.020 22.856-64 26-15.666 1.936-52.089 3.521-112 4h-160v-532zM124 234h94v438h234v90h-328v-528zM612 318v124h62c36.624 0.001 59.108-0.803 68-2 16.089-2.175 28.791-9.479 38-20s14-24.828 14-42c-0-16.446-4.061-29.72-12-40-7.939-10.278-18.334-15.823-34-18-9.315-1.211-37.755-2-82-2h-54zM612 530v142h88c33.872 0 54.897-1.825 64-4 13.972-2.9 25.214-8.754 34-20s14-27.135 14-46c-0-15.962-3.226-28.874-10-40-6.775-11.125-17.192-18.921-30-24-12.808-5.083-41.237-7.999-84-8h-76z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-atca-lb10" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 402, - "id": 193, - "prevSize": 16, - "code": 59752, - "name": "it-other-atca-lb10" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 104 - }, - { - "icon": { - "paths": [ - "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM528 330c37.548 0.001 68.55 12.645 92 38 13.958 14.991 23.021 37.933 30 66l-60 16c-3.629-18.179-12.484-33.475-24-44s-25.529-13.999-42-14c-22.752 0.001-39.832 9.342-54 28s-22 48.219-22 90c-0 44.333 8.041 75.183 22 94s31.666 28 54 28c16.471 0 30.135-6.038 42-18 11.864-11.96 20.835-30.325 26-56l60 22c-9.213 38.273-24.574 67.422-46 86s-49.058 28-82 28c-40.759 0-73.758-16.186-100-48s-40-76.823-40-132c-0-58.366 13.618-103.707 40-136s61.008-47.999 104-48zM812 330c38.525 0.001 68.528 10.704 88 30s29.023 43.787 30 76l-62 4c-2.653-18.020-7.276-30.106-16-38s-22.552-12-40-12c-18.007 0-31.81 3.55-42 12-6.561 5.425-10 12.911-10 22-0 8.293 3.859 14.1 10 20 7.817 7.495 25.85 15.867 56 24s51.553 17.309 66 26c14.447 8.691 25.834 20.93 34 36s14 33.834 14 56c-0 20.093-6.23 38.458-16 56s-24.133 29.468-42 38c-17.867 8.532-39.339 14-66 14-38.805 0-69.202-11.508-90-32s-31.952-48.77-36-88l60-8c3.629 23.124 10.903 41.156 22 52s25.156 16 44 16c19.96 0 35.88-4.351 46-14 10.12-9.647 16-21.083 16-34-0-8.292-3.743-16.179-8-22s-11.392-11.694-22-16c-7.259-2.866-24.177-6.664-50-14-33.221-9.409-56.6-22.285-70-36-18.844-19.296-28-42.252-28-70 0-17.86 5.136-34.451 14-50 8.864-15.548 21.32-27.867 38-36s36.41-11.999 60-12zM84 336h62v190c-0 30.139 2.464 51.070 4 60 2.652 14.352 8.020 25.309 18 34s24.691 12 42 12c17.587 0 29.066-3.786 38-12 8.933-8.213 16.185-18.040 18-30s2-32.252 2-60v-194h62v184c-0 42.1-2.65 72.618-6 90s-8.997 32.040-18 44c-9.003 11.96-20.925 20.904-36 28s-33.712 12-58 12c-29.313 0-52.855-4.264-68-12-15.145-7.735-27.206-17.641-36-30s-13.208-26.445-16-40c-4.048-20.093-8-48.77-8-88v-188z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-cisco-ucs" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 403, - "id": 192, - "prevSize": 16, - "code": 59753, - "name": "it-other-cisco-ucs" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 105 - }, - { - "icon": { - "paths": [ - "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM528 330c37.548 0.001 68.55 12.645 92 38 13.958 14.991 23.021 37.933 30 66l-60 16c-3.629-18.179-12.484-33.475-24-44s-25.529-13.999-42-14c-22.752 0.001-39.832 9.342-54 28s-22 48.219-22 90c-0 44.333 8.041 75.183 22 94s31.666 28 54 28c16.471 0 30.135-6.038 42-18 11.864-11.96 20.835-30.325 26-56l60 22c-9.213 38.273-24.574 67.422-46 86s-49.058 28-82 28c-40.759 0-73.758-16.186-100-48s-40-76.823-40-132c-0-58.366 13.618-103.707 40-136s61.008-47.999 104-48zM812 330c38.525 0.001 68.528 10.704 88 30s29.023 43.787 30 76l-62 4c-2.653-18.020-7.276-30.106-16-38s-22.552-12-40-12c-18.007 0-31.81 3.55-42 12-6.561 5.425-10 12.911-10 22-0 8.293 1.859 14.1 8 20 7.817 7.495 27.85 15.867 58 24s51.553 17.309 66 26c14.447 8.691 25.834 20.93 34 36s12 33.834 12 56c-0 20.093-4.23 38.458-14 56s-24.133 29.468-42 38c-17.867 8.532-39.339 14-66 14-38.805 0-69.202-11.508-90-32s-31.952-48.77-36-88l60-8c3.629 23.124 10.903 41.156 22 52s25.156 16 44 16c19.96 0 35.88-4.351 46-14 10.12-9.647 14-21.083 14-34-0-8.292-1.743-16.179-6-22s-11.392-11.694-22-16c-7.259-2.866-24.177-6.664-50-14-33.221-9.409-56.6-22.285-70-36-18.844-19.296-28-42.252-28-70 0-17.86 5.137-34.451 14-50 8.864-15.548 21.32-27.867 38-36s36.41-11.999 60-12zM86 336h112c25.544 0.001 44.6 3.533 58 8 18.006 6.061 35.158 16.532 48 32s21.3 33.595 28 56c6.7 22.405 10 51.149 10 84-0 28.864-3.719 53.109-10 74-7.677 25.515-17.763 46.212-32 62-10.748 11.96-25.715 21.302-44 28-13.679 4.946-31.108 8-54 8h-116v-352zM148 396v232h46c17.308 0 28.323-1.77 36-4 10.050-2.873 19.37-7.142 26-14s11.812-18.292 16-34c4.187-15.708 6-36.89 6-64s-1.813-47.488-6-62c-4.188-14.512-10.463-25.866-18-34s-16.415-13.129-28-16c-8.654-2.23-26.735-4-52-4h-26z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-dcs" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 404, - "id": 191, - "prevSize": 16, - "code": 59754, - "name": "it-other-dcs" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 106 - }, - { - "icon": { - "paths": [ - "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM88 336h112c25.544 0.001 46.6 3.533 60 8 18.006 6.061 33.158 16.532 46 32s21.3 33.595 28 56c6.7 22.405 10 51.149 10 84-0 28.864-1.719 53.109-8 74-7.677 25.515-19.763 46.212-34 62-10.748 11.96-25.715 21.302-44 28-13.679 4.946-31.108 8-54 8h-116v-352zM748 336h66l122 352h-66l-28-80h-122l-26 80h-66l120-352zM400 340h62v288h154v60h-216v-348zM150 396v232h46c17.308 0 30.323-1.77 38-4 10.050-2.873 17.37-7.142 24-14s11.812-18.292 16-34c4.187-15.708 6-36.89 6-64s-1.813-47.488-6-62c-4.188-14.512-10.463-25.866-18-34s-16.415-13.129-28-16c-8.654-2.23-24.735-4-50-4h-28zM780 418l-42 130h84l-42-130z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-delta" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 405, - "id": 190, - "prevSize": 16, - "code": 59755, - "name": "it-other-delta" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 107 - }, - { - "icon": { - "paths": [ - "M799.651 382.836c-9.123-2.42-26.159-3.677-50.921-3.677h-105.472v147.363h106.589c35.281 0 60.276-6.563 75.124-19.689 14.708-13.126 22.295-31.604 22.295-55.389 0-17.268-4.422-32.023-13.126-44.311-8.797-12.241-20.294-20.34-34.49-24.297z", - "M887.994 0h-751.988c-75.59 0-136.006 60.416-136.006 136.006v751.988c0 75.543 60.416 136.006 136.006 136.006h751.988c75.543 0 136.006-60.463 136.006-136.006v-751.988c0-75.59-60.463-136.006-136.006-136.006zM445.021 617.705c-7.308 24.204-16.663 44.172-28.113 60.044-11.45 15.919-23.971 28.3-37.562 37.423s-30.022 16.012-49.199 20.666c-19.223 4.655-41.286 7.028-66.234 7.028h-148.759v-412.346h142.010c32.070 0 56.506 1.955 73.402 5.911 23.599 5.446 43.753 15.313 60.463 29.556 21.737 18.339 37.981 41.844 48.826 70.423 10.752 28.579 16.151 61.254 16.151 98.025-0.047 31.279-3.677 59.066-10.985 83.27zM869.981 538.81c-22.342 24.297-62.65 36.445-121.018 36.445h-105.705v167.61h-54.551v-412.346h155.555c27.369 0 48.221 1.303 62.743 3.956 20.294 3.351 37.143 9.775 50.874 19.27 13.638 9.495 24.762 22.714 33.001 39.75 8.425 17.082 12.614 35.84 12.614 56.227 0 35.142-11.217 64.791-33.513 89.088z", - "M326.889 387.631c-14.615-5.632-38.167-8.471-70.609-8.471h-86.575v315.020h88.064c27.183 0 48.5-2.56 64-7.54 15.453-5.12 27.788-12.288 36.957-21.364 12.94-12.986 22.993-30.394 30.208-52.224 7.215-21.783 10.845-48.314 10.845-79.407 0-43.148-7.075-76.288-21.225-99.468-14.196-23.133-31.418-38.679-51.665-46.545z" - ], - "attrs": [ - { - "fill": "rgb(96, 140, 193)" - }, - { - "fill": "rgb(96, 140, 193)" - }, - { - "fill": "rgb(96, 140, 193)" - } - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-dp" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [ - 3, - 3, - 3 - ] - } - }, - "attrs": [ - { - "fill": "rgb(96, 140, 193)" - }, - { - "fill": "rgb(96, 140, 193)" - }, - { - "fill": "rgb(96, 140, 193)" - } - ], - "properties": { - "order": 406, - "id": 189, - "prevSize": 16, - "code": 59756, - "name": "it-other-dp" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 108 - }, - { - "icon": { - "paths": [ - "M743.936 0h-471.459c-152.623 0-276.294 124.975-276.294 279.133v465.734c0 154.159 123.671 279.133 276.294 279.133h471.505c152.529 0 276.247-125.021 276.247-279.133v-465.734c-0.047-154.159-123.718-279.133-276.294-279.133zM234.17 777.123c-8.657 25.088-21.504 44.172-38.54 57.297-17.082 13.079-37.050 19.642-60.044 19.642-24.343 0-44.265-7.168-59.671-21.597-15.453-14.383-24.716-34.583-27.834-60.695l36.771-3.584c3.119 18.385 9.030 31.744 17.827 39.983 8.751 8.285 20.015 12.428 33.792 12.428 11.729 0 22.063-2.886 30.906-8.611 8.844-5.679 16.105-13.359 21.783-22.9 5.679-9.588 10.426-22.481 14.243-38.772s5.725-32.861 5.725-49.711c0-1.815-0.047-4.515-0.186-8.145-7.68 12.94-18.106 23.459-31.325 31.558-13.219 8.052-27.555 12.102-43.008 12.102-25.786 0-47.569-9.961-65.443-29.882-17.827-19.875-26.764-46.080-26.764-78.615 0-33.606 9.309-60.649 27.927-81.129s41.937-30.72 70.004-30.72c20.247 0 38.772 5.818 55.529 17.408 16.756 11.636 29.51 28.16 38.214 49.617 8.751 21.457 13.079 52.55 13.079 93.231-0 42.356-4.329 76.009-12.986 101.097zM402.991 92.486h214.063v40.401h-174.871v104.82h163.747v40.169h-163.747v116.503h181.76v40.401h-220.951v-342.295zM476.113 779.171c-7.494 23.878-18.711 42.356-33.652 55.343-14.941 13.033-33.839 19.549-56.599 19.549-30.022 0-53.62-11.45-70.749-34.304-20.527-27.601-30.813-72.518-30.813-134.749 0-39.191 3.817-70.703 11.357-94.58 7.587-23.878 18.851-42.263 33.792-55.249 14.941-12.94 33.745-19.409 56.413-19.409 16.71 0 31.372 3.584 43.985 10.705 12.614 7.168 22.993 17.501 31.185 30.953 8.239 13.498 14.662 29.929 19.363 49.292s6.982 45.475 6.982 78.336c0 38.865-3.77 70.284-11.264 94.115zM718.057 779.171c-7.494 23.878-18.711 42.356-33.699 55.343-14.895 13.033-33.839 19.549-56.599 19.549-30.068 0-53.574-11.45-70.749-34.304-20.527-27.601-30.813-72.518-30.813-134.749 0-39.191 3.817-70.703 11.357-94.58 7.587-23.878 18.851-42.263 33.792-55.249 14.941-12.94 33.745-19.409 56.413-19.409 16.71 0 31.372 3.584 43.939 10.705 12.614 7.168 23.040 17.501 31.232 30.953 8.239 13.498 14.662 29.929 19.316 49.292 4.701 19.363 7.028 45.475 7.028 78.336 0.047 38.865-3.724 70.284-11.217 94.115zM960 779.171c-7.494 23.878-18.711 42.356-33.699 55.343-14.895 13.033-33.839 19.549-56.599 19.549-30.068 0-53.574-11.45-70.749-34.304-20.527-27.601-30.813-72.518-30.813-134.749 0-39.191 3.817-70.703 11.357-94.58 7.587-23.878 18.851-42.263 33.792-55.249 14.941-12.94 33.745-19.409 56.413-19.409 16.71 0 31.372 3.584 43.939 10.705 12.614 7.168 23.040 17.501 31.232 30.953 8.239 13.498 14.662 29.929 19.316 49.292 4.701 19.363 7.028 45.475 7.028 78.336 0.047 38.865-3.724 70.284-11.217 94.115z", - "M627.386 549.469c-17.594 0-31.604 7.913-42.077 23.738-13.126 20.201-19.735 57.437-19.735 111.849s5.958 90.577 17.967 108.591c11.962 18.013 26.717 26.996 44.265 26.996s32.303-8.983 44.265-27.089c12.009-18.106 17.967-54.272 17.967-108.497 0-54.551-5.958-90.764-17.967-108.73-11.962-17.92-26.903-26.857-44.684-26.857z", - "M385.396 549.469c-17.548 0-31.558 7.913-42.031 23.738-13.172 20.201-19.782 57.437-19.782 111.849s6.004 90.577 17.967 108.591c11.962 18.013 26.717 26.996 44.311 26.996 17.548 0 32.303-8.983 44.311-27.089 11.962-18.106 17.92-54.272 17.92-108.497 0-54.551-5.958-90.764-17.92-108.73-12.009-17.92-26.903-26.857-44.777-26.857z", - "M869.329 549.469c-17.594 0-31.604 7.913-42.077 23.738-13.126 20.201-19.735 57.437-19.735 111.849s5.958 90.577 17.967 108.591c11.962 18.013 26.717 26.996 44.265 26.996s32.303-8.983 44.265-27.089c12.009-18.106 17.967-54.272 17.967-108.497 0-54.551-5.958-90.764-17.967-108.73-11.962-17.92-26.857-26.857-44.684-26.857z", - "M144.989 549.469c-16.989 0-31.791 7.354-44.404 22.156-12.614 14.755-18.897 33.932-18.897 57.391 0 21.085 6.004 38.214 17.967 51.386s26.717 19.782 44.311 19.782c17.687 0 32.256-6.609 43.66-19.782s17.082-31.465 17.082-54.831c0-23.319-5.818-41.844-17.501-55.575-11.729-13.684-25.833-20.527-42.217-20.527z" - ], - "attrs": [ - { - "fill": "rgb(100, 155, 230)" - }, - { - "fill": "rgb(100, 155, 230)" - }, - { - "fill": "rgb(100, 155, 230)" - }, - { - "fill": "rgb(100, 155, 230)" - }, - { - "fill": "rgb(100, 155, 230)" - } - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-e9000" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [ - 6, - 6, - 6, - 6, - 6 - ] - } - }, - "attrs": [ - { - "fill": "rgb(100, 155, 230)" - }, - { - "fill": "rgb(100, 155, 230)" - }, - { - "fill": "rgb(100, 155, 230)" - }, - { - "fill": "rgb(100, 155, 230)" - }, - { - "fill": "rgb(100, 155, 230)" - } - ], - "properties": { - "order": 407, - "id": 188, - "prevSize": 16, - "code": 59757, - "name": "it-other-e9000" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 109 - }, - { - "icon": { - "paths": [ - "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM200 268h288v82h-202v112h174v82h-174v204h-86v-480zM592 274h212v86h-150l-14 82c17.929-10.241 37.308-16 56-16 35.667 0 65.204 16.365 90 46 24.795 29.636 38 66.714 38 114-0 39.441-9.973 75.057-30 106-27.275 42.274-65.554 64-114 64-38.719 0-69.586-12.248-94-36s-39.232-55.905-44-96l80-10c2.289 20.701 8.747 37.906 20 50s23.313 18 38 18c16.784 0 32.365-8.42 44-24s16-38.622 16-70c-0-29.417-4.461-51.291-16-66s-27.499-22-46-22c-23.079 0-43.69 12.684-62 36l-64-12 40-250z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-f5bigip" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 408, - "id": 187, - "prevSize": 16, - "code": 59758, - "name": "it-other-f5bigip" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 110 - }, - { - "icon": { - "paths": [ - "M114 0c-63.812 0-114 47.546-114 108v602c0 53.579 40.456 98.664 94 108v-590c0-64.077 53.716-114 120-114h650v-6c0-60.454-50.188-108-114-108z", - "M273.868 209.632c-63.812 0-114.869 48.378-114.869 108.832v601.779c0 60.454 51.057 108.832 114.869 108.832h635.16c63.812 0 114.869-48.378 114.869-108.832v-601.779c0-60.454-51.057-108.832-114.869-108.832h-635.16zM327.924 424.096h243.253v65.619h-170.615v89.626h146.965v65.619h-146.965v163.251h-72.638v-384.115zM659.018 428.896h179.061v68.819h-126.694l-11.825 65.619c15.143-8.192 31.511-12.8 47.299-12.8 30.125 0 55.074 13.094 76.017 36.813 20.943 23.712 32.096 53.382 32.096 91.226-0 31.558-8.424 60.064-25.339 84.826-23.037 33.824-55.369 51.213-96.288 51.213-32.703 0-58.775-9.798-79.395-28.806s-33.136-44.742-37.164-76.826l67.57-8c1.933 16.563 7.388 30.33 16.893 40.013 9.505 9.677 19.691 14.4 32.096 14.4 14.177 0 27.336-6.739 37.164-19.206s13.514-30.906 13.514-56.013c-0-23.539-3.768-41.043-13.514-52.819-9.747-11.77-23.226-17.6-38.853-17.6-19.493 0-36.902 10.15-52.367 28.806l-54.056-9.606 33.785-200.058z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-f5bigip2" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 409, - "id": 186, - "prevSize": 16, - "code": 59759, - "name": "it-other-f5bigip2" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 111 - }, - { - "icon": { - "paths": [ - "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM230 158c36.969 0 65.213 6.495 86 22s34.041 36.646 40 64l-60 12c-4.198-14.625-12.422-25.536-24-34s-24.667-14-42-14c-26.271 0-48.495 9.344-64 26s-22 41.229-22 74c-0 35.344 8.292 62.328 24 80s34.542 26 60 26c12.594 0 25.338-3.057 38-8s24.927-10.958 34-18v-38h-70v-50h130v118c-12.594 12.188-30.099 24.724-54 34s-49.49 14-74 14c-31.146 0-56.844-6.932-80-20s-40.354-31.693-52-56c-11.646-24.307-18-51.427-18-80-0-31.010 7-57.896 20-82s30.948-43.135 56-56c19.094-9.885 43.562-14 72-14zM416 162h118c23.562 0 42.422 2.037 54 4s20.859 5.771 30 12c9.14 6.229 17.906 13.641 24 24s8 23.136 8 36c-0 13.948-2.485 26.354-10 38s-19.136 20.177-32 26c18.146 5.281 32.25 13.271 42 26s14 28.802 14 46c-0 13.542-1.704 27.203-8 40s-15.099 22.349-26 30c-10.901 7.651-24.021 12.24-40 14-10.021 1.083-35.677 1.729-74 2h-100v-298zM716 162h220v50h-160v66h150v50h-150v82h166v50h-226v-298zM476 212v68h40c23.427 0 36.312 0.677 42 0 10.291-1.219 18.109-6.109 24-12s10-12.385 10-22c-0-9.208-2.922-16.245-8-22s-11.979-10.781-22-12c-5.959-0.677-23.698 0-52 0h-34zM476 330v80h56c21.666 0 34.177-0.781 40-2 8.937-1.625 16.38-5.703 22-12s8-15.437 8-26c-0-8.937-1.667-15.771-6-22s-9.807-11.156-18-14c-8.193-2.844-26.646-4-54-4h-48zM652 576c39.229 0 71.5 12.813 96 36 14.583 13.709 24.708 32.334 32 58l-64 16c-3.792-16.625-11.969-30.375-24-40s-26.792-14-44-14c-23.771 0-43.198 8.938-58 26s-22 43.792-22 82c-0 40.542 7.417 68.792 22 86s34.667 26 58 26c17.208 0 31.604-5.062 44-16s20.604-28.521 26-52l64 20c-9.625 35-25.615 61.010-48 78s-51.584 26-86 26c-42.583 0-76.583-14.906-104-44s-42-67.542-42-118c-0-53.375 14.437-96.468 42-126s63.083-44 108-44zM356 580c31.646 0 55.916 8.938 74 26s28 38.625 28 64c-0 14.438-2.823 26.948-8 40s-12.771 27.708-24 42c-7.438 9.479-20.604 22.208-40 40s-32.823 30.167-38 36c-5.177 5.834-8.792 12.458-12 18h122v56h-216c2.333-21.583 10.333-40.677 22-60s33.583-46.062 68-78c27.708-25.812 45.729-42.812 52-52 8.458-12.687 12-25.604 12-38-0-13.708-2.636-24.635-10-32s-19.021-10-32-10c-12.833 0-22.417 4.271-30 12s-10.833 20.063-12 38l-62-6c3.646-33.833 14.75-59.271 34-74s43.125-22 72-22z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-gbe2c" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 410, - "id": 185, - "prevSize": 16, - "code": 59760, - "name": "it-other-gbe2c" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 112 - }, - { - "icon": { - "paths": [ - "M888 0h-752c-75.584 0-136 60.416-136 136v752c0 75.648 60.416 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.584-60.352-136-136-136zM366.144 654.4h-42.432v-151.168h-166.72v151.104h-42.432v-320.64h42.432v131.712h166.656v-131.712h42.432v320.704zM600.448 630.848c-20.416 19.52-46.272 29.248-77.44 29.248-28.096 0-51.52-8.384-70.144-25.216-18.56-16.768-29.184-38.464-31.808-65.152l39.36-5.248c4.48 22.336 12.16 38.4 23.040 48.256 10.88 9.792 24.128 14.72 39.744 14.72 18.496 0 34.112-6.4 46.848-19.264s19.136-28.736 19.136-47.68c0-18.112-5.888-33.024-17.664-44.736s-26.752-17.536-44.992-17.536c-7.424 0-16.704 1.472-27.776 4.352l4.352-34.56c2.624 0.256 4.736 0.448 6.336 0.448 16.768 0 31.872-4.352 45.312-13.12 13.376-8.768 20.096-22.272 20.096-40.448 0-14.464-4.928-26.432-14.656-35.904s-22.4-14.208-37.824-14.208c-15.36 0-28.096 4.8-38.336 14.464s-16.704 24-19.648 43.264l-39.36-6.976c4.8-26.432 15.744-46.848 32.768-61.376 17.088-14.528 38.336-21.76 63.68-21.76 17.472 0 33.536 3.776 48.32 11.264 14.72 7.488 25.984 17.728 33.792 30.72s11.712 26.752 11.712 41.344c0 13.824-3.712 26.496-11.2 37.824-7.36 11.392-18.432 20.416-32.96 27.136 18.944 4.416 33.664 13.504 44.16 27.264s15.744 30.976 15.744 51.712c0 28.032-10.176 51.776-30.592 71.168zM909.184 632.448c-23.104 18.304-51.392 27.456-84.8 27.456-34.496 0-62.656-6.976-84.288-21.12-21.632-14.080-38.144-34.432-49.408-61.12s-16.96-55.36-16.96-85.952c0-33.408 6.4-62.528 19.136-87.424 12.736-24.832 30.912-43.776 54.528-56.64 23.552-12.928 49.408-19.392 77.76-19.392 32.064 0 59.072 8.128 80.96 24.512s37.12 39.296 45.76 68.928l-41.792 9.856c-7.424-23.36-18.24-40.32-32.384-50.944s-31.936-16-53.376-16c-24.64 0-45.248 5.888-61.824 17.728s-28.16 27.648-34.88 47.616c-6.656 19.904-10.048 40.384-10.048 61.568 0 27.264 4.032 51.072 11.968 71.424 7.936 20.288 20.288 35.52 37.056 45.632 16.768 9.984 34.944 15.040 54.464 15.040 23.808 0 43.968-6.784 60.352-20.544 16.512-13.76 27.712-34.048 33.472-61.056l42.432 10.688c-9.024 34.816-25.024 61.44-48.128 79.744z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-h3c" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 411, - "id": 184, - "prevSize": 16, - "code": 59761, - "name": "it-other-h3c" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 113 - }, - { - "icon": { - "paths": [ - "M136 0c-75.55 0-136 60.45-136 136v410h1024v-410c0-75.55-60.45-136-136-136h-752zM228 134h64v128h128v-128h64v322h-64v-140h-128v140h-64v-322zM550 134h104c39.375 0 66.041 2.792 78 6 18.375 4.813 33.604 15.886 46 32s18 36.479 18 62c-0 19.688-2.854 36.584-10 50s-16.99 22.344-28 30c-11.011 7.656-20.625 13.521-32 16-15.459 3.063-38.688 4-68 4h-42v122h-66v-322zM616 190v90h36c25.521 0 41.396-0.646 50-4s15.114-8.854 20-16c4.885-7.146 8-16.521 8-26-0-11.666-3.146-20.416-10-28s-15.5-12.104-26-14c-7.729-1.458-24.667-2-48-2h-30zM782 598c-39.962 0-71.478 10.197-96 32s-38 52.592-38 92c0 37.254 13.608 66.52 38 88s54.114 32 92 32c30.62 0 56.084-5.456 76-18s33.436-32.159 42-58l-54-14c-4.801 17.335-12.972 29.925-24 38s-24.69 12-40 12c-20.76 0-37.025-7.295-50-20s-20-32.067-20-62c-0-28.21 6.831-49.402 20-62s30.851-20 52-20c15.31 0 27.296 4.894 38 12s18.626 15.726 22 28l56-10c-6.488-18.95-17.026-33.879-30-44-21.798-17.12-49.098-26-84-26zM128 602v236h96c36.718-0.218 60.399 0.861 70 0 15.31-1.4 27.555-5.917 38-12s17.966-13.825 24-24c6.033-10.175 10-21.233 10-32-0-13.674-4.658-25.879-14-36s-22.614-15.801-40-20c12.326-4.63 22.799-12.74 30-22s10-18.91 10-30c-0-10.229-2.162-19.763-8-28s-13.242-15.047-22-20c-8.758-4.953-18.907-8.439-30-10s-27.424-2-50-2h-114zM416 604v234h202v-40h-144v-194h-58zM184 642h34c27.117 0 42.291-0.538 48 0 9.601 0.97 17.134 3.424 22 8s8 10.679 8 18c-0 7.645-2.356 13.317-8 18s-14.139 9.031-24 10c-5.45 0.538-19.554 0-42 0h-38v-54zM184 736h48c26.209 0 42.15 1.739 50 4s13.848 5.047 18 10c4.152 4.953 6 10.894 6 18-0 8.398-2.616 14.994-8 20s-11.437 8.708-20 10c-5.579 0.97-19.241 0-40 0h-54v-62zM0 886v2c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-2h-1024z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-hpblc" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 412, - "id": 183, - "prevSize": 16, - "code": 59762, - "name": "it-other-hpblc" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 114 - }, - { - "icon": { - "paths": [ - "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM108 352h64v320h-64v-320zM232 352h98l58 218 58-218h96v320h-60v-252l-64 252h-62l-62-252v252h-62v-320zM606 352h98l58 218 58-218h96v320h-60v-252l-64 252h-62l-64-252v252h-60v-320z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-imm" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 413, - "id": 182, - "prevSize": 16, - "code": 59763, - "name": "it-other-imm" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 115 - }, - { - "icon": { - "paths": [ - "M887.994 0h-751.988c-75.59 0-136.006 60.416-136.006 136.006v751.988c0 75.543 60.416 136.006 136.006 136.006h751.988c75.543 0 136.006-60.463 136.006-136.006v-751.988c0-75.59-60.463-136.006-136.006-136.006zM405.923 688.454c-12.567 19.363-30.627 34.49-54.179 45.242-23.505 10.799-49.99 16.198-79.453 16.198-37.329 0-68.608-5.399-93.836-16.337-25.228-10.845-45.009-27.183-59.299-49.059-14.383-21.876-21.923-46.545-22.668-74.147l51.433-4.515c2.467 20.62 8.099 37.609 16.989 50.781 8.89 13.219 22.761 23.924 41.519 32.023 18.758 8.192 39.843 12.288 63.302 12.288 20.806 0 39.191-3.072 55.11-9.309 15.919-6.144 27.788-14.615 35.607-25.46 7.773-10.705 11.636-22.528 11.636-35.328 0-12.847-3.77-24.204-11.264-33.885-7.494-9.635-19.875-17.734-37.097-24.297-11.078-4.329-35.561-10.985-73.402-20.154-37.888-9.030-64.419-17.687-79.593-25.693-19.689-10.38-34.397-23.133-44.032-38.447-9.635-15.267-14.476-32.349-14.476-51.293 0-20.806 5.911-40.262 17.687-58.368 11.823-18.060 29.091-31.837 51.759-41.193 22.807-9.309 48.035-14.010 75.776-14.010 30.58 0 57.53 4.934 80.849 14.755 23.366 9.868 41.286 24.343 53.853 43.473s19.316 40.774 20.247 64.977l-52.317 3.956c-2.839-26.065-12.335-45.754-28.579-59.066-16.198-13.359-40.122-20.015-71.82-20.015-33.001 0-57.065 6.051-72.145 18.153s-22.621 26.671-22.621 43.753c0 14.801 5.353 26.996 16.012 36.538 10.519 9.588 37.888 19.409 82.292 29.417 44.311 10.054 74.752 18.851 91.229 26.298 24.017 10.985 41.705 25.088 53.155 41.984 11.45 16.989 17.129 36.538 17.129 58.647 0.047 22.016-6.237 42.636-18.804 62.092zM862.115 688.454c-12.614 19.363-30.627 34.49-54.132 45.242-23.645 10.799-50.129 16.198-79.5 16.198-37.376 0-68.655-5.399-93.789-16.337-25.228-10.845-45.009-27.183-59.345-49.059s-21.876-46.545-22.621-74.147l51.526-4.515c2.374 20.62 8.006 37.609 16.989 50.781 8.844 13.219 22.575 23.924 41.472 32.023 18.618 8.192 39.75 12.288 63.255 12.288 20.713 0 39.145-3.072 55.156-9.309 15.872-6.144 27.741-14.615 35.514-25.46 7.866-10.705 11.729-22.528 11.729-35.328 0-12.847-3.724-24.204-11.217-33.885-7.494-9.635-19.875-17.734-37.143-24.297-11.124-4.329-35.654-10.985-73.356-20.154-37.981-9.030-64.512-17.687-79.639-25.693-19.735-10.38-34.351-23.133-43.985-38.447-9.728-15.267-14.522-32.349-14.522-51.293 0-20.806 5.865-40.262 17.78-58.368 11.729-18.060 28.998-31.837 51.712-41.193 22.621-9.402 47.849-14.057 75.636-14.057 30.487 0 57.484 4.934 80.849 14.755 23.226 9.868 41.239 24.343 53.853 43.473 12.521 19.13 19.27 40.774 20.294 64.977l-52.364 3.956c-2.793-26.065-12.428-45.754-28.532-59.066-16.244-13.312-40.215-19.968-71.866-19.968-33.001 0-57.158 6.051-72.145 18.153-15.081 12.055-22.575 26.671-22.575 43.706 0 14.801 5.213 26.996 16.012 36.538 10.519 9.588 37.841 19.409 82.246 29.417 44.358 10.054 74.752 18.851 91.276 26.298 24.017 10.985 41.705 25.088 53.108 41.984 11.543 16.989 17.268 36.538 17.268 58.647-0.047 22.063-6.423 42.682-18.944 62.138z" - ], - "attrs": [ - { - "fill": "rgb(99, 147, 205)" - } - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-secsis" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [ - 5 - ] - } - }, - "attrs": [ - { - "fill": "rgb(99, 147, 205)" - } - ], - "properties": { - "order": 414, - "id": 181, - "prevSize": 16, - "code": 59764, - "name": "it-other-secsis" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 116 - }, - { - "icon": { - "paths": [ - "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM714 316c46.577 0 84.911 14.61 114 42 17.315 16.194 31.342 37.681 40 68l-76 20c-4.502-19.638-15.716-36.63-30-48s-31.569-16-52-16c-28.223 0-50.426 9.845-68 30s-26 52.866-26 98c-0 47.891 8.685 81.672 26 102s40.296 30 68 30c20.431 0 37.282-5.080 52-18s25.593-34.265 32-62l74 24c-11.428 41.345-29.422 71.931-56 92s-61.137 30-102 30c-50.56 0-91.448-17.632-124-52s-50-80.395-50-140c-0-63.050 17.275-113.115 50-148s74.67-52 128-52zM156 322h84l96 280 92-280h82l-136 380h-82l-136-380z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-vc" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 415, - "id": 180, - "prevSize": 16, - "code": 59765, - "name": "it-other-vc" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 117 - }, - { - "icon": { - "paths": [ - "M136 0c-75.55 0-136 60.45-136 136v410h1024v-410c0-75.55-60.45-136-136-136h-752zM122 146h234v50l-176 218h182v54h-260v-60l168-208h-148v-54zM380 146h256v54h-96v268h-64v-268h-96v-54zM678 146h238v54h-174v72h162v54h-162v88h180v54h-244v-322zM78 606v244h56v-92h36c25.125 0 44.75-1.665 58-4 9.75-1.89 18.562-4.162 28-10s17.875-13.771 24-24c6.125-10.229 10-22.99 10-38-0-19.458-5.375-35.714-16-48s-24.25-20.331-40-24c-10.25-2.446-32.25-4-66-4h-90zM308 606l66 244h60l56-182 54 182h58l68-244h-56l-42 170-48-170h-66l-50 168-42-168h-58zM698 606v244h56v-102h10c12.75 0 22.125 2.166 28 4s12.75 5.052 18 10c5.25 4.948 13.75 16.987 28 36l40 52h68l-34-48c-13.25-19.013-24.188-30.55-32-38s-18-15.773-30-22c24.125-3.113 41.875-10.047 54-22s18-27.654 18-46c-0-14.454-4-26.77-12-38s-18.688-19.608-32-24c-13.313-4.392-34.625-6-64-6h-116zM134 648h28c20 0 33.375-1.112 40 0 9 1.446 16.125 6.219 22 12s8 13.105 8 22c-0 7.227-1.813 12.552-6 18s-10.625 9.442-18 12c-7.375 2.557-22.125 4-44 4h-30v-68zM754 648h42c22.5 0.001 37.5-0.557 42 0 9 1.334 15.063 4.941 20 10s8 11.772 8 20c0 7.338-2.25 13.108-6 18s-9.375 7.998-16 10c-6.625 2.001-23.375 4-50 4h-40v-62zM0 886v2c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-2h-1024z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-ztepower" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 416, - "id": 179, - "prevSize": 16, - "code": 59766, - "name": "it-other-ztepower" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 118 - }, - { - "icon": { - "paths": [ - "M510.016 0l-510.016 128c38.682 381.043-34.883 833.642 502.078 896h19.845c536.96-62.358 463.396-514.957 502.078-896l-512-128h-1.984zM130.977 332h234.171v50l-174.636 218h180.589v54h-257.984v-60l166.698-208h-148.837v-54zM388.961 332h254.016v54h-95.256v268h-63.504v-268h-95.256v-54zM684.651 332h234.171v54h-170.667v72h158.76v54h-158.76v88h176.62v54h-240.124v-322z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-ztesgs" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 417, - "id": 178, - "prevSize": 16, - "code": 59767, - "name": "it-other-ztesgs" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 119 - }, - { - "icon": { - "paths": [ - "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM94 262h94l198 334v-334h92v500h-98l-196-326v326h-90v-500zM546 262h384v84h-144v416h-96v-416h-144v-84z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-other-zxsdr-nt" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 418, - "id": 177, - "prevSize": 16, - "code": 59768, - "name": "it-other-zxsdr-nt" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 120 - }, - { - "icon": { - "paths": [ - "M510.994 0c-282.703 0-510.994 228.291-510.994 510.994s228.291 513.006 510.994 513.006c282.703 0 513.006-230.303 513.006-513.006s-230.303-510.994-513.006-510.994zM506.97 110.648l122.719 122.719h-88.519v162.955c0 20.826-7.813 82.483-44.259 82.483h-66.389c33.843-9.545 42.248-60.513 42.248-80.472v-164.967h-88.519l122.719-122.719zM162.955 356.086v88.519h166.978c19.959 0 68.914-8.405 78.46-42.248v66.389c0 36.446-61.657 44.259-82.483 44.259h-162.955v88.519l-122.719-122.719 122.719-122.719zM859.033 356.086l122.719 122.719-122.719 122.719v-88.519h-164.967c-19.959-0-70.926 10.416-80.472 44.259v-66.389c0-36.446 61.657-46.271 82.483-46.271h162.955v-88.519zM430.522 543.183h66.389c36.446 0 44.259 63.669 44.259 84.495v160.943h88.519l-122.719 124.731-122.719-124.731h88.519v-164.967c0-19.959-8.405-70.926-42.248-80.472z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-router" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 419, - "id": 176, - "prevSize": 16, - "code": 59769, - "name": "it-router" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 121 - }, - { - "icon": { - "paths": [ - "M510 0c-282.703 0-510 227.297-510 510s227.297 514 510 514c9.173 0 18.943-1.521 28-2-36.918-3.27-66-32.204-66-70v-74l-88-90h88v-164c0-19.959-8.157-70.455-42-80h66c34.803 0 45.287 56.63 46 80 0.678-0.019 1.317 0 2 0h408c19.995 0 38.952 8.952 52 22 11.787-43.072 20-89.259 20-136 0-282.703-231.297-510-514-510zM506 110l124 124h-88v162c0 20.826-9.554 82-46 82h-66c33.843-9.545 42-60.041 42-80v-164h-88l122-124zM162 356v88h168c19.959 0 68.455-8.157 78-42v66c0 36.446-61.174 46-82 46h-164v88l-122-124 122-122zM860 356l122 122-122 124v-88h-166c-19.959-0-70.455 10.157-80 44v-68c0-36.446 61.174-46 82-46h164v-88zM636 686c-35.745 0-64.066 14.163-86 40s-32 61.302-32 108c-0 44.146 10.182 78.546 32 104s50.112 38 84 38c27.388 0 50.186-7.136 68-22s30.34-37.378 38-68l-50-18c-4.294 20.542-12.136 36.431-22 46s-20.306 14-34 14c-18.569 0-34.395-6.944-46-22s-18-40.53-18-76c-0-33.428 6.22-57.072 18-72s27.083-24 46-24c13.694 0 26.425 5.58 36 14s14.982 19.455 18 34l50-14c-5.803-22.456-14.395-40.006-26-52-19.497-20.287-44.782-30-76-30zM894 686c-35.745 0-64.066 14.163-86 40s-34 61.302-34 108c0 44.146 12.182 78.546 34 104s50.112 38 84 38c27.388 0 50.186-7.136 68-22s30.34-37.378 38-68l-50-18c-4.294 20.542-12.136 36.431-22 46s-22.306 14-36 14c-18.569 0-32.395-6.944-44-22s-18-40.53-18-76c-0-33.428 6.221-57.072 18-72s27.083-24 46-24c13.694 0 24.425 5.58 34 14s16.982 19.455 20 34l50-14c-5.803-22.456-14.395-40.006-26-52-19.497-20.287-44.782-30-76-30z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-router-cisco" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 420, - "id": 175, - "prevSize": 16, - "code": 59770, - "name": "it-router-cisco" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 122 - }, - { - "icon": { - "paths": [ - "M510 0c-282.703 0-510 227.297-510 510s227.297 514 510 514c9.173 0 18.943-1.521 28-2-36.918-3.27-66-32.204-66-70v-74l-88-90h88v-164c0-19.959-8.157-70.455-42-80h66c34.803 0 45.287 56.63 46 80 0.678-0.019 1.317 0 2 0h408c80.239 45.398 67.455-57.196 72-114 0-282.703-231.297-510-514-510zM506 110l124 124h-88v162c0 20.826-9.554 82-46 82h-66c33.843-9.545 42-60.041 42-80v-164h-88l122-124zM162 356v88h168c19.959 0 68.455-8.157 78-42v66c0 36.446-61.174 46-82 46h-164v88l-122-124 122-122zM860 356l122 122-122 124v-88h-166c-19.959-0-70.455 10.157-80 44v-68c0-36.446 61.174-46 82-46h164v-88zM644 666v206c-0 25.958-2.021 43.761-8 52s-15.563 12-30 12c-14.292 0-25-4.479-32-16-4.667-7.583-7.271-21.625-8-40l-62 8c0.146 34.271 8.937 60.281 26 78s40.354 26 72 26c26.979 0 49.521-6.698 66-18s27.729-25.333 34-44c4.667-14.292 8-35.458 8-62v-202h-66zM778 666v320h66v-120h42c29.312 0 50.542-2.938 66-6 11.375-2.479 22.989-6.344 34-14s20.854-18.583 28-32c7.146-13.417 10-30.312 10-50-0-25.521-5.604-45.885-18-62s-27.625-27.187-46-32c-11.959-3.208-38.625-4-78-4h-104zM844 720h30c23.333 0 40.271 0.544 48 2 10.5 1.896 19.146 6.417 26 14s10 18.334 10 30c-0 9.479-3.115 16.854-8 24s-11.396 12.646-20 16c-8.604 3.354-26.479 4-52 4h-34v-90z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-router-juniper" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 421, - "id": 174, - "prevSize": 16, - "code": 59771, - "name": "it-router-juniper" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 123 - }, - { - "icon": { - "paths": [ - "M510 0c-282.703 0-510 227.297-510 510s227.297 514 510 514c9.173 0 18.943-1.521 28-2-36.918-3.27-66-32.204-66-70v-74l-88-90h88v-164c0-19.959-8.157-70.455-42-80h66c34.803 0 45.287 56.63 46 80 0.678-0.019 1.317 0 2 0h408c19.995 0 38.952 8.952 52 22 11.787-43.072 20-89.259 20-136 0-282.703-231.297-510-514-510zM506 110l124 124h-88v162c0 20.826-9.554 82-46 82h-66c33.843-9.545 42-60.041 42-80v-164h-88l122-124zM162 356v88h168c19.959 0 68.455-8.157 78-42v66c0 36.446-61.174 46-82 46h-164v88l-122-124 122-122zM860 356l122 122-122 124v-88h-166c-19.959-0-70.455 10.157-80 44v-68c0-36.446 61.174-46 82-46h164v-88zM518 692v46h90l-100 182v52h156v-48h-110l106-188v-44h-142zM674 692v46h58v234h38v-234h58v-46h-154zM852 692v280h146v-48h-106v-76h96v-48h-96v-62h102v-46h-142z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-router-zte" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 422, - "id": 173, - "prevSize": 16, - "code": 59772, - "name": "it-router-zte" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 124 - }, - { - "icon": { - "paths": [ - "M498 0c-82.519 2.143-165.486 23.825-242 68-244.845 141.361-329.362 455.154-188 700 106.738 184.875 312.557 278.159 512 252-23.098-16.31-36-37.265-36-58 0-22.862 16.376-42.721 44-60h-32c-41.912 0-76-34.088-76-76v-106l-34 20c-24.647-27.731-47.939-55.857-70-88l104-60v-64c0-41.912 34.088-76 76-76h234c-4.577-10.693-8.966-21.469-14-32l118-68c13.86 32.95 24.711 65.817 30 100h66c10.478 0 20.943 2.182 30 6-7.234-69.314-26.904-137.747-64-202-97.186-168.332-276.459-260.715-458-256zM522 98c45.425 1.164 91.517 8.458 134 24l-64 36c-22.81-22.127-46.007-41.704-70-60zM394 114c39.587 25.645 77.222 56.281 114 92l-84 50-72-126c13.742-5.791 27.946-11.802 42-16zM760 178c31.164 23.016 57.718 51.994 82 84l-116 66c-20.412-32.755-40.883-63.378-64-92l88-50c3.203-1.849 7.605-5.435 10-8zM260 182h2l72 126-92 52c-12.71-49.313-19.255-97.188-22-144 12.39-12.178 25.888-23.296 40-34zM578 284c22.939 28.459 45.686 59.403 66 92l-112 64-56-96 102-60zM142 324c3.994 27.9 10.635 55.372 18 84l-58 34c7.124-40.784 21.181-80.964 40-118zM384 396l56 96-118 70c-18.2-33.781-34.67-67.986-48-102l110-64zM192 506c13.396 34.309 27.682 69.999 46 104l-108 62c-15.214-36.17-27.501-72.402-32-110l94-56zM612 506c-49.516 0-90 38.484-90 88v194c0 49.516 40.484 90 90 90h102l-6 34c-51.586 9.811-88 30.549-88 54 0 32.643 68.81 58 154 58s154-25.357 154-58c0-24.169-37.838-46.585-92-56l-6-32h104c49.516 0 90-40.484 90-90v-194c0-49.516-40.484-88-90-88h-322zM584 574h380v236h-380v-236zM292 700c22.147 32.13 47.183 58.271 72 86l-102 60c-30.311-22.695-56.283-52.739-80-84l110-62zM438 864c28.836 24.958 59.885 44.975 90 64-53.295 1.962-108.201-6.157-158-24l68-40z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-sdn-host" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 423, - "id": 172, - "prevSize": 16, - "code": 59773, - "name": "it-sdn-host" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 125 - }, - { - "icon": { - "paths": [ - "M498 0c-82.532 2.144-165.473 23.817-242 68-244.886 141.385-329.386 455.113-188 700 58.255 100.901 146.218 174.257 246 216v-168l-52 30c-30.316-22.699-56.279-52.734-80-84l104-60-14-4-156-8 30-28-16 10c-15.217-36.176-27.5-72.396-32-110l94-56c10.044 25.725 21.614 52.249 34 78l72-72c-8.357-17.441-17.093-34.376-24-52l112-64 10 18 92-92 10 10 82-48c22.943 28.464 43.682 59.397 64 92l-66 36 78 78 40-24 104-60 94-56c7.367 17.515 14.618 36.072 20 54h4l92-14c-11.285-45.819-29.221-91.081-54-134-97.203-168.36-276.429-260.716-458-256zM522 98c45.433 1.164 91.51 8.455 134 24l-64 36c-22.814-22.131-46.003-41.701-70-60zM394 114c39.593 25.649 77.216 56.275 114 92l-84 50-72-126c13.744-5.792 27.944-11.801 42-16zM760 178c31.169 23.019 57.714 49.989 82 82l-116 68c-20.416-32.76-40.879-63.373-64-92l88-52c3.203-1.849 7.605-3.435 10-6zM262 182l72 126-92 52c-12.711-49.321-17.254-97.18-20-144 12.392-12.18 25.886-23.294 40-34zM142 324c3.995 27.904 10.633 55.367 18 84l-58 34c7.125-40.791 21.178-80.958 40-118zM474 436l-208 210h126v286l72 92h94v-378h126l-210-210zM804 436l-72 90v288h-126l208 210 210-210h-126v-378h-94z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-sdn-switch" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 424, - "id": 171, - "prevSize": 16, - "code": 59774, - "name": "it-sdn-switch" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 126 - }, - { - "icon": { - "paths": [ - "M52 0c-28.218 0-52 27.877-52 62v900c0 34.123 23.782 62 52 62h524c28.218 0 50-27.877 50-62v-900c0-34.123-19.782-62-48-62h-526zM674 6c18.999 10.074 32 31.54 32 56v900c0 20.133-9.853 36.659-24 48l262-78c42.237-12.574 80-30.971 80-70v-706c0-39.029-37.766-57.42-80-70l-270-80zM120 140h388c19.009 0 34 19.012 34 42v210c0 22.988-14.991 40-34 40h-388c-19.009 0-36-17.012-36-40v-210c0-22.988 16.991-42 36-42zM136 200c-8.519 0-16 12.757-16 30s7.481 32 16 32h356c8.519 0 14-14.757 14-32s-5.481-30-14-30h-356zM136 312c-8.519 0-16 12.757-16 30s7.481 32 16 32h356c8.519 0 14-14.757 14-32s-5.481-30-14-30h-356zM314 672c35.346 0 64 28.654 64 64s-28.654 64-64 64c-35.346 0-64-28.654-64-64s28.654-64 64-64z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-server" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 425, - "id": 170, - "prevSize": 16, - "code": 59775, - "name": "it-server" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 127 - }, - { - "icon": { - "paths": [ - "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512c282.77 0 512-229.23 512-512s-229.23-512-512-512zM512 64c247.424 0 448 200.576 448 448s-200.576 448-448 448c-247.424 0-448-200.576-448-448s200.576-448 448-448zM512 128c-212.077 0-384 171.923-384 384 0 36.156 6.659 70.831 16 104l112-292h68l130 320h-72l-28-72h-128l-26 72h-48c53.837 147.035 194.315 252 360 252s306.163-104.965 360-252h-72l-72-110-72 110h-76l108-166-98-154h76l64 102 62-102h56c-65.661-117.507-191.828-196-336-196zM486 324h64v320h-64v-320zM856 342l-88 138 106 158c13.732-39.506 22-81.817 22-126 0-60.905-14.763-118.84-40-170zM290 398l-44 120h88l-44-120z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-server-aix" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 426, - "id": 169, - "prevSize": 16, - "code": 59776, - "name": "it-server-aix" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 128 - }, - { - "icon": { - "paths": [ - "M702.196 0c-83.559 0-149.421 75.593-149.421 171.057 0 45.281 15.194 86.372 39.69 117.162-8.686 12.223-17.338 24.876-25.682 37.492-23.194 35.070-43.629 76.976-60.702 89.043-83.523 59.033-121.404 129.992-121.404 248.384 0 16.631 2.556 30.874 4.669 46.865 23.321-11.463 52.84-16.403 84.049-16.403 4.043 0 7.718-0.217 11.673 0-3.685-18.422-7.004-35.25-7.004-53.895 1.251-128.832 55.389-209.786 114.4-292.906 2.648-3.499 6.269-9.105 9.339-14.059 2.452 4.241 6.283 6.793 11.673 9.373l49.029 23.432c23.628 11.307 48.25 10.417 72.376 0l53.698-23.432c0.84-0.363 1.558 0.418 2.335 0 42.272 91.45 99.084 194.293 100.392 278.847 0 23.808-2.958 45.866-7.004 67.954 13.057-2.524 27.684-2.343 42.025-2.343 18.9 0 37.191 0.405 53.698 4.686 0.818-10.044 2.335-17.843 2.335-28.119 0-99.83-26.283-175.644-88.719-236.668-25.549-24.971-56.834-78.168-91.053-126.535 31.389-31.635 51.363-77.388 51.363-128.879 0-95.465-68.196-171.057-151.755-171.057zM641.494 140.595c25.311 0 44.359 22.043 44.359 51.551 0 4.072-1.65 7.893-2.335 11.716-4.628 0.607-9.186 2.398-14.008 4.686 0-22.185-14.217-39.835-30.351-39.835s-28.016 17.65-28.016 39.835c0 13.422 4.319 27.854 11.673 35.149-16.692-8.63-28.016-29.42-28.016-51.551 0-29.509 21.383-51.551 46.694-51.551zM762.898 142.938c25.311 0 46.694 22.043 46.694 51.551 0 22.132-11.324 42.921-28.016 51.551 5.88-7.348 7.004-18.677 7.004-30.462 0-22.185-11.882-42.178-28.016-42.178s-30.351 19.994-30.351 42.178c0 2.428-0.299 4.792 0 7.030-3.068-2.177-6.263-5.265-9.339-7.030-2.536-6.816-4.669-13.366-4.669-21.089 0-29.509 21.383-51.551 46.694-51.551zM699.861 224.952c12.3-0 25.767 3.837 35.020 11.716l46.694 42.178c13.118 11.17 17.678 26.761 11.673 39.835-1.907 1.316-2.389 3.702-4.669 4.686l-53.698 23.432c-24.126 10.417-48.748 11.307-72.376 0l-49.029-23.432c-1.721-0.824-3.302-1.337-4.669-2.343-7.374-13.896-2.206-30.36 11.673-42.178l46.694-42.178c9.253-7.879 20.386-11.716 32.686-11.716zM620.482 285.876c-2.285 2.318-4.669 4.488-4.669 7.030 0 14.123 39.651 25.776 86.384 25.776s81.714-11.653 81.714-25.776c0-2.542-0.049-4.712-2.335-7.030-9.308 11.067-39.863 18.746-79.38 18.746s-72.407-7.679-81.714-18.746zM879.633 710.005c-64.504 7.634-86.384 42.072-86.384 114.819 0 83.14-83.624 189.803 4.669 189.803s224.131-80.887 224.131-164.027c0-83.14-23.773-140.595-112.066-140.595-11.037 0-21.136-1.091-30.351 0zM466.391 719.378c-88.293 0-112.066 57.455-112.066 140.595s135.839 164.027 224.131 164.027c88.293 0 4.669-104.32 4.669-187.46s-28.442-117.162-116.735-117.162zM620.482 888.092l14.008 49.208 14.008 56.238c11.583 1.562 23.045 2.343 35.020 2.343 12.676 0 25.138-0.585 37.355-2.343 5.185-25.46 21.012-89.043 21.012-89.043l7.004-16.403c-19.981 9.799-40.537 16.403-63.037 16.403-23.030 0-44.951-6.259-65.372-16.403z", - "M434.89 2.105l-417.088 440.582 190.741 30.089-208.544 371.808 399.285-425.537-139.877-83.818z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-server-klinux" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 427, - "id": 168, - "prevSize": 16, - "code": 59777, - "name": "it-server-klinux" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 129 - }, - { - "icon": { - "paths": [ - "M510.592 0c-281.856 0-510.592 230.336-510.592 513.472s228.736 510.528 510.592 510.528 513.408-227.52 513.408-510.528c0-283.072-231.552-513.472-513.408-513.472zM464.704 88.896l31.552 8.64 37.312 8.576 31.552-5.696 17.28-2.88 22.912-5.76c0 0 20.992-4.544 31.488-2.88 10.304 1.664 21.888-0.768 31.552 2.88 13.376 5.056 25.984 14.080 37.248 22.912 19.456 15.296 37.248 63.104 37.248 63.104l20.096 54.528 22.848 65.984 5.76 48.768-5.76 60.224 43.136-37.312c33.344 8.128 72.64 28.736 111.808 54.528 0 0 7.168 44.672 5.76 65.984-1.216 18.496-4.8 38.656-14.336 54.528-16.768 27.776-44.608 45.632-71.744 63.104-21.504 13.888-44.032 25.344-68.864 31.488-38.016 9.344-78.4 6.4-117.568 5.76-37.056-0.64-72.576-1.6-108.992-8.64-43.264-8.256-88.064-20.736-128.96-37.248-47.36-19.136-134.784-74.624-134.784-74.624s-76.672-44.16-114.752-80.32c-15.232-14.4-48.832-65.92-48.832-65.92s-8.896-48.32 2.88-57.344c0 0 38.080-28.736 54.528-31.552 39.616-6.784 79.040-8.512 123.328-14.336v2.816l22.912 22.976 63.104 43.008 91.776 34.432 45.952 20.096c0 0 34.816 2.88 45.824 2.88 11.136 0 2.88-22.912 2.88-22.912l-17.216-17.28-5.76-14.336-8.512-22.912-14.336-17.216-94.656-31.552-77.44-28.672-40.192-31.616 8.64-40.128 17.216-37.312 14.336-22.976 22.976-14.336 31.552-8.64 37.248-2.816zM613.888 114.752l-8.64 14.336 25.728 8.64 20.032 5.696-20.032 31.552 60.224-14.336 5.824-28.672-31.488-11.456-51.648-5.76zM410.176 154.944l-14.336 42.944 31.552 31.552 17.216-5.76 43.008-8.576 48.768-14.336 5.76-17.216-37.312-8.576-54.464 8.576-40.192-28.608zM238.080 530.688h17.216l25.792 14.336 37.312 40.128 51.648 5.76 65.984 80.384 286.848 5.76-22.976 106.112-48.768 62.976-28.608 25.856-2.88-2.88 2.88 22.848 31.488-5.76 108.992-80.32v-22.912h114.752l45.888 11.52c-92.032 131.136-244.48 215.104-413.056 215.104-216.192 0-400.128-135.424-470.4-332.672l20.096-5.824 8.576-34.368 8.576-5.76 100.416 5.76 68.864 45.888 25.792-5.696-2.88-28.672-37.312-34.432-14.336-22.912-2.88-28.736 8.64-14.336 14.336-17.152zM527.808 740.032c-10.688 2.368 1.152 9.344-8.576 14.4-19.008 9.664 22.912 28.672 22.912 28.672s22.72 12.032 34.368 11.456c10.624-0.576 28.736-11.456 28.736-11.456 17.728-17.28 9.024-41.344 0-34.496l-22.976 14.464h-22.912c0-0.064-19.712-25.536-31.552-23.040z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-server-redhat" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 428, - "id": 167, - "prevSize": 16, - "code": 59778, - "name": "it-server-redhat" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 130 - }, - { - "icon": { - "paths": [ - "M468 0l-48 268c16.173-3.297 30.849-4 48-4s33.827 0.703 50 4l-50-268zM140 134l150 208c22.048-23.283 46.359-42.605 76-56l-226-152zM798 134l-226 152c29.641 13.395 53.952 32.717 76 56l150-208zM0 374l222 102c4.34-29.541 14.151-58.816 28-84l-250-18zM938 374l-252 18c13.849 25.184 23.66 54.459 28 84l224-102zM650 526c-359.894 0-650 58.809-650 132s290.106 134 650 134c58.987 0 117.658-3.012 172-6-10.202 0.109-19.67 0-30 0-330.653 0-600-54.037-600-122s269.347-124 600-124c82.663 0 160.373 3.773 232 10-105.684-15.034-235.24-24-374-24z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-server-solaris" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 429, - "id": 166, - "prevSize": 16, - "code": 59779, - "name": "it-server-solaris" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 131 - }, - { - "icon": { - "paths": [ - "M516 58c-65.675 2.119-123.16 4.56-184 34-72.421 32-145.651 59.003-206 112l-68 84c-69.777 119.589-54.416 232.934 106 290 77.742 5.552 221.478-57.888 130-202-29.523-28.96-55.273-37.398-104-30-41.79 11.271-68.086 46.084-54 102 19.492 27.884 22.688 25.105 42 30l48 4 8-26-6-20-8-6-24 8c-8.312 15.984-60.714-16.58-8-42 9.817-4.489 38.161-14.031 60 6 31.625 31.716 57.773 84.241-28 118-67.019 7.312-100.036-7.173-128-76l-2-44 8-40c25.624-32.030 36.815-49.83 80-54 52.83-2.032 90.154-5.104 136 26l30 40 20 40 14 30 34 22 30 14c0-47.834-13.068-83.628 26-114l28-10c29.176 0.729 53.498-9.082 82 10l20 20 46 52 52 28 44 26 8-6-24-32c-9.354-42.571-25.187-62.438 0-106l26-8c80.668 5.366 185.805 20.894 260-38 5.991-2.681 19.875-27.248-2-38-2.468 7.251-2.487 15.266-20 22-43.274 12.798-69.848 21.603-118-4-31.965-11.776-57.959-15.825-76-46l-6-12 18-6 40 24c25.187 12.253 45.744 28.964 76 30 35.19-2.629 61.074 2.317 92-20l14-16c-13.040-40.569-18.998-80.996-52-110-42.108-21.054-82.178-38.858-130-44l-86-12 6 38-50-22-90-16-110-10zM918 122c33.395 0 60 26.605 60 60s-26.605 60-60 60c-33.395 0-60-26.605-60-60s26.605-60 60-60zM918 142c-21.945 0-40 18.055-40 40s18.055 40 40 40c21.945 0 40-18.055 40-40s-18.055-40-40-40zM922 154c10.165 0 18 7.835 18 18s-7.835 18-18 18c-10.165 0-18-7.835-18-18s7.835-18 18-18zM116 646c-21.527 0-40.779 4.988-56 12s-25.912 16.594-34 30c-8.088 13.407-12 28.6-12 44-0 23.926 8.804 43.362 26 60 12.228 11.825 33.684 21.888 64 30 23.565 6.325 37.376 11.525 44 14 9.68 3.713 16.115 6.981 20 12s6 10.85 6 18c-0 11.138-4.765 21.681-14 30s-21.785 12-40 12c-17.196 0-31.874-4.65-42-14s-16.688-24.062-20-44l-54 6c3.694 33.826 15.021 60.331 34 78s46.589 26 82 26c24.329 0 43.696-4.644 60-12s29.083-18.875 38-34c8.916-15.125 14-30.675 14-48-0-19.113-4.549-35.006-12-48s-16.817-22.506-30-30c-13.184-7.494-34.487-14.987-62-22s-44.867-13.537-52-20c-5.605-5.087-8-12.85-8-20-0-7.837 2.013-13.325 8-18 9.298-7.287 23.568-10 40-10 15.922 0 28.039 3.194 36 10s11.58 18.463 14 34l58-4c-0.892-27.775-10.231-49.362-28-66s-44.844-26-80-26zM616 646c-21.527 0-38.779 4.988-54 12s-27.912 16.594-36 30c-8.088 13.407-12 28.6-12 44-0 23.926 8.804 43.362 26 60 12.228 11.825 33.684 21.888 64 30 23.565 6.325 39.376 11.525 46 14 9.681 3.713 16.115 6.981 20 12s6 10.85 6 18c-0 11.138-4.765 21.681-14 30s-23.785 12-42 12c-17.196 0-29.874-4.65-40-14s-16.689-24.062-20-44l-56 6c3.694 33.826 15.021 60.331 34 78s46.589 26 82 26c24.329 0 43.695-4.644 60-12s29.083-18.875 38-34c8.916-15.125 14-30.675 14-48-0-19.113-4.548-35.006-12-48s-16.817-22.506-30-30c-13.184-7.494-34.487-14.987-62-22s-44.867-13.537-52-20c-5.605-5.087-8-12.85-8-20-0-7.837 4.013-13.325 10-18 9.298-7.287 21.568-10 38-10 15.922 0 28.039 3.194 36 10s13.58 18.462 16 34l56-4c-0.892-27.775-10.231-49.362-28-66s-44.844-26-80-26zM896 650c-33.989 0-63.77 13.115-86 40s-32 64.524-32 112c0 39.744 7.086 71.924 24 98 23.472 24.814 37.445 40.196 80 48 10.305-3.467 69.29 0.256 76-6 9.704-9.048 12.525-32.631 2-44-6.247-6.748-56.534-2.879-72-6-26.387-8.256-41.018-28.763-40-70h170c0.966-58.086-9.932-101.856-32-130s-51.823-42-90-42zM900 708c13.853 0 24.335 4.58 34 16s15.518 28.060 16 50h-102c-0.16-20.681 4.335-35.951 14-48s23.18-18 38-18zM278 736v138c-0 20.625 1.16 36.312 6 48s13.173 21.537 24 28c10.827 6.463 24.371 10 38 10 13.374-0 25.963-3.262 38-10s20.612-16.312 28-28v32h50v-218h-54v92c-0 31.351-1.325 49.956-4 58s-6.74 14.569-14 20c-7.261 5.432-16.829 10-26 10-8.025 0-12.778-1.944-18-6s-10.026-11.056-12-18c-1.974-6.944-2-25.199-2-56v-100h-54z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-server-suse" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 430, - "id": 165, - "prevSize": 16, - "code": 59780, - "name": "it-server-suse" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 132 - }, - { - "icon": { - "paths": [ - "M398 48c-49.48-0.394-105.040 6.773-168 26l-106 332c130.327-31.196 261.844-49.831 374 28l100-326c-53.73-36.361-117.533-59.343-200-60zM646 136l-102 326c85.969 58.177 202.107 85.272 370 34l104-332c-130.327 31.196-259.844 49.831-372-28zM276 446c-49.48-0.394-105.040 8.773-168 28l-104 330c130.327-31.196 261.844-49.831 374 28l100-324c-53.73-36.361-119.533-61.343-202-62zM532 532l-100 324c85.969 58.177 200.107 87.272 368 36l106-332c-130.327 31.196-261.844 49.831-374-28z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-server-windows" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 431, - "id": 164, - "prevSize": 16, - "code": 59781, - "name": "it-server-windows" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 133 - }, - { - "icon": { - "paths": [ - "M172 2c-94.922 0-174 77.078-174 172v678c0 94.922 79.078 174 174 174h678c94.922 0 172-79.078 172-174v-678c0-94.922-77.078-172-172-172h-678zM172 66h678c60.656 0 108 47.344 108 108v678c0 60.656-47.344 110-108 110h-678c-60.656 0-110-49.344-110-110v-678c0-60.656 49.344-108 110-108zM648 128c-65.702 0-118 59.253-118 134 0 35.455 12.739 67.892 32 92-6.83 9.571-13.44 18.122-20 28-18.237 27.459-34.576 60.552-48 70-65.673 46.222-96 101.301-96 194 0 13.022 2.338 25.479 4 38 18.337-8.975 41.46-14 66-14 3.179 0 4.89-0.173 8 0-2.898-14.424-4-27.401-4-42 0.984-100.874 43.6-162.918 90-228 2.082-2.74 3.586-8.121 6-12 1.928 3.32 5.762 5.98 10 8l38 18c18.578 8.853 39.030 8.156 58 0l42-18c0.66-0.284 1.389 0.328 2 0 33.238 71.604 76.972 151.795 78 218 0 18.641-2.819 36.706-6 54 10.267-1.976 22.724-2 34-2 14.861 0 29.020 0.648 42 4 0.643-7.865 2-15.954 2-24 0-78.166-20.908-136.219-70-184-20.089-19.552-45.094-62.129-72-100 24.681-24.77 40-59.684 40-100 0-74.747-52.298-134-118-134zM438 130l-328 344 150 24-164 292 314-334-110-66 138-260zM600 238c19.902 0 34 16.895 34 40 0 3.188-1.461 7.006-2 10-3.639 0.476-6.208 2.208-10 4 0-17.37-11.314-32-24-32s-22 14.63-22 32c0 10.509 4.217 20.288 10 26-13.125-6.757-22-22.671-22-40 0-23.105 16.098-40 36-40zM696 240c19.902 0 36 16.895 36 40 0 17.329-8.875 33.243-22 40 4.623-5.753 6-14.772 6-24 0-17.37-9.314-32-22-32s-24 14.63-24 32c0 1.901-0.237 4.248 0 6-2.413-1.705-5.581-4.618-8-6-1.994-5.337-4-9.953-4-16 0-23.105 18.098-40 38-40zM646 304c9.671-0 20.724 3.831 28 10l36 32c10.315 8.746 14.721 21.763 10 32-1.499 1.031-2.207 1.229-4 2l-42 20c-18.97 8.156-39.422 8.853-58 0l-38-20c-1.353-0.645-2.925 0.788-4 0-5.798-10.88-0.914-24.747 10-34l36-32c7.276-6.169 16.329-10 26-10zM584 352c-1.797 1.815-4 4.010-4 6 0 11.058 31.255 20 68 20s64-8.942 64-20c0-1.99-0.205-4.185-2-6-7.318 8.665-30.929 14-62 14s-56.682-5.335-64-14zM788 684c-50.719 5.978-68 33.040-68 90 0 65.098-67.424 148 2 148s178-62.902 178-128c0-65.098-20.576-110-90-110-8.678 0-14.754-0.854-22 0zM462 692c-69.424 0-88 44.902-88 110s106.576 128 176 128c69.424 0 4-82.902 4-148s-22.576-90-92-90zM584 824l10 38 12 44c9.107 1.223 16.584 2 26 2 9.967 0 20.394-0.621 30-2 4.077-19.935 16-70 16-70l6-12c-15.711 7.673-32.308 12-50 12-18.109 0-33.944-4.058-50-12z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-server-zxve" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 432, - "id": 163, - "prevSize": 16, - "code": 59782, - "name": "it-server-zxve" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 134 - }, - { - "icon": { - "paths": [ - "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM184 208h656c30.953 0 56 25.979 56 58v12c0 32.021-25.047 58-56 58h-656c-30.953 0-56-25.979-56-58v-12c0-32.021 25.047-58 56-58zM184 476h656c30.953 0 56 25.979 56 58v12c0 32.021-25.047 58-56 58h-656c-30.953 0-56-25.979-56-58v-12c0-32.021 25.047-58 56-58zM184 744h656c30.953 0 56 25.979 56 58v12c0 32.021-25.047 58-56 58h-656c-30.953 0-56-25.979-56-58v-12c0-32.021 25.047-58 56-58z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-storage" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 433, - "id": 162, - "prevSize": 16, - "code": 59783, - "name": "it-storage" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 135 - }, - { - "icon": { - "paths": [ - "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM178 122h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM176 344h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM320 586c39.229 0 71.5 10.813 96 34 14.583 13.709 24.708 34.334 32 60l-64 16c-3.792-16.625-11.969-30.375-24-40s-26.792-14-44-14c-23.771 0-43.198 8.938-58 26s-22 43.792-22 82c-0 40.542 7.417 68.792 22 86s34.667 26 58 26c17.208 0 31.604-5.062 44-16s20.604-28.521 26-52l64 20c-9.625 35-25.615 61.010-48 78s-51.584 26-86 26c-42.583 0-76.583-14.906-104-44s-42-69.542-42-120c-0-53.375 14.437-94.468 42-124s63.083-44 108-44zM724 586c39.229 0 71.5 10.813 96 34 14.583 13.709 26.708 34.334 34 60l-64 16c-3.792-16.625-11.969-30.375-24-40s-26.792-14-44-14c-23.771 0-43.198 8.938-58 26s-22 43.792-22 82c-0 40.542 7.417 68.792 22 86s32.667 26 56 26c17.208 0 31.604-5.062 44-16s22.604-28.521 28-52l62 20c-9.625 35-25.615 61.010-48 78s-51.583 26-86 26c-42.583 0-76.583-14.906-104-44s-42-69.542-42-120c-0-53.375 14.437-94.468 42-124s63.083-44 108-44z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-storage-cisco-mds" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 434, - "id": 161, - "prevSize": 16, - "code": 59784, - "name": "it-storage-cisco-mds" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 136 - }, - { - "icon": { - "paths": [ - "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM178 122h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM176 344h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM76 598h94c21.391 0 38.778 3.844 50 8 15.079 5.641 27.246 13.603 38 28s18.389 31.146 24 52c5.611 20.854 8 47.424 8 78-0 26.865-0.74 50.556-6 70-6.429 23.748-16.077 43.306-28 58-9.001 11.132-20.687 17.766-36 24-11.456 4.602-26.83 10-46 10h-98v-328zM356 598h152v56h-88v72h76v54h-76v90h94v56h-158v-328zM568 602h64v268h100v56h-164v-324zM782 604h66v268h100v56h-166v-324zM128 654v216h38c14.495 0 25.571-1.922 32-4 8.416-2.672 14.447-5.617 20-12s10.493-17.38 14-32c3.507-14.62 6-34.767 6-60s-2.493-44.493-6-58c-3.507-13.507-7.688-24.43-14-32s-14.298-13.328-24-16c-7.248-2.077-22.842-2-44-2h-22z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-storage-md3000" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 435, - "id": 160, - "prevSize": 16, - "code": 59785, - "name": "it-storage-md3000" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 137 - }, - { - "icon": { - "paths": [ - "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM178 122h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM176 344h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM84 590h64l132 214v-214h60v320h-66l-128-208v208h-62v-320zM376 590h70l80 236 80-236h68l-116 320h-68l-114-320zM684 590h256v54h-96v266h-64v-266h-96v-54z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-storage-netvault" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 436, - "id": 159, - "prevSize": 16, - "code": 59786, - "name": "it-storage-netvault" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 138 - }, - { - "icon": { - "paths": [ - "M869.981 0h-715.962c-85.039 0-154.019 68.98-154.019 154.019v716.009c0 84.992 68.98 153.972 154.019 153.972h716.009c84.992 0 153.972-68.98 153.972-154.019v-715.962c0-85.039-68.98-154.019-154.019-154.019zM177.99 121.996h672.023c26.717 0 47.988 28.532 47.988 64s-21.271 64-47.988 64h-672.023c-26.764 0-47.988-28.532-47.988-64s21.271-64 47.988-64zM175.988 344.017h672.023c26.717 0 47.988 28.532 47.988 64s-21.271 64-47.988 64h-672.023c-26.764 0-47.988-28.532-47.988-64s21.271-64 47.988-64zM351.418 907.543h-253.533v-39.377l164.305-205.452c11.636-14.569 22.761-27.229 33.233-37.981h-178.921v-37.841h229.702v37.841l-180.038 222.441-19.456 22.528h204.707v37.841zM627.293 624.733h-106.077v282.81h-42.496v-282.81h-105.658v-37.841h254.185v37.841zM910.988 907.543h-239.337v-320.698h231.843v37.841h-189.347v98.211h177.385v37.609h-177.385v109.196h196.841v37.841z" - ], - "attrs": [ - { - "fill": "rgb(99, 147, 205)" - } - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-storage-sanswitch-zte" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [ - 5 - ] - } - }, - "attrs": [ - { - "fill": "rgb(99, 147, 205)" - } - ], - "properties": { - "order": 437, - "id": 158, - "prevSize": 16, - "code": 59787, - "name": "it-storage-sanswitch-zte" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 139 - }, - { - "icon": { - "paths": [ - "M234 0l-234 228 140 134c59.702-39.324 131.164-62 208-62 47.699 0 93.962 9.903 136 26h186v-198h-436v-128zM788 244v128h-222c68.34 46.169 118.415 116.099 140 198h82v124l234-224-234-226zM346 334c-190.682 0-346 153.318-346 344s155.318 346 346 346c190.682 0 344-155.318 344-346s-153.318-344-344-344zM188 530h64l118 298h-64l-26-68h-120l-24 68h-64l116-298zM382 530h236v50h-88v248h-60v-248h-88v-50zM220 600l-40 110h80l-40-110z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-switch-at" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 438, - "id": 157, - "prevSize": 16, - "code": 59788, - "name": "it-switch-at" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 140 - }, - { - "icon": { - "paths": [ - "M234 0l-234 228 140 134c59.702-39.324 131.164-62 208-62 47.699 0 93.962 9.903 136 26h186v-198h-436v-128zM788 244v128h-222c68.34 46.169 118.415 116.099 140 198h82v124l234-224-234-226zM346 334c-190.682 0-346 153.318-346 344s155.318 346 346 346c190.682 0 344-155.318 344-346s-153.318-344-344-344zM204 524c36.427 0 67.25 12.469 90 34 13.541 12.729 23.229 30.167 30 54l-60 14c-3.521-15.437-10.828-27.062-22-36s-24.021-14-40-14c-22.073 0-40.255 8.156-54 24s-20 40.521-20 76c-0 37.646 6.458 66.021 20 82s30.333 24 52 24c15.979 0 30.489-5.844 42-16s18.989-26.198 24-48l58 18c-8.938 32.5-23.214 58.224-44 74s-48.042 22-80 22c-39.542-0-70.542-12.984-96-40s-38-63.146-38-110c-0-49.562 12.406-88.578 38-116s58.292-42 100-42zM506 524c36.427 0 65.25 12.469 88 34 13.541 12.729 23.229 30.167 30 54l-60 14c-3.521-15.437-10.828-27.062-22-36s-24.021-14-40-14c-22.073 0-40.255 8.156-54 24s-20 40.521-20 76c-0 37.646 6.458 66.021 20 82s30.333 24 52 24c15.979 0 30.489-5.844 42-16s18.989-26.198 24-48l60 18c-8.938 32.5-25.214 58.224-46 74s-46.042 22-78 22c-39.542-0-72.542-12.984-98-40s-38-63.146-38-110c-0-49.562 12.406-88.578 38-116s60.292-42 102-42z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-switch-cisco" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 439, - "id": 156, - "prevSize": 16, - "code": 59789, - "name": "it-switch-cisco" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 141 - }, - { - "icon": { - "paths": [ - "M697.809 543.651c32.349-20.573 70.563-32.908 111.756-32.908 47.709 0 91.183 16.477 126.371 43.38l88.064-84.108-234.449-225.978v128h-222.441c60.835 40.96 105.891 101.329 130.7 171.613z", - "M348.672 299.985c47.756 0 94.161 9.914 136.285 26.019h186.368v-198.004h-436.876v-128l-234.449 227.98 140.288 134.004c59.764-39.284 131.398-61.999 208.384-61.999z", - "M346.671 334.010c-191.069 0-346.671 153.321-346.671 343.971s155.601 346.019 346.671 346.019c128.791 0 240.314-70.703 299.52-175.151-28.346-35.607-45.94-80.151-45.94-129.117 0-61.999 27.555-117.062 70.516-155.369-47.011-134.097-173.196-230.353-324.096-230.353zM334.848 880.035h-42.543v-151.087h-167.005v151.087h-42.496v-320.698h42.543v131.677h166.959v-131.677h42.543v320.698zM569.53 856.529c-20.387 19.456-46.266 29.184-77.545 29.184-28.253 0-51.665-8.378-70.284-25.181-18.665-16.71-29.231-38.493-31.884-65.071l39.377-5.26c4.561 22.295 12.288 38.353 23.18 48.175 10.892 9.914 24.111 14.801 39.75 14.801 18.525 0 34.257-6.47 47.057-19.223 12.753-12.893 19.177-28.765 19.177-47.756 0-18.060-5.865-32.908-17.78-44.684-11.776-11.776-26.857-17.641-45.103-17.641-7.494 0-16.756 1.443-27.881 4.422l4.375-34.583c2.653 0.279 4.748 0.465 6.33 0.465 16.849 0 31.977-4.422 45.428-13.126s20.154-22.295 20.154-40.448c0-14.522-4.887-26.391-14.708-35.887-9.775-9.495-22.435-14.243-37.888-14.243-15.36 0-28.113 4.841-38.4 14.429-10.193 9.635-16.803 24.111-19.689 43.334l-39.517-6.982c4.887-26.345 15.825-46.871 32.861-61.347 17.175-14.522 38.4-21.737 63.814-21.737 17.548 0 33.699 3.77 48.407 11.264 14.755 7.494 26.065 17.734 33.885 30.72 7.866 12.986 11.729 26.764 11.729 41.425 0 13.824-3.677 26.391-11.124 37.841-7.447 11.357-18.479 20.387-33.047 27.089 18.991 4.375 33.699 13.452 44.218 27.276 10.519 13.731 15.779 30.999 15.779 51.665 0.047 27.881-10.147 51.572-30.673 71.075z", - "M879.29 828.649c-16.477 13.684-36.631 20.48-60.509 20.48-19.549 0-37.748-4.98-54.551-15.081-16.756-10.054-29.184-25.228-37.143-45.568s-11.962-44.125-11.962-71.447c0-21.132 3.398-41.658 10.1-61.533s18.385-35.793 34.956-47.569 37.283-17.734 61.905-17.734c21.504 0 39.377 5.353 53.481 16.012 14.15 10.612 24.995 27.601 32.442 51.014l41.844-9.868c-8.657-29.649-23.924-52.596-45.801-68.887-21.923-16.384-49.012-24.483-81.082-24.483-28.346 0-54.319 6.47-77.917 19.316-23.645 12.94-41.844 31.837-54.644 56.692s-19.13 53.993-19.13 87.412c0 30.58 5.632 59.206 16.943 86.016 11.357 26.577 27.881 47.057 49.524 61.114 21.737 14.103 49.897 21.132 84.433 21.132 33.559 0 61.812-9.169 84.992-27.508s39.191-44.87 48.081-79.732l-42.496-10.705c-5.772 26.81-16.943 47.151-33.466 60.928z" - ], - "attrs": [ - { - "fill": "rgb(99, 147, 205)" - }, - { - "fill": "rgb(99, 147, 205)" - }, - { - "fill": "rgb(99, 147, 205)" - }, - { - "fill": "rgb(99, 147, 205)" - } - ], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-switch-h3c" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [ - 5, - 5, - 5, - 5 - ] - } - }, - "attrs": [ - { - "fill": "rgb(99, 147, 205)" - }, - { - "fill": "rgb(99, 147, 205)" - }, - { - "fill": "rgb(99, 147, 205)" - }, - { - "fill": "rgb(99, 147, 205)" - } - ], - "properties": { - "order": 440, - "id": 155, - "prevSize": 16, - "code": 59790, - "name": "it-switch-h3c" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 142 - }, - { - "icon": { - "paths": [ - "M234 0l-234 228 140 134c59.702-39.324 131.164-62 208-62 47.699 0 93.962 9.903 136 26h186v-198h-436v-128zM788 244v128h-222c68.34 46.169 118.415 116.099 140 198h82v124l234-224-234-226zM346 334c-190.682 0-346 153.318-346 344s155.318 346 346 346c190.682 0 344-155.318 344-346s-153.318-344-344-344zM226 516h64v202c-0 26.542-1.334 47.708-6 62-6.271 18.667-17.521 32.698-34 44s-39.021 18-66 18c-31.646-0-54.938-8.281-72-26s-25.854-43.729-26-78l60-8c0.729 18.375 3.333 32.417 8 40 7 11.521 17.708 16 32 16 14.437 0 24.021-3.76 30-12s10-26.042 10-52v-206zM360 516h104c39.375 0 64.041 0.792 76 4 18.375 4.813 33.604 15.886 46 32s20 36.479 20 62c-0 19.688-4.854 36.583-12 50s-14.99 24.344-26 32c-11.011 7.656-22.625 11.521-34 14-15.459 3.062-38.688 6-68 6h-42v120h-64v-320zM424 570v90h36c25.521 0 41.396-0.646 50-4s17.114-8.854 22-16c4.885-7.146 6-14.521 6-24-0-11.666-3.146-22.416-10-30s-15.5-12.104-26-14c-7.729-1.458-22.667-2-46-2h-32z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-switch-juniper" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 441, - "id": 154, - "prevSize": 16, - "code": 59791, - "name": "it-switch-juniper" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 143 - }, - { - "icon": { - "paths": [ - "M234 0l-234 228 140 134c59.702-39.324 131.164-62 208-62 47.699 0 93.962 9.903 136 26h186v-198h-436v-128zM788 244v128h-222c68.34 46.169 118.415 116.099 140 198h82v124l234-224-234-226zM346 334c-190.682 0-346 153.318-346 344s155.318 346 346 346c190.682 0 344-155.318 344-346s-153.318-344-344-344zM98 536h148v44l-112 194h116v48h-164v-52l106-186h-94v-48zM262 536h162v48h-60v238h-42v-238h-60v-48zM450 536h152v48h-110v64h102v48h-102v78h114v48h-156v-286z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-switch-zte" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 442, - "id": 153, - "prevSize": 16, - "code": 59792, - "name": "it-switch-zte" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 144 - }, - { - "icon": { - "paths": [ - "M60 0c-33.495 0-60 26.505-60 60v484c0 33.495 26.505 60 60 60h904c33.495 0 60-26.505 60-60v-484c0-33.495-26.505-60-60-60zM222 170h580c33.495 0 60 26.505 60 60v114c0 33.495-26.505 62-60 62h-580c-33.495 0-60-28.505-60-62v-114c0-33.495 26.505-60 60-60zM740 184c-54.503 0-98 43.497-98 98s43.497 98 98 98c54.503 0 98-43.497 98-98s-43.497-98-98-98zM284 194c-54.503 0-98 43.497-98 98s43.497 100 98 100c54.503 0 98-45.497 98-100s-43.497-98-98-98zM228 640.064v320h64v-140h128v140h64v-320h-64v126h-128v-126zM550 640.064v320h66v-120h42c29.312 0 52.541-2.938 68-6 11.375-2.479 20.989-6.344 32-14s20.854-18.583 28-32c7.146-13.417 10-30.312 10-50-0-25.521-5.604-45.885-18-62s-27.625-27.187-46-32c-11.959-3.208-38.625-4-78-4zM616 694.064h30c23.333 0 40.271 0.544 48 2 10.5 1.896 19.146 6.417 26 14s10 16.334 10 28c-0 9.479-3.115 18.854-8 26s-11.396 12.646-20 16c-8.604 3.354-24.479 4-50 4h-36z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-tapelib-hpmsl" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 443, - "id": 152, - "prevSize": 16, - "code": 59793, - "name": "it-tapelib-hpmsl" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 145 - }, - { - "icon": { - "paths": [ - "M60-2c-33.495 0-60 26.505-60 60v484c0 33.495 26.505 60 60 60h904c33.495 0 60-26.505 60-60v-484c0-33.495-26.505-60-60-60h-904zM222 168h580c33.495 0 60 26.505 60 60v114c0 33.495-26.505 62-60 62h-580c-33.495 0-60-28.505-60-62v-114c0-33.495 26.505-60 60-60zM740 182c-54.503 0-98 43.497-98 98s43.497 98 98 98c54.503 0 98-43.497 98-98s-43.497-98-98-98zM284 192c-54.503 0-98 43.497-98 98s43.497 100 98 100c54.503 0 98-45.497 98-100s-43.497-98-98-98zM642 630c-24.646 0-46.573 4.563-64 12s-30.74 17.782-40 32c-9.26 14.219-14 29.667-14 46-0 25.375 10.312 46.354 30 64 14 12.542 37.292 23.396 72 32 26.979 6.708 44.416 11.375 52 14 11.083 3.938 19.552 8.677 24 14s6 12.417 6 20c-0 11.813-5.427 21.177-16 30s-25.146 14-46 14c-19.688 0-36.406-6.083-48-16s-18.208-24.854-22-46l-64 6c4.229 35.875 18.271 63.26 40 82s51.458 28 92 28c27.854-0 51.333-4.198 70-12s33.791-19.958 44-36c10.208-16.042 16-31.625 16-50-0-20.271-5.469-38.219-14-52s-18.906-24.052-34-32c-15.094-7.948-38.5-16.562-70-24s-51.833-15.146-60-22c-6.417-5.396-10-10.416-10-18-0-8.312 3.146-15.041 10-20 10.646-7.729 25.187-12 44-12 18.229 0 32.885 2.781 42 10s15.229 19.521 18 36l64-2c-1.021-29.458-11.657-54.354-32-72s-49.75-26-90-26zM232 636v54h96v266h64v-266h94v-54h-254z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-tapelib-ibmts" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 444, - "id": 151, - "prevSize": 16, - "code": 59794, - "name": "it-tapelib-ibmts" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 146 - }, - { - "icon": { - "paths": [ - "M60 0c-33.495 0-60 26.505-60 60v484c0 33.495 26.505 60 60 60h904c33.495 0 60-26.505 60-60v-484c0-33.495-26.505-60-60-60zM222 170h580c33.495 0 60 26.505 60 60v114c0 33.495-26.505 62-60 62h-580c-33.495 0-60-28.505-60-62v-114c0-33.495 26.505-60 60-60zM740 184c-54.503 0-98 43.497-98 98s43.497 98 98 98c54.503 0 98-43.497 98-98s-43.497-98-98-98zM284 194c-54.503 0-98 43.497-98 98s43.497 100 98 100c54.503 0 98-45.497 98-100s-43.497-98-98-98zM194 638.718c-24.646 0-46.573 4.563-64 12s-30.74 17.782-40 32c-9.26 14.219-14 29.667-14 46-0 25.375 10.312 46.354 30 64 14 12.542 37.292 23.396 72 32 26.979 6.708 44.416 11.375 52 14 11.083 3.937 19.552 8.677 24 14s6 12.417 6 20c-0 11.813-5.427 21.177-16 30s-25.146 14-46 14c-19.688 0-36.406-6.083-48-16s-18.208-24.854-22-46l-64 6c4.229 35.875 18.271 63.26 40 82s53.458 28 94 28c27.854 0 49.333-4.198 68-12s33.791-19.958 44-36c10.208-16.042 16-33.625 16-52-0-20.271-5.469-36.219-14-50s-18.906-24.052-34-32c-15.094-7.948-38.5-16.562-70-24s-51.833-15.146-60-22c-6.417-5.396-10-10.416-10-18-0-8.312 3.146-15.041 10-20 10.646-7.729 25.187-12 44-12 18.229 0 32.885 2.781 42 10s15.229 19.521 18 36l64-2c-1.021-29.458-11.657-54.354-32-72s-49.75-26-90-26zM380 644.718v170c0 35.875 1.771 63.625 6 82 2.917 12.396 8.812 24.698 18 36s22.177 20.927 38 28c15.823 7.073 39.375 10 70 10 25.375 0 46.25-3.51 62-10s28.593-15.062 38-26c9.406-10.937 14.5-24.104 18-40s6-43.5 6-82v-168h-66v178c-0 25.375-0.104 43.063-2 54s-6.667 20.49-16 28c-9.334 7.511-23.625 10-42 10-18.083 0-33.573-4.052-44-12s-15.229-18.875-18-32c-1.604-8.167-4-24.437-4-52v-174zM704 644.718v320h60v-208l130 208h66v-320h-60v214l-132-214z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-tapelib-sunts" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 445, - "id": 150, - "prevSize": 16, - "code": 59795, - "name": "it-tapelib-sunts" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 147 - }, - { - "icon": { - "paths": [ - "M511.975 3.246l211.157 211.187-211.232 211.202-211.157-211.187 211.232-211.202z", - "M-0.023 507.944l211.202-211.202 211.202 211.202-211.202 211.202-211.202-211.202z", - "M601.514 507.838l211.232-211.172 211.218 211.277-211.232 211.172-211.218-211.277z", - "M511.954 1023.998l-211.202-211.202 211.157-211.157 211.202 211.202-211.157 211.157z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-Virtual network" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 446, - "id": 149, - "prevSize": 16, - "code": 59796, - "name": "it-Virtualnetwork" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 148 - }, - { - "icon": { - "paths": [ - "M496 0c-88.366 0-160 71.634-160 160 0 24.616 6.069 47.168 16 68-2.717-0.137-5.249 0-8 0-88.366 0-160 71.634-160 160 0 27.456 5.815 53.421 18 76-66.58 19.363-116 79.172-116 152 0 35.129 12.807 67.609 32 94-67.806 18.571-118 80.301-118 154 0 88.366 71.634 160 160 160 46.834 0 88.74-19.93 118-52 29.284 32.474 72.829 52 120 52 45.179 0 84.906-17.887 114-48 29.094 30.113 70.821 48 116 48 47.171 0 88.716-19.526 118-52 29.26 32.070 71.166 52 118 52 88.366 0 160-71.634 160-160 0-75.074-52.257-136.747-122-154 18.745-26.206 30-59.324 30-94 0-80.039-59.259-144.213-136-156 8.096-19.142 12-41.909 12-64 0-88.366-71.634-160-160-160-4.843 0-9.266 1.579-14 2 12.979-23.123 22-49.597 22-78 0-88.366-71.634-160-160-160zM486 320c3.384 0.214 6.562 0 10 0 4.814 0 9.294 0.416 14 0-4.875 8.722-10.808 16.369-14 26-2.494-9.021-6.040-17.694-10-26zM494 438c1.789 6.866 3.354 13.525 6 20-4.77 0.246-9.349 1.346-14 2 3.459-6.858 5.543-14.62 8-22z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "networkTree" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 447, - "id": 148, - "prevSize": 16, - "code": 59797, - "name": "networkTree" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 149 - }, - { - "icon": { - "paths": [ - "M192 0c-105.522 0-190 84.478-190 190v644c0 105.522 84.478 190 190 190h644c105.522 0 190-84.478 190-190v-644c0-105.522-84.478-190-190-190h-644zM800 96c52.598 0 96 43.403 96 96s-43.402 96-96 96c-52.598 0-94-43.403-94-96s41.402-96 94-96zM156 108h446v176h-446v-176zM804 418c52.598 0 96 43.403 96 96s-43.402 96-96 96c-52.598 0-94-43.403-94-96s41.402-96 94-96zM150 424h444v176h-444v-176zM156 740h446v176h-446v-176zM808 740c52.598 0 94 43.402 94 96s-41.402 96-94 96c-52.598 0-96-43.402-96-96s43.402-96 96-96z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "resourceType" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 448, - "id": 147, - "prevSize": 16, - "code": 59798, - "name": "resourceType" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 150 - }, - { - "icon": { - "paths": [ - "M384 0h256v256h-56.617v128h312.617v384h128v256h-384v-256h128v-256h-512v256h128v256h-384v-256h128v-384h322.873v-128h-66.873v-256z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "tree-icon" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 449, - "id": 146, - "prevSize": 16, - "code": 59799, - "name": "tree-icon" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 151 - }, - { - "icon": { - "paths": [ - "M0 256v192h96v320h-96v256h256v-256h-96v-320h320v320h-96v256h256v-256h-96v-320h320v320h-96v256h256v-256h-96v-320h96v-192z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "uep-topo-group20x20" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 450, - "id": 145, - "prevSize": 16, - "code": 59800, - "name": "uep-topo-group20x20" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 152 - }, - { - "icon": { - "paths": [ - "M86 0c-47.477 0-86 38.523-86 86v532c0 47.477 38.523 86 86 86h350l-44 172c108.143 38.808 178.516 26.928 240 0l-34-172h340c47.477 0 86-38.523 86-86v-532c0-47.477-38.523-86-86-86h-852zM110 112h804v468h-804v-468z", - "M304 840c-37.227 19.359-60 45.155-60 72 0 62.25 120.094 112 268 112s268-49.75 268-112c0-26.845-22.773-52.641-60-72-22.376 63.518-106.109 112-208 112s-185.624-48.482-208-112z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "uep-topo-root" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 451, - "id": 144, - "prevSize": 16, - "code": 59801, - "name": "uep-topo-root" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 153 - }, - { - "icon": { - "paths": [ - "M0 515.003h192v508.997h-192v-508.997z", - "M623.819 0v384l136-122v762h128v-746l136 122v-384l-192 172-208-188z", - "M298.857 515.003h192v508.997h-192v-508.997z", - "M597.714 515.003h192v508.997h-192v-508.997z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "uep-topo-virtual20x20" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 452, - "id": 143, - "prevSize": 16, - "code": 59802, - "name": "uep-topo-virtual20x20" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 154 - }, - { - "icon": { - "paths": [ - "M814-0.002c-115.833 0-208 94.371-208 210 0 115.623 92.167 208 208 208s210-92.377 210-208c0-115.629-94.167-210-210-210zM152 93.998c-84.432 0-152 67.717-152 152v626c0 84.277 67.568 152 152 152h628c84.432 0 150-67.723 150-152v-392c-35.867 16.242-74.050 26-116 26-157.445 0-286-126.827-286-284 0-45.721 10.802-89.719 30-128h-406zM704 105.998h70v206h-70v-206zM856 105.998h70v206h-70v-206zM110 291.998h84l176 228v-228h80v260c-15.173-4.433-31.583-6-48-6-32.083 0-61.605 10.229-88 26l-124-160v222h-80v-342zM414 597.998c34.617 0 62.38 9.577 84 30 12.869 12.071 23.565 27.389 30 50l-56 14c-3.346-14.642-9.383-25.522-20-34-10.617-8.487-24.815-12-40-12-20.976 0-38.938 6.966-52 22-13.062 15.024-18 40.34-18 74-0 35.718 5.131 60.85 18 76 12.869 15.155 31.41 22 52 22 15.185 0 27.061-4.383 38-14 10.938-9.635 17.238-25.321 22-46l56 18c-8.494 30.833-22.246 53.032-42 68-19.754 14.959-43.63 24-74 24-37.577 0-69.807-14.37-94-40s-36-59.552-36-104c0-47.014 11.678-83.987 36-110s56.364-38 96-38zM578 603.998h106c23.55 0 41.646-1.406 54 2 16.601 4.862 30.16 15.533 42 28 11.839 12.453 19.823 25.952 26 44s10 41.535 10 68c-0 23.25-4.21 43.175-10 60-7.078 20.553-16.874 37.271-30 50-9.909 9.631-23.142 16.606-40 22-12.612 3.966-28.895 6-50 6h-108v-280zM636 649.998v186h42c15.957 0 28.922-0.275 36-2 9.265-2.333 15.887-6.48 22-12 6.113-5.524 12.139-15.346 16-28s4-30.163 4-52c0-21.841-0.141-38.312-4-50-3.861-11.698-11.051-19.449-18-26s-15.319-11.681-26-14c-7.979-2.053-22.707-2-46-2h-26z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "common_ncd_stop" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 453, - "id": 142, - "prevSize": 16, - "code": 59803, - "name": "common_ncd_stop" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 155 - }, - { - "icon": { - "paths": [ - "M132-4c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM114 78h112l234 380v-380h106v570h-116l-230-372v372h-106v-570zM1028 640l-380 380h252c70.912 0 128-57.088 128-128v-252z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-app-netnumen" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 454, - "id": 141, - "prevSize": 16, - "code": 59804, - "name": "it-app-netnumen" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 156 - }, - { - "icon": { - "paths": [ - "M498 0c-82.532 2.144-165.473 23.817-242 68-244.886 141.385-329.386 455.113-188 700 110.457 191.318 326.328 283.858 532 248-67.447-15.471-126.088-49.392-172-98-19.648-4.043-39.322-7.308-58-14l32-18c-20.773-27.959-38.401-58.436-50-92l-90 52c-30.316-22.699-56.279-52.734-80-84l110-64c16.047 23.28 34.225 43.553 52 64-6.339-26.139-12-51.912-12-80 0-51.261 11.931-100.275 32-144l-42 24c-18.203-33.787-34.668-67.98-48-102l112-64 34 58c23.494-26.609 49.379-49.664 80-68l-24-42 104-60c14.891 18.474 28.283 37.666 42 58 18.097-2.934 35.074-6 54-6 60.481 0 118.588 16.641 168 44l50-30c11.932 28.367 20.080 58.668 26 88 0.673 0.673 1.332 1.322 2 2 45.731 46.49 78.423 105.65 92 172 23.66-117.806 6.802-243.76-58-356-97.203-168.36-276.429-260.716-458-256zM522 98c45.433 1.164 91.51 8.455 134 24l-64 36c-22.814-22.131-46.003-41.701-70-60zM394 114c39.593 25.649 77.216 56.275 114 92l-84 50-72-126c13.744-5.792 27.944-11.801 42-16zM760 178c31.169 23.019 57.714 49.989 82 82l-116 68c-20.416-32.76-40.879-63.373-64-92l88-52c3.203-1.849 7.605-3.435 10-6zM262 182l72 126-92 52c-12.711-49.321-17.254-97.18-20-144 12.392-12.18 25.886-23.294 40-34zM142 324c3.995 27.904 10.633 55.367 18 84l-58 34c7.125-40.791 21.178-80.958 40-118zM674 396c-158.574 0-286 129.426-286 288s127.426 286 286 286c158.574 0 288-127.426 288-286s-129.426-288-288-288zM192 506c13.398 34.314 27.679 69.994 46 104l-108 62c-15.217-36.176-27.5-72.396-32-110l94-56zM654 512c19.614 0 36 16.386 36 36 0 1.039 0.083 0.988 0 2l126 66c8.663-7.366 19.441-12 32-12 27.46 0 50 21.325 50 48s-22.54 48-50 48c-12.559 0-23.337-4.305-32-12l-76 50c0 1.051 0.147 0.989 0 2l92 62c4.905-3.888 8.99-6 16-6 16.568 0 32 11.905 32 28s-15.432 30-32 30c-16.568 0-28-13.905-28-30l-94-66c-2.938 1.163-6.665 2-10 2-13.338 0-26-9.043-26-22s12.662-24 26-24c4.798 0 8.156 1.697 12 4l76-48c-2.479-5.875-4-11.331-4-18 0-5.095 0.518-11.414 2-16l-122-64c-6.254 6.254-16.193 10-26 10-4.385 0-8.176-2.601-12-4l-90 114c8.642 9.928 12 23.723 12 38 0 31.383-24.617 56-56 56s-56-24.617-56-56c0-31.383 24.617-56 56-56 8.553 0 16.75 2.641 24 6l94-116c-3.186-5.279-6-9.223-6-16 0-19.614 14.386-36 34-36z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-sdn-vnet" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 455, - "id": 140, - "prevSize": 16, - "code": 59805, - "name": "it-sdn-vnet" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 157 - }, - { - "icon": { - "paths": [ - "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM178 122h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM176 344h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM180 588h64v126h128v-126h64v320h-64v-140h-128v140h-64v-320zM598 588h104c39.375 0 66.041 0.792 78 4 18.375 4.813 33.604 15.886 46 32s18 36.479 18 62c-0 19.688-2.854 36.584-10 50s-16.99 24.344-28 32c-11.011 7.656-22.625 11.521-34 14-15.458 3.062-36.688 6-66 6h-44v120h-64v-320zM662 642v90h36c25.521 0 43.396-0.646 52-4s15.114-8.854 20-16c4.885-7.146 8-14.521 8-24-0-11.666-5.146-22.416-12-30s-15.5-12.104-26-14c-7.729-1.458-22.667-1.999-46-2h-32z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-storage-sanswitch-hp" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 456, - "id": 139, - "prevSize": 16, - "code": 59806, - "name": "it-storage-sanswitch-hp" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 158 - }, - { - "icon": { - "paths": [ - "M526 0c-4.17-0.122-9.077-0.191-14-0.191-282.77 0-512 229.23-512 512 0 0.067 0 0.135 0 0.202-0 282.759 229.23 511.99 512 511.99s512-229.23 512-512c0-0.057 0-0.124 0-0.191 0-277.847-221.318-504.002-497.281-511.792zM294 112v78h562v96h-562v78l-126-126 126-126zM728 386l128 128-128 126v-78h-560v-96h560v-80zM294 658v80h562v96h-562v78l-126-126 126-128z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "it-switch" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 457, - "id": 138, - "prevSize": 16, - "code": 59807, - "name": "it-switch" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 159 - }, - { - "icon": { - "paths": [ - "M120 205.183l-58 124h894l-30-64h-424l-16-60zM0 430l64 594h898l62-594z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "uep-moc-root" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 458, - "id": 137, - "prevSize": 16, - "code": 59808, - "name": "uep-moc-root" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 160 - }, - { - "icon": { - "paths": [ - "M0 256v192h96v320h-96v256h256v-256h-96v-320h320v320h-96v256h256v-256h-96v-320h320v320h-96v256h256v-256h-96v-320h96v-192zM64 832h128v128h-128zM448 832h128v128h-128zM832 832h128v128h-128z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "uep-topo-undefinedgroup20x20" - ], - "colorPermutations": { - "100148206110015523011231311471124133150124491091961401931991472051": [] - } - }, - "attrs": [], - "properties": { - "order": 459, - "id": 136, - "prevSize": 16, - "code": 59809, - "name": "uep-topo-undefinedgroup20x20" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 161 - }, - { - "icon": { - "paths": [ - "M288.414 402.18c0 0.009 0 0.020 0 0.030 0 79.643-64.564 144.207-144.207 144.207s-144.207-64.564-144.207-144.207c0-0.011 0-0.021 0-0.032-0-0.007-0-0.018-0-0.029 0-79.643 64.564-144.207 144.207-144.207s144.207 64.564 144.207 144.207c0 0.011-0 0.021-0 0.032z", - "M287.26 811.728c0 0.007 0 0.016 0 0.025 0 64.352-52.167 116.519-116.519 116.519s-116.519-52.167-116.519-116.519c0-0.009 0-0.017 0-0.026-0-0.006-0-0.015-0-0.023 0-64.352 52.167-116.519 116.519-116.519s116.519 52.167 116.519 116.519c0 0.009-0 0.017-0 0.026z", - "M716.419 898.252c0 0.008 0 0.017 0 0.026 0 69.449-56.299 125.748-125.748 125.748s-125.748-56.299-125.748-125.748c0-0.009 0-0.019 0-0.028-0-0.006-0-0.016-0-0.025 0-69.449 56.299-125.748 125.748-125.748s125.748 56.299 125.748 125.748c0 0.009-0 0.019-0 0.028z", - "M748.721 227.979c0 0.014 0 0.031 0 0.047 0 124.243-100.719 224.963-224.963 224.963s-224.963-100.719-224.963-224.963c0-0.017 0-0.033 0-0.050-0-0.011-0-0.028-0-0.045 0-124.243 100.719-224.963 224.963-224.963s224.963 100.719 224.963 224.963c0 0.017-0 0.033-0 0.050z", - "M1025.598 541.773c0 0.011 0 0.024 0 0.037 0 97.483-79.026 176.509-176.509 176.509s-176.509-79.026-176.509-176.509c0-0.013 0-0.026 0-0.039-0-0.009-0-0.022-0-0.035 0-97.483 79.026-176.509 176.509-176.509s176.509 79.026 176.509 176.509c0 0.013-0 0.026-0 0.039z", - "M526.066 635.219c0 0.006 0 0.013 0 0.020 0 51.609-41.837 93.446-93.446 93.446s-93.446-41.837-93.446-93.446c0-0.007 0-0.014 0-0.021-0-0.005-0-0.012-0-0.019 0-51.609 41.837-93.446 93.446-93.446s93.446 41.837 93.446 93.446c0 0.007-0 0.014-0 0.021z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "analysis" - ] - }, - "attrs": [], - "properties": { - "order": 460, - "id": 135, - "prevSize": 16, - "code": 59810, - "name": "analysis" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 162 - }, - { - "icon": { - "paths": [ - "M316-2c-95.089 0-172 76.911-172 172 0 92.48 72.524 167.929 164 172-90.194 5.431-162 78.44-162 170 0 86.687 64.634 158.002 148 170-84.072 11.37-148 82.811-148 170 0 95.089 76.911 172 172 172s172-76.911 172-172c0-87.422-65.601-158.925-150-170 84.346-11.124 150-82.616 150-170 0-92.33-72.732-167.706-164-172 90.194-5.431 162-78.44 162-170 0-95.089-76.911-172-172-172zM750 206c-95.089 0-172 76.911-172 172s76.911 172 172 172c-94.127 1.118-170 77.608-170 172 0 95.089 76.911 172 172 172s174-76.911 174-172c0-95.089-78.911-172-174-172 94.18-1.057 170-77.569 170-172 0-95.089-76.911-172-172-172z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "bindingRelationship" - ] - }, - "attrs": [], - "properties": { - "order": 461, - "id": 134, - "prevSize": 16, - "code": 59811, - "name": "bindingRelationship" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 163 - }, - { - "icon": { - "paths": [ - "M0 0v1024h1024v-1024h-1024zM64 232h896v744h-896v-744zM154 380v64h386v-64h-386zM154 586v64h738v-64h-738zM154 798v64h738v-64h-738z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "browsePolicy" - ] - }, - "attrs": [], - "properties": { - "order": 462, - "id": 133, - "prevSize": 16, - "code": 59812, - "name": "browsePolicy" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 164 - }, - { - "icon": { - "paths": [ - "M0 0v1024h1024v-1024h-1024zM122 120h780v584h-198v198h-384v-198h-198v-584zM234 234v64h556v-64h-556zM234 446v64h556v-64h-556z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "businessManagment" - ] - }, - "attrs": [], - "properties": { - "order": 463, - "id": 132, - "prevSize": 16, - "code": 59813, - "name": "businessManagment" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 165 - }, - { - "icon": { - "paths": [ - "M0 205.472v818.528h1024v-818.528zM66 269.472h896v108.902h-896zM66 544.378h896v415.622h-896zM726 699.098v192h192v-192zM108 827.098v64h156v-64zM314 827.098v64h64v-64z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "cardData" - ] - }, - "attrs": [], - "properties": { - "order": 464, - "id": 131, - "prevSize": 16, - "code": 59814, - "name": "cardData" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 166 - }, - { - "icon": { - "paths": [ - "M340-4l-34 6-286 48 12 34 22 76h-54v862h1024v-585.229l-295.229-276.771h-262.771l-14-120-64 6 12 114h-46l-10-128zM282 72l8 88h-78l-22-50-44 18 12 32h-34l-20-58zM64 224h118l84 216 10 22 24-4 48-6 30-6-2-30-16-192h368.771v212.771h231.229v521.229h-896zM240 224h56l12 150zM142 578v64h762v-64zM142 764v64h762v-64z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "dailyManagment" - ] - }, - "attrs": [], - "properties": { - "order": 465, - "id": 130, - "prevSize": 16, - "code": 59815, - "name": "dailyManagment" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 167 - }, - { - "icon": { - "paths": [ - "M512 0l-512 322h1024l-512-322zM512 114c26.51 0 48 21.49 48 48s-21.49 48-48 48c-26.51 0-48-21.49-48-48s21.49-48 48-48z", - "M55.344 389.331l4 30.336v391.379l-4 31.853h174l-4-31.853v-391.379l4-30.336h-174zM301.344 389.331l4 30.336v391.379l-4 31.853h174l-4-31.853v-391.379l4-30.336h-174zM547.344 389.331l4 30.336v391.379l-4 31.853h174l-4-31.853v-391.379l4-30.336h-174zM793.344 389.331l4 30.336v391.379l-4 31.853h174l-4-31.853v-391.379l4-30.336h-174z", - "M33.331 897.344h957.338l33.331 126.656h-1024z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "enterpriseCustomer" - ] - }, - "attrs": [], - "properties": { - "order": 466, - "id": 129, - "prevSize": 16, - "code": 59816, - "name": "enterpriseCustomer" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 168 - }, - { - "icon": { - "paths": [ - "M96 0v1024h832v-554c-16.551 23.661-38.104 28.804-64 42v448h-704v-896h422c23.693-31.685 58.349-54.324 98-64h-584zM816 26c-114.539 0-206 93.461-206 208s91.461 208 206 208c114.54 0 208-93.461 208-208s-93.46-208-208-208zM220 120v64h248v-64h-248zM710 196h214v76h-214v-76zM220 222v206h248v-206h-248zM220 464v98h248v-98h-248zM218 646v64h578v-64h-578zM224 798v64h580v-64h-580z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "equipmentBlacklist" - ] - }, - "attrs": [], - "properties": { - "order": 467, - "id": 128, - "prevSize": 16, - "code": 59817, - "name": "equipmentBlacklist" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 169 - }, - { - "icon": { - "paths": [ - "M962.030 47.968c-8.838 62.893-26.692 87.763-47.41 100.083-20.708 12.307-50.544 12.506-82.517 12.282-31.978 0-67.463-2.432-98.328 22.835-15.428 12.595-26.625 30.035-29.849 52.672-0.25 1.728 0.198 3.52 0.011 5.248-51.048-20.41-232.3-46.931-275.527-8.051-1.923 1.792-5.16 1.664-7.021 3.52l-421.389 419.59 367.856 367.853 421.389-419.635c1.8-1.792 3.59-3.392 5.265-5.312 47.548-52.435 13.878-252.998-27.359-308.89-2.946-19.462-4.849-36.262-3.511-45.651 1.751-12.32 4.106-15.181 7.021-17.562 5.823-4.736 28.684-7.251 61.453-7.027 32.769 0.006 75.936 1.664 114.126-21.062 38.191-22.714 65.175-68.762 75.499-142.221l-59.699-8.781zM623.738 344.115c31.034 0 56.189 25.158 56.185 56.192 0.001 31.027-25.154 56.179-56.183 56.179s-56.184-25.152-56.185-56.179c-0.001-31.034 25.154-56.192 56.183-56.192z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "equipmentModel" - ] - }, - "attrs": [], - "properties": { - "order": 468, - "id": 127, - "prevSize": 16, - "code": 59818, - "name": "equipmentModel" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 170 - }, - { - "icon": { - "paths": [ - "M160 8c-25.903 30.044-41.331 62.192-48 94h-106v924h670c10.497 1.078 21.219 2 32 2 8.767 0 17.417-1.283 26-2h40v-6c140.119-31.085 246-156.583 246-306s-105.881-273.317-246-304v-308h-158c5.279-16.405 16.044-33.491 32-52l-48-42c-25.903 30.044-41.331 62.192-48 94h-80c5.311-16.271 14.187-33.658 30-52l-48-42c-25.903 30.044-41.331 62.192-48 94h-82c5.819-16.405 16.044-33.491 32-52l-50-42c-25.903 30.044-41.331 62.192-48 94h-82c5.279-16.405 16.044-33.491 32-52l-48-42zM86 182h28c8.23 31.167 24.037 60.201 44 88l52-36c-13.274-18.483-23.611-34.856-30-52h82c8.815 31.148 24.048 60.216 44 88l52-36c-13.245-18.443-23.056-34.89-30-52h80c8.23 31.167 24.037 60.201 44 88l52-36c-13.274-18.483-23.611-34.856-30-52h80c8.23 31.167 24.037 60.201 44 88l52-36c-13.274-18.483-23.611-34.856-30-52h76v220c-166.907 6.305-300 143.532-300 312 0 91.892 40.922 174.406 104 232h-414v-764zM888 582l46 44-226 230-28 26-22-30-128-180 52-38 106 150 200-202z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "examine" - ] - }, - "attrs": [], - "properties": { - "order": 469, - "id": 126, - "prevSize": 16, - "code": 59819, - "name": "examine" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 171 - }, - { - "icon": { - "paths": [ - "M0 0v1024h818v-106l-64 8v34h-690v-896h690v106l64 8v-178h-818zM730 228c-163.35 0-296 130.65-296 294s132.65 296 296 296c163.35 0 294-132.65 294-296s-130.65-294-294-294zM132 246v64h306v-64h-306zM704 324h48c17.845 0 35.574 14.224 34 32l-18 200c-1.574 17.776-14.155 32-32 32h-10c-17.845 0-30.060-14.261-32-32l-22-200c-1.94-17.739 14.155-32 32-32zM132 434v64h226v-64h-226zM132 622v64h226v-64h-226zM728 624c27.036 0 50 20.964 50 48s-22.964 50-50 50c-27.036 0-48-22.964-48-50s20.964-48 48-48zM132 812v64h354v-64h-354z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "failureList" - ] - }, - "attrs": [], - "properties": { - "order": 470, - "id": 125, - "prevSize": 16, - "code": 59820, - "name": "failureList" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 172 - }, - { - "icon": { - "paths": [ - "M448-0.001c-99.149 0-184 84.858-184 184s84.851 178 184 178c99.149 0 174-78.858 174-178s-74.851-184-174-184zM286 373.999c-129.705 57.273-217.877 186.935-226 336l-60 250c284.445-318.778 236-372.086 236 66h276.671v-270.561c3.512-99.722 66.764-160.188 121.919-172.125-17.49-54.214-25.625-122.175 3.41-167.313-5.942-21.014-17.153-35.182-36-42-1.835-1.639-2.149 0-4 0-40.421 38.476-89.792 64-150 64s-117.579-25.524-158-64c-1.347-1.639-2.68 1.639-4 0zM786 397.999c-60.168 0-112 51.224-112 112s51.832 110 112 110c60.168 0 106-49.224 106-110s-45.832-112-106-112zM1014 409.999c-65.69 147.654-105.651 269.621-246 250-36.537 0-71.471-14.414-96-38-0.818-1.005-1.199 1.005-2 0-74.281 35.109-67.145 38.621-110 130l4.464 254 63.536-178h10v192h254v-192h12c97.602-38.567 100.046-313.036 110-418z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "familyCustomer" - ] - }, - "attrs": [], - "properties": { - "order": 471, - "id": 124, - "prevSize": 16, - "code": 59821, - "name": "familyCustomer" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 173 - }, - { - "icon": { - "paths": [ - "M256 22v150h64v-54h398v54h64v-150h-526zM8 242v294h132v-64h96v64h600v-64h96v64h100v-294h-1024zM0 596v428h1024v-428h-92v64h-96v-64h-600v64h-96v-64h-140zM404 658l224 152-224 152v-304z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "fileTool" - ] - }, - "attrs": [], - "properties": { - "order": 472, - "id": 123, - "prevSize": 16, - "code": 59822, - "name": "fileTool" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 174 - }, - { - "icon": { - "paths": [ - "M0 0v1024h1024v-1024h-1024zM448 64h128v896h-128v-896zM120 112h208v210h-208v-210zM696 112h208v210h-208v-210zM120 414h208v210h-208v-210zM696 414h208v210h-208v-210zM120 716h208v210h-208v-210zM696 716h208v210h-208v-210z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "groupManagment" - ] - }, - "attrs": [], - "properties": { - "order": 473, - "id": 122, - "prevSize": 16, - "code": 59823, - "name": "groupManagment" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 175 - }, - { - "icon": { - "paths": [ - "M830 4.002c-3.954 0-6.163 1.654-10 2-21.087 1.899-42.52 9.182-60 20-150.563 49.266-299.814 132.472-452 140v310l470 160c6.045 2.682 13.576 4.251 20 6 2.196 0.595 3.76 1.518 6 2 8.682 1.868 16.664 2 26 2 62.639 0 110.185-44.115 142-102s50-131.924 50-216c0-84.083-18.185-164.115-50-222-31.815-57.892-79.361-102-142-102zM830 64.002c25.474 0 58.072 20.828 84 68 25.928 47.179 42 119.755 42 196 0 76.238-16.072 142.828-42 190-25.928 47.179-58.526 68-84 68s-56.072-20.821-82-68c-25.928-47.172-44-113.762-44-190 0-76.245 18.072-148.821 44-196 25.928-47.172 56.526-68 82-68zM72 166.002c-33.614 0-60 26.386-60 60v190c0 33.614 26.386 60 60 60h172v-310h-172zM830 226.002c-17.38 0-30 49.537-30 110s12.62 108 30 108c17.38 0 32-47.537 32-108s-14.62-110-32-110zM330 570.002c-6.68-0.112-12.981 0.409-20 2-9.358 2.121-19.412 5.042-28 10l-58 34c-34.354 19.839-42.526 54.103-34 84 32.971 115.619 74.038 226.209 176 302 25.476 18.866 55.648 31.828 90 12l56-32c34.353-19.834 64.686-68.57 36-84-110.803-59.587-141.877-183.942-176-304-4.781-16.821-21.959-23.665-42-24z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "notice" - ] - }, - "attrs": [], - "properties": { - "order": 474, - "id": 121, - "prevSize": 16, - "code": 59824, - "name": "notice" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 176 - }, - { - "icon": { - "paths": [ - "M516 0l-182 362h362l-180-362zM270 490l-104 206h696l-102-206h-490zM100 824l-100 200h1024l-100-200h-824z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "policy" - ] - }, - "attrs": [], - "properties": { - "order": 475, - "id": 120, - "prevSize": 16, - "code": 59825, - "name": "policy" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 177 - }, - { - "icon": { - "paths": [ - "M0 0v1024h1024v-1024h-1024zM74 74h876v132h-876v-132zM126 104v64h64v-64h-64zM258 104v64h64v-64h-64zM390 104v64h64v-64h-64zM74 270h876v680h-876v-680zM510 326l-284 194h572l-288-194zM272 558v320h478v-320h-478zM448 738h126v138h-126v-138z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "portal" - ] - }, - "attrs": [], - "properties": { - "order": 476, - "id": 119, - "prevSize": 16, - "code": 59826, - "name": "portal" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 178 - }, - { - "icon": { - "paths": [ - "M0 0v1024h818v-98h-64v34h-690v-896h690v114h64v-178h-818zM572 180c-147.574 0-268 123.722-268 276s120.426 276 268 276c50.852 0 97.535-16.556 138-42 2.376 5.114 5.882 11.751 10 16l188 194c19.466 20.086 50.534 20.086 70 0l24-24c19.466-20.086 19.466-51.914 0-72l-188-196c-4.077-4.207-9.099-7.555-14-10 24.048-41.386 38-90.234 38-142 0-152.278-118.426-276-266-276zM572 254c107.326 0 194 91.253 194 202s-86.674 200-194 200c-107.326 0-196-89.253-196-200s88.674-202 196-202zM134 466v64h82c-5.078-20.817-9.052-41.784-10-64h-72zM138 654v64h204c-24.807-17.419-47.038-40.025-66-64h-138zM138 824v64h452v-64h-452z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "recordQuery" - ] - }, - "attrs": [], - "properties": { - "order": 477, - "id": 118, - "prevSize": 16, - "code": 59827, - "name": "recordQuery" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 179 - }, - { - "icon": { - "paths": [ - "M116 30l-114 528h-2l2 6-2 6h2l102 454h840l78-454h2l-2-6 2-6h-2l-114-528h-792zM162 84h700l84 398h-868l84-398zM328 140v48h370v-48h-370zM236 250v58h554v-58h-554zM190 362v64h646v-64h-646zM378 750h268v60h-268v-60z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "resourceManagment" - ] - }, - "attrs": [], - "properties": { - "order": 478, - "id": 117, - "prevSize": 16, - "code": 59828, - "name": "resourceManagment" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 180 - }, - { - "icon": { - "paths": [ - "M0 768h1024v256h-1024v-256z", - "M155.869 132.442h192v535.838h-192v-535.838z", - "M880.115 476.282v192h-427.888v-192h427.888z", - "M871.413 132.442v192h-427.888v-192h427.888z", - "M0 0v1024h1024v-1024h-1024zM60 60h904v901.997h-904v-901.997z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "ruleManagment" - ] - }, - "attrs": [], - "properties": { - "order": 479, - "id": 116, - "prevSize": 16, - "code": 59829, - "name": "ruleManagment" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 181 - }, - { - "icon": { - "paths": [ - "M908 4l-440 1016h82l438-1016h-80zM586 56c-28.986 0-55.758 11.758-76 32s-34 50.999-34 88c0 37.001 13.758 67.758 34 88s47.014 32 76 32c28.986 0 55.758-11.758 76-32s34-50.999 34-88c0-37.001-13.758-67.758-34-88s-47.014-32-76-32zM586 104c24.033 0 45.497 11.497 60 26s22 29.982 22 46c0 16.018-7.497 33.497-22 48s-35.967 24-60 24c-24.033 0-45.497-9.497-60-24s-22-31.982-22-48c0-16.018 7.497-31.497 22-46s35.967-26 60-26zM462 342l-208 428-124-200-132 84 208 204 22 26 28-22 380-448-174-72zM872 740c-28.986 0-55.758 11.758-76 32s-36 50.999-36 88c0 37.001 15.758 67.758 36 88s47.014 32 76 32c28.986 0 53.758-11.758 74-32s36-50.999 36-88c0-37.001-15.758-67.758-36-88s-45.014-32-74-32zM872 788c24.033 0 45.497 11.497 60 26s20 29.982 20 46c0 16.018-5.497 33.497-20 48s-35.967 24-60 24c-24.033 0-45.497-9.497-60-24s-22-31.982-22-48c0-16.018 7.497-31.497 22-46s35.967-26 60-26z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "sucessRate" - ] - }, - "attrs": [], - "properties": { - "order": 480, - "id": 115, - "prevSize": 16, - "code": 59830, - "name": "sucessRate" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 182 - }, - { - "icon": { - "paths": [ - "M340 0c-188.394 0-340 151.606-340 340v344c0 188.394 151.606 340 340 340h344c188.394 0 340-151.606 340-340v-344c0-188.394-151.606-340-340-340h-344zM340 60h344c156.193 0 280 123.807 280 280v344c0 156.193-123.807 280-280 280h-344c-156.193 0-280-123.807-280-280v-344c0-156.193 123.807-280 280-280zM294 152l-118 98 140 172-148 204 116 86 224-284-214-276zM526 616v96h96v-96h-96zM758 616v96h96v-96h-96z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "terminalManagment" - ] - }, - "attrs": [], - "properties": { - "order": 481, - "id": 114, - "prevSize": 16, - "code": 59831, - "name": "terminalManagment" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 183 - }, - { - "icon": { - "paths": [ - "M232 10c-61.702 26.098-104 88.791-104 160 0 63.406 36.891 118.173 88 148v142h-28c-102.784 0-188 79.286-188 174v216c0 94.714 85.216 174 188 174h648c102.784 0 188-79.286 188-174v-216c0-94.714-85.216-174-188-174h-90v-272.744l32.242 10.697h75.758c9.891-1.512 13.281-2.842 20-18 16.523-50.182 124.738-56.639 146-37.954 3.52-58.704-84.581-96.842-148-94-38.653-1.549-114 0-114 0-12.518 0.026-23.19 12.302-28 28h-56v-8c0-29.134-22.866-54-52-54h-20c-29.134 0-54 24.866-54 54v108c0 29.134 24.866 54 54 54h20c10.645 0 19.738-4.604 28-10v240h-270v-138c55.309-28.606 92-85.473 92-152 0-71.885-45.362-134.327-108-160 0.91 2.929 4 6.714 4 10v176c0 15.687-14.009 28-28 28h-80c-13.991 0-28-12.313-28-28v-176c0-3.286 3.090-7.071 4-10-0.589 0.241-3.414-0.248-4 0zM188 560h648c45.538 0 82 32.037 82 74v16h-812v-16c0-41.963 36.462-74 82-74zM106 714h812v136c0 41.963-36.462 76-82 76h-648c-45.538 0-82-34.037-82-76z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "tools" - ] - }, - "attrs": [], - "properties": { - "order": 482, - "id": 113, - "prevSize": 16, - "code": 59832, - "name": "tools" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 184 - }, - { - "icon": { - "paths": [ - "M386.288 150.611c-64.504 2.92-124.19 43.881-109.558 141.846 15.955 106.825 15.406 172.256 93.327 158.057 87.588-15.961 108.823-82.844 103.471-164.136-5.847-88.81-26.616-138.511-87.24-135.767zM670.326 166.822c-46.129 2.217-72.376 54.29-93.327 119.556-33.015 102.851-30.356 144.937 48.692 149.951 88.855 5.637 118.134-31.147 131.875-111.45 13.208-77.193-5.994-141.384-64.923-156.030-7.366-1.831-15.727-2.343-22.317-2.026zM112.394 359.327c-60.726 0-106.386 63.689-111.586 141.846-7.171 107.77 33.666 156.045 111.586 141.846 87.588-15.961 115.64-60.605 109.558-141.846-5.847-78.094-48.831-141.846-109.558-141.846zM923.931 373.512c-43.702 4.545-86.594 41.033-113.615 93.213-49.679 95.935-32.478 154.168 44.635 172.241 86.68 20.316 129.302-8.204 156.221-85.107 25.876-73.924 13.064-150.038-42.606-174.268-13.918-6.057-30.067-7.594-44.635-6.079zM493.817 497.12c-80.695 0-167.197 57.335-200.855 176.294-89.884 44.495-159.755 129.365-137.961 214.795 35.956 140.948 185.98 135.767 338.817 135.767s326.644 1.514 326.644-143.872c0-145.386-173.807-382.983-326.644-382.983z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "track" - ] - }, - "attrs": [], - "properties": { - "order": 483, - "id": 112, - "prevSize": 16, - "code": 59833, - "name": "track" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 185 - }, - { - "icon": { - "paths": [ - "M325.771 135.155c-83.461 0-153.836 70.365-153.836 153.834 0 83.463 70.375 150.816 153.836 150.816s147.803-67.353 147.803-150.816c0-83.469-64.342-153.834-147.803-153.834zM190.033 448.859c-109.183 48.214-183.195 158.051-190.033 283.537h404.954l113.039-250.144c-12.772-8.111-48.521-27.215-62.517-33.393-1.545-1.312-1.458 0-3.017 0l-126.689 189.911-132.721-189.911c-1.134-1.312-1.905 1.312-3.016 0z", - "M703.355 355.176c-83.461 0-153.836 70.365-153.836 153.834 0 83.463 70.375 150.816 153.836 150.816s147.804-67.354 147.804-150.816c0-83.469-64.342-153.834-147.804-153.834zM567.617 668.88c-109.183 48.214-183.195 158.051-190.033 283.537h645.509c-6.838-125.486-80.85-235.323-190.033-283.537-1.546-1.312-1.459 0-3.017 0-71.621 110.94-177.699 111.193-259.41 0-1.134-1.312-1.905 1.312-3.016 0z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "userManagment" - ] - }, - "attrs": [], - "properties": { - "order": 484, - "id": 111, - "prevSize": 16, - "code": 59834, - "name": "userManagment" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 186 - }, - { - "icon": { - "paths": [ - "M128 0.25v481.997h-128l112 540.806h802l110-540.806h-128v-481.997zM192 64.25h640v417.997h-640zM244 192.25v64h270v-64zM242 322.246v64h520v-64z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "versionManagment" - ] - }, - "attrs": [], - "properties": { - "order": 485, - "id": 110, - "prevSize": 16, - "code": 59835, - "name": "versionManagment" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 187 - }, - { - "icon": { - "paths": [ - "M116 0v1024h792v-722h2l-282-300v-2h-512zM176 60h390v302h282v600h-672v-902zM628 96l192 206h-192v-206zM374 98v106h-114v84h114v112l140-154-140-148zM650 452v106h-114v84h114v112l140-154-140-148zM374 616v106h-114v84h114v112l140-154-140-148z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "workOrder" - ] - }, - "attrs": [], - "properties": { - "order": 486, - "id": 109, - "prevSize": 16, - "code": 59836, - "name": "workOrder" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 188 - }, - { - "icon": { - "paths": [ - "M888.686 0h-753.371c-74.606 0-135.314 62.171-135.314 138.606v746.862c0 76.361 60.709 138.533 135.314 138.533h753.371c74.606 0 135.314-62.171 135.314-138.606v-746.789c0-76.434-60.709-138.606-135.314-138.606zM888.686 950.857h-49.445v-59.831c0-77.531-64-140.581-142.702-140.581h-15.287c-13.239-22.601-37.010-38.473-65.463-38.473-42.35 0-76.8 33.646-76.8 75.118 0 41.399 34.45 75.191 76.8 75.191 28.526 0 52.517-16.091 65.609-38.766h15.141c38.327 0 69.559 30.208 69.559 67.438v59.904h-571.611v-59.831c0-37.23 31.232-67.438 69.559-67.438h51.785c13.239 22.747 37.157 38.766 65.682 38.766 42.35 0 76.727-33.792 76.727-75.191 0-41.472-34.377-75.118-76.727-75.118-28.453 0-52.297 15.872-65.536 38.4h-51.931c-78.702 0-142.702 63.049-142.702 140.581v56.832c-27.355-6.802-48.201-31.598-48.201-62.464v-263.68h109.568c10.679 13.605 26.697 22.894 45.568 22.894 32.329 0 58.441-25.6 58.441-57.198 0-31.671-26.039-57.344-58.441-57.344-21.65 0-39.863 12.069-49.957 29.33h-105.179v-91.429h111.835c10.752 11.776 25.893 19.602 43.301 19.602 32.329 0 58.441-25.673 58.441-57.271 0-31.671-26.039-57.344-58.441-57.344-23.186 0-42.789 13.531-52.224 32.695h-102.912v-267.045c0-36.133 27.867-65.463 62.171-65.463h266.459v108.032c-19.602 9.216-33.353 28.526-33.353 51.2 0 31.744 26.185 57.344 58.587 57.344 32.183 0 58.441-25.6 58.441-57.344 0-17.042-7.973-31.89-19.968-42.423v-116.809h93.33v110.226c-17.774 9.947-30.062 27.721-30.062 49.006 0 31.744 26.185 57.344 58.514 57.344 32.183 0 58.441-25.6 58.441-57.344 0-18.505-9.509-34.231-23.406-44.617v-114.615h266.459c34.231 0 62.098 29.33 62.098 65.463v267.045h-102.546c-9.435-19.163-28.965-32.695-52.224-32.695-32.329 0-58.441 25.673-58.441 57.344 0 31.598 26.039 57.271 58.441 57.271 17.408 0 32.475-7.826 43.301-19.602h111.47v91.429h-104.887c-10.094-17.262-28.306-29.33-49.957-29.33-32.329 0-58.441 25.673-58.441 57.344s26.039 57.198 58.441 57.198c18.871 0 34.962-9.362 45.568-22.894h109.275v263.68c0 36.133-27.867 65.463-62.171 65.463z", - "M356.206 377.637h294.985v275.529h-294.985v-275.529z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "cpu" - ] - }, - "attrs": [], - "properties": { - "order": 487, - "id": 108, - "prevSize": 16, - "code": 59837, - "name": "cpu" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 189 - }, - { - "icon": { - "paths": [ - "M1023.854 653.751l-97.938-566.491h-794.99l-130.706 566.491h-0.219v284.306h1024v-284.306h-0.146zM183.296 160.402h686.885l72.923 421.010h-856.942l97.134-421.010zM955.685 864.841h-887.369v-137.947h887.442v137.947z", - "M131.95 750.738h73.143v99.109h-73.143v-99.109z", - "M247.003 750.738h73.143v99.109h-73.143v-99.109z", - "M890.368 802.231c0 17.693-14.343 32.037-32.037 32.037s-32.037-14.343-32.037-32.037c0-17.693 14.343-32.037 32.037-32.037s32.037 14.343 32.037 32.037z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "memory" - ] - }, - "attrs": [], - "properties": { - "order": 488, - "id": 107, - "prevSize": 16, - "code": 59838, - "name": "memory" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 190 - }, - { - "icon": { - "paths": [ - "M512 0c-282.331 0-512 229.742-512 512s229.669 512 512 512c282.258 0 512-229.742 512-512s-229.742-512-512-512zM512 950.857c-242.030 0-438.857-196.827-438.857-438.857s196.827-438.857 438.857-438.857 438.857 196.827 438.857 438.857-196.827 438.857-438.857 438.857z", - "M757.906 631.296c-56.174-56.174-80.018-165.961-77.605-227.474 2.853-61.44-14.409-118.638-58.661-152.357-39.79-30.208-80.53-24.064-80.53-24.064l-2.414-21.431c0 0-8.923-6.949-26.77-6.949-16.823 0-26.697 6.949-26.697 6.949l-2.706 21.431c0 0-40.667-6.071-80.165 24.064-44.471 33.719-61.586 90.99-58.88 152.357 2.706 61.513-21.358 171.301-77.605 227.401-56.101 56.174-64.073 58.953-61.44 88.283 2.779 29.33 26.917 43.813 26.917 43.813h196.462c0 34.158 37.742 61.733 84.187 61.733 46.592 0 84.187-27.575 84.187-61.733h196.535c0 0 24.21-14.409 26.843-43.813s-5.266-32.11-61.659-88.21z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "currentAlarm" - ] - }, - "attrs": [], - "properties": { - "order": 489, - "id": 106, - "prevSize": 16, - "code": 59839, - "name": "currentAlarm" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 191 - }, - { - "icon": { - "paths": [ - "M518.656 2.341c-282.331 0-512 229.669-512 512 0 282.258 229.669 512 512 512s512.073-229.742 512.073-512c0-282.331-229.742-512-512.073-512zM518.656 953.125c-242.030 0-438.857-196.827-438.857-438.857s196.827-438.857 438.857-438.857c242.103 0 438.93 196.827 438.93 438.857s-196.901 438.857-438.93 438.857z", - "M818.907 432.494c-1.755 0-3.365 1.243-5.339 1.463v-192.951c0 0-27.209-12.142-51.273 0-50.834 25.307-118.711 109.495-190.245 123.173-71.314 13.531-264.265-0.512-350.939 7.607-23.918 2.121-63.927 15.067-67.511 67.584-3.877 52.443 0 107.154 0 107.154s19.602 45.202 45.056 45.202c25.381 0 81.627 0 81.627 0s-2.121 107.447 0 143.287c3.145 50.176 18.871 62.318 38.107 88.137 11.045 15.141 73.655 49.737 112.347 25.966 21.504-13.385 39.643-36.425 31.89-65.536-9.509-35.182-44.105-1.39-54.711-44.105-10.679-42.496-7.607-127.561-7.607-127.561s18.286-25.893 42.642-31.963c5.413-1.463 74.459 4.608 74.459 4.608s190.464 66.779 235.52 129.097c31.963 44.032 60.635 13.531 60.635 13.531v-190.61c1.902 0.219 3.584 1.463 5.266 1.463 20.626 0 37.376-23.479 37.376-52.809 0.073-29.111-16.603-52.736-37.303-52.736zM781.824 668.087h-13.824c0 0 0 0-39.424-35.035-39.424-34.889-127.122-69.925-180.809-86.674-15.433-4.754-65.024-8.338-65.024-8.338v-112.347c6.437-0.146 17.262-4.389 37.815-3.73 107.886 2.999 249.198-129.243 249.198-129.243h12.142v375.369z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "noticeAlarm" - ] - }, - "attrs": [], - "properties": { - "order": 490, - "id": 105, - "prevSize": 16, - "code": 59840, - "name": "noticeAlarm" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 192 - }, - { - "icon": { - "paths": [ - "M672.329 351.305l-117.906 100.571c-10.679-6.217-22.528-10.679-35.767-10.679-8.997 0-17.335 2.121-25.234 5.12l-182.491-182.491c-13.458-13.458-35.84-12.727-50.103 1.609-14.263 14.263-14.994 36.645-1.609 50.103l188.416 188.416c-0.512 3.511-2.121 6.656-2.121 10.386 0 40.375 32.768 73.143 73.143 73.143 39.643 0 71.534-31.671 72.704-71.022l128.439-109.568c15.36-13.093 17.189-36.133 4.169-51.493-13.166-15.433-36.279-17.262-51.639-4.096z", - "M518.656 206.848c20.187 0 36.571-16.384 36.571-36.571v-51.2c0-20.187-16.384-36.571-36.571-36.571s-36.571 16.384-36.571 36.571v51.2c0 20.187 16.311 36.571 36.571 36.571z", - "M518.656 820.736c-20.187 0-36.571 16.457-36.571 36.571v51.273c0 20.114 16.384 36.571 36.571 36.571s36.571-16.457 36.571-36.571v-51.273c0-20.187-16.384-36.571-36.571-36.571z", - "M910.336 477.769h-51.127c-20.187 0-36.571 16.384-36.571 36.571s16.384 36.571 36.571 36.571h51.127c20.261 0 36.571-16.384 36.571-36.571s-16.238-36.571-36.571-36.571z", - "M172.105 477.769h-51.2c-20.114 0-36.571 16.384-36.571 36.571s16.457 36.571 36.571 36.571h51.2c20.187 0 36.571-16.384 36.571-36.571s-16.384-36.571-36.571-36.571z", - "M518.656 2.341c-282.331 0-512 229.669-512 512 0 282.258 229.669 512 512 512s512.073-229.742 512.073-512c0-282.331-229.742-512-512.073-512zM518.656 953.125c-242.030 0-438.857-196.827-438.857-438.857s196.827-438.857 438.857-438.857c242.103 0 438.93 196.827 438.93 438.857s-196.901 438.857-438.93 438.857z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "historyAlarm" - ] - }, - "attrs": [], - "properties": { - "order": 491, - "id": 104, - "prevSize": 16, - "code": 59841, - "name": "historyAlarm" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 193 - }, - { - "icon": { - "paths": [ - "M868.791 755.785l-251.026-245.102 245.175-250.88-107.154-104.521-245.029 250.88-251.026-245.029-104.521 107.008 251.026 245.102-245.175 251.026 107.081 104.448 245.102-250.953 251.026 245.175z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "close" - ] - }, - "attrs": [], - "properties": { - "order": 492, - "id": 103, - "prevSize": 16, - "code": 59842, - "name": "close" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 194 - }, - { - "icon": { - "paths": [ - "M36.571 73.143v950.857h950.857v-950.857h-950.857zM919.113 146.286v113.225h-814.226v-113.225h814.226zM688.567 332.654v165.23h-136.338v-165.23h136.338zM479.086 497.957h-144.018v-165.303h144.018v165.303zM261.925 497.957h-157.038v-165.303h157.038v165.303zM261.925 571.099v142.482h-157.038v-142.482h157.038zM335.067 571.099h144.018v142.482h-144.018v-142.482zM552.229 571.099h136.338v142.482h-136.338v-142.482zM761.71 571.099h157.403v142.482h-157.403v-142.482zM761.71 497.957v-165.303h157.403v165.23h-157.403zM104.887 950.93v-164.206h157.038v164.206h-157.038zM335.067 950.93v-164.206h144.018v164.206h-144.018zM552.229 950.93v-164.206h136.338v164.206h-136.338zM761.71 950.93v-164.206h157.403v164.206h-157.403z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "table" - ] - }, - "attrs": [], - "properties": { - "order": 493, - "id": 102, - "prevSize": 16, - "code": 59843, - "name": "table" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 195 - }, - { - "icon": { - "paths": [ - "M215.040 36.571l501.102 481.646v-481.573h146.286v950.784h-146.286v-463.506l-501.102 463.506z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "next" - ] - }, - "attrs": [], - "properties": { - "order": 494, - "id": 101, - "prevSize": 16, - "code": 59844, - "name": "next" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 196 - }, - { - "icon": { - "paths": [ - "M862.427 36.571l-501.102 481.646v-481.573h-146.286v950.784h146.286v-463.506l501.102 463.506z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "pre" - ] - }, - "attrs": [], - "properties": { - "order": 495, - "id": 100, - "prevSize": 16, - "code": 59845, - "name": "pre" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 197 - }, - { - "icon": { - "paths": [ - "M942.528 574.848c0 0-39.872-43.904-77.632-68.096-37.888-24.32-102.656-36.992-102.656-36.992l-3.392-31.104 6.848-4.608c0 0 27.776-56.64 32.384-69.312 4.544-12.736 12.8-12.736 18.56-19.648s12.032-51.84 8.128-58.88c-2.88-5.184-9.344-7.040-9.344-7.040l1.28-9.152c0 0 10.368-57.728 6.848-75.072s-11.648-45.12-21.888-58.88c-10.496-13.888-27.648-20.8-41.6-18.56-13.888 2.368-20.864-6.912-20.864-6.912s-26.368-23.104-51.84-24.256-98.304 17.344-113.28 85.504c-14.976 68.16 0 110.848 0 110.848l-6.976 2.304c0 0-3.456 28.864 3.52 49.664 6.848 20.736 24.256 33.408 24.256 33.408l3.456 6.976c0 0 4.032 9.344 9.28 20.672 53.44 35.776 90.176 104.704 90.176 184.96 0 46.080-12.224 88.384-32.576 123.072 11.2 0.704 22.464 1.344 33.6 1.088 134.208-3.648 236.672-42.24 243.712-61.888 6.848-19.52 0-68.096 0-68.096z", - "M355.136 580.736c0-78.912 35.52-146.88 87.552-183.168 6.528-13.76 12.864-27.456 14.848-32.896 4.48-12.672 12.736-12.672 18.496-19.584s12.032-51.84 8.128-58.88c-2.88-5.184-9.344-7.040-9.344-7.040l1.28-9.152c0 0 10.368-57.728 6.848-75.072s-11.648-45.12-21.888-58.88c-10.56-13.888-27.712-20.864-41.664-18.56-13.888 2.368-20.864-6.912-20.864-6.912s-26.368-23.104-51.84-24.256c-25.472-1.152-98.304 17.344-113.28 85.504s0 110.848 0 110.848l-6.912 2.304c0 0-3.456 28.864 3.456 49.664 6.912 20.736 24.256 33.408 24.256 33.408l3.456 6.976c0 0 22.016 51.968 31.168 60.032 9.28 8.128 2.304 28.928 2.304 28.928l-12.672 9.216c0 0-161.664 50.88-166.336 97.088s-6.464 55.808-3.264 69.888c2.176 9.344 129.664 68.096 249.28 64.768 10.048-0.256 19.392-1.152 29.056-1.728-20.032-34.688-32.064-76.736-32.064-122.496z", - "M568.832 429.504c0 0-26.368-23.104-51.84-24.256s-98.304 17.344-113.28 85.504c-14.976 68.16 0 110.848 0 110.848l-6.912 2.368c0 0-3.456 28.864 3.456 49.664 6.912 20.736 24.256 33.408 24.256 33.408l3.456 6.976c0 0 22.016 51.968 31.168 60.032 9.28 8.064 2.304 28.864 2.304 28.864l-12.672 9.216c0 0-161.664 50.88-166.336 97.088s-6.464 55.808-3.264 69.888c2.176 9.408 129.664 68.16 249.28 64.832 134.208-3.712 236.736-42.304 243.712-61.888 6.848-19.648 0-68.16 0-68.16s-39.872-43.904-77.632-68.096c-37.888-24.32-102.656-36.992-102.656-36.992l-3.392-31.104 6.848-4.608c0 0 27.776-56.64 32.384-69.312 4.48-12.672 12.736-12.672 18.496-19.648s12.032-51.84 8.128-58.88c-2.88-5.184-9.344-7.040-9.344-7.040l1.28-9.152c0 0 10.368-57.728 6.848-75.072s-11.648-45.12-21.888-58.88c-10.432-14.016-27.52-20.928-41.536-18.688-13.888 2.368-20.864-6.912-20.864-6.912z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "roleset" - ] - }, - "attrs": [], - "properties": { - "order": 496, - "id": 99, - "prevSize": 16, - "code": 59846, - "name": "roleset" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 198 - }, - { - "icon": { - "paths": [ - "M509.504 670.656c0 0 9.344-27.904-3.072-38.656-12.288-10.816-41.792-80.448-41.792-80.448l-4.608-9.344c0 0-23.232-16.96-32.512-44.864-0.64-1.856-0.768-3.968-1.28-5.888-17.152-4.544-28.928-6.848-28.928-6.848l-4.352-39.36 8.64-5.888c0 0 12.16-24.832 23.424-48.512-2.88-25.856-3.456-64 7.104-111.68 6.208-28.096 20.096-49.344 36.864-65.984 3.584-23.104 8.576-61.056 5.504-75.904-4.16-21.888-14.528-56.96-27.712-74.432-13.12-17.536-34.944-26.304-52.48-23.36s-26.24-8.768-26.24-8.768-33.472-29.248-65.6-30.656c-32.128-1.472-124.16 21.888-143.168 107.968-18.944 86.080 0 140.032 0 140.032l-8.64 3.008c0 0-4.416 36.544 4.288 62.72 8.768 26.304 30.656 42.368 30.656 42.368l4.352 8.768c0 0 27.84 65.664 39.424 75.904 11.648 10.112 2.88 36.48 2.88 36.48l-15.936 11.584c0 0-204.288 64.192-210.176 122.688-5.824 58.304-8.192 70.528-4.096 88.256 2.624 11.072 144.704 77.184 287.104 81.728 54.144-51.456 203.456-98.496 203.456-98.496l16.896-12.416z", - "M1019.84 849.536c0 0-53.376-58.816-104-91.328-50.752-32.576-137.344-49.472-137.344-49.472l-4.608-41.728 9.28-6.272c0 0 37.12-75.84 43.392-92.864 6.144-17.024 17.024-17.024 24.768-26.304s16-69.376 10.752-78.976c-3.776-6.912-12.224-9.344-12.224-9.344l1.344-12.224c0 0 13.888-77.376 9.28-100.608s-15.488-60.352-29.376-78.912c-14.016-18.624-37.12-27.904-55.744-24.832-18.624 3.136-27.904-9.28-27.904-9.28s-35.52-30.912-69.504-32.448c-34.112-1.536-131.648 23.168-151.744 114.56-20.096 91.264 0 148.48 0 148.48l-9.28 3.136c0 0-4.672 38.72 4.608 66.56 9.28 27.904 32.512 44.928 32.512 44.928l4.608 9.344c0 0 29.504 69.632 41.728 80.448 12.352 10.752 3.136 38.656 3.136 38.656l-17.024 12.288c0 0-216.64 68.096-222.848 130.048s-8.704 74.752-4.352 93.632c2.88 12.544 173.76 91.264 334.016 86.784 179.904-4.928 317.248-56.704 326.528-82.944 9.344-26.304 0-91.328 0-91.328z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "role" - ] - }, - "attrs": [], - "properties": { - "order": 497, - "id": 98, - "prevSize": 16, - "code": 59847, - "name": "role" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 199 - }, - { - "icon": { - "paths": [ - "M593.664 100.928c0 0-41.216-35.84-80.64-37.632-39.488-1.792-152.512 26.88-175.808 132.736-23.296 105.792 0 172.096 0 172.096l-10.688 3.648c0 0-5.376 44.864 5.312 77.184 10.752 32.256 37.696 51.968 37.696 51.968l5.376 10.816c0 0 34.112 80.704 48.384 93.184 14.4 12.48 3.584 44.8 3.584 44.8l-19.712 14.336c0 0-251.072 78.912-258.24 150.656s-10.048 86.656-5.056 108.48c3.328 14.592 201.344 105.728 386.944 100.608 208.512-5.76 367.68-65.664 378.432-96.128 10.752-30.528 0-105.792 0-105.792s-61.952-68.16-120.64-105.792c-58.752-37.76-159.104-57.344-159.104-57.344l-5.248-48.448 10.624-7.232c0 0 43.136-87.872 50.304-107.584 7.104-19.712 19.712-19.712 28.672-30.464s18.56-80.384 12.48-91.52c-4.352-8-14.336-10.88-14.336-10.88l1.792-14.208c0 0 16.064-89.664 10.688-116.544-5.312-26.88-17.92-69.952-34.048-91.456s-42.944-32.256-64.512-28.736c-21.568 3.648-32.256-10.752-32.256-10.752z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "user" - ] - }, - "attrs": [], - "properties": { - "order": 498, - "id": 97, - "prevSize": 16, - "code": 59848, - "name": "user" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 200 - }, - { - "icon": { - "paths": [ - "M490.639 255.969l-457.452 128.548 31.401 141.455-2.253-0.481v3.779l-45.338 141.681 402.376 96.333 77.45-145.454 1.884-3.779-411.1-87.199 434.191-129.428z", - "M62.336 701.619v205.455l436.372 115.231v-359.347l-66.514 126.766z", - "M531.937 619.74l1.889 3.779 77.445 145.459 402.381-96.338-45.348-141.681v-3.779l-1.367 0.287 33.623-151.404-447.601-120.095-31.16 145.454 442.87 126.525z", - "M531.937 664.648v359.352l436.367-115.236v-205.455l-369.848 88.1z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "empty" - ] - }, - "attrs": [], - "properties": { - "order": 499, - "id": 96, - "prevSize": 16, - "code": 59849, - "name": "empty" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 201 - }, - { - "icon": { - "paths": [ - "M544.427 403.183l179.849 222.788v295.424l119.74 102.605v-397.414l179.985-223.403h-479.573zM809.882 614.946v333.346l-51.473-39.458v-295.492l-138.923-176.503h333.858l-143.462 178.108z", - "M393.865 425.472c-35.601 8.499-61.269 42.598-62.362 44.032l-3.14 4.267-0.205 5.291c-0.137 4.164-3.686 103.185 9.899 155.136 9.83 37.717 35.635 40.482 51.029 42.052 12.834 1.399 14.336 1.843 16.691 10.138 8.431 30.071-19.422 50.381-31.676 57.617-37.717 21.914-106.701-12.937-116.873-26.317-3.618-4.676-7.134-8.943-10.513-13.073-18.091-21.982-30.071-36.42-32.939-81.203-2.628-40.994 0-165.751 0.034-167.049l0.375-17.442h-118.374c-13.141 0-30.413-23.279-39.014-40.585-0.853-13.483-3.823-68.164 0.205-120.286 3.789-50.62 44.237-61.679 68.028-63.795 47.002-4.198 98.202-3.243 147.763-2.321 63.556 1.126 123.563 2.287 174.046-6.861 59.187-10.786 114.449-54.511 163.226-93.082 27.785-21.948 54.033-42.735 76.015-53.146 13.756-6.554 29.286-4.949 39.287-2.765v234.598l19.831-3.277 3.721-1.502c15.735 0 29.047 20.651 29.047 45.056 0 7.817-1.468 15.462-4.403 22.767l31.744 12.629c4.506-11.366 6.793-23.279 6.793-35.43 0-39.868-22.357-72.021-52.599-78.131v-220.604l-10.513-4.403c-1.604-0.717-41.267-16.964-77.551 0.307-25.463 12.083-53.248 33.997-82.534 57.207-45.67 36.079-97.382 77.005-148.173 86.255-47.138 8.499-105.54 7.441-167.322 6.315-50.449-0.956-102.571-1.877-151.415 2.458-57.89 5.12-94.925 40.721-99.021 95.198-4.813 62.259-0.205 125.952 0 128.649l1.502 5.837c2.97 6.451 30.174 63.181 71.339 63.181h83.524c-0.614 36.352-1.775 119.159 0.375 152.508 3.618 55.774 20.753 76.595 40.653 100.727 3.209 3.891 6.519 7.885 9.83 12.151 13.107 17.135 65.092 46.558 114.142 46.558 16.555 0 32.802-3.379 47.070-11.708 39.834-23.586 57.481-59.597 47.206-96.324-8.738-30.857-32.017-33.348-45.943-34.816-13.585-1.399-17.681-1.809-21.572-16.759-10.581-40.516-9.489-118.101-8.977-139.605 7.543-8.67 22.938-23.313 38.059-26.999 6.588-0.478 50.039 2.458 86.699 5.564l8.533-33.143-4.198-0.887c-87.996-7.134-94.481-5.666-97.348-4.983z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "noticeFilter" - ] - }, - "attrs": [], - "properties": { - "order": 500, - "id": 95, - "prevSize": 16, - "code": 59850, - "name": "noticeFilter" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 202 - }, - { - "icon": { - "paths": [ - "M260.949 393.216c14.711-9.284 56.491-30.891 129.877-33.485 93.15-3.174 275.9 29.491 277.675 29.798l52.156 9.353-36.864-38.059c-5.905-6.076-145.681-148.651-287.369-158.618-68.574-4.881-119.159 4.233-146.33 11.196l-5.803-149.094-233.745 271.189 250.402 235.042v-177.323zM226.816 376.491v115.2l-169.097-158.72 155.819-180.736 4.267 108.51 22.323-8.704c0.512-0.171 58.914-22.391 153.873-15.77 85.026 6.007 172.954 68.301 223.198 110.217-63.181-9.694-164.215-22.972-227.601-20.855-106.325 3.755-154.795 44.032-156.809 45.739l-5.973 5.12z", - "M936.073 719.838l-27.477-27.136c-72.841-72.738-102.332-217.771-99.396-292.796 4.471-95.881-25.907-173.705-85.538-219.17-40.073-30.447-80.828-36.079-103.356-36.489l-2.253-20.105-5.7-4.437c-1.707-1.331-17.476-12.971-46.49-12.971-27.238 0-43.895 11.23-45.705 12.493l-6.144 4.335-2.628 20.719c-14.131 0.273-35.567 2.594-59.358 11.878l12.356 31.812c32.529-12.629 59.255-9.148 59.46-9.114l17.237 2.56 4.71-37.069c9.148-3.413 31.846-3.243 40.141-0.239l4.301 37.239 17.374-2.458c1.98-0.205 48.777-6.383 95.403 29.047 50.415 38.434 76.049 106.086 72.090 190.566-3.311 83.558 28.467 237.568 109.397 318.43l27.648 27.307c51.132 50.21 52.531 52.395 50.278 77.653-2.15 23.484-17.51 37.888-24.474 43.315h-275.831v17.067c0 36.318-43.145 65.911-96.119 65.911s-96.085-29.559-96.085-65.911v-17.067h-275.763c-6.929-5.461-22.391-20.070-24.576-43.315-2.253-25.259-0.853-27.443 49.971-77.517l27.75-27.511c68.13-68.062 100.489-187.631 107.52-269.346l-33.997-2.935c-6.519 75.981-36.045 186.539-97.655 248.149l-27.58 27.307c-51.541 50.756-63.795 62.839-60.006 104.96 4.471 47.514 42.769 70.895 44.407 71.851l4.028 2.423h253.645c10.581 47.070 64.102 82.978 128.341 82.978 64.273 0 117.794-35.908 128.375-82.978h253.679l4.028-2.389c1.638-0.956 40.073-24.405 44.373-71.953 3.721-42.121-8.602-54.238-60.382-105.097z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "alarmTurn" - ] - }, - "attrs": [], - "properties": { - "order": 501, - "id": 94, - "prevSize": 16, - "code": 59851, - "name": "alarmTurn" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 203 - }, - { - "icon": { - "paths": [ - "M846.814 118.818c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.42 21.060-41.847 52.326h-56.695c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.42 21.060-41.847 52.326h-56.695c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.42 21.060-41.847 52.326h-56.695c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.42 21.060-41.847 52.326h-56.695c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.454 21.060-41.847 52.326h-56.661c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.454 21.060-41.847 52.326h-56.661c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.454 21.060-41.847 52.326h-56.695c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.454 21.060-41.847 52.326h-114.005v705.434h927.778v-705.434h-138.172zM950.852 790.118h-859.511v-637.167h78.302c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.799-1.707-8.738-13.073-10.615-31.607h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.799-1.707-8.772-13.073-10.615-31.607h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.833-1.673-8.806-13.039-10.684-31.607h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.833-1.673-8.806-13.039-10.684-31.607h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.833-1.673-8.772-13.005-10.65-31.573h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.833-1.673-8.772-13.005-10.65-31.573h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.833-1.673-8.772-13.005-10.65-31.573h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.833-1.673-8.772-13.005-10.65-31.573h106.052v637.030z", - "M197.086 333.79h176.469v34.133h-176.469v-34.133z", - "M195.584 454.929h684.919v34.133h-684.919v-34.133z", - "M195.584 596.992h684.919v34.133h-684.919v-34.133z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "advice" - ] - }, - "attrs": [], - "properties": { - "order": 502, - "id": 93, - "prevSize": 16, - "code": 59852, - "name": "advice" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 204 - }, - { - "icon": { - "paths": [ - "M857.463 514.287c0-28.228-22.46-51.2-50.074-51.2h-224.939v-379.529c0-36.284-30.481-65.775-67.891-65.775-37.478 0-67.925 29.491-67.925 65.775v379.529h-222.72c-27.648 0-50.108 22.972-50.108 51.2v87.825l2.492 12.015 0.853 5.393 4.028 17.545c4.608 48.23 6.793 213.299-31.232 292.25l-4.096 9.045 5.052 7.987c6.076 9.523 17.033 10.001 35.874 10.001 114.483 0 632.866-48.435 654.848-50.483l15.565-1.468v-276.378h0.239v-113.732zM480.768 83.558c0-17.442 15.155-31.642 33.792-31.642s33.758 14.199 33.758 31.642v379.529h-67.55v-379.529zM207.94 514.287c0-9.421 7.168-17.067 15.974-17.067h583.475c8.806 0 15.94 7.646 15.94 17.067v79.565h-615.39v-79.565zM822.886 873.301c-88.337 8.158-525.21 48.094-632.9 48.913 31.437-87.927 30.071-228.727 25.19-285.15h607.71v236.237z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "clearAlarm" - ] - }, - "attrs": [], - "properties": { - "order": 503, - "id": 92, - "prevSize": 16, - "code": 59853, - "name": "clearAlarm" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 205 - }, - { - "icon": { - "paths": [ - "M914.193 536.303h-814.182c-33.826 0-61.338-27.511-61.338-61.338v-186.948c0-33.826 27.511-61.338 61.338-61.338h814.182c33.826 0 61.338 27.511 61.338 61.338v186.948c-0 33.826-27.511 61.338-61.338 61.338zM100.011 260.813c-14.985 0-27.204 12.22-27.204 27.204v186.948c0 14.985 12.186 27.204 27.204 27.204h814.182c14.985 0 27.204-12.22 27.204-27.204v-186.948c0-14.985-12.186-27.204-27.204-27.204h-814.182z", - "M914.193 903.817h-814.182c-33.826 0-61.338-27.511-61.338-61.338v-186.948c0-33.826 27.511-61.338 61.338-61.338h814.182c33.826 0 61.338 27.511 61.338 61.338v186.948c-0 33.86-27.511 61.338-61.338 61.338zM100.011 628.361c-14.985 0-27.204 12.186-27.204 27.204v186.948c0 14.985 12.186 27.204 27.204 27.204h814.182c14.985 0 27.204-12.186 27.204-27.204v-186.948c0-14.985-12.186-27.204-27.204-27.204h-814.182z", - "M668.433 371.644c0 25.977-21.059 47.036-47.036 47.036s-47.036-21.059-47.036-47.036c0-25.977 21.059-47.036 47.036-47.036s47.036 21.059 47.036 47.036z", - "M848.282 371.644c0 25.977-21.059 47.036-47.036 47.036s-47.036-21.059-47.036-47.036c0-25.977 21.059-47.036 47.036-47.036s47.036 21.059 47.036 47.036z", - "M247.569 756.258c0 25.977-21.059 47.036-47.036 47.036s-47.036-21.059-47.036-47.036c0-25.977 21.059-47.036 47.036-47.036s47.036 21.059 47.036 47.036z", - "M452.369 756.258c0 25.977-21.059 47.036-47.036 47.036s-47.036-21.059-47.036-47.036c0-25.977 21.059-47.036 47.036-47.036s47.036 21.059 47.036 47.036z", - "M670.003 756.258c0 25.996-21.074 47.070-47.070 47.070s-47.070-21.074-47.070-47.070c0-25.996 21.074-47.070 47.070-47.070s47.070 21.074 47.070 47.070z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "alarmBox" - ] - }, - "attrs": [], - "properties": { - "order": 504, - "id": 91, - "prevSize": 16, - "code": 59854, - "name": "alarmBox" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 206 - }, - { - "icon": { - "paths": [ - "M487.083 899.618l-26.658-308.838 307.507 177.527-280.849 131.311zM500.053 653.073l16.828 194.97 177.254-82.91-194.082-112.060zM770.15 733.013l-280.337-161.792 260.233-450.697c21.163-36.693 69.666-49.835 106.496-28.57l145.306 83.9c37.786 21.845 50.347 68.608 28.57 106.462l-15.394 26.522 0.034 0.034-244.907 424.141zM536.474 558.729l221.218 127.659 210.773-365.056-221.218-127.727-210.773 365.124zM780.834 135.578l221.116 127.693c10.923-21.163 3.823-45.739-17.135-57.856l-145.306-83.9c-20.173-11.708-46.251-5.257-58.675 14.063z", - "M0 363.383h331.332v34.133h-331.332v-34.133z", - "M0 540.672h331.332v34.133h-331.332v-34.133z", - "M0 717.961h331.332v34.133h-331.332v-34.133z", - "M0 895.249h720.657v34.133h-720.657v-34.133z", - "M777.683 266.068l29.282 17.61-172.845 287.404-29.282-17.61 172.845-287.404z", - "M865.434 323.273l29.282 17.61-172.845 287.404-29.282-17.61 172.845-287.404z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "afreshDef" - ] - }, - "attrs": [], - "properties": { - "order": 505, - "id": 90, - "prevSize": 16, - "code": 59855, - "name": "afreshDef" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 207 - }, - { - "icon": { - "paths": [ - "M843.981 1024l-119.706-102.605v-295.424l-179.849-222.788h479.573l-180.019 223.437v397.38zM758.409 908.8l51.439 39.458v-333.346l143.497-178.108h-333.892l138.957 176.503v295.492z", - "M493.261 697.105c0 32.631-39.014 59.153-86.972 59.153-47.104 0-86.938-27.102-86.938-59.153v-17.067h-254.396c-6.417-5.086-19.729-17.954-21.641-38.571-2.048-22.562-0.751-24.542 45.466-70.076l25.6-25.327c75.127-75.059 104.175-216.951 100.796-293.751-3.413-77.278 20.002-139.059 66.014-173.943 40.516-30.891 84.48-26.658 86.255-26.419l17.271 2.56 4.369-34.679c8.090-2.901 26.931-2.731 34.304-0.239l4.062 34.782 17.34-2.423c2.15-0.307 45.807-4.608 86.665 26.419 45.978 35.089 69.359 96.836 65.741 174.012-0.717 17.203-1.809 28.262-0.683 43.418h34.406c-1.297-14.848-0.273-25.6 0.375-41.95 4.13-88.576-23.962-160.563-79.155-202.65-36.454-27.716-73.591-33.246-94.583-33.792l-2.048-17.886-5.666-4.403c-1.673-1.229-16.521-12.186-43.657-12.186-25.429 0-41.062 10.513-42.769 11.708l-6.144 4.335-2.321 18.466c-21.026 0.546-58.163 6.076-94.481 33.758-55.125 41.847-83.354 113.801-79.428 202.615 3.004 68.506-23.757 201.114-90.829 268.117l-25.395 25.156c-47.718 46.967-59.051 58.129-55.501 97.485 4.164 44.373 39.936 66.219 41.472 67.14l4.028 2.423h232.414c10.445 43.349 59.836 76.22 119.023 76.22 59.221 0 108.646-32.905 119.091-76.22h107.554v-34.133h-139.639v17.101z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "alarmFilter" - ] - }, - "attrs": [], - "properties": { - "order": 506, - "id": 89, - "prevSize": 16, - "code": 59856, - "name": "alarmFilter" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 208 - }, - { - "icon": { - "paths": [ - "M608.037 386.853c7.314 9.143 15.141 17.627 23.698 25.381l-16.823 35.986c-9.216 19.602 0.293 43.739 21.065 53.614l25.966 12.507c20.846 10.021 45.202 2.048 54.272-17.554l16.75-35.986c10.386 1.609 20.699 3.145 31.598 3.145 10.679 0 21.211-1.536 31.598-3.145l16.75 35.986c9.143 19.675 33.426 27.575 54.272 17.627l25.893-12.507c20.919-9.874 30.354-34.011 21.211-53.614l-16.75-36.133c8.558-7.68 16.457-16.238 23.698-25.381l36.279 15.287c19.822 8.411 43.154-2.414 51.858-23.991l10.971-26.917c8.997-21.65 0-45.861-19.822-54.199l-36.571-15.287c0.878-7.387 2.194-14.629 2.194-22.309 0-7.607-1.39-14.775-2.194-22.162l36.718-15.36c19.822-8.411 28.818-32.622 19.822-54.199l-10.898-26.99c-8.704-21.577-32.11-32.329-51.858-23.991l-36.425 15.287c-7.241-9.143-14.994-17.627-23.698-25.307l16.75-36.279c9.143-19.602-0.293-43.666-21.138-53.614l-26.039-12.434c-20.699-9.947-44.983-2.048-54.126 17.554l-16.75 36.059c-10.386-1.682-20.699-3.218-31.598-3.218s-21.211 1.536-31.598 3.218l-16.75-36.059c-9.143-19.602-33.499-27.502-54.199-17.554l-25.966 12.434c-20.919 10.021-30.427 34.011-21.211 53.614l16.75 36.206c-8.558 7.753-16.53 16.165-23.698 25.381l-36.425-15.36c-19.822-8.411-43.081 2.341-51.858 23.991l-11.045 26.99c-8.777 21.577 0.146 45.861 19.968 54.199l36.571 15.287c-0.878 7.461-2.267 14.629-2.267 22.235 0 7.68 1.536 14.921 2.267 22.382l-36.571 15.287c-19.749 8.411-28.745 32.549-19.968 54.199l11.045 26.917c8.777 21.504 32.037 32.329 51.785 23.991l36.498-15.214zM764.635 132.827c68.608 0 124.489 56.613 124.489 126.537 0 69.778-55.735 126.464-124.489 126.464s-124.562-56.686-124.562-126.464c0-69.925 55.808-126.537 124.562-126.537z", - "M2.926 1034.021h463.141v-386.56h-463.141v386.56zM392.923 960.878h-121.856v-240.274h121.856v240.274zM76.069 720.603h121.856v240.274h-121.856v-240.274z", - "M317.147 364.544l-133.559 8.119c14.19-31.378 35.84-58.953 65.463-79.872 106.13-74.679 191.269-42.789 191.269-42.789-76.946-54.491-160.11-59.099-227.182-12.507-49.957 34.523-86.235 81.774-102.839 136.997l-110.299 4.389 160.11 149.358 157.038-163.694z", - "M915.822 624.786l-198.729 109.275 129.755 32.183c-22.894 25.673-51.858 45.422-86.382 56.466-123.611 39.57-195.291-16.53-195.291-16.53 57.125 75.045 135.168 104.375 213.138 80.018 58.002-17.92 106.715-52.297 139.045-99.913l106.642 28.965-108.178-190.464z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "manAnalysis" - ] - }, - "attrs": [], - "properties": { - "order": 507, - "id": 88, - "prevSize": 16, - "code": 59857, - "name": "manAnalysis" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 209 - }, - { - "icon": { - "paths": [ - "M296.96 296.887c0 82.003-66.477 148.48-148.48 148.48s-148.48-66.477-148.48-148.48c0-82.003 66.477-148.48 148.48-148.48s148.48 66.477 148.48 148.48z", - "M551.936 807.79c0 82.003-66.477 148.48-148.48 148.48s-148.48-66.477-148.48-148.48c0-82.003 66.477-148.48 148.48-148.48s148.48 66.477 148.48 148.48z", - "M930.158 311.808c0 91.496-74.172 165.669-165.669 165.669s-165.669-74.172-165.669-165.669c0-91.496 74.172-165.669 165.669-165.669s165.669 74.172 165.669 165.669z", - "M1024 784.018c0 73.803-59.829 133.632-133.632 133.632s-133.632-59.829-133.632-133.632c0-73.803 59.829-133.632 133.632-133.632s133.632 59.829 133.632 133.632z", - "M732.286 362.027l55.324-19.275 166.956 479.199-55.324 19.275-166.956-479.199z", - "M812.421 225.214l46.39 35.785-460.695 597.214-46.39-35.785 460.695-597.214z", - "M112.914 300.476l52.061-26.868 293.504 568.704-52.061 26.868-293.504-568.704z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "drill" - ] - }, - "attrs": [], - "properties": { - "order": 508, - "id": 87, - "prevSize": 16, - "code": 59858, - "name": "drill" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 210 - }, - { - "icon": { - "paths": [ - "M977.774 586.313l-72.192-30.281c1.609-14.629 4.462-28.965 4.462-44.032s-2.779-29.257-4.462-43.886l72.338-30.427c39.058-16.457 56.759-64.293 39.278-106.862l-21.723-53.248c-17.335-42.715-63.195-63.854-102.254-47.397l-72.046 30.354c-14.263-18.066-29.696-34.743-46.738-50.030l33.134-71.534c17.993-38.766-0.658-86.235-41.765-105.911l-51.419-24.503c-41.106-19.675-89.015-4.096-107.081 34.67l-33.061 71.168c-20.407-3.291-40.96-6.363-62.318-6.363-21.285 0-41.838 3.072-62.245 6.363l-33.061-71.168c-18.066-38.766-66.048-54.345-107.081-34.67l-51.419 24.576c-41.106 19.675-59.831 67.145-41.765 105.838l33.134 71.461c-17.042 15.287-32.475 31.963-46.738 50.030l-71.973-30.281c-39.058-16.457-84.919 4.681-102.254 47.397l-21.797 53.248c-17.408 42.569 0.219 90.478 39.351 106.862l72.192 30.354c-1.536 14.702-4.315 28.891-4.315 43.959 0 15.141 2.779 29.403 4.389 44.105l-72.192 30.281c-39.131 16.603-56.832 64.219-39.497 106.935l21.87 53.175c17.335 42.569 63.269 63.781 102.327 47.397l71.899-30.208c14.263 17.993 29.696 34.743 46.665 50.030l-33.134 71.314c-18.066 38.693 0.658 86.309 41.765 105.838l51.419 24.722c41.106 19.675 89.088 4.023 107.081-34.816l32.987-71.095c20.407 3.291 40.96 6.363 62.245 6.363 21.358 0 41.911-3.072 62.391-6.363l32.987 71.095c17.993 38.766 65.975 54.418 107.081 34.816l51.419-24.722c41.179-19.602 59.758-67.145 41.765-105.838l-33.134-71.461c16.969-15.287 32.402-31.963 46.738-49.957l71.899 30.281c39.058 16.384 84.992-4.827 102.327-47.47l21.797-53.175c17.627-42.715-0.219-90.405-39.278-106.935zM512 761.71c-135.899 0-246.053-111.909-246.053-249.637 0-138.094 110.153-249.71 246.053-249.71 135.753 0 245.906 111.616 245.906 249.71 0 137.728-110.153 249.637-245.906 249.637z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "gear" - ] - }, - "attrs": [], - "properties": { - "order": 509, - "id": 86, - "prevSize": 16, - "code": 59859, - "name": "gear" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 211 - }, - { - "icon": { - "paths": [ - "M512 0c-282.317 0-512 229.683-512 512 0 282.33 229.683 512 512 512 282.33 0 512-229.67 512-512 0-282.317-229.67-512-512-512zM512 1011.379c-275.341 0-499.354-224.026-499.354-499.379 0-275.341 224.013-499.354 499.354-499.354 275.354 0 499.379 224.013 499.379 499.354-0 275.354-224.026 499.379-499.379 499.379z", - "M873.011 546.624c-15.206 0-29.312 4.71-40.973 12.723l-144.064-175.002c10.803-12.659 17.344-29.043 17.344-46.976 0-40-32.422-72.435-72.422-72.435s-72.448 32.435-72.448 72.435c0 22.144 9.971 41.946 25.638 55.219l-147.52 214.63c-12.48-10.202-28.416-16.32-45.786-16.32-19.917 0-37.952 8.051-51.059 21.069l-126.118-104.038c6.003-10.56 9.485-22.733 9.485-35.75 0-40-32.435-72.435-72.435-72.435s-72.435 32.435-72.435 72.435c0 40.013 32.435 72.435 72.435 72.435 22.374 0 42.368-10.15 55.654-26.099l125.184 103.27c-8.269 11.763-13.158 26.074-13.158 41.549 0 40.013 32.435 72.435 72.435 72.435s72.435-32.422 72.435-72.435c0-17.933-6.566-34.342-17.37-46.989l148.723-216.384c10.688 6.221 23.078 9.843 36.339 9.843 17.421 0 33.421-6.157 45.914-16.422l143.347 174.131c-13.312 13.133-21.594 31.373-21.594 51.558 0 40.013 32.435 72.435 72.435 72.435s72.422-32.422 72.422-72.435c0.013-40.013-32.41-72.448-72.41-72.448z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "process" - ] - }, - "attrs": [], - "properties": { - "order": 510, - "id": 85, - "prevSize": 16, - "code": 59860, - "name": "process" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 212 - }, - { - "icon": { - "paths": [ - "M950.857 950.857h-877.714v-877.714h482.011v-73.143h-555.154v1024h1024v-458.679h-73.143z", - "M526.19 277.285c-98.231 91.721-224.475 317.001-224.475 317.001s193.17-118.272 280.576-162.816c77.824-39.643 192.658-28.818 218.478-26.697l-0.658 184.466 223.89-308.297-224.402-280.942 0.585 183.077c-30.647 1.902-187.831 13.897-273.993 94.208z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "unacknownledge" - ] - }, - "attrs": [], - "properties": { - "order": 511, - "id": 84, - "prevSize": 16, - "code": 59861, - "name": "unacknownledge" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 213 - }, - { - "icon": { - "paths": [ - "M950.857 950.857h-877.714v-877.714h482.011v-73.143h-555.154v1024h1024v-458.679h-73.143z", - "M240.933 482.889l335.433 327.826 447.634-640-119.881-83.822-348.818 498.688-212.187-207.36z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "acknownledge" - ] - }, - "attrs": [], - "properties": { - "order": 512, - "id": 83, - "prevSize": 16, - "code": 59862, - "name": "acknownledge" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 214 - }, - { - "icon": { - "paths": [ - "M512.064 0c-282.304 0-512.064 229.696-512.064 512 0 282.368 229.76 512 512.064 512s511.936-229.632 511.936-512-229.632-512-511.936-512zM512.064 960c-246.976 0-448.064-201.024-448.064-448 0-247.040 201.088-448 448.064-448 247.040 0 447.936 201.024 447.936 448 0 246.912-200.896 448-447.936 448z", - "M615.872 427.072l-73.408-41.792 80.64-142.016c-72.576-19.648-152.192 10.624-191.168 79.232-36.224 63.744-26.048 140.608 18.944 193.28l-141.632 249.216c-15.616 27.52-6.016 62.528 21.504 78.144s62.528 6.016 78.144-21.504l141.568-249.28c68.352 11.776 139.712-18.88 175.872-82.56 38.976-68.544 24.384-152.384-29.76-204.864l-80.704 142.144z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "Operation" - ] - }, - "attrs": [], - "properties": { - "order": 513, - "id": 82, - "prevSize": 16, - "code": 59863, - "name": "Operation" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 215 - }, - { - "icon": { - "paths": [ - "M512 0c-282.317 0-512 229.683-512 512 0 282.33 229.683 512 512 512 282.33 0 512-229.67 512-512 0-282.317-229.67-512-512-512zM512 1011.366c-275.341 0-499.354-224.026-499.354-499.366s224.013-499.354 499.354-499.354 499.366 224.013 499.366 499.354-224.026 499.366-499.366 499.366z", - "M910.118 562.355c0-77.478-60.083-140.314-134.208-140.314-4.851 0-9.626 0.307-14.349 0.819-18.867-28.506-47.552-49.28-80.96-57.101-31.194-75.405-102.912-128.205-186.496-128.205-85.978 0-159.334 55.923-188.992 134.81-8.32-1.357-16.794-2.291-25.485-2.291-89.907 0-162.79 76.211-162.79 170.163 0 38.464 12.339 73.805 32.909 102.298-5.99 9.050-9.523 19.878-9.523 31.526 0 31.578 25.587 57.165 57.165 57.165h631.386c31.59 0 57.165-25.587 57.165-57.165 0-8.576-2.022-16.614-5.414-23.923 18.458-24.038 29.594-54.541 29.594-87.782z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "cloud" - ] - }, - "attrs": [], - "properties": { - "order": 514, - "id": 81, - "prevSize": 16, - "code": 59864, - "name": "cloud" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 216 - }, - { - "icon": { - "paths": [ - "M512 0c-282.317 0-512 229.683-512 512 0 282.33 229.683 512 512 512 282.33 0 512-229.67 512-512 0-282.317-229.67-512-512-512zM512 1011.366c-275.341 0-499.354-224.013-499.354-499.366 0-275.341 224.013-499.354 499.354-499.354 275.354 0 499.366 224.013 499.366 499.354 0 275.354-224.013 499.366-499.366 499.366z", - "M559.629 403.942h-364.096c-12.57 0-22.758 9.37-22.758 20.928v219.827c0 11.546 10.189 20.928 22.758 20.928h364.096c12.57 0 22.746-9.37 22.746-20.928v-219.827c0-11.558-10.176-20.928-22.746-20.928zM552.32 621.043c0 9.062-8.704 16.41-19.405 16.41h-310.682c-10.714 0-19.418-7.347-19.418-16.41v-172.506c0-9.062 8.704-16.422 19.418-16.422h310.682c10.701 0 19.405 7.36 19.405 16.422v172.506z", - "M377.587 675.584c-35.341 0-64 28.646-64 64h128c0-35.341-28.659-64-64-64z", - "M831.603 288h-182.4c-7.078 0-12.8 5.734-12.8 12.8v80h208v-80c0-7.066-5.734-12.8-12.8-12.8z", - "M636.403 393.6h208v67.2h-208v-67.2z", - "M636.403 726.4c0 7.078 5.722 12.8 12.8 12.8h182.4c7.078 0 12.8-5.722 12.8-12.8v-252.8h-208v252.8zM740.403 630.4c10.598 0 19.2 8.602 19.2 19.2s-8.602 19.2-19.2 19.2-19.2-8.602-19.2-19.2 8.602-19.2 19.2-19.2z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "computer" - ] - }, - "attrs": [], - "properties": { - "order": 515, - "id": 80, - "prevSize": 16, - "code": 59865, - "name": "computer" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 217 - }, - { - "icon": { - "paths": [ - "M512 64c-247.424 0-448 200.576-448 448 0 247.36 200.576 448 448 448 247.488 0 448-200.64 448-448 0-247.424-200.512-448-448-448zM444.032 908.032l41.6-365.696-253.632-6.336 300.032-432-33.344 321.472 222.4 20.864-277.056 461.696z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "alarm" - ] - }, - "attrs": [], - "properties": { - "order": 516, - "id": 79, - "prevSize": 16, - "code": 59866, - "name": "alarm" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 218 - }, - { - "icon": { - "paths": [ - "M225.984 578.688l290.688 293.312 297.344-293.312-188.992-0.064c-1.728-31.616 9.28-106.688-41.024-253.632-53.312-155.648-242.688-310.336-242.688-310.336s66.688 154.688 90.688 322.112c15.552 108.48 5.312 205.312-17.472 242.88l-188.544-0.96z", - "M771.84 62.016v64h178.176v819.968h-876.032v-819.968h138.56v-64h-202.56v947.968h1004.032v-947.968z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "import" - ] - }, - "attrs": [], - "properties": { - "order": 517, - "id": 78, - "prevSize": 16, - "code": 59867, - "name": "import" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 219 - }, - { - "icon": { - "paths": [ - "M432 549.952c-24 167.36-90.688 322.048-90.688 322.048s189.312-154.688 242.688-310.336c50.304-146.88 39.296-222.016 41.024-253.632h188.992l-297.344-293.376-290.688 293.376 188.48-0.96c22.848 37.568 33.088 134.4 17.536 242.88z", - "M771.84 62.016v64h178.176v819.968h-876.032v-819.968h138.56v-64h-202.56v947.968h1004.032v-947.968z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "export" - ] - }, - "attrs": [], - "properties": { - "order": 518, - "id": 77, - "prevSize": 16, - "code": 59868, - "name": "export" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 220 - }, - { - "icon": { - "paths": [ - "M512-0.064c-282.304 0-512 229.696-512 512s229.696 512 512 512 512-229.696 512-512-229.696-512-512-512zM512 959.936c-247.040 0-448-201.024-448-448 0-247.040 200.96-448 448-448 246.976 0 448 200.96 448 448 0 246.976-201.024 448-448 448z", - "M786.816 451.648c0 61.312-56.96 111.040-127.040 111.040-70.208 0-127.168-49.728-127.168-111.040 0-6.656 0.96-12.992 2.24-19.328h-43.584c1.28 6.4 2.24 12.736 2.24 19.328 0 61.312-56.96 111.040-127.040 111.040-70.208 0-127.104-49.728-127.104-111.040 0-6.656 0.96-12.992 2.24-19.328h-42.56l67.84 310.656c0 0 101.952-29.76 248.384-29.76 130.368 0 248.64 29.76 248.64 29.76l67.648-310.656h-47.040c1.216 6.336 2.304 12.736 2.304 19.328z", - "M581.76 364.928c0 37.22-30.172 67.392-67.392 67.392s-67.392-30.172-67.392-67.392c0-37.22 30.172-67.392 67.392-67.392s67.392 30.172 67.392 67.392z", - "M273.92 375.872c0 31.175-25.273 56.448-56.448 56.448s-56.448-25.273-56.448-56.448c0-31.175 25.273-56.448 56.448-56.448s56.448 25.273 56.448 56.448z", - "M863.040 375.872c0 31.175-25.273 56.448-56.448 56.448s-56.448-25.273-56.448-56.448c0-31.175 25.273-56.448 56.448-56.448s56.448 25.273 56.448 56.448z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "Admin" - ] - }, - "attrs": [], - "properties": { - "order": 519, - "id": 76, - "prevSize": 16, - "code": 59869, - "name": "Admin" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 221 - }, - { - "icon": { - "paths": [ - "M512 0c-282.77 0-512 229.229-512 512s229.23 512 512 512c282.77 0 512-229.229 512-512s-229.23-512-512-512zM770 302l94 92-378 368-320-202 136-102 146 142 322-298z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "allSelected" - ] - }, - "attrs": [], - "properties": { - "order": 520, - "id": 75, - "prevSize": 16, - "code": 59870, - "name": "allSelected" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 222 - }, - { - "icon": { - "paths": [ - "M311.382 213.893l512 314.202-512 325.798z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "angleRight" - ] - }, - "attrs": [], - "properties": { - "order": 521, - "id": 74, - "prevSize": 16, - "code": 59871, - "name": "angleRight" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 223 - }, - { - "icon": { - "paths": [ - "M480-0l-480 512 480 512v-342.551h488c30.527 0 56-28.108 56-61.793v-218.354c0-33.685-25.473-61.793-56-61.793h-488z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "arrowLeft" - ] - }, - "attrs": [], - "properties": { - "order": 522, - "id": 73, - "prevSize": 16, - "code": 59872, - "name": "arrowLeft" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 224 - }, - { - "icon": { - "paths": [ - "M297.119 0l-297.119 317.333 79.585 85.333 376.705-402.667h-159.171zM567.71 5.333l-474.86 509.333 474.86 509.333v-341.333h400.58c30.278 0 55.71-27.75 55.71-61.333v-216c0-33.526-25.432-61.333-55.71-61.333h-400.58v-338.667zM652.601 146.667v109.333h363.44v-48c0-33.526-25.432-61.333-55.71-61.333h-307.731z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "arrowLeftAll" - ] - }, - "attrs": [], - "properties": { - "order": 523, - "id": 72, - "prevSize": 16, - "code": 59873, - "name": "arrowLeftAll" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 225 - }, - { - "icon": { - "paths": [ - "M544-0l480 512-480 512v-342.551h-488c-30.527 0-56-28.108-56-61.793v-218.354c0-33.685 25.473-61.793 56-61.793h488z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "arrowRight" - ] - }, - "attrs": [], - "properties": { - "order": 524, - "id": 71, - "prevSize": 16, - "code": 59874, - "name": "arrowRight" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 226 - }, - { - "icon": { - "paths": [ - "M726.881 0l297.119 317.333-79.585 85.333-376.705-402.667h159.171zM456.29 5.333l474.86 509.333-474.86 509.333v-341.333h-400.58c-30.278 0-55.71-27.75-55.71-61.333v-216c0-33.526 25.432-61.333 55.71-61.333h400.58v-338.667zM371.399 146.667v109.333h-363.44v-48c0-33.526 25.432-61.333 55.71-61.333h307.731z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "arrowRightAll" - ] - }, - "attrs": [], - "properties": { - "order": 525, - "id": 70, - "prevSize": 16, - "code": 59875, - "name": "arrowRightAll" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 227 - }, - { - "icon": { - "paths": [ - "M508 0c-31.119 0-58 24.881-58 56v46c-69.831 10.816-133.646 38.889-188 78l-42-40c-11.002-11.002-25.641-18-40-18s-26.998 6.998-38 18l-18 16c-22.005 22.005-22.005 57.995 0 80l42 40c-34.941 48.538-61.038 103.432-72 164h-36c-31.119 0-58 24.881-58 56v22c0 31.119 26.881 58 58 58h36c12.292 76.335 44.912 147.337 94 204l-34 36c-22.005 22.005-22.005 55.995 0 78l16 18c22.005 22.005 57.995 22.005 80 0l44-46c47.099 28.042 99.181 47.199 156 56v46c0 31.119 26.881 56 58 56h22c31.119 0 56-24.881 56-56v-46c27.753-4.228 54.286-11.152 80-20l-104-106c-14.44 2.229-28.936 4-44 4-159.058 0-288-128.942-288-288s128.942-288 288-288c159.058 0 288 128.942 288 288 0 47.853-13.349 92.29-34 132l104 98c33.635-49.218 58.247-105.432 68-166h22c31.119 0 56-26.881 56-58v-22c0-31.119-24.881-56-56-56h-22c-10.615-58.652-34.805-112.539-68-160l36-36c22.005-22.005 22.005-57.995 0-80l-16-16c-11.002-11.002-25.641-16-40-16s-28.998 4.998-40 16l-36 36c-55.735-41.399-121.471-70.951-194-82v-46c0-31.119-24.881-56-56-56h-22zM520 292c-126.678 0-230 103.322-230 230s103.322 228 230 228c29.501 0 58.095-5.855 84-16l210 210c22.005 22.005 55.995 22.005 78 0l10-10c22.005-22.005 22.005-55.995 0-78l-198-198c28.25-38.126 46-84.904 46-136 0-126.678-103.322-230-230-230zM520 400c67.275 0 122 54.725 122 122s-54.725 122-122 122c-67.275 0-122-54.725-122-122s54.725-122 122-122z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "autoFind" - ] - }, - "attrs": [], - "properties": { - "order": 526, - "id": 69, - "prevSize": 16, - "code": 59876, - "name": "autoFind" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 228 - }, - { - "icon": { - "paths": [ - "M674.24 1010.112l-481.28-481.344 485.696-485.824 45.312 45.248-440.512 440.576 436.032 436.096z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "back" - ] - }, - "attrs": [], - "properties": { - "order": 527, - "id": 68, - "prevSize": 16, - "code": 59877, - "name": "back" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 229 - }, - { - "icon": { - "paths": [ - "M366 0v364h-180v300h184v-52h52v52h40v-300h92v300h40v-52h54v52h184v-300h-174v-364h-292zM0 658v366h366v-152h-132v-92h-90v-122h-144zM880 658v122h-90v92h-132v152h366v-366h-144zM432 872v152h160v-152h-160z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "ball" - ] - }, - "attrs": [], - "properties": { - "order": 528, - "id": 67, - "prevSize": 16, - "code": 59878, - "name": "ball" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 230 - }, - { - "icon": { - "paths": [ - "M448.031 21.984v110.003c-111.249 27.552-192 127.68-192 248v93.997c-14.104 170.784-120.996 270.701-224 378.003 4.723 0 9.21-1.984 14-1.984h282c-1.498 8.525-1.997 17.030-1.997 25.997 0 82.726 65.275 148 148 148h34c82.725 0 150-65.274 150-148 0-8.986-2.49-17.459-4-25.997h320c4.787 0 9.277 1.728 14 1.984-103.004-107.302-209.896-207.219-224-378.003v-93.997c0-120.32-80.751-220.448-192-248v-110.003h-124zM396.031 849.984h32c-11.965 12.403-20 28.371-20 46.003 0 40.346 37.391 73.997 84 73.997-10.154 4.16-20.329 8-32 8-46.609 0-84-34.176-84-77.997 0-19.418 7.773-36.070 20-50.003z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "bell" - ] - }, - "attrs": [], - "properties": { - "order": 529, - "id": 66, - "prevSize": 16, - "code": 59879, - "name": "bell" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 231 - }, - { - "icon": { - "paths": [ - "M509.091 1.707c-134.448 0-242.544 108.704-242.544 244s108.096 246 242.544 246c134.448 0 242.544-110.704 242.544-246s-108.096-244-242.544-244zM769.528 447.707c-140.541 0-254.472 114.618-254.472 256s113.931 256 254.472 256c140.541 0 254.472-114.618 254.472-256s-113.931-256-254.472-256zM306.308 503.707c-346.855 195.91-302.524 531.61-306.162 520h685.883l-1.988-6c-135.113-23.090-238.568-141.499-238.568-284 0-50.008 13.499-97.017 35.785-138-72.082-7.589-136.306-42.513-174.95-92zM610.482 633.707h318.091v128h-318.091v-128z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "blackList" - ] - }, - "attrs": [], - "properties": { - "order": 530, - "id": 65, - "prevSize": 16, - "code": 59880, - "name": "blackList" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 232 - }, - { - "icon": { - "paths": [ - "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512c282.77 0 512-229.23 512-512s-229.23-512-512-512zM530 128l22 124-72 6-22-122 72-8zM276 170c70.131 0 128 57.239 128 130 0 15.422-1.298 30.22-6 44l86 90-66 70-86-86c-16.468 8.112-36.565 12-56 12-70.131 0-122-57.267-122-130 0-72.761 51.869-130 122-130zM760 210l54 82-162 116-54-86 162-112zM888 442l8 74-118 22-8-74 118-22zM246 482l8 74-118 20-8-72 118-22zM598 534l62 64c16.654-8.376 32.276-16 52-16 70.131 0 130 63.253 130 136 0 72.752-59.869 130-130 130s-124-57.248-124-130c0-15.163 5.459-32.45 10-46l-68-66 68-72zM372 612l54 90-166 108-50-82 162-116zM540 770l18 118-72 8-18-124 72-2z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "breakLink" - ] - }, - "attrs": [], - "properties": { - "order": 531, - "id": 64, - "prevSize": 16, - "code": 59881, - "name": "breakLink" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 233 - }, - { - "icon": { - "paths": [ - "M512 0c-282.77 0-512 229.229-512 512s229.23 512 512 512c282.77 0 512-229.229 512-512s-229.23-512-512-512zM128 314.003l180 104c61.902-49.734 140.551-80 226-80 198.617 0 360 163.379 360 361.997 0 2.944 0.070 5.056 0 8l-90 1.984c0.134-3.456 0-6.528 0-10.003 0-148.96-121.038-272-270-272-51.469 0-98.972 14.771-140 40l184 106.003-356 93.997-94-353.978z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "cancle" - ] - }, - "attrs": [], - "properties": { - "order": 532, - "id": 63, - "prevSize": 16, - "code": 59882, - "name": "cancle" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 234 - }, - { - "icon": { - "paths": [ - "M1024 512.002c0 282.77-229.23 512-512 512s-512-229.23-512-512c0-282.77 229.23-512 512-512s512 229.23 512 512z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "circle" - ] - }, - "attrs": [], - "properties": { - "order": 533, - "id": 62, - "prevSize": 16, - "code": 59883, - "name": "circle" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 235 - }, - { - "icon": { - "paths": [ - "M-0 5.333v341.333h122.667v445.333h362.667c17.783 132.745 129.128 234.667 266.667 234.667 149.839 0 272-122.278 272-272s-122.161-269.333-272-269.333c-133.011 0-240.954 95.465-264 221.333h-280v-360h133.333v-341.333h-341.333zM712 586.667h85.333v128h128v85.333h-128v128h-85.333v-128h-128v-85.333h128v-128z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "closeTree" - ] - }, - "attrs": [], - "properties": { - "order": 534, - "id": 61, - "prevSize": 16, - "code": 59884, - "name": "closeTree" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 236 - }, - { - "icon": { - "paths": [ - "M0 0v1024h400l-6-238 158-260-146-188-278 392v-602h768v120l128 74v-322h-1024zM796 290l-266 462 166 96 266-460-166-98zM1024 426l-8 16-290 534-58 48h356v-598zM486 828l14 166 152-70-166-96z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "configmap" - ] - }, - "attrs": [], - "properties": { - "order": 535, - "id": 60, - "prevSize": 16, - "code": 59885, - "name": "configmap" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 237 - }, - { - "icon": { - "paths": [ - "M135.461 125.513h789.211v73.143h-789.211v-73.143z", - "M430.373 61.147v107.666h199.387v-107.666h-199.387z", - "M286.281 463.36h99.035v395.045h-99.035v-395.045z", - "M480.549 463.36h99.035v395.045h-99.035v-395.045z", - "M674.816 463.36h99.035v395.045h-99.035v-395.045z", - "M922.697 999.863h-785.335v-714.606h785.335v714.606zM210.505 926.72h639.049v-568.32h-639.049v568.32z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "delete" - ] - }, - "attrs": [], - "properties": { - "order": 536, - "id": 59, - "prevSize": 16, - "code": 59886, - "name": "delete" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 238 - }, - { - "icon": { - "paths": [ - "M211.587 32l-205.602 224h429.166l-223.564-224zM0 304v720h1024v-496h-596.833v-224h-427.167zM77.845 406.003h95.813v96h-95.813v-96zM255.502 406.003h95.813v96h-95.813v-96zM77.845 614.003h95.813v96h-95.813v-96zM255.502 614.003h95.813v96h-95.813v-96zM680.67 614.003h95.813v96h-95.813v-96zM858.326 614.003h95.813v96h-95.813v-96zM501.020 620.019h63.875v296h-63.875v-296zM75.852 820.019h95.813v96h-95.813v-96zM253.502 820.019h95.813v96h-95.813v-96zM680.67 820.019h95.813v96h-95.813v-96zM858.326 820.019h95.813v96h-95.813v-96z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "department" - ] - }, - "attrs": [], - "properties": { - "order": 537, - "id": 58, - "prevSize": 16, - "code": 59887, - "name": "department" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 239 - }, - { - "icon": { - "paths": [ - "M0 45.333v170.667h1024v-170.667h-1024zM0 301.333v170.667h1024v-170.667h-1024zM0 557.333v170.667h1024v-170.667h-1024zM0 813.333v170.667h768v-170.667h-768z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "detail" - ] - }, - "attrs": [], - "properties": { - "order": 538, - "id": 57, - "prevSize": 16, - "code": 59888, - "name": "detail" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 240 - }, - { - "icon": { - "paths": [ - "M0 0v1024h862.766v-292h160l-192-192-190 192h158v228h-366.766v-896h366.503v204h-158l190 192 192-192h-160v-268h-560.503zM72 214h290v64h-290zM72 474h290v64h-290zM72 726h290v64h-290z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "displaySwitch" - ] - }, - "attrs": [], - "properties": { - "order": 539, - "id": 56, - "prevSize": 16, - "code": 59889, - "name": "displaySwitch" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 241 - }, - { - "icon": { - "paths": [ - "M120 0v1024h812l20-822-160-202h-672zM216 96h516l124 164-14 668h-626v-832zM298 178v140h146v-140h-146zM524 234v64h252v-64h-252zM298 386v64h478v-64h-478zM298 562v64h478v-64h-478zM298 738v64h478v-64h-478z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "file" - ] - }, - "attrs": [], - "properties": { - "order": 540, - "id": 55, - "prevSize": 16, - "code": 59890, - "name": "file" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 242 - }, - { - "icon": { - "paths": [ - "M0.006 0l0.497 77.36 415.5 392.907v329.797l192 223.936v-551.698l416.664-388.835-0.668-83.467h-1024zM254.006 101.789h514v44.787l-256 242.258-256-246.33-1.997-40.716z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "filter" - ] - }, - "attrs": [], - "properties": { - "order": 541, - "id": 54, - "prevSize": 16, - "code": 59891, - "name": "filter" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 243 - }, - { - "icon": { - "paths": [ - "M278-4c-16.425 0-30 13.575-30 30v132c0 16.425 13.575 30 30 30h132c16.425 0 30-13.575 30-30v-132c0-16.425-13.575-30-30-30h-132zM598-2c-16.425 0-30 13.575-30 30v132c0 16.425 13.575 30 30 30h132c16.425 0 30-13.575 30-30v-132c0-16.425-13.575-30-30-30h-132zM440 250l-270 2-114 274v368h208l30-30v-272l126-2c12.464-1.292 21.634-18.792 20-40v-300zM568 252v300c-1.634 21.208 7.536 38.708 20 40l126 2v272l30 30h208v-368l-114-274-270-2zM56 960v64h238v-64h-238zM714 962v64h238v-64h-238z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "find" - ] - }, - "attrs": [], - "properties": { - "order": 542, - "id": 53, - "prevSize": 16, - "code": 59892, - "name": "find" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 244 - }, - { - "icon": { - "paths": [ - "M96.8 136.576h200.277c43.173-0.136 53.665 12.675 68.962 42.158 0 0 38.028 112.952 79.827 152.074 13.079 12.242 22.734 21.78 49.133 21.78h432.201c53.627 0 96.8 43.571 96.8 97.694v486.13c0 54.122-43.173 97.694-96.8 97.694h-830.399c-53.627 0-96.8-43.571-96.8-97.694v-702.143c0-54.122 43.173-97.694 96.8-97.694z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "folder" - ] - }, - "attrs": [], - "properties": { - "order": 543, - "id": 52, - "prevSize": 16, - "code": 59893, - "name": "folder" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 245 - }, - { - "icon": { - "paths": [ - "M707.2 952.256h-675.52v-870.912h675.52v64h-611.52v742.912h611.52z", - "M737.92 798.272l-45.248-45.248 235.84-235.776-236.544-236.608 45.248-45.248 281.792 281.856z", - "M226.24 484.8h713.664v64h-713.664v-64z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "forceOut" - ] - }, - "attrs": [], - "properties": { - "order": 544, - "id": 51, - "prevSize": 16, - "code": 59894, - "name": "forceOut" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 246 - }, - { - "icon": { - "paths": [ - "M512 0l-224 256h448l-224-256zM256 288l-256 224 256 224v-448zM768 288v448l256-224-256-224zM288 768l224 256 224-256h-448z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "fullScreen" - ] - }, - "attrs": [], - "properties": { - "order": 545, - "id": 50, - "prevSize": 16, - "code": 59895, - "name": "fullScreen" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 247 - }, - { - "icon": { - "paths": [ - "M823.104 510.912c0 89.472-37.376 169.6-96.576 226.688l132.096 132.096c92.096-91.072 149.44-218.112 149.44-358.784v-0.064l-184.96 0.064z", - "M795.392 385.216h195.136c-49.024-191.36-205.312-338.56-400.896-368.896v191.936c92.736 23.616 167.808 89.984 205.76 176.96z", - "M611.392 806.656c-30.464 10.688-62.656 17.344-96.768 17.344-170.304 0-308.352-140.096-308.352-313.152 0-154.752 110.848-282.56 256.256-307.776v-190.272c-248.064 26.432-441.408 239.36-441.408 498.112 0 276.608 220.992 500.864 493.504 500.864 86.72 0 167.424-23.744 238.208-63.68l-141.44-141.44z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "Graphical" - ] - }, - "attrs": [], - "properties": { - "order": 546, - "id": 49, - "prevSize": 16, - "code": 59896, - "name": "Graphical" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 248 - }, - { - "icon": { - "paths": [ - "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512c282.77 0 512-229.23 512-512s-229.23-512-512-512zM508 154c46.383-1.856 85.454 3.072 114 14 28.545 10.93 51.941 26.114 74 44 22.058 17.888 38.725 39.581 48 64 9.273 24.42 13.365 47.981 12 74-1.804 25.729-7.361 51.469-18 76-10.64 24.532-25.936 48.956-46 72-20.065 23.044-44.056 45.493-72 68l-48 38v96h-140v-144c24.721-18.659 47.471-36.070 68-52s40.81-33.788 60-52c19.19-18.211 34.589-37.048 44-58s12.13-42.057 10-60c-3.115-23.536-12.211-39.974-28-52-15.789-12.025-34.516-20.198-56-22-21.485-1.8-39.222 3.978-54 14-13.986 9.106-22.307 19.262-24 30l-6 26-8 4-134 6c1.366-25.281 5.356-50.331 10-72 4.644-21.667 16.939-41.396 38-60 21.061-18.602 46.109-32.135 74-40 27.89-7.863 54.246-12.545 82-14zM428 800h148v94h-148v-94z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "helpTip" - ] - }, - "attrs": [], - "properties": { - "order": 547, - "id": 48, - "prevSize": 16, - "code": 59897, - "name": "helpTip" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 249 - }, - { - "icon": { - "paths": [ - "M368 0v596h-234l364 360h-498v70h1024v-70h-522l388-360h-234v-596h-288z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "hide" - ] - }, - "attrs": [], - "properties": { - "order": 548, - "id": 47, - "prevSize": 16, - "code": 59898, - "name": "hide" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 250 - }, - { - "icon": { - "paths": [ - "M167.615 186.842v487.328l34 73.35h572.385l38-75.226v-33.856h26c104.401 0 188-78.618 188-176.794 0-98.182-83.599-176.8-188-176.8h-26v-98.003zM812 346.912h14c66.898 0 122 51.821 122 114.733 0 62.906-55.102 112.845-122 112.845h-14zM0 843.443l108 180.557h834l82-180.557z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "history" - ] - }, - "attrs": [], - "properties": { - "order": 549, - "id": 46, - "prevSize": 16, - "code": 59899, - "name": "history" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 251 - }, - { - "icon": { - "paths": [ - "M212 6c-86.27 49.558-144 133.862-144 230 0 97.724 59.409 182.82 148 232l24-52c-65.834-40.067-108-105.085-108-180s42.166-141.933 108-182l-28-48zM848 6l-28 48c65.834 40.067 108 107.085 108 182s-42.166 139.933-108 180l24 52c88.591-49.18 148-134.276 148-232 0-96.138-57.73-180.442-144-230zM318 70c-57.742 35.475-98 97.182-98 166 0 69.953 40.705 130.796 100 166l16-38c-44.064-28.681-72-74.374-72-128s27.936-101.319 72-130l-18-36zM742 70l-18 36c44.064 28.681 72 76.374 72 130s-27.936 99.319-72 128l16 38c59.295-35.204 100-96.047 100-166 0-68.818-40.258-130.525-98-166zM406 140c-33.569 20.623-56 55.993-56 96 0 40.667 23.529 75.534 58 96l10-22c-25.617-16.673-42-42.824-42-74s16.383-59.327 42-76l-12-20zM654 140l-12 20c25.617 16.673 42 44.824 42 76s-16.383 57.327-42 74l10 22c34.471-20.466 58-55.333 58-96 0-40.007-22.431-75.377-56-96zM480 194l-28 830h156l-28-830h-100z", - "M218.989 560.393h121.908v463.389h-121.908v-463.389z", - "M88 655.783v368h152v-368h-152zM114 671.783h26v346h-26v-346z", - "M-4.535 844.191h99.537v179.809h-99.537v-179.809z", - "M592.5 803.154h82.665v223.6h-82.665v-223.6z", - "M662.092 580.19h78.332v446.564h-78.332v-446.564z", - "M738 706v318h94v-318h-94zM758 734h20v262h-20v-262z", - "M808 816v208h174v-208h-174zM864 860h82v146h-82v-146z", - "M967.595 914.101h68.362v109.899h-68.362v-109.899z", - "M331.201 818.275v208h143.859v-208h-143.859zM377.501 862.275h67.796v146h-67.796v-146z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "launchingTower" - ] - }, - "attrs": [], - "properties": { - "order": 550, - "id": 45, - "prevSize": 16, - "code": 59900, - "name": "launchingTower" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 252 - }, - { - "icon": { - "paths": [ - "M0 0v160h64v864h896v-864h64v-160h-1024zM192 258h640v640h-640v-640zM400 330l-172 174 172 174v-114h112v-124h-112v-110zM624 516v110h-112v124h112v114l172-174-172-174z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "layout" - ] - }, - "attrs": [], - "properties": { - "order": 551, - "id": 44, - "prevSize": 16, - "code": 59901, - "name": "layout" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 253 - }, - { - "icon": { - "paths": [ - "M1024 0v1024h-736.508v-1024zM168.136 0v1024h-168.136v-1024zM635.932 330l-182 182 182 182v-122h232v-120h-232z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "legendhide" - ] - }, - "attrs": [], - "properties": { - "order": 552, - "id": 43, - "prevSize": 16, - "code": 59902, - "name": "legendhide" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 254 - }, - { - "icon": { - "paths": [ - "M0 0v1024h602v-1024h-602zM704 0v1024h320v-1024h-320zM778 136h172v86h-172v-86zM336 330l182 182-182 182v-122h-232v-120h232v-122zM778 376h172v86h-172v-86zM778 616h172v86h-172v-86zM778 854h172v88h-172v-88z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "legendshow" - ] - }, - "attrs": [], - "properties": { - "order": 553, - "id": 42, - "prevSize": 16, - "code": 59903, - "name": "legendshow" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 255 - }, - { - "icon": { - "paths": [ - "M174 0c-95.761 0-174 78.239-174 174s78.239 172 174 172c30.236 0 57.252-6.394 82-20l442 442c-13.606 24.748-20 51.764-20 82 0 95.761 76.239 174 172 174s174-78.239 174-174c0-95.761-78.239-172-174-172-30.57 0-59.061 6.113-84 20l-442-438c14.951-25.628 22-54.19 22-86 0-95.761-76.239-174-172-174zM174 86c47.881 0 86 40.119 86 88s-38.119 86-86 86c-47.881 0-88-38.119-88-86s40.119-88 88-88zM850 764c47.881 0 88 38.119 88 86s-40.119 88-88 88c-47.881 0-86-40.119-86-88s38.119-86 86-86z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "link" - ] - }, - "attrs": [], - "properties": { - "order": 554, - "id": 41, - "prevSize": 16, - "code": 59904, - "name": "link" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 256 - }, - { - "icon": { - "paths": [ - "M510 8c-203.422 0-367.735 153.347-370 344h92c2.507-130.677 125.564-236 278-236s277.452 105.323 280 236h92c-2.292-190.653-168.578-344-372-344zM156 416c-56.19 0-102 43.81-102 100v406c0 56.19 45.81 102 102 102h710c56.19 0 102-45.81 102-102v-406c0-56.19-45.81-100-102-100h-710zM510 586c37.842 0 68 30.158 68 68 0 20.924-9.216 41.432-24 54v170h-90v-170c-14.784-12.568-24-33.076-24-54 0-37.842 32.158-68 70-68z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "lock" - ] - }, - "attrs": [], - "properties": { - "order": 555, - "id": 40, - "prevSize": 16, - "code": 59905, - "name": "lock" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 257 - }, - { - "icon": { - "paths": [ - "M839.68 794.944l-469.12-469.12 325.824-325.824h-696.384v696.384l325.312-325.312 469.12 469.12z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "ltArrow" - ] - }, - "attrs": [], - "properties": { - "order": 556, - "id": 39, - "prevSize": 16, - "code": 59906, - "name": "ltArrow" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 258 - }, - { - "icon": { - "paths": [ - "M384 0c-211.661 0-384 172.339-384 384s172.339 382 384 382c72.935 0 139.963-20.633 198-56 3.407 7.108 8.094 14.094 14 20l270 272c27.919 27.919 74.081 27.919 102 0l34-36c27.919-27.919 27.919-72.081 0-100l-272-272c-5.848-5.848-10.97-10.602-18-14 34.492-57.525 54-124.046 54-196 0-211.661-170.339-384-382-384zM384 104c153.936 0 278 126.064 278 280s-124.064 278-278 278c-153.936 0-280-124.064-280-278s126.064-280 280-280z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "Magnifier" - ] - }, - "attrs": [], - "properties": { - "order": 557, - "id": 38, - "prevSize": 16, - "code": 59907, - "name": "Magnifier" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 259 - }, - { - "icon": { - "paths": [ - "M512.064 0c-282.368 0-512.064 229.632-512.064 512 0 282.432 229.696 512 512.064 512 282.304 0 511.936-229.632 511.936-512s-229.632-512-511.936-512zM512.064 960c-247.040 0-448.064-201.024-448.064-448 0-247.040 201.024-448 448.064-448 246.976 0 447.936 200.96 447.936 448 0 246.976-200.96 448-447.936 448z", - "M734.976 372.224l20.672-55.808-49.408-32.896-3.84-59.392-58.56-9.856-27.52-52.672-57.728 14.72-46.592-36.864-46.656 36.864-57.6-14.72-27.52 52.672-58.688 9.92-3.712 59.392-49.536 32.832 20.672 55.808-31.808 50.24 41.536 42.496-8.64 58.816 55.296 21.824 13.952 49.92-88.64 237.504 91.648-25.152 46.656 76.736 97.92-262.272 5.12-2.56 3.264 1.6 95.488 255.872 46.656-76.608 91.648 25.152-84.992-227.776 14.656-52.416 55.296-21.824-8.704-58.816 41.6-42.496-31.936-50.24zM626.176 538.88l-105.024 39.104c-3.072 0.256-6.016 1.024-9.152 1.024-19.968 0-38.784-4.032-56.768-9.728l-21.44-8.064c-63.552-29.568-107.904-93.568-107.904-168.32 0-102.848 83.328-186.176 186.112-186.176 102.848 0 186.112 83.328 186.112 186.176 0 59.52-28.416 111.936-71.936 145.984z", - "M669.12 392.832c0 86.775-70.345 157.12-157.12 157.12s-157.12-70.345-157.12-157.12c0-86.775 70.345-157.12 157.12-157.12s157.12 70.345 157.12 157.12z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "Maintain" - ] - }, - "attrs": [], - "properties": { - "order": 558, - "id": 37, - "prevSize": 16, - "code": 59908, - "name": "Maintain" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 260 - }, - { - "icon": { - "paths": [ - "M177.898 320v704h704v-704zM273.457 599.763h512.883v326.237h-512.883z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "maximize" - ] - }, - "attrs": [], - "properties": { - "order": 559, - "id": 36, - "prevSize": 16, - "code": 59909, - "name": "maximize" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 261 - }, - { - "icon": { - "paths": [ - "M634.117 13.088c-39.104-22.577-87.176-9.696-109.753 29.408l-9.772 16.925 330.977 191.089 9.772-16.925c22.577-39.104 9.696-87.176-29.408-109.752l-191.816-110.745zM492.879 97.032l-300.749 520.912 330.977 191.089 300.749-520.912-330.976-191.089zM519.824 215.392l60.178 34.744-210.633 364.826-60.178-34.744 210.633-364.826zM647.702 289.222l60.178 34.744-210.633 364.826-60.178-34.743 210.633-364.826zM148.7 693.166l28.686 332.494 302.291-141.404-330.977-191.089z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "modify" - ] - }, - "attrs": [], - "properties": { - "order": 560, - "id": 35, - "prevSize": 16, - "code": 59910, - "name": "modify" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 262 - }, - { - "icon": { - "paths": [ - "M508.608 9.6c-282.368 0-512.064 229.696-512.064 512 0 282.432 229.696 512 512.064 512 282.304 0 511.936-229.632 512-512 0-282.368-229.632-512-512-512zM508.608 969.6c-247.040 0-448.064-201.024-448.064-448s201.024-448 448.064-448 447.936 201.024 448 448c0 246.976-200.96 448-448 448z", - "M610.048 709.504h-203.008v33.856h-168.96v64h540.928v-64h-168.96z", - "M206.080 666.624h604.928v-429.312h-604.928v429.312zM749.056 617.024h-68.032v-28.032h68.032v28.032zM270.080 301.312h476.928v250.688h-476.928v-250.688z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "Monitor" - ] - }, - "attrs": [], - "properties": { - "order": 561, - "id": 34, - "prevSize": 16, - "code": 59911, - "name": "Monitor" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 263 - }, - { - "icon": { - "paths": [ - "M497.019 10c-30.138 0-54 30.398-54 69.728v354.615l-62 15.938h-6v-241.058c0-39.33-23.862-71.72-54-71.72s-54 32.39-54 71.72v316.763l-44 63.751-10 13.946-100-99.611c-27.919-27.811-70.929-28.958-96-3.984s-21.919 67.816 6 95.626l212 209.183c31.677 130.522 169.028 229.105 332 229.105 175.44 0 317.928-115.646 334-260.981 2.746-8.499 4-16.066 4-25.899v-414.381c0-39.33-23.862-71.72-54-71.72s-56 32.39-56 71.72v153.401l-34-9.961-32-17.93v-318.755c0-39.33-25.862-71.72-56-71.72s-54 32.39-54 71.72v288.872l-44-1.992-24-3.984v-342.661c0-39.33-23.862-69.728-54-69.728z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "move" - ] - }, - "attrs": [], - "properties": { - "order": 562, - "id": 33, - "prevSize": 16, - "code": 59912, - "name": "move" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 264 - }, - { - "icon": { - "paths": [ - "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512c282.77 0 512-229.23 512-512s-229.23-512-512-512zM488 174h48c31.119 0 56 24.881 56 56v202h204c31.119 0 56 24.881 56 56v48c0 31.119-24.881 56-56 56h-204v204c0 31.119-24.881 56-56 56h-48c-31.119 0-56-24.881-56-56v-204h-204c-31.119 0-56-24.881-56-56v-48c0-31.119 24.881-56 56-56h204v-202c0-31.119 24.881-56 56-56z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "new" - ] - }, - "attrs": [], - "properties": { - "order": 563, - "id": 32, - "prevSize": 16, - "code": 59913, - "name": "new" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 265 - }, - { - "icon": { - "paths": [ - "M370 0v100h132v322h-132v98h-170v504h800v-810l-194-214h-436zM150 56v132h-132v128h132v132h128v-132h132v-128h-132v-132h-128zM704 504l204 204-198 198-2-132h-244v-156h242l-2-114zM352 616h40v158h-40v-158z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "newShortcut" - ] - }, - "attrs": [], - "properties": { - "order": 564, - "id": 31, - "prevSize": 16, - "code": 59914, - "name": "newShortcut" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 266 - }, - { - "icon": { - "paths": [ - "M800 0v82l-284 6h-32v390h-342v-88h120v-262h-262v262h78v154h406v384h316v96h224v-224h-224v64h-252v-320h252v80h224v-224h-224v78h-252v-326l252-6v78h224v-224h-224zM880 80h64v64h-64v-64zM880 480h64v64h-64v-64zM880 880h64v64h-64v-64z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "openTree" - ] - }, - "attrs": [], - "properties": { - "order": 565, - "id": 30, - "prevSize": 16, - "code": 59915, - "name": "openTree" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 267 - }, - { - "icon": { - "paths": [ - "M448 0v320h576v-320h-576zM0 448v576h1024v-576h-1024z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "poNode" - ] - }, - "attrs": [], - "properties": { - "order": 566, - "id": 29, - "prevSize": 16, - "code": 59916, - "name": "poNode" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 268 - }, - { - "icon": { - "paths": [ - "M272 0v200h480v-200h-480zM98 112c-54.122 0-98 43.878-98 98v358c0 54.122 43.878 98 98 98h828c54.122 0 98-43.878 98-98v-358c0-54.122-43.878-98-98-98h-110v168h-608v-168h-110zM284 724v300h484v-300h-484zM330 786h364v52h-364v-52zM332 894h264v50h-264v-50z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "print" - ] - }, - "attrs": [], - "properties": { - "order": 567, - "id": 28, - "prevSize": 16, - "code": 59917, - "name": "print" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 269 - }, - { - "icon": { - "paths": [ - "M186.869 0v1024h640v-1024h-640zM304.869 134.003h404v133.997h-404v-133.997zM304.869 502.003h186v64h-186v-64zM304.869 732h186v64h-186v-64z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "product" - ] - }, - "attrs": [], - "properties": { - "order": 568, - "id": 27, - "prevSize": 16, - "code": 59918, - "name": "product" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 270 - }, - { - "icon": { - "paths": [ - "M184.32 229.056l469.12 469.12-325.824 325.824h696.384v-696.384l-325.312 325.312-469.12-469.12z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "rbArrow" - ] - }, - "attrs": [], - "properties": { - "order": 569, - "id": 26, - "prevSize": 16, - "code": 59919, - "name": "rbArrow" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 271 - }, - { - "icon": { - "paths": [ - "M169.25 320v456h203.925v248h500.075v-456h-203.925v-248zM239.752 500h362.35v68h-228.928v110h-133.422zM443.677 746h360.71v178h-360.71z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "reduction" - ] - }, - "attrs": [], - "properties": { - "order": 570, - "id": 25, - "prevSize": 16, - "code": 59920, - "name": "reduction" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 272 - }, - { - "icon": { - "paths": [ - "M514 54c-101.166 0-194.73 36.006-268 98l-158-94 88 354 368-86-194-110c48.27-30.912 103.639-52 164-52 157.484 0 288.023 121.916 314 280l102-32c-38.978-204.361-210.106-358-416-358zM188 584l-100 32c38.978 204.361 208.106 358 414 358 101.166 0 194.73-36.006 268-98l160 94-88-354-368 84 194 112c-48.27 30.911-105.639 52-166 52-157.484 0-288.023-121.916-314-280z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "refresh" - ] - }, - "attrs": [], - "properties": { - "order": 571, - "id": 24, - "prevSize": 16, - "code": 59921, - "name": "refresh" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 273 - }, - { - "icon": { - "paths": [ - "M56 0c-31.119 0-56 24.881-56 56v618c0 31.119 24.881 56 56 56 0 0 226.78 4.516 260.648 0v-176c0-34.183 27.817-62 62-62h87.352l-36-92h-164l-34 94h-88l160-418h88l166 416h52.899c34.183 0 62 27.817 62 62v72h57.101v-570c0-31.119-24.881-56-56-56zM348 172l-56 156h112zM414 556v322.99h412v143.343l202-209.343-202-224.847v144.847h-266v-176.99z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "rename" - ] - }, - "attrs": [], - "properties": { - "order": 572, - "id": 23, - "prevSize": 16, - "code": 59922, - "name": "rename" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 274 - }, - { - "icon": { - "paths": [ - "M0 0v1024h1024v-856l-154-168h-870zM158 150h414v138h192v-138h102v240h-708v-240zM158 502h708v406h-708v-406zM254 596v76h516v-76h-516zM254 762v76h516v-76h-516z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "save" - ] - }, - "attrs": [], - "properties": { - "order": 573, - "id": 22, - "prevSize": 16, - "code": 59923, - "name": "save" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 275 - }, - { - "icon": { - "paths": [ - "M0 0l486 1024 96-396 442-142-1024-486zM156 168l666 304-308 82-60 234-298-620z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "select" - ] - }, - "attrs": [], - "properties": { - "order": 574, - "id": 21, - "prevSize": 16, - "code": 59924, - "name": "select" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 276 - }, - { - "icon": { - "paths": [ - "M68 0c-38.145 0-68 31.069-68 70v52c0 38.931 29.855 70 68 70h888c38.145 0 68-31.069 68-70v-52c0-38.931-29.855-70-68-70h-888zM68 268c-38.145 0-68 29.855-68 68v620c0 38.145 29.855 68 68 68h888c38.145 0 68-29.855 68-68v-620c0-38.145-29.855-68-68-68h-888zM810 388l124 10-460 528-320-264 144-124 154 222 358-372z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "selectAll" - ] - }, - "attrs": [], - "properties": { - "order": 575, - "id": 20, - "prevSize": 16, - "code": 59925, - "name": "selectAll" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 277 - }, - { - "icon": { - "paths": [ - "M354 2l-352 264 352 266v-140h434v278h-234v-64h-204v204h204v-76h104v188h-454v-98h-204v204h204v-42h518v-252h130v-342h172v-252h-670v-138z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "selectLeft" - ] - }, - "attrs": [], - "properties": { - "order": 576, - "id": 19, - "prevSize": 16, - "code": 59926, - "name": "selectLeft" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 278 - }, - { - "icon": { - "paths": [ - "M670 2l352 264-352 266v-140h-434v278h234v-64h204v204h-204v-76h-104v188h454v-98h204v204h-204v-42h-518v-252h-130v-342h-172v-252h670v-138z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "selectRight" - ] - }, - "attrs": [], - "properties": { - "order": 577, - "id": 18, - "prevSize": 16, - "code": 59927, - "name": "selectRight" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 279 - }, - { - "icon": { - "paths": [ - "M0 0v356h486l-352 348h234v250h-368v70h1024v-70h-368v-250h234l-374-348h508v-356h-1024z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "show" - ] - }, - "attrs": [], - "properties": { - "order": 578, - "id": 17, - "prevSize": 16, - "code": 59928, - "name": "show" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 280 - }, - { - "icon": { - "paths": [ - "M512 237.682l-512 786.318h1024z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "shrink" - ] - }, - "attrs": [], - "properties": { - "order": 579, - "id": 16, - "prevSize": 16, - "code": 59929, - "name": "shrink" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 281 - }, - { - "icon": { - "paths": [ - "M154 0c-85.352 0-154 68.648-154 154v716c0 85.352 68.648 154 154 154h716c85.352 0 154-68.648 154-154v-716c0-85.352-68.648-154-154-154h-716zM190 128h644c34.183 0 62 27.817 62 62v644c0 34.183-27.817 62-62 62h-644c-34.183 0-62-27.817-62-62v-644c0-34.183 27.817-62 62-62zM272 202v620l518-310-518-310z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "start" - ] - }, - "attrs": [], - "properties": { - "order": 580, - "id": 15, - "prevSize": 16, - "code": 59930, - "name": "start" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 282 - }, - { - "icon": { - "paths": [ - "M154 0c-85.352 0-154 68.648-154 154v716c0 85.352 68.648 154 154 154h716c85.352 0 154-68.648 154-154v-716c0-85.352-68.648-154-154-154h-716zM190 128h644c34.183 0 62 27.817 62 62v644c0 34.183-27.817 62-62 62h-644c-34.183 0-62-27.817-62-62v-644c0-34.183 27.817-62 62-62zM296 296v432h432v-432h-432z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "stop" - ] - }, - "attrs": [], - "properties": { - "order": 581, - "id": 14, - "prevSize": 16, - "code": 59931, - "name": "stop" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 283 - }, - { - "icon": { - "paths": [ - "M512 1024l-512-786.318h1024z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "stretch" - ] - }, - "attrs": [], - "properties": { - "order": 582, - "id": 13, - "prevSize": 16, - "code": 59932, - "name": "stretch" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 284 - }, - { - "icon": { - "paths": [ - "M194 0c-107.068 0-194 82.412-194 184v656c0 101.588 86.932 184 194 184h636c107.068 0 194-82.412 194-184v-656c0-101.588-86.932-184-194-184h-636zM256 166l254 254 254-254 92 90-256 254 258 258-90 90-258-258-258 258-90-90 258-258-254-254 90-90z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "strikeOut" - ] - }, - "attrs": [], - "properties": { - "order": 583, - "id": 12, - "prevSize": 16, - "code": 59933, - "name": "strikeOut" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 285 - }, - { - "icon": { - "paths": [ - "M494.591 0.25c-104.514 3.264-208.762 40.365-296.56 108.41 54.963 14.432 104.846 45.722 142.015 91.731 26.183 32.416 43.293 69.434 52.211 108.41 7.471-4.416 15.182-6.931 22.973-10.419 92.228-41.331 202.903-21.402 273.587 58.374 2.3 2.624 4.099 5.696 6.266 8.339 38.539-10.528 75.134-28.589 106.511-56.294 44.602-39.379 72.015-90.355 83.538-145.939-104.684-110.842-248.067-167.085-390.54-162.611zM129.112 171.2c-154.656 173.299-171.74 430.515-43.857 623.366 14.934-42.534 37.92-81.523 73.096-112.576 40.821-36.064 90.261-55.533 142.015-62.547-39.251-78.547-32.851-174.438 18.796-246.010-8.527-40.979-24.855-80.813-52.211-114.669-35.942-44.499-84.853-73.018-137.838-87.565zM945.696 242.086c-12.714 52.192-39.333 100.41-81.45 137.6-37.012 32.678-81.354 51.789-127.396 60.461 26.015 79.027 6.736 167.418-52.211 231.411 19.428 31.75 44.529 59.674 77.273 81.312 53.569 35.405 115.945 48.032 177.518 41.696 109.728-165.357 113.583-382.061 6.266-552.48zM356.753 690.33c-49.599 7.29-96.216 27.635-135.749 62.541-37.037 32.698-60.956 73.747-75.184 118.835 189.751 193.376 500.447 204.333 705.897 22.938 7.2-6.336 14.128-12.109 20.885-18.771-56.711 3.136-113.526-11.149-162.899-43.776-41.445-27.398-71.715-65.645-91.892-108.41-84.866 42.72-188.114 30.099-261.056-33.357z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "Synchronous" - ] - }, - "attrs": [], - "properties": { - "order": 584, - "id": 11, - "prevSize": 16, - "code": 59934, - "name": "Synchronous" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 286 - }, - { - "icon": { - "paths": [ - "M517.312 51.648c-261.504 0-474.24 212.736-474.24 474.24s212.736 474.24 474.24 474.24c261.44 0 474.176-212.736 474.176-474.24s-212.736-474.24-474.176-474.24zM517.312 936.128c-226.24 0-410.24-184.064-410.24-410.24 0-226.24 184-410.24 410.24-410.24 226.176 0 410.176 184 410.176 410.24 0 226.176-184 410.24-410.176 410.24z", - "M498.624 196.288l-45.312 45.248 245.632 245.632h-445.184v64h457.536l-244.16 244.224 45.248 45.248 315.264-315.328z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "toRight" - ] - }, - "attrs": [], - "properties": { - "order": 585, - "id": 10, - "prevSize": 16, - "code": 59935, - "name": "toRight" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 287 - }, - { - "icon": { - "paths": [ - "M172 0c-95.48 0-172 76.52-172 172v680c0 95.48 76.52 172 172 172h680c95.48 0 172-76.52 172-172v-680c0-95.48-76.52-172-172-172h-680zM244 178h432l104 132v536h-536v-668zM326 306v78h200v-78h-200zM328 478v76h374v-76h-374zM320 648v78h384v-78h-384z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "treefile" - ] - }, - "attrs": [], - "properties": { - "order": 586, - "id": 9, - "prevSize": 16, - "code": 59936, - "name": "treefile" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 288 - }, - { - "icon": { - "paths": [ - "M172 0c-95.48 0-172 76.52-172 172v680c0 95.48 76.52 172 172 172h680c95.48 0 172-76.52 172-172v-680c0-95.48-76.52-172-172-172zM238.712 241.729h206.949c27.848 0 50.787 21.897 50 48v144h316c28.751 0 52 23.249 52 52v266.237c0 28.751-23.249 52-52 52h-568.949c-28.751 0-51.098-23.263-52-52v-462.237c0-26.115 20.152-48 48-48z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "treeFolder" - ] - }, - "attrs": [], - "properties": { - "order": 587, - "id": 8, - "prevSize": 16, - "code": 59937, - "name": "treeFolder" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 289 - }, - { - "icon": { - "paths": [ - "M510 8c-202.717 0-366.626 152.266-370 342-0.012 0.659 0.008 1.34 0 2v66c-48.364 7.619-86 47.443-86 98v406c0 56.19 45.81 102 102 102h710c56.19 0 102-45.81 102-102v-406c0-56.19-45.81-100-102-100h-634v-66c3.722-129.746 126.346-234 278-234 125.236 0 230.961 71.332 266.403 169.184 9.788 9.965 18.88 19.916 30.894 22.829 12.716 3.084 41.895 4.16 53.558-6.145 7.663-6.77 13.476-15.71 11.628-22.481-37.206-155.677-185.523-271.387-362.482-271.387zM510 586c37.842 0 68 30.158 68 68 0 20.924-9.216 41.432-24 54v170h-90v-170c-14.784-12.568-24-33.076-24-54 0-37.842 32.158-68 70-68z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "unlock" - ] - }, - "attrs": [], - "properties": { - "order": 588, - "id": 7, - "prevSize": 16, - "code": 59938, - "name": "unlock" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 290 - }, - { - "icon": { - "paths": [ - "M430.051 1.837c-113.748 0-204 92.25-204 206.003 0 113.747 90.252 205.997 204 205.997s206-92.25 206-205.997c0-113.754-92.252-206.003-206-206.003zM260.051 423.84c-293.451 164.71-256.921 447.763-260 437.997h378c24.631-42.662 62.629-86.432 126-121.997l12-38.003v-1.984c-0.602-0.704-1.411-1.28-2-1.984-16.909-20.928-28.629-51.814-30-97.997 0-62.336 42.539-115.219 100-130.003l4-1.984v-1.984l14-41.997c-37.012 47.104-100.907 80-172 80s-132.988-32.896-170-80zM688.051 467.84c-73.692 0-134 58.304-134 132 0 73.69 60.308 133.997 134 133.997s132-60.307 132-133.997c0-73.696-58.308-132-132-132zM576.051 739.84c-190.112 106.707-166.005 290.323-168 284h558c-1.994 6.336 22.112-177.293-168-284-23.978 30.515-63.943 52-110 52s-88.022-21.485-112-52z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "userCompare" - ] - }, - "attrs": [], - "properties": { - "order": 589, - "id": 6, - "prevSize": 16, - "code": 59939, - "name": "userCompare" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 291 - }, - { - "icon": { - "paths": [ - "M512 0c-135.256 0-243.927 108.883-243.927 244.403 0 135.526 108.671 246.413 243.927 246.413s243.927-110.886 243.927-246.413c0-135.52-108.671-244.403-243.927-244.403zM308.061 502.842c-348.938 196.237-304.247 532.493-307.907 520.864h1023.692c-3.66 11.629 41.030-324.627-307.907-520.864-44.011 56.115-119.403 94.15-203.939 94.15-50.341 0-96.799-15.302-135.959-38.061 100.275 77.171 212.359 110.496 331.9 118.195l3.999-152.256 235.929 208.346-213.936 242.406-11.996-138.234c-166.671-50.202-400.945-148.48-413.876-334.547z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "userDispatch" - ] - }, - "attrs": [], - "properties": { - "order": 590, - "id": 5, - "prevSize": 16, - "code": 59940, - "name": "userDispatch" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 292 - }, - { - "icon": { - "paths": [ - "M130 0c-71.877 0-130 58.123-130 130v764c0 71.877 58.123 130 130 130h764c71.877 0 130-58.123 130-130v-506l-388-388h-506zM772 0l252 252v-122c0-71.877-58.123-130-130-130h-122zM56 352h76l64 102 62-102h76l-100 156 110 164h-78l-72-110-70 110h-78l110-168-100-152zM376 352h98l58 218 58-218h96v320h-60v-252l-64 252h-62l-64-252v252h-60v-320zM752 354h66v264h160v54h-226v-318z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "xml" - ] - }, - "attrs": [], - "properties": { - "order": 591, - "id": 4, - "prevSize": 16, - "code": 59941, - "name": "xml" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 293 - }, - { - "icon": { - "paths": [ - "M638 2c-211.661 0-382 172.339-382 384 0 71.954 19.508 138.475 54 196-7.030 3.398-12.152 8.152-18 14l-272 272c-27.919 27.919-27.919 72.081 0 100l34 36c27.919 27.919 74.081 27.919 102 0l270-272c5.906-5.906 10.593-12.892 14-20 58.037 35.367 125.065 56 198 56 211.661 0 384-170.339 384-382s-172.339-384-384-384zM638 106c153.936 0 280 126.064 280 280s-126.064 278-280 278c-153.936 0-278-124.064-278-278s124.064-280 278-280zM620 194c-25.053 0-46 20.947-46 46v84h-84c-25.053 0-44 18.947-44 44v38c0 25.053 18.947 46 44 46h84v84c0 25.053 20.947 44 46 44h38c25.053 0 44-18.947 44-44v-84h84c25.053 0 46-20.947 46-46v-38c0-25.053-20.947-44-46-44h-84v-84c0-25.053-18.947-46-44-46h-38z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "zoomIn" - ] - }, - "attrs": [], - "properties": { - "order": 592, - "id": 3, - "prevSize": 16, - "code": 59942, - "name": "zoomIn" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 294 - }, - { - "icon": { - "paths": [ - "M638.939 1.061c211.661 0 384 172.339 384 384s-172.339 382-384 382c-72.935 0-139.963-20.633-198-56-3.407 7.108-8.094 14.094-14 20l-270 272c-27.919 27.919-74.081 27.919-102 0l-34-36c-27.919-27.919-27.919-72.081 0-100l272-272c5.848-5.848 10.97-10.602 18-14-34.492-57.525-54-124.046-54-196 0-211.661 170.339-384 382-384zM638.939 105.061c-153.936 0-278 126.064-278 280s124.064 278 278 278c153.936 0 280-124.064 280-278s-126.064-280-280-280z", - "M490.9 323.499h295.725c24.975 0 45.222 20.247 45.222 45.222v37.556c0 24.975-20.247 45.222-45.222 45.222h-295.725c-24.975 0-45.222-20.247-45.222-45.222v-37.556c0-24.975 20.247-45.222 45.222-45.222z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "zoomOut" - ] - }, - "attrs": [], - "properties": { - "order": 593, - "id": 2, - "prevSize": 16, - "code": 59943, - "name": "zoomOut" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 295 - }, - { - "icon": { - "paths": [ - "M0 0v172l172-172h-172zM852 0l172 172v-172h-172zM128 128v768h768v-768h-768zM234 254h556v272l-42-56-72 86-66-194-114 230-104-122-158 162v-378zM0 852v172h172l-172-172zM1024 852l-172 172h172v-172z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "zoomOverView" - ] - }, - "attrs": [], - "properties": { - "order": 594, - "id": 1, - "prevSize": 16, - "code": 59944, - "name": "zoomOverView" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 296 - }, - { - "icon": { - "paths": [ - "M388 0l114 128 114-128h-228zM502 128h-374v768h768v-768h-394zM896 470l128 114v-228l-128 114zM512 896l-114 128h226l-112-128zM128 472l-128-112v226l128-114zM234 254h556v272l-42-56-72 86-66-194-114 230-104-122-158 162v-378z" - ], - "attrs": [], - "isMulticolor": false, - "grid": 0, - "tags": [ - "zoomReset" - ] - }, - "attrs": [], - "properties": { - "order": 595, - "id": 0, - "prevSize": 16, - "code": 59945, - "name": "zoomReset" - }, - "setIdx": 0, - "setId": 2, - "iconIdx": 297 - } - ], - "height": 1024, - "metadata": { - "name": "ZteIctIcons" - }, - "preferences": { - "showGlyphs": true, - "showQuickUse": true, - "showQuickUse2": true, - "showSVGs": true, - "fontPref": { - "prefix": "ict-", - "metadata": { - "fontFamily": "ZteIctIcons", - "majorVersion": 1, - "minorVersion": 0 - }, - "metrics": { - "emSize": 1024, - "baseline": 6.25, - "whitespace": 50 - }, - "embed": false - }, - "imagePref": { - "prefix": "icon-", - "png": true, - "useClassSelector": true, - "color": 4473924, - "bgColor": 16777215, - "classSelector": ".icon" - }, - "historySize": 100, - "showCodes": true, - "gridSize": 16, - "showLiga": false - } +{ + "IcoMoonType": "selection", + "icons": [ + { + "icon": { + "paths": [ + "M820.37 677.303c-13.605 0-24.795 5.193-33.646 15.726-8.85 10.459-13.312 26.331-13.312 47.762 0 21.65 4.389 37.742 13.166 48.128s19.822 15.579 33.134 15.579c13.458 0 24.503-5.12 33.061-15.36 8.631-10.313 13.019-26.697 13.019-49.298 0-21.065-4.389-36.791-13.093-47.177-8.704-10.24-19.456-15.36-32.329-15.36z", + "M888.027 0h-752.055c-75.557 0-135.973 60.416-135.973 135.973v751.982c0 75.703 60.416 136.046 135.973 136.046h751.982c75.703 0 136.046-60.343 136.046-135.973v-752.055c0-75.557-60.343-135.973-135.973-135.973zM107.52 141.385h103.863v253.294h162.085v82.725h-265.947v-336.018zM350.574 831.634c-24.869 23.918-59.173 35.84-103.058 35.84-39.131 0-70.729-9.947-94.866-29.769-29.696-24.576-44.471-56.832-44.471-96.695 0-37.157 12.507-67.73 37.595-91.794s58.953-36.133 101.522-36.133c48.786 0 85.577 14.117 110.519 42.423 19.968 22.821 30.062 50.761 30.062 84.114 0 37.449-12.434 68.096-37.303 92.014zM573.221 861.989h-82.798l-101.23-243.419h97.061l47.25 154.258 49.006-154.258h94.135l-103.424 243.419zM628.517 466.944c-19.895 10.606-48.347 15.945-85.504 15.945-32.183 0-57.563-4.535-76.069-13.678-18.505-8.997-33.792-23.479-46.007-43.301-12.142-19.749-18.213-43.008-18.213-69.778 0-38.107 12.215-68.827 36.571-92.379 24.43-23.552 58.075-35.255 101.010-35.255 34.889 0 62.391 5.266 82.505 15.799 20.187 10.533 35.547 25.819 46.080 45.787 10.606 20.041 15.872 46.080 15.872 78.19v10.533h-187.099c1.682 14.994 5.705 26.185 12.142 33.499 8.997 10.533 20.773 15.799 35.255 15.799 9.216 0 17.92-2.267 26.112-6.875 5.047-2.926 10.533-8.046 16.311-15.36l91.941 8.485c-14.043 24.503-31.013 41.984-50.907 52.59zM922.258 831.634c-24.869 23.918-59.246 35.84-103.058 35.84-39.058 0-70.729-9.947-94.866-29.769-29.623-24.576-44.471-56.832-44.471-96.695 0-37.157 12.581-67.73 37.669-91.794 25.015-24.064 58.88-36.133 101.522-36.133 48.786 0 85.577 14.117 110.519 42.423 19.968 22.821 29.989 50.761 29.989 84.114-0.073 37.449-12.507 68.096-37.303 92.014zM984.942 477.403h-93.696v-133.851c0-15.287-2.853-26.112-8.485-32.402-5.632-6.363-13.605-9.509-23.845-9.509-11.264 0-20.407 4.315-27.502 12.873-7.022 8.558-10.533 23.918-10.533 46.080v116.882h-93.33v-243.493h86.894v39.643c13.019-16.165 26.112-27.721 39.424-34.743s29.477-10.459 48.567-10.459c25.893 0 46.080 7.68 60.635 23.040s21.87 39.058 21.87 71.168v154.77z", + "M575.195 295.424c-7.826-7.753-18.213-11.703-31.013-11.703-14.848 0-26.697 5.851-35.547 17.627-5.632 7.314-9.216 18.286-10.752 32.768h91.941c-1.902-17.993-6.656-30.939-14.629-38.693z", + "M248.686 677.303c-13.605 0-24.869 5.193-33.719 15.726-8.85 10.459-13.312 26.331-13.312 47.762 0 21.65 4.389 37.742 13.166 48.128s19.822 15.579 33.134 15.579c13.458 0 24.43-5.12 33.134-15.36 8.631-10.313 12.946-26.697 12.946-49.298 0-21.065-4.389-36.791-13.093-47.177-8.631-10.24-19.383-15.36-32.256-15.36z" + ], + "attrs": [ + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-lenovo" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 4, + 4, + 4, + 4 + ] + } + }, + "attrs": [ + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + } + ], + "properties": { + "order": 298, + "id": 297, + "prevSize": 16, + "code": 59648, + "name": "it-other-lenovo" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 0 + }, + { + "icon": { + "paths": [ + "M361.536 749.12l-107.008 274.88h58.88l22.656-62.464h109.888l24 62.464h60.352l-110.080-274.88h-58.688zM353.152 915.264l37.12-102.016 37.888 102.016h-75.008z", + "M616.768 751.36h-55.488v272.64h193.472v-46.336h-137.984z", + "M957.632 901.184c0 21.76-0.832 37.312-2.432 46.656s-6.464 17.344-14.464 23.68c-8 6.528-19.904 9.664-35.648 9.664-15.488 0-27.776-3.392-36.608-10.176-9.024-6.784-14.656-15.872-17.024-27.136-1.344-6.976-2.048-22.336-2.048-45.952v-148.864h-55.488v146.624c0 30.72 1.792 54.016 5.44 69.76 2.496 10.624 7.68 20.8 15.552 30.464 7.872 9.728 18.56 17.6 32.192 23.616 13.504 6.080 33.408 9.152 59.712 9.152 21.76 0 39.36-2.816 52.864-8.384 13.504-5.504 24.32-12.992 32.32-22.4 8.128-9.344 13.632-20.864 16.64-34.496s4.48-36.928 4.48-69.952v-144.384h-55.488v152.128z", + "M1006.016 643.392c11.328-42.304 17.984-86.592 17.984-132.416 0-282.688-230.336-510.976-513.024-510.976s-510.976 228.288-510.976 510.976c0 181.504 94.4 340.992 236.544 432.256v-171.904c0-70.656 57.344-128 128-128h108.224v-19.712c0-19.968-8.384-70.848-42.24-80.448h66.368c36.416 0 44.224 63.68 44.224 84.48v15.68h464.896zM859.008 444.608v-88.512l122.752 122.688-122.752 122.688v-88.448h-164.928c-19.968 0-70.912 10.432-80.448 44.224v-66.368c0-36.416 61.632-46.272 82.496-46.272h162.88zM408.384 468.736c0 36.416-61.632 44.224-82.496 44.224h-162.944v88.512l-122.688-122.688 122.688-122.688v88.512h166.976c19.968 0 68.928-8.384 78.464-42.24v66.368zM496.896 478.784h-66.368c33.856-9.536 42.24-60.544 42.24-80.448v-164.992h-88.512l122.688-122.688 122.688 122.688h-88.448v162.944c0 20.864-7.872 82.496-44.288 82.496z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-router-alu7750" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 299, + "id": 296, + "prevSize": 16, + "code": 59649, + "name": "it-router-alu7750" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 1 + }, + { + "icon": { + "paths": [ + "M558.656 403.584c-10.624-4.096-27.776-6.144-51.328-6.144h-63.040v229.12h64c19.776 0 35.264-1.792 46.592-5.504 11.264-3.712 20.16-8.896 26.88-15.552 9.344-9.408 16.768-22.080 22.016-37.952 5.184-15.872 7.808-35.136 7.808-57.856 0-31.36-5.056-55.424-15.424-72.32-10.304-16.768-22.784-28.032-37.504-33.792z", + "M888 0h-752c-75.648 0-136 60.352-136 136v752c0 75.648 60.352 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.648-60.352-136-136-136zM337.984 661.952h-40.768l-157.504-235.648v235.648h-38.016v-299.904h40.704l157.504 235.52v-235.52h38.080v299.904zM644.544 570.88c-5.312 17.664-12.096 32.192-20.416 43.712-8.384 11.584-17.408 20.608-27.392 27.264-9.856 6.656-21.76 11.648-35.776 14.976-13.952 3.456-30.016 5.12-48.064 5.12h-108.288v-299.904h103.36c23.232 0 41.088 1.472 53.312 4.352 17.216 3.904 31.872 11.072 44.032 21.44 15.744 13.376 27.648 30.464 35.456 51.2 7.808 20.864 11.776 44.608 11.776 71.36-0.064 22.784-2.688 42.944-8 60.48zM918.656 622.4c-9.216 14.144-22.272 25.088-39.36 32.96-17.216 7.808-36.416 11.776-57.792 11.776-27.2 0-49.92-4.032-68.16-11.904-18.368-7.936-32.768-19.776-43.2-35.712-10.432-15.872-15.872-33.856-16.448-53.888l37.44-3.264c1.728 14.976 5.824 27.264 12.352 36.864 6.464 9.6 16.448 17.344 30.208 23.296 13.568 5.952 28.864 8.896 46.016 8.896 15.040 0 28.416-2.176 40.064-6.656 11.584-4.48 20.16-10.688 25.792-18.496 5.76-7.872 8.576-16.448 8.576-25.664 0-9.408-2.688-17.664-8.192-24.64-5.44-6.976-14.464-12.928-27.008-17.728-8.064-3.072-25.856-8.064-53.376-14.656-27.648-6.592-46.848-12.864-57.856-18.688-14.4-7.488-25.024-16.768-32-27.904-7.104-11.072-10.56-23.552-10.56-37.312 0-15.104 4.288-29.312 12.928-42.496 8.512-13.184 21.056-23.168 37.632-30.016 16.448-6.784 34.816-10.24 54.976-10.24 22.208 0 41.792 3.52 58.816 10.688 16.96 7.104 30.016 17.664 39.168 31.616 9.088 13.888 14.016 29.696 14.72 47.232l-38.144 2.88c-1.984-18.944-9.024-33.28-20.736-42.944-11.84-9.664-29.248-14.592-52.224-14.592-24 0-41.536 4.416-52.416 13.184-11.008 8.832-16.448 19.392-16.448 31.808 0 10.752 3.84 19.648 11.648 26.624 7.616 6.976 27.52 14.080 59.84 21.376 32.256 7.296 54.4 13.632 66.368 19.136 17.408 8.064 30.272 18.368 38.592 30.72 8.384 12.352 12.544 26.56 12.544 42.624 0 16-4.672 30.976-13.76 45.12z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-nds" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 300, + "id": 295, + "prevSize": 16, + "code": 59650, + "name": "it-other-nds" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 2 + }, + { + "icon": { + "paths": [ + "M766.4 419.136c-9.728 48.512-19.52 97.088-29.248 145.664h80.256c23.488-12.48 30.656-14.336 43.904-38.4 7.232-20.416 14.528-40.832 21.76-61.248-23.552-43.456-48.128-49.856-116.672-46.016z", + "M211.968 419.136c-9.728 48.576-19.52 97.088-29.248 145.664 31.616-2.624 63.232-5.184 94.848-7.744 24.96-12.288 24.448-12.416 36.544-38.336 14.144-27.328 13.376-51.52 7.296-84.288-36.48-5.056-72.96-10.176-109.44-15.296z", + "M888 0h-752c-75.584 0-136 60.416-136 136v752c0 75.648 60.416 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.584-60.352-136-136-136zM175.488 618.432c-50.24 33.088 24.192 82.88-80.256 84.16v-22.848c19.456-102.144 38.912-204.416 58.368-306.56 113.472-4.544 188.288-3.136 240.704 53.696 7.232 255.232-114.304 122.816-218.816 191.552zM562.048 618.368v-22.976c9.792-51.072 19.52-102.144 29.184-153.28-7.296-7.68-14.592-15.296-21.888-22.976h-80.256c-12.16 66.432-24.32 132.864-36.48 199.232h-65.6c21.888-112.384 43.776-224.768 65.664-337.088h58.368c-2.432 30.592-4.8 61.248-7.296 91.904 71.68-3.072 114.624 4.224 153.28 30.656h-0.128v7.68c-9.6 68.928-19.456 137.92-29.12 206.848h-65.728zM722.56 626.176c-2.368 25.408-4.8 51.072-7.168 76.416h-65.6c19.456-109.76 38.784-219.584 58.24-329.408 89.792-3.072 174.016-1.6 226.24 30.656 53.632 184.896-72.448 186.56-211.712 222.336z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-php" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 301, + "id": 294, + "prevSize": 16, + "code": 59651, + "name": "it-other-php" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 3 + }, + { + "icon": { + "paths": [ + "M896 1024c70.848 0 128-57.152 128-128v-252.032l-379.968 380.032h251.968z", + "M896 0h-768c-70.912 0-128 57.088-128 128v768c0 70.848 57.088 128 128 128h417.984l478.016-480v-416c0-70.912-57.152-128-128-128zM831.936 262.336c-0.832 0.832-1.792 1.344-2.624 2.176h-10.944c4.48-0.768 9.152-1.472 13.568-2.176zM53.824 351.936c120.96-213.76 428.352-120.384 546.112-256.704h10.88c14.528 20.032 29.184 40 43.712 60.032-21.888-10.56-24.128-21.184-38.208-38.208-23.68 18.24-47.296 36.416-70.976 54.592 1.856 3.648 3.648 7.296 5.376 10.944 18.304 5.44 36.48 10.944 54.72 16.384-182.208-17.024-337.216 0.768-447.872 81.92-38.272 28.032-56.64 72.704-98.304 98.304h-5.44v-27.264zM239.488 362.88c-5.44 1.792-10.944 3.648-16.384 5.44-25.088-8.064-19.264-10.24-32.768-27.328 7.296-12.8 14.592-25.472 21.888-38.272h32.704v11.008c8.512 20.352 2.56 33.408-5.44 49.152zM288.704 510.272h-10.944c-75.712 40.832-229.056-50.432-245.76-109.184 110.528 9.92 119.68 119.36 256.704 103.68v5.504zM294.144 466.56c-31.232 16.768-61.056 29.312-92.8 5.44 54.144 0.96 67.968-11.968 92.8-38.208-1.856-10.944-3.648-21.824-5.44-32.704l16.384 16.32c-3.648 16.384-7.296 32.768-10.944 49.152zM310.528 242.688h-10.944c4.16-0.32 8.32-0.576 12.416-0.832-0.448 0.32-1.024 0.512-1.472 0.832zM414.272 204.416c120.256-2.176 196.544 24.064 283.968 43.712v5.44c-51.008-9.088-102.016-18.176-152.896-27.264-77.76 5.184-155.584 10.368-233.344 15.488 28.48-20.416 66.368-21.12 102.272-37.376zM610.88 379.2v-81.92c19.264 31.68 20.544 47.168 0 81.92zM556.224 390.144v-98.304c23.168 37.76 25.92 55.936 0 98.304zM397.888 433.792h-5.44c-1.856-56.448-3.648-112.832-5.504-169.28 36.8 61.056 18.24 90.24 10.944 169.28zM447.040 401.088c-1.792-43.712-3.648-87.424-5.44-131.072 20.672 36.672 25.216 89.28 5.44 131.072zM501.632 401.024v-114.688c22.208 41.92 14.4 60.928 5.376 114.688h-5.376zM627.392 559.424c-31.872-11.456-82.816-20.224-120.32-32.768 3.648-5.44 7.36-10.88 10.944-16.448h5.504c53.12 1.024 70.72 19.2 109.248 32.832 3.648-16.384 7.296-32.832 10.88-49.152 5.504 21.248 0.128 50.24-16.256 65.536zM665.472 368.256h-5.504v-70.976c13.504 19.968 10.176 43.52 5.504 70.976zM720.128 340.992c-12.736-3.648-25.472-7.296-38.272-10.944l38.272 5.44v5.504zM818.368 395.584c14.4-31.552 10.112-60.224-5.44-87.424 14.592 10.944 29.12 21.888 43.84 32.768-9.92 27.328-12.864 42.112-38.4 54.656zM944 537.536c-7.232-5.44-14.656-10.944-21.824-16.384-10.944-21.824-21.952-43.712-32.832-65.536 14.592 16.384 29.12 32.768 43.712 49.152-1.088-95.232-28.736-165.44-5.44-251.2-1.792-1.792-3.648-3.584-5.44-5.44-30.208 4.736-60.16 9.536-90.24 14.272 26.624-25.984 60.16-33.408 95.68-52.48h16.384v327.616z", + "M212.224 313.664c-3.648 7.232-7.232 14.528-10.88 21.824 10.88 5.504 21.76 10.944 32.704 16.448-4.544-26.688-6.016-25.152-21.824-38.272z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-glassfish" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 302, + "id": 293, + "prevSize": 16, + "code": 59652, + "name": "it-app-glassfish" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 4 + }, + { + "icon": { + "paths": [ + "M708.544 476.096h62.592v64.064h-62.592v-64.064z", + "M888 0h-752c-75.648 0-136 60.352-136 135.936v752.064c0 75.648 60.352 136 136 136h752c75.648 0 136-60.352 136-136v-752.064c0-75.584-60.352-135.936-136-135.936zM231.936 349.248h-52.992v315.456h-30.4v-315.456h-53.376v-26.944h136.704v26.944zM383.040 553.152l-9.792 10.304h-80.96v76.992h62.592v-39.040h28.224v38.528c0 16.512-8.128 24.768-24.512 24.768h-70.016c-16.32 0-24.512-8.256-24.512-24.768v-163.392c0-16.512 8.128-24.768 24.512-24.768h70.016c16.32 0 24.512 8.256 24.512 24.768v76.608zM461.568 664.704h-28.608v-342.4h28.672v342.4zM633.344 664.704h-29.12v-186.816l-64.128 1.728v185.088h-29.056v-212.864h29.12v5.952c11.328-1.472 22.784-3.072 34.368-4.608 13.952-1.728 25.472-2.624 34.496-2.624 16.256 0 24.384 7.936 24.384 23.808v190.336zM799.36 553.152l-9.856 10.304h-80.96v76.992h62.592v-39.040h28.224v38.528c0 16.512-8.192 24.768-24.512 24.768h-70.016c-16.384 0-24.512-8.256-24.512-24.768v-163.392c0-16.512 8.128-24.768 24.512-24.768h70.016c16.32 0 24.512 8.256 24.512 24.768v76.608zM924.032 477.44h-37.12v161.6h37.12v25.6h-41.344c-16.32 0-24.512-8.256-24.512-24.768v-162.432h-25.536v-25.6h25.536v-66.304h28.672v66.304h37.12v25.6z", + "M292.288 476.096h62.592v64.064h-62.592v-64.064z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-telnet" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 303, + "id": 292, + "prevSize": 16, + "code": 59653, + "name": "it-other-telnet" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 5 + }, + { + "icon": { + "paths": [ + "M264.576 342.848h-55.296v378.112h53.056c15.488 0 28.032-4.416 37.696-13.312 9.6-8.96 14.464-21.056 14.464-36.544v-278.912c0-14.656-4.608-26.56-13.888-35.712-9.344-9.024-21.312-13.632-36.032-13.632z", + "M888 0h-752c-75.648 0-136 60.352-136 136v752c0 75.648 60.352 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.648-60.352-136-136-136zM354.304 675.136c0 23.68-7.808 43.136-23.36 58.304s-35.2 22.784-58.88 22.784h-102.656v-448.64h102.592c23.936 0 43.584 7.616 59.072 22.784s23.232 34.624 23.232 58.304v286.464zM609.216 756.224h-27.584l-119.808-329.92v329.92h-37.568v-448.64h29.824l117.504 324.224v-324.16h37.568v448.576zM855.68 443.84h-39.872v-100.992h-96.896v94.656l124.416 149.632c8.192 9.92 12.288 21.12 12.288 33.536v103.744c0 9.344-2.944 17.024-8.768 22.912s-13.44 8.896-22.784 8.896h-112.96c-9.344 0-17.024-2.944-23.040-8.896s-9.024-13.568-9.024-22.912v-113.792h39.808v110.4h96.896v-106.944l-123.84-149.632c-8.576-10.304-12.864-21.696-12.864-34.112v-90.88c0-9.344 3.008-17.024 9.024-22.848 6.080-5.952 13.76-8.96 23.040-8.96h112.96c9.344 0 17.024 3.008 22.784 8.96 5.824 5.888 8.768 13.568 8.768 22.848v104.384z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-dns" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 304, + "id": 291, + "prevSize": 16, + "code": 59654, + "name": "it-other-dns" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 6 + }, + { + "icon": { + "paths": [ + "M888 0h-752c-75.648 0-136 60.352-136 136v752c0 75.648 60.352 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.648-60.352-136-136-136zM379.328 724.416c0 9.344-3.008 17.024-9.024 22.912-6.016 5.952-13.696 8.896-23.104 8.896h-122.048c-9.344 0-17.024-2.944-22.912-8.896-5.952-5.952-8.896-13.568-8.896-22.912v-416.768h39.872v413.376h106.368v-413.376h39.872v416.768zM600 756.224l-83.392-240.192 5.44-8.064h71.040v-165.12h-102.272v413.376h-39.808v-448.64h150.208c9.344 0 17.024 3.008 22.912 8.96 5.952 5.888 8.896 13.568 8.896 22.848v170.304c0 21.568-14.528 32.384-43.584 32.384-2.88 0-7.040-0.128-12.608-0.448-5.568-0.192-9.6-0.384-12.096-0.384 25.856 71.488 51.584 143.104 77.184 214.976h-41.92zM844.864 756.224h-143.296v-448.64h39.808v413.376h103.488v35.264z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-url" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 305, + "id": 290, + "prevSize": 16, + "code": 59655, + "name": "it-other-url" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 7 + }, + { + "icon": { + "paths": [ + "M4.032 488c0-7.232-2.816-30.4-4.032-43.968v129.984c1.856 20.864 4.032 44.224 4.032 54.016 0 17.472 5.248 33.728 14.016 49.984h237.952c-150.272-38.72-251.968-108.672-251.968-190.016z", + "M0 678.016h1.984c-0.896-9.472-1.28-17.984-1.984-25.984v25.984z", + "M513.984 444.032c282.752 0 512-99.328 512-222.016 0-1.344 0.128-2.624 0-4.032 0-0.704 0-1.344 0-1.984-7.488-119.808-233.984-216-512-216-282.752 0-512 99.328-512 222.016s229.248 222.016 512 222.016z", + "M516.032 494.016c-282.752 0-512-99.328-512-222.016 0-7.232-2.752-30.4-4.032-44.032v137.984c1.856 20.864 4.032 44.288 4.032 54.080 0 122.688 229.248 222.016 512 222.016s512-99.328 512-222.016v-148.032c-0 122.688-229.312 222.016-512 222.016z", + "M776 678.016h238.016c8.768-16.256 14.016-32.512 14.016-49.984v-140.032c0 81.344-101.76 151.296-252.032 190.016z", + "M140.736 932.096c-5.056 19.968-8.768 35.072-11.136 45.312-2.048-9.28-5.376-23.168-9.984-41.792l-49.472-200.128h-41.6v282.624h26.688v-240.64l60.48 240.64h24.96l60.736-236.544v236.544h26.688v-282.624h-37.376l-49.984 196.608z", + "M369.792 818.56c-8.96 18.56-16.576 35.2-22.848 49.92-6.592-15.936-13.632-31.872-21.248-47.808l-41.216-85.184h-33.6l80.512 162.88v119.744h27.648v-119.744l83.392-162.88h-32.128l-40.512 83.072z", + "M592.704 844.032c-9.472-6.784-24.128-13.632-43.904-20.032s-31.488-12.096-36.608-17.984c-4.032-4.608-5.824-9.472-5.824-16 0-7.104 1.536-13.76 5.824-17.984 6.656-6.656 16-9.984 27.84-9.984 11.392 0 19.072 3.776 24.896 9.984 5.632 6.208 9.92 15.872 11.712 30.016l40.96-2.048c-0.704-25.28-7.808-44.864-20.48-60.032-12.8-15.104-31.872-24-57.088-24-15.488 0-28.608 3.648-39.552 9.984-10.944 6.4-19.072 15.808-24.896 28.032-5.824 12.16-8.768 25.984-8.768 40 0 21.76 6.656 38.848 19.008 54.016 8.768 10.752 23.616 20.608 45.376 28.032 16.96 5.76 27.456 9.728 32.192 12.032 6.912 3.392 11.84 7.488 14.656 12.032 2.752 4.544 4.416 9.472 4.416 16 0 10.112-3.712 20.416-10.24 28.032-6.656 7.552-16.192 9.984-29.312 9.984-12.352 0-22.080-3.52-29.312-12.032-7.296-8.512-12.224-21.888-14.656-40l-39.424 5.952c2.688 30.72 11.264 53.952 24.896 70.016s33.152 24 58.56 24c17.472 0 32.128-3.328 43.904-9.984 11.712-6.656 19.968-18.24 26.304-32 6.464-13.76 10.24-28.224 10.24-44.032 0-17.344-3.456-32.192-8.768-44.032-5.376-11.84-12.544-21.184-21.952-27.968z", + "M917.632 724.032h-41.024v272h142.016v-46.016h-100.992z", + "M837.12 921.984c4.864-17.984 7.296-38.272 7.296-62.016 0-44.864-8.896-81.088-26.304-105.984-17.472-24.96-40.448-38.016-70.272-38.016-30.144 0-54.208 13.056-71.744 38.016s-26.304 61.12-26.304 105.984c0 44.992 8.768 79.104 26.304 104 17.472 24.896 40.832 38.016 71.744 38.016 16 0 30.72-4.096 43.904-12.032 16.768 15.36 26.56 23.104 27.84 24 5.888 4.352 11.456 7.488 17.536 9.984l14.656-40c-11.712-5.76-22.208-12.224-32.192-22.016 8.064-12.8 13.888-26.176 17.536-39.936zM799.040 900.032c-2.624 11.904-6.528 21.632-11.712 30.016-12.16-12.48-26.176-21.76-39.488-28.032l-10.24 32c8.512 4.096 16.64 10.624 24.896 17.984-5.248 2.624-10.24 4.032-16.128 4.032-15.68 0-29.248-8.064-39.488-24-10.304-15.936-16.128-39.872-16.128-72 0-31.616 5.824-56.256 16.128-72 10.24-15.744 22.912-24 39.488-24s30.72 8.32 41.024 24 14.656 40.256 14.656 72c-0.064 15.36-0.448 28.096-3.008 40z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-database-mysql" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 306, + "id": 289, + "prevSize": 16, + "code": 59656, + "name": "it-database-mysql" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 8 + }, + { + "icon": { + "paths": [ + "M154.24 298.752h98.048v199.808h-98.048v-199.808z", + "M888 0h-752c-75.648 0-136 60.416-136 136v752c0 75.648 60.352 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.584-60.352-136-136-136zM292.096 502.016c0 9.344-3.008 17.088-9.024 23.040-6.016 6.080-13.696 9.088-23.040 9.088h-105.792v177.984h-39.808v-448.64h145.6c9.344 0 17.088 3.008 23.104 8.96 6.016 5.888 9.024 13.568 9.024 22.848v206.72zM397.312 712.128h-39.872v-448.64h39.872v448.64zM657.088 712.128h-27.584l-119.808-329.92v329.92h-37.568v-448.64h29.824l117.568 324.288v-324.288h37.568v448.64zM910.144 399.68h-40.128v-100.928h-101.44v378.112h101.44v-155.072h-47.872v-34.432h88v192.96c0 9.344-2.944 17.024-8.896 22.912s-13.568 8.896-22.912 8.896h-117.824c-9.344 0-17.024-2.944-22.912-8.896s-8.896-13.568-8.896-22.912v-385.024c0-9.344 3.008-17.024 8.896-22.848 5.952-5.952 13.632-8.96 22.912-8.96h117.824c9.344 0 17.024 3.008 22.912 8.96 5.952 5.888 8.896 13.568 8.896 22.848v104.384z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-ping" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 307, + "id": 288, + "prevSize": 16, + "code": 59657, + "name": "it-other-ping" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 9 + }, + { + "icon": { + "paths": [ + "M888 0h-752c-75.584 0-136 60.352-136 136v752c0 75.648 60.416 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.648-60.352-136-136-136zM352 269.12h-119.168v193.92h109.696v40.832h-109.696v236.032h-45.376v-510.976h164.544v40.192zM590.656 269.12h-78.976v470.784h-45.376v-470.784h-79.68v-40.192h204.096v40.192zM846.4 500.608c0 10.624-3.456 19.392-10.304 26.24s-15.616 10.304-26.304 10.304h-120.448v202.752h-45.44v-510.976h165.888c10.688 0 19.456 3.392 26.304 10.112s10.304 15.488 10.304 26.112v235.456z", + "M689.344 269.12h111.616v227.584h-111.616v-227.584z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-ftp" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 308, + "id": 287, + "prevSize": 16, + "code": 59658, + "name": "it-other-ftp" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 10 + }, + { + "icon": { + "paths": [ + "M888 0h-752c-75.584 0-136 60.416-136 136v752c0 75.648 60.416 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.584-60.352-136-136-136zM243.456 695.040l-79.744-229.632 5.248-7.68h67.968v-157.76h-97.856v395.136h-38.080v-428.8h143.616c8.96 0 16.256 2.816 21.888 8.448 5.632 5.696 8.512 12.992 8.512 21.952v162.752c0 20.672-13.888 30.976-41.664 30.976-2.752 0-6.72-0.128-12.032-0.384s-9.152-0.384-11.52-0.384c24.64 68.288 49.216 136.832 73.728 205.504h-40.064zM481.28 695.040h-140.864v-428.8h139.2v33.664h-101.12v160h92.032v34.24h-91.968v167.168h102.72v33.728zM707.904 396.416h-38.080v-96.448h-92.608v90.432l118.912 143.040c7.808 9.472 11.776 20.16 11.776 32v99.2c0 9.024-2.752 16.32-8.32 21.952-5.632 5.696-12.864 8.512-21.824 8.512h-107.968c-8.96 0-16.32-2.816-22.080-8.512-5.76-5.632-8.64-12.928-8.64-21.952v-108.736h38.080v105.472h92.608v-102.272l-118.4-142.976c-8.192-9.856-12.352-20.736-12.352-32.64v-86.848c0-8.96 2.88-16.256 8.64-21.952 5.824-5.632 13.248-8.448 22.144-8.448h107.968c8.96 0 16.192 2.816 21.824 8.448 5.568 5.696 8.32 12.992 8.32 21.952v99.776zM923.008 299.968h-66.304v395.136h-38.080v-395.136h-66.88v-33.728h171.264v33.728z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-rest" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 309, + "id": 286, + "prevSize": 16, + "code": 59659, + "name": "it-other-rest" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 11 + }, + { + "icon": { + "paths": [ + "M594.752 566.016h75.392l-37.568-232.384z", + "M343.488 299.968h104.96v361.408h-104.96v-361.408z", + "M817.472 299.968h93.76v190.976h-93.76v-190.976z", + "M888 0h-752c-75.584 0-136 60.416-136 136v752c0 75.648 60.416 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.584-60.352-136-136-136zM238.016 396.416h-38.080v-96.448h-92.672v90.432l118.912 143.040c7.872 9.472 11.776 20.16 11.776 32v99.2c0 9.024-2.752 16.32-8.384 21.952-5.568 5.696-12.8 8.512-21.76 8.512h-107.904c-8.96 0-16.256-2.816-22.016-8.512-5.76-5.632-8.64-12.928-8.64-21.952v-108.736h38.080v105.472h92.608v-102.272l-118.4-142.976c-8.192-9.856-12.352-20.736-12.352-32.64v-86.848c0-8.96 2.88-16.256 8.64-21.952 5.76-5.632 13.12-8.448 22.080-8.448h107.968c8.96 0 16.192 2.816 21.76 8.448 5.568 5.696 8.384 12.992 8.384 21.952v99.776zM486.528 664.64c0 9.024-2.88 16.32-8.64 21.952-5.76 5.696-13.12 8.512-22.080 8.512h-120c-8.96 0-16.256-2.816-21.888-8.512-5.632-5.632-8.512-12.928-8.512-21.952v-368c0-8.96 2.816-16.256 8.512-21.952 5.632-5.632 12.928-8.448 21.888-8.448h120c8.96 0 16.32 2.816 22.080 8.448 5.76 5.696 8.64 12.992 8.64 21.952v368zM690.112 695.040l-15.040-95.36h-85.248l-15.104 95.36h-36.672v-1.152l76.48-428.8h37.568l75.904 429.952h-37.888zM949.312 494.208c0 8.96-2.88 16.32-8.64 22.080s-13.12 8.64-22.080 8.64h-101.12v170.176h-38.080v-428.8h139.2c8.96 0 16.32 2.816 22.080 8.448 5.76 5.696 8.64 12.992 8.64 21.952v197.504z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-soap" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 310, + "id": 285, + "prevSize": 16, + "code": 59660, + "name": "it-other-soap" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 12 + }, + { + "icon": { + "paths": [ + "M766.336 563.584c-6.912-61.952 29.12-128.832 94.144-209.92-23.168-15.424-37.44-36.096-78.592-46.912-170.496-21.632-250.176 23.744-250.176 23.744s-112.192-49.792-191.68-42.624c-130.432 11.648-176.448 134.72-179.712 201.152-2.368 47.936-6.528 116.544 1.408 168 29.888 192.832 130.688 269.952 213.632 297.536 64.768 21.568 88.256-30.784 135.744-30.784 15.232 0 63.872-1.728 73.856 3.712 146.176 79.68 238.656 7.040 303.040-193.024-45.056-16.704-111.36-90.24-121.664-170.88z", + "M696.768 64c-60.8 0-170.88 102.848-162.176 188.288 0.448 4.096 11.968 8.064 16 7.232 56.448-11.648 121.536-70.912 141.888-127.424 5.952-16.768 22.144-68.096 4.288-68.096z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-macos" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 311, + "id": 284, + "prevSize": 16, + "code": 59661, + "name": "it-server-macos" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 13 + }, + { + "icon": { + "paths": [ + "M619.904 452.8c9.984-7.552 16.896-18.24 20.544-31.936l-23.488-2.88c-3.456 9.6-8.128 16.576-14.016 20.928s-12.992 6.592-21.376 6.592c-11.2 0-20.48-3.904-28.032-11.776-7.488-7.808-11.648-19.072-12.48-33.792h100.032c0.064-2.688 0.128-4.672 0.128-6.016 0-22.144-5.696-39.296-17.088-51.52-11.392-12.16-25.984-18.304-43.968-18.304-18.496 0-33.536 6.272-45.184 18.688-11.584 12.416-17.408 29.888-17.408 52.48 0 21.824 5.76 38.72 17.28 50.816s27.072 18.112 46.656 18.112c15.552-0 28.288-3.776 38.4-11.392zM554.112 353.216c7.168-6.976 15.872-10.496 26.304-10.496 11.584 0 20.928 4.352 28.16 13.12 4.672 5.632 7.552 14.144 8.576 25.408h-74.88c0.768-11.712 4.736-21.056 11.84-28.032z", + "M513.472 673.92c-7.424-3.328-21.056-7.232-40.96-11.776s-32.192-8.96-36.928-13.248c-4.864-4.224-7.232-9.728-7.232-16.32 0-7.68 3.392-14.208 10.176-19.648s17.536-8.192 32.384-8.192c14.208 0 24.96 3.008 32.256 9.024 7.296 5.952 11.584 14.784 12.8 26.496l23.488-1.728c-0.448-10.88-3.456-20.544-9.088-29.184-5.632-8.576-13.696-15.104-24.192-19.52-10.432-4.48-22.528-6.656-36.288-6.656-12.48 0-23.808 2.112-33.984 6.336s-17.92 10.368-23.232 18.496c-5.248 8.128-7.936 16.896-7.936 26.176 0 8.512 2.176 16.192 6.528 23.040s10.944 12.544 19.776 17.28c6.848 3.584 18.752 7.424 35.776 11.52s27.968 7.104 32.96 9.088c7.744 2.944 13.312 6.592 16.704 10.944 3.328 4.288 5.056 9.344 5.056 15.168 0 5.76-1.728 11.008-5.248 15.872-3.456 4.8-8.832 8.64-16 11.392-7.168 2.816-15.424 4.16-24.704 4.16-10.56 0-20.032-1.792-28.416-5.504-8.384-3.648-14.656-8.448-18.624-14.4-4.032-5.952-6.592-13.568-7.68-22.784l-23.104 2.048c0.32 12.288 3.712 23.424 10.176 33.28s15.296 17.152 26.624 22.016c11.328 4.864 25.344 7.36 42.112 7.36 13.248 0 25.088-2.432 35.648-7.296 10.56-4.8 18.688-11.648 24.32-20.288s8.512-17.984 8.512-27.84c0-9.92-2.624-18.752-7.744-26.368-5.248-7.616-13.184-13.952-23.936-18.944z", + "M404.032 447.296c3.904 4.864 8.832 8.896 14.784 12.096 6.016 3.2 12.8 4.8 20.416 4.8 10.368 0 20.224-2.944 29.568-8.768 9.408-5.824 16.576-14.272 21.44-25.28 5.056-10.944 7.488-23.36 7.488-37.056 0-12.8-2.24-24.576-6.72-35.264-4.416-10.752-11.008-19.072-19.776-24.96s-18.88-8.832-30.336-8.832c-8.768 0-16.192 1.728-22.336 5.12s-11.648 8.512-16.512 15.36v-17.472h-20.736v185.472h22.72v-65.216zM413.12 355.392c7.424-9.024 16-13.568 25.664-13.568 9.728 0 18.176 4.224 25.216 12.736s10.56 21.312 10.56 38.4c0 17.92-3.584 31.168-10.752 39.744-7.232 8.512-15.872 12.8-25.984 12.8-9.92 0-18.368-4.096-25.344-12.352-7.104-8.256-10.56-21.056-10.56-38.272s3.712-30.4 11.2-39.488z", + "M337.408 672.96c8.704-4.224 15.168-9.92 19.456-16.896s6.464-14.464 6.464-22.4c0-8.512-2.432-16.64-7.296-24.448-4.8-7.744-11.52-13.504-20.032-17.28s-19.904-5.632-34.048-5.632h-69.44v185.152h70.592c11.776 0 21.696-1.024 29.824-3.072s14.848-5.12 20.288-9.216c5.376-4.032 9.92-9.792 13.568-17.28s5.504-15.488 5.504-24.192c0-10.752-3.008-20.032-9.024-28.032-6.016-7.872-14.592-13.44-25.856-16.704zM257.024 608.192h36.992c13.312 0 22.656 0.896 28.16 2.56 5.504 1.728 9.664 4.928 12.608 9.6 2.944 4.736 4.416 10.112 4.416 16.256 0 6.464-1.536 11.84-4.736 16.128s-7.872 7.36-14.080 9.28c-4.736 1.344-12.48 2.112-23.36 2.112h-40v-55.936zM343.232 733.376c-2.432 4.48-5.504 7.936-9.344 10.304-3.776 2.304-8.512 4.032-14.144 4.992-3.2 0.64-8.768 0.96-16.64 0.96h-46.080v-63.68h42.752c11.84 0 20.8 1.088 27.072 3.136s11.2 5.632 14.72 10.752c3.52 5.056 5.312 11.072 5.312 17.92 0.064 5.952-1.216 11.136-3.648 15.616z", + "M309.12 452.864c13.888-7.616 24.576-18.816 32.192-33.6 7.552-14.848 11.328-31.616 11.328-50.368 0-18.56-3.584-35.072-10.752-49.664-7.168-14.656-17.664-25.984-31.36-34.176s-29.184-12.288-46.272-12.288c-26.112 0-47.36 8.704-63.872 26.048s-24.704 41.472-24.704 72.192c0 16.256 3.52 31.68 10.624 46.208 7.104 14.592 17.472 26.048 31.168 34.496s29.312 12.608 46.72 12.608c16.064 0 31.040-3.84 44.928-11.456zM218.88 424.064c-11.968-12.8-17.984-30.4-17.984-52.672 0-27.84 6.272-47.744 18.752-59.648s27.392-17.856 44.736-17.856c12.224 0 23.232 3.072 33.024 9.28s17.28 14.848 22.336 26.112 7.616 24.384 7.616 39.488c0 23.808-5.952 42.176-17.856 55.168s-27.008 19.392-45.504 19.392c-18.048 0-33.088-6.4-45.12-19.264z", + "M702.4 602.24c-7.488-6.4-16.576-10.816-27.2-13.248-7.552-1.728-18.56-2.688-32.96-2.688h-63.744v185.152h66.816c11.2 0 21.056-1.088 29.696-3.2 8.64-2.048 16-5.184 22.144-9.28 6.080-4.032 11.712-9.664 16.896-16.832 5.12-7.040 9.344-16.064 12.608-26.944s4.864-23.296 4.864-37.376c0-16.512-2.368-31.168-7.232-44.032-4.864-12.736-12.16-23.296-21.888-31.552zM701.44 713.216c-3.264 9.792-7.808 17.6-13.632 23.36-4.096 4.096-9.6 7.36-16.576 9.6s-16.576 3.456-28.736 3.456h-39.488v-141.44h38.848c14.592 0 25.152 1.28 31.68 3.84 9.152 3.52 16.832 10.496 23.168 20.864s9.472 25.28 9.472 44.608c0.064 14.016-1.536 25.856-4.736 35.712z", + "M0 0v1024h1024v-533.12c-85.888 14.656-144.192 122.368-127.936 210.816-55.872-12.48-65.856-52.608-94.016-59.136 5.76 22.656 11.392 45.12 17.216 67.648-34.112-3.264-27.008-9.152-51.2 8.512 11.392 25.28 22.656 50.496 33.984 75.776-2.816 0-5.632 0-8.512 0-23.808-22.016-29.056-31.488-68.096-42.112-2.816 5.632-5.824 11.136-8.64 16.896 5.824 17.024 11.456 33.728 17.216 50.752-37.12-25.152-27.52-31.744-68.416-17.024-2.816 22.528-5.696 44.992-8.512 67.648-21.184-24.128-14.464-29.248-51.2-42.368-2.816 17.024-5.76 33.856-8.512 50.624-8.576-11.264-17.152-22.528-25.536-33.6-8.576 5.76-17.152 11.136-25.6 16.896-2.88 22.4-5.696 44.992-8.64 67.52-11.392-22.528-22.72-45.12-33.984-67.52-5.696 2.752-11.52 5.504-17.152 8.512-8.576 32.64-3.328 25.28-25.6 42.112-2.88-14.144-5.696-28.224-8.576-42.112-5.632 2.624-11.328 5.504-17.024 8.256-10.88 37.504-16.96 43.264-34.112 50.752-5.76-19.84-11.456-39.616-17.152-59.072-17.6 17.152-19.264 28.352-42.624 42.112 0-17.024 0-33.856 0-50.624-22.72 14.016-45.568 28.032-68.288 42.24 6.4-46.848 11.968-56.64-17.088-84.352-17.088 11.136-34.112 22.528-51.264 33.6 5.824-22.528 11.456-44.864 17.152-67.392-25.536 5.632-51.2 11.264-76.8 16.768 11.392-16.768 22.72-33.728 34.176-50.624-18.496-23.36-16.256-18.752-34.176-42.112-11.392 5.632-22.656 11.264-34.112 16.896 23.424-48.64 10.816-38.4-25.536-84.48-40.704 12.544-61.504 8.832-85.44-16.832 82.432-69.184 97.92-184 153.6-261.504-8.512-11.264-17.024-22.464-25.6-33.664 11.392 0 22.72 0 34.112 0-14.144-25.408-28.416-50.688-42.624-76.032 28.416 8.448 56.96 17.024 85.248 25.408-11.968-28.096 20.352-29.504 17.152-75.968 14.208 5.568 28.416 11.2 42.688 16.832-5.696-25.344-11.392-50.624-17.088-75.84 30.592 19.776 28.928 36.352 68.224 50.496 0-11.2 0-22.464 0-33.664 11.392 8.384 22.848 16.768 34.176 25.216 1.728-36.352 2.24-40.64 17.152-59.008 5.568 14.144 11.264 28.16 16.96 42.176 25.28-34.048 19.904 0.512 34.176-25.216 5.696-16.96 11.392-33.792 17.088-50.688 11.392 22.464 22.656 45.056 34.112 67.456 5.76-11.2 11.392-22.592 17.088-33.792 0 14.144 0 28.224 0 42.176 5.632-2.752 11.456-5.632 17.152-8.384 8.512-32.768 3.264-25.344 25.6-42.176 0 16.832 0 33.792 0 50.624 23.936-14.848 14.464-12.352 34.048-16.832 0 8.384 0 16.832 0 25.28 22.656-22.4 45.504-45.056 68.224-67.456-5.568 30.976-11.328 61.824-17.024 92.8 8.512-5.76 17.088-11.392 25.6-17.024 14.080-30.4 2.304-19.776 33.984-33.664-5.632 25.28-11.328 50.688-17.024 75.968 11.392-8.448 22.72-16.896 34.24-25.28-2.88 14.016-5.824 28.032-8.704 42.112 22.848-11.2 45.632-22.464 68.288-33.664-11.392 22.464-22.656 44.928-34.112 67.52 2.816 2.816 5.824 5.568 8.64 8.384 25.472-11.2 51.136-22.656 76.608-33.792 0 2.816 0 5.632 0 8.448-29.376 43.712-33.28 39.808-16.96 76.032 22.656-8.448 45.504-17.024 68.288-25.344 0 2.752 0 5.632 0 8.32-17.152 14.208-34.176 28.16-51.392 42.24 26.368 32.256 12.736-0.576 8.576 50.624 20.032-2.752 40-5.632 59.904-8.384-17.088 19.648-34.176 39.296-51.264 59.072 14.272-2.816 28.608-5.568 42.752-8.448-11.648 16-21.44 19.968-34.176 33.728 5.696 8.32 11.392 16.832 17.024 25.216 45.568-26.688 58.688-51.904 128-58.944 17.216 11.2 34.176 22.528 51.2 33.728v-490.944h-1023.936z", + "M769.6 339.84c-3.392-4.736-8.512-8.512-15.232-11.392s-14.208-4.352-22.272-4.352c-18.624 0-32.896 7.36-42.688 22.080v-19.136h-20.48v134.080h22.72v-73.152c0-17.216 3.52-28.864 10.56-35.008 6.976-6.144 15.36-9.216 25.088-9.216 6.080 0 11.328 1.344 15.808 4.096 4.48 2.688 7.68 6.4 9.408 10.944 1.728 4.608 2.624 11.52 2.624 20.8v81.536h22.72v-82.432c0-10.56-0.448-17.92-1.28-22.080-1.28-6.464-3.648-12.096-6.976-16.768z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-openbsd" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 312, + "id": 283, + "prevSize": 16, + "code": 59662, + "name": "it-server-openbsd" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 14 + }, + { + "icon": { + "paths": [ + "M797.952 299.072c5.824 5.824 11.648 11.584 17.408 17.408-12.032-16.64-0.896-5.12-17.408-17.408zM0 0v1024h1024v-1024h-1024zM214.656 273.024h17.344v8.704c-5.76 5.824-11.584 11.584-17.344 17.408h-8.768c2.88-8.768 5.824-17.472 8.768-26.112zM197.184 334.016c2.88 8.64 5.824 17.344 8.704 26.048h-8.704v-26.048zM571.648 647.36c-45.888-16.896-81.216-29.568-104.576-69.632 11.584 5.76 23.232 11.648 34.816 17.344-11.584-11.584-23.232-23.104-34.816-34.752-11.648 12.416-10.816 15.296-26.112 26.112-2.88-14.464-5.824-28.928-8.704-43.456 11.648-3.392 11.968-104.576 26.112-165.504 42.688-32.768 54.72-56.64 130.688-60.992 27.904 14.208 36.416 16.064 52.16 43.584-77.888-30.784-114.752 3.328-165.376 43.52-4.416 44.224-9.408 68.608 8.64 104.448 16.704 43.328 35.52 61.184 78.4 78.4 75.776 21.568 126.912-20.096 174.208-52.288 80.576-361.28-300.864-476.672-452.8-208.96-130.688 230.336 75.456 527.296 252.48 574.72v8.704h-52.288c-398.4-154.56-361.024-598.784-34.816-801.088 494.912-22.080 487.040 512.768 121.984 539.84zM615.104 534.144v8.832h-8.704c-8.704-2.944-17.408-5.888-26.176-8.832v-17.344c11.648 5.76 23.232 11.52 34.88 17.344zM667.264 447.168v-26.176c17.92 15.744 6.272 0.128 17.472 26.176h-17.472z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-debian" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 313, + "id": 282, + "prevSize": 16, + "code": 59663, + "name": "it-server-debian" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 15 + }, + { + "icon": { + "paths": [ + "M896 1024c70.848 0 128-57.152 128-128v-252.032l-379.968 380.032h251.968z", + "M896 0h-768c-70.912 0-128 57.088-128 128v768c0 70.848 57.088 128 128 128h417.984l478.016-480v-416c0-70.912-57.152-128-128-128zM340.032 570.624c0 2.304-1.728 3.52-5.248 3.52-6.976 0-30.272-1.728-80.896-1.728-55.296 0-80.32 1.728-86.72 1.728-2.88 0-4.672-1.216-4.672-3.52v-15.68c0-2.368 1.728-3.52 4.672-3.52h32.576c11.648 0 23.872-1.728 26.176-16.896 1.152-8.704 2.88-134.464 2.88-165.248v-40.768c0-13.952-1.728-118.72-2.304-127.488-1.152-13.952-6.976-19.776-29.12-19.776h-33.728c-2.88 0-4.608-1.152-4.608-3.52v-15.68c0-2.304 1.728-3.456 4.032-3.456 6.976 0 36.672 1.728 90.752 1.728 51.84 0 70.464-1.728 78.592-1.728 2.88 0 4.032 1.728 4.032 4.032v14.592c0 2.88-1.728 4.032-4.672 4.032h-27.264c-11.648 0-20.352 4.672-20.352 16.32 0 5.824-1.728 134.464-1.728 141.376v44.864c0 5.824 1.728 140.224 1.728 146.688 0 18.048 8.704 20.992 27.328 20.992h23.872c2.88 0 4.672 1.152 4.672 4.032v15.104zM561.728 570.624c0 2.304-1.728 3.52-5.248 3.52-6.976 0-30.272-1.728-80.896-1.728-55.296 0-80.32 1.728-86.72 1.728-2.88 0-4.672-1.216-4.672-3.52v-15.68c0-2.368 1.728-3.52 4.672-3.52h32.576c11.648 0 23.872-1.728 26.176-16.896 1.216-8.704 2.944-134.464 2.944-165.248v-40.768c0-13.952-1.728-118.72-2.304-127.488-1.152-13.952-6.976-19.776-29.12-19.776h-33.792c-2.88 0-4.608-1.152-4.608-3.52v-15.68c0-2.304 1.728-3.456 4.032-3.456 6.976 0 36.672 1.728 90.752 1.728 51.84 0 70.4-1.728 78.592-1.728 2.88 0 4.032 1.728 4.032 4.032v14.592c0 2.88-1.728 4.032-4.608 4.032h-27.264c-11.648 0-20.352 4.672-20.352 16.32 0 5.824-1.728 134.464-1.728 141.376v44.864c0 5.824 1.728 140.224 1.728 146.688 0 18.048 8.704 20.992 27.328 20.992h23.872c2.944 0 4.672 1.152 4.672 4.032v15.104zM755.008 581.12c-40.768 0-69.248-12.224-92.48-30.336-6.976-5.184-10.496-6.976-13.44-6.976-3.456 0-5.824 4.096-9.344 9.92-3.52 6.4-6.4 6.976-10.432 6.976-3.52 0-6.464-2.944-5.248-9.344 2.304-14.464 8.128-88.448 9.856-105.28 0.64-3.456 1.728-3.456 4.032-3.456l8.768 0.576c2.304 0 3.52 1.152 3.52 4.672 0.576 18.624 1.728 37.824 20.928 67.52 17.472 27.328 49.472 43.008 81.472 43.008 34.944 0 79.168-21.504 79.168-73.856 0-59.968-43.136-82.048-89.664-98.368-17.984-6.4-59.968-20.928-84.928-47.168-19.264-19.2-29.12-46.592-29.12-84.992 0-29.12 18.048-57.6 36.096-74.496 20.928-19.776 49.984-27.968 81.408-27.968 33.216 0 58.816 9.92 68.672 14.592 5.248 2.88 8.128 2.304 11.072-0.576l7.552-6.976c2.944-2.368 4.672-3.52 7.552-3.52 2.944 0 4.672 4.672 4.672 9.856 0 20.352 7.552 79.744 8.128 92.544 0 2.88-0.576 4.032-2.88 4.672l-6.848 1.792c-1.728 0.576-2.944 0-3.52-1.728-4.672-16.896-12.224-39.616-36.096-64.576-15.68-16.896-36.032-25.024-63.424-25.024-51.776 0-70.4 38.4-70.4 68.096 0 16.256 3.456 35.52 17.984 50.624 16.896 16.896 49.472 29.696 66.368 34.944 40.192 12.8 72.768 22.656 93.696 48.32 15.104 18.048 25.6 40.704 25.6 79.104-0 68.608-41.856 127.424-118.72 127.424z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-iis" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 314, + "id": 281, + "prevSize": 16, + "code": 59664, + "name": "it-app-iis" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 16 + }, + { + "icon": { + "paths": [ + "M896 1024c70.848 0 128-57.152 128-128v-252.032l-379.968 380.032h251.968z", + "M728.832 195.008h-418.624l201.792 140.992z", + "M832 170.688l-315.968 221.312-316.032-220.416v348.416h632z", + "M896 0h-768c-70.912 0-128 57.088-128 128v768c0 70.848 57.088 128 128 128h417.984l478.016-480v-416c0-70.912-57.152-128-128-128zM896 584h-760v-480h760v480z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-mailserver" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 315, + "id": 280, + "prevSize": 16, + "code": 59665, + "name": "it-app-mailserver" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 17 + }, + { + "icon": { + "paths": [ + "M896 1024c70.848 0 128-57.152 128-128v-252.032l-379.968 380.032h251.968z", + "M599.744 280.64c-9.664 0-17.664 4.352-24.064 13.184-6.464 8.768-9.6 22.016-9.6 39.872 0 18.432 2.496 32 7.424 40.832 6.976 12.416 16.256 18.688 27.84 18.688 8.896 0 16.448-4.416 22.656-13.312 6.272-8.896 9.344-22.848 9.344-41.92 0-20.288-3.136-34.944-9.408-43.904s-14.4-13.44-24.192-13.44z", + "M425.088 280.64c-8.832 0-16.064 3.776-21.76 11.2-5.76 7.488-8.576 17.6-8.448 30.464h60.16c-0.32-13.632-3.328-23.936-9.024-31.040-5.76-7.104-12.736-10.624-20.928-10.624z", + "M896 0h-768c-70.912 0-128 57.088-128 128v768c0 70.848 57.088 128 128 128h417.984l478.016-480v-416c0-70.912-57.152-128-128-128zM297.536 426.304h-44.928l-41.856-183.296-41.664 183.296h-46.016l-50.112-245.184h43.392l31.68 168.384 38.4-168.384h50.432l36.8 171.264 32.192-171.264h42.688l-51.008 245.184zM403.904 383.616c6.208 7.744 13.952 11.648 23.232 11.648 6.272 0 11.584-2.048 15.936-6.016 4.224-4.096 7.488-10.56 9.664-19.456l40.128 7.872c-5.184 17.152-13.312 30.208-24.448 39.232-11.136 8.96-25.024 13.44-41.728 13.44-26.496 0-46.016-10.048-58.752-30.272-10.048-16.192-15.040-36.608-15.040-61.248 0-29.44 6.592-52.48 19.776-69.184s29.824-25.024 49.984-25.024c22.656 0 40.448 8.704 53.568 26.176s19.328 44.16 18.752 80.192h-100.864c0.32 14.016 3.52 24.896 9.792 32.64zM656.128 405.76c-12.352 16.384-27.456 24.576-45.056 24.576-8.704 0-17.28-2.56-25.728-7.616s-15.808-12.544-21.824-22.528v26.112h-37.44v-245.184h40.32v88.32c12.352-16.512 27.136-24.768 44.096-24.768 18.496 0 33.792 7.808 45.952 23.488 12.096 15.68 18.176 38.144 18.176 67.456 0 30.4-6.208 53.76-18.496 70.144zM856.704 393.92c-6.4 11.584-15.552 20.544-27.584 26.944s-25.472 9.6-40.448 9.6c-19.072 0-34.944-3.264-47.808-9.728-12.8-6.464-22.912-16.192-30.272-29.184-7.232-12.992-11.136-27.648-11.52-44.032l26.176-2.688c1.28 12.224 4.096 22.336 8.704 30.208 4.544 7.872 11.584 14.208 21.12 19.072s20.288 7.296 32.256 7.296c10.56 0 19.968-1.856 28.032-5.504s14.208-8.704 18.112-15.104c4.032-6.464 5.952-13.376 5.952-20.992 0-7.68-1.856-14.4-5.696-20.16-3.904-5.76-10.112-10.56-18.944-14.464-5.632-2.56-18.112-6.592-37.376-11.968-19.328-5.376-32.832-10.496-40.576-15.296-9.984-6.144-17.472-13.76-22.464-22.848-4.864-9.088-7.36-19.264-7.36-30.528 0-12.352 3.008-23.936 9.088-34.688 6.016-10.752 14.784-18.944 26.304-24.512 11.584-5.568 24.448-8.384 38.592-8.384 15.552 0 29.312 2.944 41.216 8.768s21.056 14.464 27.456 25.856 9.792 24.256 10.304 38.656l-26.624 2.368c-1.408-15.488-6.336-27.2-14.592-35.136s-20.416-11.904-36.608-11.904c-16.832 0-29.056 3.584-36.736 10.816-7.68 7.168-11.52 15.872-11.52 25.984 0 8.832 2.688 16.064 8.192 21.76 5.312 5.696 19.328 11.52 41.856 17.472s38.080 11.2 46.528 15.616c12.16 6.592 21.248 14.912 27.072 25.024s8.768 21.696 8.768 34.88c0 12.992-3.2 25.28-9.6 36.8zM937.6 426.304h-29.376v-34.304h29.376v34.304zM1019.2 426.304h-29.376v-34.304h29.376v34.304z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-websphere" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 316, + "id": 279, + "prevSize": 16, + "code": 59666, + "name": "it-app-websphere" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 18 + }, + { + "icon": { + "paths": [ + "M896 1024c70.848 0 128-57.152 128-128v-252.032l-379.968 380.032h251.968z", + "M450.688 255.616c-14.656 0-27.648 6.848-38.848 20.544s-16.896 33.536-16.896 59.648c0 26.112 5.312 45.376 15.872 57.856s23.36 18.688 38.4 18.688c15.296 0 28.352-6.464 39.232-19.392 10.944-12.928 16.384-32.96 16.384-60.032 0-25.856-5.312-45.184-16-58.048s-23.36-19.264-38.144-19.264z", + "M203.2 185.472c-3.584 17.92-8.576 35.776-15.040 53.44l-30.72 82.112h94.912l-29.312-77.44c-8.896-23.552-15.488-42.944-19.84-58.112z", + "M624.64 354.112c-5.888 2.56-10.368 6.272-13.568 11.2s-4.736 10.368-4.736 16.32c0 9.216 3.456 16.832 10.368 22.912s17.152 9.152 30.528 9.152c13.248 0 25.024-2.88 35.328-8.704s17.856-13.696 22.72-23.808c3.712-7.744 5.504-19.2 5.504-34.368v-12.544c-12.416 5.12-31.168 9.408-56.128 12.992-14.144 2.048-24.128 4.352-30.016 6.848z", + "M896 0h-768c-70.912 0-128 57.088-128 128v768c0 70.848 57.088 128 128 128h417.984l478.016-480v-416c0-70.912-57.152-128-128-128zM296.384 436.032l-32.64-84.8h-117.056l-30.72 84.8h-39.36l107.52-280h39.872l114.56 280h-42.176zM528.704 389.184c-7.424 16.576-18.24 29.376-32.448 38.208-14.272 8.832-29.12 13.312-44.8 13.312-11.456 0-21.76-2.432-30.784-7.296-9.152-4.864-16.64-10.944-22.464-18.368v98.688h-34.368v-280.448h31.296v26.368c7.424-10.368 15.68-18.112 25.024-23.232s20.544-7.744 33.792-7.744c17.344 0 32.576 4.48 45.824 13.376s23.232 21.44 30.016 37.696c6.72 16.192 10.112 34.048 10.112 53.376 0 20.736-3.776 39.424-11.2 56.064zM720.512 436.032c-3.584-7.104-5.888-15.488-6.848-25.024-12.736 10.816-25.024 18.496-36.736 22.912-11.84 4.416-24.448 6.656-37.952 6.656-22.272 0-39.36-5.44-51.392-16.32-11.968-10.816-17.984-24.704-17.984-41.664 0-9.92 2.24-19.008 6.784-27.2 4.48-8.192 10.432-14.784 17.728-19.776 7.36-4.928 15.616-8.768 24.768-11.264 6.72-1.792 16.96-3.52 30.592-5.184 27.776-3.328 48.192-7.232 61.312-11.84 0.128-4.736 0.192-7.68 0.192-8.96 0-14.016-3.264-23.872-9.728-29.632-8.768-7.744-21.824-11.648-39.104-11.648-16.192 0-28.096 2.816-35.84 8.512-7.68 5.632-13.376 15.68-17.088 30.080l-33.664-4.544c3.072-14.4 8.064-26.048 15.040-34.88s17.152-15.68 30.4-20.416c13.248-4.736 28.544-7.168 46.080-7.168 17.344 0 31.36 2.048 42.176 6.144 10.816 4.032 18.752 9.216 23.872 15.36 5.056 6.144 8.64 13.952 10.688 23.36 1.152 5.888 1.664 16.448 1.664 31.744v45.824c0 32 0.768 52.16 2.24 60.672 1.408 8.448 4.288 16.576 8.704 24.32h-35.904zM847.744 436.032h-39.168v-39.104h39.168v39.104zM956.352 436.032h-39.168v-39.104h39.168v39.104z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-apache" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 317, + "id": 278, + "prevSize": 16, + "code": 59667, + "name": "it-app-apache" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 19 + }, + { + "icon": { + "paths": [ + "M900.032-3.968h-768c-70.912 0-128 57.088-128 128v768c0 70.848 57.088 128 128 128h417.984l478.016-480v-416c-0-70.912-57.152-128-128-128zM361.152 403.136c0 40.256-4.864 71.424-14.592 93.504s-25.152 38.976-46.272 50.56c-21.12 11.52-45.888 17.344-74.304 17.344-42.24 0-74.56-12.096-96.96-36.352-22.464-24.32-33.216-60.416-32.32-108.288l57.408-7.872c1.536 36.736 8.448 61.888 20.672 75.456s29.248 20.352 50.88 20.352c16 0 29.76-3.712 41.344-11.008s19.584-17.28 23.936-29.824c4.352-12.608 6.528-32.704 6.528-60.288v-331.328h63.68v327.744zM811.52 479.744c-9.472 19.392-21.248 34.304-35.264 44.8s-31.552 18.432-52.672 23.744c-21.12 5.376-46.912 8.064-77.568 8.064h-183.424v-480.96h180.416c36.736 0 66.24 4.864 88.448 14.592s39.616 24.704 52.16 44.928c12.544 20.224 18.88 41.408 18.88 63.488 0 20.544-5.568 39.936-16.768 58.048-11.136 18.176-28.032 32.832-50.496 43.968 29.056 8.512 51.456 23.104 67.072 43.648s23.424 44.864 23.424 72.832c0 22.592-4.736 43.52-14.208 62.848z", + "M707.84 342.272c-16.32-5.312-39.744-8-70.4-8h-111.232v165.376h119.808c20.544 0 35.008-0.768 43.328-2.304 14.656-2.624 26.88-6.976 36.736-13.12 9.792-6.144 17.856-15.040 24.256-26.752s9.472-25.216 9.472-40.512c0-17.92-4.544-33.536-13.76-46.784-9.152-13.248-21.952-22.528-38.208-27.904z", + "M690.944 271.936c16.192-4.8 28.352-12.8 36.544-24s12.288-25.152 12.288-41.984c0-15.936-3.84-30.016-11.52-42.176-7.616-12.096-18.56-20.416-32.832-24.96-14.208-4.48-38.592-6.72-73.152-6.72h-96.064v145.344h104c28.224 0 48.448-1.792 60.736-5.504z", + "M900.032 1020.032c70.848 0 128-57.152 128-128v-252.032l-379.968 380.032h251.968z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-jboss" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 318, + "id": 277, + "prevSize": 16, + "code": 59668, + "name": "it-app-jboss" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 20 + }, + { + "icon": { + "paths": [ + "M399.965 340.713h-172.125l-227.84 387.398 88.343 2.56 51.293-100.119h223.139l41.053 99.98h182.132l-185.996-389.818zM173.009 561.385l82.060-138.612 73.123 138.519-155.183 0.093z", + "M590.988 426.636l100.119-44.87h29.51v343.692h-85.876v-243.665h-42.356z", + "M970.799 381.766h-150.388c-28.207 0-51.153 22.854-51.153 51.107v241.478c0 28.253 22.9 51.153 51.153 51.153h150.388c28.207 0 51.153-22.854 51.153-51.153v-241.524c0-28.207-22.854-51.060-51.153-51.060zM941.196 635.718c0 24.716-20.154 44.87-44.87 44.87-24.762 0-44.916-20.154-44.916-44.87v-161.652c0-24.809 20.154-44.87 44.916-44.87 24.716 0 44.87 20.061 44.87 44.87v161.652z" + ], + "attrs": [ + { + "fill": "rgb(24, 49, 109)" + }, + { + "fill": "rgb(24, 49, 109)" + }, + { + "fill": "rgb(24, 49, 109)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-a10bala" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 0, + 0, + 0 + ] + } + }, + "attrs": [ + { + "fill": "rgb(24, 49, 109)" + }, + { + "fill": "rgb(24, 49, 109)" + }, + { + "fill": "rgb(24, 49, 109)" + } + ], + "properties": { + "order": 319, + "id": 276, + "prevSize": 16, + "code": 59669, + "name": "it-other-a10bala" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 21 + }, + { + "icon": { + "paths": [ + "M176.567 573.586c11.703-14.263 27.721-67.584 27.721-67.584v-92.745l-103.424-9.874-100.864 10.898v92.745c0 0 15.945 53.321 27.794 67.803 39.058 48.421 53.979 63.415 73.070 83.017h1.463v-1.097h1.317c18.798-19.529 33.792-34.45 72.923-83.163zM103.131 617.179h-1.024v0.878h-1.024c-14.775-15.36-26.478-16.311-57.198-54.199-9.143-11.557-21.723-53.248-21.723-53.248v-72.485l78.921-8.631 80.896 7.826v72.485c0 0-12.434 41.618-21.577 52.882-30.72 38.181-42.423 39.205-57.271 54.491z", + "M166.4 454.144l-65.097-6.217-63.415 6.875v58.368c0 0 10.021 33.499 17.481 42.642 24.576 30.574 34.085 31.451 45.934 43.593h0.878v-0.731h0.878c11.776-12.069 21.285-12.946 45.934-43.52 7.461-8.997 17.408-42.642 17.408-42.642v-58.368z", + "M901.12 498.395c67.584 0 122.441-22.455 122.441-50.395 0-0.293 0-0.512 0-0.805 0-0.146 0-0.585 0-0.805-1.682-27.209-56.027-48.933-122.441-48.933-67.438 0.146-122.295 22.747-122.295 50.542 0 27.867 54.857 50.395 122.295 50.395z", + "M901.632 509.806c-67.511 0-122.368-22.601-122.368-50.395 0-1.682-0.731-6.949-0.878-10.167v31.525c0.439 4.754 0.878 9.874 0.878 12.142 0 27.794 54.857 50.469 122.368 50.469 67.584 0 122.368-22.674 122.368-50.469v-33.573c0 27.867-54.784 50.469-122.368 50.469z", + "M901.632 558.738c-67.511 0-122.368-22.747-122.368-50.395 0-1.609-0.731-6.583-0.878-9.655v29.403c0.439 4.827 0.878 9.874 0.878 12.069 0 28.087 54.857 50.542 122.368 50.542 67.584-0.146 122.368-22.528 122.368-50.688v-31.817c0 27.794-54.784 50.542-122.368 50.542z", + "M901.632 605.842c-67.511 0-122.368-22.455-122.368-50.395 0-1.536-0.731-6.583-0.878-9.728v31.013c0.146 1.024 0.439 2.267 0.439 2.999 0 28.014 54.857 50.395 122.295 50.395 67.584 0 122.441-22.601 122.441-50.395 0-0.731 0.219-1.975 0.439-2.999v-21.285c0 27.867-54.784 50.395-122.368 50.395z", + "M623.835 37.522c0-20.699-17.701-37.376-39.57-37.376h-94.427c-21.87-0.073-39.643 16.677-39.643 37.376v54.711h173.568l0.073-54.711z", + "M450.267 247.369c0 20.626 17.701 37.376 39.57 37.376h94.501c21.943 0 39.57-16.75 39.57-37.376v-136.411h-173.641v136.411zM537.015 194.341c8.85 0 16.018 6.729 16.018 15.067s-7.168 14.994-16.018 14.994c-8.704 0-15.872-6.802-15.872-15.067s7.022-14.994 15.872-14.994z", + "M669.769 858.258c0 10.018-56.62 18.139-126.464 18.139s-126.464-8.121-126.464-18.139c0-10.018 56.62-18.139 126.464-18.139s126.464 8.121 126.464 18.139z", + "M418.67 874.496v121.051c0 0 27.721 28.306 128.512 28.453 106.423 0 122.661-28.453 122.661-28.453v-121.051c0 0-68.608 11.849-124.343 11.849-66.487 0.073-126.83-11.849-126.83-11.849zM501.979 965.559v0h-16.018v16.238l-25.673-24.43 25.673-23.771v16.165h16.018v15.799zM540.745 1009.737l-25.746-24.283h16.969v-15.141h16.896v15.141h16.969l-25.088 24.283zM578.926 949.687h16.018v-16.165l25.673 23.845-25.673 24.283v-16.165h-16.018v-15.799zM548.864 930.158v15.067h-16.969v-15.067h-16.969l25.673-24.357 25.234 24.357h-16.969z", + "M382.025 154.697l-23.406-53.687c-18.139 7.973-35.621 16.896-52.224 26.99l30.208 50.103c14.482-8.777 29.623-16.603 45.422-23.406z", + "M281.819 217.673l-38.181-44.325c-19.529 16.823-37.742 35.401-54.199 55.296l45.056 37.303c14.409-17.408 30.354-33.646 47.323-48.274z", + "M196.096 321.829l-50.761-29.111c-9.655 16.969-18.286 34.597-25.746 52.663l54.053 22.309c6.51-15.653 13.97-31.086 22.455-45.861z", + "M909.897 367.689l54.126-22.309c-7.607-18.359-16.091-35.986-25.746-52.736l-50.688 29.038c8.411 14.702 15.799 30.062 22.309 46.007z", + "M893.294 227.328c-16.823-20.334-35.547-39.351-55.808-56.466l-37.888 44.544c17.481 14.994 33.865 31.525 48.494 49.225l45.202-37.303z", + "M697.125 152.357c15.799 6.656 31.013 14.263 45.641 22.894l29.55-50.469c-16.75-9.801-34.304-18.578-52.37-26.258l-22.821 53.833z", + "M697.051 885.102l22.967 53.833c18.139-7.753 35.547-16.53 52.297-26.112l-29.257-50.688c-14.702 8.411-29.989 16.165-46.007 22.967z", + "M798.354 823.15l37.595 44.837c19.749-16.603 38.181-34.962 54.93-54.711l-44.544-37.888c-14.702 17.335-30.866 33.426-47.982 47.762z", + "M885.321 720.018l50.542 29.403c9.801-16.75 18.505-34.231 26.185-52.224l-53.833-22.967c-6.656 15.726-14.19 31.013-22.894 45.787z", + "M175.543 674.231l-53.76 22.967c7.753 18.139 16.53 35.547 26.112 52.224l50.615-29.257c-8.485-14.629-16.165-30.062-22.967-45.934z", + "M191.561 811.593c16.018 19.383 33.938 37.595 53.321 54.053l38.034-44.398c-16.823-14.409-32.402-30.208-46.299-46.958l-45.056 37.303z", + "M306.542 910.19c16.75 10.094 34.231 19.090 52.005 26.843l23.406-53.541c-15.506-6.802-30.72-14.629-45.422-23.406l-29.989 50.103z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "NFV" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 320, + "id": 275, + "prevSize": 16, + "code": 59670, + "name": "NFV" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 22 + }, + { + "icon": { + "paths": [ + "M785.481 880.786h-555.081l92.306-294.766h203.703v-73.143h-257.39l-78.921 252.050-102.619-420.937v-63.561h225.134l81.993 85.797h247.589v-73.143h-216.283l-81.993-85.797h-329.582v141.093l146.578 605.55h655.872l100.718-105.399-52.882-50.615z", + "M1020.050 696.393c-13.239-39.936-56.466-61.952-96.768-48.64-28.965 9.655-47.909 34.816-51.639 63.195l-264.558-0.293c-0.731-4.169-1.609-8.265-2.853-12.288-4.096-12.142-10.971-22.235-19.383-30.501l160.841-265.874c16.018 5.998 33.938 7.168 51.273 1.39 40.155-13.312 61.879-56.686 48.494-96.914-13.312-40.155-56.539-61.952-96.768-48.64-40.082 13.312-61.806 56.686-48.567 96.841 3.73 11.118 9.801 20.846 17.554 28.745l-161.573 266.606c-15.287-5.266-32.037-5.998-48.64-0.585-40.155 13.312-61.952 56.613-48.64 96.768 13.312 40.302 56.613 62.025 96.841 48.64 24.576-8.119 42.13-27.502 49.152-50.469l269.824 0.219c13.312 40.155 56.686 61.879 96.695 48.567 40.302-13.385 62.025-56.686 48.713-96.768z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "VNFM" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 321, + "id": 274, + "prevSize": 16, + "code": 59671, + "name": "VNFM" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 23 + }, + { + "icon": { + "paths": [ + "M706.267 645.632c-29.989 0-55.589 17.627-67.73 42.935l-246.93-81.993c0.805-4.023 1.317-8.119 1.317-12.507 0-12.361-3.365-24.064-8.631-34.523l232.448-198.29c13.166 10.533 29.403 17.042 47.25 17.042 41.545 0 75.41-33.719 75.41-75.337 0-41.545-33.865-75.264-75.41-75.264-41.618 0-75.337 33.719-75.337 75.337 0 11.63 2.779 22.455 7.534 32.256l-233.253 198.949c-12.654-9.728-28.233-15.579-45.275-15.579-41.691 0-75.41 33.646-75.41 75.264 0 41.691 33.719 75.264 75.41 75.264 25.454 0 47.835-12.434 61.513-31.89l251.831 83.749c0 41.618 33.719 75.264 75.264 75.264 41.691 0 75.557-33.646 75.557-75.264-0.073-41.618-33.792-75.41-75.557-75.41z", + "M512 0c-282.258 0-512 229.742-512 512 0 282.331 229.742 512 512 512 282.331 0 512-229.669 512-512 0-282.258-229.669-512-512-512zM512 950.857c-242.030 0-438.857-196.827-438.857-438.857s196.827-438.857 438.857-438.857 438.857 196.827 438.857 438.857-196.827 438.857-438.857 438.857z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "VNF" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 322, + "id": 273, + "prevSize": 16, + "code": 59672, + "name": "VNF" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 24 + }, + { + "icon": { + "paths": [ + "M536.869 599.698c-24.21 0-44.763 14.19-54.638 34.597l-198.729-66.048c0.585-3.218 1.024-6.583 1.024-10.094 0-9.947-2.706-19.383-6.949-27.721l187.246-159.671c10.533 8.485 23.625 13.751 38.034 13.751 33.499 0 60.709-27.209 60.709-60.709s-27.209-60.709-60.709-60.709-60.709 27.282-60.709 60.782c0 9.362 2.194 18.066 5.998 25.966l-187.831 160.183c-10.167-7.826-22.674-12.581-36.425-12.581-33.499 0-60.709 27.136-60.709 60.635s27.209 60.635 60.709 60.635c20.48 0 38.546-10.021 49.518-25.673l202.752 67.365c0 33.573 27.209 60.635 60.709 60.635s60.782-27.063 60.782-60.635c-0.073-33.499-27.209-60.709-60.782-60.709z", + "M1024 360.594l-192.073-99.547-192.146 99.547 192.146 99.621 192.073-99.621zM831.927 299.666l117.321 60.928-117.321 60.928-117.467-60.928 117.467-60.928z", + "M831.927 551.278l-105.253-54.638h-74.679l179.931 93.33 179.931-93.33h-74.679z", + "M831.927 681.106l-105.253-54.784h-74.679l179.931 93.403 179.931-93.403h-74.679z", + "M821.394 822.857c-79.36 79.067-188.782 128-309.394 128-242.030 0-438.857-196.827-438.857-438.857s196.827-438.857 438.857-438.857c97.792 0 187.904 32.549 260.974 86.894h109.861c-93.33-98.304-224.914-160.037-370.834-160.037-282.331 0-512 229.669-512 512 0 282.258 229.669 512 512 512 165.376 0 312.247-79.141 405.87-201.143h-96.475z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "VNFC" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 323, + "id": 272, + "prevSize": 16, + "code": 59673, + "name": "VNFC" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 25 + }, + { + "icon": { + "paths": [ + "M992.11 634.734l-49.591-20.773c1.097-10.167 3.072-19.968 3.072-30.354 0-10.459-1.829-20.041-3.072-30.135l49.737-20.919c26.917-11.337 39.058-44.178 27.063-73.509l-14.994-36.571c-11.922-29.403-43.447-43.959-70.363-32.549l-49.591 20.773c-9.582-12.361-20.261-23.845-32.11-34.377l22.894-49.079c12.361-26.697-0.366-59.246-28.745-72.85l-35.401-16.75c-28.16-13.531-61.147-2.926-73.435 23.771l-4.169 8.85h-122.88l-4.169-8.923c-12.434-26.697-45.349-37.303-73.509-23.771l-35.401 16.823c-8.046 3.877-14.409 9.435-19.749 15.799h-69.266l-81.993-85.797h-329.655v141.166l146.578 605.623h394.24c14.043 5.339 28.599 5.12 41.253 0h186.149c14.117 5.705 30.647 6.071 46.007-1.317l35.328-17.115c25.088-11.776 36.864-38.546 30.939-63.049l22.821-23.845-42.423-40.594c9.509-9.070 18.578-18.432 26.77-28.745l49.371 20.919c26.917 11.191 58.514-3.218 70.437-32.622l14.994-36.498c12.142-29.55-0.219-62.098-27.136-73.582zM400.384 563.127c-0.951 6.729-2.048 13.458-2.048 20.48 0 10.459 1.975 20.187 3.072 30.501l-49.664 20.773c-26.917 11.337-39.131 43.886-27.136 73.435l15.141 36.498c11.849 29.403 43.447 43.886 70.29 32.622l49.371-20.626c9.728 12.288 20.48 23.698 32.037 34.231l-22.821 49.079c-2.706 5.778-3.657 11.849-4.096 17.92h-251.611l92.306-294.912h95.159zM841.070 583.753c0 94.574-75.776 171.593-169.033 171.593-93.477 0-169.179-77.019-169.179-171.593 0-7.095 1.243-13.824 2.048-20.699h4.096v-22.674c19.017-73.801 84.48-128.366 163.109-128.366 93.184 0 168.96 76.727 168.96 171.739zM715.118 857.966h-10.094c3.218-0.512 6.583-0.512 9.728-1.024l0.366 1.024zM638.683 857.966h-10.094l0.512-1.024c3.145 0.585 6.437 0.585 9.582 1.024zM69.925 257.536h225.207l81.993 85.797h99.035l15.287 32.914c-11.703 10.533-22.382 22.016-32.11 34.377l-49.445-20.699c-26.843-11.337-58.368 3.145-70.217 32.549l-15.067 36.571c-4.242 10.313-4.535 20.846-3.145 30.939h-69.998l-78.921 252.197-102.619-421.010v-63.634z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "VIM" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 324, + "id": 271, + "prevSize": 16, + "code": 59674, + "name": "VIM" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 26 + }, + { + "icon": { + "paths": [ + "M153.161 185.125h315.465v73.143h-315.465v-73.143z", + "M153.161 331.41h315.465v73.143h-315.465v-73.143z", + "M360.009 572.562c0 27.146-22.006 49.152-49.152 49.152s-49.152-22.006-49.152-49.152c0-27.146 22.006-49.152 49.152-49.152s49.152 22.006 49.152 49.152z", + "M429.714 779.849h-237.714c-15.799 0-28.599 16.384-28.599 36.571s12.8 36.571 28.599 36.571h237.714c15.799 0 28.599-16.384 28.599-36.571s-12.8-36.571-28.599-36.571z", + "M951.589 841.143h-38.034c-40.009 0-72.411 32.402-72.411 72.485v12.288h-103.424v-377.929h104.96c5.705 34.304 34.158 60.928 70.071 60.928h38.034c40.009 0 72.411-32.402 72.411-72.411v-38.034c0-40.009-32.402-72.485-72.411-72.485h-38.034c-40.009 0-72.411 32.402-72.411 72.485v12.873h-102.546v-386.999h105.179c6.363 33.499 34.45 59.392 69.778 59.392h38.034c40.009 0 72.411-32.402 72.411-72.485v-37.961c0-40.009-32.402-72.485-72.411-72.485h-38.034c-40.009 0-72.411 32.402-72.411 72.485v14.482h-119.369v0.219h-19.822v423.424h-79.433v-406.894c0-57.637-45.568-104.521-101.669-104.521h-418.45c-56.027 0-101.595 46.885-101.595 104.521v815.031c0 57.563 45.568 104.448 101.595 104.448h418.45c56.101 0 101.669-46.885 101.669-104.521v-371.566h79.433v414.354h19.822v0.219h122.368c5.413 34.597 34.085 61.513 70.217 61.513h38.034c40.009 0 72.411-32.402 72.411-72.411v-37.961c0-40.082-32.402-72.485-72.411-72.485zM548.571 919.479c0 17.335-12.8 31.378-28.526 31.378h-418.45c-15.726 0-28.453-14.043-28.453-31.378v-814.958c0-17.335 12.727-31.378 28.453-31.378h418.45c15.726 0 28.526 14.043 28.526 31.378v814.958z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "VDU" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 325, + "id": 270, + "prevSize": 16, + "code": 59675, + "name": "VDU" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 27 + }, + { + "icon": { + "paths": [ + "M336.238 185.125h315.465v73.143h-315.465v-73.143z", + "M703.122 0h-418.45c-56.027 0-101.595 46.885-101.595 104.521v815.031c0 57.563 45.568 104.448 101.595 104.448h418.523c56.101 0 101.669-46.885 101.669-104.521v-814.958c-0.073-57.637-45.641-104.521-101.742-104.521zM731.648 919.479c0 17.262-12.8 31.378-28.526 31.378h-418.45c-15.653 0-28.453-14.043-28.453-31.378v-814.958c0-17.335 12.727-31.378 28.453-31.378h418.523c15.726 0 28.526 14.043 28.526 31.378v814.958z", + "M336.238 331.41h315.465v73.143h-315.465v-73.143z", + "M543.086 572.562c0 27.146-22.006 49.152-49.152 49.152s-49.152-22.006-49.152-49.152c0-27.146 22.006-49.152 49.152-49.152s49.152 22.006 49.152 49.152z", + "M612.791 779.849h-237.714c-15.799 0-28.599 16.384-28.599 36.571s12.8 36.571 28.599 36.571h237.714c15.799 0 28.599-16.384 28.599-36.571s-12.8-36.571-28.599-36.571z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "host" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 326, + "id": 269, + "prevSize": 16, + "code": 59676, + "name": "host" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 28 + }, + { + "icon": { + "paths": [ + "M512 0c-282.331 0-512 229.669-512 512 0 239.031 164.864 439.808 386.779 495.835 0.366 0.585 1.097 1.536 1.317 1.755l1.463-1.097c39.278 9.801 80.165 15.506 122.441 15.506 282.258 0 512-229.742 512-512 0-282.331-229.742-512-512-512zM469.358 888.832c-11.995-14.775-29.477-24.869-49.957-24.869-15.799 0-29.769 6.363-41.106 15.726-3.145-6.29-6.363-12.434-9.582-19.237 43.081-19.383 92.891-47.982 145.701-90.478 8.631 4.242 18.066 7.168 28.379 7.168 24.576 0 45.129-14.117 56.247-34.158 135.753-12.507 248.174-65.024 320.366-108.617 4.315 1.17 8.485 2.341 13.093 2.633-5.047 16.969-11.045 33.499-18.066 49.591-56.174 36.279-192.366 123.026-242.249 143.579-53.029 21.87-143.726 44.837-202.825 58.661zM82.798 420.937l4.974 5.705c0.878-0.805 64.219-52.955 183.735-90.77-17.554 46.226-30.574 95.232-35.474 145.92-3.291 34.597-3.584 68.315-1.682 101.083-1.463 0.805-2.779 1.829-4.169 2.779-70.949-47.909-123.904-101.083-152.503-133.047 1.463-10.679 2.926-21.358 5.12-31.671zM512 73.143c77.019 0 149.358 20.041 212.261 55.003-1.536 26.551-4.901 67.218-11.41 115.054-6.29 3.365-12.142 7.314-16.969 12.434-62.757-11.63-133.12-18.871-207.506-16.018-36.059 1.463-69.851 4.681-101.449 9.289-1.243-2.341-2.926-4.389-4.389-6.51 45.787-76.507 97.719-136.777 128-169.179 0.512 0 0.951-0.073 1.463-0.073zM934.107 393.435c10.533 37.303 16.53 76.434 16.677 116.955-4.901-1.17-9.582-2.926-14.775-2.926-35.986 0-65.17 29.111-65.17 65.17 0 7.022 1.902 13.531 4.023 19.822-64.585 37.23-158.427 78.921-268.873 91.355 2.56-2.926 5.193-5.413 7.826-8.338 72.119-80.603 113.737-201.509 137.801-312.174 16.969-2.267 31.525-10.679 41.691-23.406 81.774 24.503 135.241 50.761 140.8 53.541zM292.791 577.682c-1.682-29.403-1.463-59.538 1.463-90.331 4.754-49.591 18.651-97.719 37.157-143.141 24.795-0.512 45.714-14.994 56.247-35.694 32.037-4.974 65.975-8.923 102.985-10.386 67.365-2.56 131.877 4.096 190.098 14.775 2.414 11.703 7.095 22.382 14.921 30.866-22.016 104.96-59.977 219.502-125.44 292.718-4.242 4.681-8.411 8.777-12.654 13.385-4.827-1.243-9.509-2.999-14.702-2.999-25.893 0-47.762 15.36-58.295 37.23-54.857-5.851-106.203-20.992-152.942-41.765 0.146-1.536 0.951-2.926 0.951-4.608-0-26.99-16.384-50.176-39.79-60.050zM457.435 739.767c-40.667 30.208-78.775 51.566-112.128 66.633-13.019-32.841-25.088-69.413-34.523-108.91 45.056 19.602 94.062 34.67 146.651 42.277zM904.119 316.123c-25.893-10.533-59.611-22.747-99.401-34.45-5.12-17.262-16.603-31.305-32.329-39.278 3.803-28.891 6.363-54.93 8.119-76.873 51.712 40.229 94.062 91.648 123.611 150.601zM424.594 81.92c-29.038 34.889-62.683 79.872-93.915 132.389-0.146 0-0.293-0.146-0.439-0.146-34.962 0-62.83 27.575-64.512 62.098-69.632 20.773-122.88 45.861-158.72 66.926 55.369-132.389 173.787-232.082 317.586-261.266zM74.24 534.162c32.475 31.89 75.703 69.339 128.146 104.082 0.219 29.842 20.919 53.906 48.494 61.221 10.386 46.811 24.283 89.893 39.497 128.146-37.595 11.849-61.879 14.263-66.414 14.629-86.967-75.922-143.506-185.417-149.723-308.078zM288.987 889.271c7.68-2.048 15.945-4.535 24.722-7.387 4.608 9.728 9.216 18.944 13.751 27.721-13.239-6.144-26.039-12.873-38.473-20.334zM512 950.857c-10.679 0-21.065-0.878-31.525-1.536 0.366-1.024 0.366-2.048 0.658-3.072 60.709-14.19 155.648-38.107 213.504-62.098 31.086-12.873 89.6-47.177 144.896-81.115-80.384 90.478-197.266 147.822-327.534 147.822z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "NS" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 327, + "id": 268, + "prevSize": 16, + "code": 59677, + "name": "NS" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 29 + }, + { + "icon": { + "paths": [ + "M86 0v80h268v324h140v92h-208v-346h-286v874h286v-388h208v34h286v-520h-286v172h-80v-322zM580 0v80h264v590h60v-670zM690 738.578c-34.861 0.001-62.608 12.688-84 38s-32 60.25-32 106c-0 43.25 10.721 77.061 32 102s48.95 38 82 38c26.711 0 48.626-7.439 66-22s28.53-36 36-66l-48-18c-4.188 20.125-12.379 34.624-22 44-9.621 9.356-20.644 14-34 14-18.11 0-32.682-7.25-44-22s-16-39.25-16-74c-0-32.75 4.512-55.375 16-70s27.551-21.999 46-22c13.356 0.001 24.662 3.75 34 12s15.057 19.75 18 34l50-14c-5.66-21.999-14.682-38.249-26-50-19.015-19.875-43.553-29.999-74-30zM920 738.578c-19.128 0.001-34.474 3.624-48 10s-24.813 15.812-32 28c-7.187 12.188-10 24-10 38 0 21.75 6.72 40.875 22 56 10.866 10.75 31.062 20.625 58 28 20.939 5.751 34.114 9.747 40 12 8.602 3.375 14.548 7.44 18 12 3.452 4.563 6 9.503 6 16-0 10.125-5.795 18.434-14 26-8.206 7.573-19.815 12-36 12-15.28 0-27.002-5.499-36-14-8.998-8.497-15.057-21.875-18-40l-50 6c3.283 30.75 15.135 53.939 32 70 16.865 16.068 40.535 24 72 24 21.618 0 39.512-3.341 54-10 14.487-6.685 26.077-16.253 34-30s12-28.25 12-44c-0-17.375-3.379-32.188-10-44s-16.286-21.187-28-28c-11.715-6.813-29.552-13.624-54-20-24.448-6.374-39.662-12.122-46-18-4.98-4.625-8-11.496-8-18-0-7.125 2.68-11.749 8-16 8.262-6.622 19.399-10 34-10 14.148 0 24.926 3.812 32 10s11.85 15.875 14 30l50-2c-0.792-25.25-8.211-46.874-24-62-15.789-15.124-40.761-21.999-72-22zM324 742.578l90 276h54l88-276h-52l-62 204-62-204z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-cluster-vcs" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 328, + "id": 267, + "prevSize": 16, + "code": 59678, + "name": "it-cluster-vcs" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 30 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106h-832zM76 74h872v420h-872v-420zM128 148v132h338v-132h-338zM546 148v132h338v-132h-338zM126 326v130h338v-130h-338zM546 326v130h338v-130h-338zM68 616v322h244v-54h-180v-88h162v-54h-162v-72h174v-54h-238zM334 616l116 322h68l116-322h-70l-78 238-82-238h-70zM758 616l-124 322h68l28-74h128l28 74h70l-128-322h-70zM792 692l44 118h-86l42-118z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-hpeva" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 329, + "id": 266, + "prevSize": 16, + "code": 59679, + "name": "it-diskraid-hpeva" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 31 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM142 625.254v56h142l-160 220v62h246v-58h-172l166-228v-52zM388 625.254v56h90v282h62v-282h90v-56zM670 625.254v338h230v-58h-170v-92h152v-56h-152v-76h164v-56z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-zte" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 330, + "id": 265, + "prevSize": 16, + "code": 59680, + "name": "it-diskraid-zte" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 32 + }, + { + "icon": { + "paths": [ + "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v112h352v-112h102v112h160v56h-18v176h18v490h-160v62h-102v-62h-352v62h-104v-62h-178v-490h320v-176h-320v-56h178v-112zM488 232v176h352v-176h-352zM768 480c-39.586 0-71.709 16.469-96 46s-36 70.625-36 124c-0 50.458 11.837 88.906 36 118s56.47 44 94 44c30.332 0 54.271-7.010 74-24s33.517-43 42-78l-54-20c-4.756 23.479-13.076 39.063-24 50s-24.834 18-40 18c-20.564 0-37.148-8.792-50-26s-18-47.458-18-88c-0-38.208 4.955-64.937 18-82s31.050-26 52-26c15.166 0 27.396 4.375 38 14s18.658 23.375 22 40l56-16c-6.427-25.666-17.148-44.291-30-58-21.593-23.187-49.427-36-84-36zM142 486v322h56v-142h112v142h58v-322h-58v126h-112v-126h-56zM504 486c-15.552 0-29.469 3.365-42 10s-22.995 14.407-30 26c-7.005 11.594-12.53 26.604-16 46l50 10c1.414-14 5.445-24.708 12-32s14.746-10 24-10c9.382 0 16.345 3.584 22 10s10 15.209 10 26c-0 12.688-4.289 22.344-12 30s-19.348 10.438-34 10l-6 50c9.639-3.062 19.060-4 26-4 10.539 0 18.674 4.959 26 14s10 20.542 10 36c-0 16.333-2.353 30.375-10 40s-16.818 14-28 14c-10.411 0-20.674-3.979-28-12s-10.329-20.833-12-36l-54 8c2.699 26.979 13.163 49.302 30 66s38.423 24 64 24c26.99 0 49.878-10.167 68-30s26-43.854 26-72c-0-19.396-4.297-34.292-14-48s-21.806-24.062-38-28c27.119-16.771 40-37.854 40-66-0-19.833-6.762-38.25-20-54-16.066-19.25-37.395-28-64-28z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall-h3c" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 331, + "id": 264, + "prevSize": 16, + "code": 59681, + "name": "it-firewall-h3c" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 33 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v410h1024v-410c0-75.55-60.45-136-136-136h-752zM92 88h72v408h-72v-408zM232 88h142c28.247 0.001 50.12 1.312 64 4s27.042 7.469 38 16c10.958 8.532 18.694 19.812 26 34 7.305 14.189 12 30.381 12 48-0 19.103-4.99 36.050-14 52s-20.578 28.025-36 36c21.753 7.233 38.311 20.566 50 38s16 36.445 16 60c-0 18.547-2.451 36.473-10 54s-18.932 31.521-32 42c-13.069 10.479-28.844 17.589-48 20-12.013 1.484-40.058 3.624-86 4h-122v-408zM592 88h108l64 278 64-278h108v408h-68v-322l-70 322h-70l-70-322v322h-66v-408zM304 156v94h48c28.085 0.001 45.181-1.090 52-2 12.338-1.669 20.938-5.934 28-14 7.062-8.068 12-18.832 12-32-0-12.612-3.912-24.117-10-32s-13.987-12.331-26-14c-7.143-0.93-28.071 0-62 0h-42zM304 318v108h66c25.974 0 43.019-0.331 50-2 10.714-2.223 19.263-7.375 26-16s10-21.534 10-36c-0-12.241-2.805-21.468-8-30s-12.179-14.105-22-18c-9.822-3.892-31.207-6-64-6h-58zM396 594v274h94c35.375-0.256 56.75-0.976 66-2 14.75-1.626 27.937-4.941 38-12 10.062-7.066 18.187-16.186 24-28s8-25.501 8-38c-0-15.878-3-28.25-12-40s-23.25-21.136-40-26c11.875-5.37 21.062-13.248 28-24 6.937-10.746 12-23.123 12-36-0-11.872-4.375-22.438-10-32s-11.563-16.24-20-22c-8.438-5.779-19.313-10.208-30-12s-26.25-2-48-2h-110zM452 640h32c26.125 0 42.5-0.64 48 0 9.25 1.126 15.312 4.688 20 10s8 11.494 8 20c-0 8.87-2.563 16.56-8 22-5.438 5.427-14.5 8.848-24 10-5.25 0.96-18.375 0-40 0h-36v-62zM452 748h44c25.25 0 42.437 1.376 50 4s14 8.24 18 14c4 5.754 6 11.75 6 20-0 9.754-2.813 18.176-8 24-5.188 5.786-11.75 8.464-20 10-5.375 1.024-18 2-38 2h-52v-74zM0 886v2c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-2h-1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-ibm-blade" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 332, + "id": 263, + "prevSize": 16, + "code": 59682, + "name": "it-other-ibm-blade" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 34 + }, + { + "icon": { + "paths": [ + "M887.994 0h-751.988c-75.59 0-136.006 60.416-136.006 136.006v751.988c0 75.543 60.416 136.006 136.006 136.006h751.988c75.543 0 136.006-60.463 136.006-136.006v-751.988c0-75.59-60.463-136.006-136.006-136.006zM405.923 688.454c-12.567 19.363-30.627 34.49-54.179 45.242-23.505 10.799-49.99 16.198-79.453 16.198-37.329 0-68.608-5.399-93.836-16.337-25.228-10.845-45.009-27.183-59.299-49.059-14.383-21.876-21.923-46.545-22.668-74.147l51.433-4.515c2.467 20.62 8.099 37.609 16.989 50.781 8.89 13.219 22.761 23.924 41.519 32.023 18.758 8.192 39.843 12.288 63.302 12.288 20.806 0 39.191-3.072 55.11-9.309 15.919-6.144 27.788-14.615 35.607-25.46 7.773-10.705 11.636-22.528 11.636-35.328 0-12.847-3.77-24.204-11.264-33.885-7.494-9.635-19.875-17.734-37.097-24.297-11.078-4.329-35.561-10.985-73.402-20.154-37.888-9.030-64.419-17.687-79.593-25.693-19.689-10.38-34.397-23.133-44.032-38.447-9.635-15.267-14.476-32.349-14.476-51.293 0-20.806 5.911-40.262 17.687-58.368 11.823-18.060 29.091-31.837 51.759-41.193 22.807-9.309 48.035-14.010 75.776-14.010 30.58 0 57.53 4.934 80.849 14.755 23.366 9.868 41.286 24.343 53.853 43.473s19.316 40.774 20.247 64.977l-52.317 3.956c-2.839-26.065-12.335-45.754-28.579-59.066-16.198-13.359-40.122-20.015-71.82-20.015-33.001 0-57.065 6.051-72.145 18.153s-22.621 26.671-22.621 43.753c0 14.801 5.353 26.996 16.012 36.538 10.519 9.588 37.888 19.409 82.292 29.417 44.311 10.054 74.752 18.851 91.229 26.298 24.017 10.985 41.705 25.088 53.155 41.984 11.45 16.989 17.129 36.538 17.129 58.647 0.047 22.016-6.237 42.636-18.804 62.092zM852.294 379.159h-223.651v127.674h193.489v48.64h-193.489v187.345h-54.505v-412.3h278.156v48.64z" + ], + "attrs": [ + { + "fill": "rgb(96, 140, 193)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-secfox" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 3 + ] + } + }, + "attrs": [ + { + "fill": "rgb(96, 140, 193)" + } + ], + "properties": { + "order": 333, + "id": 262, + "prevSize": 16, + "code": 59683, + "name": "it-other-secfox" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 35 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM322 274c50.426 0 88.513 12.744 114 38 25.487 25.257 38.721 59.837 40 102l-80 4c-3.472-23.586-10.581-41.667-22-52-11.419-10.332-29.162-13.999-52-14-23.569 0.001-42.663 4.94-56 16-8.587 7.097-12 16.103-12 28-0 10.854 3.961 20.277 12 28 10.231 9.811 34.536 19.355 74 30 39.464 10.646 69.090 22.624 88 34s33.312 26.275 44 46c10.688 19.725 16 44.986 16 74-0 26.3-7.211 51.039-20 74s-30.614 38.833-54 50c-23.386 11.167-51.104 18-86 18-50.792 0-90.777-13.178-118-40s-42.702-66.652-48-118l78-8c4.75 30.266 15.475 51.806 30 66s33.335 22.001 58 22c26.126 0.001 46.754-7.372 60-20s20-27.092 20-44c-0-10.853-4.428-20.382-10-28s-14.115-14.364-28-20c-9.501-3.756-32.2-10.398-66-20-43.484-12.315-72.461-28.049-90-46-24.665-25.257-38-55.681-38-92-0-23.378 6.398-45.648 18-66s28.167-35.354 50-46c21.833-10.645 47.123-16 78-16zM556 282h298v78h-216v102h202v78h-202v124h224v78h-306v-460z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-segw" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 334, + "id": 261, + "prevSize": 16, + "code": 59684, + "name": "it-other-segw" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 36 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v410h1024v-410c0-75.55-60.45-136-136-136h-752zM122 146h234v50l-176 218h182v54h-260v-60l168-208h-148v-54zM380 146h256v54h-96v268h-64v-268h-96v-54zM678 146h238v54h-174v72h162v54h-162v88h180v54h-244v-322zM496 576c-38.5 0-70.375 12.688-94 38s-36 60.25-36 106c-0 43.25 12.5 77.063 36 102s53.5 38 90 38c29.5-0 54.812-7.438 74-22s31.75-38 40-68l-54-16c-4.625 20.125-11.375 34.625-22 44s-23.25 14-38 14c-20 0-37.5-7.25-50-22s-18-39.25-18-74c-0-32.75 7.312-57.375 20-72s27.625-22 48-22c14.75 0 27.687 5.75 38 14s16.75 17.75 20 32l56-12c-6.25-22-15.5-38.25-28-50-21-19.875-48.375-30-82-30zM122 580v46h82v228h56v-228h80v-46h-218zM734 580l-108 274h58l24-62h110l24 62h60l-110-274h-58zM762 644l38 102h-76l38-102zM0 886v2c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-2h-1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-zteatca" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 335, + "id": 260, + "prevSize": 16, + "code": 59685, + "name": "it-other-zteatca" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 37 + }, + { + "icon": { + "paths": [ + "M176 0c-97.115 0-176 78.886-176 176v672c0 97.114 78.885 176 176 176h672c97.115 0 176-78.886 176-176v-672c0-97.114-78.885-176-176-176h-672zM142 40c46.967 0 84 38.355 84 86.003 0 20.058-6.681 37.344-18 52l104 204c2.902 0 5.019-1.984 8-1.984 15.987 0 31.225 4.224 44 12l134-128c-3.301-9.203-4-19.642-4-29.997 0-47.648 37.033-86.003 84-86.003s86 38.355 86 86.003c0 0.64 0.014 1.344 0 1.984l164 76c14.938-13.197 34.634-21.997 56-21.997 46.967 0 86 40.352 86 88 0 47.642-39.033 85.997-86 85.997s-84-38.355-84-85.997c0-2.624-0.224-5.44 0-8l-160-76.006c-15.514 16.762-37.542 25.997-62 25.997-14.090 0-26.299-3.84-38-9.997l-138 132c2.086 7.475 4 15.84 4 24 0 47.642-39.033 85.997-86 85.997s-84-38.355-84-85.997c0-20.64 8.082-39.155 20-54.003l-102-201.997c-3.796 0.64-8.062 1.984-12 1.984-46.967 0-86-38.355-86-85.997 0-47.648 39.033-86.003 86-86.003zM140 636h234v50.003l-176 216h182v53.997h-260v-57.997l168-208h-148v-54.003zM398 636h256v54.003h-96v265.997h-64v-265.997h-96v-54.003zM696 636h238v54.003h-174v72h162v53.997h-162v86.003h180v53.997h-244v-320z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-zteips" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 336, + "id": 259, + "prevSize": 16, + "code": 59686, + "name": "it-other-zteips" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 38 + }, + { + "icon": { + "paths": [ + "M508 0c-82.558 0.672-166.697 21.188-244 64-247.365 137.005-336.997 448.64-200 696 112.572 203.257 342.286 298.233 558 250l84-146 29.283-49.683-47.283-92.317 52-28c-27.342-23.445-47.521-53.56-60-88l-44 24-54-98 92-50c24.687-87.31 104.927-152 200-152 50.663 0 95.87 19.753 132 50-10.596-39.485-25.3-78.624-46-116-94.189-170.064-270.372-265.479-452-264zM530 98c45.407 1.984 91.792 9.699 134 26l-66 36c-22.418-22.534-44.33-43.274-68-62zM400 112c39.131 26.349 77.86 57.629 114 94l-86 48-70-126c-0.339-0.64 0.362-1.424 0-2 13.85-5.504 27.877-10.038 42-14zM266 176c0.32 0.64 1.711 1.488 2 2l70 126-94 52c-11.828-49.536-16.086-99.133-18-146 12.612-11.942 25.674-23.568 40-34zM766 182c30.756 23.571 58.291 51.565 82 84l-118 66c-19.826-33.114-41.392-64.963-64-94l90-48c3.229-1.792 7.526-5.517 10-8zM584 286c22.436 28.877 42.268 59.046 62 92l-114 64-54-98zM146 318c3.501 27.974 7.145 55.238 14 84l-56 32c7.85-40.659 22.519-79.302 42-116zM388 394l54 98-122 66c-17.597-34.106-31.279-67.754-44-102zM192 502c12.788 34.547 26.288 69.67 44 104l-110 60c-14.57-36.442-26.168-74.317-30-112zM492 582l54 98-106 58c-24.154-28.173-46.514-57.469-68-90zM288 696c21.57 32.525 45.675 59.827 70 88l-102 58c-29.908-23.232-56.84-52.314-80-84zM596 772l70 126c-7.344 2.944-14.551 7.504-22 10-43.856-24.314-86.79-54.854-128-92zM432 862c28.391 25.472 58.222 46.435 88 66-53.331 1.024-106.52-9.274-156-28z", + "M873.145 391.853c-83.828 0-150.949 67.322-150.949 148.794 0 57.709 34.419 105.702 84.1 129.939v299.699c0 21.075 17.123 37.722 38.815 37.722h56.067c21.692 0 38.815-16.646 38.815-37.722v-299.699c49.682-24.237 84.1-72.23 84.1-129.939 0-81.472-67.121-148.794-150.949-148.794z", + "M745.671 902.592h247.663l36.421 118.976h-313.221z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-sdn-controller" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 337, + "id": 258, + "prevSize": 16, + "code": 59687, + "name": "it-sdn-controller" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 39 + }, + { + "icon": { + "paths": [ + "M0 4v424h76v-186h148v186h74v-424h-74v166h-148v-166h-76zM376 4v424h76v-160h50c34.135 0 59.998-1.945 78-6 13.246-3.282 25.178-9.863 38-20s23.678-24.237 32-42c8.321-17.763 12-39.935 12-66-0-33.788-5.565-60.665-20-82s-32.602-35.628-54-42c-13.926-4.247-44.148-6-90-6h-122zM452 76h36c27.172 0 44.999 0.070 54 2 12.227 2.51 24.018 7.96 32 18s12 24.554 12 40c-0 12.55-4.311 22.54-10 32s-11.981 17.56-22 22c-10.020 4.441-30.281 6-60 6h-42v-120zM986 406l-28 10-234 190-50-84-22-14-26-2-42 30-176 168-36 14-22-4 6-26 88-120 28-46-6-34-22-6-36 32-170 184-44 24-12-8 2-28 72-98 34-64-8-36-14-10-30 16-102 150-36 64-6 74 20 32 36 8 38-14 78-66 14 54 30 16 50 2 44-26 96-80 124-132 12-2 42 60 4 22-276 316c0 0-8.993 18.503 2 36s8 16 8 16l48-6 238-294 10-2 18 6 70 124 30 6 14-20-4-34-78-122 226-198 30-30-14-32-18-16z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-hpux" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 338, + "id": 257, + "prevSize": 16, + "code": 59688, + "name": "it-server-hpux" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 40 + }, + { + "icon": { + "paths": [ + "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM178 122h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM176 344h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM214 578c47.25 0 85.635 14.688 114 44s42 69.792 42 122c-0 51.771-13.854 92.76-42 122s-64.896 44-112 44c-47.688 0-85.854-14.906-114-44s-42-68.958-42-120c-0-32.666 4.229-59.833 14-82 7.292-16.333 17.385-31.021 30-44s26.979-21.729 42-28c19.979-8.458 41.896-14 68-14zM832 578c40.25 0 71.656 8.354 92 26s30.979 42.542 32 72l-66 2c-2.771-16.479-8.886-28.781-18-36s-21.771-10-40-10c-18.813 0-33.354 4.271-44 12-6.854 4.959-10 11.688-10 20-0 7.584 1.583 12.604 8 18 8.167 6.854 28.5 14.563 60 22s54.906 16.052 70 24c15.094 7.948 27.468 18.219 36 32s12 31.729 12 52c-0 18.375-3.792 33.958-14 50s-25.334 28.198-44 36c-18.667 7.802-42.146 12-70 12-40.542 0-72.271-9.26-94-28s-33.771-46.125-38-82l62-6c3.791 21.146 12.406 36.083 24 46s26.312 16 46 16c20.854 0 37.427-5.177 48-14s16-18.187 16-30c-0-7.583-1.552-14.677-6-20s-12.917-10.062-24-14c-7.583-2.625-25.021-7.292-52-14-34.708-8.604-60-19.458-74-32-19.688-17.646-28-38.625-28-64 0-16.333 4.74-31.781 14-46s22.573-24.562 40-32c17.427-7.437 37.354-12 62-12zM420 584h104c39.375 0 66.041 0.792 78 4 18.375 4.813 33.604 15.886 46 32s18 36.479 18 62c-0 19.688-2.854 36.583-10 50s-16.99 24.344-28 32c-11.011 7.656-20.625 11.521-32 14-15.459 3.062-38.688 6-68 6h-42v120h-66v-320zM216 634c-26.688 0-49.667 9.698-66 28s-24 45.104-24 82c-0 36.313 9.229 63.261 26 82s38.187 28 64 28c25.812 0 45.448-9.406 62-28s26-44.812 26-82c-0-36.75-7.886-65.916-24-84s-37.313-26-64-26zM486 638v92h36c25.521 0 41.396-2.646 50-6s15.114-8.854 20-16c4.885-7.146 8-14.521 8-24-0-11.667-3.146-22.416-10-30s-15.5-12.104-26-14c-7.729-1.458-24.667-2-48-2h-30z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-storage-ops" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 339, + "id": 256, + "prevSize": 16, + "code": 59689, + "name": "it-storage-ops" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 41 + }, + { + "icon": { + "paths": [ + "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM178 122h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM176 344h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM724 584c39.229 0 71.5 10.813 96 34 14.583 13.709 24.708 34.334 32 60l-64 16c-3.792-16.625-11.969-30.375-24-40s-24.792-14-42-14c-23.771 0-43.198 8.938-58 26s-24 43.792-24 82c-0 40.542 7.417 68.792 22 86s34.666 26 58 26c17.208 0 31.604-5.062 44-16s20.604-28.521 26-52l64 20c-9.625 35-25.615 61.010-48 78s-51.583 26-86 26c-42.583 0-76.583-14.906-104-44s-42-69.542-42-120c-0-53.375 14.437-94.468 42-124s63.083-44 108-44zM164 590h128c25.375 0 43.531-0.115 56 2s24.156 7.292 34 14c9.843 6.709 17.437 14.844 24 26s10 24.146 10 38c-0 15.021-3.907 29.459-12 42s-18.146 21.729-32 28c19.541 5.688 33.5 16.292 44 30s16 29.479 16 48c-0 14.583-3.219 28.219-10 42s-16.261 23.76-28 32c-11.74 8.24-24.792 14.104-42 16-10.792 1.167-38.729 1.708-80 2h-108v-320zM228 644v74h44c25.229 0 39.875-1.271 46-2 11.083-1.312 19.656-5.656 26-12s10-13.646 10-24c-0-9.916-2.531-17.802-8-24s-13.209-10.687-24-12c-6.417-0.729-25.521 0-56 0h-38zM228 770v86h60c23.333 0 37.729-0.687 44-2 9.625-1.75 17.948-5.219 24-12s10-16.625 10-28c-0-9.625-3.334-17.292-8-24s-11.177-10.937-20-14c-8.823-3.062-28.542-6-58-6h-52z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-storage-sanswitch-brocade" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 340, + "id": 255, + "prevSize": 16, + "code": 59690, + "name": "it-storage-sanswitch-brocade" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 42 + }, + { + "icon": { + "paths": [ + "M86 0c-47.477 0-86 38.076-86 84v514c0 45.924 38.523 82 86 82h234v90h-184v82h280v-172h192v172h280v-82h-184v-90h234c47.477 0 86-36.076 86-82v-514c0-45.924-38.523-84-86-84h-852zM110 108h804v454h-804v-454zM136 946v80h752v-80h-752z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "uep-moc-uca-public" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 341, + "id": 254, + "prevSize": 16, + "code": 59691, + "name": "uep-moc-uca-public" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 43 + }, + { + "icon": { + "paths": [ + "M2 262v192h96v320c-55.192 13.323-96 62.716-96 122 0 69.49 56.51 126 126 126s126-56.51 126-126c0-57.76-38.954-107.215-92-122v-320h320v320c-54.028 14.132-94 63.542-94 122 0 69.49 56.51 126 126 126s126-56.51 126-126c0-58.458-39.972-107.868-94-122v-320h320v320c-53.356 14.581-94 64.019-94 122 0 69.49 56.51 126 126 126s126-56.51 126-126c0-58.632-39.727-108.036-94-122v-320h96v-192h-1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "uep-topo-commongroup20x20" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 342, + "id": 253, + "prevSize": 16, + "code": 59692, + "name": "uep-topo-commongroup20x20" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 44 + }, + { + "icon": { + "paths": [ + "M741.841 94.115c0-39.983-32.256-72.239-72.099-72.239h-375.529c-39.983 0-72.239 32.256-72.239 72.239v58.508h519.82v-58.508z", + "M745.472 980.713v-2.327c0 0.465-0.093 0.884-0.186 1.164 0.093 0.372 0.186 0.745 0.186 1.164z", + "M218.345 980.713c0-0.465 0.14-0.838 0.186-1.164-0.047-0.372-0.186-0.745-0.186-1.164v2.327z", + "M840.285 212.247h-98.351v-49.105h-519.913v128.047h519.866v-29.137h25.553v24.902h10.892c-0.605 26.577-5.353 228.492-7.075 279.459-4.561 138.333-7.121 198.796-21.83 231.098-24.25 53.248-103.098 64.698-119.901 66.607v-195.072h40.169c39.796 0 72.192-32.349 72.192-72.099v-295.331h-519.866v295.284c0 39.75 32.209 72.099 72.239 72.099h40.076v283.276c0 3.724 0.605 7.075 1.583 10.473h-99.514c-9.635 0-17.361 7.354-17.873 16.803 0.512 9.356 8.239 16.803 17.873 16.803h491.055c9.495 0 17.315-7.447 17.92-16.803-0.605-9.449-8.425-16.803-17.92-16.803h-99.421c0.977-3.351 1.396-6.749 1.396-10.38v-49.105c38.121-7.447 118.551-15.453 154.065-92.346 21.225-46.173 22.295-125.719 24.948-241.478 3.072-134.004 5.958-261.911 6.423-282.484h9.495v-24.902h15.919v-49.804h-0zM693.62 320.652c9.914 0 18.060 8.052 18.060 18.060 0 9.914-8.145 18.106-18.060 18.106-10.1 0-18.106-8.192-18.106-18.106 0.047-10.007 8.052-18.060 18.106-18.060zM435.852 642.979l30.906-96.815-45.056-11.729 84.294-145.315-23.366 114.502 45.754 20.48-92.532 118.877z" + ], + "attrs": [ + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "vapel_chgpile" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 2, + 2, + 2, + 2 + ] + } + }, + "attrs": [ + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + } + ], + "properties": { + "order": 343, + "id": 252, + "prevSize": 16, + "code": 59693, + "name": "vapel_chgpile" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 45 + }, + { + "icon": { + "paths": [ + "M792.529 781.359v2.932c-1.955 0.093-28.393 4.887-44.544 8.052-12.241 0-203.124 0.326-333.405 0.326-66.979 0-117.9-0.093-120.413-0.326-7.494-0.559-53.76-9.588-55.715-9.961l0.652-3.305c-15.407 15.22-24.948 32.489-23.924 44.963 1.722 22.714 46.685 44.823 62.883 50.223 0.931 0.419 2.7 0.791 4.841 0.977l-0.233-0.279c2.095-1.35 20.62-12.753 29.091-12.753l418.257 0.372c0.093 0.093 6.33 4.375 14.941 9.961l-1.815 2.746c13.917-1.908 24.948-4.096 31.558-6.377 40.96-14.662 41.565-52.317 41.565-52.689-0.652-9.449-10.845-22.481-23.738-34.863z", + "M749.009 741.19c-16.989-4.887-182.737-21.132-236.544-22.947-1.908-0.093-3.91-0.093-6.097-0.093-59.252 0-219.555 23.505-221.184 23.831-42.449 13.731-78.103 59.159-76.288 85.178 1.769 25.507 47.709 50.129 64.186 56.273 12.567 4.701 136.099 10.38 202.426 13.312 21.69 0.977 38.772 1.722 45.847 2.095 2.7 0.233 6.796 0.326 12.288 0.326 56.273 0 211.27-8.471 245.62-21.969 41.612-16.198 43.241-54.877 43.706-67.444 0.605-13.359-43.892-59.578-73.961-68.561zM775.959 872.262c-36.631 13.172-194.42 20.108-242.362 20.108-5.446 0-9.588-0.093-12.288-0.279-6.842-0.559-23.599-1.21-44.823-2.095-69.911-2.886-186.927-7.633-199.727-12.055-12.567-4.329-63.535-27.089-65.536-53.62-1.955-25.135 33.652-67.119 77.824-80.198 1.862-0.186 159.372-21.364 217.74-21.364 2.141 0 4.189 0.093 6.097 0.093 52.829 1.629 216.111 16.291 232.82 20.666 16.524 4.561 72.937 48.826 74.24 72.332 0.559 8.471-5.585 42.775-43.985 56.413z", + "M747.66 788.527c6.33-1.117 38.028-7.168 44.032-8.052-16.989-16.244-38.167-30.767-46.825-33.187-16.57-4.655-179.293-18.897-232.029-20.527-1.908-0.093-3.863-0.093-6.004-0.093-58.135 0-215.412 20.992-216.948 21.225-7.866 2.374-15.546 5.632-22.714 9.775 11.823 1.117 60.090 6.051 66.56 6.703 7.308 0.559 378.321 0 382.045-0.093 12.381-1.443 45.196-5.12 47.709-5.585l0.698 3.863c-3.025 0.559-46.266 5.353-48.175 5.539-10.193 0-169.658 0.372-279.412 0.372-56.972 0-100.585-0.093-103.145-0.372-7.401-0.652-68.655-6.796-69.26-6.842l0.186-1.815c-9.263 5.492-17.687 12.195-24.902 19.316 3.863 0.745 47.942 9.216 54.97 9.868 7.354 0.512 448.791-0.093 453.213-0.093z", + "M311.761 865.932c-5.073 0-16.477 6.051-23.319 10.1 33.327 3.724 131.863 7.727 188.276 10.054 21.271 0.977 37.981 1.629 44.87 2.001 2.653 0.233 6.703 0.326 12.009 0.326 44.172 0 150.807-4.934 208.617-13.079-6.935-4.468-12.335-8.145-13.871-9.309l-416.582-0.093z", + "M1016.367 742.4c-1.303-12.986-5.26-37.841-5.26-44.265 0-6.47-15.593-79.5-15.593-79.5l-10.426-24.669-28.625-27.415-40.401-26.065-32.489-14.383-14.429-10.426-8.518-14.615c6.749-0.465 58.321-4.329 64.372-8.099 6.423-4.003 10.752-5.772 10.147-7.121-0.745-1.35-4.375-20.34-9.123-24.716-4.794-4.422-38.26-10.799-43.008-10.519-4.841 0.326-8.099 0.326-8.099 0.326s-11.543 17.268-10.193 27.415c1.303 10.193 2.048 12.567 2.048 12.567l-9.402 4.655-1.21-2.001-20.852-29.975-33.792-55.994-27.415-39.052-24.809-18.292-11.683-7.82c0 0-129.117-13.731-221.044-12.288-102.54 1.722-210.851 12.847-210.851 12.847l-8.425 6.051-20.806 19.084-84.759 103.331c-5.399 7.727-10.193 13.731-14.941 19.409l-10.938-4.98c0 0 0.745-2.374 2.001-12.567 1.35-10.147-10.193-27.415-10.193-27.415s-3.351 0-8.099-0.326c-4.748-0.419-38.26 6.051-43.008 10.426-4.748 4.422-8.425 23.412-9.123 24.762s3.724 3.025 10.147 7.121c6.33 4.003 62.883 8.239 64.512 8.332-4.143 4.655-8.332 9.169-12.986 14.289-11.683 13.033-37.841 23.459-46.918 30.022-9.123 6.563-69.027 41.658-69.027 53.434 0 11.683-26.065 98.956-26.065 98.956s0 19.549-1.303 27.322c-1.303 7.866-1.303 43.008-2.56 57.344-1.303 14.476 5.167 118.598 5.167 118.598l4.608 10.985c-0.559 7.494-0.279 22.807 10.333 27.276 1.303 0.465 4.003 1.303 7.82 2.513 1.164 4.329 26.81 33.187 40.076 34.956 13.591 1.955 43.38 3.212 51.153 3.212s18.665-8.657 21.923-9.914c0.047 0 0-0.14 0-0.14 39.657 9.263 74.473 16.756 77.824 15.965 7.773-2.001 12.335-3.91 18.758-3.91 6.516 0 213.085 17.455 231.191 16.756 18.153-0.652 286.255-16.756 296.029-16.756 9.635 0 10.333 0.652 20.015 2.56 4.608 0.977 44.218-6.982 86.807-16.943-0.698 2.095-1.024 5.585 1.862 8.611 4.608 4.608 59.625-1.908 69.958-5.167 10.38-3.212 31.092-30.348 31.092-30.348l-9.216 2.234c7.447-2.42 12.847-4.608 15.034-6.191 15.546-10.985 14.336-23.971 14.336-23.971l-3.351 0.605 6.516-8.378c-0.047-0.047 6.516-144.756 5.213-157.743zM983.599 870.167c-3.91 8.657-33.745 29.929-43.38 33.373-9.681 3.444-112.035 23.040-115.433 22.854-3.584-0.326-12.521-8.099-14.057-14.569-1.583-6.516 25.321-40.96 34.444-47.709 9.123-6.703 94.72-36.538 108.218-41.705 13.545-5.167 40.401-22.854 40.401-22.854s3.537 40.215-10.193 70.609zM781.079 880.361c-37.283 14.615-198.191 22.249-247.063 22.249-5.539 0-9.728-0.093-12.614-0.279-6.982-0.465-24.111-1.164-45.754-2.234-71.215-3.165-190.511-8.751-203.636-13.498-12.753-4.841-64.652-30.208-66.7-59.671-1.955-28.020 34.257-74.705 79.313-89.228 1.908-0.279 162.49-23.971 222.022-23.971 2.188 0 4.282 0.093 6.237 0.186 53.853 1.815 220.3 18.013 237.382 23.087 30.999 9.169 77.545 55.855 76.893 72.425-0.419 13.172-2.141 53.76-46.080 70.935zM841.356 655.779c8.844-5.818 132.841-49.338 132.841-49.338s12.428 32.442 13.452 39.331c0.977 6.842-3.398 33.14-6.516 37.004-3.025 3.724-35.933 26.345-40.215 26.95-4.236 0.838-20.852-8.564-24.017-8.564-2.932 0-55.808 16.896-75.729 19.363-20.015 2.7-57.204-16.57-57.204-16.57s48.593-42.403 57.391-48.175zM288.861 408.343c17.687-11.776 42.915-24.157 60.556-26.298 0 0 56.739-9.961 143.22-12.567l-0.047-0.326c12.055-0.233 23.692-0.326 34.956-0.279 11.264-0.047 22.807 0 34.816 0.279l-0.093 0.326c86.435 2.607 143.081 12.567 143.081 12.567 17.734 2.095 43.008 14.476 60.742 26.298l52.317 59.206c0 10.705-3.677 19.875-14.476 19.875l-281.367-0.652-281.414 0.652c-10.705 0-14.476-9.123-14.476-19.875l62.185-59.206zM45.708 646.237c1.024-6.842 14.895-40.96 14.895-40.96s126.836 45.568 135.68 51.34c8.844 5.818 57.391 48.361 57.391 48.361s-37.143 19.037-57.111 16.57c-19.968-2.56-72.797-19.503-75.823-19.503-2.979 0-19.689 9.263-24.017 8.657-4.282-0.884-41.425-22.249-44.451-26.065-3.025-3.77-7.54-31.651-6.563-38.4zM33.932 801.699c0 0 26.95 17.78 40.401 22.807 13.452 5.12 99.049 34.909 108.218 41.705s36.073 41.239 34.444 47.756c-1.583 6.423-10.519 14.196-14.010 14.476-3.444 0.279-105.798-19.27-115.479-22.761-9.728-3.537-39.471-24.855-43.334-33.466-13.731-30.441-10.24-70.516-10.24-70.516z" + ], + "attrs": [ + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "car" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 2, + 2, + 2, + 2, + 2 + ] + } + }, + "attrs": [ + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + } + ], + "properties": { + "order": 344, + "id": 251, + "prevSize": 16, + "code": 59694, + "name": "car" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 46 + }, + { + "icon": { + "paths": [ + "M286.627 163.421h521.263v128.372h-521.263v-128.372z", + "M807.889 94.208c0-40.029-32.396-72.378-72.378-72.378h-376.553c-39.936 0-72.425 32.303-72.425 72.378v58.647h521.309v-58.647z", + "M811.473 982.202c0 0.372 0.093 0.791 0.093 1.21v-2.607c0 0.605-0.093 0.977-0.093 1.396z", + "M282.996 983.412c0-0.512 0.14-0.977 0.14-1.21 0-0.372-0.14-0.791-0.14-1.35v2.56z", + "M793.46 965.26h-99.84c0.977-3.258 1.536-6.842 1.536-10.473v-284.067h40.355c39.889 0 72.378-32.396 72.378-72.471v-296.029h-521.309v296.029c0 39.983 32.442 72.378 72.425 72.378h40.308v284.16c0 3.491 0.512 7.075 1.536 10.287h-99.747c-9.635 0-17.361 7.447-17.967 16.989 0.652 9.309 8.332 16.803 17.967 16.803h492.358c9.542 0 17.315-7.494 18.013-16.803-0.698-9.449-8.425-16.803-18.013-16.803zM759.529 321.443c9.914 0 18.060 8.099 18.060 18.153 0 9.961-8.145 18.106-18.060 18.106-10.007 0-18.199-8.099-18.199-18.106 0.14-10.054 8.239-18.153 18.199-18.153zM501.062 644.655l31.046-97.094-45.242-11.543 84.48-145.873-23.273 114.828 45.708 20.527-92.719 119.156z" + ], + "attrs": [ + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "chgpile" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 2, + 2, + 2, + 2, + 2 + ] + } + }, + "attrs": [ + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + } + ], + "properties": { + "order": 345, + "id": 250, + "prevSize": 16, + "code": 59695, + "name": "chgpile" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 47 + }, + { + "icon": { + "paths": [ + "M550.959 563.805c-9.635-1.815-28.998-2.746-58.089-2.746h-39.005v113.478h44.172c31.837 0 53.108-2.095 63.86-6.284 10.705-4.189 19.084-10.705 25.181-19.642s9.169-19.27 9.169-31.092c0-14.569-4.329-26.531-12.8-35.98-8.518-9.449-19.363-15.36-32.489-17.734z", + "M977.455 395.636h-930.909c-25.693 0-46.545 20.852-46.545 46.545v488.727c0 25.74 20.852 46.545 46.545 46.545h930.909c25.74 0 46.545-20.806 46.545-46.545v-488.727c0-25.74-20.806-46.545-46.545-46.545zM666.112 678.353c-8.844 16.71-20.294 29.929-33.932 39.471s-27.695 15.825-41.751 18.897c-19.27 3.817-47.244 5.725-83.782 5.725h-52.783v150.807h-80.71v-399.779h129.536c49.152 0 81.129 2.001 96.023 6.004 22.9 6.004 42.077 19.037 57.53 39.145s23.18 45.987 23.18 77.824c0.047 24.529-4.422 45.196-13.312 61.905z" + ], + "attrs": [ + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "chgposition" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 2, + 2 + ] + } + }, + "attrs": [ + { + "fill": "rgb(124, 133, 150)" + }, + { + "fill": "rgb(124, 133, 150)" + } + ], + "properties": { + "order": 346, + "id": 249, + "prevSize": 16, + "code": 59696, + "name": "chgposition" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 48 + }, + { + "icon": { + "paths": [ + "M667.741 391.913h-638.697v-138.799l638.697-11.171z", + "M995.002 439.529l-618.17-0.652-347.788-35.468h638.697z", + "M995.002 426.217l-327.261-34.304v-149.969l327.261 53.388z", + "M150.761 412.672h63.86v600.111h-63.86v-600.111z", + "M635.811 412.672h63.814v600.111h-63.814v-600.111z", + "M348.393 417.792h63.86v503.948h-63.86v-503.948z", + "M853.085 434.176h63.86v487.564h-63.86v-487.564z", + "M475.881 760.273h71.075v161.466h-71.075v-161.466z", + "M739.142 760.273h71.075v161.466h-71.075v-161.466z", + "M285.091 776.378l-24.716 23.645v160.954h17.594l26.205-23.18v-161.42z", + "M834.001 815.197l-24.716 23.599v161.001h17.641l26.159-23.18v-161.42z" + ], + "attrs": [ + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "chgstation" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1 + ] + } + }, + "attrs": [ + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + }, + { + "fill": "rgb(123, 131, 147)" + } + ], + "properties": { + "order": 347, + "id": 248, + "prevSize": 16, + "code": 59697, + "name": "chgstation" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 49 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h768c70.912 0 128-57.088 128-128v-768c0-70.912-57.088-128-128-128h-768zM266.182 72.723h490.182c43.596 0 80 32.73 80 72.736v738.906c0 40-36.404 72.723-80 72.723h-490.182c-43.596 0-78.545-32.723-78.545-72.723v-738.906c0-40.006 34.95-72.736 78.545-72.736zM667.636 189.088c-41.36 0-73.529 12.877-98.909 37.818-25.38 24.947-37.818 59.635-37.818 104.73 0 42.63 12.572 77.242 37.818 101.818 25.246 24.582 56.788 34.912 96 34.912 31.691 0 59.387-5.952 80-20.365 20.613-14.355 34.773-37.338 43.636-66.906l-58.182-14.554c-4.969 19.846-11.859 34.4-23.273 43.642s-26.336 11.635-42.182 11.635c-21.486 0-38.935-5.824-52.364-20.358-13.429-14.547-20.364-38.483-20.364-72.736-0-32.275 6.734-55.398 20.364-69.811 13.63-14.419 31.929-23.277 53.818-23.277 15.846 0 29.648 3.456 40.727 11.635 11.078 8.128 18.326 20.864 21.818 34.912l58.182-14.547c-6.715-21.683-17.117-37.869-30.545-49.453-22.56-19.59-52.605-29.094-88.727-29.094zM242.909 194.912v270.547h113.455c22.023 0 39.203-1.984 52.364-5.824 17.591-5.184 30.387-14.042 40.727-23.277 13.697-12.198 24.614-26.835 32-46.547 6.042-16.141 8.727-35.885 8.727-58.182-0-25.382-2.282-46.688-8.727-64-6.446-17.306-16.737-31.68-29.091-43.635-12.355-11.949-26.314-21.504-43.636-26.182-12.892-3.456-33.608-2.88-58.182-2.88h-107.636zM302.545 238.554h26.182c24.306 0 41.129 1.216 49.455 2.88 11.146 2.24 21.839 8.256 29.091 14.541 7.251 6.272 10.517 14.976 14.545 26.182 4.028 11.213 7.273 25.6 7.273 46.554-0 20.941-3.244 37.318-7.273 49.446-4.029 12.134-8.167 20.89-14.545 26.189-6.379 5.312-15.059 9.414-24.727 11.629-7.386 1.728-19.712 2.88-36.364 2.88h-43.636v-180.365zM272 599.283c-15.139 0-27.636 10.374-27.636 23.264 0 12.902 12.498 23.277 27.636 23.277h485.818c15.139 0 27.636-10.374 27.636-23.277 0-12.89-12.498-23.264-27.636-23.264h-485.818zM272 733.101c-15.139 0-27.636 10.381-27.636 23.27 0 12.896 12.498 23.27 27.636 23.27h485.818c15.139 0 27.636-10.374 27.636-23.27 0-12.89-12.498-23.27-27.636-23.27h-485.818z" + ], + "attrs": [ + { + "fill": "rgb(100, 155, 230)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "common_dc" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 6 + ] + } + }, + "attrs": [ + { + "fill": "rgb(100, 155, 230)" + } + ], + "properties": { + "order": 348, + "id": 247, + "prevSize": 16, + "code": 59698, + "name": "common_dc" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 50 + }, + { + "icon": { + "paths": [ + "M152 0c-84.32 0-152 67.68-152 152v720c0 84.32 67.68 152 152 152h720c84.32 0 152-67.68 152-152v-720c0-84.32-67.68-152-152-152zM104 166h98l202 264v-264h94v302c-17.538-5.098-37.024-8-56-8-37.084 0-71.491 11.742-102 30l-144-186v258h-92zM456 551.336c40.013 0 73.010 10.353 98 34 14.874 13.982 26.562 33.824 34 60l-66 16c-3.868-16.956-9.729-30.18-22-40-12.272-9.825-28.448-14-46-14-24.246 0-44.902 8.593-60 26-15.098 17.401-22 45.029-22 84-0 41.357 7.125 72.45 22 90s36.2 24 60 24c17.552 0 31.356-4.844 44-16s20.496-28.050 26-52l64 20c-9.818 35.705-25.168 60.673-48 78s-50.896 28-86 28c-43.434 0-80.036-16.33-108-46-27.965-29.676-42-68.532-42-120-0-54.437 13.887-97.879 42-128s64.186-44 110-44zM646 557.336h122c27.221 0 47.72-0.168 62 4 19.188 5.652 34.315 17.573 48 32s24.86 31.105 32 52c7.14 20.901 10 47.359 10 78-0 26.924-3.307 50.515-10 70-8.181 23.796-20.828 41.27-36 56-11.454 11.156-26.514 19.754-46 26-14.577 4.63-33.606 8-58 8h-124zM712 611.336v216h50c18.445 0 31.819 0.055 40-2 10.71-2.672 18.934-7.606 26-14s13.537-17.345 18-32c4.463-14.65 6-34.714 6-60s-1.538-44.464-6-58c-4.463-13.536-11.968-24.413-20-32-8.033-7.582-17.654-13.317-30-16-9.223-2.341-27.077-2-54-2z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "common_ncd" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 349, + "id": 246, + "prevSize": 16, + "code": 59699, + "name": "common_ncd" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 51 + }, + { + "icon": { + "paths": [ + "M820 0l-40 4 12 66 40-4-12-66zM678 22c-39.083 0-68 30.966-68 70 0 39.021 28.917 70 68 70 10.831 0 22.823-1.648 32-6l48 46 36-38-48-48c2.62-7.392 4-15.725 4-24 0-39.034-32.916-70-72-70zM948 44l-90 60 30 46 90-62-30-44zM150 98c-84.081 0-150 66.045-150 150v626c0 83.962 65.919 150 150 150h628c84.081 0 150-66.038 150-150v-420c-97.009 35.552-219.538 4.931-304-82-79.068-81.382-102.955-187.984-68-274h-406zM1020 168l-66 12 4 40 66-12-4-40zM662 190l-66 12 4 38 66-10-4-40zM858 218l-38 38 38 36c-2.531 7.27-6 15.866-6 24 0 39.027 30.916 70 70 70s72-30.973 72-70c0-39.027-32.917-72-72-72-10.992 0-20.719 3.507-30 8l-34-34zM732 260l-90 62 28 44 92-58-30-48zM104 288h92l190 232v-232h88v266c-16.509-4.523-34.138-8-52-8-34.907 0-67.282 9.908-96 26l-136-164v228h-86v-348zM826 344l-40 2 10 66 40-4-10-64zM436 598c37.664 0 68.477 9.161 92 30 14.001 12.316 24.999 30.929 32 54l-62 14c-3.641-14.94-10.449-27.349-22-36-11.552-8.66-25.478-12-42-12-22.823 0-41.788 8.66-56 24-14.212 15.33-22 39.655-22 74-0 36.445 7.998 62.541 22 78 14.002 15.463 33.597 22 56 22 16.522 0 28.098-4.188 40-14 11.901-9.831 20.819-24.9 26-46l60 18c-9.241 31.46-24.508 52.727-46 68-21.493 15.263-46.956 24-80 24-40.885 0-75.677-13.848-102-40s-40-60.647-40-106c0-47.971 13.537-85.458 40-112s60.875-40 104-40zM614 604h116c25.623 0 44.558 0.525 58 4 18.062 4.961 31.118 15.279 44 28 12.881 12.707 23.279 27.585 30 46s10 40.996 10 68c-0 23.724-3.7 44.832-10 62-7.701 20.972-19.719 37.012-34 50-10.782 9.827-23.658 16.496-42 22-13.722 4.047-33.037 8-56 8h-116v-288zM676 652v190h48c17.362 0 30.299-0.237 38-2 10.081-2.381 17.349-6.368 24-12 6.651-5.637 11.799-15.088 16-28s6-31.719 6-54c0-22.286-1.8-38.074-6-50-4.201-11.936-10.439-21.316-18-28s-16.379-11.634-28-14c-8.681-2.095-26.657-2-52-2h-28z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "common_ncd_break" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 350, + "id": 245, + "prevSize": 16, + "code": 59700, + "name": "common_ncd_break" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 52 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h768c70.912 0 128-57.088 128-128v-768c0-70.912-57.088-128-128-128h-768zM192 146h628c26.012 0 49.542 11.019 68 26 22.109 17.944 38 42.938 38 72v380c0 53.325-48.83 96-106 96h-252c13.755 26.81 28.292 66.589 12 86-28.199 33.594-107.060 33.030-136 0-16.62-18.976-2.325-59.030 10-86h-262c-57.17 0-104-42.675-104-96v-380c0-29.062 13.891-54.056 36-72 18.458-14.981 41.988-26 68-26zM308 228c-31.688 0-57.594 4.438-80 14s-40.094 23.719-52 42c-11.906 18.282-18 39-18 60-0 32.625 12.687 59.313 38 82 18 16.125 49.375 28.938 94 40 34.687 8.625 58.25 14.625 68 18 14.25 5.063 22.281 11.156 28 18s10 16.25 10 26c-0 15.188-6.407 28.656-20 40s-35.188 16-62 16c-25.313 0-45.094-5.25-60-18s-25.125-32.812-30-60l-80 8c5.437 46.125 22.062 79.906 50 104s67.875 36 120 36c35.812 0 66-3.969 90-14s42.875-25.375 56-46c13.125-20.625 18-42.375 18-66-0-26.062-5.032-48.281-16-66s-26.594-31.781-46-42c-19.407-10.219-49.5-20.437-90-30s-65.5-19.187-76-28c-8.25-6.937-12-14.25-12-24-0-10.687 5.187-19.625 14-26 13.687-9.937 31.812-16 56-16 23.437 0 40.281 4.719 52 14s20.437 24.813 24 46l82-4c-1.313-37.875-13.844-67.312-40-90s-66.25-34-118-34zM728 228c-57.75 0-104.563 18.032-140 56s-54 91.375-54 160c-0 64.875 18.75 116.594 54 154s79.25 56 134 56c44.25 0 81.218-10.156 110-32s49.625-55 62-100l-80-26c-6.938 30.188-20.063 51.938-36 66s-33.875 22-56 22c-30 0-55.25-11.875-74-34s-28-59.875-28-112c-0-49.125 10.969-84.062 30-106s43.437-32 74-32c22.125 0 40.531 5.625 56 18s25.125 28.625 30 50l82-20c-9.375-33-23.25-58.375-42-76-31.5-29.812-71.563-44-122-44zM418 814c1.096 8.128 5.046 14.406 10 20 35.944 40.614 134.977 41.312 170 0 4.685-5.504 7.107-12.186 8-20 62.661 8.262 104 25.222 104 44 0 27.11-88.3 48-198 48s-200-20.89-200-48c0-18.778 43.339-35.738 106-44z" + ], + "attrs": [ + { + "fill": "rgb(100, 155, 230)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "common_sc" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 6 + ] + } + }, + "attrs": [ + { + "fill": "rgb(100, 155, 230)" + } + ], + "properties": { + "order": 351, + "id": 244, + "prevSize": 16, + "code": 59701, + "name": "common_sc" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 53 + }, + { + "icon": { + "paths": [ + "M256 100v834h-256v90h1034v-90h-256v-252h-400v-96h400v-108h-400v-96h400v-282h-522z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 352, + "id": 243, + "prevSize": 16, + "code": 59702, + "name": "it" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 54 + }, + { + "icon": { + "paths": [ + "M132-4c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM516 76c203.792 0 370 166.208 370 370s-166.208 372-370 372c-203.792 0-370-168.208-370-372s166.208-370 370-370zM516 182c-147.271 0-266 116.729-266 264s118.729 266 266 266c147.271 0 266-118.729 266-266s-118.729-264-266-264zM480 286h68l128 322h-70l-28-74h-128l-26 74h-68l124-322zM514 362l-44 118h88l-44-118zM1028 640l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 353, + "id": 242, + "prevSize": 16, + "code": 59703, + "name": "it-app" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 55 + }, + { + "icon": { + "paths": [ + "M132-4c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM114 86h226c44.738 0 78.016 2.249 100 6s40.644 10.174 58 22c17.355 11.837 32.429 28.328 44 48 11.57 19.662 17.999 41.566 18 66-0.001 26.476-7.73 49.889-22 72s-33.574 38.945-58 50c34.453 10.003 61.487 27.826 80 52 18.512 24.174 27.999 53.345 28 86-0.001 25.716-6.045 49.701-18 74-11.956 24.299-29.302 43.475-50 58-20.698 14.535-45.661 24.655-76 28-19.027 2.084-65.236 1.479-138 2h-192v-564zM228 180v130h74c44.481 0 73.201-1.062 84-2 19.541-2.292 34.815-8.809 46-20 11.184-11.18 16-25.745 16-44-0-17.484-4.358-31.070-14-42s-24.974-17.687-44-20c-11.314-1.25-42.263-2-96-2h-66zM228 404v152h106c41.139 0 66.944-1.708 78-4 16.969-3.126 31.329-10.038 42-22 10.67-11.951 16-27.942 16-48-0-16.974-5.773-32.174-14-44-8.228-11.826-18.445-20.592-34-26-15.556-5.418-50.062-8-102-8h-92zM1028 640l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-bind" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 354, + "id": 241, + "prevSize": 16, + "code": 59704, + "name": "it-app-bind" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 56 + }, + { + "icon": { + "paths": [ + "M132-4c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM836 140c41.156 0 73.198 11.587 94 34s30.956 50.584 32 88l-66 4c-2.833-20.931-8.68-34.831-18-44s-23.361-13.999-42-14c-19.236 0.001-33.115 4.181-44 14-7.009 6.298-12 15.442-12 26-0 9.632 3.439 17.147 10 24 8.35 8.706 29.791 18.553 62 28s54.566 17.905 70 28c15.433 10.095 27.276 24.496 36 42s14 40.253 14 66c-0 23.339-5.562 43.625-16 64s-24.913 36.090-44 46c-19.087 9.91-43.519 16-72 16-41.455 0-71.782-12.198-94-36s-35.676-58.433-40-104l64-8c3.877 26.858 12.145 45.404 24 58s27.869 20 48 20c21.324 0 37.189-6.79 48-18 10.811-11.207 16-22.996 16-38-0-9.632-3.452-19.239-8-26s-10.667-10.998-22-16c-7.754-3.331-26.414-9.479-54-18-35.49-10.928-59.685-24.071-74-40-20.131-22.413-30-49.769-30-82 0-20.746 4.531-39.94 14-58s22.18-32.553 40-42c17.819-9.446 38.799-14 64-14zM60 146h120c27.288 0 49.685 2.817 64 8 19.236 7.040 34.281 20.033 48 38s24.842 39.975 32 66c7.157 26.025 10 57.843 10 96-0 33.527-3.29 61.735-10 86-8.202 29.637-18.79 53.662-34 72-11.482 13.892-26.466 26.22-46 34-14.614 5.742-35.545 8-60 8h-124v-408zM392 146h64l134 272v-272h62v408h-66l-132-266v266h-62v-408zM126 216v270h50c18.49 0 31.798-1.411 40-4 10.736-3.331 18.917-10.035 26-18s13.526-19.755 18-38c4.473-18.246 6-44.511 6-76s-1.527-55.144-6-72c-4.474-16.855-11.948-30.553-20-40s-17.623-14.665-30-18c-9.245-2.596-27.010-4-54-4h-30zM1028 640l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-dns" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 355, + "id": 240, + "prevSize": 16, + "code": 59705, + "name": "it-app-dns" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 57 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM816 172c37.375 0 65.109 7.615 84 24s29.052 38.646 30 66l-60 4c-2.573-15.302-9.537-27.297-18-34s-21.073-10-38-10c-17.469 0-30.115 2.823-40 10-6.365 4.604-10 12.281-10 20-0 7.042 2.042 12.99 8 18 7.583 6.365 26.75 13.094 56 20s51.984 12.62 66 20c14.015 7.38 24.078 17.203 32 30s12 29.177 12 48c-0 17.063-4.521 33.104-14 48s-22.667 26.755-40 34c-17.334 7.245-40.136 10-66 10-37.646-0-65.823-8.599-86-26s-32.073-42.687-36-76l58-6c3.521 19.636 11.234 34.792 22 44s25.719 14 44 14c19.364 0 34.182-3.807 44-12s14-19.031 14-30c-0-7.042-1.87-13.057-6-18s-11.708-8.344-22-12c-7.042-2.437-22.948-7.771-48-14-32.229-7.989-55-16.354-68-28-18.281-16.385-28-36.437-28-60 0-15.166 5.401-30.797 14-44s19.818-23.093 36-30c16.182-6.906 37.114-10 60-10zM86 178h220v50h-160v66h150v50h-150v80h166v52h-226v-298zM364 178h90l54 202 52-202h90v298h-56v-236l-58 236h-58l-58-236v236h-56v-298zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-ems" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 356, + "id": 239, + "prevSize": 16, + "code": 59706, + "name": "it-app-ems" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 58 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM158 148h112l66 250 66-250h110v366h-68v-288l-72 288h-72l-72-288v288h-70v-366zM586 148h272v62h-198v80h184v62h-184v100h206v62h-280v-366zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-mediator" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 357, + "id": 238, + "prevSize": 16, + "code": 59707, + "name": "it-app-mediator" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 59 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM58 150h68l142 272v-272h64v408h-70l-140-266v266h-64v-408zM382 150h274v70h-102v338h-70v-338h-102v-70zM702 150h112c42.436 0.001 69.112 1.922 82 6 19.803 6.114 36.64 19.532 50 40s20 47.585 20 80c-0 25.007-4.299 44.959-12 62s-16.134 32.275-28 42c-11.867 9.724-25.741 14.851-38 18-16.66 3.891-40.409 6-72 6h-44v154h-70v-408zM772 220v116h38c27.505 0 44.727-3.734 54-8 9.273-4.259 16.735-10.923 22-20s8-19.96 8-32c-0-14.818-4.613-26.368-12-36s-16.684-15.592-28-18c-8.33-1.848-24.853-2-50-2h-32zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-ntp" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 358, + "id": 237, + "prevSize": 16, + "code": 59708, + "name": "it-app-ntp" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 60 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM202 144c48.314 0 86.996 18.769 116 56 29.003 37.232 42 87.687 42 154-0 65.757-13.221 118.861-42 156s-67.835 54-116 54c-48.761 0-87.221-17.046-116-54s-44-89.169-44-154c-0-41.491 6.009-75.845 16-104 7.456-20.745 17.101-39.514 30-56s26.641-28.035 42-36c20.429-10.743 45.308-16 72-16zM388 150h262v70h-98v338h-66v-338h-98v-70zM786 150h70l132 408h-72l-28-92h-132l-26 92h-72l128-408zM202 214c-27.289 0.001-49.299 10.754-66 34-16.701 23.247-26 59.137-26 106-0 46.123 8.851 80.199 26 104 17.148 23.803 39.606 36 66 36s47.075-10.383 64-34c16.924-23.617 26-60.766 26-108-0-46.678-7.523-81.031-24-104s-38.712-33.999-66-34zM820 246l-44 150h90l-46-150zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-ota" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 359, + "id": 236, + "prevSize": 16, + "code": 59709, + "name": "it-app-ota" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 61 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM596 144c50.805 0.001 92.27 16.028 124 50 18.886 20.085 32.556 50.396 42 88l-82 22c-4.911-24.358-14.419-43.897-30-58-15.582-14.101-35.714-21.999-58-22-30.785 0.001-54.83 13.002-74 38s-30 66.020-30 122c-0 59.399 11.113 100.787 30 126s41.781 38 72 38c22.286 0 41.946-7.975 58-24s27.012-41.6 34-76l82 30c-12.465 51.279-33.010 89.108-62 114s-65.428 38-110 38c-55.149 0-100.493-21.374-136-64s-54-102.072-54-176c-0-78.201 18.304-138.733 54-182s81.829-63.999 140-64zM32 152h330v80h-122v390h-84v-390h-124v-80zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-tomcat" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 360, + "id": 235, + "prevSize": 16, + "code": 59710, + "name": "it-app-tomcat" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 62 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM32 152h330v80h-122v390h-84v-390h-124v-80zM416 152h126l74 320 76-320h126v470h-78v-370l-84 370h-80l-82-370v370h-78v-470zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-trend" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 361, + "id": 234, + "prevSize": 16, + "code": 59711, + "name": "it-app-trend" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 63 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM450 144c41.156 0 73.198 11.587 94 34s30.956 50.584 32 88l-66 4c-2.833-20.931-8.68-34.831-18-44s-23.361-13.999-42-14c-19.236 0.001-35.115 4.181-46 14-7.009 6.298-10 15.442-10 26-0 9.632 3.439 17.147 10 24 8.35 8.706 29.791 18.553 62 28s54.566 17.905 70 28c15.433 10.095 27.276 24.496 36 42s14 40.253 14 66c-0 23.339-5.562 43.625-16 64s-24.913 36.090-44 46c-19.087 9.91-43.519 16-72 16-41.455 0-71.782-12.198-94-36s-35.676-58.433-40-104l64-8c3.877 26.858 12.145 45.404 24 58s27.869 20 48 20c21.324 0 37.189-6.79 48-18 10.811-11.207 16-22.996 16-38-0-9.632-3.452-19.239-8-26s-10.667-10.998-22-16c-7.754-3.331-26.414-9.479-54-18-35.49-10.928-59.685-24.071-74-40-20.131-22.413-30-49.769-30-82-0-20.746 4.531-39.94 14-58s22.18-32.553 40-42c17.819-9.446 38.799-14 64-14zM32 150h262v70h-98v338h-66v-338h-98v-70zM642 150h98l60 278 58-278h100v408h-62v-320l-64 320h-64l-66-320v320h-60v-408zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-tsm" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 362, + "id": 233, + "prevSize": 16, + "code": 59712, + "name": "it-app-tsm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 64 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM24 150h68l50 280 60-280h78l58 286 50-286h66l-78 408h-72l-64-304-66 304h-72l-78-408zM490 154h66v336h164v68h-230v-404zM1024 644l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-weblogic" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 363, + "id": 232, + "prevSize": 16, + "code": 59713, + "name": "it-app-weblogic" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 65 + }, + { + "icon": { + "paths": [ + "M180 2v168h156v278h172v98h-236v-308h-272v786h272v-340h236v338h274v-784h-274v72h-40v-308h-288zM740 2v168h156v852h132v-1020h-288zM336 748v278h132v-278h-132z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-cluster" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 364, + "id": 231, + "prevSize": 16, + "code": 59714, + "name": "it-cluster" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 66 + }, + { + "icon": { + "paths": [ + "M86 3.923v80.685h268.592v322.739h140.395v93.101h-208.987v-345.498h-286v873.050h286v-388.941h208.987v35.168h286v-519.277h-286v171.712h-80.395v-322.739zM580.987 3.923v80.685h262.913v589.619h60v-670.304zM426 714.022l-122 291.219h68l24-70.342h124l28 70.342h68l-124-291.219zM646 714.022v291.219h64v-291.219zM746 714.022l96 129.85-104 161.37h74l68-107.578 70 107.578h74l-106-159.296 98-131.923h-74l-60 82.266-62-82.266zM458 769.395l42 113.786h-84z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-cluster-hacmp" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 365, + "id": 230, + "prevSize": 16, + "code": 59715, + "name": "it-cluster-hacmp" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 67 + }, + { + "icon": { + "paths": [ + "M86 4v80h268v324h140v92h-208v-346h-286v874h286v-388h208v34h286v-520h-286v172h-80v-322h-328zM580 4v80h264v590h60v-670h-324zM924 704c-34.513 0-60.822 14.992-82 42-21.178 27.014-32 63.181-32 112-0 46.157 10.934 83.389 32 110s47.28 40 80 40c26.445 0 48.8-8.454 66-24 17.2-15.539 28.604-37.987 36-70l-48-20c-4.146 21.478-10.476 37.997-20 48-9.525 10.016-20.778 16-34 16-17.929 0-32.795-8.262-44-24s-18-42.918-18-80c-0-34.95 6.626-60.397 18-76 11.373-15.61 25.735-22 44-22 13.222 0 24.755 3.2 34 12 9.244 8.806 15.087 20.794 18 36l50-14c-5.603-23.475-14.795-41.462-26-54-18.825-21.21-43.858-32-74-32zM340 710v292h46v-190l100 190h50v-292h-46v196l-102-196h-48zM588 710v292h188v-48h-138v-80h124v-50h-124v-64h134v-50h-184z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-cluster-nec" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 366, + "id": 229, + "prevSize": 16, + "code": 59716, + "name": "it-cluster-nec" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 68 + }, + { + "icon": { + "paths": [ + "M86 4v80h268v324h140v92h-208v-346h-286v874h286v-388h208v34h286v-520h-286v172h-80v-322zM580 4v80h264v590h60v-670zM856.41 723.241c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28s-12 24.003-12 38c0 21.754 9.125 40.877 26 56 12 10.752 32.25 20.627 62 28 23.125 5.728 39.5 9.76 46 12 9.5 3.373 16.188 7.456 20 12 3.812 4.563 4 9.504 4 16-0 10.125-2.938 18.435-12 26s-24.125 12-42 12c-16.875 0-30.063-5.501-40-14s-16.75-21.875-20-40l-54 6c3.625 30.752 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.312 60-10s29.25-16.253 38-30c8.75-13.747 12-28.25 12-44-0-17.376-2.688-32.186-10-44s-19.063-21.19-32-28c-12.938-6.816-33-13.6-60-20-27-6.374-43-12.112-50-18-5.5-4.627-8-11.504-8-18-0-7.13 2.125-11.776 8-16 9.125-6.611 21.875-10 38-10 15.625 0 28.187 3.792 36 10 7.812 6.189 11.625 15.875 14 30l56-2c-0.875-25.248-10.563-46.877-28-62s-43.5-22-78-22zM423.783 717.518v276h50v-180l112 180h56v-276h-52v184l-112-184z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-cluster-ns" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 367, + "id": 228, + "prevSize": 16, + "code": 59717, + "name": "it-cluster-ns" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 69 + }, + { + "icon": { + "paths": [ + "M86 0v80h268v324h140v92h-208v-345.997h-286v873.997h286v-388h208v34.003h286v-520h-286v172h-80v-322.003zM580 0v80h264v590.003h60v-670.003zM483.586 734.24v276h56v-120h108v120h56v-276h-56v108h-108v-108zM806.959 734.24v276h56v-104h36c25.125 0 44.75-1.408 58-3.968 9.75-2.112 18.562-7.437 28-13.997 9.437-6.566 17.875-14.502 24-26.003 6.125-11.494 8-25.12 8-41.997-0-21.875-5.375-40.192-16-54.003s-22.25-23.904-38-28c-10.25-2.688-32.25-3.968-66-3.968zM862.959 782.24h26c20 0 33.375 0.704 40 1.984 9 1.6 16.125 5.504 22 12 5.875 6.502 10 14.003 10 24 0 8.128-1.812 15.853-6 21.997s-10.625 9.12-18 12c-7.375 2.88-22.125 6.016-44 6.016h-30z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-cluster-sg" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 368, + "id": 227, + "prevSize": 16, + "code": 59718, + "name": "it-cluster-sg" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 70 + }, + { + "icon": { + "paths": [ + "M514 0c-282.77 0-512 99.331-512 222s229.23 222 512 222c282.77 0 512-99.331 512-222 0-1.383 0.058-2.623 0-4-0.029-0.688 0.043-1.313 0-2-7.57-119.802-234.011-216-512-216zM0 228v138c1.854 20.829 4 44.253 4 54 0 122.669 229.23 222 512 222s512-99.331 512-222v-148c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44zM0 444v130c1.854 20.829 4 44.253 4 54 0 122.669 229.23 222 512 222s512-99.331 512-222v-140c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44zM0 652v138c0.439 3.52 2 9.51 2 12 0 122.669 229.23 222 512 222s512-99.331 512-222c0-2.24 1.483-8.499 2-12v-94c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-database" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 369, + "id": 226, + "prevSize": 16, + "code": 59719, + "name": "it-database" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 71 + }, + { + "icon": { + "paths": [ + "M514 0c-282.77 0-512 99.331-512 222s229.23 222 512 222c282.77 0 512-99.331 512-222 0-1.383 0.058-2.623 0-4-0.029-0.688 0.043-1.313 0-2-7.57-119.802-234.011-216-512-216zM0 228v138c1.854 20.829 4 44.253 4 54 0 122.669 229.23 222 512 222s512-99.331 512-222v-148c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44zM0 444v130c1.854 20.829 4 44.253 4 54 0 17.453 5.225 33.711 14 50h238c-150.238-38.674-252-108.698-252-190 0-7.227-2.795-30.407-4-44zM1028 488c0 81.302-101.762 151.326-252 190h238c8.775-16.289 14-32.547 14-50v-140zM0 652v26h2c-0.917-9.45-1.289-17.978-2-26zM114 716c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28-7.938 12.192-12 26.003-12 40-0 21.747 9.125 38.87 26 54 12 10.746 32.25 20.621 62 28 23.125 5.728 37.5 9.76 44 12 9.5 3.373 16.187 7.456 20 12 3.812 4.563 6 9.498 6 16-0 10.125-4.938 20.442-14 28-9.063 7.571-22.125 10-40 10-16.875 0-30.063-3.494-40-12-9.938-8.499-16.75-21.875-20-40l-54 6c3.625 30.746 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.318 60-10 16-6.688 27.25-18.246 36-32 8.75-13.747 14-28.25 14-44-0-17.37-4.688-32.192-12-44-7.313-11.814-17.063-21.184-30-28-12.938-6.81-33-13.6-60-20-27-6.381-43-12.112-50-18-5.5-4.621-8-9.498-8-16-0-7.123 2.125-13.776 8-18 9.125-6.611 21.875-10 38-10 15.625 0 26.187 3.792 34 10 7.812 6.189 13.625 15.875 16 30l56-2c-0.875-25.248-10.563-44.87-28-60-17.438-15.123-43.5-24-78-24zM398 716c-41.125 0-74 13.066-98 38-24 24.941-36 61.123-36 106-0 44.998 12.062 79.123 36 104 23.937 24.87 55.75 38 98 38 21.875 0 42-4.128 60-12 22.875 15.373 36.25 23.104 38 24 8 4.365 15.625 7.504 24 10l20-40c-16-5.754-30.375-12.253-44-22 11-12.877 19-26.253 24-40 6.625-18.003 10-38.25 10-62-0-44.877-12.125-81.059-36-106-23.875-24.934-55.25-38-96-38zM904 716c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28-7.938 12.192-12 26.003-12 40 0 21.747 9.125 38.87 26 54 12 10.746 32.25 20.621 62 28 23.125 5.728 37.5 9.76 44 12 9.5 3.373 16.188 7.456 20 12 3.812 4.563 6 9.498 6 16-0 10.125-4.938 20.442-14 28-9.063 7.571-22.125 10-40 10-16.875 0-30.063-3.494-40-12-9.938-8.499-16.75-21.875-20-40l-54 6c3.625 30.746 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.318 60-10 16-6.688 27.25-18.246 36-32 8.75-13.747 14-28.25 14-44-0-17.37-4.688-32.192-12-44-7.313-11.814-17.063-21.184-30-28-12.938-6.81-33-13.6-60-20-27-6.381-43-12.112-50-18-5.5-4.621-10-9.498-10-16-0-7.123 4.125-13.776 10-18 9.125-6.611 21.875-10 38-10 15.625 0 26.187 3.792 34 10 7.812 6.189 13.625 15.875 16 30l56-2c-0.875-25.248-10.563-44.87-28-60-17.438-15.123-43.5-24-78-24zM574 724v272h194v-46h-138v-226h-56zM396 764c22.625 0 42 8.314 56 24 14 15.693 20 40.25 20 72-0 15.373-0.438 28.128-4 40-3.563 11.878-8.875 21.629-16 30-16.625-12.499-35.75-21.728-54-28l-14 32c11.625 4.128 22.75 10.627 34 18-7.125 2.624-14 4-22 4-21.5 0-39.938-8.064-54-24s-22-39.878-22-72c-0-31.629 7.937-56.25 22-72s31.375-24 54-24z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-database-mssql" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 370, + "id": 225, + "prevSize": 16, + "code": 59720, + "name": "it-database-mssql" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 72 + }, + { + "icon": { + "paths": [ + "M514 0c-282.77 0-512 99.331-512 222s229.23 222 512 222c282.77 0 512-99.331 512-222 0-1.383 0.058-2.623 0-4-0.029-0.688 0.043-1.313 0-2-7.57-119.802-234.011-216-512-216zM0 228v138c1.854 20.829 4 44.253 4 54 0 122.669 229.23 222 512 222s512-99.331 512-222v-148c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44zM0 444v130c1.854 20.829 4 44.253 4 54 0 17.453 5.225 33.711 14 50h238c-150.238-38.674-252-108.698-252-190 0-7.227-2.795-30.407-4-44zM1028 488c0 81.302-101.762 151.326-252 190h238c8.775-16.289 14-32.547 14-50zM0 652v26h2c-0.917-9.45-1.289-17.978-2-26zM140 716c-22.375 0-42.875 4.749-60 12-12.875 5.376-23.188 12.877-34 24s-19.75 23.997-26 38c-8.375 18.995-14 42-14 70-0 43.75 13.875 79.059 38 104 24.125 24.934 55.125 38 96 38 40.375 0 73.875-12.938 98-38s36-59.622 36-104c-0-44.749-11.688-80.874-36-106s-57.5-38-98-38zM714 716c-38.5 0-70.375 12.688-94 38s-36 62.253-36 108c-0 43.251 12.5 77.059 36 102 23.5 24.934 53.5 38 90 38 29.5 0 52.812-7.44 72-22 19.187-14.566 33.75-37.997 42-68l-54-16c-4.625 20.128-11.375 34.624-22 44-10.625 9.389-23.25 14.006-38 14-20 0.006-37.5-7.248-50-22-12.5-14.746-18-39.248-18-74-0-32.749 5.313-57.37 18-72 12.687-14.624 29.625-22 50-22 14.75 0 27.687 3.75 38 12s16.75 19.747 20 34l56-12c-6.25-22.003-17.5-40.25-30-52-21-19.878-46.375-30-80-30zM316 722v274h56v-114h12c12.75 0 22.125-0.048 28 2 5.875 2.061 10.75 6.432 16 12 5.25 5.562 15.75 18.63 30 40l40 60h66l-34-54c-13.25-21.376-24.188-35.629-32-44-7.813-8.378-16-14.998-28-22 24.125-3.501 41.875-12.56 54-26 12.125-13.434 18-31.373 18-52-0-16.25-4-29.373-12-42-8-12.621-18.688-23.072-32-28-13.313-4.909-34.625-6-64-6zM874 724v272h146.652v-46h-92.652v-226zM140 764c22.875 0 42.187 8.506 56 24 13.812 15.501 20 38.499 20 70-0 31.878-7.813 56.064-22 72s-31.875 24.006-54 24c-22.125 0.006-39.625-7.936-54-24s-22-40.87-22-72c-0-31.622 8-54.307 22-70 14-15.686 31.125-24 54-24zM372 768h44c22.5 0 35.5-0.64 40 0 9 1.498 17.062 6.304 22 12 4.937 5.683 6 12.746 6 22-0 8.25-2.25 14.496-6 20-3.75 5.485-7.375 9.76-14 12s-23.375 4-50 4h-42z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-database-oracle" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 371, + "id": 224, + "prevSize": 16, + "code": 59721, + "name": "it-database-oracle" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 73 + }, + { + "icon": { + "paths": [ + "M514 0c-282.77 0-512 99.331-512 222s229.23 222 512 222c282.77 0 512-99.331 512-222 0-1.383 0.058-2.623 0-4-0.029-0.688 0.043-1.313 0-2-7.57-119.802-234.011-216-512-216zM0 228v138c1.854 20.829 4 44.253 4 54 0 122.669 229.23 222 512 222s512-99.331 512-222v-148c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44zM0 444v130c1.854 20.829 4 44.253 4 54 0 17.453 5.225 33.711 14 50h238c-150.238-38.674-252-108.698-252-190 0-7.227-2.795-30.407-4-44zM1028 488c0 81.302-101.762 151.326-252 190h238c8.775-16.289 14-32.547 14-50v-140zM0 652v26h2c-0.917-9.45-1.289-17.978-2-26zM114 716c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28-7.938 12.192-12 26.003-12 40-0 21.747 9.125 38.87 26 54 12 10.746 32.25 20.621 62 28 23.125 5.728 37.5 9.76 44 12 9.5 3.373 16.187 7.456 20 12 3.812 4.563 6 9.498 6 16-0 10.125-4.938 20.442-14 28-9.063 7.571-22.125 10-40 10-16.875 0-30.063-3.494-40-12-9.938-8.499-16.75-21.875-20-40l-54 6c3.625 30.746 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.318 60-10 16-6.688 27.25-18.246 36-32 8.75-13.747 14-28.25 14-44-0-17.37-4.688-32.192-12-44-7.313-11.814-17.063-21.184-30-28-12.938-6.81-33-13.6-60-20-27-6.381-43-12.112-50-18-5.5-4.621-8-9.498-8-16-0-7.123 2.125-13.776 8-18 9.125-6.611 21.875-10 38-10 15.625 0 26.187 3.792 34 10 7.812 6.189 13.625 15.875 16 30l56-2c-0.875-25.248-10.563-44.87-28-60-17.438-15.123-43.5-24-78-24zM904 716c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28-7.938 12.192-12 26.003-12 40-0 21.747 9.125 38.87 26 54 12 10.746 32.25 20.621 62 28 23.125 5.728 37.5 9.76 44 12 9.5 3.373 16.188 7.456 20 12 3.812 4.563 6 9.498 6 16-0 10.125-2.938 20.442-12 28-9.063 7.571-24.125 10-42 10-16.875 0-30.063-3.494-40-12-9.938-8.499-16.75-21.875-20-40l-54 6c3.625 30.746 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.318 60-10 16-6.688 27.25-18.246 36-32 8.75-13.747 14-28.25 14-44-0-17.37-2.688-32.192-10-44-7.313-11.814-19.063-21.184-32-28-12.938-6.81-33-13.6-60-20-27-6.381-43-12.112-50-18-5.5-4.621-8-9.498-8-16-0-7.123 2.125-13.776 8-18 9.125-6.611 21.875-10 38-10 15.625 0 28.187 3.792 36 10 7.812 6.189 11.625 15.875 14 30l56-2c-0.876-25.248-10.563-44.87-28-60-17.438-15.123-43.5-24-78-24zM246 722l100 158v116h56v-114l102-160h-64l-64 108-64-108h-66zM532 722v274h92c35.375-0.256 58.75-0.976 68-2 14.75-1.626 27.937-4.934 38-12 10.062-7.059 16.188-16.186 22-28 5.812-11.808 10-25.501 10-38-0-15.872-5-28.25-14-40s-21.25-21.136-38-26c11.875-5.376 21.062-13.254 28-24 6.937-10.752 10-23.13 10-36-0-11.878-2.375-22.438-8-32s-13.563-16.24-22-22c-8.438-5.773-17.313-10.208-28-12-10.688-1.856-26.25-2-48-2h-110zM586 768h32c26.125 0 42.5-0.64 48 0 9.25 1.126 17.312 4.688 22 10s6 11.501 6 20c-0 8.877-2.563 16.56-8 22-5.437 5.434-12.5 8.848-22 10-5.25 0.96-18.375 0-40 0h-38v-62zM586 876h46c25.25 0 40.437 1.376 48 4s14 8.24 18 14c4 5.747 6 11.75 6 20-0 9.747-2.813 18.176-8 24-5.188 5.85-11.75 8.528-20 10-5.375 1.024-18 2-38 2h-52v-74z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-database-sybase" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 372, + "id": 223, + "prevSize": 16, + "code": 59722, + "name": "it-database-sybase" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 74 + }, + { + "icon": { + "paths": [ + "M514 0c-282.77 0-512 99.331-512 222s229.23 222 512 222c282.77 0 512-99.331 512-222 0-1.383 0.058-2.623 0-4-0.029-0.688 0.043-1.313 0-2-7.57-119.802-234.011-216-512-216zM576 72c40.75 0 74.125 13.059 98 38 23.875 24.934 36 59.13 36 104-0 23.75-3.375 44.003-10 62-5 13.754-13 27.123-24 40 13.625 9.747 28 18.253 44 24l-20 40c-8.375-2.496-18-7.642-26-12-1.75-0.896-13.125-8.627-36-24-18 7.872-38.125 12-60 12-42.25 0-76.063-13.123-100-38s-36-59.002-36-104c-0-44.87 12-79.066 36-104 24-24.941 56.875-38 98-38zM346 76h56v276h-56v-276zM560 120c-15.363 2.954-27.453 12.187-38 24-14.063 15.75-22 38.378-22 70-0 32.128 7.937 56.064 22 72s30.5 24 52 24c8 0 16.875-1.376 24-4-11.25-7.373-24.375-13.878-36-18l16-30c18.25 6.272 35.375 15.501 52 28 7.125-8.378 12.437-20.128 16-32 3.562-11.878 5.999-24.621 6-40-0-31.75-6-56.314-20-72s-33.375-22-56-22c-5.656 0-10.879-0.985-16 0zM0 228v138c1.854 20.829 4 44.253 4 54 0 122.669 229.23 222 512 222s512-99.331 512-222v-148c0 122.669-229.23 222-512 222s-512-99.331-512-222c0-7.227-2.795-30.407-4-44zM0 444v130c1.854 20.829 4 44.253 4 54 0 17.453 5.225 33.711 14 50h238c-150.238-38.674-252-108.698-252-190 0-7.227-2.795-30.407-4-44zM1028 488c0 81.302-101.762 151.326-252 190h238c8.775-16.289 14-32.547 14-50v-140zM0 652v26h2c-0.917-9.45-1.289-17.978-2-26zM114 716c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28-7.938 12.192-12 26.003-12 40-0 21.747 9.125 38.87 26 54 12 10.746 32.25 20.621 62 28 23.125 5.728 37.5 9.76 44 12 9.5 3.373 16.187 7.456 20 12 3.812 4.563 6 9.498 6 16-0 10.125-4.938 20.442-14 28-9.063 7.571-22.125 10-40 10-16.875 0-30.063-3.494-40-12-9.938-8.499-16.75-21.875-20-40l-54 6c3.625 30.746 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.318 60-10 16-6.688 27.25-18.246 36-32 8.75-13.747 14-28.25 14-44-0-17.37-4.688-32.192-12-44-7.313-11.814-17.063-21.184-30-28-12.938-6.81-33-13.6-60-20-27-6.381-43-12.112-50-18-5.5-4.621-8-9.498-8-16-0-7.123 2.125-13.776 8-18 9.125-6.611 21.875-10 38-10 15.625 0 26.187 3.792 34 10 7.812 6.189 13.625 15.875 16 30l56-2c-0.875-25.248-10.563-44.87-28-60-17.438-15.123-43.5-24-78-24zM904 716c-21.125 0-39.063 3.6-54 10-14.938 6.374-26.063 15.814-34 28-7.938 12.192-12 26.003-12 40-0 21.747 9.125 38.87 26 54 12 10.746 32.25 20.621 62 28 23.125 5.728 37.5 9.76 44 12 9.5 3.373 16.188 7.456 20 12 3.812 4.563 6 9.498 6 16-0 10.125-2.938 20.442-12 28-9.063 7.571-24.125 10-42 10-16.875 0-30.063-3.494-40-12-9.938-8.499-16.75-21.875-20-40l-54 6c3.625 30.746 15.375 53.936 34 70s45.25 24 80 24c23.875 0 44-3.318 60-10 16-6.688 27.25-18.246 36-32 8.75-13.747 14-28.25 14-44-0-17.37-2.688-32.192-10-44-7.313-11.814-19.063-21.184-32-28-12.938-6.81-33-13.6-60-20-27-6.381-43-12.112-50-18-5.5-4.621-8-9.498-8-16-0-7.123 2.125-13.776 8-18 9.125-6.611 21.875-10 38-10 15.625 0 28.187 3.792 36 10 7.812 6.189 11.625 15.875 14 30l56-2c-0.876-25.248-10.563-44.87-28-60-17.438-15.123-43.5-24-78-24zM246 722l100 158v116h56v-114l102-160h-64l-64 108-64-108h-66zM532 722v274h92c35.375-0.256 58.75-0.976 68-2 14.75-1.626 27.937-4.934 38-12 10.062-7.059 16.188-16.186 22-28 5.812-11.808 10-25.501 10-38-0-15.872-5-28.25-14-40s-21.25-21.136-38-26c11.875-5.376 21.062-13.254 28-24 6.937-10.752 10-23.13 10-36-0-11.878-2.375-22.438-8-32s-13.563-16.24-22-22c-8.438-5.773-17.313-10.208-28-12-10.688-1.856-26.25-2-48-2h-110zM586 768h32c26.125 0 42.5-0.64 48 0 9.25 1.126 17.312 4.688 22 10s6 11.501 6 20c-0 8.877-2.563 16.56-8 22-5.437 5.434-12.5 8.848-22 10-5.25 0.96-18.375 0-40 0h-38v-62zM586 876h46c25.25 0 40.437 1.376 48 4s14 8.24 18 14c4 5.747 6 11.75 6 20-0 9.747-2.813 18.176-8 24-5.188 5.85-11.75 8.528-20 10-5.375 1.024-18 2-38 2h-52v-74z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-database-sybaseiq" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 373, + "id": 222, + "prevSize": 16, + "code": 59723, + "name": "it-database-sybaseiq" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 75 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM0 605.772v320h110c21.777 0 40.987-1.48 54-6 17.395-6.125 29.775-15.063 40-26 13.544-14.438 24.696-34.667 32-58 5.975-19.104 8-41.604 8-68-0-30.041-1.626-55.51-8-76s-15.784-37.854-28-52c-12.217-14.146-26.87-22.458-44-28-12.748-4.083-31.7-6-56-6zM294 605.772v320h224v-54h-164v-88h146v-54h-146v-70h158v-54zM570 607.772v318h204v-54h-146v-264zM818 607.772v318h206v-54h-146v-264zM58 659.772h28c24.035 0 39.767-0.041 48 2 11.021 2.625 20.829 8.563 28 16s12.016 16.729 16 30c3.983 13.271 6 33.209 6 58s-2.017 43.636-6 58c-3.984 14.365-9.693 25.729-16 32s-14.439 9.375-24 12c-7.304 2.042-19.534 4-36 4h-44z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-dellmd" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 374, + "id": 221, + "prevSize": 16, + "code": 59724, + "name": "it-diskraid-dellmd" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 76 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM854 613.898c-44.917 0-82.438 14.469-110 44s-40 72.625-40 126c-0 50.458 12.583 88.906 40 118s63.417 44 106 44c34.416 0 61.614-9.010 84-26s38.375-43 48-78l-62-20c-5.396 23.479-15.604 41.063-28 52s-26.792 16-44 16c-23.334 0-41.417-8.792-56-26s-22-45.458-22-86c-0-38.208 7.198-64.937 22-82s34.229-26 58-26c17.208 0 31.969 4.375 44 14s20.208 23.375 24 40l64-16c-7.292-25.666-19.417-44.291-34-58-24.5-23.187-54.771-36-94-36zM42 619.898v320h244v-54h-180v-86h162v-54h-162v-72h174v-54zM340 619.898v320h60v-252l64 252h62l64-252v252h60v-320h-98l-56 218-60-218z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-emc" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 375, + "id": 220, + "prevSize": 16, + "code": 59725, + "name": "it-diskraid-emc" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 77 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM906 622.576c-22.115 0-42.363 4.563-58 12s-27.691 17.781-36 32c-8.309 14.219-12 29.667-12 46 0 25.375 8.335 46.354 26 64 12.562 12.542 34.857 23.396 66 32 24.208 6.708 41.195 11.375 48 14 9.945 3.937 16.009 8.677 20 14s6 12.417 6 20c-0 11.813-4.513 21.177-14 30s-23.288 14-42 14c-17.665 0-31.597-6.083-42-16s-18.598-24.854-22-46l-56 6c3.795 35.875 14.503 63.26 34 82s47.622 28 84 28c24.993 0 47.25-4.198 64-12s28.84-19.958 38-36c9.159-16.042 14-33.625 14-52-0-20.271-4.346-36.219-12-50s-18.457-24.052-32-32c-13.544-7.948-33.736-16.562-62-24s-46.672-15.146-54-22c-5.758-5.396-8-10.416-8-18-0-8.312 3.85-15.041 10-20 9.552-7.729 21.12-12 38-12 16.357 0 29.821 2.781 38 10s13.514 19.521 16 36l58-2c-0.916-29.458-9.746-54.354-28-72s-45.884-26-82-26zM0 628.576v320h218v-54h-160v-88h144v-54h-144v-70h156v-54zM248 628.576v54h86v266h58v-266h84v-54zM514 628.576v320h54v-208l116 208h60v-320h-54v214l-118-214z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-eternus" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 376, + "id": 219, + "prevSize": 16, + "code": 59726, + "name": "it-diskraid-eternus" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 78 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106h-832zM76 74h872v420h-872v-420zM128 148v132h338v-132h-338zM546 148v132h338v-132h-338zM126 326v130h338v-130h-338zM546 326v130h338v-130h-338zM216 620v322h72v-136h134v-54h-134v-76h154v-56h-226zM728 620v208c-0 25.958-2.021 43.761-8 52-5.663 7.804-14.751 11.587-28 12-12.099-1.212-21.741-7.699-28-18-4.667-7.583-7.271-19.625-8-38h-6l-62 6c0.146 34.271 8.937 60.281 26 78 14.335 14.887 33.371 23.621 58 26 6.9 1.241 14.089 2 22 2 26.979 0 49.521-6.698 66-18s27.729-25.333 34-44c4.667-14.292 6-35.458 6-62v-204h-72z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-fujitsu" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 377, + "id": 218, + "prevSize": 16, + "code": 59727, + "name": "it-diskraid-fujitsu" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 79 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM826 618.237c-24.646 0-46.573 4.563-64 12s-30.74 17.782-40 32c-9.26 14.219-14 29.667-14 46-0 25.375 10.312 46.354 30 64 14 12.542 39.292 23.396 74 32 26.979 6.708 44.417 11.375 52 14 11.083 3.937 17.552 8.677 22 14s8 12.417 8 20c-0 11.813-5.427 21.177-16 30s-27.146 14-48 14c-19.688 0-34.406-6.083-46-16s-20.209-24.854-24-46l-62 6c4.229 35.875 16.271 63.26 38 82s53.458 28 94 28c27.854 0 51.333-4.198 70-12s31.791-19.958 42-36c10.208-16.042 16-33.625 16-52-0-20.271-3.469-36.219-12-50s-20.906-24.052-36-32c-15.094-7.948-38.5-16.562-70-24s-51.833-15.146-60-22c-6.417-5.396-10-10.416-10-18-0-8.312 3.146-15.041 10-20 10.646-7.729 27.187-12 46-12 18.229 0 30.885 2.781 40 10s15.229 19.521 18 36l64-2c-1.021-29.458-11.657-54.354-32-72s-49.75-26-90-26zM66 624.237v320h64v-140h128v140h64v-320h-64v126h-128v-126zM390 624.237v320h122c23.916 0 41.708-1.479 56-6 19.104-6.125 34.771-15.062 46-26 14.875-14.437 25.979-32.667 34-56 6.562-19.104 10-41.604 10-68-0-30.041-3-55.51-10-76s-16.584-37.854-30-52c-13.417-14.146-31.188-24.458-50-30-14-4.083-33.313-6-60-6zM454 678.237h30c26.396 0 42.958-0.042 52 2 12.104 2.625 22.125 8.563 30 16s13.625 18.729 18 32c4.375 13.271 8 31.209 8 56s-3.625 43.636-8 58c-4.375 14.365-9.073 25.729-16 32s-15.5 11.375-26 14c-8.021 2.042-21.99 0.371-40 2h-48z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-hds" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 378, + "id": 217, + "prevSize": 16, + "code": 59728, + "name": "it-diskraid-hds" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 80 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM732 617.593c-24.727 0-45.075 5.071-64 14-14.229 6.62-28.051 16.298-40 30s-21.093 28.757-28 46c-9.255 23.401-14 51.514-14 86-0 53.884 13.339 97.286 40 128s62.828 46 108 46c44.619 0 79.339-15.132 106-46s40-73.346 40-128c-0-55.115-13.132-99.055-40-130s-63.243-46-108-46zM262 623.593l-118 338h64l26-76h120l28 76h66l-122-338zM480 623.593v60h58v-60zM734 675.593c25.28 0 44.735 8.91 60 28s24 49.204 24 88c-0 39.258-8.321 68.371-24 88s-35.549 30-60 30c-24.451 0-44.114-10.217-60-30s-24-49.665-24-88c-0-38.95 6.528-66.678 22-86s36.72-30 62-30zM294 701.593l42 126h-84zM480 715.593v246h58v-246z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-hpaio" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 379, + "id": 216, + "prevSize": 16, + "code": 59729, + "name": "it-diskraid-hpaio" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 81 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM516 617.593c-23.346 0-41.492 4.148-58 12s-29.228 18.99-38 34c-8.772 15.011-14 30.757-14 48-0 26.788 9.351 49.372 28 68 13.261 13.24 37.122 24.917 70 34 25.556 7.082 40.817 11.229 48 14 10.499 4.157 17.787 10.381 22 16s6 11.994 6 20c-0 12.47-3.985 22.686-14 32s-24.246 14-44 14c-18.649 0-35.018-5.531-46-16s-18.408-25.677-22-48l-58 6c4.006 37.873 15.417 66.217 36 86s49.597 30 88 30c26.385 0 48.318-3.763 66-12s32.33-21.065 42-38c9.669-16.935 14-34.602 14-54-0-21.399-3.919-39.451-12-54s-19.703-25.609-34-34c-14.298-8.39-36.162-18.148-66-26s-48.264-14.764-56-22c-6.078-5.696-10-11.994-10-20-0-8.775 3.507-16.765 10-22 10.084-8.159 24.18-12 42-12 17.267 0 31.366 4.38 40 12s13.375 20.604 16 38l62-4c-0.967-31.098-10.73-55.371-30-74s-49.873-28-88-28zM56 623.593v338h56v-266l62 266h58l60-266v266h58v-338h-92l-56 230-54-230zM782 623.593l-118 338h64l26-76h120l28 76h66l-122-338zM814 701.593l42 126h-84z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-hpmsa" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 380, + "id": 215, + "prevSize": 16, + "code": 59730, + "name": "it-diskraid-hpmsa" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 82 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM152 625.254v338h62v-338zM272 625.254v338h104c39.094-0.307 63.777-0.769 74-2 16.3-2.001 28.879-7.302 40-16s21.576-21.451 28-36c6.423-14.549 8-28.604 8-44-0-19.552-4.054-37.528-14-52s-23.489-23.996-42-30c13.123-6.62 22.333-16.76 30-30s12-28.142 12-44c-0-14.625-3.784-26.222-10-38s-12.676-22.918-22-30c-9.325-7.082-20.189-11.768-32-14s-29.964-2-54-2zM578 625.254v338h56v-266l62 266h58l60-266v266h58v-338h-92l-56 230-54-230zM334 681.254h34c28.871 0 47.922-0.769 54 0 10.222 1.386 16.82 5.457 22 12s8 15.531 8 26c-0 10.931-1.991 19.303-8 26s-15.501 10.615-26 12c-5.802 0.769-20.102 2-44 2h-40zM334 815.254h50c27.904 0 45.642 2.767 54 6s13.579 6.918 18 14c4.42 7.082 8 15.839 8 26-0 12.009-4.267 22.841-10 30s-12.883 10.153-22 12c-5.94 1.386-19.898 2-42 2h-56z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-ibm" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 381, + "id": 214, + "prevSize": 16, + "code": 59731, + "name": "it-diskraid-ibm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 83 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM338 610.576c-23.346 0-43.492 4.148-60 12s-29.228 18.99-38 34c-8.772 15.011-12 30.757-12 48-0 26.788 9.351 49.372 28 68 13.261 13.24 35.122 24.917 68 34 25.556 7.082 42.817 11.229 50 14 10.499 4.157 17.787 10.38 22 16s6 11.994 6 20c-0 12.47-5.985 22.686-16 32s-24.246 14-44 14c-18.649 0-33.018-5.531-44-16s-18.408-25.677-22-48l-60 6c4.006 37.873 17.417 66.217 38 86s49.597 30 88 30c26.385 0 48.318-3.763 66-12s30.33-21.065 40-38c9.67-16.935 16-34.602 16-54-0-21.399-3.919-39.451-12-54s-19.703-25.609-34-34c-14.298-8.39-36.162-18.148-66-26s-50.264-14.764-58-22c-6.078-5.696-8-11.994-8-20-0-8.775 3.507-16.765 10-22 10.084-8.159 24.18-12 42-12 17.267 0 29.366 4.38 38 12s15.375 20.604 18 38l60-4c-0.967-31.098-10.73-55.371-30-74s-47.873-28-86-28zM514 616.576v338h58v-266l60 266h58l60-266v266h58v-338h-92l-54 230-56-230z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-ibmsm" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 382, + "id": 213, + "prevSize": 16, + "code": 59732, + "name": "it-diskraid-ibmsm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 84 + }, + { + "icon": { + "paths": [ + "M545.978 325.073h338.060v129.629h-338.060v-129.629z", + "M545.978 147.596h338.060v131.631h-338.060v-131.631z", + "M126.045 325.073h337.967v129.629h-337.967v-129.629z", + "M128.047 147.596h337.967v131.631h-337.967v-131.631z", + "M928.023 0h-832c-53.434 0-96.023 46.732-96.023 105.705v353.001c0 58.973 42.589 107.706 96.023 107.706h832.047c53.341 0 95.977-48.733 95.977-107.706v-353.001c-0.047-58.973-42.636-105.705-96.023-105.705zM948.038 492.637h-872.029v-418.863h872.029v418.863z", + "M326.051 844.102c-7.68 22.481-13.405 39.657-17.036 51.293-3.212-10.519-8.332-26.298-15.267-47.383l-75.916-226.444h-63.907v319.814h40.913v-272.244l92.719 272.244h38.353l93.091-267.636v267.636h40.96v-319.814h-57.065l-76.847 222.534z", + "M838.982 772.934c-12.753-5.818-36.399-12.614-70.889-20.387-34.444-7.82-55.808-15.407-63.953-22.807-8.378-7.401-12.521-16.849-12.521-28.346 0-13.219 5.818-24.529 17.594-33.932 11.729-9.402 30.394-14.103 56.087-14.103 24.623 0 43.241 5.167 55.855 15.453 12.66 10.38 20.061 25.6 22.202 45.894l40.774-3.119c-0.791-18.665-5.958-35.561-15.732-50.362-9.821-14.801-23.785-26.065-41.937-33.745-18.153-7.587-39.098-11.404-62.883-11.404-21.597 0-41.239 3.631-58.833 10.845-17.641 7.261-31.139 17.92-40.262 31.977-9.216 14.010-13.777 29.091-13.777 45.335 0 14.615 3.77 27.927 11.217 39.75 7.494 11.823 18.944 21.783 34.211 29.789 11.823 6.237 32.396 12.893 61.952 19.968 29.463 7.028 48.454 12.288 57.111 15.593 13.405 5.12 23.040 11.404 28.858 18.851 5.818 7.494 8.751 16.291 8.751 26.298 0 9.914-2.979 18.991-9.030 27.369-6.097 8.332-15.313 14.941-27.695 19.735-12.428 4.841-26.717 7.168-42.915 7.168-18.246 0-34.583-3.119-49.199-9.449-14.615-6.284-25.414-14.569-32.256-24.855-6.935-10.24-11.311-23.366-13.219-39.331l-39.983 3.491c0.559 21.318 6.377 40.495 17.594 57.437 11.124 16.943 26.438 29.603 46.127 37.981 19.596 8.471 43.892 12.66 72.89 12.66 22.993 0 43.567-4.236 61.812-12.614 18.339-8.378 32.349-20.061 42.124-35.095s14.662-31.046 14.662-48.035c0-17.175-4.515-32.396-13.359-45.521-8.844-13.033-22.668-23.831-41.379-32.489z" + ], + "attrs": [ + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-macrosan" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 4, + 4, + 4, + 4, + 4, + 4, + 4 + ] + } + }, + "attrs": [ + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + } + ], + "properties": { + "order": 383, + "id": 212, + "prevSize": 16, + "code": 59733, + "name": "it-diskraid-macrosan" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 85 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM222 616.576v338h56v-220l124 220h60v-338h-56v226l-124-226zM616 616.576l-118 338h64l26-76h120l28 76h66l-122-338zM648 694.576l42 126h-84z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-netapp" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 384, + "id": 211, + "prevSize": 16, + "code": 59734, + "name": "it-diskraid-netapp" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 86 + }, + { + "icon": { + "paths": [ + "M96 0c-53.411 0-96 46.841-96 106v354c0 59.159 42.589 108 96 108h832c53.411 0 96-48.841 96-108v-354c0-59.159-42.589-106-96-106zM76 74h872v420h-872zM128 148v132h338v-132zM546 148v132h338v-132zM126 326v130h338v-130zM546 326v130h338v-130zM210 614.915c-23.346 0-43.492 4.148-60 12s-29.228 18.99-38 34c-8.772 15.011-12 30.757-12 48-0 26.788 9.351 49.372 28 68 13.261 13.24 35.122 24.917 68 34 25.556 7.082 42.817 11.229 50 14 10.499 4.157 17.787 10.38 22 16s6 11.994 6 20c-0 12.47-5.985 22.686-16 32s-24.246 14-44 14c-18.649 0-33.018-5.531-44-16s-18.408-25.677-22-48l-60 6c4.006 37.873 17.417 66.217 38 86s49.597 30 88 30c26.385 0 48.318-3.763 66-12s30.33-21.065 40-38c9.67-16.935 16-34.602 16-54-0-21.399-3.919-39.451-12-54s-19.703-25.609-34-34c-14.298-8.39-36.162-18.148-66-26s-48.264-14.764-56-22c-6.078-5.696-10-11.994-10-20-0-8.775 3.507-16.765 10-22 10.084-8.159 24.18-12 42-12 17.267 0 29.366 4.38 38 12s15.375 20.604 18 38l60-4c-0.967-31.098-10.73-55.371-30-74s-47.873-28-86-28zM386 620.915v180c0 37.873 1.994 66.602 6 86 2.763 13.086 9.297 26.069 18 38s21.012 20.533 36 28c14.988 7.467 36.99 12 66 12 24.036 0 43.081-3.149 58-10s27.090-16.453 36-28c8.91-11.547 14.684-25.219 18-42s6-45.356 6-86v-178h-62v186c0 26.788-0.204 46.454-2 58s-7.159 22.071-16 30c-8.841 7.928-22.594 12-40 12-17.13 0-30.123-5.61-40-14s-17.375-18.144-20-32c-1.52-8.621-2-28.903-2-58v-182zM694 620.915v338h58v-220l122 220h62v-338h-58v226l-124-226z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-diskraid-sun" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 385, + "id": 210, + "prevSize": 16, + "code": 59735, + "name": "it-diskraid-sun" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 87 + }, + { + "icon": { + "paths": [ + "M0 0v176h242v-176h-242zM346 0v176h352v-176h-352zM800 0v176h224v-176h-224zM30 232v176h354v-176h-354zM488 232v176h352v-176h-352zM942 232v176h82v-176h-82zM0 462v178h256v-178h-256zM366 462v178h352v-178h-352zM822 462v178h202v-178h-202zM30 702v176h354v-176h-354zM488 702v176h352v-176h-352zM942 702v176h82v-176h-82zM0 934v90h242v-90h-242zM346 934v90h352v-90h-352zM800 934v90h224v-90h-224z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 386, + "id": 209, + "prevSize": 16, + "code": 59736, + "name": "it-firewall" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 88 + }, + { + "icon": { + "paths": [ + "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v112h352v-112h102v112h160v56h-18v176h18v490h-160v62h-102v-62h-352v62h-104v-62h-178v-490h320v-176h-320v-56h178v-112zM488 232v176h352v-176h-352zM380 478c-44.917 0-82.438 14.47-110 44s-40 72.624-40 126c0 50.458 12.583 88.906 40 118s63.417 44 106 44c34.417 0 61.614-9.008 84-26s38.375-42.998 48-78l-62-20c-5.396 23.482-13.604 41.062-26 52-12.396 10.963-26.792 16-44 16-23.333 0-43.417-8.79-58-26s-22-45.456-22-86c-0-38.208 7.198-64.938 22-82s34.229-26 58-26c17.208 0 31.969 4.374 44 14s20.208 23.373 24 40l64-16c-7.292-25.67-17.417-44.291-32-58-24.5-23.187-56.771-36-96-36zM564 484v320h66v-120h42c29.312 0 50.541-2.928 66-6 11.375-2.477 22.989-6.346 34-14 11.010-7.661 20.854-18.586 28-32 7.146-13.421 10-30.314 10-50-0-25.523-5.604-45.885-18-62s-27.625-27.2-46-32c-11.959-3.2-38.625-4-78-4h-104zM630 538h30c23.333 0 40.271 0.531 48 2 10.5 1.901 19.146 6.416 26 14s10 18.333 10 30c-0 9.478-3.115 16.858-8 24-4.886 7.149-11.396 12.672-20 16-8.604 3.392-26.479 6-52 6h-34v-92z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall-checkpoint" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 387, + "id": 208, + "prevSize": 16, + "code": 59737, + "name": "it-firewall-checkpoint" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 89 + }, + { + "icon": { + "paths": [ + "M68 0c-37.964 0-68 30.272-68 68v888c0 37.728 30.036 68 68 68h894c37.964 0 68-30.272 68-68v-888c0-37.728-30.036-68-68-68h-894zM244 64h104v112h354v-112h102v112h162v56h-18v176h18v490h-162v62h-102v-62h-354v62h-104v-62h-180v-490h322v-176h-322v-56h180v-112zM492 232v176h354v-176h-354zM340 492c-44.917 0-82.438 14.47-110 44s-40 72.624-40 126c0 50.458 12.583 88.906 40 118s63.417 44 106 44c34.416 0 61.614-9.008 84-26s38.375-42.998 48-78l-62-20c-5.396 23.482-13.604 41.062-26 52-12.396 10.963-26.792 16-44 16-23.334 0-43.417-8.79-58-26s-22-45.456-22-86c-0-38.208 7.198-64.938 22-82s34.229-26 58-26c17.208 0 31.969 4.355 44 14 12.031 9.626 20.208 23.373 24 40l64-16c-7.292-25.67-17.417-44.291-32-58-24.5-23.187-56.771-36-96-36zM714 492c-44.917 0-82.438 14.47-110 44s-40 72.624-40 126c0 50.458 12.583 88.906 40 118s63.417 44 106 44c34.417 0 61.614-9.008 84-26s38.375-42.998 48-78l-62-20c-5.396 23.482-15.604 41.062-28 52-12.396 10.963-26.792 16-44 16-23.333 0-41.417-8.79-56-26s-22-45.456-22-86c-0-38.208 7.198-64.938 22-82s34.229-26 58-26c17.208 0 31.969 4.355 44 14 12.031 9.626 20.208 23.373 24 40l64-16c-7.292-25.67-19.417-44.291-34-58-24.5-23.187-54.771-36-94-36z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall-cisco" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 388, + "id": 207, + "prevSize": 16, + "code": 59738, + "name": "it-firewall-cisco" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 90 + }, + { + "icon": { + "paths": [ + "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v112h352v-112h102v112h160v56h-18v176h18v490h-160v62h-102v-62h-352v62h-104v-62h-178v-490h320v-176h-320v-56h178v-112zM488 232v176h352v-176h-352zM266 478c-44.917 0-82.438 14.47-110 44s-40 72.624-40 126c0 50.458 12.583 88.906 40 118s63.417 44 106 44c34.417 0 61.614-9.008 84-26s38.375-42.998 48-78l-62-20c-5.396 23.482-13.604 41.062-26 52-12.396 10.963-26.792 16-44 16-23.333 0-43.417-8.79-58-26s-22-45.456-22-86c-0-38.208 7.198-64.938 22-82s34.229-26 58-26c17.208 0 31.969 4.374 44 14s20.208 23.373 24 40l64-16c-7.292-25.67-17.417-44.291-32-58-24.5-23.187-56.771-36-96-36zM768 478c-44.917 0-82.438 14.47-110 44s-40 72.624-40 126c0 50.458 12.583 88.906 40 118s63.417 44 106 44c34.417 0 61.614-9.008 84-26s38.375-42.998 48-78l-62-20c-5.396 23.482-13.604 41.062-26 52-12.396 10.963-26.792 16-44 16-23.333 0-43.417-8.79-58-26s-22-45.456-22-86c-0-38.208 7.198-64.938 22-82s34.229-26 58-26c17.208 0 31.969 4.374 44 14s20.208 23.373 24 40l64-16c-7.292-25.67-17.417-44.291-32-58-24.5-23.187-56.771-36-96-36zM420 594v96h150v-96h-150z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall-cisco2" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 389, + "id": 206, + "prevSize": 16, + "code": 59739, + "name": "it-firewall-cisco2" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 91 + }, + { + "icon": { + "paths": [ + "M68 0c-37.964 0-68 30.272-68 68v888c0 37.728 30.036 68 68 68h894c37.964 0 68-30.272 68-68v-888c0-37.728-30.036-68-68-68h-894zM244 64h104v112h354v-112h102v112h162v56h-18v176h18v490h-162v62h-102v-62h-354v62h-104v-62h-180v-490h322v-176h-322v-56h180v-112zM492 232v176h354v-176h-354zM396 496v206c-0 25.958-4.021 43.76-10 52s-15.563 12-30 12c-14.292 0-25-6.479-32-18-4.667-7.583-7.271-19.625-8-38l-60 6c0.146 34.271 8.937 60.281 26 78s40.354 28 72 28c26.979 0 49.521-6.698 66-18s27.729-25.333 34-44c4.666-14.292 6-35.458 6-62v-202h-64zM530 496v320h64v-122h42c29.312 0 52.542-0.938 68-4 11.375-2.479 22.989-8.344 34-16s18.854-16.583 26-30c7.146-13.416 12-30.312 12-50-0-25.521-7.604-45.885-20-62s-27.625-27.187-46-32c-11.959-3.208-36.625-4-76-4h-104zM594 550h32c23.333 0 38.271 0.542 46 2 10.5 1.896 19.146 6.417 26 14s10 16.334 10 28c-0 9.479-1.115 18.854-6 26s-13.396 12.646-22 16c-8.604 3.354-24.479 4-50 4h-36v-90z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall-juniper" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 390, + "id": 205, + "prevSize": 16, + "code": 59740, + "name": "it-firewall-juniper" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 92 + }, + { + "icon": { + "paths": [ + "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v112h352v-112h102v112h160v56h-18v176h18v82h-154v322h154v86h-160v62h-102v-62h-352v62h-104v-62h-178v-86h24v-210l100 210h50v-322h-46v214l-102-214h-26v-82h320v-176h-320v-56h178v-112zM488 232v176h352v-176h-352zM306 490v322h168v-54h-102v-88h84v-54h-84v-72h96v-54h-162zM500 490l92 186v136h50v-136l90-186h-58l-56 128-58-128h-60zM870 544h90v72h-90v-72zM870 670h90v88h-90v-88z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall-neteye" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 391, + "id": 204, + "prevSize": 16, + "code": 59741, + "name": "it-firewall-neteye" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 93 + }, + { + "icon": { + "paths": [ + "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v112h352v-112h102v112h160v56h-18v176h18v490h-160v62h-102v-62h-352v62h-104v-62h-178v-490h320v-176h-320v-56h178v-112zM488 232v176h352v-176h-352zM122 498v54h148l-168 208v58h260v-54h-182l176-216v-50h-234zM380 498v54h96v266h64v-266h96v-54h-256zM678 498v320h244v-54h-180v-88h162v-54h-162v-70h174v-54h-238z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall-zte" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 392, + "id": 203, + "prevSize": 16, + "code": 59742, + "name": "it-firewall-zte" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 94 + }, + { + "icon": { + "paths": [ + "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v12c-36.731 40.161-60 93.286-60 152 0 1.333-0.023 2.673 0 4h-222v-56h178v-112zM698 64h102v112h160v56h-18v176h18v490h-160v62h-102v-62h-352v62h-104v-62h-178v-490h312c37.915 28.819 84.701 46 136 46s98.085-17.181 136-46h192v-176h-102c0.023-1.34 0-2.655 0-4 0-47.763-14.694-91.517-40-128v-36zM418 98h188v48h-132v64h114v46h-114v118h-56v-276zM122 498v54h148l-146 180-22 28v58h260v-54h-182l176-216v-50h-234zM380 498v54h96v266h64v-266h96v-54h-256zM678 498v320h244v-54h-180v-88h162v-54h-162v-70h174v-54h-238z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall-ztemf" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 393, + "id": 202, + "prevSize": 16, + "code": 59743, + "name": "it-firewall-ztemf" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 95 + }, + { + "icon": { + "paths": [ + "M68 0c-37.728 0-68 30.272-68 68v888c0 37.728 30.272 68 68 68h888c37.728 0 68-30.272 68-68v-888c0-37.728-30.272-68-68-68h-888zM242 64h104v12c-36.731 40.161-60 93.286-60 152 0 1.333-0.023 2.673 0 4h-222v-56h178v-112zM698 64h102v112h160v56h-18v176h18v490h-160v62h-102v-62h-352v62h-104v-62h-178v-490h312c37.915 28.819 84.701 46 136 46s98.085-17.181 136-46h192v-176h-102c0.023-1.34 0-2.655 0-4 0-47.763-14.694-91.517-40-128v-36zM410 98h56v148c-0 23.625 0.625 39 2 46 2.375 11.25 7.062 21.188 16 28s20.5 10 36 10c15.75 0 28-3.562 36-10s12.375-14.625 14-24c1.625-9.375 4-24.25 4-46v-152h54v144c-0 33-1 56.375-4 70s-7.938 24.625-16 34c-8.063 9.375-18.5 16.438-32 22s-32.25 8-54 8c-26.25-0-46.438-1.937-60-8s-24.125-14.312-32-24c-7.875-9.687-11.5-19.375-14-30-3.625-15.75-6-39.25-6-70v-146zM122 498v54h148l-146 180-22 28v58h260v-54h-182l176-216v-50h-234zM380 498v54h96v266h64v-266h96v-54h-256zM678 498v320h244v-54h-180v-88h162v-54h-162v-70h174v-54h-238z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-firewall-zteutm" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 394, + "id": 201, + "prevSize": 16, + "code": 59744, + "name": "it-firewall-zteutm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 96 + }, + { + "icon": { + "paths": [ + "M260 2c-65.696 7.147-134.149 50.113-186 122-94.814 131.45-98.966 314.24-10 410 37.902 40.797 87.3 58.623 138 56v402c42.667 47.332 85.333 40.057 128 0v-456c23.249-18.201 46.339-38.742 66-66 94.814-131.45 100.966-316.24 12-412-33.362-35.91-75.78-53.99-120-56-9.213-0.419-18.615-1.021-28 0zM484 46c54.103 128.562 67.65 281.261-28 418-34.982 50.009-66.676 94.444-104 130l102 12c620.106-30.772 784.298-551.082 242-514-68.87 4.709-170.379-12.038-212-46zM270 106c28.56 1.298 54.453 12.807 76 36 57.459 61.847 55.236 181.102-6 266s-158.541 103.847-216 42c-57.459-61.847-53.236-181.102 8-266 38.272-53.061 90.4-80.163 138-78z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-gather" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 395, + "id": 200, + "prevSize": 16, + "code": 59745, + "name": "it-gather" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 97 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h768c70.912 0 128-57.088 128-128v-768c0-70.912-57.088-128-128-128h-768zM164 352h64v320h-64v-320zM290 352h128c25.375 0 45.531-0.115 58 2s24.156 7.292 34 14c9.843 6.709 17.437 14.844 24 26s10 24.146 10 38c-0 15.021-3.907 29.459-12 42s-20.146 21.729-34 28c19.541 5.688 35.5 16.292 46 30s16 29.479 16 48c-0 14.583-3.219 28.219-10 42s-16.261 23.76-28 32c-11.74 8.24-26.792 14.104-44 16-10.792 1.167-36.729 1.708-78 2h-110v-320zM614 352h104c39.375 0 66.041 0.792 78 4 18.375 4.813 33.604 15.886 46 32s18 36.479 18 62c-0 19.688-2.854 36.584-10 50s-16.99 24.344-28 32c-11.011 7.656-22.625 11.521-34 14-15.459 3.063-36.688 6-66 6h-44v120h-64v-320zM356 406v74h42c25.229 0 39.875-1.27 46-2 11.083-1.312 19.656-5.656 26-12s10-13.646 10-24c-0-9.916-2.531-17.802-8-24s-13.209-10.687-24-12c-6.417-0.729-25.521 0-56 0h-36zM678 406v90h36c25.521 0 43.396-0.646 52-4s15.114-8.854 20-16c4.885-7.146 8-14.521 8-24-0-11.666-5.146-22.416-12-30s-15.5-12.104-26-14c-7.729-1.458-22.667-2-46-2h-32zM356 532v86h60c23.333 0 37.729-0.687 44-2 9.625-1.75 17.948-5.219 24-12s8-16.625 8-28c-0-9.625-1.334-17.292-6-24s-11.177-10.937-20-14c-8.823-3.062-28.542-6-58-6h-52z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-ibp" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 396, + "id": 199, + "prevSize": 16, + "code": 59746, + "name": "it-ibp" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 98 + }, + { + "icon": { + "paths": [ + "M128 0c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h768c70.912 0 128-57.088 128-128v-768c0-70.912-57.088-128-128-128h-768zM164 170h64v322h-64v-322zM290 170h128c25.375 0 45.531 1.886 58 4s24.156 7.292 34 14c9.843 6.709 17.437 14.844 24 26s10 24.146 10 38c-0 15.021-3.907 27.459-12 40s-20.146 21.729-34 28c19.541 5.688 35.5 16.292 46 30s16 29.479 16 48c-0 14.583-3.219 28.219-10 42s-16.261 25.76-28 34c-11.74 8.24-26.792 14.104-44 16-10.792 1.167-36.729 1.708-78 2h-110v-322zM614 170h104c39.375 0 66.041 2.792 78 6 18.375 4.813 33.604 13.886 46 30s18 38.479 18 64c-0 19.688-2.854 34.584-10 48s-16.99 24.344-28 32c-11.011 7.656-22.625 13.521-34 16-15.459 3.063-36.688 4-66 4h-44v122h-64v-322zM356 224v74h42c25.229 0 39.875 0.73 46 0 11.083-1.312 19.656-5.656 26-12s10-15.646 10-26c-0-9.916-2.531-17.802-8-24s-13.209-8.687-24-10c-6.417-0.729-25.521-2-56-2h-36zM678 224v92h36c25.521 0 43.396-2.646 52-6s15.114-6.854 20-14c4.885-7.146 8-16.521 8-26-0-11.666-5.146-20.416-12-28s-15.5-12.104-26-14c-7.729-1.458-22.667-4-46-4h-32zM356 352v86h60c23.333 0 37.729-0.687 44-2 9.625-1.75 17.948-7.219 24-14s8-14.625 8-26c-0-9.625-1.334-19.292-6-26s-11.177-10.937-20-14c-8.823-3.062-28.542-4-58-4h-52zM196 598c27.125 0 48.5 7.375 64 22s24 34.25 24 56c-0 12.375-3.563 22.813-8 34s-10.375 23.75-20 36c-6.375 8.125-17.375 18.75-34 34s-27.563 25-32 30c-4.438 5-9.25 11.25-12 16h106v48h-186c2-18.5 8-35.438 18-52s30.5-38.625 60-66c23.75-22.125 38.625-36.125 44-44 7.25-10.875 10-23.375 10-34-0-11.75-1.688-19.687-8-26s-14.875-10-26-10c-11 0-21.5 3.375-28 10s-9 18.625-10 34l-52-6c3.125-29 11.5-49.375 28-62s37.25-20 62-20zM408 598c26.625 0 47 11 62 30 17.875 22.5 28 57.875 28 110-0 52-10 91.25-28 114-14.875 18.75-35.375 28-62 28-26.75 0-47.625-11.437-64-32s-24-57.25-24-110c-0-51.75 8-89.25 26-112 14.875-18.75 35.375-28 62-28zM622 598c26.625 0 47 11 62 30 17.875 22.5 28 57.875 28 110-0 52-10 91.25-28 114-14.875 18.75-35.375 28-62 28-26.75 0-47.625-11.437-64-32s-26-57.25-26-110c-0-51.75 10-89.25 28-112 14.875-18.75 35.375-28 62-28zM836 598c26.625 0 47 11 62 30 17.875 22.5 28 57.875 28 110-0 52-10 91.25-28 114-14.875 18.75-35.375 28-62 28-26.75 0-47.625-11.437-64-32s-26-57.25-26-110c0-51.75 10-89.25 28-112 14.875-18.75 35.375-28 62-28zM408 642c-6.375 0-11 1.937-16 6s-9.25 11.5-12 22c-3.625 13.625-6 35.75-6 68s2.75 55.938 6 68c3.25 12.063 7.062 20 12 24s9.625 6 16 6c6.375 0 13-1.937 18-6s9.25-11.5 12-22c3.625-13.5 4-37.75 4-70s-0.75-53.937-4-66c-3.25-12.062-7.063-19.937-12-24s-11.625-5.999-18-6zM622 642c-6.375 0-11 1.937-16 6s-9.25 11.5-12 22c-3.625 13.625-6 35.75-6 68s0.75 55.938 4 68c3.25 12.063 9.062 20 14 24s9.625 6 16 6c6.375 0 13-1.937 18-6s7.25-11.5 10-22c3.625-13.5 6-37.75 6-70s-0.75-53.937-4-66c-3.25-12.062-7.063-19.937-12-24s-11.625-5.999-18-6zM836 642c-6.375 0-13 1.937-18 6s-7.25 11.5-10 22c-3.625 13.625-6 35.75-6 68s0.75 55.938 4 68c3.25 12.063 7.062 20 12 24s11.625 6 18 6c6.375 0 11-1.937 16-6s9.25-11.5 12-22c3.625-13.5 6-37.75 6-70s-0.75-53.937-4-66c-3.25-12.062-9.063-19.937-14-24s-9.625-5.999-16-6z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-ibp-ibp2000" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 397, + "id": 198, + "prevSize": 16, + "code": 59747, + "name": "it-ibp-ibp2000" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 99 + }, + { + "icon": { + "paths": [ + "M512 0c-282.77 0-512 229.229-512 512s229.23 512 512 512c282.77 0 512-229.229 512-512s-229.23-512-512-512zM460 100c-0.035 0.64 0 1.344 0 1.984v144h-106c13.653-49.069 32.968-94.080 54-136 16.822-4.352 34.424-7.789 52-10.003zM564 100c14.799 1.856 29.727 4.608 44 8 21.464 42.010 40.007 88.672 54 138.003h-98v-144c0-0.64 0.035-1.344 0-1.984zM728 158.003c38.764 23.725 74.975 53.293 104 88h-74c-8.692-30.573-18.367-60.154-30-88zM286 164.019c-10.493 26.163-20.063 53.523-28 82.003h-66c26.566-31.763 59.179-59.334 94-82.003zM894 346.022c15.484 35.52 24.974 74.131 30 113.997h-134c-1.3-38.579-4.291-75.648-10-112h102c3.699 0 8.643-0.96 12-1.984zM128 348.006h110c-5.555 36.416-10.864 73.389-12 112h-126c4.91-38.938 13.095-77.184 28-112zM332 348.006h128v112h-138c1.129-38.362 4.536-75.872 10-112zM564 348.006h120c5.637 36.122 8.706 73.606 10 112h-130v-112zM100 564.006h128c3.115 38.906 10.371 75.571 18 112h-118c-14.905-34.816-23.090-73.062-28-112zM324 564.006h136v112h-120c-7.481-36.346-12.966-73.126-16-112zM564 564.006h130c-2.897 38.304-8.783 76.128-16 112h-114v-112zM788 564.006h136c-4.91 38.938-13.095 77.184-28 112h-124c7.324-35.814 13.028-73.824 16-112zM194 780.006h78c12.495 36.038 29.429 68.461 46 100-47.143-24.954-89.788-59.642-124-100zM368 780.006h92v144c-7.868-0.96-16.275-0.64-24-1.984-26.587-42.522-49.947-89.542-68-142.003zM564 780.006h86c-17.597 51.622-40.138 99.91-66 142.003-6.473 1.152-13.428 1.152-20 1.984v-144zM746 780.006h84c-35.169 41.491-79.231 76.851-128 102.003 16.61-31.923 31.55-65.536 44-102.003z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-net" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 398, + "id": 197, + "prevSize": 16, + "code": 59748, + "name": "it-net" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 100 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM248 230l124 32-142 528-122-32 140-528zM448 232h128v546h-128v-546zM774 234l142 528-124 32-142-528 124-32z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 399, + "id": 196, + "prevSize": 16, + "code": 59749, + "name": "it-other" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 101 + }, + { + "icon": { + "paths": [ + "M832 0h-640c-105.984 0-192 85.969-192 192v640c0 106.031 86.016 192 192 192h640c106.031 0 192-85.969 192-192v-640c0-106.031-85.969-192-192-192zM607.697 84.992c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012c-44.218 0-80.012-35.84-80.012-80.012s35.747-80.012 80.012-80.012zM392.332 84.992c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012-80.012-35.84-80.012-80.012 35.84-80.012 80.012-80.012zM177.012 245.015c-44.172 0-80.012-35.84-80.012-80.012s35.84-80.012 80.012-80.012 80.012 35.84 80.012 80.012-35.84 80.012-80.012 80.012zM574.65 945.99l-45.382-117.993h-162.863l-42.775 117.993h-54.691l149.551-389.446h55.529l159.372 389.446h-58.74zM607.697 511.023c-44.218 0-80.012-35.84-80.012-80.012s35.793-80.012 80.012-80.012c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012zM715.171 945.99h-47.802v-389.446h47.802v389.446zM823.017 511.023c-44.172 0-80.012-35.84-80.012-80.012s35.84-80.012 80.012-80.012 79.965 35.84 79.965 80.012-35.793 80.012-79.965 80.012zM823.017 245.015c-44.172 0-80.012-35.84-80.012-80.012s35.84-80.012 80.012-80.012 79.965 35.84 79.965 80.012-35.793 80.012-79.965 80.012z", + "M445.021 597.504c-4.934 24.948-11.962 49.757-20.945 74.38l-42.775 114.176h132.049l-40.681-107.753c-12.428-32.815-21.597-59.811-27.648-80.803z" + ], + "attrs": [ + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-alteon" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 4, + 4 + ] + } + }, + "attrs": [ + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + } + ], + "properties": { + "order": 400, + "id": 195, + "prevSize": 16, + "code": 59750, + "name": "it-other-alteon" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 102 + }, + { + "icon": { + "paths": [ + "M816.035 622.871c-8.611-2.281-24.436-3.398-47.569-3.398h-98.49v137.681h99.561c32.954 0 56.32-6.144 70.191-18.432 13.824-12.241 20.713-29.51 20.713-51.712 0-16.151-4.049-29.929-12.195-41.425-8.192-11.45-18.944-19.037-32.209-22.714z", + "M832 0h-640c-105.984 0-192 85.969-192 192v640c0 105.984 86.016 192 192 192h640.047c105.937 0 191.953-86.016 191.953-192v-640c0-106.031-86.016-192-192-192zM823.017 84.992c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012-80.012-35.84-80.012-80.012c0-44.172 35.793-80.012 80.012-80.012zM823.017 350.999c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012-80.012-35.84-80.012-80.012c0-44.172 35.793-80.012 80.012-80.012zM607.744 84.992c44.125 0 80.012 35.84 80.012 80.012s-35.887 80.012-80.012 80.012c-44.265 0-80.058-35.84-80.058-80.012s35.747-80.012 80.058-80.012zM392.332 84.992c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012c-44.172 0-80.012-35.84-80.012-80.012s35.84-80.012 80.012-80.012zM177.012 245.015c-44.172 0-80.012-35.84-80.012-80.012s35.84-80.012 80.012-80.012c44.172 0 80.012 35.84 80.012 80.012s-35.84 80.012-80.012 80.012zM520.192 959.162l-44.916-116.643h-161.094l-42.31 116.643h-54.132l147.921-385.164h54.924l157.649 385.164h-58.042zM527.686 431.011c0-44.172 35.793-80.012 80.058-80.012 44.125 0 80.012 35.84 80.012 80.012s-35.887 80.012-80.012 80.012c-44.311 0-80.058-35.84-80.058-80.012zM881.711 768.559c-20.852 22.668-58.554 34.025-113.012 34.025h-98.769v156.579h-51.014v-385.164h145.315c25.553 0 45.103 1.21 58.601 3.677 18.897 3.119 34.769 9.123 47.523 18.013s23.087 21.225 30.86 37.19c7.82 15.965 11.683 33.466 11.683 52.55 0.047 32.768-10.333 60.416-31.185 83.13z", + "M391.959 614.447c-4.887 24.716-11.823 49.245-20.759 73.588l-42.31 112.966h130.607l-40.215-106.682c-12.241-32.349-21.364-59.020-27.322-79.872z" + ], + "attrs": [ + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-appdirector" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 4, + 4, + 4 + ] + } + }, + "attrs": [ + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + }, + { + "fill": "rgb(100, 148, 206)" + } + ], + "properties": { + "order": 401, + "id": 194, + "prevSize": 16, + "code": 59751, + "name": "it-other-appdirector" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 103 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM518 230h186c36.836 0.001 65.899 2.491 84 6s33.71 10.875 48 22c14.289 11.126 26.473 25.499 36 44 9.526 18.503 14 39.023 14 62-0 24.912-6.251 47.2-18 68s-27.889 37.6-48 48c28.367 9.433 50.757 25.266 66 48s22 49.284 22 80c-0 24.186-4.156 47.145-14 70s-22.959 40.335-40 54c-17.042 13.665-39.020 22.856-64 26-15.666 1.936-52.089 3.521-112 4h-160v-532zM124 234h94v438h234v90h-328v-528zM612 318v124h62c36.624 0.001 59.108-0.803 68-2 16.089-2.175 28.791-9.479 38-20s14-24.828 14-42c-0-16.446-4.061-29.72-12-40-7.939-10.278-18.334-15.823-34-18-9.315-1.211-37.755-2-82-2h-54zM612 530v142h88c33.872 0 54.897-1.825 64-4 13.972-2.9 25.214-8.754 34-20s14-27.135 14-46c-0-15.962-3.226-28.874-10-40-6.775-11.125-17.192-18.921-30-24-12.808-5.083-41.237-7.999-84-8h-76z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-atca-lb10" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 402, + "id": 193, + "prevSize": 16, + "code": 59752, + "name": "it-other-atca-lb10" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 104 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM528 330c37.548 0.001 68.55 12.645 92 38 13.958 14.991 23.021 37.933 30 66l-60 16c-3.629-18.179-12.484-33.475-24-44s-25.529-13.999-42-14c-22.752 0.001-39.832 9.342-54 28s-22 48.219-22 90c-0 44.333 8.041 75.183 22 94s31.666 28 54 28c16.471 0 30.135-6.038 42-18 11.864-11.96 20.835-30.325 26-56l60 22c-9.213 38.273-24.574 67.422-46 86s-49.058 28-82 28c-40.759 0-73.758-16.186-100-48s-40-76.823-40-132c-0-58.366 13.618-103.707 40-136s61.008-47.999 104-48zM812 330c38.525 0.001 68.528 10.704 88 30s29.023 43.787 30 76l-62 4c-2.653-18.020-7.276-30.106-16-38s-22.552-12-40-12c-18.007 0-31.81 3.55-42 12-6.561 5.425-10 12.911-10 22-0 8.293 3.859 14.1 10 20 7.817 7.495 25.85 15.867 56 24s51.553 17.309 66 26c14.447 8.691 25.834 20.93 34 36s14 33.834 14 56c-0 20.093-6.23 38.458-16 56s-24.133 29.468-42 38c-17.867 8.532-39.339 14-66 14-38.805 0-69.202-11.508-90-32s-31.952-48.77-36-88l60-8c3.629 23.124 10.903 41.156 22 52s25.156 16 44 16c19.96 0 35.88-4.351 46-14 10.12-9.647 16-21.083 16-34-0-8.292-3.743-16.179-8-22s-11.392-11.694-22-16c-7.259-2.866-24.177-6.664-50-14-33.221-9.409-56.6-22.285-70-36-18.844-19.296-28-42.252-28-70 0-17.86 5.136-34.451 14-50 8.864-15.548 21.32-27.867 38-36s36.41-11.999 60-12zM84 336h62v190c-0 30.139 2.464 51.070 4 60 2.652 14.352 8.020 25.309 18 34s24.691 12 42 12c17.587 0 29.066-3.786 38-12 8.933-8.213 16.185-18.040 18-30s2-32.252 2-60v-194h62v184c-0 42.1-2.65 72.618-6 90s-8.997 32.040-18 44c-9.003 11.96-20.925 20.904-36 28s-33.712 12-58 12c-29.313 0-52.855-4.264-68-12-15.145-7.735-27.206-17.641-36-30s-13.208-26.445-16-40c-4.048-20.093-8-48.77-8-88v-188z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-cisco-ucs" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 403, + "id": 192, + "prevSize": 16, + "code": 59753, + "name": "it-other-cisco-ucs" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 105 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM528 330c37.548 0.001 68.55 12.645 92 38 13.958 14.991 23.021 37.933 30 66l-60 16c-3.629-18.179-12.484-33.475-24-44s-25.529-13.999-42-14c-22.752 0.001-39.832 9.342-54 28s-22 48.219-22 90c-0 44.333 8.041 75.183 22 94s31.666 28 54 28c16.471 0 30.135-6.038 42-18 11.864-11.96 20.835-30.325 26-56l60 22c-9.213 38.273-24.574 67.422-46 86s-49.058 28-82 28c-40.759 0-73.758-16.186-100-48s-40-76.823-40-132c-0-58.366 13.618-103.707 40-136s61.008-47.999 104-48zM812 330c38.525 0.001 68.528 10.704 88 30s29.023 43.787 30 76l-62 4c-2.653-18.020-7.276-30.106-16-38s-22.552-12-40-12c-18.007 0-31.81 3.55-42 12-6.561 5.425-10 12.911-10 22-0 8.293 1.859 14.1 8 20 7.817 7.495 27.85 15.867 58 24s51.553 17.309 66 26c14.447 8.691 25.834 20.93 34 36s12 33.834 12 56c-0 20.093-4.23 38.458-14 56s-24.133 29.468-42 38c-17.867 8.532-39.339 14-66 14-38.805 0-69.202-11.508-90-32s-31.952-48.77-36-88l60-8c3.629 23.124 10.903 41.156 22 52s25.156 16 44 16c19.96 0 35.88-4.351 46-14 10.12-9.647 14-21.083 14-34-0-8.292-1.743-16.179-6-22s-11.392-11.694-22-16c-7.259-2.866-24.177-6.664-50-14-33.221-9.409-56.6-22.285-70-36-18.844-19.296-28-42.252-28-70 0-17.86 5.137-34.451 14-50 8.864-15.548 21.32-27.867 38-36s36.41-11.999 60-12zM86 336h112c25.544 0.001 44.6 3.533 58 8 18.006 6.061 35.158 16.532 48 32s21.3 33.595 28 56c6.7 22.405 10 51.149 10 84-0 28.864-3.719 53.109-10 74-7.677 25.515-17.763 46.212-32 62-10.748 11.96-25.715 21.302-44 28-13.679 4.946-31.108 8-54 8h-116v-352zM148 396v232h46c17.308 0 28.323-1.77 36-4 10.050-2.873 19.37-7.142 26-14s11.812-18.292 16-34c4.187-15.708 6-36.89 6-64s-1.813-47.488-6-62c-4.188-14.512-10.463-25.866-18-34s-16.415-13.129-28-16c-8.654-2.23-26.735-4-52-4h-26z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-dcs" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 404, + "id": 191, + "prevSize": 16, + "code": 59754, + "name": "it-other-dcs" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 106 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM88 336h112c25.544 0.001 46.6 3.533 60 8 18.006 6.061 33.158 16.532 46 32s21.3 33.595 28 56c6.7 22.405 10 51.149 10 84-0 28.864-1.719 53.109-8 74-7.677 25.515-19.763 46.212-34 62-10.748 11.96-25.715 21.302-44 28-13.679 4.946-31.108 8-54 8h-116v-352zM748 336h66l122 352h-66l-28-80h-122l-26 80h-66l120-352zM400 340h62v288h154v60h-216v-348zM150 396v232h46c17.308 0 30.323-1.77 38-4 10.050-2.873 17.37-7.142 24-14s11.812-18.292 16-34c4.187-15.708 6-36.89 6-64s-1.813-47.488-6-62c-4.188-14.512-10.463-25.866-18-34s-16.415-13.129-28-16c-8.654-2.23-24.735-4-50-4h-28zM780 418l-42 130h84l-42-130z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-delta" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 405, + "id": 190, + "prevSize": 16, + "code": 59755, + "name": "it-other-delta" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 107 + }, + { + "icon": { + "paths": [ + "M799.651 382.836c-9.123-2.42-26.159-3.677-50.921-3.677h-105.472v147.363h106.589c35.281 0 60.276-6.563 75.124-19.689 14.708-13.126 22.295-31.604 22.295-55.389 0-17.268-4.422-32.023-13.126-44.311-8.797-12.241-20.294-20.34-34.49-24.297z", + "M887.994 0h-751.988c-75.59 0-136.006 60.416-136.006 136.006v751.988c0 75.543 60.416 136.006 136.006 136.006h751.988c75.543 0 136.006-60.463 136.006-136.006v-751.988c0-75.59-60.463-136.006-136.006-136.006zM445.021 617.705c-7.308 24.204-16.663 44.172-28.113 60.044-11.45 15.919-23.971 28.3-37.562 37.423s-30.022 16.012-49.199 20.666c-19.223 4.655-41.286 7.028-66.234 7.028h-148.759v-412.346h142.010c32.070 0 56.506 1.955 73.402 5.911 23.599 5.446 43.753 15.313 60.463 29.556 21.737 18.339 37.981 41.844 48.826 70.423 10.752 28.579 16.151 61.254 16.151 98.025-0.047 31.279-3.677 59.066-10.985 83.27zM869.981 538.81c-22.342 24.297-62.65 36.445-121.018 36.445h-105.705v167.61h-54.551v-412.346h155.555c27.369 0 48.221 1.303 62.743 3.956 20.294 3.351 37.143 9.775 50.874 19.27 13.638 9.495 24.762 22.714 33.001 39.75 8.425 17.082 12.614 35.84 12.614 56.227 0 35.142-11.217 64.791-33.513 89.088z", + "M326.889 387.631c-14.615-5.632-38.167-8.471-70.609-8.471h-86.575v315.020h88.064c27.183 0 48.5-2.56 64-7.54 15.453-5.12 27.788-12.288 36.957-21.364 12.94-12.986 22.993-30.394 30.208-52.224 7.215-21.783 10.845-48.314 10.845-79.407 0-43.148-7.075-76.288-21.225-99.468-14.196-23.133-31.418-38.679-51.665-46.545z" + ], + "attrs": [ + { + "fill": "rgb(96, 140, 193)" + }, + { + "fill": "rgb(96, 140, 193)" + }, + { + "fill": "rgb(96, 140, 193)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-dp" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 3, + 3, + 3 + ] + } + }, + "attrs": [ + { + "fill": "rgb(96, 140, 193)" + }, + { + "fill": "rgb(96, 140, 193)" + }, + { + "fill": "rgb(96, 140, 193)" + } + ], + "properties": { + "order": 406, + "id": 189, + "prevSize": 16, + "code": 59756, + "name": "it-other-dp" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 108 + }, + { + "icon": { + "paths": [ + "M743.936 0h-471.459c-152.623 0-276.294 124.975-276.294 279.133v465.734c0 154.159 123.671 279.133 276.294 279.133h471.505c152.529 0 276.247-125.021 276.247-279.133v-465.734c-0.047-154.159-123.718-279.133-276.294-279.133zM234.17 777.123c-8.657 25.088-21.504 44.172-38.54 57.297-17.082 13.079-37.050 19.642-60.044 19.642-24.343 0-44.265-7.168-59.671-21.597-15.453-14.383-24.716-34.583-27.834-60.695l36.771-3.584c3.119 18.385 9.030 31.744 17.827 39.983 8.751 8.285 20.015 12.428 33.792 12.428 11.729 0 22.063-2.886 30.906-8.611 8.844-5.679 16.105-13.359 21.783-22.9 5.679-9.588 10.426-22.481 14.243-38.772s5.725-32.861 5.725-49.711c0-1.815-0.047-4.515-0.186-8.145-7.68 12.94-18.106 23.459-31.325 31.558-13.219 8.052-27.555 12.102-43.008 12.102-25.786 0-47.569-9.961-65.443-29.882-17.827-19.875-26.764-46.080-26.764-78.615 0-33.606 9.309-60.649 27.927-81.129s41.937-30.72 70.004-30.72c20.247 0 38.772 5.818 55.529 17.408 16.756 11.636 29.51 28.16 38.214 49.617 8.751 21.457 13.079 52.55 13.079 93.231-0 42.356-4.329 76.009-12.986 101.097zM402.991 92.486h214.063v40.401h-174.871v104.82h163.747v40.169h-163.747v116.503h181.76v40.401h-220.951v-342.295zM476.113 779.171c-7.494 23.878-18.711 42.356-33.652 55.343-14.941 13.033-33.839 19.549-56.599 19.549-30.022 0-53.62-11.45-70.749-34.304-20.527-27.601-30.813-72.518-30.813-134.749 0-39.191 3.817-70.703 11.357-94.58 7.587-23.878 18.851-42.263 33.792-55.249 14.941-12.94 33.745-19.409 56.413-19.409 16.71 0 31.372 3.584 43.985 10.705 12.614 7.168 22.993 17.501 31.185 30.953 8.239 13.498 14.662 29.929 19.363 49.292s6.982 45.475 6.982 78.336c0 38.865-3.77 70.284-11.264 94.115zM718.057 779.171c-7.494 23.878-18.711 42.356-33.699 55.343-14.895 13.033-33.839 19.549-56.599 19.549-30.068 0-53.574-11.45-70.749-34.304-20.527-27.601-30.813-72.518-30.813-134.749 0-39.191 3.817-70.703 11.357-94.58 7.587-23.878 18.851-42.263 33.792-55.249 14.941-12.94 33.745-19.409 56.413-19.409 16.71 0 31.372 3.584 43.939 10.705 12.614 7.168 23.040 17.501 31.232 30.953 8.239 13.498 14.662 29.929 19.316 49.292 4.701 19.363 7.028 45.475 7.028 78.336 0.047 38.865-3.724 70.284-11.217 94.115zM960 779.171c-7.494 23.878-18.711 42.356-33.699 55.343-14.895 13.033-33.839 19.549-56.599 19.549-30.068 0-53.574-11.45-70.749-34.304-20.527-27.601-30.813-72.518-30.813-134.749 0-39.191 3.817-70.703 11.357-94.58 7.587-23.878 18.851-42.263 33.792-55.249 14.941-12.94 33.745-19.409 56.413-19.409 16.71 0 31.372 3.584 43.939 10.705 12.614 7.168 23.040 17.501 31.232 30.953 8.239 13.498 14.662 29.929 19.316 49.292 4.701 19.363 7.028 45.475 7.028 78.336 0.047 38.865-3.724 70.284-11.217 94.115z", + "M627.386 549.469c-17.594 0-31.604 7.913-42.077 23.738-13.126 20.201-19.735 57.437-19.735 111.849s5.958 90.577 17.967 108.591c11.962 18.013 26.717 26.996 44.265 26.996s32.303-8.983 44.265-27.089c12.009-18.106 17.967-54.272 17.967-108.497 0-54.551-5.958-90.764-17.967-108.73-11.962-17.92-26.903-26.857-44.684-26.857z", + "M385.396 549.469c-17.548 0-31.558 7.913-42.031 23.738-13.172 20.201-19.782 57.437-19.782 111.849s6.004 90.577 17.967 108.591c11.962 18.013 26.717 26.996 44.311 26.996 17.548 0 32.303-8.983 44.311-27.089 11.962-18.106 17.92-54.272 17.92-108.497 0-54.551-5.958-90.764-17.92-108.73-12.009-17.92-26.903-26.857-44.777-26.857z", + "M869.329 549.469c-17.594 0-31.604 7.913-42.077 23.738-13.126 20.201-19.735 57.437-19.735 111.849s5.958 90.577 17.967 108.591c11.962 18.013 26.717 26.996 44.265 26.996s32.303-8.983 44.265-27.089c12.009-18.106 17.967-54.272 17.967-108.497 0-54.551-5.958-90.764-17.967-108.73-11.962-17.92-26.857-26.857-44.684-26.857z", + "M144.989 549.469c-16.989 0-31.791 7.354-44.404 22.156-12.614 14.755-18.897 33.932-18.897 57.391 0 21.085 6.004 38.214 17.967 51.386s26.717 19.782 44.311 19.782c17.687 0 32.256-6.609 43.66-19.782s17.082-31.465 17.082-54.831c0-23.319-5.818-41.844-17.501-55.575-11.729-13.684-25.833-20.527-42.217-20.527z" + ], + "attrs": [ + { + "fill": "rgb(100, 155, 230)" + }, + { + "fill": "rgb(100, 155, 230)" + }, + { + "fill": "rgb(100, 155, 230)" + }, + { + "fill": "rgb(100, 155, 230)" + }, + { + "fill": "rgb(100, 155, 230)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-e9000" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 6, + 6, + 6, + 6, + 6 + ] + } + }, + "attrs": [ + { + "fill": "rgb(100, 155, 230)" + }, + { + "fill": "rgb(100, 155, 230)" + }, + { + "fill": "rgb(100, 155, 230)" + }, + { + "fill": "rgb(100, 155, 230)" + }, + { + "fill": "rgb(100, 155, 230)" + } + ], + "properties": { + "order": 407, + "id": 188, + "prevSize": 16, + "code": 59757, + "name": "it-other-e9000" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 109 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM200 268h288v82h-202v112h174v82h-174v204h-86v-480zM592 274h212v86h-150l-14 82c17.929-10.241 37.308-16 56-16 35.667 0 65.204 16.365 90 46 24.795 29.636 38 66.714 38 114-0 39.441-9.973 75.057-30 106-27.275 42.274-65.554 64-114 64-38.719 0-69.586-12.248-94-36s-39.232-55.905-44-96l80-10c2.289 20.701 8.747 37.906 20 50s23.313 18 38 18c16.784 0 32.365-8.42 44-24s16-38.622 16-70c-0-29.417-4.461-51.291-16-66s-27.499-22-46-22c-23.079 0-43.69 12.684-62 36l-64-12 40-250z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-f5bigip" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 408, + "id": 187, + "prevSize": 16, + "code": 59758, + "name": "it-other-f5bigip" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 110 + }, + { + "icon": { + "paths": [ + "M114 0c-63.812 0-114 47.546-114 108v602c0 53.579 40.456 98.664 94 108v-590c0-64.077 53.716-114 120-114h650v-6c0-60.454-50.188-108-114-108z", + "M273.868 209.632c-63.812 0-114.869 48.378-114.869 108.832v601.779c0 60.454 51.057 108.832 114.869 108.832h635.16c63.812 0 114.869-48.378 114.869-108.832v-601.779c0-60.454-51.057-108.832-114.869-108.832h-635.16zM327.924 424.096h243.253v65.619h-170.615v89.626h146.965v65.619h-146.965v163.251h-72.638v-384.115zM659.018 428.896h179.061v68.819h-126.694l-11.825 65.619c15.143-8.192 31.511-12.8 47.299-12.8 30.125 0 55.074 13.094 76.017 36.813 20.943 23.712 32.096 53.382 32.096 91.226-0 31.558-8.424 60.064-25.339 84.826-23.037 33.824-55.369 51.213-96.288 51.213-32.703 0-58.775-9.798-79.395-28.806s-33.136-44.742-37.164-76.826l67.57-8c1.933 16.563 7.388 30.33 16.893 40.013 9.505 9.677 19.691 14.4 32.096 14.4 14.177 0 27.336-6.739 37.164-19.206s13.514-30.906 13.514-56.013c-0-23.539-3.768-41.043-13.514-52.819-9.747-11.77-23.226-17.6-38.853-17.6-19.493 0-36.902 10.15-52.367 28.806l-54.056-9.606 33.785-200.058z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-f5bigip2" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 409, + "id": 186, + "prevSize": 16, + "code": 59759, + "name": "it-other-f5bigip2" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 111 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM230 158c36.969 0 65.213 6.495 86 22s34.041 36.646 40 64l-60 12c-4.198-14.625-12.422-25.536-24-34s-24.667-14-42-14c-26.271 0-48.495 9.344-64 26s-22 41.229-22 74c-0 35.344 8.292 62.328 24 80s34.542 26 60 26c12.594 0 25.338-3.057 38-8s24.927-10.958 34-18v-38h-70v-50h130v118c-12.594 12.188-30.099 24.724-54 34s-49.49 14-74 14c-31.146 0-56.844-6.932-80-20s-40.354-31.693-52-56c-11.646-24.307-18-51.427-18-80-0-31.010 7-57.896 20-82s30.948-43.135 56-56c19.094-9.885 43.562-14 72-14zM416 162h118c23.562 0 42.422 2.037 54 4s20.859 5.771 30 12c9.14 6.229 17.906 13.641 24 24s8 23.136 8 36c-0 13.948-2.485 26.354-10 38s-19.136 20.177-32 26c18.146 5.281 32.25 13.271 42 26s14 28.802 14 46c-0 13.542-1.704 27.203-8 40s-15.099 22.349-26 30c-10.901 7.651-24.021 12.24-40 14-10.021 1.083-35.677 1.729-74 2h-100v-298zM716 162h220v50h-160v66h150v50h-150v82h166v50h-226v-298zM476 212v68h40c23.427 0 36.312 0.677 42 0 10.291-1.219 18.109-6.109 24-12s10-12.385 10-22c-0-9.208-2.922-16.245-8-22s-11.979-10.781-22-12c-5.959-0.677-23.698 0-52 0h-34zM476 330v80h56c21.666 0 34.177-0.781 40-2 8.937-1.625 16.38-5.703 22-12s8-15.437 8-26c-0-8.937-1.667-15.771-6-22s-9.807-11.156-18-14c-8.193-2.844-26.646-4-54-4h-48zM652 576c39.229 0 71.5 12.813 96 36 14.583 13.709 24.708 32.334 32 58l-64 16c-3.792-16.625-11.969-30.375-24-40s-26.792-14-44-14c-23.771 0-43.198 8.938-58 26s-22 43.792-22 82c-0 40.542 7.417 68.792 22 86s34.667 26 58 26c17.208 0 31.604-5.062 44-16s20.604-28.521 26-52l64 20c-9.625 35-25.615 61.010-48 78s-51.584 26-86 26c-42.583 0-76.583-14.906-104-44s-42-67.542-42-118c-0-53.375 14.437-96.468 42-126s63.083-44 108-44zM356 580c31.646 0 55.916 8.938 74 26s28 38.625 28 64c-0 14.438-2.823 26.948-8 40s-12.771 27.708-24 42c-7.438 9.479-20.604 22.208-40 40s-32.823 30.167-38 36c-5.177 5.834-8.792 12.458-12 18h122v56h-216c2.333-21.583 10.333-40.677 22-60s33.583-46.062 68-78c27.708-25.812 45.729-42.812 52-52 8.458-12.687 12-25.604 12-38-0-13.708-2.636-24.635-10-32s-19.021-10-32-10c-12.833 0-22.417 4.271-30 12s-10.833 20.063-12 38l-62-6c3.646-33.833 14.75-59.271 34-74s43.125-22 72-22z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-gbe2c" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 410, + "id": 185, + "prevSize": 16, + "code": 59760, + "name": "it-other-gbe2c" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 112 + }, + { + "icon": { + "paths": [ + "M888 0h-752c-75.584 0-136 60.416-136 136v752c0 75.648 60.416 136 136 136h752c75.648 0 136-60.352 136-136v-752c0-75.584-60.352-136-136-136zM366.144 654.4h-42.432v-151.168h-166.72v151.104h-42.432v-320.64h42.432v131.712h166.656v-131.712h42.432v320.704zM600.448 630.848c-20.416 19.52-46.272 29.248-77.44 29.248-28.096 0-51.52-8.384-70.144-25.216-18.56-16.768-29.184-38.464-31.808-65.152l39.36-5.248c4.48 22.336 12.16 38.4 23.040 48.256 10.88 9.792 24.128 14.72 39.744 14.72 18.496 0 34.112-6.4 46.848-19.264s19.136-28.736 19.136-47.68c0-18.112-5.888-33.024-17.664-44.736s-26.752-17.536-44.992-17.536c-7.424 0-16.704 1.472-27.776 4.352l4.352-34.56c2.624 0.256 4.736 0.448 6.336 0.448 16.768 0 31.872-4.352 45.312-13.12 13.376-8.768 20.096-22.272 20.096-40.448 0-14.464-4.928-26.432-14.656-35.904s-22.4-14.208-37.824-14.208c-15.36 0-28.096 4.8-38.336 14.464s-16.704 24-19.648 43.264l-39.36-6.976c4.8-26.432 15.744-46.848 32.768-61.376 17.088-14.528 38.336-21.76 63.68-21.76 17.472 0 33.536 3.776 48.32 11.264 14.72 7.488 25.984 17.728 33.792 30.72s11.712 26.752 11.712 41.344c0 13.824-3.712 26.496-11.2 37.824-7.36 11.392-18.432 20.416-32.96 27.136 18.944 4.416 33.664 13.504 44.16 27.264s15.744 30.976 15.744 51.712c0 28.032-10.176 51.776-30.592 71.168zM909.184 632.448c-23.104 18.304-51.392 27.456-84.8 27.456-34.496 0-62.656-6.976-84.288-21.12-21.632-14.080-38.144-34.432-49.408-61.12s-16.96-55.36-16.96-85.952c0-33.408 6.4-62.528 19.136-87.424 12.736-24.832 30.912-43.776 54.528-56.64 23.552-12.928 49.408-19.392 77.76-19.392 32.064 0 59.072 8.128 80.96 24.512s37.12 39.296 45.76 68.928l-41.792 9.856c-7.424-23.36-18.24-40.32-32.384-50.944s-31.936-16-53.376-16c-24.64 0-45.248 5.888-61.824 17.728s-28.16 27.648-34.88 47.616c-6.656 19.904-10.048 40.384-10.048 61.568 0 27.264 4.032 51.072 11.968 71.424 7.936 20.288 20.288 35.52 37.056 45.632 16.768 9.984 34.944 15.040 54.464 15.040 23.808 0 43.968-6.784 60.352-20.544 16.512-13.76 27.712-34.048 33.472-61.056l42.432 10.688c-9.024 34.816-25.024 61.44-48.128 79.744z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-h3c" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 411, + "id": 184, + "prevSize": 16, + "code": 59761, + "name": "it-other-h3c" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 113 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v410h1024v-410c0-75.55-60.45-136-136-136h-752zM228 134h64v128h128v-128h64v322h-64v-140h-128v140h-64v-322zM550 134h104c39.375 0 66.041 2.792 78 6 18.375 4.813 33.604 15.886 46 32s18 36.479 18 62c-0 19.688-2.854 36.584-10 50s-16.99 22.344-28 30c-11.011 7.656-20.625 13.521-32 16-15.459 3.063-38.688 4-68 4h-42v122h-66v-322zM616 190v90h36c25.521 0 41.396-0.646 50-4s15.114-8.854 20-16c4.885-7.146 8-16.521 8-26-0-11.666-3.146-20.416-10-28s-15.5-12.104-26-14c-7.729-1.458-24.667-2-48-2h-30zM782 598c-39.962 0-71.478 10.197-96 32s-38 52.592-38 92c0 37.254 13.608 66.52 38 88s54.114 32 92 32c30.62 0 56.084-5.456 76-18s33.436-32.159 42-58l-54-14c-4.801 17.335-12.972 29.925-24 38s-24.69 12-40 12c-20.76 0-37.025-7.295-50-20s-20-32.067-20-62c-0-28.21 6.831-49.402 20-62s30.851-20 52-20c15.31 0 27.296 4.894 38 12s18.626 15.726 22 28l56-10c-6.488-18.95-17.026-33.879-30-44-21.798-17.12-49.098-26-84-26zM128 602v236h96c36.718-0.218 60.399 0.861 70 0 15.31-1.4 27.555-5.917 38-12s17.966-13.825 24-24c6.033-10.175 10-21.233 10-32-0-13.674-4.658-25.879-14-36s-22.614-15.801-40-20c12.326-4.63 22.799-12.74 30-22s10-18.91 10-30c-0-10.229-2.162-19.763-8-28s-13.242-15.047-22-20c-8.758-4.953-18.907-8.439-30-10s-27.424-2-50-2h-114zM416 604v234h202v-40h-144v-194h-58zM184 642h34c27.117 0 42.291-0.538 48 0 9.601 0.97 17.134 3.424 22 8s8 10.679 8 18c-0 7.645-2.356 13.317-8 18s-14.139 9.031-24 10c-5.45 0.538-19.554 0-42 0h-38v-54zM184 736h48c26.209 0 42.15 1.739 50 4s13.848 5.047 18 10c4.152 4.953 6 10.894 6 18-0 8.398-2.616 14.994-8 20s-11.437 8.708-20 10c-5.579 0.97-19.241 0-40 0h-54v-62zM0 886v2c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-2h-1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-hpblc" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 412, + "id": 183, + "prevSize": 16, + "code": 59762, + "name": "it-other-hpblc" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 114 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM108 352h64v320h-64v-320zM232 352h98l58 218 58-218h96v320h-60v-252l-64 252h-62l-62-252v252h-62v-320zM606 352h98l58 218 58-218h96v320h-60v-252l-64 252h-62l-64-252v252h-60v-320z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-imm" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 413, + "id": 182, + "prevSize": 16, + "code": 59763, + "name": "it-other-imm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 115 + }, + { + "icon": { + "paths": [ + "M887.994 0h-751.988c-75.59 0-136.006 60.416-136.006 136.006v751.988c0 75.543 60.416 136.006 136.006 136.006h751.988c75.543 0 136.006-60.463 136.006-136.006v-751.988c0-75.59-60.463-136.006-136.006-136.006zM405.923 688.454c-12.567 19.363-30.627 34.49-54.179 45.242-23.505 10.799-49.99 16.198-79.453 16.198-37.329 0-68.608-5.399-93.836-16.337-25.228-10.845-45.009-27.183-59.299-49.059-14.383-21.876-21.923-46.545-22.668-74.147l51.433-4.515c2.467 20.62 8.099 37.609 16.989 50.781 8.89 13.219 22.761 23.924 41.519 32.023 18.758 8.192 39.843 12.288 63.302 12.288 20.806 0 39.191-3.072 55.11-9.309 15.919-6.144 27.788-14.615 35.607-25.46 7.773-10.705 11.636-22.528 11.636-35.328 0-12.847-3.77-24.204-11.264-33.885-7.494-9.635-19.875-17.734-37.097-24.297-11.078-4.329-35.561-10.985-73.402-20.154-37.888-9.030-64.419-17.687-79.593-25.693-19.689-10.38-34.397-23.133-44.032-38.447-9.635-15.267-14.476-32.349-14.476-51.293 0-20.806 5.911-40.262 17.687-58.368 11.823-18.060 29.091-31.837 51.759-41.193 22.807-9.309 48.035-14.010 75.776-14.010 30.58 0 57.53 4.934 80.849 14.755 23.366 9.868 41.286 24.343 53.853 43.473s19.316 40.774 20.247 64.977l-52.317 3.956c-2.839-26.065-12.335-45.754-28.579-59.066-16.198-13.359-40.122-20.015-71.82-20.015-33.001 0-57.065 6.051-72.145 18.153s-22.621 26.671-22.621 43.753c0 14.801 5.353 26.996 16.012 36.538 10.519 9.588 37.888 19.409 82.292 29.417 44.311 10.054 74.752 18.851 91.229 26.298 24.017 10.985 41.705 25.088 53.155 41.984 11.45 16.989 17.129 36.538 17.129 58.647 0.047 22.016-6.237 42.636-18.804 62.092zM862.115 688.454c-12.614 19.363-30.627 34.49-54.132 45.242-23.645 10.799-50.129 16.198-79.5 16.198-37.376 0-68.655-5.399-93.789-16.337-25.228-10.845-45.009-27.183-59.345-49.059s-21.876-46.545-22.621-74.147l51.526-4.515c2.374 20.62 8.006 37.609 16.989 50.781 8.844 13.219 22.575 23.924 41.472 32.023 18.618 8.192 39.75 12.288 63.255 12.288 20.713 0 39.145-3.072 55.156-9.309 15.872-6.144 27.741-14.615 35.514-25.46 7.866-10.705 11.729-22.528 11.729-35.328 0-12.847-3.724-24.204-11.217-33.885-7.494-9.635-19.875-17.734-37.143-24.297-11.124-4.329-35.654-10.985-73.356-20.154-37.981-9.030-64.512-17.687-79.639-25.693-19.735-10.38-34.351-23.133-43.985-38.447-9.728-15.267-14.522-32.349-14.522-51.293 0-20.806 5.865-40.262 17.78-58.368 11.729-18.060 28.998-31.837 51.712-41.193 22.621-9.402 47.849-14.057 75.636-14.057 30.487 0 57.484 4.934 80.849 14.755 23.226 9.868 41.239 24.343 53.853 43.473 12.521 19.13 19.27 40.774 20.294 64.977l-52.364 3.956c-2.793-26.065-12.428-45.754-28.532-59.066-16.244-13.312-40.215-19.968-71.866-19.968-33.001 0-57.158 6.051-72.145 18.153-15.081 12.055-22.575 26.671-22.575 43.706 0 14.801 5.213 26.996 16.012 36.538 10.519 9.588 37.841 19.409 82.246 29.417 44.358 10.054 74.752 18.851 91.276 26.298 24.017 10.985 41.705 25.088 53.108 41.984 11.543 16.989 17.268 36.538 17.268 58.647-0.047 22.063-6.423 42.682-18.944 62.138z" + ], + "attrs": [ + { + "fill": "rgb(99, 147, 205)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-secsis" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 5 + ] + } + }, + "attrs": [ + { + "fill": "rgb(99, 147, 205)" + } + ], + "properties": { + "order": 414, + "id": 181, + "prevSize": 16, + "code": 59764, + "name": "it-other-secsis" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 116 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM714 316c46.577 0 84.911 14.61 114 42 17.315 16.194 31.342 37.681 40 68l-76 20c-4.502-19.638-15.716-36.63-30-48s-31.569-16-52-16c-28.223 0-50.426 9.845-68 30s-26 52.866-26 98c-0 47.891 8.685 81.672 26 102s40.296 30 68 30c20.431 0 37.282-5.080 52-18s25.593-34.265 32-62l74 24c-11.428 41.345-29.422 71.931-56 92s-61.137 30-102 30c-50.56 0-91.448-17.632-124-52s-50-80.395-50-140c-0-63.050 17.275-113.115 50-148s74.67-52 128-52zM156 322h84l96 280 92-280h82l-136 380h-82l-136-380z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-vc" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 415, + "id": 180, + "prevSize": 16, + "code": 59765, + "name": "it-other-vc" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 117 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v410h1024v-410c0-75.55-60.45-136-136-136h-752zM122 146h234v50l-176 218h182v54h-260v-60l168-208h-148v-54zM380 146h256v54h-96v268h-64v-268h-96v-54zM678 146h238v54h-174v72h162v54h-162v88h180v54h-244v-322zM78 606v244h56v-92h36c25.125 0 44.75-1.665 58-4 9.75-1.89 18.562-4.162 28-10s17.875-13.771 24-24c6.125-10.229 10-22.99 10-38-0-19.458-5.375-35.714-16-48s-24.25-20.331-40-24c-10.25-2.446-32.25-4-66-4h-90zM308 606l66 244h60l56-182 54 182h58l68-244h-56l-42 170-48-170h-66l-50 168-42-168h-58zM698 606v244h56v-102h10c12.75 0 22.125 2.166 28 4s12.75 5.052 18 10c5.25 4.948 13.75 16.987 28 36l40 52h68l-34-48c-13.25-19.013-24.188-30.55-32-38s-18-15.773-30-22c24.125-3.113 41.875-10.047 54-22s18-27.654 18-46c-0-14.454-4-26.77-12-38s-18.688-19.608-32-24c-13.313-4.392-34.625-6-64-6h-116zM134 648h28c20 0 33.375-1.112 40 0 9 1.446 16.125 6.219 22 12s8 13.105 8 22c-0 7.227-1.813 12.552-6 18s-10.625 9.442-18 12c-7.375 2.557-22.125 4-44 4h-30v-68zM754 648h42c22.5 0.001 37.5-0.557 42 0 9 1.334 15.063 4.941 20 10s8 11.772 8 20c0 7.338-2.25 13.108-6 18s-9.375 7.998-16 10c-6.625 2.001-23.375 4-50 4h-40v-62zM0 886v2c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-2h-1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-ztepower" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 416, + "id": 179, + "prevSize": 16, + "code": 59766, + "name": "it-other-ztepower" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 118 + }, + { + "icon": { + "paths": [ + "M510.016 0l-510.016 128c38.682 381.043-34.883 833.642 502.078 896h19.845c536.96-62.358 463.396-514.957 502.078-896l-512-128h-1.984zM130.977 332h234.171v50l-174.636 218h180.589v54h-257.984v-60l166.698-208h-148.837v-54zM388.961 332h254.016v54h-95.256v268h-63.504v-268h-95.256v-54zM684.651 332h234.171v54h-170.667v72h158.76v54h-158.76v88h176.62v54h-240.124v-322z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-ztesgs" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 417, + "id": 178, + "prevSize": 16, + "code": 59767, + "name": "it-other-ztesgs" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 119 + }, + { + "icon": { + "paths": [ + "M136 0c-75.55 0-136 60.45-136 136v752c0 75.55 60.45 136 136 136h752c75.55 0 136-60.45 136-136v-752c0-75.55-60.45-136-136-136h-752zM94 262h94l198 334v-334h92v500h-98l-196-326v326h-90v-500zM546 262h384v84h-144v416h-96v-416h-144v-84z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-other-zxsdr-nt" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 418, + "id": 177, + "prevSize": 16, + "code": 59768, + "name": "it-other-zxsdr-nt" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 120 + }, + { + "icon": { + "paths": [ + "M510.994 0c-282.703 0-510.994 228.291-510.994 510.994s228.291 513.006 510.994 513.006c282.703 0 513.006-230.303 513.006-513.006s-230.303-510.994-513.006-510.994zM506.97 110.648l122.719 122.719h-88.519v162.955c0 20.826-7.813 82.483-44.259 82.483h-66.389c33.843-9.545 42.248-60.513 42.248-80.472v-164.967h-88.519l122.719-122.719zM162.955 356.086v88.519h166.978c19.959 0 68.914-8.405 78.46-42.248v66.389c0 36.446-61.657 44.259-82.483 44.259h-162.955v88.519l-122.719-122.719 122.719-122.719zM859.033 356.086l122.719 122.719-122.719 122.719v-88.519h-164.967c-19.959-0-70.926 10.416-80.472 44.259v-66.389c0-36.446 61.657-46.271 82.483-46.271h162.955v-88.519zM430.522 543.183h66.389c36.446 0 44.259 63.669 44.259 84.495v160.943h88.519l-122.719 124.731-122.719-124.731h88.519v-164.967c0-19.959-8.405-70.926-42.248-80.472z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-router" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 419, + "id": 176, + "prevSize": 16, + "code": 59769, + "name": "it-router" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 121 + }, + { + "icon": { + "paths": [ + "M510 0c-282.703 0-510 227.297-510 510s227.297 514 510 514c9.173 0 18.943-1.521 28-2-36.918-3.27-66-32.204-66-70v-74l-88-90h88v-164c0-19.959-8.157-70.455-42-80h66c34.803 0 45.287 56.63 46 80 0.678-0.019 1.317 0 2 0h408c19.995 0 38.952 8.952 52 22 11.787-43.072 20-89.259 20-136 0-282.703-231.297-510-514-510zM506 110l124 124h-88v162c0 20.826-9.554 82-46 82h-66c33.843-9.545 42-60.041 42-80v-164h-88l122-124zM162 356v88h168c19.959 0 68.455-8.157 78-42v66c0 36.446-61.174 46-82 46h-164v88l-122-124 122-122zM860 356l122 122-122 124v-88h-166c-19.959-0-70.455 10.157-80 44v-68c0-36.446 61.174-46 82-46h164v-88zM636 686c-35.745 0-64.066 14.163-86 40s-32 61.302-32 108c-0 44.146 10.182 78.546 32 104s50.112 38 84 38c27.388 0 50.186-7.136 68-22s30.34-37.378 38-68l-50-18c-4.294 20.542-12.136 36.431-22 46s-20.306 14-34 14c-18.569 0-34.395-6.944-46-22s-18-40.53-18-76c-0-33.428 6.22-57.072 18-72s27.083-24 46-24c13.694 0 26.425 5.58 36 14s14.982 19.455 18 34l50-14c-5.803-22.456-14.395-40.006-26-52-19.497-20.287-44.782-30-76-30zM894 686c-35.745 0-64.066 14.163-86 40s-34 61.302-34 108c0 44.146 12.182 78.546 34 104s50.112 38 84 38c27.388 0 50.186-7.136 68-22s30.34-37.378 38-68l-50-18c-4.294 20.542-12.136 36.431-22 46s-22.306 14-36 14c-18.569 0-32.395-6.944-44-22s-18-40.53-18-76c-0-33.428 6.221-57.072 18-72s27.083-24 46-24c13.694 0 24.425 5.58 34 14s16.982 19.455 20 34l50-14c-5.803-22.456-14.395-40.006-26-52-19.497-20.287-44.782-30-76-30z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-router-cisco" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 420, + "id": 175, + "prevSize": 16, + "code": 59770, + "name": "it-router-cisco" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 122 + }, + { + "icon": { + "paths": [ + "M510 0c-282.703 0-510 227.297-510 510s227.297 514 510 514c9.173 0 18.943-1.521 28-2-36.918-3.27-66-32.204-66-70v-74l-88-90h88v-164c0-19.959-8.157-70.455-42-80h66c34.803 0 45.287 56.63 46 80 0.678-0.019 1.317 0 2 0h408c80.239 45.398 67.455-57.196 72-114 0-282.703-231.297-510-514-510zM506 110l124 124h-88v162c0 20.826-9.554 82-46 82h-66c33.843-9.545 42-60.041 42-80v-164h-88l122-124zM162 356v88h168c19.959 0 68.455-8.157 78-42v66c0 36.446-61.174 46-82 46h-164v88l-122-124 122-122zM860 356l122 122-122 124v-88h-166c-19.959-0-70.455 10.157-80 44v-68c0-36.446 61.174-46 82-46h164v-88zM644 666v206c-0 25.958-2.021 43.761-8 52s-15.563 12-30 12c-14.292 0-25-4.479-32-16-4.667-7.583-7.271-21.625-8-40l-62 8c0.146 34.271 8.937 60.281 26 78s40.354 26 72 26c26.979 0 49.521-6.698 66-18s27.729-25.333 34-44c4.667-14.292 8-35.458 8-62v-202h-66zM778 666v320h66v-120h42c29.312 0 50.542-2.938 66-6 11.375-2.479 22.989-6.344 34-14s20.854-18.583 28-32c7.146-13.417 10-30.312 10-50-0-25.521-5.604-45.885-18-62s-27.625-27.187-46-32c-11.959-3.208-38.625-4-78-4h-104zM844 720h30c23.333 0 40.271 0.544 48 2 10.5 1.896 19.146 6.417 26 14s10 18.334 10 30c-0 9.479-3.115 16.854-8 24s-11.396 12.646-20 16c-8.604 3.354-26.479 4-52 4h-34v-90z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-router-juniper" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 421, + "id": 174, + "prevSize": 16, + "code": 59771, + "name": "it-router-juniper" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 123 + }, + { + "icon": { + "paths": [ + "M510 0c-282.703 0-510 227.297-510 510s227.297 514 510 514c9.173 0 18.943-1.521 28-2-36.918-3.27-66-32.204-66-70v-74l-88-90h88v-164c0-19.959-8.157-70.455-42-80h66c34.803 0 45.287 56.63 46 80 0.678-0.019 1.317 0 2 0h408c19.995 0 38.952 8.952 52 22 11.787-43.072 20-89.259 20-136 0-282.703-231.297-510-514-510zM506 110l124 124h-88v162c0 20.826-9.554 82-46 82h-66c33.843-9.545 42-60.041 42-80v-164h-88l122-124zM162 356v88h168c19.959 0 68.455-8.157 78-42v66c0 36.446-61.174 46-82 46h-164v88l-122-124 122-122zM860 356l122 122-122 124v-88h-166c-19.959-0-70.455 10.157-80 44v-68c0-36.446 61.174-46 82-46h164v-88zM518 692v46h90l-100 182v52h156v-48h-110l106-188v-44h-142zM674 692v46h58v234h38v-234h58v-46h-154zM852 692v280h146v-48h-106v-76h96v-48h-96v-62h102v-46h-142z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-router-zte" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 422, + "id": 173, + "prevSize": 16, + "code": 59772, + "name": "it-router-zte" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 124 + }, + { + "icon": { + "paths": [ + "M498 0c-82.519 2.143-165.486 23.825-242 68-244.845 141.361-329.362 455.154-188 700 106.738 184.875 312.557 278.159 512 252-23.098-16.31-36-37.265-36-58 0-22.862 16.376-42.721 44-60h-32c-41.912 0-76-34.088-76-76v-106l-34 20c-24.647-27.731-47.939-55.857-70-88l104-60v-64c0-41.912 34.088-76 76-76h234c-4.577-10.693-8.966-21.469-14-32l118-68c13.86 32.95 24.711 65.817 30 100h66c10.478 0 20.943 2.182 30 6-7.234-69.314-26.904-137.747-64-202-97.186-168.332-276.459-260.715-458-256zM522 98c45.425 1.164 91.517 8.458 134 24l-64 36c-22.81-22.127-46.007-41.704-70-60zM394 114c39.587 25.645 77.222 56.281 114 92l-84 50-72-126c13.742-5.791 27.946-11.802 42-16zM760 178c31.164 23.016 57.718 51.994 82 84l-116 66c-20.412-32.755-40.883-63.378-64-92l88-50c3.203-1.849 7.605-5.435 10-8zM260 182h2l72 126-92 52c-12.71-49.313-19.255-97.188-22-144 12.39-12.178 25.888-23.296 40-34zM578 284c22.939 28.459 45.686 59.403 66 92l-112 64-56-96 102-60zM142 324c3.994 27.9 10.635 55.372 18 84l-58 34c7.124-40.784 21.181-80.964 40-118zM384 396l56 96-118 70c-18.2-33.781-34.67-67.986-48-102l110-64zM192 506c13.396 34.309 27.682 69.999 46 104l-108 62c-15.214-36.17-27.501-72.402-32-110l94-56zM612 506c-49.516 0-90 38.484-90 88v194c0 49.516 40.484 90 90 90h102l-6 34c-51.586 9.811-88 30.549-88 54 0 32.643 68.81 58 154 58s154-25.357 154-58c0-24.169-37.838-46.585-92-56l-6-32h104c49.516 0 90-40.484 90-90v-194c0-49.516-40.484-88-90-88h-322zM584 574h380v236h-380v-236zM292 700c22.147 32.13 47.183 58.271 72 86l-102 60c-30.311-22.695-56.283-52.739-80-84l110-62zM438 864c28.836 24.958 59.885 44.975 90 64-53.295 1.962-108.201-6.157-158-24l68-40z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-sdn-host" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 423, + "id": 172, + "prevSize": 16, + "code": 59773, + "name": "it-sdn-host" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 125 + }, + { + "icon": { + "paths": [ + "M498 0c-82.532 2.144-165.473 23.817-242 68-244.886 141.385-329.386 455.113-188 700 58.255 100.901 146.218 174.257 246 216v-168l-52 30c-30.316-22.699-56.279-52.734-80-84l104-60-14-4-156-8 30-28-16 10c-15.217-36.176-27.5-72.396-32-110l94-56c10.044 25.725 21.614 52.249 34 78l72-72c-8.357-17.441-17.093-34.376-24-52l112-64 10 18 92-92 10 10 82-48c22.943 28.464 43.682 59.397 64 92l-66 36 78 78 40-24 104-60 94-56c7.367 17.515 14.618 36.072 20 54h4l92-14c-11.285-45.819-29.221-91.081-54-134-97.203-168.36-276.429-260.716-458-256zM522 98c45.433 1.164 91.51 8.455 134 24l-64 36c-22.814-22.131-46.003-41.701-70-60zM394 114c39.593 25.649 77.216 56.275 114 92l-84 50-72-126c13.744-5.792 27.944-11.801 42-16zM760 178c31.169 23.019 57.714 49.989 82 82l-116 68c-20.416-32.76-40.879-63.373-64-92l88-52c3.203-1.849 7.605-3.435 10-6zM262 182l72 126-92 52c-12.711-49.321-17.254-97.18-20-144 12.392-12.18 25.886-23.294 40-34zM142 324c3.995 27.904 10.633 55.367 18 84l-58 34c7.125-40.791 21.178-80.958 40-118zM474 436l-208 210h126v286l72 92h94v-378h126l-210-210zM804 436l-72 90v288h-126l208 210 210-210h-126v-378h-94z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-sdn-switch" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 424, + "id": 171, + "prevSize": 16, + "code": 59774, + "name": "it-sdn-switch" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 126 + }, + { + "icon": { + "paths": [ + "M52 0c-28.218 0-52 27.877-52 62v900c0 34.123 23.782 62 52 62h524c28.218 0 50-27.877 50-62v-900c0-34.123-19.782-62-48-62h-526zM674 6c18.999 10.074 32 31.54 32 56v900c0 20.133-9.853 36.659-24 48l262-78c42.237-12.574 80-30.971 80-70v-706c0-39.029-37.766-57.42-80-70l-270-80zM120 140h388c19.009 0 34 19.012 34 42v210c0 22.988-14.991 40-34 40h-388c-19.009 0-36-17.012-36-40v-210c0-22.988 16.991-42 36-42zM136 200c-8.519 0-16 12.757-16 30s7.481 32 16 32h356c8.519 0 14-14.757 14-32s-5.481-30-14-30h-356zM136 312c-8.519 0-16 12.757-16 30s7.481 32 16 32h356c8.519 0 14-14.757 14-32s-5.481-30-14-30h-356zM314 672c35.346 0 64 28.654 64 64s-28.654 64-64 64c-35.346 0-64-28.654-64-64s28.654-64 64-64z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 425, + "id": 170, + "prevSize": 16, + "code": 59775, + "name": "it-server" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 127 + }, + { + "icon": { + "paths": [ + "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512c282.77 0 512-229.23 512-512s-229.23-512-512-512zM512 64c247.424 0 448 200.576 448 448s-200.576 448-448 448c-247.424 0-448-200.576-448-448s200.576-448 448-448zM512 128c-212.077 0-384 171.923-384 384 0 36.156 6.659 70.831 16 104l112-292h68l130 320h-72l-28-72h-128l-26 72h-48c53.837 147.035 194.315 252 360 252s306.163-104.965 360-252h-72l-72-110-72 110h-76l108-166-98-154h76l64 102 62-102h56c-65.661-117.507-191.828-196-336-196zM486 324h64v320h-64v-320zM856 342l-88 138 106 158c13.732-39.506 22-81.817 22-126 0-60.905-14.763-118.84-40-170zM290 398l-44 120h88l-44-120z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-aix" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 426, + "id": 169, + "prevSize": 16, + "code": 59776, + "name": "it-server-aix" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 128 + }, + { + "icon": { + "paths": [ + "M702.196 0c-83.559 0-149.421 75.593-149.421 171.057 0 45.281 15.194 86.372 39.69 117.162-8.686 12.223-17.338 24.876-25.682 37.492-23.194 35.070-43.629 76.976-60.702 89.043-83.523 59.033-121.404 129.992-121.404 248.384 0 16.631 2.556 30.874 4.669 46.865 23.321-11.463 52.84-16.403 84.049-16.403 4.043 0 7.718-0.217 11.673 0-3.685-18.422-7.004-35.25-7.004-53.895 1.251-128.832 55.389-209.786 114.4-292.906 2.648-3.499 6.269-9.105 9.339-14.059 2.452 4.241 6.283 6.793 11.673 9.373l49.029 23.432c23.628 11.307 48.25 10.417 72.376 0l53.698-23.432c0.84-0.363 1.558 0.418 2.335 0 42.272 91.45 99.084 194.293 100.392 278.847 0 23.808-2.958 45.866-7.004 67.954 13.057-2.524 27.684-2.343 42.025-2.343 18.9 0 37.191 0.405 53.698 4.686 0.818-10.044 2.335-17.843 2.335-28.119 0-99.83-26.283-175.644-88.719-236.668-25.549-24.971-56.834-78.168-91.053-126.535 31.389-31.635 51.363-77.388 51.363-128.879 0-95.465-68.196-171.057-151.755-171.057zM641.494 140.595c25.311 0 44.359 22.043 44.359 51.551 0 4.072-1.65 7.893-2.335 11.716-4.628 0.607-9.186 2.398-14.008 4.686 0-22.185-14.217-39.835-30.351-39.835s-28.016 17.65-28.016 39.835c0 13.422 4.319 27.854 11.673 35.149-16.692-8.63-28.016-29.42-28.016-51.551 0-29.509 21.383-51.551 46.694-51.551zM762.898 142.938c25.311 0 46.694 22.043 46.694 51.551 0 22.132-11.324 42.921-28.016 51.551 5.88-7.348 7.004-18.677 7.004-30.462 0-22.185-11.882-42.178-28.016-42.178s-30.351 19.994-30.351 42.178c0 2.428-0.299 4.792 0 7.030-3.068-2.177-6.263-5.265-9.339-7.030-2.536-6.816-4.669-13.366-4.669-21.089 0-29.509 21.383-51.551 46.694-51.551zM699.861 224.952c12.3-0 25.767 3.837 35.020 11.716l46.694 42.178c13.118 11.17 17.678 26.761 11.673 39.835-1.907 1.316-2.389 3.702-4.669 4.686l-53.698 23.432c-24.126 10.417-48.748 11.307-72.376 0l-49.029-23.432c-1.721-0.824-3.302-1.337-4.669-2.343-7.374-13.896-2.206-30.36 11.673-42.178l46.694-42.178c9.253-7.879 20.386-11.716 32.686-11.716zM620.482 285.876c-2.285 2.318-4.669 4.488-4.669 7.030 0 14.123 39.651 25.776 86.384 25.776s81.714-11.653 81.714-25.776c0-2.542-0.049-4.712-2.335-7.030-9.308 11.067-39.863 18.746-79.38 18.746s-72.407-7.679-81.714-18.746zM879.633 710.005c-64.504 7.634-86.384 42.072-86.384 114.819 0 83.14-83.624 189.803 4.669 189.803s224.131-80.887 224.131-164.027c0-83.14-23.773-140.595-112.066-140.595-11.037 0-21.136-1.091-30.351 0zM466.391 719.378c-88.293 0-112.066 57.455-112.066 140.595s135.839 164.027 224.131 164.027c88.293 0 4.669-104.32 4.669-187.46s-28.442-117.162-116.735-117.162zM620.482 888.092l14.008 49.208 14.008 56.238c11.583 1.562 23.045 2.343 35.020 2.343 12.676 0 25.138-0.585 37.355-2.343 5.185-25.46 21.012-89.043 21.012-89.043l7.004-16.403c-19.981 9.799-40.537 16.403-63.037 16.403-23.030 0-44.951-6.259-65.372-16.403z", + "M434.89 2.105l-417.088 440.582 190.741 30.089-208.544 371.808 399.285-425.537-139.877-83.818z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-klinux" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 427, + "id": 168, + "prevSize": 16, + "code": 59777, + "name": "it-server-klinux" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 129 + }, + { + "icon": { + "paths": [ + "M510.592 0c-281.856 0-510.592 230.336-510.592 513.472s228.736 510.528 510.592 510.528 513.408-227.52 513.408-510.528c0-283.072-231.552-513.472-513.408-513.472zM464.704 88.896l31.552 8.64 37.312 8.576 31.552-5.696 17.28-2.88 22.912-5.76c0 0 20.992-4.544 31.488-2.88 10.304 1.664 21.888-0.768 31.552 2.88 13.376 5.056 25.984 14.080 37.248 22.912 19.456 15.296 37.248 63.104 37.248 63.104l20.096 54.528 22.848 65.984 5.76 48.768-5.76 60.224 43.136-37.312c33.344 8.128 72.64 28.736 111.808 54.528 0 0 7.168 44.672 5.76 65.984-1.216 18.496-4.8 38.656-14.336 54.528-16.768 27.776-44.608 45.632-71.744 63.104-21.504 13.888-44.032 25.344-68.864 31.488-38.016 9.344-78.4 6.4-117.568 5.76-37.056-0.64-72.576-1.6-108.992-8.64-43.264-8.256-88.064-20.736-128.96-37.248-47.36-19.136-134.784-74.624-134.784-74.624s-76.672-44.16-114.752-80.32c-15.232-14.4-48.832-65.92-48.832-65.92s-8.896-48.32 2.88-57.344c0 0 38.080-28.736 54.528-31.552 39.616-6.784 79.040-8.512 123.328-14.336v2.816l22.912 22.976 63.104 43.008 91.776 34.432 45.952 20.096c0 0 34.816 2.88 45.824 2.88 11.136 0 2.88-22.912 2.88-22.912l-17.216-17.28-5.76-14.336-8.512-22.912-14.336-17.216-94.656-31.552-77.44-28.672-40.192-31.616 8.64-40.128 17.216-37.312 14.336-22.976 22.976-14.336 31.552-8.64 37.248-2.816zM613.888 114.752l-8.64 14.336 25.728 8.64 20.032 5.696-20.032 31.552 60.224-14.336 5.824-28.672-31.488-11.456-51.648-5.76zM410.176 154.944l-14.336 42.944 31.552 31.552 17.216-5.76 43.008-8.576 48.768-14.336 5.76-17.216-37.312-8.576-54.464 8.576-40.192-28.608zM238.080 530.688h17.216l25.792 14.336 37.312 40.128 51.648 5.76 65.984 80.384 286.848 5.76-22.976 106.112-48.768 62.976-28.608 25.856-2.88-2.88 2.88 22.848 31.488-5.76 108.992-80.32v-22.912h114.752l45.888 11.52c-92.032 131.136-244.48 215.104-413.056 215.104-216.192 0-400.128-135.424-470.4-332.672l20.096-5.824 8.576-34.368 8.576-5.76 100.416 5.76 68.864 45.888 25.792-5.696-2.88-28.672-37.312-34.432-14.336-22.912-2.88-28.736 8.64-14.336 14.336-17.152zM527.808 740.032c-10.688 2.368 1.152 9.344-8.576 14.4-19.008 9.664 22.912 28.672 22.912 28.672s22.72 12.032 34.368 11.456c10.624-0.576 28.736-11.456 28.736-11.456 17.728-17.28 9.024-41.344 0-34.496l-22.976 14.464h-22.912c0-0.064-19.712-25.536-31.552-23.040z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-redhat" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 428, + "id": 167, + "prevSize": 16, + "code": 59778, + "name": "it-server-redhat" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 130 + }, + { + "icon": { + "paths": [ + "M468 0l-48 268c16.173-3.297 30.849-4 48-4s33.827 0.703 50 4l-50-268zM140 134l150 208c22.048-23.283 46.359-42.605 76-56l-226-152zM798 134l-226 152c29.641 13.395 53.952 32.717 76 56l150-208zM0 374l222 102c4.34-29.541 14.151-58.816 28-84l-250-18zM938 374l-252 18c13.849 25.184 23.66 54.459 28 84l224-102zM650 526c-359.894 0-650 58.809-650 132s290.106 134 650 134c58.987 0 117.658-3.012 172-6-10.202 0.109-19.67 0-30 0-330.653 0-600-54.037-600-122s269.347-124 600-124c82.663 0 160.373 3.773 232 10-105.684-15.034-235.24-24-374-24z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-solaris" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 429, + "id": 166, + "prevSize": 16, + "code": 59779, + "name": "it-server-solaris" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 131 + }, + { + "icon": { + "paths": [ + "M516 58c-65.675 2.119-123.16 4.56-184 34-72.421 32-145.651 59.003-206 112l-68 84c-69.777 119.589-54.416 232.934 106 290 77.742 5.552 221.478-57.888 130-202-29.523-28.96-55.273-37.398-104-30-41.79 11.271-68.086 46.084-54 102 19.492 27.884 22.688 25.105 42 30l48 4 8-26-6-20-8-6-24 8c-8.312 15.984-60.714-16.58-8-42 9.817-4.489 38.161-14.031 60 6 31.625 31.716 57.773 84.241-28 118-67.019 7.312-100.036-7.173-128-76l-2-44 8-40c25.624-32.030 36.815-49.83 80-54 52.83-2.032 90.154-5.104 136 26l30 40 20 40 14 30 34 22 30 14c0-47.834-13.068-83.628 26-114l28-10c29.176 0.729 53.498-9.082 82 10l20 20 46 52 52 28 44 26 8-6-24-32c-9.354-42.571-25.187-62.438 0-106l26-8c80.668 5.366 185.805 20.894 260-38 5.991-2.681 19.875-27.248-2-38-2.468 7.251-2.487 15.266-20 22-43.274 12.798-69.848 21.603-118-4-31.965-11.776-57.959-15.825-76-46l-6-12 18-6 40 24c25.187 12.253 45.744 28.964 76 30 35.19-2.629 61.074 2.317 92-20l14-16c-13.040-40.569-18.998-80.996-52-110-42.108-21.054-82.178-38.858-130-44l-86-12 6 38-50-22-90-16-110-10zM918 122c33.395 0 60 26.605 60 60s-26.605 60-60 60c-33.395 0-60-26.605-60-60s26.605-60 60-60zM918 142c-21.945 0-40 18.055-40 40s18.055 40 40 40c21.945 0 40-18.055 40-40s-18.055-40-40-40zM922 154c10.165 0 18 7.835 18 18s-7.835 18-18 18c-10.165 0-18-7.835-18-18s7.835-18 18-18zM116 646c-21.527 0-40.779 4.988-56 12s-25.912 16.594-34 30c-8.088 13.407-12 28.6-12 44-0 23.926 8.804 43.362 26 60 12.228 11.825 33.684 21.888 64 30 23.565 6.325 37.376 11.525 44 14 9.68 3.713 16.115 6.981 20 12s6 10.85 6 18c-0 11.138-4.765 21.681-14 30s-21.785 12-40 12c-17.196 0-31.874-4.65-42-14s-16.688-24.062-20-44l-54 6c3.694 33.826 15.021 60.331 34 78s46.589 26 82 26c24.329 0 43.696-4.644 60-12s29.083-18.875 38-34c8.916-15.125 14-30.675 14-48-0-19.113-4.549-35.006-12-48s-16.817-22.506-30-30c-13.184-7.494-34.487-14.987-62-22s-44.867-13.537-52-20c-5.605-5.087-8-12.85-8-20-0-7.837 2.013-13.325 8-18 9.298-7.287 23.568-10 40-10 15.922 0 28.039 3.194 36 10s11.58 18.463 14 34l58-4c-0.892-27.775-10.231-49.362-28-66s-44.844-26-80-26zM616 646c-21.527 0-38.779 4.988-54 12s-27.912 16.594-36 30c-8.088 13.407-12 28.6-12 44-0 23.926 8.804 43.362 26 60 12.228 11.825 33.684 21.888 64 30 23.565 6.325 39.376 11.525 46 14 9.681 3.713 16.115 6.981 20 12s6 10.85 6 18c-0 11.138-4.765 21.681-14 30s-23.785 12-42 12c-17.196 0-29.874-4.65-40-14s-16.689-24.062-20-44l-56 6c3.694 33.826 15.021 60.331 34 78s46.589 26 82 26c24.329 0 43.695-4.644 60-12s29.083-18.875 38-34c8.916-15.125 14-30.675 14-48-0-19.113-4.548-35.006-12-48s-16.817-22.506-30-30c-13.184-7.494-34.487-14.987-62-22s-44.867-13.537-52-20c-5.605-5.087-8-12.85-8-20-0-7.837 4.013-13.325 10-18 9.298-7.287 21.568-10 38-10 15.922 0 28.039 3.194 36 10s13.58 18.462 16 34l56-4c-0.892-27.775-10.231-49.362-28-66s-44.844-26-80-26zM896 650c-33.989 0-63.77 13.115-86 40s-32 64.524-32 112c0 39.744 7.086 71.924 24 98 23.472 24.814 37.445 40.196 80 48 10.305-3.467 69.29 0.256 76-6 9.704-9.048 12.525-32.631 2-44-6.247-6.748-56.534-2.879-72-6-26.387-8.256-41.018-28.763-40-70h170c0.966-58.086-9.932-101.856-32-130s-51.823-42-90-42zM900 708c13.853 0 24.335 4.58 34 16s15.518 28.060 16 50h-102c-0.16-20.681 4.335-35.951 14-48s23.18-18 38-18zM278 736v138c-0 20.625 1.16 36.312 6 48s13.173 21.537 24 28c10.827 6.463 24.371 10 38 10 13.374-0 25.963-3.262 38-10s20.612-16.312 28-28v32h50v-218h-54v92c-0 31.351-1.325 49.956-4 58s-6.74 14.569-14 20c-7.261 5.432-16.829 10-26 10-8.025 0-12.778-1.944-18-6s-10.026-11.056-12-18c-1.974-6.944-2-25.199-2-56v-100h-54z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-suse" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 430, + "id": 165, + "prevSize": 16, + "code": 59780, + "name": "it-server-suse" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 132 + }, + { + "icon": { + "paths": [ + "M398 48c-49.48-0.394-105.040 6.773-168 26l-106 332c130.327-31.196 261.844-49.831 374 28l100-326c-53.73-36.361-117.533-59.343-200-60zM646 136l-102 326c85.969 58.177 202.107 85.272 370 34l104-332c-130.327 31.196-259.844 49.831-372-28zM276 446c-49.48-0.394-105.040 8.773-168 28l-104 330c130.327-31.196 261.844-49.831 374 28l100-324c-53.73-36.361-119.533-61.343-202-62zM532 532l-100 324c85.969 58.177 200.107 87.272 368 36l106-332c-130.327 31.196-261.844 49.831-374-28z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-windows" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 431, + "id": 164, + "prevSize": 16, + "code": 59781, + "name": "it-server-windows" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 133 + }, + { + "icon": { + "paths": [ + "M172 2c-94.922 0-174 77.078-174 172v678c0 94.922 79.078 174 174 174h678c94.922 0 172-79.078 172-174v-678c0-94.922-77.078-172-172-172h-678zM172 66h678c60.656 0 108 47.344 108 108v678c0 60.656-47.344 110-108 110h-678c-60.656 0-110-49.344-110-110v-678c0-60.656 49.344-108 110-108zM648 128c-65.702 0-118 59.253-118 134 0 35.455 12.739 67.892 32 92-6.83 9.571-13.44 18.122-20 28-18.237 27.459-34.576 60.552-48 70-65.673 46.222-96 101.301-96 194 0 13.022 2.338 25.479 4 38 18.337-8.975 41.46-14 66-14 3.179 0 4.89-0.173 8 0-2.898-14.424-4-27.401-4-42 0.984-100.874 43.6-162.918 90-228 2.082-2.74 3.586-8.121 6-12 1.928 3.32 5.762 5.98 10 8l38 18c18.578 8.853 39.030 8.156 58 0l42-18c0.66-0.284 1.389 0.328 2 0 33.238 71.604 76.972 151.795 78 218 0 18.641-2.819 36.706-6 54 10.267-1.976 22.724-2 34-2 14.861 0 29.020 0.648 42 4 0.643-7.865 2-15.954 2-24 0-78.166-20.908-136.219-70-184-20.089-19.552-45.094-62.129-72-100 24.681-24.77 40-59.684 40-100 0-74.747-52.298-134-118-134zM438 130l-328 344 150 24-164 292 314-334-110-66 138-260zM600 238c19.902 0 34 16.895 34 40 0 3.188-1.461 7.006-2 10-3.639 0.476-6.208 2.208-10 4 0-17.37-11.314-32-24-32s-22 14.63-22 32c0 10.509 4.217 20.288 10 26-13.125-6.757-22-22.671-22-40 0-23.105 16.098-40 36-40zM696 240c19.902 0 36 16.895 36 40 0 17.329-8.875 33.243-22 40 4.623-5.753 6-14.772 6-24 0-17.37-9.314-32-22-32s-24 14.63-24 32c0 1.901-0.237 4.248 0 6-2.413-1.705-5.581-4.618-8-6-1.994-5.337-4-9.953-4-16 0-23.105 18.098-40 38-40zM646 304c9.671-0 20.724 3.831 28 10l36 32c10.315 8.746 14.721 21.763 10 32-1.499 1.031-2.207 1.229-4 2l-42 20c-18.97 8.156-39.422 8.853-58 0l-38-20c-1.353-0.645-2.925 0.788-4 0-5.798-10.88-0.914-24.747 10-34l36-32c7.276-6.169 16.329-10 26-10zM584 352c-1.797 1.815-4 4.010-4 6 0 11.058 31.255 20 68 20s64-8.942 64-20c0-1.99-0.205-4.185-2-6-7.318 8.665-30.929 14-62 14s-56.682-5.335-64-14zM788 684c-50.719 5.978-68 33.040-68 90 0 65.098-67.424 148 2 148s178-62.902 178-128c0-65.098-20.576-110-90-110-8.678 0-14.754-0.854-22 0zM462 692c-69.424 0-88 44.902-88 110s106.576 128 176 128c69.424 0 4-82.902 4-148s-22.576-90-92-90zM584 824l10 38 12 44c9.107 1.223 16.584 2 26 2 9.967 0 20.394-0.621 30-2 4.077-19.935 16-70 16-70l6-12c-15.711 7.673-32.308 12-50 12-18.109 0-33.944-4.058-50-12z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-server-zxve" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 432, + "id": 163, + "prevSize": 16, + "code": 59782, + "name": "it-server-zxve" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 134 + }, + { + "icon": { + "paths": [ + "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM184 208h656c30.953 0 56 25.979 56 58v12c0 32.021-25.047 58-56 58h-656c-30.953 0-56-25.979-56-58v-12c0-32.021 25.047-58 56-58zM184 476h656c30.953 0 56 25.979 56 58v12c0 32.021-25.047 58-56 58h-656c-30.953 0-56-25.979-56-58v-12c0-32.021 25.047-58 56-58zM184 744h656c30.953 0 56 25.979 56 58v12c0 32.021-25.047 58-56 58h-656c-30.953 0-56-25.979-56-58v-12c0-32.021 25.047-58 56-58z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-storage" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 433, + "id": 162, + "prevSize": 16, + "code": 59783, + "name": "it-storage" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 135 + }, + { + "icon": { + "paths": [ + "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM178 122h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM176 344h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM320 586c39.229 0 71.5 10.813 96 34 14.583 13.709 24.708 34.334 32 60l-64 16c-3.792-16.625-11.969-30.375-24-40s-26.792-14-44-14c-23.771 0-43.198 8.938-58 26s-22 43.792-22 82c-0 40.542 7.417 68.792 22 86s34.667 26 58 26c17.208 0 31.604-5.062 44-16s20.604-28.521 26-52l64 20c-9.625 35-25.615 61.010-48 78s-51.584 26-86 26c-42.583 0-76.583-14.906-104-44s-42-69.542-42-120c-0-53.375 14.437-94.468 42-124s63.083-44 108-44zM724 586c39.229 0 71.5 10.813 96 34 14.583 13.709 26.708 34.334 34 60l-64 16c-3.792-16.625-11.969-30.375-24-40s-26.792-14-44-14c-23.771 0-43.198 8.938-58 26s-22 43.792-22 82c-0 40.542 7.417 68.792 22 86s32.667 26 56 26c17.208 0 31.604-5.062 44-16s22.604-28.521 28-52l62 20c-9.625 35-25.615 61.010-48 78s-51.583 26-86 26c-42.583 0-76.583-14.906-104-44s-42-69.542-42-120c-0-53.375 14.437-94.468 42-124s63.083-44 108-44z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-storage-cisco-mds" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 434, + "id": 161, + "prevSize": 16, + "code": 59784, + "name": "it-storage-cisco-mds" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 136 + }, + { + "icon": { + "paths": [ + "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM178 122h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM176 344h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM76 598h94c21.391 0 38.778 3.844 50 8 15.079 5.641 27.246 13.603 38 28s18.389 31.146 24 52c5.611 20.854 8 47.424 8 78-0 26.865-0.74 50.556-6 70-6.429 23.748-16.077 43.306-28 58-9.001 11.132-20.687 17.766-36 24-11.456 4.602-26.83 10-46 10h-98v-328zM356 598h152v56h-88v72h76v54h-76v90h94v56h-158v-328zM568 602h64v268h100v56h-164v-324zM782 604h66v268h100v56h-166v-324zM128 654v216h38c14.495 0 25.571-1.922 32-4 8.416-2.672 14.447-5.617 20-12s10.493-17.38 14-32c3.507-14.62 6-34.767 6-60s-2.493-44.493-6-58c-3.507-13.507-7.688-24.43-14-32s-14.298-13.328-24-16c-7.248-2.077-22.842-2-44-2h-22z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-storage-md3000" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 435, + "id": 160, + "prevSize": 16, + "code": 59785, + "name": "it-storage-md3000" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 137 + }, + { + "icon": { + "paths": [ + "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM178 122h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM176 344h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM84 590h64l132 214v-214h60v320h-66l-128-208v208h-62v-320zM376 590h70l80 236 80-236h68l-116 320h-68l-114-320zM684 590h256v54h-96v266h-64v-266h-96v-54z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-storage-netvault" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 436, + "id": 159, + "prevSize": 16, + "code": 59786, + "name": "it-storage-netvault" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 138 + }, + { + "icon": { + "paths": [ + "M869.981 0h-715.962c-85.039 0-154.019 68.98-154.019 154.019v716.009c0 84.992 68.98 153.972 154.019 153.972h716.009c84.992 0 153.972-68.98 153.972-154.019v-715.962c0-85.039-68.98-154.019-154.019-154.019zM177.99 121.996h672.023c26.717 0 47.988 28.532 47.988 64s-21.271 64-47.988 64h-672.023c-26.764 0-47.988-28.532-47.988-64s21.271-64 47.988-64zM175.988 344.017h672.023c26.717 0 47.988 28.532 47.988 64s-21.271 64-47.988 64h-672.023c-26.764 0-47.988-28.532-47.988-64s21.271-64 47.988-64zM351.418 907.543h-253.533v-39.377l164.305-205.452c11.636-14.569 22.761-27.229 33.233-37.981h-178.921v-37.841h229.702v37.841l-180.038 222.441-19.456 22.528h204.707v37.841zM627.293 624.733h-106.077v282.81h-42.496v-282.81h-105.658v-37.841h254.185v37.841zM910.988 907.543h-239.337v-320.698h231.843v37.841h-189.347v98.211h177.385v37.609h-177.385v109.196h196.841v37.841z" + ], + "attrs": [ + { + "fill": "rgb(99, 147, 205)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-storage-sanswitch-zte" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 5 + ] + } + }, + "attrs": [ + { + "fill": "rgb(99, 147, 205)" + } + ], + "properties": { + "order": 437, + "id": 158, + "prevSize": 16, + "code": 59787, + "name": "it-storage-sanswitch-zte" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 139 + }, + { + "icon": { + "paths": [ + "M234 0l-234 228 140 134c59.702-39.324 131.164-62 208-62 47.699 0 93.962 9.903 136 26h186v-198h-436v-128zM788 244v128h-222c68.34 46.169 118.415 116.099 140 198h82v124l234-224-234-226zM346 334c-190.682 0-346 153.318-346 344s155.318 346 346 346c190.682 0 344-155.318 344-346s-153.318-344-344-344zM188 530h64l118 298h-64l-26-68h-120l-24 68h-64l116-298zM382 530h236v50h-88v248h-60v-248h-88v-50zM220 600l-40 110h80l-40-110z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-switch-at" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 438, + "id": 157, + "prevSize": 16, + "code": 59788, + "name": "it-switch-at" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 140 + }, + { + "icon": { + "paths": [ + "M234 0l-234 228 140 134c59.702-39.324 131.164-62 208-62 47.699 0 93.962 9.903 136 26h186v-198h-436v-128zM788 244v128h-222c68.34 46.169 118.415 116.099 140 198h82v124l234-224-234-226zM346 334c-190.682 0-346 153.318-346 344s155.318 346 346 346c190.682 0 344-155.318 344-346s-153.318-344-344-344zM204 524c36.427 0 67.25 12.469 90 34 13.541 12.729 23.229 30.167 30 54l-60 14c-3.521-15.437-10.828-27.062-22-36s-24.021-14-40-14c-22.073 0-40.255 8.156-54 24s-20 40.521-20 76c-0 37.646 6.458 66.021 20 82s30.333 24 52 24c15.979 0 30.489-5.844 42-16s18.989-26.198 24-48l58 18c-8.938 32.5-23.214 58.224-44 74s-48.042 22-80 22c-39.542-0-70.542-12.984-96-40s-38-63.146-38-110c-0-49.562 12.406-88.578 38-116s58.292-42 100-42zM506 524c36.427 0 65.25 12.469 88 34 13.541 12.729 23.229 30.167 30 54l-60 14c-3.521-15.437-10.828-27.062-22-36s-24.021-14-40-14c-22.073 0-40.255 8.156-54 24s-20 40.521-20 76c-0 37.646 6.458 66.021 20 82s30.333 24 52 24c15.979 0 30.489-5.844 42-16s18.989-26.198 24-48l60 18c-8.938 32.5-25.214 58.224-46 74s-46.042 22-78 22c-39.542-0-72.542-12.984-98-40s-38-63.146-38-110c-0-49.562 12.406-88.578 38-116s60.292-42 102-42z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-switch-cisco" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 439, + "id": 156, + "prevSize": 16, + "code": 59789, + "name": "it-switch-cisco" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 141 + }, + { + "icon": { + "paths": [ + "M697.809 543.651c32.349-20.573 70.563-32.908 111.756-32.908 47.709 0 91.183 16.477 126.371 43.38l88.064-84.108-234.449-225.978v128h-222.441c60.835 40.96 105.891 101.329 130.7 171.613z", + "M348.672 299.985c47.756 0 94.161 9.914 136.285 26.019h186.368v-198.004h-436.876v-128l-234.449 227.98 140.288 134.004c59.764-39.284 131.398-61.999 208.384-61.999z", + "M346.671 334.010c-191.069 0-346.671 153.321-346.671 343.971s155.601 346.019 346.671 346.019c128.791 0 240.314-70.703 299.52-175.151-28.346-35.607-45.94-80.151-45.94-129.117 0-61.999 27.555-117.062 70.516-155.369-47.011-134.097-173.196-230.353-324.096-230.353zM334.848 880.035h-42.543v-151.087h-167.005v151.087h-42.496v-320.698h42.543v131.677h166.959v-131.677h42.543v320.698zM569.53 856.529c-20.387 19.456-46.266 29.184-77.545 29.184-28.253 0-51.665-8.378-70.284-25.181-18.665-16.71-29.231-38.493-31.884-65.071l39.377-5.26c4.561 22.295 12.288 38.353 23.18 48.175 10.892 9.914 24.111 14.801 39.75 14.801 18.525 0 34.257-6.47 47.057-19.223 12.753-12.893 19.177-28.765 19.177-47.756 0-18.060-5.865-32.908-17.78-44.684-11.776-11.776-26.857-17.641-45.103-17.641-7.494 0-16.756 1.443-27.881 4.422l4.375-34.583c2.653 0.279 4.748 0.465 6.33 0.465 16.849 0 31.977-4.422 45.428-13.126s20.154-22.295 20.154-40.448c0-14.522-4.887-26.391-14.708-35.887-9.775-9.495-22.435-14.243-37.888-14.243-15.36 0-28.113 4.841-38.4 14.429-10.193 9.635-16.803 24.111-19.689 43.334l-39.517-6.982c4.887-26.345 15.825-46.871 32.861-61.347 17.175-14.522 38.4-21.737 63.814-21.737 17.548 0 33.699 3.77 48.407 11.264 14.755 7.494 26.065 17.734 33.885 30.72 7.866 12.986 11.729 26.764 11.729 41.425 0 13.824-3.677 26.391-11.124 37.841-7.447 11.357-18.479 20.387-33.047 27.089 18.991 4.375 33.699 13.452 44.218 27.276 10.519 13.731 15.779 30.999 15.779 51.665 0.047 27.881-10.147 51.572-30.673 71.075z", + "M879.29 828.649c-16.477 13.684-36.631 20.48-60.509 20.48-19.549 0-37.748-4.98-54.551-15.081-16.756-10.054-29.184-25.228-37.143-45.568s-11.962-44.125-11.962-71.447c0-21.132 3.398-41.658 10.1-61.533s18.385-35.793 34.956-47.569 37.283-17.734 61.905-17.734c21.504 0 39.377 5.353 53.481 16.012 14.15 10.612 24.995 27.601 32.442 51.014l41.844-9.868c-8.657-29.649-23.924-52.596-45.801-68.887-21.923-16.384-49.012-24.483-81.082-24.483-28.346 0-54.319 6.47-77.917 19.316-23.645 12.94-41.844 31.837-54.644 56.692s-19.13 53.993-19.13 87.412c0 30.58 5.632 59.206 16.943 86.016 11.357 26.577 27.881 47.057 49.524 61.114 21.737 14.103 49.897 21.132 84.433 21.132 33.559 0 61.812-9.169 84.992-27.508s39.191-44.87 48.081-79.732l-42.496-10.705c-5.772 26.81-16.943 47.151-33.466 60.928z" + ], + "attrs": [ + { + "fill": "rgb(99, 147, 205)" + }, + { + "fill": "rgb(99, 147, 205)" + }, + { + "fill": "rgb(99, 147, 205)" + }, + { + "fill": "rgb(99, 147, 205)" + } + ], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-switch-h3c" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [ + 5, + 5, + 5, + 5 + ] + } + }, + "attrs": [ + { + "fill": "rgb(99, 147, 205)" + }, + { + "fill": "rgb(99, 147, 205)" + }, + { + "fill": "rgb(99, 147, 205)" + }, + { + "fill": "rgb(99, 147, 205)" + } + ], + "properties": { + "order": 440, + "id": 155, + "prevSize": 16, + "code": 59790, + "name": "it-switch-h3c" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 142 + }, + { + "icon": { + "paths": [ + "M234 0l-234 228 140 134c59.702-39.324 131.164-62 208-62 47.699 0 93.962 9.903 136 26h186v-198h-436v-128zM788 244v128h-222c68.34 46.169 118.415 116.099 140 198h82v124l234-224-234-226zM346 334c-190.682 0-346 153.318-346 344s155.318 346 346 346c190.682 0 344-155.318 344-346s-153.318-344-344-344zM226 516h64v202c-0 26.542-1.334 47.708-6 62-6.271 18.667-17.521 32.698-34 44s-39.021 18-66 18c-31.646-0-54.938-8.281-72-26s-25.854-43.729-26-78l60-8c0.729 18.375 3.333 32.417 8 40 7 11.521 17.708 16 32 16 14.437 0 24.021-3.76 30-12s10-26.042 10-52v-206zM360 516h104c39.375 0 64.041 0.792 76 4 18.375 4.813 33.604 15.886 46 32s20 36.479 20 62c-0 19.688-4.854 36.583-12 50s-14.99 24.344-26 32c-11.011 7.656-22.625 11.521-34 14-15.459 3.062-38.688 6-68 6h-42v120h-64v-320zM424 570v90h36c25.521 0 41.396-0.646 50-4s17.114-8.854 22-16c4.885-7.146 6-14.521 6-24-0-11.666-3.146-22.416-10-30s-15.5-12.104-26-14c-7.729-1.458-22.667-2-46-2h-32z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-switch-juniper" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 441, + "id": 154, + "prevSize": 16, + "code": 59791, + "name": "it-switch-juniper" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 143 + }, + { + "icon": { + "paths": [ + "M234 0l-234 228 140 134c59.702-39.324 131.164-62 208-62 47.699 0 93.962 9.903 136 26h186v-198h-436v-128zM788 244v128h-222c68.34 46.169 118.415 116.099 140 198h82v124l234-224-234-226zM346 334c-190.682 0-346 153.318-346 344s155.318 346 346 346c190.682 0 344-155.318 344-346s-153.318-344-344-344zM98 536h148v44l-112 194h116v48h-164v-52l106-186h-94v-48zM262 536h162v48h-60v238h-42v-238h-60v-48zM450 536h152v48h-110v64h102v48h-102v78h114v48h-156v-286z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-switch-zte" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 442, + "id": 153, + "prevSize": 16, + "code": 59792, + "name": "it-switch-zte" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 144 + }, + { + "icon": { + "paths": [ + "M60 0c-33.495 0-60 26.505-60 60v484c0 33.495 26.505 60 60 60h904c33.495 0 60-26.505 60-60v-484c0-33.495-26.505-60-60-60zM222 170h580c33.495 0 60 26.505 60 60v114c0 33.495-26.505 62-60 62h-580c-33.495 0-60-28.505-60-62v-114c0-33.495 26.505-60 60-60zM740 184c-54.503 0-98 43.497-98 98s43.497 98 98 98c54.503 0 98-43.497 98-98s-43.497-98-98-98zM284 194c-54.503 0-98 43.497-98 98s43.497 100 98 100c54.503 0 98-45.497 98-100s-43.497-98-98-98zM228 640.064v320h64v-140h128v140h64v-320h-64v126h-128v-126zM550 640.064v320h66v-120h42c29.312 0 52.541-2.938 68-6 11.375-2.479 20.989-6.344 32-14s20.854-18.583 28-32c7.146-13.417 10-30.312 10-50-0-25.521-5.604-45.885-18-62s-27.625-27.187-46-32c-11.959-3.208-38.625-4-78-4zM616 694.064h30c23.333 0 40.271 0.544 48 2 10.5 1.896 19.146 6.417 26 14s10 16.334 10 28c-0 9.479-3.115 18.854-8 26s-11.396 12.646-20 16c-8.604 3.354-24.479 4-50 4h-36z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-tapelib-hpmsl" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 443, + "id": 152, + "prevSize": 16, + "code": 59793, + "name": "it-tapelib-hpmsl" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 145 + }, + { + "icon": { + "paths": [ + "M60-2c-33.495 0-60 26.505-60 60v484c0 33.495 26.505 60 60 60h904c33.495 0 60-26.505 60-60v-484c0-33.495-26.505-60-60-60h-904zM222 168h580c33.495 0 60 26.505 60 60v114c0 33.495-26.505 62-60 62h-580c-33.495 0-60-28.505-60-62v-114c0-33.495 26.505-60 60-60zM740 182c-54.503 0-98 43.497-98 98s43.497 98 98 98c54.503 0 98-43.497 98-98s-43.497-98-98-98zM284 192c-54.503 0-98 43.497-98 98s43.497 100 98 100c54.503 0 98-45.497 98-100s-43.497-98-98-98zM642 630c-24.646 0-46.573 4.563-64 12s-30.74 17.782-40 32c-9.26 14.219-14 29.667-14 46-0 25.375 10.312 46.354 30 64 14 12.542 37.292 23.396 72 32 26.979 6.708 44.416 11.375 52 14 11.083 3.938 19.552 8.677 24 14s6 12.417 6 20c-0 11.813-5.427 21.177-16 30s-25.146 14-46 14c-19.688 0-36.406-6.083-48-16s-18.208-24.854-22-46l-64 6c4.229 35.875 18.271 63.26 40 82s51.458 28 92 28c27.854-0 51.333-4.198 70-12s33.791-19.958 44-36c10.208-16.042 16-31.625 16-50-0-20.271-5.469-38.219-14-52s-18.906-24.052-34-32c-15.094-7.948-38.5-16.562-70-24s-51.833-15.146-60-22c-6.417-5.396-10-10.416-10-18-0-8.312 3.146-15.041 10-20 10.646-7.729 25.187-12 44-12 18.229 0 32.885 2.781 42 10s15.229 19.521 18 36l64-2c-1.021-29.458-11.657-54.354-32-72s-49.75-26-90-26zM232 636v54h96v266h64v-266h94v-54h-254z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-tapelib-ibmts" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 444, + "id": 151, + "prevSize": 16, + "code": 59794, + "name": "it-tapelib-ibmts" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 146 + }, + { + "icon": { + "paths": [ + "M60 0c-33.495 0-60 26.505-60 60v484c0 33.495 26.505 60 60 60h904c33.495 0 60-26.505 60-60v-484c0-33.495-26.505-60-60-60zM222 170h580c33.495 0 60 26.505 60 60v114c0 33.495-26.505 62-60 62h-580c-33.495 0-60-28.505-60-62v-114c0-33.495 26.505-60 60-60zM740 184c-54.503 0-98 43.497-98 98s43.497 98 98 98c54.503 0 98-43.497 98-98s-43.497-98-98-98zM284 194c-54.503 0-98 43.497-98 98s43.497 100 98 100c54.503 0 98-45.497 98-100s-43.497-98-98-98zM194 638.718c-24.646 0-46.573 4.563-64 12s-30.74 17.782-40 32c-9.26 14.219-14 29.667-14 46-0 25.375 10.312 46.354 30 64 14 12.542 37.292 23.396 72 32 26.979 6.708 44.416 11.375 52 14 11.083 3.937 19.552 8.677 24 14s6 12.417 6 20c-0 11.813-5.427 21.177-16 30s-25.146 14-46 14c-19.688 0-36.406-6.083-48-16s-18.208-24.854-22-46l-64 6c4.229 35.875 18.271 63.26 40 82s53.458 28 94 28c27.854 0 49.333-4.198 68-12s33.791-19.958 44-36c10.208-16.042 16-33.625 16-52-0-20.271-5.469-36.219-14-50s-18.906-24.052-34-32c-15.094-7.948-38.5-16.562-70-24s-51.833-15.146-60-22c-6.417-5.396-10-10.416-10-18-0-8.312 3.146-15.041 10-20 10.646-7.729 25.187-12 44-12 18.229 0 32.885 2.781 42 10s15.229 19.521 18 36l64-2c-1.021-29.458-11.657-54.354-32-72s-49.75-26-90-26zM380 644.718v170c0 35.875 1.771 63.625 6 82 2.917 12.396 8.812 24.698 18 36s22.177 20.927 38 28c15.823 7.073 39.375 10 70 10 25.375 0 46.25-3.51 62-10s28.593-15.062 38-26c9.406-10.937 14.5-24.104 18-40s6-43.5 6-82v-168h-66v178c-0 25.375-0.104 43.063-2 54s-6.667 20.49-16 28c-9.334 7.511-23.625 10-42 10-18.083 0-33.573-4.052-44-12s-15.229-18.875-18-32c-1.604-8.167-4-24.437-4-52v-174zM704 644.718v320h60v-208l130 208h66v-320h-60v214l-132-214z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-tapelib-sunts" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 445, + "id": 150, + "prevSize": 16, + "code": 59795, + "name": "it-tapelib-sunts" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 147 + }, + { + "icon": { + "paths": [ + "M511.975 3.246l211.157 211.187-211.232 211.202-211.157-211.187 211.232-211.202z", + "M-0.023 507.944l211.202-211.202 211.202 211.202-211.202 211.202-211.202-211.202z", + "M601.514 507.838l211.232-211.172 211.218 211.277-211.232 211.172-211.218-211.277z", + "M511.954 1023.998l-211.202-211.202 211.157-211.157 211.202 211.202-211.157 211.157z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-Virtual network" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 446, + "id": 149, + "prevSize": 16, + "code": 59796, + "name": "it-Virtualnetwork" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 148 + }, + { + "icon": { + "paths": [ + "M496 0c-88.366 0-160 71.634-160 160 0 24.616 6.069 47.168 16 68-2.717-0.137-5.249 0-8 0-88.366 0-160 71.634-160 160 0 27.456 5.815 53.421 18 76-66.58 19.363-116 79.172-116 152 0 35.129 12.807 67.609 32 94-67.806 18.571-118 80.301-118 154 0 88.366 71.634 160 160 160 46.834 0 88.74-19.93 118-52 29.284 32.474 72.829 52 120 52 45.179 0 84.906-17.887 114-48 29.094 30.113 70.821 48 116 48 47.171 0 88.716-19.526 118-52 29.26 32.070 71.166 52 118 52 88.366 0 160-71.634 160-160 0-75.074-52.257-136.747-122-154 18.745-26.206 30-59.324 30-94 0-80.039-59.259-144.213-136-156 8.096-19.142 12-41.909 12-64 0-88.366-71.634-160-160-160-4.843 0-9.266 1.579-14 2 12.979-23.123 22-49.597 22-78 0-88.366-71.634-160-160-160zM486 320c3.384 0.214 6.562 0 10 0 4.814 0 9.294 0.416 14 0-4.875 8.722-10.808 16.369-14 26-2.494-9.021-6.040-17.694-10-26zM494 438c1.789 6.866 3.354 13.525 6 20-4.77 0.246-9.349 1.346-14 2 3.459-6.858 5.543-14.62 8-22z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "networkTree" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 447, + "id": 148, + "prevSize": 16, + "code": 59797, + "name": "networkTree" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 149 + }, + { + "icon": { + "paths": [ + "M192 0c-105.522 0-190 84.478-190 190v644c0 105.522 84.478 190 190 190h644c105.522 0 190-84.478 190-190v-644c0-105.522-84.478-190-190-190h-644zM800 96c52.598 0 96 43.403 96 96s-43.402 96-96 96c-52.598 0-94-43.403-94-96s41.402-96 94-96zM156 108h446v176h-446v-176zM804 418c52.598 0 96 43.403 96 96s-43.402 96-96 96c-52.598 0-94-43.403-94-96s41.402-96 94-96zM150 424h444v176h-444v-176zM156 740h446v176h-446v-176zM808 740c52.598 0 94 43.402 94 96s-41.402 96-94 96c-52.598 0-96-43.402-96-96s43.402-96 96-96z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "resourceType" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 448, + "id": 147, + "prevSize": 16, + "code": 59798, + "name": "resourceType" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 150 + }, + { + "icon": { + "paths": [ + "M384 0h256v256h-56.617v128h312.617v384h128v256h-384v-256h128v-256h-512v256h128v256h-384v-256h128v-384h322.873v-128h-66.873v-256z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "tree-icon" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 449, + "id": 146, + "prevSize": 16, + "code": 59799, + "name": "tree-icon" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 151 + }, + { + "icon": { + "paths": [ + "M0 256v192h96v320h-96v256h256v-256h-96v-320h320v320h-96v256h256v-256h-96v-320h320v320h-96v256h256v-256h-96v-320h96v-192z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "uep-topo-group20x20" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 450, + "id": 145, + "prevSize": 16, + "code": 59800, + "name": "uep-topo-group20x20" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 152 + }, + { + "icon": { + "paths": [ + "M86 0c-47.477 0-86 38.523-86 86v532c0 47.477 38.523 86 86 86h350l-44 172c108.143 38.808 178.516 26.928 240 0l-34-172h340c47.477 0 86-38.523 86-86v-532c0-47.477-38.523-86-86-86h-852zM110 112h804v468h-804v-468z", + "M304 840c-37.227 19.359-60 45.155-60 72 0 62.25 120.094 112 268 112s268-49.75 268-112c0-26.845-22.773-52.641-60-72-22.376 63.518-106.109 112-208 112s-185.624-48.482-208-112z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "uep-topo-root" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 451, + "id": 144, + "prevSize": 16, + "code": 59801, + "name": "uep-topo-root" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 153 + }, + { + "icon": { + "paths": [ + "M0 515.003h192v508.997h-192v-508.997z", + "M623.819 0v384l136-122v762h128v-746l136 122v-384l-192 172-208-188z", + "M298.857 515.003h192v508.997h-192v-508.997z", + "M597.714 515.003h192v508.997h-192v-508.997z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "uep-topo-virtual20x20" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 452, + "id": 143, + "prevSize": 16, + "code": 59802, + "name": "uep-topo-virtual20x20" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 154 + }, + { + "icon": { + "paths": [ + "M814-0.002c-115.833 0-208 94.371-208 210 0 115.623 92.167 208 208 208s210-92.377 210-208c0-115.629-94.167-210-210-210zM152 93.998c-84.432 0-152 67.717-152 152v626c0 84.277 67.568 152 152 152h628c84.432 0 150-67.723 150-152v-392c-35.867 16.242-74.050 26-116 26-157.445 0-286-126.827-286-284 0-45.721 10.802-89.719 30-128h-406zM704 105.998h70v206h-70v-206zM856 105.998h70v206h-70v-206zM110 291.998h84l176 228v-228h80v260c-15.173-4.433-31.583-6-48-6-32.083 0-61.605 10.229-88 26l-124-160v222h-80v-342zM414 597.998c34.617 0 62.38 9.577 84 30 12.869 12.071 23.565 27.389 30 50l-56 14c-3.346-14.642-9.383-25.522-20-34-10.617-8.487-24.815-12-40-12-20.976 0-38.938 6.966-52 22-13.062 15.024-18 40.34-18 74-0 35.718 5.131 60.85 18 76 12.869 15.155 31.41 22 52 22 15.185 0 27.061-4.383 38-14 10.938-9.635 17.238-25.321 22-46l56 18c-8.494 30.833-22.246 53.032-42 68-19.754 14.959-43.63 24-74 24-37.577 0-69.807-14.37-94-40s-36-59.552-36-104c0-47.014 11.678-83.987 36-110s56.364-38 96-38zM578 603.998h106c23.55 0 41.646-1.406 54 2 16.601 4.862 30.16 15.533 42 28 11.839 12.453 19.823 25.952 26 44s10 41.535 10 68c-0 23.25-4.21 43.175-10 60-7.078 20.553-16.874 37.271-30 50-9.909 9.631-23.142 16.606-40 22-12.612 3.966-28.895 6-50 6h-108v-280zM636 649.998v186h42c15.957 0 28.922-0.275 36-2 9.265-2.333 15.887-6.48 22-12 6.113-5.524 12.139-15.346 16-28s4-30.163 4-52c0-21.841-0.141-38.312-4-50-3.861-11.698-11.051-19.449-18-26s-15.319-11.681-26-14c-7.979-2.053-22.707-2-46-2h-26z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "common_ncd_stop" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 453, + "id": 142, + "prevSize": 16, + "code": 59803, + "name": "common_ncd_stop" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 155 + }, + { + "icon": { + "paths": [ + "M132-4c-70.912 0-128 57.088-128 128v768c0 70.912 57.088 128 128 128h418l478-480v-416c0-70.912-57.088-128-128-128h-768zM114 78h112l234 380v-380h106v570h-116l-230-372v372h-106v-570zM1028 640l-380 380h252c70.912 0 128-57.088 128-128v-252z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-app-netnumen" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 454, + "id": 141, + "prevSize": 16, + "code": 59804, + "name": "it-app-netnumen" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 156 + }, + { + "icon": { + "paths": [ + "M498 0c-82.532 2.144-165.473 23.817-242 68-244.886 141.385-329.386 455.113-188 700 110.457 191.318 326.328 283.858 532 248-67.447-15.471-126.088-49.392-172-98-19.648-4.043-39.322-7.308-58-14l32-18c-20.773-27.959-38.401-58.436-50-92l-90 52c-30.316-22.699-56.279-52.734-80-84l110-64c16.047 23.28 34.225 43.553 52 64-6.339-26.139-12-51.912-12-80 0-51.261 11.931-100.275 32-144l-42 24c-18.203-33.787-34.668-67.98-48-102l112-64 34 58c23.494-26.609 49.379-49.664 80-68l-24-42 104-60c14.891 18.474 28.283 37.666 42 58 18.097-2.934 35.074-6 54-6 60.481 0 118.588 16.641 168 44l50-30c11.932 28.367 20.080 58.668 26 88 0.673 0.673 1.332 1.322 2 2 45.731 46.49 78.423 105.65 92 172 23.66-117.806 6.802-243.76-58-356-97.203-168.36-276.429-260.716-458-256zM522 98c45.433 1.164 91.51 8.455 134 24l-64 36c-22.814-22.131-46.003-41.701-70-60zM394 114c39.593 25.649 77.216 56.275 114 92l-84 50-72-126c13.744-5.792 27.944-11.801 42-16zM760 178c31.169 23.019 57.714 49.989 82 82l-116 68c-20.416-32.76-40.879-63.373-64-92l88-52c3.203-1.849 7.605-3.435 10-6zM262 182l72 126-92 52c-12.711-49.321-17.254-97.18-20-144 12.392-12.18 25.886-23.294 40-34zM142 324c3.995 27.904 10.633 55.367 18 84l-58 34c7.125-40.791 21.178-80.958 40-118zM674 396c-158.574 0-286 129.426-286 288s127.426 286 286 286c158.574 0 288-127.426 288-286s-129.426-288-288-288zM192 506c13.398 34.314 27.679 69.994 46 104l-108 62c-15.217-36.176-27.5-72.396-32-110l94-56zM654 512c19.614 0 36 16.386 36 36 0 1.039 0.083 0.988 0 2l126 66c8.663-7.366 19.441-12 32-12 27.46 0 50 21.325 50 48s-22.54 48-50 48c-12.559 0-23.337-4.305-32-12l-76 50c0 1.051 0.147 0.989 0 2l92 62c4.905-3.888 8.99-6 16-6 16.568 0 32 11.905 32 28s-15.432 30-32 30c-16.568 0-28-13.905-28-30l-94-66c-2.938 1.163-6.665 2-10 2-13.338 0-26-9.043-26-22s12.662-24 26-24c4.798 0 8.156 1.697 12 4l76-48c-2.479-5.875-4-11.331-4-18 0-5.095 0.518-11.414 2-16l-122-64c-6.254 6.254-16.193 10-26 10-4.385 0-8.176-2.601-12-4l-90 114c8.642 9.928 12 23.723 12 38 0 31.383-24.617 56-56 56s-56-24.617-56-56c0-31.383 24.617-56 56-56 8.553 0 16.75 2.641 24 6l94-116c-3.186-5.279-6-9.223-6-16 0-19.614 14.386-36 34-36z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-sdn-vnet" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 455, + "id": 140, + "prevSize": 16, + "code": 59805, + "name": "it-sdn-vnet" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 157 + }, + { + "icon": { + "paths": [ + "M154 0c-85.040 0-154 68.96-154 154v716c0 85.040 68.96 154 154 154h716c85.040 0 154-68.96 154-154v-716c0-85.040-68.96-154-154-154h-716zM178 122h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM176 344h672c26.747 0 48 28.544 48 64s-21.253 64-48 64h-672c-26.747 0-48-28.544-48-64s21.253-64 48-64zM180 588h64v126h128v-126h64v320h-64v-140h-128v140h-64v-320zM598 588h104c39.375 0 66.041 0.792 78 4 18.375 4.813 33.604 15.886 46 32s18 36.479 18 62c-0 19.688-2.854 36.584-10 50s-16.99 24.344-28 32c-11.011 7.656-22.625 11.521-34 14-15.458 3.062-36.688 6-66 6h-44v120h-64v-320zM662 642v90h36c25.521 0 43.396-0.646 52-4s15.114-8.854 20-16c4.885-7.146 8-14.521 8-24-0-11.666-5.146-22.416-12-30s-15.5-12.104-26-14c-7.729-1.458-22.667-1.999-46-2h-32z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-storage-sanswitch-hp" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 456, + "id": 139, + "prevSize": 16, + "code": 59806, + "name": "it-storage-sanswitch-hp" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 158 + }, + { + "icon": { + "paths": [ + "M526 0c-4.17-0.122-9.077-0.191-14-0.191-282.77 0-512 229.23-512 512 0 0.067 0 0.135 0 0.202-0 282.759 229.23 511.99 512 511.99s512-229.23 512-512c0-0.057 0-0.124 0-0.191 0-277.847-221.318-504.002-497.281-511.792zM294 112v78h562v96h-562v78l-126-126 126-126zM728 386l128 128-128 126v-78h-560v-96h560v-80zM294 658v80h562v96h-562v78l-126-126 126-128z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "it-switch" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 457, + "id": 138, + "prevSize": 16, + "code": 59807, + "name": "it-switch" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 159 + }, + { + "icon": { + "paths": [ + "M120 205.183l-58 124h894l-30-64h-424l-16-60zM0 430l64 594h898l62-594z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "uep-moc-root" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 458, + "id": 137, + "prevSize": 16, + "code": 59808, + "name": "uep-moc-root" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 160 + }, + { + "icon": { + "paths": [ + "M0 256v192h96v320h-96v256h256v-256h-96v-320h320v320h-96v256h256v-256h-96v-320h320v320h-96v256h256v-256h-96v-320h96v-192zM64 832h128v128h-128zM448 832h128v128h-128zM832 832h128v128h-128z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "uep-topo-undefinedgroup20x20" + ], + "colorPermutations": { + "100148206110015523011231311471124133150124491091961401931991472051": [] + } + }, + "attrs": [], + "properties": { + "order": 459, + "id": 136, + "prevSize": 16, + "code": 59809, + "name": "uep-topo-undefinedgroup20x20" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 161 + }, + { + "icon": { + "paths": [ + "M288.414 402.18c0 0.009 0 0.020 0 0.030 0 79.643-64.564 144.207-144.207 144.207s-144.207-64.564-144.207-144.207c0-0.011 0-0.021 0-0.032-0-0.007-0-0.018-0-0.029 0-79.643 64.564-144.207 144.207-144.207s144.207 64.564 144.207 144.207c0 0.011-0 0.021-0 0.032z", + "M287.26 811.728c0 0.007 0 0.016 0 0.025 0 64.352-52.167 116.519-116.519 116.519s-116.519-52.167-116.519-116.519c0-0.009 0-0.017 0-0.026-0-0.006-0-0.015-0-0.023 0-64.352 52.167-116.519 116.519-116.519s116.519 52.167 116.519 116.519c0 0.009-0 0.017-0 0.026z", + "M716.419 898.252c0 0.008 0 0.017 0 0.026 0 69.449-56.299 125.748-125.748 125.748s-125.748-56.299-125.748-125.748c0-0.009 0-0.019 0-0.028-0-0.006-0-0.016-0-0.025 0-69.449 56.299-125.748 125.748-125.748s125.748 56.299 125.748 125.748c0 0.009-0 0.019-0 0.028z", + "M748.721 227.979c0 0.014 0 0.031 0 0.047 0 124.243-100.719 224.963-224.963 224.963s-224.963-100.719-224.963-224.963c0-0.017 0-0.033 0-0.050-0-0.011-0-0.028-0-0.045 0-124.243 100.719-224.963 224.963-224.963s224.963 100.719 224.963 224.963c0 0.017-0 0.033-0 0.050z", + "M1025.598 541.773c0 0.011 0 0.024 0 0.037 0 97.483-79.026 176.509-176.509 176.509s-176.509-79.026-176.509-176.509c0-0.013 0-0.026 0-0.039-0-0.009-0-0.022-0-0.035 0-97.483 79.026-176.509 176.509-176.509s176.509 79.026 176.509 176.509c0 0.013-0 0.026-0 0.039z", + "M526.066 635.219c0 0.006 0 0.013 0 0.020 0 51.609-41.837 93.446-93.446 93.446s-93.446-41.837-93.446-93.446c0-0.007 0-0.014 0-0.021-0-0.005-0-0.012-0-0.019 0-51.609 41.837-93.446 93.446-93.446s93.446 41.837 93.446 93.446c0 0.007-0 0.014-0 0.021z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "analysis" + ] + }, + "attrs": [], + "properties": { + "order": 460, + "id": 135, + "prevSize": 16, + "code": 59810, + "name": "analysis" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 162 + }, + { + "icon": { + "paths": [ + "M316-2c-95.089 0-172 76.911-172 172 0 92.48 72.524 167.929 164 172-90.194 5.431-162 78.44-162 170 0 86.687 64.634 158.002 148 170-84.072 11.37-148 82.811-148 170 0 95.089 76.911 172 172 172s172-76.911 172-172c0-87.422-65.601-158.925-150-170 84.346-11.124 150-82.616 150-170 0-92.33-72.732-167.706-164-172 90.194-5.431 162-78.44 162-170 0-95.089-76.911-172-172-172zM750 206c-95.089 0-172 76.911-172 172s76.911 172 172 172c-94.127 1.118-170 77.608-170 172 0 95.089 76.911 172 172 172s174-76.911 174-172c0-95.089-78.911-172-174-172 94.18-1.057 170-77.569 170-172 0-95.089-76.911-172-172-172z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "bindingRelationship" + ] + }, + "attrs": [], + "properties": { + "order": 461, + "id": 134, + "prevSize": 16, + "code": 59811, + "name": "bindingRelationship" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 163 + }, + { + "icon": { + "paths": [ + "M0 0v1024h1024v-1024h-1024zM64 232h896v744h-896v-744zM154 380v64h386v-64h-386zM154 586v64h738v-64h-738zM154 798v64h738v-64h-738z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "browsePolicy" + ] + }, + "attrs": [], + "properties": { + "order": 462, + "id": 133, + "prevSize": 16, + "code": 59812, + "name": "browsePolicy" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 164 + }, + { + "icon": { + "paths": [ + "M0 0v1024h1024v-1024h-1024zM122 120h780v584h-198v198h-384v-198h-198v-584zM234 234v64h556v-64h-556zM234 446v64h556v-64h-556z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "businessManagment" + ] + }, + "attrs": [], + "properties": { + "order": 463, + "id": 132, + "prevSize": 16, + "code": 59813, + "name": "businessManagment" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 165 + }, + { + "icon": { + "paths": [ + "M0 205.472v818.528h1024v-818.528zM66 269.472h896v108.902h-896zM66 544.378h896v415.622h-896zM726 699.098v192h192v-192zM108 827.098v64h156v-64zM314 827.098v64h64v-64z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "cardData" + ] + }, + "attrs": [], + "properties": { + "order": 464, + "id": 131, + "prevSize": 16, + "code": 59814, + "name": "cardData" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 166 + }, + { + "icon": { + "paths": [ + "M340-4l-34 6-286 48 12 34 22 76h-54v862h1024v-585.229l-295.229-276.771h-262.771l-14-120-64 6 12 114h-46l-10-128zM282 72l8 88h-78l-22-50-44 18 12 32h-34l-20-58zM64 224h118l84 216 10 22 24-4 48-6 30-6-2-30-16-192h368.771v212.771h231.229v521.229h-896zM240 224h56l12 150zM142 578v64h762v-64zM142 764v64h762v-64z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "dailyManagment" + ] + }, + "attrs": [], + "properties": { + "order": 465, + "id": 130, + "prevSize": 16, + "code": 59815, + "name": "dailyManagment" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 167 + }, + { + "icon": { + "paths": [ + "M512 0l-512 322h1024l-512-322zM512 114c26.51 0 48 21.49 48 48s-21.49 48-48 48c-26.51 0-48-21.49-48-48s21.49-48 48-48z", + "M55.344 389.331l4 30.336v391.379l-4 31.853h174l-4-31.853v-391.379l4-30.336h-174zM301.344 389.331l4 30.336v391.379l-4 31.853h174l-4-31.853v-391.379l4-30.336h-174zM547.344 389.331l4 30.336v391.379l-4 31.853h174l-4-31.853v-391.379l4-30.336h-174zM793.344 389.331l4 30.336v391.379l-4 31.853h174l-4-31.853v-391.379l4-30.336h-174z", + "M33.331 897.344h957.338l33.331 126.656h-1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "enterpriseCustomer" + ] + }, + "attrs": [], + "properties": { + "order": 466, + "id": 129, + "prevSize": 16, + "code": 59816, + "name": "enterpriseCustomer" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 168 + }, + { + "icon": { + "paths": [ + "M96 0v1024h832v-554c-16.551 23.661-38.104 28.804-64 42v448h-704v-896h422c23.693-31.685 58.349-54.324 98-64h-584zM816 26c-114.539 0-206 93.461-206 208s91.461 208 206 208c114.54 0 208-93.461 208-208s-93.46-208-208-208zM220 120v64h248v-64h-248zM710 196h214v76h-214v-76zM220 222v206h248v-206h-248zM220 464v98h248v-98h-248zM218 646v64h578v-64h-578zM224 798v64h580v-64h-580z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "equipmentBlacklist" + ] + }, + "attrs": [], + "properties": { + "order": 467, + "id": 128, + "prevSize": 16, + "code": 59817, + "name": "equipmentBlacklist" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 169 + }, + { + "icon": { + "paths": [ + "M962.030 47.968c-8.838 62.893-26.692 87.763-47.41 100.083-20.708 12.307-50.544 12.506-82.517 12.282-31.978 0-67.463-2.432-98.328 22.835-15.428 12.595-26.625 30.035-29.849 52.672-0.25 1.728 0.198 3.52 0.011 5.248-51.048-20.41-232.3-46.931-275.527-8.051-1.923 1.792-5.16 1.664-7.021 3.52l-421.389 419.59 367.856 367.853 421.389-419.635c1.8-1.792 3.59-3.392 5.265-5.312 47.548-52.435 13.878-252.998-27.359-308.89-2.946-19.462-4.849-36.262-3.511-45.651 1.751-12.32 4.106-15.181 7.021-17.562 5.823-4.736 28.684-7.251 61.453-7.027 32.769 0.006 75.936 1.664 114.126-21.062 38.191-22.714 65.175-68.762 75.499-142.221l-59.699-8.781zM623.738 344.115c31.034 0 56.189 25.158 56.185 56.192 0.001 31.027-25.154 56.179-56.183 56.179s-56.184-25.152-56.185-56.179c-0.001-31.034 25.154-56.192 56.183-56.192z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "equipmentModel" + ] + }, + "attrs": [], + "properties": { + "order": 468, + "id": 127, + "prevSize": 16, + "code": 59818, + "name": "equipmentModel" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 170 + }, + { + "icon": { + "paths": [ + "M160 8c-25.903 30.044-41.331 62.192-48 94h-106v924h670c10.497 1.078 21.219 2 32 2 8.767 0 17.417-1.283 26-2h40v-6c140.119-31.085 246-156.583 246-306s-105.881-273.317-246-304v-308h-158c5.279-16.405 16.044-33.491 32-52l-48-42c-25.903 30.044-41.331 62.192-48 94h-80c5.311-16.271 14.187-33.658 30-52l-48-42c-25.903 30.044-41.331 62.192-48 94h-82c5.819-16.405 16.044-33.491 32-52l-50-42c-25.903 30.044-41.331 62.192-48 94h-82c5.279-16.405 16.044-33.491 32-52l-48-42zM86 182h28c8.23 31.167 24.037 60.201 44 88l52-36c-13.274-18.483-23.611-34.856-30-52h82c8.815 31.148 24.048 60.216 44 88l52-36c-13.245-18.443-23.056-34.89-30-52h80c8.23 31.167 24.037 60.201 44 88l52-36c-13.274-18.483-23.611-34.856-30-52h80c8.23 31.167 24.037 60.201 44 88l52-36c-13.274-18.483-23.611-34.856-30-52h76v220c-166.907 6.305-300 143.532-300 312 0 91.892 40.922 174.406 104 232h-414v-764zM888 582l46 44-226 230-28 26-22-30-128-180 52-38 106 150 200-202z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "examine" + ] + }, + "attrs": [], + "properties": { + "order": 469, + "id": 126, + "prevSize": 16, + "code": 59819, + "name": "examine" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 171 + }, + { + "icon": { + "paths": [ + "M0 0v1024h818v-106l-64 8v34h-690v-896h690v106l64 8v-178h-818zM730 228c-163.35 0-296 130.65-296 294s132.65 296 296 296c163.35 0 294-132.65 294-296s-130.65-294-294-294zM132 246v64h306v-64h-306zM704 324h48c17.845 0 35.574 14.224 34 32l-18 200c-1.574 17.776-14.155 32-32 32h-10c-17.845 0-30.060-14.261-32-32l-22-200c-1.94-17.739 14.155-32 32-32zM132 434v64h226v-64h-226zM132 622v64h226v-64h-226zM728 624c27.036 0 50 20.964 50 48s-22.964 50-50 50c-27.036 0-48-22.964-48-50s20.964-48 48-48zM132 812v64h354v-64h-354z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "failureList" + ] + }, + "attrs": [], + "properties": { + "order": 470, + "id": 125, + "prevSize": 16, + "code": 59820, + "name": "failureList" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 172 + }, + { + "icon": { + "paths": [ + "M448-0.001c-99.149 0-184 84.858-184 184s84.851 178 184 178c99.149 0 174-78.858 174-178s-74.851-184-174-184zM286 373.999c-129.705 57.273-217.877 186.935-226 336l-60 250c284.445-318.778 236-372.086 236 66h276.671v-270.561c3.512-99.722 66.764-160.188 121.919-172.125-17.49-54.214-25.625-122.175 3.41-167.313-5.942-21.014-17.153-35.182-36-42-1.835-1.639-2.149 0-4 0-40.421 38.476-89.792 64-150 64s-117.579-25.524-158-64c-1.347-1.639-2.68 1.639-4 0zM786 397.999c-60.168 0-112 51.224-112 112s51.832 110 112 110c60.168 0 106-49.224 106-110s-45.832-112-106-112zM1014 409.999c-65.69 147.654-105.651 269.621-246 250-36.537 0-71.471-14.414-96-38-0.818-1.005-1.199 1.005-2 0-74.281 35.109-67.145 38.621-110 130l4.464 254 63.536-178h10v192h254v-192h12c97.602-38.567 100.046-313.036 110-418z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "familyCustomer" + ] + }, + "attrs": [], + "properties": { + "order": 471, + "id": 124, + "prevSize": 16, + "code": 59821, + "name": "familyCustomer" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 173 + }, + { + "icon": { + "paths": [ + "M256 22v150h64v-54h398v54h64v-150h-526zM8 242v294h132v-64h96v64h600v-64h96v64h100v-294h-1024zM0 596v428h1024v-428h-92v64h-96v-64h-600v64h-96v-64h-140zM404 658l224 152-224 152v-304z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "fileTool" + ] + }, + "attrs": [], + "properties": { + "order": 472, + "id": 123, + "prevSize": 16, + "code": 59822, + "name": "fileTool" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 174 + }, + { + "icon": { + "paths": [ + "M0 0v1024h1024v-1024h-1024zM448 64h128v896h-128v-896zM120 112h208v210h-208v-210zM696 112h208v210h-208v-210zM120 414h208v210h-208v-210zM696 414h208v210h-208v-210zM120 716h208v210h-208v-210zM696 716h208v210h-208v-210z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "groupManagment" + ] + }, + "attrs": [], + "properties": { + "order": 473, + "id": 122, + "prevSize": 16, + "code": 59823, + "name": "groupManagment" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 175 + }, + { + "icon": { + "paths": [ + "M830 4.002c-3.954 0-6.163 1.654-10 2-21.087 1.899-42.52 9.182-60 20-150.563 49.266-299.814 132.472-452 140v310l470 160c6.045 2.682 13.576 4.251 20 6 2.196 0.595 3.76 1.518 6 2 8.682 1.868 16.664 2 26 2 62.639 0 110.185-44.115 142-102s50-131.924 50-216c0-84.083-18.185-164.115-50-222-31.815-57.892-79.361-102-142-102zM830 64.002c25.474 0 58.072 20.828 84 68 25.928 47.179 42 119.755 42 196 0 76.238-16.072 142.828-42 190-25.928 47.179-58.526 68-84 68s-56.072-20.821-82-68c-25.928-47.172-44-113.762-44-190 0-76.245 18.072-148.821 44-196 25.928-47.172 56.526-68 82-68zM72 166.002c-33.614 0-60 26.386-60 60v190c0 33.614 26.386 60 60 60h172v-310h-172zM830 226.002c-17.38 0-30 49.537-30 110s12.62 108 30 108c17.38 0 32-47.537 32-108s-14.62-110-32-110zM330 570.002c-6.68-0.112-12.981 0.409-20 2-9.358 2.121-19.412 5.042-28 10l-58 34c-34.354 19.839-42.526 54.103-34 84 32.971 115.619 74.038 226.209 176 302 25.476 18.866 55.648 31.828 90 12l56-32c34.353-19.834 64.686-68.57 36-84-110.803-59.587-141.877-183.942-176-304-4.781-16.821-21.959-23.665-42-24z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "notice" + ] + }, + "attrs": [], + "properties": { + "order": 474, + "id": 121, + "prevSize": 16, + "code": 59824, + "name": "notice" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 176 + }, + { + "icon": { + "paths": [ + "M516 0l-182 362h362l-180-362zM270 490l-104 206h696l-102-206h-490zM100 824l-100 200h1024l-100-200h-824z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "policy" + ] + }, + "attrs": [], + "properties": { + "order": 475, + "id": 120, + "prevSize": 16, + "code": 59825, + "name": "policy" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 177 + }, + { + "icon": { + "paths": [ + "M0 0v1024h1024v-1024h-1024zM74 74h876v132h-876v-132zM126 104v64h64v-64h-64zM258 104v64h64v-64h-64zM390 104v64h64v-64h-64zM74 270h876v680h-876v-680zM510 326l-284 194h572l-288-194zM272 558v320h478v-320h-478zM448 738h126v138h-126v-138z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "portal" + ] + }, + "attrs": [], + "properties": { + "order": 476, + "id": 119, + "prevSize": 16, + "code": 59826, + "name": "portal" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 178 + }, + { + "icon": { + "paths": [ + "M0 0v1024h818v-98h-64v34h-690v-896h690v114h64v-178h-818zM572 180c-147.574 0-268 123.722-268 276s120.426 276 268 276c50.852 0 97.535-16.556 138-42 2.376 5.114 5.882 11.751 10 16l188 194c19.466 20.086 50.534 20.086 70 0l24-24c19.466-20.086 19.466-51.914 0-72l-188-196c-4.077-4.207-9.099-7.555-14-10 24.048-41.386 38-90.234 38-142 0-152.278-118.426-276-266-276zM572 254c107.326 0 194 91.253 194 202s-86.674 200-194 200c-107.326 0-196-89.253-196-200s88.674-202 196-202zM134 466v64h82c-5.078-20.817-9.052-41.784-10-64h-72zM138 654v64h204c-24.807-17.419-47.038-40.025-66-64h-138zM138 824v64h452v-64h-452z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "recordQuery" + ] + }, + "attrs": [], + "properties": { + "order": 477, + "id": 118, + "prevSize": 16, + "code": 59827, + "name": "recordQuery" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 179 + }, + { + "icon": { + "paths": [ + "M116 30l-114 528h-2l2 6-2 6h2l102 454h840l78-454h2l-2-6 2-6h-2l-114-528h-792zM162 84h700l84 398h-868l84-398zM328 140v48h370v-48h-370zM236 250v58h554v-58h-554zM190 362v64h646v-64h-646zM378 750h268v60h-268v-60z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "resourceManagment" + ] + }, + "attrs": [], + "properties": { + "order": 478, + "id": 117, + "prevSize": 16, + "code": 59828, + "name": "resourceManagment" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 180 + }, + { + "icon": { + "paths": [ + "M0 768h1024v256h-1024v-256z", + "M155.869 132.442h192v535.838h-192v-535.838z", + "M880.115 476.282v192h-427.888v-192h427.888z", + "M871.413 132.442v192h-427.888v-192h427.888z", + "M0 0v1024h1024v-1024h-1024zM60 60h904v901.997h-904v-901.997z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "ruleManagment" + ] + }, + "attrs": [], + "properties": { + "order": 479, + "id": 116, + "prevSize": 16, + "code": 59829, + "name": "ruleManagment" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 181 + }, + { + "icon": { + "paths": [ + "M908 4l-440 1016h82l438-1016h-80zM586 56c-28.986 0-55.758 11.758-76 32s-34 50.999-34 88c0 37.001 13.758 67.758 34 88s47.014 32 76 32c28.986 0 55.758-11.758 76-32s34-50.999 34-88c0-37.001-13.758-67.758-34-88s-47.014-32-76-32zM586 104c24.033 0 45.497 11.497 60 26s22 29.982 22 46c0 16.018-7.497 33.497-22 48s-35.967 24-60 24c-24.033 0-45.497-9.497-60-24s-22-31.982-22-48c0-16.018 7.497-31.497 22-46s35.967-26 60-26zM462 342l-208 428-124-200-132 84 208 204 22 26 28-22 380-448-174-72zM872 740c-28.986 0-55.758 11.758-76 32s-36 50.999-36 88c0 37.001 15.758 67.758 36 88s47.014 32 76 32c28.986 0 53.758-11.758 74-32s36-50.999 36-88c0-37.001-15.758-67.758-36-88s-45.014-32-74-32zM872 788c24.033 0 45.497 11.497 60 26s20 29.982 20 46c0 16.018-5.497 33.497-20 48s-35.967 24-60 24c-24.033 0-45.497-9.497-60-24s-22-31.982-22-48c0-16.018 7.497-31.497 22-46s35.967-26 60-26z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "sucessRate" + ] + }, + "attrs": [], + "properties": { + "order": 480, + "id": 115, + "prevSize": 16, + "code": 59830, + "name": "sucessRate" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 182 + }, + { + "icon": { + "paths": [ + "M340 0c-188.394 0-340 151.606-340 340v344c0 188.394 151.606 340 340 340h344c188.394 0 340-151.606 340-340v-344c0-188.394-151.606-340-340-340h-344zM340 60h344c156.193 0 280 123.807 280 280v344c0 156.193-123.807 280-280 280h-344c-156.193 0-280-123.807-280-280v-344c0-156.193 123.807-280 280-280zM294 152l-118 98 140 172-148 204 116 86 224-284-214-276zM526 616v96h96v-96h-96zM758 616v96h96v-96h-96z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "terminalManagment" + ] + }, + "attrs": [], + "properties": { + "order": 481, + "id": 114, + "prevSize": 16, + "code": 59831, + "name": "terminalManagment" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 183 + }, + { + "icon": { + "paths": [ + "M232 10c-61.702 26.098-104 88.791-104 160 0 63.406 36.891 118.173 88 148v142h-28c-102.784 0-188 79.286-188 174v216c0 94.714 85.216 174 188 174h648c102.784 0 188-79.286 188-174v-216c0-94.714-85.216-174-188-174h-90v-272.744l32.242 10.697h75.758c9.891-1.512 13.281-2.842 20-18 16.523-50.182 124.738-56.639 146-37.954 3.52-58.704-84.581-96.842-148-94-38.653-1.549-114 0-114 0-12.518 0.026-23.19 12.302-28 28h-56v-8c0-29.134-22.866-54-52-54h-20c-29.134 0-54 24.866-54 54v108c0 29.134 24.866 54 54 54h20c10.645 0 19.738-4.604 28-10v240h-270v-138c55.309-28.606 92-85.473 92-152 0-71.885-45.362-134.327-108-160 0.91 2.929 4 6.714 4 10v176c0 15.687-14.009 28-28 28h-80c-13.991 0-28-12.313-28-28v-176c0-3.286 3.090-7.071 4-10-0.589 0.241-3.414-0.248-4 0zM188 560h648c45.538 0 82 32.037 82 74v16h-812v-16c0-41.963 36.462-74 82-74zM106 714h812v136c0 41.963-36.462 76-82 76h-648c-45.538 0-82-34.037-82-76z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "tools" + ] + }, + "attrs": [], + "properties": { + "order": 482, + "id": 113, + "prevSize": 16, + "code": 59832, + "name": "tools" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 184 + }, + { + "icon": { + "paths": [ + "M386.288 150.611c-64.504 2.92-124.19 43.881-109.558 141.846 15.955 106.825 15.406 172.256 93.327 158.057 87.588-15.961 108.823-82.844 103.471-164.136-5.847-88.81-26.616-138.511-87.24-135.767zM670.326 166.822c-46.129 2.217-72.376 54.29-93.327 119.556-33.015 102.851-30.356 144.937 48.692 149.951 88.855 5.637 118.134-31.147 131.875-111.45 13.208-77.193-5.994-141.384-64.923-156.030-7.366-1.831-15.727-2.343-22.317-2.026zM112.394 359.327c-60.726 0-106.386 63.689-111.586 141.846-7.171 107.77 33.666 156.045 111.586 141.846 87.588-15.961 115.64-60.605 109.558-141.846-5.847-78.094-48.831-141.846-109.558-141.846zM923.931 373.512c-43.702 4.545-86.594 41.033-113.615 93.213-49.679 95.935-32.478 154.168 44.635 172.241 86.68 20.316 129.302-8.204 156.221-85.107 25.876-73.924 13.064-150.038-42.606-174.268-13.918-6.057-30.067-7.594-44.635-6.079zM493.817 497.12c-80.695 0-167.197 57.335-200.855 176.294-89.884 44.495-159.755 129.365-137.961 214.795 35.956 140.948 185.98 135.767 338.817 135.767s326.644 1.514 326.644-143.872c0-145.386-173.807-382.983-326.644-382.983z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "track" + ] + }, + "attrs": [], + "properties": { + "order": 483, + "id": 112, + "prevSize": 16, + "code": 59833, + "name": "track" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 185 + }, + { + "icon": { + "paths": [ + "M325.771 135.155c-83.461 0-153.836 70.365-153.836 153.834 0 83.463 70.375 150.816 153.836 150.816s147.803-67.353 147.803-150.816c0-83.469-64.342-153.834-147.803-153.834zM190.033 448.859c-109.183 48.214-183.195 158.051-190.033 283.537h404.954l113.039-250.144c-12.772-8.111-48.521-27.215-62.517-33.393-1.545-1.312-1.458 0-3.017 0l-126.689 189.911-132.721-189.911c-1.134-1.312-1.905 1.312-3.016 0z", + "M703.355 355.176c-83.461 0-153.836 70.365-153.836 153.834 0 83.463 70.375 150.816 153.836 150.816s147.804-67.354 147.804-150.816c0-83.469-64.342-153.834-147.804-153.834zM567.617 668.88c-109.183 48.214-183.195 158.051-190.033 283.537h645.509c-6.838-125.486-80.85-235.323-190.033-283.537-1.546-1.312-1.459 0-3.017 0-71.621 110.94-177.699 111.193-259.41 0-1.134-1.312-1.905 1.312-3.016 0z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "userManagment" + ] + }, + "attrs": [], + "properties": { + "order": 484, + "id": 111, + "prevSize": 16, + "code": 59834, + "name": "userManagment" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 186 + }, + { + "icon": { + "paths": [ + "M128 0.25v481.997h-128l112 540.806h802l110-540.806h-128v-481.997zM192 64.25h640v417.997h-640zM244 192.25v64h270v-64zM242 322.246v64h520v-64z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "versionManagment" + ] + }, + "attrs": [], + "properties": { + "order": 485, + "id": 110, + "prevSize": 16, + "code": 59835, + "name": "versionManagment" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 187 + }, + { + "icon": { + "paths": [ + "M116 0v1024h792v-722h2l-282-300v-2h-512zM176 60h390v302h282v600h-672v-902zM628 96l192 206h-192v-206zM374 98v106h-114v84h114v112l140-154-140-148zM650 452v106h-114v84h114v112l140-154-140-148zM374 616v106h-114v84h114v112l140-154-140-148z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "workOrder" + ] + }, + "attrs": [], + "properties": { + "order": 486, + "id": 109, + "prevSize": 16, + "code": 59836, + "name": "workOrder" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 188 + }, + { + "icon": { + "paths": [ + "M888.686 0h-753.371c-74.606 0-135.314 62.171-135.314 138.606v746.862c0 76.361 60.709 138.533 135.314 138.533h753.371c74.606 0 135.314-62.171 135.314-138.606v-746.789c0-76.434-60.709-138.606-135.314-138.606zM888.686 950.857h-49.445v-59.831c0-77.531-64-140.581-142.702-140.581h-15.287c-13.239-22.601-37.010-38.473-65.463-38.473-42.35 0-76.8 33.646-76.8 75.118 0 41.399 34.45 75.191 76.8 75.191 28.526 0 52.517-16.091 65.609-38.766h15.141c38.327 0 69.559 30.208 69.559 67.438v59.904h-571.611v-59.831c0-37.23 31.232-67.438 69.559-67.438h51.785c13.239 22.747 37.157 38.766 65.682 38.766 42.35 0 76.727-33.792 76.727-75.191 0-41.472-34.377-75.118-76.727-75.118-28.453 0-52.297 15.872-65.536 38.4h-51.931c-78.702 0-142.702 63.049-142.702 140.581v56.832c-27.355-6.802-48.201-31.598-48.201-62.464v-263.68h109.568c10.679 13.605 26.697 22.894 45.568 22.894 32.329 0 58.441-25.6 58.441-57.198 0-31.671-26.039-57.344-58.441-57.344-21.65 0-39.863 12.069-49.957 29.33h-105.179v-91.429h111.835c10.752 11.776 25.893 19.602 43.301 19.602 32.329 0 58.441-25.673 58.441-57.271 0-31.671-26.039-57.344-58.441-57.344-23.186 0-42.789 13.531-52.224 32.695h-102.912v-267.045c0-36.133 27.867-65.463 62.171-65.463h266.459v108.032c-19.602 9.216-33.353 28.526-33.353 51.2 0 31.744 26.185 57.344 58.587 57.344 32.183 0 58.441-25.6 58.441-57.344 0-17.042-7.973-31.89-19.968-42.423v-116.809h93.33v110.226c-17.774 9.947-30.062 27.721-30.062 49.006 0 31.744 26.185 57.344 58.514 57.344 32.183 0 58.441-25.6 58.441-57.344 0-18.505-9.509-34.231-23.406-44.617v-114.615h266.459c34.231 0 62.098 29.33 62.098 65.463v267.045h-102.546c-9.435-19.163-28.965-32.695-52.224-32.695-32.329 0-58.441 25.673-58.441 57.344 0 31.598 26.039 57.271 58.441 57.271 17.408 0 32.475-7.826 43.301-19.602h111.47v91.429h-104.887c-10.094-17.262-28.306-29.33-49.957-29.33-32.329 0-58.441 25.673-58.441 57.344s26.039 57.198 58.441 57.198c18.871 0 34.962-9.362 45.568-22.894h109.275v263.68c0 36.133-27.867 65.463-62.171 65.463z", + "M356.206 377.637h294.985v275.529h-294.985v-275.529z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "cpu" + ] + }, + "attrs": [], + "properties": { + "order": 487, + "id": 108, + "prevSize": 16, + "code": 59837, + "name": "cpu" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 189 + }, + { + "icon": { + "paths": [ + "M1023.854 653.751l-97.938-566.491h-794.99l-130.706 566.491h-0.219v284.306h1024v-284.306h-0.146zM183.296 160.402h686.885l72.923 421.010h-856.942l97.134-421.010zM955.685 864.841h-887.369v-137.947h887.442v137.947z", + "M131.95 750.738h73.143v99.109h-73.143v-99.109z", + "M247.003 750.738h73.143v99.109h-73.143v-99.109z", + "M890.368 802.231c0 17.693-14.343 32.037-32.037 32.037s-32.037-14.343-32.037-32.037c0-17.693 14.343-32.037 32.037-32.037s32.037 14.343 32.037 32.037z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "memory" + ] + }, + "attrs": [], + "properties": { + "order": 488, + "id": 107, + "prevSize": 16, + "code": 59838, + "name": "memory" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 190 + }, + { + "icon": { + "paths": [ + "M512 0c-282.331 0-512 229.742-512 512s229.669 512 512 512c282.258 0 512-229.742 512-512s-229.742-512-512-512zM512 950.857c-242.030 0-438.857-196.827-438.857-438.857s196.827-438.857 438.857-438.857 438.857 196.827 438.857 438.857-196.827 438.857-438.857 438.857z", + "M757.906 631.296c-56.174-56.174-80.018-165.961-77.605-227.474 2.853-61.44-14.409-118.638-58.661-152.357-39.79-30.208-80.53-24.064-80.53-24.064l-2.414-21.431c0 0-8.923-6.949-26.77-6.949-16.823 0-26.697 6.949-26.697 6.949l-2.706 21.431c0 0-40.667-6.071-80.165 24.064-44.471 33.719-61.586 90.99-58.88 152.357 2.706 61.513-21.358 171.301-77.605 227.401-56.101 56.174-64.073 58.953-61.44 88.283 2.779 29.33 26.917 43.813 26.917 43.813h196.462c0 34.158 37.742 61.733 84.187 61.733 46.592 0 84.187-27.575 84.187-61.733h196.535c0 0 24.21-14.409 26.843-43.813s-5.266-32.11-61.659-88.21z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "currentAlarm" + ] + }, + "attrs": [], + "properties": { + "order": 489, + "id": 106, + "prevSize": 16, + "code": 59839, + "name": "currentAlarm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 191 + }, + { + "icon": { + "paths": [ + "M518.656 2.341c-282.331 0-512 229.669-512 512 0 282.258 229.669 512 512 512s512.073-229.742 512.073-512c0-282.331-229.742-512-512.073-512zM518.656 953.125c-242.030 0-438.857-196.827-438.857-438.857s196.827-438.857 438.857-438.857c242.103 0 438.93 196.827 438.93 438.857s-196.901 438.857-438.93 438.857z", + "M818.907 432.494c-1.755 0-3.365 1.243-5.339 1.463v-192.951c0 0-27.209-12.142-51.273 0-50.834 25.307-118.711 109.495-190.245 123.173-71.314 13.531-264.265-0.512-350.939 7.607-23.918 2.121-63.927 15.067-67.511 67.584-3.877 52.443 0 107.154 0 107.154s19.602 45.202 45.056 45.202c25.381 0 81.627 0 81.627 0s-2.121 107.447 0 143.287c3.145 50.176 18.871 62.318 38.107 88.137 11.045 15.141 73.655 49.737 112.347 25.966 21.504-13.385 39.643-36.425 31.89-65.536-9.509-35.182-44.105-1.39-54.711-44.105-10.679-42.496-7.607-127.561-7.607-127.561s18.286-25.893 42.642-31.963c5.413-1.463 74.459 4.608 74.459 4.608s190.464 66.779 235.52 129.097c31.963 44.032 60.635 13.531 60.635 13.531v-190.61c1.902 0.219 3.584 1.463 5.266 1.463 20.626 0 37.376-23.479 37.376-52.809 0.073-29.111-16.603-52.736-37.303-52.736zM781.824 668.087h-13.824c0 0 0 0-39.424-35.035-39.424-34.889-127.122-69.925-180.809-86.674-15.433-4.754-65.024-8.338-65.024-8.338v-112.347c6.437-0.146 17.262-4.389 37.815-3.73 107.886 2.999 249.198-129.243 249.198-129.243h12.142v375.369z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "noticeAlarm" + ] + }, + "attrs": [], + "properties": { + "order": 490, + "id": 105, + "prevSize": 16, + "code": 59840, + "name": "noticeAlarm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 192 + }, + { + "icon": { + "paths": [ + "M672.329 351.305l-117.906 100.571c-10.679-6.217-22.528-10.679-35.767-10.679-8.997 0-17.335 2.121-25.234 5.12l-182.491-182.491c-13.458-13.458-35.84-12.727-50.103 1.609-14.263 14.263-14.994 36.645-1.609 50.103l188.416 188.416c-0.512 3.511-2.121 6.656-2.121 10.386 0 40.375 32.768 73.143 73.143 73.143 39.643 0 71.534-31.671 72.704-71.022l128.439-109.568c15.36-13.093 17.189-36.133 4.169-51.493-13.166-15.433-36.279-17.262-51.639-4.096z", + "M518.656 206.848c20.187 0 36.571-16.384 36.571-36.571v-51.2c0-20.187-16.384-36.571-36.571-36.571s-36.571 16.384-36.571 36.571v51.2c0 20.187 16.311 36.571 36.571 36.571z", + "M518.656 820.736c-20.187 0-36.571 16.457-36.571 36.571v51.273c0 20.114 16.384 36.571 36.571 36.571s36.571-16.457 36.571-36.571v-51.273c0-20.187-16.384-36.571-36.571-36.571z", + "M910.336 477.769h-51.127c-20.187 0-36.571 16.384-36.571 36.571s16.384 36.571 36.571 36.571h51.127c20.261 0 36.571-16.384 36.571-36.571s-16.238-36.571-36.571-36.571z", + "M172.105 477.769h-51.2c-20.114 0-36.571 16.384-36.571 36.571s16.457 36.571 36.571 36.571h51.2c20.187 0 36.571-16.384 36.571-36.571s-16.384-36.571-36.571-36.571z", + "M518.656 2.341c-282.331 0-512 229.669-512 512 0 282.258 229.669 512 512 512s512.073-229.742 512.073-512c0-282.331-229.742-512-512.073-512zM518.656 953.125c-242.030 0-438.857-196.827-438.857-438.857s196.827-438.857 438.857-438.857c242.103 0 438.93 196.827 438.93 438.857s-196.901 438.857-438.93 438.857z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "historyAlarm" + ] + }, + "attrs": [], + "properties": { + "order": 491, + "id": 104, + "prevSize": 16, + "code": 59841, + "name": "historyAlarm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 193 + }, + { + "icon": { + "paths": [ + "M868.791 755.785l-251.026-245.102 245.175-250.88-107.154-104.521-245.029 250.88-251.026-245.029-104.521 107.008 251.026 245.102-245.175 251.026 107.081 104.448 245.102-250.953 251.026 245.175z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "close" + ] + }, + "attrs": [], + "properties": { + "order": 492, + "id": 103, + "prevSize": 16, + "code": 59842, + "name": "close" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 194 + }, + { + "icon": { + "paths": [ + "M36.571 73.143v950.857h950.857v-950.857h-950.857zM919.113 146.286v113.225h-814.226v-113.225h814.226zM688.567 332.654v165.23h-136.338v-165.23h136.338zM479.086 497.957h-144.018v-165.303h144.018v165.303zM261.925 497.957h-157.038v-165.303h157.038v165.303zM261.925 571.099v142.482h-157.038v-142.482h157.038zM335.067 571.099h144.018v142.482h-144.018v-142.482zM552.229 571.099h136.338v142.482h-136.338v-142.482zM761.71 571.099h157.403v142.482h-157.403v-142.482zM761.71 497.957v-165.303h157.403v165.23h-157.403zM104.887 950.93v-164.206h157.038v164.206h-157.038zM335.067 950.93v-164.206h144.018v164.206h-144.018zM552.229 950.93v-164.206h136.338v164.206h-136.338zM761.71 950.93v-164.206h157.403v164.206h-157.403z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "table" + ] + }, + "attrs": [], + "properties": { + "order": 493, + "id": 102, + "prevSize": 16, + "code": 59843, + "name": "table" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 195 + }, + { + "icon": { + "paths": [ + "M215.040 36.571l501.102 481.646v-481.573h146.286v950.784h-146.286v-463.506l-501.102 463.506z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "next" + ] + }, + "attrs": [], + "properties": { + "order": 494, + "id": 101, + "prevSize": 16, + "code": 59844, + "name": "next" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 196 + }, + { + "icon": { + "paths": [ + "M862.427 36.571l-501.102 481.646v-481.573h-146.286v950.784h146.286v-463.506l501.102 463.506z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "pre" + ] + }, + "attrs": [], + "properties": { + "order": 495, + "id": 100, + "prevSize": 16, + "code": 59845, + "name": "pre" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 197 + }, + { + "icon": { + "paths": [ + "M942.528 574.848c0 0-39.872-43.904-77.632-68.096-37.888-24.32-102.656-36.992-102.656-36.992l-3.392-31.104 6.848-4.608c0 0 27.776-56.64 32.384-69.312 4.544-12.736 12.8-12.736 18.56-19.648s12.032-51.84 8.128-58.88c-2.88-5.184-9.344-7.040-9.344-7.040l1.28-9.152c0 0 10.368-57.728 6.848-75.072s-11.648-45.12-21.888-58.88c-10.496-13.888-27.648-20.8-41.6-18.56-13.888 2.368-20.864-6.912-20.864-6.912s-26.368-23.104-51.84-24.256-98.304 17.344-113.28 85.504c-14.976 68.16 0 110.848 0 110.848l-6.976 2.304c0 0-3.456 28.864 3.52 49.664 6.848 20.736 24.256 33.408 24.256 33.408l3.456 6.976c0 0 4.032 9.344 9.28 20.672 53.44 35.776 90.176 104.704 90.176 184.96 0 46.080-12.224 88.384-32.576 123.072 11.2 0.704 22.464 1.344 33.6 1.088 134.208-3.648 236.672-42.24 243.712-61.888 6.848-19.52 0-68.096 0-68.096z", + "M355.136 580.736c0-78.912 35.52-146.88 87.552-183.168 6.528-13.76 12.864-27.456 14.848-32.896 4.48-12.672 12.736-12.672 18.496-19.584s12.032-51.84 8.128-58.88c-2.88-5.184-9.344-7.040-9.344-7.040l1.28-9.152c0 0 10.368-57.728 6.848-75.072s-11.648-45.12-21.888-58.88c-10.56-13.888-27.712-20.864-41.664-18.56-13.888 2.368-20.864-6.912-20.864-6.912s-26.368-23.104-51.84-24.256c-25.472-1.152-98.304 17.344-113.28 85.504s0 110.848 0 110.848l-6.912 2.304c0 0-3.456 28.864 3.456 49.664 6.912 20.736 24.256 33.408 24.256 33.408l3.456 6.976c0 0 22.016 51.968 31.168 60.032 9.28 8.128 2.304 28.928 2.304 28.928l-12.672 9.216c0 0-161.664 50.88-166.336 97.088s-6.464 55.808-3.264 69.888c2.176 9.344 129.664 68.096 249.28 64.768 10.048-0.256 19.392-1.152 29.056-1.728-20.032-34.688-32.064-76.736-32.064-122.496z", + "M568.832 429.504c0 0-26.368-23.104-51.84-24.256s-98.304 17.344-113.28 85.504c-14.976 68.16 0 110.848 0 110.848l-6.912 2.368c0 0-3.456 28.864 3.456 49.664 6.912 20.736 24.256 33.408 24.256 33.408l3.456 6.976c0 0 22.016 51.968 31.168 60.032 9.28 8.064 2.304 28.864 2.304 28.864l-12.672 9.216c0 0-161.664 50.88-166.336 97.088s-6.464 55.808-3.264 69.888c2.176 9.408 129.664 68.16 249.28 64.832 134.208-3.712 236.736-42.304 243.712-61.888 6.848-19.648 0-68.16 0-68.16s-39.872-43.904-77.632-68.096c-37.888-24.32-102.656-36.992-102.656-36.992l-3.392-31.104 6.848-4.608c0 0 27.776-56.64 32.384-69.312 4.48-12.672 12.736-12.672 18.496-19.648s12.032-51.84 8.128-58.88c-2.88-5.184-9.344-7.040-9.344-7.040l1.28-9.152c0 0 10.368-57.728 6.848-75.072s-11.648-45.12-21.888-58.88c-10.432-14.016-27.52-20.928-41.536-18.688-13.888 2.368-20.864-6.912-20.864-6.912z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "roleset" + ] + }, + "attrs": [], + "properties": { + "order": 496, + "id": 99, + "prevSize": 16, + "code": 59846, + "name": "roleset" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 198 + }, + { + "icon": { + "paths": [ + "M509.504 670.656c0 0 9.344-27.904-3.072-38.656-12.288-10.816-41.792-80.448-41.792-80.448l-4.608-9.344c0 0-23.232-16.96-32.512-44.864-0.64-1.856-0.768-3.968-1.28-5.888-17.152-4.544-28.928-6.848-28.928-6.848l-4.352-39.36 8.64-5.888c0 0 12.16-24.832 23.424-48.512-2.88-25.856-3.456-64 7.104-111.68 6.208-28.096 20.096-49.344 36.864-65.984 3.584-23.104 8.576-61.056 5.504-75.904-4.16-21.888-14.528-56.96-27.712-74.432-13.12-17.536-34.944-26.304-52.48-23.36s-26.24-8.768-26.24-8.768-33.472-29.248-65.6-30.656c-32.128-1.472-124.16 21.888-143.168 107.968-18.944 86.080 0 140.032 0 140.032l-8.64 3.008c0 0-4.416 36.544 4.288 62.72 8.768 26.304 30.656 42.368 30.656 42.368l4.352 8.768c0 0 27.84 65.664 39.424 75.904 11.648 10.112 2.88 36.48 2.88 36.48l-15.936 11.584c0 0-204.288 64.192-210.176 122.688-5.824 58.304-8.192 70.528-4.096 88.256 2.624 11.072 144.704 77.184 287.104 81.728 54.144-51.456 203.456-98.496 203.456-98.496l16.896-12.416z", + "M1019.84 849.536c0 0-53.376-58.816-104-91.328-50.752-32.576-137.344-49.472-137.344-49.472l-4.608-41.728 9.28-6.272c0 0 37.12-75.84 43.392-92.864 6.144-17.024 17.024-17.024 24.768-26.304s16-69.376 10.752-78.976c-3.776-6.912-12.224-9.344-12.224-9.344l1.344-12.224c0 0 13.888-77.376 9.28-100.608s-15.488-60.352-29.376-78.912c-14.016-18.624-37.12-27.904-55.744-24.832-18.624 3.136-27.904-9.28-27.904-9.28s-35.52-30.912-69.504-32.448c-34.112-1.536-131.648 23.168-151.744 114.56-20.096 91.264 0 148.48 0 148.48l-9.28 3.136c0 0-4.672 38.72 4.608 66.56 9.28 27.904 32.512 44.928 32.512 44.928l4.608 9.344c0 0 29.504 69.632 41.728 80.448 12.352 10.752 3.136 38.656 3.136 38.656l-17.024 12.288c0 0-216.64 68.096-222.848 130.048s-8.704 74.752-4.352 93.632c2.88 12.544 173.76 91.264 334.016 86.784 179.904-4.928 317.248-56.704 326.528-82.944 9.344-26.304 0-91.328 0-91.328z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "role" + ] + }, + "attrs": [], + "properties": { + "order": 497, + "id": 98, + "prevSize": 16, + "code": 59847, + "name": "role" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 199 + }, + { + "icon": { + "paths": [ + "M593.664 100.928c0 0-41.216-35.84-80.64-37.632-39.488-1.792-152.512 26.88-175.808 132.736-23.296 105.792 0 172.096 0 172.096l-10.688 3.648c0 0-5.376 44.864 5.312 77.184 10.752 32.256 37.696 51.968 37.696 51.968l5.376 10.816c0 0 34.112 80.704 48.384 93.184 14.4 12.48 3.584 44.8 3.584 44.8l-19.712 14.336c0 0-251.072 78.912-258.24 150.656s-10.048 86.656-5.056 108.48c3.328 14.592 201.344 105.728 386.944 100.608 208.512-5.76 367.68-65.664 378.432-96.128 10.752-30.528 0-105.792 0-105.792s-61.952-68.16-120.64-105.792c-58.752-37.76-159.104-57.344-159.104-57.344l-5.248-48.448 10.624-7.232c0 0 43.136-87.872 50.304-107.584 7.104-19.712 19.712-19.712 28.672-30.464s18.56-80.384 12.48-91.52c-4.352-8-14.336-10.88-14.336-10.88l1.792-14.208c0 0 16.064-89.664 10.688-116.544-5.312-26.88-17.92-69.952-34.048-91.456s-42.944-32.256-64.512-28.736c-21.568 3.648-32.256-10.752-32.256-10.752z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "user" + ] + }, + "attrs": [], + "properties": { + "order": 498, + "id": 97, + "prevSize": 16, + "code": 59848, + "name": "user" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 200 + }, + { + "icon": { + "paths": [ + "M490.639 255.969l-457.452 128.548 31.401 141.455-2.253-0.481v3.779l-45.338 141.681 402.376 96.333 77.45-145.454 1.884-3.779-411.1-87.199 434.191-129.428z", + "M62.336 701.619v205.455l436.372 115.231v-359.347l-66.514 126.766z", + "M531.937 619.74l1.889 3.779 77.445 145.459 402.381-96.338-45.348-141.681v-3.779l-1.367 0.287 33.623-151.404-447.601-120.095-31.16 145.454 442.87 126.525z", + "M531.937 664.648v359.352l436.367-115.236v-205.455l-369.848 88.1z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "empty" + ] + }, + "attrs": [], + "properties": { + "order": 499, + "id": 96, + "prevSize": 16, + "code": 59849, + "name": "empty" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 201 + }, + { + "icon": { + "paths": [ + "M544.427 403.183l179.849 222.788v295.424l119.74 102.605v-397.414l179.985-223.403h-479.573zM809.882 614.946v333.346l-51.473-39.458v-295.492l-138.923-176.503h333.858l-143.462 178.108z", + "M393.865 425.472c-35.601 8.499-61.269 42.598-62.362 44.032l-3.14 4.267-0.205 5.291c-0.137 4.164-3.686 103.185 9.899 155.136 9.83 37.717 35.635 40.482 51.029 42.052 12.834 1.399 14.336 1.843 16.691 10.138 8.431 30.071-19.422 50.381-31.676 57.617-37.717 21.914-106.701-12.937-116.873-26.317-3.618-4.676-7.134-8.943-10.513-13.073-18.091-21.982-30.071-36.42-32.939-81.203-2.628-40.994 0-165.751 0.034-167.049l0.375-17.442h-118.374c-13.141 0-30.413-23.279-39.014-40.585-0.853-13.483-3.823-68.164 0.205-120.286 3.789-50.62 44.237-61.679 68.028-63.795 47.002-4.198 98.202-3.243 147.763-2.321 63.556 1.126 123.563 2.287 174.046-6.861 59.187-10.786 114.449-54.511 163.226-93.082 27.785-21.948 54.033-42.735 76.015-53.146 13.756-6.554 29.286-4.949 39.287-2.765v234.598l19.831-3.277 3.721-1.502c15.735 0 29.047 20.651 29.047 45.056 0 7.817-1.468 15.462-4.403 22.767l31.744 12.629c4.506-11.366 6.793-23.279 6.793-35.43 0-39.868-22.357-72.021-52.599-78.131v-220.604l-10.513-4.403c-1.604-0.717-41.267-16.964-77.551 0.307-25.463 12.083-53.248 33.997-82.534 57.207-45.67 36.079-97.382 77.005-148.173 86.255-47.138 8.499-105.54 7.441-167.322 6.315-50.449-0.956-102.571-1.877-151.415 2.458-57.89 5.12-94.925 40.721-99.021 95.198-4.813 62.259-0.205 125.952 0 128.649l1.502 5.837c2.97 6.451 30.174 63.181 71.339 63.181h83.524c-0.614 36.352-1.775 119.159 0.375 152.508 3.618 55.774 20.753 76.595 40.653 100.727 3.209 3.891 6.519 7.885 9.83 12.151 13.107 17.135 65.092 46.558 114.142 46.558 16.555 0 32.802-3.379 47.070-11.708 39.834-23.586 57.481-59.597 47.206-96.324-8.738-30.857-32.017-33.348-45.943-34.816-13.585-1.399-17.681-1.809-21.572-16.759-10.581-40.516-9.489-118.101-8.977-139.605 7.543-8.67 22.938-23.313 38.059-26.999 6.588-0.478 50.039 2.458 86.699 5.564l8.533-33.143-4.198-0.887c-87.996-7.134-94.481-5.666-97.348-4.983z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "noticeFilter" + ] + }, + "attrs": [], + "properties": { + "order": 500, + "id": 95, + "prevSize": 16, + "code": 59850, + "name": "noticeFilter" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 202 + }, + { + "icon": { + "paths": [ + "M260.949 393.216c14.711-9.284 56.491-30.891 129.877-33.485 93.15-3.174 275.9 29.491 277.675 29.798l52.156 9.353-36.864-38.059c-5.905-6.076-145.681-148.651-287.369-158.618-68.574-4.881-119.159 4.233-146.33 11.196l-5.803-149.094-233.745 271.189 250.402 235.042v-177.323zM226.816 376.491v115.2l-169.097-158.72 155.819-180.736 4.267 108.51 22.323-8.704c0.512-0.171 58.914-22.391 153.873-15.77 85.026 6.007 172.954 68.301 223.198 110.217-63.181-9.694-164.215-22.972-227.601-20.855-106.325 3.755-154.795 44.032-156.809 45.739l-5.973 5.12z", + "M936.073 719.838l-27.477-27.136c-72.841-72.738-102.332-217.771-99.396-292.796 4.471-95.881-25.907-173.705-85.538-219.17-40.073-30.447-80.828-36.079-103.356-36.489l-2.253-20.105-5.7-4.437c-1.707-1.331-17.476-12.971-46.49-12.971-27.238 0-43.895 11.23-45.705 12.493l-6.144 4.335-2.628 20.719c-14.131 0.273-35.567 2.594-59.358 11.878l12.356 31.812c32.529-12.629 59.255-9.148 59.46-9.114l17.237 2.56 4.71-37.069c9.148-3.413 31.846-3.243 40.141-0.239l4.301 37.239 17.374-2.458c1.98-0.205 48.777-6.383 95.403 29.047 50.415 38.434 76.049 106.086 72.090 190.566-3.311 83.558 28.467 237.568 109.397 318.43l27.648 27.307c51.132 50.21 52.531 52.395 50.278 77.653-2.15 23.484-17.51 37.888-24.474 43.315h-275.831v17.067c0 36.318-43.145 65.911-96.119 65.911s-96.085-29.559-96.085-65.911v-17.067h-275.763c-6.929-5.461-22.391-20.070-24.576-43.315-2.253-25.259-0.853-27.443 49.971-77.517l27.75-27.511c68.13-68.062 100.489-187.631 107.52-269.346l-33.997-2.935c-6.519 75.981-36.045 186.539-97.655 248.149l-27.58 27.307c-51.541 50.756-63.795 62.839-60.006 104.96 4.471 47.514 42.769 70.895 44.407 71.851l4.028 2.423h253.645c10.581 47.070 64.102 82.978 128.341 82.978 64.273 0 117.794-35.908 128.375-82.978h253.679l4.028-2.389c1.638-0.956 40.073-24.405 44.373-71.953 3.721-42.121-8.602-54.238-60.382-105.097z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "alarmTurn" + ] + }, + "attrs": [], + "properties": { + "order": 501, + "id": 94, + "prevSize": 16, + "code": 59851, + "name": "alarmTurn" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 203 + }, + { + "icon": { + "paths": [ + "M846.814 118.818c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.42 21.060-41.847 52.326h-56.695c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.42 21.060-41.847 52.326h-56.695c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.42 21.060-41.847 52.326h-56.695c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.42 21.060-41.847 52.326h-56.695c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.454 21.060-41.847 52.326h-56.661c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.454 21.060-41.847 52.326h-56.661c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.454 21.060-41.847 52.326h-56.695c2.526-10.513 5.939-17.169 6.997-18.193v-34.133c-20.617 0-36.454 21.060-41.847 52.326h-114.005v705.434h927.778v-705.434h-138.172zM950.852 790.118h-859.511v-637.167h78.302c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.799-1.707-8.738-13.073-10.615-31.607h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.799-1.707-8.772-13.073-10.615-31.607h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.833-1.673-8.806-13.039-10.684-31.607h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.833-1.673-8.806-13.039-10.684-31.607h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.833-1.673-8.772-13.005-10.65-31.573h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.833-1.673-8.772-13.005-10.65-31.573h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.833-1.673-8.772-13.005-10.65-31.573h57.139c2.731 38.4 20.036 65.399 43.383 65.399l1.638-33.792c-2.833-1.673-8.772-13.005-10.65-31.573h106.052v637.030z", + "M197.086 333.79h176.469v34.133h-176.469v-34.133z", + "M195.584 454.929h684.919v34.133h-684.919v-34.133z", + "M195.584 596.992h684.919v34.133h-684.919v-34.133z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "advice" + ] + }, + "attrs": [], + "properties": { + "order": 502, + "id": 93, + "prevSize": 16, + "code": 59852, + "name": "advice" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 204 + }, + { + "icon": { + "paths": [ + "M857.463 514.287c0-28.228-22.46-51.2-50.074-51.2h-224.939v-379.529c0-36.284-30.481-65.775-67.891-65.775-37.478 0-67.925 29.491-67.925 65.775v379.529h-222.72c-27.648 0-50.108 22.972-50.108 51.2v87.825l2.492 12.015 0.853 5.393 4.028 17.545c4.608 48.23 6.793 213.299-31.232 292.25l-4.096 9.045 5.052 7.987c6.076 9.523 17.033 10.001 35.874 10.001 114.483 0 632.866-48.435 654.848-50.483l15.565-1.468v-276.378h0.239v-113.732zM480.768 83.558c0-17.442 15.155-31.642 33.792-31.642s33.758 14.199 33.758 31.642v379.529h-67.55v-379.529zM207.94 514.287c0-9.421 7.168-17.067 15.974-17.067h583.475c8.806 0 15.94 7.646 15.94 17.067v79.565h-615.39v-79.565zM822.886 873.301c-88.337 8.158-525.21 48.094-632.9 48.913 31.437-87.927 30.071-228.727 25.19-285.15h607.71v236.237z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "clearAlarm" + ] + }, + "attrs": [], + "properties": { + "order": 503, + "id": 92, + "prevSize": 16, + "code": 59853, + "name": "clearAlarm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 205 + }, + { + "icon": { + "paths": [ + "M914.193 536.303h-814.182c-33.826 0-61.338-27.511-61.338-61.338v-186.948c0-33.826 27.511-61.338 61.338-61.338h814.182c33.826 0 61.338 27.511 61.338 61.338v186.948c-0 33.826-27.511 61.338-61.338 61.338zM100.011 260.813c-14.985 0-27.204 12.22-27.204 27.204v186.948c0 14.985 12.186 27.204 27.204 27.204h814.182c14.985 0 27.204-12.22 27.204-27.204v-186.948c0-14.985-12.186-27.204-27.204-27.204h-814.182z", + "M914.193 903.817h-814.182c-33.826 0-61.338-27.511-61.338-61.338v-186.948c0-33.826 27.511-61.338 61.338-61.338h814.182c33.826 0 61.338 27.511 61.338 61.338v186.948c-0 33.86-27.511 61.338-61.338 61.338zM100.011 628.361c-14.985 0-27.204 12.186-27.204 27.204v186.948c0 14.985 12.186 27.204 27.204 27.204h814.182c14.985 0 27.204-12.186 27.204-27.204v-186.948c0-14.985-12.186-27.204-27.204-27.204h-814.182z", + "M668.433 371.644c0 25.977-21.059 47.036-47.036 47.036s-47.036-21.059-47.036-47.036c0-25.977 21.059-47.036 47.036-47.036s47.036 21.059 47.036 47.036z", + "M848.282 371.644c0 25.977-21.059 47.036-47.036 47.036s-47.036-21.059-47.036-47.036c0-25.977 21.059-47.036 47.036-47.036s47.036 21.059 47.036 47.036z", + "M247.569 756.258c0 25.977-21.059 47.036-47.036 47.036s-47.036-21.059-47.036-47.036c0-25.977 21.059-47.036 47.036-47.036s47.036 21.059 47.036 47.036z", + "M452.369 756.258c0 25.977-21.059 47.036-47.036 47.036s-47.036-21.059-47.036-47.036c0-25.977 21.059-47.036 47.036-47.036s47.036 21.059 47.036 47.036z", + "M670.003 756.258c0 25.996-21.074 47.070-47.070 47.070s-47.070-21.074-47.070-47.070c0-25.996 21.074-47.070 47.070-47.070s47.070 21.074 47.070 47.070z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "alarmBox" + ] + }, + "attrs": [], + "properties": { + "order": 504, + "id": 91, + "prevSize": 16, + "code": 59854, + "name": "alarmBox" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 206 + }, + { + "icon": { + "paths": [ + "M487.083 899.618l-26.658-308.838 307.507 177.527-280.849 131.311zM500.053 653.073l16.828 194.97 177.254-82.91-194.082-112.060zM770.15 733.013l-280.337-161.792 260.233-450.697c21.163-36.693 69.666-49.835 106.496-28.57l145.306 83.9c37.786 21.845 50.347 68.608 28.57 106.462l-15.394 26.522 0.034 0.034-244.907 424.141zM536.474 558.729l221.218 127.659 210.773-365.056-221.218-127.727-210.773 365.124zM780.834 135.578l221.116 127.693c10.923-21.163 3.823-45.739-17.135-57.856l-145.306-83.9c-20.173-11.708-46.251-5.257-58.675 14.063z", + "M0 363.383h331.332v34.133h-331.332v-34.133z", + "M0 540.672h331.332v34.133h-331.332v-34.133z", + "M0 717.961h331.332v34.133h-331.332v-34.133z", + "M0 895.249h720.657v34.133h-720.657v-34.133z", + "M777.683 266.068l29.282 17.61-172.845 287.404-29.282-17.61 172.845-287.404z", + "M865.434 323.273l29.282 17.61-172.845 287.404-29.282-17.61 172.845-287.404z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "afreshDef" + ] + }, + "attrs": [], + "properties": { + "order": 505, + "id": 90, + "prevSize": 16, + "code": 59855, + "name": "afreshDef" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 207 + }, + { + "icon": { + "paths": [ + "M843.981 1024l-119.706-102.605v-295.424l-179.849-222.788h479.573l-180.019 223.437v397.38zM758.409 908.8l51.439 39.458v-333.346l143.497-178.108h-333.892l138.957 176.503v295.492z", + "M493.261 697.105c0 32.631-39.014 59.153-86.972 59.153-47.104 0-86.938-27.102-86.938-59.153v-17.067h-254.396c-6.417-5.086-19.729-17.954-21.641-38.571-2.048-22.562-0.751-24.542 45.466-70.076l25.6-25.327c75.127-75.059 104.175-216.951 100.796-293.751-3.413-77.278 20.002-139.059 66.014-173.943 40.516-30.891 84.48-26.658 86.255-26.419l17.271 2.56 4.369-34.679c8.090-2.901 26.931-2.731 34.304-0.239l4.062 34.782 17.34-2.423c2.15-0.307 45.807-4.608 86.665 26.419 45.978 35.089 69.359 96.836 65.741 174.012-0.717 17.203-1.809 28.262-0.683 43.418h34.406c-1.297-14.848-0.273-25.6 0.375-41.95 4.13-88.576-23.962-160.563-79.155-202.65-36.454-27.716-73.591-33.246-94.583-33.792l-2.048-17.886-5.666-4.403c-1.673-1.229-16.521-12.186-43.657-12.186-25.429 0-41.062 10.513-42.769 11.708l-6.144 4.335-2.321 18.466c-21.026 0.546-58.163 6.076-94.481 33.758-55.125 41.847-83.354 113.801-79.428 202.615 3.004 68.506-23.757 201.114-90.829 268.117l-25.395 25.156c-47.718 46.967-59.051 58.129-55.501 97.485 4.164 44.373 39.936 66.219 41.472 67.14l4.028 2.423h232.414c10.445 43.349 59.836 76.22 119.023 76.22 59.221 0 108.646-32.905 119.091-76.22h107.554v-34.133h-139.639v17.101z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "alarmFilter" + ] + }, + "attrs": [], + "properties": { + "order": 506, + "id": 89, + "prevSize": 16, + "code": 59856, + "name": "alarmFilter" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 208 + }, + { + "icon": { + "paths": [ + "M608.037 386.853c7.314 9.143 15.141 17.627 23.698 25.381l-16.823 35.986c-9.216 19.602 0.293 43.739 21.065 53.614l25.966 12.507c20.846 10.021 45.202 2.048 54.272-17.554l16.75-35.986c10.386 1.609 20.699 3.145 31.598 3.145 10.679 0 21.211-1.536 31.598-3.145l16.75 35.986c9.143 19.675 33.426 27.575 54.272 17.627l25.893-12.507c20.919-9.874 30.354-34.011 21.211-53.614l-16.75-36.133c8.558-7.68 16.457-16.238 23.698-25.381l36.279 15.287c19.822 8.411 43.154-2.414 51.858-23.991l10.971-26.917c8.997-21.65 0-45.861-19.822-54.199l-36.571-15.287c0.878-7.387 2.194-14.629 2.194-22.309 0-7.607-1.39-14.775-2.194-22.162l36.718-15.36c19.822-8.411 28.818-32.622 19.822-54.199l-10.898-26.99c-8.704-21.577-32.11-32.329-51.858-23.991l-36.425 15.287c-7.241-9.143-14.994-17.627-23.698-25.307l16.75-36.279c9.143-19.602-0.293-43.666-21.138-53.614l-26.039-12.434c-20.699-9.947-44.983-2.048-54.126 17.554l-16.75 36.059c-10.386-1.682-20.699-3.218-31.598-3.218s-21.211 1.536-31.598 3.218l-16.75-36.059c-9.143-19.602-33.499-27.502-54.199-17.554l-25.966 12.434c-20.919 10.021-30.427 34.011-21.211 53.614l16.75 36.206c-8.558 7.753-16.53 16.165-23.698 25.381l-36.425-15.36c-19.822-8.411-43.081 2.341-51.858 23.991l-11.045 26.99c-8.777 21.577 0.146 45.861 19.968 54.199l36.571 15.287c-0.878 7.461-2.267 14.629-2.267 22.235 0 7.68 1.536 14.921 2.267 22.382l-36.571 15.287c-19.749 8.411-28.745 32.549-19.968 54.199l11.045 26.917c8.777 21.504 32.037 32.329 51.785 23.991l36.498-15.214zM764.635 132.827c68.608 0 124.489 56.613 124.489 126.537 0 69.778-55.735 126.464-124.489 126.464s-124.562-56.686-124.562-126.464c0-69.925 55.808-126.537 124.562-126.537z", + "M2.926 1034.021h463.141v-386.56h-463.141v386.56zM392.923 960.878h-121.856v-240.274h121.856v240.274zM76.069 720.603h121.856v240.274h-121.856v-240.274z", + "M317.147 364.544l-133.559 8.119c14.19-31.378 35.84-58.953 65.463-79.872 106.13-74.679 191.269-42.789 191.269-42.789-76.946-54.491-160.11-59.099-227.182-12.507-49.957 34.523-86.235 81.774-102.839 136.997l-110.299 4.389 160.11 149.358 157.038-163.694z", + "M915.822 624.786l-198.729 109.275 129.755 32.183c-22.894 25.673-51.858 45.422-86.382 56.466-123.611 39.57-195.291-16.53-195.291-16.53 57.125 75.045 135.168 104.375 213.138 80.018 58.002-17.92 106.715-52.297 139.045-99.913l106.642 28.965-108.178-190.464z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "manAnalysis" + ] + }, + "attrs": [], + "properties": { + "order": 507, + "id": 88, + "prevSize": 16, + "code": 59857, + "name": "manAnalysis" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 209 + }, + { + "icon": { + "paths": [ + "M296.96 296.887c0 82.003-66.477 148.48-148.48 148.48s-148.48-66.477-148.48-148.48c0-82.003 66.477-148.48 148.48-148.48s148.48 66.477 148.48 148.48z", + "M551.936 807.79c0 82.003-66.477 148.48-148.48 148.48s-148.48-66.477-148.48-148.48c0-82.003 66.477-148.48 148.48-148.48s148.48 66.477 148.48 148.48z", + "M930.158 311.808c0 91.496-74.172 165.669-165.669 165.669s-165.669-74.172-165.669-165.669c0-91.496 74.172-165.669 165.669-165.669s165.669 74.172 165.669 165.669z", + "M1024 784.018c0 73.803-59.829 133.632-133.632 133.632s-133.632-59.829-133.632-133.632c0-73.803 59.829-133.632 133.632-133.632s133.632 59.829 133.632 133.632z", + "M732.286 362.027l55.324-19.275 166.956 479.199-55.324 19.275-166.956-479.199z", + "M812.421 225.214l46.39 35.785-460.695 597.214-46.39-35.785 460.695-597.214z", + "M112.914 300.476l52.061-26.868 293.504 568.704-52.061 26.868-293.504-568.704z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "drill" + ] + }, + "attrs": [], + "properties": { + "order": 508, + "id": 87, + "prevSize": 16, + "code": 59858, + "name": "drill" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 210 + }, + { + "icon": { + "paths": [ + "M977.774 586.313l-72.192-30.281c1.609-14.629 4.462-28.965 4.462-44.032s-2.779-29.257-4.462-43.886l72.338-30.427c39.058-16.457 56.759-64.293 39.278-106.862l-21.723-53.248c-17.335-42.715-63.195-63.854-102.254-47.397l-72.046 30.354c-14.263-18.066-29.696-34.743-46.738-50.030l33.134-71.534c17.993-38.766-0.658-86.235-41.765-105.911l-51.419-24.503c-41.106-19.675-89.015-4.096-107.081 34.67l-33.061 71.168c-20.407-3.291-40.96-6.363-62.318-6.363-21.285 0-41.838 3.072-62.245 6.363l-33.061-71.168c-18.066-38.766-66.048-54.345-107.081-34.67l-51.419 24.576c-41.106 19.675-59.831 67.145-41.765 105.838l33.134 71.461c-17.042 15.287-32.475 31.963-46.738 50.030l-71.973-30.281c-39.058-16.457-84.919 4.681-102.254 47.397l-21.797 53.248c-17.408 42.569 0.219 90.478 39.351 106.862l72.192 30.354c-1.536 14.702-4.315 28.891-4.315 43.959 0 15.141 2.779 29.403 4.389 44.105l-72.192 30.281c-39.131 16.603-56.832 64.219-39.497 106.935l21.87 53.175c17.335 42.569 63.269 63.781 102.327 47.397l71.899-30.208c14.263 17.993 29.696 34.743 46.665 50.030l-33.134 71.314c-18.066 38.693 0.658 86.309 41.765 105.838l51.419 24.722c41.106 19.675 89.088 4.023 107.081-34.816l32.987-71.095c20.407 3.291 40.96 6.363 62.245 6.363 21.358 0 41.911-3.072 62.391-6.363l32.987 71.095c17.993 38.766 65.975 54.418 107.081 34.816l51.419-24.722c41.179-19.602 59.758-67.145 41.765-105.838l-33.134-71.461c16.969-15.287 32.402-31.963 46.738-49.957l71.899 30.281c39.058 16.384 84.992-4.827 102.327-47.47l21.797-53.175c17.627-42.715-0.219-90.405-39.278-106.935zM512 761.71c-135.899 0-246.053-111.909-246.053-249.637 0-138.094 110.153-249.71 246.053-249.71 135.753 0 245.906 111.616 245.906 249.71 0 137.728-110.153 249.637-245.906 249.637z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "gear" + ] + }, + "attrs": [], + "properties": { + "order": 509, + "id": 86, + "prevSize": 16, + "code": 59859, + "name": "gear" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 211 + }, + { + "icon": { + "paths": [ + "M512 0c-282.317 0-512 229.683-512 512 0 282.33 229.683 512 512 512 282.33 0 512-229.67 512-512 0-282.317-229.67-512-512-512zM512 1011.379c-275.341 0-499.354-224.026-499.354-499.379 0-275.341 224.013-499.354 499.354-499.354 275.354 0 499.379 224.013 499.379 499.354-0 275.354-224.026 499.379-499.379 499.379z", + "M873.011 546.624c-15.206 0-29.312 4.71-40.973 12.723l-144.064-175.002c10.803-12.659 17.344-29.043 17.344-46.976 0-40-32.422-72.435-72.422-72.435s-72.448 32.435-72.448 72.435c0 22.144 9.971 41.946 25.638 55.219l-147.52 214.63c-12.48-10.202-28.416-16.32-45.786-16.32-19.917 0-37.952 8.051-51.059 21.069l-126.118-104.038c6.003-10.56 9.485-22.733 9.485-35.75 0-40-32.435-72.435-72.435-72.435s-72.435 32.435-72.435 72.435c0 40.013 32.435 72.435 72.435 72.435 22.374 0 42.368-10.15 55.654-26.099l125.184 103.27c-8.269 11.763-13.158 26.074-13.158 41.549 0 40.013 32.435 72.435 72.435 72.435s72.435-32.422 72.435-72.435c0-17.933-6.566-34.342-17.37-46.989l148.723-216.384c10.688 6.221 23.078 9.843 36.339 9.843 17.421 0 33.421-6.157 45.914-16.422l143.347 174.131c-13.312 13.133-21.594 31.373-21.594 51.558 0 40.013 32.435 72.435 72.435 72.435s72.422-32.422 72.422-72.435c0.013-40.013-32.41-72.448-72.41-72.448z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "process" + ] + }, + "attrs": [], + "properties": { + "order": 510, + "id": 85, + "prevSize": 16, + "code": 59860, + "name": "process" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 212 + }, + { + "icon": { + "paths": [ + "M950.857 950.857h-877.714v-877.714h482.011v-73.143h-555.154v1024h1024v-458.679h-73.143z", + "M526.19 277.285c-98.231 91.721-224.475 317.001-224.475 317.001s193.17-118.272 280.576-162.816c77.824-39.643 192.658-28.818 218.478-26.697l-0.658 184.466 223.89-308.297-224.402-280.942 0.585 183.077c-30.647 1.902-187.831 13.897-273.993 94.208z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "unacknownledge" + ] + }, + "attrs": [], + "properties": { + "order": 511, + "id": 84, + "prevSize": 16, + "code": 59861, + "name": "unacknownledge" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 213 + }, + { + "icon": { + "paths": [ + "M950.857 950.857h-877.714v-877.714h482.011v-73.143h-555.154v1024h1024v-458.679h-73.143z", + "M240.933 482.889l335.433 327.826 447.634-640-119.881-83.822-348.818 498.688-212.187-207.36z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "acknownledge" + ] + }, + "attrs": [], + "properties": { + "order": 512, + "id": 83, + "prevSize": 16, + "code": 59862, + "name": "acknownledge" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 214 + }, + { + "icon": { + "paths": [ + "M512.064 0c-282.304 0-512.064 229.696-512.064 512 0 282.368 229.76 512 512.064 512s511.936-229.632 511.936-512-229.632-512-511.936-512zM512.064 960c-246.976 0-448.064-201.024-448.064-448 0-247.040 201.088-448 448.064-448 247.040 0 447.936 201.024 447.936 448 0 246.912-200.896 448-447.936 448z", + "M615.872 427.072l-73.408-41.792 80.64-142.016c-72.576-19.648-152.192 10.624-191.168 79.232-36.224 63.744-26.048 140.608 18.944 193.28l-141.632 249.216c-15.616 27.52-6.016 62.528 21.504 78.144s62.528 6.016 78.144-21.504l141.568-249.28c68.352 11.776 139.712-18.88 175.872-82.56 38.976-68.544 24.384-152.384-29.76-204.864l-80.704 142.144z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "Operation" + ] + }, + "attrs": [], + "properties": { + "order": 513, + "id": 82, + "prevSize": 16, + "code": 59863, + "name": "Operation" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 215 + }, + { + "icon": { + "paths": [ + "M512 0c-282.317 0-512 229.683-512 512 0 282.33 229.683 512 512 512 282.33 0 512-229.67 512-512 0-282.317-229.67-512-512-512zM512 1011.366c-275.341 0-499.354-224.026-499.354-499.366s224.013-499.354 499.354-499.354 499.366 224.013 499.366 499.354-224.026 499.366-499.366 499.366z", + "M910.118 562.355c0-77.478-60.083-140.314-134.208-140.314-4.851 0-9.626 0.307-14.349 0.819-18.867-28.506-47.552-49.28-80.96-57.101-31.194-75.405-102.912-128.205-186.496-128.205-85.978 0-159.334 55.923-188.992 134.81-8.32-1.357-16.794-2.291-25.485-2.291-89.907 0-162.79 76.211-162.79 170.163 0 38.464 12.339 73.805 32.909 102.298-5.99 9.050-9.523 19.878-9.523 31.526 0 31.578 25.587 57.165 57.165 57.165h631.386c31.59 0 57.165-25.587 57.165-57.165 0-8.576-2.022-16.614-5.414-23.923 18.458-24.038 29.594-54.541 29.594-87.782z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "cloud" + ] + }, + "attrs": [], + "properties": { + "order": 514, + "id": 81, + "prevSize": 16, + "code": 59864, + "name": "cloud" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 216 + }, + { + "icon": { + "paths": [ + "M512 0c-282.317 0-512 229.683-512 512 0 282.33 229.683 512 512 512 282.33 0 512-229.67 512-512 0-282.317-229.67-512-512-512zM512 1011.366c-275.341 0-499.354-224.013-499.354-499.366 0-275.341 224.013-499.354 499.354-499.354 275.354 0 499.366 224.013 499.366 499.354 0 275.354-224.013 499.366-499.366 499.366z", + "M559.629 403.942h-364.096c-12.57 0-22.758 9.37-22.758 20.928v219.827c0 11.546 10.189 20.928 22.758 20.928h364.096c12.57 0 22.746-9.37 22.746-20.928v-219.827c0-11.558-10.176-20.928-22.746-20.928zM552.32 621.043c0 9.062-8.704 16.41-19.405 16.41h-310.682c-10.714 0-19.418-7.347-19.418-16.41v-172.506c0-9.062 8.704-16.422 19.418-16.422h310.682c10.701 0 19.405 7.36 19.405 16.422v172.506z", + "M377.587 675.584c-35.341 0-64 28.646-64 64h128c0-35.341-28.659-64-64-64z", + "M831.603 288h-182.4c-7.078 0-12.8 5.734-12.8 12.8v80h208v-80c0-7.066-5.734-12.8-12.8-12.8z", + "M636.403 393.6h208v67.2h-208v-67.2z", + "M636.403 726.4c0 7.078 5.722 12.8 12.8 12.8h182.4c7.078 0 12.8-5.722 12.8-12.8v-252.8h-208v252.8zM740.403 630.4c10.598 0 19.2 8.602 19.2 19.2s-8.602 19.2-19.2 19.2-19.2-8.602-19.2-19.2 8.602-19.2 19.2-19.2z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "computer" + ] + }, + "attrs": [], + "properties": { + "order": 515, + "id": 80, + "prevSize": 16, + "code": 59865, + "name": "computer" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 217 + }, + { + "icon": { + "paths": [ + "M512 64c-247.424 0-448 200.576-448 448 0 247.36 200.576 448 448 448 247.488 0 448-200.64 448-448 0-247.424-200.512-448-448-448zM444.032 908.032l41.6-365.696-253.632-6.336 300.032-432-33.344 321.472 222.4 20.864-277.056 461.696z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "alarm" + ] + }, + "attrs": [], + "properties": { + "order": 516, + "id": 79, + "prevSize": 16, + "code": 59866, + "name": "alarm" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 218 + }, + { + "icon": { + "paths": [ + "M225.984 578.688l290.688 293.312 297.344-293.312-188.992-0.064c-1.728-31.616 9.28-106.688-41.024-253.632-53.312-155.648-242.688-310.336-242.688-310.336s66.688 154.688 90.688 322.112c15.552 108.48 5.312 205.312-17.472 242.88l-188.544-0.96z", + "M771.84 62.016v64h178.176v819.968h-876.032v-819.968h138.56v-64h-202.56v947.968h1004.032v-947.968z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "import" + ] + }, + "attrs": [], + "properties": { + "order": 517, + "id": 78, + "prevSize": 16, + "code": 59867, + "name": "import" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 219 + }, + { + "icon": { + "paths": [ + "M432 549.952c-24 167.36-90.688 322.048-90.688 322.048s189.312-154.688 242.688-310.336c50.304-146.88 39.296-222.016 41.024-253.632h188.992l-297.344-293.376-290.688 293.376 188.48-0.96c22.848 37.568 33.088 134.4 17.536 242.88z", + "M771.84 62.016v64h178.176v819.968h-876.032v-819.968h138.56v-64h-202.56v947.968h1004.032v-947.968z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "export" + ] + }, + "attrs": [], + "properties": { + "order": 518, + "id": 77, + "prevSize": 16, + "code": 59868, + "name": "export" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 220 + }, + { + "icon": { + "paths": [ + "M512-0.064c-282.304 0-512 229.696-512 512s229.696 512 512 512 512-229.696 512-512-229.696-512-512-512zM512 959.936c-247.040 0-448-201.024-448-448 0-247.040 200.96-448 448-448 246.976 0 448 200.96 448 448 0 246.976-201.024 448-448 448z", + "M786.816 451.648c0 61.312-56.96 111.040-127.040 111.040-70.208 0-127.168-49.728-127.168-111.040 0-6.656 0.96-12.992 2.24-19.328h-43.584c1.28 6.4 2.24 12.736 2.24 19.328 0 61.312-56.96 111.040-127.040 111.040-70.208 0-127.104-49.728-127.104-111.040 0-6.656 0.96-12.992 2.24-19.328h-42.56l67.84 310.656c0 0 101.952-29.76 248.384-29.76 130.368 0 248.64 29.76 248.64 29.76l67.648-310.656h-47.040c1.216 6.336 2.304 12.736 2.304 19.328z", + "M581.76 364.928c0 37.22-30.172 67.392-67.392 67.392s-67.392-30.172-67.392-67.392c0-37.22 30.172-67.392 67.392-67.392s67.392 30.172 67.392 67.392z", + "M273.92 375.872c0 31.175-25.273 56.448-56.448 56.448s-56.448-25.273-56.448-56.448c0-31.175 25.273-56.448 56.448-56.448s56.448 25.273 56.448 56.448z", + "M863.040 375.872c0 31.175-25.273 56.448-56.448 56.448s-56.448-25.273-56.448-56.448c0-31.175 25.273-56.448 56.448-56.448s56.448 25.273 56.448 56.448z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "Admin" + ] + }, + "attrs": [], + "properties": { + "order": 519, + "id": 76, + "prevSize": 16, + "code": 59869, + "name": "Admin" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 221 + }, + { + "icon": { + "paths": [ + "M512 0c-282.77 0-512 229.229-512 512s229.23 512 512 512c282.77 0 512-229.229 512-512s-229.23-512-512-512zM770 302l94 92-378 368-320-202 136-102 146 142 322-298z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "allSelected" + ] + }, + "attrs": [], + "properties": { + "order": 520, + "id": 75, + "prevSize": 16, + "code": 59870, + "name": "allSelected" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 222 + }, + { + "icon": { + "paths": [ + "M311.382 213.893l512 314.202-512 325.798z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "angleRight" + ] + }, + "attrs": [], + "properties": { + "order": 521, + "id": 74, + "prevSize": 16, + "code": 59871, + "name": "angleRight" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 223 + }, + { + "icon": { + "paths": [ + "M480-0l-480 512 480 512v-342.551h488c30.527 0 56-28.108 56-61.793v-218.354c0-33.685-25.473-61.793-56-61.793h-488z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "arrowLeft" + ] + }, + "attrs": [], + "properties": { + "order": 522, + "id": 73, + "prevSize": 16, + "code": 59872, + "name": "arrowLeft" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 224 + }, + { + "icon": { + "paths": [ + "M297.119 0l-297.119 317.333 79.585 85.333 376.705-402.667h-159.171zM567.71 5.333l-474.86 509.333 474.86 509.333v-341.333h400.58c30.278 0 55.71-27.75 55.71-61.333v-216c0-33.526-25.432-61.333-55.71-61.333h-400.58v-338.667zM652.601 146.667v109.333h363.44v-48c0-33.526-25.432-61.333-55.71-61.333h-307.731z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "arrowLeftAll" + ] + }, + "attrs": [], + "properties": { + "order": 523, + "id": 72, + "prevSize": 16, + "code": 59873, + "name": "arrowLeftAll" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 225 + }, + { + "icon": { + "paths": [ + "M544-0l480 512-480 512v-342.551h-488c-30.527 0-56-28.108-56-61.793v-218.354c0-33.685 25.473-61.793 56-61.793h488z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "arrowRight" + ] + }, + "attrs": [], + "properties": { + "order": 524, + "id": 71, + "prevSize": 16, + "code": 59874, + "name": "arrowRight" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 226 + }, + { + "icon": { + "paths": [ + "M726.881 0l297.119 317.333-79.585 85.333-376.705-402.667h159.171zM456.29 5.333l474.86 509.333-474.86 509.333v-341.333h-400.58c-30.278 0-55.71-27.75-55.71-61.333v-216c0-33.526 25.432-61.333 55.71-61.333h400.58v-338.667zM371.399 146.667v109.333h-363.44v-48c0-33.526 25.432-61.333 55.71-61.333h307.731z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "arrowRightAll" + ] + }, + "attrs": [], + "properties": { + "order": 525, + "id": 70, + "prevSize": 16, + "code": 59875, + "name": "arrowRightAll" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 227 + }, + { + "icon": { + "paths": [ + "M508 0c-31.119 0-58 24.881-58 56v46c-69.831 10.816-133.646 38.889-188 78l-42-40c-11.002-11.002-25.641-18-40-18s-26.998 6.998-38 18l-18 16c-22.005 22.005-22.005 57.995 0 80l42 40c-34.941 48.538-61.038 103.432-72 164h-36c-31.119 0-58 24.881-58 56v22c0 31.119 26.881 58 58 58h36c12.292 76.335 44.912 147.337 94 204l-34 36c-22.005 22.005-22.005 55.995 0 78l16 18c22.005 22.005 57.995 22.005 80 0l44-46c47.099 28.042 99.181 47.199 156 56v46c0 31.119 26.881 56 58 56h22c31.119 0 56-24.881 56-56v-46c27.753-4.228 54.286-11.152 80-20l-104-106c-14.44 2.229-28.936 4-44 4-159.058 0-288-128.942-288-288s128.942-288 288-288c159.058 0 288 128.942 288 288 0 47.853-13.349 92.29-34 132l104 98c33.635-49.218 58.247-105.432 68-166h22c31.119 0 56-26.881 56-58v-22c0-31.119-24.881-56-56-56h-22c-10.615-58.652-34.805-112.539-68-160l36-36c22.005-22.005 22.005-57.995 0-80l-16-16c-11.002-11.002-25.641-16-40-16s-28.998 4.998-40 16l-36 36c-55.735-41.399-121.471-70.951-194-82v-46c0-31.119-24.881-56-56-56h-22zM520 292c-126.678 0-230 103.322-230 230s103.322 228 230 228c29.501 0 58.095-5.855 84-16l210 210c22.005 22.005 55.995 22.005 78 0l10-10c22.005-22.005 22.005-55.995 0-78l-198-198c28.25-38.126 46-84.904 46-136 0-126.678-103.322-230-230-230zM520 400c67.275 0 122 54.725 122 122s-54.725 122-122 122c-67.275 0-122-54.725-122-122s54.725-122 122-122z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "autoFind" + ] + }, + "attrs": [], + "properties": { + "order": 526, + "id": 69, + "prevSize": 16, + "code": 59876, + "name": "autoFind" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 228 + }, + { + "icon": { + "paths": [ + "M674.24 1010.112l-481.28-481.344 485.696-485.824 45.312 45.248-440.512 440.576 436.032 436.096z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "back" + ] + }, + "attrs": [], + "properties": { + "order": 527, + "id": 68, + "prevSize": 16, + "code": 59877, + "name": "back" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 229 + }, + { + "icon": { + "paths": [ + "M366 0v364h-180v300h184v-52h52v52h40v-300h92v300h40v-52h54v52h184v-300h-174v-364h-292zM0 658v366h366v-152h-132v-92h-90v-122h-144zM880 658v122h-90v92h-132v152h366v-366h-144zM432 872v152h160v-152h-160z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "ball" + ] + }, + "attrs": [], + "properties": { + "order": 528, + "id": 67, + "prevSize": 16, + "code": 59878, + "name": "ball" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 230 + }, + { + "icon": { + "paths": [ + "M448.031 21.984v110.003c-111.249 27.552-192 127.68-192 248v93.997c-14.104 170.784-120.996 270.701-224 378.003 4.723 0 9.21-1.984 14-1.984h282c-1.498 8.525-1.997 17.030-1.997 25.997 0 82.726 65.275 148 148 148h34c82.725 0 150-65.274 150-148 0-8.986-2.49-17.459-4-25.997h320c4.787 0 9.277 1.728 14 1.984-103.004-107.302-209.896-207.219-224-378.003v-93.997c0-120.32-80.751-220.448-192-248v-110.003h-124zM396.031 849.984h32c-11.965 12.403-20 28.371-20 46.003 0 40.346 37.391 73.997 84 73.997-10.154 4.16-20.329 8-32 8-46.609 0-84-34.176-84-77.997 0-19.418 7.773-36.070 20-50.003z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "bell" + ] + }, + "attrs": [], + "properties": { + "order": 529, + "id": 66, + "prevSize": 16, + "code": 59879, + "name": "bell" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 231 + }, + { + "icon": { + "paths": [ + "M509.091 1.707c-134.448 0-242.544 108.704-242.544 244s108.096 246 242.544 246c134.448 0 242.544-110.704 242.544-246s-108.096-244-242.544-244zM769.528 447.707c-140.541 0-254.472 114.618-254.472 256s113.931 256 254.472 256c140.541 0 254.472-114.618 254.472-256s-113.931-256-254.472-256zM306.308 503.707c-346.855 195.91-302.524 531.61-306.162 520h685.883l-1.988-6c-135.113-23.090-238.568-141.499-238.568-284 0-50.008 13.499-97.017 35.785-138-72.082-7.589-136.306-42.513-174.95-92zM610.482 633.707h318.091v128h-318.091v-128z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "blackList" + ] + }, + "attrs": [], + "properties": { + "order": 530, + "id": 65, + "prevSize": 16, + "code": 59880, + "name": "blackList" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 232 + }, + { + "icon": { + "paths": [ + "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512c282.77 0 512-229.23 512-512s-229.23-512-512-512zM530 128l22 124-72 6-22-122 72-8zM276 170c70.131 0 128 57.239 128 130 0 15.422-1.298 30.22-6 44l86 90-66 70-86-86c-16.468 8.112-36.565 12-56 12-70.131 0-122-57.267-122-130 0-72.761 51.869-130 122-130zM760 210l54 82-162 116-54-86 162-112zM888 442l8 74-118 22-8-74 118-22zM246 482l8 74-118 20-8-72 118-22zM598 534l62 64c16.654-8.376 32.276-16 52-16 70.131 0 130 63.253 130 136 0 72.752-59.869 130-130 130s-124-57.248-124-130c0-15.163 5.459-32.45 10-46l-68-66 68-72zM372 612l54 90-166 108-50-82 162-116zM540 770l18 118-72 8-18-124 72-2z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "breakLink" + ] + }, + "attrs": [], + "properties": { + "order": 531, + "id": 64, + "prevSize": 16, + "code": 59881, + "name": "breakLink" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 233 + }, + { + "icon": { + "paths": [ + "M512 0c-282.77 0-512 229.229-512 512s229.23 512 512 512c282.77 0 512-229.229 512-512s-229.23-512-512-512zM128 314.003l180 104c61.902-49.734 140.551-80 226-80 198.617 0 360 163.379 360 361.997 0 2.944 0.070 5.056 0 8l-90 1.984c0.134-3.456 0-6.528 0-10.003 0-148.96-121.038-272-270-272-51.469 0-98.972 14.771-140 40l184 106.003-356 93.997-94-353.978z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "cancle" + ] + }, + "attrs": [], + "properties": { + "order": 532, + "id": 63, + "prevSize": 16, + "code": 59882, + "name": "cancle" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 234 + }, + { + "icon": { + "paths": [ + "M1024 512.002c0 282.77-229.23 512-512 512s-512-229.23-512-512c0-282.77 229.23-512 512-512s512 229.23 512 512z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "circle" + ] + }, + "attrs": [], + "properties": { + "order": 533, + "id": 62, + "prevSize": 16, + "code": 59883, + "name": "circle" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 235 + }, + { + "icon": { + "paths": [ + "M-0 5.333v341.333h122.667v445.333h362.667c17.783 132.745 129.128 234.667 266.667 234.667 149.839 0 272-122.278 272-272s-122.161-269.333-272-269.333c-133.011 0-240.954 95.465-264 221.333h-280v-360h133.333v-341.333h-341.333zM712 586.667h85.333v128h128v85.333h-128v128h-85.333v-128h-128v-85.333h128v-128z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "closeTree" + ] + }, + "attrs": [], + "properties": { + "order": 534, + "id": 61, + "prevSize": 16, + "code": 59884, + "name": "closeTree" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 236 + }, + { + "icon": { + "paths": [ + "M0 0v1024h400l-6-238 158-260-146-188-278 392v-602h768v120l128 74v-322h-1024zM796 290l-266 462 166 96 266-460-166-98zM1024 426l-8 16-290 534-58 48h356v-598zM486 828l14 166 152-70-166-96z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "configmap" + ] + }, + "attrs": [], + "properties": { + "order": 535, + "id": 60, + "prevSize": 16, + "code": 59885, + "name": "configmap" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 237 + }, + { + "icon": { + "paths": [ + "M135.461 125.513h789.211v73.143h-789.211v-73.143z", + "M430.373 61.147v107.666h199.387v-107.666h-199.387z", + "M286.281 463.36h99.035v395.045h-99.035v-395.045z", + "M480.549 463.36h99.035v395.045h-99.035v-395.045z", + "M674.816 463.36h99.035v395.045h-99.035v-395.045z", + "M922.697 999.863h-785.335v-714.606h785.335v714.606zM210.505 926.72h639.049v-568.32h-639.049v568.32z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "delete" + ] + }, + "attrs": [], + "properties": { + "order": 536, + "id": 59, + "prevSize": 16, + "code": 59886, + "name": "delete" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 238 + }, + { + "icon": { + "paths": [ + "M211.587 32l-205.602 224h429.166l-223.564-224zM0 304v720h1024v-496h-596.833v-224h-427.167zM77.845 406.003h95.813v96h-95.813v-96zM255.502 406.003h95.813v96h-95.813v-96zM77.845 614.003h95.813v96h-95.813v-96zM255.502 614.003h95.813v96h-95.813v-96zM680.67 614.003h95.813v96h-95.813v-96zM858.326 614.003h95.813v96h-95.813v-96zM501.020 620.019h63.875v296h-63.875v-296zM75.852 820.019h95.813v96h-95.813v-96zM253.502 820.019h95.813v96h-95.813v-96zM680.67 820.019h95.813v96h-95.813v-96zM858.326 820.019h95.813v96h-95.813v-96z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "department" + ] + }, + "attrs": [], + "properties": { + "order": 537, + "id": 58, + "prevSize": 16, + "code": 59887, + "name": "department" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 239 + }, + { + "icon": { + "paths": [ + "M0 45.333v170.667h1024v-170.667h-1024zM0 301.333v170.667h1024v-170.667h-1024zM0 557.333v170.667h1024v-170.667h-1024zM0 813.333v170.667h768v-170.667h-768z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "detail" + ] + }, + "attrs": [], + "properties": { + "order": 538, + "id": 57, + "prevSize": 16, + "code": 59888, + "name": "detail" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 240 + }, + { + "icon": { + "paths": [ + "M0 0v1024h862.766v-292h160l-192-192-190 192h158v228h-366.766v-896h366.503v204h-158l190 192 192-192h-160v-268h-560.503zM72 214h290v64h-290zM72 474h290v64h-290zM72 726h290v64h-290z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "displaySwitch" + ] + }, + "attrs": [], + "properties": { + "order": 539, + "id": 56, + "prevSize": 16, + "code": 59889, + "name": "displaySwitch" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 241 + }, + { + "icon": { + "paths": [ + "M120 0v1024h812l20-822-160-202h-672zM216 96h516l124 164-14 668h-626v-832zM298 178v140h146v-140h-146zM524 234v64h252v-64h-252zM298 386v64h478v-64h-478zM298 562v64h478v-64h-478zM298 738v64h478v-64h-478z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "file" + ] + }, + "attrs": [], + "properties": { + "order": 540, + "id": 55, + "prevSize": 16, + "code": 59890, + "name": "file" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 242 + }, + { + "icon": { + "paths": [ + "M0.006 0l0.497 77.36 415.5 392.907v329.797l192 223.936v-551.698l416.664-388.835-0.668-83.467h-1024zM254.006 101.789h514v44.787l-256 242.258-256-246.33-1.997-40.716z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "filter" + ] + }, + "attrs": [], + "properties": { + "order": 541, + "id": 54, + "prevSize": 16, + "code": 59891, + "name": "filter" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 243 + }, + { + "icon": { + "paths": [ + "M278-4c-16.425 0-30 13.575-30 30v132c0 16.425 13.575 30 30 30h132c16.425 0 30-13.575 30-30v-132c0-16.425-13.575-30-30-30h-132zM598-2c-16.425 0-30 13.575-30 30v132c0 16.425 13.575 30 30 30h132c16.425 0 30-13.575 30-30v-132c0-16.425-13.575-30-30-30h-132zM440 250l-270 2-114 274v368h208l30-30v-272l126-2c12.464-1.292 21.634-18.792 20-40v-300zM568 252v300c-1.634 21.208 7.536 38.708 20 40l126 2v272l30 30h208v-368l-114-274-270-2zM56 960v64h238v-64h-238zM714 962v64h238v-64h-238z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "find" + ] + }, + "attrs": [], + "properties": { + "order": 542, + "id": 53, + "prevSize": 16, + "code": 59892, + "name": "find" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 244 + }, + { + "icon": { + "paths": [ + "M96.8 136.576h200.277c43.173-0.136 53.665 12.675 68.962 42.158 0 0 38.028 112.952 79.827 152.074 13.079 12.242 22.734 21.78 49.133 21.78h432.201c53.627 0 96.8 43.571 96.8 97.694v486.13c0 54.122-43.173 97.694-96.8 97.694h-830.399c-53.627 0-96.8-43.571-96.8-97.694v-702.143c0-54.122 43.173-97.694 96.8-97.694z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "folder" + ] + }, + "attrs": [], + "properties": { + "order": 543, + "id": 52, + "prevSize": 16, + "code": 59893, + "name": "folder" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 245 + }, + { + "icon": { + "paths": [ + "M707.2 952.256h-675.52v-870.912h675.52v64h-611.52v742.912h611.52z", + "M737.92 798.272l-45.248-45.248 235.84-235.776-236.544-236.608 45.248-45.248 281.792 281.856z", + "M226.24 484.8h713.664v64h-713.664v-64z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "forceOut" + ] + }, + "attrs": [], + "properties": { + "order": 544, + "id": 51, + "prevSize": 16, + "code": 59894, + "name": "forceOut" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 246 + }, + { + "icon": { + "paths": [ + "M512 0l-224 256h448l-224-256zM256 288l-256 224 256 224v-448zM768 288v448l256-224-256-224zM288 768l224 256 224-256h-448z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "fullScreen" + ] + }, + "attrs": [], + "properties": { + "order": 545, + "id": 50, + "prevSize": 16, + "code": 59895, + "name": "fullScreen" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 247 + }, + { + "icon": { + "paths": [ + "M823.104 510.912c0 89.472-37.376 169.6-96.576 226.688l132.096 132.096c92.096-91.072 149.44-218.112 149.44-358.784v-0.064l-184.96 0.064z", + "M795.392 385.216h195.136c-49.024-191.36-205.312-338.56-400.896-368.896v191.936c92.736 23.616 167.808 89.984 205.76 176.96z", + "M611.392 806.656c-30.464 10.688-62.656 17.344-96.768 17.344-170.304 0-308.352-140.096-308.352-313.152 0-154.752 110.848-282.56 256.256-307.776v-190.272c-248.064 26.432-441.408 239.36-441.408 498.112 0 276.608 220.992 500.864 493.504 500.864 86.72 0 167.424-23.744 238.208-63.68l-141.44-141.44z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "Graphical" + ] + }, + "attrs": [], + "properties": { + "order": 546, + "id": 49, + "prevSize": 16, + "code": 59896, + "name": "Graphical" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 248 + }, + { + "icon": { + "paths": [ + "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512c282.77 0 512-229.23 512-512s-229.23-512-512-512zM508 154c46.383-1.856 85.454 3.072 114 14 28.545 10.93 51.941 26.114 74 44 22.058 17.888 38.725 39.581 48 64 9.273 24.42 13.365 47.981 12 74-1.804 25.729-7.361 51.469-18 76-10.64 24.532-25.936 48.956-46 72-20.065 23.044-44.056 45.493-72 68l-48 38v96h-140v-144c24.721-18.659 47.471-36.070 68-52s40.81-33.788 60-52c19.19-18.211 34.589-37.048 44-58s12.13-42.057 10-60c-3.115-23.536-12.211-39.974-28-52-15.789-12.025-34.516-20.198-56-22-21.485-1.8-39.222 3.978-54 14-13.986 9.106-22.307 19.262-24 30l-6 26-8 4-134 6c1.366-25.281 5.356-50.331 10-72 4.644-21.667 16.939-41.396 38-60 21.061-18.602 46.109-32.135 74-40 27.89-7.863 54.246-12.545 82-14zM428 800h148v94h-148v-94z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "helpTip" + ] + }, + "attrs": [], + "properties": { + "order": 547, + "id": 48, + "prevSize": 16, + "code": 59897, + "name": "helpTip" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 249 + }, + { + "icon": { + "paths": [ + "M368 0v596h-234l364 360h-498v70h1024v-70h-522l388-360h-234v-596h-288z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "hide" + ] + }, + "attrs": [], + "properties": { + "order": 548, + "id": 47, + "prevSize": 16, + "code": 59898, + "name": "hide" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 250 + }, + { + "icon": { + "paths": [ + "M167.615 186.842v487.328l34 73.35h572.385l38-75.226v-33.856h26c104.401 0 188-78.618 188-176.794 0-98.182-83.599-176.8-188-176.8h-26v-98.003zM812 346.912h14c66.898 0 122 51.821 122 114.733 0 62.906-55.102 112.845-122 112.845h-14zM0 843.443l108 180.557h834l82-180.557z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "history" + ] + }, + "attrs": [], + "properties": { + "order": 549, + "id": 46, + "prevSize": 16, + "code": 59899, + "name": "history" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 251 + }, + { + "icon": { + "paths": [ + "M212 6c-86.27 49.558-144 133.862-144 230 0 97.724 59.409 182.82 148 232l24-52c-65.834-40.067-108-105.085-108-180s42.166-141.933 108-182l-28-48zM848 6l-28 48c65.834 40.067 108 107.085 108 182s-42.166 139.933-108 180l24 52c88.591-49.18 148-134.276 148-232 0-96.138-57.73-180.442-144-230zM318 70c-57.742 35.475-98 97.182-98 166 0 69.953 40.705 130.796 100 166l16-38c-44.064-28.681-72-74.374-72-128s27.936-101.319 72-130l-18-36zM742 70l-18 36c44.064 28.681 72 76.374 72 130s-27.936 99.319-72 128l16 38c59.295-35.204 100-96.047 100-166 0-68.818-40.258-130.525-98-166zM406 140c-33.569 20.623-56 55.993-56 96 0 40.667 23.529 75.534 58 96l10-22c-25.617-16.673-42-42.824-42-74s16.383-59.327 42-76l-12-20zM654 140l-12 20c25.617 16.673 42 44.824 42 76s-16.383 57.327-42 74l10 22c34.471-20.466 58-55.333 58-96 0-40.007-22.431-75.377-56-96zM480 194l-28 830h156l-28-830h-100z", + "M218.989 560.393h121.908v463.389h-121.908v-463.389z", + "M88 655.783v368h152v-368h-152zM114 671.783h26v346h-26v-346z", + "M-4.535 844.191h99.537v179.809h-99.537v-179.809z", + "M592.5 803.154h82.665v223.6h-82.665v-223.6z", + "M662.092 580.19h78.332v446.564h-78.332v-446.564z", + "M738 706v318h94v-318h-94zM758 734h20v262h-20v-262z", + "M808 816v208h174v-208h-174zM864 860h82v146h-82v-146z", + "M967.595 914.101h68.362v109.899h-68.362v-109.899z", + "M331.201 818.275v208h143.859v-208h-143.859zM377.501 862.275h67.796v146h-67.796v-146z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "launchingTower" + ] + }, + "attrs": [], + "properties": { + "order": 550, + "id": 45, + "prevSize": 16, + "code": 59900, + "name": "launchingTower" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 252 + }, + { + "icon": { + "paths": [ + "M0 0v160h64v864h896v-864h64v-160h-1024zM192 258h640v640h-640v-640zM400 330l-172 174 172 174v-114h112v-124h-112v-110zM624 516v110h-112v124h112v114l172-174-172-174z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "layout" + ] + }, + "attrs": [], + "properties": { + "order": 551, + "id": 44, + "prevSize": 16, + "code": 59901, + "name": "layout" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 253 + }, + { + "icon": { + "paths": [ + "M1024 0v1024h-736.508v-1024zM168.136 0v1024h-168.136v-1024zM635.932 330l-182 182 182 182v-122h232v-120h-232z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "legendhide" + ] + }, + "attrs": [], + "properties": { + "order": 552, + "id": 43, + "prevSize": 16, + "code": 59902, + "name": "legendhide" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 254 + }, + { + "icon": { + "paths": [ + "M0 0v1024h602v-1024h-602zM704 0v1024h320v-1024h-320zM778 136h172v86h-172v-86zM336 330l182 182-182 182v-122h-232v-120h232v-122zM778 376h172v86h-172v-86zM778 616h172v86h-172v-86zM778 854h172v88h-172v-88z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "legendshow" + ] + }, + "attrs": [], + "properties": { + "order": 553, + "id": 42, + "prevSize": 16, + "code": 59903, + "name": "legendshow" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 255 + }, + { + "icon": { + "paths": [ + "M174 0c-95.761 0-174 78.239-174 174s78.239 172 174 172c30.236 0 57.252-6.394 82-20l442 442c-13.606 24.748-20 51.764-20 82 0 95.761 76.239 174 172 174s174-78.239 174-174c0-95.761-78.239-172-174-172-30.57 0-59.061 6.113-84 20l-442-438c14.951-25.628 22-54.19 22-86 0-95.761-76.239-174-172-174zM174 86c47.881 0 86 40.119 86 88s-38.119 86-86 86c-47.881 0-88-38.119-88-86s40.119-88 88-88zM850 764c47.881 0 88 38.119 88 86s-40.119 88-88 88c-47.881 0-86-40.119-86-88s38.119-86 86-86z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "link" + ] + }, + "attrs": [], + "properties": { + "order": 554, + "id": 41, + "prevSize": 16, + "code": 59904, + "name": "link" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 256 + }, + { + "icon": { + "paths": [ + "M510 8c-203.422 0-367.735 153.347-370 344h92c2.507-130.677 125.564-236 278-236s277.452 105.323 280 236h92c-2.292-190.653-168.578-344-372-344zM156 416c-56.19 0-102 43.81-102 100v406c0 56.19 45.81 102 102 102h710c56.19 0 102-45.81 102-102v-406c0-56.19-45.81-100-102-100h-710zM510 586c37.842 0 68 30.158 68 68 0 20.924-9.216 41.432-24 54v170h-90v-170c-14.784-12.568-24-33.076-24-54 0-37.842 32.158-68 70-68z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "lock" + ] + }, + "attrs": [], + "properties": { + "order": 555, + "id": 40, + "prevSize": 16, + "code": 59905, + "name": "lock" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 257 + }, + { + "icon": { + "paths": [ + "M839.68 794.944l-469.12-469.12 325.824-325.824h-696.384v696.384l325.312-325.312 469.12 469.12z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "ltArrow" + ] + }, + "attrs": [], + "properties": { + "order": 556, + "id": 39, + "prevSize": 16, + "code": 59906, + "name": "ltArrow" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 258 + }, + { + "icon": { + "paths": [ + "M384 0c-211.661 0-384 172.339-384 384s172.339 382 384 382c72.935 0 139.963-20.633 198-56 3.407 7.108 8.094 14.094 14 20l270 272c27.919 27.919 74.081 27.919 102 0l34-36c27.919-27.919 27.919-72.081 0-100l-272-272c-5.848-5.848-10.97-10.602-18-14 34.492-57.525 54-124.046 54-196 0-211.661-170.339-384-382-384zM384 104c153.936 0 278 126.064 278 280s-124.064 278-278 278c-153.936 0-280-124.064-280-278s126.064-280 280-280z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "Magnifier" + ] + }, + "attrs": [], + "properties": { + "order": 557, + "id": 38, + "prevSize": 16, + "code": 59907, + "name": "Magnifier" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 259 + }, + { + "icon": { + "paths": [ + "M512.064 0c-282.368 0-512.064 229.632-512.064 512 0 282.432 229.696 512 512.064 512 282.304 0 511.936-229.632 511.936-512s-229.632-512-511.936-512zM512.064 960c-247.040 0-448.064-201.024-448.064-448 0-247.040 201.024-448 448.064-448 246.976 0 447.936 200.96 447.936 448 0 246.976-200.96 448-447.936 448z", + "M734.976 372.224l20.672-55.808-49.408-32.896-3.84-59.392-58.56-9.856-27.52-52.672-57.728 14.72-46.592-36.864-46.656 36.864-57.6-14.72-27.52 52.672-58.688 9.92-3.712 59.392-49.536 32.832 20.672 55.808-31.808 50.24 41.536 42.496-8.64 58.816 55.296 21.824 13.952 49.92-88.64 237.504 91.648-25.152 46.656 76.736 97.92-262.272 5.12-2.56 3.264 1.6 95.488 255.872 46.656-76.608 91.648 25.152-84.992-227.776 14.656-52.416 55.296-21.824-8.704-58.816 41.6-42.496-31.936-50.24zM626.176 538.88l-105.024 39.104c-3.072 0.256-6.016 1.024-9.152 1.024-19.968 0-38.784-4.032-56.768-9.728l-21.44-8.064c-63.552-29.568-107.904-93.568-107.904-168.32 0-102.848 83.328-186.176 186.112-186.176 102.848 0 186.112 83.328 186.112 186.176 0 59.52-28.416 111.936-71.936 145.984z", + "M669.12 392.832c0 86.775-70.345 157.12-157.12 157.12s-157.12-70.345-157.12-157.12c0-86.775 70.345-157.12 157.12-157.12s157.12 70.345 157.12 157.12z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "Maintain" + ] + }, + "attrs": [], + "properties": { + "order": 558, + "id": 37, + "prevSize": 16, + "code": 59908, + "name": "Maintain" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 260 + }, + { + "icon": { + "paths": [ + "M177.898 320v704h704v-704zM273.457 599.763h512.883v326.237h-512.883z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "maximize" + ] + }, + "attrs": [], + "properties": { + "order": 559, + "id": 36, + "prevSize": 16, + "code": 59909, + "name": "maximize" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 261 + }, + { + "icon": { + "paths": [ + "M634.117 13.088c-39.104-22.577-87.176-9.696-109.753 29.408l-9.772 16.925 330.977 191.089 9.772-16.925c22.577-39.104 9.696-87.176-29.408-109.752l-191.816-110.745zM492.879 97.032l-300.749 520.912 330.977 191.089 300.749-520.912-330.976-191.089zM519.824 215.392l60.178 34.744-210.633 364.826-60.178-34.744 210.633-364.826zM647.702 289.222l60.178 34.744-210.633 364.826-60.178-34.743 210.633-364.826zM148.7 693.166l28.686 332.494 302.291-141.404-330.977-191.089z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "modify" + ] + }, + "attrs": [], + "properties": { + "order": 560, + "id": 35, + "prevSize": 16, + "code": 59910, + "name": "modify" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 262 + }, + { + "icon": { + "paths": [ + "M508.608 9.6c-282.368 0-512.064 229.696-512.064 512 0 282.432 229.696 512 512.064 512 282.304 0 511.936-229.632 512-512 0-282.368-229.632-512-512-512zM508.608 969.6c-247.040 0-448.064-201.024-448.064-448s201.024-448 448.064-448 447.936 201.024 448 448c0 246.976-200.96 448-448 448z", + "M610.048 709.504h-203.008v33.856h-168.96v64h540.928v-64h-168.96z", + "M206.080 666.624h604.928v-429.312h-604.928v429.312zM749.056 617.024h-68.032v-28.032h68.032v28.032zM270.080 301.312h476.928v250.688h-476.928v-250.688z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "Monitor" + ] + }, + "attrs": [], + "properties": { + "order": 561, + "id": 34, + "prevSize": 16, + "code": 59911, + "name": "Monitor" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 263 + }, + { + "icon": { + "paths": [ + "M497.019 10c-30.138 0-54 30.398-54 69.728v354.615l-62 15.938h-6v-241.058c0-39.33-23.862-71.72-54-71.72s-54 32.39-54 71.72v316.763l-44 63.751-10 13.946-100-99.611c-27.919-27.811-70.929-28.958-96-3.984s-21.919 67.816 6 95.626l212 209.183c31.677 130.522 169.028 229.105 332 229.105 175.44 0 317.928-115.646 334-260.981 2.746-8.499 4-16.066 4-25.899v-414.381c0-39.33-23.862-71.72-54-71.72s-56 32.39-56 71.72v153.401l-34-9.961-32-17.93v-318.755c0-39.33-25.862-71.72-56-71.72s-54 32.39-54 71.72v288.872l-44-1.992-24-3.984v-342.661c0-39.33-23.862-69.728-54-69.728z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "move" + ] + }, + "attrs": [], + "properties": { + "order": 562, + "id": 33, + "prevSize": 16, + "code": 59912, + "name": "move" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 264 + }, + { + "icon": { + "paths": [ + "M512 0c-282.77 0-512 229.23-512 512s229.23 512 512 512c282.77 0 512-229.23 512-512s-229.23-512-512-512zM488 174h48c31.119 0 56 24.881 56 56v202h204c31.119 0 56 24.881 56 56v48c0 31.119-24.881 56-56 56h-204v204c0 31.119-24.881 56-56 56h-48c-31.119 0-56-24.881-56-56v-204h-204c-31.119 0-56-24.881-56-56v-48c0-31.119 24.881-56 56-56h204v-202c0-31.119 24.881-56 56-56z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "new" + ] + }, + "attrs": [], + "properties": { + "order": 563, + "id": 32, + "prevSize": 16, + "code": 59913, + "name": "new" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 265 + }, + { + "icon": { + "paths": [ + "M370 0v100h132v322h-132v98h-170v504h800v-810l-194-214h-436zM150 56v132h-132v128h132v132h128v-132h132v-128h-132v-132h-128zM704 504l204 204-198 198-2-132h-244v-156h242l-2-114zM352 616h40v158h-40v-158z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "newShortcut" + ] + }, + "attrs": [], + "properties": { + "order": 564, + "id": 31, + "prevSize": 16, + "code": 59914, + "name": "newShortcut" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 266 + }, + { + "icon": { + "paths": [ + "M800 0v82l-284 6h-32v390h-342v-88h120v-262h-262v262h78v154h406v384h316v96h224v-224h-224v64h-252v-320h252v80h224v-224h-224v78h-252v-326l252-6v78h224v-224h-224zM880 80h64v64h-64v-64zM880 480h64v64h-64v-64zM880 880h64v64h-64v-64z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "openTree" + ] + }, + "attrs": [], + "properties": { + "order": 565, + "id": 30, + "prevSize": 16, + "code": 59915, + "name": "openTree" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 267 + }, + { + "icon": { + "paths": [ + "M448 0v320h576v-320h-576zM0 448v576h1024v-576h-1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "poNode" + ] + }, + "attrs": [], + "properties": { + "order": 566, + "id": 29, + "prevSize": 16, + "code": 59916, + "name": "poNode" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 268 + }, + { + "icon": { + "paths": [ + "M272 0v200h480v-200h-480zM98 112c-54.122 0-98 43.878-98 98v358c0 54.122 43.878 98 98 98h828c54.122 0 98-43.878 98-98v-358c0-54.122-43.878-98-98-98h-110v168h-608v-168h-110zM284 724v300h484v-300h-484zM330 786h364v52h-364v-52zM332 894h264v50h-264v-50z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "print" + ] + }, + "attrs": [], + "properties": { + "order": 567, + "id": 28, + "prevSize": 16, + "code": 59917, + "name": "print" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 269 + }, + { + "icon": { + "paths": [ + "M186.869 0v1024h640v-1024h-640zM304.869 134.003h404v133.997h-404v-133.997zM304.869 502.003h186v64h-186v-64zM304.869 732h186v64h-186v-64z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "product" + ] + }, + "attrs": [], + "properties": { + "order": 568, + "id": 27, + "prevSize": 16, + "code": 59918, + "name": "product" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 270 + }, + { + "icon": { + "paths": [ + "M184.32 229.056l469.12 469.12-325.824 325.824h696.384v-696.384l-325.312 325.312-469.12-469.12z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "rbArrow" + ] + }, + "attrs": [], + "properties": { + "order": 569, + "id": 26, + "prevSize": 16, + "code": 59919, + "name": "rbArrow" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 271 + }, + { + "icon": { + "paths": [ + "M169.25 320v456h203.925v248h500.075v-456h-203.925v-248zM239.752 500h362.35v68h-228.928v110h-133.422zM443.677 746h360.71v178h-360.71z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "reduction" + ] + }, + "attrs": [], + "properties": { + "order": 570, + "id": 25, + "prevSize": 16, + "code": 59920, + "name": "reduction" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 272 + }, + { + "icon": { + "paths": [ + "M514 54c-101.166 0-194.73 36.006-268 98l-158-94 88 354 368-86-194-110c48.27-30.912 103.639-52 164-52 157.484 0 288.023 121.916 314 280l102-32c-38.978-204.361-210.106-358-416-358zM188 584l-100 32c38.978 204.361 208.106 358 414 358 101.166 0 194.73-36.006 268-98l160 94-88-354-368 84 194 112c-48.27 30.911-105.639 52-166 52-157.484 0-288.023-121.916-314-280z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "refresh" + ] + }, + "attrs": [], + "properties": { + "order": 571, + "id": 24, + "prevSize": 16, + "code": 59921, + "name": "refresh" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 273 + }, + { + "icon": { + "paths": [ + "M56 0c-31.119 0-56 24.881-56 56v618c0 31.119 24.881 56 56 56 0 0 226.78 4.516 260.648 0v-176c0-34.183 27.817-62 62-62h87.352l-36-92h-164l-34 94h-88l160-418h88l166 416h52.899c34.183 0 62 27.817 62 62v72h57.101v-570c0-31.119-24.881-56-56-56zM348 172l-56 156h112zM414 556v322.99h412v143.343l202-209.343-202-224.847v144.847h-266v-176.99z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "rename" + ] + }, + "attrs": [], + "properties": { + "order": 572, + "id": 23, + "prevSize": 16, + "code": 59922, + "name": "rename" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 274 + }, + { + "icon": { + "paths": [ + "M0 0v1024h1024v-856l-154-168h-870zM158 150h414v138h192v-138h102v240h-708v-240zM158 502h708v406h-708v-406zM254 596v76h516v-76h-516zM254 762v76h516v-76h-516z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "save" + ] + }, + "attrs": [], + "properties": { + "order": 573, + "id": 22, + "prevSize": 16, + "code": 59923, + "name": "save" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 275 + }, + { + "icon": { + "paths": [ + "M0 0l486 1024 96-396 442-142-1024-486zM156 168l666 304-308 82-60 234-298-620z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "select" + ] + }, + "attrs": [], + "properties": { + "order": 574, + "id": 21, + "prevSize": 16, + "code": 59924, + "name": "select" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 276 + }, + { + "icon": { + "paths": [ + "M68 0c-38.145 0-68 31.069-68 70v52c0 38.931 29.855 70 68 70h888c38.145 0 68-31.069 68-70v-52c0-38.931-29.855-70-68-70h-888zM68 268c-38.145 0-68 29.855-68 68v620c0 38.145 29.855 68 68 68h888c38.145 0 68-29.855 68-68v-620c0-38.145-29.855-68-68-68h-888zM810 388l124 10-460 528-320-264 144-124 154 222 358-372z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "selectAll" + ] + }, + "attrs": [], + "properties": { + "order": 575, + "id": 20, + "prevSize": 16, + "code": 59925, + "name": "selectAll" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 277 + }, + { + "icon": { + "paths": [ + "M354 2l-352 264 352 266v-140h434v278h-234v-64h-204v204h204v-76h104v188h-454v-98h-204v204h204v-42h518v-252h130v-342h172v-252h-670v-138z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "selectLeft" + ] + }, + "attrs": [], + "properties": { + "order": 576, + "id": 19, + "prevSize": 16, + "code": 59926, + "name": "selectLeft" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 278 + }, + { + "icon": { + "paths": [ + "M670 2l352 264-352 266v-140h-434v278h234v-64h204v204h-204v-76h-104v188h454v-98h204v204h-204v-42h-518v-252h-130v-342h-172v-252h670v-138z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "selectRight" + ] + }, + "attrs": [], + "properties": { + "order": 577, + "id": 18, + "prevSize": 16, + "code": 59927, + "name": "selectRight" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 279 + }, + { + "icon": { + "paths": [ + "M0 0v356h486l-352 348h234v250h-368v70h1024v-70h-368v-250h234l-374-348h508v-356h-1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "show" + ] + }, + "attrs": [], + "properties": { + "order": 578, + "id": 17, + "prevSize": 16, + "code": 59928, + "name": "show" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 280 + }, + { + "icon": { + "paths": [ + "M512 237.682l-512 786.318h1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "shrink" + ] + }, + "attrs": [], + "properties": { + "order": 579, + "id": 16, + "prevSize": 16, + "code": 59929, + "name": "shrink" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 281 + }, + { + "icon": { + "paths": [ + "M154 0c-85.352 0-154 68.648-154 154v716c0 85.352 68.648 154 154 154h716c85.352 0 154-68.648 154-154v-716c0-85.352-68.648-154-154-154h-716zM190 128h644c34.183 0 62 27.817 62 62v644c0 34.183-27.817 62-62 62h-644c-34.183 0-62-27.817-62-62v-644c0-34.183 27.817-62 62-62zM272 202v620l518-310-518-310z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "start" + ] + }, + "attrs": [], + "properties": { + "order": 580, + "id": 15, + "prevSize": 16, + "code": 59930, + "name": "start" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 282 + }, + { + "icon": { + "paths": [ + "M154 0c-85.352 0-154 68.648-154 154v716c0 85.352 68.648 154 154 154h716c85.352 0 154-68.648 154-154v-716c0-85.352-68.648-154-154-154h-716zM190 128h644c34.183 0 62 27.817 62 62v644c0 34.183-27.817 62-62 62h-644c-34.183 0-62-27.817-62-62v-644c0-34.183 27.817-62 62-62zM296 296v432h432v-432h-432z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "stop" + ] + }, + "attrs": [], + "properties": { + "order": 581, + "id": 14, + "prevSize": 16, + "code": 59931, + "name": "stop" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 283 + }, + { + "icon": { + "paths": [ + "M512 1024l-512-786.318h1024z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "stretch" + ] + }, + "attrs": [], + "properties": { + "order": 582, + "id": 13, + "prevSize": 16, + "code": 59932, + "name": "stretch" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 284 + }, + { + "icon": { + "paths": [ + "M194 0c-107.068 0-194 82.412-194 184v656c0 101.588 86.932 184 194 184h636c107.068 0 194-82.412 194-184v-656c0-101.588-86.932-184-194-184h-636zM256 166l254 254 254-254 92 90-256 254 258 258-90 90-258-258-258 258-90-90 258-258-254-254 90-90z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "strikeOut" + ] + }, + "attrs": [], + "properties": { + "order": 583, + "id": 12, + "prevSize": 16, + "code": 59933, + "name": "strikeOut" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 285 + }, + { + "icon": { + "paths": [ + "M494.591 0.25c-104.514 3.264-208.762 40.365-296.56 108.41 54.963 14.432 104.846 45.722 142.015 91.731 26.183 32.416 43.293 69.434 52.211 108.41 7.471-4.416 15.182-6.931 22.973-10.419 92.228-41.331 202.903-21.402 273.587 58.374 2.3 2.624 4.099 5.696 6.266 8.339 38.539-10.528 75.134-28.589 106.511-56.294 44.602-39.379 72.015-90.355 83.538-145.939-104.684-110.842-248.067-167.085-390.54-162.611zM129.112 171.2c-154.656 173.299-171.74 430.515-43.857 623.366 14.934-42.534 37.92-81.523 73.096-112.576 40.821-36.064 90.261-55.533 142.015-62.547-39.251-78.547-32.851-174.438 18.796-246.010-8.527-40.979-24.855-80.813-52.211-114.669-35.942-44.499-84.853-73.018-137.838-87.565zM945.696 242.086c-12.714 52.192-39.333 100.41-81.45 137.6-37.012 32.678-81.354 51.789-127.396 60.461 26.015 79.027 6.736 167.418-52.211 231.411 19.428 31.75 44.529 59.674 77.273 81.312 53.569 35.405 115.945 48.032 177.518 41.696 109.728-165.357 113.583-382.061 6.266-552.48zM356.753 690.33c-49.599 7.29-96.216 27.635-135.749 62.541-37.037 32.698-60.956 73.747-75.184 118.835 189.751 193.376 500.447 204.333 705.897 22.938 7.2-6.336 14.128-12.109 20.885-18.771-56.711 3.136-113.526-11.149-162.899-43.776-41.445-27.398-71.715-65.645-91.892-108.41-84.866 42.72-188.114 30.099-261.056-33.357z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "Synchronous" + ] + }, + "attrs": [], + "properties": { + "order": 584, + "id": 11, + "prevSize": 16, + "code": 59934, + "name": "Synchronous" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 286 + }, + { + "icon": { + "paths": [ + "M517.312 51.648c-261.504 0-474.24 212.736-474.24 474.24s212.736 474.24 474.24 474.24c261.44 0 474.176-212.736 474.176-474.24s-212.736-474.24-474.176-474.24zM517.312 936.128c-226.24 0-410.24-184.064-410.24-410.24 0-226.24 184-410.24 410.24-410.24 226.176 0 410.176 184 410.176 410.24 0 226.176-184 410.24-410.176 410.24z", + "M498.624 196.288l-45.312 45.248 245.632 245.632h-445.184v64h457.536l-244.16 244.224 45.248 45.248 315.264-315.328z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "toRight" + ] + }, + "attrs": [], + "properties": { + "order": 585, + "id": 10, + "prevSize": 16, + "code": 59935, + "name": "toRight" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 287 + }, + { + "icon": { + "paths": [ + "M172 0c-95.48 0-172 76.52-172 172v680c0 95.48 76.52 172 172 172h680c95.48 0 172-76.52 172-172v-680c0-95.48-76.52-172-172-172h-680zM244 178h432l104 132v536h-536v-668zM326 306v78h200v-78h-200zM328 478v76h374v-76h-374zM320 648v78h384v-78h-384z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "treefile" + ] + }, + "attrs": [], + "properties": { + "order": 586, + "id": 9, + "prevSize": 16, + "code": 59936, + "name": "treefile" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 288 + }, + { + "icon": { + "paths": [ + "M172 0c-95.48 0-172 76.52-172 172v680c0 95.48 76.52 172 172 172h680c95.48 0 172-76.52 172-172v-680c0-95.48-76.52-172-172-172zM238.712 241.729h206.949c27.848 0 50.787 21.897 50 48v144h316c28.751 0 52 23.249 52 52v266.237c0 28.751-23.249 52-52 52h-568.949c-28.751 0-51.098-23.263-52-52v-462.237c0-26.115 20.152-48 48-48z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "treeFolder" + ] + }, + "attrs": [], + "properties": { + "order": 587, + "id": 8, + "prevSize": 16, + "code": 59937, + "name": "treeFolder" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 289 + }, + { + "icon": { + "paths": [ + "M510 8c-202.717 0-366.626 152.266-370 342-0.012 0.659 0.008 1.34 0 2v66c-48.364 7.619-86 47.443-86 98v406c0 56.19 45.81 102 102 102h710c56.19 0 102-45.81 102-102v-406c0-56.19-45.81-100-102-100h-634v-66c3.722-129.746 126.346-234 278-234 125.236 0 230.961 71.332 266.403 169.184 9.788 9.965 18.88 19.916 30.894 22.829 12.716 3.084 41.895 4.16 53.558-6.145 7.663-6.77 13.476-15.71 11.628-22.481-37.206-155.677-185.523-271.387-362.482-271.387zM510 586c37.842 0 68 30.158 68 68 0 20.924-9.216 41.432-24 54v170h-90v-170c-14.784-12.568-24-33.076-24-54 0-37.842 32.158-68 70-68z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "unlock" + ] + }, + "attrs": [], + "properties": { + "order": 588, + "id": 7, + "prevSize": 16, + "code": 59938, + "name": "unlock" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 290 + }, + { + "icon": { + "paths": [ + "M430.051 1.837c-113.748 0-204 92.25-204 206.003 0 113.747 90.252 205.997 204 205.997s206-92.25 206-205.997c0-113.754-92.252-206.003-206-206.003zM260.051 423.84c-293.451 164.71-256.921 447.763-260 437.997h378c24.631-42.662 62.629-86.432 126-121.997l12-38.003v-1.984c-0.602-0.704-1.411-1.28-2-1.984-16.909-20.928-28.629-51.814-30-97.997 0-62.336 42.539-115.219 100-130.003l4-1.984v-1.984l14-41.997c-37.012 47.104-100.907 80-172 80s-132.988-32.896-170-80zM688.051 467.84c-73.692 0-134 58.304-134 132 0 73.69 60.308 133.997 134 133.997s132-60.307 132-133.997c0-73.696-58.308-132-132-132zM576.051 739.84c-190.112 106.707-166.005 290.323-168 284h558c-1.994 6.336 22.112-177.293-168-284-23.978 30.515-63.943 52-110 52s-88.022-21.485-112-52z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "userCompare" + ] + }, + "attrs": [], + "properties": { + "order": 589, + "id": 6, + "prevSize": 16, + "code": 59939, + "name": "userCompare" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 291 + }, + { + "icon": { + "paths": [ + "M512 0c-135.256 0-243.927 108.883-243.927 244.403 0 135.526 108.671 246.413 243.927 246.413s243.927-110.886 243.927-246.413c0-135.52-108.671-244.403-243.927-244.403zM308.061 502.842c-348.938 196.237-304.247 532.493-307.907 520.864h1023.692c-3.66 11.629 41.030-324.627-307.907-520.864-44.011 56.115-119.403 94.15-203.939 94.15-50.341 0-96.799-15.302-135.959-38.061 100.275 77.171 212.359 110.496 331.9 118.195l3.999-152.256 235.929 208.346-213.936 242.406-11.996-138.234c-166.671-50.202-400.945-148.48-413.876-334.547z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "userDispatch" + ] + }, + "attrs": [], + "properties": { + "order": 590, + "id": 5, + "prevSize": 16, + "code": 59940, + "name": "userDispatch" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 292 + }, + { + "icon": { + "paths": [ + "M130 0c-71.877 0-130 58.123-130 130v764c0 71.877 58.123 130 130 130h764c71.877 0 130-58.123 130-130v-506l-388-388h-506zM772 0l252 252v-122c0-71.877-58.123-130-130-130h-122zM56 352h76l64 102 62-102h76l-100 156 110 164h-78l-72-110-70 110h-78l110-168-100-152zM376 352h98l58 218 58-218h96v320h-60v-252l-64 252h-62l-64-252v252h-60v-320zM752 354h66v264h160v54h-226v-318z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "xml" + ] + }, + "attrs": [], + "properties": { + "order": 591, + "id": 4, + "prevSize": 16, + "code": 59941, + "name": "xml" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 293 + }, + { + "icon": { + "paths": [ + "M638 2c-211.661 0-382 172.339-382 384 0 71.954 19.508 138.475 54 196-7.030 3.398-12.152 8.152-18 14l-272 272c-27.919 27.919-27.919 72.081 0 100l34 36c27.919 27.919 74.081 27.919 102 0l270-272c5.906-5.906 10.593-12.892 14-20 58.037 35.367 125.065 56 198 56 211.661 0 384-170.339 384-382s-172.339-384-384-384zM638 106c153.936 0 280 126.064 280 280s-126.064 278-280 278c-153.936 0-278-124.064-278-278s124.064-280 278-280zM620 194c-25.053 0-46 20.947-46 46v84h-84c-25.053 0-44 18.947-44 44v38c0 25.053 18.947 46 44 46h84v84c0 25.053 20.947 44 46 44h38c25.053 0 44-18.947 44-44v-84h84c25.053 0 46-20.947 46-46v-38c0-25.053-20.947-44-46-44h-84v-84c0-25.053-18.947-46-44-46h-38z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "zoomIn" + ] + }, + "attrs": [], + "properties": { + "order": 592, + "id": 3, + "prevSize": 16, + "code": 59942, + "name": "zoomIn" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 294 + }, + { + "icon": { + "paths": [ + "M638.939 1.061c211.661 0 384 172.339 384 384s-172.339 382-384 382c-72.935 0-139.963-20.633-198-56-3.407 7.108-8.094 14.094-14 20l-270 272c-27.919 27.919-74.081 27.919-102 0l-34-36c-27.919-27.919-27.919-72.081 0-100l272-272c5.848-5.848 10.97-10.602 18-14-34.492-57.525-54-124.046-54-196 0-211.661 170.339-384 382-384zM638.939 105.061c-153.936 0-278 126.064-278 280s124.064 278 278 278c153.936 0 280-124.064 280-278s-126.064-280-280-280z", + "M490.9 323.499h295.725c24.975 0 45.222 20.247 45.222 45.222v37.556c0 24.975-20.247 45.222-45.222 45.222h-295.725c-24.975 0-45.222-20.247-45.222-45.222v-37.556c0-24.975 20.247-45.222 45.222-45.222z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "zoomOut" + ] + }, + "attrs": [], + "properties": { + "order": 593, + "id": 2, + "prevSize": 16, + "code": 59943, + "name": "zoomOut" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 295 + }, + { + "icon": { + "paths": [ + "M0 0v172l172-172h-172zM852 0l172 172v-172h-172zM128 128v768h768v-768h-768zM234 254h556v272l-42-56-72 86-66-194-114 230-104-122-158 162v-378zM0 852v172h172l-172-172zM1024 852l-172 172h172v-172z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "zoomOverView" + ] + }, + "attrs": [], + "properties": { + "order": 594, + "id": 1, + "prevSize": 16, + "code": 59944, + "name": "zoomOverView" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 296 + }, + { + "icon": { + "paths": [ + "M388 0l114 128 114-128h-228zM502 128h-374v768h768v-768h-394zM896 470l128 114v-228l-128 114zM512 896l-114 128h226l-112-128zM128 472l-128-112v226l128-114zM234 254h556v272l-42-56-72 86-66-194-114 230-104-122-158 162v-378z" + ], + "attrs": [], + "isMulticolor": false, + "grid": 0, + "tags": [ + "zoomReset" + ] + }, + "attrs": [], + "properties": { + "order": 595, + "id": 0, + "prevSize": 16, + "code": 59945, + "name": "zoomReset" + }, + "setIdx": 0, + "setId": 2, + "iconIdx": 297 + } + ], + "height": 1024, + "metadata": { + "name": "ZteIctIcons" + }, + "preferences": { + "showGlyphs": true, + "showQuickUse": true, + "showQuickUse2": true, + "showSVGs": true, + "fontPref": { + "prefix": "ict-", + "metadata": { + "fontFamily": "ZteIctIcons", + "majorVersion": 1, + "minorVersion": 0 + }, + "metrics": { + "emSize": 1024, + "baseline": 6.25, + "whitespace": 50 + }, + "embed": false + }, + "imagePref": { + "prefix": "icon-", + "png": true, + "useClassSelector": true, + "color": 4473924, + "bgColor": 16777215, + "classSelector": ".icon" + }, + "historySize": 100, + "showCodes": true, + "gridSize": 16, + "showLiga": false + } } \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/style.css b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/style.css index e014cbe1..581db6f0 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/style.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/ZteIctIcons/style.css @@ -1,921 +1,921 @@ -@font-face { - font-family: 'ZteIctIcons'; - src: url('fonts/ZteIctIcons.eot?whxm2m'); - src: url('fonts/ZteIctIcons.eot?whxm2m#iefix') format('embedded-opentype'), - url('fonts/ZteIctIcons.ttf?whxm2m') format('truetype'), - url('fonts/ZteIctIcons.woff?whxm2m') format('woff'), - url('fonts/ZteIctIcons.svg?whxm2m#ZteIctIcons') format('svg'); - font-weight: normal; - font-style: normal; -} - -[class^="ict-"], [class*=" ict-"] { - /* use !important to prevent issues with browser extensions that change fonts */ - font-family: 'ZteIctIcons' !important; - speak: none; - font-style: normal; - font-weight: normal; - font-variant: normal; - text-transform: none; - line-height: 1; - - /* Better Font Rendering =========== */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.ict-it-other-lenovo:before { - content: "\e900"; -} -.ict-it-router-alu7750:before { - content: "\e901"; -} -.ict-it-other-nds:before { - content: "\e902"; -} -.ict-it-other-php:before { - content: "\e903"; -} -.ict-it-app-glassfish:before { - content: "\e904"; -} -.ict-it-other-telnet:before { - content: "\e905"; -} -.ict-it-other-dns:before { - content: "\e906"; -} -.ict-it-other-url:before { - content: "\e907"; -} -.ict-it-database-mysql:before { - content: "\e908"; -} -.ict-it-other-ping:before { - content: "\e909"; -} -.ict-it-other-ftp:before { - content: "\e90a"; -} -.ict-it-other-rest:before { - content: "\e90b"; -} -.ict-it-other-soap:before { - content: "\e90c"; -} -.ict-it-server-macos:before { - content: "\e90d"; -} -.ict-it-server-openbsd:before { - content: "\e90e"; -} -.ict-it-server-debian:before { - content: "\e90f"; -} -.ict-it-app-iis:before { - content: "\e910"; -} -.ict-it-app-mailserver:before { - content: "\e911"; -} -.ict-it-app-websphere:before { - content: "\e912"; -} -.ict-it-app-apache:before { - content: "\e913"; -} -.ict-it-app-jboss:before { - content: "\e914"; -} -.ict-it-other-a10bala:before { - content: "\e915"; -} -.ict-NFV:before { - content: "\e916"; -} -.ict-VNFM:before { - content: "\e917"; -} -.ict-VNF:before { - content: "\e918"; -} -.ict-VNFC:before { - content: "\e919"; -} -.ict-VIM:before { - content: "\e91a"; -} -.ict-VDU:before { - content: "\e91b"; -} -.ict-host:before { - content: "\e91c"; -} -.ict-NS:before { - content: "\e91d"; -} -.ict-it-cluster-vcs:before { - content: "\e91e"; -} -.ict-it-diskraid-hpeva:before { - content: "\e91f"; -} -.ict-it-diskraid-zte:before { - content: "\e920"; -} -.ict-it-firewall-h3c:before { - content: "\e921"; -} -.ict-it-other-ibm-blade:before { - content: "\e922"; -} -.ict-it-other-secfox:before { - content: "\e923"; -} -.ict-it-other-segw:before { - content: "\e924"; -} -.ict-it-other-zteatca:before { - content: "\e925"; -} -.ict-it-other-zteips:before { - content: "\e926"; -} -.ict-it-sdn-controller:before { - content: "\e927"; -} -.ict-it-server-hpux:before { - content: "\e928"; -} -.ict-it-storage-ops:before { - content: "\e929"; -} -.ict-it-storage-sanswitch-brocade:before { - content: "\e92a"; -} -.ict-uep-moc-uca-public:before { - content: "\e92b"; -} -.ict-uep-topo-commongroup20x20:before { - content: "\e92c"; -} -.ict-vapel_chgpile:before { - content: "\e92d"; -} -.ict-car:before { - content: "\e92e"; -} -.ict-chgpile:before { - content: "\e92f"; -} -.ict-chgposition:before { - content: "\e930"; -} -.ict-chgstation:before { - content: "\e931"; -} -.ict-common_dc:before { - content: "\e932"; -} -.ict-common_ncd:before { - content: "\e933"; -} -.ict-common_ncd_break:before { - content: "\e934"; -} -.ict-common_sc:before { - content: "\e935"; -} -.ict-it:before { - content: "\e936"; -} -.ict-it-app:before { - content: "\e937"; -} -.ict-it-app-bind:before { - content: "\e938"; -} -.ict-it-app-dns:before { - content: "\e939"; -} -.ict-it-app-ems:before { - content: "\e93a"; -} -.ict-it-app-mediator:before { - content: "\e93b"; -} -.ict-it-app-ntp:before { - content: "\e93c"; -} -.ict-it-app-ota:before { - content: "\e93d"; -} -.ict-it-app-tomcat:before { - content: "\e93e"; -} -.ict-it-app-trend:before { - content: "\e93f"; -} -.ict-it-app-tsm:before { - content: "\e940"; -} -.ict-it-app-weblogic:before { - content: "\e941"; -} -.ict-it-cluster:before { - content: "\e942"; -} -.ict-it-cluster-hacmp:before { - content: "\e943"; -} -.ict-it-cluster-nec:before { - content: "\e944"; -} -.ict-it-cluster-ns:before { - content: "\e945"; -} -.ict-it-cluster-sg:before { - content: "\e946"; -} -.ict-it-database:before { - content: "\e947"; -} -.ict-it-database-mssql:before { - content: "\e948"; -} -.ict-it-database-oracle:before { - content: "\e949"; -} -.ict-it-database-sybase:before { - content: "\e94a"; -} -.ict-it-database-sybaseiq:before { - content: "\e94b"; -} -.ict-it-diskraid-dellmd:before { - content: "\e94c"; -} -.ict-it-diskraid-emc:before { - content: "\e94d"; -} -.ict-it-diskraid-eternus:before { - content: "\e94e"; -} -.ict-it-diskraid-fujitsu:before { - content: "\e94f"; -} -.ict-it-diskraid-hds:before { - content: "\e950"; -} -.ict-it-diskraid-hpaio:before { - content: "\e951"; -} -.ict-it-diskraid-hpmsa:before { - content: "\e952"; -} -.ict-it-diskraid-ibm:before { - content: "\e953"; -} -.ict-it-diskraid-ibmsm:before { - content: "\e954"; -} -.ict-it-diskraid-macrosan:before { - content: "\e955"; -} -.ict-it-diskraid-netapp:before { - content: "\e956"; -} -.ict-it-diskraid-sun:before { - content: "\e957"; -} -.ict-it-firewall:before { - content: "\e958"; -} -.ict-it-firewall-checkpoint:before { - content: "\e959"; -} -.ict-it-firewall-cisco:before { - content: "\e95a"; -} -.ict-it-firewall-cisco2:before { - content: "\e95b"; -} -.ict-it-firewall-juniper:before { - content: "\e95c"; -} -.ict-it-firewall-neteye:before { - content: "\e95d"; -} -.ict-it-firewall-zte:before { - content: "\e95e"; -} -.ict-it-firewall-ztemf:before { - content: "\e95f"; -} -.ict-it-firewall-zteutm:before { - content: "\e960"; -} -.ict-it-gather:before { - content: "\e961"; -} -.ict-it-ibp:before { - content: "\e962"; -} -.ict-it-ibp-ibp2000:before { - content: "\e963"; -} -.ict-it-net:before { - content: "\e964"; -} -.ict-it-other:before { - content: "\e965"; -} -.ict-it-other-alteon:before { - content: "\e966"; -} -.ict-it-other-appdirector:before { - content: "\e967"; -} -.ict-it-other-atca-lb10:before { - content: "\e968"; -} -.ict-it-other-cisco-ucs:before { - content: "\e969"; -} -.ict-it-other-dcs:before { - content: "\e96a"; -} -.ict-it-other-delta:before { - content: "\e96b"; -} -.ict-it-other-dp:before { - content: "\e96c"; -} -.ict-it-other-e9000:before { - content: "\e96d"; -} -.ict-it-other-f5bigip:before { - content: "\e96e"; -} -.ict-it-other-f5bigip2:before { - content: "\e96f"; -} -.ict-it-other-gbe2c:before { - content: "\e970"; -} -.ict-it-other-h3c:before { - content: "\e971"; -} -.ict-it-other-hpblc:before { - content: "\e972"; -} -.ict-it-other-imm:before { - content: "\e973"; -} -.ict-it-other-secsis:before { - content: "\e974"; -} -.ict-it-other-vc:before { - content: "\e975"; -} -.ict-it-other-ztepower:before { - content: "\e976"; -} -.ict-it-other-ztesgs:before { - content: "\e977"; -} -.ict-it-other-zxsdr-nt:before { - content: "\e978"; -} -.ict-it-router:before { - content: "\e979"; -} -.ict-it-router-cisco:before { - content: "\e97a"; -} -.ict-it-router-juniper:before { - content: "\e97b"; -} -.ict-it-router-zte:before { - content: "\e97c"; -} -.ict-it-sdn-host:before { - content: "\e97d"; -} -.ict-it-sdn-switch:before { - content: "\e97e"; -} -.ict-it-server:before { - content: "\e97f"; -} -.ict-it-server-aix:before { - content: "\e980"; -} -.ict-it-server-klinux:before { - content: "\e981"; -} -.ict-it-server-redhat:before { - content: "\e982"; -} -.ict-it-server-solaris:before { - content: "\e983"; -} -.ict-it-server-suse:before { - content: "\e984"; -} -.ict-it-server-windows:before { - content: "\e985"; -} -.ict-it-server-zxve:before { - content: "\e986"; -} -.ict-it-storage:before { - content: "\e987"; -} -.ict-it-storage-cisco-mds:before { - content: "\e988"; -} -.ict-it-storage-md3000:before { - content: "\e989"; -} -.ict-it-storage-netvault:before { - content: "\e98a"; -} -.ict-it-storage-sanswitch-zte:before { - content: "\e98b"; -} -.ict-it-switch-at:before { - content: "\e98c"; -} -.ict-it-switch-cisco:before { - content: "\e98d"; -} -.ict-it-switch-h3c:before { - content: "\e98e"; -} -.ict-it-switch-juniper:before { - content: "\e98f"; -} -.ict-it-switch-zte:before { - content: "\e990"; -} -.ict-it-tapelib-hpmsl:before { - content: "\e991"; -} -.ict-it-tapelib-ibmts:before { - content: "\e992"; -} -.ict-it-tapelib-sunts:before { - content: "\e993"; -} -.ict-it-Virtualnetwork:before { - content: "\e994"; -} -.ict-networkTree:before { - content: "\e995"; -} -.ict-resourceType:before { - content: "\e996"; -} -.ict-tree-icon:before { - content: "\e997"; -} -.ict-uep-topo-group20x20:before { - content: "\e998"; -} -.ict-uep-topo-root:before { - content: "\e999"; -} -.ict-uep-topo-virtual20x20:before { - content: "\e99a"; -} -.ict-common_ncd_stop:before { - content: "\e99b"; -} -.ict-it-app-netnumen:before { - content: "\e99c"; -} -.ict-it-sdn-vnet:before { - content: "\e99d"; -} -.ict-it-storage-sanswitch-hp:before { - content: "\e99e"; -} -.ict-it-switch:before { - content: "\e99f"; -} -.ict-uep-moc-root:before { - content: "\e9a0"; -} -.ict-uep-topo-undefinedgroup20x20:before { - content: "\e9a1"; -} -.ict-analysis:before { - content: "\e9a2"; -} -.ict-bindingRelationship:before { - content: "\e9a3"; -} -.ict-browsePolicy:before { - content: "\e9a4"; -} -.ict-businessManagment:before { - content: "\e9a5"; -} -.ict-cardData:before { - content: "\e9a6"; -} -.ict-dailyManagment:before { - content: "\e9a7"; -} -.ict-enterpriseCustomer:before { - content: "\e9a8"; -} -.ict-equipmentBlacklist:before { - content: "\e9a9"; -} -.ict-equipmentModel:before { - content: "\e9aa"; -} -.ict-examine:before { - content: "\e9ab"; -} -.ict-failureList:before { - content: "\e9ac"; -} -.ict-familyCustomer:before { - content: "\e9ad"; -} -.ict-fileTool:before { - content: "\e9ae"; -} -.ict-groupManagment:before { - content: "\e9af"; -} -.ict-notice:before { - content: "\e9b0"; -} -.ict-policy:before { - content: "\e9b1"; -} -.ict-portal:before { - content: "\e9b2"; -} -.ict-recordQuery:before { - content: "\e9b3"; -} -.ict-resourceManagment:before { - content: "\e9b4"; -} -.ict-ruleManagment:before { - content: "\e9b5"; -} -.ict-sucessRate:before { - content: "\e9b6"; -} -.ict-terminalManagment:before { - content: "\e9b7"; -} -.ict-tools:before { - content: "\e9b8"; -} -.ict-track:before { - content: "\e9b9"; -} -.ict-userManagment:before { - content: "\e9ba"; -} -.ict-versionManagment:before { - content: "\e9bb"; -} -.ict-workOrder:before { - content: "\e9bc"; -} -.ict-cpu:before { - content: "\e9bd"; -} -.ict-memory:before { - content: "\e9be"; -} -.ict-currentAlarm:before { - content: "\e9bf"; -} -.ict-noticeAlarm:before { - content: "\e9c0"; -} -.ict-historyAlarm:before { - content: "\e9c1"; -} -.ict-close:before { - content: "\e9c2"; -} -.ict-table:before { - content: "\e9c3"; -} -.ict-next:before { - content: "\e9c4"; -} -.ict-pre:before { - content: "\e9c5"; -} -.ict-roleset:before { - content: "\e9c6"; -} -.ict-role:before { - content: "\e9c7"; -} -.ict-user:before { - content: "\e9c8"; -} -.ict-empty:before { - content: "\e9c9"; -} -.ict-noticeFilter:before { - content: "\e9ca"; -} -.ict-alarmTurn:before { - content: "\e9cb"; -} -.ict-advice:before { - content: "\e9cc"; -} -.ict-clearAlarm:before { - content: "\e9cd"; -} -.ict-alarmBox:before { - content: "\e9ce"; -} -.ict-afreshDef:before { - content: "\e9cf"; -} -.ict-alarmFilter:before { - content: "\e9d0"; -} -.ict-manAnalysis:before { - content: "\e9d1"; -} -.ict-drill:before { - content: "\e9d2"; -} -.ict-gear:before { - content: "\e9d3"; -} -.ict-process:before { - content: "\e9d4"; -} -.ict-unacknownledge:before { - content: "\e9d5"; -} -.ict-acknownledge:before { - content: "\e9d6"; -} -.ict-Operation:before { - content: "\e9d7"; -} -.ict-cloud:before { - content: "\e9d8"; -} -.ict-computer:before { - content: "\e9d9"; -} -.ict-alarm:before { - content: "\e9da"; -} -.ict-import:before { - content: "\e9db"; -} -.ict-export:before { - content: "\e9dc"; -} -.ict-Admin:before { - content: "\e9dd"; -} -.ict-allSelected:before { - content: "\e9de"; -} -.ict-angleRight:before { - content: "\e9df"; -} -.ict-arrowLeft:before { - content: "\e9e0"; -} -.ict-arrowLeftAll:before { - content: "\e9e1"; -} -.ict-arrowRight:before { - content: "\e9e2"; -} -.ict-arrowRightAll:before { - content: "\e9e3"; -} -.ict-autoFind:before { - content: "\e9e4"; -} -.ict-back:before { - content: "\e9e5"; -} -.ict-ball:before { - content: "\e9e6"; -} -.ict-bell:before { - content: "\e9e7"; -} -.ict-blackList:before { - content: "\e9e8"; -} -.ict-breakLink:before { - content: "\e9e9"; -} -.ict-cancle:before { - content: "\e9ea"; -} -.ict-circle:before { - content: "\e9eb"; -} -.ict-closeTree:before { - content: "\e9ec"; -} -.ict-configmap:before { - content: "\e9ed"; -} -.ict-delete:before { - content: "\e9ee"; -} -.ict-department:before { - content: "\e9ef"; -} -.ict-detail:before { - content: "\e9f0"; -} -.ict-displaySwitch:before { - content: "\e9f1"; -} -.ict-file:before { - content: "\e9f2"; -} -.ict-filter:before { - content: "\e9f3"; -} -.ict-find:before { - content: "\e9f4"; -} -.ict-folder:before { - content: "\e9f5"; -} -.ict-forceOut:before { - content: "\e9f6"; -} -.ict-fullScreen:before { - content: "\e9f7"; -} -.ict-Graphical:before { - content: "\e9f8"; -} -.ict-helpTip:before { - content: "\e9f9"; -} -.ict-hide:before { - content: "\e9fa"; -} -.ict-history:before { - content: "\e9fb"; -} -.ict-launchingTower:before { - content: "\e9fc"; -} -.ict-layout:before { - content: "\e9fd"; -} -.ict-legendhide:before { - content: "\e9fe"; -} -.ict-legendshow:before { - content: "\e9ff"; -} -.ict-link:before { - content: "\ea00"; -} -.ict-lock:before { - content: "\ea01"; -} -.ict-ltArrow:before { - content: "\ea02"; -} -.ict-Magnifier:before { - content: "\ea03"; -} -.ict-Maintain:before { - content: "\ea04"; -} -.ict-maximize:before { - content: "\ea05"; -} -.ict-modify:before { - content: "\ea06"; -} -.ict-Monitor:before { - content: "\ea07"; -} -.ict-move:before { - content: "\ea08"; -} -.ict-new:before { - content: "\ea09"; -} -.ict-newShortcut:before { - content: "\ea0a"; -} -.ict-openTree:before { - content: "\ea0b"; -} -.ict-poNode:before { - content: "\ea0c"; -} -.ict-print:before { - content: "\ea0d"; -} -.ict-product:before { - content: "\ea0e"; -} -.ict-rbArrow:before { - content: "\ea0f"; -} -.ict-reduction:before { - content: "\ea10"; -} -.ict-refresh:before { - content: "\ea11"; -} -.ict-rename:before { - content: "\ea12"; -} -.ict-save:before { - content: "\ea13"; -} -.ict-select:before { - content: "\ea14"; -} -.ict-selectAll:before { - content: "\ea15"; -} -.ict-selectLeft:before { - content: "\ea16"; -} -.ict-selectRight:before { - content: "\ea17"; -} -.ict-show:before { - content: "\ea18"; -} -.ict-shrink:before { - content: "\ea19"; -} -.ict-start:before { - content: "\ea1a"; -} -.ict-stop:before { - content: "\ea1b"; -} -.ict-stretch:before { - content: "\ea1c"; -} -.ict-strikeOut:before { - content: "\ea1d"; -} -.ict-Synchronous:before { - content: "\ea1e"; -} -.ict-toRight:before { - content: "\ea1f"; -} -.ict-treefile:before { - content: "\ea20"; -} -.ict-treeFolder:before { - content: "\ea21"; -} -.ict-unlock:before { - content: "\ea22"; -} -.ict-userCompare:before { - content: "\ea23"; -} -.ict-userDispatch:before { - content: "\ea24"; -} -.ict-xml:before { - content: "\ea25"; -} -.ict-zoomIn:before { - content: "\ea26"; -} -.ict-zoomOut:before { - content: "\ea27"; -} -.ict-zoomOverView:before { - content: "\ea28"; -} -.ict-zoomReset:before { - content: "\ea29"; -} - +@font-face { + font-family: 'ZteIctIcons'; + src: url('fonts/ZteIctIcons.eot?whxm2m'); + src: url('fonts/ZteIctIcons.eot?whxm2m#iefix') format('embedded-opentype'), + url('fonts/ZteIctIcons.ttf?whxm2m') format('truetype'), + url('fonts/ZteIctIcons.woff?whxm2m') format('woff'), + url('fonts/ZteIctIcons.svg?whxm2m#ZteIctIcons') format('svg'); + font-weight: normal; + font-style: normal; +} + +[class^="ict-"], [class*=" ict-"] { + /* use !important to prevent issues with browser extensions that change fonts */ + font-family: 'ZteIctIcons' !important; + speak: none; + font-style: normal; + font-weight: normal; + font-variant: normal; + text-transform: none; + line-height: 1; + + /* Better Font Rendering =========== */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.ict-it-other-lenovo:before { + content: "\e900"; +} +.ict-it-router-alu7750:before { + content: "\e901"; +} +.ict-it-other-nds:before { + content: "\e902"; +} +.ict-it-other-php:before { + content: "\e903"; +} +.ict-it-app-glassfish:before { + content: "\e904"; +} +.ict-it-other-telnet:before { + content: "\e905"; +} +.ict-it-other-dns:before { + content: "\e906"; +} +.ict-it-other-url:before { + content: "\e907"; +} +.ict-it-database-mysql:before { + content: "\e908"; +} +.ict-it-other-ping:before { + content: "\e909"; +} +.ict-it-other-ftp:before { + content: "\e90a"; +} +.ict-it-other-rest:before { + content: "\e90b"; +} +.ict-it-other-soap:before { + content: "\e90c"; +} +.ict-it-server-macos:before { + content: "\e90d"; +} +.ict-it-server-openbsd:before { + content: "\e90e"; +} +.ict-it-server-debian:before { + content: "\e90f"; +} +.ict-it-app-iis:before { + content: "\e910"; +} +.ict-it-app-mailserver:before { + content: "\e911"; +} +.ict-it-app-websphere:before { + content: "\e912"; +} +.ict-it-app-apache:before { + content: "\e913"; +} +.ict-it-app-jboss:before { + content: "\e914"; +} +.ict-it-other-a10bala:before { + content: "\e915"; +} +.ict-NFV:before { + content: "\e916"; +} +.ict-VNFM:before { + content: "\e917"; +} +.ict-VNF:before { + content: "\e918"; +} +.ict-VNFC:before { + content: "\e919"; +} +.ict-VIM:before { + content: "\e91a"; +} +.ict-VDU:before { + content: "\e91b"; +} +.ict-host:before { + content: "\e91c"; +} +.ict-NS:before { + content: "\e91d"; +} +.ict-it-cluster-vcs:before { + content: "\e91e"; +} +.ict-it-diskraid-hpeva:before { + content: "\e91f"; +} +.ict-it-diskraid-zte:before { + content: "\e920"; +} +.ict-it-firewall-h3c:before { + content: "\e921"; +} +.ict-it-other-ibm-blade:before { + content: "\e922"; +} +.ict-it-other-secfox:before { + content: "\e923"; +} +.ict-it-other-segw:before { + content: "\e924"; +} +.ict-it-other-zteatca:before { + content: "\e925"; +} +.ict-it-other-zteips:before { + content: "\e926"; +} +.ict-it-sdn-controller:before { + content: "\e927"; +} +.ict-it-server-hpux:before { + content: "\e928"; +} +.ict-it-storage-ops:before { + content: "\e929"; +} +.ict-it-storage-sanswitch-brocade:before { + content: "\e92a"; +} +.ict-uep-moc-uca-public:before { + content: "\e92b"; +} +.ict-uep-topo-commongroup20x20:before { + content: "\e92c"; +} +.ict-vapel_chgpile:before { + content: "\e92d"; +} +.ict-car:before { + content: "\e92e"; +} +.ict-chgpile:before { + content: "\e92f"; +} +.ict-chgposition:before { + content: "\e930"; +} +.ict-chgstation:before { + content: "\e931"; +} +.ict-common_dc:before { + content: "\e932"; +} +.ict-common_ncd:before { + content: "\e933"; +} +.ict-common_ncd_break:before { + content: "\e934"; +} +.ict-common_sc:before { + content: "\e935"; +} +.ict-it:before { + content: "\e936"; +} +.ict-it-app:before { + content: "\e937"; +} +.ict-it-app-bind:before { + content: "\e938"; +} +.ict-it-app-dns:before { + content: "\e939"; +} +.ict-it-app-ems:before { + content: "\e93a"; +} +.ict-it-app-mediator:before { + content: "\e93b"; +} +.ict-it-app-ntp:before { + content: "\e93c"; +} +.ict-it-app-ota:before { + content: "\e93d"; +} +.ict-it-app-tomcat:before { + content: "\e93e"; +} +.ict-it-app-trend:before { + content: "\e93f"; +} +.ict-it-app-tsm:before { + content: "\e940"; +} +.ict-it-app-weblogic:before { + content: "\e941"; +} +.ict-it-cluster:before { + content: "\e942"; +} +.ict-it-cluster-hacmp:before { + content: "\e943"; +} +.ict-it-cluster-nec:before { + content: "\e944"; +} +.ict-it-cluster-ns:before { + content: "\e945"; +} +.ict-it-cluster-sg:before { + content: "\e946"; +} +.ict-it-database:before { + content: "\e947"; +} +.ict-it-database-mssql:before { + content: "\e948"; +} +.ict-it-database-oracle:before { + content: "\e949"; +} +.ict-it-database-sybase:before { + content: "\e94a"; +} +.ict-it-database-sybaseiq:before { + content: "\e94b"; +} +.ict-it-diskraid-dellmd:before { + content: "\e94c"; +} +.ict-it-diskraid-emc:before { + content: "\e94d"; +} +.ict-it-diskraid-eternus:before { + content: "\e94e"; +} +.ict-it-diskraid-fujitsu:before { + content: "\e94f"; +} +.ict-it-diskraid-hds:before { + content: "\e950"; +} +.ict-it-diskraid-hpaio:before { + content: "\e951"; +} +.ict-it-diskraid-hpmsa:before { + content: "\e952"; +} +.ict-it-diskraid-ibm:before { + content: "\e953"; +} +.ict-it-diskraid-ibmsm:before { + content: "\e954"; +} +.ict-it-diskraid-macrosan:before { + content: "\e955"; +} +.ict-it-diskraid-netapp:before { + content: "\e956"; +} +.ict-it-diskraid-sun:before { + content: "\e957"; +} +.ict-it-firewall:before { + content: "\e958"; +} +.ict-it-firewall-checkpoint:before { + content: "\e959"; +} +.ict-it-firewall-cisco:before { + content: "\e95a"; +} +.ict-it-firewall-cisco2:before { + content: "\e95b"; +} +.ict-it-firewall-juniper:before { + content: "\e95c"; +} +.ict-it-firewall-neteye:before { + content: "\e95d"; +} +.ict-it-firewall-zte:before { + content: "\e95e"; +} +.ict-it-firewall-ztemf:before { + content: "\e95f"; +} +.ict-it-firewall-zteutm:before { + content: "\e960"; +} +.ict-it-gather:before { + content: "\e961"; +} +.ict-it-ibp:before { + content: "\e962"; +} +.ict-it-ibp-ibp2000:before { + content: "\e963"; +} +.ict-it-net:before { + content: "\e964"; +} +.ict-it-other:before { + content: "\e965"; +} +.ict-it-other-alteon:before { + content: "\e966"; +} +.ict-it-other-appdirector:before { + content: "\e967"; +} +.ict-it-other-atca-lb10:before { + content: "\e968"; +} +.ict-it-other-cisco-ucs:before { + content: "\e969"; +} +.ict-it-other-dcs:before { + content: "\e96a"; +} +.ict-it-other-delta:before { + content: "\e96b"; +} +.ict-it-other-dp:before { + content: "\e96c"; +} +.ict-it-other-e9000:before { + content: "\e96d"; +} +.ict-it-other-f5bigip:before { + content: "\e96e"; +} +.ict-it-other-f5bigip2:before { + content: "\e96f"; +} +.ict-it-other-gbe2c:before { + content: "\e970"; +} +.ict-it-other-h3c:before { + content: "\e971"; +} +.ict-it-other-hpblc:before { + content: "\e972"; +} +.ict-it-other-imm:before { + content: "\e973"; +} +.ict-it-other-secsis:before { + content: "\e974"; +} +.ict-it-other-vc:before { + content: "\e975"; +} +.ict-it-other-ztepower:before { + content: "\e976"; +} +.ict-it-other-ztesgs:before { + content: "\e977"; +} +.ict-it-other-zxsdr-nt:before { + content: "\e978"; +} +.ict-it-router:before { + content: "\e979"; +} +.ict-it-router-cisco:before { + content: "\e97a"; +} +.ict-it-router-juniper:before { + content: "\e97b"; +} +.ict-it-router-zte:before { + content: "\e97c"; +} +.ict-it-sdn-host:before { + content: "\e97d"; +} +.ict-it-sdn-switch:before { + content: "\e97e"; +} +.ict-it-server:before { + content: "\e97f"; +} +.ict-it-server-aix:before { + content: "\e980"; +} +.ict-it-server-klinux:before { + content: "\e981"; +} +.ict-it-server-redhat:before { + content: "\e982"; +} +.ict-it-server-solaris:before { + content: "\e983"; +} +.ict-it-server-suse:before { + content: "\e984"; +} +.ict-it-server-windows:before { + content: "\e985"; +} +.ict-it-server-zxve:before { + content: "\e986"; +} +.ict-it-storage:before { + content: "\e987"; +} +.ict-it-storage-cisco-mds:before { + content: "\e988"; +} +.ict-it-storage-md3000:before { + content: "\e989"; +} +.ict-it-storage-netvault:before { + content: "\e98a"; +} +.ict-it-storage-sanswitch-zte:before { + content: "\e98b"; +} +.ict-it-switch-at:before { + content: "\e98c"; +} +.ict-it-switch-cisco:before { + content: "\e98d"; +} +.ict-it-switch-h3c:before { + content: "\e98e"; +} +.ict-it-switch-juniper:before { + content: "\e98f"; +} +.ict-it-switch-zte:before { + content: "\e990"; +} +.ict-it-tapelib-hpmsl:before { + content: "\e991"; +} +.ict-it-tapelib-ibmts:before { + content: "\e992"; +} +.ict-it-tapelib-sunts:before { + content: "\e993"; +} +.ict-it-Virtualnetwork:before { + content: "\e994"; +} +.ict-networkTree:before { + content: "\e995"; +} +.ict-resourceType:before { + content: "\e996"; +} +.ict-tree-icon:before { + content: "\e997"; +} +.ict-uep-topo-group20x20:before { + content: "\e998"; +} +.ict-uep-topo-root:before { + content: "\e999"; +} +.ict-uep-topo-virtual20x20:before { + content: "\e99a"; +} +.ict-common_ncd_stop:before { + content: "\e99b"; +} +.ict-it-app-netnumen:before { + content: "\e99c"; +} +.ict-it-sdn-vnet:before { + content: "\e99d"; +} +.ict-it-storage-sanswitch-hp:before { + content: "\e99e"; +} +.ict-it-switch:before { + content: "\e99f"; +} +.ict-uep-moc-root:before { + content: "\e9a0"; +} +.ict-uep-topo-undefinedgroup20x20:before { + content: "\e9a1"; +} +.ict-analysis:before { + content: "\e9a2"; +} +.ict-bindingRelationship:before { + content: "\e9a3"; +} +.ict-browsePolicy:before { + content: "\e9a4"; +} +.ict-businessManagment:before { + content: "\e9a5"; +} +.ict-cardData:before { + content: "\e9a6"; +} +.ict-dailyManagment:before { + content: "\e9a7"; +} +.ict-enterpriseCustomer:before { + content: "\e9a8"; +} +.ict-equipmentBlacklist:before { + content: "\e9a9"; +} +.ict-equipmentModel:before { + content: "\e9aa"; +} +.ict-examine:before { + content: "\e9ab"; +} +.ict-failureList:before { + content: "\e9ac"; +} +.ict-familyCustomer:before { + content: "\e9ad"; +} +.ict-fileTool:before { + content: "\e9ae"; +} +.ict-groupManagment:before { + content: "\e9af"; +} +.ict-notice:before { + content: "\e9b0"; +} +.ict-policy:before { + content: "\e9b1"; +} +.ict-portal:before { + content: "\e9b2"; +} +.ict-recordQuery:before { + content: "\e9b3"; +} +.ict-resourceManagment:before { + content: "\e9b4"; +} +.ict-ruleManagment:before { + content: "\e9b5"; +} +.ict-sucessRate:before { + content: "\e9b6"; +} +.ict-terminalManagment:before { + content: "\e9b7"; +} +.ict-tools:before { + content: "\e9b8"; +} +.ict-track:before { + content: "\e9b9"; +} +.ict-userManagment:before { + content: "\e9ba"; +} +.ict-versionManagment:before { + content: "\e9bb"; +} +.ict-workOrder:before { + content: "\e9bc"; +} +.ict-cpu:before { + content: "\e9bd"; +} +.ict-memory:before { + content: "\e9be"; +} +.ict-currentAlarm:before { + content: "\e9bf"; +} +.ict-noticeAlarm:before { + content: "\e9c0"; +} +.ict-historyAlarm:before { + content: "\e9c1"; +} +.ict-close:before { + content: "\e9c2"; +} +.ict-table:before { + content: "\e9c3"; +} +.ict-next:before { + content: "\e9c4"; +} +.ict-pre:before { + content: "\e9c5"; +} +.ict-roleset:before { + content: "\e9c6"; +} +.ict-role:before { + content: "\e9c7"; +} +.ict-user:before { + content: "\e9c8"; +} +.ict-empty:before { + content: "\e9c9"; +} +.ict-noticeFilter:before { + content: "\e9ca"; +} +.ict-alarmTurn:before { + content: "\e9cb"; +} +.ict-advice:before { + content: "\e9cc"; +} +.ict-clearAlarm:before { + content: "\e9cd"; +} +.ict-alarmBox:before { + content: "\e9ce"; +} +.ict-afreshDef:before { + content: "\e9cf"; +} +.ict-alarmFilter:before { + content: "\e9d0"; +} +.ict-manAnalysis:before { + content: "\e9d1"; +} +.ict-drill:before { + content: "\e9d2"; +} +.ict-gear:before { + content: "\e9d3"; +} +.ict-process:before { + content: "\e9d4"; +} +.ict-unacknownledge:before { + content: "\e9d5"; +} +.ict-acknownledge:before { + content: "\e9d6"; +} +.ict-Operation:before { + content: "\e9d7"; +} +.ict-cloud:before { + content: "\e9d8"; +} +.ict-computer:before { + content: "\e9d9"; +} +.ict-alarm:before { + content: "\e9da"; +} +.ict-import:before { + content: "\e9db"; +} +.ict-export:before { + content: "\e9dc"; +} +.ict-Admin:before { + content: "\e9dd"; +} +.ict-allSelected:before { + content: "\e9de"; +} +.ict-angleRight:before { + content: "\e9df"; +} +.ict-arrowLeft:before { + content: "\e9e0"; +} +.ict-arrowLeftAll:before { + content: "\e9e1"; +} +.ict-arrowRight:before { + content: "\e9e2"; +} +.ict-arrowRightAll:before { + content: "\e9e3"; +} +.ict-autoFind:before { + content: "\e9e4"; +} +.ict-back:before { + content: "\e9e5"; +} +.ict-ball:before { + content: "\e9e6"; +} +.ict-bell:before { + content: "\e9e7"; +} +.ict-blackList:before { + content: "\e9e8"; +} +.ict-breakLink:before { + content: "\e9e9"; +} +.ict-cancle:before { + content: "\e9ea"; +} +.ict-circle:before { + content: "\e9eb"; +} +.ict-closeTree:before { + content: "\e9ec"; +} +.ict-configmap:before { + content: "\e9ed"; +} +.ict-delete:before { + content: "\e9ee"; +} +.ict-department:before { + content: "\e9ef"; +} +.ict-detail:before { + content: "\e9f0"; +} +.ict-displaySwitch:before { + content: "\e9f1"; +} +.ict-file:before { + content: "\e9f2"; +} +.ict-filter:before { + content: "\e9f3"; +} +.ict-find:before { + content: "\e9f4"; +} +.ict-folder:before { + content: "\e9f5"; +} +.ict-forceOut:before { + content: "\e9f6"; +} +.ict-fullScreen:before { + content: "\e9f7"; +} +.ict-Graphical:before { + content: "\e9f8"; +} +.ict-helpTip:before { + content: "\e9f9"; +} +.ict-hide:before { + content: "\e9fa"; +} +.ict-history:before { + content: "\e9fb"; +} +.ict-launchingTower:before { + content: "\e9fc"; +} +.ict-layout:before { + content: "\e9fd"; +} +.ict-legendhide:before { + content: "\e9fe"; +} +.ict-legendshow:before { + content: "\e9ff"; +} +.ict-link:before { + content: "\ea00"; +} +.ict-lock:before { + content: "\ea01"; +} +.ict-ltArrow:before { + content: "\ea02"; +} +.ict-Magnifier:before { + content: "\ea03"; +} +.ict-Maintain:before { + content: "\ea04"; +} +.ict-maximize:before { + content: "\ea05"; +} +.ict-modify:before { + content: "\ea06"; +} +.ict-Monitor:before { + content: "\ea07"; +} +.ict-move:before { + content: "\ea08"; +} +.ict-new:before { + content: "\ea09"; +} +.ict-newShortcut:before { + content: "\ea0a"; +} +.ict-openTree:before { + content: "\ea0b"; +} +.ict-poNode:before { + content: "\ea0c"; +} +.ict-print:before { + content: "\ea0d"; +} +.ict-product:before { + content: "\ea0e"; +} +.ict-rbArrow:before { + content: "\ea0f"; +} +.ict-reduction:before { + content: "\ea10"; +} +.ict-refresh:before { + content: "\ea11"; +} +.ict-rename:before { + content: "\ea12"; +} +.ict-save:before { + content: "\ea13"; +} +.ict-select:before { + content: "\ea14"; +} +.ict-selectAll:before { + content: "\ea15"; +} +.ict-selectLeft:before { + content: "\ea16"; +} +.ict-selectRight:before { + content: "\ea17"; +} +.ict-show:before { + content: "\ea18"; +} +.ict-shrink:before { + content: "\ea19"; +} +.ict-start:before { + content: "\ea1a"; +} +.ict-stop:before { + content: "\ea1b"; +} +.ict-stretch:before { + content: "\ea1c"; +} +.ict-strikeOut:before { + content: "\ea1d"; +} +.ict-Synchronous:before { + content: "\ea1e"; +} +.ict-toRight:before { + content: "\ea1f"; +} +.ict-treefile:before { + content: "\ea20"; +} +.ict-treeFolder:before { + content: "\ea21"; +} +.ict-unlock:before { + content: "\ea22"; +} +.ict-userCompare:before { + content: "\ea23"; +} +.ict-userDispatch:before { + content: "\ea24"; +} +.ict-xml:before { + content: "\ea25"; +} +.ict-zoomIn:before { + content: "\ea26"; +} +.ict-zoomOut:before { + content: "\ea27"; +} +.ict-zoomOverView:before { + content: "\ea28"; +} +.ict-zoomReset:before { + content: "\ea29"; +} + diff --git a/openo-portal/portal-common/src/main/webapp/common/css/animate.css b/openo-portal/portal-common/src/main/webapp/common/css/animate.css index a413752c..620cee60 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/animate.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/animate.css @@ -1,3278 +1,3278 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@charset "UTF-8"; -/* -Animate.css - http://daneden.me/animate -Licensed under the MIT license - -Copyright (c) 2013 Daniel Eden - -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. -*/ -body { /* Addresses a small issue in webkit: http://bit.ly/NEdoDq */ - -webkit-backface-visibility: hidden; -} -.animated { - -webkit-animation-duration: 1s; - -moz-animation-duration: 1s; - -o-animation-duration: 1s; - animation-duration: 1s; - -webkit-animation-fill-mode: both; - -moz-animation-fill-mode: both; - -o-animation-fill-mode: both; - animation-fill-mode: both; -} - -.animated.hinge { - -webkit-animation-duration: 2s; - -moz-animation-duration: 2s; - -o-animation-duration: 2s; - animation-duration: 2s; -} - -@-webkit-keyframes flash { - 0%, 50%, 100% {opacity: 1;} - 25%, 75% {opacity: 0;} -} - -@-moz-keyframes flash { - 0%, 50%, 100% {opacity: 1;} - 25%, 75% {opacity: 0;} -} - -@-o-keyframes flash { - 0%, 50%, 100% {opacity: 1;} - 25%, 75% {opacity: 0;} -} - -@keyframes flash { - 0%, 50%, 100% {opacity: 1;} - 25%, 75% {opacity: 0;} -} - -.flash { - -webkit-animation-name: flash; - -moz-animation-name: flash; - -o-animation-name: flash; - animation-name: flash; -} -@-webkit-keyframes shake { - 0%, 100% {-webkit-transform: translateX(0);} - 10%, 30%, 50%, 70%, 90% {-webkit-transform: translateX(-10px);} - 20%, 40%, 60%, 80% {-webkit-transform: translateX(10px);} -} - -@-moz-keyframes shake { - 0%, 100% {-moz-transform: translateX(0);} - 10%, 30%, 50%, 70%, 90% {-moz-transform: translateX(-10px);} - 20%, 40%, 60%, 80% {-moz-transform: translateX(10px);} -} - -@-o-keyframes shake { - 0%, 100% {-o-transform: translateX(0);} - 10%, 30%, 50%, 70%, 90% {-o-transform: translateX(-10px);} - 20%, 40%, 60%, 80% {-o-transform: translateX(10px);} -} - -@keyframes shake { - 0%, 100% {transform: translateX(0);} - 10%, 30%, 50%, 70%, 90% {transform: translateX(-10px);} - 20%, 40%, 60%, 80% {transform: translateX(10px);} -} - -.shake { - -webkit-animation-name: shake; - -moz-animation-name: shake; - -o-animation-name: shake; - animation-name: shake; -} -@-webkit-keyframes bounce { - 0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);} - 40% {-webkit-transform: translateY(-30px);} - 60% {-webkit-transform: translateY(-15px);} -} - -@-moz-keyframes bounce { - 0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);} - 40% {-moz-transform: translateY(-30px);} - 60% {-moz-transform: translateY(-15px);} -} - -@-o-keyframes bounce { - 0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);} - 40% {-o-transform: translateY(-30px);} - 60% {-o-transform: translateY(-15px);} -} -@keyframes bounce { - 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} - 40% {transform: translateY(-30px);} - 60% {transform: translateY(-15px);} -} - -.bounce { - -webkit-animation-name: bounce; - -moz-animation-name: bounce; - -o-animation-name: bounce; - animation-name: bounce; -} -@-webkit-keyframes tada { - 0% {-webkit-transform: scale(1);} - 10%, 20% {-webkit-transform: scale(0.9) rotate(-3deg);} - 30%, 50%, 70%, 90% {-webkit-transform: scale(1.1) rotate(3deg);} - 40%, 60%, 80% {-webkit-transform: scale(1.1) rotate(-3deg);} - 100% {-webkit-transform: scale(1) rotate(0);} -} - -@-moz-keyframes tada { - 0% {-moz-transform: scale(1);} - 10%, 20% {-moz-transform: scale(0.9) rotate(-3deg);} - 30%, 50%, 70%, 90% {-moz-transform: scale(1.1) rotate(3deg);} - 40%, 60%, 80% {-moz-transform: scale(1.1) rotate(-3deg);} - 100% {-moz-transform: scale(1) rotate(0);} -} - -@-o-keyframes tada { - 0% {-o-transform: scale(1);} - 10%, 20% {-o-transform: scale(0.9) rotate(-3deg);} - 30%, 50%, 70%, 90% {-o-transform: scale(1.1) rotate(3deg);} - 40%, 60%, 80% {-o-transform: scale(1.1) rotate(-3deg);} - 100% {-o-transform: scale(1) rotate(0);} -} - -@keyframes tada { - 0% {transform: scale(1);} - 10%, 20% {transform: scale(0.9) rotate(-3deg);} - 30%, 50%, 70%, 90% {transform: scale(1.1) rotate(3deg);} - 40%, 60%, 80% {transform: scale(1.1) rotate(-3deg);} - 100% {transform: scale(1) rotate(0);} -} - -.tada { - -webkit-animation-name: tada; - -moz-animation-name: tada; - -o-animation-name: tada; - animation-name: tada; -} -@-webkit-keyframes swing { - 20%, 40%, 60%, 80%, 100% { -webkit-transform-origin: top center; } - 20% { -webkit-transform: rotate(15deg); } - 40% { -webkit-transform: rotate(-10deg); } - 60% { -webkit-transform: rotate(5deg); } - 80% { -webkit-transform: rotate(-5deg); } - 100% { -webkit-transform: rotate(0deg); } -} - -@-moz-keyframes swing { - 20% { -moz-transform: rotate(15deg); } - 40% { -moz-transform: rotate(-10deg); } - 60% { -moz-transform: rotate(5deg); } - 80% { -moz-transform: rotate(-5deg); } - 100% { -moz-transform: rotate(0deg); } -} - -@-o-keyframes swing { - 20% { -o-transform: rotate(15deg); } - 40% { -o-transform: rotate(-10deg); } - 60% { -o-transform: rotate(5deg); } - 80% { -o-transform: rotate(-5deg); } - 100% { -o-transform: rotate(0deg); } -} - -@keyframes swing { - 20% { transform: rotate(15deg); } - 40% { transform: rotate(-10deg); } - 60% { transform: rotate(5deg); } - 80% { transform: rotate(-5deg); } - 100% { transform: rotate(0deg); } -} - -.swing { - -webkit-transform-origin: top center; - -moz-transform-origin: top center; - -o-transform-origin: top center; - transform-origin: top center; - -webkit-animation-name: swing; - -moz-animation-name: swing; - -o-animation-name: swing; - animation-name: swing; -} -/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ - -@-webkit-keyframes wobble { - 0% { -webkit-transform: translateX(0%); } - 15% { -webkit-transform: translateX(-25%) rotate(-5deg); } - 30% { -webkit-transform: translateX(20%) rotate(3deg); } - 45% { -webkit-transform: translateX(-15%) rotate(-3deg); } - 60% { -webkit-transform: translateX(10%) rotate(2deg); } - 75% { -webkit-transform: translateX(-5%) rotate(-1deg); } - 100% { -webkit-transform: translateX(0%); } -} - -@-moz-keyframes wobble { - 0% { -moz-transform: translateX(0%); } - 15% { -moz-transform: translateX(-25%) rotate(-5deg); } - 30% { -moz-transform: translateX(20%) rotate(3deg); } - 45% { -moz-transform: translateX(-15%) rotate(-3deg); } - 60% { -moz-transform: translateX(10%) rotate(2deg); } - 75% { -moz-transform: translateX(-5%) rotate(-1deg); } - 100% { -moz-transform: translateX(0%); } -} - -@-o-keyframes wobble { - 0% { -o-transform: translateX(0%); } - 15% { -o-transform: translateX(-25%) rotate(-5deg); } - 30% { -o-transform: translateX(20%) rotate(3deg); } - 45% { -o-transform: translateX(-15%) rotate(-3deg); } - 60% { -o-transform: translateX(10%) rotate(2deg); } - 75% { -o-transform: translateX(-5%) rotate(-1deg); } - 100% { -o-transform: translateX(0%); } -} - -@keyframes wobble { - 0% { transform: translateX(0%); } - 15% { transform: translateX(-25%) rotate(-5deg); } - 30% { transform: translateX(20%) rotate(3deg); } - 45% { transform: translateX(-15%) rotate(-3deg); } - 60% { transform: translateX(10%) rotate(2deg); } - 75% { transform: translateX(-5%) rotate(-1deg); } - 100% { transform: translateX(0%); } -} - -.wobble { - -webkit-animation-name: wobble; - -moz-animation-name: wobble; - -o-animation-name: wobble; - animation-name: wobble; -} -/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ - -@-webkit-keyframes pulse { - 0% { -webkit-transform: scale(1); } - 50% { -webkit-transform: scale(1.1); } - 100% { -webkit-transform: scale(1); } -} -@-moz-keyframes pulse { - 0% { -moz-transform: scale(1); } - 50% { -moz-transform: scale(1.1); } - 100% { -moz-transform: scale(1); } -} -@-o-keyframes pulse { - 0% { -o-transform: scale(1); } - 50% { -o-transform: scale(1.1); } - 100% { -o-transform: scale(1); } -} -@keyframes pulse { - 0% { transform: scale(1); } - 50% { transform: scale(1.1); } - 100% { transform: scale(1); } -} - -.pulse { - -webkit-animation-name: pulse; - -moz-animation-name: pulse; - -o-animation-name: pulse; - animation-name: pulse; -} -@-webkit-keyframes flip { - 0% { - -webkit-transform: perspective(400px) rotateY(0); - -webkit-animation-timing-function: ease-out; - } - 40% { - -webkit-transform: perspective(400px) translateZ(150px) rotateY(170deg); - -webkit-animation-timing-function: ease-out; - } - 50% { - -webkit-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); - -webkit-animation-timing-function: ease-in; - } - 80% { - -webkit-transform: perspective(400px) rotateY(360deg) scale(.95); - -webkit-animation-timing-function: ease-in; - } - 100% { - -webkit-transform: perspective(400px) scale(1); - -webkit-animation-timing-function: ease-in; - } -} -@-moz-keyframes flip { - 0% { - -moz-transform: perspective(400px) rotateY(0); - -moz-animation-timing-function: ease-out; - } - 40% { - -moz-transform: perspective(400px) translateZ(150px) rotateY(170deg); - -moz-animation-timing-function: ease-out; - } - 50% { - -moz-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); - -moz-animation-timing-function: ease-in; - } - 80% { - -moz-transform: perspective(400px) rotateY(360deg) scale(.95); - -moz-animation-timing-function: ease-in; - } - 100% { - -moz-transform: perspective(400px) scale(1); - -moz-animation-timing-function: ease-in; - } -} -@-o-keyframes flip { - 0% { - -o-transform: perspective(400px) rotateY(0); - -o-animation-timing-function: ease-out; - } - 40% { - -o-transform: perspective(400px) translateZ(150px) rotateY(170deg); - -o-animation-timing-function: ease-out; - } - 50% { - -o-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); - -o-animation-timing-function: ease-in; - } - 80% { - -o-transform: perspective(400px) rotateY(360deg) scale(.95); - -o-animation-timing-function: ease-in; - } - 100% { - -o-transform: perspective(400px) scale(1); - -o-animation-timing-function: ease-in; - } -} -@keyframes flip { - 0% { - transform: perspective(400px) rotateY(0); - animation-timing-function: ease-out; - } - 40% { - transform: perspective(400px) translateZ(150px) rotateY(170deg); - animation-timing-function: ease-out; - } - 50% { - transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); - animation-timing-function: ease-in; - } - 80% { - transform: perspective(400px) rotateY(360deg) scale(.95); - animation-timing-function: ease-in; - } - 100% { - transform: perspective(400px) scale(1); - animation-timing-function: ease-in; - } -} - -.flip { - -webkit-backface-visibility: visible !important; - -webkit-animation-name: flip; - -moz-backface-visibility: visible !important; - -moz-animation-name: flip; - -o-backface-visibility: visible !important; - -o-animation-name: flip; - backface-visibility: visible !important; - animation-name: flip; -} -@-webkit-keyframes flipInX { - 0% { - -webkit-transform: perspective(400px) rotateX(90deg); - opacity: 0; - } - - 40% { - -webkit-transform: perspective(400px) rotateX(-10deg); - } - - 70% { - -webkit-transform: perspective(400px) rotateX(10deg); - } - - 100% { - -webkit-transform: perspective(400px) rotateX(0deg); - opacity: 1; - } -} -@-moz-keyframes flipInX { - 0% { - -moz-transform: perspective(400px) rotateX(90deg); - opacity: 0; - } - - 40% { - -moz-transform: perspective(400px) rotateX(-10deg); - } - - 70% { - -moz-transform: perspective(400px) rotateX(10deg); - } - - 100% { - -moz-transform: perspective(400px) rotateX(0deg); - opacity: 1; - } -} -@-o-keyframes flipInX { - 0% { - -o-transform: perspective(400px) rotateX(90deg); - opacity: 0; - } - - 40% { - -o-transform: perspective(400px) rotateX(-10deg); - } - - 70% { - -o-transform: perspective(400px) rotateX(10deg); - } - - 100% { - -o-transform: perspective(400px) rotateX(0deg); - opacity: 1; - } -} -@keyframes flipInX { - 0% { - transform: perspective(400px) rotateX(90deg); - opacity: 0; - } - - 40% { - transform: perspective(400px) rotateX(-10deg); - } - - 70% { - transform: perspective(400px) rotateX(10deg); - } - - 100% { - transform: perspective(400px) rotateX(0deg); - opacity: 1; - } -} - -.flipInX { - -webkit-backface-visibility: visible !important; - -webkit-animation-name: flipInX; - -moz-backface-visibility: visible !important; - -moz-animation-name: flipInX; - -o-backface-visibility: visible !important; - -o-animation-name: flipInX; - backface-visibility: visible !important; - animation-name: flipInX; -} -@-webkit-keyframes flipOutX { - 0% { - -webkit-transform: perspective(400px) rotateX(0deg); - opacity: 1; - } - 100% { - -webkit-transform: perspective(400px) rotateX(90deg); - opacity: 0; - } -} - -@-moz-keyframes flipOutX { - 0% { - -moz-transform: perspective(400px) rotateX(0deg); - opacity: 1; - } - 100% { - -moz-transform: perspective(400px) rotateX(90deg); - opacity: 0; - } -} - -@-o-keyframes flipOutX { - 0% { - -o-transform: perspective(400px) rotateX(0deg); - opacity: 1; - } - 100% { - -o-transform: perspective(400px) rotateX(90deg); - opacity: 0; - } -} - -@keyframes flipOutX { - 0% { - transform: perspective(400px) rotateX(0deg); - opacity: 1; - } - 100% { - transform: perspective(400px) rotateX(90deg); - opacity: 0; - } -} - -.flipOutX { - -webkit-animation-name: flipOutX; - -webkit-backface-visibility: visible !important; - -moz-animation-name: flipOutX; - -moz-backface-visibility: visible !important; - -o-animation-name: flipOutX; - -o-backface-visibility: visible !important; - animation-name: flipOutX; - backface-visibility: visible !important; -} -@-webkit-keyframes flipInY { - 0% { - -webkit-transform: perspective(400px) rotateY(90deg); - opacity: 0; - } - - 40% { - -webkit-transform: perspective(400px) rotateY(-10deg); - } - - 70% { - -webkit-transform: perspective(400px) rotateY(10deg); - } - - 100% { - -webkit-transform: perspective(400px) rotateY(0deg); - opacity: 1; - } -} -@-moz-keyframes flipInY { - 0% { - -moz-transform: perspective(400px) rotateY(90deg); - opacity: 0; - } - - 40% { - -moz-transform: perspective(400px) rotateY(-10deg); - } - - 70% { - -moz-transform: perspective(400px) rotateY(10deg); - } - - 100% { - -moz-transform: perspective(400px) rotateY(0deg); - opacity: 1; - } -} -@-o-keyframes flipInY { - 0% { - -o-transform: perspective(400px) rotateY(90deg); - opacity: 0; - } - - 40% { - -o-transform: perspective(400px) rotateY(-10deg); - } - - 70% { - -o-transform: perspective(400px) rotateY(10deg); - } - - 100% { - -o-transform: perspective(400px) rotateY(0deg); - opacity: 1; - } -} -@keyframes flipInY { - 0% { - transform: perspective(400px) rotateY(90deg); - opacity: 0; - } - - 40% { - transform: perspective(400px) rotateY(-10deg); - } - - 70% { - transform: perspective(400px) rotateY(10deg); - } - - 100% { - transform: perspective(400px) rotateY(0deg); - opacity: 1; - } -} - -.flipInY { - -webkit-backface-visibility: visible !important; - -webkit-animation-name: flipInY; - -moz-backface-visibility: visible !important; - -moz-animation-name: flipInY; - -o-backface-visibility: visible !important; - -o-animation-name: flipInY; - backface-visibility: visible !important; - animation-name: flipInY; -} -@-webkit-keyframes flipOutY { - 0% { - -webkit-transform: perspective(400px) rotateY(0deg); - opacity: 1; - } - 100% { - -webkit-transform: perspective(400px) rotateY(90deg); - opacity: 0; - } -} -@-moz-keyframes flipOutY { - 0% { - -moz-transform: perspective(400px) rotateY(0deg); - opacity: 1; - } - 100% { - -moz-transform: perspective(400px) rotateY(90deg); - opacity: 0; - } -} -@-o-keyframes flipOutY { - 0% { - -o-transform: perspective(400px) rotateY(0deg); - opacity: 1; - } - 100% { - -o-transform: perspective(400px) rotateY(90deg); - opacity: 0; - } -} -@keyframes flipOutY { - 0% { - transform: perspective(400px) rotateY(0deg); - opacity: 1; - } - 100% { - transform: perspective(400px) rotateY(90deg); - opacity: 0; - } -} - -.flipOutY { - -webkit-backface-visibility: visible !important; - -webkit-animation-name: flipOutY; - -moz-backface-visibility: visible !important; - -moz-animation-name: flipOutY; - -o-backface-visibility: visible !important; - -o-animation-name: flipOutY; - backface-visibility: visible !important; - animation-name: flipOutY; -} -@-webkit-keyframes fadeIn { - 0% {opacity: 0;} - 100% {opacity: 1;} -} - -@-moz-keyframes fadeIn { - 0% {opacity: 0;} - 100% {opacity: 1;} -} - -@-o-keyframes fadeIn { - 0% {opacity: 0;} - 100% {opacity: 1;} -} - -@keyframes fadeIn { - 0% {opacity: 0;} - 100% {opacity: 1;} -} - -.fadeIn { - -webkit-animation-name: fadeIn; - -moz-animation-name: fadeIn; - -o-animation-name: fadeIn; - animation-name: fadeIn; -} -@-webkit-keyframes fadeInUp { - 0% { - opacity: 0; - -webkit-transform: translateY(20px); - } - - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} - -@-moz-keyframes fadeInUp { - 0% { - opacity: 0; - -moz-transform: translateY(20px); - } - - 100% { - opacity: 1; - -moz-transform: translateY(0); - } -} - -@-o-keyframes fadeInUp { - 0% { - opacity: 0; - -o-transform: translateY(20px); - } - - 100% { - opacity: 1; - -o-transform: translateY(0); - } -} - -@keyframes fadeInUp { - 0% { - opacity: 0; - transform: translateY(20px); - } - - 100% { - opacity: 1; - transform: translateY(0); - } -} - -.fadeInUp { - -webkit-animation-name: fadeInUp; - -moz-animation-name: fadeInUp; - -o-animation-name: fadeInUp; - animation-name: fadeInUp; -} -@-webkit-keyframes fadeInDown { - 0% { - opacity: 0; - -webkit-transform: translateY(-20px); - } - - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} - -@-moz-keyframes fadeInDown { - 0% { - opacity: 0; - -moz-transform: translateY(-20px); - } - - 100% { - opacity: 1; - -moz-transform: translateY(0); - } -} - -@-o-keyframes fadeInDown { - 0% { - opacity: 0; - -o-transform: translateY(-20px); - } - - 100% { - opacity: 1; - -o-transform: translateY(0); - } -} - -@keyframes fadeInDown { - 0% { - opacity: 0; - transform: translateY(-20px); - } - - 100% { - opacity: 1; - transform: translateY(0); - } -} - -.fadeInDown { - -webkit-animation-name: fadeInDown; - -moz-animation-name: fadeInDown; - -o-animation-name: fadeInDown; - animation-name: fadeInDown; -} -@-webkit-keyframes fadeInLeft { - 0% { - opacity: 0; - -webkit-transform: translateX(-20px); - } - - 100% { - opacity: 1; - -webkit-transform: translateX(0); - } -} - -@-moz-keyframes fadeInLeft { - 0% { - opacity: 0; - -moz-transform: translateX(-20px); - } - - 100% { - opacity: 1; - -moz-transform: translateX(0); - } -} - -@-o-keyframes fadeInLeft { - 0% { - opacity: 0; - -o-transform: translateX(-20px); - } - - 100% { - opacity: 1; - -o-transform: translateX(0); - } -} - -@keyframes fadeInLeft { - 0% { - opacity: 0; - transform: translateX(-20px); - } - - 100% { - opacity: 1; - transform: translateX(0); - } -} - -.fadeInLeft { - -webkit-animation-name: fadeInLeft; - -moz-animation-name: fadeInLeft; - -o-animation-name: fadeInLeft; - animation-name: fadeInLeft; -} -@-webkit-keyframes fadeInRight { - 0% { - opacity: 0; - -webkit-transform: translateX(20px); - } - - 100% { - opacity: 1; - -webkit-transform: translateX(0); - } -} - -@-moz-keyframes fadeInRight { - 0% { - opacity: 0; - -moz-transform: translateX(20px); - } - - 100% { - opacity: 1; - -moz-transform: translateX(0); - } -} - -@-o-keyframes fadeInRight { - 0% { - opacity: 0; - -o-transform: translateX(20px); - } - - 100% { - opacity: 1; - -o-transform: translateX(0); - } -} - -@keyframes fadeInRight { - 0% { - opacity: 0; - transform: translateX(20px); - } - - 100% { - opacity: 1; - transform: translateX(0); - } -} - -.fadeInRight { - -webkit-animation-name: fadeInRight; - -moz-animation-name: fadeInRight; - -o-animation-name: fadeInRight; - animation-name: fadeInRight; -} -@-webkit-keyframes fadeInUpBig { - 0% { - opacity: 0; - -webkit-transform: translateY(2000px); - } - - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} - -@-moz-keyframes fadeInUpBig { - 0% { - opacity: 0; - -moz-transform: translateY(2000px); - } - - 100% { - opacity: 1; - -moz-transform: translateY(0); - } -} - -@-o-keyframes fadeInUpBig { - 0% { - opacity: 0; - -o-transform: translateY(2000px); - } - - 100% { - opacity: 1; - -o-transform: translateY(0); - } -} - -@keyframes fadeInUpBig { - 0% { - opacity: 0; - transform: translateY(2000px); - } - - 100% { - opacity: 1; - transform: translateY(0); - } -} - -.fadeInUpBig { - -webkit-animation-name: fadeInUpBig; - -moz-animation-name: fadeInUpBig; - -o-animation-name: fadeInUpBig; - animation-name: fadeInUpBig; -} -@-webkit-keyframes fadeInDownBig { - 0% { - opacity: 0; - -webkit-transform: translateY(-2000px); - } - - 100% { - opacity: 1; - -webkit-transform: translateY(0); - } -} - -@-moz-keyframes fadeInDownBig { - 0% { - opacity: 0; - -moz-transform: translateY(-2000px); - } - - 100% { - opacity: 1; - -moz-transform: translateY(0); - } -} - -@-o-keyframes fadeInDownBig { - 0% { - opacity: 0; - -o-transform: translateY(-2000px); - } - - 100% { - opacity: 1; - -o-transform: translateY(0); - } -} - -@keyframes fadeInDownBig { - 0% { - opacity: 0; - transform: translateY(-2000px); - } - - 100% { - opacity: 1; - transform: translateY(0); - } -} - -.fadeInDownBig { - -webkit-animation-name: fadeInDownBig; - -moz-animation-name: fadeInDownBig; - -o-animation-name: fadeInDownBig; - animation-name: fadeInDownBig; -} -@-webkit-keyframes fadeInLeftBig { - 0% { - opacity: 0; - -webkit-transform: translateX(-2000px); - } - - 100% { - opacity: 1; - -webkit-transform: translateX(0); - } -} -@-moz-keyframes fadeInLeftBig { - 0% { - opacity: 0; - -moz-transform: translateX(-2000px); - } - - 100% { - opacity: 1; - -moz-transform: translateX(0); - } -} -@-o-keyframes fadeInLeftBig { - 0% { - opacity: 0; - -o-transform: translateX(-2000px); - } - - 100% { - opacity: 1; - -o-transform: translateX(0); - } -} -@keyframes fadeInLeftBig { - 0% { - opacity: 0; - transform: translateX(-2000px); - } - - 100% { - opacity: 1; - transform: translateX(0); - } -} - -.fadeInLeftBig { - -webkit-animation-name: fadeInLeftBig; - -moz-animation-name: fadeInLeftBig; - -o-animation-name: fadeInLeftBig; - animation-name: fadeInLeftBig; -} -@-webkit-keyframes fadeInRightBig { - 0% { - opacity: 0; - -webkit-transform: translateX(2000px); - } - - 100% { - opacity: 1; - -webkit-transform: translateX(0); - } -} - -@-moz-keyframes fadeInRightBig { - 0% { - opacity: 0; - -moz-transform: translateX(2000px); - } - - 100% { - opacity: 1; - -moz-transform: translateX(0); - } -} - -@-o-keyframes fadeInRightBig { - 0% { - opacity: 0; - -o-transform: translateX(2000px); - } - - 100% { - opacity: 1; - -o-transform: translateX(0); - } -} - -@keyframes fadeInRightBig { - 0% { - opacity: 0; - transform: translateX(2000px); - } - - 100% { - opacity: 1; - transform: translateX(0); - } -} - -.fadeInRightBig { - -webkit-animation-name: fadeInRightBig; - -moz-animation-name: fadeInRightBig; - -o-animation-name: fadeInRightBig; - animation-name: fadeInRightBig; -} -@-webkit-keyframes fadeOut { - 0% {opacity: 1;} - 100% {opacity: 0;} -} - -@-moz-keyframes fadeOut { - 0% {opacity: 1;} - 100% {opacity: 0;} -} - -@-o-keyframes fadeOut { - 0% {opacity: 1;} - 100% {opacity: 0;} -} - -@keyframes fadeOut { - 0% {opacity: 1;} - 100% {opacity: 0;} -} - -.fadeOut { - -webkit-animation-name: fadeOut; - -moz-animation-name: fadeOut; - -o-animation-name: fadeOut; - animation-name: fadeOut; -} -@-webkit-keyframes fadeOutUp { - 0% { - opacity: 1; - -webkit-transform: translateY(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(-20px); - } -} -@-moz-keyframes fadeOutUp { - 0% { - opacity: 1; - -moz-transform: translateY(0); - } - - 100% { - opacity: 0; - -moz-transform: translateY(-20px); - } -} -@-o-keyframes fadeOutUp { - 0% { - opacity: 1; - -o-transform: translateY(0); - } - - 100% { - opacity: 0; - -o-transform: translateY(-20px); - } -} -@keyframes fadeOutUp { - 0% { - opacity: 1; - transform: translateY(0); - } - - 100% { - opacity: 0; - transform: translateY(-20px); - } -} - -.fadeOutUp { - -webkit-animation-name: fadeOutUp; - -moz-animation-name: fadeOutUp; - -o-animation-name: fadeOutUp; - animation-name: fadeOutUp; -} -@-webkit-keyframes fadeOutDown { - 0% { - opacity: 1; - -webkit-transform: translateY(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(20px); - } -} - -@-moz-keyframes fadeOutDown { - 0% { - opacity: 1; - -moz-transform: translateY(0); - } - - 100% { - opacity: 0; - -moz-transform: translateY(20px); - } -} - -@-o-keyframes fadeOutDown { - 0% { - opacity: 1; - -o-transform: translateY(0); - } - - 100% { - opacity: 0; - -o-transform: translateY(20px); - } -} - -@keyframes fadeOutDown { - 0% { - opacity: 1; - transform: translateY(0); - } - - 100% { - opacity: 0; - transform: translateY(20px); - } -} - -.fadeOutDown { - -webkit-animation-name: fadeOutDown; - -moz-animation-name: fadeOutDown; - -o-animation-name: fadeOutDown; - animation-name: fadeOutDown; -} -@-webkit-keyframes fadeOutLeft { - 0% { - opacity: 1; - -webkit-transform: translateX(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(-20px); - } -} - -@-moz-keyframes fadeOutLeft { - 0% { - opacity: 1; - -moz-transform: translateX(0); - } - - 100% { - opacity: 0; - -moz-transform: translateX(-20px); - } -} - -@-o-keyframes fadeOutLeft { - 0% { - opacity: 1; - -o-transform: translateX(0); - } - - 100% { - opacity: 0; - -o-transform: translateX(-20px); - } -} - -@keyframes fadeOutLeft { - 0% { - opacity: 1; - transform: translateX(0); - } - - 100% { - opacity: 0; - transform: translateX(-20px); - } -} - -.fadeOutLeft { - -webkit-animation-name: fadeOutLeft; - -moz-animation-name: fadeOutLeft; - -o-animation-name: fadeOutLeft; - animation-name: fadeOutLeft; -} -@-webkit-keyframes fadeOutRight { - 0% { - opacity: 1; - -webkit-transform: translateX(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(20px); - } -} - -@-moz-keyframes fadeOutRight { - 0% { - opacity: 1; - -moz-transform: translateX(0); - } - - 100% { - opacity: 0; - -moz-transform: translateX(20px); - } -} - -@-o-keyframes fadeOutRight { - 0% { - opacity: 1; - -o-transform: translateX(0); - } - - 100% { - opacity: 0; - -o-transform: translateX(20px); - } -} - -@keyframes fadeOutRight { - 0% { - opacity: 1; - transform: translateX(0); - } - - 100% { - opacity: 0; - transform: translateX(20px); - } -} - -.fadeOutRight { - -webkit-animation-name: fadeOutRight; - -moz-animation-name: fadeOutRight; - -o-animation-name: fadeOutRight; - animation-name: fadeOutRight; -} -@-webkit-keyframes fadeOutUpBig { - 0% { - opacity: 1; - -webkit-transform: translateY(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(-2000px); - } -} - -@-moz-keyframes fadeOutUpBig { - 0% { - opacity: 1; - -moz-transform: translateY(0); - } - - 100% { - opacity: 0; - -moz-transform: translateY(-2000px); - } -} - -@-o-keyframes fadeOutUpBig { - 0% { - opacity: 1; - -o-transform: translateY(0); - } - - 100% { - opacity: 0; - -o-transform: translateY(-2000px); - } -} - -@keyframes fadeOutUpBig { - 0% { - opacity: 1; - transform: translateY(0); - } - - 100% { - opacity: 0; - transform: translateY(-2000px); - } -} - -.fadeOutUpBig { - -webkit-animation-name: fadeOutUpBig; - -moz-animation-name: fadeOutUpBig; - -o-animation-name: fadeOutUpBig; - animation-name: fadeOutUpBig; -} -@-webkit-keyframes fadeOutDownBig { - 0% { - opacity: 1; - -webkit-transform: translateY(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(2000px); - } -} - -@-moz-keyframes fadeOutDownBig { - 0% { - opacity: 1; - -moz-transform: translateY(0); - } - - 100% { - opacity: 0; - -moz-transform: translateY(2000px); - } -} - -@-o-keyframes fadeOutDownBig { - 0% { - opacity: 1; - -o-transform: translateY(0); - } - - 100% { - opacity: 0; - -o-transform: translateY(2000px); - } -} - -@keyframes fadeOutDownBig { - 0% { - opacity: 1; - transform: translateY(0); - } - - 100% { - opacity: 0; - transform: translateY(2000px); - } -} - -.fadeOutDownBig { - -webkit-animation-name: fadeOutDownBig; - -moz-animation-name: fadeOutDownBig; - -o-animation-name: fadeOutDownBig; - animation-name: fadeOutDownBig; -} -@-webkit-keyframes fadeOutLeftBig { - 0% { - opacity: 1; - -webkit-transform: translateX(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(-2000px); - } -} - -@-moz-keyframes fadeOutLeftBig { - 0% { - opacity: 1; - -moz-transform: translateX(0); - } - - 100% { - opacity: 0; - -moz-transform: translateX(-2000px); - } -} - -@-o-keyframes fadeOutLeftBig { - 0% { - opacity: 1; - -o-transform: translateX(0); - } - - 100% { - opacity: 0; - -o-transform: translateX(-2000px); - } -} - -@keyframes fadeOutLeftBig { - 0% { - opacity: 1; - transform: translateX(0); - } - - 100% { - opacity: 0; - transform: translateX(-2000px); - } -} - -.fadeOutLeftBig { - -webkit-animation-name: fadeOutLeftBig; - -moz-animation-name: fadeOutLeftBig; - -o-animation-name: fadeOutLeftBig; - animation-name: fadeOutLeftBig; -} -@-webkit-keyframes fadeOutRightBig { - 0% { - opacity: 1; - -webkit-transform: translateX(0); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(2000px); - } -} -@-moz-keyframes fadeOutRightBig { - 0% { - opacity: 1; - -moz-transform: translateX(0); - } - - 100% { - opacity: 0; - -moz-transform: translateX(2000px); - } -} -@-o-keyframes fadeOutRightBig { - 0% { - opacity: 1; - -o-transform: translateX(0); - } - - 100% { - opacity: 0; - -o-transform: translateX(2000px); - } -} -@keyframes fadeOutRightBig { - 0% { - opacity: 1; - transform: translateX(0); - } - - 100% { - opacity: 0; - transform: translateX(2000px); - } -} - -.fadeOutRightBig { - -webkit-animation-name: fadeOutRightBig; - -moz-animation-name: fadeOutRightBig; - -o-animation-name: fadeOutRightBig; - animation-name: fadeOutRightBig; -} -@-webkit-keyframes bounceIn { - 0% { - opacity: 0; - -webkit-transform: scale(.3); - } - - 50% { - opacity: 1; - -webkit-transform: scale(1.05); - } - - 70% { - -webkit-transform: scale(.9); - } - - 100% { - -webkit-transform: scale(1); - } -} - -@-moz-keyframes bounceIn { - 0% { - opacity: 0; - -moz-transform: scale(.3); - } - - 50% { - opacity: 1; - -moz-transform: scale(1.05); - } - - 70% { - -moz-transform: scale(.9); - } - - 100% { - -moz-transform: scale(1); - } -} - -@-o-keyframes bounceIn { - 0% { - opacity: 0; - -o-transform: scale(.3); - } - - 50% { - opacity: 1; - -o-transform: scale(1.05); - } - - 70% { - -o-transform: scale(.9); - } - - 100% { - -o-transform: scale(1); - } -} - -@keyframes bounceIn { - 0% { - opacity: 0; - transform: scale(.3); - } - - 50% { - opacity: 1; - transform: scale(1.05); - } - - 70% { - transform: scale(.9); - } - - 100% { - transform: scale(1); - } -} - -.bounceIn { - -webkit-animation-name: bounceIn; - -moz-animation-name: bounceIn; - -o-animation-name: bounceIn; - animation-name: bounceIn; -} -@-webkit-keyframes bounceInUp { - 0% { - opacity: 0; - -webkit-transform: translateY(2000px); - } - - 60% { - opacity: 1; - -webkit-transform: translateY(-30px); - } - - 80% { - -webkit-transform: translateY(10px); - } - - 100% { - -webkit-transform: translateY(0); - } -} -@-moz-keyframes bounceInUp { - 0% { - opacity: 0; - -moz-transform: translateY(2000px); - } - - 60% { - opacity: 1; - -moz-transform: translateY(-30px); - } - - 80% { - -moz-transform: translateY(10px); - } - - 100% { - -moz-transform: translateY(0); - } -} - -@-o-keyframes bounceInUp { - 0% { - opacity: 0; - -o-transform: translateY(2000px); - } - - 60% { - opacity: 1; - -o-transform: translateY(-30px); - } - - 80% { - -o-transform: translateY(10px); - } - - 100% { - -o-transform: translateY(0); - } -} - -@keyframes bounceInUp { - 0% { - opacity: 0; - transform: translateY(2000px); - } - - 60% { - opacity: 1; - transform: translateY(-30px); - } - - 80% { - transform: translateY(10px); - } - - 100% { - transform: translateY(0); - } -} - -.bounceInUp { - -webkit-animation-name: bounceInUp; - -moz-animation-name: bounceInUp; - -o-animation-name: bounceInUp; - animation-name: bounceInUp; -} -@-webkit-keyframes bounceInDown { - 0% { - opacity: 0; - -webkit-transform: translateY(-2000px); - } - - 60% { - opacity: 1; - -webkit-transform: translateY(30px); - } - - 80% { - -webkit-transform: translateY(-10px); - } - - 100% { - -webkit-transform: translateY(0); - } -} - -@-moz-keyframes bounceInDown { - 0% { - opacity: 0; - -moz-transform: translateY(-2000px); - } - - 60% { - opacity: 1; - -moz-transform: translateY(30px); - } - - 80% { - -moz-transform: translateY(-10px); - } - - 100% { - -moz-transform: translateY(0); - } -} - -@-o-keyframes bounceInDown { - 0% { - opacity: 0; - -o-transform: translateY(-2000px); - } - - 60% { - opacity: 1; - -o-transform: translateY(30px); - } - - 80% { - -o-transform: translateY(-10px); - } - - 100% { - -o-transform: translateY(0); - } -} - -@keyframes bounceInDown { - 0% { - opacity: 0; - transform: translateY(-2000px); - } - - 60% { - opacity: 1; - transform: translateY(30px); - } - - 80% { - transform: translateY(-10px); - } - - 100% { - transform: translateY(0); - } -} - -.bounceInDown { - -webkit-animation-name: bounceInDown; - -moz-animation-name: bounceInDown; - -o-animation-name: bounceInDown; - animation-name: bounceInDown; -} -@-webkit-keyframes bounceInLeft { - 0% { - opacity: 0; - -webkit-transform: translateX(-2000px); - } - - 60% { - opacity: 1; - -webkit-transform: translateX(30px); - } - - 80% { - -webkit-transform: translateX(-10px); - } - - 100% { - -webkit-transform: translateX(0); - } -} - -@-moz-keyframes bounceInLeft { - 0% { - opacity: 0; - -moz-transform: translateX(-2000px); - } - - 60% { - opacity: 1; - -moz-transform: translateX(30px); - } - - 80% { - -moz-transform: translateX(-10px); - } - - 100% { - -moz-transform: translateX(0); - } -} - -@-o-keyframes bounceInLeft { - 0% { - opacity: 0; - -o-transform: translateX(-2000px); - } - - 60% { - opacity: 1; - -o-transform: translateX(30px); - } - - 80% { - -o-transform: translateX(-10px); - } - - 100% { - -o-transform: translateX(0); - } -} - -@keyframes bounceInLeft { - 0% { - opacity: 0; - transform: translateX(-2000px); - } - - 60% { - opacity: 1; - transform: translateX(30px); - } - - 80% { - transform: translateX(-10px); - } - - 100% { - transform: translateX(0); - } -} - -.bounceInLeft { - -webkit-animation-name: bounceInLeft; - -moz-animation-name: bounceInLeft; - -o-animation-name: bounceInLeft; - animation-name: bounceInLeft; -} -@-webkit-keyframes bounceInRight { - 0% { - opacity: 0; - -webkit-transform: translateX(2000px); - } - - 60% { - opacity: 1; - -webkit-transform: translateX(-30px); - } - - 80% { - -webkit-transform: translateX(10px); - } - - 100% { - -webkit-transform: translateX(0); - } -} - -@-moz-keyframes bounceInRight { - 0% { - opacity: 0; - -moz-transform: translateX(2000px); - } - - 60% { - opacity: 1; - -moz-transform: translateX(-30px); - } - - 80% { - -moz-transform: translateX(10px); - } - - 100% { - -moz-transform: translateX(0); - } -} - -@-o-keyframes bounceInRight { - 0% { - opacity: 0; - -o-transform: translateX(2000px); - } - - 60% { - opacity: 1; - -o-transform: translateX(-30px); - } - - 80% { - -o-transform: translateX(10px); - } - - 100% { - -o-transform: translateX(0); - } -} - -@keyframes bounceInRight { - 0% { - opacity: 0; - transform: translateX(2000px); - } - - 60% { - opacity: 1; - transform: translateX(-30px); - } - - 80% { - transform: translateX(10px); - } - - 100% { - transform: translateX(0); - } -} - -.bounceInRight { - -webkit-animation-name: bounceInRight; - -moz-animation-name: bounceInRight; - -o-animation-name: bounceInRight; - animation-name: bounceInRight; -} -@-webkit-keyframes bounceOut { - 0% { - -webkit-transform: scale(1); - } - - 25% { - -webkit-transform: scale(.95); - } - - 50% { - opacity: 1; - -webkit-transform: scale(1.1); - } - - 100% { - opacity: 0; - -webkit-transform: scale(.3); - } -} - -@-moz-keyframes bounceOut { - 0% { - -moz-transform: scale(1); - } - - 25% { - -moz-transform: scale(.95); - } - - 50% { - opacity: 1; - -moz-transform: scale(1.1); - } - - 100% { - opacity: 0; - -moz-transform: scale(.3); - } -} - -@-o-keyframes bounceOut { - 0% { - -o-transform: scale(1); - } - - 25% { - -o-transform: scale(.95); - } - - 50% { - opacity: 1; - -o-transform: scale(1.1); - } - - 100% { - opacity: 0; - -o-transform: scale(.3); - } -} - -@keyframes bounceOut { - 0% { - transform: scale(1); - } - - 25% { - transform: scale(.95); - } - - 50% { - opacity: 1; - transform: scale(1.1); - } - - 100% { - opacity: 0; - transform: scale(.3); - } -} - -.bounceOut { - -webkit-animation-name: bounceOut; - -moz-animation-name: bounceOut; - -o-animation-name: bounceOut; - animation-name: bounceOut; -} -@-webkit-keyframes bounceOutUp { - 0% { - -webkit-transform: translateY(0); - } - - 20% { - opacity: 1; - -webkit-transform: translateY(20px); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(-2000px); - } -} - -@-moz-keyframes bounceOutUp { - 0% { - -moz-transform: translateY(0); - } - - 20% { - opacity: 1; - -moz-transform: translateY(20px); - } - - 100% { - opacity: 0; - -moz-transform: translateY(-2000px); - } -} - -@-o-keyframes bounceOutUp { - 0% { - -o-transform: translateY(0); - } - - 20% { - opacity: 1; - -o-transform: translateY(20px); - } - - 100% { - opacity: 0; - -o-transform: translateY(-2000px); - } -} - -@keyframes bounceOutUp { - 0% { - transform: translateY(0); - } - - 20% { - opacity: 1; - transform: translateY(20px); - } - - 100% { - opacity: 0; - transform: translateY(-2000px); - } -} - -.bounceOutUp { - -webkit-animation-name: bounceOutUp; - -moz-animation-name: bounceOutUp; - -o-animation-name: bounceOutUp; - animation-name: bounceOutUp; -} -@-webkit-keyframes bounceOutDown { - 0% { - -webkit-transform: translateY(0); - } - - 20% { - opacity: 1; - -webkit-transform: translateY(-20px); - } - - 100% { - opacity: 0; - -webkit-transform: translateY(2000px); - } -} - -@-moz-keyframes bounceOutDown { - 0% { - -moz-transform: translateY(0); - } - - 20% { - opacity: 1; - -moz-transform: translateY(-20px); - } - - 100% { - opacity: 0; - -moz-transform: translateY(2000px); - } -} - -@-o-keyframes bounceOutDown { - 0% { - -o-transform: translateY(0); - } - - 20% { - opacity: 1; - -o-transform: translateY(-20px); - } - - 100% { - opacity: 0; - -o-transform: translateY(2000px); - } -} - -@keyframes bounceOutDown { - 0% { - transform: translateY(0); - } - - 20% { - opacity: 1; - transform: translateY(-20px); - } - - 100% { - opacity: 0; - transform: translateY(2000px); - } -} - -.bounceOutDown { - -webkit-animation-name: bounceOutDown; - -moz-animation-name: bounceOutDown; - -o-animation-name: bounceOutDown; - animation-name: bounceOutDown; -} -@-webkit-keyframes bounceOutLeft { - 0% { - -webkit-transform: translateX(0); - } - - 20% { - opacity: 1; - -webkit-transform: translateX(20px); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(-2000px); - } -} - -@-moz-keyframes bounceOutLeft { - 0% { - -moz-transform: translateX(0); - } - - 20% { - opacity: 1; - -moz-transform: translateX(20px); - } - - 100% { - opacity: 0; - -moz-transform: translateX(-2000px); - } -} - -@-o-keyframes bounceOutLeft { - 0% { - -o-transform: translateX(0); - } - - 20% { - opacity: 1; - -o-transform: translateX(20px); - } - - 100% { - opacity: 0; - -o-transform: translateX(-2000px); - } -} - -@keyframes bounceOutLeft { - 0% { - transform: translateX(0); - } - - 20% { - opacity: 1; - transform: translateX(20px); - } - - 100% { - opacity: 0; - transform: translateX(-2000px); - } -} - -.bounceOutLeft { - -webkit-animation-name: bounceOutLeft; - -moz-animation-name: bounceOutLeft; - -o-animation-name: bounceOutLeft; - animation-name: bounceOutLeft; -} -@-webkit-keyframes bounceOutRight { - 0% { - -webkit-transform: translateX(0); - } - - 20% { - opacity: 1; - -webkit-transform: translateX(-20px); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(2000px); - } -} - -@-moz-keyframes bounceOutRight { - 0% { - -moz-transform: translateX(0); - } - - 20% { - opacity: 1; - -moz-transform: translateX(-20px); - } - - 100% { - opacity: 0; - -moz-transform: translateX(2000px); - } -} - -@-o-keyframes bounceOutRight { - 0% { - -o-transform: translateX(0); - } - - 20% { - opacity: 1; - -o-transform: translateX(-20px); - } - - 100% { - opacity: 0; - -o-transform: translateX(2000px); - } -} - -@keyframes bounceOutRight { - 0% { - transform: translateX(0); - } - - 20% { - opacity: 1; - transform: translateX(-20px); - } - - 100% { - opacity: 0; - transform: translateX(2000px); - } -} - -.bounceOutRight { - -webkit-animation-name: bounceOutRight; - -moz-animation-name: bounceOutRight; - -o-animation-name: bounceOutRight; - animation-name: bounceOutRight; -} -@-webkit-keyframes rotateIn { - 0% { - -webkit-transform-origin: center center; - -webkit-transform: rotate(-200deg); - opacity: 0; - } - - 100% { - -webkit-transform-origin: center center; - -webkit-transform: rotate(0); - opacity: 1; - } -} -@-moz-keyframes rotateIn { - 0% { - -moz-transform-origin: center center; - -moz-transform: rotate(-200deg); - opacity: 0; - } - - 100% { - -moz-transform-origin: center center; - -moz-transform: rotate(0); - opacity: 1; - } -} -@-o-keyframes rotateIn { - 0% { - -o-transform-origin: center center; - -o-transform: rotate(-200deg); - opacity: 0; - } - - 100% { - -o-transform-origin: center center; - -o-transform: rotate(0); - opacity: 1; - } -} -@keyframes rotateIn { - 0% { - transform-origin: center center; - transform: rotate(-200deg); - opacity: 0; - } - - 100% { - transform-origin: center center; - transform: rotate(0); - opacity: 1; - } -} - -.rotateIn { - -webkit-animation-name: rotateIn; - -moz-animation-name: rotateIn; - -o-animation-name: rotateIn; - animation-name: rotateIn; -} -@-webkit-keyframes rotateInUpLeft { - 0% { - -webkit-transform-origin: left bottom; - -webkit-transform: rotate(90deg); - opacity: 0; - } - - 100% { - -webkit-transform-origin: left bottom; - -webkit-transform: rotate(0); - opacity: 1; - } -} - -@-moz-keyframes rotateInUpLeft { - 0% { - -moz-transform-origin: left bottom; - -moz-transform: rotate(90deg); - opacity: 0; - } - - 100% { - -moz-transform-origin: left bottom; - -moz-transform: rotate(0); - opacity: 1; - } -} - -@-o-keyframes rotateInUpLeft { - 0% { - -o-transform-origin: left bottom; - -o-transform: rotate(90deg); - opacity: 0; - } - - 100% { - -o-transform-origin: left bottom; - -o-transform: rotate(0); - opacity: 1; - } -} - -@keyframes rotateInUpLeft { - 0% { - transform-origin: left bottom; - transform: rotate(90deg); - opacity: 0; - } - - 100% { - transform-origin: left bottom; - transform: rotate(0); - opacity: 1; - } -} - -.rotateInUpLeft { - -webkit-animation-name: rotateInUpLeft; - -moz-animation-name: rotateInUpLeft; - -o-animation-name: rotateInUpLeft; - animation-name: rotateInUpLeft; -} -@-webkit-keyframes rotateInDownLeft { - 0% { - -webkit-transform-origin: left bottom; - -webkit-transform: rotate(-90deg); - opacity: 0; - } - - 100% { - -webkit-transform-origin: left bottom; - -webkit-transform: rotate(0); - opacity: 1; - } -} - -@-moz-keyframes rotateInDownLeft { - 0% { - -moz-transform-origin: left bottom; - -moz-transform: rotate(-90deg); - opacity: 0; - } - - 100% { - -moz-transform-origin: left bottom; - -moz-transform: rotate(0); - opacity: 1; - } -} - -@-o-keyframes rotateInDownLeft { - 0% { - -o-transform-origin: left bottom; - -o-transform: rotate(-90deg); - opacity: 0; - } - - 100% { - -o-transform-origin: left bottom; - -o-transform: rotate(0); - opacity: 1; - } -} - -@keyframes rotateInDownLeft { - 0% { - transform-origin: left bottom; - transform: rotate(-90deg); - opacity: 0; - } - - 100% { - transform-origin: left bottom; - transform: rotate(0); - opacity: 1; - } -} - -.rotateInDownLeft { - -webkit-animation-name: rotateInDownLeft; - -moz-animation-name: rotateInDownLeft; - -o-animation-name: rotateInDownLeft; - animation-name: rotateInDownLeft; -} -@-webkit-keyframes rotateInUpRight { - 0% { - -webkit-transform-origin: right bottom; - -webkit-transform: rotate(-90deg); - opacity: 0; - } - - 100% { - -webkit-transform-origin: right bottom; - -webkit-transform: rotate(0); - opacity: 1; - } -} - -@-moz-keyframes rotateInUpRight { - 0% { - -moz-transform-origin: right bottom; - -moz-transform: rotate(-90deg); - opacity: 0; - } - - 100% { - -moz-transform-origin: right bottom; - -moz-transform: rotate(0); - opacity: 1; - } -} - -@-o-keyframes rotateInUpRight { - 0% { - -o-transform-origin: right bottom; - -o-transform: rotate(-90deg); - opacity: 0; - } - - 100% { - -o-transform-origin: right bottom; - -o-transform: rotate(0); - opacity: 1; - } -} - -@keyframes rotateInUpRight { - 0% { - transform-origin: right bottom; - transform: rotate(-90deg); - opacity: 0; - } - - 100% { - transform-origin: right bottom; - transform: rotate(0); - opacity: 1; - } -} - -.rotateInUpRight { - -webkit-animation-name: rotateInUpRight; - -moz-animation-name: rotateInUpRight; - -o-animation-name: rotateInUpRight; - animation-name: rotateInUpRight; -} -@-webkit-keyframes rotateInDownRight { - 0% { - -webkit-transform-origin: right bottom; - -webkit-transform: rotate(90deg); - opacity: 0; - } - - 100% { - -webkit-transform-origin: right bottom; - -webkit-transform: rotate(0); - opacity: 1; - } -} - -@-moz-keyframes rotateInDownRight { - 0% { - -moz-transform-origin: right bottom; - -moz-transform: rotate(90deg); - opacity: 0; - } - - 100% { - -moz-transform-origin: right bottom; - -moz-transform: rotate(0); - opacity: 1; - } -} - -@-o-keyframes rotateInDownRight { - 0% { - -o-transform-origin: right bottom; - -o-transform: rotate(90deg); - opacity: 0; - } - - 100% { - -o-transform-origin: right bottom; - -o-transform: rotate(0); - opacity: 1; - } -} - -@keyframes rotateInDownRight { - 0% { - transform-origin: right bottom; - transform: rotate(90deg); - opacity: 0; - } - - 100% { - transform-origin: right bottom; - transform: rotate(0); - opacity: 1; - } -} - -.rotateInDownRight { - -webkit-animation-name: rotateInDownRight; - -moz-animation-name: rotateInDownRight; - -o-animation-name: rotateInDownRight; - animation-name: rotateInDownRight; -} -@-webkit-keyframes rotateOut { - 0% { - -webkit-transform-origin: center center; - -webkit-transform: rotate(0); - opacity: 1; - } - - 100% { - -webkit-transform-origin: center center; - -webkit-transform: rotate(200deg); - opacity: 0; - } -} - -@-moz-keyframes rotateOut { - 0% { - -moz-transform-origin: center center; - -moz-transform: rotate(0); - opacity: 1; - } - - 100% { - -moz-transform-origin: center center; - -moz-transform: rotate(200deg); - opacity: 0; - } -} - -@-o-keyframes rotateOut { - 0% { - -o-transform-origin: center center; - -o-transform: rotate(0); - opacity: 1; - } - - 100% { - -o-transform-origin: center center; - -o-transform: rotate(200deg); - opacity: 0; - } -} - -@keyframes rotateOut { - 0% { - transform-origin: center center; - transform: rotate(0); - opacity: 1; - } - - 100% { - transform-origin: center center; - transform: rotate(200deg); - opacity: 0; - } -} - -.rotateOut { - -webkit-animation-name: rotateOut; - -moz-animation-name: rotateOut; - -o-animation-name: rotateOut; - animation-name: rotateOut; -} -@-webkit-keyframes rotateOutUpLeft { - 0% { - -webkit-transform-origin: left bottom; - -webkit-transform: rotate(0); - opacity: 1; - } - - 100% { - -webkit-transform-origin: left bottom; - -webkit-transform: rotate(-90deg); - opacity: 0; - } -} - -@-moz-keyframes rotateOutUpLeft { - 0% { - -moz-transform-origin: left bottom; - -moz-transform: rotate(0); - opacity: 1; - } - - 100% { - -moz-transform-origin: left bottom; - -moz-transform: rotate(-90deg); - opacity: 0; - } -} - -@-o-keyframes rotateOutUpLeft { - 0% { - -o-transform-origin: left bottom; - -o-transform: rotate(0); - opacity: 1; - } - - 100% { - -o-transform-origin: left bottom; - -o-transform: rotate(-90deg); - opacity: 0; - } -} - -@keyframes rotateOutUpLeft { - 0% { - transform-origin: left bottom; - transform: rotate(0); - opacity: 1; - } - - 100% { - transform-origin: left bottom; - transform: rotate(-90deg); - opacity: 0; - } -} - -.rotateOutUpLeft { - -webkit-animation-name: rotateOutUpLeft; - -moz-animation-name: rotateOutUpLeft; - -o-animation-name: rotateOutUpLeft; - animation-name: rotateOutUpLeft; -} -@-webkit-keyframes rotateOutDownLeft { - 0% { - -webkit-transform-origin: left bottom; - -webkit-transform: rotate(0); - opacity: 1; - } - - 100% { - -webkit-transform-origin: left bottom; - -webkit-transform: rotate(90deg); - opacity: 0; - } -} - -@-moz-keyframes rotateOutDownLeft { - 0% { - -moz-transform-origin: left bottom; - -moz-transform: rotate(0); - opacity: 1; - } - - 100% { - -moz-transform-origin: left bottom; - -moz-transform: rotate(90deg); - opacity: 0; - } -} - -@-o-keyframes rotateOutDownLeft { - 0% { - -o-transform-origin: left bottom; - -o-transform: rotate(0); - opacity: 1; - } - - 100% { - -o-transform-origin: left bottom; - -o-transform: rotate(90deg); - opacity: 0; - } -} - -@keyframes rotateOutDownLeft { - 0% { - transform-origin: left bottom; - transform: rotate(0); - opacity: 1; - } - - 100% { - transform-origin: left bottom; - transform: rotate(90deg); - opacity: 0; - } -} - -.rotateOutDownLeft { - -webkit-animation-name: rotateOutDownLeft; - -moz-animation-name: rotateOutDownLeft; - -o-animation-name: rotateOutDownLeft; - animation-name: rotateOutDownLeft; -} -@-webkit-keyframes rotateOutUpRight { - 0% { - -webkit-transform-origin: right bottom; - -webkit-transform: rotate(0); - opacity: 1; - } - - 100% { - -webkit-transform-origin: right bottom; - -webkit-transform: rotate(90deg); - opacity: 0; - } -} - -@-moz-keyframes rotateOutUpRight { - 0% { - -moz-transform-origin: right bottom; - -moz-transform: rotate(0); - opacity: 1; - } - - 100% { - -moz-transform-origin: right bottom; - -moz-transform: rotate(90deg); - opacity: 0; - } -} - -@-o-keyframes rotateOutUpRight { - 0% { - -o-transform-origin: right bottom; - -o-transform: rotate(0); - opacity: 1; - } - - 100% { - -o-transform-origin: right bottom; - -o-transform: rotate(90deg); - opacity: 0; - } -} - -@keyframes rotateOutUpRight { - 0% { - transform-origin: right bottom; - transform: rotate(0); - opacity: 1; - } - - 100% { - transform-origin: right bottom; - transform: rotate(90deg); - opacity: 0; - } -} - -.rotateOutUpRight { - -webkit-animation-name: rotateOutUpRight; - -moz-animation-name: rotateOutUpRight; - -o-animation-name: rotateOutUpRight; - animation-name: rotateOutUpRight; -} -@-webkit-keyframes rotateOutDownRight { - 0% { - -webkit-transform-origin: right bottom; - -webkit-transform: rotate(0); - opacity: 1; - } - - 100% { - -webkit-transform-origin: right bottom; - -webkit-transform: rotate(-90deg); - opacity: 0; - } -} - -@-moz-keyframes rotateOutDownRight { - 0% { - -moz-transform-origin: right bottom; - -moz-transform: rotate(0); - opacity: 1; - } - - 100% { - -moz-transform-origin: right bottom; - -moz-transform: rotate(-90deg); - opacity: 0; - } -} - -@-o-keyframes rotateOutDownRight { - 0% { - -o-transform-origin: right bottom; - -o-transform: rotate(0); - opacity: 1; - } - - 100% { - -o-transform-origin: right bottom; - -o-transform: rotate(-90deg); - opacity: 0; - } -} - -@keyframes rotateOutDownRight { - 0% { - transform-origin: right bottom; - transform: rotate(0); - opacity: 1; - } - - 100% { - transform-origin: right bottom; - transform: rotate(-90deg); - opacity: 0; - } -} - -.rotateOutDownRight { - -webkit-animation-name: rotateOutDownRight; - -moz-animation-name: rotateOutDownRight; - -o-animation-name: rotateOutDownRight; - animation-name: rotateOutDownRight; -} -@-webkit-keyframes hinge { - 0% { -webkit-transform: rotate(0); -webkit-transform-origin: top left; -webkit-animation-timing-function: ease-in-out; } - 20%, 60% { -webkit-transform: rotate(80deg); -webkit-transform-origin: top left; -webkit-animation-timing-function: ease-in-out; } - 40% { -webkit-transform: rotate(60deg); -webkit-transform-origin: top left; -webkit-animation-timing-function: ease-in-out; } - 80% { -webkit-transform: rotate(60deg) translateY(0); opacity: 1; -webkit-transform-origin: top left; -webkit-animation-timing-function: ease-in-out; } - 100% { -webkit-transform: translateY(700px); opacity: 0; } -} - -@-moz-keyframes hinge { - 0% { -moz-transform: rotate(0); -moz-transform-origin: top left; -moz-animation-timing-function: ease-in-out; } - 20%, 60% { -moz-transform: rotate(80deg); -moz-transform-origin: top left; -moz-animation-timing-function: ease-in-out; } - 40% { -moz-transform: rotate(60deg); -moz-transform-origin: top left; -moz-animation-timing-function: ease-in-out; } - 80% { -moz-transform: rotate(60deg) translateY(0); opacity: 1; -moz-transform-origin: top left; -moz-animation-timing-function: ease-in-out; } - 100% { -moz-transform: translateY(700px); opacity: 0; } -} - -@-o-keyframes hinge { - 0% { -o-transform: rotate(0); -o-transform-origin: top left; -o-animation-timing-function: ease-in-out; } - 20%, 60% { -o-transform: rotate(80deg); -o-transform-origin: top left; -o-animation-timing-function: ease-in-out; } - 40% { -o-transform: rotate(60deg); -o-transform-origin: top left; -o-animation-timing-function: ease-in-out; } - 80% { -o-transform: rotate(60deg) translateY(0); opacity: 1; -o-transform-origin: top left; -o-animation-timing-function: ease-in-out; } - 100% { -o-transform: translateY(700px); opacity: 0; } -} - -@keyframes hinge { - 0% { transform: rotate(0); transform-origin: top left; animation-timing-function: ease-in-out; } - 20%, 60% { transform: rotate(80deg); transform-origin: top left; animation-timing-function: ease-in-out; } - 40% { transform: rotate(60deg); transform-origin: top left; animation-timing-function: ease-in-out; } - 80% { transform: rotate(60deg) translateY(0); opacity: 1; transform-origin: top left; animation-timing-function: ease-in-out; } - 100% { transform: translateY(700px); opacity: 0; } -} - -.hinge { - -webkit-animation-name: hinge; - -moz-animation-name: hinge; - -o-animation-name: hinge; - animation-name: hinge; -} -/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ - -@-webkit-keyframes rollIn { - 0% { opacity: 0; -webkit-transform: translateX(-100%) rotate(-120deg); } - 100% { opacity: 1; -webkit-transform: translateX(0px) rotate(0deg); } -} - -@-moz-keyframes rollIn { - 0% { opacity: 0; -moz-transform: translateX(-100%) rotate(-120deg); } - 100% { opacity: 1; -moz-transform: translateX(0px) rotate(0deg); } -} - -@-o-keyframes rollIn { - 0% { opacity: 0; -o-transform: translateX(-100%) rotate(-120deg); } - 100% { opacity: 1; -o-transform: translateX(0px) rotate(0deg); } -} - -@keyframes rollIn { - 0% { opacity: 0; transform: translateX(-100%) rotate(-120deg); } - 100% { opacity: 1; transform: translateX(0px) rotate(0deg); } -} - -.rollIn { - -webkit-animation-name: rollIn; - -moz-animation-name: rollIn; - -o-animation-name: rollIn; - animation-name: rollIn; -} -/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ - -@-webkit-keyframes rollOut { - 0% { - opacity: 1; - -webkit-transform: translateX(0px) rotate(0deg); - } - - 100% { - opacity: 0; - -webkit-transform: translateX(100%) rotate(120deg); - } -} - -@-moz-keyframes rollOut { - 0% { - opacity: 1; - -moz-transform: translateX(0px) rotate(0deg); - } - - 100% { - opacity: 0; - -moz-transform: translateX(100%) rotate(120deg); - } -} - -@-o-keyframes rollOut { - 0% { - opacity: 1; - -o-transform: translateX(0px) rotate(0deg); - } - - 100% { - opacity: 0; - -o-transform: translateX(100%) rotate(120deg); - } -} - -@keyframes rollOut { - 0% { - opacity: 1; - transform: translateX(0px) rotate(0deg); - } - - 100% { - opacity: 0; - transform: translateX(100%) rotate(120deg); - } -} - -.rollOut { - -webkit-animation-name: rollOut; - -moz-animation-name: rollOut; - -o-animation-name: rollOut; - animation-name: rollOut; -} - -/* originally authored by Angelo Rohit - https://github.com/angelorohit */ - -@-webkit-keyframes lightSpeedIn { - 0% { -webkit-transform: translateX(100%) skewX(-30deg); opacity: 0; } - 60% { -webkit-transform: translateX(-20%) skewX(30deg); opacity: 1; } - 80% { -webkit-transform: translateX(0%) skewX(-15deg); opacity: 1; } - 100% { -webkit-transform: translateX(0%) skewX(0deg); opacity: 1; } -} - -@-moz-keyframes lightSpeedIn { - 0% { -moz-transform: translateX(100%) skewX(-30deg); opacity: 0; } - 60% { -moz-transform: translateX(-20%) skewX(30deg); opacity: 1; } - 80% { -moz-transform: translateX(0%) skewX(-15deg); opacity: 1; } - 100% { -moz-transform: translateX(0%) skewX(0deg); opacity: 1; } -} - -@-o-keyframes lightSpeedIn { - 0% { -o-transform: translateX(100%) skewX(-30deg); opacity: 0; } - 60% { -o-transform: translateX(-20%) skewX(30deg); opacity: 1; } - 80% { -o-transform: translateX(0%) skewX(-15deg); opacity: 1; } - 100% { -o-transform: translateX(0%) skewX(0deg); opacity: 1; } -} - -@keyframes lightSpeedIn { - 0% { transform: translateX(100%) skewX(-30deg); opacity: 0; } - 60% { transform: translateX(-20%) skewX(30deg); opacity: 1; } - 80% { transform: translateX(0%) skewX(-15deg); opacity: 1; } - 100% { transform: translateX(0%) skewX(0deg); opacity: 1; } -} - -.lightSpeedIn { - -webkit-animation-name: lightSpeedIn; - -moz-animation-name: lightSpeedIn; - -o-animation-name: lightSpeedIn; - animation-name: lightSpeedIn; - - -webkit-animation-timing-function: ease-out; - -moz-animation-timing-function: ease-out; - -o-animation-timing-function: ease-out; - animation-timing-function: ease-out; -} - -.animated.lightSpeedIn { - -webkit-animation-duration: 0.5s; - -moz-animation-duration: 0.5s; - -o-animation-duration: 0.5s; - animation-duration: 0.5s; -} - -/* originally authored by Angelo Rohit - https://github.com/angelorohit */ - -@-webkit-keyframes lightSpeedOut { - 0% { -webkit-transform: translateX(0%) skewX(0deg); opacity: 1; } - 100% { -webkit-transform: translateX(100%) skewX(-30deg); opacity: 0; } -} - -@-moz-keyframes lightSpeedOut { - 0% { -moz-transform: translateX(0%) skewX(0deg); opacity: 1; } - 100% { -moz-transform: translateX(100%) skewX(-30deg); opacity: 0; } -} - -@-o-keyframes lightSpeedOut { - 0% { -o-transform: translateX(0%) skewX(0deg); opacity: 1; } - 100% { -o-transform: translateX(100%) skewX(-30deg); opacity: 0; } -} - -@keyframes lightSpeedOut { - 0% { transform: translateX(0%) skewX(0deg); opacity: 1; } - 100% { transform: translateX(100%) skewX(-30deg); opacity: 0; } -} - -.lightSpeedOut { - -webkit-animation-name: lightSpeedOut; - -moz-animation-name: lightSpeedOut; - -o-animation-name: lightSpeedOut; - animation-name: lightSpeedOut; - - -webkit-animation-timing-function: ease-in; - -moz-animation-timing-function: ease-in; - -o-animation-timing-function: ease-in; - animation-timing-function: ease-in; -} - -.animated.lightSpeedOut { - -webkit-animation-duration: 0.25s; - -moz-animation-duration: 0.25s; - -o-animation-duration: 0.25s; - animation-duration: 0.25s; -} - -/* originally authored by Angelo Rohit - https://github.com/angelorohit */ - -@-webkit-keyframes wiggle { - 0% { -webkit-transform: skewX(9deg); } - 10% { -webkit-transform: skewX(-8deg); } - 20% { -webkit-transform: skewX(7deg); } - 30% { -webkit-transform: skewX(-6deg); } - 40% { -webkit-transform: skewX(5deg); } - 50% { -webkit-transform: skewX(-4deg); } - 60% { -webkit-transform: skewX(3deg); } - 70% { -webkit-transform: skewX(-2deg); } - 80% { -webkit-transform: skewX(1deg); } - 90% { -webkit-transform: skewX(0deg); } - 100% { -webkit-transform: skewX(0deg); } -} - -@-moz-keyframes wiggle { - 0% { -moz-transform: skewX(9deg); } - 10% { -moz-transform: skewX(-8deg); } - 20% { -moz-transform: skewX(7deg); } - 30% { -moz-transform: skewX(-6deg); } - 40% { -moz-transform: skewX(5deg); } - 50% { -moz-transform: skewX(-4deg); } - 60% { -moz-transform: skewX(3deg); } - 70% { -moz-transform: skewX(-2deg); } - 80% { -moz-transform: skewX(1deg); } - 90% { -moz-transform: skewX(0deg); } - 100% { -moz-transform: skewX(0deg); } -} - -@-o-keyframes wiggle { - 0% { -o-transform: skewX(9deg); } - 10% { -o-transform: skewX(-8deg); } - 20% { -o-transform: skewX(7deg); } - 30% { -o-transform: skewX(-6deg); } - 40% { -o-transform: skewX(5deg); } - 50% { -o-transform: skewX(-4deg); } - 60% { -o-transform: skewX(3deg); } - 70% { -o-transform: skewX(-2deg); } - 80% { -o-transform: skewX(1deg); } - 90% { -o-transform: skewX(0deg); } - 100% { -o-transform: skewX(0deg); } -} - -@keyframes wiggle { - 0% { transform: skewX(9deg); } - 10% { transform: skewX(-8deg); } - 20% { transform: skewX(7deg); } - 30% { transform: skewX(-6deg); } - 40% { transform: skewX(5deg); } - 50% { transform: skewX(-4deg); } - 60% { transform: skewX(3deg); } - 70% { transform: skewX(-2deg); } - 80% { transform: skewX(1deg); } - 90% { transform: skewX(0deg); } - 100% { transform: skewX(0deg); } -} - -.wiggle { - -webkit-animation-name: wiggle; - -moz-animation-name: wiggle; - -o-animation-name: wiggle; - animation-name: wiggle; - - -webkit-animation-timing-function: ease-in; - -moz-animation-timing-function: ease-in; - -o-animation-timing-function: ease-in; - animation-timing-function: ease-in; -} - -.animated.wiggle { - -webkit-animation-duration: 0.75s; - -moz-animation-duration: 0.75s; - -o-animation-duration: 0.75s; - animation-duration: 0.75s; -} +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@charset "UTF-8"; +/* +Animate.css - http://daneden.me/animate +Licensed under the MIT license + +Copyright (c) 2013 Daniel Eden + +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. +*/ +body { /* Addresses a small issue in webkit: http://bit.ly/NEdoDq */ + -webkit-backface-visibility: hidden; +} +.animated { + -webkit-animation-duration: 1s; + -moz-animation-duration: 1s; + -o-animation-duration: 1s; + animation-duration: 1s; + -webkit-animation-fill-mode: both; + -moz-animation-fill-mode: both; + -o-animation-fill-mode: both; + animation-fill-mode: both; +} + +.animated.hinge { + -webkit-animation-duration: 2s; + -moz-animation-duration: 2s; + -o-animation-duration: 2s; + animation-duration: 2s; +} + +@-webkit-keyframes flash { + 0%, 50%, 100% {opacity: 1;} + 25%, 75% {opacity: 0;} +} + +@-moz-keyframes flash { + 0%, 50%, 100% {opacity: 1;} + 25%, 75% {opacity: 0;} +} + +@-o-keyframes flash { + 0%, 50%, 100% {opacity: 1;} + 25%, 75% {opacity: 0;} +} + +@keyframes flash { + 0%, 50%, 100% {opacity: 1;} + 25%, 75% {opacity: 0;} +} + +.flash { + -webkit-animation-name: flash; + -moz-animation-name: flash; + -o-animation-name: flash; + animation-name: flash; +} +@-webkit-keyframes shake { + 0%, 100% {-webkit-transform: translateX(0);} + 10%, 30%, 50%, 70%, 90% {-webkit-transform: translateX(-10px);} + 20%, 40%, 60%, 80% {-webkit-transform: translateX(10px);} +} + +@-moz-keyframes shake { + 0%, 100% {-moz-transform: translateX(0);} + 10%, 30%, 50%, 70%, 90% {-moz-transform: translateX(-10px);} + 20%, 40%, 60%, 80% {-moz-transform: translateX(10px);} +} + +@-o-keyframes shake { + 0%, 100% {-o-transform: translateX(0);} + 10%, 30%, 50%, 70%, 90% {-o-transform: translateX(-10px);} + 20%, 40%, 60%, 80% {-o-transform: translateX(10px);} +} + +@keyframes shake { + 0%, 100% {transform: translateX(0);} + 10%, 30%, 50%, 70%, 90% {transform: translateX(-10px);} + 20%, 40%, 60%, 80% {transform: translateX(10px);} +} + +.shake { + -webkit-animation-name: shake; + -moz-animation-name: shake; + -o-animation-name: shake; + animation-name: shake; +} +@-webkit-keyframes bounce { + 0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0);} + 40% {-webkit-transform: translateY(-30px);} + 60% {-webkit-transform: translateY(-15px);} +} + +@-moz-keyframes bounce { + 0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0);} + 40% {-moz-transform: translateY(-30px);} + 60% {-moz-transform: translateY(-15px);} +} + +@-o-keyframes bounce { + 0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0);} + 40% {-o-transform: translateY(-30px);} + 60% {-o-transform: translateY(-15px);} +} +@keyframes bounce { + 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} + 40% {transform: translateY(-30px);} + 60% {transform: translateY(-15px);} +} + +.bounce { + -webkit-animation-name: bounce; + -moz-animation-name: bounce; + -o-animation-name: bounce; + animation-name: bounce; +} +@-webkit-keyframes tada { + 0% {-webkit-transform: scale(1);} + 10%, 20% {-webkit-transform: scale(0.9) rotate(-3deg);} + 30%, 50%, 70%, 90% {-webkit-transform: scale(1.1) rotate(3deg);} + 40%, 60%, 80% {-webkit-transform: scale(1.1) rotate(-3deg);} + 100% {-webkit-transform: scale(1) rotate(0);} +} + +@-moz-keyframes tada { + 0% {-moz-transform: scale(1);} + 10%, 20% {-moz-transform: scale(0.9) rotate(-3deg);} + 30%, 50%, 70%, 90% {-moz-transform: scale(1.1) rotate(3deg);} + 40%, 60%, 80% {-moz-transform: scale(1.1) rotate(-3deg);} + 100% {-moz-transform: scale(1) rotate(0);} +} + +@-o-keyframes tada { + 0% {-o-transform: scale(1);} + 10%, 20% {-o-transform: scale(0.9) rotate(-3deg);} + 30%, 50%, 70%, 90% {-o-transform: scale(1.1) rotate(3deg);} + 40%, 60%, 80% {-o-transform: scale(1.1) rotate(-3deg);} + 100% {-o-transform: scale(1) rotate(0);} +} + +@keyframes tada { + 0% {transform: scale(1);} + 10%, 20% {transform: scale(0.9) rotate(-3deg);} + 30%, 50%, 70%, 90% {transform: scale(1.1) rotate(3deg);} + 40%, 60%, 80% {transform: scale(1.1) rotate(-3deg);} + 100% {transform: scale(1) rotate(0);} +} + +.tada { + -webkit-animation-name: tada; + -moz-animation-name: tada; + -o-animation-name: tada; + animation-name: tada; +} +@-webkit-keyframes swing { + 20%, 40%, 60%, 80%, 100% { -webkit-transform-origin: top center; } + 20% { -webkit-transform: rotate(15deg); } + 40% { -webkit-transform: rotate(-10deg); } + 60% { -webkit-transform: rotate(5deg); } + 80% { -webkit-transform: rotate(-5deg); } + 100% { -webkit-transform: rotate(0deg); } +} + +@-moz-keyframes swing { + 20% { -moz-transform: rotate(15deg); } + 40% { -moz-transform: rotate(-10deg); } + 60% { -moz-transform: rotate(5deg); } + 80% { -moz-transform: rotate(-5deg); } + 100% { -moz-transform: rotate(0deg); } +} + +@-o-keyframes swing { + 20% { -o-transform: rotate(15deg); } + 40% { -o-transform: rotate(-10deg); } + 60% { -o-transform: rotate(5deg); } + 80% { -o-transform: rotate(-5deg); } + 100% { -o-transform: rotate(0deg); } +} + +@keyframes swing { + 20% { transform: rotate(15deg); } + 40% { transform: rotate(-10deg); } + 60% { transform: rotate(5deg); } + 80% { transform: rotate(-5deg); } + 100% { transform: rotate(0deg); } +} + +.swing { + -webkit-transform-origin: top center; + -moz-transform-origin: top center; + -o-transform-origin: top center; + transform-origin: top center; + -webkit-animation-name: swing; + -moz-animation-name: swing; + -o-animation-name: swing; + animation-name: swing; +} +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes wobble { + 0% { -webkit-transform: translateX(0%); } + 15% { -webkit-transform: translateX(-25%) rotate(-5deg); } + 30% { -webkit-transform: translateX(20%) rotate(3deg); } + 45% { -webkit-transform: translateX(-15%) rotate(-3deg); } + 60% { -webkit-transform: translateX(10%) rotate(2deg); } + 75% { -webkit-transform: translateX(-5%) rotate(-1deg); } + 100% { -webkit-transform: translateX(0%); } +} + +@-moz-keyframes wobble { + 0% { -moz-transform: translateX(0%); } + 15% { -moz-transform: translateX(-25%) rotate(-5deg); } + 30% { -moz-transform: translateX(20%) rotate(3deg); } + 45% { -moz-transform: translateX(-15%) rotate(-3deg); } + 60% { -moz-transform: translateX(10%) rotate(2deg); } + 75% { -moz-transform: translateX(-5%) rotate(-1deg); } + 100% { -moz-transform: translateX(0%); } +} + +@-o-keyframes wobble { + 0% { -o-transform: translateX(0%); } + 15% { -o-transform: translateX(-25%) rotate(-5deg); } + 30% { -o-transform: translateX(20%) rotate(3deg); } + 45% { -o-transform: translateX(-15%) rotate(-3deg); } + 60% { -o-transform: translateX(10%) rotate(2deg); } + 75% { -o-transform: translateX(-5%) rotate(-1deg); } + 100% { -o-transform: translateX(0%); } +} + +@keyframes wobble { + 0% { transform: translateX(0%); } + 15% { transform: translateX(-25%) rotate(-5deg); } + 30% { transform: translateX(20%) rotate(3deg); } + 45% { transform: translateX(-15%) rotate(-3deg); } + 60% { transform: translateX(10%) rotate(2deg); } + 75% { transform: translateX(-5%) rotate(-1deg); } + 100% { transform: translateX(0%); } +} + +.wobble { + -webkit-animation-name: wobble; + -moz-animation-name: wobble; + -o-animation-name: wobble; + animation-name: wobble; +} +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes pulse { + 0% { -webkit-transform: scale(1); } + 50% { -webkit-transform: scale(1.1); } + 100% { -webkit-transform: scale(1); } +} +@-moz-keyframes pulse { + 0% { -moz-transform: scale(1); } + 50% { -moz-transform: scale(1.1); } + 100% { -moz-transform: scale(1); } +} +@-o-keyframes pulse { + 0% { -o-transform: scale(1); } + 50% { -o-transform: scale(1.1); } + 100% { -o-transform: scale(1); } +} +@keyframes pulse { + 0% { transform: scale(1); } + 50% { transform: scale(1.1); } + 100% { transform: scale(1); } +} + +.pulse { + -webkit-animation-name: pulse; + -moz-animation-name: pulse; + -o-animation-name: pulse; + animation-name: pulse; +} +@-webkit-keyframes flip { + 0% { + -webkit-transform: perspective(400px) rotateY(0); + -webkit-animation-timing-function: ease-out; + } + 40% { + -webkit-transform: perspective(400px) translateZ(150px) rotateY(170deg); + -webkit-animation-timing-function: ease-out; + } + 50% { + -webkit-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); + -webkit-animation-timing-function: ease-in; + } + 80% { + -webkit-transform: perspective(400px) rotateY(360deg) scale(.95); + -webkit-animation-timing-function: ease-in; + } + 100% { + -webkit-transform: perspective(400px) scale(1); + -webkit-animation-timing-function: ease-in; + } +} +@-moz-keyframes flip { + 0% { + -moz-transform: perspective(400px) rotateY(0); + -moz-animation-timing-function: ease-out; + } + 40% { + -moz-transform: perspective(400px) translateZ(150px) rotateY(170deg); + -moz-animation-timing-function: ease-out; + } + 50% { + -moz-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); + -moz-animation-timing-function: ease-in; + } + 80% { + -moz-transform: perspective(400px) rotateY(360deg) scale(.95); + -moz-animation-timing-function: ease-in; + } + 100% { + -moz-transform: perspective(400px) scale(1); + -moz-animation-timing-function: ease-in; + } +} +@-o-keyframes flip { + 0% { + -o-transform: perspective(400px) rotateY(0); + -o-animation-timing-function: ease-out; + } + 40% { + -o-transform: perspective(400px) translateZ(150px) rotateY(170deg); + -o-animation-timing-function: ease-out; + } + 50% { + -o-transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); + -o-animation-timing-function: ease-in; + } + 80% { + -o-transform: perspective(400px) rotateY(360deg) scale(.95); + -o-animation-timing-function: ease-in; + } + 100% { + -o-transform: perspective(400px) scale(1); + -o-animation-timing-function: ease-in; + } +} +@keyframes flip { + 0% { + transform: perspective(400px) rotateY(0); + animation-timing-function: ease-out; + } + 40% { + transform: perspective(400px) translateZ(150px) rotateY(170deg); + animation-timing-function: ease-out; + } + 50% { + transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1); + animation-timing-function: ease-in; + } + 80% { + transform: perspective(400px) rotateY(360deg) scale(.95); + animation-timing-function: ease-in; + } + 100% { + transform: perspective(400px) scale(1); + animation-timing-function: ease-in; + } +} + +.flip { + -webkit-backface-visibility: visible !important; + -webkit-animation-name: flip; + -moz-backface-visibility: visible !important; + -moz-animation-name: flip; + -o-backface-visibility: visible !important; + -o-animation-name: flip; + backface-visibility: visible !important; + animation-name: flip; +} +@-webkit-keyframes flipInX { + 0% { + -webkit-transform: perspective(400px) rotateX(90deg); + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotateX(-10deg); + } + + 70% { + -webkit-transform: perspective(400px) rotateX(10deg); + } + + 100% { + -webkit-transform: perspective(400px) rotateX(0deg); + opacity: 1; + } +} +@-moz-keyframes flipInX { + 0% { + -moz-transform: perspective(400px) rotateX(90deg); + opacity: 0; + } + + 40% { + -moz-transform: perspective(400px) rotateX(-10deg); + } + + 70% { + -moz-transform: perspective(400px) rotateX(10deg); + } + + 100% { + -moz-transform: perspective(400px) rotateX(0deg); + opacity: 1; + } +} +@-o-keyframes flipInX { + 0% { + -o-transform: perspective(400px) rotateX(90deg); + opacity: 0; + } + + 40% { + -o-transform: perspective(400px) rotateX(-10deg); + } + + 70% { + -o-transform: perspective(400px) rotateX(10deg); + } + + 100% { + -o-transform: perspective(400px) rotateX(0deg); + opacity: 1; + } +} +@keyframes flipInX { + 0% { + transform: perspective(400px) rotateX(90deg); + opacity: 0; + } + + 40% { + transform: perspective(400px) rotateX(-10deg); + } + + 70% { + transform: perspective(400px) rotateX(10deg); + } + + 100% { + transform: perspective(400px) rotateX(0deg); + opacity: 1; + } +} + +.flipInX { + -webkit-backface-visibility: visible !important; + -webkit-animation-name: flipInX; + -moz-backface-visibility: visible !important; + -moz-animation-name: flipInX; + -o-backface-visibility: visible !important; + -o-animation-name: flipInX; + backface-visibility: visible !important; + animation-name: flipInX; +} +@-webkit-keyframes flipOutX { + 0% { + -webkit-transform: perspective(400px) rotateX(0deg); + opacity: 1; + } + 100% { + -webkit-transform: perspective(400px) rotateX(90deg); + opacity: 0; + } +} + +@-moz-keyframes flipOutX { + 0% { + -moz-transform: perspective(400px) rotateX(0deg); + opacity: 1; + } + 100% { + -moz-transform: perspective(400px) rotateX(90deg); + opacity: 0; + } +} + +@-o-keyframes flipOutX { + 0% { + -o-transform: perspective(400px) rotateX(0deg); + opacity: 1; + } + 100% { + -o-transform: perspective(400px) rotateX(90deg); + opacity: 0; + } +} + +@keyframes flipOutX { + 0% { + transform: perspective(400px) rotateX(0deg); + opacity: 1; + } + 100% { + transform: perspective(400px) rotateX(90deg); + opacity: 0; + } +} + +.flipOutX { + -webkit-animation-name: flipOutX; + -webkit-backface-visibility: visible !important; + -moz-animation-name: flipOutX; + -moz-backface-visibility: visible !important; + -o-animation-name: flipOutX; + -o-backface-visibility: visible !important; + animation-name: flipOutX; + backface-visibility: visible !important; +} +@-webkit-keyframes flipInY { + 0% { + -webkit-transform: perspective(400px) rotateY(90deg); + opacity: 0; + } + + 40% { + -webkit-transform: perspective(400px) rotateY(-10deg); + } + + 70% { + -webkit-transform: perspective(400px) rotateY(10deg); + } + + 100% { + -webkit-transform: perspective(400px) rotateY(0deg); + opacity: 1; + } +} +@-moz-keyframes flipInY { + 0% { + -moz-transform: perspective(400px) rotateY(90deg); + opacity: 0; + } + + 40% { + -moz-transform: perspective(400px) rotateY(-10deg); + } + + 70% { + -moz-transform: perspective(400px) rotateY(10deg); + } + + 100% { + -moz-transform: perspective(400px) rotateY(0deg); + opacity: 1; + } +} +@-o-keyframes flipInY { + 0% { + -o-transform: perspective(400px) rotateY(90deg); + opacity: 0; + } + + 40% { + -o-transform: perspective(400px) rotateY(-10deg); + } + + 70% { + -o-transform: perspective(400px) rotateY(10deg); + } + + 100% { + -o-transform: perspective(400px) rotateY(0deg); + opacity: 1; + } +} +@keyframes flipInY { + 0% { + transform: perspective(400px) rotateY(90deg); + opacity: 0; + } + + 40% { + transform: perspective(400px) rotateY(-10deg); + } + + 70% { + transform: perspective(400px) rotateY(10deg); + } + + 100% { + transform: perspective(400px) rotateY(0deg); + opacity: 1; + } +} + +.flipInY { + -webkit-backface-visibility: visible !important; + -webkit-animation-name: flipInY; + -moz-backface-visibility: visible !important; + -moz-animation-name: flipInY; + -o-backface-visibility: visible !important; + -o-animation-name: flipInY; + backface-visibility: visible !important; + animation-name: flipInY; +} +@-webkit-keyframes flipOutY { + 0% { + -webkit-transform: perspective(400px) rotateY(0deg); + opacity: 1; + } + 100% { + -webkit-transform: perspective(400px) rotateY(90deg); + opacity: 0; + } +} +@-moz-keyframes flipOutY { + 0% { + -moz-transform: perspective(400px) rotateY(0deg); + opacity: 1; + } + 100% { + -moz-transform: perspective(400px) rotateY(90deg); + opacity: 0; + } +} +@-o-keyframes flipOutY { + 0% { + -o-transform: perspective(400px) rotateY(0deg); + opacity: 1; + } + 100% { + -o-transform: perspective(400px) rotateY(90deg); + opacity: 0; + } +} +@keyframes flipOutY { + 0% { + transform: perspective(400px) rotateY(0deg); + opacity: 1; + } + 100% { + transform: perspective(400px) rotateY(90deg); + opacity: 0; + } +} + +.flipOutY { + -webkit-backface-visibility: visible !important; + -webkit-animation-name: flipOutY; + -moz-backface-visibility: visible !important; + -moz-animation-name: flipOutY; + -o-backface-visibility: visible !important; + -o-animation-name: flipOutY; + backface-visibility: visible !important; + animation-name: flipOutY; +} +@-webkit-keyframes fadeIn { + 0% {opacity: 0;} + 100% {opacity: 1;} +} + +@-moz-keyframes fadeIn { + 0% {opacity: 0;} + 100% {opacity: 1;} +} + +@-o-keyframes fadeIn { + 0% {opacity: 0;} + 100% {opacity: 1;} +} + +@keyframes fadeIn { + 0% {opacity: 0;} + 100% {opacity: 1;} +} + +.fadeIn { + -webkit-animation-name: fadeIn; + -moz-animation-name: fadeIn; + -o-animation-name: fadeIn; + animation-name: fadeIn; +} +@-webkit-keyframes fadeInUp { + 0% { + opacity: 0; + -webkit-transform: translateY(20px); + } + + 100% { + opacity: 1; + -webkit-transform: translateY(0); + } +} + +@-moz-keyframes fadeInUp { + 0% { + opacity: 0; + -moz-transform: translateY(20px); + } + + 100% { + opacity: 1; + -moz-transform: translateY(0); + } +} + +@-o-keyframes fadeInUp { + 0% { + opacity: 0; + -o-transform: translateY(20px); + } + + 100% { + opacity: 1; + -o-transform: translateY(0); + } +} + +@keyframes fadeInUp { + 0% { + opacity: 0; + transform: translateY(20px); + } + + 100% { + opacity: 1; + transform: translateY(0); + } +} + +.fadeInUp { + -webkit-animation-name: fadeInUp; + -moz-animation-name: fadeInUp; + -o-animation-name: fadeInUp; + animation-name: fadeInUp; +} +@-webkit-keyframes fadeInDown { + 0% { + opacity: 0; + -webkit-transform: translateY(-20px); + } + + 100% { + opacity: 1; + -webkit-transform: translateY(0); + } +} + +@-moz-keyframes fadeInDown { + 0% { + opacity: 0; + -moz-transform: translateY(-20px); + } + + 100% { + opacity: 1; + -moz-transform: translateY(0); + } +} + +@-o-keyframes fadeInDown { + 0% { + opacity: 0; + -o-transform: translateY(-20px); + } + + 100% { + opacity: 1; + -o-transform: translateY(0); + } +} + +@keyframes fadeInDown { + 0% { + opacity: 0; + transform: translateY(-20px); + } + + 100% { + opacity: 1; + transform: translateY(0); + } +} + +.fadeInDown { + -webkit-animation-name: fadeInDown; + -moz-animation-name: fadeInDown; + -o-animation-name: fadeInDown; + animation-name: fadeInDown; +} +@-webkit-keyframes fadeInLeft { + 0% { + opacity: 0; + -webkit-transform: translateX(-20px); + } + + 100% { + opacity: 1; + -webkit-transform: translateX(0); + } +} + +@-moz-keyframes fadeInLeft { + 0% { + opacity: 0; + -moz-transform: translateX(-20px); + } + + 100% { + opacity: 1; + -moz-transform: translateX(0); + } +} + +@-o-keyframes fadeInLeft { + 0% { + opacity: 0; + -o-transform: translateX(-20px); + } + + 100% { + opacity: 1; + -o-transform: translateX(0); + } +} + +@keyframes fadeInLeft { + 0% { + opacity: 0; + transform: translateX(-20px); + } + + 100% { + opacity: 1; + transform: translateX(0); + } +} + +.fadeInLeft { + -webkit-animation-name: fadeInLeft; + -moz-animation-name: fadeInLeft; + -o-animation-name: fadeInLeft; + animation-name: fadeInLeft; +} +@-webkit-keyframes fadeInRight { + 0% { + opacity: 0; + -webkit-transform: translateX(20px); + } + + 100% { + opacity: 1; + -webkit-transform: translateX(0); + } +} + +@-moz-keyframes fadeInRight { + 0% { + opacity: 0; + -moz-transform: translateX(20px); + } + + 100% { + opacity: 1; + -moz-transform: translateX(0); + } +} + +@-o-keyframes fadeInRight { + 0% { + opacity: 0; + -o-transform: translateX(20px); + } + + 100% { + opacity: 1; + -o-transform: translateX(0); + } +} + +@keyframes fadeInRight { + 0% { + opacity: 0; + transform: translateX(20px); + } + + 100% { + opacity: 1; + transform: translateX(0); + } +} + +.fadeInRight { + -webkit-animation-name: fadeInRight; + -moz-animation-name: fadeInRight; + -o-animation-name: fadeInRight; + animation-name: fadeInRight; +} +@-webkit-keyframes fadeInUpBig { + 0% { + opacity: 0; + -webkit-transform: translateY(2000px); + } + + 100% { + opacity: 1; + -webkit-transform: translateY(0); + } +} + +@-moz-keyframes fadeInUpBig { + 0% { + opacity: 0; + -moz-transform: translateY(2000px); + } + + 100% { + opacity: 1; + -moz-transform: translateY(0); + } +} + +@-o-keyframes fadeInUpBig { + 0% { + opacity: 0; + -o-transform: translateY(2000px); + } + + 100% { + opacity: 1; + -o-transform: translateY(0); + } +} + +@keyframes fadeInUpBig { + 0% { + opacity: 0; + transform: translateY(2000px); + } + + 100% { + opacity: 1; + transform: translateY(0); + } +} + +.fadeInUpBig { + -webkit-animation-name: fadeInUpBig; + -moz-animation-name: fadeInUpBig; + -o-animation-name: fadeInUpBig; + animation-name: fadeInUpBig; +} +@-webkit-keyframes fadeInDownBig { + 0% { + opacity: 0; + -webkit-transform: translateY(-2000px); + } + + 100% { + opacity: 1; + -webkit-transform: translateY(0); + } +} + +@-moz-keyframes fadeInDownBig { + 0% { + opacity: 0; + -moz-transform: translateY(-2000px); + } + + 100% { + opacity: 1; + -moz-transform: translateY(0); + } +} + +@-o-keyframes fadeInDownBig { + 0% { + opacity: 0; + -o-transform: translateY(-2000px); + } + + 100% { + opacity: 1; + -o-transform: translateY(0); + } +} + +@keyframes fadeInDownBig { + 0% { + opacity: 0; + transform: translateY(-2000px); + } + + 100% { + opacity: 1; + transform: translateY(0); + } +} + +.fadeInDownBig { + -webkit-animation-name: fadeInDownBig; + -moz-animation-name: fadeInDownBig; + -o-animation-name: fadeInDownBig; + animation-name: fadeInDownBig; +} +@-webkit-keyframes fadeInLeftBig { + 0% { + opacity: 0; + -webkit-transform: translateX(-2000px); + } + + 100% { + opacity: 1; + -webkit-transform: translateX(0); + } +} +@-moz-keyframes fadeInLeftBig { + 0% { + opacity: 0; + -moz-transform: translateX(-2000px); + } + + 100% { + opacity: 1; + -moz-transform: translateX(0); + } +} +@-o-keyframes fadeInLeftBig { + 0% { + opacity: 0; + -o-transform: translateX(-2000px); + } + + 100% { + opacity: 1; + -o-transform: translateX(0); + } +} +@keyframes fadeInLeftBig { + 0% { + opacity: 0; + transform: translateX(-2000px); + } + + 100% { + opacity: 1; + transform: translateX(0); + } +} + +.fadeInLeftBig { + -webkit-animation-name: fadeInLeftBig; + -moz-animation-name: fadeInLeftBig; + -o-animation-name: fadeInLeftBig; + animation-name: fadeInLeftBig; +} +@-webkit-keyframes fadeInRightBig { + 0% { + opacity: 0; + -webkit-transform: translateX(2000px); + } + + 100% { + opacity: 1; + -webkit-transform: translateX(0); + } +} + +@-moz-keyframes fadeInRightBig { + 0% { + opacity: 0; + -moz-transform: translateX(2000px); + } + + 100% { + opacity: 1; + -moz-transform: translateX(0); + } +} + +@-o-keyframes fadeInRightBig { + 0% { + opacity: 0; + -o-transform: translateX(2000px); + } + + 100% { + opacity: 1; + -o-transform: translateX(0); + } +} + +@keyframes fadeInRightBig { + 0% { + opacity: 0; + transform: translateX(2000px); + } + + 100% { + opacity: 1; + transform: translateX(0); + } +} + +.fadeInRightBig { + -webkit-animation-name: fadeInRightBig; + -moz-animation-name: fadeInRightBig; + -o-animation-name: fadeInRightBig; + animation-name: fadeInRightBig; +} +@-webkit-keyframes fadeOut { + 0% {opacity: 1;} + 100% {opacity: 0;} +} + +@-moz-keyframes fadeOut { + 0% {opacity: 1;} + 100% {opacity: 0;} +} + +@-o-keyframes fadeOut { + 0% {opacity: 1;} + 100% {opacity: 0;} +} + +@keyframes fadeOut { + 0% {opacity: 1;} + 100% {opacity: 0;} +} + +.fadeOut { + -webkit-animation-name: fadeOut; + -moz-animation-name: fadeOut; + -o-animation-name: fadeOut; + animation-name: fadeOut; +} +@-webkit-keyframes fadeOutUp { + 0% { + opacity: 1; + -webkit-transform: translateY(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(-20px); + } +} +@-moz-keyframes fadeOutUp { + 0% { + opacity: 1; + -moz-transform: translateY(0); + } + + 100% { + opacity: 0; + -moz-transform: translateY(-20px); + } +} +@-o-keyframes fadeOutUp { + 0% { + opacity: 1; + -o-transform: translateY(0); + } + + 100% { + opacity: 0; + -o-transform: translateY(-20px); + } +} +@keyframes fadeOutUp { + 0% { + opacity: 1; + transform: translateY(0); + } + + 100% { + opacity: 0; + transform: translateY(-20px); + } +} + +.fadeOutUp { + -webkit-animation-name: fadeOutUp; + -moz-animation-name: fadeOutUp; + -o-animation-name: fadeOutUp; + animation-name: fadeOutUp; +} +@-webkit-keyframes fadeOutDown { + 0% { + opacity: 1; + -webkit-transform: translateY(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(20px); + } +} + +@-moz-keyframes fadeOutDown { + 0% { + opacity: 1; + -moz-transform: translateY(0); + } + + 100% { + opacity: 0; + -moz-transform: translateY(20px); + } +} + +@-o-keyframes fadeOutDown { + 0% { + opacity: 1; + -o-transform: translateY(0); + } + + 100% { + opacity: 0; + -o-transform: translateY(20px); + } +} + +@keyframes fadeOutDown { + 0% { + opacity: 1; + transform: translateY(0); + } + + 100% { + opacity: 0; + transform: translateY(20px); + } +} + +.fadeOutDown { + -webkit-animation-name: fadeOutDown; + -moz-animation-name: fadeOutDown; + -o-animation-name: fadeOutDown; + animation-name: fadeOutDown; +} +@-webkit-keyframes fadeOutLeft { + 0% { + opacity: 1; + -webkit-transform: translateX(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(-20px); + } +} + +@-moz-keyframes fadeOutLeft { + 0% { + opacity: 1; + -moz-transform: translateX(0); + } + + 100% { + opacity: 0; + -moz-transform: translateX(-20px); + } +} + +@-o-keyframes fadeOutLeft { + 0% { + opacity: 1; + -o-transform: translateX(0); + } + + 100% { + opacity: 0; + -o-transform: translateX(-20px); + } +} + +@keyframes fadeOutLeft { + 0% { + opacity: 1; + transform: translateX(0); + } + + 100% { + opacity: 0; + transform: translateX(-20px); + } +} + +.fadeOutLeft { + -webkit-animation-name: fadeOutLeft; + -moz-animation-name: fadeOutLeft; + -o-animation-name: fadeOutLeft; + animation-name: fadeOutLeft; +} +@-webkit-keyframes fadeOutRight { + 0% { + opacity: 1; + -webkit-transform: translateX(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(20px); + } +} + +@-moz-keyframes fadeOutRight { + 0% { + opacity: 1; + -moz-transform: translateX(0); + } + + 100% { + opacity: 0; + -moz-transform: translateX(20px); + } +} + +@-o-keyframes fadeOutRight { + 0% { + opacity: 1; + -o-transform: translateX(0); + } + + 100% { + opacity: 0; + -o-transform: translateX(20px); + } +} + +@keyframes fadeOutRight { + 0% { + opacity: 1; + transform: translateX(0); + } + + 100% { + opacity: 0; + transform: translateX(20px); + } +} + +.fadeOutRight { + -webkit-animation-name: fadeOutRight; + -moz-animation-name: fadeOutRight; + -o-animation-name: fadeOutRight; + animation-name: fadeOutRight; +} +@-webkit-keyframes fadeOutUpBig { + 0% { + opacity: 1; + -webkit-transform: translateY(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(-2000px); + } +} + +@-moz-keyframes fadeOutUpBig { + 0% { + opacity: 1; + -moz-transform: translateY(0); + } + + 100% { + opacity: 0; + -moz-transform: translateY(-2000px); + } +} + +@-o-keyframes fadeOutUpBig { + 0% { + opacity: 1; + -o-transform: translateY(0); + } + + 100% { + opacity: 0; + -o-transform: translateY(-2000px); + } +} + +@keyframes fadeOutUpBig { + 0% { + opacity: 1; + transform: translateY(0); + } + + 100% { + opacity: 0; + transform: translateY(-2000px); + } +} + +.fadeOutUpBig { + -webkit-animation-name: fadeOutUpBig; + -moz-animation-name: fadeOutUpBig; + -o-animation-name: fadeOutUpBig; + animation-name: fadeOutUpBig; +} +@-webkit-keyframes fadeOutDownBig { + 0% { + opacity: 1; + -webkit-transform: translateY(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(2000px); + } +} + +@-moz-keyframes fadeOutDownBig { + 0% { + opacity: 1; + -moz-transform: translateY(0); + } + + 100% { + opacity: 0; + -moz-transform: translateY(2000px); + } +} + +@-o-keyframes fadeOutDownBig { + 0% { + opacity: 1; + -o-transform: translateY(0); + } + + 100% { + opacity: 0; + -o-transform: translateY(2000px); + } +} + +@keyframes fadeOutDownBig { + 0% { + opacity: 1; + transform: translateY(0); + } + + 100% { + opacity: 0; + transform: translateY(2000px); + } +} + +.fadeOutDownBig { + -webkit-animation-name: fadeOutDownBig; + -moz-animation-name: fadeOutDownBig; + -o-animation-name: fadeOutDownBig; + animation-name: fadeOutDownBig; +} +@-webkit-keyframes fadeOutLeftBig { + 0% { + opacity: 1; + -webkit-transform: translateX(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(-2000px); + } +} + +@-moz-keyframes fadeOutLeftBig { + 0% { + opacity: 1; + -moz-transform: translateX(0); + } + + 100% { + opacity: 0; + -moz-transform: translateX(-2000px); + } +} + +@-o-keyframes fadeOutLeftBig { + 0% { + opacity: 1; + -o-transform: translateX(0); + } + + 100% { + opacity: 0; + -o-transform: translateX(-2000px); + } +} + +@keyframes fadeOutLeftBig { + 0% { + opacity: 1; + transform: translateX(0); + } + + 100% { + opacity: 0; + transform: translateX(-2000px); + } +} + +.fadeOutLeftBig { + -webkit-animation-name: fadeOutLeftBig; + -moz-animation-name: fadeOutLeftBig; + -o-animation-name: fadeOutLeftBig; + animation-name: fadeOutLeftBig; +} +@-webkit-keyframes fadeOutRightBig { + 0% { + opacity: 1; + -webkit-transform: translateX(0); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(2000px); + } +} +@-moz-keyframes fadeOutRightBig { + 0% { + opacity: 1; + -moz-transform: translateX(0); + } + + 100% { + opacity: 0; + -moz-transform: translateX(2000px); + } +} +@-o-keyframes fadeOutRightBig { + 0% { + opacity: 1; + -o-transform: translateX(0); + } + + 100% { + opacity: 0; + -o-transform: translateX(2000px); + } +} +@keyframes fadeOutRightBig { + 0% { + opacity: 1; + transform: translateX(0); + } + + 100% { + opacity: 0; + transform: translateX(2000px); + } +} + +.fadeOutRightBig { + -webkit-animation-name: fadeOutRightBig; + -moz-animation-name: fadeOutRightBig; + -o-animation-name: fadeOutRightBig; + animation-name: fadeOutRightBig; +} +@-webkit-keyframes bounceIn { + 0% { + opacity: 0; + -webkit-transform: scale(.3); + } + + 50% { + opacity: 1; + -webkit-transform: scale(1.05); + } + + 70% { + -webkit-transform: scale(.9); + } + + 100% { + -webkit-transform: scale(1); + } +} + +@-moz-keyframes bounceIn { + 0% { + opacity: 0; + -moz-transform: scale(.3); + } + + 50% { + opacity: 1; + -moz-transform: scale(1.05); + } + + 70% { + -moz-transform: scale(.9); + } + + 100% { + -moz-transform: scale(1); + } +} + +@-o-keyframes bounceIn { + 0% { + opacity: 0; + -o-transform: scale(.3); + } + + 50% { + opacity: 1; + -o-transform: scale(1.05); + } + + 70% { + -o-transform: scale(.9); + } + + 100% { + -o-transform: scale(1); + } +} + +@keyframes bounceIn { + 0% { + opacity: 0; + transform: scale(.3); + } + + 50% { + opacity: 1; + transform: scale(1.05); + } + + 70% { + transform: scale(.9); + } + + 100% { + transform: scale(1); + } +} + +.bounceIn { + -webkit-animation-name: bounceIn; + -moz-animation-name: bounceIn; + -o-animation-name: bounceIn; + animation-name: bounceIn; +} +@-webkit-keyframes bounceInUp { + 0% { + opacity: 0; + -webkit-transform: translateY(2000px); + } + + 60% { + opacity: 1; + -webkit-transform: translateY(-30px); + } + + 80% { + -webkit-transform: translateY(10px); + } + + 100% { + -webkit-transform: translateY(0); + } +} +@-moz-keyframes bounceInUp { + 0% { + opacity: 0; + -moz-transform: translateY(2000px); + } + + 60% { + opacity: 1; + -moz-transform: translateY(-30px); + } + + 80% { + -moz-transform: translateY(10px); + } + + 100% { + -moz-transform: translateY(0); + } +} + +@-o-keyframes bounceInUp { + 0% { + opacity: 0; + -o-transform: translateY(2000px); + } + + 60% { + opacity: 1; + -o-transform: translateY(-30px); + } + + 80% { + -o-transform: translateY(10px); + } + + 100% { + -o-transform: translateY(0); + } +} + +@keyframes bounceInUp { + 0% { + opacity: 0; + transform: translateY(2000px); + } + + 60% { + opacity: 1; + transform: translateY(-30px); + } + + 80% { + transform: translateY(10px); + } + + 100% { + transform: translateY(0); + } +} + +.bounceInUp { + -webkit-animation-name: bounceInUp; + -moz-animation-name: bounceInUp; + -o-animation-name: bounceInUp; + animation-name: bounceInUp; +} +@-webkit-keyframes bounceInDown { + 0% { + opacity: 0; + -webkit-transform: translateY(-2000px); + } + + 60% { + opacity: 1; + -webkit-transform: translateY(30px); + } + + 80% { + -webkit-transform: translateY(-10px); + } + + 100% { + -webkit-transform: translateY(0); + } +} + +@-moz-keyframes bounceInDown { + 0% { + opacity: 0; + -moz-transform: translateY(-2000px); + } + + 60% { + opacity: 1; + -moz-transform: translateY(30px); + } + + 80% { + -moz-transform: translateY(-10px); + } + + 100% { + -moz-transform: translateY(0); + } +} + +@-o-keyframes bounceInDown { + 0% { + opacity: 0; + -o-transform: translateY(-2000px); + } + + 60% { + opacity: 1; + -o-transform: translateY(30px); + } + + 80% { + -o-transform: translateY(-10px); + } + + 100% { + -o-transform: translateY(0); + } +} + +@keyframes bounceInDown { + 0% { + opacity: 0; + transform: translateY(-2000px); + } + + 60% { + opacity: 1; + transform: translateY(30px); + } + + 80% { + transform: translateY(-10px); + } + + 100% { + transform: translateY(0); + } +} + +.bounceInDown { + -webkit-animation-name: bounceInDown; + -moz-animation-name: bounceInDown; + -o-animation-name: bounceInDown; + animation-name: bounceInDown; +} +@-webkit-keyframes bounceInLeft { + 0% { + opacity: 0; + -webkit-transform: translateX(-2000px); + } + + 60% { + opacity: 1; + -webkit-transform: translateX(30px); + } + + 80% { + -webkit-transform: translateX(-10px); + } + + 100% { + -webkit-transform: translateX(0); + } +} + +@-moz-keyframes bounceInLeft { + 0% { + opacity: 0; + -moz-transform: translateX(-2000px); + } + + 60% { + opacity: 1; + -moz-transform: translateX(30px); + } + + 80% { + -moz-transform: translateX(-10px); + } + + 100% { + -moz-transform: translateX(0); + } +} + +@-o-keyframes bounceInLeft { + 0% { + opacity: 0; + -o-transform: translateX(-2000px); + } + + 60% { + opacity: 1; + -o-transform: translateX(30px); + } + + 80% { + -o-transform: translateX(-10px); + } + + 100% { + -o-transform: translateX(0); + } +} + +@keyframes bounceInLeft { + 0% { + opacity: 0; + transform: translateX(-2000px); + } + + 60% { + opacity: 1; + transform: translateX(30px); + } + + 80% { + transform: translateX(-10px); + } + + 100% { + transform: translateX(0); + } +} + +.bounceInLeft { + -webkit-animation-name: bounceInLeft; + -moz-animation-name: bounceInLeft; + -o-animation-name: bounceInLeft; + animation-name: bounceInLeft; +} +@-webkit-keyframes bounceInRight { + 0% { + opacity: 0; + -webkit-transform: translateX(2000px); + } + + 60% { + opacity: 1; + -webkit-transform: translateX(-30px); + } + + 80% { + -webkit-transform: translateX(10px); + } + + 100% { + -webkit-transform: translateX(0); + } +} + +@-moz-keyframes bounceInRight { + 0% { + opacity: 0; + -moz-transform: translateX(2000px); + } + + 60% { + opacity: 1; + -moz-transform: translateX(-30px); + } + + 80% { + -moz-transform: translateX(10px); + } + + 100% { + -moz-transform: translateX(0); + } +} + +@-o-keyframes bounceInRight { + 0% { + opacity: 0; + -o-transform: translateX(2000px); + } + + 60% { + opacity: 1; + -o-transform: translateX(-30px); + } + + 80% { + -o-transform: translateX(10px); + } + + 100% { + -o-transform: translateX(0); + } +} + +@keyframes bounceInRight { + 0% { + opacity: 0; + transform: translateX(2000px); + } + + 60% { + opacity: 1; + transform: translateX(-30px); + } + + 80% { + transform: translateX(10px); + } + + 100% { + transform: translateX(0); + } +} + +.bounceInRight { + -webkit-animation-name: bounceInRight; + -moz-animation-name: bounceInRight; + -o-animation-name: bounceInRight; + animation-name: bounceInRight; +} +@-webkit-keyframes bounceOut { + 0% { + -webkit-transform: scale(1); + } + + 25% { + -webkit-transform: scale(.95); + } + + 50% { + opacity: 1; + -webkit-transform: scale(1.1); + } + + 100% { + opacity: 0; + -webkit-transform: scale(.3); + } +} + +@-moz-keyframes bounceOut { + 0% { + -moz-transform: scale(1); + } + + 25% { + -moz-transform: scale(.95); + } + + 50% { + opacity: 1; + -moz-transform: scale(1.1); + } + + 100% { + opacity: 0; + -moz-transform: scale(.3); + } +} + +@-o-keyframes bounceOut { + 0% { + -o-transform: scale(1); + } + + 25% { + -o-transform: scale(.95); + } + + 50% { + opacity: 1; + -o-transform: scale(1.1); + } + + 100% { + opacity: 0; + -o-transform: scale(.3); + } +} + +@keyframes bounceOut { + 0% { + transform: scale(1); + } + + 25% { + transform: scale(.95); + } + + 50% { + opacity: 1; + transform: scale(1.1); + } + + 100% { + opacity: 0; + transform: scale(.3); + } +} + +.bounceOut { + -webkit-animation-name: bounceOut; + -moz-animation-name: bounceOut; + -o-animation-name: bounceOut; + animation-name: bounceOut; +} +@-webkit-keyframes bounceOutUp { + 0% { + -webkit-transform: translateY(0); + } + + 20% { + opacity: 1; + -webkit-transform: translateY(20px); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(-2000px); + } +} + +@-moz-keyframes bounceOutUp { + 0% { + -moz-transform: translateY(0); + } + + 20% { + opacity: 1; + -moz-transform: translateY(20px); + } + + 100% { + opacity: 0; + -moz-transform: translateY(-2000px); + } +} + +@-o-keyframes bounceOutUp { + 0% { + -o-transform: translateY(0); + } + + 20% { + opacity: 1; + -o-transform: translateY(20px); + } + + 100% { + opacity: 0; + -o-transform: translateY(-2000px); + } +} + +@keyframes bounceOutUp { + 0% { + transform: translateY(0); + } + + 20% { + opacity: 1; + transform: translateY(20px); + } + + 100% { + opacity: 0; + transform: translateY(-2000px); + } +} + +.bounceOutUp { + -webkit-animation-name: bounceOutUp; + -moz-animation-name: bounceOutUp; + -o-animation-name: bounceOutUp; + animation-name: bounceOutUp; +} +@-webkit-keyframes bounceOutDown { + 0% { + -webkit-transform: translateY(0); + } + + 20% { + opacity: 1; + -webkit-transform: translateY(-20px); + } + + 100% { + opacity: 0; + -webkit-transform: translateY(2000px); + } +} + +@-moz-keyframes bounceOutDown { + 0% { + -moz-transform: translateY(0); + } + + 20% { + opacity: 1; + -moz-transform: translateY(-20px); + } + + 100% { + opacity: 0; + -moz-transform: translateY(2000px); + } +} + +@-o-keyframes bounceOutDown { + 0% { + -o-transform: translateY(0); + } + + 20% { + opacity: 1; + -o-transform: translateY(-20px); + } + + 100% { + opacity: 0; + -o-transform: translateY(2000px); + } +} + +@keyframes bounceOutDown { + 0% { + transform: translateY(0); + } + + 20% { + opacity: 1; + transform: translateY(-20px); + } + + 100% { + opacity: 0; + transform: translateY(2000px); + } +} + +.bounceOutDown { + -webkit-animation-name: bounceOutDown; + -moz-animation-name: bounceOutDown; + -o-animation-name: bounceOutDown; + animation-name: bounceOutDown; +} +@-webkit-keyframes bounceOutLeft { + 0% { + -webkit-transform: translateX(0); + } + + 20% { + opacity: 1; + -webkit-transform: translateX(20px); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(-2000px); + } +} + +@-moz-keyframes bounceOutLeft { + 0% { + -moz-transform: translateX(0); + } + + 20% { + opacity: 1; + -moz-transform: translateX(20px); + } + + 100% { + opacity: 0; + -moz-transform: translateX(-2000px); + } +} + +@-o-keyframes bounceOutLeft { + 0% { + -o-transform: translateX(0); + } + + 20% { + opacity: 1; + -o-transform: translateX(20px); + } + + 100% { + opacity: 0; + -o-transform: translateX(-2000px); + } +} + +@keyframes bounceOutLeft { + 0% { + transform: translateX(0); + } + + 20% { + opacity: 1; + transform: translateX(20px); + } + + 100% { + opacity: 0; + transform: translateX(-2000px); + } +} + +.bounceOutLeft { + -webkit-animation-name: bounceOutLeft; + -moz-animation-name: bounceOutLeft; + -o-animation-name: bounceOutLeft; + animation-name: bounceOutLeft; +} +@-webkit-keyframes bounceOutRight { + 0% { + -webkit-transform: translateX(0); + } + + 20% { + opacity: 1; + -webkit-transform: translateX(-20px); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(2000px); + } +} + +@-moz-keyframes bounceOutRight { + 0% { + -moz-transform: translateX(0); + } + + 20% { + opacity: 1; + -moz-transform: translateX(-20px); + } + + 100% { + opacity: 0; + -moz-transform: translateX(2000px); + } +} + +@-o-keyframes bounceOutRight { + 0% { + -o-transform: translateX(0); + } + + 20% { + opacity: 1; + -o-transform: translateX(-20px); + } + + 100% { + opacity: 0; + -o-transform: translateX(2000px); + } +} + +@keyframes bounceOutRight { + 0% { + transform: translateX(0); + } + + 20% { + opacity: 1; + transform: translateX(-20px); + } + + 100% { + opacity: 0; + transform: translateX(2000px); + } +} + +.bounceOutRight { + -webkit-animation-name: bounceOutRight; + -moz-animation-name: bounceOutRight; + -o-animation-name: bounceOutRight; + animation-name: bounceOutRight; +} +@-webkit-keyframes rotateIn { + 0% { + -webkit-transform-origin: center center; + -webkit-transform: rotate(-200deg); + opacity: 0; + } + + 100% { + -webkit-transform-origin: center center; + -webkit-transform: rotate(0); + opacity: 1; + } +} +@-moz-keyframes rotateIn { + 0% { + -moz-transform-origin: center center; + -moz-transform: rotate(-200deg); + opacity: 0; + } + + 100% { + -moz-transform-origin: center center; + -moz-transform: rotate(0); + opacity: 1; + } +} +@-o-keyframes rotateIn { + 0% { + -o-transform-origin: center center; + -o-transform: rotate(-200deg); + opacity: 0; + } + + 100% { + -o-transform-origin: center center; + -o-transform: rotate(0); + opacity: 1; + } +} +@keyframes rotateIn { + 0% { + transform-origin: center center; + transform: rotate(-200deg); + opacity: 0; + } + + 100% { + transform-origin: center center; + transform: rotate(0); + opacity: 1; + } +} + +.rotateIn { + -webkit-animation-name: rotateIn; + -moz-animation-name: rotateIn; + -o-animation-name: rotateIn; + animation-name: rotateIn; +} +@-webkit-keyframes rotateInUpLeft { + 0% { + -webkit-transform-origin: left bottom; + -webkit-transform: rotate(90deg); + opacity: 0; + } + + 100% { + -webkit-transform-origin: left bottom; + -webkit-transform: rotate(0); + opacity: 1; + } +} + +@-moz-keyframes rotateInUpLeft { + 0% { + -moz-transform-origin: left bottom; + -moz-transform: rotate(90deg); + opacity: 0; + } + + 100% { + -moz-transform-origin: left bottom; + -moz-transform: rotate(0); + opacity: 1; + } +} + +@-o-keyframes rotateInUpLeft { + 0% { + -o-transform-origin: left bottom; + -o-transform: rotate(90deg); + opacity: 0; + } + + 100% { + -o-transform-origin: left bottom; + -o-transform: rotate(0); + opacity: 1; + } +} + +@keyframes rotateInUpLeft { + 0% { + transform-origin: left bottom; + transform: rotate(90deg); + opacity: 0; + } + + 100% { + transform-origin: left bottom; + transform: rotate(0); + opacity: 1; + } +} + +.rotateInUpLeft { + -webkit-animation-name: rotateInUpLeft; + -moz-animation-name: rotateInUpLeft; + -o-animation-name: rotateInUpLeft; + animation-name: rotateInUpLeft; +} +@-webkit-keyframes rotateInDownLeft { + 0% { + -webkit-transform-origin: left bottom; + -webkit-transform: rotate(-90deg); + opacity: 0; + } + + 100% { + -webkit-transform-origin: left bottom; + -webkit-transform: rotate(0); + opacity: 1; + } +} + +@-moz-keyframes rotateInDownLeft { + 0% { + -moz-transform-origin: left bottom; + -moz-transform: rotate(-90deg); + opacity: 0; + } + + 100% { + -moz-transform-origin: left bottom; + -moz-transform: rotate(0); + opacity: 1; + } +} + +@-o-keyframes rotateInDownLeft { + 0% { + -o-transform-origin: left bottom; + -o-transform: rotate(-90deg); + opacity: 0; + } + + 100% { + -o-transform-origin: left bottom; + -o-transform: rotate(0); + opacity: 1; + } +} + +@keyframes rotateInDownLeft { + 0% { + transform-origin: left bottom; + transform: rotate(-90deg); + opacity: 0; + } + + 100% { + transform-origin: left bottom; + transform: rotate(0); + opacity: 1; + } +} + +.rotateInDownLeft { + -webkit-animation-name: rotateInDownLeft; + -moz-animation-name: rotateInDownLeft; + -o-animation-name: rotateInDownLeft; + animation-name: rotateInDownLeft; +} +@-webkit-keyframes rotateInUpRight { + 0% { + -webkit-transform-origin: right bottom; + -webkit-transform: rotate(-90deg); + opacity: 0; + } + + 100% { + -webkit-transform-origin: right bottom; + -webkit-transform: rotate(0); + opacity: 1; + } +} + +@-moz-keyframes rotateInUpRight { + 0% { + -moz-transform-origin: right bottom; + -moz-transform: rotate(-90deg); + opacity: 0; + } + + 100% { + -moz-transform-origin: right bottom; + -moz-transform: rotate(0); + opacity: 1; + } +} + +@-o-keyframes rotateInUpRight { + 0% { + -o-transform-origin: right bottom; + -o-transform: rotate(-90deg); + opacity: 0; + } + + 100% { + -o-transform-origin: right bottom; + -o-transform: rotate(0); + opacity: 1; + } +} + +@keyframes rotateInUpRight { + 0% { + transform-origin: right bottom; + transform: rotate(-90deg); + opacity: 0; + } + + 100% { + transform-origin: right bottom; + transform: rotate(0); + opacity: 1; + } +} + +.rotateInUpRight { + -webkit-animation-name: rotateInUpRight; + -moz-animation-name: rotateInUpRight; + -o-animation-name: rotateInUpRight; + animation-name: rotateInUpRight; +} +@-webkit-keyframes rotateInDownRight { + 0% { + -webkit-transform-origin: right bottom; + -webkit-transform: rotate(90deg); + opacity: 0; + } + + 100% { + -webkit-transform-origin: right bottom; + -webkit-transform: rotate(0); + opacity: 1; + } +} + +@-moz-keyframes rotateInDownRight { + 0% { + -moz-transform-origin: right bottom; + -moz-transform: rotate(90deg); + opacity: 0; + } + + 100% { + -moz-transform-origin: right bottom; + -moz-transform: rotate(0); + opacity: 1; + } +} + +@-o-keyframes rotateInDownRight { + 0% { + -o-transform-origin: right bottom; + -o-transform: rotate(90deg); + opacity: 0; + } + + 100% { + -o-transform-origin: right bottom; + -o-transform: rotate(0); + opacity: 1; + } +} + +@keyframes rotateInDownRight { + 0% { + transform-origin: right bottom; + transform: rotate(90deg); + opacity: 0; + } + + 100% { + transform-origin: right bottom; + transform: rotate(0); + opacity: 1; + } +} + +.rotateInDownRight { + -webkit-animation-name: rotateInDownRight; + -moz-animation-name: rotateInDownRight; + -o-animation-name: rotateInDownRight; + animation-name: rotateInDownRight; +} +@-webkit-keyframes rotateOut { + 0% { + -webkit-transform-origin: center center; + -webkit-transform: rotate(0); + opacity: 1; + } + + 100% { + -webkit-transform-origin: center center; + -webkit-transform: rotate(200deg); + opacity: 0; + } +} + +@-moz-keyframes rotateOut { + 0% { + -moz-transform-origin: center center; + -moz-transform: rotate(0); + opacity: 1; + } + + 100% { + -moz-transform-origin: center center; + -moz-transform: rotate(200deg); + opacity: 0; + } +} + +@-o-keyframes rotateOut { + 0% { + -o-transform-origin: center center; + -o-transform: rotate(0); + opacity: 1; + } + + 100% { + -o-transform-origin: center center; + -o-transform: rotate(200deg); + opacity: 0; + } +} + +@keyframes rotateOut { + 0% { + transform-origin: center center; + transform: rotate(0); + opacity: 1; + } + + 100% { + transform-origin: center center; + transform: rotate(200deg); + opacity: 0; + } +} + +.rotateOut { + -webkit-animation-name: rotateOut; + -moz-animation-name: rotateOut; + -o-animation-name: rotateOut; + animation-name: rotateOut; +} +@-webkit-keyframes rotateOutUpLeft { + 0% { + -webkit-transform-origin: left bottom; + -webkit-transform: rotate(0); + opacity: 1; + } + + 100% { + -webkit-transform-origin: left bottom; + -webkit-transform: rotate(-90deg); + opacity: 0; + } +} + +@-moz-keyframes rotateOutUpLeft { + 0% { + -moz-transform-origin: left bottom; + -moz-transform: rotate(0); + opacity: 1; + } + + 100% { + -moz-transform-origin: left bottom; + -moz-transform: rotate(-90deg); + opacity: 0; + } +} + +@-o-keyframes rotateOutUpLeft { + 0% { + -o-transform-origin: left bottom; + -o-transform: rotate(0); + opacity: 1; + } + + 100% { + -o-transform-origin: left bottom; + -o-transform: rotate(-90deg); + opacity: 0; + } +} + +@keyframes rotateOutUpLeft { + 0% { + transform-origin: left bottom; + transform: rotate(0); + opacity: 1; + } + + 100% { + transform-origin: left bottom; + transform: rotate(-90deg); + opacity: 0; + } +} + +.rotateOutUpLeft { + -webkit-animation-name: rotateOutUpLeft; + -moz-animation-name: rotateOutUpLeft; + -o-animation-name: rotateOutUpLeft; + animation-name: rotateOutUpLeft; +} +@-webkit-keyframes rotateOutDownLeft { + 0% { + -webkit-transform-origin: left bottom; + -webkit-transform: rotate(0); + opacity: 1; + } + + 100% { + -webkit-transform-origin: left bottom; + -webkit-transform: rotate(90deg); + opacity: 0; + } +} + +@-moz-keyframes rotateOutDownLeft { + 0% { + -moz-transform-origin: left bottom; + -moz-transform: rotate(0); + opacity: 1; + } + + 100% { + -moz-transform-origin: left bottom; + -moz-transform: rotate(90deg); + opacity: 0; + } +} + +@-o-keyframes rotateOutDownLeft { + 0% { + -o-transform-origin: left bottom; + -o-transform: rotate(0); + opacity: 1; + } + + 100% { + -o-transform-origin: left bottom; + -o-transform: rotate(90deg); + opacity: 0; + } +} + +@keyframes rotateOutDownLeft { + 0% { + transform-origin: left bottom; + transform: rotate(0); + opacity: 1; + } + + 100% { + transform-origin: left bottom; + transform: rotate(90deg); + opacity: 0; + } +} + +.rotateOutDownLeft { + -webkit-animation-name: rotateOutDownLeft; + -moz-animation-name: rotateOutDownLeft; + -o-animation-name: rotateOutDownLeft; + animation-name: rotateOutDownLeft; +} +@-webkit-keyframes rotateOutUpRight { + 0% { + -webkit-transform-origin: right bottom; + -webkit-transform: rotate(0); + opacity: 1; + } + + 100% { + -webkit-transform-origin: right bottom; + -webkit-transform: rotate(90deg); + opacity: 0; + } +} + +@-moz-keyframes rotateOutUpRight { + 0% { + -moz-transform-origin: right bottom; + -moz-transform: rotate(0); + opacity: 1; + } + + 100% { + -moz-transform-origin: right bottom; + -moz-transform: rotate(90deg); + opacity: 0; + } +} + +@-o-keyframes rotateOutUpRight { + 0% { + -o-transform-origin: right bottom; + -o-transform: rotate(0); + opacity: 1; + } + + 100% { + -o-transform-origin: right bottom; + -o-transform: rotate(90deg); + opacity: 0; + } +} + +@keyframes rotateOutUpRight { + 0% { + transform-origin: right bottom; + transform: rotate(0); + opacity: 1; + } + + 100% { + transform-origin: right bottom; + transform: rotate(90deg); + opacity: 0; + } +} + +.rotateOutUpRight { + -webkit-animation-name: rotateOutUpRight; + -moz-animation-name: rotateOutUpRight; + -o-animation-name: rotateOutUpRight; + animation-name: rotateOutUpRight; +} +@-webkit-keyframes rotateOutDownRight { + 0% { + -webkit-transform-origin: right bottom; + -webkit-transform: rotate(0); + opacity: 1; + } + + 100% { + -webkit-transform-origin: right bottom; + -webkit-transform: rotate(-90deg); + opacity: 0; + } +} + +@-moz-keyframes rotateOutDownRight { + 0% { + -moz-transform-origin: right bottom; + -moz-transform: rotate(0); + opacity: 1; + } + + 100% { + -moz-transform-origin: right bottom; + -moz-transform: rotate(-90deg); + opacity: 0; + } +} + +@-o-keyframes rotateOutDownRight { + 0% { + -o-transform-origin: right bottom; + -o-transform: rotate(0); + opacity: 1; + } + + 100% { + -o-transform-origin: right bottom; + -o-transform: rotate(-90deg); + opacity: 0; + } +} + +@keyframes rotateOutDownRight { + 0% { + transform-origin: right bottom; + transform: rotate(0); + opacity: 1; + } + + 100% { + transform-origin: right bottom; + transform: rotate(-90deg); + opacity: 0; + } +} + +.rotateOutDownRight { + -webkit-animation-name: rotateOutDownRight; + -moz-animation-name: rotateOutDownRight; + -o-animation-name: rotateOutDownRight; + animation-name: rotateOutDownRight; +} +@-webkit-keyframes hinge { + 0% { -webkit-transform: rotate(0); -webkit-transform-origin: top left; -webkit-animation-timing-function: ease-in-out; } + 20%, 60% { -webkit-transform: rotate(80deg); -webkit-transform-origin: top left; -webkit-animation-timing-function: ease-in-out; } + 40% { -webkit-transform: rotate(60deg); -webkit-transform-origin: top left; -webkit-animation-timing-function: ease-in-out; } + 80% { -webkit-transform: rotate(60deg) translateY(0); opacity: 1; -webkit-transform-origin: top left; -webkit-animation-timing-function: ease-in-out; } + 100% { -webkit-transform: translateY(700px); opacity: 0; } +} + +@-moz-keyframes hinge { + 0% { -moz-transform: rotate(0); -moz-transform-origin: top left; -moz-animation-timing-function: ease-in-out; } + 20%, 60% { -moz-transform: rotate(80deg); -moz-transform-origin: top left; -moz-animation-timing-function: ease-in-out; } + 40% { -moz-transform: rotate(60deg); -moz-transform-origin: top left; -moz-animation-timing-function: ease-in-out; } + 80% { -moz-transform: rotate(60deg) translateY(0); opacity: 1; -moz-transform-origin: top left; -moz-animation-timing-function: ease-in-out; } + 100% { -moz-transform: translateY(700px); opacity: 0; } +} + +@-o-keyframes hinge { + 0% { -o-transform: rotate(0); -o-transform-origin: top left; -o-animation-timing-function: ease-in-out; } + 20%, 60% { -o-transform: rotate(80deg); -o-transform-origin: top left; -o-animation-timing-function: ease-in-out; } + 40% { -o-transform: rotate(60deg); -o-transform-origin: top left; -o-animation-timing-function: ease-in-out; } + 80% { -o-transform: rotate(60deg) translateY(0); opacity: 1; -o-transform-origin: top left; -o-animation-timing-function: ease-in-out; } + 100% { -o-transform: translateY(700px); opacity: 0; } +} + +@keyframes hinge { + 0% { transform: rotate(0); transform-origin: top left; animation-timing-function: ease-in-out; } + 20%, 60% { transform: rotate(80deg); transform-origin: top left; animation-timing-function: ease-in-out; } + 40% { transform: rotate(60deg); transform-origin: top left; animation-timing-function: ease-in-out; } + 80% { transform: rotate(60deg) translateY(0); opacity: 1; transform-origin: top left; animation-timing-function: ease-in-out; } + 100% { transform: translateY(700px); opacity: 0; } +} + +.hinge { + -webkit-animation-name: hinge; + -moz-animation-name: hinge; + -o-animation-name: hinge; + animation-name: hinge; +} +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes rollIn { + 0% { opacity: 0; -webkit-transform: translateX(-100%) rotate(-120deg); } + 100% { opacity: 1; -webkit-transform: translateX(0px) rotate(0deg); } +} + +@-moz-keyframes rollIn { + 0% { opacity: 0; -moz-transform: translateX(-100%) rotate(-120deg); } + 100% { opacity: 1; -moz-transform: translateX(0px) rotate(0deg); } +} + +@-o-keyframes rollIn { + 0% { opacity: 0; -o-transform: translateX(-100%) rotate(-120deg); } + 100% { opacity: 1; -o-transform: translateX(0px) rotate(0deg); } +} + +@keyframes rollIn { + 0% { opacity: 0; transform: translateX(-100%) rotate(-120deg); } + 100% { opacity: 1; transform: translateX(0px) rotate(0deg); } +} + +.rollIn { + -webkit-animation-name: rollIn; + -moz-animation-name: rollIn; + -o-animation-name: rollIn; + animation-name: rollIn; +} +/* originally authored by Nick Pettit - https://github.com/nickpettit/glide */ + +@-webkit-keyframes rollOut { + 0% { + opacity: 1; + -webkit-transform: translateX(0px) rotate(0deg); + } + + 100% { + opacity: 0; + -webkit-transform: translateX(100%) rotate(120deg); + } +} + +@-moz-keyframes rollOut { + 0% { + opacity: 1; + -moz-transform: translateX(0px) rotate(0deg); + } + + 100% { + opacity: 0; + -moz-transform: translateX(100%) rotate(120deg); + } +} + +@-o-keyframes rollOut { + 0% { + opacity: 1; + -o-transform: translateX(0px) rotate(0deg); + } + + 100% { + opacity: 0; + -o-transform: translateX(100%) rotate(120deg); + } +} + +@keyframes rollOut { + 0% { + opacity: 1; + transform: translateX(0px) rotate(0deg); + } + + 100% { + opacity: 0; + transform: translateX(100%) rotate(120deg); + } +} + +.rollOut { + -webkit-animation-name: rollOut; + -moz-animation-name: rollOut; + -o-animation-name: rollOut; + animation-name: rollOut; +} + +/* originally authored by Angelo Rohit - https://github.com/angelorohit */ + +@-webkit-keyframes lightSpeedIn { + 0% { -webkit-transform: translateX(100%) skewX(-30deg); opacity: 0; } + 60% { -webkit-transform: translateX(-20%) skewX(30deg); opacity: 1; } + 80% { -webkit-transform: translateX(0%) skewX(-15deg); opacity: 1; } + 100% { -webkit-transform: translateX(0%) skewX(0deg); opacity: 1; } +} + +@-moz-keyframes lightSpeedIn { + 0% { -moz-transform: translateX(100%) skewX(-30deg); opacity: 0; } + 60% { -moz-transform: translateX(-20%) skewX(30deg); opacity: 1; } + 80% { -moz-transform: translateX(0%) skewX(-15deg); opacity: 1; } + 100% { -moz-transform: translateX(0%) skewX(0deg); opacity: 1; } +} + +@-o-keyframes lightSpeedIn { + 0% { -o-transform: translateX(100%) skewX(-30deg); opacity: 0; } + 60% { -o-transform: translateX(-20%) skewX(30deg); opacity: 1; } + 80% { -o-transform: translateX(0%) skewX(-15deg); opacity: 1; } + 100% { -o-transform: translateX(0%) skewX(0deg); opacity: 1; } +} + +@keyframes lightSpeedIn { + 0% { transform: translateX(100%) skewX(-30deg); opacity: 0; } + 60% { transform: translateX(-20%) skewX(30deg); opacity: 1; } + 80% { transform: translateX(0%) skewX(-15deg); opacity: 1; } + 100% { transform: translateX(0%) skewX(0deg); opacity: 1; } +} + +.lightSpeedIn { + -webkit-animation-name: lightSpeedIn; + -moz-animation-name: lightSpeedIn; + -o-animation-name: lightSpeedIn; + animation-name: lightSpeedIn; + + -webkit-animation-timing-function: ease-out; + -moz-animation-timing-function: ease-out; + -o-animation-timing-function: ease-out; + animation-timing-function: ease-out; +} + +.animated.lightSpeedIn { + -webkit-animation-duration: 0.5s; + -moz-animation-duration: 0.5s; + -o-animation-duration: 0.5s; + animation-duration: 0.5s; +} + +/* originally authored by Angelo Rohit - https://github.com/angelorohit */ + +@-webkit-keyframes lightSpeedOut { + 0% { -webkit-transform: translateX(0%) skewX(0deg); opacity: 1; } + 100% { -webkit-transform: translateX(100%) skewX(-30deg); opacity: 0; } +} + +@-moz-keyframes lightSpeedOut { + 0% { -moz-transform: translateX(0%) skewX(0deg); opacity: 1; } + 100% { -moz-transform: translateX(100%) skewX(-30deg); opacity: 0; } +} + +@-o-keyframes lightSpeedOut { + 0% { -o-transform: translateX(0%) skewX(0deg); opacity: 1; } + 100% { -o-transform: translateX(100%) skewX(-30deg); opacity: 0; } +} + +@keyframes lightSpeedOut { + 0% { transform: translateX(0%) skewX(0deg); opacity: 1; } + 100% { transform: translateX(100%) skewX(-30deg); opacity: 0; } +} + +.lightSpeedOut { + -webkit-animation-name: lightSpeedOut; + -moz-animation-name: lightSpeedOut; + -o-animation-name: lightSpeedOut; + animation-name: lightSpeedOut; + + -webkit-animation-timing-function: ease-in; + -moz-animation-timing-function: ease-in; + -o-animation-timing-function: ease-in; + animation-timing-function: ease-in; +} + +.animated.lightSpeedOut { + -webkit-animation-duration: 0.25s; + -moz-animation-duration: 0.25s; + -o-animation-duration: 0.25s; + animation-duration: 0.25s; +} + +/* originally authored by Angelo Rohit - https://github.com/angelorohit */ + +@-webkit-keyframes wiggle { + 0% { -webkit-transform: skewX(9deg); } + 10% { -webkit-transform: skewX(-8deg); } + 20% { -webkit-transform: skewX(7deg); } + 30% { -webkit-transform: skewX(-6deg); } + 40% { -webkit-transform: skewX(5deg); } + 50% { -webkit-transform: skewX(-4deg); } + 60% { -webkit-transform: skewX(3deg); } + 70% { -webkit-transform: skewX(-2deg); } + 80% { -webkit-transform: skewX(1deg); } + 90% { -webkit-transform: skewX(0deg); } + 100% { -webkit-transform: skewX(0deg); } +} + +@-moz-keyframes wiggle { + 0% { -moz-transform: skewX(9deg); } + 10% { -moz-transform: skewX(-8deg); } + 20% { -moz-transform: skewX(7deg); } + 30% { -moz-transform: skewX(-6deg); } + 40% { -moz-transform: skewX(5deg); } + 50% { -moz-transform: skewX(-4deg); } + 60% { -moz-transform: skewX(3deg); } + 70% { -moz-transform: skewX(-2deg); } + 80% { -moz-transform: skewX(1deg); } + 90% { -moz-transform: skewX(0deg); } + 100% { -moz-transform: skewX(0deg); } +} + +@-o-keyframes wiggle { + 0% { -o-transform: skewX(9deg); } + 10% { -o-transform: skewX(-8deg); } + 20% { -o-transform: skewX(7deg); } + 30% { -o-transform: skewX(-6deg); } + 40% { -o-transform: skewX(5deg); } + 50% { -o-transform: skewX(-4deg); } + 60% { -o-transform: skewX(3deg); } + 70% { -o-transform: skewX(-2deg); } + 80% { -o-transform: skewX(1deg); } + 90% { -o-transform: skewX(0deg); } + 100% { -o-transform: skewX(0deg); } +} + +@keyframes wiggle { + 0% { transform: skewX(9deg); } + 10% { transform: skewX(-8deg); } + 20% { transform: skewX(7deg); } + 30% { transform: skewX(-6deg); } + 40% { transform: skewX(5deg); } + 50% { transform: skewX(-4deg); } + 60% { transform: skewX(3deg); } + 70% { transform: skewX(-2deg); } + 80% { transform: skewX(1deg); } + 90% { transform: skewX(0deg); } + 100% { transform: skewX(0deg); } +} + +.wiggle { + -webkit-animation-name: wiggle; + -moz-animation-name: wiggle; + -o-animation-name: wiggle; + animation-name: wiggle; + + -webkit-animation-timing-function: ease-in; + -moz-animation-timing-function: ease-in; + -o-animation-timing-function: ease-in; + animation-timing-function: ease-in; +} + +.animated.wiggle { + -webkit-animation-duration: 0.75s; + -moz-animation-duration: 0.75s; + -o-animation-duration: 0.75s; + animation-duration: 0.75s; +} diff --git a/openo-portal/portal-common/src/main/webapp/common/css/frame-style.css b/openo-portal/portal-common/src/main/webapp/common/css/frame-style.css index 31315483..7d5fd24f 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/frame-style.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/frame-style.css @@ -1,255 +1,255 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -#recommend_notice{ - height:30px; - width:100%; - left:0px; - right:0px; - line-height:30px; - text-align:center; - position:absolute; - float:bottom; - bottom:35px; - z-index:2; - cursor:default; -} - -#recommend_notice:hover { - color: #F75000; -} -.menuDivider{ - height:1px; - margin:9px 0; - text-align: center; - overflow:hidden; - background-color:#a6a6a6 !important; -} - -.page-content .page-breadcrumb.breadcrumb { - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; - box-shadow: none; - padding-right: 30px; - padding-left: 8px; - margin-top: 0px !important; - margin-bottom: 10px !important; - border:0px !important; - background-color: #fff; -} -.page-mainIframe{ -border: 0px; -margin: 0px; -padding: 0px; -} - -.zte-navbar-brand { - /*display: inline-block;*/ - padding:0px; - margin-top: -1px; - margin-right: 0px; - width: 225px; - height: 42px; -} - -.zte-navbar-brand img { - margin-left: 10px; - margin-top: 4px; -} - -.zte-navbar-brand.text-logo { - padding-left: 20px; - padding-top: 12px; -} -.zte-brand-text{ - font-size:14px; - font-family:Arial; - color:#ffffff !important; - font-family:"microsoft yahei"; -} -.zte-theme-panel { - width: 45px; - margin-top: -2px; - margin-right: -5px; - z-index: 999; - float: right; - position:relative; -} - -.zte-theme-panel > .toggler { - top:12px; - right:14px; - padding:11px; - cursor:pointer; - position:absolute; - display: block; - background:url(../image/icon-color.png) center no-repeat; -} - -.zte-theme-panel > .toggler:hover { - background-color: #3d3d3d; -} - -.zte-theme-panel > .toggler-close { - display: none; - top:4px; - right:0; - padding:20px; - cursor:pointer; - position:absolute; - background: #3d3d3d url(../image/icon-color-close.png) center no-repeat !important; -} - -.zte-theme-panel > .toggler-close:hover { - background-color:#222 !important; -} - -.zte-theme-panel > .theme-options { - min-width:228px; - top: 44px; - right: 0px; - display:none; - position:absolute; - background:#3d3d3d; -} - -.zte-theme-panel > .theme-options > .theme-option { - color:#cfcfcf; - padding: 15px; - border-top:1px solid #585858; - margin-top: 0px; - margin-bottom: 0px; -} - -.zte-theme-panel > .theme-options > .theme-option.theme-colors { - border-top: 0; -} - -.zte-theme-panel > .theme-options > .theme-option > span { - display: inline-block; - width: 80px; - font-size: 14px; -} - -.zte-theme-panel > .theme-options > .theme-option.theme-colors > span { - display: block; - width: auto; -} - -.zte-theme-panel > .theme-options > .theme-option > select.form-control { - display: inline; - width: 110px !important; -} - -.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul { - list-style:none; - padding: 0; - display: block; - margin-bottom: 1px !important; - margin-top: 10px; -} - -.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li { - width:24px; - height:24px; - margin:4 4px; - cursor:pointer; - list-style:none; - float: left; - border:solid 1px #707070; -} - -.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li:first-child { - margin-left: 4; -} - -.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li:hover, -.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li.current { - border:solid 2px #ebebeb; -} - -.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-black { - background:#333438; -} -.zte-theme-panel> .theme-options > .theme-option.theme-colors > ul > li.color-ztebluelight { - background:#3366cc; -} -.zte-theme-panel> .theme-options > .theme-option.theme-colors > ul > li.color-ztebluelight2 { - background:#1178ee; -} -.zte-theme-panel> .theme-options > .theme-option.theme-colors > ul > li.color-ztebluelight3 { - background:#067ead; -} -.zte-theme-panel> .theme-options > .theme-option.theme-colors > ul > li.color-ztebluelight4 { - background:#333333; -} -.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-zteblue { - background:#1b8fd3; -} -.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-grey { - background:#6d6d6d; -} - -.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-blue { - background:#124f94; -} - -.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-brown { - background:#623f18; -} - -.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-purple { - background:#701584; -} - -.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-white { - background:#fff; -} -.header.navbar .navbar-nav { - min-width: 210px; -} -.header.navbar .navbar-toggle { - margin: 8px 0px 4px 6px; - padding: 5px 0px 6px 6px; -} - -.nav-tabs li a span.remove{ - color: #f00; - margin-left: 10px; - cursor:hand; -} -.nav-tabs li a span.tabdropremove{ - color: #f00; - margin-right: 10px; - float:right; - cursor:hand; -} -@media (min-width: 768px){ - .navbar-collapse.collapse.hideSideMenuForMainPage { - display: none !important; - } -} -#f_hormenu li.mega-menu-dropdown{ - margin-left:30px; -} -.page-sidebar .sidebar-toggler{ -margin-left:190px; -margin-bottom:5px; -} -.header.navbar .hor-menu ul.nav li.current .selected, -.header.navbar .hor-menu ul.nav li.active .selected{ -margin-bottom:-5px; +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#recommend_notice{ + height:30px; + width:100%; + left:0px; + right:0px; + line-height:30px; + text-align:center; + position:absolute; + float:bottom; + bottom:35px; + z-index:2; + cursor:default; +} + +#recommend_notice:hover { + color: #F75000; +} +.menuDivider{ + height:1px; + margin:9px 0; + text-align: center; + overflow:hidden; + background-color:#a6a6a6 !important; +} + +.page-content .page-breadcrumb.breadcrumb { + -webkit-border-radius: 0px; + -moz-border-radius: 0px; + border-radius: 0px; + box-shadow: none; + padding-right: 30px; + padding-left: 8px; + margin-top: 0px !important; + margin-bottom: 10px !important; + border:0px !important; + background-color: #fff; +} +.page-mainIframe{ +border: 0px; +margin: 0px; +padding: 0px; +} + +.zte-navbar-brand { + /*display: inline-block;*/ + padding:0px; + margin-top: -1px; + margin-right: 0px; + width: 225px; + height: 42px; +} + +.zte-navbar-brand img { + margin-left: 10px; + margin-top: 4px; +} + +.zte-navbar-brand.text-logo { + padding-left: 20px; + padding-top: 12px; +} +.zte-brand-text{ + font-size:14px; + font-family:Arial; + color:#ffffff !important; + font-family:"microsoft yahei"; +} +.zte-theme-panel { + width: 45px; + margin-top: -2px; + margin-right: -5px; + z-index: 999; + float: right; + position:relative; +} + +.zte-theme-panel > .toggler { + top:12px; + right:14px; + padding:11px; + cursor:pointer; + position:absolute; + display: block; + background:url(../image/icon-color.png) center no-repeat; +} + +.zte-theme-panel > .toggler:hover { + background-color: #3d3d3d; +} + +.zte-theme-panel > .toggler-close { + display: none; + top:4px; + right:0; + padding:20px; + cursor:pointer; + position:absolute; + background: #3d3d3d url(../image/icon-color-close.png) center no-repeat !important; +} + +.zte-theme-panel > .toggler-close:hover { + background-color:#222 !important; +} + +.zte-theme-panel > .theme-options { + min-width:228px; + top: 44px; + right: 0px; + display:none; + position:absolute; + background:#3d3d3d; +} + +.zte-theme-panel > .theme-options > .theme-option { + color:#cfcfcf; + padding: 15px; + border-top:1px solid #585858; + margin-top: 0px; + margin-bottom: 0px; +} + +.zte-theme-panel > .theme-options > .theme-option.theme-colors { + border-top: 0; +} + +.zte-theme-panel > .theme-options > .theme-option > span { + display: inline-block; + width: 80px; + font-size: 14px; +} + +.zte-theme-panel > .theme-options > .theme-option.theme-colors > span { + display: block; + width: auto; +} + +.zte-theme-panel > .theme-options > .theme-option > select.form-control { + display: inline; + width: 110px !important; +} + +.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul { + list-style:none; + padding: 0; + display: block; + margin-bottom: 1px !important; + margin-top: 10px; +} + +.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li { + width:24px; + height:24px; + margin:4 4px; + cursor:pointer; + list-style:none; + float: left; + border:solid 1px #707070; +} + +.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li:first-child { + margin-left: 4; +} + +.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li:hover, +.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li.current { + border:solid 2px #ebebeb; +} + +.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-black { + background:#333438; +} +.zte-theme-panel> .theme-options > .theme-option.theme-colors > ul > li.color-ztebluelight { + background:#3366cc; +} +.zte-theme-panel> .theme-options > .theme-option.theme-colors > ul > li.color-ztebluelight2 { + background:#1178ee; +} +.zte-theme-panel> .theme-options > .theme-option.theme-colors > ul > li.color-ztebluelight3 { + background:#067ead; +} +.zte-theme-panel> .theme-options > .theme-option.theme-colors > ul > li.color-ztebluelight4 { + background:#333333; +} +.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-zteblue { + background:#1b8fd3; +} +.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-grey { + background:#6d6d6d; +} + +.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-blue { + background:#124f94; +} + +.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-brown { + background:#623f18; +} + +.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-purple { + background:#701584; +} + +.zte-theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-white { + background:#fff; +} +.header.navbar .navbar-nav { + min-width: 210px; +} +.header.navbar .navbar-toggle { + margin: 8px 0px 4px 6px; + padding: 5px 0px 6px 6px; +} + +.nav-tabs li a span.remove{ + color: #f00; + margin-left: 10px; + cursor:hand; +} +.nav-tabs li a span.tabdropremove{ + color: #f00; + margin-right: 10px; + float:right; + cursor:hand; +} +@media (min-width: 768px){ + .navbar-collapse.collapse.hideSideMenuForMainPage { + display: none !important; + } +} +#f_hormenu li.mega-menu-dropdown{ + margin-left:30px; +} +.page-sidebar .sidebar-toggler{ +margin-left:190px; +margin-bottom:5px; +} +.header.navbar .hor-menu ul.nav li.current .selected, +.header.navbar .hor-menu ul.nav li.active .selected{ +margin-bottom:-5px; } \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/css/login-apk.css b/openo-portal/portal-common/src/main/webapp/common/css/login-apk.css index b736b809..9c308433 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/login-apk.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/login-apk.css @@ -1,183 +1,183 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -Login page -***/ - -/* logo page */ -.login { - background-color: #666 !important; -} - -.login .logo { - margin: 0 auto; - margin-top:60px; - padding: 15px; - text-align: center; -} - - -.login .content { - background: url(../../../common/image/bg-white-lock.png) repeat; - width: 360px; - margin: 0 auto; - margin-bottom: 0px; - padding: 30px; - padding-top: 20px; - padding-bottom: 15px; -} - -.login .content h3 { - color: #eee; -} -.login .content h4 { - color: #eee; -} - -.login .content p, -.login .content label { - color: #fff; -} - -.login .content .login-form, -.login .content .forget-form { - padding: 0px; - margin: 0px; -} - -.login .content .form-control { - background-color: #fff; -} - -.login .content .forget-form { - display: none; -} - -.login .content .register-form { - display: none; -} - -.login .content .form-title { - font-weight: 300; - margin-bottom: 25px; -} - -.login .content .form-actions { - background-color: transparent; - clear: both; - border: 0px; - padding: 0px 30px 25px 30px; - margin-left: -30px; - margin-right: -30px; -} - -.login .content .form-actions .checkbox { - margin-left: 20px; - padding-left: 0; -} - -.login .content .forget-form .form-actions { - border: 0; - margin-bottom: 0; - padding-bottom: 20px; -} - -.login .content .register-form .form-actions { - border: 0; - margin-bottom: 0; - padding-bottom: 0px; -} - -.login .content .form-actions .checkbox { - margin-top: 8px; - display: inline-block; -} - -.login .content .form-actions .btn { - margin-top: 1px; -} - -.login .content .forget-password { - margin-top: 25px; -} - -.login .content .create-account { - border-top: 1px dotted #eee; - padding-top: 10px; - margin-top: 15px; -} - -.login .content .create-account a { - display: inline-block; - margin-top: 5px; -} - -/* select2 dropdowns */ -.login .content .select2-container i { - display: inline-block; - position: relative; - color: #ccc; - z-index: 1; - top:1px; - margin: 4px 4px 0px 3px; - width: 16px; - height: 16px; - font-size: 16px; - text-align: center; -} - -.login .content .has-error .select2-container i { - color: #b94a48; -} - -.login .content .select2-container a span { - font-size: 13px; -} - -.login .content .select2-container a span img { - margin-left: 4px; -} - -/* footer copyright */ -.login .copyright { - text-align: center; - margin: 0 auto; - padding: 10px; - color: #eee; - font-size: 13px; -} - -@media (max-width: 480px) { - /*** - Login page - ***/ - .login .logo { - margin-top:10px; - } - - .login .content { - padding: 30px; - width: 222px; - } - - .login .content h3 { - font-size: 22px; - } - - .login .checkbox { - font-size: 13px; - } +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +Login page +***/ + +/* logo page */ +.login { + background-color: #666 !important; +} + +.login .logo { + margin: 0 auto; + margin-top:60px; + padding: 15px; + text-align: center; +} + + +.login .content { + background: url(../../../common/image/bg-white-lock.png) repeat; + width: 360px; + margin: 0 auto; + margin-bottom: 0px; + padding: 30px; + padding-top: 20px; + padding-bottom: 15px; +} + +.login .content h3 { + color: #eee; +} +.login .content h4 { + color: #eee; +} + +.login .content p, +.login .content label { + color: #fff; +} + +.login .content .login-form, +.login .content .forget-form { + padding: 0px; + margin: 0px; +} + +.login .content .form-control { + background-color: #fff; +} + +.login .content .forget-form { + display: none; +} + +.login .content .register-form { + display: none; +} + +.login .content .form-title { + font-weight: 300; + margin-bottom: 25px; +} + +.login .content .form-actions { + background-color: transparent; + clear: both; + border: 0px; + padding: 0px 30px 25px 30px; + margin-left: -30px; + margin-right: -30px; +} + +.login .content .form-actions .checkbox { + margin-left: 20px; + padding-left: 0; +} + +.login .content .forget-form .form-actions { + border: 0; + margin-bottom: 0; + padding-bottom: 20px; +} + +.login .content .register-form .form-actions { + border: 0; + margin-bottom: 0; + padding-bottom: 0px; +} + +.login .content .form-actions .checkbox { + margin-top: 8px; + display: inline-block; +} + +.login .content .form-actions .btn { + margin-top: 1px; +} + +.login .content .forget-password { + margin-top: 25px; +} + +.login .content .create-account { + border-top: 1px dotted #eee; + padding-top: 10px; + margin-top: 15px; +} + +.login .content .create-account a { + display: inline-block; + margin-top: 5px; +} + +/* select2 dropdowns */ +.login .content .select2-container i { + display: inline-block; + position: relative; + color: #ccc; + z-index: 1; + top:1px; + margin: 4px 4px 0px 3px; + width: 16px; + height: 16px; + font-size: 16px; + text-align: center; +} + +.login .content .has-error .select2-container i { + color: #b94a48; +} + +.login .content .select2-container a span { + font-size: 13px; +} + +.login .content .select2-container a span img { + margin-left: 4px; +} + +/* footer copyright */ +.login .copyright { + text-align: center; + margin: 0 auto; + padding: 10px; + color: #eee; + font-size: 13px; +} + +@media (max-width: 480px) { + /*** + Login page + ***/ + .login .logo { + margin-top:10px; + } + + .login .content { + padding: 30px; + width: 222px; + } + + .login .content h3 { + font-size: 22px; + } + + .login .checkbox { + font-size: 13px; + } } \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/css/login.css b/openo-portal/portal-common/src/main/webapp/common/css/login.css index 93fa8b1c..9e0ac855 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/login.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/login.css @@ -1,200 +1,200 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -Login page -***/ - -/* logo page */ -.login { - background-color: #666 !important; -} - -.login .logo { - margin: 0 auto; - padding: 15px; - text-align: center; -} - - -.login .content { - background: url(../image/bg-white-lock.png) repeat; - width: 360px; - margin: 0 auto; - margin-top: 150px; - padding: 30px; - padding-top: 20px; - padding-bottom: 15px; - border-radius:5px; - -webkit-box-shadow: 2px 3px 3px #717171; - -moz-box-shadow: 2px 3px 3px #717171; - box-shadow: -1px 1px 1px rgba(255,255,255,0.6) inset,-3px 3px 5px rgba(0,0,0,0.2); -} - -.login .content h3 { - color: #474747; - letter-spacing:5px; - font-size:20px ; - font-family: 'Microsoft Yahei', sans-serif; - text-shadow:-1px 1px rgba(221, 221, 221, 1); -} -.login .content h4 { - color: #eee; -} - -.login .content p, -.login .content label { - color: #4b4b4b; -} - -.login .content .login-form, -.login .content .forget-form { - padding: 0px; - margin: 0px; -} - -.login .content .form-control { - background-color: #fff; - border-radius:15px; -} - -.login .content .forget-form { - display: none; -} - -.login .content .register-form { - display: none; -} - -.login .content .form-title { - font-weight: 300; - margin-bottom: 25px; - text-align: center; -} - -.login .content .form-actions { - background-color: transparent; - clear: both; - border: 0px; - padding: 0px 30px 25px 30px; - margin-left: -30px; - margin-right: -30px; -} - -.login .content .form-actions .checkbox { - margin-left: 20px; - padding-left: 0; -} - -.login .content .forget-form .form-actions { - border: 0; - margin-bottom: 0; - padding-bottom: 20px; -} - -.login .content .register-form .form-actions { - border: 0; - margin-bottom: 0; - padding-bottom: 0px; -} - -.login .content .form-actions .checkbox { - margin-top: 8px; - display: inline-block; -} - -.login .content .form-actions .btn { - margin-top: 1px; - border-radius:20px; -} - -.login .content .forget-password { - margin-top: 25px; -} - -.login .content .create-account { - border-top: 1px dotted #eee; - padding-top: 10px; - margin-top: 15px; -} - -.login .content .create-account a { - display: inline-block; - margin-top: 5px; -} - -/* select2 dropdowns */ -.login .content .select2-container i { - display: inline-block; - position: relative; - color: #ccc; - z-index: 1; - top:1px; - margin: 4px 4px 0px 3px; - width: 16px; - height: 16px; - font-size: 16px; - text-align: center; -} - -.login .content .has-error .select2-container i { - color: #b94a48; -} - -.login .content .select2-container a span { - font-size: 13px; -} - -.login .content .select2-container a span img { - margin-left: 4px; -} -.form-control:focus{ - border:1px solid #5ca3b7 !important; - box-shadow:0px 0px 2px #2aabec !important; -} -/* footer copyright */ -.login .copyright { - text-align: center; - margin: 0 auto; - padding: 10px; - color: #eee; - font-size: 13px; -} - -@media (max-width: 480px) { - /*** - Login page - ***/ - .login .logo { - margin-top:10px; - } - - .login .content { - padding: 30px; - width: 222px; - } - - .login .content h3 { - font-size: 22px; - } - - .login .checkbox { - font-size: 13px; - } -} - -.descLabel{ - width:320px; +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +Login page +***/ + +/* logo page */ +.login { + background-color: #666 !important; +} + +.login .logo { + margin: 0 auto; + padding: 15px; + text-align: center; +} + + +.login .content { + background: url(../image/bg-white-lock.png) repeat; + width: 360px; + margin: 0 auto; + margin-top: 150px; + padding: 30px; + padding-top: 20px; + padding-bottom: 15px; + border-radius:5px; + -webkit-box-shadow: 2px 3px 3px #717171; + -moz-box-shadow: 2px 3px 3px #717171; + box-shadow: -1px 1px 1px rgba(255,255,255,0.6) inset,-3px 3px 5px rgba(0,0,0,0.2); +} + +.login .content h3 { + color: #474747; + letter-spacing:5px; + font-size:20px ; + font-family: 'Microsoft Yahei', sans-serif; + text-shadow:-1px 1px rgba(221, 221, 221, 1); +} +.login .content h4 { + color: #eee; +} + +.login .content p, +.login .content label { + color: #4b4b4b; +} + +.login .content .login-form, +.login .content .forget-form { + padding: 0px; + margin: 0px; +} + +.login .content .form-control { + background-color: #fff; + border-radius:15px; +} + +.login .content .forget-form { + display: none; +} + +.login .content .register-form { + display: none; +} + +.login .content .form-title { + font-weight: 300; + margin-bottom: 25px; + text-align: center; +} + +.login .content .form-actions { + background-color: transparent; + clear: both; + border: 0px; + padding: 0px 30px 25px 30px; + margin-left: -30px; + margin-right: -30px; +} + +.login .content .form-actions .checkbox { + margin-left: 20px; + padding-left: 0; +} + +.login .content .forget-form .form-actions { + border: 0; + margin-bottom: 0; + padding-bottom: 20px; +} + +.login .content .register-form .form-actions { + border: 0; + margin-bottom: 0; + padding-bottom: 0px; +} + +.login .content .form-actions .checkbox { + margin-top: 8px; + display: inline-block; +} + +.login .content .form-actions .btn { + margin-top: 1px; + border-radius:20px; +} + +.login .content .forget-password { + margin-top: 25px; +} + +.login .content .create-account { + border-top: 1px dotted #eee; + padding-top: 10px; + margin-top: 15px; +} + +.login .content .create-account a { + display: inline-block; + margin-top: 5px; +} + +/* select2 dropdowns */ +.login .content .select2-container i { + display: inline-block; + position: relative; + color: #ccc; + z-index: 1; + top:1px; + margin: 4px 4px 0px 3px; + width: 16px; + height: 16px; + font-size: 16px; + text-align: center; +} + +.login .content .has-error .select2-container i { + color: #b94a48; +} + +.login .content .select2-container a span { + font-size: 13px; +} + +.login .content .select2-container a span img { + margin-left: 4px; +} +.form-control:focus{ + border:1px solid #5ca3b7 !important; + box-shadow:0px 0px 2px #2aabec !important; +} +/* footer copyright */ +.login .copyright { + text-align: center; + margin: 0 auto; + padding: 10px; + color: #eee; + font-size: 13px; +} + +@media (max-width: 480px) { + /*** + Login page + ***/ + .login .logo { + margin-top:10px; + } + + .login .content { + padding: 30px; + width: 222px; + } + + .login .content h3 { + font-size: 22px; + } + + .login .checkbox { + font-size: 13px; + } +} + +.descLabel{ + width:320px; } \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/css/main_page.css b/openo-portal/portal-common/src/main/webapp/common/css/main_page.css index 87fe6cbc..8f2efaf5 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/main_page.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/main_page.css @@ -1,48 +1,48 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -html, body { - margin: 0; - padding: 0; -} - -.layout { - padding-top:0px; -} - -body { - font-family: microsoft yahei !important; - background: #484747; -} - -.main-page-wrapper { - margin-left: 100px; - margin-right: 100px; -} - -.brick .row { - margin-right: 5px; - margin-left: 5px; - margin-top: 10px; -} - -.column{ - padding-left: 5px; - padding-right: 5px; -} - -a:hover{ - color:white; -} +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +html, body { + margin: 0; + padding: 0; +} + +.layout { + padding-top:0px; +} + +body { + font-family: microsoft yahei !important; + background: #484747; +} + +.main-page-wrapper { + margin-left: 100px; + margin-right: 100px; +} + +.brick .row { + margin-right: 5px; + margin-left: 5px; + margin-top: 10px; +} + +.column{ + padding-left: 5px; + padding-right: 5px; +} + +a:hover{ + color:white; +} diff --git a/openo-portal/portal-common/src/main/webapp/common/css/more-operation.css b/openo-portal/portal-common/src/main/webapp/common/css/more-operation.css index d072f498..df024273 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/more-operation.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/more-operation.css @@ -1,167 +1,167 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -a { - text-decoration: none !important; -} - -.box{ -height:95px ; -color:#333; -text-align:right; -padding-bottom:20px; -font-size:14px; -text-align:center; -} - -.row a{ -font-weight:normal; -font-size:14px; - -} - -.alarmTitle{ -padding-left:20px; -margin-top: 10px; -} -@media (min-width: 758px) and (max-width: 997px){ - .alarmTitle{ - display:none; - } - .alarmTypePadding{ - padding-left: 25%; - } -} -@media (max-width: 757px){ - .alarmTitle{ - display:none; - } - .alarmTypePadding{ - padding-left: 20%; - } -} - -.titlefont{ - font-size:16px; -} -.label{ - font-weight: 400; -} - -.row1{ - margin-right: 0px !important; -} - -.queryLink{ - font-size: 14px; - margin-top: 10px; - color:#5b9bd1; -} -.carousel-control { - position: absolute; - top: 0; - left: 0; - bottom: 0; - width: 3% !important; - opacity: .5; - filter: alpha(opacity=50); - font-size: 20px; - color: #C7C7C7; - text-align: center; - text-shadow: 0 1px 2px rgba(0,0,0,.6); -} -.carousel-control:hover{ - color: #969494; -} -.carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-prev, .carousel-control .icon-next { - margin-left:0; - font-size:25px; - margin-top:-12px; -} -.carousel-control .icon-next, .carousel-control .glyphicon-chevron-right{ - right:35px; -} - -.carousel-inner{ - overflow: visible; -} - -.item { - overflow: visible !important; - display: block!important; - margin-bottom: 0px !important; -} - -.carousel-control.left,.carousel-control.right{ - background-image:none; -} -.upArrowArea{ - background:#fff; - margin-top:-18px; - margin-bottom: 15px; -} -.boxOperation { - color:#1178ee; - background-repeat: no-repeat; - background-position-y: 100%; - height:30px; - line-height:30px; - font-size: 14px; - font-weight:bold; - margin-top:5px; - height:35px; - padding-left:15px; - padding-right:15px; -} -.moreButton:first-child .boxOperation { - margin-left: 45px; -} -.moreButton:last-child .boxOperation { - margin-right: 45px; -} -.moreButton:first-child .boxOperationOnePage{ - margin-left: 0px !important; -} - -.moreOpen { - height: 40px; -} -.moreClose { - height: 0px; - display:none !important; -} -.moreButton{ - float: left; - position: relative; - min-height: 1px; - } -.boxOperation:hover{ - color:#1069d0; -} -.moreButtonSelected{ - background-color: #fff !important; - color:#333; - border-top:3px #f3565d solid; -} -ul{ - list-style-type:none; -} -li{ - list-style-type:none; -} -.dropdown-menu { - z-index: 9991 !important;; +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +a { + text-decoration: none !important; +} + +.box{ +height:95px ; +color:#333; +text-align:right; +padding-bottom:20px; +font-size:14px; +text-align:center; +} + +.row a{ +font-weight:normal; +font-size:14px; + +} + +.alarmTitle{ +padding-left:20px; +margin-top: 10px; +} +@media (min-width: 758px) and (max-width: 997px){ + .alarmTitle{ + display:none; + } + .alarmTypePadding{ + padding-left: 25%; + } +} +@media (max-width: 757px){ + .alarmTitle{ + display:none; + } + .alarmTypePadding{ + padding-left: 20%; + } +} + +.titlefont{ + font-size:16px; +} +.label{ + font-weight: 400; +} + +.row1{ + margin-right: 0px !important; +} + +.queryLink{ + font-size: 14px; + margin-top: 10px; + color:#5b9bd1; +} +.carousel-control { + position: absolute; + top: 0; + left: 0; + bottom: 0; + width: 3% !important; + opacity: .5; + filter: alpha(opacity=50); + font-size: 20px; + color: #C7C7C7; + text-align: center; + text-shadow: 0 1px 2px rgba(0,0,0,.6); +} +.carousel-control:hover{ + color: #969494; +} +.carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-prev, .carousel-control .icon-next { + margin-left:0; + font-size:25px; + margin-top:-12px; +} +.carousel-control .icon-next, .carousel-control .glyphicon-chevron-right{ + right:35px; +} + +.carousel-inner{ + overflow: visible; +} + +.item { + overflow: visible !important; + display: block!important; + margin-bottom: 0px !important; +} + +.carousel-control.left,.carousel-control.right{ + background-image:none; +} +.upArrowArea{ + background:#fff; + margin-top:-18px; + margin-bottom: 15px; +} +.boxOperation { + color:#1178ee; + background-repeat: no-repeat; + background-position-y: 100%; + height:30px; + line-height:30px; + font-size: 14px; + font-weight:bold; + margin-top:5px; + height:35px; + padding-left:15px; + padding-right:15px; +} +.moreButton:first-child .boxOperation { + margin-left: 45px; +} +.moreButton:last-child .boxOperation { + margin-right: 45px; +} +.moreButton:first-child .boxOperationOnePage{ + margin-left: 0px !important; +} + +.moreOpen { + height: 40px; +} +.moreClose { + height: 0px; + display:none !important; +} +.moreButton{ + float: left; + position: relative; + min-height: 1px; + } +.boxOperation:hover{ + color:#1069d0; +} +.moreButtonSelected{ + background-color: #fff !important; + color:#333; + border-top:3px #f3565d solid; +} +ul{ + list-style-type:none; +} +li{ + list-style-type:none; +} +.dropdown-menu { + z-index: 9991 !important;; } \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/css/ngict-component.css b/openo-portal/portal-common/src/main/webapp/common/css/ngict-component.css index 93ddbb8b..5cde21a8 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/ngict-component.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/ngict-component.css @@ -1,789 +1,789 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -body { - color: #333; - font-size: 14px; - font-family: "Microsoft yahei", Arial !important; - background-color: transparent; -} - -/*fontIcon*/ - -[class^="ict-"], -[class*=" ict-"] { - padding-right: 3px; -} - -/*common color*/ - -.blue1 { - background-color: #5b9bd1; - color: #fff; -} - -.blue1:hover { - background-color: #487ca9; - color: #fff; -} - -.blue2 { - background-color: #57b5e3; - color: #fff; -} - -.blue2:hover { - background-color: #43a1cf; - color: #fff; -} - -.red { - background-color: #e35b5a; - color: #fff; -} - -.red:hover { - background-color: #d45150; - color: #fff; -} - -.green { - background-color: #44b6ae; - color: #fff; -} - -.green:hover { - background-color: #329d96; - color: #fff; -} - -.gold { - background-color: #c0af69; - color: #fff; -} - -.gold:hover { - background-color: #ad9a4d; - color: #fff; -} - -.grey { - background-color: #e5e5e5; - color: #333; -} - -.grey:hover { - background-color: #d8d8d8; - color: #333; -} - -.dark_grey { - background-color: #333; - color: #fff; -} - -.dark_grey:hover { - background-color: #101010; - color: #fff; -} - -.white { - background-color: #fff; - border: 1px solid #ddd; - color: #333; -} - -.white:hover { - background-color: #e5e5e5; - color: #333; -} - -/*** -Responsive & Scrollable Tables -***/ - -.table-scrollable { - width: 100%; - overflow-x: auto; - overflow-y: hidden; - border: 1px solid #dddddd; -} - -.table-scrollable > .table { - width: 100% !important; - margin: 0 !important; - margin-bottom: 0; - background-color: #fff; -} - -.table-scrollable > .table > thead > tr > th, -.table-scrollable > .table > tbody > tr > th, -.table-scrollable > .table > tfoot > tr > th, -.table-scrollable > .table > thead > tr > td, -.table-scrollable > .table > tbody > tr > td, -.table-scrollable > .table > tfoot > tr > td { - white-space: nowrap; -} - -.table-scrollable > .table-bordered { - border: 0; -} - -.table-scrollable > .table-bordered > thead > tr > th:first-child, -.table-scrollable > .table-bordered > tbody > tr > th:first-child, -.table-scrollable > .table-bordered > tfoot > tr > th:first-child, -.table-scrollable > .table-bordered > thead > tr > td:first-child, -.table-scrollable > .table-bordered > tbody > tr > td:first-child, -.table-scrollable > .table-bordered > tfoot > tr > td:first-child { - border-left: 0; -} - -.table-scrollable > .table-bordered > thead > tr > th:last-child, -.table-scrollable > .table-bordered > tbody > tr > th:last-child, -.table-scrollable > .table-bordered > tfoot > tr > th:last-child, -.table-scrollable > .table-bordered > thead > tr > td:last-child, -.table-scrollable > .table-bordered > tbody > tr > td:last-child, -.table-scrollable > .table-bordered > tfoot > tr > td:last-child { - border-right: 0; -} - -.table-scrollable > .table-bordered > thead > tr:last-child > th, -.table-scrollable > .table-bordered > tbody > tr:last-child > th, -.table-scrollable > .table-bordered > tfoot > tr:last-child > th, -.table-scrollable > .table-bordered > thead > tr:last-child > td, -.table-scrollable > .table-bordered > tbody > tr:last-child > td, -.table-scrollable > .table-bordered > tfoot > tr:last-child > td { - border-bottom: 0; -} - -/*form*/ - -.form { - padding: 0 !important; -} - -.form-group .multiRow { - margin-bottom: 15px; -} - -.form-group, -.form-group .btn { - font-size: 12px; -} - -.form-body { - padding: 10px; -} - -.form-actions { - padding-top: 20px -} - -.form-actions.nobg { - background-color: transparent; -} - -.form-actions.top { - margin-top: 0; - margin-bottom: 20px; - border-top: 0; - border-bottom: 1px solid #e5e5e5; -} - -/*.form-actions.fluid { - padding: 20px 0; -}*/ - -.form-actions .btnGroup { - padding-left: 0; -} - -.form-actions.fluid > [class^="col-"] { - padding-left: 13px; -} - -.form-actions:before, -.form-actions:after { - display: table; - line-height: 0; - content: ""; -} - -.form-actions:after { - clear: both; -} - -.form-section { - margin: 30px 0px 25px 0px; - padding-bottom: 5px; - border-bottom: 1px solid #eee; -} - -.form .form-section:first-child { - margin-top: 5px; -} - -.help-inline { - font-size: 13px; - color: #737373; - display: inline-block; - padding: 5px; -} - -.submBtn { - text-align: center; -} -.subm-iconMargin { -margin-left:-40px; -} -.subm-margin { -margin-left:-40px; -} - -/* left, right aligned form actions */ - -.form-actions.right { - padding-left: 0; - padding-right: 10px; - text-align: right; -} - -.form-actions.left { - padding-left: 10px; - padding-right: 0; - text-align: left; -} - -/* Checkbox */ - -.form-group .checkbox { - padding-left: 0; -} - -.form-title { - padding: 8px; - margin-bottom: 25px; - border-left: 2px solid #5b9bd1; - color: #1A78CA; - font-size: 16px; -} - -.checkbox-list > label { - display: block; -} - -.checkbox-list > label.checkbox-inline { - display: inline-block; -} - -.checkbox-list > label.checkbox-inline:first-child { - padding-left: 0; -} - -/* Radios */ -input[type="radio"]{ - cursor:pointer -} -.radio-list > label { - display: block; -} - -.radio-list > label.radio-inline { - display: inline-block; -} - -.radio-list > label.radio-inline:first-child { - padding-left: 0; -} - -.form-horizontal .radio-list .radio { - padding-top: 1px; -} - -.form-horizontal .radio-list > label { - margin-bottom: 0; -} - -.form-horizontal .radio > span { - margin-top: 2px; -} - -.help-block { - margin-top: 5px; - margin-bottom: 5px; - color: #a94442 !important; -} - -.form-inline input { - margin-bottom: 0px !important; -} -.form-horizontal .control-label{ - padding-top:4px; - text-align:right; -} - -.form-control-static { - font-size: 14px; - padding-top: 7px; -} - -.control-label .required { - color: #e02222; - font-size: 12px; - padding-left: 2px; -} - -/*TAB*/ - -.nav-tabs { - border: 0; - font-weight: bold; -} - -.nav-tabs > li.active > a, -.nav-tabs > li.active > a:hover, -.nav-tabs > li.active > a:focus { - border: 0; - border-top: 3px solid #F3565D; -} - -.nav-tabs > li > a { - border-radius: 0; - font-weight: bold; -} - -.nav-tabs > li > a:hover { - background-color: #f1f3fa; - border: 1Px solid #f1f3fa; -} - -/*button*/ - -.btn { - min-width: 80px; - letter-spacing: 1px; -} - -.btnGroup .btn { - margin-right: 15px; -} - -.pagination-panel .btn { - min-width: 4px; -} - -.btn.dropdown-toggle, -.btn-group .btn.dropdown-toggle, -.btn:hover, -.btn:disabled, -.btn[disabled], -.btn:focus, -.btn:active, -.btn.active { - outline: none !important; - background-image: none !important; - filter: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - text-shadow: none; -} -.btn-xs:hover{ -text-decoration:none ; -} -/*radius*/ - -.radius_l { - border-radius: 20px; -} - -.radius_m { - border-radius: 8px; -} - -.radius_s { - border-radius: 3px; -} - -/*Progress Bars*/ - -.progress { - border: 0; - background-image: none !important; - filter: none !important; - -webkit-box-shadow: none !important; - -moz-box-shadow: none !important; - box-shadow: none !important; -} - -.form-wizard .steps > li.active > a.step .number { - background-color: #45B6AF -} - -.progress > .progress-bar-success { - background-color: #45B6AF -} - -/*label*/ - -.label, -label { - font-weight: 400; - /*margin-bottom:15px;*/ -} - -/*表单中的组合*/ - -.input-group-btn-vertical.fa { - font-size: 12px; -} - -.spinner { - width: 60px; - margin-left: 10px; - margin-right: 30px; -} - -.spinner input { - text-align: right; -} - -.input-group-btn-vertical { - position: relative; - white-space: nowrap; - width: 1%; - vertical-align: middle; - display: table-cell; -} - -.input-group-btn-vertical > .btn { - display: block; - float: none; - width: 100%; - max-width: 100%; - padding: 6px; - margin-left: -1px; - position: relative; - border-radius: 0; -} - -.input-group-btn-vertical > .btn { - min-width: 20px; -} - -.input-group-btn-vertical > .btn:first-child { - border-top-right-radius: 4px; -} - -.input-group-btn-vertical > .btn:last-child { - margin-top: -2px; - border-bottom-right-radius: 4px; -} - -.input-group-btn-vertical i { - position: absolute; - top: -2px; - left: 5px; -} - -.input-group .form-control { - height: 26px !important; -} - -/*separator & title*/ - -.separator-line { - height: 1px; - width: 100%; - background: #ddd; - overflow: hidden; - margin-bottom: 15px; - margin-top: 6px; - opacity: 0.6; -} - -.separator { - opacity: 0.7; -} - -.separator:hover { - opacity: 1; -} - -.titlefont { - font-size: 16px; - margin-top:15px; -} - -/*link*/ - -a { - color: #428bca; - text-decoration: none ; - cursor:pointer; -} -a:hover{ - text-decoration: underline; -} -/*html滑块组件*/ - -input[type="range"] { - margin-top: 2px; - background-color: #f0f3f9; - border: 1px solid #ccd6e8; - border-radius: 15px; - width: 400px; - -webkit-appearance: none; - height: 15px; -} - -input[type="range"]::-webkit-slider-thumb { - -webkit-appearance: none; - cursor: pointer; - top: -5px; - height: 28px; - width: 15px; - transform: translateY(-4px); - background: none repeat scroll 0 0 #f0f3f9; - background-color: #9cc2cb; - border-radius: 20px; -} - -input[type="range"]:focus { - outline: none; -} - -/*ztree*/ - -.ztree * { - font-family: "microsoft yahei"; - font-size: 12px; -} - -.ztree { - padding: 15px 30px 0 5px; -} - -.ztree li a.curSelectedNode { - height: 28px; -} - -.ztree li span { - line-height: 16px; - margin-right: 2px; - margin-left: 6px -} - -.ztree li span.button.chk { - width: 13px; - height: 13px; - margin-left: 10px; - cursor: auto -} - -.ztree li span.button.add { - margin-left: 2px; - /* margin-right: -1px; */ - - margin-right: 4px; - background-position: -144px 0; - vertical-align: top; - *vertical-align: middle; - float: right; -} - -.ztree li span.button.edit { - margin-right: 4px; - background-position: -110px -48px; - vertical-align: top; - *vertical-align: middle; - float: right; -} - -.ztree li span.button.remove { - margin-right: 4px; - background-position: -110px -64px; - vertical-align: top; - *vertical-align: middle; - float: right; -} - -.ztree-select .ztree li a { - border: 1px solid #fff !important; -} - -/*table*/ - -table, -.dataTables_length, -.dataTables_info, -.dataTables_paginate { - font-size: 12px; -} - -table .heading { - font-size: 14px; - background: #fff !important; -} - -table.dataTable tbody th, -table.dataTable tbody td { - padding: 8px 10px 4px 10px !important; -} - -table tr:nth-of-type(odd) { - background: #f9f9f9; -} - -table tr:nth-of-type(even) { - background: #fff; -} - -table td:hover { - background-color: #f5f5f5; - border-bottom: 1px solid #d0d0d0; - border-top: 1px solid #d0d0d0; -} - -table tr td label { - cursor: pointer; -} - -.table-btn span { - padding-left: 5px; - padding-right: 5px; -} -.table-bordered>thead>tr>th, .table-bordered>thead>tr>td{ -border-bottom-width:1px; -} -/*select-box with icon*/ - -.iconselect-box .col-xs-1 { - width: 15px; - padding: 110px 0 0 0; -} - -.iconPosition > div { - margin: 20px 0px 0px 0px; -} - -/*-------------C3.css-------------*/ -.c3 path, .c3 line { - stroke: #008acd; -} - -.c3-line { - stroke-width: 3px; -} - -.c3-tooltip { - width: auto; -} - -.c3-tooltip td { - color: #000; -} - -.c3-axis.c3-axis-y { - stroke-width: 1px; -} - -.c3-axis.c3-axis-x { - stroke-width: 1px; -} - -/*checkbox & radio*/ -input[type="checkbox"] { - -webkit-appearance: none; - background: #fff url(../image/checkbox-radio/checkbox-init.png); - height: 18px; - vertical-align: middle; - width: 18px; - margin-bottom:5px; - margin-right:5px; -} - -input[type="checkbox"]:checked { - -webkit-appearance: none; - background: #fff url(../image/checkbox-radio/checkbox-checked.png); - height: 18px; - vertical-align: middle; - width: 18px; -} - -input[type="checkbox"]:focus, -input[type="checkbox"]:hover { - outline: none; -} - -input[type="checkbox"][disabled] { - -webkit-appearance: none; - background: #fff url(../image/checkbox-radio/checkbox-disabled.png); - height: 18px; - vertical-align: middle; - width: 18px; - margin-bottom:5px; - margin-right:5px; -} - -input[type="checkbox"][disabled]:checked { - -webkit-appearance: none; - background: #fff url(../image/checkbox-radio/checkbox-checked-disabled.png); - height: 18px; - vertical-align: middle; - width: 18px; -} - -input[type="radio"] { - -webkit-appearance: none; - background: #fff url(../image/checkbox-radio/radio-init.png); - height: 18px; - vertical-align: middle; - width: 18px; - margin-bottom:5px; - margin-right:5px; -} - -input[type="radio"]:checked { - -webkit-appearance: none; - background: #fff url(../image/checkbox-radio/radio-checked.png); - height: 18px; - vertical-align: middle; - width: 18px; -} - -input[type="radio"]:focus, -input[type="radio"]:hover { - outline: none; -} - -input[type="radio"][disabled] { - -webkit-appearance: none; - background: #fff url(../image/checkbox-radio/radio-disabled.png); - height: 18px; - vertical-align: middle; - width: 18px; - margin-bottom:5px; - margin-right:5px; -} - -input[type="radio"][disabled]:checked { - -webkit-appearance: none; - background: #fff url(../image/checkbox-radio/radio-checked-disabled.png); - height: 18px; - vertical-align: middle; - width: 18px; -} +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +body { + color: #333; + font-size: 14px; + font-family: "Microsoft yahei", Arial !important; + background-color: transparent; +} + +/*fontIcon*/ + +[class^="ict-"], +[class*=" ict-"] { + padding-right: 3px; +} + +/*common color*/ + +.blue1 { + background-color: #5b9bd1; + color: #fff; +} + +.blue1:hover { + background-color: #487ca9; + color: #fff; +} + +.blue2 { + background-color: #57b5e3; + color: #fff; +} + +.blue2:hover { + background-color: #43a1cf; + color: #fff; +} + +.red { + background-color: #e35b5a; + color: #fff; +} + +.red:hover { + background-color: #d45150; + color: #fff; +} + +.green { + background-color: #44b6ae; + color: #fff; +} + +.green:hover { + background-color: #329d96; + color: #fff; +} + +.gold { + background-color: #c0af69; + color: #fff; +} + +.gold:hover { + background-color: #ad9a4d; + color: #fff; +} + +.grey { + background-color: #e5e5e5; + color: #333; +} + +.grey:hover { + background-color: #d8d8d8; + color: #333; +} + +.dark_grey { + background-color: #333; + color: #fff; +} + +.dark_grey:hover { + background-color: #101010; + color: #fff; +} + +.white { + background-color: #fff; + border: 1px solid #ddd; + color: #333; +} + +.white:hover { + background-color: #e5e5e5; + color: #333; +} + +/*** +Responsive & Scrollable Tables +***/ + +.table-scrollable { + width: 100%; + overflow-x: auto; + overflow-y: hidden; + border: 1px solid #dddddd; +} + +.table-scrollable > .table { + width: 100% !important; + margin: 0 !important; + margin-bottom: 0; + background-color: #fff; +} + +.table-scrollable > .table > thead > tr > th, +.table-scrollable > .table > tbody > tr > th, +.table-scrollable > .table > tfoot > tr > th, +.table-scrollable > .table > thead > tr > td, +.table-scrollable > .table > tbody > tr > td, +.table-scrollable > .table > tfoot > tr > td { + white-space: nowrap; +} + +.table-scrollable > .table-bordered { + border: 0; +} + +.table-scrollable > .table-bordered > thead > tr > th:first-child, +.table-scrollable > .table-bordered > tbody > tr > th:first-child, +.table-scrollable > .table-bordered > tfoot > tr > th:first-child, +.table-scrollable > .table-bordered > thead > tr > td:first-child, +.table-scrollable > .table-bordered > tbody > tr > td:first-child, +.table-scrollable > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; +} + +.table-scrollable > .table-bordered > thead > tr > th:last-child, +.table-scrollable > .table-bordered > tbody > tr > th:last-child, +.table-scrollable > .table-bordered > tfoot > tr > th:last-child, +.table-scrollable > .table-bordered > thead > tr > td:last-child, +.table-scrollable > .table-bordered > tbody > tr > td:last-child, +.table-scrollable > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; +} + +.table-scrollable > .table-bordered > thead > tr:last-child > th, +.table-scrollable > .table-bordered > tbody > tr:last-child > th, +.table-scrollable > .table-bordered > tfoot > tr:last-child > th, +.table-scrollable > .table-bordered > thead > tr:last-child > td, +.table-scrollable > .table-bordered > tbody > tr:last-child > td, +.table-scrollable > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; +} + +/*form*/ + +.form { + padding: 0 !important; +} + +.form-group .multiRow { + margin-bottom: 15px; +} + +.form-group, +.form-group .btn { + font-size: 12px; +} + +.form-body { + padding: 10px; +} + +.form-actions { + padding-top: 20px +} + +.form-actions.nobg { + background-color: transparent; +} + +.form-actions.top { + margin-top: 0; + margin-bottom: 20px; + border-top: 0; + border-bottom: 1px solid #e5e5e5; +} + +/*.form-actions.fluid { + padding: 20px 0; +}*/ + +.form-actions .btnGroup { + padding-left: 0; +} + +.form-actions.fluid > [class^="col-"] { + padding-left: 13px; +} + +.form-actions:before, +.form-actions:after { + display: table; + line-height: 0; + content: ""; +} + +.form-actions:after { + clear: both; +} + +.form-section { + margin: 30px 0px 25px 0px; + padding-bottom: 5px; + border-bottom: 1px solid #eee; +} + +.form .form-section:first-child { + margin-top: 5px; +} + +.help-inline { + font-size: 13px; + color: #737373; + display: inline-block; + padding: 5px; +} + +.submBtn { + text-align: center; +} +.subm-iconMargin { +margin-left:-40px; +} +.subm-margin { +margin-left:-40px; +} + +/* left, right aligned form actions */ + +.form-actions.right { + padding-left: 0; + padding-right: 10px; + text-align: right; +} + +.form-actions.left { + padding-left: 10px; + padding-right: 0; + text-align: left; +} + +/* Checkbox */ + +.form-group .checkbox { + padding-left: 0; +} + +.form-title { + padding: 8px; + margin-bottom: 25px; + border-left: 2px solid #5b9bd1; + color: #1A78CA; + font-size: 16px; +} + +.checkbox-list > label { + display: block; +} + +.checkbox-list > label.checkbox-inline { + display: inline-block; +} + +.checkbox-list > label.checkbox-inline:first-child { + padding-left: 0; +} + +/* Radios */ +input[type="radio"]{ + cursor:pointer +} +.radio-list > label { + display: block; +} + +.radio-list > label.radio-inline { + display: inline-block; +} + +.radio-list > label.radio-inline:first-child { + padding-left: 0; +} + +.form-horizontal .radio-list .radio { + padding-top: 1px; +} + +.form-horizontal .radio-list > label { + margin-bottom: 0; +} + +.form-horizontal .radio > span { + margin-top: 2px; +} + +.help-block { + margin-top: 5px; + margin-bottom: 5px; + color: #a94442 !important; +} + +.form-inline input { + margin-bottom: 0px !important; +} +.form-horizontal .control-label{ + padding-top:4px; + text-align:right; +} + +.form-control-static { + font-size: 14px; + padding-top: 7px; +} + +.control-label .required { + color: #e02222; + font-size: 12px; + padding-left: 2px; +} + +/*TAB*/ + +.nav-tabs { + border: 0; + font-weight: bold; +} + +.nav-tabs > li.active > a, +.nav-tabs > li.active > a:hover, +.nav-tabs > li.active > a:focus { + border: 0; + border-top: 3px solid #F3565D; +} + +.nav-tabs > li > a { + border-radius: 0; + font-weight: bold; +} + +.nav-tabs > li > a:hover { + background-color: #f1f3fa; + border: 1Px solid #f1f3fa; +} + +/*button*/ + +.btn { + min-width: 80px; + letter-spacing: 1px; +} + +.btnGroup .btn { + margin-right: 15px; +} + +.pagination-panel .btn { + min-width: 4px; +} + +.btn.dropdown-toggle, +.btn-group .btn.dropdown-toggle, +.btn:hover, +.btn:disabled, +.btn[disabled], +.btn:focus, +.btn:active, +.btn.active { + outline: none !important; + background-image: none !important; + filter: none; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + text-shadow: none; +} +.btn-xs:hover{ +text-decoration:none ; +} +/*radius*/ + +.radius_l { + border-radius: 20px; +} + +.radius_m { + border-radius: 8px; +} + +.radius_s { + border-radius: 3px; +} + +/*Progress Bars*/ + +.progress { + border: 0; + background-image: none !important; + filter: none !important; + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; +} + +.form-wizard .steps > li.active > a.step .number { + background-color: #45B6AF +} + +.progress > .progress-bar-success { + background-color: #45B6AF +} + +/*label*/ + +.label, +label { + font-weight: 400; + /*margin-bottom:15px;*/ +} + +/*表单中的组合*/ + +.input-group-btn-vertical.fa { + font-size: 12px; +} + +.spinner { + width: 60px; + margin-left: 10px; + margin-right: 30px; +} + +.spinner input { + text-align: right; +} + +.input-group-btn-vertical { + position: relative; + white-space: nowrap; + width: 1%; + vertical-align: middle; + display: table-cell; +} + +.input-group-btn-vertical > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; + padding: 6px; + margin-left: -1px; + position: relative; + border-radius: 0; +} + +.input-group-btn-vertical > .btn { + min-width: 20px; +} + +.input-group-btn-vertical > .btn:first-child { + border-top-right-radius: 4px; +} + +.input-group-btn-vertical > .btn:last-child { + margin-top: -2px; + border-bottom-right-radius: 4px; +} + +.input-group-btn-vertical i { + position: absolute; + top: -2px; + left: 5px; +} + +.input-group .form-control { + height: 26px !important; +} + +/*separator & title*/ + +.separator-line { + height: 1px; + width: 100%; + background: #ddd; + overflow: hidden; + margin-bottom: 15px; + margin-top: 6px; + opacity: 0.6; +} + +.separator { + opacity: 0.7; +} + +.separator:hover { + opacity: 1; +} + +.titlefont { + font-size: 16px; + margin-top:15px; +} + +/*link*/ + +a { + color: #428bca; + text-decoration: none ; + cursor:pointer; +} +a:hover{ + text-decoration: underline; +} +/*html滑块组件*/ + +input[type="range"] { + margin-top: 2px; + background-color: #f0f3f9; + border: 1px solid #ccd6e8; + border-radius: 15px; + width: 400px; + -webkit-appearance: none; + height: 15px; +} + +input[type="range"]::-webkit-slider-thumb { + -webkit-appearance: none; + cursor: pointer; + top: -5px; + height: 28px; + width: 15px; + transform: translateY(-4px); + background: none repeat scroll 0 0 #f0f3f9; + background-color: #9cc2cb; + border-radius: 20px; +} + +input[type="range"]:focus { + outline: none; +} + +/*ztree*/ + +.ztree * { + font-family: "microsoft yahei"; + font-size: 12px; +} + +.ztree { + padding: 15px 30px 0 5px; +} + +.ztree li a.curSelectedNode { + height: 28px; +} + +.ztree li span { + line-height: 16px; + margin-right: 2px; + margin-left: 6px +} + +.ztree li span.button.chk { + width: 13px; + height: 13px; + margin-left: 10px; + cursor: auto +} + +.ztree li span.button.add { + margin-left: 2px; + /* margin-right: -1px; */ + + margin-right: 4px; + background-position: -144px 0; + vertical-align: top; + *vertical-align: middle; + float: right; +} + +.ztree li span.button.edit { + margin-right: 4px; + background-position: -110px -48px; + vertical-align: top; + *vertical-align: middle; + float: right; +} + +.ztree li span.button.remove { + margin-right: 4px; + background-position: -110px -64px; + vertical-align: top; + *vertical-align: middle; + float: right; +} + +.ztree-select .ztree li a { + border: 1px solid #fff !important; +} + +/*table*/ + +table, +.dataTables_length, +.dataTables_info, +.dataTables_paginate { + font-size: 12px; +} + +table .heading { + font-size: 14px; + background: #fff !important; +} + +table.dataTable tbody th, +table.dataTable tbody td { + padding: 8px 10px 4px 10px !important; +} + +table tr:nth-of-type(odd) { + background: #f9f9f9; +} + +table tr:nth-of-type(even) { + background: #fff; +} + +table td:hover { + background-color: #f5f5f5; + border-bottom: 1px solid #d0d0d0; + border-top: 1px solid #d0d0d0; +} + +table tr td label { + cursor: pointer; +} + +.table-btn span { + padding-left: 5px; + padding-right: 5px; +} +.table-bordered>thead>tr>th, .table-bordered>thead>tr>td{ +border-bottom-width:1px; +} +/*select-box with icon*/ + +.iconselect-box .col-xs-1 { + width: 15px; + padding: 110px 0 0 0; +} + +.iconPosition > div { + margin: 20px 0px 0px 0px; +} + +/*-------------C3.css-------------*/ +.c3 path, .c3 line { + stroke: #008acd; +} + +.c3-line { + stroke-width: 3px; +} + +.c3-tooltip { + width: auto; +} + +.c3-tooltip td { + color: #000; +} + +.c3-axis.c3-axis-y { + stroke-width: 1px; +} + +.c3-axis.c3-axis-x { + stroke-width: 1px; +} + +/*checkbox & radio*/ +input[type="checkbox"] { + -webkit-appearance: none; + background: #fff url(../image/checkbox-radio/checkbox-init.png); + height: 18px; + vertical-align: middle; + width: 18px; + margin-bottom:5px; + margin-right:5px; +} + +input[type="checkbox"]:checked { + -webkit-appearance: none; + background: #fff url(../image/checkbox-radio/checkbox-checked.png); + height: 18px; + vertical-align: middle; + width: 18px; +} + +input[type="checkbox"]:focus, +input[type="checkbox"]:hover { + outline: none; +} + +input[type="checkbox"][disabled] { + -webkit-appearance: none; + background: #fff url(../image/checkbox-radio/checkbox-disabled.png); + height: 18px; + vertical-align: middle; + width: 18px; + margin-bottom:5px; + margin-right:5px; +} + +input[type="checkbox"][disabled]:checked { + -webkit-appearance: none; + background: #fff url(../image/checkbox-radio/checkbox-checked-disabled.png); + height: 18px; + vertical-align: middle; + width: 18px; +} + +input[type="radio"] { + -webkit-appearance: none; + background: #fff url(../image/checkbox-radio/radio-init.png); + height: 18px; + vertical-align: middle; + width: 18px; + margin-bottom:5px; + margin-right:5px; +} + +input[type="radio"]:checked { + -webkit-appearance: none; + background: #fff url(../image/checkbox-radio/radio-checked.png); + height: 18px; + vertical-align: middle; + width: 18px; +} + +input[type="radio"]:focus, +input[type="radio"]:hover { + outline: none; +} + +input[type="radio"][disabled] { + -webkit-appearance: none; + background: #fff url(../image/checkbox-radio/radio-disabled.png); + height: 18px; + vertical-align: middle; + width: 18px; + margin-bottom:5px; + margin-right:5px; +} + +input[type="radio"][disabled]:checked { + -webkit-appearance: none; + background: #fff url(../image/checkbox-radio/radio-checked-disabled.png); + height: 18px; + vertical-align: middle; + width: 18px; +} diff --git a/openo-portal/portal-common/src/main/webapp/common/css/plugins.css b/openo-portal/portal-common/src/main/webapp/common/css/plugins.css index 0abc096a..9a18a370 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/plugins.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/plugins.css @@ -1,1561 +1,1561 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/************************** - PLUGIN CSS CUSTOMIZATIONS -**************************/ - -/*** -Calendar with full calendar -***/ -.external-event { - display: inline-block ; - cursor:move; - margin-bottom: 5px ; - margin-left: 5px ; -} - -.portlet .event-form-title { - font-size: 14px; - margin-top: 4px; - font-weight: 400; - margin-bottom: 10px; -} - -.portlet.calendar .fc-button { - -webkit-box-shadow: none ; - -moz-box-shadow: none ; - box-shadow: none ; - text-shadow: none; - border: 0 ; - padding: 6px 8px 30px 8px ; - margin-left:2px; - border-top-style: none; - border-bottom-style: none; - border-right-style: solid; - border-left-style: solid; - border-color: #ddd; - background: transparent; - color: #fff; - top: -46px; -} - -.portlet.calendar .fc-header { - margin-bottom:-21px; -} - -.portlet.calendar .fc-button-prev { - padding-right: 10px; - padding-left: 8px; -} - -.portlet.calendar .fc-button-next { - padding-right: 8px; - padding-left: 10px; -} - -.portlet.calendar .fc-button.fc-state-active, -.portlet.calendar .fc-button.fc-state-hover { - color: #666 ; - background-color: #F9F9F9 ; -} - -.portlet.calendar .fc-button.fc-state-disabled { - color: #ddd ; -} - -.portlet.calendar .fc-text-arrow { - font-size: 22px; - font-family: "Courier New", Courier, monospace; - vertical-align: baseline; -} - -/* begin: event element */ -.portlet.calendar .fc-event { - border: 0px; - background-color: #69a4e0; - color: #fff; -} - -.portlet.calendar .fc-event-inner { - border: 0px; -} - -.portlet.calendar .fc-event-time { - float: left; - text-align: left; - color: #fff; - font-size: 13px; - font-weight: 300; -} - -.portlet.calendar .fc-event-title { - text-align: left; - float: left; - color: #fff; - font-size: 13px; - font-weight: 300; -} -/* end: event element */ - -.portlet.calendar .fc-header-title h2 { - font-size: 14px ; - line-height: 20px; - font-weight: 400; - color: #111; -} - -.portlet.calendar .fc-widget-header { - background-image: none ; - filter:none; - background-color: #eee ; - text-transform: uppercase; - font-weight: 300; -} - -.portlet.calendar .mobile .fc-button { - margin-left: 2px ; -} - -.portlet.calendar .mobile .fc-button { - padding: 0px 6px 20px 6px ; - margin-left:2px ; - border: 0; - background-color: #ddd ; - background-image: none; - -webkit-box-shadow: none ; - -moz-box-shadow: none ; - box-shadow: none ; - -webkit-border-radius: 0 ; - -moz-border-radius: 0 ; - border-radius: 0 ; - color: #000; - text-shadow: none ; - text-align: center; -} - -.portlet.calendar .mobile .fc-state-hover, -.portlet.calendar .mobile .fc-state-active { - background-color: #eee ; -} - -.portlet.calendar .mobile .fc-button-prev { - margin-right: 5px; - margin-top: -2px; -} - -.portlet.calendar .mobile .fc-button-next { - margin-right: -0px; - margin-top: -2px; -} - -.portlet.calendar .mobile .fc-header-space { - margin: 0px ; - padding: 0px ; - width: 0px ; -} - - .portlet.calendar .mobile .fc-state-disabled { - color: #bbb ; - } - - .portlet.calendar .mobile .fc-header-left { - position: absolute; - z-index: 10; - } - - .portlet.calendar .mobile .fc-header-right { - position: absolute; - z-index: 9; - } - - .portlet.calendar .mobile .fc-header-left .fc-button { - top: -2px ; - } - - .portlet.calendar .mobile .fc-header-right { - position: relative; - right:0; - } - - .portlet.calendar .mobile .fc-header-right .fc-button { - top: 35px ; - } - - .portlet.calendar .mobile .fc-content { - margin-top: 53px; - } - - -/*** -Form wizard -***/ - -.form-wizard .progress { - margin-bottom: 30px; -} - -.form-wizard .steps { - //padding: 10px 0; - //margin-bottom: 15px; -} - -.form-wizard .steps { - background-color: #fff ; - background-image: none ; - filter:none ; - border: 0px; - box-shadow: none ; -} - -.form-wizard .steps li a { - background-color: #fff ; - background-image: none ; - filter:none; - border: 0px; - box-shadow: none ; -} - -.form-wizard .steps li a:hover { - background: none; -} - -.form-wizard .step:hover { - text-decoration: none; -} - -.form-wizard .step .number { - background-color: #eee; - display: inline-block; - text-align: center !important; - font-size: 16px; - font-weight: 300; - padding: 11px 15px 13px 15px; - margin-right: 10px; - height: 45px; - width: 45px; - -webkit-border-radius: 50% !important; - -moz-border-radius: 50% !important; - border-radius: 50% !important; -} - -.form-wizard .step .desc { - display: inline-block; - font-size: 16px; - font-weight: 300; -} - -.form-wizard .active .step .number { - background-color: #35aa47; - color: #fff; -} - -.form-wizard .active .step .desc { - color: #333; - font-weight: 400; -} - -.form-wizard .step i { - display: none; -} - -.form-wizard .done .step .number { - background-color: #f2ae43; - color: #fff; -} - -.form-wizard .done .step .desc { - font-weight: 400; -} - -.form-wizard .done .step i { - font-size: 12px; - font-weight: normal; - color: #999; - display: inline-block; -} - - -@media (min-width: 600px) and (max-width: 1280px) { - .form-wizard .step .desc { - margin-top: 10px; - display: block; - } -} - -@media (max-width: 600px) { - .form-wizard .steps > li > a { - text-align: left; - } -} - -@media (min-width: 600px){ - .nav-justified>li{ - display:table-cell; - width:1%; - } -} - -/*** -Google Maps -***/ -.gmaps { - height: 300px; - width: 100%; -} - -/* important! bootstrap sets max-width on img to 100% which conflicts with google map canvas*/ -.gmaps img { - max-width: none; -} - -#gmap_static div{ - background-repeat: no-repeat ; - background-position: 50% 50% ; - height:100%; - display:block; - height: 300px; -} - -#gmap_routes_instructions { - margin-top: 10px; - margin-bottom: 0px; -} - -/*** -SlimScrollBar plugins css changes -***/ -.scroller { - padding: 0px ; - margin: 0px ; - padding-right: 12px ; - overflow: hidden; -} - -.scroller-footer { - margin-top: 10px; -} - -.scroller-footer:after, -.scroller-footer:before { - content: ""; - display: table; - line-height: 0; -} - -.scroller-footer:after { - clear: both; -} - -.portlet-body .slimScrollBar { - margin-right: 0px ; -} - -/*** -jqvmap changes -***/ -.jqvmap-zoomin { - height: 16px; - width: 16px; - background-color: #666 ; -} - -.jqvmap-zoomout { - height: 16px; - width: 16px; - background-color: #666 ; -} - -.vmaps { - position: relative; - overflow: hidden; - height: 300px; -} - - -/*** -Error state for WYSIWYG Editors -***/ -.has-error .md-editor, -.has-error .wysihtml5-sandbox, -.has-error .cke { - border: 1px solid #B94A48 !important; -} - -.has-success .md-editor, -.has-success .wysihtml5-sandbox, -.has-success .cke { - border: 1px solid #468847 !important; -} - -/*** -Select2 plugin css changes -***/ - -/* enable form validation classes for select2 dropdowns */ -.has-error .select2-container .select2-choice { - border-color: #B94A48; -} - -.has-error .select2-container.select2-dropdown-open .select2-choice { - border-color: #e5e5e5; -} - -.has-error .select2-container.select2-dropdown-open .select2-choice > span { - color: #999999; -} - -.has-success .select2-container .select2-choice { - border-color: #468847; -} - -.has-success .select2-container.select2-dropdown-open .select2-choice { - border-color: #e5e5e5; -} - -.has-success .select2-container.select2-dropdown-open .select2-choice > span { - color: #999999; -} - - -/*** -Jansy File Input plugin css changes -***/ -.fileinput { - margin-bottom: 0; -} - - -/*** -WYSIWYG -***/ -.wysihtml5-toolbar li { - margin: 0px; - height: 29px; -} - -.wysihtml5-toolbar li .dropdown-menu { - margin-top: 5px; -} - -/*** -CKEditor css changes -***/ -.cke_bottom, -.cke_inner, -.cke_top, -.cke_reset, -.cke_dialog_title, -.cke_dialog_footer, -.cke_dialog { - background-image: none !important; - filter:none ; - border-top: 0 ; - border-bottom: 0 ; - -webkit-box-shadow: none !important; - -moz-box-shadow: none !important; - box-shadow: none !important; - text-shadow:none ; -} - -.cke_dialog_ui_button, -.cke_dialog_tab { - background-image: none !important; - filter:none ; - -webkit-box-shadow: none !important; - -moz-box-shadow: none !important; - box-shadow: none !important; - text-shadow:none !important; -} - -.cke_dialog_ui_button:hover, -.cke_dialog_tab:hover { - text-decoration: none; - text-shadow:none ; -} - -.cke_dialog_ui_input_text { - background-image: none !important; - filter:none ; - -webkit-box-shadow: none !important; - -moz-box-shadow: none !important; - box-shadow: none !important; -} - -.cke_combo_button, -.cke_button, -.cke_toolbar, -.cke_toolgroup { - background-image: none !important; - filter:none !important; - border: 0 ; - -webkit-box-shadow: none !important; - -moz-box-shadow: none !important; - box-shadow: none !important; -} - -.cke_button, -.cke_combo_button, -.cke_panel_grouptitle, -.cke_hc.cke_panel_listItem a { - background-image: none !important; - filter:none ; - text-shadow:none ; - -webkit-border-radius: 0px !important; - -moz-border-radius: 0px !important; - -ms-border-radius: 0px !important; - -o-border-radius: 0px !important; -} - -.cke_button:hover, -.cke_combo_button:hover { - background-color: #ddd; -} - -.cke_toolbar_break { - background-image: none !important; - filter:none !important; - border: 0 ; - box-shadow: none !important; - -webkit-box-shadow : none !important; - -moz-box-shadow: none !important; - -ms-box-shadow: none !important; - -o-box-shadow: none !important; -} - -/*** -Modify tags input plugin css -***/ -div.tagsinput { - min-height: 35px; - height: auto !important; - margin: 0; - padding: 5px 5px 0px 5px; - overflow: auto; -} - -div.tagsinput span.tag { - background: #aaa ; - color: #fff ; - border: 0 ; - padding: 3px 6px; - margin-top: 0; - margin-bottom: 5px; -} - -div.tagsinput input { - padding: 3px 6px ; - width: 75px !important; -} - -div.tagsinput span.tag a { - color: #fff ; -} - -div.tagsinput .not_valid { - color: #fff ; - padding: 3px 6px ; - background-color: #e02222 ; -} - -/*** -Gritter notification modify -***/ - -#gritter-notice-wrapper { - right:1px !important; -} - -.gritter-close { - left:auto !important; - right: 3px !important; -} - -.gritter-title { - font-family: 'Open Sans' ; - font-size: 18px ; - font-weight: 300 ; -} - -/*** -jQuery UI Sliders(new in v1.1.1) -***/ -.slider { - border: 0; - padding: 0; - display: block; - margin: 12px 5px; - min-height: 11px; -} - -.ui-slider-vertical { - width: 11px; -} - -.ui-slider-horizontal .ui-slider-handle { - top: -3px; -} - -.ui-slider-vertical .ui-slider-handle { - left: -3px; -} - -.ui-slider-vertical, -.ui-slider-handle { - filter: none !important; - background-image: none !important; -} - -/*** -Dropzone css changes(new in v1.1.1) -***/ -.dropzone { - -webkit-border-radius: 0px ; - -moz-border-radius: 0px ; - border-radius: 0px ; -} - - -/*** -Dashboard Charts(new in v1.2.1) -***/ -.easy-pie-chart, -.sparkline-chart { - text-align: center; -} - -.sparkline-chart { - margin-top: 15px; - position:relative ; -} - -.easy-pie-chart .number { - font-size: 16px; - font-weight: 300; - width: 85px; - margin: 0 auto; -} - -.sparkline-chart .number { - width: 100px; - margin: 0 auto; - margin-bottom: 10px; -} - -.sparkline-chart .title, -.easy-pie-chart .title { - display: block; - text-align: center; - color: #333; - font-weight: 300; - font-size: 16px; - margin-top: 5px; - margin-bottom: 10px; -} - -.sparkline-chart .title:hover, -.easy-pie-chart .title:hover { - color: #666; - text-decoration: none; -} - -.sparkline-chart .title > i, -.easy-pie-chart .title > i { - margin-top: 5px; -} - -/*** -Fancy box fix overlay fix(in v1.2.4) -***/ -.fancybox-overlay { - z-index: 10000 ; -} - -/*** -Datatables Plugin(in v1.3) -***/ -.dataTable { - width: 100% !important; - clear: both; - /*margin-top: 5px;*/ -} - -.dataTables_filter label { - line-height: 32px ; -} - -.dataTable .row-details { - margin-top: 3px; - display: inline-block; - cursor: pointer; - width: 14px; - height: 14px; -} - -.dataTable .row-details.row-details-close { - background: url("../image/datatable-row-openclose.png") no-repeat 0 0; -} - -.dataTable .row-details.row-details-open { - background: url("../image/datatable-row-openclose.png") no-repeat 0 -23px ; -} - -.dataTable .details { - background-color: #eee ; -} - -.dataTable .details td, -.dataTable .details th { - padding: 4px; - background: none ; - border: 0; -} - -.dataTable .details tr:hover td, -.dataTable .details tr:hover th { - background: none ; -} - -.dataTable .details tr:nth-child(odd) td, -.dataTable .details tr:nth-child(odd) th { - background-color: #fff ; -} - -.dataTable .details tr:nth-child(even) td, -.dataTable .details tr:nth-child(even) th { - background-color: #eee ; -} - -.dataTable > thead > tr > th.sorting, -.dataTable > thead > tr > th.sorting_asc, -.dataTable > thead > tr > th.sorting_desc { - padding-right: 18px; -} - -.dataTable .table-checkbox { - width: 8px !important; -} - -@media (max-width: 768px) { - .dataTables_wrapper .dataTables_length .form-control, - .dataTables_wrapper .dataTables_filter .form-control { - display: inline-block; - } - - /* .dataTables_wrapper .dataTables_info { - top: 17px; - }*/ - -/* .dataTables_wrapper .dataTables_paginate { - margin-top: -15px; - }*/ -} - -@media (max-width: 480px) { - .dataTables_wrapper .dataTables_filter .form-control { - width: 175px !important; - } - - .dataTables_wrapper .dataTables_paginate { - float: left; - margin-top: 20px; - } -} - -.dataTables_processing { - position: fixed; - top: 50%; - left: 50%; - min-width: 125px; - margin-left: 0; - padding: 7px; - text-align: center; - color: #333; - font-size: 13px; - border: 1px solid #ddd; - background-color: #eee; - vertical-align: middle; - -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); -} - -.dataTables_processing span { - line-height:15px; - vertical-align: middle; -} - -.dataTables_empty { - text-align: center; -} - -/*** -Extended Datatable -***/ -.dataTables_extended_wrapper { - position: relative !important; - clear: both !important; -} -.dataTables_extended_wrapper .seperator { - padding: 0 2px; -} - -.dataTables_extended_wrapper .dataTables_paginate, -.dataTables_extended_wrapper .dataTables_length, -.dataTables_extended_wrapper .dataTables_info { - display: inline-block; - float: none !important; - padding: 0 !important; - margin: 0 !important; - position: static !important; - font-size: 13px; -} - -@media (max-width: 480px) { - - .dataTables_extended_wrapper .dataTables_paginate, - .dataTables_extended_wrapper .dataTables_length, - .dataTables_extended_wrapper .dataTables_info { - display: block; - margin-bottom: 10px !important; - } - - .dataTables_extended_wrapper .seperator { - display: none; - } -} - -.dataTables_extended_wrapper .dataTables_length label { - margin: 0 !important; - padding: 0 !important; - font-size: 13px; - float: none !important; - display: inline-block !important; -} - -.table-container .table-actions-wrapper { - display: none; -} - -/*** -Password Strength(in v1.4) -***/ -.password-strength .password-verdict { - display: inline-block; - margin-top: 6px; - margin-left: 5px; -} - -.password-strength .progress { - margin-top: 5px; - margin-bottom: 0; -} - -.password-strength .progress-bar { - padding: 2px; -} - -/*** -Uniform disabled checkbox, radio button fix(in v1.4) -***/ - -.table .uniform-inline { - padding: 0; - margin: 0; -} - -.checker { - margin-top: -2px !important; - margin-right: 2px !important; - display:inline; -} - -.checker input, -.radio input { - outline: none !important; -} - -div.checker.disabled span, -div.checker.disabled.active span{ - background-position: -152px -260px; -} - -div.checker.disabled:hover, -div.radio.disabled:hover { - cursor: not-allowed; -} - -div.radio, -div.checker { - margin-right: 0; - margin-left: 3px; -} - -/*** -jQuery Sparkline -***/ -.jqstooltip { - width: auto !important; - height: auto !important; -} - - -/*** -jQuery Multi Select -***/ - -.ms-container .ms-list { - border: 1px solid #e5e5e5; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - -} - -.ms-container .ms-optgroup-label{ - font-size: 14px; -} - -.ms-container .ms-selectable li.ms-elem-selectable, -.ms-container .ms-selection li.ms-elem-selection{ - font-size: 13px; -} - -.ms-container .ms-list.ms-focus { - border-color: #999999; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} - -.ms-container .ms-selectable li.ms-hover, -.ms-container .ms-selection li.ms-hover{ - color: #333; - background-color: #eee; -} - -.ms-container .form-control { - margin-bottom: 5px; -} - -/*** -Bootstrap Colorpicker -***/ -.input-group.color .input-group-btn i { - position: absolute; - display: block; - cursor: pointer; - width: 20px; - height: 20px; - right: 6px; -} - -.colorpicker.dropdown-menu { - padding: 5px; -} - -/* change z-index when opened in modal */ -.modal-open .colorpicker { - z-index: 10055 !important; -} - -/*** -Bootstrap Datetimepicker -***/ - -.datetimepicker table td { - font-weight: 300 !important; - font-family: 'Open Sans' !important; -} - -.datetimepicker table th { - font-family: 'Open Sans' !important; - font-weight: 400 !important; -} - -.datetimepicker.dropdown-menu { - padding: 5px; -} - -.datetimepicker .active { - background-color:#4b8df8 !important; - background-image: none !important; - filter: none !important; -} - -.datetimepicker .active:hover { - background-color: #2678FC !important; - background-image: none !important; - filter: none !important; - -} - -/* change z-index when opened in modal */ -.modal-open .datetimepicker { - z-index: 10055 !important; -} - -/*** -Bootstrap Time Picker -***/ -.bootstrap-timepicker-widget table td a { - padding: 4px 0; -} - -.bootstrap-timepicker-widget input, -.bootstrap-timepicker-widget input:focus { - outline: none !important; - border: 0; -} - -.modal-open .bootstrap-timepicker-widget { - z-index: 10055 !important; -} - -.bootstrap-timepicker-widget.timepicker-orient-bottom:before, -.bootstrap-timepicker-widget.timepicker-orient-bottom:after { - top: auto; -} - -/*** -Bootstrap Datepicker -***/ - -.datepicker.dropdown-menu { - padding: 5px; -} - -.datepicker .selected { - background-color:#909090 !important; - background-image: none !important; - filter: none !important; -} - -.datepicker .active { - background-color:#4b8df8 !important; - background-image: none !important; - filter: none !important; -} - -.datepicker .active:hover { - background-color: #2678FC !important; - background-image: none !important; - filter: none !important; -} - -.datepicker .input-daterange input { - text-align: left; -} - -/* change z-index when opened in modal */ -.modal-open .datepicker { - z-index: 10055 !important; -} - -.datepicker table td { - font-weight: 300 !important; - font-family: 'Open Sans' !important; -} - -.datepicker table th { - font-family: 'Open Sans' !important; - font-weight: 400 !important; -} - - -/*** -Clockface -***/ - -.modal-open .clockface { - z-index: 10055 !important; -} - -.clockface .cell .inner.active, -.clockface .cell .outer.active { - background-color:#4b8df8 !important; - background-image: none ; - filter:none ; -} - - -/*** -Bootstrap Daterangepicker -***/ - -.modal-open .daterangepicker { - z-index: 10055 !important; -} - -.daterangepicker td { - text-shadow: none ; -} - -.daterangepicker td.active { - background-color: #4b8df8 ; - background-image: none ; - filter:none ; -} - -.daterangepicker th { - font-weight: 400; - font-size: 14px; -} - -.daterangepicker .ranges input[type="text"] { - width: 70px !important; - font-size: 11px; - vertical-align: middle; -} - -.daterangepicker .ranges label { - font-weight: 300; - display: block; -} - -.daterangepicker .ranges .btn { - margin-top: 10px; -} - -.daterangepicker.dropdown-menu { - padding: 5px; -} - -.daterangepicker .ranges li { - color: #333; -} - -.daterangepicker .ranges li.active, -.daterangepicker .ranges li:hover { - background: #4b8df8 !important; - border: 1px solid #4b8df8 !important; - color: #fff; -} - -.daterangepicker .range_inputs input { - margin-bottom: 0 !important; -} - -/*** -Bootstrap Editable -***/ - -.editable-input table, -.editable-input table th, -.editable-input table td, -.editable-input table tr { - border: 0 !important; -} - -.editable-input .combodate select { - margin-bottom: 5px; -} - -/*** -FuelUX Spinners -***/ - -.spinner-buttons.btn-group-vertical .btn { - text-align: center; - margin: 0; - height: 17px; - width: 22px; - padding-left: 6px; - padding-right: 6px; - padding-top: 0px; -} - - -/*** -NoUI Range Sliders -***/ -.noUi-handle { - height: 20px; - width: 20px; - margin: -3px 0 0 -20px; -} - -.noUi-base { - height: 16px; -} - -.noUi-connect { - background: #ffb848; -} - -/*** -Toastr Notifications -***/ -.toast { - -webkit-box-shadow: none !important; - -moz-box-shadow: none !important; - box-shadow: none !important; -} - -.toast { - background-color: #030303; -} -.toast-success { - background-color: #51a351; -} -.toast-error { - background-color: #bd362f; -} -.toast-info { - background-color: #2f96b4; -} -.toast-warning { - background-color: #f89406; -} - -.toast .toast-close-button { - display: inline-block; - margin-top: 0px; - margin-right: 0px; - text-indent: -100000px; - width: 11px; - height: 16px; - background-repeat: no-repeat !important; - background-image: url("../image/portlet-remove-icon-white.png") !important; -} - -.toast-top-center { - top: 12px; - margin: 0 auto; - left: 50%; - margin-left: -150px; -} - -.toast-bottom-center { - bottom: 12px; - margin: 0 auto; - left: 50%; - margin-left: -150px; -} - -/*** -Google reCaptcha -***/ -.form-recaptcha-img { - margin-bottom: 10px; - clear: both; - border: 1px solid #e5e5e5; - padding: 5px; -} - -iframe[src="about:blank"] { - display:none; -} - -/*** -Bootstrap Markdown -***/ -.md-input { - padding: 5px !important; - border-bottom: 0 !important; -} - -.md-editor .btn-toolbar { - margin-left: 0px; -} - -.md-editor.active { - border: 1px solid #999999; - -webkit-box-shadow: none !important; - -moz-box-shadow: none !important; - box-shadow: none !important; -} - -/*** -Bootstrap Datepaginator -***/ -.datepaginator a { - font-family: 'Open Sans'; - font-size: 13px; - font-weight: 300; -} - -.datepicker .today { - background-image: none !important; - filter: none !important; -} - -#dp-calendar { - right: 4px !important; -} - -/*** -Font Awesome 4.0 Demo -***/ -.fa-item { - font-size: 14px; - padding: 10px 10px 10px 20px; -} - -.fa-item i { - font-size: 16px; - display: inline-block; - width: 20px; -} - -.fa-item:hover { - cursor: pointer; - background: #eee; -} - -/*** -Bootstrap Modal -***/ -/* fix: content shifting to the right on modal open */ -.modal-open.page-overflow .page-container, -.modal-open.page-overflow .page-container .navbar-fixed-top, -.modal-open.page-overflow .page-container .navbar-fixed-bottom, -.modal-open.page-overflow .modal-scrollable { - overflow-y: auto !important; -} - -.modal-scrollable { - overflow: hidden !important; -} - - -/*** -jQuery Notific8 Plugin -***/ - -.jquery-notific8-message { - font-size: 13px; -} - -[class*="jquery-notific8"], -[class*="jquery-notific8"]:after, -[class*="jquery-notific8"]:before { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; -} - -.right .jquery-notific8-close-sticky span, -.left .jquery-notific8-close-sticky span { - font-size: 10px; -} - -.jquery-notific8-heading { - font-weight: 300; - font-size: 16px; -} - -/*** -jQuery File Upload -***/ - -.blueimp-gallery .close { - background-image: url("../image/portlet-remove-icon-white.png") !important; - margin-top: -2px; -} - -.blueimp-gallery .prev, -.blueimp-gallery .next { - border-radius: 23px !important; -} - -/*** -Bootstrap Switch -***/ - -.has-switch { - border-color: #e5e5e5; -} - -.has-switch:focus { - -webkit-box-shadow: none; - box-shadow: none; -} - -/*** -Jstree -***/ - -.jstree-default .jstree-clicked { - border: 0; - background-color: #e1e1e1; - box-shadow:none; -} - -.jstree-default .jstree-hovered { - border: 0; - background-color: #eee; - box-shadow:none; -} - -.jstree-default .jstree-wholerow-clicked, -.jstree-wholerow .jstree-wholerow-clicked { - background: none; - border: 0; - background-color: #e1e1e1; - box-shadow:none; -} - -.jstree-default .jstree-wholerow-hovered, -.jstree-wholerow .jstree-wholerow-hovered { - border: 0; - background-color: #eee; - box-shadow:none; -} - -.jstree-icon.icon-lg { - margin-top: 1px; -} - -.jstree-open > .jstree-anchor > .fa-folder:before { - margin-left: 2px; - content: "\f07c"; -} - -.jstree-default.jstree-rtl .jstree-last { - background: transparent; - background-repeat: no-repeat; -} - -.vakata-context, -.vakata-context ul { - padding: 0; - min-width: 125px; - background-color: #ffffff; - -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); - font-size: 14px; - font-family: "Segoe UI",Helvetica, Arial, sans-serif; - border: 1px solid #ddd; -} - -.vakata-context li a { - padding: 0 10px; -} - -.vakata-context .vakata-context-hover > a, -.vakata-context li a:hover { - background-color: #eee; - color: #333; - box-shadow: none; -} - -.vakata-context li a span, -.vakata-context li a ins { - display: none; -} - -.vakata-context .vakata-context-separator a, -.vakata-context-rtl .vakata-context-separator a { - margin: 0; -} - -.jstree-rename-input { - background-color: #ffffff !important; - border: 1px solid #e5e5e5 !important; - outline: none !important; - padding: 2px 6px !important; - margin-right: -4px !important; -} - -/*** -Bootstrap Select -***/ - -.bootstrap-select .btn { - border-color: #e5e5e5; -} - -.bootstrap-select.open .btn1 { - border-color: #999999; -} - -.bootstrap-select.open.dropup .btn1 { - border-color: #999999; -} - -.bootstrap-select .btn:focus { - outline: none !important; - outline-offset: 0; -} - -.bootstrap-select.btn-group .dropdown-menu { - margin-top: 1px; -} - -.bootstrap-select.btn-group .dropdown-menu > li > dt > .text { - font-weight: 600; - font-family: 'Open Sans'; - font-size: 14px; -} - -.bootstrap-select.btn-group .dropdown-menu .text-muted { - color: #999 !important; -} - -.bootstrap-select .caret { - border: 0; - width: auto; - height: auto; - margin-top: -10px !important; -} - -.bootstrap-select .caret:before { - content: "\f107"; - display: inline-block; - border: 0; - font-family: FontAwesome; - font-style: normal; - font-weight: normal; -} - -.bootstrap-select .selected i { - color: #aaa; -} - -/*** -Pace - Page Progress -***/ - -.pace .pace-progress { - z-index: 10000; - top: 40px; - height: 2px; -} - -.pace .pace-progress-inner { - box-shadow: none; -} - -.pace .pace-activity { - top: 44px; - right: 22px; - border-radius: 10px !important; -} - - -@media (max-width: 480px) { - - .page-header-fixed .pace .pace-progress { - top: 82px; - } - - .page-header-fixed .pace .pace-activity { - top: 88px; - right: 15px; - } - -} +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/************************** + PLUGIN CSS CUSTOMIZATIONS +**************************/ + +/*** +Calendar with full calendar +***/ +.external-event { + display: inline-block ; + cursor:move; + margin-bottom: 5px ; + margin-left: 5px ; +} + +.portlet .event-form-title { + font-size: 14px; + margin-top: 4px; + font-weight: 400; + margin-bottom: 10px; +} + +.portlet.calendar .fc-button { + -webkit-box-shadow: none ; + -moz-box-shadow: none ; + box-shadow: none ; + text-shadow: none; + border: 0 ; + padding: 6px 8px 30px 8px ; + margin-left:2px; + border-top-style: none; + border-bottom-style: none; + border-right-style: solid; + border-left-style: solid; + border-color: #ddd; + background: transparent; + color: #fff; + top: -46px; +} + +.portlet.calendar .fc-header { + margin-bottom:-21px; +} + +.portlet.calendar .fc-button-prev { + padding-right: 10px; + padding-left: 8px; +} + +.portlet.calendar .fc-button-next { + padding-right: 8px; + padding-left: 10px; +} + +.portlet.calendar .fc-button.fc-state-active, +.portlet.calendar .fc-button.fc-state-hover { + color: #666 ; + background-color: #F9F9F9 ; +} + +.portlet.calendar .fc-button.fc-state-disabled { + color: #ddd ; +} + +.portlet.calendar .fc-text-arrow { + font-size: 22px; + font-family: "Courier New", Courier, monospace; + vertical-align: baseline; +} + +/* begin: event element */ +.portlet.calendar .fc-event { + border: 0px; + background-color: #69a4e0; + color: #fff; +} + +.portlet.calendar .fc-event-inner { + border: 0px; +} + +.portlet.calendar .fc-event-time { + float: left; + text-align: left; + color: #fff; + font-size: 13px; + font-weight: 300; +} + +.portlet.calendar .fc-event-title { + text-align: left; + float: left; + color: #fff; + font-size: 13px; + font-weight: 300; +} +/* end: event element */ + +.portlet.calendar .fc-header-title h2 { + font-size: 14px ; + line-height: 20px; + font-weight: 400; + color: #111; +} + +.portlet.calendar .fc-widget-header { + background-image: none ; + filter:none; + background-color: #eee ; + text-transform: uppercase; + font-weight: 300; +} + +.portlet.calendar .mobile .fc-button { + margin-left: 2px ; +} + +.portlet.calendar .mobile .fc-button { + padding: 0px 6px 20px 6px ; + margin-left:2px ; + border: 0; + background-color: #ddd ; + background-image: none; + -webkit-box-shadow: none ; + -moz-box-shadow: none ; + box-shadow: none ; + -webkit-border-radius: 0 ; + -moz-border-radius: 0 ; + border-radius: 0 ; + color: #000; + text-shadow: none ; + text-align: center; +} + +.portlet.calendar .mobile .fc-state-hover, +.portlet.calendar .mobile .fc-state-active { + background-color: #eee ; +} + +.portlet.calendar .mobile .fc-button-prev { + margin-right: 5px; + margin-top: -2px; +} + +.portlet.calendar .mobile .fc-button-next { + margin-right: -0px; + margin-top: -2px; +} + +.portlet.calendar .mobile .fc-header-space { + margin: 0px ; + padding: 0px ; + width: 0px ; +} + + .portlet.calendar .mobile .fc-state-disabled { + color: #bbb ; + } + + .portlet.calendar .mobile .fc-header-left { + position: absolute; + z-index: 10; + } + + .portlet.calendar .mobile .fc-header-right { + position: absolute; + z-index: 9; + } + + .portlet.calendar .mobile .fc-header-left .fc-button { + top: -2px ; + } + + .portlet.calendar .mobile .fc-header-right { + position: relative; + right:0; + } + + .portlet.calendar .mobile .fc-header-right .fc-button { + top: 35px ; + } + + .portlet.calendar .mobile .fc-content { + margin-top: 53px; + } + + +/*** +Form wizard +***/ + +.form-wizard .progress { + margin-bottom: 30px; +} + +.form-wizard .steps { + //padding: 10px 0; + //margin-bottom: 15px; +} + +.form-wizard .steps { + background-color: #fff ; + background-image: none ; + filter:none ; + border: 0px; + box-shadow: none ; +} + +.form-wizard .steps li a { + background-color: #fff ; + background-image: none ; + filter:none; + border: 0px; + box-shadow: none ; +} + +.form-wizard .steps li a:hover { + background: none; +} + +.form-wizard .step:hover { + text-decoration: none; +} + +.form-wizard .step .number { + background-color: #eee; + display: inline-block; + text-align: center !important; + font-size: 16px; + font-weight: 300; + padding: 11px 15px 13px 15px; + margin-right: 10px; + height: 45px; + width: 45px; + -webkit-border-radius: 50% !important; + -moz-border-radius: 50% !important; + border-radius: 50% !important; +} + +.form-wizard .step .desc { + display: inline-block; + font-size: 16px; + font-weight: 300; +} + +.form-wizard .active .step .number { + background-color: #35aa47; + color: #fff; +} + +.form-wizard .active .step .desc { + color: #333; + font-weight: 400; +} + +.form-wizard .step i { + display: none; +} + +.form-wizard .done .step .number { + background-color: #f2ae43; + color: #fff; +} + +.form-wizard .done .step .desc { + font-weight: 400; +} + +.form-wizard .done .step i { + font-size: 12px; + font-weight: normal; + color: #999; + display: inline-block; +} + + +@media (min-width: 600px) and (max-width: 1280px) { + .form-wizard .step .desc { + margin-top: 10px; + display: block; + } +} + +@media (max-width: 600px) { + .form-wizard .steps > li > a { + text-align: left; + } +} + +@media (min-width: 600px){ + .nav-justified>li{ + display:table-cell; + width:1%; + } +} + +/*** +Google Maps +***/ +.gmaps { + height: 300px; + width: 100%; +} + +/* important! bootstrap sets max-width on img to 100% which conflicts with google map canvas*/ +.gmaps img { + max-width: none; +} + +#gmap_static div{ + background-repeat: no-repeat ; + background-position: 50% 50% ; + height:100%; + display:block; + height: 300px; +} + +#gmap_routes_instructions { + margin-top: 10px; + margin-bottom: 0px; +} + +/*** +SlimScrollBar plugins css changes +***/ +.scroller { + padding: 0px ; + margin: 0px ; + padding-right: 12px ; + overflow: hidden; +} + +.scroller-footer { + margin-top: 10px; +} + +.scroller-footer:after, +.scroller-footer:before { + content: ""; + display: table; + line-height: 0; +} + +.scroller-footer:after { + clear: both; +} + +.portlet-body .slimScrollBar { + margin-right: 0px ; +} + +/*** +jqvmap changes +***/ +.jqvmap-zoomin { + height: 16px; + width: 16px; + background-color: #666 ; +} + +.jqvmap-zoomout { + height: 16px; + width: 16px; + background-color: #666 ; +} + +.vmaps { + position: relative; + overflow: hidden; + height: 300px; +} + + +/*** +Error state for WYSIWYG Editors +***/ +.has-error .md-editor, +.has-error .wysihtml5-sandbox, +.has-error .cke { + border: 1px solid #B94A48 !important; +} + +.has-success .md-editor, +.has-success .wysihtml5-sandbox, +.has-success .cke { + border: 1px solid #468847 !important; +} + +/*** +Select2 plugin css changes +***/ + +/* enable form validation classes for select2 dropdowns */ +.has-error .select2-container .select2-choice { + border-color: #B94A48; +} + +.has-error .select2-container.select2-dropdown-open .select2-choice { + border-color: #e5e5e5; +} + +.has-error .select2-container.select2-dropdown-open .select2-choice > span { + color: #999999; +} + +.has-success .select2-container .select2-choice { + border-color: #468847; +} + +.has-success .select2-container.select2-dropdown-open .select2-choice { + border-color: #e5e5e5; +} + +.has-success .select2-container.select2-dropdown-open .select2-choice > span { + color: #999999; +} + + +/*** +Jansy File Input plugin css changes +***/ +.fileinput { + margin-bottom: 0; +} + + +/*** +WYSIWYG +***/ +.wysihtml5-toolbar li { + margin: 0px; + height: 29px; +} + +.wysihtml5-toolbar li .dropdown-menu { + margin-top: 5px; +} + +/*** +CKEditor css changes +***/ +.cke_bottom, +.cke_inner, +.cke_top, +.cke_reset, +.cke_dialog_title, +.cke_dialog_footer, +.cke_dialog { + background-image: none !important; + filter:none ; + border-top: 0 ; + border-bottom: 0 ; + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; + text-shadow:none ; +} + +.cke_dialog_ui_button, +.cke_dialog_tab { + background-image: none !important; + filter:none ; + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; + text-shadow:none !important; +} + +.cke_dialog_ui_button:hover, +.cke_dialog_tab:hover { + text-decoration: none; + text-shadow:none ; +} + +.cke_dialog_ui_input_text { + background-image: none !important; + filter:none ; + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; +} + +.cke_combo_button, +.cke_button, +.cke_toolbar, +.cke_toolgroup { + background-image: none !important; + filter:none !important; + border: 0 ; + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; +} + +.cke_button, +.cke_combo_button, +.cke_panel_grouptitle, +.cke_hc.cke_panel_listItem a { + background-image: none !important; + filter:none ; + text-shadow:none ; + -webkit-border-radius: 0px !important; + -moz-border-radius: 0px !important; + -ms-border-radius: 0px !important; + -o-border-radius: 0px !important; +} + +.cke_button:hover, +.cke_combo_button:hover { + background-color: #ddd; +} + +.cke_toolbar_break { + background-image: none !important; + filter:none !important; + border: 0 ; + box-shadow: none !important; + -webkit-box-shadow : none !important; + -moz-box-shadow: none !important; + -ms-box-shadow: none !important; + -o-box-shadow: none !important; +} + +/*** +Modify tags input plugin css +***/ +div.tagsinput { + min-height: 35px; + height: auto !important; + margin: 0; + padding: 5px 5px 0px 5px; + overflow: auto; +} + +div.tagsinput span.tag { + background: #aaa ; + color: #fff ; + border: 0 ; + padding: 3px 6px; + margin-top: 0; + margin-bottom: 5px; +} + +div.tagsinput input { + padding: 3px 6px ; + width: 75px !important; +} + +div.tagsinput span.tag a { + color: #fff ; +} + +div.tagsinput .not_valid { + color: #fff ; + padding: 3px 6px ; + background-color: #e02222 ; +} + +/*** +Gritter notification modify +***/ + +#gritter-notice-wrapper { + right:1px !important; +} + +.gritter-close { + left:auto !important; + right: 3px !important; +} + +.gritter-title { + font-family: 'Open Sans' ; + font-size: 18px ; + font-weight: 300 ; +} + +/*** +jQuery UI Sliders(new in v1.1.1) +***/ +.slider { + border: 0; + padding: 0; + display: block; + margin: 12px 5px; + min-height: 11px; +} + +.ui-slider-vertical { + width: 11px; +} + +.ui-slider-horizontal .ui-slider-handle { + top: -3px; +} + +.ui-slider-vertical .ui-slider-handle { + left: -3px; +} + +.ui-slider-vertical, +.ui-slider-handle { + filter: none !important; + background-image: none !important; +} + +/*** +Dropzone css changes(new in v1.1.1) +***/ +.dropzone { + -webkit-border-radius: 0px ; + -moz-border-radius: 0px ; + border-radius: 0px ; +} + + +/*** +Dashboard Charts(new in v1.2.1) +***/ +.easy-pie-chart, +.sparkline-chart { + text-align: center; +} + +.sparkline-chart { + margin-top: 15px; + position:relative ; +} + +.easy-pie-chart .number { + font-size: 16px; + font-weight: 300; + width: 85px; + margin: 0 auto; +} + +.sparkline-chart .number { + width: 100px; + margin: 0 auto; + margin-bottom: 10px; +} + +.sparkline-chart .title, +.easy-pie-chart .title { + display: block; + text-align: center; + color: #333; + font-weight: 300; + font-size: 16px; + margin-top: 5px; + margin-bottom: 10px; +} + +.sparkline-chart .title:hover, +.easy-pie-chart .title:hover { + color: #666; + text-decoration: none; +} + +.sparkline-chart .title > i, +.easy-pie-chart .title > i { + margin-top: 5px; +} + +/*** +Fancy box fix overlay fix(in v1.2.4) +***/ +.fancybox-overlay { + z-index: 10000 ; +} + +/*** +Datatables Plugin(in v1.3) +***/ +.dataTable { + width: 100% !important; + clear: both; + /*margin-top: 5px;*/ +} + +.dataTables_filter label { + line-height: 32px ; +} + +.dataTable .row-details { + margin-top: 3px; + display: inline-block; + cursor: pointer; + width: 14px; + height: 14px; +} + +.dataTable .row-details.row-details-close { + background: url("../image/datatable-row-openclose.png") no-repeat 0 0; +} + +.dataTable .row-details.row-details-open { + background: url("../image/datatable-row-openclose.png") no-repeat 0 -23px ; +} + +.dataTable .details { + background-color: #eee ; +} + +.dataTable .details td, +.dataTable .details th { + padding: 4px; + background: none ; + border: 0; +} + +.dataTable .details tr:hover td, +.dataTable .details tr:hover th { + background: none ; +} + +.dataTable .details tr:nth-child(odd) td, +.dataTable .details tr:nth-child(odd) th { + background-color: #fff ; +} + +.dataTable .details tr:nth-child(even) td, +.dataTable .details tr:nth-child(even) th { + background-color: #eee ; +} + +.dataTable > thead > tr > th.sorting, +.dataTable > thead > tr > th.sorting_asc, +.dataTable > thead > tr > th.sorting_desc { + padding-right: 18px; +} + +.dataTable .table-checkbox { + width: 8px !important; +} + +@media (max-width: 768px) { + .dataTables_wrapper .dataTables_length .form-control, + .dataTables_wrapper .dataTables_filter .form-control { + display: inline-block; + } + + /* .dataTables_wrapper .dataTables_info { + top: 17px; + }*/ + +/* .dataTables_wrapper .dataTables_paginate { + margin-top: -15px; + }*/ +} + +@media (max-width: 480px) { + .dataTables_wrapper .dataTables_filter .form-control { + width: 175px !important; + } + + .dataTables_wrapper .dataTables_paginate { + float: left; + margin-top: 20px; + } +} + +.dataTables_processing { + position: fixed; + top: 50%; + left: 50%; + min-width: 125px; + margin-left: 0; + padding: 7px; + text-align: center; + color: #333; + font-size: 13px; + border: 1px solid #ddd; + background-color: #eee; + vertical-align: middle; + -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); +} + +.dataTables_processing span { + line-height:15px; + vertical-align: middle; +} + +.dataTables_empty { + text-align: center; +} + +/*** +Extended Datatable +***/ +.dataTables_extended_wrapper { + position: relative !important; + clear: both !important; +} +.dataTables_extended_wrapper .seperator { + padding: 0 2px; +} + +.dataTables_extended_wrapper .dataTables_paginate, +.dataTables_extended_wrapper .dataTables_length, +.dataTables_extended_wrapper .dataTables_info { + display: inline-block; + float: none !important; + padding: 0 !important; + margin: 0 !important; + position: static !important; + font-size: 13px; +} + +@media (max-width: 480px) { + + .dataTables_extended_wrapper .dataTables_paginate, + .dataTables_extended_wrapper .dataTables_length, + .dataTables_extended_wrapper .dataTables_info { + display: block; + margin-bottom: 10px !important; + } + + .dataTables_extended_wrapper .seperator { + display: none; + } +} + +.dataTables_extended_wrapper .dataTables_length label { + margin: 0 !important; + padding: 0 !important; + font-size: 13px; + float: none !important; + display: inline-block !important; +} + +.table-container .table-actions-wrapper { + display: none; +} + +/*** +Password Strength(in v1.4) +***/ +.password-strength .password-verdict { + display: inline-block; + margin-top: 6px; + margin-left: 5px; +} + +.password-strength .progress { + margin-top: 5px; + margin-bottom: 0; +} + +.password-strength .progress-bar { + padding: 2px; +} + +/*** +Uniform disabled checkbox, radio button fix(in v1.4) +***/ + +.table .uniform-inline { + padding: 0; + margin: 0; +} + +.checker { + margin-top: -2px !important; + margin-right: 2px !important; + display:inline; +} + +.checker input, +.radio input { + outline: none !important; +} + +div.checker.disabled span, +div.checker.disabled.active span{ + background-position: -152px -260px; +} + +div.checker.disabled:hover, +div.radio.disabled:hover { + cursor: not-allowed; +} + +div.radio, +div.checker { + margin-right: 0; + margin-left: 3px; +} + +/*** +jQuery Sparkline +***/ +.jqstooltip { + width: auto !important; + height: auto !important; +} + + +/*** +jQuery Multi Select +***/ + +.ms-container .ms-list { + border: 1px solid #e5e5e5; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; + +} + +.ms-container .ms-optgroup-label{ + font-size: 14px; +} + +.ms-container .ms-selectable li.ms-elem-selectable, +.ms-container .ms-selection li.ms-elem-selection{ + font-size: 13px; +} + +.ms-container .ms-list.ms-focus { + border-color: #999999; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} + +.ms-container .ms-selectable li.ms-hover, +.ms-container .ms-selection li.ms-hover{ + color: #333; + background-color: #eee; +} + +.ms-container .form-control { + margin-bottom: 5px; +} + +/*** +Bootstrap Colorpicker +***/ +.input-group.color .input-group-btn i { + position: absolute; + display: block; + cursor: pointer; + width: 20px; + height: 20px; + right: 6px; +} + +.colorpicker.dropdown-menu { + padding: 5px; +} + +/* change z-index when opened in modal */ +.modal-open .colorpicker { + z-index: 10055 !important; +} + +/*** +Bootstrap Datetimepicker +***/ + +.datetimepicker table td { + font-weight: 300 !important; + font-family: 'Open Sans' !important; +} + +.datetimepicker table th { + font-family: 'Open Sans' !important; + font-weight: 400 !important; +} + +.datetimepicker.dropdown-menu { + padding: 5px; +} + +.datetimepicker .active { + background-color:#4b8df8 !important; + background-image: none !important; + filter: none !important; +} + +.datetimepicker .active:hover { + background-color: #2678FC !important; + background-image: none !important; + filter: none !important; + +} + +/* change z-index when opened in modal */ +.modal-open .datetimepicker { + z-index: 10055 !important; +} + +/*** +Bootstrap Time Picker +***/ +.bootstrap-timepicker-widget table td a { + padding: 4px 0; +} + +.bootstrap-timepicker-widget input, +.bootstrap-timepicker-widget input:focus { + outline: none !important; + border: 0; +} + +.modal-open .bootstrap-timepicker-widget { + z-index: 10055 !important; +} + +.bootstrap-timepicker-widget.timepicker-orient-bottom:before, +.bootstrap-timepicker-widget.timepicker-orient-bottom:after { + top: auto; +} + +/*** +Bootstrap Datepicker +***/ + +.datepicker.dropdown-menu { + padding: 5px; +} + +.datepicker .selected { + background-color:#909090 !important; + background-image: none !important; + filter: none !important; +} + +.datepicker .active { + background-color:#4b8df8 !important; + background-image: none !important; + filter: none !important; +} + +.datepicker .active:hover { + background-color: #2678FC !important; + background-image: none !important; + filter: none !important; +} + +.datepicker .input-daterange input { + text-align: left; +} + +/* change z-index when opened in modal */ +.modal-open .datepicker { + z-index: 10055 !important; +} + +.datepicker table td { + font-weight: 300 !important; + font-family: 'Open Sans' !important; +} + +.datepicker table th { + font-family: 'Open Sans' !important; + font-weight: 400 !important; +} + + +/*** +Clockface +***/ + +.modal-open .clockface { + z-index: 10055 !important; +} + +.clockface .cell .inner.active, +.clockface .cell .outer.active { + background-color:#4b8df8 !important; + background-image: none ; + filter:none ; +} + + +/*** +Bootstrap Daterangepicker +***/ + +.modal-open .daterangepicker { + z-index: 10055 !important; +} + +.daterangepicker td { + text-shadow: none ; +} + +.daterangepicker td.active { + background-color: #4b8df8 ; + background-image: none ; + filter:none ; +} + +.daterangepicker th { + font-weight: 400; + font-size: 14px; +} + +.daterangepicker .ranges input[type="text"] { + width: 70px !important; + font-size: 11px; + vertical-align: middle; +} + +.daterangepicker .ranges label { + font-weight: 300; + display: block; +} + +.daterangepicker .ranges .btn { + margin-top: 10px; +} + +.daterangepicker.dropdown-menu { + padding: 5px; +} + +.daterangepicker .ranges li { + color: #333; +} + +.daterangepicker .ranges li.active, +.daterangepicker .ranges li:hover { + background: #4b8df8 !important; + border: 1px solid #4b8df8 !important; + color: #fff; +} + +.daterangepicker .range_inputs input { + margin-bottom: 0 !important; +} + +/*** +Bootstrap Editable +***/ + +.editable-input table, +.editable-input table th, +.editable-input table td, +.editable-input table tr { + border: 0 !important; +} + +.editable-input .combodate select { + margin-bottom: 5px; +} + +/*** +FuelUX Spinners +***/ + +.spinner-buttons.btn-group-vertical .btn { + text-align: center; + margin: 0; + height: 17px; + width: 22px; + padding-left: 6px; + padding-right: 6px; + padding-top: 0px; +} + + +/*** +NoUI Range Sliders +***/ +.noUi-handle { + height: 20px; + width: 20px; + margin: -3px 0 0 -20px; +} + +.noUi-base { + height: 16px; +} + +.noUi-connect { + background: #ffb848; +} + +/*** +Toastr Notifications +***/ +.toast { + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; +} + +.toast { + background-color: #030303; +} +.toast-success { + background-color: #51a351; +} +.toast-error { + background-color: #bd362f; +} +.toast-info { + background-color: #2f96b4; +} +.toast-warning { + background-color: #f89406; +} + +.toast .toast-close-button { + display: inline-block; + margin-top: 0px; + margin-right: 0px; + text-indent: -100000px; + width: 11px; + height: 16px; + background-repeat: no-repeat !important; + background-image: url("../image/portlet-remove-icon-white.png") !important; +} + +.toast-top-center { + top: 12px; + margin: 0 auto; + left: 50%; + margin-left: -150px; +} + +.toast-bottom-center { + bottom: 12px; + margin: 0 auto; + left: 50%; + margin-left: -150px; +} + +/*** +Google reCaptcha +***/ +.form-recaptcha-img { + margin-bottom: 10px; + clear: both; + border: 1px solid #e5e5e5; + padding: 5px; +} + +iframe[src="about:blank"] { + display:none; +} + +/*** +Bootstrap Markdown +***/ +.md-input { + padding: 5px !important; + border-bottom: 0 !important; +} + +.md-editor .btn-toolbar { + margin-left: 0px; +} + +.md-editor.active { + border: 1px solid #999999; + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; +} + +/*** +Bootstrap Datepaginator +***/ +.datepaginator a { + font-family: 'Open Sans'; + font-size: 13px; + font-weight: 300; +} + +.datepicker .today { + background-image: none !important; + filter: none !important; +} + +#dp-calendar { + right: 4px !important; +} + +/*** +Font Awesome 4.0 Demo +***/ +.fa-item { + font-size: 14px; + padding: 10px 10px 10px 20px; +} + +.fa-item i { + font-size: 16px; + display: inline-block; + width: 20px; +} + +.fa-item:hover { + cursor: pointer; + background: #eee; +} + +/*** +Bootstrap Modal +***/ +/* fix: content shifting to the right on modal open */ +.modal-open.page-overflow .page-container, +.modal-open.page-overflow .page-container .navbar-fixed-top, +.modal-open.page-overflow .page-container .navbar-fixed-bottom, +.modal-open.page-overflow .modal-scrollable { + overflow-y: auto !important; +} + +.modal-scrollable { + overflow: hidden !important; +} + + +/*** +jQuery Notific8 Plugin +***/ + +.jquery-notific8-message { + font-size: 13px; +} + +[class*="jquery-notific8"], +[class*="jquery-notific8"]:after, +[class*="jquery-notific8"]:before { + -webkit-box-sizing: content-box; + -moz-box-sizing: content-box; + box-sizing: content-box; +} + +.right .jquery-notific8-close-sticky span, +.left .jquery-notific8-close-sticky span { + font-size: 10px; +} + +.jquery-notific8-heading { + font-weight: 300; + font-size: 16px; +} + +/*** +jQuery File Upload +***/ + +.blueimp-gallery .close { + background-image: url("../image/portlet-remove-icon-white.png") !important; + margin-top: -2px; +} + +.blueimp-gallery .prev, +.blueimp-gallery .next { + border-radius: 23px !important; +} + +/*** +Bootstrap Switch +***/ + +.has-switch { + border-color: #e5e5e5; +} + +.has-switch:focus { + -webkit-box-shadow: none; + box-shadow: none; +} + +/*** +Jstree +***/ + +.jstree-default .jstree-clicked { + border: 0; + background-color: #e1e1e1; + box-shadow:none; +} + +.jstree-default .jstree-hovered { + border: 0; + background-color: #eee; + box-shadow:none; +} + +.jstree-default .jstree-wholerow-clicked, +.jstree-wholerow .jstree-wholerow-clicked { + background: none; + border: 0; + background-color: #e1e1e1; + box-shadow:none; +} + +.jstree-default .jstree-wholerow-hovered, +.jstree-wholerow .jstree-wholerow-hovered { + border: 0; + background-color: #eee; + box-shadow:none; +} + +.jstree-icon.icon-lg { + margin-top: 1px; +} + +.jstree-open > .jstree-anchor > .fa-folder:before { + margin-left: 2px; + content: "\f07c"; +} + +.jstree-default.jstree-rtl .jstree-last { + background: transparent; + background-repeat: no-repeat; +} + +.vakata-context, +.vakata-context ul { + padding: 0; + min-width: 125px; + background-color: #ffffff; + -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); + font-size: 14px; + font-family: "Segoe UI",Helvetica, Arial, sans-serif; + border: 1px solid #ddd; +} + +.vakata-context li a { + padding: 0 10px; +} + +.vakata-context .vakata-context-hover > a, +.vakata-context li a:hover { + background-color: #eee; + color: #333; + box-shadow: none; +} + +.vakata-context li a span, +.vakata-context li a ins { + display: none; +} + +.vakata-context .vakata-context-separator a, +.vakata-context-rtl .vakata-context-separator a { + margin: 0; +} + +.jstree-rename-input { + background-color: #ffffff !important; + border: 1px solid #e5e5e5 !important; + outline: none !important; + padding: 2px 6px !important; + margin-right: -4px !important; +} + +/*** +Bootstrap Select +***/ + +.bootstrap-select .btn { + border-color: #e5e5e5; +} + +.bootstrap-select.open .btn1 { + border-color: #999999; +} + +.bootstrap-select.open.dropup .btn1 { + border-color: #999999; +} + +.bootstrap-select .btn:focus { + outline: none !important; + outline-offset: 0; +} + +.bootstrap-select.btn-group .dropdown-menu { + margin-top: 1px; +} + +.bootstrap-select.btn-group .dropdown-menu > li > dt > .text { + font-weight: 600; + font-family: 'Open Sans'; + font-size: 14px; +} + +.bootstrap-select.btn-group .dropdown-menu .text-muted { + color: #999 !important; +} + +.bootstrap-select .caret { + border: 0; + width: auto; + height: auto; + margin-top: -10px !important; +} + +.bootstrap-select .caret:before { + content: "\f107"; + display: inline-block; + border: 0; + font-family: FontAwesome; + font-style: normal; + font-weight: normal; +} + +.bootstrap-select .selected i { + color: #aaa; +} + +/*** +Pace - Page Progress +***/ + +.pace .pace-progress { + z-index: 10000; + top: 40px; + height: 2px; +} + +.pace .pace-progress-inner { + box-shadow: none; +} + +.pace .pace-activity { + top: 44px; + right: 22px; + border-radius: 10px !important; +} + + +@media (max-width: 480px) { + + .page-header-fixed .pace .pace-progress { + top: 82px; + } + + .page-header-fixed .pace .pace-activity { + top: 88px; + right: 15px; + } + +} diff --git a/openo-portal/portal-common/src/main/webapp/common/css/print.css b/openo-portal/portal-common/src/main/webapp/common/css/print.css index b2a7d76c..3d051a7e 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/print.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/print.css @@ -1,53 +1,53 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -body { - background-color: #fff !important; -} - -.header { - display: none; -} - -.page-sidebar { - display: none; -} - -.theme-panel { - display: none; -} - -.hidden-print { - display: none; -} - -.footer { - display: none; -} - -.no-page-break { - page-break-after: avoid; -} - -.page-container { - margin: 0px !important; - padding: 0px !important; -} - -.page-content { - min-height: auto !important; - padding: 0px 20px 20px !important; - margin: 0 !important; +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +body { + background-color: #fff !important; +} + +.header { + display: none; +} + +.page-sidebar { + display: none; +} + +.theme-panel { + display: none; +} + +.hidden-print { + display: none; +} + +.footer { + display: none; +} + +.no-page-break { + page-break-after: avoid; +} + +.page-container { + margin: 0px !important; + padding: 0px !important; +} + +.page-content { + min-height: auto !important; + padding: 0px 20px 20px !important; + margin: 0 !important; } \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/css/style-custom.css b/openo-portal/portal-common/src/main/webapp/common/css/style-custom.css index 0cae5197..c60148c8 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/style-custom.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/style-custom.css @@ -1,1510 +1,1510 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/* remove rounds from all elements */ - -div, -input, -select, -textarea, -span, -img, -table, -td, -th, -p, -a, -button, -ul, -code, -pre, -li { - //-webkit-border-radius: 0 !important; - //-moz-border-radius: 0 !important; - //border-radius: 0 !important; -} - -/*** -Buttons & Dropdown Buttons -***/ - -.btn { - border-width: 0; - padding: 7px 14px; - font-size: 14px; - outline: none !important; - -webkit-box-shadow: none !important; - -moz-box-shadow: none !important; - box-shadow: none !important; - //-webkit-border-radius: 0 !important; - //-moz-border-radius: 0 !important; - //border-radius: 0 !important; - text-shadow: none; -} - -/* fix jumping group buttons */ -.btn-group.btn-group-solid .btn + .btn, -.btn-group.btn-group-solid .btn + .btn-group.btn-group-solid, -.btn-group.btn-group-solid .btn-group.btn-group-solid + .btn, -.btn-group.btn-group-solid .btn-group.btn-group-solid + .btn-group.btn-group-solid { - margin-left: 0px; -} - -.btn-group-vertical.btn-group-solid > .btn + .btn, -.btn-group-vertical.btn-group-solid > .btn + .btn-group, -.btn-group-vertical.btn-group-solid > .btn-group + .btn, -.btn-group-vertical.btn-group-solid > .btn-group + .btn-group { - margin-top: 0px; - margin-left: 0; -} - -.btn-default { - border-width: 1px; - padding: 6px 13px; -} - -.btn.red-stripe { - border-left: 3px solid #d84a38; -} - -.btn.blue-stripe { - border-left: 3px solid #4d90fe; -} - -.btn.purple-stripe { - border-left: 3px solid #852b99; -} - -.btn.green-stripe { - border-left: 3px solid #35aa47; -} - -.btn.yellow-stripe { - border-left: 3px solid #ffb848; -} - -.btn.dark-stripe { - border-left: 3px solid #555555; -} - -.btn.default { - color: #333333; - text-shadow: none; - background-color: #e5e5e5; -} -.btn.default:hover, -.btn.default:focus, -.btn.default:active, -.btn.default.active, -.btn.default[disabled], -.btn.default.disabled { - color: #333333; - background-color: #d8d8d8 !important; - outline: none !important; -} - -/* Red */ -.btn.red { - color: white; - text-shadow: none; - background-color: #d84a38; -} -.btn.red:hover, -.btn.red:focus, -.btn.red:active, -.btn.red.active, -.btn.red[disabled], -.btn.red.disabled { - background-color: #bb2413 !important; - color: #fff !important; - outline: none !important; -} - -/* Blue */ - -.btn.blue { - color: white; - text-shadow: none; - background-color: #4d90fe; -} -.btn.blue:hover, -.btn.blue:focus, -.btn.blue:active, -.btn.blue.active, -.btn.blue[disabled], -.btn.blue.disabled { - background-color: #0362fd !important; - color: #fff !important; - outline: none !important; -} - -.btn-group .btn.blue.dropdown-toggle { - background-color: #4d90fe !important; -} -.btn-group .btn.blue:hover, -.btn-group .btn.blue:focus, -.btn-group .btn.blue:active, -.btn-group .btn.blue.active, -.btn-group .btn.blue.disabled, -.btn-group .btn.blue[disabled] { - background-color: #0362fd !important; - color: #fff !important; - outline: none !important; -} - -/* Green */ -.btn.green { - color: white; - text-shadow: none; - background-color: #35aa47; -} -.btn.green:hover, -.btn.green:focus, -.btn.green:active, -.btn.green.active, -.btn.green.disabled, -.btn.green[disabled]{ - background-color: #1d943b !important; - color: #fff !important; - outline: none !important; -} - -/* Purple */ -.btn.purple { - color: white; - text-shadow: none; - background-color: #852b99; -} -.btn.purple:hover, -.btn.purple:focus, -.btn.purple:active, -.btn.purple.active, -.btn.purple.disabled, -.btn.purple[disabled] { - background-color: #6d1b81 !important; - color: #fff !important; - outline: none !important; -} - -.btn-group .btn.purple.dropdown-toggle { - background-color: #852b99 !important; -} -.btn-group .btn.purple:hover, -.btn-group .btn.purple:focus, -.btn-group .btn.purple:active, -.btn-group .btn.purple.active, -.btn-group .btn.purple.disabled, -.btn-group .btn.purple[disabled] { - background-color: #6d1b81 !important; - color: #fff !important; - outline: none !important; -} - -/* Yellow */ -.btn.yellow { - color: white; - text-shadow: none; - background-color: #ffb848; -} -.btn.yellow:hover, -.btn.yellow:focus, -.btn.yellow:active, -.btn.yellow.active, -.btn.yellow.disabled, -.btn.yellow[disabled] { - background-color: #eca22e !important; - color: #fff !important; - outline: none !important; -} - -.btn-group .btn.yellow.dropdown-toggle { - background-color: #ffb848 !important; -} -.btn-group .btn.yellow:hover, -.btn-group .btn.yellow:focus, -.btn-group .btn.yellow:active, -.btn-group .btn.yellow.active, -.btn-group .btn.yellow.disabled, -.btn-group .btn.yellow[disabled] { - background-color: #eca22e !important; - color: #fff !important; - outline: none !important; -} - -/* Black */ -.btn.dark { - color: white; - text-shadow: none; - background-color: #555555; -} -.btn.dark:hover, -.btn.dark:focus, -.btn.dark:active, -.btn.dark.active, -.btn.dark.disabled, -.btn.dark[disabled] { - background-color: #222222 !important; - color: #fff !important; - outline: none !important; -} - -.btn-group .btn.dark.dropdown-toggle { - background-color: #555555 !important; -} -.btn-group .btn.dark:hover, -.btn-group .btn.dark:focus, -.btn-group .btn.dark:active, -.btn-group .btn.dark.active, -.btn-group .btn.dark.disabled, -.btn-group .btn.dark[disabled] { - background-color: #222222 !important; - color: #fff !important; - outline: none !important; -} - -.btn-lg { - padding: 10px 16px; - font-size: 18px; - line-height: 1.33; - vertical-align: middle; -} - -.btn-lg > i { - font-size: 18px; -} - -.btn > i { - font-size: 14px; -} - -.btn-sm, -.btn-xs { - padding: 4px 10px 5px 10px; - font-size: 13px; - line-height: 1.5; -} - -.btn-sm > i, -.btn-xs > i { - font-size: 13px; -} - -.btn-xs { - padding: 1px 5px; -} - -.btn-block { - display: block; - width: 100%; - padding-left: 0; - padding-right: 0; -} - -/*** -Metro icons -***/ - -[class^="m-icon-"] { - display: inline-block; - width: 14px; - height: 14px; - margin-top: 3px; - line-height: 14px; - vertical-align: top; - background-image: url(../image/syncfusion-icons.png); - background-position: 0 0; - background-repeat: no-repeat; -} - -[class^="m-icon-big-"] { - display: inline-block; - width: 30px; - height: 30px; - margin: 6px; - vertical-align: middle; - background-image: url(../image/syncfusion-icons.png); - background-position: 0 0px; - background-repeat: no-repeat; -} - -/* large icons */ -.btn.m-icon-big { - padding: 9px 16px 8px 16px; -} - -.btn.m-icon-big.m-icon-only{ - padding: 9px 8px 8px 0px; -} - -.btn.m-icon-big [class^="m-icon-big-"] { - margin: 0 0 0 10px; -} - -.btn.m-icon-ony > i { - margin-left: 0px; -} - -/* default icons */ -.btn.m-icon { - padding: 7px 14px 7px 14px; -} - -.btn.m-icon [class^="m-icon-"] { - margin: 4px 0 0 5px; -} - -.btn.m-icon.m-icon-only { - padding: 7px 10px 7px 6px; -} - -/* white icon */ -.m-icon-white { - background-image: url(../image/syncfusion-icons-white.png); -} - -/* Misc */ -.m-icon-swapright { - background-position: -27px -10px; -} -.m-icon-swapdown { - background-position: -68px -10px; -} -.m-icon-swapleft { - background-position: -8px -10px; -} -.m-icon-swapup { - background-position: -46px -10px; -} -.m-icon-big-swapright{ - background-position: -42px -28px; -} -.m-icon-big-swapdown{ - background-position: -115px -28px; -} -.m-icon-big-swapleft{ - background-position: -6px -28px; -} -.m-icon-big-swapup{ - background-position: -78px -28px; -} - - -/*** -Popover - ***/ -.popover { - -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2); - box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2); - padding: 0 !important; -} - -.popover .popover-title { - -webkit-border-radius: 0 !important; - -moz-border-radius: 0 !important; - border-radius: 0 !important; - margin: 0 !important; -} - -.info .popover .popover-title, -.popover.info .popover-title, -.info .popover .popover-content, -.popover.info .popover-content { - color:#27a9e3; -} - -.success .popover .popover-title, -.popover.success .popover-title, -.success .popover .popover-content, -.popover.success .popover-content { - color:#468847; -} - -.error .popover .popover-title, -.popover.error .popover-title, -.error .popover .popover-content, -.popover.error .popover-content { - color:#B94A48; -} - -.warning .popover .popover-title, -.popover.warning .popover-title, -.warning .popover .popover-content, -.popover.warning .popover-content { - color:#C09853; -} - -.popovers.yellow + .popover { - background: yellow; -} - -.popovers.yellow + .popover .popover-title { - background: yellow; -} - -.popovers.yellow + .popover .popover-content { - background: yellow; -} - -/*** -Dropdown -***/ - - /*Fixing dropdown issue on mobile devices in Bootstrap 3.2.2*/ -.dropdown-backdrop { - position: static; -} - -.dropdown:hover .caret, -.open.dropdown .caret { - opacity: 1; - filter: alpha(opacity=100); -} - - -.dropdown.open .dropdown-toggle { - color: #08c; - background: #ccc; - background: rgba(0, 0, 0, 0.3); -} - -/*** -Dropdown Menu -***/ - -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - list-style: none; - text-shadow: none; - padding: 0px; - margin:0px; - background-color: #ffffff; - -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); - font-size: 14px; - font-family: "Segoe UI",Helvetica, Arial, sans-serif; - border: 1px solid #ddd; -} - -/* custom dropdown conetnt */ -.dropdown-content { - padding:5px; -} - -.dropdown-content form { - margin:0; -} - -.dropdown.inline .dropdown-menu { - display: inline-block; - position: relative; -} - -.dropdown-menu.bottom-up { - top: auto; - bottom: 100%; - margin-bottom: 2px; -} - -.dropdown-menu li > a { - padding: 6px 0 6px 13px; - color: #333; - text-decoration: none; - display: block; - clear: both; - font-weight: normal; - line-height: 18px; - white-space: nowrap; -} - -.dropdown-menu li > a:hover, -.dropdown-menu .active > a, -.dropdown-menu .active > a:hover { - text-decoration: none; - background-image: none; - background-color: #eee; - color: #333; - filter:none; -} - -/* dropdown sub menu support for Bootsrap 3 */ -.dropdown-submenu { - position: relative; -} - -.dropdown-submenu > .dropdown-menu { - top: 5px; - left: 100%; - margin-top: -6px; - margin-left: -1px; -} - -.dropdown-submenu:hover > .dropdown-menu { - display: block; -} - -.dropup .dropdown-submenu > .dropdown-menu { - top: auto; - bottom: 0; - margin-top: 0; - margin-bottom: -2px; -} - -.dropdown-submenu > a:after { - position: absolute; - display: inline-block; - font-size: 14px; - right: 7px; - top: 7px; - font-family: FontAwesome; - height: auto; - content: "\f105"; - font-weight: 300; -} - -.dropdown-submenu:hover > a:after { - border-left-color: #ffffff; -} - -.dropdown-submenu.pull-left { - float: none; -} - -.dropdown-submenu.pull-left > .dropdown-menu { - left: -100%; - margin-left: 10px; -} - -.nav.pull-right > li > .dropdown-menu, -.nav > li > .dropdown-menu.pull-right { - right: 0; - left: auto; -} - -.nav.pull-right > li > .dropdown-menu:before, -.nav > li > .dropdown-menu.pull-right:before { - right: 12px; - left: auto; -} - -.nav.pull-right > li > .dropdown-menu:after, -.nav > li > .dropdown-menu.pull-right:after { - right: 13px; - left: auto; -} - -.nav.pull-right > li > .dropdown-menu .dropdown-menu, -.nav > li > .dropdown-menu.pull-right .dropdown-menu { - right: 100%; - left: auto; - margin-right: -1px; - margin-left: 0; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} - -@media (max-width: 767px) { - - .navbar-nav .open .dropdown-menu { - position: absolute; - float: left; - width: auto; - margin-top: 0; - background-color: #ffffff; - border: 1px solid #ddd; - -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); - } - - .navbar-nav .open .dropdown-menu > li > a { - padding: 6px 0 6px 13px; - color: #333 !important; - } - - .navbar-nav .open .dropdown-menu > li > a:hover, - .navbar-nav .open .dropdown-menu > li > a:focus { - background-color: #eee !important; - } - -} - -/*** -Dropdown Checkboxes (in v1.3) -***/ -.dropdown-checkboxes { - padding: 5px; -} - -.dropdown-checkboxes label { - display: block; - font-weight: 300; - color: #333; - margin-bottom: 4px; - margin-top: 4px; -} - - -/*** -Dropdown Menu Badges -***/ - -.dropdown-menu > li > a > .badge { - position: absolute; - margin-top: 1px; - right: 3px; - display: inline; - font-size: 11px; - font-weight: 300; - text-shadow:none; - height: 18px; - padding: 3px 6px 3px 6px; - text-align: center; - vertical-align: middle; - -webkit-border-radius: 12px !important; - -moz-border-radius: 12px !important; - border-radius: 12px !important; -} - -.dropdown-menu > li > a > .badge.badge-roundless { - -webkit-border-radius: 0 !important; - -moz-border-radius: 0 !important; - border-radius: 0 !important; -} - -/* end: sidebar menu badges */ - -/*** -Forms -***/ -code { - border: 1px solid #e1e1e1; - -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); -} -label { - font-weight: 400; - font-size: 14px; -} - -.form-control:-moz-placeholder { - color: #999999; -} -.form-control::-moz-placeholder { - color: #999999; -} -.form-control:-ms-input-placeholder { - color: #999999; -} -.form-control::-webkit-input-placeholder { - color: #999999; -} -.form-control { - font-size: 14px; - font-weight: normal; - color: #333333; - background-color: #ffffff; - border: 1px solid #e5e5e5; - border-radius: 0; - -webkit-box-shadow: none; - box-shadow: none; - -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; -} -.form-control:focus { - border-color: #999999; - outline: 0; - -webkit-box-shadow: none !important; - box-shadow: none !important; -} -.form-control[disabled], -.form-control[readonly], -fieldset[disabled] .form-control { - cursor: not-allowed; - background-color: #eeeeee; -} - -.form-control.height-auto { - height: auto; -} - -.uneditable-input { - padding: 6px 12px; - min-width: 206px; - font-size: 14px; - font-weight: normal; - height: 34px; - color: #333333; - background-color: #ffffff; - border: 1px solid #e5e5e5; - border-radius: 0; - -webkit-box-shadow: none; - box-shadow: none; - -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; -} - -label.form-control { - display: block; - margin-bottom: 5px; -} - -input[disabled], -select[disabled], -textarea[disabled] { - cursor: not-allowed; - background-color: #F4F4F4 !important; -} - -input[readonly], -select[readonly], -textarea[readonly] { - cursor: not-allowed; - background-color: #F9F9F9 !important; -} - -/* input groups */ -.input-group.input-group-fixed { - width: auto !important; -} - -.input-group-addon { - border-color: #e5e5e5; - background: #e5e5e5; - min-width: 39px; -} - -.input-group-addon > i { - color: #999; -} - -/* form control sizing */ -.form-control-inline { - display: inline-block !important; -} - -.input-mini { - width: 45px !important; -} - -.input-xsmall { - width: 80px !important; -} - -.input-small { - width: 120px !important; -} - -.input-medium { - width: 240px !important; -} - -.input-large { - width: 320px !important; -} - -.input-xlarge { - width: 480px !important; -} - -.input-inline { - display: inline-block; - width: auto; - vertical-align: middle; -} - -.form-group .input-inline { - margin-right: 5px; -} - -.input-sm { - height: 28px; - padding: 5px 10px; - font-size: 13px; -} - -select.input-sm { - height: 28px; - line-height: 28px; - padding: 2px 10px; -} - -/*** -Input spinner(in v1.4) -***/ - -input[type="text"].spinner, -input[type="password"].spinner, -input[type="datetime"].spinner, -input[type="datetime-local"].spinner, -input[type="date"].spinner, -input[type="month"].spinner, -input[type="time"].spinner, -input[type="week"].spinner, -input[type="number"].spinner, -input[type="email"].spinner, -input[type="url"].spinner, -input[type="search"].spinner, -input[type="tel"].spinner, -input[type="color"].spinner { - background-image: url("../image/input-spinner.gif") !important; - background-repeat: no-repeat; - background-position: right 8px; -} - -@media (max-width: 768px) { - - .input-large { - width: 250px !important; - } - - .input-xlarge { - width: 300px !important; - } - -} - -/*** -Error States -***/ - -.has-warning .help-inline, -.has-warning .help-block, -.has-warning .control-label { - color: #c09853; -} - -.has-warning .form-control { - border-color: #c09853; - -webkit-box-shadow: none; - box-shadow: none; -} - -.has-warning .form-control:focus { - border-color: #a47e3c; - -webkit-box-shadow: none; - box-shadow: none; -} - -.has-warning .input-group-addon { - color: #c09853; - background-color: #fcf8e3; - border-color: #c09853; -} - -.has-error .help-inline, -.has-error .help-block, -.has-error .control-label { - color: #b94a48; -} - -.has-error .form-control { - border-color: #b94a48; - -webkit-box-shadow: none; - box-shadow: none; -} - -.has-error .form-control:focus { - border-color: #953b39; - -webkit-box-shadow: none; - box-shadow: none; -} - -.has-error .input-group-addon { - color: #b94a48; - background-color: #f2dede; - border-color: #b94a48; -} - -.has-success .help-inline, -.has-success .help-block, -.has-success .control-label { - color: #468847; -} - -.has-success .form-control { - border-color: #468847; - -webkit-box-shadow: none; - box-shadow: none; -} - -.has-success .form-control:focus { - border-color: #356635; - -webkit-box-shadow: none; - box-shadow: none; -} - -.has-success .input-group-addon { - color: #468847; - background-color: #dff0d8; - border-color: #468847; -} - -/*** -Custom label and badges -***/ - -.label, -.badge { - font-weight: 300; - text-shadow: none !important; -} - -.label { - font-size: 12px; - padding: 3px 6px 3px 6px; -} - -.label.label-sm { - font-size: 12px; - padding: 1px 4px 1px 4px; -} - -h1 .label, -h2 .label, -h3 .label, -h4 .label, -h5 .label, -h6 .label, -h7 .label { - font-size: 75%; -} - -.badge { - font-size: 11px !important; - font-weight: 300; - text-align: center; - background-color: #e02222; - height: 18px; - padding: 3px 6px 3px 6px; - -webkit-border-radius: 12px !important; - -moz-border-radius: 12px !important; - border-radius: 12px !important; - text-shadow:none !important; - text-align: center; - vertical-align: middle; -} - -.badge.badge-roundless { - -webkit-border-radius: 0 !important; - -moz-border-radius: 0 !important; - border-radius: 0 !important; -} - -.badge-default, -.label-default { - background-color: #999 !important; -} - -.badge-primary, -.label-primary { - background-color: #428bca !important; -} - -.label-success, -.badge-success { - background-color: #3cc051; - background-image: none !important; -} - -.label-warning, -.badge-warning { - background-color: #fcb322; - background-image: none !important; -} - -.label-danger, -.badge-danger { - background-color: #ed4e2a; - background-image: none !important; -} - -.label-info, -.badge-info { - background-color: #57b5e3; - background-image: none !important; -} - -/* fix badge position for navs */ -.nav.nav-pills > li > a > .badge { - margin-top: -2px; -} - -.nav.nav-stacked > li > a > .badge { - margin-top: 1px; - margin-bottom: 0px; -} - -/*** -Iconic Labels -***/ - -.label.label-icon { - padding: 4px 1px 4px 5px; - margin-right: 2px; - text-align: center !important; -} - -.ie9 .label.label-icon, -.ie10 .label.label-icon { - padding: 3px 0px 3px 3px; -} - -.label.label-icon > i { - font-size: 12px; - text-align: center !important; -} - - -/*** -Pagination -***/ -.pagination { - margin: 10px 0; -} - -.pagination .active > a, -.pagination .active > a:hover { - background: #eee; - border-color: #dddddd; - color: #333; -} - - - -/*** -wells -***/ -.well { - -webkit-box-shadow: none !important; - -moz-box-shadow: none !important; - box-shadow: none !important; -} - -/* Bootstrap Tabs */ - -.dropup.open > .dropdown-toggle, -.dropdown.open > .dropdown-toggle { - border-color: #ddd !important; -} - -.nav-tabs > li > .dropdown-menu:after, -.nav-pills > li > .dropdown-menu:after, -.navbar-nav > li > .dropdown-menu:after, - -.nav-tabs > li > .dropdown-menu:before, -.nav-pills > li > .dropdown-menu:before, -.navbar-nav > li > .dropdown-menu:before { - display: none !important; -} - -.nav-tabs > .dropdown.open > .dropdown-toggle, -.nav-pills > .dropdown.open > .dropdown-toggle { - background: #eee !important; - color: #0d638f !important; -} - - -.nav-tabs, -.nav-pills { - margin-bottom: 10px; -} - -.tabs-right > .nav-tabs, -.tabs-left > .nav-tabs { - border-bottom: 0; -} - -.tabs-left > .nav-tabs > li, -.tabs-right > .nav-tabs > li { - float: none; -} - -.tabs-left > .nav-tabs > li > a, -.tabs-right > .nav-tabs > li > a { - min-width: 74px; - margin-right: 0; - margin-bottom: 3px; -} - -.tabs-left > .nav-tabs { - float: left; - margin-right: 19px; - border-right: 1px solid #ddd; -} - -.tabs-left > .nav-tabs > li > a { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} - -.tabs-left > .nav-tabs > li > a:hover, -.tabs-left > .nav-tabs > li > a:focus { - border-color: #eeeeee #dddddd #eeeeee #eeeeee; -} - -.tabs-left > .nav-tabs .active > a, -.tabs-left > .nav-tabs .active > a:hover, -.tabs-left > .nav-tabs .active > a:focus { - border-color: #ddd transparent #ddd #ddd; - *border-right-color: #ffffff; -} - -.tabs-right > .nav-tabs { - float: right; - margin-left: 19px; - border-left: 1px solid #ddd; -} - -.tabs-right > .nav-tabs > li > a { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} - -.tabs-right > .nav-tabs > li > a:hover, -.tabs-right > .nav-tabs > li > a:focus { - border-color: #eeeeee #eeeeee #eeeeee #dddddd; -} - -.tabs-right > .nav-tabs .active > a, -.tabs-right > .nav-tabs .active > a:hover, -.tabs-right > .nav-tabs .active > a:focus { - border-color: #ddd #ddd #ddd transparent; - *border-left-color: #ffffff; -} - -.tabs-below > .nav-tabs, -.tabs-below > .nav-pills { - border-bottom: 0; - margin-bottom: 0px; - margin-top: 10px; -} - -.tabs-below > .nav-tabs { - border-top: 1px solid #ddd; - margin-bottom: 0; - margin-top: 10px; -} - -.tabs-below > .nav-tabs > li { - margin-top: -1px; - margin-bottom: 0; -} - -.tabs-below > .nav-tabs > li > a { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} - -.tabs-below > .nav-tabs > li > a:hover, -.tabs-below > .nav-tabs > li > a:focus { - border-top-color: #ddd; - border-bottom-color: transparent; -} - -.tabs-below > .nav-tabs > .active > a, -.tabs-below > .nav-tabs > .active > a:hover, -.tabs-below > .nav-tabs > .active > a:focus { - border-color: transparent #ddd #ddd #ddd; -} - -/* BS3.0.3 removed tabbable class so its added back */ -.tabbable:before, -.tabbable:after { - display: table; - content: " "; -} - -.tabbable:after { - clear: both; -} - -.tabbable:before, -.tabbable:after { - display: table; - content: " "; -} - -.tabbable:after { - clear: both; -} - -/*** -Bootstrap modal -***/ - -.modal { - z-index: 10050 !important; - outline: none !important; -} - -.modal-header { - border-bottom: 1px solid #EFEFEF; -} - -.modal-header h3{ - font-weight: 300; -} - -.modal-small.modal-dialog { - width: 400px; -} - -.modal-wide.modal-dialog { - width: 60%; -} - -.modal-full.modal-dialog { - width: 100%; -} - -@media (max-width: 768px) { - - .modal-small.modal-dialog, - .modal-wide.modal-dialog, - .modal-full.modal-dialog { - width: auto; - } - -} - -/*** -Modal header close button fix -***/ -.modal-header .close { - margin-top: 0px !important; -} - -.modal > .loading { - position: absolute; - top: 50%; - left:50%; - margin-top: -22px; - margin-left: -22px; -} - -.modal-backdrop { - border: 0 !important; - outline: none !important; - z-index: 10049 !important; -} - -.modal-backdrop, -.modal-backdrop.fade.in { - background-color: #333 !important; -} - -/* fix: content shifting to the right on modal open due to scrollbar closed */ -.modal { - overflow-y: auto !important; -} - -.modal-open { - overflow-y: auto !important; -} - -.modal-open-noscroll { - overflow-y: hidden !important; -} - - -/*** -Image Carousel -***/ -.carousel.image-carousel .carousel-inner { - padding-top: 0; - padding-bottom: 0; -} - -.carousel.image-carousel .carousel-control i { - position: absolute; - top:40%; -} - -.carousel.image-carousel.image-carousel-hoverable .carousel-control i { - display: none; -} - -.carousel.image-carousel.image-carousel-hoverable:hover .carousel-control i { - display: inline-block; -} - -.carousel.image-carousel .carousel-control.left i { - left:10px; -} - -.carousel.image-carousel .carousel-control.right i { - right:10px; -} - -.carousel.image-carousel .carousel-indicators { - margin-top: 10px; - bottom: -7px; -} - -.carousel.image-carousel .carousel-indicators li { - background-color: #666; -} - -.carousel.image-carousel .carousel-indicators li.active { - background-color: #333; -} - -.carousel.image-carousel .carousel-caption { - position: absolute; - right: 0; - bottom: 0; - left: 0; - padding: 15px 15px 25px 15px; - background: #333333; - background: rgba(0, 0, 0, 0.75); -} - -.carousel.image-carousel .carousel-caption h4, -.carousel.image-carousel .carousel-caption h3, -.carousel.image-carousel .carousel-caption h2, -.carousel.image-carousel .carousel-caption p { - text-align: left; - line-height: 20px; - color: #ffffff; -} - -.carousel.image-carousel .carousel-caption h2, -.carousel.image-carousel .carousel-caption h3, -.carousel.image-carousel .carousel-caption h4 { - margin: 0 0 5px; -} - -.carousel.image-carousel .carousel-caption h2 a, -.carousel.image-carousel .carousel-caption h3 a, -.carousel.image-carousel .carousel-caption h4 a { - color: #aaa; -} - -.carousel.image-carousel .carousel-caption p { - margin-bottom: 0; -} - -.carousel.image-carousel .item { - margin: 0; -} - -/*** -Bootstrap Tables -***/ - -.table thead > tr > th { - border-bottom: 0; -} - -.table tbody tr.active td, -.table tbody tr.active th { - background-color: #e9e9e9 !important; -} - -.table tbody tr.active:hover td, -.table tbody tr.active:hover th { - background-color: #e1e1e1 !important; -} - -.table-striped tbody tr.active:nth-child(odd) td, -.table-striped tbody tr.active:nth-child(odd) th { - background-color: #017ebc; -} - -.table .heading > th { - background-color: #eee !important; -} - -/*** -Bootstrap Panel -***/ - -.panel { - -webkit-box-shadow: none !important; - -moz-box-shadow: none !important; - box-shadow: none !important; -} - -.panel .panel-title > a:hover { - text-decoration: none; -} - -.accordion .panel-heading { - padding: 0; -} - -.accordion .panel-title { - padding: 0; -} - -.accordion .panel-title .accordion-toggle { - display: block; - padding: 10px 15px; -} - -.accordion .accordion-toggle.accordion-toggle-styled { - background: url("../image/accordion-plusminus.png") no-repeat; - background-position: right -19px; - margin-right: 15px; -} - -.accordion .accordion-toggle.accordion-toggle-styled.collapsed { - background-position: right 12px; -} - -/*** -Responsive Image -***/ -.table td .img-responsive{ - width:100%; -} - -/*** -Unstyled List -***/ - -.list-unstyled li > .list-unstyled { - margin-left: 25px; -} - -.alarm-critical{ - background-color: rgb(255, 0, 0); -} - -.alarm-major{ - background-color: rgb(255, 150, 0); -} - -.alarm-minor{ - background-color: rgb(248, 252, 96); -} - -.alarm-warning{ - background-color: rgb(152, 240, 248); +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/* remove rounds from all elements */ + +div, +input, +select, +textarea, +span, +img, +table, +td, +th, +p, +a, +button, +ul, +code, +pre, +li { + //-webkit-border-radius: 0 !important; + //-moz-border-radius: 0 !important; + //border-radius: 0 !important; +} + +/*** +Buttons & Dropdown Buttons +***/ + +.btn { + border-width: 0; + padding: 7px 14px; + font-size: 14px; + outline: none !important; + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; + //-webkit-border-radius: 0 !important; + //-moz-border-radius: 0 !important; + //border-radius: 0 !important; + text-shadow: none; +} + +/* fix jumping group buttons */ +.btn-group.btn-group-solid .btn + .btn, +.btn-group.btn-group-solid .btn + .btn-group.btn-group-solid, +.btn-group.btn-group-solid .btn-group.btn-group-solid + .btn, +.btn-group.btn-group-solid .btn-group.btn-group-solid + .btn-group.btn-group-solid { + margin-left: 0px; +} + +.btn-group-vertical.btn-group-solid > .btn + .btn, +.btn-group-vertical.btn-group-solid > .btn + .btn-group, +.btn-group-vertical.btn-group-solid > .btn-group + .btn, +.btn-group-vertical.btn-group-solid > .btn-group + .btn-group { + margin-top: 0px; + margin-left: 0; +} + +.btn-default { + border-width: 1px; + padding: 6px 13px; +} + +.btn.red-stripe { + border-left: 3px solid #d84a38; +} + +.btn.blue-stripe { + border-left: 3px solid #4d90fe; +} + +.btn.purple-stripe { + border-left: 3px solid #852b99; +} + +.btn.green-stripe { + border-left: 3px solid #35aa47; +} + +.btn.yellow-stripe { + border-left: 3px solid #ffb848; +} + +.btn.dark-stripe { + border-left: 3px solid #555555; +} + +.btn.default { + color: #333333; + text-shadow: none; + background-color: #e5e5e5; +} +.btn.default:hover, +.btn.default:focus, +.btn.default:active, +.btn.default.active, +.btn.default[disabled], +.btn.default.disabled { + color: #333333; + background-color: #d8d8d8 !important; + outline: none !important; +} + +/* Red */ +.btn.red { + color: white; + text-shadow: none; + background-color: #d84a38; +} +.btn.red:hover, +.btn.red:focus, +.btn.red:active, +.btn.red.active, +.btn.red[disabled], +.btn.red.disabled { + background-color: #bb2413 !important; + color: #fff !important; + outline: none !important; +} + +/* Blue */ + +.btn.blue { + color: white; + text-shadow: none; + background-color: #4d90fe; +} +.btn.blue:hover, +.btn.blue:focus, +.btn.blue:active, +.btn.blue.active, +.btn.blue[disabled], +.btn.blue.disabled { + background-color: #0362fd !important; + color: #fff !important; + outline: none !important; +} + +.btn-group .btn.blue.dropdown-toggle { + background-color: #4d90fe !important; +} +.btn-group .btn.blue:hover, +.btn-group .btn.blue:focus, +.btn-group .btn.blue:active, +.btn-group .btn.blue.active, +.btn-group .btn.blue.disabled, +.btn-group .btn.blue[disabled] { + background-color: #0362fd !important; + color: #fff !important; + outline: none !important; +} + +/* Green */ +.btn.green { + color: white; + text-shadow: none; + background-color: #35aa47; +} +.btn.green:hover, +.btn.green:focus, +.btn.green:active, +.btn.green.active, +.btn.green.disabled, +.btn.green[disabled]{ + background-color: #1d943b !important; + color: #fff !important; + outline: none !important; +} + +/* Purple */ +.btn.purple { + color: white; + text-shadow: none; + background-color: #852b99; +} +.btn.purple:hover, +.btn.purple:focus, +.btn.purple:active, +.btn.purple.active, +.btn.purple.disabled, +.btn.purple[disabled] { + background-color: #6d1b81 !important; + color: #fff !important; + outline: none !important; +} + +.btn-group .btn.purple.dropdown-toggle { + background-color: #852b99 !important; +} +.btn-group .btn.purple:hover, +.btn-group .btn.purple:focus, +.btn-group .btn.purple:active, +.btn-group .btn.purple.active, +.btn-group .btn.purple.disabled, +.btn-group .btn.purple[disabled] { + background-color: #6d1b81 !important; + color: #fff !important; + outline: none !important; +} + +/* Yellow */ +.btn.yellow { + color: white; + text-shadow: none; + background-color: #ffb848; +} +.btn.yellow:hover, +.btn.yellow:focus, +.btn.yellow:active, +.btn.yellow.active, +.btn.yellow.disabled, +.btn.yellow[disabled] { + background-color: #eca22e !important; + color: #fff !important; + outline: none !important; +} + +.btn-group .btn.yellow.dropdown-toggle { + background-color: #ffb848 !important; +} +.btn-group .btn.yellow:hover, +.btn-group .btn.yellow:focus, +.btn-group .btn.yellow:active, +.btn-group .btn.yellow.active, +.btn-group .btn.yellow.disabled, +.btn-group .btn.yellow[disabled] { + background-color: #eca22e !important; + color: #fff !important; + outline: none !important; +} + +/* Black */ +.btn.dark { + color: white; + text-shadow: none; + background-color: #555555; +} +.btn.dark:hover, +.btn.dark:focus, +.btn.dark:active, +.btn.dark.active, +.btn.dark.disabled, +.btn.dark[disabled] { + background-color: #222222 !important; + color: #fff !important; + outline: none !important; +} + +.btn-group .btn.dark.dropdown-toggle { + background-color: #555555 !important; +} +.btn-group .btn.dark:hover, +.btn-group .btn.dark:focus, +.btn-group .btn.dark:active, +.btn-group .btn.dark.active, +.btn-group .btn.dark.disabled, +.btn-group .btn.dark[disabled] { + background-color: #222222 !important; + color: #fff !important; + outline: none !important; +} + +.btn-lg { + padding: 10px 16px; + font-size: 18px; + line-height: 1.33; + vertical-align: middle; +} + +.btn-lg > i { + font-size: 18px; +} + +.btn > i { + font-size: 14px; +} + +.btn-sm, +.btn-xs { + padding: 4px 10px 5px 10px; + font-size: 13px; + line-height: 1.5; +} + +.btn-sm > i, +.btn-xs > i { + font-size: 13px; +} + +.btn-xs { + padding: 1px 5px; +} + +.btn-block { + display: block; + width: 100%; + padding-left: 0; + padding-right: 0; +} + +/*** +Metro icons +***/ + +[class^="m-icon-"] { + display: inline-block; + width: 14px; + height: 14px; + margin-top: 3px; + line-height: 14px; + vertical-align: top; + background-image: url(../image/syncfusion-icons.png); + background-position: 0 0; + background-repeat: no-repeat; +} + +[class^="m-icon-big-"] { + display: inline-block; + width: 30px; + height: 30px; + margin: 6px; + vertical-align: middle; + background-image: url(../image/syncfusion-icons.png); + background-position: 0 0px; + background-repeat: no-repeat; +} + +/* large icons */ +.btn.m-icon-big { + padding: 9px 16px 8px 16px; +} + +.btn.m-icon-big.m-icon-only{ + padding: 9px 8px 8px 0px; +} + +.btn.m-icon-big [class^="m-icon-big-"] { + margin: 0 0 0 10px; +} + +.btn.m-icon-ony > i { + margin-left: 0px; +} + +/* default icons */ +.btn.m-icon { + padding: 7px 14px 7px 14px; +} + +.btn.m-icon [class^="m-icon-"] { + margin: 4px 0 0 5px; +} + +.btn.m-icon.m-icon-only { + padding: 7px 10px 7px 6px; +} + +/* white icon */ +.m-icon-white { + background-image: url(../image/syncfusion-icons-white.png); +} + +/* Misc */ +.m-icon-swapright { + background-position: -27px -10px; +} +.m-icon-swapdown { + background-position: -68px -10px; +} +.m-icon-swapleft { + background-position: -8px -10px; +} +.m-icon-swapup { + background-position: -46px -10px; +} +.m-icon-big-swapright{ + background-position: -42px -28px; +} +.m-icon-big-swapdown{ + background-position: -115px -28px; +} +.m-icon-big-swapleft{ + background-position: -6px -28px; +} +.m-icon-big-swapup{ + background-position: -78px -28px; +} + + +/*** +Popover + ***/ +.popover { + -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2); + -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2); + box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2); + padding: 0 !important; +} + +.popover .popover-title { + -webkit-border-radius: 0 !important; + -moz-border-radius: 0 !important; + border-radius: 0 !important; + margin: 0 !important; +} + +.info .popover .popover-title, +.popover.info .popover-title, +.info .popover .popover-content, +.popover.info .popover-content { + color:#27a9e3; +} + +.success .popover .popover-title, +.popover.success .popover-title, +.success .popover .popover-content, +.popover.success .popover-content { + color:#468847; +} + +.error .popover .popover-title, +.popover.error .popover-title, +.error .popover .popover-content, +.popover.error .popover-content { + color:#B94A48; +} + +.warning .popover .popover-title, +.popover.warning .popover-title, +.warning .popover .popover-content, +.popover.warning .popover-content { + color:#C09853; +} + +.popovers.yellow + .popover { + background: yellow; +} + +.popovers.yellow + .popover .popover-title { + background: yellow; +} + +.popovers.yellow + .popover .popover-content { + background: yellow; +} + +/*** +Dropdown +***/ + + /*Fixing dropdown issue on mobile devices in Bootstrap 3.2.2*/ +.dropdown-backdrop { + position: static; +} + +.dropdown:hover .caret, +.open.dropdown .caret { + opacity: 1; + filter: alpha(opacity=100); +} + + +.dropdown.open .dropdown-toggle { + color: #08c; + background: #ccc; + background: rgba(0, 0, 0, 0.3); +} + +/*** +Dropdown Menu +***/ + +.dropdown-menu { + position: absolute; + top: 100%; + left: 0; + z-index: 1000; + display: none; + float: left; + list-style: none; + text-shadow: none; + padding: 0px; + margin:0px; + background-color: #ffffff; + -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); + font-size: 14px; + font-family: "Segoe UI",Helvetica, Arial, sans-serif; + border: 1px solid #ddd; +} + +/* custom dropdown conetnt */ +.dropdown-content { + padding:5px; +} + +.dropdown-content form { + margin:0; +} + +.dropdown.inline .dropdown-menu { + display: inline-block; + position: relative; +} + +.dropdown-menu.bottom-up { + top: auto; + bottom: 100%; + margin-bottom: 2px; +} + +.dropdown-menu li > a { + padding: 6px 0 6px 13px; + color: #333; + text-decoration: none; + display: block; + clear: both; + font-weight: normal; + line-height: 18px; + white-space: nowrap; +} + +.dropdown-menu li > a:hover, +.dropdown-menu .active > a, +.dropdown-menu .active > a:hover { + text-decoration: none; + background-image: none; + background-color: #eee; + color: #333; + filter:none; +} + +/* dropdown sub menu support for Bootsrap 3 */ +.dropdown-submenu { + position: relative; +} + +.dropdown-submenu > .dropdown-menu { + top: 5px; + left: 100%; + margin-top: -6px; + margin-left: -1px; +} + +.dropdown-submenu:hover > .dropdown-menu { + display: block; +} + +.dropup .dropdown-submenu > .dropdown-menu { + top: auto; + bottom: 0; + margin-top: 0; + margin-bottom: -2px; +} + +.dropdown-submenu > a:after { + position: absolute; + display: inline-block; + font-size: 14px; + right: 7px; + top: 7px; + font-family: FontAwesome; + height: auto; + content: "\f105"; + font-weight: 300; +} + +.dropdown-submenu:hover > a:after { + border-left-color: #ffffff; +} + +.dropdown-submenu.pull-left { + float: none; +} + +.dropdown-submenu.pull-left > .dropdown-menu { + left: -100%; + margin-left: 10px; +} + +.nav.pull-right > li > .dropdown-menu, +.nav > li > .dropdown-menu.pull-right { + right: 0; + left: auto; +} + +.nav.pull-right > li > .dropdown-menu:before, +.nav > li > .dropdown-menu.pull-right:before { + right: 12px; + left: auto; +} + +.nav.pull-right > li > .dropdown-menu:after, +.nav > li > .dropdown-menu.pull-right:after { + right: 13px; + left: auto; +} + +.nav.pull-right > li > .dropdown-menu .dropdown-menu, +.nav > li > .dropdown-menu.pull-right .dropdown-menu { + right: 100%; + left: auto; + margin-right: -1px; + margin-left: 0; + -webkit-border-radius: 6px 0 6px 6px; + -moz-border-radius: 6px 0 6px 6px; + border-radius: 6px 0 6px 6px; +} + +@media (max-width: 767px) { + + .navbar-nav .open .dropdown-menu { + position: absolute; + float: left; + width: auto; + margin-top: 0; + background-color: #ffffff; + border: 1px solid #ddd; + -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); + } + + .navbar-nav .open .dropdown-menu > li > a { + padding: 6px 0 6px 13px; + color: #333 !important; + } + + .navbar-nav .open .dropdown-menu > li > a:hover, + .navbar-nav .open .dropdown-menu > li > a:focus { + background-color: #eee !important; + } + +} + +/*** +Dropdown Checkboxes (in v1.3) +***/ +.dropdown-checkboxes { + padding: 5px; +} + +.dropdown-checkboxes label { + display: block; + font-weight: 300; + color: #333; + margin-bottom: 4px; + margin-top: 4px; +} + + +/*** +Dropdown Menu Badges +***/ + +.dropdown-menu > li > a > .badge { + position: absolute; + margin-top: 1px; + right: 3px; + display: inline; + font-size: 11px; + font-weight: 300; + text-shadow:none; + height: 18px; + padding: 3px 6px 3px 6px; + text-align: center; + vertical-align: middle; + -webkit-border-radius: 12px !important; + -moz-border-radius: 12px !important; + border-radius: 12px !important; +} + +.dropdown-menu > li > a > .badge.badge-roundless { + -webkit-border-radius: 0 !important; + -moz-border-radius: 0 !important; + border-radius: 0 !important; +} + +/* end: sidebar menu badges */ + +/*** +Forms +***/ +code { + border: 1px solid #e1e1e1; + -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); +} +label { + font-weight: 400; + font-size: 14px; +} + +.form-control:-moz-placeholder { + color: #999999; +} +.form-control::-moz-placeholder { + color: #999999; +} +.form-control:-ms-input-placeholder { + color: #999999; +} +.form-control::-webkit-input-placeholder { + color: #999999; +} +.form-control { + font-size: 14px; + font-weight: normal; + color: #333333; + background-color: #ffffff; + border: 1px solid #e5e5e5; + border-radius: 0; + -webkit-box-shadow: none; + box-shadow: none; + -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; + transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; +} +.form-control:focus { + border-color: #999999; + outline: 0; + -webkit-box-shadow: none !important; + box-shadow: none !important; +} +.form-control[disabled], +.form-control[readonly], +fieldset[disabled] .form-control { + cursor: not-allowed; + background-color: #eeeeee; +} + +.form-control.height-auto { + height: auto; +} + +.uneditable-input { + padding: 6px 12px; + min-width: 206px; + font-size: 14px; + font-weight: normal; + height: 34px; + color: #333333; + background-color: #ffffff; + border: 1px solid #e5e5e5; + border-radius: 0; + -webkit-box-shadow: none; + box-shadow: none; + -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; + transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; +} + +label.form-control { + display: block; + margin-bottom: 5px; +} + +input[disabled], +select[disabled], +textarea[disabled] { + cursor: not-allowed; + background-color: #F4F4F4 !important; +} + +input[readonly], +select[readonly], +textarea[readonly] { + cursor: not-allowed; + background-color: #F9F9F9 !important; +} + +/* input groups */ +.input-group.input-group-fixed { + width: auto !important; +} + +.input-group-addon { + border-color: #e5e5e5; + background: #e5e5e5; + min-width: 39px; +} + +.input-group-addon > i { + color: #999; +} + +/* form control sizing */ +.form-control-inline { + display: inline-block !important; +} + +.input-mini { + width: 45px !important; +} + +.input-xsmall { + width: 80px !important; +} + +.input-small { + width: 120px !important; +} + +.input-medium { + width: 240px !important; +} + +.input-large { + width: 320px !important; +} + +.input-xlarge { + width: 480px !important; +} + +.input-inline { + display: inline-block; + width: auto; + vertical-align: middle; +} + +.form-group .input-inline { + margin-right: 5px; +} + +.input-sm { + height: 28px; + padding: 5px 10px; + font-size: 13px; +} + +select.input-sm { + height: 28px; + line-height: 28px; + padding: 2px 10px; +} + +/*** +Input spinner(in v1.4) +***/ + +input[type="text"].spinner, +input[type="password"].spinner, +input[type="datetime"].spinner, +input[type="datetime-local"].spinner, +input[type="date"].spinner, +input[type="month"].spinner, +input[type="time"].spinner, +input[type="week"].spinner, +input[type="number"].spinner, +input[type="email"].spinner, +input[type="url"].spinner, +input[type="search"].spinner, +input[type="tel"].spinner, +input[type="color"].spinner { + background-image: url("../image/input-spinner.gif") !important; + background-repeat: no-repeat; + background-position: right 8px; +} + +@media (max-width: 768px) { + + .input-large { + width: 250px !important; + } + + .input-xlarge { + width: 300px !important; + } + +} + +/*** +Error States +***/ + +.has-warning .help-inline, +.has-warning .help-block, +.has-warning .control-label { + color: #c09853; +} + +.has-warning .form-control { + border-color: #c09853; + -webkit-box-shadow: none; + box-shadow: none; +} + +.has-warning .form-control:focus { + border-color: #a47e3c; + -webkit-box-shadow: none; + box-shadow: none; +} + +.has-warning .input-group-addon { + color: #c09853; + background-color: #fcf8e3; + border-color: #c09853; +} + +.has-error .help-inline, +.has-error .help-block, +.has-error .control-label { + color: #b94a48; +} + +.has-error .form-control { + border-color: #b94a48; + -webkit-box-shadow: none; + box-shadow: none; +} + +.has-error .form-control:focus { + border-color: #953b39; + -webkit-box-shadow: none; + box-shadow: none; +} + +.has-error .input-group-addon { + color: #b94a48; + background-color: #f2dede; + border-color: #b94a48; +} + +.has-success .help-inline, +.has-success .help-block, +.has-success .control-label { + color: #468847; +} + +.has-success .form-control { + border-color: #468847; + -webkit-box-shadow: none; + box-shadow: none; +} + +.has-success .form-control:focus { + border-color: #356635; + -webkit-box-shadow: none; + box-shadow: none; +} + +.has-success .input-group-addon { + color: #468847; + background-color: #dff0d8; + border-color: #468847; +} + +/*** +Custom label and badges +***/ + +.label, +.badge { + font-weight: 300; + text-shadow: none !important; +} + +.label { + font-size: 12px; + padding: 3px 6px 3px 6px; +} + +.label.label-sm { + font-size: 12px; + padding: 1px 4px 1px 4px; +} + +h1 .label, +h2 .label, +h3 .label, +h4 .label, +h5 .label, +h6 .label, +h7 .label { + font-size: 75%; +} + +.badge { + font-size: 11px !important; + font-weight: 300; + text-align: center; + background-color: #e02222; + height: 18px; + padding: 3px 6px 3px 6px; + -webkit-border-radius: 12px !important; + -moz-border-radius: 12px !important; + border-radius: 12px !important; + text-shadow:none !important; + text-align: center; + vertical-align: middle; +} + +.badge.badge-roundless { + -webkit-border-radius: 0 !important; + -moz-border-radius: 0 !important; + border-radius: 0 !important; +} + +.badge-default, +.label-default { + background-color: #999 !important; +} + +.badge-primary, +.label-primary { + background-color: #428bca !important; +} + +.label-success, +.badge-success { + background-color: #3cc051; + background-image: none !important; +} + +.label-warning, +.badge-warning { + background-color: #fcb322; + background-image: none !important; +} + +.label-danger, +.badge-danger { + background-color: #ed4e2a; + background-image: none !important; +} + +.label-info, +.badge-info { + background-color: #57b5e3; + background-image: none !important; +} + +/* fix badge position for navs */ +.nav.nav-pills > li > a > .badge { + margin-top: -2px; +} + +.nav.nav-stacked > li > a > .badge { + margin-top: 1px; + margin-bottom: 0px; +} + +/*** +Iconic Labels +***/ + +.label.label-icon { + padding: 4px 1px 4px 5px; + margin-right: 2px; + text-align: center !important; +} + +.ie9 .label.label-icon, +.ie10 .label.label-icon { + padding: 3px 0px 3px 3px; +} + +.label.label-icon > i { + font-size: 12px; + text-align: center !important; +} + + +/*** +Pagination +***/ +.pagination { + margin: 10px 0; +} + +.pagination .active > a, +.pagination .active > a:hover { + background: #eee; + border-color: #dddddd; + color: #333; +} + + + +/*** +wells +***/ +.well { + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; +} + +/* Bootstrap Tabs */ + +.dropup.open > .dropdown-toggle, +.dropdown.open > .dropdown-toggle { + border-color: #ddd !important; +} + +.nav-tabs > li > .dropdown-menu:after, +.nav-pills > li > .dropdown-menu:after, +.navbar-nav > li > .dropdown-menu:after, + +.nav-tabs > li > .dropdown-menu:before, +.nav-pills > li > .dropdown-menu:before, +.navbar-nav > li > .dropdown-menu:before { + display: none !important; +} + +.nav-tabs > .dropdown.open > .dropdown-toggle, +.nav-pills > .dropdown.open > .dropdown-toggle { + background: #eee !important; + color: #0d638f !important; +} + + +.nav-tabs, +.nav-pills { + margin-bottom: 10px; +} + +.tabs-right > .nav-tabs, +.tabs-left > .nav-tabs { + border-bottom: 0; +} + +.tabs-left > .nav-tabs > li, +.tabs-right > .nav-tabs > li { + float: none; +} + +.tabs-left > .nav-tabs > li > a, +.tabs-right > .nav-tabs > li > a { + min-width: 74px; + margin-right: 0; + margin-bottom: 3px; +} + +.tabs-left > .nav-tabs { + float: left; + margin-right: 19px; + border-right: 1px solid #ddd; +} + +.tabs-left > .nav-tabs > li > a { + margin-right: -1px; + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} + +.tabs-left > .nav-tabs > li > a:hover, +.tabs-left > .nav-tabs > li > a:focus { + border-color: #eeeeee #dddddd #eeeeee #eeeeee; +} + +.tabs-left > .nav-tabs .active > a, +.tabs-left > .nav-tabs .active > a:hover, +.tabs-left > .nav-tabs .active > a:focus { + border-color: #ddd transparent #ddd #ddd; + *border-right-color: #ffffff; +} + +.tabs-right > .nav-tabs { + float: right; + margin-left: 19px; + border-left: 1px solid #ddd; +} + +.tabs-right > .nav-tabs > li > a { + margin-left: -1px; + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} + +.tabs-right > .nav-tabs > li > a:hover, +.tabs-right > .nav-tabs > li > a:focus { + border-color: #eeeeee #eeeeee #eeeeee #dddddd; +} + +.tabs-right > .nav-tabs .active > a, +.tabs-right > .nav-tabs .active > a:hover, +.tabs-right > .nav-tabs .active > a:focus { + border-color: #ddd #ddd #ddd transparent; + *border-left-color: #ffffff; +} + +.tabs-below > .nav-tabs, +.tabs-below > .nav-pills { + border-bottom: 0; + margin-bottom: 0px; + margin-top: 10px; +} + +.tabs-below > .nav-tabs { + border-top: 1px solid #ddd; + margin-bottom: 0; + margin-top: 10px; +} + +.tabs-below > .nav-tabs > li { + margin-top: -1px; + margin-bottom: 0; +} + +.tabs-below > .nav-tabs > li > a { + -webkit-border-radius: 0 0 4px 4px; + -moz-border-radius: 0 0 4px 4px; + border-radius: 0 0 4px 4px; +} + +.tabs-below > .nav-tabs > li > a:hover, +.tabs-below > .nav-tabs > li > a:focus { + border-top-color: #ddd; + border-bottom-color: transparent; +} + +.tabs-below > .nav-tabs > .active > a, +.tabs-below > .nav-tabs > .active > a:hover, +.tabs-below > .nav-tabs > .active > a:focus { + border-color: transparent #ddd #ddd #ddd; +} + +/* BS3.0.3 removed tabbable class so its added back */ +.tabbable:before, +.tabbable:after { + display: table; + content: " "; +} + +.tabbable:after { + clear: both; +} + +.tabbable:before, +.tabbable:after { + display: table; + content: " "; +} + +.tabbable:after { + clear: both; +} + +/*** +Bootstrap modal +***/ + +.modal { + z-index: 10050 !important; + outline: none !important; +} + +.modal-header { + border-bottom: 1px solid #EFEFEF; +} + +.modal-header h3{ + font-weight: 300; +} + +.modal-small.modal-dialog { + width: 400px; +} + +.modal-wide.modal-dialog { + width: 60%; +} + +.modal-full.modal-dialog { + width: 100%; +} + +@media (max-width: 768px) { + + .modal-small.modal-dialog, + .modal-wide.modal-dialog, + .modal-full.modal-dialog { + width: auto; + } + +} + +/*** +Modal header close button fix +***/ +.modal-header .close { + margin-top: 0px !important; +} + +.modal > .loading { + position: absolute; + top: 50%; + left:50%; + margin-top: -22px; + margin-left: -22px; +} + +.modal-backdrop { + border: 0 !important; + outline: none !important; + z-index: 10049 !important; +} + +.modal-backdrop, +.modal-backdrop.fade.in { + background-color: #333 !important; +} + +/* fix: content shifting to the right on modal open due to scrollbar closed */ +.modal { + overflow-y: auto !important; +} + +.modal-open { + overflow-y: auto !important; +} + +.modal-open-noscroll { + overflow-y: hidden !important; +} + + +/*** +Image Carousel +***/ +.carousel.image-carousel .carousel-inner { + padding-top: 0; + padding-bottom: 0; +} + +.carousel.image-carousel .carousel-control i { + position: absolute; + top:40%; +} + +.carousel.image-carousel.image-carousel-hoverable .carousel-control i { + display: none; +} + +.carousel.image-carousel.image-carousel-hoverable:hover .carousel-control i { + display: inline-block; +} + +.carousel.image-carousel .carousel-control.left i { + left:10px; +} + +.carousel.image-carousel .carousel-control.right i { + right:10px; +} + +.carousel.image-carousel .carousel-indicators { + margin-top: 10px; + bottom: -7px; +} + +.carousel.image-carousel .carousel-indicators li { + background-color: #666; +} + +.carousel.image-carousel .carousel-indicators li.active { + background-color: #333; +} + +.carousel.image-carousel .carousel-caption { + position: absolute; + right: 0; + bottom: 0; + left: 0; + padding: 15px 15px 25px 15px; + background: #333333; + background: rgba(0, 0, 0, 0.75); +} + +.carousel.image-carousel .carousel-caption h4, +.carousel.image-carousel .carousel-caption h3, +.carousel.image-carousel .carousel-caption h2, +.carousel.image-carousel .carousel-caption p { + text-align: left; + line-height: 20px; + color: #ffffff; +} + +.carousel.image-carousel .carousel-caption h2, +.carousel.image-carousel .carousel-caption h3, +.carousel.image-carousel .carousel-caption h4 { + margin: 0 0 5px; +} + +.carousel.image-carousel .carousel-caption h2 a, +.carousel.image-carousel .carousel-caption h3 a, +.carousel.image-carousel .carousel-caption h4 a { + color: #aaa; +} + +.carousel.image-carousel .carousel-caption p { + margin-bottom: 0; +} + +.carousel.image-carousel .item { + margin: 0; +} + +/*** +Bootstrap Tables +***/ + +.table thead > tr > th { + border-bottom: 0; +} + +.table tbody tr.active td, +.table tbody tr.active th { + background-color: #e9e9e9 !important; +} + +.table tbody tr.active:hover td, +.table tbody tr.active:hover th { + background-color: #e1e1e1 !important; +} + +.table-striped tbody tr.active:nth-child(odd) td, +.table-striped tbody tr.active:nth-child(odd) th { + background-color: #017ebc; +} + +.table .heading > th { + background-color: #eee !important; +} + +/*** +Bootstrap Panel +***/ + +.panel { + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; +} + +.panel .panel-title > a:hover { + text-decoration: none; +} + +.accordion .panel-heading { + padding: 0; +} + +.accordion .panel-title { + padding: 0; +} + +.accordion .panel-title .accordion-toggle { + display: block; + padding: 10px 15px; +} + +.accordion .accordion-toggle.accordion-toggle-styled { + background: url("../image/accordion-plusminus.png") no-repeat; + background-position: right -19px; + margin-right: 15px; +} + +.accordion .accordion-toggle.accordion-toggle-styled.collapsed { + background-position: right 12px; +} + +/*** +Responsive Image +***/ +.table td .img-responsive{ + width:100%; +} + +/*** +Unstyled List +***/ + +.list-unstyled li > .list-unstyled { + margin-left: 25px; +} + +.alarm-critical{ + background-color: rgb(255, 0, 0); +} + +.alarm-major{ + background-color: rgb(255, 150, 0); +} + +.alarm-minor{ + background-color: rgb(248, 252, 96); +} + +.alarm-warning{ + background-color: rgb(152, 240, 248); } \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/css/style-ict-bootstrap.css b/openo-portal/portal-common/src/main/webapp/common/css/style-ict-bootstrap.css index cbf38b49..36d50b25 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/style-ict-bootstrap.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/style-ict-bootstrap.css @@ -1,838 +1,838 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 400; - src: local('Lato Regular'), local('Lato-Regular'), url(9k-RPmcnxYEPm8CNFsH2gg.woff) format('woff'); -} -html, body, div, span, applet, object, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 1em; - vertical-align: baseline; -} -/* HTML5 display-role reset for older browsers */ -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; -} -body { - background: rgba(231, 231, 231, 0.43); - line-height: 1.125em; - color: white; - max-width: 1920px; - margin: 0 auto; - position: relative; - font-family: 'Lato', Helvetica, Arial, Tahoma; - text-shadow: 1px 1px 0 rgba(0,0,0,0.3); -} -ol, ul { - padding: 0 10px; - margin: 0 10px; - line-height: 1.5em; -} -h1, h2, h3, h4, h5, h6 { - text-shadow: 1px 1px 0 rgba(0,0,0,0.5); - font-family: 'Lato', Georgia, Helvetica, Tahoma; - margin: 10px 0; - font-weight: normal; -} -h1 { - font-size: 1.875em; -} -h2 { - font-size: 1.6em; - line-height: 1em; -} -h3 { - font-size: 1.25em; -} -h4 { - font-size: 1.125em; -} -h5 { - font-size: 1em; -} -h6 { - font-size: 0.875em; -} -a { - text-decoration: none; - color: white; -} -a:hover { - color: white; - opacity: 0.9; -} -a:visited { - color: white; -} -h2 { - cursor: pointer; -} -code, pre { - font-family: Monaco, Menlo, Consolas; - font-size: 1em; - color: #FFFFDE; - padding: 0 3px 2px; -} - -table { - border-collapse: collapse; - border-spacing: 0; -} - -.header { - /*padding: 14px 0; - background-color: rgb(19, 17, 17); - background-color: #006a3f; - background-image: - radial-gradient(rgba(0,0,0,0.1) 15%, transparent 16%), - radial-gradient(rgba(0,0,0,0.1) 15%, transparent 16%), - radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%), - radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%); - background-image: - -webkit-radial-gradient(rgba(0,0,0,0.1) 15%, transparent 16%), - -webkit-radial-gradient(rgba(0,0,0,0.1) 15%, transparent 16%), - -webkit-radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%), - -webkit-radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%); - background-position: 0 0px, 4px 4px, 0 1px, 4px 5px; - background-size: 8px 8px; - border-bottom: 1px solid rgb(41, 41, 41);*/ - margin-top: 1%; - /* margin-left: 10%; */ - margin-left: 90px; -} -@media (min-width: 1600px){ - .header { - margin-top: 1%; - margin-left: 95px; - } -} - -.header div.float-left { - /*padding-left: 2%;*/ -} - -@media (min-width: 769px) and (max-width: 1024px) { - .header div.float-left { - /*padding-left: 5%;*/ - } -} - -.header a { - font-size: 35px; - color: white; - display: block; - opacity: 0.8; -} -.header a:first-letter { - font-size: 60px; - line-height: 40px; - font-weight: bold; -} -.header .target { - margin-left: 5px; - margin-bottom: 20px; -} - -.header .reponsive-block { - list-style: none; - margin: 0px; - padding: 50px 2% 0 0; -} - -.header .reponsive-block li { - display: inline-block; - float:left; -} - -.header .reponsive-block a { - display: inline-block; - margin: 0 5px; - cursor: pointer; - background: url(../i/reponsive.png) no-repeat; -} - -.header .reponsive-block a.desktop { - background-position: 3px 0; - width: 34px; height: 26px; -} - -.header .reponsive-block a.tablet-landscape { - background-position: -49px 0; - width: 22px; - height: 22px; -} - -.header .reponsive-block a.tablet-portrait { - background-position: -90px 0; - width: 18px; - height: 24px; -} - -.header .reponsive-block a.iphone-landscape { - background-position: -129px 0; - width: 20px; - height: 20px; -} - -.header .reponsive-block a.iphone-portrait { - background-position: -166px 0; - width: 16px; - height: 26px; -} - -.header .reponsive-block a.desktop:hover, -.header .reponsive-block a.desktop.active { - background-position: 3px -34px; -} - -.header .reponsive-block a.tablet-landscape:hover, -.header .reponsive-block a.tablet-landscape.active { - background-position: -49px -34px; -} - -.header .reponsive-block a.tablet-portrait:hover, -.header .reponsive-block a.tablet-portrait.active { - background-position: -91px -33px; -} - -.header .reponsive-block a.iphone-landscape:hover, -.header .reponsive-block a.iphone-landscape.active { - background-position: -128px -33px; -} - -.header .reponsive-block a.iphone-portrait:hover, -.header .reponsive-block a.iphone-portrait.active { - background-position: -166px -33px; -} -.free-wall { - margin: auto; -} - -.free-wall-logo { - margin: auto; - height: 420px; -} -.size2-2 { - width: 80px; - height: 80px; -} - -.size11 { - height: 160px; - width: 160px; -} - -.size12 { - width: 160px; - height: 320px; -} - -.size21 { - width: 320px; - height: 160px; -} - -.size22 { - height: 320px; - width: 320px; -} - -.size13 { - width: 160px; - height: 480px; -} - -.size31 { - width: 480px; - height: 160px; -} - -.size23 { - width: 320px; - height: 480px; -} - -.size24 { - width: 320px; - height: 640px; -} - -.size32 { - width: 480px; - height: 320px; -} - -.size33 { - width: 480px; - height: 480px; -} - -.size34 { - width: 480px; - height: 640px; -} - -.size43 { - width: 640px; - height: 480px; -} - -.size35 { - width: 480px; - height: 800px; -} - -.size53 { - width: 800px; - height: 480px; -} - -.size36 { - width: 480px; - height: 960px; -} - -.size41 { - width: 270px; - height: 160px; -} -.size42 { - width: 270px; - height: 320px; -} -.size41-1024 { - width: 213px; - height: 133px; -} -.size42-1024 { - width: 213px; - height: 275px; -} -.size41-1366 { - width: 278px; - height: 156px; -} -.size42-1366 { - width: 278px; - height: 332px; -} -.size41-1440 { - width: 310px; - height: 168px; -} -.size42-1440 { - width: 310px; - height: 340px; -} -.size41-1600 { - width: 330px; - height: 173px; -} -.size42-1600 { - width: 330px; - height: 354px; -} - -.donate form { - height: 100%; - width: 100%; - background: rgb(44, 62, 80); -} - -.donate form .paypal { - display: block; - margin: auto; - padding: 20px 0px 0px 0px; - outline: 0; -} - -.img-demo { - vertical-align: bottom; - list-style: none; - margin:0; - padding: 0; -} - -.img-demo li { - float: left; - width: 25%; - text-align: center; -} - -.img-demo li img { - border: 2px solid white; - width: 98px; - height: 98px; -} - -.float-left { - float: left; -} - -.float-right { - float: right; -} - -.clearfix:before, -.clearfix:after { - content: ""; - display: table; -} - -.clearfix:after { - clear: both; -} - -.clearfix { - zoom: 1; /* For IE 6/7 (trigger hasLayout) */ -} - -.rest-left { - margin-left: 244px; -} - -.desc h1, -.desc h2, -.desc h3, -.desc h4, -.desc h5, -.desc h6 { - font-weight: bold; -} - -.desc h2 { - border-bottom: 1px solid rgba(0,0,0,0.1); - margin-top: 0px; - margin-bottom: 0px; - padding-bottom: 50px; -} - -.desc h2 span { - float: left; - display: block; - line-height: 50px; -} - -@media (max-width: 1024px) { - .brick { - height:140px; - } -} - -.brick { - margin-top:10px; - background-color: white; - /* float: left; */ - cursor: default; - overflow: hidden; - background-repeat: no-repeat; - background-size: cover; - background-position: center; - height:160px; -} - -@media (min-width: 1440px) { - .brick { - height:180px; - } -} - -.brick .cover { - overflow: hidden; - margin: 20px; - margin-top: 25%; - font-size: 30px; - float: right; - text-align: right; -} - -.brick .read-more { - position: absolute; - display: none; - bottom: 0px; - left: 0px; - right: 0px; - padding: 12px; - background: rgb(0, 0, 0); - background: rgba(0, 0, 0, 0.45); -} - -.brick:hover .read-more { - display: block; - cursor: pointer; -} - -.brick .desc { - display: none; -} - -.full-width .float-left { - display: none; -} - -.full-width .desc { - display: block; -} - -.full-width.brick { - box-shadow: none; - overflow: visible; - border: none !important; - background: none !important; -} - -.full-width.brick .cover { - margin: 0px 20px; - color: #333; -} - -.full-width.brick .cover * { - text-shadow: none; -} - -.full-width.brick .cover code { - color: #666; -} - -.open .float-left { - display: none; -} - -.open .desc { - display: block; -} - -.example { - width: 0px; - height: 0px; - overflow: visible !important; /* for ie7 */ -} - -.example-draggable { - cursor: move; -} - -.example-draggable * { - cursor: move; -} - -.example-draggable a { - cursor: pointer; -} - -.cell { - background-position: center center; - background-repeat: no-repeat; - background-size: cover; - position: absolute; - background-color: #222; -} - -[class*="-share"] { - cursor: pointer; - margin: 20px 0; - line-height: 30px; - padding-left: 30px; -} - -.facebook-share { - background: url(../i/fb.png) no-repeat left center; -} - -.twitter-share { - background: url(../i/tw.png) no-repeat left center; -} - -.google-share { - background: url(../i/gp.png) no-repeat left center; -} - -.download-icon { - background: url(../i/download.png) no-repeat left center; - display: block; - margin: 0 0 10px 0; - line-height: 30px; - padding-left: 30px; -} - -.js-icon { - background: url(../i/js.png) no-repeat left center; - display: block; - line-height: 30px; - padding-left: 30px; -} - -.fork { - float: right; - width: 100%; - height: 100%; - display: block; - background: url(../i/forkme.png) no-repeat top right; -} - -.back-button { - position: fixed; - z-index: 9999; - padding: 1%; - bottom: 2%; - right: 2%; - display: none; - background: black; -} - -.back-button .back-icon { - background: url(../i/back.png) no-repeat top center; - width: 45px; - height: 27px; - display: block; -} - -.back-button .back-icon:hover { - background: url(../i/back.png) no-repeat bottom center; -} - -@media (min-width: 1600px) { - .main-content-wrapper{ - width:100%; - margin-left:95px; - margin-right: 1%; - } -} - -@media (min-width: 1441px) and (max-width: 1599px) { - .main-content-wrapper{ - width:100%; - /*margin-left: 0%; */ - margin-left:75px; - margin-right: 1%; - } -} - -@media (min-width: 1367px) and (max-width: 1440px) { - .main-content-wrapper{ - width:100%; - margin-left: 75px; - margin-right: 1%; - } -} - -@media (min-width: 1281px) and (max-width: 1366px) { - .main-content-wrapper{ - width:100%; - /*margin-left: 2%; */ - margin-left:75px; - margin-right: 2%; - } -} - -@media (min-width: 1025px) and (max-width: 1280px) { - .main-content-wrapper{ - width:100%; - /*margin-left: 4%;*/ - margin-left:75px; - margin-right: 1%; - } -} - -@media (min-width: 769px) and (max-width: 1024px) { - .main-content-wrapper{ - width:100%; - /*margin-left: 6%;*/ - margin-left:75px; - margin-right: 1%; - } -} - -@media (min-width: 641px) and (max-width: 768px) { - .main-content-wrapper{ - width:100%; - margin-left: 10%; - margin-right: 1%; - } -} - -@media (min-width: 481px) and (max-width: 640px) { - .main-content-wrapper{ - width:100%; - margin-left: 0%; - margin-right: 1%; - } -} - -@media (max-width: 480px) { - .main-content-wrapper{ - width:100%; - margin-left: 9%; - margin-right: 1%; - } -} - -body{ - font-family: microsoft yahei; - background: #484747; -} - -.skyBlue-mainpage{ - background: -moz-linear-gradient(left top, #1cadd9, #20c0f0); - background: -webkit-gradient(linear, left top, right bottom, color-stop(0, #1cadd9), color-stop(1, #20c0f0)); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1cadd9', endColorstr='#20c0f0', GradientType='0'); - background: linear-gradient(to bottom right,#1cadd9, #20c0f0); -} -.golden-mainpage{ - background-image: -moz-linear-gradient(left top, #bca374, #d9cf7a); - background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #bca374), color-stop(1, #d9cf7a)); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#bca374, endColorstr=#d9cf7a, GradientType=0); - background: linear-gradient(to bottom right,#bca374, #d9cf7a); -} -.manLieONCloud-image{ - background-image: url('../image/mainpage/pic/1.png'); -} -.orange-mainpage{ - background-image: -moz-linear-gradient(left top, #f09c0a, #f4be35); - background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #f09c0a), color-stop(1, #f4be35)); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f09c0a, endColorstr=#f4be35, GradientType=0); - background: linear-gradient(to bottom right,#f09c0a, #f4be35); -} -.pinkishRed-mainpage{ - background-image: -moz-linear-gradient(left top, #e03655, #ef3a5b); - background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #e03655), color-stop(1, #ef3a5b)); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#e03655, endColorstr=#ef3a5b, GradientType=0); - background: linear-gradient(to bottom right,#e03655, #ef3a5b); -} -.magicCube-image{ - background-image: url('../image/mainpage/pic/4.png'); -} -.magicThought-image{ - background-image: url('../image/mainpage/pic/5.png'); -} -.grassGreen-mainpage{ - background-image: -moz-linear-gradient(left top, #008b04, #03a501); - background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #008b04), color-stop(1, #03a501)); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#008b04, endColorstr=#03a501, GradientType=0); - background: linear-gradient(to bottom right,#008b04, #03a501); -} -.meeting-image{ - background-image: url('../image/mainpage/pic/3.png'); -} -.earth-image{ - background-image: url('../image/mainpage/pic/2.png'); -} -.toolsImageBrokenLine{ - background-image: url('../image/mainpage/icon/1.png'); - height: 150px; - width: 120px; - margin-top: 15%; - margin-left:-5px; -} -.toolsImageHierachy{ - background-image: url('../image/mainpage/icon/2.png'); - height: 150px; - width: 120px; - margin-top: 15%; - margin-left:-5px; -} -.toolsImageGear{ - background-image: url('../image/mainpage/icon/3.png'); - height: 150px; - width: 120px; - margin-top: 15%; - margin-left:-5px; -} -.toolsImagePresent{ - background-image: url('../image/mainpage/icon/4.png'); - height: 150px; - width: 120px; - margin-top: 15%; - margin-left:-5px; -} -.toolsImageFile{ - background-image: url('../image/mainpage/icon/5.png'); - height: 150px; - width: 120px; - margin-top: 15%; - margin-left:-5px; -} -.toolsImageBriefcase{ - background-image: url('../image/mainpage/icon/6.png'); - height: 150px; - width: 120px; - margin-top: 15%; - margin-left:-5px; -} -.contentTip{ - opacity:0; - display:block; - padding: 20px; - text-align: left; - line-height: inherit; - text-indent: 2em; - position: absolute; -} -.contentTipShow{ - display:block; - padding: 20px; - text-align: left; - line-height: inherit; - text-indent: 2em; - position: absolute; -} -.coverHidden{ - display:none; -} -.coverShrink{ - width:0px !important; - height:0px !important; -} -/* -.brick .contentToggle{ - -webkit-transition: opacity 1s ease-in-out; - -moz-transition: opacity 1s ease-in-out; - -o-transition: opacity 1s ease-in-out; - transition: opacity 1s ease-in-out; -} -.brick .cover :hover{ - opacity:0; -} -*/ -.hideSideMenuForMainPage { - display: none! important; -} -.fullFillDiv { - width:100%; - height:100%; -} -@media screen and (min-width: 992px)and (max-width: 1280px) { - .brick .cover { - font-size:25px; - } -} - +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 400; + src: local('Lato Regular'), local('Lato-Regular'), url(9k-RPmcnxYEPm8CNFsH2gg.woff) format('woff'); +} +html, body, div, span, applet, object, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 1em; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} +body { + background: rgba(231, 231, 231, 0.43); + line-height: 1.125em; + color: white; + max-width: 1920px; + margin: 0 auto; + position: relative; + font-family: 'Lato', Helvetica, Arial, Tahoma; + text-shadow: 1px 1px 0 rgba(0,0,0,0.3); +} +ol, ul { + padding: 0 10px; + margin: 0 10px; + line-height: 1.5em; +} +h1, h2, h3, h4, h5, h6 { + text-shadow: 1px 1px 0 rgba(0,0,0,0.5); + font-family: 'Lato', Georgia, Helvetica, Tahoma; + margin: 10px 0; + font-weight: normal; +} +h1 { + font-size: 1.875em; +} +h2 { + font-size: 1.6em; + line-height: 1em; +} +h3 { + font-size: 1.25em; +} +h4 { + font-size: 1.125em; +} +h5 { + font-size: 1em; +} +h6 { + font-size: 0.875em; +} +a { + text-decoration: none; + color: white; +} +a:hover { + color: white; + opacity: 0.9; +} +a:visited { + color: white; +} +h2 { + cursor: pointer; +} +code, pre { + font-family: Monaco, Menlo, Consolas; + font-size: 1em; + color: #FFFFDE; + padding: 0 3px 2px; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +.header { + /*padding: 14px 0; + background-color: rgb(19, 17, 17); + background-color: #006a3f; + background-image: + radial-gradient(rgba(0,0,0,0.1) 15%, transparent 16%), + radial-gradient(rgba(0,0,0,0.1) 15%, transparent 16%), + radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%), + radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%); + background-image: + -webkit-radial-gradient(rgba(0,0,0,0.1) 15%, transparent 16%), + -webkit-radial-gradient(rgba(0,0,0,0.1) 15%, transparent 16%), + -webkit-radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%), + -webkit-radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%); + background-position: 0 0px, 4px 4px, 0 1px, 4px 5px; + background-size: 8px 8px; + border-bottom: 1px solid rgb(41, 41, 41);*/ + margin-top: 1%; + /* margin-left: 10%; */ + margin-left: 90px; +} +@media (min-width: 1600px){ + .header { + margin-top: 1%; + margin-left: 95px; + } +} + +.header div.float-left { + /*padding-left: 2%;*/ +} + +@media (min-width: 769px) and (max-width: 1024px) { + .header div.float-left { + /*padding-left: 5%;*/ + } +} + +.header a { + font-size: 35px; + color: white; + display: block; + opacity: 0.8; +} +.header a:first-letter { + font-size: 60px; + line-height: 40px; + font-weight: bold; +} +.header .target { + margin-left: 5px; + margin-bottom: 20px; +} + +.header .reponsive-block { + list-style: none; + margin: 0px; + padding: 50px 2% 0 0; +} + +.header .reponsive-block li { + display: inline-block; + float:left; +} + +.header .reponsive-block a { + display: inline-block; + margin: 0 5px; + cursor: pointer; + background: url(../i/reponsive.png) no-repeat; +} + +.header .reponsive-block a.desktop { + background-position: 3px 0; + width: 34px; height: 26px; +} + +.header .reponsive-block a.tablet-landscape { + background-position: -49px 0; + width: 22px; + height: 22px; +} + +.header .reponsive-block a.tablet-portrait { + background-position: -90px 0; + width: 18px; + height: 24px; +} + +.header .reponsive-block a.iphone-landscape { + background-position: -129px 0; + width: 20px; + height: 20px; +} + +.header .reponsive-block a.iphone-portrait { + background-position: -166px 0; + width: 16px; + height: 26px; +} + +.header .reponsive-block a.desktop:hover, +.header .reponsive-block a.desktop.active { + background-position: 3px -34px; +} + +.header .reponsive-block a.tablet-landscape:hover, +.header .reponsive-block a.tablet-landscape.active { + background-position: -49px -34px; +} + +.header .reponsive-block a.tablet-portrait:hover, +.header .reponsive-block a.tablet-portrait.active { + background-position: -91px -33px; +} + +.header .reponsive-block a.iphone-landscape:hover, +.header .reponsive-block a.iphone-landscape.active { + background-position: -128px -33px; +} + +.header .reponsive-block a.iphone-portrait:hover, +.header .reponsive-block a.iphone-portrait.active { + background-position: -166px -33px; +} +.free-wall { + margin: auto; +} + +.free-wall-logo { + margin: auto; + height: 420px; +} +.size2-2 { + width: 80px; + height: 80px; +} + +.size11 { + height: 160px; + width: 160px; +} + +.size12 { + width: 160px; + height: 320px; +} + +.size21 { + width: 320px; + height: 160px; +} + +.size22 { + height: 320px; + width: 320px; +} + +.size13 { + width: 160px; + height: 480px; +} + +.size31 { + width: 480px; + height: 160px; +} + +.size23 { + width: 320px; + height: 480px; +} + +.size24 { + width: 320px; + height: 640px; +} + +.size32 { + width: 480px; + height: 320px; +} + +.size33 { + width: 480px; + height: 480px; +} + +.size34 { + width: 480px; + height: 640px; +} + +.size43 { + width: 640px; + height: 480px; +} + +.size35 { + width: 480px; + height: 800px; +} + +.size53 { + width: 800px; + height: 480px; +} + +.size36 { + width: 480px; + height: 960px; +} + +.size41 { + width: 270px; + height: 160px; +} +.size42 { + width: 270px; + height: 320px; +} +.size41-1024 { + width: 213px; + height: 133px; +} +.size42-1024 { + width: 213px; + height: 275px; +} +.size41-1366 { + width: 278px; + height: 156px; +} +.size42-1366 { + width: 278px; + height: 332px; +} +.size41-1440 { + width: 310px; + height: 168px; +} +.size42-1440 { + width: 310px; + height: 340px; +} +.size41-1600 { + width: 330px; + height: 173px; +} +.size42-1600 { + width: 330px; + height: 354px; +} + +.donate form { + height: 100%; + width: 100%; + background: rgb(44, 62, 80); +} + +.donate form .paypal { + display: block; + margin: auto; + padding: 20px 0px 0px 0px; + outline: 0; +} + +.img-demo { + vertical-align: bottom; + list-style: none; + margin:0; + padding: 0; +} + +.img-demo li { + float: left; + width: 25%; + text-align: center; +} + +.img-demo li img { + border: 2px solid white; + width: 98px; + height: 98px; +} + +.float-left { + float: left; +} + +.float-right { + float: right; +} + +.clearfix:before, +.clearfix:after { + content: ""; + display: table; +} + +.clearfix:after { + clear: both; +} + +.clearfix { + zoom: 1; /* For IE 6/7 (trigger hasLayout) */ +} + +.rest-left { + margin-left: 244px; +} + +.desc h1, +.desc h2, +.desc h3, +.desc h4, +.desc h5, +.desc h6 { + font-weight: bold; +} + +.desc h2 { + border-bottom: 1px solid rgba(0,0,0,0.1); + margin-top: 0px; + margin-bottom: 0px; + padding-bottom: 50px; +} + +.desc h2 span { + float: left; + display: block; + line-height: 50px; +} + +@media (max-width: 1024px) { + .brick { + height:140px; + } +} + +.brick { + margin-top:10px; + background-color: white; + /* float: left; */ + cursor: default; + overflow: hidden; + background-repeat: no-repeat; + background-size: cover; + background-position: center; + height:160px; +} + +@media (min-width: 1440px) { + .brick { + height:180px; + } +} + +.brick .cover { + overflow: hidden; + margin: 20px; + margin-top: 25%; + font-size: 30px; + float: right; + text-align: right; +} + +.brick .read-more { + position: absolute; + display: none; + bottom: 0px; + left: 0px; + right: 0px; + padding: 12px; + background: rgb(0, 0, 0); + background: rgba(0, 0, 0, 0.45); +} + +.brick:hover .read-more { + display: block; + cursor: pointer; +} + +.brick .desc { + display: none; +} + +.full-width .float-left { + display: none; +} + +.full-width .desc { + display: block; +} + +.full-width.brick { + box-shadow: none; + overflow: visible; + border: none !important; + background: none !important; +} + +.full-width.brick .cover { + margin: 0px 20px; + color: #333; +} + +.full-width.brick .cover * { + text-shadow: none; +} + +.full-width.brick .cover code { + color: #666; +} + +.open .float-left { + display: none; +} + +.open .desc { + display: block; +} + +.example { + width: 0px; + height: 0px; + overflow: visible !important; /* for ie7 */ +} + +.example-draggable { + cursor: move; +} + +.example-draggable * { + cursor: move; +} + +.example-draggable a { + cursor: pointer; +} + +.cell { + background-position: center center; + background-repeat: no-repeat; + background-size: cover; + position: absolute; + background-color: #222; +} + +[class*="-share"] { + cursor: pointer; + margin: 20px 0; + line-height: 30px; + padding-left: 30px; +} + +.facebook-share { + background: url(../i/fb.png) no-repeat left center; +} + +.twitter-share { + background: url(../i/tw.png) no-repeat left center; +} + +.google-share { + background: url(../i/gp.png) no-repeat left center; +} + +.download-icon { + background: url(../i/download.png) no-repeat left center; + display: block; + margin: 0 0 10px 0; + line-height: 30px; + padding-left: 30px; +} + +.js-icon { + background: url(../i/js.png) no-repeat left center; + display: block; + line-height: 30px; + padding-left: 30px; +} + +.fork { + float: right; + width: 100%; + height: 100%; + display: block; + background: url(../i/forkme.png) no-repeat top right; +} + +.back-button { + position: fixed; + z-index: 9999; + padding: 1%; + bottom: 2%; + right: 2%; + display: none; + background: black; +} + +.back-button .back-icon { + background: url(../i/back.png) no-repeat top center; + width: 45px; + height: 27px; + display: block; +} + +.back-button .back-icon:hover { + background: url(../i/back.png) no-repeat bottom center; +} + +@media (min-width: 1600px) { + .main-content-wrapper{ + width:100%; + margin-left:95px; + margin-right: 1%; + } +} + +@media (min-width: 1441px) and (max-width: 1599px) { + .main-content-wrapper{ + width:100%; + /*margin-left: 0%; */ + margin-left:75px; + margin-right: 1%; + } +} + +@media (min-width: 1367px) and (max-width: 1440px) { + .main-content-wrapper{ + width:100%; + margin-left: 75px; + margin-right: 1%; + } +} + +@media (min-width: 1281px) and (max-width: 1366px) { + .main-content-wrapper{ + width:100%; + /*margin-left: 2%; */ + margin-left:75px; + margin-right: 2%; + } +} + +@media (min-width: 1025px) and (max-width: 1280px) { + .main-content-wrapper{ + width:100%; + /*margin-left: 4%;*/ + margin-left:75px; + margin-right: 1%; + } +} + +@media (min-width: 769px) and (max-width: 1024px) { + .main-content-wrapper{ + width:100%; + /*margin-left: 6%;*/ + margin-left:75px; + margin-right: 1%; + } +} + +@media (min-width: 641px) and (max-width: 768px) { + .main-content-wrapper{ + width:100%; + margin-left: 10%; + margin-right: 1%; + } +} + +@media (min-width: 481px) and (max-width: 640px) { + .main-content-wrapper{ + width:100%; + margin-left: 0%; + margin-right: 1%; + } +} + +@media (max-width: 480px) { + .main-content-wrapper{ + width:100%; + margin-left: 9%; + margin-right: 1%; + } +} + +body{ + font-family: microsoft yahei; + background: #484747; +} + +.skyBlue-mainpage{ + background: -moz-linear-gradient(left top, #1cadd9, #20c0f0); + background: -webkit-gradient(linear, left top, right bottom, color-stop(0, #1cadd9), color-stop(1, #20c0f0)); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1cadd9', endColorstr='#20c0f0', GradientType='0'); + background: linear-gradient(to bottom right,#1cadd9, #20c0f0); +} +.golden-mainpage{ + background-image: -moz-linear-gradient(left top, #bca374, #d9cf7a); + background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #bca374), color-stop(1, #d9cf7a)); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#bca374, endColorstr=#d9cf7a, GradientType=0); + background: linear-gradient(to bottom right,#bca374, #d9cf7a); +} +.manLieONCloud-image{ + background-image: url('../image/mainpage/pic/1.png'); +} +.orange-mainpage{ + background-image: -moz-linear-gradient(left top, #f09c0a, #f4be35); + background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #f09c0a), color-stop(1, #f4be35)); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f09c0a, endColorstr=#f4be35, GradientType=0); + background: linear-gradient(to bottom right,#f09c0a, #f4be35); +} +.pinkishRed-mainpage{ + background-image: -moz-linear-gradient(left top, #e03655, #ef3a5b); + background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #e03655), color-stop(1, #ef3a5b)); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#e03655, endColorstr=#ef3a5b, GradientType=0); + background: linear-gradient(to bottom right,#e03655, #ef3a5b); +} +.magicCube-image{ + background-image: url('../image/mainpage/pic/4.png'); +} +.magicThought-image{ + background-image: url('../image/mainpage/pic/5.png'); +} +.grassGreen-mainpage{ + background-image: -moz-linear-gradient(left top, #008b04, #03a501); + background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #008b04), color-stop(1, #03a501)); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#008b04, endColorstr=#03a501, GradientType=0); + background: linear-gradient(to bottom right,#008b04, #03a501); +} +.meeting-image{ + background-image: url('../image/mainpage/pic/3.png'); +} +.earth-image{ + background-image: url('../image/mainpage/pic/2.png'); +} +.toolsImageBrokenLine{ + background-image: url('../image/mainpage/icon/1.png'); + height: 150px; + width: 120px; + margin-top: 15%; + margin-left:-5px; +} +.toolsImageHierachy{ + background-image: url('../image/mainpage/icon/2.png'); + height: 150px; + width: 120px; + margin-top: 15%; + margin-left:-5px; +} +.toolsImageGear{ + background-image: url('../image/mainpage/icon/3.png'); + height: 150px; + width: 120px; + margin-top: 15%; + margin-left:-5px; +} +.toolsImagePresent{ + background-image: url('../image/mainpage/icon/4.png'); + height: 150px; + width: 120px; + margin-top: 15%; + margin-left:-5px; +} +.toolsImageFile{ + background-image: url('../image/mainpage/icon/5.png'); + height: 150px; + width: 120px; + margin-top: 15%; + margin-left:-5px; +} +.toolsImageBriefcase{ + background-image: url('../image/mainpage/icon/6.png'); + height: 150px; + width: 120px; + margin-top: 15%; + margin-left:-5px; +} +.contentTip{ + opacity:0; + display:block; + padding: 20px; + text-align: left; + line-height: inherit; + text-indent: 2em; + position: absolute; +} +.contentTipShow{ + display:block; + padding: 20px; + text-align: left; + line-height: inherit; + text-indent: 2em; + position: absolute; +} +.coverHidden{ + display:none; +} +.coverShrink{ + width:0px !important; + height:0px !important; +} +/* +.brick .contentToggle{ + -webkit-transition: opacity 1s ease-in-out; + -moz-transition: opacity 1s ease-in-out; + -o-transition: opacity 1s ease-in-out; + transition: opacity 1s ease-in-out; +} +.brick .cover :hover{ + opacity:0; +} +*/ +.hideSideMenuForMainPage { + display: none! important; +} +.fullFillDiv { + width:100%; + height:100%; +} +@media screen and (min-width: 992px)and (max-width: 1280px) { + .brick .cover { + font-size:25px; + } +} + diff --git a/openo-portal/portal-common/src/main/webapp/common/css/style-ict.css b/openo-portal/portal-common/src/main/webapp/common/css/style-ict.css index d1c70489..15a3b77d 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/style-ict.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/style-ict.css @@ -1,820 +1,820 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -@font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 400; - src: local('Lato Regular'), local('Lato-Regular'), url(9k-RPmcnxYEPm8CNFsH2gg.woff) format('woff'); -} -html, body, div, span, applet, object, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, -b, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 1em; - vertical-align: baseline; -} -/* HTML5 display-role reset for older browsers */ -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; -} -body { - background: rgba(231, 231, 231, 0.43); - line-height: 1.125em; - color: white; - max-width: 1920px; - margin: 0 auto; - position: relative; - font-family: 'Lato', Helvetica, Arial, Tahoma; - text-shadow: 1px 1px 0 rgba(0,0,0,0.3); -} -ol, ul { - padding: 0 10px; - margin: 0 10px; - line-height: 1.5em; -} -h1, h2, h3, h4, h5, h6 { - text-shadow: 1px 1px 0 rgba(0,0,0,0.5); - font-family: 'Lato', Georgia, Helvetica, Tahoma; - margin: 10px 0; - font-weight: normal; -} -h1 { - font-size: 1.875em; -} -h2 { - font-size: 1.6em; - line-height: 1em; -} -h3 { - font-size: 1.25em; -} -h4 { - font-size: 1.125em; -} -h5 { - font-size: 1em; -} -h6 { - font-size: 0.875em; -} -a { - text-decoration: none; - color: white; -} -a:hover { - color: white; - opacity: 0.9; -} -a:visited { - color: white; -} -h2 { - cursor: pointer; -} -code, pre { - font-family: Monaco, Menlo, Consolas; - font-size: 1em; - color: #FFFFDE; - padding: 0 3px 2px; -} - -table { - border-collapse: collapse; - border-spacing: 0; -} - -.header { - /*padding: 14px 0; - background-color: rgb(19, 17, 17); - background-color: #006a3f; - background-image: - radial-gradient(rgba(0,0,0,0.1) 15%, transparent 16%), - radial-gradient(rgba(0,0,0,0.1) 15%, transparent 16%), - radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%), - radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%); - background-image: - -webkit-radial-gradient(rgba(0,0,0,0.1) 15%, transparent 16%), - -webkit-radial-gradient(rgba(0,0,0,0.1) 15%, transparent 16%), - -webkit-radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%), - -webkit-radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%); - background-position: 0 0px, 4px 4px, 0 1px, 4px 5px; - background-size: 8px 8px; - border-bottom: 1px solid rgb(41, 41, 41);*/ - margin-top: 3%; - /* margin-left: 10%; */ - margin-left: 75px; -} -@media (min-width: 1600px){ - .header { - margin-top: 3%; - margin-left: 95px; - } -} - -.header div.float-left { - /*padding-left: 2%;*/ -} - -@media (min-width: 769px) and (max-width: 1024px) { - .header div.float-left { - /*padding-left: 5%;*/ - } -} - -.header a { - font-size: 35px; - color: white; - display: block; - opacity: 0.8; -} -.header a:first-letter { - font-size: 60px; - line-height: 40px; - font-weight: bold; -} -.header .target { - margin-left: 5px; - margin-bottom: 20px; -} - -.header .reponsive-block { - list-style: none; - margin: 0px; - padding: 50px 2% 0 0; -} - -.header .reponsive-block li { - display: inline-block; - float:left; -} - -.header .reponsive-block a { - display: inline-block; - margin: 0 5px; - cursor: pointer; - background: url(../i/reponsive.png) no-repeat; -} - -.header .reponsive-block a.desktop { - background-position: 3px 0; - width: 34px; height: 26px; -} - -.header .reponsive-block a.tablet-landscape { - background-position: -49px 0; - width: 22px; - height: 22px; -} - -.header .reponsive-block a.tablet-portrait { - background-position: -90px 0; - width: 18px; - height: 24px; -} - -.header .reponsive-block a.iphone-landscape { - background-position: -129px 0; - width: 20px; - height: 20px; -} - -.header .reponsive-block a.iphone-portrait { - background-position: -166px 0; - width: 16px; - height: 26px; -} - -.header .reponsive-block a.desktop:hover, -.header .reponsive-block a.desktop.active { - background-position: 3px -34px; -} - -.header .reponsive-block a.tablet-landscape:hover, -.header .reponsive-block a.tablet-landscape.active { - background-position: -49px -34px; -} - -.header .reponsive-block a.tablet-portrait:hover, -.header .reponsive-block a.tablet-portrait.active { - background-position: -91px -33px; -} - -.header .reponsive-block a.iphone-landscape:hover, -.header .reponsive-block a.iphone-landscape.active { - background-position: -128px -33px; -} - -.header .reponsive-block a.iphone-portrait:hover, -.header .reponsive-block a.iphone-portrait.active { - background-position: -166px -33px; -} -.free-wall { - margin: auto; -} - -.free-wall-logo { - margin: auto; - height: 420px; -} -.size2-2 { - width: 80px; - height: 80px; -} - -.size11 { - height: 160px; - width: 160px; -} - -.size12 { - width: 160px; - height: 320px; -} - -.size21 { - width: 320px; - height: 160px; -} - -.size22 { - height: 320px; - width: 320px; -} - -.size13 { - width: 160px; - height: 480px; -} - -.size31 { - width: 480px; - height: 160px; -} - -.size23 { - width: 320px; - height: 480px; -} - -.size24 { - width: 320px; - height: 640px; -} - -.size32 { - width: 480px; - height: 320px; -} - -.size33 { - width: 480px; - height: 480px; -} - -.size34 { - width: 480px; - height: 640px; -} - -.size43 { - width: 640px; - height: 480px; -} - -.size35 { - width: 480px; - height: 800px; -} - -.size53 { - width: 800px; - height: 480px; -} - -.size36 { - width: 480px; - height: 960px; -} - -.size41 { - width: 270px; - height: 160px; -} -.size42 { - width: 270px; - height: 320px; -} -.size41-1024 { - width: 213px; - height: 133px; -} -.size42-1024 { - width: 213px; - height: 275px; -} -.size41-1366 { - width: 278px; - height: 156px; -} -.size42-1366 { - width: 278px; - height: 332px; -} -.size41-1440 { - width: 310px; - height: 168px; -} -.size42-1440 { - width: 310px; - height: 340px; -} -.size41-1600 { - width: 330px; - height: 173px; -} -.size42-1600 { - width: 330px; - height: 354px; -} - -.donate form { - height: 100%; - width: 100%; - background: rgb(44, 62, 80); -} - -.donate form .paypal { - display: block; - margin: auto; - padding: 20px 0px 0px 0px; - outline: 0; -} - -.img-demo { - vertical-align: bottom; - list-style: none; - margin:0; - padding: 0; -} - -.img-demo li { - float: left; - width: 25%; - text-align: center; -} - -.img-demo li img { - border: 2px solid white; - width: 98px; - height: 98px; -} - -.float-left { - float: left; -} - -.float-right { - float: right; -} - -.clearfix:before, -.clearfix:after { - content: ""; - display: table; -} - -.clearfix:after { - clear: both; -} - -.clearfix { - zoom: 1; /* For IE 6/7 (trigger hasLayout) */ -} - -.rest-left { - margin-left: 244px; -} - -.desc h1, -.desc h2, -.desc h3, -.desc h4, -.desc h5, -.desc h6 { - font-weight: bold; -} - -.desc h2 { - border-bottom: 1px solid rgba(0,0,0,0.1); - margin-top: 0px; - margin-bottom: 0px; - padding-bottom: 50px; -} - -.desc h2 span { - float: left; - display: block; - line-height: 50px; -} - -.brick { - background-color: white; - float: left; - cursor: default; - overflow: hidden; - background-repeat: no-repeat; - background-size: cover; - background-position: center; -} - -.brick .cover { - overflow: hidden; - margin: 20px; -/* margin-left: 60%; */ - margin-top: 25%; -/* width: 120px; */ - height: 30px; - font-size: 30px; - padding: 7px; - float: right; - text-align: right; -} - -.brick .read-more { - position: absolute; - display: none; - bottom: 0px; - left: 0px; - right: 0px; - padding: 12px; - background: rgb(0, 0, 0); - background: rgba(0, 0, 0, 0.45); -} - -.brick:hover .read-more { - display: block; - cursor: pointer; -} - -.brick .desc { - display: none; -} - -.full-width .float-left { - display: none; -} - -.full-width .desc { - display: block; -} - -.full-width.brick { - box-shadow: none; - overflow: visible; - border: none !important; - background: none !important; -} - -.full-width.brick .cover { - margin: 0px 20px; - color: #333; -} - -.full-width.brick .cover * { - text-shadow: none; -} - -.full-width.brick .cover code { - color: #666; -} - -.open .float-left { - display: none; -} - -.open .desc { - display: block; -} - -.example { - width: 0px; - height: 0px; - overflow: visible !important; /* for ie7 */ -} - -.example-draggable { - cursor: move; -} - -.example-draggable * { - cursor: move; -} - -.example-draggable a { - cursor: pointer; -} - -.cell { - background-position: center center; - background-repeat: no-repeat; - background-size: cover; - position: absolute; - background-color: #222; -} - -[class*="-share"] { - cursor: pointer; - margin: 20px 0; - line-height: 30px; - padding-left: 30px; -} - -.facebook-share { - background: url(../i/fb.png) no-repeat left center; -} - -.twitter-share { - background: url(../i/tw.png) no-repeat left center; -} - -.google-share { - background: url(../i/gp.png) no-repeat left center; -} - -.download-icon { - background: url(../i/download.png) no-repeat left center; - display: block; - margin: 0 0 10px 0; - line-height: 30px; - padding-left: 30px; -} - -.js-icon { - background: url(../i/js.png) no-repeat left center; - display: block; - line-height: 30px; - padding-left: 30px; -} - -.fork { - float: right; - width: 100%; - height: 100%; - display: block; - background: url(../i/forkme.png) no-repeat top right; -} - -.back-button { - position: fixed; - z-index: 9999; - padding: 1%; - bottom: 2%; - right: 2%; - display: none; - background: black; -} - -.back-button .back-icon { - background: url(../i/back.png) no-repeat top center; - width: 45px; - height: 27px; - display: block; -} - -.back-button .back-icon:hover { - background: url(../i/back.png) no-repeat bottom center; -} - -@media (min-width: 1600px) { - .main-content-wrapper{ - width:100%; - margin-left:95px; - margin-right: 1%; - } -} - -@media (min-width: 1441px) and (max-width: 1599px) { - .main-content-wrapper{ - width:100%; - /*margin-left: 0%; */ - margin-left:75px; - margin-right: 1%; - } -} - -@media (min-width: 1367px) and (max-width: 1440px) { - .main-content-wrapper{ - width:100%; - margin-left: 75px; - margin-right: 1%; - } -} - -@media (min-width: 1281px) and (max-width: 1366px) { - .main-content-wrapper{ - width:100%; - /*margin-left: 2%; */ - margin-left:75px; - margin-right: 2%; - } -} - -@media (min-width: 1025px) and (max-width: 1280px) { - .main-content-wrapper{ - width:100%; - /*margin-left: 4%;*/ - margin-left:75px; - margin-right: 1%; - } -} - -@media (min-width: 769px) and (max-width: 1024px) { - .main-content-wrapper{ - width:100%; - /*margin-left: 6%;*/ - margin-left:75px; - margin-right: 1%; - } -} - -@media (min-width: 641px) and (max-width: 768px) { - .main-content-wrapper{ - width:100%; - margin-left: 10%; - margin-right: 1%; - } -} - -@media (min-width: 481px) and (max-width: 640px) { - .main-content-wrapper{ - width:100%; - margin-left: 0%; - margin-right: 1%; - } -} - -@media (max-width: 480px) { - .main-content-wrapper{ - width:100%; - margin-left: 9%; - margin-right: 1%; - } -} - -body{ - font-family: microsoft yahei; - background: #484747; -} - -.skyBlue-mainpage{ - background: -moz-linear-gradient(left top, #1cadd9, #20c0f0); - background: -webkit-gradient(linear, left top, right bottom, color-stop(0, #1cadd9), color-stop(1, #20c0f0)); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1cadd9', endColorstr='#20c0f0', GradientType='0'); - background: linear-gradient(to bottom right,#1cadd9, #20c0f0); -} -.golden-mainpage{ - background-image: -moz-linear-gradient(left top, #bca374, #d9cf7a); - background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #bca374), color-stop(1, #d9cf7a)); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#bca374, endColorstr=#d9cf7a, GradientType=0); - background: linear-gradient(to bottom right,#bca374, #d9cf7a); -} -.manLieONCloud-image{ - background-image: url('../image/mainpage/pic/1.png'); -} -.orange-mainpage{ - background-image: -moz-linear-gradient(left top, #f09c0a, #f4be35); - background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #f09c0a), color-stop(1, #f4be35)); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f09c0a, endColorstr=#f4be35, GradientType=0); - background: linear-gradient(to bottom right,#f09c0a, #f4be35); -} -.pinkishRed-mainpage{ - background-image: -moz-linear-gradient(left top, #e03655, #ef3a5b); - background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #e03655), color-stop(1, #ef3a5b)); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#e03655, endColorstr=#ef3a5b, GradientType=0); - background: linear-gradient(to bottom right,#e03655, #ef3a5b); -} -.magicCube-image{ - background-image: url('../image/mainpage/pic/4.png'); -} -.grassGreen-mainpage{ - background-image: -moz-linear-gradient(left top, #008b04, #03a501); - background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #008b04), color-stop(1, #03a501)); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#008b04, endColorstr=#03a501, GradientType=0); - background: linear-gradient(to bottom right,#008b04, #03a501); -} -.meeting-image{ - background-image: url('../image/mainpage/pic/3.png'); -} -.earth-image{ - background-image: url('../image/mainpage/pic/2.png'); -} -.toolsImageBrokenLine{ - background-image: url('../image/mainpage/icon/1.png'); - height: 150px; - width: 120px; - top: 30px; - position: absolute; -} -.toolsImageHierachy{ - background-image: url('../image/mainpage/icon/2.png'); - height: 150px; - width: 120px; - top: 30px; - position: absolute; -} -.toolsImageGear{ - background-image: url('../image/mainpage/icon/3.png'); - height: 150px; - width: 120px; - top: 30px; - position: absolute; -} -.toolsImagePresent{ - background-image: url('../image/mainpage/icon/4.png'); - height: 150px; - width: 120px; - top: 30px; - position: absolute; -} -.toolsImageFile{ - background-image: url('../image/mainpage/icon/5.png'); - height: 150px; - width: 120px; - top: 30px; - position: absolute; -} -.toolsImageBriefcase{ - background-image: url('../image/mainpage/icon/6.png'); - height: 150px; - width: 120px; - top: 30px; - position: absolute; -} -.contentTip{ - opacity:0; - display:block; - padding: 20px; - text-align: left; - line-height: inherit; - text-indent: 2em; - position: absolute; -} -.contentTipShow{ - display:block; - padding: 20px; - text-align: left; - line-height: inherit; - text-indent: 2em; - position: absolute; -} -.coverHidden{ - display:none; -} -.coverShrink{ - width:0px !important; - height:0px !important; -} -/* -.brick .contentToggle{ - -webkit-transition: opacity 1s ease-in-out; - -moz-transition: opacity 1s ease-in-out; - -o-transition: opacity 1s ease-in-out; - transition: opacity 1s ease-in-out; -} -.brick .cover :hover{ - opacity:0; -} -*/ -.hideSideMenuForMainPage { - display: none! important; -} -.fullFillDiv { - width:100%; - height:100%; -} - +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +@font-face { + font-family: 'Lato'; + font-style: normal; + font-weight: 400; + src: local('Lato Regular'), local('Lato-Regular'), url(9k-RPmcnxYEPm8CNFsH2gg.woff) format('woff'); +} +html, body, div, span, applet, object, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +b, u, i, center, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td, +article, aside, canvas, details, embed, +figure, figcaption, footer, header, hgroup, +menu, nav, output, ruby, section, summary, +time, mark, audio, video { + margin: 0; + padding: 0; + border: 0; + font-size: 1em; + vertical-align: baseline; +} +/* HTML5 display-role reset for older browsers */ +article, aside, details, figcaption, figure, +footer, header, hgroup, menu, nav, section { + display: block; +} +body { + background: rgba(231, 231, 231, 0.43); + line-height: 1.125em; + color: white; + max-width: 1920px; + margin: 0 auto; + position: relative; + font-family: 'Lato', Helvetica, Arial, Tahoma; + text-shadow: 1px 1px 0 rgba(0,0,0,0.3); +} +ol, ul { + padding: 0 10px; + margin: 0 10px; + line-height: 1.5em; +} +h1, h2, h3, h4, h5, h6 { + text-shadow: 1px 1px 0 rgba(0,0,0,0.5); + font-family: 'Lato', Georgia, Helvetica, Tahoma; + margin: 10px 0; + font-weight: normal; +} +h1 { + font-size: 1.875em; +} +h2 { + font-size: 1.6em; + line-height: 1em; +} +h3 { + font-size: 1.25em; +} +h4 { + font-size: 1.125em; +} +h5 { + font-size: 1em; +} +h6 { + font-size: 0.875em; +} +a { + text-decoration: none; + color: white; +} +a:hover { + color: white; + opacity: 0.9; +} +a:visited { + color: white; +} +h2 { + cursor: pointer; +} +code, pre { + font-family: Monaco, Menlo, Consolas; + font-size: 1em; + color: #FFFFDE; + padding: 0 3px 2px; +} + +table { + border-collapse: collapse; + border-spacing: 0; +} + +.header { + /*padding: 14px 0; + background-color: rgb(19, 17, 17); + background-color: #006a3f; + background-image: + radial-gradient(rgba(0,0,0,0.1) 15%, transparent 16%), + radial-gradient(rgba(0,0,0,0.1) 15%, transparent 16%), + radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%), + radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%); + background-image: + -webkit-radial-gradient(rgba(0,0,0,0.1) 15%, transparent 16%), + -webkit-radial-gradient(rgba(0,0,0,0.1) 15%, transparent 16%), + -webkit-radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%), + -webkit-radial-gradient(rgba(255, 255, 255, 0.1) 15%, transparent 20%); + background-position: 0 0px, 4px 4px, 0 1px, 4px 5px; + background-size: 8px 8px; + border-bottom: 1px solid rgb(41, 41, 41);*/ + margin-top: 3%; + /* margin-left: 10%; */ + margin-left: 75px; +} +@media (min-width: 1600px){ + .header { + margin-top: 3%; + margin-left: 95px; + } +} + +.header div.float-left { + /*padding-left: 2%;*/ +} + +@media (min-width: 769px) and (max-width: 1024px) { + .header div.float-left { + /*padding-left: 5%;*/ + } +} + +.header a { + font-size: 35px; + color: white; + display: block; + opacity: 0.8; +} +.header a:first-letter { + font-size: 60px; + line-height: 40px; + font-weight: bold; +} +.header .target { + margin-left: 5px; + margin-bottom: 20px; +} + +.header .reponsive-block { + list-style: none; + margin: 0px; + padding: 50px 2% 0 0; +} + +.header .reponsive-block li { + display: inline-block; + float:left; +} + +.header .reponsive-block a { + display: inline-block; + margin: 0 5px; + cursor: pointer; + background: url(../i/reponsive.png) no-repeat; +} + +.header .reponsive-block a.desktop { + background-position: 3px 0; + width: 34px; height: 26px; +} + +.header .reponsive-block a.tablet-landscape { + background-position: -49px 0; + width: 22px; + height: 22px; +} + +.header .reponsive-block a.tablet-portrait { + background-position: -90px 0; + width: 18px; + height: 24px; +} + +.header .reponsive-block a.iphone-landscape { + background-position: -129px 0; + width: 20px; + height: 20px; +} + +.header .reponsive-block a.iphone-portrait { + background-position: -166px 0; + width: 16px; + height: 26px; +} + +.header .reponsive-block a.desktop:hover, +.header .reponsive-block a.desktop.active { + background-position: 3px -34px; +} + +.header .reponsive-block a.tablet-landscape:hover, +.header .reponsive-block a.tablet-landscape.active { + background-position: -49px -34px; +} + +.header .reponsive-block a.tablet-portrait:hover, +.header .reponsive-block a.tablet-portrait.active { + background-position: -91px -33px; +} + +.header .reponsive-block a.iphone-landscape:hover, +.header .reponsive-block a.iphone-landscape.active { + background-position: -128px -33px; +} + +.header .reponsive-block a.iphone-portrait:hover, +.header .reponsive-block a.iphone-portrait.active { + background-position: -166px -33px; +} +.free-wall { + margin: auto; +} + +.free-wall-logo { + margin: auto; + height: 420px; +} +.size2-2 { + width: 80px; + height: 80px; +} + +.size11 { + height: 160px; + width: 160px; +} + +.size12 { + width: 160px; + height: 320px; +} + +.size21 { + width: 320px; + height: 160px; +} + +.size22 { + height: 320px; + width: 320px; +} + +.size13 { + width: 160px; + height: 480px; +} + +.size31 { + width: 480px; + height: 160px; +} + +.size23 { + width: 320px; + height: 480px; +} + +.size24 { + width: 320px; + height: 640px; +} + +.size32 { + width: 480px; + height: 320px; +} + +.size33 { + width: 480px; + height: 480px; +} + +.size34 { + width: 480px; + height: 640px; +} + +.size43 { + width: 640px; + height: 480px; +} + +.size35 { + width: 480px; + height: 800px; +} + +.size53 { + width: 800px; + height: 480px; +} + +.size36 { + width: 480px; + height: 960px; +} + +.size41 { + width: 270px; + height: 160px; +} +.size42 { + width: 270px; + height: 320px; +} +.size41-1024 { + width: 213px; + height: 133px; +} +.size42-1024 { + width: 213px; + height: 275px; +} +.size41-1366 { + width: 278px; + height: 156px; +} +.size42-1366 { + width: 278px; + height: 332px; +} +.size41-1440 { + width: 310px; + height: 168px; +} +.size42-1440 { + width: 310px; + height: 340px; +} +.size41-1600 { + width: 330px; + height: 173px; +} +.size42-1600 { + width: 330px; + height: 354px; +} + +.donate form { + height: 100%; + width: 100%; + background: rgb(44, 62, 80); +} + +.donate form .paypal { + display: block; + margin: auto; + padding: 20px 0px 0px 0px; + outline: 0; +} + +.img-demo { + vertical-align: bottom; + list-style: none; + margin:0; + padding: 0; +} + +.img-demo li { + float: left; + width: 25%; + text-align: center; +} + +.img-demo li img { + border: 2px solid white; + width: 98px; + height: 98px; +} + +.float-left { + float: left; +} + +.float-right { + float: right; +} + +.clearfix:before, +.clearfix:after { + content: ""; + display: table; +} + +.clearfix:after { + clear: both; +} + +.clearfix { + zoom: 1; /* For IE 6/7 (trigger hasLayout) */ +} + +.rest-left { + margin-left: 244px; +} + +.desc h1, +.desc h2, +.desc h3, +.desc h4, +.desc h5, +.desc h6 { + font-weight: bold; +} + +.desc h2 { + border-bottom: 1px solid rgba(0,0,0,0.1); + margin-top: 0px; + margin-bottom: 0px; + padding-bottom: 50px; +} + +.desc h2 span { + float: left; + display: block; + line-height: 50px; +} + +.brick { + background-color: white; + float: left; + cursor: default; + overflow: hidden; + background-repeat: no-repeat; + background-size: cover; + background-position: center; +} + +.brick .cover { + overflow: hidden; + margin: 20px; +/* margin-left: 60%; */ + margin-top: 25%; +/* width: 120px; */ + height: 30px; + font-size: 30px; + padding: 7px; + float: right; + text-align: right; +} + +.brick .read-more { + position: absolute; + display: none; + bottom: 0px; + left: 0px; + right: 0px; + padding: 12px; + background: rgb(0, 0, 0); + background: rgba(0, 0, 0, 0.45); +} + +.brick:hover .read-more { + display: block; + cursor: pointer; +} + +.brick .desc { + display: none; +} + +.full-width .float-left { + display: none; +} + +.full-width .desc { + display: block; +} + +.full-width.brick { + box-shadow: none; + overflow: visible; + border: none !important; + background: none !important; +} + +.full-width.brick .cover { + margin: 0px 20px; + color: #333; +} + +.full-width.brick .cover * { + text-shadow: none; +} + +.full-width.brick .cover code { + color: #666; +} + +.open .float-left { + display: none; +} + +.open .desc { + display: block; +} + +.example { + width: 0px; + height: 0px; + overflow: visible !important; /* for ie7 */ +} + +.example-draggable { + cursor: move; +} + +.example-draggable * { + cursor: move; +} + +.example-draggable a { + cursor: pointer; +} + +.cell { + background-position: center center; + background-repeat: no-repeat; + background-size: cover; + position: absolute; + background-color: #222; +} + +[class*="-share"] { + cursor: pointer; + margin: 20px 0; + line-height: 30px; + padding-left: 30px; +} + +.facebook-share { + background: url(../i/fb.png) no-repeat left center; +} + +.twitter-share { + background: url(../i/tw.png) no-repeat left center; +} + +.google-share { + background: url(../i/gp.png) no-repeat left center; +} + +.download-icon { + background: url(../i/download.png) no-repeat left center; + display: block; + margin: 0 0 10px 0; + line-height: 30px; + padding-left: 30px; +} + +.js-icon { + background: url(../i/js.png) no-repeat left center; + display: block; + line-height: 30px; + padding-left: 30px; +} + +.fork { + float: right; + width: 100%; + height: 100%; + display: block; + background: url(../i/forkme.png) no-repeat top right; +} + +.back-button { + position: fixed; + z-index: 9999; + padding: 1%; + bottom: 2%; + right: 2%; + display: none; + background: black; +} + +.back-button .back-icon { + background: url(../i/back.png) no-repeat top center; + width: 45px; + height: 27px; + display: block; +} + +.back-button .back-icon:hover { + background: url(../i/back.png) no-repeat bottom center; +} + +@media (min-width: 1600px) { + .main-content-wrapper{ + width:100%; + margin-left:95px; + margin-right: 1%; + } +} + +@media (min-width: 1441px) and (max-width: 1599px) { + .main-content-wrapper{ + width:100%; + /*margin-left: 0%; */ + margin-left:75px; + margin-right: 1%; + } +} + +@media (min-width: 1367px) and (max-width: 1440px) { + .main-content-wrapper{ + width:100%; + margin-left: 75px; + margin-right: 1%; + } +} + +@media (min-width: 1281px) and (max-width: 1366px) { + .main-content-wrapper{ + width:100%; + /*margin-left: 2%; */ + margin-left:75px; + margin-right: 2%; + } +} + +@media (min-width: 1025px) and (max-width: 1280px) { + .main-content-wrapper{ + width:100%; + /*margin-left: 4%;*/ + margin-left:75px; + margin-right: 1%; + } +} + +@media (min-width: 769px) and (max-width: 1024px) { + .main-content-wrapper{ + width:100%; + /*margin-left: 6%;*/ + margin-left:75px; + margin-right: 1%; + } +} + +@media (min-width: 641px) and (max-width: 768px) { + .main-content-wrapper{ + width:100%; + margin-left: 10%; + margin-right: 1%; + } +} + +@media (min-width: 481px) and (max-width: 640px) { + .main-content-wrapper{ + width:100%; + margin-left: 0%; + margin-right: 1%; + } +} + +@media (max-width: 480px) { + .main-content-wrapper{ + width:100%; + margin-left: 9%; + margin-right: 1%; + } +} + +body{ + font-family: microsoft yahei; + background: #484747; +} + +.skyBlue-mainpage{ + background: -moz-linear-gradient(left top, #1cadd9, #20c0f0); + background: -webkit-gradient(linear, left top, right bottom, color-stop(0, #1cadd9), color-stop(1, #20c0f0)); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1cadd9', endColorstr='#20c0f0', GradientType='0'); + background: linear-gradient(to bottom right,#1cadd9, #20c0f0); +} +.golden-mainpage{ + background-image: -moz-linear-gradient(left top, #bca374, #d9cf7a); + background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #bca374), color-stop(1, #d9cf7a)); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#bca374, endColorstr=#d9cf7a, GradientType=0); + background: linear-gradient(to bottom right,#bca374, #d9cf7a); +} +.manLieONCloud-image{ + background-image: url('../image/mainpage/pic/1.png'); +} +.orange-mainpage{ + background-image: -moz-linear-gradient(left top, #f09c0a, #f4be35); + background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #f09c0a), color-stop(1, #f4be35)); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#f09c0a, endColorstr=#f4be35, GradientType=0); + background: linear-gradient(to bottom right,#f09c0a, #f4be35); +} +.pinkishRed-mainpage{ + background-image: -moz-linear-gradient(left top, #e03655, #ef3a5b); + background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #e03655), color-stop(1, #ef3a5b)); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#e03655, endColorstr=#ef3a5b, GradientType=0); + background: linear-gradient(to bottom right,#e03655, #ef3a5b); +} +.magicCube-image{ + background-image: url('../image/mainpage/pic/4.png'); +} +.grassGreen-mainpage{ + background-image: -moz-linear-gradient(left top, #008b04, #03a501); + background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0, #008b04), color-stop(1, #03a501)); + filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#008b04, endColorstr=#03a501, GradientType=0); + background: linear-gradient(to bottom right,#008b04, #03a501); +} +.meeting-image{ + background-image: url('../image/mainpage/pic/3.png'); +} +.earth-image{ + background-image: url('../image/mainpage/pic/2.png'); +} +.toolsImageBrokenLine{ + background-image: url('../image/mainpage/icon/1.png'); + height: 150px; + width: 120px; + top: 30px; + position: absolute; +} +.toolsImageHierachy{ + background-image: url('../image/mainpage/icon/2.png'); + height: 150px; + width: 120px; + top: 30px; + position: absolute; +} +.toolsImageGear{ + background-image: url('../image/mainpage/icon/3.png'); + height: 150px; + width: 120px; + top: 30px; + position: absolute; +} +.toolsImagePresent{ + background-image: url('../image/mainpage/icon/4.png'); + height: 150px; + width: 120px; + top: 30px; + position: absolute; +} +.toolsImageFile{ + background-image: url('../image/mainpage/icon/5.png'); + height: 150px; + width: 120px; + top: 30px; + position: absolute; +} +.toolsImageBriefcase{ + background-image: url('../image/mainpage/icon/6.png'); + height: 150px; + width: 120px; + top: 30px; + position: absolute; +} +.contentTip{ + opacity:0; + display:block; + padding: 20px; + text-align: left; + line-height: inherit; + text-indent: 2em; + position: absolute; +} +.contentTipShow{ + display:block; + padding: 20px; + text-align: left; + line-height: inherit; + text-indent: 2em; + position: absolute; +} +.coverHidden{ + display:none; +} +.coverShrink{ + width:0px !important; + height:0px !important; +} +/* +.brick .contentToggle{ + -webkit-transition: opacity 1s ease-in-out; + -moz-transition: opacity 1s ease-in-out; + -o-transition: opacity 1s ease-in-out; + transition: opacity 1s ease-in-out; +} +.brick .cover :hover{ + opacity:0; +} +*/ +.hideSideMenuForMainPage { + display: none! important; +} +.fullFillDiv { + width:100%; + height:100%; +} + diff --git a/openo-portal/portal-common/src/main/webapp/common/css/style-responsive.css b/openo-portal/portal-common/src/main/webapp/common/css/style-responsive.css index 9c1b40f4..45b183d7 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/style-responsive.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/style-responsive.css @@ -1,989 +1,989 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -Responsive Theme. -Based on http://getbootstrap.com/css/#responsive-utilities-classes -***/ - -/*** -Fixed Footer -***/ - -.page-footer-fixed.page-footer-fixed-mobile .footer { - position: fixed; - left: 0; - right: 0; - z-index: 10000; - bottom: 0; -} - -.page-footer-fixed.page-footer-fixed-mobile .page-container { - margin-bottom: 20px !important; -} - -.page-footer-fixed.page-footer-fixed-mobile.page-sidebar-fixed .footer { - margin-left: 0 !important; -} - -/*** -Form Medium Devices Up To Large Devices -***/ - -@media (min-width: 992px) and (max-width: 1200px) { - - .page-boxed .header.navbar .dropdown .username { - display: none; - } - -} - -@media (max-width: 1024px) { - .hidden-1024 { - display: none; - } -} - -/*** -From Medium Devices Up To Larger Devices -***/ - -@media (min-width: 992px) { - - /*** - Page sidebar - ***/ - .page-sidebar { - width: 225px; - float: left; - position: relative; - margin-right: -100%; - } - - .page-sidebar.navbar-collapse { - max-height: none !important; - } - - /*** - Page content - ***/ - .page-content-wrapper { - float: left; - width: 100%; - } - - .page-content { - margin-left: 0px; - margin-top: 0px; - min-height: 500px; - padding: 20px 20px 0px 20px; - } - - .page-content.no-min-height { - min-height: auto; - } - - /*** - Footer - ***/ - .footer { - clear: left; - } - - /*** - Fixed Sidebar - ***/ - .page-sidebar-fixed .page-content { - min-height: 500px; - } - - .page-sidebar-fixed .page-sidebar { - position: fixed !important; - margin-left: 0; - top: 41px; - } - - .page-sidebar-fixed ul.page-sidebar-menu > li.last { - margin-bottom: 15px !important; - } - - .page-sidebar-fixed.page-sidebar-hover-on .page-sidebar { - z-index: 10000; - width: 35px; - } - - .page-sidebar-fixed.page-sidebar-hover-on .page-sidebar .selected { - display: none; - } - - .page-sidebar-fixed.page-sidebar-hover-on .page-content { - margin-left: 35px; - } - - .page-sidebar-fixed.page-sidebar-hover-on .footer { - margin-left: 35px; - } - - .page-sidebar-fixed .page-sidebar-closed .page-sidebar .sidebar-search .submit, - .page-sidebar-fixed .page-sidebar .sidebar-toggler { - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - -o-transition: all 0.3s ease; - transition: all 0.3s ease; - } - - .page-sidebar-fixed.page-sidebar-reversed .page-sidebar-closed .page-sidebar .sidebar-search .submit, - .page-sidebar-fixed.page-sidebar-reversed .page-sidebar .sidebar-toggler { - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; - } - - .page-sidebar-hovering { - overflow: hidden !important; - } - - .page-sidebar-hovering .sub-menu, - .page-sidebar-hovering span.title, - .page-sidebar-hovering span.arrow { - display: none !important; - } - - .page-sidebar-hovering .submit { - opacity: 0; - width: 0 !important; - height: 0 !important; - } - - /*** - Fixed Sidebar - ***/ - - .page-sidebar-fixed .footer { - margin-left: 225px; - background-color: #fff; - padding: 8px 20px 5px 20px; - } - - .page-sidebar-fixed .footer .footer-inner { - color: #333; - } - - .page-sidebar-fixed.page-sidebar-closed .footer { - margin-left: 35px; - } - - .page-sidebar-fixed .footer .footer-tools .go-top { - background-color: #666; - } - - .page-sidebar-fixed .footer .footer-tools .go-top i { - color: #ddd; - } - - /*** - Boxed Layout - ***/ - - .page-boxed .header.navbar .navbar-brand { - margin-left: 0px !important; - width: 226px; - } - - .page-boxed .header.navbar .navbar-brand img { - margin-left: 10px; - } - - .page-boxed .header.navbar .navbar-nav { - margin-right: 0px; - } - - .page-boxed .footer { - padding: 8px 0 5px 0; - } - - .page-boxed.page-sidebar-fixed .footer { - padding-right: 20px; - padding-left: 20px; - } - - /*** - Sidebar Reversed - ***/ - - .page-sidebar-reversed .page-sidebar { - float: right; - margin-right: 0; - margin-left: -100%; - } - - .page-sidebar-reversed.page-sidebar-fixed .page-sidebar { - margin-left: -225px; - } - - .page-sidebar-reversed .page-content { - margin-left: 0; - margin-right: 225px; - } - - .page-sidebar-reversed.page-sidebar-fixed .page-sidebar-wrapper { - position: relative; - float: right; - } - - .page-sidebar-reversed.page-sidebar-fixed .footer { - margin-left: 0; - margin-right: 225px; - padding: 8px 20px 5px 20px; - } - - .page-sidebar-reversed.page-sidebar-fixed.page-footer-fixed .footer { - margin-left: 0; - margin-right: 0; - } - - .page-sidebar-reversed.page-sidebar-fixed.page-sidebar-hover-on .page-content { - margin-left: 0; - margin-right: 35px; - } - - .page-sidebar-reversed.page-sidebar-fixed.page-sidebar-hover-on .footer { - margin-right: 35px; - } - - /*** - Sidebar Closed - ***/ - - .page-sidebar-closed .page-sidebar .sidebar-toggler { - margin-left: 3px; - } - - .page-sidebar-closed .page-sidebar .sidebar-search .form-container { - width: 29px; - margin-left: 3px; - } - - .page-sidebar-closed .page-sidebar .sidebar-search .form-container .input-box { - border-bottom: 0 !important; - } - - .page-sidebar-closed .page-sidebar .sidebar-search .form-container input[type="text"] { - display: none; - } - - .page-sidebar-closed .page-sidebar .sidebar-search .form-container .submit { - margin-top: 5px !important; - margin-left: 7px !important; - margin-right: 7px !important; - display: block !important; - } - - .page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { - width: 255px; - position: relative; - z-index: 1; - padding-top: 0px; - } - - .page-sidebar-closed .page-sidebar .sidebar-search.open .form-container input[type="text"] { - margin-top: 7px; - margin-left: 8px; - padding-left: 10px; - padding-bottom: 2px; - width: 185px; - display: inline-block !important; - } - - .page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .submit { - display: inline-block; - width: 13px; - height: 13px; - margin: 11px 8px 9px 6px !important; - } - - .page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { - background-repeat: no-repeat; - width: 11px; - height: 11px; - margin: 12px 8px 9px 8px !important; - display: inline-block !important; - float: left !important; - } - - .page-sidebar-closed .page-sidebar-menu > li > a .selected { - right: -3px !important; - } - - .page-sidebar-closed .page-sidebar-menu > li > a > .title, - .page-sidebar-closed .page-sidebar-menu > li > a > .arrow { - display: none !important; - } - - .page-sidebar-closed .page-sidebar .sidebar-toggler { - margin-right: 3px; - } - - .page-sidebar-closed .page-sidebar .sidebar-search { - margin-top: 6px; - margin-bottom: 6px; - } - - .page-sidebar-closed .page-sidebar-menu { - width: 35px !important; - } - - .page-sidebar-closed .page-sidebar-menu > li > a { - padding-left: 7px; - } - - .page-sidebar-fixed.page-sidebar-closed .page-sidebar-menu > li > a { - -webkit-transition: all 0.2s ease; - -moz-transition: all 0.2s ease; - -o-transition: all 0.2s ease; - transition: all 0.2s ease; - } - - .page-sidebar-reversed.page-sidebar-fixed.page-sidebar-closed .page-sidebar-menu > li > a { - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; - } - - .page-sidebar-closed .page-sidebar-menu > li:hover { - width: 236px !important; - position: relative !important; - z-index: 2000; - display: block !important; - } - - .page-sidebar-closed .page-sidebar-menu > li.sidebar-toggler-wrapper:hover, - .page-sidebar-closed .page-sidebar-menu > li.sidebar-search-wrapper:hover { - width: 35px !important; - } - - .page-sidebar-closed .page-sidebar-menu > li:hover .selected { - display: none; - } - - .page-sidebar-closed .page-sidebar-menu > li:hover > a > i { - margin-right: 10px; - } - - .page-sidebar-closed .page-sidebar-menu > li:hover .title { - display: inline !important; - } - - .page-sidebar-closed .page-sidebar-menu > li > .sub-menu { - display: none !important; - } - - .page-sidebar-closed .page-sidebar-menu > li:hover > .sub-menu { - width: 200px; - position: absolute; - z-index: 2000; - left: 36px; - margin-top: 0; - top: 100%; - display: block !important; - } - - .page-sidebar-closed .page-sidebar-menu > li:hover > .sub-menu > li > .sub-menu, - .page-sidebar-closed .page-sidebar-menu > li:hover > .sub-menu > li > .sub-menu > li > .sub-menu { - width: 200px; - } - - /* 2rd level sub menu*/ - .page-sidebar-closed .page-sidebar-menu > li:hover > .sub-menu > li > a { - padding-left: 15px !important; - } - - /* 3rd level sub menu*/ - .page-sidebar-closed .page-sidebar-menu > li > ul.sub-menu > li > .sub-menu > li > a { - padding-left: 30px !important; - } - - /* 4rd level sub menu*/ - .page-sidebar-closed .page-sidebar-menu > li > ul.sub-menu > li > .sub-menu > li > .sub-menu > li > a { - padding-left: 45px !important; - } - - /* sidebar container */ - - .page-sidebar-closed .page-sidebar { - width: 35px; - } - - .page-sidebar-closed .page-content { - margin-left: 35px; - } - - /*** - Sidebar Reversed & Sidebar Closed - ***/ - - .page-sidebar-reversed.page-sidebar-closed .page-sidebar { - margin-left: -35px; - width: 35px; - } - - .page-sidebar-reversed.page-sidebar-closed .page-content { - margin-left: 0 !important; - margin-right: 35px !important; - } - - .page-sidebar-reversed.page-sidebar-closed .page-sidebar-menu > li:hover { - margin-left: -201px; - } - - .page-sidebar-reversed.page-sidebar-closed .page-sidebar-menu > li.sidebar-toggler-wrapper:hover, - .page-sidebar-reversed.page-sidebar-closed .page-sidebar-menu > li.sidebar-search-wrapper:hover { - margin-left: 0; - } - - .page-sidebar-reversed.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { - margin-left: -225px; - } - - .page-sidebar-reversed.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .submit { - margin: 11px 8px 9px 12px !important; - float: left !important; - } - - .page-sidebar-reversed.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { - margin: 12px 6px 9px 8px !important; - float: right !important; - } - - .page-sidebar-reversed.page-sidebar-closed .page-sidebar-menu > li:hover > .sub-menu { - left:auto; - right: 36px; - } - - .page-sidebar-reversed.page-sidebar-fixed.page-sidebar-closed .footer { - margin-right: 35px; - } - - /*** - Fixed Footer - ***/ - - .page-footer-fixed .footer { - position: fixed; - left: 0; - right: 0; - z-index: 10000; - bottom: 0; - } - - .page-footer-fixed .page-container { - margin-bottom: 20px !important; - } - - .page-footer-fixed.page-sidebar-fixed .footer { - margin-left: 0 !important; - } - -} - -/*** -Up To Medium Devices -***/ - -@media (max-width:991px) { - - /*** - Page header - ***/ - .header.navbar { - padding: 0 20px 0 20px; - position: relative; - clear: both; - } - - .page-header-fixed.page-header-fixed-mobile .navbar-fixed-top { - position: fixed; - } - - .header.navbar .navbar-toggle { - display: inline-block; - } - - .page-sidebar.navbar-collapse { - max-height: none; /* set some max height to have a scrollable menu on mobile devices */ - } - - .page-sidebar.navbar-collapse.collapse { - display: none !important; - } - - .page-sidebar.navbar-collapse.in { - overflow: hidden !important; - overflow-y: auto !important; - display: block !important; - } - - .page-full-width .page-sidebar-menu { - display: block; - } - - .page-sidebar.navbar-collapse.navbar-no-scroll { - max-height: none !important; - } - - .header.navbar .nav li.dropdown i { - display: inline-block; - position: relative; - top:1px; - right:0px; - } - - .header.navbar .navbar-nav { - display: block; - margin-bottom: 0px !important; - } - - .header.navbar .navbar-nav .open .dropdown-menu { - position: absolute; - } - - .header.navbar .navbar-nav { - display: inline-block; - margin: 0 10px 0 0; - } - - .header.navbar .navbar-nav > li { - float: left; - } - - .header.navbar .navbar-brand { - margin-left: 0px !important; - padding-left: 0px !important; - } - - .header.navbar .navbar-brand img { - margin-left: 4px !important; - } - - - /*** - Header Search Box - ***/ - - .header.navbar .search-form { - display: none; - } - - .page-sidebar .header.navbar-responsive-search { - display: block; - } - - /*** - Page container - ***/ - .page-container { - margin: 0 !important; - padding: 0 !important; - } - - .page-header-fixed.page-header-fixed-mobile .page-container { - margin-top: 42px !important; - } - - /*** - Page content - ***/ - .page-content { - margin: 0px !important; - padding: 20px 20px 20px 20px !important; - min-height: 280px; - } - - /*** - Page sidebar - ***/ - .page-sidebar { - border-top: 0 !important; - margin: 20px; - } - - .page-sidebar.in { - border-top: 0 !important; - margin: 20px; - position: relative; - z-index: 5; - } - - .header.navbar .sidebar-toggler, - .page-sidebar .sidebar-toggler { - display: none; - } - - .page-sidebar ul { - margin-top:0px; - width:100%; - } - - .page-sidebar .selected { - display: none !important; - } - - .page-sidebar .sidebar-search .input-box { - width: 220px; - } - - /*** - Styler panel - ***/ - .styler-panel { - top:55px; - right:20px; - } - - /*** - Boxed Layout - ***/ - .page-boxed .header.navbar > .container, - .page-boxed .footer > .container, - .page-boxed > .container { - max-width: none !important; - margin: 0 !important; - padding: 0 !important; - } - -} - -/*** -From Small Devices Up To Medium Devices -***/ - -@media (min-width: 768px) and (max-width: 991px) { - - /*** - Body - ***/ - body { - padding-top: 0px; - } - - /*** - Page sidebar - ***/ - .page-sidebar .btn-navbar.collapsed .arrow { - display: none; - } - - .page-sidebar .btn-navbar .arrow { - position: absolute; - right: 25px; - width: 0; - height: 0; - top:50px; - border-bottom: 15px solid #5f646b; - border-left: 15px solid transparent; - border-right: 15px solid transparent; - } - - /*** - Boxed Layout - ***/ - .page-boxed .header.navbar > .container, - .page-boxed > .container { - margin: auto !important; - } - - .page-boxed .header.navbar { - margin: auto !important; - padding: 0; - } - - .page-boxed .footer { - padding-left: 0; - padding-right: 0; - } - -} - -/*** -Extra Small Devices Only -***/ - -@media (max-width: 767px) { - - /*** - Page header - ***/ - - .header.navbar { - padding: 0 10px 0 10px; - } - - .header.navbar .top-nav .nav{ - margin-top: 0px; - margin-right: 5px; - } - - .header.navbar .nav > li > .dropdown-menu.notification:after, - .header.navbar .nav > li > .dropdown-menu.notification:before { - margin-right: 160px; - } - - .header.navbar .nav > li > .dropdown-menu.notification { - margin-right: -160px; - } - - .header.navbar .nav > li > .dropdown-menu.inbox:after, - .header.navbar .nav > li > .dropdown-menu.inbox:before { - margin-right: 110px; - } - - .header.navbar .nav > li > .dropdown-menu.inbox { - margin-right: -110px; - } - - .header.navbar .nav > li > .dropdown-menu.tasks:after, - .header.navbar .nav > li > .dropdown-menu.tasks:before { - margin-right: 60px; - } - - .header.navbar .nav > li > .dropdown-menu.tasks { - margin-right: -60px; - } - - /* Header logo */ - .header.navbar .navbar-brand { - margin-left: 0px !important; - width: 110px; - } - - /*** - Page content - ***/ - .page-content { - padding: 20px 10px 10px 10px !important; - overflow: hidden; - } - - /*** - Page title - ***/ - .page-title { - margin-bottom: 20px; - font-size: 18px; - } - - .page-title small { - font-size: 13px; - padding-top: 3px; - } - - /*** - Styler pagel - ***/ - .styler-panel { - top:58px; - right:12px; - } - - /*** - Page breadcrumb - ***/ - .breadcrumb { - padding-left: 10px; - padding-right: 10px; - } - - /*** - Portlet form action - ***/ - .portlet-body.form .form-actions{ - padding-left: 15px; - } - - - /*** - Form input validation states - ***/ - .input-icon .input-error, - .input-icon .input-warning, - .input-icon .input-success { - top:-27px; - float: right; - right:10px !important; - } - - /*** - Advance tables - ***/ - .table-advance tr td.highlight:first-child a { - margin-left: 8px; - } - - /*** - Footer - ***/ - .footer { - padding-left: 10px; - padding-right: 10px; - } - - .footer .go-top { - float: right; - display: block; - margin-right: 0px; - } - - /*** - Vertical inline menu - ***/ - .ver-inline-menu li.active:after { - display: none; - } - - /*** - Form controls - ***/ - .form-horizontal .form-actions { - padding-left: 180px; - } - - .portlet .form-horizontal .form-actions { - padding-left: 190px; - } -} - -/*** -The Most Extra Small Devices Landscape Mode Only -***/ - -@media (max-width: 580px) { - - .header.navbar .username { - display: none; - } - -} - -@media (max-width: 480px) { - - /*** - Header navbar - ***/ - .page-header-fixed.page-header-fixed-mobile .header.navbar { - height: 84px; - } - - .page-header-fixed.page-header-fixed-mobile .page-container { - margin-top: 84px !important; - } - - .header.navbar .navbar-nav { - display: block; - clear: both; - margin-top: 2px; - margin-right: 0; - } - - .header.navbar .navbar-nav > li.dropdown .dropdown-toggle { - margin-top:-1px; - padding-left: 9px; - padding-right: 9px; - } - - .header.navbar .navbar-nav > li.dropdown.language .dropdown-toggle, - .header.navbar .navbar-nav > li.dropdown.user .dropdown-toggle { - padding-left: 4px; - padding-right: 15px; - } - - .header.navbar .navbar-nav li.dropdown .dropdown-toggle .badge { - top: 8px; - } - - /*** - Page sidebar - ***/ - .page-sidebar, - .page-sidebar.in { - margin: 0 10px 10px 10px; - } - - .page-header-fixed.page-header-fixed-mobile .page-sidebar, - .page-header-fixed.page-header-fixed-mobile .page-sidebar.in { - margin-top: 10px; - } - - /*** - Page title - ***/ - .page-title small { - display: block; - clear: both; - } - - /*** - Forms - ***/ - .portlet .form-horizontal .form-actions { - padding-left: 10px; - } - - /*** - Dashboard date range panel - ***/ - .page-content .breadcrumb .dashboard-date-range { - padding-bottom: 8px; - } - - .page-content .breadcrumb .dashboard-date-range span { - display: none; - } - - .page-content .breadcrumb > .btn-group span { - display: none; - } - - .page-content .breadcrumb > .btn-group > .btn { - padding-left: 7px; - padding-right: 7px; - } - - /*** - Hidden phone - ***/ - .hidden-480 { - display: none !important; - } -} - -/*** -The Most Extra Small Devices Portrait Mode Only -***/ - -@media (max-width: 320px) { - - /*** - Hidden phone - ***/ - .hidden-320 { - display: none; - } - - .header.navbar .navbar-brand { - width: 100px; - } +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +Responsive Theme. +Based on http://getbootstrap.com/css/#responsive-utilities-classes +***/ + +/*** +Fixed Footer +***/ + +.page-footer-fixed.page-footer-fixed-mobile .footer { + position: fixed; + left: 0; + right: 0; + z-index: 10000; + bottom: 0; +} + +.page-footer-fixed.page-footer-fixed-mobile .page-container { + margin-bottom: 20px !important; +} + +.page-footer-fixed.page-footer-fixed-mobile.page-sidebar-fixed .footer { + margin-left: 0 !important; +} + +/*** +Form Medium Devices Up To Large Devices +***/ + +@media (min-width: 992px) and (max-width: 1200px) { + + .page-boxed .header.navbar .dropdown .username { + display: none; + } + +} + +@media (max-width: 1024px) { + .hidden-1024 { + display: none; + } +} + +/*** +From Medium Devices Up To Larger Devices +***/ + +@media (min-width: 992px) { + + /*** + Page sidebar + ***/ + .page-sidebar { + width: 225px; + float: left; + position: relative; + margin-right: -100%; + } + + .page-sidebar.navbar-collapse { + max-height: none !important; + } + + /*** + Page content + ***/ + .page-content-wrapper { + float: left; + width: 100%; + } + + .page-content { + margin-left: 0px; + margin-top: 0px; + min-height: 500px; + padding: 20px 20px 0px 20px; + } + + .page-content.no-min-height { + min-height: auto; + } + + /*** + Footer + ***/ + .footer { + clear: left; + } + + /*** + Fixed Sidebar + ***/ + .page-sidebar-fixed .page-content { + min-height: 500px; + } + + .page-sidebar-fixed .page-sidebar { + position: fixed !important; + margin-left: 0; + top: 41px; + } + + .page-sidebar-fixed ul.page-sidebar-menu > li.last { + margin-bottom: 15px !important; + } + + .page-sidebar-fixed.page-sidebar-hover-on .page-sidebar { + z-index: 10000; + width: 35px; + } + + .page-sidebar-fixed.page-sidebar-hover-on .page-sidebar .selected { + display: none; + } + + .page-sidebar-fixed.page-sidebar-hover-on .page-content { + margin-left: 35px; + } + + .page-sidebar-fixed.page-sidebar-hover-on .footer { + margin-left: 35px; + } + + .page-sidebar-fixed .page-sidebar-closed .page-sidebar .sidebar-search .submit, + .page-sidebar-fixed .page-sidebar .sidebar-toggler { + -webkit-transition: all 0.3s ease; + -moz-transition: all 0.3s ease; + -o-transition: all 0.3s ease; + transition: all 0.3s ease; + } + + .page-sidebar-fixed.page-sidebar-reversed .page-sidebar-closed .page-sidebar .sidebar-search .submit, + .page-sidebar-fixed.page-sidebar-reversed .page-sidebar .sidebar-toggler { + -webkit-transition: none; + -moz-transition: none; + -o-transition: none; + transition: none; + } + + .page-sidebar-hovering { + overflow: hidden !important; + } + + .page-sidebar-hovering .sub-menu, + .page-sidebar-hovering span.title, + .page-sidebar-hovering span.arrow { + display: none !important; + } + + .page-sidebar-hovering .submit { + opacity: 0; + width: 0 !important; + height: 0 !important; + } + + /*** + Fixed Sidebar + ***/ + + .page-sidebar-fixed .footer { + margin-left: 225px; + background-color: #fff; + padding: 8px 20px 5px 20px; + } + + .page-sidebar-fixed .footer .footer-inner { + color: #333; + } + + .page-sidebar-fixed.page-sidebar-closed .footer { + margin-left: 35px; + } + + .page-sidebar-fixed .footer .footer-tools .go-top { + background-color: #666; + } + + .page-sidebar-fixed .footer .footer-tools .go-top i { + color: #ddd; + } + + /*** + Boxed Layout + ***/ + + .page-boxed .header.navbar .navbar-brand { + margin-left: 0px !important; + width: 226px; + } + + .page-boxed .header.navbar .navbar-brand img { + margin-left: 10px; + } + + .page-boxed .header.navbar .navbar-nav { + margin-right: 0px; + } + + .page-boxed .footer { + padding: 8px 0 5px 0; + } + + .page-boxed.page-sidebar-fixed .footer { + padding-right: 20px; + padding-left: 20px; + } + + /*** + Sidebar Reversed + ***/ + + .page-sidebar-reversed .page-sidebar { + float: right; + margin-right: 0; + margin-left: -100%; + } + + .page-sidebar-reversed.page-sidebar-fixed .page-sidebar { + margin-left: -225px; + } + + .page-sidebar-reversed .page-content { + margin-left: 0; + margin-right: 225px; + } + + .page-sidebar-reversed.page-sidebar-fixed .page-sidebar-wrapper { + position: relative; + float: right; + } + + .page-sidebar-reversed.page-sidebar-fixed .footer { + margin-left: 0; + margin-right: 225px; + padding: 8px 20px 5px 20px; + } + + .page-sidebar-reversed.page-sidebar-fixed.page-footer-fixed .footer { + margin-left: 0; + margin-right: 0; + } + + .page-sidebar-reversed.page-sidebar-fixed.page-sidebar-hover-on .page-content { + margin-left: 0; + margin-right: 35px; + } + + .page-sidebar-reversed.page-sidebar-fixed.page-sidebar-hover-on .footer { + margin-right: 35px; + } + + /*** + Sidebar Closed + ***/ + + .page-sidebar-closed .page-sidebar .sidebar-toggler { + margin-left: 3px; + } + + .page-sidebar-closed .page-sidebar .sidebar-search .form-container { + width: 29px; + margin-left: 3px; + } + + .page-sidebar-closed .page-sidebar .sidebar-search .form-container .input-box { + border-bottom: 0 !important; + } + + .page-sidebar-closed .page-sidebar .sidebar-search .form-container input[type="text"] { + display: none; + } + + .page-sidebar-closed .page-sidebar .sidebar-search .form-container .submit { + margin-top: 5px !important; + margin-left: 7px !important; + margin-right: 7px !important; + display: block !important; + } + + .page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { + width: 255px; + position: relative; + z-index: 1; + padding-top: 0px; + } + + .page-sidebar-closed .page-sidebar .sidebar-search.open .form-container input[type="text"] { + margin-top: 7px; + margin-left: 8px; + padding-left: 10px; + padding-bottom: 2px; + width: 185px; + display: inline-block !important; + } + + .page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .submit { + display: inline-block; + width: 13px; + height: 13px; + margin: 11px 8px 9px 6px !important; + } + + .page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { + background-repeat: no-repeat; + width: 11px; + height: 11px; + margin: 12px 8px 9px 8px !important; + display: inline-block !important; + float: left !important; + } + + .page-sidebar-closed .page-sidebar-menu > li > a .selected { + right: -3px !important; + } + + .page-sidebar-closed .page-sidebar-menu > li > a > .title, + .page-sidebar-closed .page-sidebar-menu > li > a > .arrow { + display: none !important; + } + + .page-sidebar-closed .page-sidebar .sidebar-toggler { + margin-right: 3px; + } + + .page-sidebar-closed .page-sidebar .sidebar-search { + margin-top: 6px; + margin-bottom: 6px; + } + + .page-sidebar-closed .page-sidebar-menu { + width: 35px !important; + } + + .page-sidebar-closed .page-sidebar-menu > li > a { + padding-left: 7px; + } + + .page-sidebar-fixed.page-sidebar-closed .page-sidebar-menu > li > a { + -webkit-transition: all 0.2s ease; + -moz-transition: all 0.2s ease; + -o-transition: all 0.2s ease; + transition: all 0.2s ease; + } + + .page-sidebar-reversed.page-sidebar-fixed.page-sidebar-closed .page-sidebar-menu > li > a { + -webkit-transition: none; + -moz-transition: none; + -o-transition: none; + transition: none; + } + + .page-sidebar-closed .page-sidebar-menu > li:hover { + width: 236px !important; + position: relative !important; + z-index: 2000; + display: block !important; + } + + .page-sidebar-closed .page-sidebar-menu > li.sidebar-toggler-wrapper:hover, + .page-sidebar-closed .page-sidebar-menu > li.sidebar-search-wrapper:hover { + width: 35px !important; + } + + .page-sidebar-closed .page-sidebar-menu > li:hover .selected { + display: none; + } + + .page-sidebar-closed .page-sidebar-menu > li:hover > a > i { + margin-right: 10px; + } + + .page-sidebar-closed .page-sidebar-menu > li:hover .title { + display: inline !important; + } + + .page-sidebar-closed .page-sidebar-menu > li > .sub-menu { + display: none !important; + } + + .page-sidebar-closed .page-sidebar-menu > li:hover > .sub-menu { + width: 200px; + position: absolute; + z-index: 2000; + left: 36px; + margin-top: 0; + top: 100%; + display: block !important; + } + + .page-sidebar-closed .page-sidebar-menu > li:hover > .sub-menu > li > .sub-menu, + .page-sidebar-closed .page-sidebar-menu > li:hover > .sub-menu > li > .sub-menu > li > .sub-menu { + width: 200px; + } + + /* 2rd level sub menu*/ + .page-sidebar-closed .page-sidebar-menu > li:hover > .sub-menu > li > a { + padding-left: 15px !important; + } + + /* 3rd level sub menu*/ + .page-sidebar-closed .page-sidebar-menu > li > ul.sub-menu > li > .sub-menu > li > a { + padding-left: 30px !important; + } + + /* 4rd level sub menu*/ + .page-sidebar-closed .page-sidebar-menu > li > ul.sub-menu > li > .sub-menu > li > .sub-menu > li > a { + padding-left: 45px !important; + } + + /* sidebar container */ + + .page-sidebar-closed .page-sidebar { + width: 35px; + } + + .page-sidebar-closed .page-content { + margin-left: 35px; + } + + /*** + Sidebar Reversed & Sidebar Closed + ***/ + + .page-sidebar-reversed.page-sidebar-closed .page-sidebar { + margin-left: -35px; + width: 35px; + } + + .page-sidebar-reversed.page-sidebar-closed .page-content { + margin-left: 0 !important; + margin-right: 35px !important; + } + + .page-sidebar-reversed.page-sidebar-closed .page-sidebar-menu > li:hover { + margin-left: -201px; + } + + .page-sidebar-reversed.page-sidebar-closed .page-sidebar-menu > li.sidebar-toggler-wrapper:hover, + .page-sidebar-reversed.page-sidebar-closed .page-sidebar-menu > li.sidebar-search-wrapper:hover { + margin-left: 0; + } + + .page-sidebar-reversed.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { + margin-left: -225px; + } + + .page-sidebar-reversed.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .submit { + margin: 11px 8px 9px 12px !important; + float: left !important; + } + + .page-sidebar-reversed.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { + margin: 12px 6px 9px 8px !important; + float: right !important; + } + + .page-sidebar-reversed.page-sidebar-closed .page-sidebar-menu > li:hover > .sub-menu { + left:auto; + right: 36px; + } + + .page-sidebar-reversed.page-sidebar-fixed.page-sidebar-closed .footer { + margin-right: 35px; + } + + /*** + Fixed Footer + ***/ + + .page-footer-fixed .footer { + position: fixed; + left: 0; + right: 0; + z-index: 10000; + bottom: 0; + } + + .page-footer-fixed .page-container { + margin-bottom: 20px !important; + } + + .page-footer-fixed.page-sidebar-fixed .footer { + margin-left: 0 !important; + } + +} + +/*** +Up To Medium Devices +***/ + +@media (max-width:991px) { + + /*** + Page header + ***/ + .header.navbar { + padding: 0 20px 0 20px; + position: relative; + clear: both; + } + + .page-header-fixed.page-header-fixed-mobile .navbar-fixed-top { + position: fixed; + } + + .header.navbar .navbar-toggle { + display: inline-block; + } + + .page-sidebar.navbar-collapse { + max-height: none; /* set some max height to have a scrollable menu on mobile devices */ + } + + .page-sidebar.navbar-collapse.collapse { + display: none !important; + } + + .page-sidebar.navbar-collapse.in { + overflow: hidden !important; + overflow-y: auto !important; + display: block !important; + } + + .page-full-width .page-sidebar-menu { + display: block; + } + + .page-sidebar.navbar-collapse.navbar-no-scroll { + max-height: none !important; + } + + .header.navbar .nav li.dropdown i { + display: inline-block; + position: relative; + top:1px; + right:0px; + } + + .header.navbar .navbar-nav { + display: block; + margin-bottom: 0px !important; + } + + .header.navbar .navbar-nav .open .dropdown-menu { + position: absolute; + } + + .header.navbar .navbar-nav { + display: inline-block; + margin: 0 10px 0 0; + } + + .header.navbar .navbar-nav > li { + float: left; + } + + .header.navbar .navbar-brand { + margin-left: 0px !important; + padding-left: 0px !important; + } + + .header.navbar .navbar-brand img { + margin-left: 4px !important; + } + + + /*** + Header Search Box + ***/ + + .header.navbar .search-form { + display: none; + } + + .page-sidebar .header.navbar-responsive-search { + display: block; + } + + /*** + Page container + ***/ + .page-container { + margin: 0 !important; + padding: 0 !important; + } + + .page-header-fixed.page-header-fixed-mobile .page-container { + margin-top: 42px !important; + } + + /*** + Page content + ***/ + .page-content { + margin: 0px !important; + padding: 20px 20px 20px 20px !important; + min-height: 280px; + } + + /*** + Page sidebar + ***/ + .page-sidebar { + border-top: 0 !important; + margin: 20px; + } + + .page-sidebar.in { + border-top: 0 !important; + margin: 20px; + position: relative; + z-index: 5; + } + + .header.navbar .sidebar-toggler, + .page-sidebar .sidebar-toggler { + display: none; + } + + .page-sidebar ul { + margin-top:0px; + width:100%; + } + + .page-sidebar .selected { + display: none !important; + } + + .page-sidebar .sidebar-search .input-box { + width: 220px; + } + + /*** + Styler panel + ***/ + .styler-panel { + top:55px; + right:20px; + } + + /*** + Boxed Layout + ***/ + .page-boxed .header.navbar > .container, + .page-boxed .footer > .container, + .page-boxed > .container { + max-width: none !important; + margin: 0 !important; + padding: 0 !important; + } + +} + +/*** +From Small Devices Up To Medium Devices +***/ + +@media (min-width: 768px) and (max-width: 991px) { + + /*** + Body + ***/ + body { + padding-top: 0px; + } + + /*** + Page sidebar + ***/ + .page-sidebar .btn-navbar.collapsed .arrow { + display: none; + } + + .page-sidebar .btn-navbar .arrow { + position: absolute; + right: 25px; + width: 0; + height: 0; + top:50px; + border-bottom: 15px solid #5f646b; + border-left: 15px solid transparent; + border-right: 15px solid transparent; + } + + /*** + Boxed Layout + ***/ + .page-boxed .header.navbar > .container, + .page-boxed > .container { + margin: auto !important; + } + + .page-boxed .header.navbar { + margin: auto !important; + padding: 0; + } + + .page-boxed .footer { + padding-left: 0; + padding-right: 0; + } + +} + +/*** +Extra Small Devices Only +***/ + +@media (max-width: 767px) { + + /*** + Page header + ***/ + + .header.navbar { + padding: 0 10px 0 10px; + } + + .header.navbar .top-nav .nav{ + margin-top: 0px; + margin-right: 5px; + } + + .header.navbar .nav > li > .dropdown-menu.notification:after, + .header.navbar .nav > li > .dropdown-menu.notification:before { + margin-right: 160px; + } + + .header.navbar .nav > li > .dropdown-menu.notification { + margin-right: -160px; + } + + .header.navbar .nav > li > .dropdown-menu.inbox:after, + .header.navbar .nav > li > .dropdown-menu.inbox:before { + margin-right: 110px; + } + + .header.navbar .nav > li > .dropdown-menu.inbox { + margin-right: -110px; + } + + .header.navbar .nav > li > .dropdown-menu.tasks:after, + .header.navbar .nav > li > .dropdown-menu.tasks:before { + margin-right: 60px; + } + + .header.navbar .nav > li > .dropdown-menu.tasks { + margin-right: -60px; + } + + /* Header logo */ + .header.navbar .navbar-brand { + margin-left: 0px !important; + width: 110px; + } + + /*** + Page content + ***/ + .page-content { + padding: 20px 10px 10px 10px !important; + overflow: hidden; + } + + /*** + Page title + ***/ + .page-title { + margin-bottom: 20px; + font-size: 18px; + } + + .page-title small { + font-size: 13px; + padding-top: 3px; + } + + /*** + Styler pagel + ***/ + .styler-panel { + top:58px; + right:12px; + } + + /*** + Page breadcrumb + ***/ + .breadcrumb { + padding-left: 10px; + padding-right: 10px; + } + + /*** + Portlet form action + ***/ + .portlet-body.form .form-actions{ + padding-left: 15px; + } + + + /*** + Form input validation states + ***/ + .input-icon .input-error, + .input-icon .input-warning, + .input-icon .input-success { + top:-27px; + float: right; + right:10px !important; + } + + /*** + Advance tables + ***/ + .table-advance tr td.highlight:first-child a { + margin-left: 8px; + } + + /*** + Footer + ***/ + .footer { + padding-left: 10px; + padding-right: 10px; + } + + .footer .go-top { + float: right; + display: block; + margin-right: 0px; + } + + /*** + Vertical inline menu + ***/ + .ver-inline-menu li.active:after { + display: none; + } + + /*** + Form controls + ***/ + .form-horizontal .form-actions { + padding-left: 180px; + } + + .portlet .form-horizontal .form-actions { + padding-left: 190px; + } +} + +/*** +The Most Extra Small Devices Landscape Mode Only +***/ + +@media (max-width: 580px) { + + .header.navbar .username { + display: none; + } + +} + +@media (max-width: 480px) { + + /*** + Header navbar + ***/ + .page-header-fixed.page-header-fixed-mobile .header.navbar { + height: 84px; + } + + .page-header-fixed.page-header-fixed-mobile .page-container { + margin-top: 84px !important; + } + + .header.navbar .navbar-nav { + display: block; + clear: both; + margin-top: 2px; + margin-right: 0; + } + + .header.navbar .navbar-nav > li.dropdown .dropdown-toggle { + margin-top:-1px; + padding-left: 9px; + padding-right: 9px; + } + + .header.navbar .navbar-nav > li.dropdown.language .dropdown-toggle, + .header.navbar .navbar-nav > li.dropdown.user .dropdown-toggle { + padding-left: 4px; + padding-right: 15px; + } + + .header.navbar .navbar-nav li.dropdown .dropdown-toggle .badge { + top: 8px; + } + + /*** + Page sidebar + ***/ + .page-sidebar, + .page-sidebar.in { + margin: 0 10px 10px 10px; + } + + .page-header-fixed.page-header-fixed-mobile .page-sidebar, + .page-header-fixed.page-header-fixed-mobile .page-sidebar.in { + margin-top: 10px; + } + + /*** + Page title + ***/ + .page-title small { + display: block; + clear: both; + } + + /*** + Forms + ***/ + .portlet .form-horizontal .form-actions { + padding-left: 10px; + } + + /*** + Dashboard date range panel + ***/ + .page-content .breadcrumb .dashboard-date-range { + padding-bottom: 8px; + } + + .page-content .breadcrumb .dashboard-date-range span { + display: none; + } + + .page-content .breadcrumb > .btn-group span { + display: none; + } + + .page-content .breadcrumb > .btn-group > .btn { + padding-left: 7px; + padding-right: 7px; + } + + /*** + Hidden phone + ***/ + .hidden-480 { + display: none !important; + } +} + +/*** +The Most Extra Small Devices Portrait Mode Only +***/ + +@media (max-width: 320px) { + + /*** + Hidden phone + ***/ + .hidden-320 { + display: none; + } + + .header.navbar .navbar-brand { + width: 100px; + } } \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/css/style.css b/openo-portal/portal-common/src/main/webapp/common/css/style.css index fc070b9d..2207665e 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/style.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/style.css @@ -1,4715 +1,4715 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -Colors -blue: #4b8df8 -light blue: #bfd5fa -red: #e02222 -yellow: #ffb848 -green: #35aa47 -purple: #852b99 -dark: #555555; -light grey: #fafafa; -***/ -/*fontIcon*/ -[class^="ict-"], [class*=" ict-"]{ - padding-right:3px; - display: inline-block; - width: 1.25em; - text-align: center; -} -.page-sidebar-menu [class^="ict-"], .page-sidebar-menu [class*=" ict-"]{ -padding-right:0; -} -/********************* - GENERAL RESET & SETUP -*********************/ - -/*** -Reset and overrides -***/ -body { - color: #333; - /*font-family: 'Open Sans', sans-serif; - font-size:13px; */ - font-family: "Microsoft yahei", Verdana, Arial, Helvetica, sans-serif !important; - padding: 0px !important; - margin: 0px !important; - direction: ltr; -} -.page-content-body{ -padding-left:15px; -padding-right:15px; -padding-top:10px; -} -/* -Internet Explorer 10 doesn't differentiate device width from viewport width, and thus doesn't -properly apply the media queries in Bootstrap's CSS. To address this, -you can optionally include the following CSS and JavaScript to work around this problem until Microsoft issues a fix. -*/ -@-webkit-viewport { - width: device-width; -} - -@-moz-viewport { - width: device-width; -} - -@-ms-viewport { - width: device-width; -} - -@-o-viewport { - width: device-width; -} - -@viewport { - width: device-width; -} - -/* Internet Explorer 10 doesn't differentiate device width from viewport width, -and thus doesn't properly apply the media queries in Bootstrap's CSS. To address this, following CSS code applied */ -@-ms-viewport { - width: auto !important; -} - -/*** -Custom Scrollbars -***/ - -::-webkit-scrollbar { - width: 12px; -} - -::-webkit-scrollbar-track { - background-color: #eaeaea; - border-left: 1px solid #cecece; -} - -::-webkit-scrollbar-thumb { - background-color: #cecece; -} - -::-webkit-scrollbar-thumb:hover { - background-color: #aaa; -} - -::-webkit-scrollbar-track { - border-radius: 0; - box-shadow: none; - border: 0; -} - -::-webkit-scrollbar-thumb { - border-radius: 0; - box-shadow: none; - border: 0; -} - -/*** -General typography -***/ -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - color: #444; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - font-family: Arial, sans-serif; - font-weight: 300 !important; -} - -h1.block, -h2.block, -h3.block, -h4.block, -h5.block, -h6.block { - padding-top: 10px; - padding-bottom: 10px; -} - -a { - text-shadow: none !important; - color: #5b9bd1; -} - -/*** -Fix link outlines after click -***/ -a,a:focus, a:hover, a:active { - outline: 0; -} - -/*** -General backgrounds. Can be applied to any block or panel -***/ - -.bg-blue { - background-image: none !important; - background-color: #4b8df8 !important; - border-color:#4b8df8 !important; - color: #fff !important; -} - -.bg-red { - background-image: none !important; - background-color: #e02222 !important; - border-color: #e02222 !important; - color: #fff !important; -} - -.bg-yellow { - background-image: none !important; - background-color: #ffb848 !important; - border-color: #ffb848 !important; - color: #fff !important; -} - -.bg-green { - background-image: none !important; - background-color: #35aa47 !important; - border-color: #35aa47 !important; - color: #fff !important; -} - -.bg-purple { - background-image: none !important; - background-color: #852b99 !important; - border-color: #852b99 !important; - color: #fff !important; -} - -.bg-dark { - background-image: none !important; - background-color: #555555 !important; - border-color: #555555 !important; - color: #fff !important; -} - -.bg-grey { - background-image: none !important; - background-color: #fafafa !important; - border-color: #fafafa !important; -} - -/*** -Font Awesome Icons -***/ - -[class^="fa-"], -[class*=" fa-"] { - display: inline-block; -/* margin-top: 1px;*/ - font-size: 14px; - *margin-right: .3em; - line-height: 14px; -} - -/*** -Make font awesome icons fixed width(latest version issue) -***/ - -li [class^="fa-"], -li [class*=" fa-"] { - display: inline-block; - width: 1.25em; - text-align: center; -} -li [class^="fa-"].icon-large, -li [class*=" fa-"].icon-large { - /* increased font size for icon-large */ - width: 1.5625em; -} - -.page-breadcrumb .fa-angle-right{ - display:inline-block; - margin-left:8px; - margin-right:8px; -} - -.page-breadcrumb i[class^="fa-"], [class*=" fa-"],.page-breadcrumb i[class^="ict-"], [class*=" ict-"]{ - display:none; -} - - - -.fa-lg, -.icon-lg { - font-size: 16px; -} - -.fa-2x { - font-size: 2em; -} -.fa-3x { - font-size: 3em; -} -.fa-4x { - font-size: 4em; -} -.fa-5x { - font-size: 5em; -} - -.icon-default { - color: #ccc; -} - -.icon-success { - color: #468847; -} - -.icon-info { - color: #27a9e3; -} - -.icon-warning { - color: #dbc056; -} - -.icon-danger { - color: #B94A48; -} - -/*** -Close icon used for modal dialog and other UI element close buttons -***/ -.close { - display: inline-block; - margin-top: 0px; - margin-right: 0px; - width: 9px; - height: 9px; - background-repeat: no-repeat !important; - text-indent: -10000px; - outline: none; - background-image: url("../image/remove-icon-small.png") !important; -} - -.about{ - height:345px; - width:528px; -} - -.aboutmain{ - background-image: url("../image/about/about-bg-light.png"); -} - -.aboutinfo{ - background-image: url("../image/about/about-bg-dark.png"); -} - -.about a{ - color: white; - - margin-left:15px; - text-decoration: none; -} - -.about a.about_close{ - float:right; - margin-right:20px; - font-size: 1.2em; -} - -.about div{ - padding-top:10px; - -} - -.about div.info{ - float: right; - margin-right: 15px; - margin-top: 130px; - color: white; - font-size: 13px; -} - -.about div.info div{ - margin-left:15px; -} - -.about div.info img{ - margin-right: 55px; -} - -.aboutDlg{ - width: 530px; - margin-left:150px; -} - -/*** -General HR -***/ - -hr { - margin: 20px 0; - border: 0; - border-top: 1px solid #E0DFDF; - border-bottom: 1px solid #FEFEFE; -} - -/*** -Tools -***/ - -.display-none, -.display-hide { - display: none; -} - -.no-space { - margin: 0px !important; - padding: 0px !important; -} - -.no-margin { - margin:0; -} - -.no-border { - border:0 !important; -} - -.margin-bottom-5 { - margin-bottom: 5px; -} - -.margin-bottom-10 { - margin-bottom: 10px !important; -} - -.margin-top-10 { - margin-top: 10px !important; -} - -.margin-bottom-15 { - margin-bottom: 15px !important; -} - -.margin-bottom-20 { - margin-bottom: 20px !important; -} - -.margin-top-20 { - margin-top: 20px !important; -} - -.margin-bottom-25 { - margin-bottom: 25px !important; -} - -.margin-right-10 { - margin-right: 10px !important; -} - -.bold { - font-weight:600 !important; -} - -.fix-margin { - margin-left: 0px !important -} - -.border { - border: 1px solid red; -} - -.inline { - display: inline; -} - -.text-align-reverse { - text-align: right; -} - -/*** -ie8 & ie9 modes -***/ - -.visible-ie8 { - display: none; -} - -.ie8 .visible-ie8 { - display: inherit !important; -} - -.visible-ie9 { - display: none; -} - -.ie9 .visible-ie9 { - display: inherit !important; -} - -.hidden-ie8 { - display: inherit; -} - -.ie8 .hidden-ie8 { - display: none !important; -} - -.hidden-ie9 { - display: inherit; -} - -.ie9 .hidden-ie9 { - display: none !important; -} - -/******************** - GENERAL LAYOUT -*********************/ - -/*** -Header and header elements. -***/ - -.header.navbar { - width: 100%; - padding: 0 20px 0 20px; - margin: 0; - border: 0px; - padding: 0px; - box-shadow: none; - height: 42px; - min-height: 42px; -} - -.header.navbar.navbar-fixed-top { - z-index: 9995 !important; -} - -.header.navbar .navbar-brand { - display: inline-block; - margin-top: -1px; - margin-right: 0; - padding-left: 0; - padding-right: 0; - width: 225px; - height: 42px; -} - -.header.navbar .navbar-brand img { - margin-left: 20px; -} - -.header.navbar .navbar-brand.text-logo { - padding-left: 20px; - padding-top: 12px; -} - -.header.navbar .navbar-toggle { - margin: 8px 6px 4px 6px; - padding: 0; - padding-top:2px; - padding-bottom: 6px; - background-image: none; - filter:none; - box-shadow: none; - color: #fff; - border: 0; -} - -.header.navbar .navbar-toggle:hover { - text-decoration: none; - background: none; -} - -.header.navbar .navbar-nav { - margin-right: 20px; - display: block; -} - -.header.navbar .navbar-nav > li { - margin: 0px; - padding: 0px; -} - -.header.navbar .navbar-nav > li.dropdown, -.header.navbar .navbar-nav > li.dropdown > a { - padding-left: 4px; - padding-right: 4px; -} - -.header.navbar .navbar-nav > li.dropdown > a:last-child { - padding-right: 0; -} - -.header.navbar .navbar-nav > li.dropdown:last-child { - padding-right: 2px; -} - -.header.navbar .navbar-nav > li.dropdown .dropdown-toggle { - margin: 0px; - padding: 15px 10px 7px 10px; -} - -.header.navbar .navbar-nav > li.dropdown .dropdown-toggle > i { - font-size: 18px; -} - -.header.navbar .navbar-nav > li.dropdown .dropdown-menu > li > a > i { - font-size: 14px; -} - -.header.navbar .navbar-nav > li.dropdown.user .dropdown-toggle { - padding-top: 9px; - *padding: 9px 18px 6px 6px; -} - -.header.navbar .navbar-nav > li.dropdown.user .dropdown-toggle:hover { - text-decoration: none; -} - -.header.navbar .navbar-nav > li.dropdown.user .dropdown-toggle .username { - color: #ddd; -} - -.header.navbar .navbar-nav > li.dropdown.user .dropdown-toggle i { - display: inline-block; - margin-top: 5px; - margin: 0; - font-size: 16px; -} - -.header.navbar .navbar-nav > li.dropdown.user .dropdown-menu i { - width: 15px; - display: inline-block; -} - -.header.navbar .navbar-nav > li.dropdown .dropdown-toggle .badge { - position: absolute; - top: 8px; - right: 20px; -} - - -.header.navbar .navbar-nav > li.dropdown.system .dropdown-toggle { - padding: 13px 0px 6px 6px; -} - -.header.navbar .navbar-nav > li.dropdown.system .dropdown-toggle:hover { - text-decoration: none; -} - -.header.navbar .navbar-nav > li.dropdown.system .dropdown-toggle .sysname { - color: #ddd; -} - -.header.navbar .navbar-nav > li.dropdown.system .dropdown-toggle i { - display: inline-block; - margin-top: 5px; - margin: 0; - font-size: 16px; -} - -.header.navbar .navbar-nav > li.dropdown.system .dropdown-menu i { - width: 15px; - display: inline-block; -} - -/*** -Header Search -***/ -.header.navbar .search-form { - float: left; - display: inline-block; - padding: 0; - height: 41px; - margin:0; -} - -.header.navbar .search-form .form-control{ - margin-top: 8px; - border: 0; - padding-top: 1px; - padding-right: 27px; -} - -.header.navbar .search-form .submit { - position: relative; - display: block; - float: right; - margin-top: -21px; - margin-right: 8px; - width: 13px; - height: 15px; - box-shadow: none; - border: 0px; - padding: 0px; - background-color: none; - background-repeat: no-repeat !important; - outline: none !important; - opacity: 0.8; - filter: alpha(opacity=80); -} - -.header.navbar .search-form .submit:hover { - opacity: 1; - filter: alpha(opacity=100); -} - -/*** -Language Bar -***/ - -.header.navbar .navbar-nav > li.dropdown.language { - padding-left: 0; - padding-right: 0; - margin: 0; -} - -.header.navbar .navbar-nav > li.dropdown.language > a { - color: #ddd; - font-size: 13px; - padding: 11px 1px 11px 5px; -} - -.header.navbar .navbar-nav > li.dropdown.language > a > img { - margin-bottom: 2px; -} - -.header.navbar .navbar-nav > li.dropdown.language > a > i { - font-size: 16px; -} - -.header.navbar .navbar-nav > li.dropdown.language > .dropdown-menu > li > a > img { - margin-bottom: 2px; -} - -.header.navbar .navbar-nav .dropdown-menu { - margin-top: 3px; -} - -/*** -Page container -***/ - -.page-container { - margin: 0px; - padding: 0px; - position: relative; -} - -.page-container:before, -.page-container:after { - display: table; - content: " "; -} - -.page-container:after { - clear: both; -} - -.page-header-fixed .page-container { - margin-top: 42px; -} - -/*** IE 8 Fixes ***/ -/*** -Page sidebar -***/ - -.ie8 .page-sidebar { - width: 225px; - float: left; - position: relative; - margin-right: -100%; -} - -/*** -Page content -***/ - -.ie8 .page-content-wrapper { - float: left; - width: 100%; - } - -.ie8 .page-content { - margin-left: 225px; - margin-top: 0px; - min-height: 540px; - padding: 20px 20px 20px 20px; - } -/*** IE 8 Fixes ***/ - -/*** -Page sidebar -***/ - -.page-sidebar.navbar-collapse { - padding: 0; -} - -.page-sidebar-menu { - list-style: none; - margin: 0; - padding: 0; - margin: 0; - padding: 0; -} - -.page-sidebar-menu > li { - display: block; - margin: 0; - padding: 0; - border: 0px; -} - -.page-sidebar-menu > li.start > a { - border-top-color: transparent !important; -} - -.page-sidebar-menu > li:last-child > a, -.page-sidebar-menu > li.last > a { - border-bottom-color: transparent !important; -} - -.page-sidebar-menu > li > a { - display: block; - position: relative; - margin: 0; - border: 0px; - padding: 10px 15px; - text-decoration: none; - font-size: 14px; - font-weight: 300; -} - -.page-sidebar-fixed .page-sidebar-menu > li > a { - -webkit-transition: all 0.2s ease; - -moz-transition: all 0.2s ease; - -o-transition: all 0.2s ease; - transition: all 0.2s ease; -} - -.page-sidebar-reversed.page-sidebar-fixed .page-sidebar-menu > li > a{ - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; -} - -.page-sidebar-menu > li > a i { - font-size: 16px; - margin-right: 5px; - text-shadow:none; -} - -.page-sidebar-menu > li.break { - margin-bottom: 20px; -} - -.page-sidebar-menu > li.open > a { - font-size: 14px; -} - -.page-sidebar-menu > li.active > a { - border: none; - text-shadow:none; - font-size: 14px; -} - -.page-sidebar-menu > li.active > a .selected { - display: block; - width: 8px; - height: 25px; - background-image: url("../image/sidebar-menu-arrow.png"); - float: right; - position: absolute; - right:0px; - top:8px; -} - -.page-sidebar-reversed .page-sidebar-menu > li.active > a .selected { - background-image: url("../image/sidebar-menu-arrow-reverse.png"); - right: auto; - left:0; -} - -.page-sidebar ul > li > a > .arrow:before { - float: right; - margin-top: 0px; - margin-right: 5px; - display: inline; - font-size: 16px; - font-family: FontAwesome; - height: auto; - content: "\f104"; - font-weight: 300; - text-shadow:none; -} - -.page-sidebar-menu > li > a > .arrow.open:before { - float: right; - margin-top: 0px; - margin-right: 3px; - display: inline; - font-family: FontAwesome; - height: auto; - font-size: 16px; - content: "\f107"; - font-weight: 300; - text-shadow:none; -} - -/* bagin: sidebar menu badges */ -.page-sidebar-menu li > a > .badge { - float: right; - margin-top: 1px; - margin-right: 13px; -} - -/* end: sidebar menu badges */ - -.page-sidebar-menu .sub-menu { - padding: 0; -} - -.page-sidebar-menu > li > ul.sub-menu { - display: none; - list-style: none; - clear: both; - margin: 8px 0px 8px 0px; -} - -.page-sidebar-menu > li.active > ul.sub-menu { - display: block; -} - -.page-sidebar-menu > li > ul.sub-menu > li { - background: none; - margin: 0px; - padding: 0px; - margin-top: 1px !important; -} - -.page-sidebar-menu > li > ul.sub-menu > li > a { - display: block; - margin: 0px 0px 0px 0px; - padding: 5px 0px; - padding-left: 44px !important; - text-decoration: none; - font-size: 14px; - font-weight: 300; - background: none; -} - -/* 3rd level sub menu */ -.page-sidebar-menu > li > ul.sub-menu > li ul.sub-menu { - display: none; - list-style: none; - clear: both; - margin: 0px 0px 0px 0px; -} - -.page-sidebar-menu > li > ul.sub-menu li > a > .arrow:before { - float: right; - margin-top: 1px; - margin-right: 20px; - display: inline; - font-size: 16px; - font-family: FontAwesome; - height: auto; - content: "\f104"; - font-weight: 300; - text-shadow:none; -} - -.page-sidebar-menu > li > ul.sub-menu li > a > .arrow.open:before { - float: right; - margin-top: 1px; - margin-right: 18px; - display: inline; - font-family: FontAwesome; - height: auto; - font-size: 16px; - content: "\f107"; - font-weight: 300; - text-shadow:none; -} - -.page-sidebar-menu > li.active > ul.sub-menu > li.active ul.sub-menu { - display: block; -} - -.page-sidebar-menu > li > ul.sub-menu > li ul.sub-menu li { - background: none; - margin: 0px; - padding: 0px; - margin-top: 1px !important; -} - -.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a { - display: block; - margin: 0px 0px 0px 0px; - padding: 5px 0px; - text-decoration: none; - font-size: 14px; - font-weight: 300; - background: none; -} - -.page-sidebar-menu > li > ul.sub-menu > li > ul.sub-menu > li > a { - padding-left: 60px; -} - -.page-sidebar-menu > li > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a { - padding-left: 80px; -} - -.page-sidebar-menu > li.active > ul.sub-menu > li.active ul.sub-menu > li.active ul.sub-menu { - display: block; -} - - -.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a > i { - font-size: 13px; -} - -/*** -Sidebar Search -***/ - -.page-sidebar .sidebar-search { - padding:0; - margin: 0; -} - -.page-sidebar .header.navbar-responsive-search { - display: none; -} - -.page-sidebar .sidebar-search .form-container { - margin: 15px 20px 15px 20px; - height: 35px; - padding-top: 7px; -} - -.page-sidebar .sidebar-search .form-container .submit { - display: block; - float: right; - margin-top: 3px; - width: 13px; - height: 15px; - background-repeat: no-repeat; - box-shadow: none; - border: 0px; - padding: 0px; - outline: none !important; -} - -.page-sidebar .sidebar-search .form-container input[type="text"] { - margin: 0px; - width: 165px; - border: 0px; - padding: 0 !important; - font-size: 14px !important; - box-shadow: none !important; - font-size: 14px; - font-weight: normal; -} - -.page-sidebar .sidebar-search .form-container input[type="text"]:focus { - outline: none !important; -} - -/*** -Sidebar toggler(show/hide) -***/ -.sidebar-toggler { - cursor: pointer; - opacity: 0.5; - filter: alpha(opacity=50); - width: 29px; - height: 29px; - background-repeat: no-repeat; -} - -.sidebar-toggler:hover { - filter: alpha(opacity=100); - opacity: 1; -} - -.page-sidebar .sidebar-toggler { - margin-top: 15px; - /* margin-left: 175px;*/ -} - -.header.navbar .sidebar-toggler { - float: left; - display: inline-block; - margin-top: 6px; - margin-left: -42px; -} - -/*** -Page content -***/ -.page-content { - margin-top: 0px; - padding: 0px; - background-color: #fff; -} - -.ie8 .page-content { - padding: 20px; - margin-left: 225px; - margin-top: 0px; - min-height: 760px; -} - -.ie8 .page-sidebar-fixed .page-content { - min-height: 600px; -} - -.ie8 .page-content.no-min-height { - min-height: auto; -} - -.page-full-width .page-content { - margin-left: 0px !important; -} - -.page-full-width .page-sidebar-menu { - display: none; -} - -/*** -Page title -***/ -.page-title { - padding: 0px; - font-size: 30px; - letter-spacing: -1px; - display: block; - color: #666; - margin: 0px 0px 15px 0px; - font-weight: 300; - font-family: 'Open Sans', sans-serif; -} - -.page-title small { - font-size: 14px; - letter-spacing: 0px; - font-weight: 300; - color: #888; -} - -/*** -Page breadcrumb -***/ - -.ie8 .row .page-breadcrumb.breadcrumb > li { - margin-right: 1px; -} - -.page-content .page-breadcrumb.breadcrumb { - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; - box-shadow: none; - padding-right: 30px; - padding-left: 8px; - margin-top: 15px; - margin-bottom: 25px; - border:0px !important; - background-color: #fff; -} - -.page-content .page-breadcrumb.breadcrumb > li > a, -.page-content .page-breadcrumb.breadcrumb > li > i, -.page-content .page-breadcrumb.breadcrumb > li > span { - color: #333; - font-size: 14px; - text-shadow:none; -} - -.page-content .page-breadcrumb.breadcrumb > li > i { - color: #666; -} - -.page-content .page-breadcrumb.breadcrumb > li+li:before { - display: none; -} - -/* Dashboard breadcrumb Dropdown */ -.page-content .page-breadcrumb.breadcrumb .more-botton-zone .btn-group { - right: 15px; - position: absolute; - margin-top: -8px; -} -.page-content .page-breadcrumb.breadcrumb .more-botton-zone { - position:inherit; -} - -.page-content .page-breadcrumb.breadcrumb .more-botton-zone .btn-group .btn { - padding-top: 8px; - padding-bottom: 8px; - font-size: 12px; -} - -/* Dashboard date range panel */ -.page-content .page-breadcrumb.breadcrumb .dashboard-date-range { - position: relative; - top: -8px; - margin-right: -30px; - display: none; - padding: 9px 9px 8px 9px; - cursor: pointer; - color: #fff; - background-color: #e02222; -} - -/* hack for chrome and safari */ -@media all and (-webkit-min-device-pixel-ratio:0) { - .page-content .page-breadcrumb.breadcrumb .dashboard-date-range { - padding: 9px; - } -} - -.page-content .page-breadcrumb.breadcrumb .dashboard-date-range > span { - font-size: 12px; - font-weight: 300; - color: #fff; - text-transform: uppercase; -} - -.page-content .page-breadcrumb.breadcrumb .dashboard-date-range > .fa-calendar { - text-transform: none; - color: #fff; - margin-top: 0px; - font-size: 14px; -} - -.page-content .page-breadcrumb.breadcrumb .dashboard-date-range > .fa-angle-down { - color:#fff; - font-size: 16px; -} - -/*** -Footer -***/ - -.footer { - padding: 8px 20px 5px 20px; - font-size: 12px; -} - -.footer:after, -.footer:before { - content: ""; - display: table; - line-height: 0; -} - -.footer:after { - clear: both; -} - -.footer .footer-inner { - float: left; - display: inline-block; -} - -.footer .footer-tools { - float: right; - display: inline-block; -} - -.footer .footer-tools .go-top { - display: block; - text-decoration: none; - cursor: pointer; - margin-top: -2px; - margin-right: 0px; - margin-bottom: 0px; - font-size: 16px; - padding: 0px 6px 0px 6px; -} - -.footer .footer-tools .go-top i { - font-size: 22px; - margin-bottom: 5px; -} - - -/******************** - GENERAL UI ELEMENTS -*********************/ - -/*** -Icon stuff -***/ -i.icon, a.icon { - color: #999; - margin-right: 5px; - font-weight: normal; - font-size: 13px; -} - -i.icon-black { - color: #000 !important; -} - -a.icon:hover { - text-decoration: none; - -webkit-transition: all 0.1s ease-in-out; - -moz-transition: all 0.1s ease-in-out; - -o-transition: all 0.1s ease-in-out; - -ms-transition: all 0.1s ease-in-out; - transition: all 0.1s ease-in-out; - opacity: .4; - filter:alpha(opacity=40); -} - -a.icon.huge i{ - font-size: 16px !important; -} - -i.big { - font-size: 20px; -} - -i.warning { - color: #d12610; -} - -i.critical { - color: #37b7f3; -} - -i.normal { - color: #52e136; -} - -/*** -Custom wells -***/ -.well { - background-color: #fafafa; - border: 1px solid #eee; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; - -webkit-box-shadow: none !important; - -moz-box-shadow: none !important; - box-shadow: none !important; -} - -.well.mini { - padding: 7px !important; -} - -/*** -Form stuff -***/ - - -/*** -Bordered form layout -***/ - -/*** -Input icons -***/ - -/* input with right aligned and colored icons */ - -/* input with left aligned icons */ -.input-icon { - position: relative; -} - - -.input-icon input { - padding-left: 33px !important; -} - -.input-icon i { - color: #ccc; - display: block; - position: absolute; - margin: 11px 2px 4px 10px; - width: 16px; - height: 16px; - font-size: 16px; - text-align: center; -} - -.input-icon.right input { - padding-left: 12px !important; - padding-right: 33px !important; -} - -.input-icon.right i { - right: 8px; - float: right; -} - -.has-success .input-icon > i { - color: #468847; -} - -.has-warning .input-icon > i { - color: #c09853; -} - -.has-error .input-icon > i { - color: #b94a48; -} - -/*** -Portlets -***/ -.portlet { - clear: both; - margin-top: 0px; - margin-bottom: 25px; - padding: 0px; -} - -.portlet > .portlet-title { - margin-bottom: 15px; - border-bottom: 1px solid #eee; -} - -.portlet > .portlet-title:after, -.portlet > .portlet-title:before { - content: ""; - display: table; - line-height: 0; -} - -.portlet > .portlet-title:after { - clear: both; -} - -.portlet > .portlet-title > .caption { - float: left; - display: inline-block; - font-size: 18px; - line-height: 18px; - font-weight: 400; - margin: 0; - padding: 0; - margin-bottom: 8px; -} - -.portlet > .portlet-title > .caption > i { - float: left; - margin-top: 4px; - display: inline-block !important; - font-size: 13px; - margin-right: 5px; - color: #666; -} - -.portlet.blue > .portlet-title > .caption, -.portlet.green > .portlet-title > .caption, -.portlet.yellow > .portlet-title > .caption, -.portlet.red > .portlet-title > .caption, -.portlet.purple > .portlet-title > .caption, -.portlet.grey > .portlet-title > .caption { - color: #fff; -} - -.portlet.box.blue > .portlet-title > .caption > i, -.portlet.box.green > .portlet-title > .caption > i, -.portlet.box.grey > .portlet-title > .caption > i, -.portlet.box.yellow > .portlet-title > .caption > i, -.portlet.box.red > .portlet-title > .caption > i, -.portlet.box.purple > .portlet-title > .caption > i, -.portlet.box.light-grey > .portlet-title > .caption > i{ - color: #fff; -} - -.sortable .portlet > .portlet-title { - cursor: move; -} - -.portlet > .portlet-title > .tools, -.portlet > .portlet-title > .actions - { - display: inline-block; - padding: 0; - margin: 0; - margin-top: 6px; - float: right; -} - -.portlet > .portlet-title > .tools > a { - display: inline-block; - height: 16px; - margin-left:5px; -} - -.portlet > .portlet-title > .actions > .dropdown-menu i { - color: #000 !important; -} - -.portlet > .portlet-title > .tools > a.remove { - margin-bottom: 2px; - background-image:url(../image/portlet-remove-icon.png); - background-repeat: no-repeat; - width: 11px; -} - -.portlet > .portlet-title > .tools > a.config { - margin-bottom: 2px; - background-image:url(../image/portlet-config-icon.png); - background-repeat: no-repeat; - width: 12px; -} - -.portlet > .portlet-title > .tools > a.reload { - margin-bottom: 2px; - background-image:url(../image/portlet-reload-icon.png); - width: 13px; -} - -.portlet > .portlet-title > .tools > a.expand { - margin-bottom: 2px; - background-image:url(../image/portlet-expand-icon.png); - width: 14px; -} - -.portlet > .portlet-title > .tools > a.collapse { - margin-bottom: 2px; - background-image:url(../image/portlet-collapse-icon.png); - width: 14px; -} - -.portlet > .portlet-title > .tools > a:hover { - text-decoration: none; - -webkit-transition: all 0.1s ease-in-out; - -moz-transition: all 0.1s ease-in-out; - -o-transition: all 0.1s ease-in-out; - -ms-transition: all 0.1s ease-in-out; - transition: all 0.1s ease-in-out; - opacity:.6; - filter:'alpha(opacity=60)'; -} - -.portlet > .portlet-title > .actions > .btn-group { - margin-top: -13px; -} - -.portlet > .portlet-title > .actions > .btn { - padding: 4px 10px; - margin-top: -14px; -} - -.portlet > .portlet-title > .actions > .btn-group > .btn { - padding: 4px 10px; - margin-top: -1px; -} - -.portlet > .portlet-title > .actions > .btn.btn-sm { - padding: 3px 8px; - margin-top: -13px; -} - -.portlet > .portlet-title > .actions > .btn-group > .btn-sm { - padding: 3px 8px; - margin-top: -1px; -} - -.portlet > .portlet-title > .pagination.pagination-sm { - float: right !important; - display: inline-block !important; - margin: 0px; - margin-top: -4px; -} - -@media (max-width: 767px) { - .portlet > .portlet-title > .actions.btn-set > .btn-group, - .portlet > .portlet-title > .actions.btn-set > .btn { - margin-top: 0px; - margin-bottom: 5px; - } -} - -.portlet > .portlet-body { - clear: both; - padding: 0; -} - -.portlet > .portlet-empty { - min-height: 125px; -} - -.portlet > .portlet-body.light-blue, .portlet.light-blue { - background-color: #bfd5fa !important; -} - -.portlet > .portlet-body.blue, .portlet.blue { - background-color: #4b8df8 !important; -} - -.portlet > .portlet-body.red, .portlet.red { - background-color: #e02222 !important; -} - -.portlet > .portlet-body.yellow, .portlet.yellow { - background-color: #ffb848 !important; -} - -.portlet > .portlet-body.green, .portlet.green { - background-color: #35aa47 !important; -} - -.portlet > .portlet-body.purple, .portlet.purple { - background-color: #852b99 !important; -} - -.portlet > .portlet-body.light-grey, .portlet.light-grey { - background-color: #fafafa !important; -} - -.portlet > .portlet-body.grey, .portlet.grey { - background-color: #555555 !important; -} - -/* draggable girds */ - -.ui-sortable-placeholder { - border: 1px dotted black; - visibility: visible !important; - height: 100% !important; -} - -.ui-sortable-placeholder * { - visibility: hidden; -} - -.sortable-box-placeholder { - background-color: #f5f5f5; - border: 1px dashed #DDDDDD; - display: block; - /* float: left;*/ - margin-top: 0px !important; - margin-bottom: 24px !important; -} - -.sortable-box-placeholder * { - visibility:hidden; -} - -/*** -Solid colored portlet -***/ -.portlet.solid { - padding: 10px; -} - -.portlet.solid > .portlet-title > .tools { - margin-top: 2px; - border: 0px; -} - -.portlet.solid > .portlet-title { - margin-bottom: 5px; - border: 0px; -} - -.portlet.solid.bordered > .portlet-title { - margin-bottom: 15px; -} - -.portlet.solid.red > .portlet-title, -.portlet.solid.red > .portlet-title > .caption > i, -.portlet.solid.red > .portlet-body, - -.portlet.solid.green > .portlet-title, -.portlet.solid.green > .portlet-title > .caption > i, -.portlet.solid.green > .portlet-body, - -.portlet.solid.yellow > .portlet-title, -.portlet.solid.yellow > .portlet-title > .caption > i, -.portlet.solid.yellow > .portlet-body, - -.portlet.solid.grey > .portlet-title, -.portlet.solid.grey > .portlet-title > .caption > i, -.portlet.solid.grey > .portlet-body, - -.portlet.solid.purple > .portlet-title, -.portlet.solid.purple > .portlet-title > .caption > i, -.portlet.solid.purple > .portlet-body, - -.portlet.solid.blue > .portlet-title, -.portlet.solid.blue > .portlet-title > .caption > i, -.portlet.solid.blue > .portlet-body { - border: 0; - color: #fff; -} - -.portlet.bordered { - border-left: 2px solid #ddd; -} - -/*** -Box portlet -***/ - -.portlet.box { - padding:0px !important -} - -.portlet.box > .portlet-title { - padding:8px 10px 2px 10px; - border-bottom: 1px solid #eee; - color: #fff !important; -} - -.portlet.box > .portlet-title > .tools { - margin-top: 3px; -} - -.portlet.box > .portlet-title > .tools > a.remove, -.portlet.solid > .portlet-title > .tools > a.remove { - background-image:url(../image/portlet-remove-icon-white.png); -} - -.portlet.box > .portlet-title > .tools > a.config, -.portlet.solid > .portlet-title > .tools > a.config { - background-image:url(../image/portlet-config-icon-white.png); -} - -.portlet.box > .portlet-title > .tools > a.reload, -.portlet.solid > .portlet-title > .tools > a.reload { - background-image:url(../image/portlet-reload-icon-white.png); -} - -.portlet.box > .portlet-title > .tools > a.expand, -.portlet.solid > .portlet-title > .tools > a.expand { - background-image:url(../image/portlet-expand-icon-white.png); -} - -.portlet.box > .portlet-title > .tools > a.collapse, -.portlet.solid > .portlet-title > .tools > a.collapse { - background-image:url(../image/portlet-collapse-icon-white.png); -} - -/* portlet buttons */ -.portlet.box > .portlet-body { - background-color: #fff; - padding: 10px; -} - -.portlet.box > .portlet-title { - margin-bottom: 0px; -} - -.portlet.box.blue > .portlet-title { - background-color: #4b8df8; -} - -.portlet.box.blue { - border: 1px solid #b4cef8; - border-top: 0; -} - -.portlet.box.red > .portlet-title { - background-color: #e02222; -} - -.portlet.box.red { - border: 1px solid #ef8476; - border-top: 0; -} - -.portlet.box.yellow > .portlet-title { - background-color: #ffb848; -} - -.portlet.box.yellow { - border: 1px solid #fccb7e; - border-top: 0; -} - -.portlet.box.green > .portlet-title { - background-color: #35aa47; -} - -.portlet.box.green { - border: 1px solid #77e588; - border-top: 0; -} - -.portlet.box.purple > .portlet-title { - background-color: #852b99; -} - -.portlet.box.purple { - border: 1px solid #af5cc1; - border-top: 0; -} - -.portlet.box.grey > .portlet-title { - background-color: #555555; -} - -.portlet.box.grey { - border: 1px solid #9d9c9c; - border-top: 0; -} - -.portlet.box.light-grey > .portlet-title { - background-color: #aaa; -} - -.portlet.box.light-grey { - border: 1px solid #bbb; - border-top: 0; -} - -/*** -Charts and statistics -***/ -.chart, .pie, .bars { - overflow: hidden; - height: 300px; -} - -/*** -Statistic lists -***/ -.item-list.table .percent { - width: 30px; - float: right; - margin-right: 10px; - margin-top: 3px; -} - -/*** -Chart tooltips -***/ -.chart-tooltip { - clear: both; - z-index: 100; - background-color: #736e6e !important; - padding: 5px !important; - color: #fff; -} - -.chart-tooltip .label { - clear: both; - display: block; - margin-bottom: 2px; -} - -/*** -Mini chart containers -***/ -.bar-chart { - display: none -} - -.line-chart { - display: none -} - -/*** -Custom icon buttons -***/ -.icon-btn { - height: 60px; - min-width: 80px; - margin: 5px 5px 0 0; - border: 1px solid #ddd; - padding: 12px 0px 0px 0px; - background-color: #fafafa !important; - background-image: none !important; - filter:none !important; - -webkit-box-shadow: none !important; - -moz-box-shadow: none !important; - box-shadow: none !important; - display:inline-block !important; - color: #646464 !important; - text-shadow: none !important; - text-align: center; - cursor: pointer; - position: relative; - -webkit-transition: all 0.3s ease !important; - -moz-transition: all 0.3s ease !important; - -ms-transition: all 0.3s ease !important; - -o-transition: all 0.3s ease !important; - transition: all 0.3s ease !important; -} - -.icon-btn i { - font-size: 18px; -} - -.ie8 .icon-btn:hover { - filter: none !important; -} - -.icon-btn:hover { - text-decoration: none !important; - border-color: #999 !important; - color: #444 !important; - text-shadow: 0 1px 0px rgba(255, 255, 255, 1) !important; - -webkit-transition: all 0.3s ease !important; - -moz-transition: all 0.3s ease !important; - -ms-transition: all 0.3s ease !important; - -o-transition: all 0.3s ease !important; - transition: all 0.3s ease !important; - -webkit-box-shadow: none !important; - -moz-box-shadow: none !important; - box-shadow: none !important; -} - -.icon-btn:hover .badge { - -webkit-transition: all 0.3s ease !important; - -moz-transition: all 0.3s ease !important; - -ms-transition: all 0.3s ease !important; - -o-transition: all 0.3s ease !important; - transition: all 0.3s ease !important; - -webkit-box-shadow: none !important; - -moz-box-shadow: none !important; - box-shadow: none !important; -} - -.icon-btn div { - font-family: 'Open Sans', sans-serif; - margin-top: 5px; - margin-bottom: 20px; - color: #000; - font-size: 12px; - font-weight: 300; -} - -.icon-btn .badge { - position: absolute; - font-family: 'Open Sans', sans-serif; - font-size: 11px !important; - font-weight: 300; - top: -5px; - right: -5px; - padding: 3px 6px 3px 6px; - color: white !important; - text-shadow: none; - border-width: 0; - border-style: solid; - -webkit-border-radius: 12px !important; - -moz-border-radius: 12px !important; - border-radius: 12px !important; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} - -/* extended dropdowns */ -.dropdown-menu.extended { - min-width: 160px !important; - max-width: 300px !important; - width: 233px !important; - background-color: #ffffff !important; -} - -.dropdown-menu.extended:before, -.dropdown-menu.extended:after { - border-bottom-color: #ddd !important; -} - -.dropdown-menu.extended li a{ - display: block; - padding: 5px 10px !important; - clear: both; - font-weight: normal; - line-height: 20px; - white-space: normal !important; -} - -.dropdown-menu.extended li i{ - margin-right: 3px; -} - -.dropdown-menu.extended li a{ - font-size: 13px; - padding: 10px !important; - background-color: #ffffff; -} - -.dropdown-menu.extended li a:hover { - background-image: none; - background-color: #f5f5f5; - color: #000; - filter:none; -} - -.dropdown-menu.extended li p{ - padding: 10px; - background-color: #eee; - margin: 0px; - font-size: 14px; - font-weight: 300; - color: #000; -} - -.dropdown-menu.extended li a{ - padding: 7px 0 5px 0px; - list-style: none; - border-bottom: 1px solid #f4f4f4 !important; - font-size: 12px; - text-shadow: none; -} - -.dropdown-menu.extended li:first-child a { - border-top: none; - border-bottom: 1px solid #f4f4f4 !important; -} - -.dropdown-menu.extended li:last-child a { - border-top: 1px solid white !important; - border-bottom: 1px solid #f4f4f4 !important; -} - -.dropdown-menu.extended li.external > a { - font-size: 13px; - font-weight: 400; -} - -.dropdown-menu.extended li.external > a > i{ - margin-top: 3px; - float: right; -} - -/* header notifications dropdowns */ -.dropdown-menu .dropdown-menu-list.scroller { - padding-right: 0 !important; - padding-left: 0; - list-style: none; -} - -.dropdown-menu.notification li > a .time { - font-size: 12px; - font-weight: 600; - text-align: right; - font-style: italic; -} - -/* header inbox dropdowns */ -.dropdown-menu.inbox li > a .photo { - float: left; - padding-right: 6px; -} - -.dropdown-menu.inbox li > a .photo > img { - height: 40px; - width: 40px; -} - -.dropdown-menu.inbox li > a .subject { - display: block; -} - -.dropdown-menu.inbox li > a .subject .from { - font-size: 14px; - font-weight: 400; - color: #02689b; -} - -.dropdown-menu.inbox li > a .subject .time { - font-size: 12px; - font-weight: 600; - font-style: italic; - position: relative; - float: right; -} - -.dropdown-menu.inbox li > a .message { - display: block !important; - font-size: 12px; -} - -/* header tasks */ -.dropdown-menu.tasks .task { - margin-bottom: 5px; -} - -.dropdown-menu.tasks .task .desc { - font-size: 13px; - font-weight: 300; -} - -.dropdown-menu.tasks .task .percent { - font-size: 14px; - font-weight: 600; - font-family: 'Open Sans', sans-serif; - float: right; - display: inline-block; -} - -.dropdown-menu.tasks .progress { - display: block; - height: 11px; - margin: 0px; -} - -/*** -General list for item with image -***/ -.item-list li .img { - height: 50px; - width: 50px; - float: left; - margin-top: 3px; - margin-right: 5px; -} - -.item-list { - margin: 0px; - list-style: none; -} - -.item-list li { - padding: 7px 0 5px 0px; - list-style: none; - border-top: 1px solid white; - border-bottom: 1px solid #EBEBEB; - font-size: 12px; -} - -.item-list li:first-child { - border-top: none; - border-bottom: 1px solid #EBEBEB; -} - -.item-list li:last-child { - border-top: none; - border-bottom: none; -} - -.item-list li .label { - margin-right: 5px; -} - -.item-list.todo li .label { - position: absolute; - right: 80px; -} - -.item-list.todo li .actions { - position: absolute; - right: 45px; -} - -/*** -Custom tables -***/ -.table-toolbar { - margin-bottom: 15px; -} - -.table.table-full-width { - width: 100% !important; -} - -.table .m-btn { - margin-top: 0px; - margin-left: 0px; - margin-right: 5px; -} - -.table thead tr th { - font-size: 14px; - font-weight: 600; -} - -.table-advance { - margin-bottom: 10px !important; -} - -.table-advance thead { - color: #999; -} - -.table-advance thead tr th{ - background-color: #DDD; - font-size: 14px; - font-weight: 400; - color: #666; -} - -.table-advance div.success, -.table-advance div.info, -.table-advance div.important, -.table-advance div.warning, -.table-advance div.danger { - position: absolute; - margin-top:-5px; - float: left; - width: 2px; - height: 30px; - margin-right: 20px !important; -} - -.table-advance tr td { - border-left-width: 0px; -} -.table-advance tr td:first-child { - border-left-width: 1px !important; -} - -.table-advance tr td.highlight:first-child a { - margin-left: 15px; -} - -.table-advance td.highlight div.success { - border-left: 2px solid #66ee66; -} - -.table-advance td.highlight div.info { - border-left: 2px solid #87ceeb; -} - -.table-advance td.highlight div.important { - border-left: 2px solid #f02c71; -} - -.table-advance td.highlight div.warning { - border-left: 2px solid #fdbb39; -} - -.table-advance td.highlight div.danger { - border-left: 2px solid #e23e29; -} - -/*** -Star rating -***/ -.rating { - unicode-bidi: bidi-override; - direction: rtl; - font-size: 30px; -} - -.rating span.star { - font-family: FontAwesome; - font-weight: normal; - font-style: normal; - display: inline-block; -} - -.rating span.star:hover { - cursor: pointer; -} - -.rating span.star:before { - content: "\f006"; - padding-right: 5px; - color: #999999; -} - -.rating span.star:hover:before, -.rating span.star:hover ~ span.star:before { - content: "\f005"; - color: #e3cf7a; -} - - -/*** -Item block with details shown on hover -***/ -.item { - overflow: hidden; - display: block; - margin-bottom: 20px; -} - -.item .details { - width: 100%; - display: none; - background-color: #000; - color: #fff !important; - padding: 5px; - text-align: center; - position: relative; - bottom:30px; - margin-bottom:-30px; - overflow: hidden; - z-index: 6; -} - -.item:hover .details { - display: block; - opacity: 0.7; - filter: alpha(opacity = 70); -} - -.item:hover .zoom-icon{ - opacity:0.5; - filter: alpha(opacity = 50); -} - -/*** -Zoom icon overlay on images -***/ -.zoom { - cursor: pointer; - width: 100%; - height: 100%; - position: relative; - z-index: 5; -} - -.zoom .zoom-icon { - background-image:url("../image/overlay-icon.png"); - background-color: #222; - background-repeat: no-repeat; - background-position: 50%; - position: absolute; - width: inherit; - height: inherit; - opacity: 0; - filter: alpha(opacity = 0); - z-index: 6; - top:0; -} - -/*** -Chats -***/ -.chats { - margin:0; - padding: 0; - margin-top: -15px; -} - -.chats li { - list-style: none; - padding: 5px 0; - margin: 10px auto; - font-size: 12px; -} - -.chats li img.avatar { - height: 45px; - width: 45px; - -webkit-border-radius: 50% !important; - -moz-border-radius: 50% !important; - border-radius: 50% !important; -} - -.chats li.in img.avatar { - float: left; - margin-right: 10px; -} - -.chats li .name { - color:#3590c1; - font-size: 13px; - font-weight: 400; -} - -.chats li .datetime { - color:#333; - font-size: 13px; - font-weight: 400; -} - -.chats li.out img.avatar { - float: right; - margin-left: 10px; -} - -.chats li .message { - display: block; - padding: 5px; - position: relative; -} - -.chats li.in .message { - text-align: left; - border-left: 2px solid #35aa47; - margin-left: 65px; - background: #fafafa -} - -.chats li.in .message .arrow { - display: block; - position: absolute; - top: 5px; - left: -8px; - width: 0; - height: 0; - - border-top: 8px solid transparent; - border-bottom: 8px solid transparent; - border-right: 8px solid #35aa47; -} - -.chats li.out .message .arrow { - display: block; - position: absolute; - top: 5px; - right: -8px; - border-top: 8px solid transparent; - border-bottom: 8px solid transparent; - border-left: 8px solid #da4a38; -} - -.chats li.out .message { - border-right: 2px solid #da4a38; - margin-right: 65px; - background: #fafafa; - text-align: right; -} - -.chats li.out .name, -.chats li.out .datetime { - text-align: right; -} - -.chats li .message .body { - display: block; -} - -.chat-form { - margin-top: 15px; - padding: 10px; - background-color: #e9eff3; - overflow: hidden; - clear: both; -} - -.chat-form .input-cont { - margin-right: 40px; -} - -.chat-form .input-cont .form-control { - width: 100% !important; - margin-bottom: 0px; -} - -.chat-form .input-cont input{ - border: 1px solid #ddd; - width: 100% !important; - margin-top: 0; -} - -.chat-form .input-cont input { - background-color: #fff !important; -} - -.chat-form .input-cont input:focus{ - border: 1px solid #4b8df9 !important; -} - -.chat-form .btn-cont { - margin-top: -42px; - position: relative; - float: right; - width:44px; -} - -.chat-form .btn-cont .arrow { - position: absolute; - top: 17px; - right: 43px; - border-top: 8px solid transparent; - border-bottom: 8px solid transparent; - border-right: 8px solid #4d90fe; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.chat-form .btn-cont:hover .arrow { - border-right-color: #0362fd; -} - -.chat-form .btn-cont:hover .btn { - background-color: #0362fd; -} - -.chat-form .btn-cont .btn { - margin-top: 8px; -} - -/*** -System feeds -***/ -.feeds { - margin: 0px; - padding: 0px; - list-style: none; -} - -.feeds li { - background-color: #fafafa; - margin-bottom: 7px; -} - -.feeds li:before, -.feeds li:after { - display: table; - line-height: 0; - content: ""; -} - -.feeds li:after { - clear: both; -} - -.feeds li:last-child { - margin-bottom: 0px; -} - -.feeds .col1 { - float:left; - width:100%; - clear: both; -} - -.feeds .col2 { - float:left; - width:75px; - margin-left:-75px; -} - -.feeds .col1 .cont { - float:left; - margin-right:75px; - overflow:hidden; -} - -.feeds .col1 .cont .cont-col1 { - float:left; - margin-right:-100%; -} - -.feeds .col1 .cont .cont-col1 .label { - display: inline-block; - padding: 5px 4px 6px 5px; - vertical-align: middle; - text-align: center; -} -.feeds .col1 .cont .cont-col1 .label > i { - text-align: center; - font-size: 14px; -} - -.feeds .col1 .cont .cont-col2 { - float:left; - width:100%; -} - -.feeds .col1 .cont .cont-col2 .desc { - margin-left:35px; - padding-top: 4px; - padding-bottom: 5px; - overflow:hidden; -} - -.feeds .col2 .date { - padding: 4px 9px 5px 4px; - text-align: right; - font-style: italic; - color:#c1cbd0; -} - -/*** -Users -***/ -.user-info { - margin-bottom: 10px !important; -} - -.user-info img { - float: left; - margin-right: 5px; -} - -.user-info .details { - display: inline-block; -} - -.user-info .label { - font-weight: 300; - font-size: 11px; -} - -/*** -Accordions -***/ -.accordion-heading { - background:#eee; -} - -.accordion-heading a { - text-decoration:none; -} - -.accordion-heading a:hover { - text-decoration:none; -} - -/*** -Vertical inline menu -***/ -.ver-inline-menu { - padding: 0; - margin: 0; - list-style: none; -} - -.ver-inline-menu li { - position:relative; - margin-bottom:1px; -} - -.ver-inline-menu li i { - width: 37px; - height: 37px; - display: inline-block; - color:#b9cbd5; - font-size:15px; - padding:12px 10px 10px 8px; - margin:0 8px 0 0; - text-align: center; - background:#e0eaf0 !important; -} - -.ver-inline-menu li a { - font-size: 13px; - color:#557386; - display:block; - background:#f0f6fa; - border-left:solid 2px #c4d5df; -} - -.ver-inline-menu li:hover a, -.ver-inline-menu li:hover i { - background:#e0eaf0; - text-decoration:none; -} - -.ver-inline-menu li:hover i { - color:#fff; - background:#c4d5df !important; -} - -.ver-inline-menu li.active a, -.ver-inline-menu li:hover a { - font-size: 13px; -} - -.ver-inline-menu li.active a { - border-left:solid 2px #0c91e5; -} - -.ver-inline-menu li.active a, -.ver-inline-menu li.active i { - color:#fff; - background:#169ef4; - text-decoration:none; -} - -.ver-inline-menu li.active i { - background:#0c91e5 !important; -} - -.ver-inline-menu li.active:after { - content: ''; - display: inline-block; - border-bottom: 6px solid transparent; - border-top: 6px solid transparent; - border-left: 6px solid #169ef4; - position: absolute; - top: 12px; - right: -5px; -} - -/*** -Custom tabs -***/ -.nav-tabs > li > a > .badge, -.nav-pills > li > a > .badge { - margin-top: -3px; -} - -.nav-tabs > li > a, -.nav-pills > li > a { - font-size: 14px; -} - -.nav-tabs-sm > li > a, -.nav-pills-sm > li > a { - font-size: 13px; -} - -.tabbable-custom { - margin-bottom: 15px; - padding: 0px; - overflow: hidden; -} - -.tabbable-custom > .nav-tabs { - border: none; - margin: 0px; -} - -.tabbable-custom > .tab-content { - background-color: #fff; - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - padding: 10px; -} - -.tabbable-custom.nav-justified .tab-content { - margin-top: -1px; -} - -.tabs-below.tabbable-custom.nav-justified .tab-content { - margin-top: 0px; - margin-bottom: -2px; -} - -.tabbable-custom.boxless > .tab-content { - padding:15px 0; - border-left:none; - border-right:none; - border-bottom:none; -} - -.tabbable-custom .nav-tabs > li { - margin-right: 2px; - border-top: 2px solid transparent; -} - -.tabbable-custom .nav-tabs > li > a { - margin-right: 0; - } - -.tabbable-custom .nav-tabs > li > a:hover { - background: none; - border-color:transparent; -} - -.tabbable-custom .nav-tabs > li.active { - border-top: 3px solid #d12610; - margin-top: 0; - position: relative; -} - -.tabbable-custom .nav-tabs > li.active > a { - border-top: none; - font-weight: 400; -} - -.tabbable-custom .nav-tabs > li.active > a:hover { - border-top: none; - background: #fff; - border-color: #d4d4d4 #d4d4d4 transparent; -} - -.tabbable-custom .nav-tabs > li { - margin-right: 2px; - border-top: 2px solid transparent; -} - -/* below tabs */ - -.tabs-below.tabbable-custom .nav-tabs > li > a { - border-top: none; - border-bottom: 2px solid transparent; - margin-top: -1px; -} - -.tabs-below.tabbable-custom .nav-tabs > li.active { - border-top: none; - border-bottom: 3px solid #d12610; - margin-bottom: 0; - position: relative; -} - -.tabs-below.tabbable-custom .nav-tabs > li.active > a { - border-bottom: none -} - -.tabs-below.tabbable-custom .nav-tabs > li.active > a:hover { - background: #fff; - border-color: #d4d4d4 #d4d4d4 transparent; -} - -/*full width tabs with bigger titles */ -.tabbable-custom.tabbable-full-width > .tab-content { - padding:15px 0; - border-left:none; - border-right:none; - border-bottom:none; -} - -.tabbable-custom.tabbable-full-width .nav-tabs > li > a { - color:#424242; - font-size:15px; - padding:9px 15px; -} - -/*** -Custom portlet tabs -***/ - -.portlet-tabs > .nav-tabs { - position: relative; - top: -41px; - margin-right: 10px; - overflow: hidden; -} - -.portlet-tabs > .nav-tabs > li { - float: right; -} - -.portlet-tabs > .nav-tabs { - border-bottom: none; -} - -.portlet-tabs > .nav-tabs > li > a { - color: #fff; - padding-top: 8px; - padding-bottom: 10px; - line-height: 16px; - margin-top: 6px; - margin-left: 0px; - margin-right: 0px; - border-left: 0; - border-right: 0; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; -} - -.portlet-tabs > .nav-tabs > li:last-child > a { - border-right:0; -} - -.portlet-tabs > .nav-tabs > li { - margin-left: 1px; -} - -.portlet-tabs > .nav-tabs > li.active { - color: #333; - border-top-color: transparent; -} - -.portlet-tabs > .nav-tabs > li.active > a { - margin-bottom: 0px; - border-bottom: 0; - margin-left: 0px; - margin-right: 0px; - border-left: 0; - border-right: 0; - border-top-color:transparent !important; -} - -.portlet-tabs > .nav-tabs > li > a:hover { - color: #333; - margin-bottom: 0; - border-bottom-color: transparent; - margin-left: 0; - margin-right: 0; - border-left: 0; - border-right: 0; - border-top-color:transparent; - background-color: #fff; -} - -.portlet-tabs > .nav-tabs > .active > a { - color: #555555; - cursor: default; - background-color: #fff; -} - -.portlet-tabs > .nav-tabs > .active > a:hover { - background-color: #fff !important; -} - -.portlet-tabs > .tab-content { - padding: 10px !important; - margin: 0px; - margin-top: -50px !important; -} - -.portlet.tabbable .portlet-body { - padding: 0px; -} - -.tab-pane > p:last-child { - margin-bottom: 0px; -} - -/* reverse aligned tabs */ - -.tabs-reversed > li { - float: right; -} - -.tabs-reversed > li, -.tabs-reversed > li > a { - margin-right: 0; -} - -/*** -Dashboard container -***/ - -#dashboard { - overflow: hidden; -} - -/*** -Dashboard stats -***/ -.dashboard-stat { - margin-bottom: 25px; -} - -.portlet .dashboard-stat:last-child { - margin-bottom: 0; -} - -.dashboard-stat:before, -.dashboard-stat:after { - display: table; - line-height: 0; - content: ""; -} -.dashboard-stat:after { - clear: both; -} - -.dashboard-stat .visual { - width: 80px; - height:80px; - display: block; - float: left; - padding-top: 10px; - padding-left: 15px; - margin-bottom: 10px; -} - -.dashboard-stat .visual i { - font-size: 65px; - line-height: 65px; - color: #fff; -} - -.dashboard-stat .visual { - font-size: 35px; - line-height: 35px; -} - -@media (min-width: 992px) and (max-width: 1024px) { - - .dashboard-stat .visual i { - font-size: 28px; - line-height: 28px; - } - -} - -.dashboard-stat .details { - position: absolute; - right: 15px; - padding-right: 10px; -} - -.dashboard-stat .details .number { - padding-top: 15px; - text-align: right; - font-size: 34px; - line-height: 34px; - letter-spacing: -1px; - margin-bottom: 5px; - font-weight: 300; - color: #fff; -} - -.dashboard-stat .details .desc { - text-align: right; - font-size: 16px; - letter-spacing: 0px; - font-weight: 300; - color: #fff; -} - -.dashboard-stat .more { - clear: both; - display: block; - padding: 5px 10px 5px 10px; - text-transform: uppercase; - font-weight: 300; - font-size: 11px; - color: #fff; - opacity: 0.7; - filter: alpha(opacity=70); -} - -.dashboard-stat .more:hover { - text-decoration: none; - opacity: 1; - filter: alpha(opacity=100); -} - -.dashboard-stat .more > i { - display: inline-block; - margin-top: 1px; - float: right; -} - -.dashboard-stat.blue { - background-color: #27a9e3; -} - -.dashboard-stat.blue .more { - background-color: #208dbe; -} - -.dashboard-stat.green { - background-color: #28b779; -} - -.dashboard-stat.green .more { - background-color: #10a062; -} - -.dashboard-stat.red { - background-color: #e7191b; -} - -.dashboard-stat.red .more { - background-color:#bc0d0e; -} - -.dashboard-stat.yellow { - background-color: #ffb848; -} - -.dashboard-stat.yellow .more { - background-color: #cb871b; -} - -.dashboard-stat.purple { - background-color: #852b99; -} - -.dashboard-stat.purple .more { - background-color: #6e1881; -} - -/*** -Text Stats -***/ - -.text-stat h3 { - margin-top: 5px; - margin-bottom: 0px; - font-size: 18px; -} - -.text-stat span { - font-size: 12px; - text-transform: uppercase; -} - -@media (max-width: 767px) { - - .text-stat { - margin-top: 20px; - } - -} - -/*** -Tiles(new in v1.1.1) -***/ - -.tiles { - margin-right: -10px; -} - -.tiles:before, -.tiles:after { - display: table; - content: " "; -} - -.tiles:after { - clear: both; -} - -.tile { - display: block; - letter-spacing: 0.02em; - float: left; - height: 135px; - width: 135px !important; - cursor: pointer; - text-decoration: none; - color: #ffffff; - position: relative; - font-weight: 300; - font-size: 12px; - letter-spacing: 0.02em; - line-height: 20px; - overflow: hidden; - border: 4px solid transparent; - margin: 0 10px 10px 0; -} - -.tile:after, -.tile:before { - content: ""; - float: left; -} - -.tile.double { - width: 280px !important; -} - -.tile.double-down { - height: 280px !important; -} - -.tile:active, .tile.selected { - border-color: #ccc !important; -} - -.tile:hover { - border-color: #aaa !important; -} - -.tile.selected .corner:after { - content: ""; - display: inline-block; - border-left: 40px solid transparent; - border-bottom: 40px solid transparent; - border-right: 40px solid #ccc; - position: absolute; - top: -3px; - right: -3px; -} - -.tile.selected .check:after { - content: ""; - font-family: FontAwesome; - font-size: 13px; - content: "\f00c"; - display: inline-block; - position: absolute; - top: 2px; - right: 2px; -} - -.tile * { - color: #ffffff; -} - -.tile .tile-body { - height: 100%; - vertical-align: top; - padding: 10px 10px; - overflow: hidden; - position: relative; - font-weight: 400; - font-size: 12px; - color: #000000; - color: #ffffff; - margin-bottom: 10px; -} - -.tile .tile-body img { - float: left; - margin-right: 10px; -} - -.tile .tile-body img.pull-right { - float: right !important; - margin-left: 10px; - margin-right: 0px; -} - -.tile .tile-body .content { - display: inline-block; -} - -.tile .tile-body > i { - margin-top: 17px; - display: block; - font-size: 56px; - line-height: 56px; - text-align: center; -} - - -.tile.double-down i { - margin-top: 95px; -} - -.tile .tile-body h1, -.tile .tile-body h2, -.tile .tile-body h3, -.tile .tile-body h4, -.tile .tile-body h5, -.tile .tile-body h6, -.tile .tile-body p { - padding: 0; - margin: 0; - line-height: 14px; -} - -.tile .tile-body h3, -.tile .tile-body h4 { - margin-bottom: 5px; -} - -.tile .tile-body h1:hover, -.tile .tile-body h2:hover, -.tile .tile-body h3:hover, -.tile .tile-body h4:hover, -.tile .tile-body h5:hover, -.tile .tile-body h6:hover, -.tile .tile-body p:hover { - color: #ffffff; -} - -.tile .tile-body p { - font-weight: 400; - font-size: 13px; - color: #000000; - color: #ffffff; - line-height: 20px; - overflow: hidden; -} - -.tile .tile-body p:hover { - color: rgba(0, 0, 0, 0.8); -} - -.tile .tile-body p:active { - color: rgba(0, 0, 0, 0.4); -} - -.tile .tile-body p:hover { - color: #ffffff; -} - -.tile.icon > .tile-body { - padding: 0; -} - -.tile .tile-object { - position: absolute; - bottom: 0; - left: 0; - right: 0; - min-height: 30px; - background-color: transparent; - *zoom: 1; -} - -.tile .tile-object:before, -.tile .tile-object:after { - display: table; - content: ""; -} - -.tile .tile-object:after { - clear: both; -} - -.tile .tile-object > .name { - position: absolute; - bottom: 0; - left: 0; - margin-bottom: 5px; - margin-left: 10px; - margin-right: 15px; - font-weight: 400; - font-size: 13px; - color: #ffffff; -} - -.tile .tile-object > .name > i { - vertical-align: middle; - display: block; - font-size: 24px; - height: 18px; - width: 24px; -} - -.tile .tile-object > .number { - position: absolute; - bottom: 0; - right: 0; - margin-bottom: 0; - color: #ffffff; - text-align: center; - font-weight: 600; - font-size: 14px; - letter-spacing: 0.01em; - line-height: 14px; - margin-bottom: 8px; - margin-right: 10px; -} - -.tile.image > .tile-body { - padding: 0 !important; -} - -.tile.image > .tile-body > img{ - width: 100%; - height: auto; - min-height: 100%; - max-width: 100%; -} - -.tile.image .tile-body h3 { - display: inline-block; -} - -/*** -Theme Panel -***/ - -.theme-panel { - width: 400px; - margin-top: 0px; - margin-right: 1px; - z-index: 999; - float: right; - position:relative; -} - -.theme-panel > .toggler { - top:4px; - right:0; - padding:20px; - cursor:pointer; - position:absolute; - background:#c9c9c9 url(../image/icon-color.png) center no-repeat; -} - -.theme-panel > .toggler:hover { - background-color: #3d3d3d !important; -} - -.theme-panel > .toggler-close { - display: none; - top:4px; - right:0; - padding:20px; - cursor:pointer; - position:absolute; - background: #3d3d3d url(../image/icon-color-close.png) center no-repeat !important; -} - -.theme-panel > .toggler-close:hover { - background-color:#222 !important; -} - -.theme-panel > .theme-options { - top:4px; - right:40px; - display:none; - position:absolute; - background:#3d3d3d; -} - -.theme-panel > .theme-options > .theme-option { - color:#cfcfcf; - padding: 15px; - border-top:1px solid #585858; - margin-top: 0px; - margin-bottom: 0px; -} - -.theme-panel > .theme-options > .theme-option.theme-colors { - border-top: 0; -} - -.theme-panel > .theme-options > .theme-option > span { - text-transform:uppercase; - display: inline-block; - width: 138px; - font-size: 14px; -} - -.theme-panel > .theme-options > .theme-option.theme-colors > span { - display: block; - width: auto; -} - -.theme-panel > .theme-options > .theme-option > select.form-control { - display: inline; - width: 100px; - text-transform: lowercase; -} - -.theme-panel > .theme-options > .theme-option.theme-colors > ul { - list-style:none; - padding: 0; - display: block; - margin-bottom: 1px !important; - margin-top: 10px; -} - -.theme-panel > .theme-options > .theme-option.theme-colors > ul > li { - width:37px; - height:37px; - margin:0 4px; - cursor:pointer; - list-style:none; - float: left; - border:solid 1px #707070; -} - -.theme-panel > .theme-options > .theme-option.theme-colors > ul > li:first-child { - margin-left: 0; -} - -.theme-panel > .theme-options > .theme-option.theme-colors > ul > li:hover, -.theme-panel > .theme-options > .theme-option.theme-colors > ul > li.current { - border:solid 2px #ebebeb; -} - -.theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-black { - background:#333438; -} - -.theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-grey { - background:#6d6d6d; -} - -.theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-ztebluelight { - background:#3366cc; -} -.theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-ztebluelight { - background:#1ab3ec; -} - -.theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-blue { - background:#124f94; -} - -.theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-brown { - background:#623f18; -} - -.theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-purple { - background:#701584; -} - -.theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-white { - background:#fff; -} - -/*** -Top bar menu -***/ - -/* enable arrow for dropdown menu */ -.header.navbar .nav > li > .dropdown-menu:before { - position: absolute; - top: -7px; - right: 9px; - display: inline-block !important; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-left: 7px solid transparent; - border-bottom-color: rgba(0, 0, 0, 0.2); - content: ''; -} - -.header.navbar .nav > li > .dropdown-menu:after { - position: absolute; - top: -6px; - right: 10px; - display: inline-block !important; - border-right: 6px solid transparent; - border-bottom: 6px solid #fff; - border-left: 6px solid transparent; - content: ''; -} - -/*** -Mega Menu(new in v1.6) -***/ - -.mega-menu .nav, -.mega-menu .collapse, -.mega-menu .mega-menu-dropup, -.mega-menu .mega-menu-dropdown { - position: static; -} -.mega-menu .container { - position: relative; -} -.mega-menu .mega-menu-dropdown .dropdown-menu { - left: auto; - width: auto; -} -.mega-menu .nav.navbar-right .dropdown-menu { - left: auto; - right: 0; -} -.mega-menu .mega-menu-content { - padding: 10px; - margin: 0; -} -.mega-menu .mega-menu-full .dropdown-menu { - left: 20px; - right: 20px; -} - -.mega-menu-responsive-content { - padding: 10px 15px 10px 60px; -} - -.page-boxed .mega-menu .mega-menu-dropdown .dropdown-menu { - top: 42px; -} - -.page-boxed .mega-menu .mega-menu-dropdown.mega-menu-full .dropdown-menu { - margin: 0; - padding: 0; - left: 18px; - right: 18px; -} - -.mega-menu .mega-menu-submenu { - width: auto !important; - padding: 0px 30px 0px 0px !important; - margin: 0 !important; -} - - - .mega-menu-content .row :last-child>ul{ - border-right: 0 !important; -} - -.mega-menu .mega-menu-submenu li > h3 { - font-size: 14px; - margin-top: 10px; - padding-left: 5px; -} - -.mega-menu .mega-menu-submenu li { - padding: 2px !important; - margin: 0 !important; - list-style: none; -} - -.mega-menu .mega-menu-submenu li > a { - padding: 5px !important; - margin: 0 !important; -} - -/*** -Horezantal Menu(new in v1.2) -***/ - -.header.navbar .hor-menu { - margin: 0; - float: left; -} - -.header.navbar .hor-menu ul.nav li > a { - font-size: 15px; - padding: 11px 10px; -} - -.header.navbar .hor-menu ul.nav li.current .selected, -.header.navbar .hor-menu ul.nav li.active .selected { - left: 50%; - bottom:0; - position: absolute; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - /*border-top: 6px solid #e02222;*/ - display: inline-block; - margin: 0; - width: 0px; - height:0px; - margin-left: -7px; - margin-bottom:-6px; -} - -/*drop-down*/ -.header.navbar .hor-menu .dropdown-menu { - margin-top: 0; - border: none; - box-shadow: none; -} - -.header.navbar .hor-menu .classic-menu-dropdown .dropdown-submenu > .dropdown-menu { - top: 0; -} - -.header.navbar .hor-menu .classic-menu-dropdown .dropdown-submenu > a:after { - top: 8px; - margin-right: 0px; -} - -.header.navbar .hor-menu .classic-menu-dropdown .dropdown-menu li > a { - padding: 7px 18px !important; - margin-bottom:1px; -} - -.header.navbar .hor-menu .classic-menu-dropdown .dropdown-menu .arrow { - display: none; -} - -.header.navbar .hor-menu .classic-menu-dropdown .dropdown-menu li > a:hover, -.header.navbar .hor-menu .classic-menu-dropdown .dropdown-menu li:hover > a, -.header.navbar .hor-menu .classic-menu-dropdown .dropdown-menu li.active > a { - filter:none !important; -} - -.header.navbar .hor-menu .nav > li > .dropdown-menu:after, -.header.navbar .hor-menu .nav > li > .dropdown-menu:before { - border-bottom: none !important; -} - -/*search*/ -.header.navbar .hor-menu .hor-menu-search-form-toggler { - display: inline-block; - padding: 12px 22px 12px 22px !important; - cursor: pointer; - background: url(../image/hor-menu-search.png) no-repeat center; -} - -.header.navbar .hor-menu .hor-menu-search-form-toggler:hover { - opacity: 0.8; - filter: alpha(opacity=80); -} - -.header.navbar .hor-menu a.hor-menu-search-form-toggler-close { - display: none; -} - -.header.navbar .hor-menu .search-form { - margin: 0; - top:42px; - right:0px; - padding:0 4px; - display:none; - z-index:999; - position:absolute; -} - -.header.navbar .hor-menu .search-form .btn { - padding: 7px 20px; - height: 32px; - width: 10px; - display: inline-block; -} - -.header.navbar .hor-menu .search-form .btn:hover { - opacity: 0.8; - filter: alpha(opacity=80); -} - -.header.navbar .hor-menu .search-form form { - margin-bottom: 0; -} - -.header.navbar .hor-menu .search-form form input { - background: none; - width: 200px; - border: none; - margin-top: 6px; -} - -/*** -Top News Blocks(new in v1.2.2) -***/ -.top-news { - color: #fff; - margin: 8px 0; -} - -.top-news a, -.top-news em, -.top-news span { - display: block; - text-align: left; -} - -.top-news a { - padding: 10px; - position: relative; - margin-bottom: 10px; -} - -.top-news a .top-news-icon { - right: 8px; - bottom: 15px; - opacity:0.3; - font-size: 35px; - position: absolute; - filter: alpha(opacity=30); /*For IE8*/ -} - -.top-news em { - margin-bottom: 0; - font-style: normal; -} - -.top-news span { - font-size: 18px; - margin-bottom: 5px; -} - -/*** -Block Images(new in v1.2.2) -***/ -.blog-images { - margin-bottom: 0; -} - -.blog-images li { - padding: 0; - margin: 0; - display: inline; -} - -.blog-images li a:hover { - text-decoration: none; -} - -.blog-images li img { - width: 50px; - height: 50px; - opacity: 0.6; - margin: 0 2px 8px; -} - -.blog-images li img:hover { - opacity: 1; - box-shadow: 0 0 0 4px #72c02c; - transition: all 0.4s ease-in-out 0s; - -moz-transition: all 0.4s ease-in-out 0s; - -webkit-transition: all 0.4s ease-in-out 0s; -} - -/*Sidebar Tags*/ -ul.sidebar-tags a { - color: #555; - font-size:12px; - padding:3px 5px; - background:#f7f7f7; - margin:0 2px 5px 0; - display:inline-block; -} - -ul.sidebar-tags a:hover, -ul.sidebar-tags a:hover i { - background: #EEE; - text-decoration:none; - -webkit-transition:all 0.3s ease-in-out; - -moz-transition:all 0.3s ease-in-out; - -o-transition:all 0.3s ease-in-out; - transition:all 0.3s ease-in-out; -} - -ul.sidebar-tags a i { - color:#777; -} - -ul.sidebar-tags li { - padding: 0; -} - -/*** -Social Icons(new in v1.2.2) -***/ -.social-icons { - padding: 0; - margin:0; -} - -.social-icons:after, -.social-icons:before { - content: ""; - display: table; -} - -.social-icons:after { - clear: both; -} - -.social-icons li { - float:left; - display:inline; - list-style:none; - margin-right:5px; - margin-bottom:5px; - text-indent:-9999px; -} -.social-icons li a, a.social-icon { - width:28px; - height:28px; - display:block; - background-position:0 0; - background-repeat:no-repeat; - transition: all 0.3s ease-in-out; - -o-transition: all 0.3s ease-in-out; - -ms-transition: all 0.3s ease-in-out; - -moz-transition: all 0.3s ease-in-out; - -webkit-transition: all 0.3s ease-in-out; -} -.social-icons li:hover a { - background-position:0 -38px; -} - -.social-icons-color li a { - opacity: 0.7; - background-position:0 -38px !important; -} - -.social-icons-color li a:hover { - opacity: 1; -} - -.social-icons .amazon {background: url(../image/social/amazon.png) no-repeat;} -.social-icons .behance {background: url(../image/social/behance.png) no-repeat;} -.social-icons .blogger {background: url(../image/social/blogger.png) no-repeat;} -.social-icons .deviantart {background: url(../image/social/deviantart.png) no-repeat;} -.social-icons .dribbble {background: url(../image/social/dribbble.png) no-repeat;} -.social-icons .dropbox {background: url(../image/social/dropbox.png) no-repeat;} -.social-icons .evernote {background: url(../image/social/evernote.png) no-repeat;} -.social-icons .facebook {background: url(../image/social/facebook.png) no-repeat;} -.social-icons .forrst {background: url(../image/social/forrst.png) no-repeat;} -.social-icons .github {background: url(../image/social/github.png) no-repeat;} -.social-icons .googleplus {background: url(../image/social/googleplus.png) no-repeat;} -.social-icons .jolicloud {background: url(../image/social/jolicloud.png) no-repeat;} -.social-icons .last-fm {background: url(../image/social/last-fm.png) no-repeat;} -.social-icons .linkedin {background: url(../image/social/linkedin.png) no-repeat;} -.social-icons .picasa {background: url(../image/social/picasa.png) no-repeat;} -.social-icons .pintrest {background: url(../image/social/pintrest.png) no-repeat;} -.social-icons .rss {background: url(../image/social/rss.png) no-repeat;} -.social-icons .skype {background: url(../image/social/skype.png) no-repeat;} -.social-icons .spotify {background: url(../image/social/spotify.png) no-repeat;} -.social-icons .stumbleupon {background: url(../image/social/stumbleupon.png) no-repeat;} -.social-icons .tumblr {background: url(../image/social/tumblr.png) no-repeat;} -.social-icons .twitter {background: url(../image/social/twitter.png) no-repeat;} -.social-icons .vimeo {background: url(../image/social/vimeo.png) no-repeat;} -.social-icons .wordpress {background: url(../image/social/wordpress.png) no-repeat;} -.social-icons .xing {background: url(../image/social/xing.png) no-repeat;} -.social-icons .yahoo {background: url(../image/social/yahoo.png) no-repeat;} -.social-icons .youtube {background: url(../image/social/youtube.png) no-repeat;} -.social-icons .vk {background: url(../image/social/vk.png) no-repeat;} -.social-icons .instagram {background: url(../image/social/instagram.png) no-repeat;} -.social-icons .reddit {background: url(../image/social/reddit.png) no-repeat;} -.social-icons .aboutme {background: url(../image/social/aboutme.png) no-repeat;} -.social-icons .flickr {background: url(../image/social/flickr.png) no-repeat;} -.social-icons .foursquare {background: url(../image/social/foursquare.png) no-repeat;} -.social-icons .gravatar {background: url(../image/social/gravatar.png) no-repeat;} -.social-icons .klout {background: url(../image/social/klout.png) no-repeat;} -.social-icons .myspace {background: url(../image/social/myspace.png) no-repeat;} -.social-icons .quora {background: url(../image/social/quora.png) no-repeat;} - -/*** -Inline Social Icons -***/ - -.social-icon { - display:inline-block !important; - width:28px; - height:28px; - background-position:0 0; - background-repeat:no-repeat; - transition: all 0.3s ease-in-out; - -o-transition: all 0.3s ease-in-out; - -ms-transition: all 0.3s ease-in-out; - -moz-transition: all 0.3s ease-in-out; - -webkit-transition: all 0.3s ease-in-out; -} - -.social-icon.amazon {background: url(../image/social/amazon.png) no-repeat;} -.social-icon.behance {background: url(../image/social/behance.png) no-repeat;} -.social-icon.blogger {background: url(../image/social/blogger.png) no-repeat;} -.social-icon.deviantart {background: url(../image/social/deviantart.png) no-repeat;} -.social-icon.dribbble {background: url(../image/social/dribbble.png) no-repeat;} -.social-icon.dropbox {background: url(../image/social/dropbox.png) no-repeat;} -.social-icon.evernote {background: url(../image/social/evernote.png) no-repeat;} -.social-icon.facebook {background: url(../image/social/facebook.png) no-repeat;} -.social-icon.forrst {background: url(../image/social/forrst.png) no-repeat;} -.social-icon.github {background: url(../image/social/github.png) no-repeat;} -.social-icon.googleplus {background: url(../image/social/googleplus.png) no-repeat;} -.social-icon.jolicloud {background: url(../image/social/jolicloud.png) no-repeat;} -.social-icon.last-fm {background: url(../image/social/last-fm.png) no-repeat;} -.social-icon.linkedin {background: url(../image/social/linkedin.png) no-repeat;} -.social-icon.picasa {background: url(../image/social/picasa.png) no-repeat;} -.social-icon.pintrest {background: url(../image/social/pintrest.png) no-repeat;} -.social-icon.rss {background: url(../image/social/rss.png) no-repeat;} -.social-icon.skype {background: url(../image/social/skype.png) no-repeat;} -.social-icon.spotify {background: url(../image/social/spotify.png) no-repeat;} -.social-icon.stumbleupon {background: url(../image/social/stumbleupon.png) no-repeat;} -.social-icon.tumblr {background: url(../image/social/tumblr.png) no-repeat;} -.social-icon.twitter {background: url(../image/social/twitter.png) no-repeat;} -.social-icon.vimeo {background: url(../image/social/vimeo.png) no-repeat;} -.social-icon.wordpress {background: url(../image/social/wordpress.png) no-repeat;} -.social-icon.xing {background: url(../image/social/xing.png) no-repeat;} -.social-icon.yahoo {background: url(../image/social/yahoo.png) no-repeat;} -.social-icon.youtube {background: url(../image/social/youtube.png) no-repeat;} -.social-icon.vk {background: url(../image/social/vk.png) no-repeat;} -.social-icon.instagram {background: url(../image/social/instagram.png) no-repeat;} -.social-icon.reddit {background: url(../image/social/reddit.png) no-repeat;} -.social-icon.aboutme {background: url(../image/social/aboutme.png) no-repeat;} -.social-icon.flickr {background: url(../image/social/flickr.png) no-repeat;} -.social-icon.foursquare {background: url(../image/social/foursquare.png) no-repeat;} -.social-icon.gravatar {background: url(../image/social/gravatar.png) no-repeat;} -.social-icon.klout {background: url(../image/social/klout.png) no-repeat;} -.social-icon.myspace {background: url(../image/social/myspace.png) no-repeat;} -.social-icon.quora {background: url(../image/social/quora.png) no-repeat;} - -.social-icon:hover { - background-position:0 -38px; -} - -.social-icon-color { - opacity: 0.7; - background-position:0 -38px !important; -} - -.social-icon-color:hover { - opacity: 1; -} - -/*** -Notes -***/ - -/* Common styles for all types */ -.note { - margin: 0 0 20px 0; - padding: 15px 30px 15px 15px; - border-left: 5px solid #eee; -} - -.note h1, -.note h2, -.note h3, -.note h4 { - margin-top: 0; -} - -.note p:last-child { - margin-bottom: 0; -} -.note code, -.note .highlight { - background-color: #fff; -} - -/* Variations */ -.note-danger { - background-color: #FAEAE6; - border-color: #ed4e2a; -} - -.note-warning { - background-color: #FCF3E1; - border-color: #fcb322; -} - -.note-info { - background-color: #E8F6FC; - border-color: #57b5e3; -} - -.note-success { - background-color: #EBFCEE; - border-color: #3cc051; -} - -/*** -Demo Utils -***/ -.scrollspy-example { - position: relative; - height: 200px; - margin-top: 10px; - overflow: auto; -} - -.util-btn-margin-bottom-5 .btn { - margin-bottom: 5px !important; -} - -.util-btn-group-margin-bottom-5 .btn-group { - margin-bottom: 5px !important; -} - -.fontawesome-demo i { - font-size: 18px; -} - -.fontawesome-demo li { - padding-top: 5px; - padding-bottom: 5px; -} - -.glyphicons-demo ul { - padding-left: 0; - padding-bottom: 1px; - margin-bottom: 20px; - list-style: none; - overflow: hidden; -} - -.bs-glyphicons { - padding-left: 0; - padding-bottom: 1px; - margin-bottom: 20px; - list-style: none; - overflow: hidden; -} -.glyphicons-demo ul li { - float: left; - width: 25%; - height: 115px; - padding: 10px; - margin: 0 -1px -1px 0; - font-size: 12px; - line-height: 1.4; - text-align: center; - border: 1px solid #ddd; -} - -.glyphicons-demo .glyphicon { - display: block; - margin: 5px auto 10px; - font-size: 24px; -} -.glyphicons-demo ul li:hover { - background-color: rgba(86,61,124,.1); -} - -@media (min-width: 768px) { - .glyphicons-demo ul li { - width: 12.5%; - } -} - -/*** -Forms -****/ - -.static-info { - margin-bottom: 10px; -} - -.static-info .name { - font-size: 14px; -} - -.static-info .value { - font-size: 14px; - font-weight: 600; -} - -.static-info.align-reverse .name, -.static-info.align-reverse .value { - text-align: right; -} - -input.placeholder, -textarea.placeholder { - color: #aaa !important; -} - -.help-block { - margin-top: 5px; - margin-bottom: 5px; -} - -.form-inline input { - margin-bottom: 0px !important; -} - -.control-label { - margin-top: 2px; -} - -.form-control-static { - font-size: 14px; - padding-top: 7px; -} - -.control-label .required { - color: #e02222; - font-size: 12px; - padding-left: 2px; -} - -.switch-wrapper { - display: inline-block; -} - -.form { - padding: 0 !important; -} - -.form-body { - padding: 10px; -} - -.form-actions { - padding: 20px 10px; - margin-top: 20px; -/* background-color: #f5f5f5; - border-top: 1px solid #e5e5e5;*/ - *zoom: 1; -} - -.form-actions.nobg { - background-color: transparent; -} - -.form-actions.top { - margin-top: 0; - margin-bottom: 20px; - border-top: 0; - border-bottom: 1px solid #e5e5e5; -} - -.form-actions.fluid { - padding: 20px 0; -} - -.form-actions.fluid > [class^="col-"] { - padding-left: 13px; -} - -.form-actions:before, -.form-actions:after { - display: table; - line-height: 0; - content: ""; -} - -.form-actions:after { - clear: both; -} - -.form-section { - margin: 30px 0px 25px 0px; - padding-bottom: 5px; - border-bottom: 1px solid #eee; -} - -.form .form-section:first-child { - margin-top: 5px; -} - -.help-inline { - font-size: 13px; - color: #737373; - display: inline-block; - padding: 5px; -} - -/* left, right aligned form actions */ -.form-actions.right { - padding-left: 0; - padding-right: 10px; - text-align: right; -} - -.form-actions.left { - padding-left: 10px; - padding-right: 0; - text-align: left; -} - -/* Checkboxes */ -.form-group .checkbox { - padding-left: 0; -} - -.checkbox-list > label { - display: block; -} - -.checkbox-list > label.checkbox-inline { - display: inline-block; -} - -.checkbox-list > label.checkbox-inline:first-child { - padding-left: 0; -} - -/* Radios */ - -.radio-list > label { - display: block; -} - -.radio-list > label.radio-inline { - display: inline-block; -} - -.radio-list > label.radio-inline:first-child { - padding-left: 0; -} - -.form-horizontal .radio-list .radio { - padding-top: 1px; -} - -.form-horizontal .radio-list > label { - margin-bottom: 0; -} - -.form-horizontal .radio > span { - margin-top: 2px; -} - -/* Rows seperated form layout */ -.form-row-seperated .form-group { - margin: 0; - border-bottom: 1px solid #efefef; - padding: 10px 0px 10px 0px; -} - -.form-row-seperated .form-group.last { - border-bottom: 0; - margin-bottom: 0; - padding-bottom: 10px; -} - -.form-row-seperated .form-actions { - margin-top: 0; -} - -.form-row-seperated .form-body { - padding: 0; - margin-top: 0; -} - -.form-row-seperated .help-block { - margin-bottom: 0; -} - -/* form bordered */ -.form-bordered .form-body { - margin: 0; - padding: 0; -} - -.form-bordered .form-actions { - margin-top: 0; -} - -.form-bordered .form-group { - margin: 0; - border-bottom: 1px solid #efefef; -} - -.form-bordered .form-group.last { - border-bottom: 0; -} - -.form-bordered .help-block { - margin-bottom: 0; -} - -.form-bordered .control-label { - padding-top: 16px; -} - -.form-bordered .form-group > div { - padding: 10px; - border-left: 1px solid #efefef; -} - -.form-bordered .form-actions.fluid > .row > div { - padding-left: 10px; -} - -.form-horizontal.form-bordered.form-row-stripped .form-group:nth-child(even) { - background-color: #fcfcfc; -} - -.form-horizontal.form-bordered.form-label-stripped .form-group:nth-child(even) { - background-color: #fcfcfc; -} - -.form-horizontal.form-bordered.form-row-stripped .form-control { - background: #fff !important; -} - -.form-horizontal.form-bordered.form-label-stripped .form-group:nth-child(even) > div { - background-color: #ffffff; -} - -/*** -Bordered form layout -***/ - -.form-bordered .form-control { - margin: 0; -} - - -/*** -Disabled Menu Link -***/ - -.disabled-link > a > span.text, -.disabled-link > a > span.title { - font-style: italic !important; - color: #888 !important; -} - -.disabled-link > a:hover { - cursor: not-allowed !important; -} - - -/*** -Responsive & Scrollable Tables -***/ - -.table-scrollable { - width: 100%; - overflow-x: auto; - overflow-y: hidden; - border: 1px solid #dddddd; - margin: 10px 0 !important; -} - -.table-scrollable > .table { - width: 100% !important; - margin: 0 !important; - margin-bottom: 0; - background-color: #fff; -} - -.table-scrollable > .table > thead > tr > th, -.table-scrollable > .table > tbody > tr > th, -.table-scrollable > .table > tfoot > tr > th, -.table-scrollable > .table > thead > tr > td, -.table-scrollable > .table > tbody > tr > td, -.table-scrollable > .table > tfoot > tr > td { - white-space: nowrap; -} - -.table-scrollable > .table-bordered { - border: 0; -} - -.table-scrollable > .table-bordered > thead > tr > th:first-child, -.table-scrollable > .table-bordered > tbody > tr > th:first-child, -.table-scrollable > .table-bordered > tfoot > tr > th:first-child, -.table-scrollable > .table-bordered > thead > tr > td:first-child, -.table-scrollable > .table-bordered > tbody > tr > td:first-child, -.table-scrollable > .table-bordered > tfoot > tr > td:first-child { - border-left: 0; -} - -.table-scrollable > .table-bordered > thead > tr > th:last-child, -.table-scrollable > .table-bordered > tbody > tr > th:last-child, -.table-scrollable > .table-bordered > tfoot > tr > th:last-child, -.table-scrollable > .table-bordered > thead > tr > td:last-child, -.table-scrollable > .table-bordered > tbody > tr > td:last-child, -.table-scrollable > .table-bordered > tfoot > tr > td:last-child { - border-right: 0; -} - -.table-scrollable > .table-bordered > thead > tr:last-child > th, -.table-scrollable > .table-bordered > tbody > tr:last-child > th, -.table-scrollable > .table-bordered > tfoot > tr:last-child > th, -.table-scrollable > .table-bordered > thead > tr:last-child > td, -.table-scrollable > .table-bordered > tbody > tr:last-child > td, -.table-scrollable > .table-bordered > tfoot > tr:last-child > td { - border-bottom: 0; -} - -/*** -Responsive Flip Scroll Tables -***/ - -.flip-scroll table { width: 100%; } - -@media only screen and (max-width: 768px) { - - .flip-scroll .flip-content:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } - .flip-scroll * html .flip-content { zoom: 1; } - .flip-scroll *:first-child+html .flip-content { zoom: 1; } - - .flip-scroll table { width: 100%; border-collapse: collapse; border-spacing: 0; } - - .flip-scroll th, - .flip-scroll td { margin: 0; vertical-align: top; } - .flip-scroll th { - text-align: left; - border: 0 !important; - border-bottom: 1px solid #ddd !important; - border-right: 1px solid #ddd !important; - font-size: 13px !important; - padding: 5px; - width: auto !important; - } - - .flip-scroll table { display: block; position: relative; width: 100%; } - .flip-scroll thead { - display: block; - float: left; - } - .flip-scroll tbody { - display: block; - width: auto; - position: relative; - overflow-x: auto; - white-space: nowrap; - } - .flip-scroll thead tr { display: block; } - .flip-scroll th { display: block; text-align: right; } - .flip-scroll tbody tr { display: inline-block; vertical-align: top; margin-left: -5px; } - .flip-scroll td { display: block; min-height: 1.25em; text-align: left; border-top: 0 !important; border-left: 0 !important; border-right: 0 !important} - - /* sort out borders */ - - .flip-scroll th { border-bottom: 0; border-left: 0; } - .flip-scroll td { border-left: 0; border-right: 0; border-bottom: 0; } - .flip-scroll tbody tr { border-left: 1px solid #ddd; } - .flip-scroll th:last-child, - .flip-scroll td:last-child { border-bottom: 1px solid #ddd; } - -} - -/*** -UI Loading -***/ - -.loading-message { - display: inline-block; - min-width: 125px; - padding: 10px; - margin: 0 auto; - color: #000 !important; - font-size: 13px; - font-weight: 400; - text-align: center; - vertical-align: middle; -} - -.loading-message span { - line-height:20px; - vertical-align: middle; -} - -.loading-message.loading-message-boxed { - border: 1px solid #ddd; - background-color: #eee; - -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); -} - -.page-loading { - position: fixed; - top: 50%; - left: 50%; - min-width: 125px; - margin-left: -50px; - margin-top: -30px; - padding: 7px; - text-align: center; - color: #333; - font-size: 13px; - border: 1px solid #ddd; - background-color: #eee; - vertical-align: middle; - -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); -} - -.page-loading span { - line-height:20px; - vertical-align: middle; -} - -.zteDivWidth -{ - width:auto !important -} - - - -.nav-load-error {} - -.nav-pos-option {} - -/*TAB*/ -.nav-tabs{ -border:0; -} -.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus{ -border:0; -border-top:3px solid #F3565D; -} -.nav-tabs>li>a{ -border-radius:0; -} -.nav-tabs>li>a:hover{ -background-color:#f1f3fa; -border:1Px solid #f1f3fa; -} -/*button*/ -.btn{ -min-width: 80px; -letter-spacing:1px; -} -.btnGroup .btn{ -margin-left:15px; -margin-right:15px; -} -.pagination-panel .btn{ -min-width: 4px; } -/*radius*/ -.radius_l{ -border-radius: 20px; -} -.radius_m{ -border-radius: 8px; -} -.radius_s{ -border-radius: 3px; -} -/*common color*/ -.blue1 { - background-color:#5b9bd1; - color:#fff; -} -.blue1:hover{ - background-color:#487ca9; - color:#fff; -} -.blue2{ - background-color:#57b5e3; - color:#fff; -} -.blue2:hover{ - background-color:#43a1cf; - color:#fff; -} -.red{ - background-color:#E35B5A; - color:#fff; -} -.red:hover{ - background-color:#ad9a4d; - color:#fff; -} -.green{ - background-color:#44B6AE; -} -.green:hover{ - background-color:#329d96; -} -.yellow{ - background-color:#C0AF69; - color:#fff; -} -.yellow:hover{ - background-color:#d45150; - color:#fff; -} -.grey{ - background-color:#e5e5e5; - color:#333; -} -.grey:hover{ - background-color:#d8d8d8; - color:#333; -} -/*Progress Bars*/ -.progress { - border: 0; - background-image: none !important; - filter: none !important; - -webkit-box-shadow: none !important; - -moz-box-shadow: none !important; - box-shadow: none !important; - -} -.form-wizard .steps > li.active > a.step .number{ -background-color:#45B6AF -} -.progress > .progress-bar-success{ -background-color:#45B6AF -} -/*label*/ -label{ -font-weight:400; -margin-bottom:15px; -} -/**/ -.input-group-btn-vertical.fa{ -font-size:12px; -} -.spinner { - width: 60px; - margin-left:10px; - margin-right:30px; -} -.spinner input { - text-align: right; -} -.input-group-btn-vertical { - position: relative; - white-space: nowrap; - width: 1%; - vertical-align: middle; - display: table-cell; -} -.input-group-btn-vertical > .btn { - display: block; - float: none; - width: 100%; - max-width: 100%; - padding: 6px; - margin-left: -1px; - position: relative; - border-radius: 0; -} -.input-group-btn-vertical > .btn{ - min-width:20px; -} -.input-group-btn-vertical > .btn:first-child { - border-top-right-radius: 4px; -} -.input-group-btn-vertical > .btn:last-child { - margin-top: -2px; - border-bottom-right-radius: 4px; -} -.input-group-btn-vertical i{ - position: absolute; - top: -2px; - left: 5px; -} -.input-group .form-control{ -height:26px !important; -} - -.about{ - height:345px; - width:528px; -} - -.aboutmain{ - background-image: url("../image/about/about-bg-light.png"); -} - -.aboutinfo{ - background-image: url("../image/about/about-bg-dark.png"); -} - -.about a{ - color: white; - - margin-left:15px; - text-decoration: none; -} - -.about a.about_close{ - float:right; - margin-right:20px; - font-size: 1.2em; -} - -.about div{ - padding-top:7px; - -} - -.about div.info{ - float: right; - margin-right: 15px; - margin-top: 130px; - color: white; - font-size: 13px; -} - -.about div.info div{ - margin-left:15px; -} - -.about div.info img{ - margin-right: 55px; -} - -.aboutDlg{ - width: 530px; - margin-left:150px; -} - -.aboutDlg .dataTable{ - background-color: white; - -} - -.aboutDlg table.dataTable .heading>th.sorting_disabled { - background-color: white !important; -} - -.aboutDlg #abouttable_wrapper{ - height:285px; - background-color: white; - padding:0px; - overflow:auto; -} - -.aboutDlg td , .aboutDlg .table thead tr th{ - font-size:13px; - font-weight:100; -} - -.aboutDlg{ - font-family:microsoft yahei,Arial; - letter-spacing:1px; -} - -.aboutDlg tr { - height:37px; +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +Colors +blue: #4b8df8 +light blue: #bfd5fa +red: #e02222 +yellow: #ffb848 +green: #35aa47 +purple: #852b99 +dark: #555555; +light grey: #fafafa; +***/ +/*fontIcon*/ +[class^="ict-"], [class*=" ict-"]{ + padding-right:3px; + display: inline-block; + width: 1.25em; + text-align: center; +} +.page-sidebar-menu [class^="ict-"], .page-sidebar-menu [class*=" ict-"]{ +padding-right:0; +} +/********************* + GENERAL RESET & SETUP +*********************/ + +/*** +Reset and overrides +***/ +body { + color: #333; + /*font-family: 'Open Sans', sans-serif; + font-size:13px; */ + font-family: "Microsoft yahei", Verdana, Arial, Helvetica, sans-serif !important; + padding: 0px !important; + margin: 0px !important; + direction: ltr; +} +.page-content-body{ +padding-left:15px; +padding-right:15px; +padding-top:10px; +} +/* +Internet Explorer 10 doesn't differentiate device width from viewport width, and thus doesn't +properly apply the media queries in Bootstrap's CSS. To address this, +you can optionally include the following CSS and JavaScript to work around this problem until Microsoft issues a fix. +*/ +@-webkit-viewport { + width: device-width; +} + +@-moz-viewport { + width: device-width; +} + +@-ms-viewport { + width: device-width; +} + +@-o-viewport { + width: device-width; +} + +@viewport { + width: device-width; +} + +/* Internet Explorer 10 doesn't differentiate device width from viewport width, +and thus doesn't properly apply the media queries in Bootstrap's CSS. To address this, following CSS code applied */ +@-ms-viewport { + width: auto !important; +} + +/*** +Custom Scrollbars +***/ + +::-webkit-scrollbar { + width: 12px; +} + +::-webkit-scrollbar-track { + background-color: #eaeaea; + border-left: 1px solid #cecece; +} + +::-webkit-scrollbar-thumb { + background-color: #cecece; +} + +::-webkit-scrollbar-thumb:hover { + background-color: #aaa; +} + +::-webkit-scrollbar-track { + border-radius: 0; + box-shadow: none; + border: 0; +} + +::-webkit-scrollbar-thumb { + border-radius: 0; + box-shadow: none; + border: 0; +} + +/*** +General typography +***/ +h1 small, +h2 small, +h3 small, +h4 small, +h5 small, +h6 small { + color: #444; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + font-family: Arial, sans-serif; + font-weight: 300 !important; +} + +h1.block, +h2.block, +h3.block, +h4.block, +h5.block, +h6.block { + padding-top: 10px; + padding-bottom: 10px; +} + +a { + text-shadow: none !important; + color: #5b9bd1; +} + +/*** +Fix link outlines after click +***/ +a,a:focus, a:hover, a:active { + outline: 0; +} + +/*** +General backgrounds. Can be applied to any block or panel +***/ + +.bg-blue { + background-image: none !important; + background-color: #4b8df8 !important; + border-color:#4b8df8 !important; + color: #fff !important; +} + +.bg-red { + background-image: none !important; + background-color: #e02222 !important; + border-color: #e02222 !important; + color: #fff !important; +} + +.bg-yellow { + background-image: none !important; + background-color: #ffb848 !important; + border-color: #ffb848 !important; + color: #fff !important; +} + +.bg-green { + background-image: none !important; + background-color: #35aa47 !important; + border-color: #35aa47 !important; + color: #fff !important; +} + +.bg-purple { + background-image: none !important; + background-color: #852b99 !important; + border-color: #852b99 !important; + color: #fff !important; +} + +.bg-dark { + background-image: none !important; + background-color: #555555 !important; + border-color: #555555 !important; + color: #fff !important; +} + +.bg-grey { + background-image: none !important; + background-color: #fafafa !important; + border-color: #fafafa !important; +} + +/*** +Font Awesome Icons +***/ + +[class^="fa-"], +[class*=" fa-"] { + display: inline-block; +/* margin-top: 1px;*/ + font-size: 14px; + *margin-right: .3em; + line-height: 14px; +} + +/*** +Make font awesome icons fixed width(latest version issue) +***/ + +li [class^="fa-"], +li [class*=" fa-"] { + display: inline-block; + width: 1.25em; + text-align: center; +} +li [class^="fa-"].icon-large, +li [class*=" fa-"].icon-large { + /* increased font size for icon-large */ + width: 1.5625em; +} + +.page-breadcrumb .fa-angle-right{ + display:inline-block; + margin-left:8px; + margin-right:8px; +} + +.page-breadcrumb i[class^="fa-"], [class*=" fa-"],.page-breadcrumb i[class^="ict-"], [class*=" ict-"]{ + display:none; +} + + + +.fa-lg, +.icon-lg { + font-size: 16px; +} + +.fa-2x { + font-size: 2em; +} +.fa-3x { + font-size: 3em; +} +.fa-4x { + font-size: 4em; +} +.fa-5x { + font-size: 5em; +} + +.icon-default { + color: #ccc; +} + +.icon-success { + color: #468847; +} + +.icon-info { + color: #27a9e3; +} + +.icon-warning { + color: #dbc056; +} + +.icon-danger { + color: #B94A48; +} + +/*** +Close icon used for modal dialog and other UI element close buttons +***/ +.close { + display: inline-block; + margin-top: 0px; + margin-right: 0px; + width: 9px; + height: 9px; + background-repeat: no-repeat !important; + text-indent: -10000px; + outline: none; + background-image: url("../image/remove-icon-small.png") !important; +} + +.about{ + height:345px; + width:528px; +} + +.aboutmain{ + background-image: url("../image/about/about-bg-light.png"); +} + +.aboutinfo{ + background-image: url("../image/about/about-bg-dark.png"); +} + +.about a{ + color: white; + + margin-left:15px; + text-decoration: none; +} + +.about a.about_close{ + float:right; + margin-right:20px; + font-size: 1.2em; +} + +.about div{ + padding-top:10px; + +} + +.about div.info{ + float: right; + margin-right: 15px; + margin-top: 130px; + color: white; + font-size: 13px; +} + +.about div.info div{ + margin-left:15px; +} + +.about div.info img{ + margin-right: 55px; +} + +.aboutDlg{ + width: 530px; + margin-left:150px; +} + +/*** +General HR +***/ + +hr { + margin: 20px 0; + border: 0; + border-top: 1px solid #E0DFDF; + border-bottom: 1px solid #FEFEFE; +} + +/*** +Tools +***/ + +.display-none, +.display-hide { + display: none; +} + +.no-space { + margin: 0px !important; + padding: 0px !important; +} + +.no-margin { + margin:0; +} + +.no-border { + border:0 !important; +} + +.margin-bottom-5 { + margin-bottom: 5px; +} + +.margin-bottom-10 { + margin-bottom: 10px !important; +} + +.margin-top-10 { + margin-top: 10px !important; +} + +.margin-bottom-15 { + margin-bottom: 15px !important; +} + +.margin-bottom-20 { + margin-bottom: 20px !important; +} + +.margin-top-20 { + margin-top: 20px !important; +} + +.margin-bottom-25 { + margin-bottom: 25px !important; +} + +.margin-right-10 { + margin-right: 10px !important; +} + +.bold { + font-weight:600 !important; +} + +.fix-margin { + margin-left: 0px !important +} + +.border { + border: 1px solid red; +} + +.inline { + display: inline; +} + +.text-align-reverse { + text-align: right; +} + +/*** +ie8 & ie9 modes +***/ + +.visible-ie8 { + display: none; +} + +.ie8 .visible-ie8 { + display: inherit !important; +} + +.visible-ie9 { + display: none; +} + +.ie9 .visible-ie9 { + display: inherit !important; +} + +.hidden-ie8 { + display: inherit; +} + +.ie8 .hidden-ie8 { + display: none !important; +} + +.hidden-ie9 { + display: inherit; +} + +.ie9 .hidden-ie9 { + display: none !important; +} + +/******************** + GENERAL LAYOUT +*********************/ + +/*** +Header and header elements. +***/ + +.header.navbar { + width: 100%; + padding: 0 20px 0 20px; + margin: 0; + border: 0px; + padding: 0px; + box-shadow: none; + height: 42px; + min-height: 42px; +} + +.header.navbar.navbar-fixed-top { + z-index: 9995 !important; +} + +.header.navbar .navbar-brand { + display: inline-block; + margin-top: -1px; + margin-right: 0; + padding-left: 0; + padding-right: 0; + width: 225px; + height: 42px; +} + +.header.navbar .navbar-brand img { + margin-left: 20px; +} + +.header.navbar .navbar-brand.text-logo { + padding-left: 20px; + padding-top: 12px; +} + +.header.navbar .navbar-toggle { + margin: 8px 6px 4px 6px; + padding: 0; + padding-top:2px; + padding-bottom: 6px; + background-image: none; + filter:none; + box-shadow: none; + color: #fff; + border: 0; +} + +.header.navbar .navbar-toggle:hover { + text-decoration: none; + background: none; +} + +.header.navbar .navbar-nav { + margin-right: 20px; + display: block; +} + +.header.navbar .navbar-nav > li { + margin: 0px; + padding: 0px; +} + +.header.navbar .navbar-nav > li.dropdown, +.header.navbar .navbar-nav > li.dropdown > a { + padding-left: 4px; + padding-right: 4px; +} + +.header.navbar .navbar-nav > li.dropdown > a:last-child { + padding-right: 0; +} + +.header.navbar .navbar-nav > li.dropdown:last-child { + padding-right: 2px; +} + +.header.navbar .navbar-nav > li.dropdown .dropdown-toggle { + margin: 0px; + padding: 15px 10px 7px 10px; +} + +.header.navbar .navbar-nav > li.dropdown .dropdown-toggle > i { + font-size: 18px; +} + +.header.navbar .navbar-nav > li.dropdown .dropdown-menu > li > a > i { + font-size: 14px; +} + +.header.navbar .navbar-nav > li.dropdown.user .dropdown-toggle { + padding-top: 9px; + *padding: 9px 18px 6px 6px; +} + +.header.navbar .navbar-nav > li.dropdown.user .dropdown-toggle:hover { + text-decoration: none; +} + +.header.navbar .navbar-nav > li.dropdown.user .dropdown-toggle .username { + color: #ddd; +} + +.header.navbar .navbar-nav > li.dropdown.user .dropdown-toggle i { + display: inline-block; + margin-top: 5px; + margin: 0; + font-size: 16px; +} + +.header.navbar .navbar-nav > li.dropdown.user .dropdown-menu i { + width: 15px; + display: inline-block; +} + +.header.navbar .navbar-nav > li.dropdown .dropdown-toggle .badge { + position: absolute; + top: 8px; + right: 20px; +} + + +.header.navbar .navbar-nav > li.dropdown.system .dropdown-toggle { + padding: 13px 0px 6px 6px; +} + +.header.navbar .navbar-nav > li.dropdown.system .dropdown-toggle:hover { + text-decoration: none; +} + +.header.navbar .navbar-nav > li.dropdown.system .dropdown-toggle .sysname { + color: #ddd; +} + +.header.navbar .navbar-nav > li.dropdown.system .dropdown-toggle i { + display: inline-block; + margin-top: 5px; + margin: 0; + font-size: 16px; +} + +.header.navbar .navbar-nav > li.dropdown.system .dropdown-menu i { + width: 15px; + display: inline-block; +} + +/*** +Header Search +***/ +.header.navbar .search-form { + float: left; + display: inline-block; + padding: 0; + height: 41px; + margin:0; +} + +.header.navbar .search-form .form-control{ + margin-top: 8px; + border: 0; + padding-top: 1px; + padding-right: 27px; +} + +.header.navbar .search-form .submit { + position: relative; + display: block; + float: right; + margin-top: -21px; + margin-right: 8px; + width: 13px; + height: 15px; + box-shadow: none; + border: 0px; + padding: 0px; + background-color: none; + background-repeat: no-repeat !important; + outline: none !important; + opacity: 0.8; + filter: alpha(opacity=80); +} + +.header.navbar .search-form .submit:hover { + opacity: 1; + filter: alpha(opacity=100); +} + +/*** +Language Bar +***/ + +.header.navbar .navbar-nav > li.dropdown.language { + padding-left: 0; + padding-right: 0; + margin: 0; +} + +.header.navbar .navbar-nav > li.dropdown.language > a { + color: #ddd; + font-size: 13px; + padding: 11px 1px 11px 5px; +} + +.header.navbar .navbar-nav > li.dropdown.language > a > img { + margin-bottom: 2px; +} + +.header.navbar .navbar-nav > li.dropdown.language > a > i { + font-size: 16px; +} + +.header.navbar .navbar-nav > li.dropdown.language > .dropdown-menu > li > a > img { + margin-bottom: 2px; +} + +.header.navbar .navbar-nav .dropdown-menu { + margin-top: 3px; +} + +/*** +Page container +***/ + +.page-container { + margin: 0px; + padding: 0px; + position: relative; +} + +.page-container:before, +.page-container:after { + display: table; + content: " "; +} + +.page-container:after { + clear: both; +} + +.page-header-fixed .page-container { + margin-top: 42px; +} + +/*** IE 8 Fixes ***/ +/*** +Page sidebar +***/ + +.ie8 .page-sidebar { + width: 225px; + float: left; + position: relative; + margin-right: -100%; +} + +/*** +Page content +***/ + +.ie8 .page-content-wrapper { + float: left; + width: 100%; + } + +.ie8 .page-content { + margin-left: 225px; + margin-top: 0px; + min-height: 540px; + padding: 20px 20px 20px 20px; + } +/*** IE 8 Fixes ***/ + +/*** +Page sidebar +***/ + +.page-sidebar.navbar-collapse { + padding: 0; +} + +.page-sidebar-menu { + list-style: none; + margin: 0; + padding: 0; + margin: 0; + padding: 0; +} + +.page-sidebar-menu > li { + display: block; + margin: 0; + padding: 0; + border: 0px; +} + +.page-sidebar-menu > li.start > a { + border-top-color: transparent !important; +} + +.page-sidebar-menu > li:last-child > a, +.page-sidebar-menu > li.last > a { + border-bottom-color: transparent !important; +} + +.page-sidebar-menu > li > a { + display: block; + position: relative; + margin: 0; + border: 0px; + padding: 10px 15px; + text-decoration: none; + font-size: 14px; + font-weight: 300; +} + +.page-sidebar-fixed .page-sidebar-menu > li > a { + -webkit-transition: all 0.2s ease; + -moz-transition: all 0.2s ease; + -o-transition: all 0.2s ease; + transition: all 0.2s ease; +} + +.page-sidebar-reversed.page-sidebar-fixed .page-sidebar-menu > li > a{ + -webkit-transition: none; + -moz-transition: none; + -o-transition: none; + transition: none; +} + +.page-sidebar-menu > li > a i { + font-size: 16px; + margin-right: 5px; + text-shadow:none; +} + +.page-sidebar-menu > li.break { + margin-bottom: 20px; +} + +.page-sidebar-menu > li.open > a { + font-size: 14px; +} + +.page-sidebar-menu > li.active > a { + border: none; + text-shadow:none; + font-size: 14px; +} + +.page-sidebar-menu > li.active > a .selected { + display: block; + width: 8px; + height: 25px; + background-image: url("../image/sidebar-menu-arrow.png"); + float: right; + position: absolute; + right:0px; + top:8px; +} + +.page-sidebar-reversed .page-sidebar-menu > li.active > a .selected { + background-image: url("../image/sidebar-menu-arrow-reverse.png"); + right: auto; + left:0; +} + +.page-sidebar ul > li > a > .arrow:before { + float: right; + margin-top: 0px; + margin-right: 5px; + display: inline; + font-size: 16px; + font-family: FontAwesome; + height: auto; + content: "\f104"; + font-weight: 300; + text-shadow:none; +} + +.page-sidebar-menu > li > a > .arrow.open:before { + float: right; + margin-top: 0px; + margin-right: 3px; + display: inline; + font-family: FontAwesome; + height: auto; + font-size: 16px; + content: "\f107"; + font-weight: 300; + text-shadow:none; +} + +/* bagin: sidebar menu badges */ +.page-sidebar-menu li > a > .badge { + float: right; + margin-top: 1px; + margin-right: 13px; +} + +/* end: sidebar menu badges */ + +.page-sidebar-menu .sub-menu { + padding: 0; +} + +.page-sidebar-menu > li > ul.sub-menu { + display: none; + list-style: none; + clear: both; + margin: 8px 0px 8px 0px; +} + +.page-sidebar-menu > li.active > ul.sub-menu { + display: block; +} + +.page-sidebar-menu > li > ul.sub-menu > li { + background: none; + margin: 0px; + padding: 0px; + margin-top: 1px !important; +} + +.page-sidebar-menu > li > ul.sub-menu > li > a { + display: block; + margin: 0px 0px 0px 0px; + padding: 5px 0px; + padding-left: 44px !important; + text-decoration: none; + font-size: 14px; + font-weight: 300; + background: none; +} + +/* 3rd level sub menu */ +.page-sidebar-menu > li > ul.sub-menu > li ul.sub-menu { + display: none; + list-style: none; + clear: both; + margin: 0px 0px 0px 0px; +} + +.page-sidebar-menu > li > ul.sub-menu li > a > .arrow:before { + float: right; + margin-top: 1px; + margin-right: 20px; + display: inline; + font-size: 16px; + font-family: FontAwesome; + height: auto; + content: "\f104"; + font-weight: 300; + text-shadow:none; +} + +.page-sidebar-menu > li > ul.sub-menu li > a > .arrow.open:before { + float: right; + margin-top: 1px; + margin-right: 18px; + display: inline; + font-family: FontAwesome; + height: auto; + font-size: 16px; + content: "\f107"; + font-weight: 300; + text-shadow:none; +} + +.page-sidebar-menu > li.active > ul.sub-menu > li.active ul.sub-menu { + display: block; +} + +.page-sidebar-menu > li > ul.sub-menu > li ul.sub-menu li { + background: none; + margin: 0px; + padding: 0px; + margin-top: 1px !important; +} + +.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a { + display: block; + margin: 0px 0px 0px 0px; + padding: 5px 0px; + text-decoration: none; + font-size: 14px; + font-weight: 300; + background: none; +} + +.page-sidebar-menu > li > ul.sub-menu > li > ul.sub-menu > li > a { + padding-left: 60px; +} + +.page-sidebar-menu > li > ul.sub-menu > li > ul.sub-menu > li > ul.sub-menu > li > a { + padding-left: 80px; +} + +.page-sidebar-menu > li.active > ul.sub-menu > li.active ul.sub-menu > li.active ul.sub-menu { + display: block; +} + + +.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a > i { + font-size: 13px; +} + +/*** +Sidebar Search +***/ + +.page-sidebar .sidebar-search { + padding:0; + margin: 0; +} + +.page-sidebar .header.navbar-responsive-search { + display: none; +} + +.page-sidebar .sidebar-search .form-container { + margin: 15px 20px 15px 20px; + height: 35px; + padding-top: 7px; +} + +.page-sidebar .sidebar-search .form-container .submit { + display: block; + float: right; + margin-top: 3px; + width: 13px; + height: 15px; + background-repeat: no-repeat; + box-shadow: none; + border: 0px; + padding: 0px; + outline: none !important; +} + +.page-sidebar .sidebar-search .form-container input[type="text"] { + margin: 0px; + width: 165px; + border: 0px; + padding: 0 !important; + font-size: 14px !important; + box-shadow: none !important; + font-size: 14px; + font-weight: normal; +} + +.page-sidebar .sidebar-search .form-container input[type="text"]:focus { + outline: none !important; +} + +/*** +Sidebar toggler(show/hide) +***/ +.sidebar-toggler { + cursor: pointer; + opacity: 0.5; + filter: alpha(opacity=50); + width: 29px; + height: 29px; + background-repeat: no-repeat; +} + +.sidebar-toggler:hover { + filter: alpha(opacity=100); + opacity: 1; +} + +.page-sidebar .sidebar-toggler { + margin-top: 15px; + /* margin-left: 175px;*/ +} + +.header.navbar .sidebar-toggler { + float: left; + display: inline-block; + margin-top: 6px; + margin-left: -42px; +} + +/*** +Page content +***/ +.page-content { + margin-top: 0px; + padding: 0px; + background-color: #fff; +} + +.ie8 .page-content { + padding: 20px; + margin-left: 225px; + margin-top: 0px; + min-height: 760px; +} + +.ie8 .page-sidebar-fixed .page-content { + min-height: 600px; +} + +.ie8 .page-content.no-min-height { + min-height: auto; +} + +.page-full-width .page-content { + margin-left: 0px !important; +} + +.page-full-width .page-sidebar-menu { + display: none; +} + +/*** +Page title +***/ +.page-title { + padding: 0px; + font-size: 30px; + letter-spacing: -1px; + display: block; + color: #666; + margin: 0px 0px 15px 0px; + font-weight: 300; + font-family: 'Open Sans', sans-serif; +} + +.page-title small { + font-size: 14px; + letter-spacing: 0px; + font-weight: 300; + color: #888; +} + +/*** +Page breadcrumb +***/ + +.ie8 .row .page-breadcrumb.breadcrumb > li { + margin-right: 1px; +} + +.page-content .page-breadcrumb.breadcrumb { + -webkit-border-radius: 0px; + -moz-border-radius: 0px; + border-radius: 0px; + box-shadow: none; + padding-right: 30px; + padding-left: 8px; + margin-top: 15px; + margin-bottom: 25px; + border:0px !important; + background-color: #fff; +} + +.page-content .page-breadcrumb.breadcrumb > li > a, +.page-content .page-breadcrumb.breadcrumb > li > i, +.page-content .page-breadcrumb.breadcrumb > li > span { + color: #333; + font-size: 14px; + text-shadow:none; +} + +.page-content .page-breadcrumb.breadcrumb > li > i { + color: #666; +} + +.page-content .page-breadcrumb.breadcrumb > li+li:before { + display: none; +} + +/* Dashboard breadcrumb Dropdown */ +.page-content .page-breadcrumb.breadcrumb .more-botton-zone .btn-group { + right: 15px; + position: absolute; + margin-top: -8px; +} +.page-content .page-breadcrumb.breadcrumb .more-botton-zone { + position:inherit; +} + +.page-content .page-breadcrumb.breadcrumb .more-botton-zone .btn-group .btn { + padding-top: 8px; + padding-bottom: 8px; + font-size: 12px; +} + +/* Dashboard date range panel */ +.page-content .page-breadcrumb.breadcrumb .dashboard-date-range { + position: relative; + top: -8px; + margin-right: -30px; + display: none; + padding: 9px 9px 8px 9px; + cursor: pointer; + color: #fff; + background-color: #e02222; +} + +/* hack for chrome and safari */ +@media all and (-webkit-min-device-pixel-ratio:0) { + .page-content .page-breadcrumb.breadcrumb .dashboard-date-range { + padding: 9px; + } +} + +.page-content .page-breadcrumb.breadcrumb .dashboard-date-range > span { + font-size: 12px; + font-weight: 300; + color: #fff; + text-transform: uppercase; +} + +.page-content .page-breadcrumb.breadcrumb .dashboard-date-range > .fa-calendar { + text-transform: none; + color: #fff; + margin-top: 0px; + font-size: 14px; +} + +.page-content .page-breadcrumb.breadcrumb .dashboard-date-range > .fa-angle-down { + color:#fff; + font-size: 16px; +} + +/*** +Footer +***/ + +.footer { + padding: 8px 20px 5px 20px; + font-size: 12px; +} + +.footer:after, +.footer:before { + content: ""; + display: table; + line-height: 0; +} + +.footer:after { + clear: both; +} + +.footer .footer-inner { + float: left; + display: inline-block; +} + +.footer .footer-tools { + float: right; + display: inline-block; +} + +.footer .footer-tools .go-top { + display: block; + text-decoration: none; + cursor: pointer; + margin-top: -2px; + margin-right: 0px; + margin-bottom: 0px; + font-size: 16px; + padding: 0px 6px 0px 6px; +} + +.footer .footer-tools .go-top i { + font-size: 22px; + margin-bottom: 5px; +} + + +/******************** + GENERAL UI ELEMENTS +*********************/ + +/*** +Icon stuff +***/ +i.icon, a.icon { + color: #999; + margin-right: 5px; + font-weight: normal; + font-size: 13px; +} + +i.icon-black { + color: #000 !important; +} + +a.icon:hover { + text-decoration: none; + -webkit-transition: all 0.1s ease-in-out; + -moz-transition: all 0.1s ease-in-out; + -o-transition: all 0.1s ease-in-out; + -ms-transition: all 0.1s ease-in-out; + transition: all 0.1s ease-in-out; + opacity: .4; + filter:alpha(opacity=40); +} + +a.icon.huge i{ + font-size: 16px !important; +} + +i.big { + font-size: 20px; +} + +i.warning { + color: #d12610; +} + +i.critical { + color: #37b7f3; +} + +i.normal { + color: #52e136; +} + +/*** +Custom wells +***/ +.well { + background-color: #fafafa; + border: 1px solid #eee; + -webkit-border-radius: 0px; + -moz-border-radius: 0px; + border-radius: 0px; + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; +} + +.well.mini { + padding: 7px !important; +} + +/*** +Form stuff +***/ + + +/*** +Bordered form layout +***/ + +/*** +Input icons +***/ + +/* input with right aligned and colored icons */ + +/* input with left aligned icons */ +.input-icon { + position: relative; +} + + +.input-icon input { + padding-left: 33px !important; +} + +.input-icon i { + color: #ccc; + display: block; + position: absolute; + margin: 11px 2px 4px 10px; + width: 16px; + height: 16px; + font-size: 16px; + text-align: center; +} + +.input-icon.right input { + padding-left: 12px !important; + padding-right: 33px !important; +} + +.input-icon.right i { + right: 8px; + float: right; +} + +.has-success .input-icon > i { + color: #468847; +} + +.has-warning .input-icon > i { + color: #c09853; +} + +.has-error .input-icon > i { + color: #b94a48; +} + +/*** +Portlets +***/ +.portlet { + clear: both; + margin-top: 0px; + margin-bottom: 25px; + padding: 0px; +} + +.portlet > .portlet-title { + margin-bottom: 15px; + border-bottom: 1px solid #eee; +} + +.portlet > .portlet-title:after, +.portlet > .portlet-title:before { + content: ""; + display: table; + line-height: 0; +} + +.portlet > .portlet-title:after { + clear: both; +} + +.portlet > .portlet-title > .caption { + float: left; + display: inline-block; + font-size: 18px; + line-height: 18px; + font-weight: 400; + margin: 0; + padding: 0; + margin-bottom: 8px; +} + +.portlet > .portlet-title > .caption > i { + float: left; + margin-top: 4px; + display: inline-block !important; + font-size: 13px; + margin-right: 5px; + color: #666; +} + +.portlet.blue > .portlet-title > .caption, +.portlet.green > .portlet-title > .caption, +.portlet.yellow > .portlet-title > .caption, +.portlet.red > .portlet-title > .caption, +.portlet.purple > .portlet-title > .caption, +.portlet.grey > .portlet-title > .caption { + color: #fff; +} + +.portlet.box.blue > .portlet-title > .caption > i, +.portlet.box.green > .portlet-title > .caption > i, +.portlet.box.grey > .portlet-title > .caption > i, +.portlet.box.yellow > .portlet-title > .caption > i, +.portlet.box.red > .portlet-title > .caption > i, +.portlet.box.purple > .portlet-title > .caption > i, +.portlet.box.light-grey > .portlet-title > .caption > i{ + color: #fff; +} + +.sortable .portlet > .portlet-title { + cursor: move; +} + +.portlet > .portlet-title > .tools, +.portlet > .portlet-title > .actions + { + display: inline-block; + padding: 0; + margin: 0; + margin-top: 6px; + float: right; +} + +.portlet > .portlet-title > .tools > a { + display: inline-block; + height: 16px; + margin-left:5px; +} + +.portlet > .portlet-title > .actions > .dropdown-menu i { + color: #000 !important; +} + +.portlet > .portlet-title > .tools > a.remove { + margin-bottom: 2px; + background-image:url(../image/portlet-remove-icon.png); + background-repeat: no-repeat; + width: 11px; +} + +.portlet > .portlet-title > .tools > a.config { + margin-bottom: 2px; + background-image:url(../image/portlet-config-icon.png); + background-repeat: no-repeat; + width: 12px; +} + +.portlet > .portlet-title > .tools > a.reload { + margin-bottom: 2px; + background-image:url(../image/portlet-reload-icon.png); + width: 13px; +} + +.portlet > .portlet-title > .tools > a.expand { + margin-bottom: 2px; + background-image:url(../image/portlet-expand-icon.png); + width: 14px; +} + +.portlet > .portlet-title > .tools > a.collapse { + margin-bottom: 2px; + background-image:url(../image/portlet-collapse-icon.png); + width: 14px; +} + +.portlet > .portlet-title > .tools > a:hover { + text-decoration: none; + -webkit-transition: all 0.1s ease-in-out; + -moz-transition: all 0.1s ease-in-out; + -o-transition: all 0.1s ease-in-out; + -ms-transition: all 0.1s ease-in-out; + transition: all 0.1s ease-in-out; + opacity:.6; + filter:'alpha(opacity=60)'; +} + +.portlet > .portlet-title > .actions > .btn-group { + margin-top: -13px; +} + +.portlet > .portlet-title > .actions > .btn { + padding: 4px 10px; + margin-top: -14px; +} + +.portlet > .portlet-title > .actions > .btn-group > .btn { + padding: 4px 10px; + margin-top: -1px; +} + +.portlet > .portlet-title > .actions > .btn.btn-sm { + padding: 3px 8px; + margin-top: -13px; +} + +.portlet > .portlet-title > .actions > .btn-group > .btn-sm { + padding: 3px 8px; + margin-top: -1px; +} + +.portlet > .portlet-title > .pagination.pagination-sm { + float: right !important; + display: inline-block !important; + margin: 0px; + margin-top: -4px; +} + +@media (max-width: 767px) { + .portlet > .portlet-title > .actions.btn-set > .btn-group, + .portlet > .portlet-title > .actions.btn-set > .btn { + margin-top: 0px; + margin-bottom: 5px; + } +} + +.portlet > .portlet-body { + clear: both; + padding: 0; +} + +.portlet > .portlet-empty { + min-height: 125px; +} + +.portlet > .portlet-body.light-blue, .portlet.light-blue { + background-color: #bfd5fa !important; +} + +.portlet > .portlet-body.blue, .portlet.blue { + background-color: #4b8df8 !important; +} + +.portlet > .portlet-body.red, .portlet.red { + background-color: #e02222 !important; +} + +.portlet > .portlet-body.yellow, .portlet.yellow { + background-color: #ffb848 !important; +} + +.portlet > .portlet-body.green, .portlet.green { + background-color: #35aa47 !important; +} + +.portlet > .portlet-body.purple, .portlet.purple { + background-color: #852b99 !important; +} + +.portlet > .portlet-body.light-grey, .portlet.light-grey { + background-color: #fafafa !important; +} + +.portlet > .portlet-body.grey, .portlet.grey { + background-color: #555555 !important; +} + +/* draggable girds */ + +.ui-sortable-placeholder { + border: 1px dotted black; + visibility: visible !important; + height: 100% !important; +} + +.ui-sortable-placeholder * { + visibility: hidden; +} + +.sortable-box-placeholder { + background-color: #f5f5f5; + border: 1px dashed #DDDDDD; + display: block; + /* float: left;*/ + margin-top: 0px !important; + margin-bottom: 24px !important; +} + +.sortable-box-placeholder * { + visibility:hidden; +} + +/*** +Solid colored portlet +***/ +.portlet.solid { + padding: 10px; +} + +.portlet.solid > .portlet-title > .tools { + margin-top: 2px; + border: 0px; +} + +.portlet.solid > .portlet-title { + margin-bottom: 5px; + border: 0px; +} + +.portlet.solid.bordered > .portlet-title { + margin-bottom: 15px; +} + +.portlet.solid.red > .portlet-title, +.portlet.solid.red > .portlet-title > .caption > i, +.portlet.solid.red > .portlet-body, + +.portlet.solid.green > .portlet-title, +.portlet.solid.green > .portlet-title > .caption > i, +.portlet.solid.green > .portlet-body, + +.portlet.solid.yellow > .portlet-title, +.portlet.solid.yellow > .portlet-title > .caption > i, +.portlet.solid.yellow > .portlet-body, + +.portlet.solid.grey > .portlet-title, +.portlet.solid.grey > .portlet-title > .caption > i, +.portlet.solid.grey > .portlet-body, + +.portlet.solid.purple > .portlet-title, +.portlet.solid.purple > .portlet-title > .caption > i, +.portlet.solid.purple > .portlet-body, + +.portlet.solid.blue > .portlet-title, +.portlet.solid.blue > .portlet-title > .caption > i, +.portlet.solid.blue > .portlet-body { + border: 0; + color: #fff; +} + +.portlet.bordered { + border-left: 2px solid #ddd; +} + +/*** +Box portlet +***/ + +.portlet.box { + padding:0px !important +} + +.portlet.box > .portlet-title { + padding:8px 10px 2px 10px; + border-bottom: 1px solid #eee; + color: #fff !important; +} + +.portlet.box > .portlet-title > .tools { + margin-top: 3px; +} + +.portlet.box > .portlet-title > .tools > a.remove, +.portlet.solid > .portlet-title > .tools > a.remove { + background-image:url(../image/portlet-remove-icon-white.png); +} + +.portlet.box > .portlet-title > .tools > a.config, +.portlet.solid > .portlet-title > .tools > a.config { + background-image:url(../image/portlet-config-icon-white.png); +} + +.portlet.box > .portlet-title > .tools > a.reload, +.portlet.solid > .portlet-title > .tools > a.reload { + background-image:url(../image/portlet-reload-icon-white.png); +} + +.portlet.box > .portlet-title > .tools > a.expand, +.portlet.solid > .portlet-title > .tools > a.expand { + background-image:url(../image/portlet-expand-icon-white.png); +} + +.portlet.box > .portlet-title > .tools > a.collapse, +.portlet.solid > .portlet-title > .tools > a.collapse { + background-image:url(../image/portlet-collapse-icon-white.png); +} + +/* portlet buttons */ +.portlet.box > .portlet-body { + background-color: #fff; + padding: 10px; +} + +.portlet.box > .portlet-title { + margin-bottom: 0px; +} + +.portlet.box.blue > .portlet-title { + background-color: #4b8df8; +} + +.portlet.box.blue { + border: 1px solid #b4cef8; + border-top: 0; +} + +.portlet.box.red > .portlet-title { + background-color: #e02222; +} + +.portlet.box.red { + border: 1px solid #ef8476; + border-top: 0; +} + +.portlet.box.yellow > .portlet-title { + background-color: #ffb848; +} + +.portlet.box.yellow { + border: 1px solid #fccb7e; + border-top: 0; +} + +.portlet.box.green > .portlet-title { + background-color: #35aa47; +} + +.portlet.box.green { + border: 1px solid #77e588; + border-top: 0; +} + +.portlet.box.purple > .portlet-title { + background-color: #852b99; +} + +.portlet.box.purple { + border: 1px solid #af5cc1; + border-top: 0; +} + +.portlet.box.grey > .portlet-title { + background-color: #555555; +} + +.portlet.box.grey { + border: 1px solid #9d9c9c; + border-top: 0; +} + +.portlet.box.light-grey > .portlet-title { + background-color: #aaa; +} + +.portlet.box.light-grey { + border: 1px solid #bbb; + border-top: 0; +} + +/*** +Charts and statistics +***/ +.chart, .pie, .bars { + overflow: hidden; + height: 300px; +} + +/*** +Statistic lists +***/ +.item-list.table .percent { + width: 30px; + float: right; + margin-right: 10px; + margin-top: 3px; +} + +/*** +Chart tooltips +***/ +.chart-tooltip { + clear: both; + z-index: 100; + background-color: #736e6e !important; + padding: 5px !important; + color: #fff; +} + +.chart-tooltip .label { + clear: both; + display: block; + margin-bottom: 2px; +} + +/*** +Mini chart containers +***/ +.bar-chart { + display: none +} + +.line-chart { + display: none +} + +/*** +Custom icon buttons +***/ +.icon-btn { + height: 60px; + min-width: 80px; + margin: 5px 5px 0 0; + border: 1px solid #ddd; + padding: 12px 0px 0px 0px; + background-color: #fafafa !important; + background-image: none !important; + filter:none !important; + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; + display:inline-block !important; + color: #646464 !important; + text-shadow: none !important; + text-align: center; + cursor: pointer; + position: relative; + -webkit-transition: all 0.3s ease !important; + -moz-transition: all 0.3s ease !important; + -ms-transition: all 0.3s ease !important; + -o-transition: all 0.3s ease !important; + transition: all 0.3s ease !important; +} + +.icon-btn i { + font-size: 18px; +} + +.ie8 .icon-btn:hover { + filter: none !important; +} + +.icon-btn:hover { + text-decoration: none !important; + border-color: #999 !important; + color: #444 !important; + text-shadow: 0 1px 0px rgba(255, 255, 255, 1) !important; + -webkit-transition: all 0.3s ease !important; + -moz-transition: all 0.3s ease !important; + -ms-transition: all 0.3s ease !important; + -o-transition: all 0.3s ease !important; + transition: all 0.3s ease !important; + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; +} + +.icon-btn:hover .badge { + -webkit-transition: all 0.3s ease !important; + -moz-transition: all 0.3s ease !important; + -ms-transition: all 0.3s ease !important; + -o-transition: all 0.3s ease !important; + transition: all 0.3s ease !important; + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; +} + +.icon-btn div { + font-family: 'Open Sans', sans-serif; + margin-top: 5px; + margin-bottom: 20px; + color: #000; + font-size: 12px; + font-weight: 300; +} + +.icon-btn .badge { + position: absolute; + font-family: 'Open Sans', sans-serif; + font-size: 11px !important; + font-weight: 300; + top: -5px; + right: -5px; + padding: 3px 6px 3px 6px; + color: white !important; + text-shadow: none; + border-width: 0; + border-style: solid; + -webkit-border-radius: 12px !important; + -moz-border-radius: 12px !important; + border-radius: 12px !important; + -webkit-box-shadow: none; + -moz-box-shadow: none; + box-shadow: none; +} + +/* extended dropdowns */ +.dropdown-menu.extended { + min-width: 160px !important; + max-width: 300px !important; + width: 233px !important; + background-color: #ffffff !important; +} + +.dropdown-menu.extended:before, +.dropdown-menu.extended:after { + border-bottom-color: #ddd !important; +} + +.dropdown-menu.extended li a{ + display: block; + padding: 5px 10px !important; + clear: both; + font-weight: normal; + line-height: 20px; + white-space: normal !important; +} + +.dropdown-menu.extended li i{ + margin-right: 3px; +} + +.dropdown-menu.extended li a{ + font-size: 13px; + padding: 10px !important; + background-color: #ffffff; +} + +.dropdown-menu.extended li a:hover { + background-image: none; + background-color: #f5f5f5; + color: #000; + filter:none; +} + +.dropdown-menu.extended li p{ + padding: 10px; + background-color: #eee; + margin: 0px; + font-size: 14px; + font-weight: 300; + color: #000; +} + +.dropdown-menu.extended li a{ + padding: 7px 0 5px 0px; + list-style: none; + border-bottom: 1px solid #f4f4f4 !important; + font-size: 12px; + text-shadow: none; +} + +.dropdown-menu.extended li:first-child a { + border-top: none; + border-bottom: 1px solid #f4f4f4 !important; +} + +.dropdown-menu.extended li:last-child a { + border-top: 1px solid white !important; + border-bottom: 1px solid #f4f4f4 !important; +} + +.dropdown-menu.extended li.external > a { + font-size: 13px; + font-weight: 400; +} + +.dropdown-menu.extended li.external > a > i{ + margin-top: 3px; + float: right; +} + +/* header notifications dropdowns */ +.dropdown-menu .dropdown-menu-list.scroller { + padding-right: 0 !important; + padding-left: 0; + list-style: none; +} + +.dropdown-menu.notification li > a .time { + font-size: 12px; + font-weight: 600; + text-align: right; + font-style: italic; +} + +/* header inbox dropdowns */ +.dropdown-menu.inbox li > a .photo { + float: left; + padding-right: 6px; +} + +.dropdown-menu.inbox li > a .photo > img { + height: 40px; + width: 40px; +} + +.dropdown-menu.inbox li > a .subject { + display: block; +} + +.dropdown-menu.inbox li > a .subject .from { + font-size: 14px; + font-weight: 400; + color: #02689b; +} + +.dropdown-menu.inbox li > a .subject .time { + font-size: 12px; + font-weight: 600; + font-style: italic; + position: relative; + float: right; +} + +.dropdown-menu.inbox li > a .message { + display: block !important; + font-size: 12px; +} + +/* header tasks */ +.dropdown-menu.tasks .task { + margin-bottom: 5px; +} + +.dropdown-menu.tasks .task .desc { + font-size: 13px; + font-weight: 300; +} + +.dropdown-menu.tasks .task .percent { + font-size: 14px; + font-weight: 600; + font-family: 'Open Sans', sans-serif; + float: right; + display: inline-block; +} + +.dropdown-menu.tasks .progress { + display: block; + height: 11px; + margin: 0px; +} + +/*** +General list for item with image +***/ +.item-list li .img { + height: 50px; + width: 50px; + float: left; + margin-top: 3px; + margin-right: 5px; +} + +.item-list { + margin: 0px; + list-style: none; +} + +.item-list li { + padding: 7px 0 5px 0px; + list-style: none; + border-top: 1px solid white; + border-bottom: 1px solid #EBEBEB; + font-size: 12px; +} + +.item-list li:first-child { + border-top: none; + border-bottom: 1px solid #EBEBEB; +} + +.item-list li:last-child { + border-top: none; + border-bottom: none; +} + +.item-list li .label { + margin-right: 5px; +} + +.item-list.todo li .label { + position: absolute; + right: 80px; +} + +.item-list.todo li .actions { + position: absolute; + right: 45px; +} + +/*** +Custom tables +***/ +.table-toolbar { + margin-bottom: 15px; +} + +.table.table-full-width { + width: 100% !important; +} + +.table .m-btn { + margin-top: 0px; + margin-left: 0px; + margin-right: 5px; +} + +.table thead tr th { + font-size: 14px; + font-weight: 600; +} + +.table-advance { + margin-bottom: 10px !important; +} + +.table-advance thead { + color: #999; +} + +.table-advance thead tr th{ + background-color: #DDD; + font-size: 14px; + font-weight: 400; + color: #666; +} + +.table-advance div.success, +.table-advance div.info, +.table-advance div.important, +.table-advance div.warning, +.table-advance div.danger { + position: absolute; + margin-top:-5px; + float: left; + width: 2px; + height: 30px; + margin-right: 20px !important; +} + +.table-advance tr td { + border-left-width: 0px; +} +.table-advance tr td:first-child { + border-left-width: 1px !important; +} + +.table-advance tr td.highlight:first-child a { + margin-left: 15px; +} + +.table-advance td.highlight div.success { + border-left: 2px solid #66ee66; +} + +.table-advance td.highlight div.info { + border-left: 2px solid #87ceeb; +} + +.table-advance td.highlight div.important { + border-left: 2px solid #f02c71; +} + +.table-advance td.highlight div.warning { + border-left: 2px solid #fdbb39; +} + +.table-advance td.highlight div.danger { + border-left: 2px solid #e23e29; +} + +/*** +Star rating +***/ +.rating { + unicode-bidi: bidi-override; + direction: rtl; + font-size: 30px; +} + +.rating span.star { + font-family: FontAwesome; + font-weight: normal; + font-style: normal; + display: inline-block; +} + +.rating span.star:hover { + cursor: pointer; +} + +.rating span.star:before { + content: "\f006"; + padding-right: 5px; + color: #999999; +} + +.rating span.star:hover:before, +.rating span.star:hover ~ span.star:before { + content: "\f005"; + color: #e3cf7a; +} + + +/*** +Item block with details shown on hover +***/ +.item { + overflow: hidden; + display: block; + margin-bottom: 20px; +} + +.item .details { + width: 100%; + display: none; + background-color: #000; + color: #fff !important; + padding: 5px; + text-align: center; + position: relative; + bottom:30px; + margin-bottom:-30px; + overflow: hidden; + z-index: 6; +} + +.item:hover .details { + display: block; + opacity: 0.7; + filter: alpha(opacity = 70); +} + +.item:hover .zoom-icon{ + opacity:0.5; + filter: alpha(opacity = 50); +} + +/*** +Zoom icon overlay on images +***/ +.zoom { + cursor: pointer; + width: 100%; + height: 100%; + position: relative; + z-index: 5; +} + +.zoom .zoom-icon { + background-image:url("../image/overlay-icon.png"); + background-color: #222; + background-repeat: no-repeat; + background-position: 50%; + position: absolute; + width: inherit; + height: inherit; + opacity: 0; + filter: alpha(opacity = 0); + z-index: 6; + top:0; +} + +/*** +Chats +***/ +.chats { + margin:0; + padding: 0; + margin-top: -15px; +} + +.chats li { + list-style: none; + padding: 5px 0; + margin: 10px auto; + font-size: 12px; +} + +.chats li img.avatar { + height: 45px; + width: 45px; + -webkit-border-radius: 50% !important; + -moz-border-radius: 50% !important; + border-radius: 50% !important; +} + +.chats li.in img.avatar { + float: left; + margin-right: 10px; +} + +.chats li .name { + color:#3590c1; + font-size: 13px; + font-weight: 400; +} + +.chats li .datetime { + color:#333; + font-size: 13px; + font-weight: 400; +} + +.chats li.out img.avatar { + float: right; + margin-left: 10px; +} + +.chats li .message { + display: block; + padding: 5px; + position: relative; +} + +.chats li.in .message { + text-align: left; + border-left: 2px solid #35aa47; + margin-left: 65px; + background: #fafafa +} + +.chats li.in .message .arrow { + display: block; + position: absolute; + top: 5px; + left: -8px; + width: 0; + height: 0; + + border-top: 8px solid transparent; + border-bottom: 8px solid transparent; + border-right: 8px solid #35aa47; +} + +.chats li.out .message .arrow { + display: block; + position: absolute; + top: 5px; + right: -8px; + border-top: 8px solid transparent; + border-bottom: 8px solid transparent; + border-left: 8px solid #da4a38; +} + +.chats li.out .message { + border-right: 2px solid #da4a38; + margin-right: 65px; + background: #fafafa; + text-align: right; +} + +.chats li.out .name, +.chats li.out .datetime { + text-align: right; +} + +.chats li .message .body { + display: block; +} + +.chat-form { + margin-top: 15px; + padding: 10px; + background-color: #e9eff3; + overflow: hidden; + clear: both; +} + +.chat-form .input-cont { + margin-right: 40px; +} + +.chat-form .input-cont .form-control { + width: 100% !important; + margin-bottom: 0px; +} + +.chat-form .input-cont input{ + border: 1px solid #ddd; + width: 100% !important; + margin-top: 0; +} + +.chat-form .input-cont input { + background-color: #fff !important; +} + +.chat-form .input-cont input:focus{ + border: 1px solid #4b8df9 !important; +} + +.chat-form .btn-cont { + margin-top: -42px; + position: relative; + float: right; + width:44px; +} + +.chat-form .btn-cont .arrow { + position: absolute; + top: 17px; + right: 43px; + border-top: 8px solid transparent; + border-bottom: 8px solid transparent; + border-right: 8px solid #4d90fe; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} + +.chat-form .btn-cont:hover .arrow { + border-right-color: #0362fd; +} + +.chat-form .btn-cont:hover .btn { + background-color: #0362fd; +} + +.chat-form .btn-cont .btn { + margin-top: 8px; +} + +/*** +System feeds +***/ +.feeds { + margin: 0px; + padding: 0px; + list-style: none; +} + +.feeds li { + background-color: #fafafa; + margin-bottom: 7px; +} + +.feeds li:before, +.feeds li:after { + display: table; + line-height: 0; + content: ""; +} + +.feeds li:after { + clear: both; +} + +.feeds li:last-child { + margin-bottom: 0px; +} + +.feeds .col1 { + float:left; + width:100%; + clear: both; +} + +.feeds .col2 { + float:left; + width:75px; + margin-left:-75px; +} + +.feeds .col1 .cont { + float:left; + margin-right:75px; + overflow:hidden; +} + +.feeds .col1 .cont .cont-col1 { + float:left; + margin-right:-100%; +} + +.feeds .col1 .cont .cont-col1 .label { + display: inline-block; + padding: 5px 4px 6px 5px; + vertical-align: middle; + text-align: center; +} +.feeds .col1 .cont .cont-col1 .label > i { + text-align: center; + font-size: 14px; +} + +.feeds .col1 .cont .cont-col2 { + float:left; + width:100%; +} + +.feeds .col1 .cont .cont-col2 .desc { + margin-left:35px; + padding-top: 4px; + padding-bottom: 5px; + overflow:hidden; +} + +.feeds .col2 .date { + padding: 4px 9px 5px 4px; + text-align: right; + font-style: italic; + color:#c1cbd0; +} + +/*** +Users +***/ +.user-info { + margin-bottom: 10px !important; +} + +.user-info img { + float: left; + margin-right: 5px; +} + +.user-info .details { + display: inline-block; +} + +.user-info .label { + font-weight: 300; + font-size: 11px; +} + +/*** +Accordions +***/ +.accordion-heading { + background:#eee; +} + +.accordion-heading a { + text-decoration:none; +} + +.accordion-heading a:hover { + text-decoration:none; +} + +/*** +Vertical inline menu +***/ +.ver-inline-menu { + padding: 0; + margin: 0; + list-style: none; +} + +.ver-inline-menu li { + position:relative; + margin-bottom:1px; +} + +.ver-inline-menu li i { + width: 37px; + height: 37px; + display: inline-block; + color:#b9cbd5; + font-size:15px; + padding:12px 10px 10px 8px; + margin:0 8px 0 0; + text-align: center; + background:#e0eaf0 !important; +} + +.ver-inline-menu li a { + font-size: 13px; + color:#557386; + display:block; + background:#f0f6fa; + border-left:solid 2px #c4d5df; +} + +.ver-inline-menu li:hover a, +.ver-inline-menu li:hover i { + background:#e0eaf0; + text-decoration:none; +} + +.ver-inline-menu li:hover i { + color:#fff; + background:#c4d5df !important; +} + +.ver-inline-menu li.active a, +.ver-inline-menu li:hover a { + font-size: 13px; +} + +.ver-inline-menu li.active a { + border-left:solid 2px #0c91e5; +} + +.ver-inline-menu li.active a, +.ver-inline-menu li.active i { + color:#fff; + background:#169ef4; + text-decoration:none; +} + +.ver-inline-menu li.active i { + background:#0c91e5 !important; +} + +.ver-inline-menu li.active:after { + content: ''; + display: inline-block; + border-bottom: 6px solid transparent; + border-top: 6px solid transparent; + border-left: 6px solid #169ef4; + position: absolute; + top: 12px; + right: -5px; +} + +/*** +Custom tabs +***/ +.nav-tabs > li > a > .badge, +.nav-pills > li > a > .badge { + margin-top: -3px; +} + +.nav-tabs > li > a, +.nav-pills > li > a { + font-size: 14px; +} + +.nav-tabs-sm > li > a, +.nav-pills-sm > li > a { + font-size: 13px; +} + +.tabbable-custom { + margin-bottom: 15px; + padding: 0px; + overflow: hidden; +} + +.tabbable-custom > .nav-tabs { + border: none; + margin: 0px; +} + +.tabbable-custom > .tab-content { + background-color: #fff; + border: 1px solid #ddd; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; + padding: 10px; +} + +.tabbable-custom.nav-justified .tab-content { + margin-top: -1px; +} + +.tabs-below.tabbable-custom.nav-justified .tab-content { + margin-top: 0px; + margin-bottom: -2px; +} + +.tabbable-custom.boxless > .tab-content { + padding:15px 0; + border-left:none; + border-right:none; + border-bottom:none; +} + +.tabbable-custom .nav-tabs > li { + margin-right: 2px; + border-top: 2px solid transparent; +} + +.tabbable-custom .nav-tabs > li > a { + margin-right: 0; + } + +.tabbable-custom .nav-tabs > li > a:hover { + background: none; + border-color:transparent; +} + +.tabbable-custom .nav-tabs > li.active { + border-top: 3px solid #d12610; + margin-top: 0; + position: relative; +} + +.tabbable-custom .nav-tabs > li.active > a { + border-top: none; + font-weight: 400; +} + +.tabbable-custom .nav-tabs > li.active > a:hover { + border-top: none; + background: #fff; + border-color: #d4d4d4 #d4d4d4 transparent; +} + +.tabbable-custom .nav-tabs > li { + margin-right: 2px; + border-top: 2px solid transparent; +} + +/* below tabs */ + +.tabs-below.tabbable-custom .nav-tabs > li > a { + border-top: none; + border-bottom: 2px solid transparent; + margin-top: -1px; +} + +.tabs-below.tabbable-custom .nav-tabs > li.active { + border-top: none; + border-bottom: 3px solid #d12610; + margin-bottom: 0; + position: relative; +} + +.tabs-below.tabbable-custom .nav-tabs > li.active > a { + border-bottom: none +} + +.tabs-below.tabbable-custom .nav-tabs > li.active > a:hover { + background: #fff; + border-color: #d4d4d4 #d4d4d4 transparent; +} + +/*full width tabs with bigger titles */ +.tabbable-custom.tabbable-full-width > .tab-content { + padding:15px 0; + border-left:none; + border-right:none; + border-bottom:none; +} + +.tabbable-custom.tabbable-full-width .nav-tabs > li > a { + color:#424242; + font-size:15px; + padding:9px 15px; +} + +/*** +Custom portlet tabs +***/ + +.portlet-tabs > .nav-tabs { + position: relative; + top: -41px; + margin-right: 10px; + overflow: hidden; +} + +.portlet-tabs > .nav-tabs > li { + float: right; +} + +.portlet-tabs > .nav-tabs { + border-bottom: none; +} + +.portlet-tabs > .nav-tabs > li > a { + color: #fff; + padding-top: 8px; + padding-bottom: 10px; + line-height: 16px; + margin-top: 6px; + margin-left: 0px; + margin-right: 0px; + border-left: 0; + border-right: 0; + -webkit-border-radius: 0px; + -moz-border-radius: 0px; + border-radius: 0px; +} + +.portlet-tabs > .nav-tabs > li:last-child > a { + border-right:0; +} + +.portlet-tabs > .nav-tabs > li { + margin-left: 1px; +} + +.portlet-tabs > .nav-tabs > li.active { + color: #333; + border-top-color: transparent; +} + +.portlet-tabs > .nav-tabs > li.active > a { + margin-bottom: 0px; + border-bottom: 0; + margin-left: 0px; + margin-right: 0px; + border-left: 0; + border-right: 0; + border-top-color:transparent !important; +} + +.portlet-tabs > .nav-tabs > li > a:hover { + color: #333; + margin-bottom: 0; + border-bottom-color: transparent; + margin-left: 0; + margin-right: 0; + border-left: 0; + border-right: 0; + border-top-color:transparent; + background-color: #fff; +} + +.portlet-tabs > .nav-tabs > .active > a { + color: #555555; + cursor: default; + background-color: #fff; +} + +.portlet-tabs > .nav-tabs > .active > a:hover { + background-color: #fff !important; +} + +.portlet-tabs > .tab-content { + padding: 10px !important; + margin: 0px; + margin-top: -50px !important; +} + +.portlet.tabbable .portlet-body { + padding: 0px; +} + +.tab-pane > p:last-child { + margin-bottom: 0px; +} + +/* reverse aligned tabs */ + +.tabs-reversed > li { + float: right; +} + +.tabs-reversed > li, +.tabs-reversed > li > a { + margin-right: 0; +} + +/*** +Dashboard container +***/ + +#dashboard { + overflow: hidden; +} + +/*** +Dashboard stats +***/ +.dashboard-stat { + margin-bottom: 25px; +} + +.portlet .dashboard-stat:last-child { + margin-bottom: 0; +} + +.dashboard-stat:before, +.dashboard-stat:after { + display: table; + line-height: 0; + content: ""; +} +.dashboard-stat:after { + clear: both; +} + +.dashboard-stat .visual { + width: 80px; + height:80px; + display: block; + float: left; + padding-top: 10px; + padding-left: 15px; + margin-bottom: 10px; +} + +.dashboard-stat .visual i { + font-size: 65px; + line-height: 65px; + color: #fff; +} + +.dashboard-stat .visual { + font-size: 35px; + line-height: 35px; +} + +@media (min-width: 992px) and (max-width: 1024px) { + + .dashboard-stat .visual i { + font-size: 28px; + line-height: 28px; + } + +} + +.dashboard-stat .details { + position: absolute; + right: 15px; + padding-right: 10px; +} + +.dashboard-stat .details .number { + padding-top: 15px; + text-align: right; + font-size: 34px; + line-height: 34px; + letter-spacing: -1px; + margin-bottom: 5px; + font-weight: 300; + color: #fff; +} + +.dashboard-stat .details .desc { + text-align: right; + font-size: 16px; + letter-spacing: 0px; + font-weight: 300; + color: #fff; +} + +.dashboard-stat .more { + clear: both; + display: block; + padding: 5px 10px 5px 10px; + text-transform: uppercase; + font-weight: 300; + font-size: 11px; + color: #fff; + opacity: 0.7; + filter: alpha(opacity=70); +} + +.dashboard-stat .more:hover { + text-decoration: none; + opacity: 1; + filter: alpha(opacity=100); +} + +.dashboard-stat .more > i { + display: inline-block; + margin-top: 1px; + float: right; +} + +.dashboard-stat.blue { + background-color: #27a9e3; +} + +.dashboard-stat.blue .more { + background-color: #208dbe; +} + +.dashboard-stat.green { + background-color: #28b779; +} + +.dashboard-stat.green .more { + background-color: #10a062; +} + +.dashboard-stat.red { + background-color: #e7191b; +} + +.dashboard-stat.red .more { + background-color:#bc0d0e; +} + +.dashboard-stat.yellow { + background-color: #ffb848; +} + +.dashboard-stat.yellow .more { + background-color: #cb871b; +} + +.dashboard-stat.purple { + background-color: #852b99; +} + +.dashboard-stat.purple .more { + background-color: #6e1881; +} + +/*** +Text Stats +***/ + +.text-stat h3 { + margin-top: 5px; + margin-bottom: 0px; + font-size: 18px; +} + +.text-stat span { + font-size: 12px; + text-transform: uppercase; +} + +@media (max-width: 767px) { + + .text-stat { + margin-top: 20px; + } + +} + +/*** +Tiles(new in v1.1.1) +***/ + +.tiles { + margin-right: -10px; +} + +.tiles:before, +.tiles:after { + display: table; + content: " "; +} + +.tiles:after { + clear: both; +} + +.tile { + display: block; + letter-spacing: 0.02em; + float: left; + height: 135px; + width: 135px !important; + cursor: pointer; + text-decoration: none; + color: #ffffff; + position: relative; + font-weight: 300; + font-size: 12px; + letter-spacing: 0.02em; + line-height: 20px; + overflow: hidden; + border: 4px solid transparent; + margin: 0 10px 10px 0; +} + +.tile:after, +.tile:before { + content: ""; + float: left; +} + +.tile.double { + width: 280px !important; +} + +.tile.double-down { + height: 280px !important; +} + +.tile:active, .tile.selected { + border-color: #ccc !important; +} + +.tile:hover { + border-color: #aaa !important; +} + +.tile.selected .corner:after { + content: ""; + display: inline-block; + border-left: 40px solid transparent; + border-bottom: 40px solid transparent; + border-right: 40px solid #ccc; + position: absolute; + top: -3px; + right: -3px; +} + +.tile.selected .check:after { + content: ""; + font-family: FontAwesome; + font-size: 13px; + content: "\f00c"; + display: inline-block; + position: absolute; + top: 2px; + right: 2px; +} + +.tile * { + color: #ffffff; +} + +.tile .tile-body { + height: 100%; + vertical-align: top; + padding: 10px 10px; + overflow: hidden; + position: relative; + font-weight: 400; + font-size: 12px; + color: #000000; + color: #ffffff; + margin-bottom: 10px; +} + +.tile .tile-body img { + float: left; + margin-right: 10px; +} + +.tile .tile-body img.pull-right { + float: right !important; + margin-left: 10px; + margin-right: 0px; +} + +.tile .tile-body .content { + display: inline-block; +} + +.tile .tile-body > i { + margin-top: 17px; + display: block; + font-size: 56px; + line-height: 56px; + text-align: center; +} + + +.tile.double-down i { + margin-top: 95px; +} + +.tile .tile-body h1, +.tile .tile-body h2, +.tile .tile-body h3, +.tile .tile-body h4, +.tile .tile-body h5, +.tile .tile-body h6, +.tile .tile-body p { + padding: 0; + margin: 0; + line-height: 14px; +} + +.tile .tile-body h3, +.tile .tile-body h4 { + margin-bottom: 5px; +} + +.tile .tile-body h1:hover, +.tile .tile-body h2:hover, +.tile .tile-body h3:hover, +.tile .tile-body h4:hover, +.tile .tile-body h5:hover, +.tile .tile-body h6:hover, +.tile .tile-body p:hover { + color: #ffffff; +} + +.tile .tile-body p { + font-weight: 400; + font-size: 13px; + color: #000000; + color: #ffffff; + line-height: 20px; + overflow: hidden; +} + +.tile .tile-body p:hover { + color: rgba(0, 0, 0, 0.8); +} + +.tile .tile-body p:active { + color: rgba(0, 0, 0, 0.4); +} + +.tile .tile-body p:hover { + color: #ffffff; +} + +.tile.icon > .tile-body { + padding: 0; +} + +.tile .tile-object { + position: absolute; + bottom: 0; + left: 0; + right: 0; + min-height: 30px; + background-color: transparent; + *zoom: 1; +} + +.tile .tile-object:before, +.tile .tile-object:after { + display: table; + content: ""; +} + +.tile .tile-object:after { + clear: both; +} + +.tile .tile-object > .name { + position: absolute; + bottom: 0; + left: 0; + margin-bottom: 5px; + margin-left: 10px; + margin-right: 15px; + font-weight: 400; + font-size: 13px; + color: #ffffff; +} + +.tile .tile-object > .name > i { + vertical-align: middle; + display: block; + font-size: 24px; + height: 18px; + width: 24px; +} + +.tile .tile-object > .number { + position: absolute; + bottom: 0; + right: 0; + margin-bottom: 0; + color: #ffffff; + text-align: center; + font-weight: 600; + font-size: 14px; + letter-spacing: 0.01em; + line-height: 14px; + margin-bottom: 8px; + margin-right: 10px; +} + +.tile.image > .tile-body { + padding: 0 !important; +} + +.tile.image > .tile-body > img{ + width: 100%; + height: auto; + min-height: 100%; + max-width: 100%; +} + +.tile.image .tile-body h3 { + display: inline-block; +} + +/*** +Theme Panel +***/ + +.theme-panel { + width: 400px; + margin-top: 0px; + margin-right: 1px; + z-index: 999; + float: right; + position:relative; +} + +.theme-panel > .toggler { + top:4px; + right:0; + padding:20px; + cursor:pointer; + position:absolute; + background:#c9c9c9 url(../image/icon-color.png) center no-repeat; +} + +.theme-panel > .toggler:hover { + background-color: #3d3d3d !important; +} + +.theme-panel > .toggler-close { + display: none; + top:4px; + right:0; + padding:20px; + cursor:pointer; + position:absolute; + background: #3d3d3d url(../image/icon-color-close.png) center no-repeat !important; +} + +.theme-panel > .toggler-close:hover { + background-color:#222 !important; +} + +.theme-panel > .theme-options { + top:4px; + right:40px; + display:none; + position:absolute; + background:#3d3d3d; +} + +.theme-panel > .theme-options > .theme-option { + color:#cfcfcf; + padding: 15px; + border-top:1px solid #585858; + margin-top: 0px; + margin-bottom: 0px; +} + +.theme-panel > .theme-options > .theme-option.theme-colors { + border-top: 0; +} + +.theme-panel > .theme-options > .theme-option > span { + text-transform:uppercase; + display: inline-block; + width: 138px; + font-size: 14px; +} + +.theme-panel > .theme-options > .theme-option.theme-colors > span { + display: block; + width: auto; +} + +.theme-panel > .theme-options > .theme-option > select.form-control { + display: inline; + width: 100px; + text-transform: lowercase; +} + +.theme-panel > .theme-options > .theme-option.theme-colors > ul { + list-style:none; + padding: 0; + display: block; + margin-bottom: 1px !important; + margin-top: 10px; +} + +.theme-panel > .theme-options > .theme-option.theme-colors > ul > li { + width:37px; + height:37px; + margin:0 4px; + cursor:pointer; + list-style:none; + float: left; + border:solid 1px #707070; +} + +.theme-panel > .theme-options > .theme-option.theme-colors > ul > li:first-child { + margin-left: 0; +} + +.theme-panel > .theme-options > .theme-option.theme-colors > ul > li:hover, +.theme-panel > .theme-options > .theme-option.theme-colors > ul > li.current { + border:solid 2px #ebebeb; +} + +.theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-black { + background:#333438; +} + +.theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-grey { + background:#6d6d6d; +} + +.theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-ztebluelight { + background:#3366cc; +} +.theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-ztebluelight { + background:#1ab3ec; +} + +.theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-blue { + background:#124f94; +} + +.theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-brown { + background:#623f18; +} + +.theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-purple { + background:#701584; +} + +.theme-panel > .theme-options > .theme-option.theme-colors > ul > li.color-white { + background:#fff; +} + +/*** +Top bar menu +***/ + +/* enable arrow for dropdown menu */ +.header.navbar .nav > li > .dropdown-menu:before { + position: absolute; + top: -7px; + right: 9px; + display: inline-block !important; + border-right: 7px solid transparent; + border-bottom: 7px solid #ccc; + border-left: 7px solid transparent; + border-bottom-color: rgba(0, 0, 0, 0.2); + content: ''; +} + +.header.navbar .nav > li > .dropdown-menu:after { + position: absolute; + top: -6px; + right: 10px; + display: inline-block !important; + border-right: 6px solid transparent; + border-bottom: 6px solid #fff; + border-left: 6px solid transparent; + content: ''; +} + +/*** +Mega Menu(new in v1.6) +***/ + +.mega-menu .nav, +.mega-menu .collapse, +.mega-menu .mega-menu-dropup, +.mega-menu .mega-menu-dropdown { + position: static; +} +.mega-menu .container { + position: relative; +} +.mega-menu .mega-menu-dropdown .dropdown-menu { + left: auto; + width: auto; +} +.mega-menu .nav.navbar-right .dropdown-menu { + left: auto; + right: 0; +} +.mega-menu .mega-menu-content { + padding: 10px; + margin: 0; +} +.mega-menu .mega-menu-full .dropdown-menu { + left: 20px; + right: 20px; +} + +.mega-menu-responsive-content { + padding: 10px 15px 10px 60px; +} + +.page-boxed .mega-menu .mega-menu-dropdown .dropdown-menu { + top: 42px; +} + +.page-boxed .mega-menu .mega-menu-dropdown.mega-menu-full .dropdown-menu { + margin: 0; + padding: 0; + left: 18px; + right: 18px; +} + +.mega-menu .mega-menu-submenu { + width: auto !important; + padding: 0px 30px 0px 0px !important; + margin: 0 !important; +} + + + .mega-menu-content .row :last-child>ul{ + border-right: 0 !important; +} + +.mega-menu .mega-menu-submenu li > h3 { + font-size: 14px; + margin-top: 10px; + padding-left: 5px; +} + +.mega-menu .mega-menu-submenu li { + padding: 2px !important; + margin: 0 !important; + list-style: none; +} + +.mega-menu .mega-menu-submenu li > a { + padding: 5px !important; + margin: 0 !important; +} + +/*** +Horezantal Menu(new in v1.2) +***/ + +.header.navbar .hor-menu { + margin: 0; + float: left; +} + +.header.navbar .hor-menu ul.nav li > a { + font-size: 15px; + padding: 11px 10px; +} + +.header.navbar .hor-menu ul.nav li.current .selected, +.header.navbar .hor-menu ul.nav li.active .selected { + left: 50%; + bottom:0; + position: absolute; + border-left: 6px solid transparent; + border-right: 6px solid transparent; + /*border-top: 6px solid #e02222;*/ + display: inline-block; + margin: 0; + width: 0px; + height:0px; + margin-left: -7px; + margin-bottom:-6px; +} + +/*drop-down*/ +.header.navbar .hor-menu .dropdown-menu { + margin-top: 0; + border: none; + box-shadow: none; +} + +.header.navbar .hor-menu .classic-menu-dropdown .dropdown-submenu > .dropdown-menu { + top: 0; +} + +.header.navbar .hor-menu .classic-menu-dropdown .dropdown-submenu > a:after { + top: 8px; + margin-right: 0px; +} + +.header.navbar .hor-menu .classic-menu-dropdown .dropdown-menu li > a { + padding: 7px 18px !important; + margin-bottom:1px; +} + +.header.navbar .hor-menu .classic-menu-dropdown .dropdown-menu .arrow { + display: none; +} + +.header.navbar .hor-menu .classic-menu-dropdown .dropdown-menu li > a:hover, +.header.navbar .hor-menu .classic-menu-dropdown .dropdown-menu li:hover > a, +.header.navbar .hor-menu .classic-menu-dropdown .dropdown-menu li.active > a { + filter:none !important; +} + +.header.navbar .hor-menu .nav > li > .dropdown-menu:after, +.header.navbar .hor-menu .nav > li > .dropdown-menu:before { + border-bottom: none !important; +} + +/*search*/ +.header.navbar .hor-menu .hor-menu-search-form-toggler { + display: inline-block; + padding: 12px 22px 12px 22px !important; + cursor: pointer; + background: url(../image/hor-menu-search.png) no-repeat center; +} + +.header.navbar .hor-menu .hor-menu-search-form-toggler:hover { + opacity: 0.8; + filter: alpha(opacity=80); +} + +.header.navbar .hor-menu a.hor-menu-search-form-toggler-close { + display: none; +} + +.header.navbar .hor-menu .search-form { + margin: 0; + top:42px; + right:0px; + padding:0 4px; + display:none; + z-index:999; + position:absolute; +} + +.header.navbar .hor-menu .search-form .btn { + padding: 7px 20px; + height: 32px; + width: 10px; + display: inline-block; +} + +.header.navbar .hor-menu .search-form .btn:hover { + opacity: 0.8; + filter: alpha(opacity=80); +} + +.header.navbar .hor-menu .search-form form { + margin-bottom: 0; +} + +.header.navbar .hor-menu .search-form form input { + background: none; + width: 200px; + border: none; + margin-top: 6px; +} + +/*** +Top News Blocks(new in v1.2.2) +***/ +.top-news { + color: #fff; + margin: 8px 0; +} + +.top-news a, +.top-news em, +.top-news span { + display: block; + text-align: left; +} + +.top-news a { + padding: 10px; + position: relative; + margin-bottom: 10px; +} + +.top-news a .top-news-icon { + right: 8px; + bottom: 15px; + opacity:0.3; + font-size: 35px; + position: absolute; + filter: alpha(opacity=30); /*For IE8*/ +} + +.top-news em { + margin-bottom: 0; + font-style: normal; +} + +.top-news span { + font-size: 18px; + margin-bottom: 5px; +} + +/*** +Block Images(new in v1.2.2) +***/ +.blog-images { + margin-bottom: 0; +} + +.blog-images li { + padding: 0; + margin: 0; + display: inline; +} + +.blog-images li a:hover { + text-decoration: none; +} + +.blog-images li img { + width: 50px; + height: 50px; + opacity: 0.6; + margin: 0 2px 8px; +} + +.blog-images li img:hover { + opacity: 1; + box-shadow: 0 0 0 4px #72c02c; + transition: all 0.4s ease-in-out 0s; + -moz-transition: all 0.4s ease-in-out 0s; + -webkit-transition: all 0.4s ease-in-out 0s; +} + +/*Sidebar Tags*/ +ul.sidebar-tags a { + color: #555; + font-size:12px; + padding:3px 5px; + background:#f7f7f7; + margin:0 2px 5px 0; + display:inline-block; +} + +ul.sidebar-tags a:hover, +ul.sidebar-tags a:hover i { + background: #EEE; + text-decoration:none; + -webkit-transition:all 0.3s ease-in-out; + -moz-transition:all 0.3s ease-in-out; + -o-transition:all 0.3s ease-in-out; + transition:all 0.3s ease-in-out; +} + +ul.sidebar-tags a i { + color:#777; +} + +ul.sidebar-tags li { + padding: 0; +} + +/*** +Social Icons(new in v1.2.2) +***/ +.social-icons { + padding: 0; + margin:0; +} + +.social-icons:after, +.social-icons:before { + content: ""; + display: table; +} + +.social-icons:after { + clear: both; +} + +.social-icons li { + float:left; + display:inline; + list-style:none; + margin-right:5px; + margin-bottom:5px; + text-indent:-9999px; +} +.social-icons li a, a.social-icon { + width:28px; + height:28px; + display:block; + background-position:0 0; + background-repeat:no-repeat; + transition: all 0.3s ease-in-out; + -o-transition: all 0.3s ease-in-out; + -ms-transition: all 0.3s ease-in-out; + -moz-transition: all 0.3s ease-in-out; + -webkit-transition: all 0.3s ease-in-out; +} +.social-icons li:hover a { + background-position:0 -38px; +} + +.social-icons-color li a { + opacity: 0.7; + background-position:0 -38px !important; +} + +.social-icons-color li a:hover { + opacity: 1; +} + +.social-icons .amazon {background: url(../image/social/amazon.png) no-repeat;} +.social-icons .behance {background: url(../image/social/behance.png) no-repeat;} +.social-icons .blogger {background: url(../image/social/blogger.png) no-repeat;} +.social-icons .deviantart {background: url(../image/social/deviantart.png) no-repeat;} +.social-icons .dribbble {background: url(../image/social/dribbble.png) no-repeat;} +.social-icons .dropbox {background: url(../image/social/dropbox.png) no-repeat;} +.social-icons .evernote {background: url(../image/social/evernote.png) no-repeat;} +.social-icons .facebook {background: url(../image/social/facebook.png) no-repeat;} +.social-icons .forrst {background: url(../image/social/forrst.png) no-repeat;} +.social-icons .github {background: url(../image/social/github.png) no-repeat;} +.social-icons .googleplus {background: url(../image/social/googleplus.png) no-repeat;} +.social-icons .jolicloud {background: url(../image/social/jolicloud.png) no-repeat;} +.social-icons .last-fm {background: url(../image/social/last-fm.png) no-repeat;} +.social-icons .linkedin {background: url(../image/social/linkedin.png) no-repeat;} +.social-icons .picasa {background: url(../image/social/picasa.png) no-repeat;} +.social-icons .pintrest {background: url(../image/social/pintrest.png) no-repeat;} +.social-icons .rss {background: url(../image/social/rss.png) no-repeat;} +.social-icons .skype {background: url(../image/social/skype.png) no-repeat;} +.social-icons .spotify {background: url(../image/social/spotify.png) no-repeat;} +.social-icons .stumbleupon {background: url(../image/social/stumbleupon.png) no-repeat;} +.social-icons .tumblr {background: url(../image/social/tumblr.png) no-repeat;} +.social-icons .twitter {background: url(../image/social/twitter.png) no-repeat;} +.social-icons .vimeo {background: url(../image/social/vimeo.png) no-repeat;} +.social-icons .wordpress {background: url(../image/social/wordpress.png) no-repeat;} +.social-icons .xing {background: url(../image/social/xing.png) no-repeat;} +.social-icons .yahoo {background: url(../image/social/yahoo.png) no-repeat;} +.social-icons .youtube {background: url(../image/social/youtube.png) no-repeat;} +.social-icons .vk {background: url(../image/social/vk.png) no-repeat;} +.social-icons .instagram {background: url(../image/social/instagram.png) no-repeat;} +.social-icons .reddit {background: url(../image/social/reddit.png) no-repeat;} +.social-icons .aboutme {background: url(../image/social/aboutme.png) no-repeat;} +.social-icons .flickr {background: url(../image/social/flickr.png) no-repeat;} +.social-icons .foursquare {background: url(../image/social/foursquare.png) no-repeat;} +.social-icons .gravatar {background: url(../image/social/gravatar.png) no-repeat;} +.social-icons .klout {background: url(../image/social/klout.png) no-repeat;} +.social-icons .myspace {background: url(../image/social/myspace.png) no-repeat;} +.social-icons .quora {background: url(../image/social/quora.png) no-repeat;} + +/*** +Inline Social Icons +***/ + +.social-icon { + display:inline-block !important; + width:28px; + height:28px; + background-position:0 0; + background-repeat:no-repeat; + transition: all 0.3s ease-in-out; + -o-transition: all 0.3s ease-in-out; + -ms-transition: all 0.3s ease-in-out; + -moz-transition: all 0.3s ease-in-out; + -webkit-transition: all 0.3s ease-in-out; +} + +.social-icon.amazon {background: url(../image/social/amazon.png) no-repeat;} +.social-icon.behance {background: url(../image/social/behance.png) no-repeat;} +.social-icon.blogger {background: url(../image/social/blogger.png) no-repeat;} +.social-icon.deviantart {background: url(../image/social/deviantart.png) no-repeat;} +.social-icon.dribbble {background: url(../image/social/dribbble.png) no-repeat;} +.social-icon.dropbox {background: url(../image/social/dropbox.png) no-repeat;} +.social-icon.evernote {background: url(../image/social/evernote.png) no-repeat;} +.social-icon.facebook {background: url(../image/social/facebook.png) no-repeat;} +.social-icon.forrst {background: url(../image/social/forrst.png) no-repeat;} +.social-icon.github {background: url(../image/social/github.png) no-repeat;} +.social-icon.googleplus {background: url(../image/social/googleplus.png) no-repeat;} +.social-icon.jolicloud {background: url(../image/social/jolicloud.png) no-repeat;} +.social-icon.last-fm {background: url(../image/social/last-fm.png) no-repeat;} +.social-icon.linkedin {background: url(../image/social/linkedin.png) no-repeat;} +.social-icon.picasa {background: url(../image/social/picasa.png) no-repeat;} +.social-icon.pintrest {background: url(../image/social/pintrest.png) no-repeat;} +.social-icon.rss {background: url(../image/social/rss.png) no-repeat;} +.social-icon.skype {background: url(../image/social/skype.png) no-repeat;} +.social-icon.spotify {background: url(../image/social/spotify.png) no-repeat;} +.social-icon.stumbleupon {background: url(../image/social/stumbleupon.png) no-repeat;} +.social-icon.tumblr {background: url(../image/social/tumblr.png) no-repeat;} +.social-icon.twitter {background: url(../image/social/twitter.png) no-repeat;} +.social-icon.vimeo {background: url(../image/social/vimeo.png) no-repeat;} +.social-icon.wordpress {background: url(../image/social/wordpress.png) no-repeat;} +.social-icon.xing {background: url(../image/social/xing.png) no-repeat;} +.social-icon.yahoo {background: url(../image/social/yahoo.png) no-repeat;} +.social-icon.youtube {background: url(../image/social/youtube.png) no-repeat;} +.social-icon.vk {background: url(../image/social/vk.png) no-repeat;} +.social-icon.instagram {background: url(../image/social/instagram.png) no-repeat;} +.social-icon.reddit {background: url(../image/social/reddit.png) no-repeat;} +.social-icon.aboutme {background: url(../image/social/aboutme.png) no-repeat;} +.social-icon.flickr {background: url(../image/social/flickr.png) no-repeat;} +.social-icon.foursquare {background: url(../image/social/foursquare.png) no-repeat;} +.social-icon.gravatar {background: url(../image/social/gravatar.png) no-repeat;} +.social-icon.klout {background: url(../image/social/klout.png) no-repeat;} +.social-icon.myspace {background: url(../image/social/myspace.png) no-repeat;} +.social-icon.quora {background: url(../image/social/quora.png) no-repeat;} + +.social-icon:hover { + background-position:0 -38px; +} + +.social-icon-color { + opacity: 0.7; + background-position:0 -38px !important; +} + +.social-icon-color:hover { + opacity: 1; +} + +/*** +Notes +***/ + +/* Common styles for all types */ +.note { + margin: 0 0 20px 0; + padding: 15px 30px 15px 15px; + border-left: 5px solid #eee; +} + +.note h1, +.note h2, +.note h3, +.note h4 { + margin-top: 0; +} + +.note p:last-child { + margin-bottom: 0; +} +.note code, +.note .highlight { + background-color: #fff; +} + +/* Variations */ +.note-danger { + background-color: #FAEAE6; + border-color: #ed4e2a; +} + +.note-warning { + background-color: #FCF3E1; + border-color: #fcb322; +} + +.note-info { + background-color: #E8F6FC; + border-color: #57b5e3; +} + +.note-success { + background-color: #EBFCEE; + border-color: #3cc051; +} + +/*** +Demo Utils +***/ +.scrollspy-example { + position: relative; + height: 200px; + margin-top: 10px; + overflow: auto; +} + +.util-btn-margin-bottom-5 .btn { + margin-bottom: 5px !important; +} + +.util-btn-group-margin-bottom-5 .btn-group { + margin-bottom: 5px !important; +} + +.fontawesome-demo i { + font-size: 18px; +} + +.fontawesome-demo li { + padding-top: 5px; + padding-bottom: 5px; +} + +.glyphicons-demo ul { + padding-left: 0; + padding-bottom: 1px; + margin-bottom: 20px; + list-style: none; + overflow: hidden; +} + +.bs-glyphicons { + padding-left: 0; + padding-bottom: 1px; + margin-bottom: 20px; + list-style: none; + overflow: hidden; +} +.glyphicons-demo ul li { + float: left; + width: 25%; + height: 115px; + padding: 10px; + margin: 0 -1px -1px 0; + font-size: 12px; + line-height: 1.4; + text-align: center; + border: 1px solid #ddd; +} + +.glyphicons-demo .glyphicon { + display: block; + margin: 5px auto 10px; + font-size: 24px; +} +.glyphicons-demo ul li:hover { + background-color: rgba(86,61,124,.1); +} + +@media (min-width: 768px) { + .glyphicons-demo ul li { + width: 12.5%; + } +} + +/*** +Forms +****/ + +.static-info { + margin-bottom: 10px; +} + +.static-info .name { + font-size: 14px; +} + +.static-info .value { + font-size: 14px; + font-weight: 600; +} + +.static-info.align-reverse .name, +.static-info.align-reverse .value { + text-align: right; +} + +input.placeholder, +textarea.placeholder { + color: #aaa !important; +} + +.help-block { + margin-top: 5px; + margin-bottom: 5px; +} + +.form-inline input { + margin-bottom: 0px !important; +} + +.control-label { + margin-top: 2px; +} + +.form-control-static { + font-size: 14px; + padding-top: 7px; +} + +.control-label .required { + color: #e02222; + font-size: 12px; + padding-left: 2px; +} + +.switch-wrapper { + display: inline-block; +} + +.form { + padding: 0 !important; +} + +.form-body { + padding: 10px; +} + +.form-actions { + padding: 20px 10px; + margin-top: 20px; +/* background-color: #f5f5f5; + border-top: 1px solid #e5e5e5;*/ + *zoom: 1; +} + +.form-actions.nobg { + background-color: transparent; +} + +.form-actions.top { + margin-top: 0; + margin-bottom: 20px; + border-top: 0; + border-bottom: 1px solid #e5e5e5; +} + +.form-actions.fluid { + padding: 20px 0; +} + +.form-actions.fluid > [class^="col-"] { + padding-left: 13px; +} + +.form-actions:before, +.form-actions:after { + display: table; + line-height: 0; + content: ""; +} + +.form-actions:after { + clear: both; +} + +.form-section { + margin: 30px 0px 25px 0px; + padding-bottom: 5px; + border-bottom: 1px solid #eee; +} + +.form .form-section:first-child { + margin-top: 5px; +} + +.help-inline { + font-size: 13px; + color: #737373; + display: inline-block; + padding: 5px; +} + +/* left, right aligned form actions */ +.form-actions.right { + padding-left: 0; + padding-right: 10px; + text-align: right; +} + +.form-actions.left { + padding-left: 10px; + padding-right: 0; + text-align: left; +} + +/* Checkboxes */ +.form-group .checkbox { + padding-left: 0; +} + +.checkbox-list > label { + display: block; +} + +.checkbox-list > label.checkbox-inline { + display: inline-block; +} + +.checkbox-list > label.checkbox-inline:first-child { + padding-left: 0; +} + +/* Radios */ + +.radio-list > label { + display: block; +} + +.radio-list > label.radio-inline { + display: inline-block; +} + +.radio-list > label.radio-inline:first-child { + padding-left: 0; +} + +.form-horizontal .radio-list .radio { + padding-top: 1px; +} + +.form-horizontal .radio-list > label { + margin-bottom: 0; +} + +.form-horizontal .radio > span { + margin-top: 2px; +} + +/* Rows seperated form layout */ +.form-row-seperated .form-group { + margin: 0; + border-bottom: 1px solid #efefef; + padding: 10px 0px 10px 0px; +} + +.form-row-seperated .form-group.last { + border-bottom: 0; + margin-bottom: 0; + padding-bottom: 10px; +} + +.form-row-seperated .form-actions { + margin-top: 0; +} + +.form-row-seperated .form-body { + padding: 0; + margin-top: 0; +} + +.form-row-seperated .help-block { + margin-bottom: 0; +} + +/* form bordered */ +.form-bordered .form-body { + margin: 0; + padding: 0; +} + +.form-bordered .form-actions { + margin-top: 0; +} + +.form-bordered .form-group { + margin: 0; + border-bottom: 1px solid #efefef; +} + +.form-bordered .form-group.last { + border-bottom: 0; +} + +.form-bordered .help-block { + margin-bottom: 0; +} + +.form-bordered .control-label { + padding-top: 16px; +} + +.form-bordered .form-group > div { + padding: 10px; + border-left: 1px solid #efefef; +} + +.form-bordered .form-actions.fluid > .row > div { + padding-left: 10px; +} + +.form-horizontal.form-bordered.form-row-stripped .form-group:nth-child(even) { + background-color: #fcfcfc; +} + +.form-horizontal.form-bordered.form-label-stripped .form-group:nth-child(even) { + background-color: #fcfcfc; +} + +.form-horizontal.form-bordered.form-row-stripped .form-control { + background: #fff !important; +} + +.form-horizontal.form-bordered.form-label-stripped .form-group:nth-child(even) > div { + background-color: #ffffff; +} + +/*** +Bordered form layout +***/ + +.form-bordered .form-control { + margin: 0; +} + + +/*** +Disabled Menu Link +***/ + +.disabled-link > a > span.text, +.disabled-link > a > span.title { + font-style: italic !important; + color: #888 !important; +} + +.disabled-link > a:hover { + cursor: not-allowed !important; +} + + +/*** +Responsive & Scrollable Tables +***/ + +.table-scrollable { + width: 100%; + overflow-x: auto; + overflow-y: hidden; + border: 1px solid #dddddd; + margin: 10px 0 !important; +} + +.table-scrollable > .table { + width: 100% !important; + margin: 0 !important; + margin-bottom: 0; + background-color: #fff; +} + +.table-scrollable > .table > thead > tr > th, +.table-scrollable > .table > tbody > tr > th, +.table-scrollable > .table > tfoot > tr > th, +.table-scrollable > .table > thead > tr > td, +.table-scrollable > .table > tbody > tr > td, +.table-scrollable > .table > tfoot > tr > td { + white-space: nowrap; +} + +.table-scrollable > .table-bordered { + border: 0; +} + +.table-scrollable > .table-bordered > thead > tr > th:first-child, +.table-scrollable > .table-bordered > tbody > tr > th:first-child, +.table-scrollable > .table-bordered > tfoot > tr > th:first-child, +.table-scrollable > .table-bordered > thead > tr > td:first-child, +.table-scrollable > .table-bordered > tbody > tr > td:first-child, +.table-scrollable > .table-bordered > tfoot > tr > td:first-child { + border-left: 0; +} + +.table-scrollable > .table-bordered > thead > tr > th:last-child, +.table-scrollable > .table-bordered > tbody > tr > th:last-child, +.table-scrollable > .table-bordered > tfoot > tr > th:last-child, +.table-scrollable > .table-bordered > thead > tr > td:last-child, +.table-scrollable > .table-bordered > tbody > tr > td:last-child, +.table-scrollable > .table-bordered > tfoot > tr > td:last-child { + border-right: 0; +} + +.table-scrollable > .table-bordered > thead > tr:last-child > th, +.table-scrollable > .table-bordered > tbody > tr:last-child > th, +.table-scrollable > .table-bordered > tfoot > tr:last-child > th, +.table-scrollable > .table-bordered > thead > tr:last-child > td, +.table-scrollable > .table-bordered > tbody > tr:last-child > td, +.table-scrollable > .table-bordered > tfoot > tr:last-child > td { + border-bottom: 0; +} + +/*** +Responsive Flip Scroll Tables +***/ + +.flip-scroll table { width: 100%; } + +@media only screen and (max-width: 768px) { + + .flip-scroll .flip-content:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } + .flip-scroll * html .flip-content { zoom: 1; } + .flip-scroll *:first-child+html .flip-content { zoom: 1; } + + .flip-scroll table { width: 100%; border-collapse: collapse; border-spacing: 0; } + + .flip-scroll th, + .flip-scroll td { margin: 0; vertical-align: top; } + .flip-scroll th { + text-align: left; + border: 0 !important; + border-bottom: 1px solid #ddd !important; + border-right: 1px solid #ddd !important; + font-size: 13px !important; + padding: 5px; + width: auto !important; + } + + .flip-scroll table { display: block; position: relative; width: 100%; } + .flip-scroll thead { + display: block; + float: left; + } + .flip-scroll tbody { + display: block; + width: auto; + position: relative; + overflow-x: auto; + white-space: nowrap; + } + .flip-scroll thead tr { display: block; } + .flip-scroll th { display: block; text-align: right; } + .flip-scroll tbody tr { display: inline-block; vertical-align: top; margin-left: -5px; } + .flip-scroll td { display: block; min-height: 1.25em; text-align: left; border-top: 0 !important; border-left: 0 !important; border-right: 0 !important} + + /* sort out borders */ + + .flip-scroll th { border-bottom: 0; border-left: 0; } + .flip-scroll td { border-left: 0; border-right: 0; border-bottom: 0; } + .flip-scroll tbody tr { border-left: 1px solid #ddd; } + .flip-scroll th:last-child, + .flip-scroll td:last-child { border-bottom: 1px solid #ddd; } + +} + +/*** +UI Loading +***/ + +.loading-message { + display: inline-block; + min-width: 125px; + padding: 10px; + margin: 0 auto; + color: #000 !important; + font-size: 13px; + font-weight: 400; + text-align: center; + vertical-align: middle; +} + +.loading-message span { + line-height:20px; + vertical-align: middle; +} + +.loading-message.loading-message-boxed { + border: 1px solid #ddd; + background-color: #eee; + -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); +} + +.page-loading { + position: fixed; + top: 50%; + left: 50%; + min-width: 125px; + margin-left: -50px; + margin-top: -30px; + padding: 7px; + text-align: center; + color: #333; + font-size: 13px; + border: 1px solid #ddd; + background-color: #eee; + vertical-align: middle; + -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); + -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); + box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1); +} + +.page-loading span { + line-height:20px; + vertical-align: middle; +} + +.zteDivWidth +{ + width:auto !important +} + + + +.nav-load-error {} + +.nav-pos-option {} + +/*TAB*/ +.nav-tabs{ +border:0; +} +.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus{ +border:0; +border-top:3px solid #F3565D; +} +.nav-tabs>li>a{ +border-radius:0; +} +.nav-tabs>li>a:hover{ +background-color:#f1f3fa; +border:1Px solid #f1f3fa; +} +/*button*/ +.btn{ +min-width: 80px; +letter-spacing:1px; +} +.btnGroup .btn{ +margin-left:15px; +margin-right:15px; +} +.pagination-panel .btn{ +min-width: 4px; } +/*radius*/ +.radius_l{ +border-radius: 20px; +} +.radius_m{ +border-radius: 8px; +} +.radius_s{ +border-radius: 3px; +} +/*common color*/ +.blue1 { + background-color:#5b9bd1; + color:#fff; +} +.blue1:hover{ + background-color:#487ca9; + color:#fff; +} +.blue2{ + background-color:#57b5e3; + color:#fff; +} +.blue2:hover{ + background-color:#43a1cf; + color:#fff; +} +.red{ + background-color:#E35B5A; + color:#fff; +} +.red:hover{ + background-color:#ad9a4d; + color:#fff; +} +.green{ + background-color:#44B6AE; +} +.green:hover{ + background-color:#329d96; +} +.yellow{ + background-color:#C0AF69; + color:#fff; +} +.yellow:hover{ + background-color:#d45150; + color:#fff; +} +.grey{ + background-color:#e5e5e5; + color:#333; +} +.grey:hover{ + background-color:#d8d8d8; + color:#333; +} +/*Progress Bars*/ +.progress { + border: 0; + background-image: none !important; + filter: none !important; + -webkit-box-shadow: none !important; + -moz-box-shadow: none !important; + box-shadow: none !important; + +} +.form-wizard .steps > li.active > a.step .number{ +background-color:#45B6AF +} +.progress > .progress-bar-success{ +background-color:#45B6AF +} +/*label*/ +label{ +font-weight:400; +margin-bottom:15px; +} +/**/ +.input-group-btn-vertical.fa{ +font-size:12px; +} +.spinner { + width: 60px; + margin-left:10px; + margin-right:30px; +} +.spinner input { + text-align: right; +} +.input-group-btn-vertical { + position: relative; + white-space: nowrap; + width: 1%; + vertical-align: middle; + display: table-cell; +} +.input-group-btn-vertical > .btn { + display: block; + float: none; + width: 100%; + max-width: 100%; + padding: 6px; + margin-left: -1px; + position: relative; + border-radius: 0; +} +.input-group-btn-vertical > .btn{ + min-width:20px; +} +.input-group-btn-vertical > .btn:first-child { + border-top-right-radius: 4px; +} +.input-group-btn-vertical > .btn:last-child { + margin-top: -2px; + border-bottom-right-radius: 4px; +} +.input-group-btn-vertical i{ + position: absolute; + top: -2px; + left: 5px; +} +.input-group .form-control{ +height:26px !important; +} + +.about{ + height:345px; + width:528px; +} + +.aboutmain{ + background-image: url("../image/about/about-bg-light.png"); +} + +.aboutinfo{ + background-image: url("../image/about/about-bg-dark.png"); +} + +.about a{ + color: white; + + margin-left:15px; + text-decoration: none; +} + +.about a.about_close{ + float:right; + margin-right:20px; + font-size: 1.2em; +} + +.about div{ + padding-top:7px; + +} + +.about div.info{ + float: right; + margin-right: 15px; + margin-top: 130px; + color: white; + font-size: 13px; +} + +.about div.info div{ + margin-left:15px; +} + +.about div.info img{ + margin-right: 55px; +} + +.aboutDlg{ + width: 530px; + margin-left:150px; +} + +.aboutDlg .dataTable{ + background-color: white; + +} + +.aboutDlg table.dataTable .heading>th.sorting_disabled { + background-color: white !important; +} + +.aboutDlg #abouttable_wrapper{ + height:285px; + background-color: white; + padding:0px; + overflow:auto; +} + +.aboutDlg td , .aboutDlg .table thead tr th{ + font-size:13px; + font-weight:100; +} + +.aboutDlg{ + font-family:microsoft yahei,Arial; + letter-spacing:1px; +} + +.aboutDlg tr { + height:37px; } \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/black.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/black.css index c8350009..df334bd7 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/black.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/black.css @@ -1,388 +1,388 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -Default theme -***/ - -/*** -Reset and overrides -***/ -body { - background-color: #3d3d3d !important; -} -/*** -Page header -***/ -.header { - filter: none !important; - background-image: none !important; - background-color: #212121 !important; -} -.header .btn-navbar { - background-color: #212121 !important; -} -.header .navbar-nav .dropdown-toggle:hover, -.header .navbar-nav .dropdown.open .dropdown-toggle { - background-color: #383838 !important; -} -.header .navbar-nav li.dropdown .dropdown-toggle i { - color: #8a8a8a !important; -} -.page-content .page-breadcrumb.breadcrumb{ -background-color:#F5F5F5 !important; -} -/*** -Header Search -***/ -.header .search-form { - background-color: #000; -} - -.header .search-form .form-control { - color: #999; - border: 0; - background-color: #000; -} - -.header .search-form .form-control::-webkit-input-placeholder { /* WebKit browsers */ - color: #777; -} -.header .search-form .form-control:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ - color: #777; -} -.header .search-form .form-control::-moz-placeholder { /* Mozilla Firefox 19+ */ - color: #777; -} -.header .search-form .form-control:-ms-input-placeholder { /* Internet Explorer 10+ */ - color: #777; -} - -.header .search-form .submit { - background: url(../../image/search-icon-light.png); -} - -/*** -Hor menu -***/ -.header .hor-menu ul.nav li a { - color: #999; -} - -.header .hor-menu ul.nav li.open > a, -.header .hor-menu ul.nav li > a:hover, -.header .hor-menu ul.nav li > a:focus { - color: #fff; - background: #383838; -} - -.header .hor-menu .dropdown-menu li:hover > a, -.header .hor-menu ul.nav li.active > a, -.header .hor-menu ul.nav li.active > a:hover { - color: #fff; - background: #e02222 !important; -} - -.header .hor-menu ul.nav li.current > a, -.header .hor-menu ul.nav li.current > a:hover { - color: #fff; - background: #e02222 !important; -} - -.header .hor-menu .dropdown-menu { - background: #383838; -} -.header .hor-menu .dropdown-menu li > a { - color: #999; -} - -.header .hor-menu .hor-menu-search-form-toggler.off { - background: #383838 url(../../image/hor-menu-search-close.png) no-repeat center; -} - -.header .hor-menu .search-form { - background:#383838; -} - -.header .hor-menu .search-form form input { - color: #999; -} - -.header .hor-menu .search-form .btn { - color: #999; - background: url(../../image/search-icon.png) no-repeat center; -} - -.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */ - color: #999; -} -.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ - color: #999; -} -.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */ - color: #999; -} -.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */ - color: #999; -} -.btn-group .btn.blue.dropdown-toggle{ - background-color: #3d3d3d !important; - color: #fff !important; -} -/*** -Mega Menu -***/ -.mega-menu .mega-menu-submenu { - border-right: 1px solid #444; -} -.mega-menu .mega-menu-submenu li h3 { - color: #fff; -} -/*** -Page sidebar -***/ -.page-sidebar { - background-color: #3d3d3d; -} -ul.page-sidebar-menu > li > a { - border-top: 1px solid #5c5c5c !important; - color: #ffffff !important; -} -ul.page-sidebar-menu > li:last-child > a { - border-bottom: 1px solid transparent !important; -} -ul.page-sidebar-menu > li a i { - color: #969696; -} -ul.page-sidebar-menu > li.open > a, -ul.page-sidebar-menu > li > a:hover, -ul.page-sidebar-menu > li:hover > a { - background: #303030; -} -ul.page-sidebar-menu > li.active > a { - background: #e02222 !important; - border-top-color: transparent !important; - color: #ffffff; -} -ul.page-sidebar-menu > li.active > a i { - color: #ffffff; -} -ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { - border-top: 0px !important; -} -ul.page-sidebar-menu > li > ul.sub-menu > li.active > a, -ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { - color: #ffffff !important; - background: #575757 !important; -} -ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { - background: #575757 !important; -} -/* 3rd level sub menu */ -ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li.active > a, -ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a:hover, -ul.page-sidebar-menu > li > ul.sub-menu li.open > a { - color: #ffffff !important; - background: #575757 !important; -} -/* font color for all sub menu links*/ -ul.page-sidebar-menu li > ul.sub-menu > li > a { - color: #bdbdbd; -} -/* menu arrows */ -ul.page-sidebar-menu > li > a .arrow:before, -ul.page-sidebar-menu > li > a .arrow.open:before { - color: #7d7d7d !important; -} -ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, -ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { - color: #707070 !important; -} -ul.page-sidebar-menu > li > a > .arrow.open:before { - color: #8a8a8a !important; -} -ul.page-sidebar-menu > li.active > a .arrow:before, -ul.page-sidebar-menu > li.active > a .arrow.open:before { - color: #ffffff !important; -} -/* sidebar search */ -.page-sidebar .sidebar-search input { - background-color: #242424 !important; - color: #7d7d7d; -} -.page-sidebar .sidebar-search input::-webkit-input-placeholder { - color: #7d7d7d !important; -} -.page-sidebar .sidebar-search input:-moz-placeholder { - color: #7d7d7d !important; -} -.page-sidebar .sidebar-search input:-ms-input-placeholder { - color: #7d7d7d !important; -} -.page-sidebar .sidebar-search input { - background-color: #3d3d3d !important; - color: #bfbfbf !important; -} -.page-sidebar .sidebar-search .input-box { - border-bottom: 1px solid #7d7d7d !important; -} -.page-sidebar .sidebar-search .submit { - background-image: url(../../image/search-icon.png); -} -/*** -Sidebar toggler -***/ -.sidebar-toggler { - background-image: url(../../image/sidebar-toggler.jpg); - background-color: #242424; -} -/* search box bg color on expanded */ -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { - background-color: #3d3d3d !important; -} -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { - background-image: url("../../image/sidebar-search-close.png"); -} -/* sub menu bg color on hover menu item */ -.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { - background-color: #3d3d3d; -} -/*** -Footer -***/ -.footer .footer-inner { - color: #999999; -} -.footer .footer-tools .go-top { - background-color: #4f4f4f; -} -.footer .footer-tools .go-top:hover { - opacity: 0.7; - filter: alpha(opacity=70); -} -.footer .footer-tools .go-top i { - color: #8a8a8a; -} -/*** -Footer Layouts (new in v1.3) -***/ -/* begin:fixed footer */ -.page-footer-fixed .footer { - background-color: #242424; -} -.page-footer-fixed .footer .footer-inner { - color: #999999; -} -.page-footer-fixed .footer .footer-tools .go-top { - background-color: #4f4f4f; -} -.page-footer-fixed .footer .footer-tools .go-top i { - color: #8a8a8a; -} -/* end:fixed footer */ -/*** -Gritter Notifications -***/ -.gritter-top { - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -30px !important; -} -.gritter-bottom { - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left bottom !important; -} -.gritter-item { - display: block; - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -40px !important; -} -.gritter-close { - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left top !important; -} -.gritter-title { - text-shadow: none !important; - /* Not supported by IE :( */ - -} -/* for the light (white) version of the gritter notice */ -.gritter-light .gritter-item, -.gritter-light .gritter-bottom, -.gritter-light .gritter-top, -.gritter-light .gritter-close { - background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; -} -.gritter-item-wrapper a { - color: #18a5ed; -} -.gritter-item-wrapper a:hover { - color: #0b6694; -} -/* begin: boxed page */ -@media (min-width: 992px) { - .page-boxed { - background-color: #2e2e2e !important; - } - .page-boxed .page-container { - background-color: #3d3d3d; - border-left: 1px solid #5e5e5e; - border-bottom: 1px solid #5e5e5e; - } - .page-boxed.page-sidebar-reversed .page-container { - border-left: 0; - border-right: 1px solid #5e5e5e; - } - .page-boxed.page-sidebar-fixed .page-container { - border-left: 0; - border-bottom: 0; - } - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-container { - border-left: 0; - border-right: 0; - border-bottom: 0; - } - .page-boxed.page-sidebar-fixed .page-sidebar { - border-left: 1px solid #5e5e5e; - } - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { - border-right: 1px solid #5e5e5e; - border-left: 0; - } - .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { - background-color: #2e2e2e !important; - } -} -/* end: boxed page */ -/*** -Landscape phone to portrait tablet -***/ -@media (max-width: 991px) { - /*** - page sidebar - ***/ - .page-sidebar { - background-color: #292929 !important; - } - ul.page-sidebar-menu > li > a { - border-top: 1px solid #4a4a4a !important; - } - ul.page-sidebar-menu > li:last-child > a { - border-bottom: 0 !important; - } - .page-sidebar .sidebar-search input { - background-color: #292929 !important; - } - ul.page-sidebar-menu > li.open > a, - ul.page-sidebar-menu > li > a:hover, - ul.page-sidebar-menu > li:hover > a { - background: #1e1e1e; - } -} +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +Default theme +***/ + +/*** +Reset and overrides +***/ +body { + background-color: #3d3d3d !important; +} +/*** +Page header +***/ +.header { + filter: none !important; + background-image: none !important; + background-color: #212121 !important; +} +.header .btn-navbar { + background-color: #212121 !important; +} +.header .navbar-nav .dropdown-toggle:hover, +.header .navbar-nav .dropdown.open .dropdown-toggle { + background-color: #383838 !important; +} +.header .navbar-nav li.dropdown .dropdown-toggle i { + color: #8a8a8a !important; +} +.page-content .page-breadcrumb.breadcrumb{ +background-color:#F5F5F5 !important; +} +/*** +Header Search +***/ +.header .search-form { + background-color: #000; +} + +.header .search-form .form-control { + color: #999; + border: 0; + background-color: #000; +} + +.header .search-form .form-control::-webkit-input-placeholder { /* WebKit browsers */ + color: #777; +} +.header .search-form .form-control:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ + color: #777; +} +.header .search-form .form-control::-moz-placeholder { /* Mozilla Firefox 19+ */ + color: #777; +} +.header .search-form .form-control:-ms-input-placeholder { /* Internet Explorer 10+ */ + color: #777; +} + +.header .search-form .submit { + background: url(../../image/search-icon-light.png); +} + +/*** +Hor menu +***/ +.header .hor-menu ul.nav li a { + color: #999; +} + +.header .hor-menu ul.nav li.open > a, +.header .hor-menu ul.nav li > a:hover, +.header .hor-menu ul.nav li > a:focus { + color: #fff; + background: #383838; +} + +.header .hor-menu .dropdown-menu li:hover > a, +.header .hor-menu ul.nav li.active > a, +.header .hor-menu ul.nav li.active > a:hover { + color: #fff; + background: #e02222 !important; +} + +.header .hor-menu ul.nav li.current > a, +.header .hor-menu ul.nav li.current > a:hover { + color: #fff; + background: #e02222 !important; +} + +.header .hor-menu .dropdown-menu { + background: #383838; +} +.header .hor-menu .dropdown-menu li > a { + color: #999; +} + +.header .hor-menu .hor-menu-search-form-toggler.off { + background: #383838 url(../../image/hor-menu-search-close.png) no-repeat center; +} + +.header .hor-menu .search-form { + background:#383838; +} + +.header .hor-menu .search-form form input { + color: #999; +} + +.header .hor-menu .search-form .btn { + color: #999; + background: url(../../image/search-icon.png) no-repeat center; +} + +.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */ + color: #999; +} +.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ + color: #999; +} +.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */ + color: #999; +} +.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */ + color: #999; +} +.btn-group .btn.blue.dropdown-toggle{ + background-color: #3d3d3d !important; + color: #fff !important; +} +/*** +Mega Menu +***/ +.mega-menu .mega-menu-submenu { + border-right: 1px solid #444; +} +.mega-menu .mega-menu-submenu li h3 { + color: #fff; +} +/*** +Page sidebar +***/ +.page-sidebar { + background-color: #3d3d3d; +} +ul.page-sidebar-menu > li > a { + border-top: 1px solid #5c5c5c !important; + color: #ffffff !important; +} +ul.page-sidebar-menu > li:last-child > a { + border-bottom: 1px solid transparent !important; +} +ul.page-sidebar-menu > li a i { + color: #969696; +} +ul.page-sidebar-menu > li.open > a, +ul.page-sidebar-menu > li > a:hover, +ul.page-sidebar-menu > li:hover > a { + background: #303030; +} +ul.page-sidebar-menu > li.active > a { + background: #e02222 !important; + border-top-color: transparent !important; + color: #ffffff; +} +ul.page-sidebar-menu > li.active > a i { + color: #ffffff; +} +ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { + border-top: 0px !important; +} +ul.page-sidebar-menu > li > ul.sub-menu > li.active > a, +ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { + color: #ffffff !important; + background: #575757 !important; +} +ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { + background: #575757 !important; +} +/* 3rd level sub menu */ +ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li.active > a, +ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a:hover, +ul.page-sidebar-menu > li > ul.sub-menu li.open > a { + color: #ffffff !important; + background: #575757 !important; +} +/* font color for all sub menu links*/ +ul.page-sidebar-menu li > ul.sub-menu > li > a { + color: #bdbdbd; +} +/* menu arrows */ +ul.page-sidebar-menu > li > a .arrow:before, +ul.page-sidebar-menu > li > a .arrow.open:before { + color: #7d7d7d !important; +} +ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, +ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { + color: #707070 !important; +} +ul.page-sidebar-menu > li > a > .arrow.open:before { + color: #8a8a8a !important; +} +ul.page-sidebar-menu > li.active > a .arrow:before, +ul.page-sidebar-menu > li.active > a .arrow.open:before { + color: #ffffff !important; +} +/* sidebar search */ +.page-sidebar .sidebar-search input { + background-color: #242424 !important; + color: #7d7d7d; +} +.page-sidebar .sidebar-search input::-webkit-input-placeholder { + color: #7d7d7d !important; +} +.page-sidebar .sidebar-search input:-moz-placeholder { + color: #7d7d7d !important; +} +.page-sidebar .sidebar-search input:-ms-input-placeholder { + color: #7d7d7d !important; +} +.page-sidebar .sidebar-search input { + background-color: #3d3d3d !important; + color: #bfbfbf !important; +} +.page-sidebar .sidebar-search .input-box { + border-bottom: 1px solid #7d7d7d !important; +} +.page-sidebar .sidebar-search .submit { + background-image: url(../../image/search-icon.png); +} +/*** +Sidebar toggler +***/ +.sidebar-toggler { + background-image: url(../../image/sidebar-toggler.jpg); + background-color: #242424; +} +/* search box bg color on expanded */ +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { + background-color: #3d3d3d !important; +} +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { + background-image: url("../../image/sidebar-search-close.png"); +} +/* sub menu bg color on hover menu item */ +.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { + background-color: #3d3d3d; +} +/*** +Footer +***/ +.footer .footer-inner { + color: #999999; +} +.footer .footer-tools .go-top { + background-color: #4f4f4f; +} +.footer .footer-tools .go-top:hover { + opacity: 0.7; + filter: alpha(opacity=70); +} +.footer .footer-tools .go-top i { + color: #8a8a8a; +} +/*** +Footer Layouts (new in v1.3) +***/ +/* begin:fixed footer */ +.page-footer-fixed .footer { + background-color: #242424; +} +.page-footer-fixed .footer .footer-inner { + color: #999999; +} +.page-footer-fixed .footer .footer-tools .go-top { + background-color: #4f4f4f; +} +.page-footer-fixed .footer .footer-tools .go-top i { + color: #8a8a8a; +} +/* end:fixed footer */ +/*** +Gritter Notifications +***/ +.gritter-top { + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -30px !important; +} +.gritter-bottom { + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left bottom !important; +} +.gritter-item { + display: block; + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -40px !important; +} +.gritter-close { + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left top !important; +} +.gritter-title { + text-shadow: none !important; + /* Not supported by IE :( */ + +} +/* for the light (white) version of the gritter notice */ +.gritter-light .gritter-item, +.gritter-light .gritter-bottom, +.gritter-light .gritter-top, +.gritter-light .gritter-close { + background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; +} +.gritter-item-wrapper a { + color: #18a5ed; +} +.gritter-item-wrapper a:hover { + color: #0b6694; +} +/* begin: boxed page */ +@media (min-width: 992px) { + .page-boxed { + background-color: #2e2e2e !important; + } + .page-boxed .page-container { + background-color: #3d3d3d; + border-left: 1px solid #5e5e5e; + border-bottom: 1px solid #5e5e5e; + } + .page-boxed.page-sidebar-reversed .page-container { + border-left: 0; + border-right: 1px solid #5e5e5e; + } + .page-boxed.page-sidebar-fixed .page-container { + border-left: 0; + border-bottom: 0; + } + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-container { + border-left: 0; + border-right: 0; + border-bottom: 0; + } + .page-boxed.page-sidebar-fixed .page-sidebar { + border-left: 1px solid #5e5e5e; + } + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { + border-right: 1px solid #5e5e5e; + border-left: 0; + } + .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { + background-color: #2e2e2e !important; + } +} +/* end: boxed page */ +/*** +Landscape phone to portrait tablet +***/ +@media (max-width: 991px) { + /*** + page sidebar + ***/ + .page-sidebar { + background-color: #292929 !important; + } + ul.page-sidebar-menu > li > a { + border-top: 1px solid #4a4a4a !important; + } + ul.page-sidebar-menu > li:last-child > a { + border-bottom: 0 !important; + } + .page-sidebar .sidebar-search input { + background-color: #292929 !important; + } + ul.page-sidebar-menu > li.open > a, + ul.page-sidebar-menu > li > a:hover, + ul.page-sidebar-menu > li:hover > a { + background: #1e1e1e; + } +} diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/black_ifrm.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/black_ifrm.css index 976a9679..6aec79ea 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/black_ifrm.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/black_ifrm.css @@ -1,207 +1,207 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -light_ifrm theme -***/ -td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -/* button style*/ -.buttonRounded, -.buttonRoundedOver, -.buttonRoundedFocused, -.buttonRoundedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown, -.buttonRoundedSelected, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedDown, -.buttonRoundedSelectedFocusedDown, -.buttonRoundedSelectedOver, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDisabled, -.buttonRoundedSelectedDisabled { - background-color: #3d3d3d; - color: #fff; - border: 0px solid #b15a59; - border-radius: 0px; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - /*padding: 0 3px;*/ - padding-left:7px !important; - padding-right:7px !important; - height:30px !important; -} -.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} -.buttonRoundedOver, -.buttonRoundedFocusedOver, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown { - background-color: #212121; - height:30px !important; -} - -.menuButton, -.menuButtonOver, -.menuButtonDown, -.menuButtonDisabled, -.menuButtonFocused, -.menuButtonFocusedDown, -.menuButtonFocusedOver, -.menuButtonSelected, -.menuButtonSelectedDown, -.menuButtonSelectedOver, -.menuButtonSelectedDisabled { - background-color: #3d3d3d; - border: 0px solid #ababab; - color: #fff; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - padding-left: 7px !important; - padding-right: 7px !important; - height:30px !important; -} -.menuButtonOver { - background-color: #212121; - } -.menuButtonDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} -.buttonTitle, -.buttonTitleOver, -.buttonTitleDown, -.buttonTitleSelected, -.buttonTitleFocused, -.buttonTitleSelectedFocused, -.buttonTitleSelectedOver, -.buttonTitleFocusedOver, -.buttonTitleSelectedFocusedOver, -.buttonTitleSelectedDown, -.buttonTitleFocusedDown, -.buttonTitleSelectedFocusedDown, -.buttonTitleDisabled, -.buttonTitleSelectedDisabled { - color: #fff ; - } -.buttonTitleDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - /* windowBody dialogBody Style */ - .windowBody, -.dialogBody { - background-color: white; - border: 1px solid #d1d1d1; - border-top: 0; -} -.windowHeader, -.dialogHeader { - background-color: #3d3d3d; - padding: 0; -} -/* sectionHeader Style */ -.sectionHeaderopened { - background-color: #3d3d3d; - } - .sectionHeaderclosed { - background-color: #262626; - } - -#dt_example h1{ -color:#3d3d3d; -font-weight:600 !important; -} - - /*cell style*/ -.tallCellOver, -.tallCellOverDark { - background-color: #ffede4; - border-bottom: 1px solid #ffede4; - border-top: 1px solid #ffede4; - } -.tallCellSelected, -.tallCellSelectedDark { - background: #f8dddd; - border-bottom: 1px solid #f8dddd; - border-top: 1px solid #f8dddd; - } -.tallCellSelectedOver, -.tallCellSelectedOverDark { - background: #f8dddd; - border-bottom: 1px solid #f8dddd; - border-top: 1px solid #f8dddd; - } -.imgHeaderButtonOver, -.imgHeaderButtonDown, -.headerButtonOver, -.headerButtonDown, -.sorterButtonOver, -.sorterButtonDown { - background-color: #c4d7e2; - } - .cellSelected, -.cellSelectedDark, -.specialColSelected, -.recordSummaryCellSelected, -.recordSummaryCellSelectedDark { - background: #f8dddd !important; - border-bottom: 1px solid #f8dddd; - border-top: 1px solid #f8dddd; - } -.cellSelectedOver, -.cellSelectedOverDark, -.specialColSelectedOver, -.recordSummaryCellSelectedOver, -.recordSummaryCellSelectedOverDark { - background: #f8dddd !important; - border-bottom: 1px solid #f8dddd; - border-top: 1px solid #f8dddd; -} -.cellOver, -.cellOverDark, -.specialColOver, -.recordSummaryCellOver, -.recordSummaryCellOverDark { - background: #ffede4 !important; - border-bottom: 1px solid #ffede4; - border-top: 1px solid #ffede4; - } -.treeCellOver, -.treeCellOverDark { - background-color: #ffede4; -} +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +light_ifrm theme +***/ +td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +/* button style*/ +.buttonRounded, +.buttonRoundedOver, +.buttonRoundedFocused, +.buttonRoundedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown, +.buttonRoundedSelected, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedDown, +.buttonRoundedSelectedFocusedDown, +.buttonRoundedSelectedOver, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDisabled, +.buttonRoundedSelectedDisabled { + background-color: #3d3d3d; + color: #fff; + border: 0px solid #b15a59; + border-radius: 0px; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + /*padding: 0 3px;*/ + padding-left:7px !important; + padding-right:7px !important; + height:30px !important; +} +.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} +.buttonRoundedOver, +.buttonRoundedFocusedOver, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown { + background-color: #212121; + height:30px !important; +} + +.menuButton, +.menuButtonOver, +.menuButtonDown, +.menuButtonDisabled, +.menuButtonFocused, +.menuButtonFocusedDown, +.menuButtonFocusedOver, +.menuButtonSelected, +.menuButtonSelectedDown, +.menuButtonSelectedOver, +.menuButtonSelectedDisabled { + background-color: #3d3d3d; + border: 0px solid #ababab; + color: #fff; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + padding-left: 7px !important; + padding-right: 7px !important; + height:30px !important; +} +.menuButtonOver { + background-color: #212121; + } +.menuButtonDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} +.buttonTitle, +.buttonTitleOver, +.buttonTitleDown, +.buttonTitleSelected, +.buttonTitleFocused, +.buttonTitleSelectedFocused, +.buttonTitleSelectedOver, +.buttonTitleFocusedOver, +.buttonTitleSelectedFocusedOver, +.buttonTitleSelectedDown, +.buttonTitleFocusedDown, +.buttonTitleSelectedFocusedDown, +.buttonTitleDisabled, +.buttonTitleSelectedDisabled { + color: #fff ; + } +.buttonTitleDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + /* windowBody dialogBody Style */ + .windowBody, +.dialogBody { + background-color: white; + border: 1px solid #d1d1d1; + border-top: 0; +} +.windowHeader, +.dialogHeader { + background-color: #3d3d3d; + padding: 0; +} +/* sectionHeader Style */ +.sectionHeaderopened { + background-color: #3d3d3d; + } + .sectionHeaderclosed { + background-color: #262626; + } + +#dt_example h1{ +color:#3d3d3d; +font-weight:600 !important; +} + + /*cell style*/ +.tallCellOver, +.tallCellOverDark { + background-color: #ffede4; + border-bottom: 1px solid #ffede4; + border-top: 1px solid #ffede4; + } +.tallCellSelected, +.tallCellSelectedDark { + background: #f8dddd; + border-bottom: 1px solid #f8dddd; + border-top: 1px solid #f8dddd; + } +.tallCellSelectedOver, +.tallCellSelectedOverDark { + background: #f8dddd; + border-bottom: 1px solid #f8dddd; + border-top: 1px solid #f8dddd; + } +.imgHeaderButtonOver, +.imgHeaderButtonDown, +.headerButtonOver, +.headerButtonDown, +.sorterButtonOver, +.sorterButtonDown { + background-color: #c4d7e2; + } + .cellSelected, +.cellSelectedDark, +.specialColSelected, +.recordSummaryCellSelected, +.recordSummaryCellSelectedDark { + background: #f8dddd !important; + border-bottom: 1px solid #f8dddd; + border-top: 1px solid #f8dddd; + } +.cellSelectedOver, +.cellSelectedOverDark, +.specialColSelectedOver, +.recordSummaryCellSelectedOver, +.recordSummaryCellSelectedOverDark { + background: #f8dddd !important; + border-bottom: 1px solid #f8dddd; + border-top: 1px solid #f8dddd; +} +.cellOver, +.cellOverDark, +.specialColOver, +.recordSummaryCellOver, +.recordSummaryCellOverDark { + background: #ffede4 !important; + border-bottom: 1px solid #ffede4; + border-top: 1px solid #ffede4; + } +.treeCellOver, +.treeCellOverDark { + background-color: #ffede4; +} diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/blue.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/blue.css index ac651e70..0b48d414 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/blue.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/blue.css @@ -1,374 +1,374 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -Blue theme -***/ -/*** -Reset and overrides -***/ -body { - background-color: #1570a6 !important; -} -/*** -Page header -***/ -.header { - filter: none !important; - background-image: none !important; - background-color: #0f4e74 !important; -} -.header .btn-navbar { - background-color: #0f4e74 !important; -} -.header .navbar-nav .dropdown-toggle:hover, -.header .navbar-nav .dropdown.open .dropdown-toggle { - color: #fff; - background-color: #146a9d !important; -} -.header .navbar-nav li.dropdown .dropdown-toggle i { - color: #68bbec !important; -} -.page-content .page-breadcrumb.breadcrumb{ -background-color:#F5F5F5 !important; -} -/*** -Header Search -***/ -.header .search-form { - background-color: #0B4263; -} - -.header .search-form .form-control{ - color: #68bbec; - border: 0; - background-color: #0B4263; -} - -.header .search-form .submit { - background: url(../../image/search-icon-blue.png); -} - -/*** -Hor menu -***/ -.header .hor-menu ul.nav li a { - color: #ccc; -} - -.header .hor-menu ul.nav li.open > a, -.header .hor-menu ul.nav li > a:hover, -.header .hor-menu ul.nav li > a:focus { - color: #fff; - background: #146a9d; -} - -.header .hor-menu .dropdown-menu li:hover > a, -.header .hor-menu ul.nav li.active > a, -.header .hor-menu ul.nav li.active > a:hover { - color: #fff; - background: #e02222 !important; -} - -.header .hor-menu ul.nav li.current > a, -.header .hor-menu ul.nav li.current > a:hover { - color: #fff; - background: #e02222 !important; -} - -.header .hor-menu .dropdown-menu { - background: #146a9d; -} -.header .hor-menu .dropdown-menu li > a { - color: #ccc; -} - -.header .hor-menu .hor-menu-search-form-toggler.off { - background: #146a9d url(../../image/hor-menu-search-close-white.png) no-repeat center; -} - -.header .hor-menu .search-form { - background:#146a9d; -} - -.header .hor-menu .search-form form input { - color: #ccc; -} - -.header .hor-menu .search-form .btn { - color: #ccc; - background: url(../../image/search-icon-white.png) no-repeat center; -} - -.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */ - color: #ccc; -} -.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ - color: #ccc; -} -.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */ - color: #ccc; -} -.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */ - color: #ccc; -} - -/*** -Mega Menu -***/ -.mega-menu .mega-menu-submenu { - border-right: 1px solid #1876AD; -} - -.mega-menu .mega-menu-submenu li h3 { - color: #fff; -} - -/*** -Page sidebar -***/ -.page-sidebar { - background-color: #1570a6; -} -ul.page-sidebar-menu > li > a { - border-top: 1px solid #1c95dc !important; - color: #ffffff !important; -} -ul.page-sidebar-menu > li:last-child > a { - border-bottom: 1px solid transparent !important; -} -ul.page-sidebar-menu > li a i { - color: #7fc5ef; -} -ul.page-sidebar-menu > li.open > a, -ul.page-sidebar-menu > li > a:hover, -ul.page-sidebar-menu > li:hover > a { - background: #12618f; -} -ul.page-sidebar-menu > li.active > a { - background: #cc1d1d !important; - border-top-color: transparent !important; - color: #ffffff; -} -ul.page-sidebar-menu > li.active > a i { - color: #ffffff; -} -ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { - border-top: 0px !important; -} -ul.page-sidebar-menu > li > ul.sub-menu > li.active > a, -ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { - color: #ffffff !important; - background: #1b8fd3 !important; -} -ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { - background: #1b8fd3 !important; -} -/* 3rd level sub menu */ -ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li.active > a, -ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a:hover, -ul.page-sidebar-menu > li > ul.sub-menu li.open > a { - color: #ffffff !important; - background: #1b8fd3 !important; -} -/* font color for all sub menu links*/ -ul.page-sidebar-menu li > ul.sub-menu > li > a { - color: #c3e4f7; -} -/* menu arrows */ -ul.page-sidebar-menu > li > a .arrow:before, -ul.page-sidebar-menu > li > a .arrow.open:before { - color: #51b1e9 !important; -} -ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, -ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { - color: #3ba6e6 !important; -} -ul.page-sidebar-menu > li > a > .arrow.open:before { - color: #68bbec !important; -} -ul.page-sidebar-menu > li.active > a .arrow:before, -ul.page-sidebar-menu > li.active > a .arrow.open:before { - color: #ffffff !important; -} -/* sidebar search */ -.page-sidebar .sidebar-search input { - background-color: #0f5179 !important; - color: #51b1e9; -} -.page-sidebar .sidebar-search input::-webkit-input-placeholder { - color: #51b1e9 !important; -} -.page-sidebar .sidebar-search input:-moz-placeholder { - color: #51b1e9 !important; -} -.page-sidebar .sidebar-search input:-ms-input-placeholder { - color: #51b1e9 !important; -} -.page-sidebar .sidebar-search input { - background-color: #1570a6 !important; - color: #bfbfbf !important; -} -.page-sidebar .sidebar-search .input-box { - border-bottom: 1px solid #51b1e9 !important; -} -.page-sidebar .sidebar-search .submit { - background-image: url(../../image/search-icon-blue.png); -} -/*** -Sidebar toggler -***/ -.sidebar-toggler { - background-image: url(../../image/sidebar-toggler-blue.jpg); - background-color: #0f5179; -} -/* search box bg color on expanded */ -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { - background-color: #1570a6 !important; -} -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { - background-image: url("../../image/sidebar-search-close-blue.png"); -} -/* sub menu bg color on hover menu item */ -.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { - background-color: #1570a6; -} -/*** -Footer -***/ -.footer .footer-inner { - color: #68bbec; -} -.footer .footer-tools .go-top { - background-color: #1985c6; -} -.footer .footer-tools .go-top:hover { - opacity: 0.7; - filter: alpha(opacity=70); -} -.footer .footer-tools .go-top i { - color: #68bbec; -} -/*** -Footer Layouts (new in v1.3) -***/ -/* begin:fixed footer */ -.page-footer-fixed .footer { - background-color: #0f5179; -} -.page-footer-fixed .footer .footer-inner { - color: #68bbec; -} -.page-footer-fixed .footer .footer-tools .go-top { - background-color: #1985c6; -} -.page-footer-fixed .footer .footer-tools .go-top i { - color: #68bbec; -} -/* end:fixed footer */ -/*** -Gritter Notifications -***/ -.gritter-top { - background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left -30px !important; -} -.gritter-bottom { - background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left bottom !important; -} -.gritter-item { - display: block; - background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left -40px !important; -} -.gritter-close { - background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left top !important; -} -.gritter-title { - text-shadow: none !important; - /* Not supported by IE :( */ - -} -/* for the light (white) version of the gritter notice */ -.gritter-light .gritter-item, -.gritter-light .gritter-bottom, -.gritter-light .gritter-top, -.gritter-light .gritter-close { - background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; -} -.gritter-item-wrapper a { - color: #18a5ed; -} -.gritter-item-wrapper a:hover { - color: #0b6694; -} -/* begin: boxed page */ -@media (min-width: 992px) { - .page-boxed { - background-color: #125e8b !important; - } - .page-boxed .page-container { - background-color: #1570a6; - border-left: 1px solid #1c98e1; - border-bottom: 1px solid #1c98e1; - } - .page-boxed.page-sidebar-reversed .page-container { - border-left: 0; - border-right: 1px solid #1c98e1; - } - .page-boxed.page-sidebar-fixed .page-container { - border-left: 0; - border-bottom: 0; - } - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-container { - border-left: 0; - border-right: 0; - border-bottom: 0; - } - .page-boxed.page-sidebar-fixed .page-sidebar { - border-left: 1px solid #1c98e1; - } - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { - border-right: 1px solid #1c98e1; - border-left: 0; - } - .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { - background-color: #125e8b !important; - } -} -/* end: boxed page */ -/*** -Landscape phone to portrait tablet -***/ -@media (max-width: 991px) { - /*** - page sidebar - ***/ - .page-sidebar { - background-color: #105882 !important; - } - ul.page-sidebar-menu > li > a { - border-top: 1px solid #187fbd !important; - } - ul.page-sidebar-menu > li:last-child > a { - border-bottom: 0 !important; - } - .page-sidebar .sidebar-search input { - background-color: #105882 !important; - } - ul.page-sidebar-menu > li.open > a, - ul.page-sidebar-menu > li > a:hover, - ul.page-sidebar-menu > li:hover > a { - background: #0e4b70; - } -} +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +Blue theme +***/ +/*** +Reset and overrides +***/ +body { + background-color: #1570a6 !important; +} +/*** +Page header +***/ +.header { + filter: none !important; + background-image: none !important; + background-color: #0f4e74 !important; +} +.header .btn-navbar { + background-color: #0f4e74 !important; +} +.header .navbar-nav .dropdown-toggle:hover, +.header .navbar-nav .dropdown.open .dropdown-toggle { + color: #fff; + background-color: #146a9d !important; +} +.header .navbar-nav li.dropdown .dropdown-toggle i { + color: #68bbec !important; +} +.page-content .page-breadcrumb.breadcrumb{ +background-color:#F5F5F5 !important; +} +/*** +Header Search +***/ +.header .search-form { + background-color: #0B4263; +} + +.header .search-form .form-control{ + color: #68bbec; + border: 0; + background-color: #0B4263; +} + +.header .search-form .submit { + background: url(../../image/search-icon-blue.png); +} + +/*** +Hor menu +***/ +.header .hor-menu ul.nav li a { + color: #ccc; +} + +.header .hor-menu ul.nav li.open > a, +.header .hor-menu ul.nav li > a:hover, +.header .hor-menu ul.nav li > a:focus { + color: #fff; + background: #146a9d; +} + +.header .hor-menu .dropdown-menu li:hover > a, +.header .hor-menu ul.nav li.active > a, +.header .hor-menu ul.nav li.active > a:hover { + color: #fff; + background: #e02222 !important; +} + +.header .hor-menu ul.nav li.current > a, +.header .hor-menu ul.nav li.current > a:hover { + color: #fff; + background: #e02222 !important; +} + +.header .hor-menu .dropdown-menu { + background: #146a9d; +} +.header .hor-menu .dropdown-menu li > a { + color: #ccc; +} + +.header .hor-menu .hor-menu-search-form-toggler.off { + background: #146a9d url(../../image/hor-menu-search-close-white.png) no-repeat center; +} + +.header .hor-menu .search-form { + background:#146a9d; +} + +.header .hor-menu .search-form form input { + color: #ccc; +} + +.header .hor-menu .search-form .btn { + color: #ccc; + background: url(../../image/search-icon-white.png) no-repeat center; +} + +.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */ + color: #ccc; +} +.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ + color: #ccc; +} +.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */ + color: #ccc; +} +.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */ + color: #ccc; +} + +/*** +Mega Menu +***/ +.mega-menu .mega-menu-submenu { + border-right: 1px solid #1876AD; +} + +.mega-menu .mega-menu-submenu li h3 { + color: #fff; +} + +/*** +Page sidebar +***/ +.page-sidebar { + background-color: #1570a6; +} +ul.page-sidebar-menu > li > a { + border-top: 1px solid #1c95dc !important; + color: #ffffff !important; +} +ul.page-sidebar-menu > li:last-child > a { + border-bottom: 1px solid transparent !important; +} +ul.page-sidebar-menu > li a i { + color: #7fc5ef; +} +ul.page-sidebar-menu > li.open > a, +ul.page-sidebar-menu > li > a:hover, +ul.page-sidebar-menu > li:hover > a { + background: #12618f; +} +ul.page-sidebar-menu > li.active > a { + background: #cc1d1d !important; + border-top-color: transparent !important; + color: #ffffff; +} +ul.page-sidebar-menu > li.active > a i { + color: #ffffff; +} +ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { + border-top: 0px !important; +} +ul.page-sidebar-menu > li > ul.sub-menu > li.active > a, +ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { + color: #ffffff !important; + background: #1b8fd3 !important; +} +ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { + background: #1b8fd3 !important; +} +/* 3rd level sub menu */ +ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li.active > a, +ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a:hover, +ul.page-sidebar-menu > li > ul.sub-menu li.open > a { + color: #ffffff !important; + background: #1b8fd3 !important; +} +/* font color for all sub menu links*/ +ul.page-sidebar-menu li > ul.sub-menu > li > a { + color: #c3e4f7; +} +/* menu arrows */ +ul.page-sidebar-menu > li > a .arrow:before, +ul.page-sidebar-menu > li > a .arrow.open:before { + color: #51b1e9 !important; +} +ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, +ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { + color: #3ba6e6 !important; +} +ul.page-sidebar-menu > li > a > .arrow.open:before { + color: #68bbec !important; +} +ul.page-sidebar-menu > li.active > a .arrow:before, +ul.page-sidebar-menu > li.active > a .arrow.open:before { + color: #ffffff !important; +} +/* sidebar search */ +.page-sidebar .sidebar-search input { + background-color: #0f5179 !important; + color: #51b1e9; +} +.page-sidebar .sidebar-search input::-webkit-input-placeholder { + color: #51b1e9 !important; +} +.page-sidebar .sidebar-search input:-moz-placeholder { + color: #51b1e9 !important; +} +.page-sidebar .sidebar-search input:-ms-input-placeholder { + color: #51b1e9 !important; +} +.page-sidebar .sidebar-search input { + background-color: #1570a6 !important; + color: #bfbfbf !important; +} +.page-sidebar .sidebar-search .input-box { + border-bottom: 1px solid #51b1e9 !important; +} +.page-sidebar .sidebar-search .submit { + background-image: url(../../image/search-icon-blue.png); +} +/*** +Sidebar toggler +***/ +.sidebar-toggler { + background-image: url(../../image/sidebar-toggler-blue.jpg); + background-color: #0f5179; +} +/* search box bg color on expanded */ +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { + background-color: #1570a6 !important; +} +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { + background-image: url("../../image/sidebar-search-close-blue.png"); +} +/* sub menu bg color on hover menu item */ +.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { + background-color: #1570a6; +} +/*** +Footer +***/ +.footer .footer-inner { + color: #68bbec; +} +.footer .footer-tools .go-top { + background-color: #1985c6; +} +.footer .footer-tools .go-top:hover { + opacity: 0.7; + filter: alpha(opacity=70); +} +.footer .footer-tools .go-top i { + color: #68bbec; +} +/*** +Footer Layouts (new in v1.3) +***/ +/* begin:fixed footer */ +.page-footer-fixed .footer { + background-color: #0f5179; +} +.page-footer-fixed .footer .footer-inner { + color: #68bbec; +} +.page-footer-fixed .footer .footer-tools .go-top { + background-color: #1985c6; +} +.page-footer-fixed .footer .footer-tools .go-top i { + color: #68bbec; +} +/* end:fixed footer */ +/*** +Gritter Notifications +***/ +.gritter-top { + background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left -30px !important; +} +.gritter-bottom { + background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left bottom !important; +} +.gritter-item { + display: block; + background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left -40px !important; +} +.gritter-close { + background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left top !important; +} +.gritter-title { + text-shadow: none !important; + /* Not supported by IE :( */ + +} +/* for the light (white) version of the gritter notice */ +.gritter-light .gritter-item, +.gritter-light .gritter-bottom, +.gritter-light .gritter-top, +.gritter-light .gritter-close { + background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; +} +.gritter-item-wrapper a { + color: #18a5ed; +} +.gritter-item-wrapper a:hover { + color: #0b6694; +} +/* begin: boxed page */ +@media (min-width: 992px) { + .page-boxed { + background-color: #125e8b !important; + } + .page-boxed .page-container { + background-color: #1570a6; + border-left: 1px solid #1c98e1; + border-bottom: 1px solid #1c98e1; + } + .page-boxed.page-sidebar-reversed .page-container { + border-left: 0; + border-right: 1px solid #1c98e1; + } + .page-boxed.page-sidebar-fixed .page-container { + border-left: 0; + border-bottom: 0; + } + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-container { + border-left: 0; + border-right: 0; + border-bottom: 0; + } + .page-boxed.page-sidebar-fixed .page-sidebar { + border-left: 1px solid #1c98e1; + } + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { + border-right: 1px solid #1c98e1; + border-left: 0; + } + .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { + background-color: #125e8b !important; + } +} +/* end: boxed page */ +/*** +Landscape phone to portrait tablet +***/ +@media (max-width: 991px) { + /*** + page sidebar + ***/ + .page-sidebar { + background-color: #105882 !important; + } + ul.page-sidebar-menu > li > a { + border-top: 1px solid #187fbd !important; + } + ul.page-sidebar-menu > li:last-child > a { + border-bottom: 0 !important; + } + .page-sidebar .sidebar-search input { + background-color: #105882 !important; + } + ul.page-sidebar-menu > li.open > a, + ul.page-sidebar-menu > li > a:hover, + ul.page-sidebar-menu > li:hover > a { + background: #0e4b70; + } +} diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/blue_ifrm.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/blue_ifrm.css index 31ccf309..d4c15f9e 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/blue_ifrm.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/blue_ifrm.css @@ -1,207 +1,207 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -light_ifrm theme -***/ -td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -/* button style*/ -.buttonRounded, -.buttonRoundedOver, -.buttonRoundedFocused, -.buttonRoundedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown, -.buttonRoundedSelected, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedDown, -.buttonRoundedSelectedFocusedDown, -.buttonRoundedSelectedOver, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDisabled, -.buttonRoundedSelectedDisabled { - background-color: #3f9ed5; - color: #fff; - border: 0px solid #b15a59; - border-radius: 0px; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - /*padding: 0 3px;*/ - padding-left:7px !important; - padding-right:7px !important; - height:30px !important; -} -.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} -.buttonRoundedOver, -.buttonRoundedFocusedOver, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown { - background-color: #398ec0; - height:30px !important; -} - -.menuButton, -.menuButtonOver, -.menuButtonDown, -.menuButtonDisabled, -.menuButtonFocused, -.menuButtonFocusedDown, -.menuButtonFocusedOver, -.menuButtonSelected, -.menuButtonSelectedDown, -.menuButtonSelectedOver, -.menuButtonSelectedDisabled { - background-color: #3f9ed5; - border: 0px solid #ababab; - color: #fff; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - padding-left: 7px !important; - padding-right: 7px !important; - height:30px !important; -} -.menuButtonOver { - background-color: #398ec0; - } -.menuButtonDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - - .buttonTitle, -.buttonTitleOver, -.buttonTitleDown, -.buttonTitleSelected, -.buttonTitleFocused, -.buttonTitleSelectedFocused, -.buttonTitleSelectedOver, -.buttonTitleFocusedOver, -.buttonTitleSelectedFocusedOver, -.buttonTitleSelectedDown, -.buttonTitleFocusedDown, -.buttonTitleSelectedFocusedDown, -.buttonTitleDisabled, -.buttonTitleSelectedDisabled { - color: #fff ; - } - .buttonTitleDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - /* windowBody dialogBody Style */ - .windowBody, -.dialogBody { - background-color: white; - border: 1px solid #3f9ed5; - border-top: 0; -} -.windowHeader, -.dialogHeader { - background-color: #3f9ed5; - padding: 0; -} -/* sectionHeader Style */ -.sectionHeaderopened { - background-color: #3f9ed5; - } - .sectionHeaderclosed { - background-color: #52ade2; - } - -#dt_example h1{ -color:#438eb9; -font-weight:600 !important; -} - /*cell style*/ -.tallCellOver, -.tallCellOverDark { - background-color: #d9e3e8; - border-bottom: 1px solid #d9e3e8; - border-top: 1px solid #d9e3e8; - } -.tallCellSelected, -.tallCellSelectedDark { - background: #c4d7e2; - border-bottom: 1px solid #c4d7e2; - border-top: 1px solid #c4d7e2; - } -.tallCellSelectedOver, -.tallCellSelectedOverDark { - background: #c4d7e2; - border-bottom: 1px solid #c4d7e2; - border-top: 1px solid #c4d7e2; - } -.imgHeaderButtonOver, -.imgHeaderButtonDown, -.headerButtonOver, -.headerButtonDown, -.sorterButtonOver, -.sorterButtonDown { - background-color: #c4d7e2; - } -.cellSelected, -.cellSelectedDark, -.specialColSelected, -.recordSummaryCellSelected, -.recordSummaryCellSelectedDark { - background: #c4d7e2 !important; - border-bottom: 1px solid #c4d7e2; - border-top: 1px solid #c4d7e2; - } -.cellSelectedOver, -.cellSelectedOverDark, -.specialColSelectedOver, -.recordSummaryCellSelectedOver, -.recordSummaryCellSelectedOverDark { - background: #c4d7e2 !important; - border-bottom: 1px solid #c4d7e2; - border-top: 1px solid #c4d7e2; -} -.cellOver, -.cellOverDark, -.specialColOver, -.recordSummaryCellOver, -.recordSummaryCellOverDark { - background: #d9e3e8 !important; - border-bottom: 1px solid #d9e3e8; - border-top: 1px solid #d9e3e8; - } -.treeCellOver, -.treeCellOverDark { - background-color: #d9e3e8; -} +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +light_ifrm theme +***/ +td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +/* button style*/ +.buttonRounded, +.buttonRoundedOver, +.buttonRoundedFocused, +.buttonRoundedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown, +.buttonRoundedSelected, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedDown, +.buttonRoundedSelectedFocusedDown, +.buttonRoundedSelectedOver, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDisabled, +.buttonRoundedSelectedDisabled { + background-color: #3f9ed5; + color: #fff; + border: 0px solid #b15a59; + border-radius: 0px; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + /*padding: 0 3px;*/ + padding-left:7px !important; + padding-right:7px !important; + height:30px !important; +} +.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} +.buttonRoundedOver, +.buttonRoundedFocusedOver, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown { + background-color: #398ec0; + height:30px !important; +} + +.menuButton, +.menuButtonOver, +.menuButtonDown, +.menuButtonDisabled, +.menuButtonFocused, +.menuButtonFocusedDown, +.menuButtonFocusedOver, +.menuButtonSelected, +.menuButtonSelectedDown, +.menuButtonSelectedOver, +.menuButtonSelectedDisabled { + background-color: #3f9ed5; + border: 0px solid #ababab; + color: #fff; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + padding-left: 7px !important; + padding-right: 7px !important; + height:30px !important; +} +.menuButtonOver { + background-color: #398ec0; + } +.menuButtonDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + + .buttonTitle, +.buttonTitleOver, +.buttonTitleDown, +.buttonTitleSelected, +.buttonTitleFocused, +.buttonTitleSelectedFocused, +.buttonTitleSelectedOver, +.buttonTitleFocusedOver, +.buttonTitleSelectedFocusedOver, +.buttonTitleSelectedDown, +.buttonTitleFocusedDown, +.buttonTitleSelectedFocusedDown, +.buttonTitleDisabled, +.buttonTitleSelectedDisabled { + color: #fff ; + } + .buttonTitleDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + /* windowBody dialogBody Style */ + .windowBody, +.dialogBody { + background-color: white; + border: 1px solid #3f9ed5; + border-top: 0; +} +.windowHeader, +.dialogHeader { + background-color: #3f9ed5; + padding: 0; +} +/* sectionHeader Style */ +.sectionHeaderopened { + background-color: #3f9ed5; + } + .sectionHeaderclosed { + background-color: #52ade2; + } + +#dt_example h1{ +color:#438eb9; +font-weight:600 !important; +} + /*cell style*/ +.tallCellOver, +.tallCellOverDark { + background-color: #d9e3e8; + border-bottom: 1px solid #d9e3e8; + border-top: 1px solid #d9e3e8; + } +.tallCellSelected, +.tallCellSelectedDark { + background: #c4d7e2; + border-bottom: 1px solid #c4d7e2; + border-top: 1px solid #c4d7e2; + } +.tallCellSelectedOver, +.tallCellSelectedOverDark { + background: #c4d7e2; + border-bottom: 1px solid #c4d7e2; + border-top: 1px solid #c4d7e2; + } +.imgHeaderButtonOver, +.imgHeaderButtonDown, +.headerButtonOver, +.headerButtonDown, +.sorterButtonOver, +.sorterButtonDown { + background-color: #c4d7e2; + } +.cellSelected, +.cellSelectedDark, +.specialColSelected, +.recordSummaryCellSelected, +.recordSummaryCellSelectedDark { + background: #c4d7e2 !important; + border-bottom: 1px solid #c4d7e2; + border-top: 1px solid #c4d7e2; + } +.cellSelectedOver, +.cellSelectedOverDark, +.specialColSelectedOver, +.recordSummaryCellSelectedOver, +.recordSummaryCellSelectedOverDark { + background: #c4d7e2 !important; + border-bottom: 1px solid #c4d7e2; + border-top: 1px solid #c4d7e2; +} +.cellOver, +.cellOverDark, +.specialColOver, +.recordSummaryCellOver, +.recordSummaryCellOverDark { + background: #d9e3e8 !important; + border-bottom: 1px solid #d9e3e8; + border-top: 1px solid #d9e3e8; + } +.treeCellOver, +.treeCellOverDark { + background-color: #d9e3e8; +} diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/brown.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/brown.css index 8a9339e2..a9e5831f 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/brown.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/brown.css @@ -1,376 +1,376 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -Brown theme -***/ -/*** -Reset and overrides -***/ -body { - background-color: #623f18 !important; -} -/*** -Page header -***/ -.header { - filter: none !important; - background-image: none !important; - background-color: #35220d !important; -} -.header .btn-navbar { - background-color: #35220d !important; -} -.header .navbar-nav .dropdown-toggle:hover, -.header .navbar-nav .dropdown.open .dropdown-toggle { - background-color: #5a3a16 !important; -} -.header .navbar-nav li.dropdown .dropdown-toggle i { - color: #d18d42 !important; -} -.btn-group .btn.blue.dropdown-toggle{ -background-color: #8d6a43 !important; -} -.page-content .page-breadcrumb.breadcrumb{ -background-color:#F5F5F5 !important; -} -/*** -Header Search -***/ -.header .search-form { - background-color: #241709; -} - -.header .search-form .form-control{ - color: #ccc; - border: 0; - background-color: #241709; -} - -.header .search-form .submit { - background: url(../../image/search-icon-brown.png); -} -/*** -Hor menu -***/ -.header .hor-menu ul.nav li a { - color: #ccc; -} - -.header .hor-menu ul.nav li.open > a, -.header .hor-menu ul.nav li > a:hover, -.header .hor-menu ul.nav li > a:focus { - color: #fff; - background: #5a3a16; -} - -.header .hor-menu .dropdown-menu li:hover > a, -.header .hor-menu ul.nav li.active > a, -.header .hor-menu ul.nav li.active > a:hover { - color: #fff; - background: #e02222 !important; -} - -.header .hor-menu ul.nav li.current > a, -.header .hor-menu ul.nav li.current > a:hover { - color: #fff; - background: #e02222 !important; -} - - -.header .hor-menu .dropdown-menu { - background: #5a3a16; -} -.header .hor-menu .dropdown-menu li > a { - color: #ccc; -} - -.header .hor-menu .hor-menu-search-form-toggler.off { - background: #5a3a16 url(../../image/hor-menu-search-close-white.png) no-repeat center; -} - -.header .hor-menu .search-form { - background:#5a3a16; -} - -.header .hor-menu .search-form form input { - color: #ccc; -} - -.header .hor-menu .search-form .btn { - color: #ccc; - background: url(../../image/search-icon-white.png) no-repeat center; -} - -.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */ - color: #ccc; -} -.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ - color: #ccc; -} -.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */ - color: #ccc; -} -.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */ - color: #ccc; -} - -/*** -Mega Menu -***/ -.mega-menu .mega-menu-submenu { - border-right: 1px solid #6B451B; -} - -.mega-menu .mega-menu-submenu li h3 { - color: #fff; -} - -/*** -Page sidebar -***/ -.page-sidebar { - background-color: #623f18; -} -ul.page-sidebar-menu > li > a { - border-top: 1px solid #935f24 !important; - color: #ffffff !important; -} -ul.page-sidebar-menu > li:last-child > a { - border-bottom: 1px solid transparent !important; -} -ul.page-sidebar-menu > li a i { - color: #9a6d3a; -} -ul.page-sidebar-menu > li.open > a, -ul.page-sidebar-menu > li > a:hover, -ul.page-sidebar-menu > li:hover > a { - background: #4e3112; -} -ul.page-sidebar-menu > li.active > a { - background: #4e3112 !important; - border-top-color: transparent !important; - color: #ffffff; -} -ul.page-sidebar-menu > li.active > a i { - color: #ffffff; -} -ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { - border-top: 0px !important; -} -ul.page-sidebar-menu > li > ul.sub-menu > li.active > a, -ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { - color: #ffffff !important; - background: #8b5922 !important; -} -ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { - background: #8b5922 !important; -} -/* 3rd level sub menu */ -ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li.active > a, -ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a:hover, -ul.page-sidebar-menu > li > ul.sub-menu li.open > a { - color: #ffffff !important; - background: #8b5922 !important; -} -/* font color for all sub menu links*/ -ul.page-sidebar-menu li > ul.sub-menu > li > a { - color: #e5bf94; -} -/* menu arrows */ -ul.page-sidebar-menu > li > a .arrow:before, -ul.page-sidebar-menu > li > a .arrow.open:before { - color: #c88131 !important; -} -ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, -ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { - color: #b4742c !important; -} -ul.page-sidebar-menu > li > a > .arrow.open:before { - color: #d18d42 !important; -} -ul.page-sidebar-menu > li.active > a .arrow:before, -ul.page-sidebar-menu > li.active > a .arrow.open:before { - color: #ffffff !important; -} -/* sidebar search */ -.page-sidebar .sidebar-search input { - background-color: #39250e !important; - color: #b18d65; -} -.page-sidebar .sidebar-search input::-webkit-input-placeholder { - color: #b18d65 !important; -} -.page-sidebar .sidebar-search input:-moz-placeholder { - color: #b18d65 !important; -} -.page-sidebar .sidebar-search input:-ms-input-placeholder { - color: #b18d65 !important; -} -.page-sidebar .sidebar-search input { - background-color: #623f18 !important; - color: #b18d65 !important; -} -.page-sidebar .sidebar-search .input-box { - border-bottom: 1px solid #845f36 !important; -} -.page-sidebar .sidebar-search .submit { - background-image: url(../../image/search-icon-brown.png); -} -/*** -Sidebar toggler -***/ -.sidebar-toggler { - background-image: url(../../image/sidebar-toggler-brown.jpg); - background-color: #39250e; -} -/* search box bg color on expanded */ -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { - background-color: #623f18 !important; -} -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { - background-image: url("../../image/sidebar-search-close-brown.png"); -} -/* sub menu bg color on hover menu item */ -.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { - background-color: #623f18; -} -/*** -Footer -***/ -.footer .footer-inner { - color: #999999; -} -.footer .footer-tools .go-top { - background-color: #7f511f; -} -.footer .footer-tools .go-top:hover { - opacity: 0.7; - filter: alpha(opacity=70); -} -.footer .footer-tools .go-top i { - color: #d18d42; -} -/*** -Footer Layouts (new in v1.3) -***/ -/* begin:fixed footer */ -.page-footer-fixed .footer { - background-color: #39250e; -} -.page-footer-fixed .footer .footer-inner { - color: #999999; -} -.page-footer-fixed .footer .footer-tools .go-top { - background-color: #7f511f; -} -.page-footer-fixed .footer .footer-tools .go-top i { - color: #d18d42; -} -/* end:fixed footer */ -/*** -Gritter Notifications -***/ -.gritter-top { - background: url(../../thirdparty/gritter/images/gritter-brown.png) no-repeat left -30px !important; -} -.gritter-bottom { - background: url(../../thirdparty/gritter/images/gritter-brown.png) no-repeat left bottom !important; -} -.gritter-item { - display: block; - background: url(../../thirdparty/gritter/images/gritter-brown.png) no-repeat left -40px !important; -} -.gritter-close { - background: url(../../thirdparty/gritter/images/gritter-brown.png) no-repeat left top !important; -} -.gritter-title { - text-shadow: none !important; - /* Not supported by IE :( */ - -} -/* for the light (white) version of the gritter notice */ -.gritter-light .gritter-item, -.gritter-light .gritter-bottom, -.gritter-light .gritter-top, -.gritter-light .gritter-close { - background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; -} -.gritter-item-wrapper a { - color: #b18d65; -} -.gritter-item-wrapper a:hover { - color: #755a3b; -} -/* begin: boxed page */ -@media (min-width: 992px) { - .page-boxed { - background-color: #492f12 !important; - } - .page-boxed .page-container { - background-color: #623f18; - border-left: 1px solid #976125; - border-bottom: 1px solid #976125; - } - .page-boxed.page-sidebar-reversed .page-container { - border-left: 0; - border-right: 1px solid #976125; - } - .page-boxed.page-sidebar-fixed .page-container { - border-left: 0; - border-bottom: 0; - } - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-container { - border-left: 0; - border-right: 0; - border-bottom: 0; - } - .page-boxed.page-sidebar-fixed .page-sidebar { - border-left: 1px solid #976125; - } - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { - border-right: 1px solid #976125; - border-left: 0; - } - .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { - background-color: #492f12 !important; - } -} -/* end: boxed page */ -/*** -Landscape phone to portrait tablet -***/ -@media (max-width: 991px) { - /*** - page sidebar - ***/ - .page-sidebar { - background-color: #412a10 !important; - } - ul.page-sidebar-menu > li > a { - border-top: 1px solid #764c1d !important; - } - ul.page-sidebar-menu > li:last-child > a { - border-bottom: 0 !important; - } - .page-sidebar .sidebar-search input { - background-color: #412a10 !important; - } - ul.page-sidebar-menu > li.open > a, - ul.page-sidebar-menu > li > a:hover, - ul.page-sidebar-menu > li:hover > a { - background: #311f0c; - } -} +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +Brown theme +***/ +/*** +Reset and overrides +***/ +body { + background-color: #623f18 !important; +} +/*** +Page header +***/ +.header { + filter: none !important; + background-image: none !important; + background-color: #35220d !important; +} +.header .btn-navbar { + background-color: #35220d !important; +} +.header .navbar-nav .dropdown-toggle:hover, +.header .navbar-nav .dropdown.open .dropdown-toggle { + background-color: #5a3a16 !important; +} +.header .navbar-nav li.dropdown .dropdown-toggle i { + color: #d18d42 !important; +} +.btn-group .btn.blue.dropdown-toggle{ +background-color: #8d6a43 !important; +} +.page-content .page-breadcrumb.breadcrumb{ +background-color:#F5F5F5 !important; +} +/*** +Header Search +***/ +.header .search-form { + background-color: #241709; +} + +.header .search-form .form-control{ + color: #ccc; + border: 0; + background-color: #241709; +} + +.header .search-form .submit { + background: url(../../image/search-icon-brown.png); +} +/*** +Hor menu +***/ +.header .hor-menu ul.nav li a { + color: #ccc; +} + +.header .hor-menu ul.nav li.open > a, +.header .hor-menu ul.nav li > a:hover, +.header .hor-menu ul.nav li > a:focus { + color: #fff; + background: #5a3a16; +} + +.header .hor-menu .dropdown-menu li:hover > a, +.header .hor-menu ul.nav li.active > a, +.header .hor-menu ul.nav li.active > a:hover { + color: #fff; + background: #e02222 !important; +} + +.header .hor-menu ul.nav li.current > a, +.header .hor-menu ul.nav li.current > a:hover { + color: #fff; + background: #e02222 !important; +} + + +.header .hor-menu .dropdown-menu { + background: #5a3a16; +} +.header .hor-menu .dropdown-menu li > a { + color: #ccc; +} + +.header .hor-menu .hor-menu-search-form-toggler.off { + background: #5a3a16 url(../../image/hor-menu-search-close-white.png) no-repeat center; +} + +.header .hor-menu .search-form { + background:#5a3a16; +} + +.header .hor-menu .search-form form input { + color: #ccc; +} + +.header .hor-menu .search-form .btn { + color: #ccc; + background: url(../../image/search-icon-white.png) no-repeat center; +} + +.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */ + color: #ccc; +} +.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ + color: #ccc; +} +.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */ + color: #ccc; +} +.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */ + color: #ccc; +} + +/*** +Mega Menu +***/ +.mega-menu .mega-menu-submenu { + border-right: 1px solid #6B451B; +} + +.mega-menu .mega-menu-submenu li h3 { + color: #fff; +} + +/*** +Page sidebar +***/ +.page-sidebar { + background-color: #623f18; +} +ul.page-sidebar-menu > li > a { + border-top: 1px solid #935f24 !important; + color: #ffffff !important; +} +ul.page-sidebar-menu > li:last-child > a { + border-bottom: 1px solid transparent !important; +} +ul.page-sidebar-menu > li a i { + color: #9a6d3a; +} +ul.page-sidebar-menu > li.open > a, +ul.page-sidebar-menu > li > a:hover, +ul.page-sidebar-menu > li:hover > a { + background: #4e3112; +} +ul.page-sidebar-menu > li.active > a { + background: #4e3112 !important; + border-top-color: transparent !important; + color: #ffffff; +} +ul.page-sidebar-menu > li.active > a i { + color: #ffffff; +} +ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { + border-top: 0px !important; +} +ul.page-sidebar-menu > li > ul.sub-menu > li.active > a, +ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { + color: #ffffff !important; + background: #8b5922 !important; +} +ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { + background: #8b5922 !important; +} +/* 3rd level sub menu */ +ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li.active > a, +ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a:hover, +ul.page-sidebar-menu > li > ul.sub-menu li.open > a { + color: #ffffff !important; + background: #8b5922 !important; +} +/* font color for all sub menu links*/ +ul.page-sidebar-menu li > ul.sub-menu > li > a { + color: #e5bf94; +} +/* menu arrows */ +ul.page-sidebar-menu > li > a .arrow:before, +ul.page-sidebar-menu > li > a .arrow.open:before { + color: #c88131 !important; +} +ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, +ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { + color: #b4742c !important; +} +ul.page-sidebar-menu > li > a > .arrow.open:before { + color: #d18d42 !important; +} +ul.page-sidebar-menu > li.active > a .arrow:before, +ul.page-sidebar-menu > li.active > a .arrow.open:before { + color: #ffffff !important; +} +/* sidebar search */ +.page-sidebar .sidebar-search input { + background-color: #39250e !important; + color: #b18d65; +} +.page-sidebar .sidebar-search input::-webkit-input-placeholder { + color: #b18d65 !important; +} +.page-sidebar .sidebar-search input:-moz-placeholder { + color: #b18d65 !important; +} +.page-sidebar .sidebar-search input:-ms-input-placeholder { + color: #b18d65 !important; +} +.page-sidebar .sidebar-search input { + background-color: #623f18 !important; + color: #b18d65 !important; +} +.page-sidebar .sidebar-search .input-box { + border-bottom: 1px solid #845f36 !important; +} +.page-sidebar .sidebar-search .submit { + background-image: url(../../image/search-icon-brown.png); +} +/*** +Sidebar toggler +***/ +.sidebar-toggler { + background-image: url(../../image/sidebar-toggler-brown.jpg); + background-color: #39250e; +} +/* search box bg color on expanded */ +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { + background-color: #623f18 !important; +} +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { + background-image: url("../../image/sidebar-search-close-brown.png"); +} +/* sub menu bg color on hover menu item */ +.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { + background-color: #623f18; +} +/*** +Footer +***/ +.footer .footer-inner { + color: #999999; +} +.footer .footer-tools .go-top { + background-color: #7f511f; +} +.footer .footer-tools .go-top:hover { + opacity: 0.7; + filter: alpha(opacity=70); +} +.footer .footer-tools .go-top i { + color: #d18d42; +} +/*** +Footer Layouts (new in v1.3) +***/ +/* begin:fixed footer */ +.page-footer-fixed .footer { + background-color: #39250e; +} +.page-footer-fixed .footer .footer-inner { + color: #999999; +} +.page-footer-fixed .footer .footer-tools .go-top { + background-color: #7f511f; +} +.page-footer-fixed .footer .footer-tools .go-top i { + color: #d18d42; +} +/* end:fixed footer */ +/*** +Gritter Notifications +***/ +.gritter-top { + background: url(../../thirdparty/gritter/images/gritter-brown.png) no-repeat left -30px !important; +} +.gritter-bottom { + background: url(../../thirdparty/gritter/images/gritter-brown.png) no-repeat left bottom !important; +} +.gritter-item { + display: block; + background: url(../../thirdparty/gritter/images/gritter-brown.png) no-repeat left -40px !important; +} +.gritter-close { + background: url(../../thirdparty/gritter/images/gritter-brown.png) no-repeat left top !important; +} +.gritter-title { + text-shadow: none !important; + /* Not supported by IE :( */ + +} +/* for the light (white) version of the gritter notice */ +.gritter-light .gritter-item, +.gritter-light .gritter-bottom, +.gritter-light .gritter-top, +.gritter-light .gritter-close { + background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; +} +.gritter-item-wrapper a { + color: #b18d65; +} +.gritter-item-wrapper a:hover { + color: #755a3b; +} +/* begin: boxed page */ +@media (min-width: 992px) { + .page-boxed { + background-color: #492f12 !important; + } + .page-boxed .page-container { + background-color: #623f18; + border-left: 1px solid #976125; + border-bottom: 1px solid #976125; + } + .page-boxed.page-sidebar-reversed .page-container { + border-left: 0; + border-right: 1px solid #976125; + } + .page-boxed.page-sidebar-fixed .page-container { + border-left: 0; + border-bottom: 0; + } + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-container { + border-left: 0; + border-right: 0; + border-bottom: 0; + } + .page-boxed.page-sidebar-fixed .page-sidebar { + border-left: 1px solid #976125; + } + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { + border-right: 1px solid #976125; + border-left: 0; + } + .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { + background-color: #492f12 !important; + } +} +/* end: boxed page */ +/*** +Landscape phone to portrait tablet +***/ +@media (max-width: 991px) { + /*** + page sidebar + ***/ + .page-sidebar { + background-color: #412a10 !important; + } + ul.page-sidebar-menu > li > a { + border-top: 1px solid #764c1d !important; + } + ul.page-sidebar-menu > li:last-child > a { + border-bottom: 0 !important; + } + .page-sidebar .sidebar-search input { + background-color: #412a10 !important; + } + ul.page-sidebar-menu > li.open > a, + ul.page-sidebar-menu > li > a:hover, + ul.page-sidebar-menu > li:hover > a { + background: #311f0c; + } +} diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/brown_ifrm.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/brown_ifrm.css index 1bda14f9..103bc896 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/brown_ifrm.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/brown_ifrm.css @@ -1,207 +1,207 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -light_ifrm theme -***/ -td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -/* button style*/ -.buttonRounded, -.buttonRoundedOver, -.buttonRoundedFocused, -.buttonRoundedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown, -.buttonRoundedSelected, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedDown, -.buttonRoundedSelectedFocusedDown, -.buttonRoundedSelectedOver, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDisabled, -.buttonRoundedSelectedDisabled { - background-color: #8d6a43; - color: #fff; - border: 0px solid #b15a59; - border-radius: 0px; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - /*padding: 0 3px;*/ - padding-left:7px !important; - padding-right:7px !important; - height:30px !important; -} -.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} -.buttonRoundedOver, -.buttonRoundedFocusedOver, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown { - background-color: #805b32; - height:30px !important; -} - -.menuButton, -.menuButtonOver, -.menuButtonDown, -.menuButtonDisabled, -.menuButtonFocused, -.menuButtonFocusedDown, -.menuButtonFocusedOver, -.menuButtonSelected, -.menuButtonSelectedDown, -.menuButtonSelectedOver, -.menuButtonSelectedDisabled { - background-color: #8d6a43; - border: 0px solid #ababab; - color: #fff; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - padding-left: 7px !important; - padding-right: 7px !important; - height:30px !important; -} -.menuButtonOver { - background-color: #805b32; - } - .menuButtonDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - .buttonTitle, -.buttonTitleOver, -.buttonTitleDown, -.buttonTitleSelected, -.buttonTitleFocused, -.buttonTitleSelectedFocused, -.buttonTitleSelectedOver, -.buttonTitleFocusedOver, -.buttonTitleSelectedFocusedOver, -.buttonTitleSelectedDown, -.buttonTitleFocusedDown, -.buttonTitleSelectedFocusedDown, -.buttonTitleDisabled, -.buttonTitleSelectedDisabled { - color: #fff ; -} -.buttonTitleDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - /* windowBody dialogBody Style */ - .windowBody, -.dialogBody { - background-color: white; - border: 1px solid #8d6a43; - border-top: 0; -} -.windowHeader, -.dialogHeader { - background-color: #8d6a43; - padding: 0; -} -/* sectionHeader Style */ -.sectionHeaderopened { - background-color: #8d6a43; - } - .sectionHeaderclosed { - background-color: #9f7b53; - } - -#dt_example h1{ -color:#8d6a43; -font-weight:600 !important; -} - /*cell style*/ -.tallCellOver, -.tallCellOverDark { - background-color: #ece0d3; - border-bottom: 1px solid #ece0d3; - border-top: 1px solid #ece0d3; - } -.tallCellSelected, -.tallCellSelectedDark { - background: #d4c2af; - border-bottom: 1px solid #d4c2af; - border-top: 1px solid #d4c2af; - } -.tallCellSelectedOver, -.tallCellSelectedOverDark { - background: #d4c2af; - border-bottom: 1px solid #d4c2af; - border-top: 1px solid #d4c2af; - } -.imgHeaderButtonOver, -.imgHeaderButtonDown, -.headerButtonOver, -.headerButtonDown, -.sorterButtonOver, -.sorterButtonDown { - background-color: #cbaf8f; - } -.cellSelected, -.cellSelectedDark, -.specialColSelected, -.recordSummaryCellSelected, -.recordSummaryCellSelectedDark { - background: #d4c2af !important; - border-bottom: 1px solid #d4c2af; - border-top: 1px solid #d4c2af; - } -.cellSelectedOver, -.cellSelectedOverDark, -.specialColSelectedOver, -.recordSummaryCellSelectedOver, -.recordSummaryCellSelectedOverDark { - background: #d4c2af !important; - border-bottom: 1px solid #d4c2af; - border-top: 1px solid #d4c2af; -} -.cellOver, -.cellOverDark, -.specialColOver, -.recordSummaryCellOver, -.recordSummaryCellOverDark { - background: #ece0d3 !important; - border-bottom: 1px solid #ece0d3; - border-top: 1px solid #ece0d3; - } -.treeCellOver, -.treeCellOverDark { - background-color: #ece0d3; -} - +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +light_ifrm theme +***/ +td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +/* button style*/ +.buttonRounded, +.buttonRoundedOver, +.buttonRoundedFocused, +.buttonRoundedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown, +.buttonRoundedSelected, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedDown, +.buttonRoundedSelectedFocusedDown, +.buttonRoundedSelectedOver, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDisabled, +.buttonRoundedSelectedDisabled { + background-color: #8d6a43; + color: #fff; + border: 0px solid #b15a59; + border-radius: 0px; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + /*padding: 0 3px;*/ + padding-left:7px !important; + padding-right:7px !important; + height:30px !important; +} +.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} +.buttonRoundedOver, +.buttonRoundedFocusedOver, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown { + background-color: #805b32; + height:30px !important; +} + +.menuButton, +.menuButtonOver, +.menuButtonDown, +.menuButtonDisabled, +.menuButtonFocused, +.menuButtonFocusedDown, +.menuButtonFocusedOver, +.menuButtonSelected, +.menuButtonSelectedDown, +.menuButtonSelectedOver, +.menuButtonSelectedDisabled { + background-color: #8d6a43; + border: 0px solid #ababab; + color: #fff; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + padding-left: 7px !important; + padding-right: 7px !important; + height:30px !important; +} +.menuButtonOver { + background-color: #805b32; + } + .menuButtonDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + .buttonTitle, +.buttonTitleOver, +.buttonTitleDown, +.buttonTitleSelected, +.buttonTitleFocused, +.buttonTitleSelectedFocused, +.buttonTitleSelectedOver, +.buttonTitleFocusedOver, +.buttonTitleSelectedFocusedOver, +.buttonTitleSelectedDown, +.buttonTitleFocusedDown, +.buttonTitleSelectedFocusedDown, +.buttonTitleDisabled, +.buttonTitleSelectedDisabled { + color: #fff ; +} +.buttonTitleDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + /* windowBody dialogBody Style */ + .windowBody, +.dialogBody { + background-color: white; + border: 1px solid #8d6a43; + border-top: 0; +} +.windowHeader, +.dialogHeader { + background-color: #8d6a43; + padding: 0; +} +/* sectionHeader Style */ +.sectionHeaderopened { + background-color: #8d6a43; + } + .sectionHeaderclosed { + background-color: #9f7b53; + } + +#dt_example h1{ +color:#8d6a43; +font-weight:600 !important; +} + /*cell style*/ +.tallCellOver, +.tallCellOverDark { + background-color: #ece0d3; + border-bottom: 1px solid #ece0d3; + border-top: 1px solid #ece0d3; + } +.tallCellSelected, +.tallCellSelectedDark { + background: #d4c2af; + border-bottom: 1px solid #d4c2af; + border-top: 1px solid #d4c2af; + } +.tallCellSelectedOver, +.tallCellSelectedOverDark { + background: #d4c2af; + border-bottom: 1px solid #d4c2af; + border-top: 1px solid #d4c2af; + } +.imgHeaderButtonOver, +.imgHeaderButtonDown, +.headerButtonOver, +.headerButtonDown, +.sorterButtonOver, +.sorterButtonDown { + background-color: #cbaf8f; + } +.cellSelected, +.cellSelectedDark, +.specialColSelected, +.recordSummaryCellSelected, +.recordSummaryCellSelectedDark { + background: #d4c2af !important; + border-bottom: 1px solid #d4c2af; + border-top: 1px solid #d4c2af; + } +.cellSelectedOver, +.cellSelectedOverDark, +.specialColSelectedOver, +.recordSummaryCellSelectedOver, +.recordSummaryCellSelectedOverDark { + background: #d4c2af !important; + border-bottom: 1px solid #d4c2af; + border-top: 1px solid #d4c2af; +} +.cellOver, +.cellOverDark, +.specialColOver, +.recordSummaryCellOver, +.recordSummaryCellOverDark { + background: #ece0d3 !important; + border-bottom: 1px solid #ece0d3; + border-top: 1px solid #ece0d3; + } +.treeCellOver, +.treeCellOverDark { + background-color: #ece0d3; +} + diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/grey.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/grey.css index 2524bc53..beda8f3a 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/grey.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/grey.css @@ -1,372 +1,372 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -Grey theme -***/ -/*** -Reset and overrides -***/ -body { - background-color: #666666 !important; -} -/*** -Page header -***/ -.header { - filter: none !important; - background-image: none !important; - background-color: #4a4a4a !important; -} -.header .btn-navbar { - background-color: #4a4a4a !important; -} -.header .navbar-nav .dropdown-toggle:hover, -.header .navbar-nav .dropdown.open .dropdown-toggle { - background-color: #616161 !important; -} -.header .navbar-nav li.dropdown .dropdown-toggle i { - color: #b3b3b3 !important; -} -.page-content .page-breadcrumb.breadcrumb{ -background-color:#F5F5F5 !important; -} -/*** -Header Search -***/ -.header .search-form { - background-color: #3a3a3a; -} - -.header .search-form .form-control{ - color: #ccc; - border: 0; - background-color: #3a3a3a; -} - -.header .search-form .submit { - background: url(../../image/search-icon-light.png); -} -/*** -Hor menu -***/ -.header .hor-menu ul.nav li a { - color: #ccc; -} - -.header .hor-menu ul.nav li.open > a, -.header .hor-menu ul.nav li > a:hover, -.header .hor-menu ul.nav li > a:focus { - color: #fff; - background: #616161; -} - -.header .hor-menu .dropdown-menu li:hover > a, -.header .hor-menu ul.nav li.active > a, -.header .hor-menu ul.nav li.active > a:hover { - color: #fff; - background: #e02222 !important; -} - -.header .hor-menu ul.nav li.current > a, -.header .hor-menu ul.nav li.current > a:hover { - color: #fff; - background: #e02222 !important; -} - -.header .hor-menu .dropdown-menu { - background: #616161; -} -.header .hor-menu .dropdown-menu li > a { - color: #ccc; -} - -.header .hor-menu .hor-menu-search-form-toggler.off { - background: #616161 url(../../image/hor-menu-search-close-white.png) no-repeat center; -} - -.header .hor-menu .search-form { - background:#616161; -} - -.header .hor-menu .search-form form input { - color: #ccc; -} - -.header .hor-menu .search-form .btn { - color: #ccc; - background: url(../../image/search-icon-white.png) no-repeat center; -} - -.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */ - color: #ccc; -} -.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ - color: #ccc; -} -.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */ - color: #ccc; -} -.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */ - color: #ccc; -} - -/*** -Mega Menu -***/ -.mega-menu .mega-menu-submenu { - border-right: 1px solid #757575; -} - -.mega-menu .mega-menu-submenu li h3 { - color: #fff; -} - -/*** -Page sidebar -***/ -.page-sidebar { - background-color: #666666; -} -ul.page-sidebar-menu > li > a { - border-top: 1px solid #858585 !important; - color: #ffffff !important; -} -ul.page-sidebar-menu > li:last-child > a { - border-bottom: 1px solid transparent !important; -} -ul.page-sidebar-menu > li a i { - color: #bfbfbf; -} -ul.page-sidebar-menu > li.open > a, -ul.page-sidebar-menu > li > a:hover, -ul.page-sidebar-menu > li:hover > a { - background: #595959; -} -ul.page-sidebar-menu > li.active > a { - background: #e02222 !important; - border-top-color: transparent !important; - color: #ffffff; -} -ul.page-sidebar-menu > li.active > a i { - color: #ffffff; -} -ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { - border-top: 0px !important; -} -ul.page-sidebar-menu > li > ul.sub-menu > li.active > a, -ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { - color: #ffffff !important; - background: #808080 !important; -} -ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { - background: #808080 !important; -} -/* 3rd level sub menu */ -ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li.active > a, -ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a:hover, -ul.page-sidebar-menu > li > ul.sub-menu li.open > a { - color: #ffffff !important; - background: #808080 !important; -} -/* font color for all sub menu links*/ -ul.page-sidebar-menu li > ul.sub-menu > li > a { - color: #e6e6e6; -} -/* menu arrows */ -ul.page-sidebar-menu > li > a .arrow:before, -ul.page-sidebar-menu > li > a .arrow.open:before { - color: #a6a6a6 !important; -} -ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, -ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { - color: #999999 !important; -} -ul.page-sidebar-menu > li > a > .arrow.open:before { - color: #b3b3b3 !important; -} -ul.page-sidebar-menu > li.active > a .arrow:before, -ul.page-sidebar-menu > li.active > a .arrow.open:before { - color: #ffffff !important; -} -/* sidebar search */ -.page-sidebar .sidebar-search input { - background-color: #4d4d4d !important; - color: #a6a6a6; -} -.page-sidebar .sidebar-search input::-webkit-input-placeholder { - color: #a6a6a6 !important; -} -.page-sidebar .sidebar-search input:-moz-placeholder { - color: #a6a6a6 !important; -} -.page-sidebar .sidebar-search input:-ms-input-placeholder { - color: #a6a6a6 !important; -} -.page-sidebar .sidebar-search input { - background-color: #666666 !important; - color: #bfbfbf !important; -} -.page-sidebar .sidebar-search .input-box { - border-bottom: 1px solid #a6a6a6 !important; -} -.page-sidebar .sidebar-search .submit { - background-image: url(../../image/search-icon.png); -} -/*** -Sidebar toggler -***/ -.sidebar-toggler { - background-image: url(../../image/sidebar-toggler.jpg); - background-color: #4d4d4d; -} -/* search box bg color on expanded */ -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { - background-color: #666666 !important; -} -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { - background-image: url("../../image/sidebar-search-close.png"); -} -/* sub menu bg color on hover menu item */ -.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { - background-color: #666666; -} -/*** -Footer -***/ -.footer .footer-inner { - color: #b3b3b3; -} -.footer .footer-tools .go-top { - background-color: #787878; -} -.footer .footer-tools .go-top:hover { - opacity: 0.7; - filter: alpha(opacity=70); -} -.footer .footer-tools .go-top i { - color: #b3b3b3; -} -/*** -Footer Layouts (new in v1.3) -***/ -/* begin:fixed footer */ -.page-footer-fixed .footer { - background-color: #4d4d4d; -} -.page-footer-fixed .footer .footer-inner { - color: #b3b3b3; -} -.page-footer-fixed .footer .footer-tools .go-top { - background-color: #787878; -} -.page-footer-fixed .footer .footer-tools .go-top i { - color: #b3b3b3; -} -/* end:fixed footer */ -/*** -Gritter Notifications -***/ -.gritter-top { - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -30px !important; -} -.gritter-bottom { - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left bottom !important; -} -.gritter-item { - display: block; - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -40px !important; -} -.gritter-close { - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left top !important; -} -.gritter-title { - text-shadow: none !important; - /* Not supported by IE :( */ - -} -/* for the light (white) version of the gritter notice */ -.gritter-light .gritter-item, -.gritter-light .gritter-bottom, -.gritter-light .gritter-top, -.gritter-light .gritter-close { - background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; -} -.gritter-item-wrapper a { - color: #18a5ed; -} -.gritter-item-wrapper a:hover { - color: #0b6694; -} -/* begin: boxed page */ -@media (min-width: 992px) { - .page-boxed { - background-color: #575757 !important; - } - .page-boxed .page-container { - background-color: #666666; - border-left: 1px solid #878787; - border-bottom: 1px solid #878787; - } - .page-boxed.page-sidebar-reversed .page-container { - border-left: 0; - border-right: 1px solid #878787; - } - .page-boxed.page-sidebar-fixed .page-container { - border-left: 0; - border-bottom: 0; - } - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-container { - border-left: 0; - border-right: 0; - border-bottom: 0; - } - .page-boxed.page-sidebar-fixed .page-sidebar { - border-left: 1px solid #878787; - } - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { - border-right: 1px solid #878787; - border-left: 0; - } - .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { - background-color: #575757 !important; - } -} -/* end: boxed page */ -/*** -Landscape phone to portrait tablet -***/ -@media (max-width: 991px) { - /*** - page sidebar - ***/ - .page-sidebar { - background-color: #525252 !important; - } - ul.page-sidebar-menu > li > a { - border-top: 1px solid #737373 !important; - } - ul.page-sidebar-menu > li:last-child > a { - border-bottom: 0 !important; - } - .page-sidebar .sidebar-search input { - background-color: #525252 !important; - } - ul.page-sidebar-menu > li.open > a, - ul.page-sidebar-menu > li > a:hover, - ul.page-sidebar-menu > li:hover > a { - background: #474747; - } -} +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +Grey theme +***/ +/*** +Reset and overrides +***/ +body { + background-color: #666666 !important; +} +/*** +Page header +***/ +.header { + filter: none !important; + background-image: none !important; + background-color: #4a4a4a !important; +} +.header .btn-navbar { + background-color: #4a4a4a !important; +} +.header .navbar-nav .dropdown-toggle:hover, +.header .navbar-nav .dropdown.open .dropdown-toggle { + background-color: #616161 !important; +} +.header .navbar-nav li.dropdown .dropdown-toggle i { + color: #b3b3b3 !important; +} +.page-content .page-breadcrumb.breadcrumb{ +background-color:#F5F5F5 !important; +} +/*** +Header Search +***/ +.header .search-form { + background-color: #3a3a3a; +} + +.header .search-form .form-control{ + color: #ccc; + border: 0; + background-color: #3a3a3a; +} + +.header .search-form .submit { + background: url(../../image/search-icon-light.png); +} +/*** +Hor menu +***/ +.header .hor-menu ul.nav li a { + color: #ccc; +} + +.header .hor-menu ul.nav li.open > a, +.header .hor-menu ul.nav li > a:hover, +.header .hor-menu ul.nav li > a:focus { + color: #fff; + background: #616161; +} + +.header .hor-menu .dropdown-menu li:hover > a, +.header .hor-menu ul.nav li.active > a, +.header .hor-menu ul.nav li.active > a:hover { + color: #fff; + background: #e02222 !important; +} + +.header .hor-menu ul.nav li.current > a, +.header .hor-menu ul.nav li.current > a:hover { + color: #fff; + background: #e02222 !important; +} + +.header .hor-menu .dropdown-menu { + background: #616161; +} +.header .hor-menu .dropdown-menu li > a { + color: #ccc; +} + +.header .hor-menu .hor-menu-search-form-toggler.off { + background: #616161 url(../../image/hor-menu-search-close-white.png) no-repeat center; +} + +.header .hor-menu .search-form { + background:#616161; +} + +.header .hor-menu .search-form form input { + color: #ccc; +} + +.header .hor-menu .search-form .btn { + color: #ccc; + background: url(../../image/search-icon-white.png) no-repeat center; +} + +.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */ + color: #ccc; +} +.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ + color: #ccc; +} +.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */ + color: #ccc; +} +.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */ + color: #ccc; +} + +/*** +Mega Menu +***/ +.mega-menu .mega-menu-submenu { + border-right: 1px solid #757575; +} + +.mega-menu .mega-menu-submenu li h3 { + color: #fff; +} + +/*** +Page sidebar +***/ +.page-sidebar { + background-color: #666666; +} +ul.page-sidebar-menu > li > a { + border-top: 1px solid #858585 !important; + color: #ffffff !important; +} +ul.page-sidebar-menu > li:last-child > a { + border-bottom: 1px solid transparent !important; +} +ul.page-sidebar-menu > li a i { + color: #bfbfbf; +} +ul.page-sidebar-menu > li.open > a, +ul.page-sidebar-menu > li > a:hover, +ul.page-sidebar-menu > li:hover > a { + background: #595959; +} +ul.page-sidebar-menu > li.active > a { + background: #e02222 !important; + border-top-color: transparent !important; + color: #ffffff; +} +ul.page-sidebar-menu > li.active > a i { + color: #ffffff; +} +ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { + border-top: 0px !important; +} +ul.page-sidebar-menu > li > ul.sub-menu > li.active > a, +ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { + color: #ffffff !important; + background: #808080 !important; +} +ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { + background: #808080 !important; +} +/* 3rd level sub menu */ +ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li.active > a, +ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a:hover, +ul.page-sidebar-menu > li > ul.sub-menu li.open > a { + color: #ffffff !important; + background: #808080 !important; +} +/* font color for all sub menu links*/ +ul.page-sidebar-menu li > ul.sub-menu > li > a { + color: #e6e6e6; +} +/* menu arrows */ +ul.page-sidebar-menu > li > a .arrow:before, +ul.page-sidebar-menu > li > a .arrow.open:before { + color: #a6a6a6 !important; +} +ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, +ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { + color: #999999 !important; +} +ul.page-sidebar-menu > li > a > .arrow.open:before { + color: #b3b3b3 !important; +} +ul.page-sidebar-menu > li.active > a .arrow:before, +ul.page-sidebar-menu > li.active > a .arrow.open:before { + color: #ffffff !important; +} +/* sidebar search */ +.page-sidebar .sidebar-search input { + background-color: #4d4d4d !important; + color: #a6a6a6; +} +.page-sidebar .sidebar-search input::-webkit-input-placeholder { + color: #a6a6a6 !important; +} +.page-sidebar .sidebar-search input:-moz-placeholder { + color: #a6a6a6 !important; +} +.page-sidebar .sidebar-search input:-ms-input-placeholder { + color: #a6a6a6 !important; +} +.page-sidebar .sidebar-search input { + background-color: #666666 !important; + color: #bfbfbf !important; +} +.page-sidebar .sidebar-search .input-box { + border-bottom: 1px solid #a6a6a6 !important; +} +.page-sidebar .sidebar-search .submit { + background-image: url(../../image/search-icon.png); +} +/*** +Sidebar toggler +***/ +.sidebar-toggler { + background-image: url(../../image/sidebar-toggler.jpg); + background-color: #4d4d4d; +} +/* search box bg color on expanded */ +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { + background-color: #666666 !important; +} +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { + background-image: url("../../image/sidebar-search-close.png"); +} +/* sub menu bg color on hover menu item */ +.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { + background-color: #666666; +} +/*** +Footer +***/ +.footer .footer-inner { + color: #b3b3b3; +} +.footer .footer-tools .go-top { + background-color: #787878; +} +.footer .footer-tools .go-top:hover { + opacity: 0.7; + filter: alpha(opacity=70); +} +.footer .footer-tools .go-top i { + color: #b3b3b3; +} +/*** +Footer Layouts (new in v1.3) +***/ +/* begin:fixed footer */ +.page-footer-fixed .footer { + background-color: #4d4d4d; +} +.page-footer-fixed .footer .footer-inner { + color: #b3b3b3; +} +.page-footer-fixed .footer .footer-tools .go-top { + background-color: #787878; +} +.page-footer-fixed .footer .footer-tools .go-top i { + color: #b3b3b3; +} +/* end:fixed footer */ +/*** +Gritter Notifications +***/ +.gritter-top { + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -30px !important; +} +.gritter-bottom { + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left bottom !important; +} +.gritter-item { + display: block; + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -40px !important; +} +.gritter-close { + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left top !important; +} +.gritter-title { + text-shadow: none !important; + /* Not supported by IE :( */ + +} +/* for the light (white) version of the gritter notice */ +.gritter-light .gritter-item, +.gritter-light .gritter-bottom, +.gritter-light .gritter-top, +.gritter-light .gritter-close { + background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; +} +.gritter-item-wrapper a { + color: #18a5ed; +} +.gritter-item-wrapper a:hover { + color: #0b6694; +} +/* begin: boxed page */ +@media (min-width: 992px) { + .page-boxed { + background-color: #575757 !important; + } + .page-boxed .page-container { + background-color: #666666; + border-left: 1px solid #878787; + border-bottom: 1px solid #878787; + } + .page-boxed.page-sidebar-reversed .page-container { + border-left: 0; + border-right: 1px solid #878787; + } + .page-boxed.page-sidebar-fixed .page-container { + border-left: 0; + border-bottom: 0; + } + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-container { + border-left: 0; + border-right: 0; + border-bottom: 0; + } + .page-boxed.page-sidebar-fixed .page-sidebar { + border-left: 1px solid #878787; + } + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { + border-right: 1px solid #878787; + border-left: 0; + } + .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { + background-color: #575757 !important; + } +} +/* end: boxed page */ +/*** +Landscape phone to portrait tablet +***/ +@media (max-width: 991px) { + /*** + page sidebar + ***/ + .page-sidebar { + background-color: #525252 !important; + } + ul.page-sidebar-menu > li > a { + border-top: 1px solid #737373 !important; + } + ul.page-sidebar-menu > li:last-child > a { + border-bottom: 0 !important; + } + .page-sidebar .sidebar-search input { + background-color: #525252 !important; + } + ul.page-sidebar-menu > li.open > a, + ul.page-sidebar-menu > li > a:hover, + ul.page-sidebar-menu > li:hover > a { + background: #474747; + } +} diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/grey_ifrm.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/grey_ifrm.css index e3b85681..92d80f5e 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/grey_ifrm.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/grey_ifrm.css @@ -1,209 +1,209 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -light_ifrm theme -***/ -td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -/* button style*/ -.buttonRounded, -.buttonRoundedOver, -.buttonRoundedFocused, -.buttonRoundedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown, -.buttonRoundedSelected, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedDown, -.buttonRoundedSelectedFocusedDown, -.buttonRoundedSelectedOver, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDisabled, -.buttonRoundedSelectedDisabled { - background-color: #69a0f8; - color: #fff; - border: 0px solid #b15a59; - border-radius: 0px; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - /*padding: 0 3px;*/ - padding-left:7px !important; - padding-right:7px !important; - height:30px !important; -} -.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} -.buttonRoundedOver, -.buttonRoundedFocusedOver, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown { - background-color: #4b8df8; - height:30px !important; -} - -.menuButton, -.menuButtonOver, -.menuButtonDown, -.menuButtonDisabled, -.menuButtonFocused, -.menuButtonFocusedDown, -.menuButtonFocusedOver, -.menuButtonSelected, -.menuButtonSelectedDown, -.menuButtonSelectedOver, -.menuButtonSelectedDisabled { - background-color: #69a0f8; - border: 0px solid #ababab; - color: #fff; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - padding-left: 7px !important; - padding-right: 7px !important; - height:30px !important; -} -.menuButtonOver { - background-color: #4b8df8; - } -.menuButtonDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} -.buttonTitle, -.buttonTitleOver, -.buttonTitleDown, -.buttonTitleSelected, -.buttonTitleFocused, -.buttonTitleSelectedFocused, -.buttonTitleSelectedOver, -.buttonTitleFocusedOver, -.buttonTitleSelectedFocusedOver, -.buttonTitleSelectedDown, -.buttonTitleFocusedDown, -.buttonTitleSelectedFocusedDown, -.buttonTitleDisabled, -.buttonTitleSelectedDisabled { - color: #fff ; - } -.buttonTitleDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - /* windowBody dialogBody Style */ - .windowBody, -.dialogBody { - background-color: white; - border: 1px solid #69a0f8; - border-top: 0; -} -.windowHeader, -.dialogHeader { - background-color: #69a0f8; - padding: 0; -} -/* sectionHeader Style */ -.sectionHeaderopened { - background-color: #69a0f8; - } - .sectionHeaderclosed { - background-color: #5e9bfd; - } - -#dt_example h1{ -color:#4b8df8; -font-weight:600 !important; -} - - - /*cell style*/ -.tallCellOver, -.tallCellOverDark { - background-color: #ffede4; - border-bottom: 1px solid #ffede4; - border-top: 1px solid #ffede4; - } -.tallCellSelected, -.tallCellSelectedDark { - background: #f8dddd; - border-bottom: 1px solid #f8dddd; - border-top: 1px solid #f8dddd; - } -.tallCellSelectedOver, -.tallCellSelectedOverDark { - background: #f8dddd; - border-bottom: 1px solid #f8dddd; - border-top: 1px solid #f8dddd; - } -.imgHeaderButtonOver, -.imgHeaderButtonDown, -.headerButtonOver, -.headerButtonDown, -.sorterButtonOver, -.sorterButtonDown { - background-color: #c4d7e2; - } -.cellSelected, -.cellSelectedDark, -.specialColSelected, -.recordSummaryCellSelected, -.recordSummaryCellSelectedDark { - background: #f8dddd !important; - border-bottom: 1px solid #f8dddd; - border-top: 1px solid #f8dddd; - } -.cellSelectedOver, -.cellSelectedOverDark, -.specialColSelectedOver, -.recordSummaryCellSelectedOver, -.recordSummaryCellSelectedOverDark { - background: #f8dddd !important; - border-bottom: 1px solid #f8dddd; - border-top: 1px solid #f8dddd; -} -.cellOver, -.cellOverDark, -.specialColOver, -.recordSummaryCellOver, -.recordSummaryCellOverDark { - background: #ffede4 !important; - border-bottom: 1px solid #ffede4; - border-top: 1px solid #ffede4; - } -.treeCellOver, -.treeCellOverDark { - background-color: #ffede4; -} - +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +light_ifrm theme +***/ +td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +/* button style*/ +.buttonRounded, +.buttonRoundedOver, +.buttonRoundedFocused, +.buttonRoundedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown, +.buttonRoundedSelected, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedDown, +.buttonRoundedSelectedFocusedDown, +.buttonRoundedSelectedOver, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDisabled, +.buttonRoundedSelectedDisabled { + background-color: #69a0f8; + color: #fff; + border: 0px solid #b15a59; + border-radius: 0px; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + /*padding: 0 3px;*/ + padding-left:7px !important; + padding-right:7px !important; + height:30px !important; +} +.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} +.buttonRoundedOver, +.buttonRoundedFocusedOver, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown { + background-color: #4b8df8; + height:30px !important; +} + +.menuButton, +.menuButtonOver, +.menuButtonDown, +.menuButtonDisabled, +.menuButtonFocused, +.menuButtonFocusedDown, +.menuButtonFocusedOver, +.menuButtonSelected, +.menuButtonSelectedDown, +.menuButtonSelectedOver, +.menuButtonSelectedDisabled { + background-color: #69a0f8; + border: 0px solid #ababab; + color: #fff; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + padding-left: 7px !important; + padding-right: 7px !important; + height:30px !important; +} +.menuButtonOver { + background-color: #4b8df8; + } +.menuButtonDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} +.buttonTitle, +.buttonTitleOver, +.buttonTitleDown, +.buttonTitleSelected, +.buttonTitleFocused, +.buttonTitleSelectedFocused, +.buttonTitleSelectedOver, +.buttonTitleFocusedOver, +.buttonTitleSelectedFocusedOver, +.buttonTitleSelectedDown, +.buttonTitleFocusedDown, +.buttonTitleSelectedFocusedDown, +.buttonTitleDisabled, +.buttonTitleSelectedDisabled { + color: #fff ; + } +.buttonTitleDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + /* windowBody dialogBody Style */ + .windowBody, +.dialogBody { + background-color: white; + border: 1px solid #69a0f8; + border-top: 0; +} +.windowHeader, +.dialogHeader { + background-color: #69a0f8; + padding: 0; +} +/* sectionHeader Style */ +.sectionHeaderopened { + background-color: #69a0f8; + } + .sectionHeaderclosed { + background-color: #5e9bfd; + } + +#dt_example h1{ +color:#4b8df8; +font-weight:600 !important; +} + + + /*cell style*/ +.tallCellOver, +.tallCellOverDark { + background-color: #ffede4; + border-bottom: 1px solid #ffede4; + border-top: 1px solid #ffede4; + } +.tallCellSelected, +.tallCellSelectedDark { + background: #f8dddd; + border-bottom: 1px solid #f8dddd; + border-top: 1px solid #f8dddd; + } +.tallCellSelectedOver, +.tallCellSelectedOverDark { + background: #f8dddd; + border-bottom: 1px solid #f8dddd; + border-top: 1px solid #f8dddd; + } +.imgHeaderButtonOver, +.imgHeaderButtonDown, +.headerButtonOver, +.headerButtonDown, +.sorterButtonOver, +.sorterButtonDown { + background-color: #c4d7e2; + } +.cellSelected, +.cellSelectedDark, +.specialColSelected, +.recordSummaryCellSelected, +.recordSummaryCellSelectedDark { + background: #f8dddd !important; + border-bottom: 1px solid #f8dddd; + border-top: 1px solid #f8dddd; + } +.cellSelectedOver, +.cellSelectedOverDark, +.specialColSelectedOver, +.recordSummaryCellSelectedOver, +.recordSummaryCellSelectedOverDark { + background: #f8dddd !important; + border-bottom: 1px solid #f8dddd; + border-top: 1px solid #f8dddd; +} +.cellOver, +.cellOverDark, +.specialColOver, +.recordSummaryCellOver, +.recordSummaryCellOverDark { + background: #ffede4 !important; + border-bottom: 1px solid #ffede4; + border-top: 1px solid #ffede4; + } +.treeCellOver, +.treeCellOverDark { + background-color: #ffede4; +} + diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/light.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/light.css index f918f725..a23aa845 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/light.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/light.css @@ -1,479 +1,479 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -light theme -***/ - -/*** -Reset and overrides -***/ -body { - background-color: #fafafa !important; -} -/*** -Page header -***/ -.header { - filter: none !important; - background-image: none !important; - background-color: #434343 !important; -} -.header .btn-navbar { - background-color: #434343 !important; -} -.header .navbar-nav .dropdown-toggle:hover, -.header .navbar-nav .dropdown.open .dropdown-toggle { - background-color: #4f4f4f !important; -} -.header .navbar-nav li.dropdown .dropdown-toggle i { - color: #808080 !important; -} -.btn-group .btn.blue.dropdown-toggle{ -background-color: #28b779 !important; -} -.page-content .page-breadcrumb.breadcrumb{ -background-color:#F5F5F5 !important; -} -/*** -Header Search -***/ -.header .search-form { - background-color: #3a3a3a; -} - -.header .search-form .form-control{ - color: #ccc; - border: 0; - background-color: #3a3a3a; -} - -.header .search-form .submit { - background: url(../../image/search-icon.png); -} -/*** -Hor menu -***/ -.header .hor-menu ul.nav li a { - color: #ccc; -} - -.header .hor-menu ul.nav li.open > a, -.header .hor-menu ul.nav li > a:hover, -.header .hor-menu ul.nav li > a:focus { - color: #fff; - background: #4f4f4f; -} - -.header .hor-menu .dropdown-menu li:hover > a, -.header .hor-menu ul.nav li.active > a, -.header .hor-menu ul.nav li.active > a:hover { - color: #fff; - background: #51b88b !important; -} -.header.navbar .hor-menu ul.nav li.current .selected, -.header.navbar .hor-menu ul.nav li.active .selected { - border-top: 6px solid #51b88b; - } - -.header .hor-menu ul.nav li.current > a, -.header .hor-menu ul.nav li.current > a:hover { - color: #fff; - background: #e02222 !important; -} - -.header .hor-menu .dropdown-menu { - background: #4f4f4f; -} -.header .hor-menu .dropdown-menu li > a { - color: #ccc; -} - -.header .hor-menu .hor-menu-search-form-toggler.off { - background: #4f4f4f url(../../image/hor-menu-search-close-white.png) no-repeat center; -} - -.header .hor-menu .search-form { - background:#4f4f4f; -} - -.header .hor-menu .search-form form input { - color: #ccc; -} - -.header .hor-menu .search-form .btn { - color: #ccc; - background: url(../../image/search-icon-white.png) no-repeat center; -} - -.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */ - color: #ccc; -} -.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ - color: #ccc; -} -.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */ - color: #ccc; -} -.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */ - color: #ccc; -} - -/*** -Mega Menu -***/ -.mega-menu .mega-menu-submenu { - border-right: 1px solid #656565; -} - -.mega-menu .mega-menu-submenu li h3 { - color: #fff; -} - -/*** -Page sidebar -***/ -.page-content { - border-left: 1px solid #e2e2e2 !important; - border-bottom: 1px solid #e2e2e2 !important; -} -.page-sidebar-reversed .page-content { - border-left: 0; - border-right: 1px solid #e2e2e2 !important; -} -.page-sidebar { - background-color: #fafafa; -} -.page-sidebar-fixed .page-content { - border: 0 !important; -} -.page-sidebar-fixed .page-sidebar { - border-right: 1px solid #e2e2e2 !important; -} - - -ul.page-sidebar-menu > li > a { - border-top: 1px solid #e2e2e2 !important; - color: #000 !important; - font-weight: 400; -} - -ul.page-sidebar-menu > li:first-child > a { - border-top: 1px solid transparent !important; -} - -ul.page-sidebar-menu > li:last-child > a { - border-bottom: 1px solid transparent !important; -} - -ul.page-sidebar-menu > li a i { - color: #bbb !important; -} -ul.page-sidebar-menu > li.open > a, -ul.page-sidebar-menu > li > a:hover, -ul.page-sidebar-menu > li:hover > a { - background: #eee; - border-top: 1px solid #e8e8e8; -} -ul.page-sidebar-menu > li.active > a .selected { - right:-7px; - top:0px; - width: 7px; - height: 39px; - background-image: url("../../image/sidebar-menu-arrow-green.png"); -} -.page-sidebar-reversed ul.page-sidebar-menu > li.active > a .selected { - right: auto; - left:-7px; - background-image: url("../../image/sidebar-menu-arrow-green-reverse.png"); -} -ul.page-sidebar-menu > li.active i { - color: #fff !important; -} -.page-sidebar-fixed ul.page-sidebar-menu > li.active > a .selected { - display: none; -} -ul.page-sidebar-menu > li.active > a{ - background: #28b779 !important; - border-top-color: transparent !important; - color:#fff !important; -} -ul.page-sidebar-menu > li.active > a i { - color: #fff; -} -ul.page-sidebar-menu > li > a > .arrow:before, -ul.page-sidebar-menu > li > a > .arrow.open:before { - color: #ccc !important; -} -ul.page-sidebar-menu > li.active > a .arrow:before, -ul.page-sidebar-menu > li.active > a .arrow.open:before { - color: #fff !important; -} -ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { - border-top: 0px !important; -} - -ul.page-sidebar-menu ul.sub-menu > li > a { - font-weight: 400 !important; - color: #333 !important; -} -ul.page-sidebar-menu ul.sub-menu > li.active > a, -ul.page-sidebar-menu ul.sub-menu > li > a:hover { - color: #818181 !important; - background: #efefef !important; -} - -ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, -ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { - color: #ccc !important; -} - -/* sub menu links effects */ -ul.page-sidebar-menu ul.sub-menu > li.active > a, -ul.page-sidebar-menu ul.sub-menu > li > a:hover, -ul.page-sidebar-menu ul.sub-menu > li.open > a { - color: #818181 !important; - background: #efefef !important; -} -ul.page-sidebar-menu ul.sub-menu > li > a i { - color: #bbb !important; -} - -/* sidebar search */ -.page-sidebar .sidebar-search input { - background-color: #fbfbfb !important; - color: #727272 !important; -} -.page-sidebar .sidebar-search input::-webkit-input-placeholder { - color: #aaa !important; -} -.page-sidebar .sidebar-search input:-moz-placeholder { - color: #aaa !important; -} -.page-sidebar .sidebar-search input:-ms-input-placeholder { - color: #aaa !important; -} -.page-sidebar .sidebar-search .input-box { - border-bottom: 1px solid #e2e2e2 !important; -} -.page-sidebar .sidebar-search .submit { - background-image: url(../../image/search-icon-white.png); -} - -/*** -Sidebar toggler -***/ -.sidebar-toggler { - background-image: url(../../image/sidebar-toggler-light.jpg); - background-color: #333; -} -/* search box bg color on expanded */ -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { - background-color: #fbfbfb !important; -} -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { - background-image: url("../../image/sidebar-search-close-light.png"); -} -/* sub menu bg color on hover menu item */ -.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { - background-color: #fbfbfb; -} -/*** -Footer -***/ -.footer .footer-inner { - color: #333333; -} -.footer .footer-tools .go-top { - background-color: #666666; -} -.footer .footer-tools .go-top:hover { - opacity: 0.7; - filter: alpha(opacity=70); -} -.footer .footer-tools .go-top i { - color: #999999; -} -/*** -Footer Layouts (new in v1.3) -***/ -/* begin:fixed footer */ -.page-footer-fixed .footer { - background-color: #434343; -} -.page-footer-fixed .footer .footer-inner { - color: #aaaaaa; -} -.page-footer-fixed .footer .footer-tools .go-top { - background-color: #666666; -} -.page-footer-fixed .footer .footer-tools .go-top i { - color: #aaaaaa; -} -/* end:fixed footer */ -/*** -Gritter Notifications -***/ -.gritter-top { - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -30px !important; -} -.gritter-bottom { - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left bottom !important; -} -.gritter-item { - display: block; - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -40px !important; -} -.gritter-close { - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left top !important; -} -.gritter-title { - text-shadow: none !important; - /* Not supported by IE :( */ - -} -/* for the light (white) version of the gritter notice */ -.gritter-light .gritter-item, -.gritter-light .gritter-bottom, -.gritter-light .gritter-top, -.gritter-light .gritter-close { - background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; -} -.gritter-item-wrapper a { - color: #18a5ed; -} -.gritter-item-wrapper a:hover { - color: #0b6694; -} -/* begin: boxed page */ -@media (min-width: 992px) { - .page-boxed { - background-color: #E8E8E8 !important; - } - .page-boxed .page-container { - background-color: #fafafa; - border-left: 1px solid #e2e2e2; - border-bottom: 1px solid #e2e2e2; - } - .page-sidebar-reversed.page-boxed .page-container { - border-left: 0; - border-right: 1px solid #e2e2e2; - } - .page-boxed.page-sidebar-fixed .page-container { - border-left: 0; - border-bottom: 0; - } - .page-boxed.page-sidebar-fixed .page-sidebar { - border-left: 1px solid #e2e2e2; - } - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { - border-right: 1px solid #e2e2e2; - border-left: 0; - } - .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { - background-color: #E8E8E8 !important; - } -} -/* end: boxed page */ -/*** -Landscape phone to portrait tablet -***/ -@media (max-width: 991px) { - /*** - page sidebar - ***/ - .page-sidebar { - background-color: #f1f1f1 !important; - border-right: none !important; - } - .page-sidebar-fixed .page-sidebar { - border-right: none !important; - } - .page-content { - border-left: none !important; - } - ul.page-sidebar-menu > li > a { - border-top: 1px solid #ccc !important; - } - ul.page-sidebar-menu > li:last-child > a { - border-bottom: 0 !important; - } - - ul.page-sidebar-menu > li.open > a, - ul.page-sidebar-menu > li > a:hover { - color: #666666 !important; - background-color: #dddddd !important; - } - ul.page-sidebar-menu > li.open > a { - border-bottom-color: transparent !important; - } - ul.page-sidebar-menu > li.active > a { - color: #ffffff !important; - background-color: #28b779 !important; - } - - ul.page-sidebar-menu ul.sub-menu > li > a { - color: #111 !important; - } - - ul.page-sidebar-menu ul.sub-menu > li.open > a, - ul.page-sidebar-menu ul.sub-menu > li.active > a, - ul.page-sidebar-menu ul.sub-menu > li > a:hover { - color: #666666 !important; - background: #dddddd !important; - } - - .page-sidebar .sidebar-search input { - background-color: #f1f1f1 !important; - color: #ccc !important; - } - - .page-sidebar .sidebar-search .input-box { - border-bottom-color: #ccc !important; - } - .page-sidebar .sidebar-search input::-webkit-input-placeholder { - color: #ccc !important; - } - .page-sidebar .sidebar-search input:-moz-placeholder { - color: #ccc !important; - } - .page-sidebar .sidebar-search input:-ms-input-placeholder { - color: #ccc !important; - } - - /*** - page footer - ***/ - - .footer { - background-color: #434343; - } - - .footer .footer-inner { - color: #cccccc; - } - .footer .footer-tools .go-top { - background-color: #666666; - } - .footer .footer-tools .go-top i { - color: #999999; - } -} - -@media (max-width: 767px) { - body { - background-color: #333 !important; - } +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +light theme +***/ + +/*** +Reset and overrides +***/ +body { + background-color: #fafafa !important; +} +/*** +Page header +***/ +.header { + filter: none !important; + background-image: none !important; + background-color: #434343 !important; +} +.header .btn-navbar { + background-color: #434343 !important; +} +.header .navbar-nav .dropdown-toggle:hover, +.header .navbar-nav .dropdown.open .dropdown-toggle { + background-color: #4f4f4f !important; +} +.header .navbar-nav li.dropdown .dropdown-toggle i { + color: #808080 !important; +} +.btn-group .btn.blue.dropdown-toggle{ +background-color: #28b779 !important; +} +.page-content .page-breadcrumb.breadcrumb{ +background-color:#F5F5F5 !important; +} +/*** +Header Search +***/ +.header .search-form { + background-color: #3a3a3a; +} + +.header .search-form .form-control{ + color: #ccc; + border: 0; + background-color: #3a3a3a; +} + +.header .search-form .submit { + background: url(../../image/search-icon.png); +} +/*** +Hor menu +***/ +.header .hor-menu ul.nav li a { + color: #ccc; +} + +.header .hor-menu ul.nav li.open > a, +.header .hor-menu ul.nav li > a:hover, +.header .hor-menu ul.nav li > a:focus { + color: #fff; + background: #4f4f4f; +} + +.header .hor-menu .dropdown-menu li:hover > a, +.header .hor-menu ul.nav li.active > a, +.header .hor-menu ul.nav li.active > a:hover { + color: #fff; + background: #51b88b !important; +} +.header.navbar .hor-menu ul.nav li.current .selected, +.header.navbar .hor-menu ul.nav li.active .selected { + border-top: 6px solid #51b88b; + } + +.header .hor-menu ul.nav li.current > a, +.header .hor-menu ul.nav li.current > a:hover { + color: #fff; + background: #e02222 !important; +} + +.header .hor-menu .dropdown-menu { + background: #4f4f4f; +} +.header .hor-menu .dropdown-menu li > a { + color: #ccc; +} + +.header .hor-menu .hor-menu-search-form-toggler.off { + background: #4f4f4f url(../../image/hor-menu-search-close-white.png) no-repeat center; +} + +.header .hor-menu .search-form { + background:#4f4f4f; +} + +.header .hor-menu .search-form form input { + color: #ccc; +} + +.header .hor-menu .search-form .btn { + color: #ccc; + background: url(../../image/search-icon-white.png) no-repeat center; +} + +.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */ + color: #ccc; +} +.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ + color: #ccc; +} +.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */ + color: #ccc; +} +.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */ + color: #ccc; +} + +/*** +Mega Menu +***/ +.mega-menu .mega-menu-submenu { + border-right: 1px solid #656565; +} + +.mega-menu .mega-menu-submenu li h3 { + color: #fff; +} + +/*** +Page sidebar +***/ +.page-content { + border-left: 1px solid #e2e2e2 !important; + border-bottom: 1px solid #e2e2e2 !important; +} +.page-sidebar-reversed .page-content { + border-left: 0; + border-right: 1px solid #e2e2e2 !important; +} +.page-sidebar { + background-color: #fafafa; +} +.page-sidebar-fixed .page-content { + border: 0 !important; +} +.page-sidebar-fixed .page-sidebar { + border-right: 1px solid #e2e2e2 !important; +} + + +ul.page-sidebar-menu > li > a { + border-top: 1px solid #e2e2e2 !important; + color: #000 !important; + font-weight: 400; +} + +ul.page-sidebar-menu > li:first-child > a { + border-top: 1px solid transparent !important; +} + +ul.page-sidebar-menu > li:last-child > a { + border-bottom: 1px solid transparent !important; +} + +ul.page-sidebar-menu > li a i { + color: #bbb !important; +} +ul.page-sidebar-menu > li.open > a, +ul.page-sidebar-menu > li > a:hover, +ul.page-sidebar-menu > li:hover > a { + background: #eee; + border-top: 1px solid #e8e8e8; +} +ul.page-sidebar-menu > li.active > a .selected { + right:-7px; + top:0px; + width: 7px; + height: 39px; + background-image: url("../../image/sidebar-menu-arrow-green.png"); +} +.page-sidebar-reversed ul.page-sidebar-menu > li.active > a .selected { + right: auto; + left:-7px; + background-image: url("../../image/sidebar-menu-arrow-green-reverse.png"); +} +ul.page-sidebar-menu > li.active i { + color: #fff !important; +} +.page-sidebar-fixed ul.page-sidebar-menu > li.active > a .selected { + display: none; +} +ul.page-sidebar-menu > li.active > a{ + background: #28b779 !important; + border-top-color: transparent !important; + color:#fff !important; +} +ul.page-sidebar-menu > li.active > a i { + color: #fff; +} +ul.page-sidebar-menu > li > a > .arrow:before, +ul.page-sidebar-menu > li > a > .arrow.open:before { + color: #ccc !important; +} +ul.page-sidebar-menu > li.active > a .arrow:before, +ul.page-sidebar-menu > li.active > a .arrow.open:before { + color: #fff !important; +} +ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { + border-top: 0px !important; +} + +ul.page-sidebar-menu ul.sub-menu > li > a { + font-weight: 400 !important; + color: #333 !important; +} +ul.page-sidebar-menu ul.sub-menu > li.active > a, +ul.page-sidebar-menu ul.sub-menu > li > a:hover { + color: #818181 !important; + background: #efefef !important; +} + +ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, +ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { + color: #ccc !important; +} + +/* sub menu links effects */ +ul.page-sidebar-menu ul.sub-menu > li.active > a, +ul.page-sidebar-menu ul.sub-menu > li > a:hover, +ul.page-sidebar-menu ul.sub-menu > li.open > a { + color: #818181 !important; + background: #efefef !important; +} +ul.page-sidebar-menu ul.sub-menu > li > a i { + color: #bbb !important; +} + +/* sidebar search */ +.page-sidebar .sidebar-search input { + background-color: #fbfbfb !important; + color: #727272 !important; +} +.page-sidebar .sidebar-search input::-webkit-input-placeholder { + color: #aaa !important; +} +.page-sidebar .sidebar-search input:-moz-placeholder { + color: #aaa !important; +} +.page-sidebar .sidebar-search input:-ms-input-placeholder { + color: #aaa !important; +} +.page-sidebar .sidebar-search .input-box { + border-bottom: 1px solid #e2e2e2 !important; +} +.page-sidebar .sidebar-search .submit { + background-image: url(../../image/search-icon-white.png); +} + +/*** +Sidebar toggler +***/ +.sidebar-toggler { + background-image: url(../../image/sidebar-toggler-light.jpg); + background-color: #333; +} +/* search box bg color on expanded */ +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { + background-color: #fbfbfb !important; +} +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { + background-image: url("../../image/sidebar-search-close-light.png"); +} +/* sub menu bg color on hover menu item */ +.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { + background-color: #fbfbfb; +} +/*** +Footer +***/ +.footer .footer-inner { + color: #333333; +} +.footer .footer-tools .go-top { + background-color: #666666; +} +.footer .footer-tools .go-top:hover { + opacity: 0.7; + filter: alpha(opacity=70); +} +.footer .footer-tools .go-top i { + color: #999999; +} +/*** +Footer Layouts (new in v1.3) +***/ +/* begin:fixed footer */ +.page-footer-fixed .footer { + background-color: #434343; +} +.page-footer-fixed .footer .footer-inner { + color: #aaaaaa; +} +.page-footer-fixed .footer .footer-tools .go-top { + background-color: #666666; +} +.page-footer-fixed .footer .footer-tools .go-top i { + color: #aaaaaa; +} +/* end:fixed footer */ +/*** +Gritter Notifications +***/ +.gritter-top { + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -30px !important; +} +.gritter-bottom { + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left bottom !important; +} +.gritter-item { + display: block; + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -40px !important; +} +.gritter-close { + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left top !important; +} +.gritter-title { + text-shadow: none !important; + /* Not supported by IE :( */ + +} +/* for the light (white) version of the gritter notice */ +.gritter-light .gritter-item, +.gritter-light .gritter-bottom, +.gritter-light .gritter-top, +.gritter-light .gritter-close { + background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; +} +.gritter-item-wrapper a { + color: #18a5ed; +} +.gritter-item-wrapper a:hover { + color: #0b6694; +} +/* begin: boxed page */ +@media (min-width: 992px) { + .page-boxed { + background-color: #E8E8E8 !important; + } + .page-boxed .page-container { + background-color: #fafafa; + border-left: 1px solid #e2e2e2; + border-bottom: 1px solid #e2e2e2; + } + .page-sidebar-reversed.page-boxed .page-container { + border-left: 0; + border-right: 1px solid #e2e2e2; + } + .page-boxed.page-sidebar-fixed .page-container { + border-left: 0; + border-bottom: 0; + } + .page-boxed.page-sidebar-fixed .page-sidebar { + border-left: 1px solid #e2e2e2; + } + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { + border-right: 1px solid #e2e2e2; + border-left: 0; + } + .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { + background-color: #E8E8E8 !important; + } +} +/* end: boxed page */ +/*** +Landscape phone to portrait tablet +***/ +@media (max-width: 991px) { + /*** + page sidebar + ***/ + .page-sidebar { + background-color: #f1f1f1 !important; + border-right: none !important; + } + .page-sidebar-fixed .page-sidebar { + border-right: none !important; + } + .page-content { + border-left: none !important; + } + ul.page-sidebar-menu > li > a { + border-top: 1px solid #ccc !important; + } + ul.page-sidebar-menu > li:last-child > a { + border-bottom: 0 !important; + } + + ul.page-sidebar-menu > li.open > a, + ul.page-sidebar-menu > li > a:hover { + color: #666666 !important; + background-color: #dddddd !important; + } + ul.page-sidebar-menu > li.open > a { + border-bottom-color: transparent !important; + } + ul.page-sidebar-menu > li.active > a { + color: #ffffff !important; + background-color: #28b779 !important; + } + + ul.page-sidebar-menu ul.sub-menu > li > a { + color: #111 !important; + } + + ul.page-sidebar-menu ul.sub-menu > li.open > a, + ul.page-sidebar-menu ul.sub-menu > li.active > a, + ul.page-sidebar-menu ul.sub-menu > li > a:hover { + color: #666666 !important; + background: #dddddd !important; + } + + .page-sidebar .sidebar-search input { + background-color: #f1f1f1 !important; + color: #ccc !important; + } + + .page-sidebar .sidebar-search .input-box { + border-bottom-color: #ccc !important; + } + .page-sidebar .sidebar-search input::-webkit-input-placeholder { + color: #ccc !important; + } + .page-sidebar .sidebar-search input:-moz-placeholder { + color: #ccc !important; + } + .page-sidebar .sidebar-search input:-ms-input-placeholder { + color: #ccc !important; + } + + /*** + page footer + ***/ + + .footer { + background-color: #434343; + } + + .footer .footer-inner { + color: #cccccc; + } + .footer .footer-tools .go-top { + background-color: #666666; + } + .footer .footer-tools .go-top i { + color: #999999; + } +} + +@media (max-width: 767px) { + body { + background-color: #333 !important; + } } \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/light_ifrm.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/light_ifrm.css index 170c35ca..86b37609 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/light_ifrm.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/light_ifrm.css @@ -1,207 +1,207 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -light_ifrm theme -***/ -td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -/* button style*/ -.buttonRounded, -.buttonRoundedOver, -.buttonRoundedFocused, -.buttonRoundedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown, -.buttonRoundedSelected, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedDown, -.buttonRoundedSelectedFocusedDown, -.buttonRoundedSelectedOver, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDisabled, -.buttonRoundedSelectedDisabled { - background-color: #5fbf95; - color: #fff; - border: 0px solid #b15a59; - border-radius: 0px; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - /*padding: 0 3px;*/ - padding-left:7px !important; - padding-right:7px !important; - height:30px !important; -} -.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} -.buttonRoundedOver, -.buttonRoundedFocusedOver, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown { - background-color: #1faa6e; - height:30px !important; -} - -.menuButton, -.menuButtonOver, -.menuButtonDown, -.menuButtonDisabled, -.menuButtonFocused, -.menuButtonFocusedDown, -.menuButtonFocusedOver, -.menuButtonSelected, -.menuButtonSelectedDown, -.menuButtonSelectedOver, -.menuButtonSelectedDisabled { - background-color: #5fbf95; - border: 0px solid #ababab; - color: #fff; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - padding-left: 7px !important; - padding-right: 7px !important; - height:30px !important; -} -.menuButtonOver { - background-color: #1faa6e; - } -.menuButtonDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - .buttonTitle, -.buttonTitleOver, -.buttonTitleDown, -.buttonTitleSelected, -.buttonTitleFocused, -.buttonTitleSelectedFocused, -.buttonTitleSelectedOver, -.buttonTitleFocusedOver, -.buttonTitleSelectedFocusedOver, -.buttonTitleSelectedDown, -.buttonTitleFocusedDown, -.buttonTitleSelectedFocusedDown, -.buttonTitleDisabled, -.buttonTitleSelectedDisabled { - color: #fff ; - } - .buttonTitleDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - /* windowBody dialogBody Style */ - .windowBody, -.dialogBody { - background-color: white; - border: 1px solid #51b88b; - border-top: 0; -} -.windowHeader, -.dialogHeader { - background-color: #51b88b; - padding: 0; -} -/* sectionHeader Style */ -.sectionHeaderopened { - background-color: #51b88b; - } - .sectionHeaderclosed { - background-color: #70c6a0; - } - -#dt_example h1{ -color:#51b88b; -font-weight:600 !important; -} - /*cell style*/ -.tallCellOver, -.tallCellOverDark { - background-color: #d7eae3; - border-bottom: 1px solid #d7eae3; - border-top: 1px solid #d7eae3; - } -.tallCellSelected, -.tallCellSelectedDark { - background: #c7e5da; - border-bottom: 1px solid #c7e5da; - border-top: 1px solid #c7e5da; - } -.tallCellSelectedOver, -.tallCellSelectedOverDark { - background: #c7e5da; - border-bottom: 1px solid #c7e5da; - border-top: 1px solid #c7e5da; - } -.imgHeaderButtonOver, -.imgHeaderButtonDown, -.headerButtonOver, -.headerButtonDown, -.sorterButtonOver, -.sorterButtonDown { - background-color: #aadac5; - } -.cellSelected, -.cellSelectedDark, -.specialColSelected, -.recordSummaryCellSelected, -.recordSummaryCellSelectedDark { - background: #c7e5da !important; - border-bottom: 1px solid #c7e5da; - border-top: 1px solid #c7e5da; - } -.cellSelectedOver, -.cellSelectedOverDark, -.specialColSelectedOver, -.recordSummaryCellSelectedOver, -.recordSummaryCellSelectedOverDark { - background: #c7e5da !important; - border-bottom: 1px solid #c7e5da; - border-top: 1px solid #c7e5da; -} -.cellOver, -.cellOverDark, -.specialColOver, -.recordSummaryCellOver, -.recordSummaryCellOverDark { - background: #d7eae3 !important; - border-bottom: 1px solid #d7eae3; - border-top: 1px solid #d7eae3; - } -.treeCellOver, -.treeCellOverDark { - background-color: #d7eae3; -} - +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +light_ifrm theme +***/ +td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +/* button style*/ +.buttonRounded, +.buttonRoundedOver, +.buttonRoundedFocused, +.buttonRoundedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown, +.buttonRoundedSelected, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedDown, +.buttonRoundedSelectedFocusedDown, +.buttonRoundedSelectedOver, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDisabled, +.buttonRoundedSelectedDisabled { + background-color: #5fbf95; + color: #fff; + border: 0px solid #b15a59; + border-radius: 0px; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + /*padding: 0 3px;*/ + padding-left:7px !important; + padding-right:7px !important; + height:30px !important; +} +.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} +.buttonRoundedOver, +.buttonRoundedFocusedOver, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown { + background-color: #1faa6e; + height:30px !important; +} + +.menuButton, +.menuButtonOver, +.menuButtonDown, +.menuButtonDisabled, +.menuButtonFocused, +.menuButtonFocusedDown, +.menuButtonFocusedOver, +.menuButtonSelected, +.menuButtonSelectedDown, +.menuButtonSelectedOver, +.menuButtonSelectedDisabled { + background-color: #5fbf95; + border: 0px solid #ababab; + color: #fff; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + padding-left: 7px !important; + padding-right: 7px !important; + height:30px !important; +} +.menuButtonOver { + background-color: #1faa6e; + } +.menuButtonDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + .buttonTitle, +.buttonTitleOver, +.buttonTitleDown, +.buttonTitleSelected, +.buttonTitleFocused, +.buttonTitleSelectedFocused, +.buttonTitleSelectedOver, +.buttonTitleFocusedOver, +.buttonTitleSelectedFocusedOver, +.buttonTitleSelectedDown, +.buttonTitleFocusedDown, +.buttonTitleSelectedFocusedDown, +.buttonTitleDisabled, +.buttonTitleSelectedDisabled { + color: #fff ; + } + .buttonTitleDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + /* windowBody dialogBody Style */ + .windowBody, +.dialogBody { + background-color: white; + border: 1px solid #51b88b; + border-top: 0; +} +.windowHeader, +.dialogHeader { + background-color: #51b88b; + padding: 0; +} +/* sectionHeader Style */ +.sectionHeaderopened { + background-color: #51b88b; + } + .sectionHeaderclosed { + background-color: #70c6a0; + } + +#dt_example h1{ +color:#51b88b; +font-weight:600 !important; +} + /*cell style*/ +.tallCellOver, +.tallCellOverDark { + background-color: #d7eae3; + border-bottom: 1px solid #d7eae3; + border-top: 1px solid #d7eae3; + } +.tallCellSelected, +.tallCellSelectedDark { + background: #c7e5da; + border-bottom: 1px solid #c7e5da; + border-top: 1px solid #c7e5da; + } +.tallCellSelectedOver, +.tallCellSelectedOverDark { + background: #c7e5da; + border-bottom: 1px solid #c7e5da; + border-top: 1px solid #c7e5da; + } +.imgHeaderButtonOver, +.imgHeaderButtonDown, +.headerButtonOver, +.headerButtonDown, +.sorterButtonOver, +.sorterButtonDown { + background-color: #aadac5; + } +.cellSelected, +.cellSelectedDark, +.specialColSelected, +.recordSummaryCellSelected, +.recordSummaryCellSelectedDark { + background: #c7e5da !important; + border-bottom: 1px solid #c7e5da; + border-top: 1px solid #c7e5da; + } +.cellSelectedOver, +.cellSelectedOverDark, +.specialColSelectedOver, +.recordSummaryCellSelectedOver, +.recordSummaryCellSelectedOverDark { + background: #c7e5da !important; + border-bottom: 1px solid #c7e5da; + border-top: 1px solid #c7e5da; +} +.cellOver, +.cellOverDark, +.specialColOver, +.recordSummaryCellOver, +.recordSummaryCellOverDark { + background: #d7eae3 !important; + border-bottom: 1px solid #d7eae3; + border-top: 1px solid #d7eae3; + } +.treeCellOver, +.treeCellOverDark { + background-color: #d7eae3; +} + diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/purple.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/purple.css index f108f79f..85dc6225 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/purple.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/purple.css @@ -1,375 +1,375 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -Purple theme -***/ -/*** -Reset and overrides -***/ -body { - background-color: #701584 !important; -} -/*** -Page header -***/ -.header { - filter: none !important; - background-image: none !important; - background-color: #470d54 !important; -} -.header .btn-navbar { - background-color: #470d54 !important; -} -.header .navbar-nav .dropdown-toggle:hover, -.header .navbar-nav .dropdown.open .dropdown-toggle { - background-color: #69147b !important; -} -.header .navbar-nav li.dropdown .dropdown-toggle i { - color: #c84fe3 !important; -} -.btn-group .btn.blue.dropdown-toggle{ -background-color: #571067 !important; -} -.page-content .page-breadcrumb.breadcrumb{ -background-color:#F5F5F5 !important; -} -/*** -Header Search -***/ -.header .search-form { - background-color: #360A40; -} - -.header .search-form .form-control{ - color: #ccc; - border: 0; - background-color: #360A40; -} - -.header .search-form .submit { - background: url(../../image/search-icon-purple.png); -} -/*** -Hor menu -***/ -.header .hor-menu ul.nav li a { - color: #ccc; -} - -.header .hor-menu ul.nav li.open > a, -.header .hor-menu ul.nav li > a:hover, -.header .hor-menu ul.nav li > a:focus { - color: #fff; - background: #69147b; -} - -.header .hor-menu .dropdown-menu li:hover > a, -.header .hor-menu ul.nav li.active > a, -.header .hor-menu ul.nav li.active > a:hover { - color: #fff; - background: #e02222 !important; -} - -.header .hor-menu ul.nav li.current > a, -.header .hor-menu ul.nav li.current > a:hover { - color: #fff; - background: #e02222 !important; -} - -.header .hor-menu .dropdown-menu { - background: #69147b; -} -.header .hor-menu .dropdown-menu li > a { - color: #ccc; -} - -.header .hor-menu .hor-menu-search-form-toggler.off { - background: #69147b url(../../image/hor-menu-search-close-white.png) no-repeat center; -} - -.header .hor-menu .search-form { - background:#69147b; -} - -.header .hor-menu .search-form form input { - color: #ccc; -} - -.header .hor-menu .search-form .btn { - color: #ccc; - background: url(../../image/search-icon-white.png) no-repeat center; -} - -.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */ - color: #ccc; -} -.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ - color: #ccc; -} -.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */ - color: #ccc; -} -.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */ - color: #ccc; -} - -/*** -Mega Menu -***/ -.mega-menu .mega-menu-submenu { - border-right: 1px solid #78188C; -} - -.mega-menu .mega-menu-submenu li h3 { - color: #fff; -} - -/*** -Page sidebar -***/ -.page-sidebar { - background-color: #701584; -} -ul.page-sidebar-menu > li > a { - border-top: 1px solid #9d1db9 !important; - color: #ffffff !important; -} -ul.page-sidebar-menu > li:last-child > a { - border-bottom: 1px solid transparent !important; -} -ul.page-sidebar-menu > li a i { - color: #cf65e7; -} -ul.page-sidebar-menu > li.open > a, -ul.page-sidebar-menu > li > a:hover, -ul.page-sidebar-menu > li:hover > a { - background: #5d116e; -} -ul.page-sidebar-menu > li.active > a { - background: #571067 !important; - border-top-color: transparent !important; - color: #ffffff; -} -ul.page-sidebar-menu > li.active > a i { - color: #ffffff; -} -ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { - border-top: 0px !important; -} -ul.page-sidebar-menu > li > ul.sub-menu > li.active > a, -ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { - color: #ffffff !important; - background: #951cb0 !important; -} -ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { - background: #951cb0 !important; -} -/* 3rd level sub menu */ -ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li.active > a, -ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a:hover, -ul.page-sidebar-menu > li > ul.sub-menu li.open > a { - color: #ffffff !important; - background: #951cb0 !important; -} -/* font color for all sub menu links*/ -ul.page-sidebar-menu li > ul.sub-menu > li > a { - color: #e4a7f1; -} -/* menu arrows */ -ul.page-sidebar-menu > li > a .arrow:before, -ul.page-sidebar-menu > li > a .arrow.open:before { - color: #c239df !important; -} -ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, -ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { - color: #bb23dc !important; -} -ul.page-sidebar-menu > li > a > .arrow.open:before { - color: #c84fe3 !important; -} -ul.page-sidebar-menu > li.active > a .arrow:before, -ul.page-sidebar-menu > li.active > a .arrow.open:before { - color: #ffffff !important; -} -/* sidebar search */ -.page-sidebar .sidebar-search input { - background-color: #4b0e58 !important; - color: #bf55d7; -} -.page-sidebar .sidebar-search input::-webkit-input-placeholder { - color: #b84dd0 !important; -} -.page-sidebar .sidebar-search input:-moz-placeholder { - color: #b84dd0 !important; -} -.page-sidebar .sidebar-search input:-ms-input-placeholder { - color: #b84dd0 !important; -} -.page-sidebar .sidebar-search input { - background-color: #701584 !important; - color: #bfbfbf !important; -} -.page-sidebar .sidebar-search .input-box { - border-bottom: 1px solid #a93bc1 !important; -} -.page-sidebar .sidebar-search .submit { - background-image: url(../../image/search-icon-purple.png); -} -/*** -Sidebar toggler -***/ -.sidebar-toggler { - background-image: url(../../image/sidebar-toggler-purple.jpg); - background-color: #4b0e58; -} -/* search box bg color on expanded */ -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { - background-color: #701584 !important; -} -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { - background-image: url("../../image/sidebar-search-close-purple.png"); -} -/* sub menu bg color on hover menu item */ -.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { - background-color: #701584; -} -/*** -Footer -***/ -.footer .footer-inner { - color: #c84fe3; -} -.footer .footer-tools .go-top { - background-color: #8a1aa3; -} -.footer .footer-tools .go-top:hover { - opacity: 0.7; - filter: alpha(opacity=70); -} -.footer .footer-tools .go-top i { - color: #c84fe3; -} -/*** -Footer Layouts (new in v1.3) -***/ -/* begin:fixed footer */ -.page-footer-fixed .footer { - background-color: #4b0e58; -} -.page-footer-fixed .footer .footer-inner { - color: #c84fe3; -} -.page-footer-fixed .footer .footer-tools .go-top { - background-color: #8a1aa3; -} -.page-footer-fixed .footer .footer-tools .go-top i { - color: #c84fe3; -} -/* end:fixed footer */ -/*** -Gritter Notifications -***/ -.gritter-top { - background: url(../../thirdparty/gritter/images/gritter-purple.png) no-repeat left -30px !important; -} -.gritter-bottom { - background: url(../../thirdparty/gritter/images/gritter-purple.png) no-repeat left bottom !important; -} -.gritter-item { - display: block; - background: url(../../thirdparty/gritter/images/gritter-purple.png) no-repeat left -40px !important; -} -.gritter-close { - background: url(../../thirdparty/gritter/images/gritter-purple.png) no-repeat left top !important; -} -.gritter-title { - text-shadow: none !important; - /* Not supported by IE :( */ - -} -/* for the light (white) version of the gritter notice */ -.gritter-light .gritter-item, -.gritter-light .gritter-bottom, -.gritter-light .gritter-top, -.gritter-light .gritter-close { - background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; -} -.gritter-item-wrapper a { - color: #18a5ed; -} -.gritter-item-wrapper a:hover { - color: #0b6694; -} -/* begin: boxed page */ -@media (min-width: 992px) { - .page-boxed { - background-color: #5a116a !important; - } - .page-boxed .page-container { - background-color: #701584; - border-left: 1px solid #a11ebd; - border-bottom: 1px solid #a11ebd; - } - .page-boxed.page-sidebar-reversed .page-container { - border-left: 0; - border-right: 1px solid #a11ebd; - } - .page-boxed.page-sidebar-fixed .page-container { - border-left: 0; - border-bottom: 0; - } - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-container { - border-left: 0; - border-right: 0; - border-bottom: 0; - } - .page-boxed.page-sidebar-fixed .page-sidebar { - border-left: 1px solid #a11ebd; - } - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { - border-right: 1px solid #a11ebd; - border-left: 0; - } - .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { - background-color: #5a116a !important; - } -} -/* end: boxed page */ -/*** -Landscape phone to portrait tablet -***/ -@media (max-width: 991px) { - /*** - page sidebar - ***/ - .page-sidebar { - background-color: #520f61 !important; - } - ul.page-sidebar-menu > li > a { - border-top: 1px solid #83189a !important; - } - ul.page-sidebar-menu > li:last-child > a { - border-bottom: 0 !important; - } - .page-sidebar .sidebar-search input { - background-color: #520f61 !important; - } - ul.page-sidebar-menu > li.open > a, - ul.page-sidebar-menu > li > a:hover, - ul.page-sidebar-menu > li:hover > a { - background: #430d4f; - } -} +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +Purple theme +***/ +/*** +Reset and overrides +***/ +body { + background-color: #701584 !important; +} +/*** +Page header +***/ +.header { + filter: none !important; + background-image: none !important; + background-color: #470d54 !important; +} +.header .btn-navbar { + background-color: #470d54 !important; +} +.header .navbar-nav .dropdown-toggle:hover, +.header .navbar-nav .dropdown.open .dropdown-toggle { + background-color: #69147b !important; +} +.header .navbar-nav li.dropdown .dropdown-toggle i { + color: #c84fe3 !important; +} +.btn-group .btn.blue.dropdown-toggle{ +background-color: #571067 !important; +} +.page-content .page-breadcrumb.breadcrumb{ +background-color:#F5F5F5 !important; +} +/*** +Header Search +***/ +.header .search-form { + background-color: #360A40; +} + +.header .search-form .form-control{ + color: #ccc; + border: 0; + background-color: #360A40; +} + +.header .search-form .submit { + background: url(../../image/search-icon-purple.png); +} +/*** +Hor menu +***/ +.header .hor-menu ul.nav li a { + color: #ccc; +} + +.header .hor-menu ul.nav li.open > a, +.header .hor-menu ul.nav li > a:hover, +.header .hor-menu ul.nav li > a:focus { + color: #fff; + background: #69147b; +} + +.header .hor-menu .dropdown-menu li:hover > a, +.header .hor-menu ul.nav li.active > a, +.header .hor-menu ul.nav li.active > a:hover { + color: #fff; + background: #e02222 !important; +} + +.header .hor-menu ul.nav li.current > a, +.header .hor-menu ul.nav li.current > a:hover { + color: #fff; + background: #e02222 !important; +} + +.header .hor-menu .dropdown-menu { + background: #69147b; +} +.header .hor-menu .dropdown-menu li > a { + color: #ccc; +} + +.header .hor-menu .hor-menu-search-form-toggler.off { + background: #69147b url(../../image/hor-menu-search-close-white.png) no-repeat center; +} + +.header .hor-menu .search-form { + background:#69147b; +} + +.header .hor-menu .search-form form input { + color: #ccc; +} + +.header .hor-menu .search-form .btn { + color: #ccc; + background: url(../../image/search-icon-white.png) no-repeat center; +} + +.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */ + color: #ccc; +} +.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ + color: #ccc; +} +.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */ + color: #ccc; +} +.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */ + color: #ccc; +} + +/*** +Mega Menu +***/ +.mega-menu .mega-menu-submenu { + border-right: 1px solid #78188C; +} + +.mega-menu .mega-menu-submenu li h3 { + color: #fff; +} + +/*** +Page sidebar +***/ +.page-sidebar { + background-color: #701584; +} +ul.page-sidebar-menu > li > a { + border-top: 1px solid #9d1db9 !important; + color: #ffffff !important; +} +ul.page-sidebar-menu > li:last-child > a { + border-bottom: 1px solid transparent !important; +} +ul.page-sidebar-menu > li a i { + color: #cf65e7; +} +ul.page-sidebar-menu > li.open > a, +ul.page-sidebar-menu > li > a:hover, +ul.page-sidebar-menu > li:hover > a { + background: #5d116e; +} +ul.page-sidebar-menu > li.active > a { + background: #571067 !important; + border-top-color: transparent !important; + color: #ffffff; +} +ul.page-sidebar-menu > li.active > a i { + color: #ffffff; +} +ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { + border-top: 0px !important; +} +ul.page-sidebar-menu > li > ul.sub-menu > li.active > a, +ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { + color: #ffffff !important; + background: #951cb0 !important; +} +ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { + background: #951cb0 !important; +} +/* 3rd level sub menu */ +ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li.active > a, +ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a:hover, +ul.page-sidebar-menu > li > ul.sub-menu li.open > a { + color: #ffffff !important; + background: #951cb0 !important; +} +/* font color for all sub menu links*/ +ul.page-sidebar-menu li > ul.sub-menu > li > a { + color: #e4a7f1; +} +/* menu arrows */ +ul.page-sidebar-menu > li > a .arrow:before, +ul.page-sidebar-menu > li > a .arrow.open:before { + color: #c239df !important; +} +ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, +ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { + color: #bb23dc !important; +} +ul.page-sidebar-menu > li > a > .arrow.open:before { + color: #c84fe3 !important; +} +ul.page-sidebar-menu > li.active > a .arrow:before, +ul.page-sidebar-menu > li.active > a .arrow.open:before { + color: #ffffff !important; +} +/* sidebar search */ +.page-sidebar .sidebar-search input { + background-color: #4b0e58 !important; + color: #bf55d7; +} +.page-sidebar .sidebar-search input::-webkit-input-placeholder { + color: #b84dd0 !important; +} +.page-sidebar .sidebar-search input:-moz-placeholder { + color: #b84dd0 !important; +} +.page-sidebar .sidebar-search input:-ms-input-placeholder { + color: #b84dd0 !important; +} +.page-sidebar .sidebar-search input { + background-color: #701584 !important; + color: #bfbfbf !important; +} +.page-sidebar .sidebar-search .input-box { + border-bottom: 1px solid #a93bc1 !important; +} +.page-sidebar .sidebar-search .submit { + background-image: url(../../image/search-icon-purple.png); +} +/*** +Sidebar toggler +***/ +.sidebar-toggler { + background-image: url(../../image/sidebar-toggler-purple.jpg); + background-color: #4b0e58; +} +/* search box bg color on expanded */ +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { + background-color: #701584 !important; +} +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { + background-image: url("../../image/sidebar-search-close-purple.png"); +} +/* sub menu bg color on hover menu item */ +.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { + background-color: #701584; +} +/*** +Footer +***/ +.footer .footer-inner { + color: #c84fe3; +} +.footer .footer-tools .go-top { + background-color: #8a1aa3; +} +.footer .footer-tools .go-top:hover { + opacity: 0.7; + filter: alpha(opacity=70); +} +.footer .footer-tools .go-top i { + color: #c84fe3; +} +/*** +Footer Layouts (new in v1.3) +***/ +/* begin:fixed footer */ +.page-footer-fixed .footer { + background-color: #4b0e58; +} +.page-footer-fixed .footer .footer-inner { + color: #c84fe3; +} +.page-footer-fixed .footer .footer-tools .go-top { + background-color: #8a1aa3; +} +.page-footer-fixed .footer .footer-tools .go-top i { + color: #c84fe3; +} +/* end:fixed footer */ +/*** +Gritter Notifications +***/ +.gritter-top { + background: url(../../thirdparty/gritter/images/gritter-purple.png) no-repeat left -30px !important; +} +.gritter-bottom { + background: url(../../thirdparty/gritter/images/gritter-purple.png) no-repeat left bottom !important; +} +.gritter-item { + display: block; + background: url(../../thirdparty/gritter/images/gritter-purple.png) no-repeat left -40px !important; +} +.gritter-close { + background: url(../../thirdparty/gritter/images/gritter-purple.png) no-repeat left top !important; +} +.gritter-title { + text-shadow: none !important; + /* Not supported by IE :( */ + +} +/* for the light (white) version of the gritter notice */ +.gritter-light .gritter-item, +.gritter-light .gritter-bottom, +.gritter-light .gritter-top, +.gritter-light .gritter-close { + background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; +} +.gritter-item-wrapper a { + color: #18a5ed; +} +.gritter-item-wrapper a:hover { + color: #0b6694; +} +/* begin: boxed page */ +@media (min-width: 992px) { + .page-boxed { + background-color: #5a116a !important; + } + .page-boxed .page-container { + background-color: #701584; + border-left: 1px solid #a11ebd; + border-bottom: 1px solid #a11ebd; + } + .page-boxed.page-sidebar-reversed .page-container { + border-left: 0; + border-right: 1px solid #a11ebd; + } + .page-boxed.page-sidebar-fixed .page-container { + border-left: 0; + border-bottom: 0; + } + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-container { + border-left: 0; + border-right: 0; + border-bottom: 0; + } + .page-boxed.page-sidebar-fixed .page-sidebar { + border-left: 1px solid #a11ebd; + } + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { + border-right: 1px solid #a11ebd; + border-left: 0; + } + .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { + background-color: #5a116a !important; + } +} +/* end: boxed page */ +/*** +Landscape phone to portrait tablet +***/ +@media (max-width: 991px) { + /*** + page sidebar + ***/ + .page-sidebar { + background-color: #520f61 !important; + } + ul.page-sidebar-menu > li > a { + border-top: 1px solid #83189a !important; + } + ul.page-sidebar-menu > li:last-child > a { + border-bottom: 0 !important; + } + .page-sidebar .sidebar-search input { + background-color: #520f61 !important; + } + ul.page-sidebar-menu > li.open > a, + ul.page-sidebar-menu > li > a:hover, + ul.page-sidebar-menu > li:hover > a { + background: #430d4f; + } +} diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/purple_ifrm.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/purple_ifrm.css index e2d2f56f..7c2abddb 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/purple_ifrm.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/purple_ifrm.css @@ -1,207 +1,207 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -Purple_ifrm theme -***/ -td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -/* button style*/ -.buttonRounded, -.buttonRoundedOver, -.buttonRoundedFocused, -.buttonRoundedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown, -.buttonRoundedSelected, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedDown, -.buttonRoundedSelectedFocusedDown, -.buttonRoundedSelectedOver, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDisabled, -.buttonRoundedSelectedDisabled { - background-color: #b045c7; - color: #fff !important; - border: 0px solid #b15a59; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - /*padding: 0 3px;*/ - padding-left:7px !important; - padding-right:7px !important; - height:30px !important; -} -.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ - background-color: #f0f0f0; - color: #dadada !important; - opacity: 1; -} -.buttonRoundedOver, -.buttonRoundedFocusedOver, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedFocusedOver , -.buttonRoundedDown, -.buttonRoundedFocusedDown{ - background-color: #8f32a3; - height:30px !important; -} - -.menuButton, -.menuButtonOver, -.menuButtonDown, -.menuButtonDisabled, -.menuButtonFocused, -.menuButtonFocusedDown, -.menuButtonFocusedOver, -.menuButtonSelected, -.menuButtonSelectedDown, -.menuButtonSelectedOver, -.menuButtonSelectedDisabled { - background-color: #b045c7; - border: 0px solid #ababab; - color: #fff !important; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - padding-left: 7px !important; - padding-right: 7px !important; - height:30px !important; -} -.menuButtonOver { - background-color: #8f32a3; - } -.menuButtonDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - .buttonTitle, -.buttonTitleOver, -.buttonTitleDown, -.buttonTitleSelected, -.buttonTitleFocused, -.buttonTitleSelectedFocused, -.buttonTitleSelectedOver, -.buttonTitleFocusedOver, -.buttonTitleSelectedFocusedOver, -.buttonTitleSelectedDown, -.buttonTitleFocusedDown, -.buttonTitleSelectedFocusedDown, -.buttonTitleDisabled, -.buttonTitleSelectedDisabled { - color: #fff ; - } - .buttonTitleDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - /* windowBody dialogBody Style */ - .windowBody, -.dialogBody { - background-color: white; - border: 1px solid #5d116e; - border-top: 0; -} - -.windowHeader, -.dialogHeader { - background-color: #5d116e; - padding: 0; -} -/* sectionHeader Style */ -.sectionHeaderopened { - background-color: #8f32a3; - } - .sectionHeaderclosed { - background-color: #a03bb6; - } - -#dt_example h1{ -color:#8f32a3; -font-weight:600 !important; -} - /*cell style*/ -.tallCellOver, -.tallCellOverDark { - background-color: #e7c7ee; - border-bottom: 1px solid #e7c7ee; - border-top: 1px solid #e7c7ee; - } -.tallCellSelected, -.tallCellSelectedDark { - background: #d49ce0; - border-bottom: 1px solid #d49ce0; - border-top: 1px solid #d49ce0; - } -.tallCellSelectedOver, -.tallCellSelectedOverDark { - background: #d49ce0; - border-bottom: 1px solid #d49ce0; - border-top: 1px solid #d49ce0; - } -.imgHeaderButtonOver, -.imgHeaderButtonDown, -.headerButtonOver, -.headerButtonDown, -.sorterButtonOver, -.sorterButtonDown { - background-color: #ecd4f1; - } -.cellSelected, -.cellSelectedDark, -.specialColSelected, -.recordSummaryCellSelected, -.recordSummaryCellSelectedDark { - background: #d49ce0 !important; - border-bottom: 1px solid #d49ce0; - border-top: 1px solid #d49ce0; - } -.cellSelectedOver, -.cellSelectedOverDark, -.specialColSelectedOver, -.recordSummaryCellSelectedOver, -.recordSummaryCellSelectedOverDark { - background: #d49ce0 !important; - border-bottom: 1px solid #d49ce0; - border-top: 1px solid #d49ce0; -} -.cellOver, -.cellOverDark, -.specialColOver, -.recordSummaryCellOver, -.recordSummaryCellOverDark { - background: #e7c7ee !important; - border-bottom: 1px solid #e7c7ee; - border-top: 1px solid #e7c7ee; - } -.treeCellOver, -.treeCellOverDark { - background-color: #e7c7ee; -} - +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +Purple_ifrm theme +***/ +td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +/* button style*/ +.buttonRounded, +.buttonRoundedOver, +.buttonRoundedFocused, +.buttonRoundedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown, +.buttonRoundedSelected, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedDown, +.buttonRoundedSelectedFocusedDown, +.buttonRoundedSelectedOver, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDisabled, +.buttonRoundedSelectedDisabled { + background-color: #b045c7; + color: #fff !important; + border: 0px solid #b15a59; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + /*padding: 0 3px;*/ + padding-left:7px !important; + padding-right:7px !important; + height:30px !important; +} +.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ + background-color: #f0f0f0; + color: #dadada !important; + opacity: 1; +} +.buttonRoundedOver, +.buttonRoundedFocusedOver, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedFocusedOver , +.buttonRoundedDown, +.buttonRoundedFocusedDown{ + background-color: #8f32a3; + height:30px !important; +} + +.menuButton, +.menuButtonOver, +.menuButtonDown, +.menuButtonDisabled, +.menuButtonFocused, +.menuButtonFocusedDown, +.menuButtonFocusedOver, +.menuButtonSelected, +.menuButtonSelectedDown, +.menuButtonSelectedOver, +.menuButtonSelectedDisabled { + background-color: #b045c7; + border: 0px solid #ababab; + color: #fff !important; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + padding-left: 7px !important; + padding-right: 7px !important; + height:30px !important; +} +.menuButtonOver { + background-color: #8f32a3; + } +.menuButtonDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + .buttonTitle, +.buttonTitleOver, +.buttonTitleDown, +.buttonTitleSelected, +.buttonTitleFocused, +.buttonTitleSelectedFocused, +.buttonTitleSelectedOver, +.buttonTitleFocusedOver, +.buttonTitleSelectedFocusedOver, +.buttonTitleSelectedDown, +.buttonTitleFocusedDown, +.buttonTitleSelectedFocusedDown, +.buttonTitleDisabled, +.buttonTitleSelectedDisabled { + color: #fff ; + } + .buttonTitleDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + /* windowBody dialogBody Style */ + .windowBody, +.dialogBody { + background-color: white; + border: 1px solid #5d116e; + border-top: 0; +} + +.windowHeader, +.dialogHeader { + background-color: #5d116e; + padding: 0; +} +/* sectionHeader Style */ +.sectionHeaderopened { + background-color: #8f32a3; + } + .sectionHeaderclosed { + background-color: #a03bb6; + } + +#dt_example h1{ +color:#8f32a3; +font-weight:600 !important; +} + /*cell style*/ +.tallCellOver, +.tallCellOverDark { + background-color: #e7c7ee; + border-bottom: 1px solid #e7c7ee; + border-top: 1px solid #e7c7ee; + } +.tallCellSelected, +.tallCellSelectedDark { + background: #d49ce0; + border-bottom: 1px solid #d49ce0; + border-top: 1px solid #d49ce0; + } +.tallCellSelectedOver, +.tallCellSelectedOverDark { + background: #d49ce0; + border-bottom: 1px solid #d49ce0; + border-top: 1px solid #d49ce0; + } +.imgHeaderButtonOver, +.imgHeaderButtonDown, +.headerButtonOver, +.headerButtonDown, +.sorterButtonOver, +.sorterButtonDown { + background-color: #ecd4f1; + } +.cellSelected, +.cellSelectedDark, +.specialColSelected, +.recordSummaryCellSelected, +.recordSummaryCellSelectedDark { + background: #d49ce0 !important; + border-bottom: 1px solid #d49ce0; + border-top: 1px solid #d49ce0; + } +.cellSelectedOver, +.cellSelectedOverDark, +.specialColSelectedOver, +.recordSummaryCellSelectedOver, +.recordSummaryCellSelectedOverDark { + background: #d49ce0 !important; + border-bottom: 1px solid #d49ce0; + border-top: 1px solid #d49ce0; +} +.cellOver, +.cellOverDark, +.specialColOver, +.recordSummaryCellOver, +.recordSummaryCellOverDark { + background: #e7c7ee !important; + border-bottom: 1px solid #e7c7ee; + border-top: 1px solid #e7c7ee; + } +.treeCellOver, +.treeCellOverDark { + background-color: #e7c7ee; +} + diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/zteblue.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/zteblue.css index 051ad182..ca9b007b 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/zteblue.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/zteblue.css @@ -1,398 +1,398 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -Blue theme -***/ -/*** -Reset and overrides -***/ -body { - background-color: #e8e8e8 !important; -} -/*** -Page header -***/ -.header { - filter: none !important; - background-image: none !important; - background-color: #1b8fd3 !important; -} -.header .btn-navbar { - background-color: #1b8fd3!important; -} -.header .navbar-nav .dropdown-toggle:hover, -.header .navbar-nav .dropdown.open .dropdown-toggle { - color: #fff; - background-color: #ee5c00 !important; -} -.header .navbar-nav li.dropdown .dropdown-toggle i { - color: #fff !important; -} -.page-content .page-breadcrumb.breadcrumb .dashboard-date-range{ -background-color: #ee5c00 !important; -} -.btn-group .btn.blue.dropdown-toggle{ -background-color: #ee5c00 !important; -} -.page-content .page-breadcrumb.breadcrumb{ -background-color:#F5F5F5 !important; -} -/*** -Header Search -***/ -.header .search-form { - background-color: #0B4263; -} - -.header .search-form .form-control{ - color: #68bbec; - border: 0; - background-color: #0B4263; -} - -.header .search-form .submit { - background: url(../../image/search-icon-blue.png); -} -.zte-theme-panel > .toggler:hover { - background-color: #146a9d !important; -} -/*** -Hor menu -***/ -.header .hor-menu ul.nav li a { - color: #ccc; -} - -.header .hor-menu ul.nav li.open > a, -.header .hor-menu ul.nav li > a:hover, -.header .hor-menu ul.nav li > a:focus { - color: #fff; - background: #146a9d; -} - -.header .hor-menu .dropdown-menu li:hover > a, -.header .hor-menu ul.nav li.active > a, -.header .hor-menu ul.nav li.active > a:hover { - color: #fff; - background: #ee5c00 !important; -} -.header.navbar .hor-menu ul.nav li.current .selected, -.header.navbar .hor-menu ul.nav li.active .selected { - border-top: 6px solid #ee5c00; - } -.header .hor-menu ul.nav li.current > a, -.header .hor-menu ul.nav li.current > a:hover { - color: #fff; - background: #e02222 !important; -} - -.header .hor-menu .dropdown-menu { - background: #146a9d; -} -.header .hor-menu .dropdown-menu li > a { - color: #ccc; -} - -.header .hor-menu .hor-menu-search-form-toggler.off { - background: #146a9d url(../../image/hor-menu-search-close-white.png) no-repeat center; -} - -.header .hor-menu .search-form { - background:#146a9d; -} - -.header .hor-menu .search-form form input { - color: #ccc; -} - -.header .hor-menu .search-form .btn { - color: #ccc; - background: url(../../image/search-icon-white.png) no-repeat center; -} - -.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */ - color: #ccc; -} -.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ - color: #ccc; -} -.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */ - color: #ccc; -} -.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */ - color: #ccc; -} - -/*** -Mega Menu -***/ -.mega-menu .mega-menu-submenu { - border-right: 1px solid #1876AD; -} - -.mega-menu .mega-menu-submenu li h3 { - color: #fff; -} - -/*** -Page sidebar -***/ -.page-sidebar { - background-color: #e8e8e8; -} -ul.page-sidebar-menu > li > a { - border-top: 1px solid #d3d1d1 !important; - /*color: black !important;*/ -} -ul.page-sidebar-menu > li:last-child > a { - border-bottom: 1px solid transparent !important; -} -ul.page-sidebar-menu > li a i { - /*color: black !important;*/ -} -ul.page-sidebar-menu > li.open > a{ -border-bottom: 1px solid #d3d1d1 !important; -color: #0d638f; -} -ul.page-sidebar-menu > li > a:hover -/*ul.page-sidebar-menu > li:hover > a */{ - background: #1b8fd3; - color: #ffffff; -} -ul.page-sidebar-menu > li.active > a { - background: #ee5c00 !important; - border-top-color: transparent !important; - color: #ffffff; -} -ul.page-sidebar-menu > li.active > a i { - color: #ffffff; -} -ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { - border-top: 0px !important; -} -ul.page-sidebar-menu > li > ul.sub-menu > li.active > a, -ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { - color: #ffffff !important; - background: #1b8fd3 !important; -} -ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { - background: #1b8fd3 !important; -} -/* 3rd level sub menu */ -ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li.active > a, -ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a:hover, -ul.page-sidebar-menu > li > ul.sub-menu li.open > a { - color: #ffffff !important; - background: #1b8fd3 !important; -} -/* font color for all sub menu links*/ -ul.page-sidebar-menu li > ul.sub-menu > li > a { - /*color: #c3e4f7;*/ -} -/* menu arrows */ -ul.page-sidebar-menu > li > a .arrow:before, -ul.page-sidebar-menu > li > a .arrow.open:before { - /*color: #51b1e9 !important;*/ -} -ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, -ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { - color: #3ba6e6 !important; -} -ul.page-sidebar-menu > li > a > .arrow.open:before { - /* color: #68bbec !important;*/ -} -ul.page-sidebar-menu > li.active > a .arrow:before, -ul.page-sidebar-menu > li.active > a .arrow.open:before { - color: #ffffff !important; -} -/* sidebar search */ -.page-sidebar .sidebar-search input { - background-color: #0f5179 !important; - color: #0d638f; -} -.page-sidebar .sidebar-search input::-webkit-input-placeholder { - color: #0d638f !important; -} -.page-sidebar .sidebar-search input:-moz-placeholder { - color: #0d638f !important; -} -.page-sidebar .sidebar-search input:-ms-input-placeholder { - color: #0d638f !important; -} -.page-sidebar .sidebar-search input { - background-color: #e8e8e8 !important; - /* color: #bfbfbf !important;*/ -} -.page-sidebar .sidebar-search .input-box { - border-bottom: 1px solid #0d638f !important; -} -.page-sidebar .sidebar-search .submit { - background-image: url(../../image/search-icon-blue.png); -} -/*** -Sidebar toggler -***/ -.sidebar-toggler { - background-image: url(../../image/sidebar-toggler-grey.jpg); - background-color: #0f5179; -} -/* search box bg color on expanded */ -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { - background-color: #1b8fd3 !important; -} -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { - background-image: url("../../image/sidebar-search-close-blue.png"); -} -/* sub menu bg color on hover menu item */ -.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { - background-color: #1b8fd3; -} -/*** -Footer -***/ -.footer .footer-inner { - color: #7c7c7c; -} -.footer .footer-tools .go-top { - background-color: #1985c6; -} -.footer .footer-tools .go-top:hover { - opacity: 0.7; - filter: alpha(opacity=70); -} -.footer .footer-tools .go-top i { - color: #68bbec; -} -/*** -Footer Layouts (new in v1.3) -***/ -/* begin:fixed footer */ -.page-footer-fixed .footer { - background-color: #0f5179; -} -.page-footer-fixed .footer .footer-inner { - color: #68bbec; -} -.page-footer-fixed .footer .footer-tools .go-top { - background-color: #1985c6; -} -.page-footer-fixed .footer .footer-tools .go-top i { - color: #68bbec; -} -/* end:fixed footer */ -/*** -Gritter Notifications -***/ -.gritter-top { - background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left -30px !important; -} -.gritter-bottom { - background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left bottom !important; -} -.gritter-item { - display: block; - background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left -40px !important; -} -.gritter-close { - background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left top !important; -} -.gritter-title { - text-shadow: none !important; - /* Not supported by IE :( */ - -} -/* for the light (white) version of the gritter notice */ -.gritter-light .gritter-item, -.gritter-light .gritter-bottom, -.gritter-light .gritter-top, -.gritter-light .gritter-close { - background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; -} -.gritter-item-wrapper a { - color: #18a5ed; -} -.gritter-item-wrapper a:hover { - color: #0b6694; -} -/* begin: boxed page */ -@media (min-width: 992px) { - .page-boxed { - background-color: #125e8b !important; - } - .page-boxed .page-container { - background-color: #1570a6; - border-left: 1px solid #1c98e1; - border-bottom: 1px solid #1c98e1; - } - .page-boxed.page-sidebar-reversed .page-container { - border-left: 0; - border-right: 1px solid #1c98e1; - } - .page-boxed.page-sidebar-fixed .page-container { - border-left: 0; - border-bottom: 0; - } - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-container { - border-left: 0; - border-right: 0; - border-bottom: 0; - } - .page-boxed.page-sidebar-fixed .page-sidebar { - border-left: 1px solid #1c98e1; - } - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { - border-right: 1px solid #1c98e1; - border-left: 0; - } - .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { - background-color: #125e8b !important; - } -} -/* end: boxed page */ -/*** -Landscape phone to portrait tablet -***/ -@media (max-width: 991px) { - /*** - page sidebar - ***/ - .page-sidebar { - background-color: #3d95c9 !important; - } - ul.page-sidebar-menu > li > a { - border-top: 1px solid #187fbd !important; - } - ul.page-sidebar-menu > li:last-child > a { - border-bottom: 0 !important; - } - .page-sidebar .sidebar-search input { - background-color: #3d95c9 !important; - } - ul.page-sidebar-menu > li.open > a{ - border-bottom: 1px solid #187fbd !important; - - } - ul.page-sidebar-menu > li > a:hover/*, - ul.page-sidebar-menu > li:hover > a */{ - background: #0e4b70; - } - ul.page-sidebar-menu > li a i{ - color:#fff !important; - } - ul.page-sidebar-menu > li a{ - color:#fff !important; - } -} +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +Blue theme +***/ +/*** +Reset and overrides +***/ +body { + background-color: #e8e8e8 !important; +} +/*** +Page header +***/ +.header { + filter: none !important; + background-image: none !important; + background-color: #1b8fd3 !important; +} +.header .btn-navbar { + background-color: #1b8fd3!important; +} +.header .navbar-nav .dropdown-toggle:hover, +.header .navbar-nav .dropdown.open .dropdown-toggle { + color: #fff; + background-color: #ee5c00 !important; +} +.header .navbar-nav li.dropdown .dropdown-toggle i { + color: #fff !important; +} +.page-content .page-breadcrumb.breadcrumb .dashboard-date-range{ +background-color: #ee5c00 !important; +} +.btn-group .btn.blue.dropdown-toggle{ +background-color: #ee5c00 !important; +} +.page-content .page-breadcrumb.breadcrumb{ +background-color:#F5F5F5 !important; +} +/*** +Header Search +***/ +.header .search-form { + background-color: #0B4263; +} + +.header .search-form .form-control{ + color: #68bbec; + border: 0; + background-color: #0B4263; +} + +.header .search-form .submit { + background: url(../../image/search-icon-blue.png); +} +.zte-theme-panel > .toggler:hover { + background-color: #146a9d !important; +} +/*** +Hor menu +***/ +.header .hor-menu ul.nav li a { + color: #ccc; +} + +.header .hor-menu ul.nav li.open > a, +.header .hor-menu ul.nav li > a:hover, +.header .hor-menu ul.nav li > a:focus { + color: #fff; + background: #146a9d; +} + +.header .hor-menu .dropdown-menu li:hover > a, +.header .hor-menu ul.nav li.active > a, +.header .hor-menu ul.nav li.active > a:hover { + color: #fff; + background: #ee5c00 !important; +} +.header.navbar .hor-menu ul.nav li.current .selected, +.header.navbar .hor-menu ul.nav li.active .selected { + border-top: 6px solid #ee5c00; + } +.header .hor-menu ul.nav li.current > a, +.header .hor-menu ul.nav li.current > a:hover { + color: #fff; + background: #e02222 !important; +} + +.header .hor-menu .dropdown-menu { + background: #146a9d; +} +.header .hor-menu .dropdown-menu li > a { + color: #ccc; +} + +.header .hor-menu .hor-menu-search-form-toggler.off { + background: #146a9d url(../../image/hor-menu-search-close-white.png) no-repeat center; +} + +.header .hor-menu .search-form { + background:#146a9d; +} + +.header .hor-menu .search-form form input { + color: #ccc; +} + +.header .hor-menu .search-form .btn { + color: #ccc; + background: url(../../image/search-icon-white.png) no-repeat center; +} + +.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */ + color: #ccc; +} +.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ + color: #ccc; +} +.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */ + color: #ccc; +} +.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */ + color: #ccc; +} + +/*** +Mega Menu +***/ +.mega-menu .mega-menu-submenu { + border-right: 1px solid #1876AD; +} + +.mega-menu .mega-menu-submenu li h3 { + color: #fff; +} + +/*** +Page sidebar +***/ +.page-sidebar { + background-color: #e8e8e8; +} +ul.page-sidebar-menu > li > a { + border-top: 1px solid #d3d1d1 !important; + /*color: black !important;*/ +} +ul.page-sidebar-menu > li:last-child > a { + border-bottom: 1px solid transparent !important; +} +ul.page-sidebar-menu > li a i { + /*color: black !important;*/ +} +ul.page-sidebar-menu > li.open > a{ +border-bottom: 1px solid #d3d1d1 !important; +color: #0d638f; +} +ul.page-sidebar-menu > li > a:hover +/*ul.page-sidebar-menu > li:hover > a */{ + background: #1b8fd3; + color: #ffffff; +} +ul.page-sidebar-menu > li.active > a { + background: #ee5c00 !important; + border-top-color: transparent !important; + color: #ffffff; +} +ul.page-sidebar-menu > li.active > a i { + color: #ffffff; +} +ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { + border-top: 0px !important; +} +ul.page-sidebar-menu > li > ul.sub-menu > li.active > a, +ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { + color: #ffffff !important; + background: #1b8fd3 !important; +} +ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { + background: #1b8fd3 !important; +} +/* 3rd level sub menu */ +ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li.active > a, +ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a:hover, +ul.page-sidebar-menu > li > ul.sub-menu li.open > a { + color: #ffffff !important; + background: #1b8fd3 !important; +} +/* font color for all sub menu links*/ +ul.page-sidebar-menu li > ul.sub-menu > li > a { + /*color: #c3e4f7;*/ +} +/* menu arrows */ +ul.page-sidebar-menu > li > a .arrow:before, +ul.page-sidebar-menu > li > a .arrow.open:before { + /*color: #51b1e9 !important;*/ +} +ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, +ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { + color: #3ba6e6 !important; +} +ul.page-sidebar-menu > li > a > .arrow.open:before { + /* color: #68bbec !important;*/ +} +ul.page-sidebar-menu > li.active > a .arrow:before, +ul.page-sidebar-menu > li.active > a .arrow.open:before { + color: #ffffff !important; +} +/* sidebar search */ +.page-sidebar .sidebar-search input { + background-color: #0f5179 !important; + color: #0d638f; +} +.page-sidebar .sidebar-search input::-webkit-input-placeholder { + color: #0d638f !important; +} +.page-sidebar .sidebar-search input:-moz-placeholder { + color: #0d638f !important; +} +.page-sidebar .sidebar-search input:-ms-input-placeholder { + color: #0d638f !important; +} +.page-sidebar .sidebar-search input { + background-color: #e8e8e8 !important; + /* color: #bfbfbf !important;*/ +} +.page-sidebar .sidebar-search .input-box { + border-bottom: 1px solid #0d638f !important; +} +.page-sidebar .sidebar-search .submit { + background-image: url(../../image/search-icon-blue.png); +} +/*** +Sidebar toggler +***/ +.sidebar-toggler { + background-image: url(../../image/sidebar-toggler-grey.jpg); + background-color: #0f5179; +} +/* search box bg color on expanded */ +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { + background-color: #1b8fd3 !important; +} +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { + background-image: url("../../image/sidebar-search-close-blue.png"); +} +/* sub menu bg color on hover menu item */ +.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { + background-color: #1b8fd3; +} +/*** +Footer +***/ +.footer .footer-inner { + color: #7c7c7c; +} +.footer .footer-tools .go-top { + background-color: #1985c6; +} +.footer .footer-tools .go-top:hover { + opacity: 0.7; + filter: alpha(opacity=70); +} +.footer .footer-tools .go-top i { + color: #68bbec; +} +/*** +Footer Layouts (new in v1.3) +***/ +/* begin:fixed footer */ +.page-footer-fixed .footer { + background-color: #0f5179; +} +.page-footer-fixed .footer .footer-inner { + color: #68bbec; +} +.page-footer-fixed .footer .footer-tools .go-top { + background-color: #1985c6; +} +.page-footer-fixed .footer .footer-tools .go-top i { + color: #68bbec; +} +/* end:fixed footer */ +/*** +Gritter Notifications +***/ +.gritter-top { + background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left -30px !important; +} +.gritter-bottom { + background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left bottom !important; +} +.gritter-item { + display: block; + background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left -40px !important; +} +.gritter-close { + background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left top !important; +} +.gritter-title { + text-shadow: none !important; + /* Not supported by IE :( */ + +} +/* for the light (white) version of the gritter notice */ +.gritter-light .gritter-item, +.gritter-light .gritter-bottom, +.gritter-light .gritter-top, +.gritter-light .gritter-close { + background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; +} +.gritter-item-wrapper a { + color: #18a5ed; +} +.gritter-item-wrapper a:hover { + color: #0b6694; +} +/* begin: boxed page */ +@media (min-width: 992px) { + .page-boxed { + background-color: #125e8b !important; + } + .page-boxed .page-container { + background-color: #1570a6; + border-left: 1px solid #1c98e1; + border-bottom: 1px solid #1c98e1; + } + .page-boxed.page-sidebar-reversed .page-container { + border-left: 0; + border-right: 1px solid #1c98e1; + } + .page-boxed.page-sidebar-fixed .page-container { + border-left: 0; + border-bottom: 0; + } + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-container { + border-left: 0; + border-right: 0; + border-bottom: 0; + } + .page-boxed.page-sidebar-fixed .page-sidebar { + border-left: 1px solid #1c98e1; + } + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { + border-right: 1px solid #1c98e1; + border-left: 0; + } + .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { + background-color: #125e8b !important; + } +} +/* end: boxed page */ +/*** +Landscape phone to portrait tablet +***/ +@media (max-width: 991px) { + /*** + page sidebar + ***/ + .page-sidebar { + background-color: #3d95c9 !important; + } + ul.page-sidebar-menu > li > a { + border-top: 1px solid #187fbd !important; + } + ul.page-sidebar-menu > li:last-child > a { + border-bottom: 0 !important; + } + .page-sidebar .sidebar-search input { + background-color: #3d95c9 !important; + } + ul.page-sidebar-menu > li.open > a{ + border-bottom: 1px solid #187fbd !important; + + } + ul.page-sidebar-menu > li > a:hover/*, + ul.page-sidebar-menu > li:hover > a */{ + background: #0e4b70; + } + ul.page-sidebar-menu > li a i{ + color:#fff !important; + } + ul.page-sidebar-menu > li a{ + color:#fff !important; + } +} diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/zteblue_ifrm.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/zteblue_ifrm.css index 80affa2f..68f818c1 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/zteblue_ifrm.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/zteblue_ifrm.css @@ -1,206 +1,206 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -light_ifrm theme -***/ -td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -/* button style*/ -.buttonRounded, -.buttonRoundedOver, -.buttonRoundedFocused, -.buttonRoundedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown, -.buttonRoundedSelected, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedDown, -.buttonRoundedSelectedFocusedDown, -.buttonRoundedSelectedOver, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDisabled, -.buttonRoundedSelectedDisabled { - background-color: #4da9df; - color: #fff; - border: 0px solid #b15a59; - border-radius: 0px; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - /*padding: 0 3px;*/ - padding-left:7px !important; - padding-right:7px !important; - height:30px !important; -} -.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} -.buttonRoundedOver, -.buttonRoundedFocusedOver, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown { - background-color: #479fd3; - height:30px !important; -} - -.menuButton, -.menuButtonOver, -.menuButtonDown, -.menuButtonDisabled, -.menuButtonFocused, -.menuButtonFocusedDown, -.menuButtonFocusedOver, -.menuButtonSelected, -.menuButtonSelectedDown, -.menuButtonSelectedOver, -.menuButtonSelectedDisabled { - background-color: #4da9df; - border: 0px solid #ababab; - color: #fff; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - padding-left: 7px !important; - padding-right: 7px !important; - height:30px !important; -} -.menuButtonOver { - background-color: #479fd3; - } -.menuButtonDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - .buttonTitle, -.buttonTitleOver, -.buttonTitleDown, -.buttonTitleSelected, -.buttonTitleFocused, -.buttonTitleSelectedFocused, -.buttonTitleSelectedOver, -.buttonTitleFocusedOver, -.buttonTitleSelectedFocusedOver, -.buttonTitleSelectedDown, -.buttonTitleFocusedDown, -.buttonTitleSelectedFocusedDown, -.buttonTitleDisabled, -.buttonTitleSelectedDisabled { - color: #fff ; - } - .buttonTitleDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - /* windowBody dialogBody Style */ - .windowBody, -.dialogBody { - background-color: white; - border: 1px solid #2c9ada; - border-top: 0; -} -.windowHeader, -.dialogHeader { - background-color: #2c9ada; - padding: 0; -} -/* sectionHeader Style */ -.sectionHeaderopened { - background-color: #438eb9; - } - .sectionHeaderclosed { - background-color: #3a85b0; - } - -#dt_example h1{ -color:#438eb9; -font-weight:600 !important; -} - /*cell style*/ -.tallCellOver, -.tallCellOverDark { - background-color: #ffede4; - border-bottom: 1px solid #ffede4; - border-top: 1px solid #ffede4; - } -.tallCellSelected, -.tallCellSelectedDark { - background: #f8dddd; - border-bottom: 1px solid #f8dddd; - border-top: 1px solid #f8dddd; - } -.tallCellSelectedOver, -.tallCellSelectedOverDark { - background: #f8dddd; - border-bottom: 1px solid #f8dddd; - border-top: 1px solid #f8dddd; - } -.imgHeaderButtonOver, -.imgHeaderButtonDown, -.headerButtonOver, -.headerButtonDown, -.sorterButtonOver, -.sorterButtonDown { - background-color: #c4d7e2; - } -.cellSelected, -.cellSelectedDark, -.specialColSelected, -.recordSummaryCellSelected, -.recordSummaryCellSelectedDark { - background: #f8dddd !important; - border-bottom: 1px solid #f8dddd; - border-top: 1px solid #f8dddd; - } -.cellSelectedOver, -.cellSelectedOverDark, -.specialColSelectedOver, -.recordSummaryCellSelectedOver, -.recordSummaryCellSelectedOverDark { - background: #f8dddd !important; - border-bottom: 1px solid #f8dddd; - border-top: 1px solid #f8dddd; -} -.cellOver, -.cellOverDark, -.specialColOver, -.recordSummaryCellOver, -.recordSummaryCellOverDark { - background: #ffede4 !important; - border-bottom: 1px solid #ffede4; - border-top: 1px solid #ffede4; - } -.treeCellOver, -.treeCellOverDark { - background-color: #ffede4; -} +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +light_ifrm theme +***/ +td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +/* button style*/ +.buttonRounded, +.buttonRoundedOver, +.buttonRoundedFocused, +.buttonRoundedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown, +.buttonRoundedSelected, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedDown, +.buttonRoundedSelectedFocusedDown, +.buttonRoundedSelectedOver, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDisabled, +.buttonRoundedSelectedDisabled { + background-color: #4da9df; + color: #fff; + border: 0px solid #b15a59; + border-radius: 0px; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + /*padding: 0 3px;*/ + padding-left:7px !important; + padding-right:7px !important; + height:30px !important; +} +.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} +.buttonRoundedOver, +.buttonRoundedFocusedOver, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown { + background-color: #479fd3; + height:30px !important; +} + +.menuButton, +.menuButtonOver, +.menuButtonDown, +.menuButtonDisabled, +.menuButtonFocused, +.menuButtonFocusedDown, +.menuButtonFocusedOver, +.menuButtonSelected, +.menuButtonSelectedDown, +.menuButtonSelectedOver, +.menuButtonSelectedDisabled { + background-color: #4da9df; + border: 0px solid #ababab; + color: #fff; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + padding-left: 7px !important; + padding-right: 7px !important; + height:30px !important; +} +.menuButtonOver { + background-color: #479fd3; + } +.menuButtonDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + .buttonTitle, +.buttonTitleOver, +.buttonTitleDown, +.buttonTitleSelected, +.buttonTitleFocused, +.buttonTitleSelectedFocused, +.buttonTitleSelectedOver, +.buttonTitleFocusedOver, +.buttonTitleSelectedFocusedOver, +.buttonTitleSelectedDown, +.buttonTitleFocusedDown, +.buttonTitleSelectedFocusedDown, +.buttonTitleDisabled, +.buttonTitleSelectedDisabled { + color: #fff ; + } + .buttonTitleDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + /* windowBody dialogBody Style */ + .windowBody, +.dialogBody { + background-color: white; + border: 1px solid #2c9ada; + border-top: 0; +} +.windowHeader, +.dialogHeader { + background-color: #2c9ada; + padding: 0; +} +/* sectionHeader Style */ +.sectionHeaderopened { + background-color: #438eb9; + } + .sectionHeaderclosed { + background-color: #3a85b0; + } + +#dt_example h1{ +color:#438eb9; +font-weight:600 !important; +} + /*cell style*/ +.tallCellOver, +.tallCellOverDark { + background-color: #ffede4; + border-bottom: 1px solid #ffede4; + border-top: 1px solid #ffede4; + } +.tallCellSelected, +.tallCellSelectedDark { + background: #f8dddd; + border-bottom: 1px solid #f8dddd; + border-top: 1px solid #f8dddd; + } +.tallCellSelectedOver, +.tallCellSelectedOverDark { + background: #f8dddd; + border-bottom: 1px solid #f8dddd; + border-top: 1px solid #f8dddd; + } +.imgHeaderButtonOver, +.imgHeaderButtonDown, +.headerButtonOver, +.headerButtonDown, +.sorterButtonOver, +.sorterButtonDown { + background-color: #c4d7e2; + } +.cellSelected, +.cellSelectedDark, +.specialColSelected, +.recordSummaryCellSelected, +.recordSummaryCellSelectedDark { + background: #f8dddd !important; + border-bottom: 1px solid #f8dddd; + border-top: 1px solid #f8dddd; + } +.cellSelectedOver, +.cellSelectedOverDark, +.specialColSelectedOver, +.recordSummaryCellSelectedOver, +.recordSummaryCellSelectedOverDark { + background: #f8dddd !important; + border-bottom: 1px solid #f8dddd; + border-top: 1px solid #f8dddd; +} +.cellOver, +.cellOverDark, +.specialColOver, +.recordSummaryCellOver, +.recordSummaryCellOverDark { + background: #ffede4 !important; + border-bottom: 1px solid #ffede4; + border-top: 1px solid #ffede4; + } +.treeCellOver, +.treeCellOverDark { + background-color: #ffede4; +} diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight.css index 7dfbb0c6..120ed30f 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight.css @@ -1,450 +1,450 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -Blue theme -***/ -/*** -Reset and overrides -***/ -body { - background-color: #f1f3fa !important; - font-family:"microsoft yahei"; -} -.page-content{ -background-color:#f1f3fa !important; -} -.page-sidebar-menu > li.active > a .selected{ -background-image:url("../../image/sidebar-menu-arrow-bluelight.png") -} -/*** -Page header -***/ -.header { - filter: none !important; - background-image: none !important; - background-color: #3366CC !important; -} -.header .btn-navbar { - background-color: #3366CC!important; -} -.header .navbar-nav .dropdown-toggle:hover, -.header .navbar-nav .dropdown.open .dropdown-toggle { - color: #fff; - background-color: #3061c1 !important; -} -.header .navbar-nav li.dropdown .dropdown-toggle i { - color: white !important; -} -.zte-theme-panel > .toggler:hover { - background-color: #6192f7 !important; -} -.page-content .page-breadcrumb.breadcrumb .dashboard-date-range{ - background-color: #3366CC !important; -} -.btn-group .btn.blue.dropdown-toggle{ - background-color: #3366CC !important; -} -.btn-group .btn.blue.dropdown-toggle:hover{ - background-color: #2f5ebd !important; -} -/*** -Header Search -***/ -.header .search-form { - background-color: #0B4263; -} - -.header .search-form .form-control{ - color: #68bbec; - border: 0; - background-color: #0B4263; -} - -.header .search-form .submit { - background: url(../../image/search-icon-blue.png); -} - -/*** -Hor menu -***/ -.header .hor-menu ul.nav li a { - color: #fff; -} - -.header .hor-menu ul.nav li.open > a, -.header .hor-menu ul.nav li > a:hover, -.header .hor-menu ul.nav li > a:focus { - color: #bdcff4; - background: #3366CC; -} -.header .hor-menu .dropdown-menu li > a { - color: #333 !important ; -} -.header .hor-menu .dropdown-menu li:hover > a{ - color: #3366CC !important; - background: #e5e8f0 !important; -} -.dropdown-menu .mega-menu-content .row .mega-menu-submenu .active > a, -.dropdown-menu .mega-menu-content .row .mega-menu-submenu .active > a:hover{ - color:#333 !important; - background: #D9E5FF !important; -} -.header .hor-menu ul.nav li.active > a, -.header .hor-menu ul.nav li.active > a:hover { - color: #fff; - background: #3366CC !important; -} -.header .hor-menu ul.nav li.current > a, -.header .hor-menu ul.nav li.current > a:hover { - color: #3366CC; - background: #4174dc !important; -} - -.header .hor-menu .dropdown-menu { - background: #fff ; - border: 1px #769be6 solid !important ; - border-top:0 !important ; - border-bottom-right-radius:5px !important ; - border-bottom-left-radius:5px !important ; - padding-right:20px; -} - -.header .hor-menu .hor-menu-search-form-toggler.off { - background: #4d7ee1 url(../../image/hor-menu-search-close-white.png) no-repeat center; -} - -.header .hor-menu .search-form { - background:#4d7ee1; -} - -.header .hor-menu .search-form form input { - color: #ccc; -} -.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */ - color: #ccc; -} -.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ - color: #ccc; -} -.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */ - color: #ccc; -} -.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */ - color: #ccc; -} - -.header.navbar .hor-menu ul.nav li.current .selected, -.header.navbar .hor-menu ul.nav li.active .selected { - border-top: 6px solid #3366CC; -} -/*** -Mega Menu -***/ -.mega-menu .mega-menu-submenu { - //border-right: 1px solid #d5d5d5; -} - -.mega-menu .mega-menu-submenu li h3 { - color: #5681DA; - font-weight:600 !important; - -} -/*.mega-menu-dropdown .fa, -#page-f-sidebar-menu .sub-menu .fa, -.sub-menu .sub-menu .fa -{ -display:none; -}去掉左边二级菜单图标*/ -#main_hormenu .mega-menu-dropdown{ -margin-left:30px; -} -/*** -Page sidebar -***/ -.page-sidebar { - background-color: #f1f3fa; -} -ul.page-sidebar-menu > li:last-child > a { - border-bottom: 1px solid transparent !important; -} -.ul.page-sidebar-menu > li a i { - /* color: #0d638f;*/ -} -ul.page-sidebar-menu > li.open > a{ -border-bottom: 1px solid #e0e2e9 !important; -} -ul.page-sidebar-menu > li > a { - border-top: 1px solid #e0e2e9 !important; - /*background: #fff !important;*/ - color: #2e487d !important; -} -ul.page-sidebar-menu > li > a:hover{ - background: #fff !important; - color: #3366CC !important; -} -ul.page-sidebar-menu > li.active > a { - background: #3366CC !important; - border-top-color: transparent !important; - color: #ffffff !important; -} -ul.page-sidebar-menu > li.active > a:hover { - background: #507edb !important; - border-top-color: transparent !important; - color: #ffffff !important; -} -ul.page-sidebar-menu > li.active > a i { - color: #ffffff; -} -ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { - border-top: 0px !important; -} -ul.page-sidebar-menu > li > ul.sub-menu > li > a{ - color: #2e487d;/*right menu*/ -} -ul.page-sidebar-menu > li > ul.sub-menu > li.active > a { - color: #3366CC !important; - background: #dde2f1 !important; -} -ul.page-sidebar-menu > li > ul.sub-menu > li.active > a:hover { - background: #e3e7f5 !important; -} -ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { - background: #eee !important; - color:#3366CC; -} -ul.page-sidebar-menu > li.open > a{ - color:#fff; - } -/* 3rd level sub menu */ -ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li.active > a, -ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a:hover, -ul.page-sidebar-menu > li > ul.sub-menu li.open > a { - color: #3366CC !important; - background: #fff !important; -} -/* font color for all sub menu links*/ -ul.page-sidebar-menu li > ul.sub-menu > li > a { - /*color: #c3e4f7;*/ -} -/* menu arrows */ -ul.page-sidebar-menu > li > a .arrow:before, -ul.page-sidebar-menu > li > a .arrow.open:before { - /*color: #51b1e9 !important;*/ -} -ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, -ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { - color: #3ba6e6 !important; -} -ul.page-sidebar-menu > li > a > .arrow.open:before { - color: #68bbec !important; -} -ul.page-sidebar-menu > li.active > a .arrow:before, -ul.page-sidebar-menu > li.active > a .arrow.open:before { - color: #ffffff !important; -} -/* sidebar search */ -.page-sidebar .sidebar-search input { - background-color: #0f5179 !important; - color: #000000; -} -.page-sidebar .sidebar-search input::-webkit-input-placeholder { - color: #000000 !important; -} -.page-sidebar .sidebar-search input:-moz-placeholder { - color: #000000 !important; -} -.page-sidebar .sidebar-search input:-ms-input-placeholder { - color: #000000 !important; -} -.page-sidebar .sidebar-search input { - background-color: #eeeeee !important; - /*color: white !important;*/ -} -.page-sidebar .sidebar-search .input-box { - border-bottom: 1px solid #000000 !important; -} -.page-sidebar .sidebar-search .submit { - background-image: url(../../image/search-icon-blue.png); -} -/*** -Sidebar toggler -***/ -.sidebar-toggler { - background-image: url(../../image/sidebar-toggler-grey.jpg); - background-color: #0f5179; -} -/* search box bg color on expanded */ -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { - background-color: #3366CC !important; -} -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { - background-image: url("../../image/sidebar-search-close-blue.png"); -} -/* sub menu bg color on hover menu item */ -.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { - background-color: #e4e4e4; -} -/*** -Footer -***/ -.footer .footer-inner { - color: #7c7c7c; -} -.footer .footer-tools .go-top { - background-color: #1985c6; -} -.footer .footer-tools .go-top:hover { - opacity: 0.7; - filter: alpha(opacity=70); -} -.footer .footer-tools .go-top i { - color: #68bbec; -} -/*** -Footer Layouts (new in v1.3) -***/ -/* begin:fixed footer */ -.page-footer-fixed .footer { - background-color: #0f5179; -} -.page-footer-fixed .footer .footer-inner { - color: #68bbec; -} -.page-footer-fixed .footer .footer-tools .go-top { - background-color: #1985c6; -} -.page-footer-fixed .footer .footer-tools .go-top i { - color: #68bbec; -} -/* end:fixed footer */ -/*** -Gritter Notifications -***/ -.gritter-top { - background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left -30px !important; -} -.gritter-bottom { - background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left bottom !important; -} -.gritter-item { - display: block; - background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left -40px !important; -} -.gritter-close { - background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left top !important; -} -.gritter-title { - text-shadow: none !important; - /* Not supported by IE :( */ - -} -/* for the light (white) version of the gritter notice */ -.gritter-light .gritter-item, -.gritter-light .gritter-bottom, -.gritter-light .gritter-top, -.gritter-light .gritter-close { - background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; -} -.gritter-item-wrapper a { - color: #18a5ed; -} -.gritter-item-wrapper a:hover { - color: #0b6694; -} -/* begin: boxed page */ -@media (min-width: 992px) { - .page-boxed { - background-color: #fff !important; - } - .page-boxed .page-container { - background-color: #fff; - border-left: 1px solid #1c98e1; - border-bottom: 1px solid #1c98e1; - } - .page-boxed.page-sidebar-reversed .page-container { - border-left: 0; - border-right: 1px solid #1c98e1; - } - .page-boxed.page-sidebar-fixed .page-container { - border-left: 0; - border-bottom: 0; - } - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-container { - border-left: 0; - border-right: 0; - border-bottom: 0; - } - .page-boxed.page-sidebar-fixed .page-sidebar { - border-left: 1px solid #1c98e1; - } - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { - border-right: 1px solid #1c98e1; - border-left: 0; - } - .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { - background-color: #125e8b !important; - } -ul.page-sidebar-menu > li .active> a{ - background: #3366CC !important; -} -/* end: boxed page */ -/*** -Landscape phone to portrait tablet -***/ -@media (max-width: 991px) { - /*** - page sidebar - ***/ - .page-sidebar { - background-color: #f1f3fa !important; - } - ul.page-sidebar-menu > li > a { - border-top: 1px solid #e0e2e9 !important; - - } - ul.page-sidebar-menu > li > a :hover{ - border-top: 1px solid #e0e2e9 !important; - color: #fff !important; - } - ul.page-sidebar-menu > li:last-child > a { - border-bottom: 0 !important; - } - .page-sidebar .sidebar-search input { - background-color: #4072d6 !important; - color:#c5c5c7 !important; - } - .page-sidebar .sidebar-search input::-webkit-input-placeholder { - color: #c5c5c7 !important; -} - .page-sidebar .sidebar-search input:-moz-placeholder { - color: #c5c5c7 !important; -} - .page-sidebar .sidebar-search input:-ms-input-placeholder { - color: #c5c5c7 !important; -} - ul.page-sidebar-menu > li.open > a, - ul.page-sidebar-menu > li.open > a:hover, - ul.page-sidebar-menu > li > a:hover{ - background: #3366CC !important; - } - ul.page-sidebar-menu > li > a:hover, - ul.page-sidebar-menu > li:hover > a { - background: #fff !important; - } - ul.page-sidebar-menu li > ul.sub-menu > li > a { - color: #3366CC; -} - +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +Blue theme +***/ +/*** +Reset and overrides +***/ +body { + background-color: #f1f3fa !important; + font-family:"microsoft yahei"; +} +.page-content{ +background-color:#f1f3fa !important; +} +.page-sidebar-menu > li.active > a .selected{ +background-image:url("../../image/sidebar-menu-arrow-bluelight.png") +} +/*** +Page header +***/ +.header { + filter: none !important; + background-image: none !important; + background-color: #3366CC !important; +} +.header .btn-navbar { + background-color: #3366CC!important; +} +.header .navbar-nav .dropdown-toggle:hover, +.header .navbar-nav .dropdown.open .dropdown-toggle { + color: #fff; + background-color: #3061c1 !important; +} +.header .navbar-nav li.dropdown .dropdown-toggle i { + color: white !important; +} +.zte-theme-panel > .toggler:hover { + background-color: #6192f7 !important; +} +.page-content .page-breadcrumb.breadcrumb .dashboard-date-range{ + background-color: #3366CC !important; +} +.btn-group .btn.blue.dropdown-toggle{ + background-color: #3366CC !important; +} +.btn-group .btn.blue.dropdown-toggle:hover{ + background-color: #2f5ebd !important; +} +/*** +Header Search +***/ +.header .search-form { + background-color: #0B4263; +} + +.header .search-form .form-control{ + color: #68bbec; + border: 0; + background-color: #0B4263; +} + +.header .search-form .submit { + background: url(../../image/search-icon-blue.png); +} + +/*** +Hor menu +***/ +.header .hor-menu ul.nav li a { + color: #fff; +} + +.header .hor-menu ul.nav li.open > a, +.header .hor-menu ul.nav li > a:hover, +.header .hor-menu ul.nav li > a:focus { + color: #bdcff4; + background: #3366CC; +} +.header .hor-menu .dropdown-menu li > a { + color: #333 !important ; +} +.header .hor-menu .dropdown-menu li:hover > a{ + color: #3366CC !important; + background: #e5e8f0 !important; +} +.dropdown-menu .mega-menu-content .row .mega-menu-submenu .active > a, +.dropdown-menu .mega-menu-content .row .mega-menu-submenu .active > a:hover{ + color:#333 !important; + background: #D9E5FF !important; +} +.header .hor-menu ul.nav li.active > a, +.header .hor-menu ul.nav li.active > a:hover { + color: #fff; + background: #3366CC !important; +} +.header .hor-menu ul.nav li.current > a, +.header .hor-menu ul.nav li.current > a:hover { + color: #3366CC; + background: #4174dc !important; +} + +.header .hor-menu .dropdown-menu { + background: #fff ; + border: 1px #769be6 solid !important ; + border-top:0 !important ; + border-bottom-right-radius:5px !important ; + border-bottom-left-radius:5px !important ; + padding-right:20px; +} + +.header .hor-menu .hor-menu-search-form-toggler.off { + background: #4d7ee1 url(../../image/hor-menu-search-close-white.png) no-repeat center; +} + +.header .hor-menu .search-form { + background:#4d7ee1; +} + +.header .hor-menu .search-form form input { + color: #ccc; +} +.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */ + color: #ccc; +} +.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ + color: #ccc; +} +.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */ + color: #ccc; +} +.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */ + color: #ccc; +} + +.header.navbar .hor-menu ul.nav li.current .selected, +.header.navbar .hor-menu ul.nav li.active .selected { + border-top: 6px solid #3366CC; +} +/*** +Mega Menu +***/ +.mega-menu .mega-menu-submenu { + //border-right: 1px solid #d5d5d5; +} + +.mega-menu .mega-menu-submenu li h3 { + color: #5681DA; + font-weight:600 !important; + +} +/*.mega-menu-dropdown .fa, +#page-f-sidebar-menu .sub-menu .fa, +.sub-menu .sub-menu .fa +{ +display:none; +}去掉左边二级菜单图标*/ +#main_hormenu .mega-menu-dropdown{ +margin-left:30px; +} +/*** +Page sidebar +***/ +.page-sidebar { + background-color: #f1f3fa; +} +ul.page-sidebar-menu > li:last-child > a { + border-bottom: 1px solid transparent !important; +} +.ul.page-sidebar-menu > li a i { + /* color: #0d638f;*/ +} +ul.page-sidebar-menu > li.open > a{ +border-bottom: 1px solid #e0e2e9 !important; +} +ul.page-sidebar-menu > li > a { + border-top: 1px solid #e0e2e9 !important; + /*background: #fff !important;*/ + color: #2e487d !important; +} +ul.page-sidebar-menu > li > a:hover{ + background: #fff !important; + color: #3366CC !important; +} +ul.page-sidebar-menu > li.active > a { + background: #3366CC !important; + border-top-color: transparent !important; + color: #ffffff !important; +} +ul.page-sidebar-menu > li.active > a:hover { + background: #507edb !important; + border-top-color: transparent !important; + color: #ffffff !important; +} +ul.page-sidebar-menu > li.active > a i { + color: #ffffff; +} +ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { + border-top: 0px !important; +} +ul.page-sidebar-menu > li > ul.sub-menu > li > a{ + color: #2e487d;/*right menu*/ +} +ul.page-sidebar-menu > li > ul.sub-menu > li.active > a { + color: #3366CC !important; + background: #dde2f1 !important; +} +ul.page-sidebar-menu > li > ul.sub-menu > li.active > a:hover { + background: #e3e7f5 !important; +} +ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { + background: #eee !important; + color:#3366CC; +} +ul.page-sidebar-menu > li.open > a{ + color:#fff; + } +/* 3rd level sub menu */ +ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li.active > a, +ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a:hover, +ul.page-sidebar-menu > li > ul.sub-menu li.open > a { + color: #3366CC !important; + background: #fff !important; +} +/* font color for all sub menu links*/ +ul.page-sidebar-menu li > ul.sub-menu > li > a { + /*color: #c3e4f7;*/ +} +/* menu arrows */ +ul.page-sidebar-menu > li > a .arrow:before, +ul.page-sidebar-menu > li > a .arrow.open:before { + /*color: #51b1e9 !important;*/ +} +ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, +ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { + color: #3ba6e6 !important; +} +ul.page-sidebar-menu > li > a > .arrow.open:before { + color: #68bbec !important; +} +ul.page-sidebar-menu > li.active > a .arrow:before, +ul.page-sidebar-menu > li.active > a .arrow.open:before { + color: #ffffff !important; +} +/* sidebar search */ +.page-sidebar .sidebar-search input { + background-color: #0f5179 !important; + color: #000000; +} +.page-sidebar .sidebar-search input::-webkit-input-placeholder { + color: #000000 !important; +} +.page-sidebar .sidebar-search input:-moz-placeholder { + color: #000000 !important; +} +.page-sidebar .sidebar-search input:-ms-input-placeholder { + color: #000000 !important; +} +.page-sidebar .sidebar-search input { + background-color: #eeeeee !important; + /*color: white !important;*/ +} +.page-sidebar .sidebar-search .input-box { + border-bottom: 1px solid #000000 !important; +} +.page-sidebar .sidebar-search .submit { + background-image: url(../../image/search-icon-blue.png); +} +/*** +Sidebar toggler +***/ +.sidebar-toggler { + background-image: url(../../image/sidebar-toggler-grey.jpg); + background-color: #0f5179; +} +/* search box bg color on expanded */ +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { + background-color: #3366CC !important; +} +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { + background-image: url("../../image/sidebar-search-close-blue.png"); +} +/* sub menu bg color on hover menu item */ +.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { + background-color: #e4e4e4; +} +/*** +Footer +***/ +.footer .footer-inner { + color: #7c7c7c; +} +.footer .footer-tools .go-top { + background-color: #1985c6; +} +.footer .footer-tools .go-top:hover { + opacity: 0.7; + filter: alpha(opacity=70); +} +.footer .footer-tools .go-top i { + color: #68bbec; +} +/*** +Footer Layouts (new in v1.3) +***/ +/* begin:fixed footer */ +.page-footer-fixed .footer { + background-color: #0f5179; +} +.page-footer-fixed .footer .footer-inner { + color: #68bbec; +} +.page-footer-fixed .footer .footer-tools .go-top { + background-color: #1985c6; +} +.page-footer-fixed .footer .footer-tools .go-top i { + color: #68bbec; +} +/* end:fixed footer */ +/*** +Gritter Notifications +***/ +.gritter-top { + background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left -30px !important; +} +.gritter-bottom { + background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left bottom !important; +} +.gritter-item { + display: block; + background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left -40px !important; +} +.gritter-close { + background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left top !important; +} +.gritter-title { + text-shadow: none !important; + /* Not supported by IE :( */ + +} +/* for the light (white) version of the gritter notice */ +.gritter-light .gritter-item, +.gritter-light .gritter-bottom, +.gritter-light .gritter-top, +.gritter-light .gritter-close { + background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; +} +.gritter-item-wrapper a { + color: #18a5ed; +} +.gritter-item-wrapper a:hover { + color: #0b6694; +} +/* begin: boxed page */ +@media (min-width: 992px) { + .page-boxed { + background-color: #fff !important; + } + .page-boxed .page-container { + background-color: #fff; + border-left: 1px solid #1c98e1; + border-bottom: 1px solid #1c98e1; + } + .page-boxed.page-sidebar-reversed .page-container { + border-left: 0; + border-right: 1px solid #1c98e1; + } + .page-boxed.page-sidebar-fixed .page-container { + border-left: 0; + border-bottom: 0; + } + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-container { + border-left: 0; + border-right: 0; + border-bottom: 0; + } + .page-boxed.page-sidebar-fixed .page-sidebar { + border-left: 1px solid #1c98e1; + } + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { + border-right: 1px solid #1c98e1; + border-left: 0; + } + .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { + background-color: #125e8b !important; + } +ul.page-sidebar-menu > li .active> a{ + background: #3366CC !important; +} +/* end: boxed page */ +/*** +Landscape phone to portrait tablet +***/ +@media (max-width: 991px) { + /*** + page sidebar + ***/ + .page-sidebar { + background-color: #f1f3fa !important; + } + ul.page-sidebar-menu > li > a { + border-top: 1px solid #e0e2e9 !important; + + } + ul.page-sidebar-menu > li > a :hover{ + border-top: 1px solid #e0e2e9 !important; + color: #fff !important; + } + ul.page-sidebar-menu > li:last-child > a { + border-bottom: 0 !important; + } + .page-sidebar .sidebar-search input { + background-color: #4072d6 !important; + color:#c5c5c7 !important; + } + .page-sidebar .sidebar-search input::-webkit-input-placeholder { + color: #c5c5c7 !important; +} + .page-sidebar .sidebar-search input:-moz-placeholder { + color: #c5c5c7 !important; +} + .page-sidebar .sidebar-search input:-ms-input-placeholder { + color: #c5c5c7 !important; +} + ul.page-sidebar-menu > li.open > a, + ul.page-sidebar-menu > li.open > a:hover, + ul.page-sidebar-menu > li > a:hover{ + background: #3366CC !important; + } + ul.page-sidebar-menu > li > a:hover, + ul.page-sidebar-menu > li:hover > a { + background: #fff !important; + } + ul.page-sidebar-menu li > ul.sub-menu > li > a { + color: #3366CC; +} + diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight2.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight2.css index e06872a4..30acbf35 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight2.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight2.css @@ -1,520 +1,520 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -Blue theme -***/ -/*** -Reset and overrides -***/ -body { - background-color: #f9f9f9 !important; - font-family: "microsoft yahei" !important; -} - -.page-content { - background-color: #f1f3fa !important; -} - -/*** -Page header -***/ -.header { - filter: none !important; - /*background-image: none !important;*/ - background-color: #1178ee !important; - /* background: -webkit-linear-gradient(#37c4fa, #0081bb ); - background: -o-linear-gradient(#37c4fa, #0081bb ); - background: -moz-linear-gradient(#37c4fa, #0081bb ); - background: linear-gradient(#37c4fa, #0081bb ); */ -} - -.header .btn-navbar { - background-color: #f9f9f9 !important; -} - -.header .navbar-nav .dropdown-toggle:hover, -.header .navbar-nav .dropdown.open .dropdown-toggle { - color: #fff; - background-color: #1470d8 !important; -} - -.zte-theme-panel > .toggler:hover { - background-color: #70abcd !important; -} - -.header .navbar-nav li.dropdown .dropdown-toggle i { - color: #fff !important; -} - -.btn-group .btn.blue.dropdown-toggle { - background-color: #1178EE !important; -} - -.btn-group .btn.blue.dropdown-toggle:hover { - background-color: #0f70df !important; -} - -/*** -Header Search -***/ -.header .search-form { - background-color: #0B4263; -} - -.header .search-form .form-control { - color: #68bbec; - border: 0; - background-color: #0B4263; -} - -.header .search-form .submit { - background: url(../../image/search-icon-blue.png); -} - -/*** -Hor menu -***/ -.header .hor-menu ul.nav li a { - color: #fff; -} - -.header .hor-menu ul.nav li.open > a, -.header .hor-menu ul.nav li > a:hover, -.header .hor-menu ul.nav li > a:focus { - color: #D4E9F2; - background-color: #1178ee; - /*background: -webkit-linear-gradient(#37c4fa, #0081bb ); - background: -o-linear-gradient(#37c4fa, #0081bb ); - background: -moz-linear-gradient(#37c4fa, #0081bb ); - background: linear-gradient(#37c4fa, #0081bb );*/ -} - -.header.navbar .hor-menu ul.nav li.current .selected, -.header.navbar .hor-menu ul.nav li.active .selected { - border-top: 6px solid #0081bb; -} - -.header .hor-menu .dropdown-menu li:hover > a, -.header .hor-menu ul.nav li.active > a, -.header .hor-menu ul.nav li.active > a:hover { - color: #fff; - /*background: -webkit-linear-gradient(#37c4fa, #0081bb ); - background: -o-linear-gradient(#37c4fa, #0081bb ); - background: -moz-linear-gradient(#37c4fa, #0081bb ); - background: linear-gradient(#37c4fa, #0081bb );*/ -} - -.header.navbar .hor-menu ul.nav li.current .selected, -.header.navbar .hor-menu ul.nav li.active .selected { - border-top: 6px solid #0081bb; -} - -.header .hor-menu ul.nav li.current > a, -.header .hor-menu ul.nav li.current > a:hover { - color: #fff; - background: #e02222 !important; -} - -.header .hor-menu .dropdown-menu { - background: #1178EE; -} - -.header .hor-menu .dropdown-menu li > a { - color: #ccc; -} - -.header .hor-menu .hor-menu-search-form-toggler.off { - background: #126ed8 url(../../image/hor-menu-search-close-white.png) no-repeat center; -} - -.header .hor-menu .search-form { - background: #126ed8; -} - -.header .hor-menu .search-form form input { - color: #ccc; -} - -.header .hor-menu .search-form .btn { - color: #ccc; - background: url(../../image/search-icon-white.png) no-repeat center; -} - -.header .hor-menu .search-form form input::-webkit-input-placeholder { - /* WebKit browsers */ - color: #ccc; -} - -.header .hor-menu .search-form form input:-moz-placeholder { - /* Mozilla Firefox 4 to 18 */ - color: #ccc; -} - -.header .hor-menu .search-form form input::-moz-placeholder { - /* Mozilla Firefox 19+ */ - color: #ccc; -} - -.header .hor-menu .search-form form input:-ms-input-placeholder { - /* Internet Explorer 10+ */ - color: #ccc; -} - -.dropdown-menu .mega-menu-content .row .mega-menu-submenu li:hover > a { - color: #fff !important; - background: #388ef1 !important; -} - -.dropdown-menu .mega-menu-content .row .mega-menu-submenu .active > a, -.dropdown-menu .mega-menu-content .row .mega-menu-submenu .active > a:hover { - color: #fff !important; - background: #0e6ad4 !important; -} - -/*** -Mega Menu -***/ -.mega-menu .mega-menu-submenu { - border-right: 1px solid #1876AD; -} - -.mega-menu .mega-menu-submenu li h3 { - color: #fff; - font-family: "microsoft yahei" -} - -/*** -Page sidebar -***/ -.page-sidebar { - background-color: #f9f9f9; -} - -ul.page-sidebar-menu > li > a { - border-top: 1px solid #e5e5e5 !important; - color: #616161 !important; - border-left: 3px solid transparent !important; -} - -ul.page-sidebar-menu > li > a:hover { - color: #1178EE !important; - background-color: #eee; -} - -ul.page-sidebar-menu > li:last-child > a { - border-bottom: 1px solid #e5e5e5 !important; -} - -/*ul.page-sidebar-menu > li a i { - color: #e5e5e5 ! important; -}*/ -ul.page-sidebar-menu ul.sub-menu > li > a { - color: #616161 !important; -} - -ul.page-sidebar-menu ul.sub-menu > li.active > a { - color: #1178EE !important; -} - -ul.page-sidebar-menu ul.sub-menu > li > a:hover { - color: #1178EE !important; - background-color: #eee; -} - -ul.page-sidebar-menu > li > a:hover, -ul.page-sidebar-menu > li:hover > a { - background: #fff; - color: #585858; - border-left: 3px solid #1178ee !important; -} - -ul.page-sidebar-menu > li.open > a { - background: #fff; - color: #585858; - border-bottom: 1px solid #e5e5e5 !important; -} - -ul.page-sidebar-menu > li.active > a { - background: #fff !important; - border-top: 1px solid #e5e5e5 !important; - color: #1178ee !important; - font-weight: bold; -} - -ul.page-sidebar-menu > li.active > a i { - color: #1178ee; -} - -ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { - /* border-top: 1px solid #e5e5e5 !important;*/ -} - -ul.page-sidebar-menu > li > ul.sub-menu > li.active > a -ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { - color: #4b88b7 !important; -} - -ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { - /* background: #1b8fd3 !important;*/ -} - -/* 3rd level sub menu */ -ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li.active > a, -ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a:hover, -ul.page-sidebar-menu > li > ul.sub-menu li.open > a { - color: #ffffff !important; - border-bottom: 1px solid #e5e5e5 !important; -} - -.page-sidebar-menu > li.active > a .selected { - /* background-image: url(../../image/sidebar-menu-arrow-blue.png) !important;*/ - border-right: 2px solid #1178ee !important; - height: 37px !important; - top: 2px !important; -} - -/* font color for all sub menu links*/ -ul.page-sidebar-menu li > ul.sub-menu > li > a { - /*color: #c3e4f7;*/ -} - -/* menu arrows */ -ul.page-sidebar-menu > li > a .arrow:before, -ul.page-sidebar-menu > li > a .arrow.open:before { - /*color: #51b1e9 !important;*/ -} - -ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, -ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { - color: #3ba6e6 !important; -} - -ul.page-sidebar-menu > li > a > .arrow.open:before { - /* color: #68bbec !important;*/ -} - -/*ul.page-sidebar-menu > li.active > a .arrow:before, -ul.page-sidebar-menu > li.active > a .arrow.open:before { - color: #ffffff !important; -}*/ -/* sidebar search */ -.page-sidebar .sidebar-search input { - background-color: #0f5179 !important; - color: #1178ee; -} - -.page-sidebar .sidebar-search input::-webkit-input-placeholder { - color: #1178ee !important; -} - -.page-sidebar .sidebar-search input:-moz-placeholder { - color: #1178ee !important; -} - -.page-sidebar .sidebar-search input:-ms-input-placeholder { - color: #1178ee !important; -} - -.page-sidebar .sidebar-search input { - background-color: #f9f9f9 !important; - /* color: #bfbfbf !important;*/ -} - -.page-sidebar .sidebar-search .input-box { - border-bottom: 1px solid #1178ee !important; -} - -.page-sidebar .sidebar-search .submit { - background-image: url(../../image/search-icon-blue.png); -} - -/*** -Sidebar toggler -***/ -.sidebar-toggler { - background-image: url(../../image/sidebar-toggler-grey.jpg); - background-color: #0f5179; -} - -/* search box bg color on expanded */ -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { - background-color: #f9f9f9 !important; -} - -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { - background-image: url("../../image/sidebar-search-close-blue.png"); -} - -/* sub menu bg color on hover menu item */ -.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { - background-color: #f9f9f9; -} - -/*** -Footer -***/ -.footer .footer-inner { - color: #7c7c7c; -} - -.footer .footer-tools .go-top { - background-color: #1985c6; -} - -.footer .footer-tools .go-top:hover { - opacity: 0.7; - filter: alpha(opacity=70); -} - -.footer .footer-tools .go-top i { - color: #68bbec; -} - -/*** -Footer Layouts (new in v1.3) -***/ -/* begin:fixed footer */ -.page-footer-fixed .footer { - background-color: #0f5179; -} - -.page-footer-fixed .footer .footer-inner { - color: #68bbec; -} - -.page-footer-fixed .footer .footer-tools .go-top { - background-color: #1985c6; -} - -.page-footer-fixed .footer .footer-tools .go-top i { - color: #68bbec; -} - -/* end:fixed footer */ -/*** -Gritter Notifications -***/ -.gritter-top { - background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left -30px !important; -} - -.gritter-bottom { - background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left bottom !important; -} - -.gritter-item { - display: block; - background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left -40px !important; -} - -.gritter-close { - background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left top !important; -} - -.gritter-title { - text-shadow: none !important; - /* Not supported by IE :( */ - -} - -/* for the light (white) version of the gritter notice */ -.gritter-light .gritter-item, -.gritter-light .gritter-bottom, -.gritter-light .gritter-top, -.gritter-light .gritter-close { - background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; -} - -.gritter-item-wrapper a { - color: #18a5ed; -} - -.gritter-item-wrapper a:hover { - color: #0b6694; -} - -/* begin: boxed page */ -@media (min-width: 992px) { - .page-boxed { - background-color: #125e8b !important; - } - - .page-boxed .page-container { - background-color: #1570a6; - border-left: 1px solid #1c98e1; - border-bottom: 1px solid #1c98e1; - } - - .page-boxed.page-sidebar-reversed .page-container { - border-left: 0; - border-right: 1px solid #1c98e1; - } - - .page-boxed.page-sidebar-fixed .page-container { - border-left: 0; - border-bottom: 0; - } - - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-container { - border-left: 0; - border-right: 0; - border-bottom: 0; - } - - .page-boxed.page-sidebar-fixed .page-sidebar { - border-left: 1px solid #1c98e1; - } - - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { - border-right: 1px solid #1c98e1; - border-left: 0; - } - - .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { - background-color: #125e8b !important; - } -} - -/* end: boxed page */ -/*** -Landscape phone to portrait tablet -***/ -@media (max-width: 991px) { - /*** - page sidebar - ***/ - .page-sidebar { - background-color: #f9f9f9 !important; - } - - ul.page-sidebar-menu > li > a { - border-top: 1px solid #e5e5e5 !important; - } - - ul.page-sidebar-menu > li:last-child > a { - border-bottom: 0 !important; - } - - .page-sidebar .sidebar-search input { - background-color: #f9f9f9 !important; - } - - ul.page-sidebar-menu > li.open > a, - ul.page-sidebar-menu > li > a:hover, - ul.page-sidebar-menu > li:hover > a { - background: #fff; - } -} +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +Blue theme +***/ +/*** +Reset and overrides +***/ +body { + background-color: #f9f9f9 !important; + font-family: "microsoft yahei" !important; +} + +.page-content { + background-color: #f1f3fa !important; +} + +/*** +Page header +***/ +.header { + filter: none !important; + /*background-image: none !important;*/ + background-color: #1178ee !important; + /* background: -webkit-linear-gradient(#37c4fa, #0081bb ); + background: -o-linear-gradient(#37c4fa, #0081bb ); + background: -moz-linear-gradient(#37c4fa, #0081bb ); + background: linear-gradient(#37c4fa, #0081bb ); */ +} + +.header .btn-navbar { + background-color: #f9f9f9 !important; +} + +.header .navbar-nav .dropdown-toggle:hover, +.header .navbar-nav .dropdown.open .dropdown-toggle { + color: #fff; + background-color: #1470d8 !important; +} + +.zte-theme-panel > .toggler:hover { + background-color: #70abcd !important; +} + +.header .navbar-nav li.dropdown .dropdown-toggle i { + color: #fff !important; +} + +.btn-group .btn.blue.dropdown-toggle { + background-color: #1178EE !important; +} + +.btn-group .btn.blue.dropdown-toggle:hover { + background-color: #0f70df !important; +} + +/*** +Header Search +***/ +.header .search-form { + background-color: #0B4263; +} + +.header .search-form .form-control { + color: #68bbec; + border: 0; + background-color: #0B4263; +} + +.header .search-form .submit { + background: url(../../image/search-icon-blue.png); +} + +/*** +Hor menu +***/ +.header .hor-menu ul.nav li a { + color: #fff; +} + +.header .hor-menu ul.nav li.open > a, +.header .hor-menu ul.nav li > a:hover, +.header .hor-menu ul.nav li > a:focus { + color: #D4E9F2; + background-color: #1178ee; + /*background: -webkit-linear-gradient(#37c4fa, #0081bb ); + background: -o-linear-gradient(#37c4fa, #0081bb ); + background: -moz-linear-gradient(#37c4fa, #0081bb ); + background: linear-gradient(#37c4fa, #0081bb );*/ +} + +.header.navbar .hor-menu ul.nav li.current .selected, +.header.navbar .hor-menu ul.nav li.active .selected { + border-top: 6px solid #0081bb; +} + +.header .hor-menu .dropdown-menu li:hover > a, +.header .hor-menu ul.nav li.active > a, +.header .hor-menu ul.nav li.active > a:hover { + color: #fff; + /*background: -webkit-linear-gradient(#37c4fa, #0081bb ); + background: -o-linear-gradient(#37c4fa, #0081bb ); + background: -moz-linear-gradient(#37c4fa, #0081bb ); + background: linear-gradient(#37c4fa, #0081bb );*/ +} + +.header.navbar .hor-menu ul.nav li.current .selected, +.header.navbar .hor-menu ul.nav li.active .selected { + border-top: 6px solid #0081bb; +} + +.header .hor-menu ul.nav li.current > a, +.header .hor-menu ul.nav li.current > a:hover { + color: #fff; + background: #e02222 !important; +} + +.header .hor-menu .dropdown-menu { + background: #1178EE; +} + +.header .hor-menu .dropdown-menu li > a { + color: #ccc; +} + +.header .hor-menu .hor-menu-search-form-toggler.off { + background: #126ed8 url(../../image/hor-menu-search-close-white.png) no-repeat center; +} + +.header .hor-menu .search-form { + background: #126ed8; +} + +.header .hor-menu .search-form form input { + color: #ccc; +} + +.header .hor-menu .search-form .btn { + color: #ccc; + background: url(../../image/search-icon-white.png) no-repeat center; +} + +.header .hor-menu .search-form form input::-webkit-input-placeholder { + /* WebKit browsers */ + color: #ccc; +} + +.header .hor-menu .search-form form input:-moz-placeholder { + /* Mozilla Firefox 4 to 18 */ + color: #ccc; +} + +.header .hor-menu .search-form form input::-moz-placeholder { + /* Mozilla Firefox 19+ */ + color: #ccc; +} + +.header .hor-menu .search-form form input:-ms-input-placeholder { + /* Internet Explorer 10+ */ + color: #ccc; +} + +.dropdown-menu .mega-menu-content .row .mega-menu-submenu li:hover > a { + color: #fff !important; + background: #388ef1 !important; +} + +.dropdown-menu .mega-menu-content .row .mega-menu-submenu .active > a, +.dropdown-menu .mega-menu-content .row .mega-menu-submenu .active > a:hover { + color: #fff !important; + background: #0e6ad4 !important; +} + +/*** +Mega Menu +***/ +.mega-menu .mega-menu-submenu { + border-right: 1px solid #1876AD; +} + +.mega-menu .mega-menu-submenu li h3 { + color: #fff; + font-family: "microsoft yahei" +} + +/*** +Page sidebar +***/ +.page-sidebar { + background-color: #f9f9f9; +} + +ul.page-sidebar-menu > li > a { + border-top: 1px solid #e5e5e5 !important; + color: #616161 !important; + border-left: 3px solid transparent !important; +} + +ul.page-sidebar-menu > li > a:hover { + color: #1178EE !important; + background-color: #eee; +} + +ul.page-sidebar-menu > li:last-child > a { + border-bottom: 1px solid #e5e5e5 !important; +} + +/*ul.page-sidebar-menu > li a i { + color: #e5e5e5 ! important; +}*/ +ul.page-sidebar-menu ul.sub-menu > li > a { + color: #616161 !important; +} + +ul.page-sidebar-menu ul.sub-menu > li.active > a { + color: #1178EE !important; +} + +ul.page-sidebar-menu ul.sub-menu > li > a:hover { + color: #1178EE !important; + background-color: #eee; +} + +ul.page-sidebar-menu > li > a:hover, +ul.page-sidebar-menu > li:hover > a { + background: #fff; + color: #585858; + border-left: 3px solid #1178ee !important; +} + +ul.page-sidebar-menu > li.open > a { + background: #fff; + color: #585858; + border-bottom: 1px solid #e5e5e5 !important; +} + +ul.page-sidebar-menu > li.active > a { + background: #fff !important; + border-top: 1px solid #e5e5e5 !important; + color: #1178ee !important; + font-weight: bold; +} + +ul.page-sidebar-menu > li.active > a i { + color: #1178ee; +} + +ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { + /* border-top: 1px solid #e5e5e5 !important;*/ +} + +ul.page-sidebar-menu > li > ul.sub-menu > li.active > a +ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { + color: #4b88b7 !important; +} + +ul.page-sidebar-menu > li > ul.sub-menu > li > a:hover { + /* background: #1b8fd3 !important;*/ +} + +/* 3rd level sub menu */ +ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li.active > a, +ul.page-sidebar-menu > li > ul.sub-menu li > ul.sub-menu > li > a:hover, +ul.page-sidebar-menu > li > ul.sub-menu li.open > a { + color: #ffffff !important; + border-bottom: 1px solid #e5e5e5 !important; +} + +.page-sidebar-menu > li.active > a .selected { + /* background-image: url(../../image/sidebar-menu-arrow-blue.png) !important;*/ + border-right: 2px solid #1178ee !important; + height: 37px !important; + top: 2px !important; +} + +/* font color for all sub menu links*/ +ul.page-sidebar-menu li > ul.sub-menu > li > a { + /*color: #c3e4f7;*/ +} + +/* menu arrows */ +ul.page-sidebar-menu > li > a .arrow:before, +ul.page-sidebar-menu > li > a .arrow.open:before { + /*color: #51b1e9 !important;*/ +} + +ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, +ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { + color: #3ba6e6 !important; +} + +ul.page-sidebar-menu > li > a > .arrow.open:before { + /* color: #68bbec !important;*/ +} + +/*ul.page-sidebar-menu > li.active > a .arrow:before, +ul.page-sidebar-menu > li.active > a .arrow.open:before { + color: #ffffff !important; +}*/ +/* sidebar search */ +.page-sidebar .sidebar-search input { + background-color: #0f5179 !important; + color: #1178ee; +} + +.page-sidebar .sidebar-search input::-webkit-input-placeholder { + color: #1178ee !important; +} + +.page-sidebar .sidebar-search input:-moz-placeholder { + color: #1178ee !important; +} + +.page-sidebar .sidebar-search input:-ms-input-placeholder { + color: #1178ee !important; +} + +.page-sidebar .sidebar-search input { + background-color: #f9f9f9 !important; + /* color: #bfbfbf !important;*/ +} + +.page-sidebar .sidebar-search .input-box { + border-bottom: 1px solid #1178ee !important; +} + +.page-sidebar .sidebar-search .submit { + background-image: url(../../image/search-icon-blue.png); +} + +/*** +Sidebar toggler +***/ +.sidebar-toggler { + background-image: url(../../image/sidebar-toggler-grey.jpg); + background-color: #0f5179; +} + +/* search box bg color on expanded */ +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { + background-color: #f9f9f9 !important; +} + +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { + background-image: url("../../image/sidebar-search-close-blue.png"); +} + +/* sub menu bg color on hover menu item */ +.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { + background-color: #f9f9f9; +} + +/*** +Footer +***/ +.footer .footer-inner { + color: #7c7c7c; +} + +.footer .footer-tools .go-top { + background-color: #1985c6; +} + +.footer .footer-tools .go-top:hover { + opacity: 0.7; + filter: alpha(opacity=70); +} + +.footer .footer-tools .go-top i { + color: #68bbec; +} + +/*** +Footer Layouts (new in v1.3) +***/ +/* begin:fixed footer */ +.page-footer-fixed .footer { + background-color: #0f5179; +} + +.page-footer-fixed .footer .footer-inner { + color: #68bbec; +} + +.page-footer-fixed .footer .footer-tools .go-top { + background-color: #1985c6; +} + +.page-footer-fixed .footer .footer-tools .go-top i { + color: #68bbec; +} + +/* end:fixed footer */ +/*** +Gritter Notifications +***/ +.gritter-top { + background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left -30px !important; +} + +.gritter-bottom { + background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left bottom !important; +} + +.gritter-item { + display: block; + background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left -40px !important; +} + +.gritter-close { + background: url(../../thirdparty/gritter/images/gritter-blue.png) no-repeat left top !important; +} + +.gritter-title { + text-shadow: none !important; + /* Not supported by IE :( */ + +} + +/* for the light (white) version of the gritter notice */ +.gritter-light .gritter-item, +.gritter-light .gritter-bottom, +.gritter-light .gritter-top, +.gritter-light .gritter-close { + background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; +} + +.gritter-item-wrapper a { + color: #18a5ed; +} + +.gritter-item-wrapper a:hover { + color: #0b6694; +} + +/* begin: boxed page */ +@media (min-width: 992px) { + .page-boxed { + background-color: #125e8b !important; + } + + .page-boxed .page-container { + background-color: #1570a6; + border-left: 1px solid #1c98e1; + border-bottom: 1px solid #1c98e1; + } + + .page-boxed.page-sidebar-reversed .page-container { + border-left: 0; + border-right: 1px solid #1c98e1; + } + + .page-boxed.page-sidebar-fixed .page-container { + border-left: 0; + border-bottom: 0; + } + + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-container { + border-left: 0; + border-right: 0; + border-bottom: 0; + } + + .page-boxed.page-sidebar-fixed .page-sidebar { + border-left: 1px solid #1c98e1; + } + + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { + border-right: 1px solid #1c98e1; + border-left: 0; + } + + .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { + background-color: #125e8b !important; + } +} + +/* end: boxed page */ +/*** +Landscape phone to portrait tablet +***/ +@media (max-width: 991px) { + /*** + page sidebar + ***/ + .page-sidebar { + background-color: #f9f9f9 !important; + } + + ul.page-sidebar-menu > li > a { + border-top: 1px solid #e5e5e5 !important; + } + + ul.page-sidebar-menu > li:last-child > a { + border-bottom: 0 !important; + } + + .page-sidebar .sidebar-search input { + background-color: #f9f9f9 !important; + } + + ul.page-sidebar-menu > li.open > a, + ul.page-sidebar-menu > li > a:hover, + ul.page-sidebar-menu > li:hover > a { + background: #fff; + } +} diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight2_ifrm.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight2_ifrm.css index baeeb2d9..bdd2197e 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight2_ifrm.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight2_ifrm.css @@ -1,229 +1,229 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -ztebluelight2_ifrm theme -***/ -body{ - background-color: white!important; -} - -td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -/* button style*/ -.buttonRounded, -.buttonRoundedOver, -.buttonRoundedFocused, -.buttonRoundedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown, -.buttonRoundedSelected, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedDown, -.buttonRoundedSelectedFocusedDown, -.buttonRoundedSelectedOver, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDisabled, -.buttonRoundedSelectedDisabled { - background-color: #1095cd; - color: #fff; - border: 0px solid #b15a59; - border-radius: 0px; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - /*padding: 0 3px;*/ - padding-left:7px !important; - padding-right:7px !important; - height:30px !important; -} -.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} -.buttonRoundedOver, -.buttonRoundedFocusedOver, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown { - background-color: #3a85b0; - height:30px !important; -} - -.menuButton, -.menuButtonOver, -.menuButtonDown, -.menuButtonDisabled, -.menuButtonFocused, -.menuButtonFocusedDown, -.menuButtonFocusedOver, -.menuButtonSelected, -.menuButtonSelectedDown, -.menuButtonSelectedOver, -.menuButtonSelectedDisabled { - background-color: #0081bb; - border: 0px solid #ababab; - color: #fff; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - padding-left: 7px !important; - padding-right: 7px !important; - height:30px !important; -} -.menuButtonOver { - background-color: #3a85b0; - } -.menuButtonDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - .buttonTitle, -.buttonTitleOver, -.buttonTitleDown, -.buttonTitleSelected, -.buttonTitleFocused, -.buttonTitleSelectedFocused, -.buttonTitleSelectedOver, -.buttonTitleFocusedOver, -.buttonTitleSelectedFocusedOver, -.buttonTitleSelectedDown, -.buttonTitleFocusedDown, -.buttonTitleSelectedFocusedDown, -.buttonTitleDisabled, -.buttonTitleSelectedDisabled { - color: #fff ; - } - .buttonTitleDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - /* windowBody dialogBody Style */ - .windowBody, -.dialogBody { - background-color: white; - border: 1px solid #0081bb; - border-top: 0; -} -.windowHeader, -.dialogHeader { - background-color: #0081bb; - padding: 0; -} -/* sectionHeader Style */ -.sectionHeaderopened { - background-color: #0081bb; - } - .sectionHeaderclosed { - background-color: #3a85b0; - } - -#dt_example h1{ -color:#0081bb; -font-weight:600 !important; -} -/*cell style*/ -.tallCellOver, -.tallCellOverDark { - background-color: #d9e3e8; - border-bottom: 1px solid #d9e3e8; - border-top: 1px solid #d9e3e8; - } -.tallCellSelected, -.tallCellSelectedDark { - background: #c4d7e2; - border-bottom: 1px solid #c4d7e2; - border-top: 1px solid #c4d7e2; - } -.tallCellSelectedOver, -.tallCellSelectedOverDark { - background: #c4d7e2; - border-bottom: 1px solid #c4d7e2; - border-top: 1px solid #c4d7e2; - } -.imgHeaderButtonOver, -.imgHeaderButtonDown, -.headerButtonOver, -.headerButtonDown, -.sorterButtonOver, -.sorterButtonDown { - background-color: #c4d7e2; - } -.cellSelected, -.cellSelectedDark, -.specialColSelected, -.recordSummaryCellSelected, -.recordSummaryCellSelectedDark { - background: #c4d7e2 !important; - border-bottom: 1px solid #c4d7e2; - border-top: 1px solid #c4d7e2; - } -.cellSelectedOver, -.cellSelectedOverDark, -.specialColSelectedOver, -.recordSummaryCellSelectedOver, -.recordSummaryCellSelectedOverDark { - background: #c4d7e2 !important; - border-bottom: 1px solid #c4d7e2; - border-top: 1px solid #c4d7e2; -} -.cellOver, -.cellOverDark, -.specialColOver, -.recordSummaryCellOver, -.recordSummaryCellOverDark { - background: #d9e3e8 !important; - border-bottom: 1px solid #d9e3e8; - border-top: 1px solid #d9e3e8; - } -.treeCellOver, -.treeCellOverDark { - background-color: #d9e3e8; -} -/*日志管理的蓝色大圆角筛选按?/ -.blue { - background-color: #fff; - color:#1095cd; - } -.blue:hover { - background-color: #e8f3fd; - color:#5b9bd1; - } -.blue.selected{ - border:0; - background-color: #1178EE; - color:#fff; -} -.blue.selected:hover{ - border:0; - background-color: #1178EE; - color:#fff; -} +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +ztebluelight2_ifrm theme +***/ +body{ + background-color: white!important; +} + +td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +/* button style*/ +.buttonRounded, +.buttonRoundedOver, +.buttonRoundedFocused, +.buttonRoundedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown, +.buttonRoundedSelected, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedDown, +.buttonRoundedSelectedFocusedDown, +.buttonRoundedSelectedOver, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDisabled, +.buttonRoundedSelectedDisabled { + background-color: #1095cd; + color: #fff; + border: 0px solid #b15a59; + border-radius: 0px; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + /*padding: 0 3px;*/ + padding-left:7px !important; + padding-right:7px !important; + height:30px !important; +} +.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} +.buttonRoundedOver, +.buttonRoundedFocusedOver, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown { + background-color: #3a85b0; + height:30px !important; +} + +.menuButton, +.menuButtonOver, +.menuButtonDown, +.menuButtonDisabled, +.menuButtonFocused, +.menuButtonFocusedDown, +.menuButtonFocusedOver, +.menuButtonSelected, +.menuButtonSelectedDown, +.menuButtonSelectedOver, +.menuButtonSelectedDisabled { + background-color: #0081bb; + border: 0px solid #ababab; + color: #fff; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + padding-left: 7px !important; + padding-right: 7px !important; + height:30px !important; +} +.menuButtonOver { + background-color: #3a85b0; + } +.menuButtonDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + .buttonTitle, +.buttonTitleOver, +.buttonTitleDown, +.buttonTitleSelected, +.buttonTitleFocused, +.buttonTitleSelectedFocused, +.buttonTitleSelectedOver, +.buttonTitleFocusedOver, +.buttonTitleSelectedFocusedOver, +.buttonTitleSelectedDown, +.buttonTitleFocusedDown, +.buttonTitleSelectedFocusedDown, +.buttonTitleDisabled, +.buttonTitleSelectedDisabled { + color: #fff ; + } + .buttonTitleDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + /* windowBody dialogBody Style */ + .windowBody, +.dialogBody { + background-color: white; + border: 1px solid #0081bb; + border-top: 0; +} +.windowHeader, +.dialogHeader { + background-color: #0081bb; + padding: 0; +} +/* sectionHeader Style */ +.sectionHeaderopened { + background-color: #0081bb; + } + .sectionHeaderclosed { + background-color: #3a85b0; + } + +#dt_example h1{ +color:#0081bb; +font-weight:600 !important; +} +/*cell style*/ +.tallCellOver, +.tallCellOverDark { + background-color: #d9e3e8; + border-bottom: 1px solid #d9e3e8; + border-top: 1px solid #d9e3e8; + } +.tallCellSelected, +.tallCellSelectedDark { + background: #c4d7e2; + border-bottom: 1px solid #c4d7e2; + border-top: 1px solid #c4d7e2; + } +.tallCellSelectedOver, +.tallCellSelectedOverDark { + background: #c4d7e2; + border-bottom: 1px solid #c4d7e2; + border-top: 1px solid #c4d7e2; + } +.imgHeaderButtonOver, +.imgHeaderButtonDown, +.headerButtonOver, +.headerButtonDown, +.sorterButtonOver, +.sorterButtonDown { + background-color: #c4d7e2; + } +.cellSelected, +.cellSelectedDark, +.specialColSelected, +.recordSummaryCellSelected, +.recordSummaryCellSelectedDark { + background: #c4d7e2 !important; + border-bottom: 1px solid #c4d7e2; + border-top: 1px solid #c4d7e2; + } +.cellSelectedOver, +.cellSelectedOverDark, +.specialColSelectedOver, +.recordSummaryCellSelectedOver, +.recordSummaryCellSelectedOverDark { + background: #c4d7e2 !important; + border-bottom: 1px solid #c4d7e2; + border-top: 1px solid #c4d7e2; +} +.cellOver, +.cellOverDark, +.specialColOver, +.recordSummaryCellOver, +.recordSummaryCellOverDark { + background: #d9e3e8 !important; + border-bottom: 1px solid #d9e3e8; + border-top: 1px solid #d9e3e8; + } +.treeCellOver, +.treeCellOverDark { + background-color: #d9e3e8; +} +/*日志管理的蓝色大圆角筛选按?/ +.blue { + background-color: #fff; + color:#1095cd; + } +.blue:hover { + background-color: #e8f3fd; + color:#5b9bd1; + } +.blue.selected{ + border:0; + background-color: #1178EE; + color:#fff; +} +.blue.selected:hover{ + border:0; + background-color: #1178EE; + color:#fff; +} diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight3.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight3.css index 4462c0a6..eddc9ee0 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight3.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight3.css @@ -1,497 +1,497 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -light theme -***/ - -/*** -Reset and overrides -***/ -body { - background-color: #eeeeee !important; -} -/*** -Page header -***/ -.header { - background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #3993ba), color-stop(50%, #1f88b3), color-stop(100%, #067ead)); - background-image: -moz-linear-gradient(top, #3993ba 0%, #1f88b3 50%, #067ead 100%); - background-image: -o-linear-gradient(top, #3993ba 0%, #1f88b3 50%, #067ead 100%); - background-image: linear-gradient(top, #3993ba 0%, #1f88b3 50%, #067ead 100%); - background-color: #1584b0 ; -} -.header .btn-navbar { - background-color: #434343 !important; -} -.header .navbar-nav .dropdown-toggle:hover, -.header .navbar-nav .dropdown.open .dropdown-toggle { - background-color: #4399bd !important; -} -.header .navbar-nav li.dropdown .dropdown-toggle i { - color: #ffffff !important; -} -.zte-theme-panel > .toggler:hover { - background-color: #54aacf !important; -} -.btn-group .btn.blue.dropdown-toggle{ -background-color: #428bca !important; -} -.page-content .page-breadcrumb.breadcrumb{ -background-color:#F5F5F5 !important; -} -/*** -Header Search -***/ -.header .search-form { - background-color: #3a3a3a; -} - -.header .search-form .form-control{ - color: #ccc; - border: 0; - background-color: #3a3a3a; -} - -.header .search-form .submit { - background: url(../../image/search-icon.png); -} - -/*** -Hor menu -***/ -.header .hor-menu ul.nav li a { - color: #ccc; -} - -.header .hor-menu ul.nav li.open > a, -.header .hor-menu ul.nav li > a:hover, -.header .hor-menu ul.nav li > a:focus { - color: #fff; - background: #4399bd; -} - -.header .hor-menu .dropdown-menu li:hover > a, -.header .hor-menu ul.nav li.active > a, -.header .hor-menu ul.nav li.active > a:hover { - color: #fff; - background: #136c8f !important; -} -.header.navbar .hor-menu ul.nav li.current .selected, -.header.navbar .hor-menu ul.nav li.active .selected { - border-top: 6px solid #136c8f; - } -.header .hor-menu ul.nav li.current > a, -.header .hor-menu ul.nav li.current > a:hover { - color: #fff; - background: #e02222 !important; -} - -.header .hor-menu .dropdown-menu { - background: #4399bd; -} -.header .hor-menu .dropdown-menu li > a { - color: #ccc; -} - -.header .hor-menu .hor-menu-search-form-toggler.off { - background: #4399bd url(../../image/hor-menu-search-close-white.png) no-repeat center; -} - -.header .hor-menu .search-form { - background:#4399bd; -} - -.header .hor-menu .search-form form input { - color: #ccc; -} - -.header .hor-menu .search-form .btn { - color: #ccc; - background: url(../../image/search-icon-white.png) no-repeat center; -} - -.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */ - color: #ccc; -} -.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ - color: #ccc; -} -.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */ - color: #ccc; -} -.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */ - color: #ccc; -} - -/*** -Mega Menu -***/ -.mega-menu .mega-menu-submenu { - border-right: 1px solid #656565; -} - -.mega-menu .mega-menu-submenu li h3 { - color: #fff; -} - -/*** -Page sidebar -***/ -/*.page-content { - border-left: 1px solid #e2e2e2 !important; - border-bottom: 1px solid #e2e2e2 !important;*/ -} -.page-sidebar-reversed .page-content { - border-left: 0; - border-right: 1px solid #e2e2e2 !important; -} -.page-sidebar { - background-color: #eeeeee; -} -.page-sidebar-fixed .page-content { - border: 0 !important; -} -.page-sidebar-fixed .page-sidebar { - border-right: 1px solid #e2e2e2 !important; -} - - -ul.page-sidebar-menu > li > a { - border-top: 1px solid #ececec !important; - border-bottom: 1px solid #cccccc !important; - color: #000 !important; - font-weight: 400; - background-color: #e0e0e0 !important; -} - -ul.page-sidebar-menu > li:first-child > a { - border-top: 1px solid transparent !important; -} - -ul.page-sidebar-menu > li:last-child > a { - border-bottom: 1px solid transparent !important; -} - -ul.page-sidebar-menu > li a i { - color: #000000 !important; -} -ul.page-sidebar-menu > li.open > a, -ul.page-sidebar-menu > li > a:hover, -ul.page-sidebar-menu > li:hover > a { - background: #eee; - border-top: 1px solid #e8e8e8; -} -/*ul.page-sidebar-menu > li.active > a .selected { - right:-7px; - top:0px; - width: 7px; - height: 39px; - background-image: url("../../image/sidebar-menu-arrow-green.png"); -} */ -.page-sidebar-reversed ul.page-sidebar-menu > li.active > a .selected { - right: auto; - left:-7px; - background-image: url("../../image/sidebar-menu-arrow-green-reverse.png"); -} -ul.page-sidebar-menu > li.active i { - color: #fff !important; -} -.page-sidebar-fixed ul.page-sidebar-menu > li.active > a .selected { - display: none; -} -ul.page-sidebar-menu > li.active > a{ - background: #428bca !important; - border-top-color: transparent !important; - color:#fff!important; -} -ul.page-sidebar-menu > li.active > a i { - color: #fff; -} -ul.page-sidebar-menu > li > a > .arrow:before, -ul.page-sidebar-menu > li > a > .arrow.open:before { - color: #ccc !important; -} -ul.page-sidebar-menu > li.active > a .arrow:before, -ul.page-sidebar-menu > li.active > a .arrow.open:before { - color: #fff !important; -} -ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { - border-top: 0px !important; -} - -ul.page-sidebar-menu ul.sub-menu > li > a { - font-weight: 400 !important; - color: #333 !important; -} -ul.page-sidebar-menu ul.sub-menu > li.active > a, -ul.page-sidebar-menu ul.sub-menu > li > a:hover { - color: #818181 !important; - background: #efefef !important; -} - -ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, -ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { - color: #ccc !important; -} - -/* sub menu links effects */ -ul.page-sidebar-menu ul.sub-menu > li.active > a, -ul.page-sidebar-menu ul.sub-menu > li.active > a:hover{ - color: #000 !important; - background: #dbe6ea !important; -} -ul.page-sidebar-menu ul.sub-menu > li > a:hover, -ul.page-sidebar-menu ul.sub-menu > li.open > a { - color: #000000 !important; - background: #e7e7e7 !important; -} -ul.page-sidebar-menu ul.sub-menu > li > a i { - color: #000000 !important; -} - -/* sidebar search */ -.page-sidebar .sidebar-search input { - background-color: #eeeeee !important; - color: #727272 !important; -} -.page-sidebar .sidebar-search input::-webkit-input-placeholder { - color: #aaa !important; -} -.page-sidebar .sidebar-search input:-moz-placeholder { - color: #aaa !important; -} -.page-sidebar .sidebar-search input:-ms-input-placeholder { - color: #aaa !important; -} -.page-sidebar .sidebar-search .input-box { - border-bottom: 1px solid #e2e2e2 !important; -} -.page-sidebar .sidebar-search .submit { - background-image: url(../../image/search-icon-white.png); -} - -/*** -Sidebar toggler -***/ -.sidebar-toggler { - background-image: url(../../image/sidebar-toggler-light.jpg); - background-color: #333; -} -/* search box bg color on expanded */ -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { - background-color: #fbfbfb !important; -} -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { - background-image: url("../../image/sidebar-search-close-light.png"); -} -/* sub menu bg color on hover menu item */ -.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { - background-color: #eeeeee; -} -/*** -Footer -***/ -.footer .footer-inner { - color: #333333; -} -.footer .footer-tools .go-top { - background-color: #666666; -} -.footer .footer-tools .go-top:hover { - opacity: 0.7; - filter: alpha(opacity=70); -} -.footer .footer-tools .go-top i { - color: #999999; -} -/*** -Footer Layouts (new in v1.3) -***/ -/* begin:fixed footer */ -.page-footer-fixed .footer { - background-color: #434343; -} -.page-footer-fixed .footer .footer-inner { - color: #aaaaaa; -} -.page-footer-fixed .footer .footer-tools .go-top { - background-color: #666666; -} -.page-footer-fixed .footer .footer-tools .go-top i { - color: #aaaaaa; -} -/* end:fixed footer */ -/*** -Gritter Notifications -***/ -.gritter-top { - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -30px !important; -} -.gritter-bottom { - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left bottom !important; -} -.gritter-item { - display: block; - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -40px !important; -} -.gritter-close { - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left top !important; -} -.gritter-title { - text-shadow: none !important; - /* Not supported by IE :( */ - -} -/* for the light (white) version of the gritter notice */ -.gritter-light .gritter-item, -.gritter-light .gritter-bottom, -.gritter-light .gritter-top, -.gritter-light .gritter-close { - background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; -} -.gritter-item-wrapper a { - color: #18a5ed; -} -.gritter-item-wrapper a:hover { - color: #0b6694; -} -/* begin: boxed page */ -@media (min-width: 992px) { - .page-boxed { - background-color: #E8E8E8 !important; - } - .page-boxed .page-container { - background-color: #eeeeee; - border-left: 1px solid #e2e2e2; - border-bottom: 1px solid #e2e2e2; - } - .page-sidebar-reversed.page-boxed .page-container { - border-left: 0; - border-right: 1px solid #e2e2e2; - } - .page-boxed.page-sidebar-fixed .page-container { - border-left: 0; - border-bottom: 0; - } - .page-boxed.page-sidebar-fixed .page-sidebar { - border-left: 1px solid #e2e2e2; - } - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { - border-right: 1px solid #e2e2e2; - border-left: 0; - } - .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { - background-color: #E8E8E8 !important; - } -} -/* end: boxed page */ -/*** -Landscape phone to portrait tablet -***/ -@media (max-width: 991px) { - /*** - page sidebar - ***/ - .page-sidebar { - background-color: #f1f1f1 !important; - border-right: none !important; - } - .page-sidebar-fixed .page-sidebar { - border-right: none !important; - } - .page-content { - border-left: none !important; - } - ul.page-sidebar-menu > li > a { - border-top: 1px solid #ececec !important; - border-bottom: 1px solid #cccccc !important; - } - ul.page-sidebar-menu > li:last-child > a { - border-bottom: 0 !important; - } - - ul.page-sidebar-menu > li.open > a,{ - color: #666666 !important; - background-color: #e0e0e0 !important; - } - - /*ul.page-sidebar-menu > li > a:hover { - color: #666666 !important; - background-color: #e7e7e7 !important; - }*/ - ul.page-sidebar-menu > li.open > a { - border-bottom-color: transparent !important; - } - /* ul.page-sidebar-menu > li.active > a { - color: #ffffff !important; - background-color: #28b779 !important; - }*/ - - ul.page-sidebar-menu ul.sub-menu > li > a { - color: #111 !important; - } -ul.page-sidebar-menu ul.sub-menu > li.active > a{ - color: #000 !important; - background: #dbe6ea !important; -} - ul.page-sidebar-menu ul.sub-menu > li.open > a, - ul.page-sidebar-menu ul.sub-menu > li > a:hover { - color: #000 !important; - background: #e7e7e7 !important; - } - - .page-sidebar .sidebar-search input { - background-color: #f1f1f1 !important; - color: #ccc !important; - } - - .page-sidebar .sidebar-search .input-box { - border-bottom-color: #ccc !important; - } - .page-sidebar .sidebar-search input::-webkit-input-placeholder { - color: #ccc !important; - } - .page-sidebar .sidebar-search input:-moz-placeholder { - color: #ccc !important; - } - .page-sidebar .sidebar-search input:-ms-input-placeholder { - color: #ccc !important; - } - - /*** - page footer - ***/ - - .footer { - background-color: #434343; - } - - .footer .footer-inner { - color: #cccccc; - } - .footer .footer-tools .go-top { - background-color: #666666; - } - .footer .footer-tools .go-top i { - color: #999999; - } -} - -@media (max-width: 767px) { - body { - background-color: #077ead !important; - } +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +light theme +***/ + +/*** +Reset and overrides +***/ +body { + background-color: #eeeeee !important; +} +/*** +Page header +***/ +.header { + background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #3993ba), color-stop(50%, #1f88b3), color-stop(100%, #067ead)); + background-image: -moz-linear-gradient(top, #3993ba 0%, #1f88b3 50%, #067ead 100%); + background-image: -o-linear-gradient(top, #3993ba 0%, #1f88b3 50%, #067ead 100%); + background-image: linear-gradient(top, #3993ba 0%, #1f88b3 50%, #067ead 100%); + background-color: #1584b0 ; +} +.header .btn-navbar { + background-color: #434343 !important; +} +.header .navbar-nav .dropdown-toggle:hover, +.header .navbar-nav .dropdown.open .dropdown-toggle { + background-color: #4399bd !important; +} +.header .navbar-nav li.dropdown .dropdown-toggle i { + color: #ffffff !important; +} +.zte-theme-panel > .toggler:hover { + background-color: #54aacf !important; +} +.btn-group .btn.blue.dropdown-toggle{ +background-color: #428bca !important; +} +.page-content .page-breadcrumb.breadcrumb{ +background-color:#F5F5F5 !important; +} +/*** +Header Search +***/ +.header .search-form { + background-color: #3a3a3a; +} + +.header .search-form .form-control{ + color: #ccc; + border: 0; + background-color: #3a3a3a; +} + +.header .search-form .submit { + background: url(../../image/search-icon.png); +} + +/*** +Hor menu +***/ +.header .hor-menu ul.nav li a { + color: #ccc; +} + +.header .hor-menu ul.nav li.open > a, +.header .hor-menu ul.nav li > a:hover, +.header .hor-menu ul.nav li > a:focus { + color: #fff; + background: #4399bd; +} + +.header .hor-menu .dropdown-menu li:hover > a, +.header .hor-menu ul.nav li.active > a, +.header .hor-menu ul.nav li.active > a:hover { + color: #fff; + background: #136c8f !important; +} +.header.navbar .hor-menu ul.nav li.current .selected, +.header.navbar .hor-menu ul.nav li.active .selected { + border-top: 6px solid #136c8f; + } +.header .hor-menu ul.nav li.current > a, +.header .hor-menu ul.nav li.current > a:hover { + color: #fff; + background: #e02222 !important; +} + +.header .hor-menu .dropdown-menu { + background: #4399bd; +} +.header .hor-menu .dropdown-menu li > a { + color: #ccc; +} + +.header .hor-menu .hor-menu-search-form-toggler.off { + background: #4399bd url(../../image/hor-menu-search-close-white.png) no-repeat center; +} + +.header .hor-menu .search-form { + background:#4399bd; +} + +.header .hor-menu .search-form form input { + color: #ccc; +} + +.header .hor-menu .search-form .btn { + color: #ccc; + background: url(../../image/search-icon-white.png) no-repeat center; +} + +.header .hor-menu .search-form form input::-webkit-input-placeholder { /* WebKit browsers */ + color: #ccc; +} +.header .hor-menu .search-form form input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ + color: #ccc; +} +.header .hor-menu .search-form form input::-moz-placeholder { /* Mozilla Firefox 19+ */ + color: #ccc; +} +.header .hor-menu .search-form form input:-ms-input-placeholder { /* Internet Explorer 10+ */ + color: #ccc; +} + +/*** +Mega Menu +***/ +.mega-menu .mega-menu-submenu { + border-right: 1px solid #656565; +} + +.mega-menu .mega-menu-submenu li h3 { + color: #fff; +} + +/*** +Page sidebar +***/ +/*.page-content { + border-left: 1px solid #e2e2e2 !important; + border-bottom: 1px solid #e2e2e2 !important;*/ +} +.page-sidebar-reversed .page-content { + border-left: 0; + border-right: 1px solid #e2e2e2 !important; +} +.page-sidebar { + background-color: #eeeeee; +} +.page-sidebar-fixed .page-content { + border: 0 !important; +} +.page-sidebar-fixed .page-sidebar { + border-right: 1px solid #e2e2e2 !important; +} + + +ul.page-sidebar-menu > li > a { + border-top: 1px solid #ececec !important; + border-bottom: 1px solid #cccccc !important; + color: #000 !important; + font-weight: 400; + background-color: #e0e0e0 !important; +} + +ul.page-sidebar-menu > li:first-child > a { + border-top: 1px solid transparent !important; +} + +ul.page-sidebar-menu > li:last-child > a { + border-bottom: 1px solid transparent !important; +} + +ul.page-sidebar-menu > li a i { + color: #000000 !important; +} +ul.page-sidebar-menu > li.open > a, +ul.page-sidebar-menu > li > a:hover, +ul.page-sidebar-menu > li:hover > a { + background: #eee; + border-top: 1px solid #e8e8e8; +} +/*ul.page-sidebar-menu > li.active > a .selected { + right:-7px; + top:0px; + width: 7px; + height: 39px; + background-image: url("../../image/sidebar-menu-arrow-green.png"); +} */ +.page-sidebar-reversed ul.page-sidebar-menu > li.active > a .selected { + right: auto; + left:-7px; + background-image: url("../../image/sidebar-menu-arrow-green-reverse.png"); +} +ul.page-sidebar-menu > li.active i { + color: #fff !important; +} +.page-sidebar-fixed ul.page-sidebar-menu > li.active > a .selected { + display: none; +} +ul.page-sidebar-menu > li.active > a{ + background: #428bca !important; + border-top-color: transparent !important; + color:#fff!important; +} +ul.page-sidebar-menu > li.active > a i { + color: #fff; +} +ul.page-sidebar-menu > li > a > .arrow:before, +ul.page-sidebar-menu > li > a > .arrow.open:before { + color: #ccc !important; +} +ul.page-sidebar-menu > li.active > a .arrow:before, +ul.page-sidebar-menu > li.active > a .arrow.open:before { + color: #fff !important; +} +ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { + border-top: 0px !important; +} + +ul.page-sidebar-menu ul.sub-menu > li > a { + font-weight: 400 !important; + color: #333 !important; +} +ul.page-sidebar-menu ul.sub-menu > li.active > a, +ul.page-sidebar-menu ul.sub-menu > li > a:hover { + color: #818181 !important; + background: #efefef !important; +} + +ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, +ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { + color: #ccc !important; +} + +/* sub menu links effects */ +ul.page-sidebar-menu ul.sub-menu > li.active > a, +ul.page-sidebar-menu ul.sub-menu > li.active > a:hover{ + color: #000 !important; + background: #dbe6ea !important; +} +ul.page-sidebar-menu ul.sub-menu > li > a:hover, +ul.page-sidebar-menu ul.sub-menu > li.open > a { + color: #000000 !important; + background: #e7e7e7 !important; +} +ul.page-sidebar-menu ul.sub-menu > li > a i { + color: #000000 !important; +} + +/* sidebar search */ +.page-sidebar .sidebar-search input { + background-color: #eeeeee !important; + color: #727272 !important; +} +.page-sidebar .sidebar-search input::-webkit-input-placeholder { + color: #aaa !important; +} +.page-sidebar .sidebar-search input:-moz-placeholder { + color: #aaa !important; +} +.page-sidebar .sidebar-search input:-ms-input-placeholder { + color: #aaa !important; +} +.page-sidebar .sidebar-search .input-box { + border-bottom: 1px solid #e2e2e2 !important; +} +.page-sidebar .sidebar-search .submit { + background-image: url(../../image/search-icon-white.png); +} + +/*** +Sidebar toggler +***/ +.sidebar-toggler { + background-image: url(../../image/sidebar-toggler-light.jpg); + background-color: #333; +} +/* search box bg color on expanded */ +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { + background-color: #fbfbfb !important; +} +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { + background-image: url("../../image/sidebar-search-close-light.png"); +} +/* sub menu bg color on hover menu item */ +.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { + background-color: #eeeeee; +} +/*** +Footer +***/ +.footer .footer-inner { + color: #333333; +} +.footer .footer-tools .go-top { + background-color: #666666; +} +.footer .footer-tools .go-top:hover { + opacity: 0.7; + filter: alpha(opacity=70); +} +.footer .footer-tools .go-top i { + color: #999999; +} +/*** +Footer Layouts (new in v1.3) +***/ +/* begin:fixed footer */ +.page-footer-fixed .footer { + background-color: #434343; +} +.page-footer-fixed .footer .footer-inner { + color: #aaaaaa; +} +.page-footer-fixed .footer .footer-tools .go-top { + background-color: #666666; +} +.page-footer-fixed .footer .footer-tools .go-top i { + color: #aaaaaa; +} +/* end:fixed footer */ +/*** +Gritter Notifications +***/ +.gritter-top { + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -30px !important; +} +.gritter-bottom { + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left bottom !important; +} +.gritter-item { + display: block; + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -40px !important; +} +.gritter-close { + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left top !important; +} +.gritter-title { + text-shadow: none !important; + /* Not supported by IE :( */ + +} +/* for the light (white) version of the gritter notice */ +.gritter-light .gritter-item, +.gritter-light .gritter-bottom, +.gritter-light .gritter-top, +.gritter-light .gritter-close { + background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; +} +.gritter-item-wrapper a { + color: #18a5ed; +} +.gritter-item-wrapper a:hover { + color: #0b6694; +} +/* begin: boxed page */ +@media (min-width: 992px) { + .page-boxed { + background-color: #E8E8E8 !important; + } + .page-boxed .page-container { + background-color: #eeeeee; + border-left: 1px solid #e2e2e2; + border-bottom: 1px solid #e2e2e2; + } + .page-sidebar-reversed.page-boxed .page-container { + border-left: 0; + border-right: 1px solid #e2e2e2; + } + .page-boxed.page-sidebar-fixed .page-container { + border-left: 0; + border-bottom: 0; + } + .page-boxed.page-sidebar-fixed .page-sidebar { + border-left: 1px solid #e2e2e2; + } + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { + border-right: 1px solid #e2e2e2; + border-left: 0; + } + .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { + background-color: #E8E8E8 !important; + } +} +/* end: boxed page */ +/*** +Landscape phone to portrait tablet +***/ +@media (max-width: 991px) { + /*** + page sidebar + ***/ + .page-sidebar { + background-color: #f1f1f1 !important; + border-right: none !important; + } + .page-sidebar-fixed .page-sidebar { + border-right: none !important; + } + .page-content { + border-left: none !important; + } + ul.page-sidebar-menu > li > a { + border-top: 1px solid #ececec !important; + border-bottom: 1px solid #cccccc !important; + } + ul.page-sidebar-menu > li:last-child > a { + border-bottom: 0 !important; + } + + ul.page-sidebar-menu > li.open > a,{ + color: #666666 !important; + background-color: #e0e0e0 !important; + } + + /*ul.page-sidebar-menu > li > a:hover { + color: #666666 !important; + background-color: #e7e7e7 !important; + }*/ + ul.page-sidebar-menu > li.open > a { + border-bottom-color: transparent !important; + } + /* ul.page-sidebar-menu > li.active > a { + color: #ffffff !important; + background-color: #28b779 !important; + }*/ + + ul.page-sidebar-menu ul.sub-menu > li > a { + color: #111 !important; + } +ul.page-sidebar-menu ul.sub-menu > li.active > a{ + color: #000 !important; + background: #dbe6ea !important; +} + ul.page-sidebar-menu ul.sub-menu > li.open > a, + ul.page-sidebar-menu ul.sub-menu > li > a:hover { + color: #000 !important; + background: #e7e7e7 !important; + } + + .page-sidebar .sidebar-search input { + background-color: #f1f1f1 !important; + color: #ccc !important; + } + + .page-sidebar .sidebar-search .input-box { + border-bottom-color: #ccc !important; + } + .page-sidebar .sidebar-search input::-webkit-input-placeholder { + color: #ccc !important; + } + .page-sidebar .sidebar-search input:-moz-placeholder { + color: #ccc !important; + } + .page-sidebar .sidebar-search input:-ms-input-placeholder { + color: #ccc !important; + } + + /*** + page footer + ***/ + + .footer { + background-color: #434343; + } + + .footer .footer-inner { + color: #cccccc; + } + .footer .footer-tools .go-top { + background-color: #666666; + } + .footer .footer-tools .go-top i { + color: #999999; + } +} + +@media (max-width: 767px) { + body { + background-color: #077ead !important; + } } \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight3_ifrm.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight3_ifrm.css index 1072ce0b..6ccf9b2e 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight3_ifrm.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight3_ifrm.css @@ -1,220 +1,220 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -light_ifrm theme -***/ -td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -/* button style*/ -.buttonRounded, -.buttonRoundedOver, -.buttonRoundedFocused, -.buttonRoundedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown, -.buttonRoundedSelected, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedDown, -.buttonRoundedSelectedFocusedDown, -.buttonRoundedSelectedOver, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDisabled, -.buttonRoundedSelectedDisabled { - background-color: #47a5cc; - color: #fff; - border: 0px solid #b15a59; - border-radius: 0px; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - /*padding: 0 3px;*/ - padding-left:7px !important; - padding-right:7px !important; - height:30px !important; -} -.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} -.buttonRoundedOver, -.buttonRoundedFocusedOver, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown { - background-color: #3a8fb3; - height:30px !important; -} - -.menuButton, -.menuButtonOver, -.menuButtonDown, -.menuButtonDisabled, -.menuButtonFocused, -.menuButtonFocusedDown, -.menuButtonFocusedOver, -.menuButtonSelected, -.menuButtonSelectedDown, -.menuButtonSelectedOver, -.menuButtonSelectedDisabled { - background-color: #47a5cc; - border: 0px solid #ababab; - color: #fff; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - padding-left: 7px !important; - padding-right: 7px !important; - height:30px !important; -} -.menuButtonOver { - background-color: #3a8fb3; - } -.menuButtonDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - - .buttonTitle, -.buttonTitleOver, -.buttonTitleDown, -.buttonTitleSelected, -.buttonTitleFocused, -.buttonTitleSelectedFocused, -.buttonTitleSelectedOver, -.buttonTitleFocusedOver, -.buttonTitleSelectedFocusedOver, -.buttonTitleSelectedDown, -.buttonTitleFocusedDown, -.buttonTitleSelectedFocusedDown, -.buttonTitleDisabled, -.buttonTitleSelectedDisabled { - color: #fff ; - } - .buttonTitleDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - /* windowBody dialogBody Style */ - .windowBody, -.dialogBody { - background-color: white; - border: 1px solid #2b8db6; - border-top: 0; -} -.windowHeader, -.dialogHeader { - background-color: #2b8db6; - padding: 0; -} -/* sectionHeader Style */ -.sectionHeaderopened { - background-color: #2b8db6; - } - .sectionHeaderclosed { - background-color: #3899c2; - } - -#dt_example h1{ -color:#2b8db6; -font-weight:600 !important; -} -/*cell style*/ -.tallCellOver, -.tallCellOverDark { - background-color: #c4d7e2; - } -.imgHeaderButtonOver, -.imgHeaderButtonDown, -.headerButtonOver, -.headerButtonDown, -.sorterButtonOver, -.sorterButtonDown { - background-color: #c4d7e2; - } - /*cell style*/ -.tallCellOver, -.tallCellOverDark { - background-color: #d9e3e8; - border-bottom: 1px solid #d9e3e8; - border-top: 1px solid #d9e3e8; - } -.tallCellSelected, -.tallCellSelectedDark { - background: #c4d7e2; - border-bottom: 1px solid #c4d7e2; - border-top: 1px solid #c4d7e2; - } -.tallCellSelectedOver, -.tallCellSelectedOverDark { - background: #c4d7e2; - border-bottom: 1px solid #c4d7e2; - border-top: 1px solid #c4d7e2; - } -.imgHeaderButtonOver, -.imgHeaderButtonDown, -.headerButtonOver, -.headerButtonDown, -.sorterButtonOver, -.sorterButtonDown { - background-color: #c4d7e2; - } -.cellSelected, -.cellSelectedDark, -.specialColSelected, -.recordSummaryCellSelected, -.recordSummaryCellSelectedDark { - background: #c4d7e2 !important; - border-bottom: 1px solid #c4d7e2; - border-top: 1px solid #c4d7e2; - } -.cellSelectedOver, -.cellSelectedOverDark, -.specialColSelectedOver, -.recordSummaryCellSelectedOver, -.recordSummaryCellSelectedOverDark { - background: #c4d7e2 !important; - border-bottom: 1px solid #c4d7e2; - border-top: 1px solid #c4d7e2; -} -.cellOver, -.cellOverDark, -.specialColOver, -.recordSummaryCellOver, -.recordSummaryCellOverDark { - background: #d9e3e8 !important; - border-bottom: 1px solid #d9e3e8; - border-top: 1px solid #d9e3e8; - } -.treeCellOver, -.treeCellOverDark { - background-color: #d9e3e8; -} +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +light_ifrm theme +***/ +td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +/* button style*/ +.buttonRounded, +.buttonRoundedOver, +.buttonRoundedFocused, +.buttonRoundedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown, +.buttonRoundedSelected, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedDown, +.buttonRoundedSelectedFocusedDown, +.buttonRoundedSelectedOver, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDisabled, +.buttonRoundedSelectedDisabled { + background-color: #47a5cc; + color: #fff; + border: 0px solid #b15a59; + border-radius: 0px; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + /*padding: 0 3px;*/ + padding-left:7px !important; + padding-right:7px !important; + height:30px !important; +} +.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} +.buttonRoundedOver, +.buttonRoundedFocusedOver, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown { + background-color: #3a8fb3; + height:30px !important; +} + +.menuButton, +.menuButtonOver, +.menuButtonDown, +.menuButtonDisabled, +.menuButtonFocused, +.menuButtonFocusedDown, +.menuButtonFocusedOver, +.menuButtonSelected, +.menuButtonSelectedDown, +.menuButtonSelectedOver, +.menuButtonSelectedDisabled { + background-color: #47a5cc; + border: 0px solid #ababab; + color: #fff; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + padding-left: 7px !important; + padding-right: 7px !important; + height:30px !important; +} +.menuButtonOver { + background-color: #3a8fb3; + } +.menuButtonDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + + .buttonTitle, +.buttonTitleOver, +.buttonTitleDown, +.buttonTitleSelected, +.buttonTitleFocused, +.buttonTitleSelectedFocused, +.buttonTitleSelectedOver, +.buttonTitleFocusedOver, +.buttonTitleSelectedFocusedOver, +.buttonTitleSelectedDown, +.buttonTitleFocusedDown, +.buttonTitleSelectedFocusedDown, +.buttonTitleDisabled, +.buttonTitleSelectedDisabled { + color: #fff ; + } + .buttonTitleDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + /* windowBody dialogBody Style */ + .windowBody, +.dialogBody { + background-color: white; + border: 1px solid #2b8db6; + border-top: 0; +} +.windowHeader, +.dialogHeader { + background-color: #2b8db6; + padding: 0; +} +/* sectionHeader Style */ +.sectionHeaderopened { + background-color: #2b8db6; + } + .sectionHeaderclosed { + background-color: #3899c2; + } + +#dt_example h1{ +color:#2b8db6; +font-weight:600 !important; +} +/*cell style*/ +.tallCellOver, +.tallCellOverDark { + background-color: #c4d7e2; + } +.imgHeaderButtonOver, +.imgHeaderButtonDown, +.headerButtonOver, +.headerButtonDown, +.sorterButtonOver, +.sorterButtonDown { + background-color: #c4d7e2; + } + /*cell style*/ +.tallCellOver, +.tallCellOverDark { + background-color: #d9e3e8; + border-bottom: 1px solid #d9e3e8; + border-top: 1px solid #d9e3e8; + } +.tallCellSelected, +.tallCellSelectedDark { + background: #c4d7e2; + border-bottom: 1px solid #c4d7e2; + border-top: 1px solid #c4d7e2; + } +.tallCellSelectedOver, +.tallCellSelectedOverDark { + background: #c4d7e2; + border-bottom: 1px solid #c4d7e2; + border-top: 1px solid #c4d7e2; + } +.imgHeaderButtonOver, +.imgHeaderButtonDown, +.headerButtonOver, +.headerButtonDown, +.sorterButtonOver, +.sorterButtonDown { + background-color: #c4d7e2; + } +.cellSelected, +.cellSelectedDark, +.specialColSelected, +.recordSummaryCellSelected, +.recordSummaryCellSelectedDark { + background: #c4d7e2 !important; + border-bottom: 1px solid #c4d7e2; + border-top: 1px solid #c4d7e2; + } +.cellSelectedOver, +.cellSelectedOverDark, +.specialColSelectedOver, +.recordSummaryCellSelectedOver, +.recordSummaryCellSelectedOverDark { + background: #c4d7e2 !important; + border-bottom: 1px solid #c4d7e2; + border-top: 1px solid #c4d7e2; +} +.cellOver, +.cellOverDark, +.specialColOver, +.recordSummaryCellOver, +.recordSummaryCellOverDark { + background: #d9e3e8 !important; + border-bottom: 1px solid #d9e3e8; + border-top: 1px solid #d9e3e8; + } +.treeCellOver, +.treeCellOverDark { + background-color: #d9e3e8; +} diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight4.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight4.css index c3908245..cbbe6a54 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight4.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight4.css @@ -1,620 +1,620 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -light theme -***/ - -/*** -Reset and overrides -***/ -body { - background-color: #f1f3fa !important; -} - -.page-content .page-breadcrumb.breadcrumb .dashboard-date-range { - background-color: #ededed !important; -} - -.page-content { - background-color: #f1f3fa !important; -} - -.vSplitbar { - background-color: transparent !important; -} - -.btn-group .btn.blue.dropdown-toggle { - background-color: #333 !important; -} - -.btn-group .btn.blue.dropdown-toggle:hover { - background-color: #000 !important; -} - -/*** -Page header -***/ -.header { - filter: none !important; - background-color: #333333 !important; -} - -.header .btn-navbar { - background-color: #434343 !important; -} - -.header .navbar-nav .dropdown-toggle:hover, -.header .navbar-nav .dropdown.open .dropdown-toggle { - background-color: #40484c !important; -} - -.header .navbar-nav li.dropdown .dropdown-toggle i { - color: #ffffff !important; -} - -.zte-theme-panel > .toggler:hover { - background-color: #40484c !important; -} - -/*** -Header Search -***/ -.header .search-form { - background-color: #3a3a3a; -} - -.header .search-form .form-control { - color: #ccc; - border: 0; - background-color: #3a3a3a; -} - -.header .search-form .submit { - background: url(../../image/search-icon.png); -} - -/*** -Hor menu -***/ -.header .hor-menu ul.nav li a { - color: #fff; -} - -.header .hor-menu ul.nav li.open > a, -.header .hor-menu ul.nav li > a:hover, -.header .hor-menu ul.nav li > a:focus { - color: #ccc; - background: #333333; -} - -.header .hor-menu .dropdown-menu li:hover > a, -.header .hor-menu ul.nav li.active > a, -.header .hor-menu ul.nav li.active > a:hover { - color: #fff; - background: #333 !important; -} - -.header.navbar .hor-menu ul.nav li.current .selected, -.header.navbar .hor-menu ul.nav li.active .selected { - border-top: 6px solid #101010; -} - -.header .hor-menu ul.nav li.current > a, -.header .hor-menu ul.nav li.current > a:hover { - color: #fff; - background: #e02222 !important; -} - -.header .hor-menu .dropdown-menu { - background: #4f4f4f; -} - -.header .hor-menu .dropdown-menu li > a { - color: #ccc; -} - -.header .hor-menu .hor-menu-search-form-toggler.off { - background: #4f4f4f url(../../image/hor-menu-search-close-white.png) no-repeat center; -} - -.header .hor-menu .search-form { - background: #4f4f4f; -} - -.header .hor-menu .search-form form input { - color: #ccc; -} - -.header .hor-menu .search-form .btn { - color: #ccc; - background: url(../../image/search-icon-white.png) no-repeat center; -} - -.header .hor-menu .search-form form input::-webkit-input-placeholder { - /* WebKit browsers */ - color: #ccc; -} - -.header .hor-menu .search-form form input:-moz-placeholder { - /* Mozilla Firefox 4 to 18 */ - color: #ccc; -} - -.header .hor-menu .search-form form input::-moz-placeholder { - /* Mozilla Firefox 19+ */ - color: #ccc; -} - -.header .hor-menu .search-form form input:-ms-input-placeholder { - /* Internet Explorer 10+ */ - color: #ccc; -} - -/*** -Mega Menu -***/ -.mega-menu .mega-menu-submenu { - border-right: 1px solid #656565; -} - -.mega-menu .mega-menu-submenu li h3 { - color: #fff; -} - -/*** -Page sidebar -***/ -/*.page-content { - border-left: 1px solid #e2e2e2 !important; - border-bottom: 1px solid #e2e2e2 !important; -}*/ -.page-sidebar-menu > li.active > a .selected { - background-image: none !important; - border-right:#5C9ACF 3px solid; - height:40px !important; - top:0 !important; -} - -.page-sidebar-reversed .page-content { - border-left: 0; - border-right: 1px solid #e2e2e2 !important; -} - -.page-sidebar { - background-color: #f1f3fa; -} - -.page-sidebar-fixed .page-content { - border: 0 !important; -} - -.page-sidebar-fixed .page-sidebar { - border-right: 1px solid #e2e2e2 !important; -} - -ul.page-sidebar-menu > li > a { - border: 1px solid #dddddd !important; - color: #000 !important; - font-weight: 400; - background-color: #fff !important; - margin-left: 3px; - margin-right: 3px; - margin-bottom: 5px; - -webkit-border-radius: 3px !important; - -moz-border-radius: 3px !important; - -ms-border-radius: 3px !important; - -o-border-radius: 3px !important; - border-radius: 3px !important; -} - -.page-sidebar-menu > li.start > a { - border-top: 1px solid #dddddd !important; -} - -ul.page-sidebar-menu > li:first-child > a { - border-top: 1px solid #dddddd !important; -} - -ul.page-sidebar-menu > li:last-child > a { - border-bottom: 1px solid #dddddd !important; -} - -/*ul.page-sidebar-menu > li a i { - color: #000 !important; -}*/ - -/*ul.page-sidebar-menu > li.open > a:hover { - background: #ededed !important; - color: #000 !important; -}*/ -ul.page-sidebar-menu > li.open > a { - background: #fff !important; - color: #000 !important; -} -ul.page-sidebar-menu > li.active > a:hover { - background: #fff !important; - color: #5C9ACF !important ; - //border-left: #5C9ACF 3px solid; -} - - -/*ul.page-sidebar-menu > li.active > a .selected { - right:-7px; - top:0px; - width: 7px; - height: 39px; - background-image: url("../../image/sidebar-menu-arrow-green.png");*/ - } - -.page-sidebar-reversed ul.page-sidebar-menu > li.active > a .selected { - right: auto; - left: -7px; - background-image: url("../../image/sidebar-menu-arrow-green-reverse.png"); -} - -/*ul.page-sidebar-menu > li.active i { - color: #fff !important; -}*/ -.page-sidebar-fixed ul.page-sidebar-menu > li.active > a .selected { - display: none; -} - -ul.page-sidebar-menu > li.active > a { - background: #fff !important; - border-right-color: transparent !important; - color: #1177CF !important; -} - -ul.page-sidebar-menu > li.active > a i { - color: #5C9ACF; -} - -ul.page-sidebar-menu > li > a > .arrow:before, -ul.page-sidebar-menu > li > a > .arrow.open:before { - color: #ccc !important; -} - -ul.page-sidebar-menu > li.active > a .arrow:before, -ul.page-sidebar-menu > li.active > a .arrow.open:before { - color: #5C9ACF !important; -} - -ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { - border-top: 0px !important; -} - -ul.page-sidebar-menu ul.sub-menu > li > a { - font-weight: 400 !important; - color: #2a6496 !important; - margin-left: 4px !important; - margin-right: 4px !important; - margin-bottom: 5px !important; -} - -ul.page-sidebar-menu ul.sub-menu > li.active > a, -ul.page-sidebar-menu ul.sub-menu > li > a:hover { - color: #818181 !important; - background: #ededed !important; -} - -ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, -ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { - color: #ccc !important; -} - -/* sub menu links effects */ -ul.page-sidebar-menu ul.sub-menu > li.active > a, -ul.page-sidebar-menu ul.sub-menu > li.active > a:hover { - color: #1177CF !important; - background: #dbe6ea !important; -} - -ul.page-sidebar-menu ul.sub-menu > li > a:hover, -ul.page-sidebar-menu ul.sub-menu > li.open > a { - color: #428bca !important; - background: #eaf1f4 !important; -} - -ul.page-sidebar-menu > li > a:hover, -ul.page-sidebar-menu > li.active > a:hover { - background-color: #ecf1f5 !important; - color: #585858; -} -/* sidebar search */ -.page-sidebar .sidebar-search input { - background-color: #f5f5f5 !important; - color: #727272 !important; -} - -.page-sidebar .sidebar-search input::-webkit-input-placeholder { - color: #aaa !important; -} - -.page-sidebar .sidebar-search input:-moz-placeholder { - color: #aaa !important; -} - -.page-sidebar .sidebar-search input:-ms-input-placeholder { - color: #aaa !important; -} - -.page-sidebar .sidebar-search .input-box { - border-bottom: 1px solid #e2e2e2 !important; -} - -.page-sidebar .sidebar-search .submit { - background-image: url(../../image/search-icon-white.png); -} - -/*** -Sidebar toggler -***/ -.sidebar-toggler { - background-image: url(../../image/sidebar-toggler-light.jpg); - background-color: #333; -} - -/* search box bg color on expanded */ -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { - background-color: #fbfbfb !important; -} - -.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { - background-image: url("../../image/sidebar-search-close-light.png"); -} - -/* sub menu bg color on hover menu item */ -.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { - background-color: #f5f5f5; -} - -/*** -Footer -***/ -.footer .footer-inner { - color: #333333; -} - -.footer .footer-tools .go-top { - background-color: #666666; -} - -.footer .footer-tools .go-top:hover { - opacity: 0.7; - filter: alpha(opacity=70); -} - -.footer .footer-tools .go-top i { - color: #999999; -} - -/*** -Footer Layouts (new in v1.3) -***/ -/* begin:fixed footer */ -.page-footer-fixed .footer { - background-color: #434343; -} - -.page-footer-fixed .footer .footer-inner { - color: #aaaaaa; -} - -.page-footer-fixed .footer .footer-tools .go-top { - background-color: #666666; -} - -.page-footer-fixed .footer .footer-tools .go-top i { - color: #aaaaaa; -} - -/* end:fixed footer */ -/*** -Gritter Notifications -***/ -.gritter-top { - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -30px !important; -} - -.gritter-bottom { - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left bottom !important; -} - -.gritter-item { - display: block; - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -40px !important; -} - -.gritter-close { - background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left top !important; -} - -.gritter-title { - text-shadow: none !important; - /* Not supported by IE :( */ - -} - -/* for the light (white) version of the gritter notice */ -.gritter-light .gritter-item, -.gritter-light .gritter-bottom, -.gritter-light .gritter-top, -.gritter-light .gritter-close { - background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; -} - -.gritter-item-wrapper a { - color: #18a5ed; -} - -.gritter-item-wrapper a:hover { - color: #0b6694; -} - -/* begin: boxed page */ -@media (min-width: 992px) { - .page-boxed { - background-color: #E8E8E8 !important; - } - - .page-boxed .page-container { - background-color: #f5f5f5; - border-left: 1px solid #e2e2e2; - border-bottom: 1px solid #e2e2e2; - } - - .page-sidebar-reversed.page-boxed .page-container { - border-left: 0; - border-right: 1px solid #e2e2e2; - } - - .page-boxed.page-sidebar-fixed .page-container { - border-left: 0; - border-bottom: 0; - } - - .page-boxed.page-sidebar-fixed .page-sidebar { - border-left: 1px solid #e2e2e2; - } - - .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { - border-right: 1px solid #e2e2e2; - border-left: 0; - } - - .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { - background-color: #E8E8E8 !important; - } - - .page-sidebar-closed .page-sidebar-menu > li > a { - margin-left: 0; - margin-right: 0; - } -} - -/* end: boxed page */ -/*** -Landscape phone to portrait tablet -***/ -@media (max-width: 991px) { - /*** - page sidebar - ***/ - .page-sidebar-closed .page-sidebar-menu > li > a { - margin-left: 0; - margin-right: 0; - } - - .page-sidebar { - background-color: #f1f1f1 !important; - border-right: none !important; - } - - .page-sidebar-fixed .page-sidebar { - border-right: none !important; - } - - .page-content { - border-left: none !important; - } - - ul.page-sidebar-menu > li > a { - border-top: 1px solid #ececec !important; - border-bottom: 1px solid #cccccc !important; - } - - /* ul.page-sidebar-menu > li:last-child > a { - border-bottom: 0 !important; - }*/ - ul.page-sidebar-menu > li.open > a, { - color: #666666 !important; - background-color: #e0e0e0 !important; - } - - /*ul.page-sidebar-menu > li > a:hover { - color: #666666 !important; - background-color: #e7e7e7 !important; - }*/ - ul.page-sidebar-menu > li.open > a { - border-bottom-color: transparent !important; - } - - /* ul.page-sidebar-menu > li.active > a { - color: #ffffff !important; - background-color: #28b779 !important; - }*/ - /*ul.page-sidebar-menu ul.sub-menu > li > a { - color: #111 !important; - }*/ - /*ul.page-sidebar-menu ul.sub-menu > li.active > a{ - color: #000 !important; - background: #dbe6ea !important; */ -} - -/* ul.page-sidebar-menu ul.sub-menu > li.open > a, - ul.page-sidebar-menu ul.sub-menu > li > a:hover { - color: #000 !important; - background: #e7e7e7 !important; - }*/ - -.page-sidebar .sidebar-search input { - background-color: #f1f1f1 !important; - color: #ccc !important; -} - -.page-sidebar .sidebar-search .input-box { - border-bottom-color: #ccc !important; -} - -.page-sidebar .sidebar-search input::-webkit-input-placeholder { - color: #ccc !important; -} - -.page-sidebar .sidebar-search input:-moz-placeholder { - color: #ccc !important; -} - -.page-sidebar .sidebar-search input:-ms-input-placeholder { - color: #ccc !important; -} - -/*** -page footer -***/ - -.footer { - background-color: #434343; -} - -.footer .footer-inner { - color: #cccccc; -} - -.footer .footer-tools .go-top { - background-color: #666666; -} - -.footer .footer-tools .go-top i { - color: #999999; -} - - } - -@media (max-width: 767px) { - body { - background-color: #333333 !important; - } +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +light theme +***/ + +/*** +Reset and overrides +***/ +body { + background-color: #f1f3fa !important; +} + +.page-content .page-breadcrumb.breadcrumb .dashboard-date-range { + background-color: #ededed !important; +} + +.page-content { + background-color: #f1f3fa !important; +} + +.vSplitbar { + background-color: transparent !important; +} + +.btn-group .btn.blue.dropdown-toggle { + background-color: #333 !important; +} + +.btn-group .btn.blue.dropdown-toggle:hover { + background-color: #000 !important; +} + +/*** +Page header +***/ +.header { + filter: none !important; + background-color: #333333 !important; +} + +.header .btn-navbar { + background-color: #434343 !important; +} + +.header .navbar-nav .dropdown-toggle:hover, +.header .navbar-nav .dropdown.open .dropdown-toggle { + background-color: #40484c !important; +} + +.header .navbar-nav li.dropdown .dropdown-toggle i { + color: #ffffff !important; +} + +.zte-theme-panel > .toggler:hover { + background-color: #40484c !important; +} + +/*** +Header Search +***/ +.header .search-form { + background-color: #3a3a3a; +} + +.header .search-form .form-control { + color: #ccc; + border: 0; + background-color: #3a3a3a; +} + +.header .search-form .submit { + background: url(../../image/search-icon.png); +} + +/*** +Hor menu +***/ +.header .hor-menu ul.nav li a { + color: #fff; +} + +.header .hor-menu ul.nav li.open > a, +.header .hor-menu ul.nav li > a:hover, +.header .hor-menu ul.nav li > a:focus { + color: #ccc; + background: #333333; +} + +.header .hor-menu .dropdown-menu li:hover > a, +.header .hor-menu ul.nav li.active > a, +.header .hor-menu ul.nav li.active > a:hover { + color: #fff; + background: #333 !important; +} + +.header.navbar .hor-menu ul.nav li.current .selected, +.header.navbar .hor-menu ul.nav li.active .selected { + border-top: 6px solid #101010; +} + +.header .hor-menu ul.nav li.current > a, +.header .hor-menu ul.nav li.current > a:hover { + color: #fff; + background: #e02222 !important; +} + +.header .hor-menu .dropdown-menu { + background: #4f4f4f; +} + +.header .hor-menu .dropdown-menu li > a { + color: #ccc; +} + +.header .hor-menu .hor-menu-search-form-toggler.off { + background: #4f4f4f url(../../image/hor-menu-search-close-white.png) no-repeat center; +} + +.header .hor-menu .search-form { + background: #4f4f4f; +} + +.header .hor-menu .search-form form input { + color: #ccc; +} + +.header .hor-menu .search-form .btn { + color: #ccc; + background: url(../../image/search-icon-white.png) no-repeat center; +} + +.header .hor-menu .search-form form input::-webkit-input-placeholder { + /* WebKit browsers */ + color: #ccc; +} + +.header .hor-menu .search-form form input:-moz-placeholder { + /* Mozilla Firefox 4 to 18 */ + color: #ccc; +} + +.header .hor-menu .search-form form input::-moz-placeholder { + /* Mozilla Firefox 19+ */ + color: #ccc; +} + +.header .hor-menu .search-form form input:-ms-input-placeholder { + /* Internet Explorer 10+ */ + color: #ccc; +} + +/*** +Mega Menu +***/ +.mega-menu .mega-menu-submenu { + border-right: 1px solid #656565; +} + +.mega-menu .mega-menu-submenu li h3 { + color: #fff; +} + +/*** +Page sidebar +***/ +/*.page-content { + border-left: 1px solid #e2e2e2 !important; + border-bottom: 1px solid #e2e2e2 !important; +}*/ +.page-sidebar-menu > li.active > a .selected { + background-image: none !important; + border-right:#5C9ACF 3px solid; + height:40px !important; + top:0 !important; +} + +.page-sidebar-reversed .page-content { + border-left: 0; + border-right: 1px solid #e2e2e2 !important; +} + +.page-sidebar { + background-color: #f1f3fa; +} + +.page-sidebar-fixed .page-content { + border: 0 !important; +} + +.page-sidebar-fixed .page-sidebar { + border-right: 1px solid #e2e2e2 !important; +} + +ul.page-sidebar-menu > li > a { + border: 1px solid #dddddd !important; + color: #000 !important; + font-weight: 400; + background-color: #fff !important; + margin-left: 3px; + margin-right: 3px; + margin-bottom: 5px; + -webkit-border-radius: 3px !important; + -moz-border-radius: 3px !important; + -ms-border-radius: 3px !important; + -o-border-radius: 3px !important; + border-radius: 3px !important; +} + +.page-sidebar-menu > li.start > a { + border-top: 1px solid #dddddd !important; +} + +ul.page-sidebar-menu > li:first-child > a { + border-top: 1px solid #dddddd !important; +} + +ul.page-sidebar-menu > li:last-child > a { + border-bottom: 1px solid #dddddd !important; +} + +/*ul.page-sidebar-menu > li a i { + color: #000 !important; +}*/ + +/*ul.page-sidebar-menu > li.open > a:hover { + background: #ededed !important; + color: #000 !important; +}*/ +ul.page-sidebar-menu > li.open > a { + background: #fff !important; + color: #000 !important; +} +ul.page-sidebar-menu > li.active > a:hover { + background: #fff !important; + color: #5C9ACF !important ; + //border-left: #5C9ACF 3px solid; +} + + +/*ul.page-sidebar-menu > li.active > a .selected { + right:-7px; + top:0px; + width: 7px; + height: 39px; + background-image: url("../../image/sidebar-menu-arrow-green.png");*/ + } + +.page-sidebar-reversed ul.page-sidebar-menu > li.active > a .selected { + right: auto; + left: -7px; + background-image: url("../../image/sidebar-menu-arrow-green-reverse.png"); +} + +/*ul.page-sidebar-menu > li.active i { + color: #fff !important; +}*/ +.page-sidebar-fixed ul.page-sidebar-menu > li.active > a .selected { + display: none; +} + +ul.page-sidebar-menu > li.active > a { + background: #fff !important; + border-right-color: transparent !important; + color: #1177CF !important; +} + +ul.page-sidebar-menu > li.active > a i { + color: #5C9ACF; +} + +ul.page-sidebar-menu > li > a > .arrow:before, +ul.page-sidebar-menu > li > a > .arrow.open:before { + color: #ccc !important; +} + +ul.page-sidebar-menu > li.active > a .arrow:before, +ul.page-sidebar-menu > li.active > a .arrow.open:before { + color: #5C9ACF !important; +} + +ul.page-sidebar-menu > li > ul.sub-menu > li:first-child > a { + border-top: 0px !important; +} + +ul.page-sidebar-menu ul.sub-menu > li > a { + font-weight: 400 !important; + color: #2a6496 !important; + margin-left: 4px !important; + margin-right: 4px !important; + margin-bottom: 5px !important; +} + +ul.page-sidebar-menu ul.sub-menu > li.active > a, +ul.page-sidebar-menu ul.sub-menu > li > a:hover { + color: #818181 !important; + background: #ededed !important; +} + +ul.page-sidebar-menu > li > ul.sub-menu a .arrow:before, +ul.page-sidebar-menu > li > ul.sub-menu a .arrow.open:before { + color: #ccc !important; +} + +/* sub menu links effects */ +ul.page-sidebar-menu ul.sub-menu > li.active > a, +ul.page-sidebar-menu ul.sub-menu > li.active > a:hover { + color: #1177CF !important; + background: #dbe6ea !important; +} + +ul.page-sidebar-menu ul.sub-menu > li > a:hover, +ul.page-sidebar-menu ul.sub-menu > li.open > a { + color: #428bca !important; + background: #eaf1f4 !important; +} + +ul.page-sidebar-menu > li > a:hover, +ul.page-sidebar-menu > li.active > a:hover { + background-color: #ecf1f5 !important; + color: #585858; +} +/* sidebar search */ +.page-sidebar .sidebar-search input { + background-color: #f5f5f5 !important; + color: #727272 !important; +} + +.page-sidebar .sidebar-search input::-webkit-input-placeholder { + color: #aaa !important; +} + +.page-sidebar .sidebar-search input:-moz-placeholder { + color: #aaa !important; +} + +.page-sidebar .sidebar-search input:-ms-input-placeholder { + color: #aaa !important; +} + +.page-sidebar .sidebar-search .input-box { + border-bottom: 1px solid #e2e2e2 !important; +} + +.page-sidebar .sidebar-search .submit { + background-image: url(../../image/search-icon-white.png); +} + +/*** +Sidebar toggler +***/ +.sidebar-toggler { + background-image: url(../../image/sidebar-toggler-light.jpg); + background-color: #333; +} + +/* search box bg color on expanded */ +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container { + background-color: #fbfbfb !important; +} + +.page-sidebar-closed .page-sidebar .sidebar-search.open .form-container .remove { + background-image: url("../../image/sidebar-search-close-light.png"); +} + +/* sub menu bg color on hover menu item */ +.page-sidebar-closed ul.page-sidebar-menu > li:hover .sub-menu { + background-color: #f5f5f5; +} + +/*** +Footer +***/ +.footer .footer-inner { + color: #333333; +} + +.footer .footer-tools .go-top { + background-color: #666666; +} + +.footer .footer-tools .go-top:hover { + opacity: 0.7; + filter: alpha(opacity=70); +} + +.footer .footer-tools .go-top i { + color: #999999; +} + +/*** +Footer Layouts (new in v1.3) +***/ +/* begin:fixed footer */ +.page-footer-fixed .footer { + background-color: #434343; +} + +.page-footer-fixed .footer .footer-inner { + color: #aaaaaa; +} + +.page-footer-fixed .footer .footer-tools .go-top { + background-color: #666666; +} + +.page-footer-fixed .footer .footer-tools .go-top i { + color: #aaaaaa; +} + +/* end:fixed footer */ +/*** +Gritter Notifications +***/ +.gritter-top { + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -30px !important; +} + +.gritter-bottom { + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left bottom !important; +} + +.gritter-item { + display: block; + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left -40px !important; +} + +.gritter-close { + background: url(../../thirdparty/gritter/images/gritter.png) no-repeat left top !important; +} + +.gritter-title { + text-shadow: none !important; + /* Not supported by IE :( */ + +} + +/* for the light (white) version of the gritter notice */ +.gritter-light .gritter-item, +.gritter-light .gritter-bottom, +.gritter-light .gritter-top, +.gritter-light .gritter-close { + background-image: url(../../thirdparty/gritter/images/gritter-light.png) !important; +} + +.gritter-item-wrapper a { + color: #18a5ed; +} + +.gritter-item-wrapper a:hover { + color: #0b6694; +} + +/* begin: boxed page */ +@media (min-width: 992px) { + .page-boxed { + background-color: #E8E8E8 !important; + } + + .page-boxed .page-container { + background-color: #f5f5f5; + border-left: 1px solid #e2e2e2; + border-bottom: 1px solid #e2e2e2; + } + + .page-sidebar-reversed.page-boxed .page-container { + border-left: 0; + border-right: 1px solid #e2e2e2; + } + + .page-boxed.page-sidebar-fixed .page-container { + border-left: 0; + border-bottom: 0; + } + + .page-boxed.page-sidebar-fixed .page-sidebar { + border-left: 1px solid #e2e2e2; + } + + .page-boxed.page-sidebar-reversed.page-sidebar-fixed .page-sidebar { + border-right: 1px solid #e2e2e2; + border-left: 0; + } + + .page-boxed.page-sidebar-fixed.page-footer-fixed .footer { + background-color: #E8E8E8 !important; + } + + .page-sidebar-closed .page-sidebar-menu > li > a { + margin-left: 0; + margin-right: 0; + } +} + +/* end: boxed page */ +/*** +Landscape phone to portrait tablet +***/ +@media (max-width: 991px) { + /*** + page sidebar + ***/ + .page-sidebar-closed .page-sidebar-menu > li > a { + margin-left: 0; + margin-right: 0; + } + + .page-sidebar { + background-color: #f1f1f1 !important; + border-right: none !important; + } + + .page-sidebar-fixed .page-sidebar { + border-right: none !important; + } + + .page-content { + border-left: none !important; + } + + ul.page-sidebar-menu > li > a { + border-top: 1px solid #ececec !important; + border-bottom: 1px solid #cccccc !important; + } + + /* ul.page-sidebar-menu > li:last-child > a { + border-bottom: 0 !important; + }*/ + ul.page-sidebar-menu > li.open > a, { + color: #666666 !important; + background-color: #e0e0e0 !important; + } + + /*ul.page-sidebar-menu > li > a:hover { + color: #666666 !important; + background-color: #e7e7e7 !important; + }*/ + ul.page-sidebar-menu > li.open > a { + border-bottom-color: transparent !important; + } + + /* ul.page-sidebar-menu > li.active > a { + color: #ffffff !important; + background-color: #28b779 !important; + }*/ + /*ul.page-sidebar-menu ul.sub-menu > li > a { + color: #111 !important; + }*/ + /*ul.page-sidebar-menu ul.sub-menu > li.active > a{ + color: #000 !important; + background: #dbe6ea !important; */ +} + +/* ul.page-sidebar-menu ul.sub-menu > li.open > a, + ul.page-sidebar-menu ul.sub-menu > li > a:hover { + color: #000 !important; + background: #e7e7e7 !important; + }*/ + +.page-sidebar .sidebar-search input { + background-color: #f1f1f1 !important; + color: #ccc !important; +} + +.page-sidebar .sidebar-search .input-box { + border-bottom-color: #ccc !important; +} + +.page-sidebar .sidebar-search input::-webkit-input-placeholder { + color: #ccc !important; +} + +.page-sidebar .sidebar-search input:-moz-placeholder { + color: #ccc !important; +} + +.page-sidebar .sidebar-search input:-ms-input-placeholder { + color: #ccc !important; +} + +/*** +page footer +***/ + +.footer { + background-color: #434343; +} + +.footer .footer-inner { + color: #cccccc; +} + +.footer .footer-tools .go-top { + background-color: #666666; +} + +.footer .footer-tools .go-top i { + color: #999999; +} + + } + +@media (max-width: 767px) { + body { + background-color: #333333 !important; + } } \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight4_ifrm.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight4_ifrm.css index a4b26729..45ce4810 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight4_ifrm.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight4_ifrm.css @@ -1,209 +1,209 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -ztebluelight4_ifrm theme -***/ -body{ - background-color: white!important; -} -td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -/* button style*/ -.buttonRounded, -.buttonRoundedOver, -.buttonRoundedFocused, -.buttonRoundedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown, -.buttonRoundedSelected, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedDown, -.buttonRoundedSelectedFocusedDown, -.buttonRoundedSelectedOver, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDisabled, -.buttonRoundedSelectedDisabled { - background-color: #47a080; - color: #fff; - border: 0px solid #b15a59; - border-radius: 0px; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - /*padding: 0 3px;*/ - padding-left:7px !important; - padding-right:7px !important; - height:30px !important; -} -.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} -.buttonRoundedOver, -.buttonRoundedFocusedOver, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown { - background-color: #3f9375; - height:30px !important; -} - -.menuButton, -.menuButtonOver, -.menuButtonDown, -.menuButtonDisabled, -.menuButtonFocused, -.menuButtonFocusedDown, -.menuButtonFocusedOver, -.menuButtonSelected, -.menuButtonSelectedDown, -.menuButtonSelectedOver, -.menuButtonSelectedDisabled { - background-color: #47a080; - border: 0px solid #ababab; - color: #fff; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - padding-left: 7px !important; - padding-right: 7px !important; - height:30px !important; -} -.menuButtonOver { - background-color: #3f9375; - } -.menuButtonDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - .buttonTitle, -.buttonTitleOver, -.buttonTitleDown, -.buttonTitleSelected, -.buttonTitleFocused, -.buttonTitleSelectedFocused, -.buttonTitleSelectedOver, -.buttonTitleFocusedOver, -.buttonTitleSelectedFocusedOver, -.buttonTitleSelectedDown, -.buttonTitleFocusedDown, -.buttonTitleSelectedFocusedDown, -.buttonTitleDisabled, -.buttonTitleSelectedDisabled { - color: #fff ; - } - .buttonTitleDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - /* windowBody dialogBody Style */ - .windowBody, -.dialogBody { - background-color: white; - border: 1px solid #47a080; - border-top: 0; -} -.windowHeader, -.dialogHeader { - background-color: #47a080; - padding: 0; -} -/* sectionHeader Style */ -.sectionHeaderopened { - background-color: #47a080; - } - .sectionHeaderclosed { - background-color: #4ca887; - } - -#dt_example h1{ -color:#47a080; -font-weight:600 !important; -} - /*cell style*/ -.tallCellOver, -.tallCellOverDark { - background-color: #d7eae3; - border-bottom: 1px solid #d7eae3; - border-top: 1px solid #d7eae3; - } -.tallCellSelected, -.tallCellSelectedDark { - background: #c7e5da; - border-bottom: 1px solid #c7e5da; - border-top: 1px solid #c7e5da; - } -.tallCellSelectedOver, -.tallCellSelectedOverDark { - background: #c7e5da; - border-bottom: 1px solid #c7e5da; - border-top: 1px solid #c7e5da; - } -.imgHeaderButtonOver, -.imgHeaderButtonDown, -.headerButtonOver, -.headerButtonDown, -.sorterButtonOver, -.sorterButtonDown { - background-color: #a2cfbf; - } -.cellSelected, -.cellSelectedDark, -.specialColSelected, -.recordSummaryCellSelected, -.recordSummaryCellSelectedDark { - background: #c7e5da !important; - border-bottom: 1px solid #c7e5da; - border-top: 1px solid #c7e5da; - } -.cellSelectedOver, -.cellSelectedOverDark, -.specialColSelectedOver, -.recordSummaryCellSelectedOver, -.recordSummaryCellSelectedOverDark { - background: #c7e5da !important; - border-bottom: 1px solid #c7e5da; - border-top: 1px solid #c7e5da; -} -.cellOver, -.cellOverDark, -.specialColOver, -.recordSummaryCellOver, -.recordSummaryCellOverDark { - background: #d7eae3 !important; - border-bottom: 1px solid #d7eae3; - border-top: 1px solid #d7eae3; - } -.treeCellOver, -.treeCellOverDark { - background-color: #d7eae3; -} +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +ztebluelight4_ifrm theme +***/ +body{ + background-color: white!important; +} +td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +/* button style*/ +.buttonRounded, +.buttonRoundedOver, +.buttonRoundedFocused, +.buttonRoundedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown, +.buttonRoundedSelected, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedDown, +.buttonRoundedSelectedFocusedDown, +.buttonRoundedSelectedOver, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDisabled, +.buttonRoundedSelectedDisabled { + background-color: #47a080; + color: #fff; + border: 0px solid #b15a59; + border-radius: 0px; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + /*padding: 0 3px;*/ + padding-left:7px !important; + padding-right:7px !important; + height:30px !important; +} +.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} +.buttonRoundedOver, +.buttonRoundedFocusedOver, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown { + background-color: #3f9375; + height:30px !important; +} + +.menuButton, +.menuButtonOver, +.menuButtonDown, +.menuButtonDisabled, +.menuButtonFocused, +.menuButtonFocusedDown, +.menuButtonFocusedOver, +.menuButtonSelected, +.menuButtonSelectedDown, +.menuButtonSelectedOver, +.menuButtonSelectedDisabled { + background-color: #47a080; + border: 0px solid #ababab; + color: #fff; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + padding-left: 7px !important; + padding-right: 7px !important; + height:30px !important; +} +.menuButtonOver { + background-color: #3f9375; + } +.menuButtonDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + .buttonTitle, +.buttonTitleOver, +.buttonTitleDown, +.buttonTitleSelected, +.buttonTitleFocused, +.buttonTitleSelectedFocused, +.buttonTitleSelectedOver, +.buttonTitleFocusedOver, +.buttonTitleSelectedFocusedOver, +.buttonTitleSelectedDown, +.buttonTitleFocusedDown, +.buttonTitleSelectedFocusedDown, +.buttonTitleDisabled, +.buttonTitleSelectedDisabled { + color: #fff ; + } + .buttonTitleDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + /* windowBody dialogBody Style */ + .windowBody, +.dialogBody { + background-color: white; + border: 1px solid #47a080; + border-top: 0; +} +.windowHeader, +.dialogHeader { + background-color: #47a080; + padding: 0; +} +/* sectionHeader Style */ +.sectionHeaderopened { + background-color: #47a080; + } + .sectionHeaderclosed { + background-color: #4ca887; + } + +#dt_example h1{ +color:#47a080; +font-weight:600 !important; +} + /*cell style*/ +.tallCellOver, +.tallCellOverDark { + background-color: #d7eae3; + border-bottom: 1px solid #d7eae3; + border-top: 1px solid #d7eae3; + } +.tallCellSelected, +.tallCellSelectedDark { + background: #c7e5da; + border-bottom: 1px solid #c7e5da; + border-top: 1px solid #c7e5da; + } +.tallCellSelectedOver, +.tallCellSelectedOverDark { + background: #c7e5da; + border-bottom: 1px solid #c7e5da; + border-top: 1px solid #c7e5da; + } +.imgHeaderButtonOver, +.imgHeaderButtonDown, +.headerButtonOver, +.headerButtonDown, +.sorterButtonOver, +.sorterButtonDown { + background-color: #a2cfbf; + } +.cellSelected, +.cellSelectedDark, +.specialColSelected, +.recordSummaryCellSelected, +.recordSummaryCellSelectedDark { + background: #c7e5da !important; + border-bottom: 1px solid #c7e5da; + border-top: 1px solid #c7e5da; + } +.cellSelectedOver, +.cellSelectedOverDark, +.specialColSelectedOver, +.recordSummaryCellSelectedOver, +.recordSummaryCellSelectedOverDark { + background: #c7e5da !important; + border-bottom: 1px solid #c7e5da; + border-top: 1px solid #c7e5da; +} +.cellOver, +.cellOverDark, +.specialColOver, +.recordSummaryCellOver, +.recordSummaryCellOverDark { + background: #d7eae3 !important; + border-bottom: 1px solid #d7eae3; + border-top: 1px solid #d7eae3; + } +.treeCellOver, +.treeCellOverDark { + background-color: #d7eae3; +} diff --git a/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight_ifrm.css b/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight_ifrm.css index d3d4f208..69f77864 100644 --- a/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight_ifrm.css +++ b/openo-portal/portal-common/src/main/webapp/common/css/themes/ztebluelight_ifrm.css @@ -1,228 +1,228 @@ -/** - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -/*** -ztebluelight_ifrm theme -***/ -body{ - background-color: white!important; -} -td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} -td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ -color:#7083ba; -font-size: 16px; -} - -/* button style*/ -.buttonRounded, -.buttonRoundedOver, -.buttonRoundedFocused, -.buttonRoundedFocusedOver, -.buttonRoundedDown, -.buttonRoundedFocusedDown, -.buttonRoundedSelected, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedDown, -.buttonRoundedSelectedFocusedDown, -.buttonRoundedSelectedOver, -.buttonRoundedSelectedFocusedOver, -.buttonRoundedDisabled, -.buttonRoundedSelectedDisabled { - background-color: #3366cc ; - color: #fff; - border: 0px solid #b15a59; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - /*padding: 0 3px;*/ - padding-left:7px !important; - padding-right:7px !important; - height:30px !important; -} -.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} -.buttonRoundedOver, -.buttonRoundedFocusedOver, -.buttonRoundedSelectedFocused, -.buttonRoundedSelectedFocusedOver , -.buttonRoundedDown, -.buttonRoundedFocusedDown{ - background-color: #6997f5; - height:30px !important; -} - -.menuButton, -.menuButtonOver, -.menuButtonDown, -.menuButtonDisabled, -.menuButtonFocused, -.menuButtonFocusedDown, -.menuButtonFocusedOver, -.menuButtonSelected, -.menuButtonSelectedDown, -.menuButtonSelectedOver, -.menuButtonSelectedDisabled { - background-color: #3366cc; - border: 0px solid #ababab; - color: #fff; - font-family: Arial, Verdana, sans-serif; - font-size: 12px; - padding-left: 7px !important; - padding-right: 7px !important; - height:30px !important; -} -.menuButtonOver { - background-color: #6997f5; - } -.menuButtonDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - .buttonTitle, -.buttonTitleOver, -.buttonTitleDown, -.buttonTitleSelected, -.buttonTitleFocused, -.buttonTitleSelectedFocused, -.buttonTitleSelectedOver, -.buttonTitleFocusedOver, -.buttonTitleSelectedFocusedOver, -.buttonTitleSelectedDown, -.buttonTitleFocusedDown, -.buttonTitleSelectedFocusedDown, -.buttonTitleDisabled, -.buttonTitleSelectedDisabled { - color: #fff ; - } -.buttonTitleDisabled{ - background-color: #f0f0f0; - color: #dadada; - opacity: 1; -} - /* windowBody dialogBody Style */ - .windowBody, -.dialogBody { - background-color: white; - border: 1px solid #b4cef8; - border-top: 0; -} -.windowHeader, -.dialogHeader { - background-color: #3366cc; - padding: 0; -} -/* sectionHeader Style */ -.sectionHeaderopened { - background-color: #3366cc; - } - .sectionHeaderclosed { - background-color: #619bfa; - } - -#dt_example h1{ -color:#3366cc; -font-weight:600 !important; -} -/*cell style*/ -.tallCellOver, -.tallCellOverDark { - background-color: #ffede4; - border-bottom: 1px solid #ffede4; - border-top: 1px solid #ffede4; - } -.tallCellSelected, -.tallCellSelectedDark { - background: #f8dddd; - border-bottom: 1px solid #f8dddd; - border-top: 1px solid #f8dddd; - } -.tallCellSelectedOver, -.tallCellSelectedOverDark { - background: #f8dddd; - border-bottom: 1px solid #f8dddd; - border-top: 1px solid #f8dddd; - } -.imgHeaderButtonOver, -.imgHeaderButtonDown, -.headerButtonOver, -.headerButtonDown, -.sorterButtonOver, -.sorterButtonDown { - background-color: #c4d7e2; -} -.cellSelected, -.cellSelectedDark, -.specialColSelected, -.recordSummaryCellSelected, -.recordSummaryCellSelectedDark { - background: #f8dddd !important; - border-bottom: 1px solid #f8dddd; - border-top: 1px solid #f8dddd; - } -.cellSelectedOver, -.cellSelectedOverDark, -.specialColSelectedOver, -.recordSummaryCellSelectedOver, -.recordSummaryCellSelectedOverDark { - background: #f8dddd !important; - border-bottom: 1px solid #f8dddd; - border-top: 1px solid #f8dddd; -} -.cellOver, -.cellOverDark, -.specialColOver, -.recordSummaryCellOver, -.recordSummaryCellOverDark { - background: #ffede4 !important; - border-bottom: 1px solid #ffede4; - border-top: 1px solid #ffede4; - } -.treeCellOver, -.treeCellOverDark { - background-color: #ffede4; -} -/*日志管理的蓝色大圆角筛选按?/ -.blue { - background-color: #fff; - color:#1991c5; -} -.blue:hover { - background-color: #e8f3fd; - color:#3366cc; -} -.blue.selected{ - border:0; - background-color: #3366cc; - color:#fff; -} -.blue.selected:hover{ - border:0; - background-color: #3366cc; - color:#fff; +/** + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +/*** +ztebluelight_ifrm theme +***/ +body{ + background-color: white!important; +} +td>a>span[class^="ict-"], td>a>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span[class^="ict-"], td>div>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>div>span>span[class^="ict-"], td>div>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} +td>span>span[class^="ict-"], td>span>span[class*=" ict-"]{ +color:#7083ba; +font-size: 16px; +} + +/* button style*/ +.buttonRounded, +.buttonRoundedOver, +.buttonRoundedFocused, +.buttonRoundedFocusedOver, +.buttonRoundedDown, +.buttonRoundedFocusedDown, +.buttonRoundedSelected, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedDown, +.buttonRoundedSelectedFocusedDown, +.buttonRoundedSelectedOver, +.buttonRoundedSelectedFocusedOver, +.buttonRoundedDisabled, +.buttonRoundedSelectedDisabled { + background-color: #3366cc ; + color: #fff; + border: 0px solid #b15a59; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + /*padding: 0 3px;*/ + padding-left:7px !important; + padding-right:7px !important; + height:30px !important; +} +.buttonRoundedDisabled, .buttonRoundedSelectedDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} +.buttonRoundedOver, +.buttonRoundedFocusedOver, +.buttonRoundedSelectedFocused, +.buttonRoundedSelectedFocusedOver , +.buttonRoundedDown, +.buttonRoundedFocusedDown{ + background-color: #6997f5; + height:30px !important; +} + +.menuButton, +.menuButtonOver, +.menuButtonDown, +.menuButtonDisabled, +.menuButtonFocused, +.menuButtonFocusedDown, +.menuButtonFocusedOver, +.menuButtonSelected, +.menuButtonSelectedDown, +.menuButtonSelectedOver, +.menuButtonSelectedDisabled { + background-color: #3366cc; + border: 0px solid #ababab; + color: #fff; + font-family: Arial, Verdana, sans-serif; + font-size: 12px; + padding-left: 7px !important; + padding-right: 7px !important; + height:30px !important; +} +.menuButtonOver { + background-color: #6997f5; + } +.menuButtonDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + .buttonTitle, +.buttonTitleOver, +.buttonTitleDown, +.buttonTitleSelected, +.buttonTitleFocused, +.buttonTitleSelectedFocused, +.buttonTitleSelectedOver, +.buttonTitleFocusedOver, +.buttonTitleSelectedFocusedOver, +.buttonTitleSelectedDown, +.buttonTitleFocusedDown, +.buttonTitleSelectedFocusedDown, +.buttonTitleDisabled, +.buttonTitleSelectedDisabled { + color: #fff ; + } +.buttonTitleDisabled{ + background-color: #f0f0f0; + color: #dadada; + opacity: 1; +} + /* windowBody dialogBody Style */ + .windowBody, +.dialogBody { + background-color: white; + border: 1px solid #b4cef8; + border-top: 0; +} +.windowHeader, +.dialogHeader { + background-color: #3366cc; + padding: 0; +} +/* sectionHeader Style */ +.sectionHeaderopened { + background-color: #3366cc; + } + .sectionHeaderclosed { + background-color: #619bfa; + } + +#dt_example h1{ +color:#3366cc; +font-weight:600 !important; +} +/*cell style*/ +.tallCellOver, +.tallCellOverDark { + background-color: #ffede4; + border-bottom: 1px solid #ffede4; + border-top: 1px solid #ffede4; + } +.tallCellSelected, +.tallCellSelectedDark { + background: #f8dddd; + border-bottom: 1px solid #f8dddd; + border-top: 1px solid #f8dddd; + } +.tallCellSelectedOver, +.tallCellSelectedOverDark { + background: #f8dddd; + border-bottom: 1px solid #f8dddd; + border-top: 1px solid #f8dddd; + } +.imgHeaderButtonOver, +.imgHeaderButtonDown, +.headerButtonOver, +.headerButtonDown, +.sorterButtonOver, +.sorterButtonDown { + background-color: #c4d7e2; +} +.cellSelected, +.cellSelectedDark, +.specialColSelected, +.recordSummaryCellSelected, +.recordSummaryCellSelectedDark { + background: #f8dddd !important; + border-bottom: 1px solid #f8dddd; + border-top: 1px solid #f8dddd; + } +.cellSelectedOver, +.cellSelectedOverDark, +.specialColSelectedOver, +.recordSummaryCellSelectedOver, +.recordSummaryCellSelectedOverDark { + background: #f8dddd !important; + border-bottom: 1px solid #f8dddd; + border-top: 1px solid #f8dddd; +} +.cellOver, +.cellOverDark, +.specialColOver, +.recordSummaryCellOver, +.recordSummaryCellOverDark { + background: #ffede4 !important; + border-bottom: 1px solid #ffede4; + border-top: 1px solid #ffede4; + } +.treeCellOver, +.treeCellOverDark { + background-color: #ffede4; +} +/*日志管理的蓝色大圆角筛选按?/ +.blue { + background-color: #fff; + color:#1991c5; +} +.blue:hover { + background-color: #e8f3fd; + color:#3366cc; +} +.blue.selected{ + border:0; + background-color: #3366cc; + color:#fff; +} +.blue.selected:hover{ + border:0; + background-color: #3366cc; + color:#fff; } \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/default.html b/openo-portal/portal-common/src/main/webapp/common/default.html index dd197cce..6edc058f 100644 --- a/openo-portal/portal-common/src/main/webapp/common/default.html +++ b/openo-portal/portal-common/src/main/webapp/common/default.html @@ -1,174 +1,174 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
- -
-
-
-
-
- - -
-
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+
+
+ + +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/i18n/web-framework-i18n-en-US.properties b/openo-portal/portal-common/src/main/webapp/common/i18n/web-framework-i18n-en-US.properties index 4e311378..12144be3 100644 --- a/openo-portal/portal-common/src/main/webapp/common/i18n/web-framework-i18n-en-US.properties +++ b/openo-portal/portal-common/src/main/webapp/common/i18n/web-framework-i18n-en-US.properties @@ -1,222 +1,222 @@ -# -# Copyright 2016, CMCC Technologies Co., Ltd. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -com_zte_ums_ict_framework_ui_page_title=OPEN-O System -com_zte_ums_ict_framework_ui_main_title=OPEN-O -com_zte_ums_ict_framework_ui_skin_select=Theme Color -com_zte_ums_ict_framework_ui_language=Language -com_zte_ums_ict_framework_ui_language_zhcn=中文 -com_zte_ums_ict_framework_ui_language_en=English -com_zte_ums_ict_framework_ui_skin_layout=Layout -com_zte_ums_ict_framework_ui_layout_fluid=Fluid -com_zte_ums_ict_framework_ui_layout_boxed=Boxed -com_zte_ums_ict_framework_ui_page_head=Header -com_zte_ums_ict_framework_ui_page_fixed=Fixed -com_zte_ums_ict_framework_ui_page_default=Default -com_zte_ums_ict_framework_ui_page_head_fixed=Fixed -com_zte_ums_ict_framework_ui_page_head_default=Default -com_zte_ums_ict_framework_ui_page_sidebar_fixed=Fixed -com_zte_ums_ict_framework_ui_page_sidebar_default=Default -com_zte_ums_ict_framework_ui_side_bar=Sidebar -com_zte_ums_ict_framework_ui_sidebar_location=Sidebar Position -com_zte_ums_ict_framework_ui_navbar_direction=Menu Direction -com_zte_ums_ict_framework_ui_navbar_direction_horizontal=Horizontal -com_zte_ums_ict_framework_ui_navbar_direction_vertical=Vertical -com_zte_ums_ict_framework_ui_navbar_direction_fmenu=Category Navigation -com_zte_ums_ict_framework_ui_keep_top=Top -com_zte_ums_ict_framework_ui_keep_left=Left -com_zte_ums_ict_framework_ui_keep_right=Right -com_zte_ums_ict_framework_ui_page_footer=Footer - -com_zte_ums_ict_framework_ui_basic_info=Basic Information -com_zte_ums_ict_framework_ui_search_value=Search... -com_zte_ums_ict_framework_ui_sidebar_mainPage=Home -com_zte_ums_ict_framework_ui_sidebar_topo=Topology -com_zte_ums_ict_framework_ui_sidebar_resList=Resource Table -com_zte_ums_ict_framework_ui_sidebar_physicTopo=Physical Topology -com_zte_ums_ict_framework_ui_sidebar_linkTopo=Relation Topology -com_zte_ums_ict_framework_ui_sidebar_alarm=Alarm -com_zte_ums_ict_framework_ui_sidebar_alarm_summary=Alarm Summary -com_zte_ums_ict_framework_ui_sidebar_currentAlarm=Active Alarm -com_zte_ums_ict_framework_ui_sidebar_historyAlarm=History Alarm -com_zte_ums_ict_framework_ui_sidebar_notice=Notification -com_zte_ums_ict_framework_ui_sidebar_alarmRule=Alarm Setting -com_zte_ums_ict_framework_ui_sidebar_queryAlarm=Query Alarm -com_zte_ums_ict_framework_ui_sidebar_alarmStat=Alarm Statistic -com_zte_ums_ict_framework_ui_sidebar_alarmSetup=Alarm Setting -com_zte_ums_ict_framework_ui_sidebar_perform=Performance - -com_zte_ums_ict_framework_ui_sidebar_pm_meatask=Measure Management -com_zte_ums_ict_framework_ui_sidebar_index=Index Management -com_zte_ums_ict_framework_ui_sidebar_threshold=Threshold Management - -com_zte_ums_ict_framework_ui_sidebar_historySearch=History Query -com_zte_ums_ict_framework_ui_sidebar_realTimeSearch=Realtime Data Query -com_zte_ums_ict_framework_ui_sidebar_counterAndIndicator=Counter and Index -com_zte_ums_ict_framework_ui_sidebar_measureTaskMang=Measurement Task -com_zte_ums_ict_framework_ui_sidebar_generalTemplateMang=Common Template -com_zte_ums_ict_framework_ui_sidebar_config=Configuration -com_zte_ums_ict_framework_ui_sidebar_itDevMang=IT Resource Management -com_zte_ums_ict_framework_ui_sidebar_ipDevMang=IP Resource Management -com_zte_ums_ict_framework_ui_sidebar_autoFind=Auto Discovery -com_zte_ums_ict_framework_ui_sidebar_pollConfig=Poll Configuration -com_zte_ums_ict_framework_ui_sidebar_smcenter=Security Center -com_zte_ums_ict_framework_ui_sidebar_security=Security -com_zte_ums_ict_framework_ui_sidebar_smGuide=security Entry -com_zte_ums_ict_framework_ui_sidebar_deptMang=Department Management -com_zte_ums_ict_framework_ui_sidebar_userMang=User Management -com_zte_ums_ict_framework_ui_sidebar_roleMang=Role Management -com_zte_ums_ict_framework_ui_sidebar_acccRule=Customize User Account Rule -com_zte_ums_ict_framework_ui_sidebar_roleAndRoleset=Role & Role Set -com_zte_ums_ict_framework_ui_sidebar_role=Role Management -com_zte_ums_ict_framework_ui_sidebar_roleset=Role Set Management -com_zte_ums_ict_framework_ui_sidebar_log=Log -com_zte_ums_ict_framework_ui_sidebar_operationLog=Operation Log -com_zte_ums_ict_framework_ui_sidebar_sysLog=System Log -com_zte_ums_ict_framework_ui_sidebar_securityLog=Security Log -com_zte_ums_ict_framework_ui_sidebar_sysLogMultiTab=System Log(Multi-tab Example) -com_zte_ums_ict_framework_ui_sidebar_operationLogMultiTab=Operation Log(Multi-tab Example) -com_zte_ums_ict_framework_ui_sidebar_system=System -com_zte_ums_ict_framework_ui_sidebar_dataBackup=Backup Data -com_zte_ums_ict_framework_ui_sidebar_fileBackup=Backup Files -com_zte_ums_ict_framework_ui_sidebar_license=License -com_zte_ums_ict_framework_ui_sidebar_sysState=System Status -com_zte_ums_ict_framework_ui_sidebar_SystemMang=System Management - -com_zte_ums_ict_framework_ui_sidebar_monitor=Monitor -com_zte_ums_ict_framework_ui_sidebar_alarmByCell=Active Alarm Statistic by NE -com_zte_ums_ict_framework_ui_sidebar_alarmByCellType=Active Alarm Statistic by NE Type -com_zte_ums_ict_framework_ui_breadcrumbs_moreOper=More Operation -com_zte_ums_ict_framework_ui_sidebar_dbStructBack=DB Struct Backup -com_zte_ums_ict_framework_ui_sidebar_baseDataBack=Base Data Backup -com_zte_ums_ict_framework_ui_sidebar_logDataBackRestore=Log Data Back&Restore -com_zte_ums_ict_framework_ui_sidebar_alarmDataBackRestore=Alarm Data Back&Restore -com_zte_ums_ict_framework_ui_sidebar_dbBack=Database Backup -com_zte_ums_ict_framework_ui_breadcrumbs_ruleSetup=Rule Setup -com_zte_ums_ngict_dashboard=Dashboard - -com_zte_ums_ict_framework_ui_sidebar_levelRedefineSetup=Severity Regrading Setting -com_zte_ums_ict_framework_ui_sidebar_disposeSuggestionSetup=Handing Suggestion Setting -com_zte_ums_ict_framework_ui_sidebar_AlarmBoxSetup=Set Alarm Box -com_zte_ums_ict_framework_ui_sidebar_measureObjectMang=MO Management -com_zte_ums_ict_framework_ui_sidebar_thresholdTaskMang=Threshold Task -com_zte_ums_ict_framework_ui_sidebar_anDevMan=AN Device Management -com_zte_ums_ict_framework_ui_sidebar_cellMang=Cell management -com_zte_ums_ict_framework_ui_sidebar_snmpPing= SNMP Ping -com_zte_ums_ict_framework_ui_sidebar_telnet=Telnet -com_zte_ums_ict_framework_ui_sidebar_workOder=Work Order -com_zte_ums_ict_framework_ui_sidebar_resMang=Resource Management -com_zte_ums_ict_framework_ui_sidebar_SecurityMang=Security Management -com_zte_ums_ict_framework_ui_sidebar_userLockStatus=Show Locked Users -com_zte_ums_ict_framework_ui_sidebar_loginUserMang=Login User Management -com_zte_ums_ict_framework_ui_sidebar_userBlackList=User Blacklist -com_zte_ums_ict_framework_ui_sidebar_operationSet=Operation Set Management -com_zte_ums_ict_framework_ui_sidebar_LogMang=Log Management -com_zte_ums_ict_framework_ui_sidebar_backRestore=Backup and Restore -com_zte_ums_ict_framework_ui_sidebar_dbStructBack=Backup Whole DB Structure -com_zte_ums_ict_framework_ui_sidebar_baseDataBack=Backup Basic Data -com_zte_ums_ict_framework_ui_sidebar_logDataBackRestore=Log Data Backup and Restore -com_zte_ums_ict_framework_ui_sidebar_alarmDataBackRestore=Alarm Data Backup and Restore -com_zte_ums_ict_framework_ui_loading=loading...... -com_zte_ums_ict_framework_ui_searching=searching...... -com_zte_ums_ict_framework_ui_clickTooFast=You click on too fast, please wait for a while to click the menu, thank you! -com_zte_ums_ict_framework_ui_loadmenuerror=loading menu failed. -com_zte_ums_ict_framework_ui_confirmlogout=Do you confirm to logout? -com_zte_ums_aos_framework_ui_heartbeat_fail=The session is invalidated. -com_zte_ums_ict_framework_ui_fixedsidedefaultheaderError=Default Header with Fixed Sidebar option is not supported. Proceed with Fixed Header with Fixed Sidebar. -com_zte_ums_ict_framework_ui_fixedsiderightpositionError=Fixed Sidebar with right position is not supported. Set Sidebar as default. -com_zte_ums_ict_framework_ui_loadchgpwdpageError=loading change password page failed. -com_zte_ums_ict_framework_ui_searchmessage=The {0} keyword search results as follows: -com_zte_ums_ict_framework_ui_month=January,February,March,April,May,June,July,August,September,October,November,December -com_zte_ums_ict_framework_ui_customdate=Custom date -com_zte_ums_ict_framework_ui_from=From -com_zte_ums_ict_framework_ui_to=To -com_zte_ums_ict_framework_ui_apply=Apply -com_zte_ums_ict_framework_ui_today=Today -com_zte_ums_ict_framework_ui_yestoday=Yestoday -com_zte_ums_ict_framework_ui_lastdays=Last {0} days -com_zte_ums_ict_framework_ui_thismonth=This month -com_zte_ums_ict_framework_ui_lastmonth=Last month - -com_zte_ums_ict_framework_ui_group_about=About -com_zte_ums_ict_framework_ui_group_logout=Logout -com_zte_ums_ict_framework_ui_changePwd=Change Password -com_zte_ums_ict_framework_ui_group_fullscreen=Full Screen -com_zte_ums_ict_framework_ui_group_exitfullscreen=Exit Full Screen -com_zte_ums_ict_framework_moudle_help = Help -com_zte_ums_ict_framework_moudle_menutoggler=More - - -com_zte_ums_ict_alarmcount_total_label = Total:{0} -com_zte_ums_ict_alarmcount_critical_label = Critical:{0} -com_zte_ums_ict_alarmcount_critical_text = Critical Alarm -com_zte_ums_ict_alarmcount_major_label = Major:{0} -com_zte_ums_ict_alarmcount_major_text = Major Alarm -com_zte_ums_ict_alarmcount_minor_label = Minor:{0} -com_zte_ums_ict_alarmcount_minor_text = Minor Alarm -com_zte_ums_ict_alarmcount_warning_label = Warning:{0} -com_zte_ums_ict_alarmcount_warning_text = Warning Alarm -com_zte_ums_ict_alarmcount_none_label=No alarm Now! -com_zte_ums_ict_alarmcount_total_after_text = ,Now!" -com_zte_ums_ict_alarmcount_total_before_text =Total Alarm Number: - -com_zte_ums_ict_framework_ui_sidebar_performMonitor=Perform Monitor -com_zte_ums_ict_framework_ui_sidebar_resource=Resource -com_zte_ums_ict_framework_ui_sidebar_manualAdd=Manual Add -com_zte_ums_ict_framework_ui_sidebar_gisTopo=GIS Topo - - -com_zte_ums_ict_framework_ui_sidebar_userDispatch=User Dispatch -com_zte_ums_ict_framework_ui_sidebar_roleCollect=Role Collection - -com_zte_ums_ict_sm_user_op_ok=Operation succeeded. -com_zte_ums_ict_sm_user_close_button=Close -com_zte_ums_ict_sm_user_confirm=OK -com_zte_ums_ict_sm_user_ok=OK -com_zte_ums_ict_sm_user_modify_current_password_label=      User Password Set -com_zte_ums_ict_sm_user_modify_current_password=User Password Set -com_zte_ums_ict_sm_user_old_password=Old Password -com_zte_ums_ict_sm_user_confirmpassword=Confirm New Password -com_zte_ums_ict_sm_user_cancel_button=Cancel -com_zte_ums_ict_sm_user_password=New Password -com_zte_ums_ict_sm_password_confirm_not_consistent = The New Password and the Confirm New Password are inconsistent. -com_zte_ums_ict_sm_user_inputoldpwd=Please input old password -com_zte_ums_ict_sm_user_inputnewpwd=Please input new password -com_zte_ums_ict_sm_user_inputnewpwdagain=Please input new password again -com_zte_ums_ict_portal_chgpwd_oldpwdError=Old password error -com_zte_ums_ict_login_inputname=Please input user name -com_zte_ums_ict_login_inputpwd=Please input user password - -com_zte_ums_ict_framework_ui_ztebluelight=ZTE Blue Light -com_zte_ums_ict_framework_ui_zteblue=ZTE Blue -com_zte_ums_ict_framework_ui_blue=Blue - -com_zte_ums_ict_about_ppu_field_name =Name -com_zte_ums_ict_about_ppu_field_version = Version -com_zte_ums_ict_about_ppu_field_desc = Description -com_zte_ums_ict_about_ppu_field_time = Update Time -com_zte_ums_ict_framework_moudle_about = About -com_zte_ums_ict_framework_about_detail = Info -com_zte_ums_ict_framework_about_version=Version: -com_zte_ums_ict_portal_login_companyName=2014 @; ZTE - Corporation - -com_zte_ums_ict_framework_main_page_dashboard=Dashboard -com_zte_ums_ict_framework_main_page_monitor=Monitor -com_zte_ums_ict_framework_main_page_alarm=Alarm -com_zte_ums_ict_framework_main_page_performance=Performance -com_zte_ums_ict_framework_main_page_security=Security -com_zte_ums_ict_framework_main_page_log=Log +# +# Copyright 2016, CMCC Technologies Co., Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +com_zte_ums_ict_framework_ui_page_title=OPEN-O System +com_zte_ums_ict_framework_ui_main_title=OPEN-O +com_zte_ums_ict_framework_ui_skin_select=Theme Color +com_zte_ums_ict_framework_ui_language=Language +com_zte_ums_ict_framework_ui_language_zhcn=中文 +com_zte_ums_ict_framework_ui_language_en=English +com_zte_ums_ict_framework_ui_skin_layout=Layout +com_zte_ums_ict_framework_ui_layout_fluid=Fluid +com_zte_ums_ict_framework_ui_layout_boxed=Boxed +com_zte_ums_ict_framework_ui_page_head=Header +com_zte_ums_ict_framework_ui_page_fixed=Fixed +com_zte_ums_ict_framework_ui_page_default=Default +com_zte_ums_ict_framework_ui_page_head_fixed=Fixed +com_zte_ums_ict_framework_ui_page_head_default=Default +com_zte_ums_ict_framework_ui_page_sidebar_fixed=Fixed +com_zte_ums_ict_framework_ui_page_sidebar_default=Default +com_zte_ums_ict_framework_ui_side_bar=Sidebar +com_zte_ums_ict_framework_ui_sidebar_location=Sidebar Position +com_zte_ums_ict_framework_ui_navbar_direction=Menu Direction +com_zte_ums_ict_framework_ui_navbar_direction_horizontal=Horizontal +com_zte_ums_ict_framework_ui_navbar_direction_vertical=Vertical +com_zte_ums_ict_framework_ui_navbar_direction_fmenu=Category Navigation +com_zte_ums_ict_framework_ui_keep_top=Top +com_zte_ums_ict_framework_ui_keep_left=Left +com_zte_ums_ict_framework_ui_keep_right=Right +com_zte_ums_ict_framework_ui_page_footer=Footer + +com_zte_ums_ict_framework_ui_basic_info=Basic Information +com_zte_ums_ict_framework_ui_search_value=Search... +com_zte_ums_ict_framework_ui_sidebar_mainPage=Home +com_zte_ums_ict_framework_ui_sidebar_topo=Topology +com_zte_ums_ict_framework_ui_sidebar_resList=Resource Table +com_zte_ums_ict_framework_ui_sidebar_physicTopo=Physical Topology +com_zte_ums_ict_framework_ui_sidebar_linkTopo=Relation Topology +com_zte_ums_ict_framework_ui_sidebar_alarm=Alarm +com_zte_ums_ict_framework_ui_sidebar_alarm_summary=Alarm Summary +com_zte_ums_ict_framework_ui_sidebar_currentAlarm=Active Alarm +com_zte_ums_ict_framework_ui_sidebar_historyAlarm=History Alarm +com_zte_ums_ict_framework_ui_sidebar_notice=Notification +com_zte_ums_ict_framework_ui_sidebar_alarmRule=Alarm Setting +com_zte_ums_ict_framework_ui_sidebar_queryAlarm=Query Alarm +com_zte_ums_ict_framework_ui_sidebar_alarmStat=Alarm Statistic +com_zte_ums_ict_framework_ui_sidebar_alarmSetup=Alarm Setting +com_zte_ums_ict_framework_ui_sidebar_perform=Performance + +com_zte_ums_ict_framework_ui_sidebar_pm_meatask=Measure Management +com_zte_ums_ict_framework_ui_sidebar_index=Index Management +com_zte_ums_ict_framework_ui_sidebar_threshold=Threshold Management + +com_zte_ums_ict_framework_ui_sidebar_historySearch=History Query +com_zte_ums_ict_framework_ui_sidebar_realTimeSearch=Realtime Data Query +com_zte_ums_ict_framework_ui_sidebar_counterAndIndicator=Counter and Index +com_zte_ums_ict_framework_ui_sidebar_measureTaskMang=Measurement Task +com_zte_ums_ict_framework_ui_sidebar_generalTemplateMang=Common Template +com_zte_ums_ict_framework_ui_sidebar_config=Configuration +com_zte_ums_ict_framework_ui_sidebar_itDevMang=IT Resource Management +com_zte_ums_ict_framework_ui_sidebar_ipDevMang=IP Resource Management +com_zte_ums_ict_framework_ui_sidebar_autoFind=Auto Discovery +com_zte_ums_ict_framework_ui_sidebar_pollConfig=Poll Configuration +com_zte_ums_ict_framework_ui_sidebar_smcenter=Security Center +com_zte_ums_ict_framework_ui_sidebar_security=Security +com_zte_ums_ict_framework_ui_sidebar_smGuide=security Entry +com_zte_ums_ict_framework_ui_sidebar_deptMang=Department Management +com_zte_ums_ict_framework_ui_sidebar_userMang=User Management +com_zte_ums_ict_framework_ui_sidebar_roleMang=Role Management +com_zte_ums_ict_framework_ui_sidebar_acccRule=Customize User Account Rule +com_zte_ums_ict_framework_ui_sidebar_roleAndRoleset=Role & Role Set +com_zte_ums_ict_framework_ui_sidebar_role=Role Management +com_zte_ums_ict_framework_ui_sidebar_roleset=Role Set Management +com_zte_ums_ict_framework_ui_sidebar_log=Log +com_zte_ums_ict_framework_ui_sidebar_operationLog=Operation Log +com_zte_ums_ict_framework_ui_sidebar_sysLog=System Log +com_zte_ums_ict_framework_ui_sidebar_securityLog=Security Log +com_zte_ums_ict_framework_ui_sidebar_sysLogMultiTab=System Log(Multi-tab Example) +com_zte_ums_ict_framework_ui_sidebar_operationLogMultiTab=Operation Log(Multi-tab Example) +com_zte_ums_ict_framework_ui_sidebar_system=System +com_zte_ums_ict_framework_ui_sidebar_dataBackup=Backup Data +com_zte_ums_ict_framework_ui_sidebar_fileBackup=Backup Files +com_zte_ums_ict_framework_ui_sidebar_license=License +com_zte_ums_ict_framework_ui_sidebar_sysState=System Status +com_zte_ums_ict_framework_ui_sidebar_SystemMang=System Management + +com_zte_ums_ict_framework_ui_sidebar_monitor=Monitor +com_zte_ums_ict_framework_ui_sidebar_alarmByCell=Active Alarm Statistic by NE +com_zte_ums_ict_framework_ui_sidebar_alarmByCellType=Active Alarm Statistic by NE Type +com_zte_ums_ict_framework_ui_breadcrumbs_moreOper=More Operation +com_zte_ums_ict_framework_ui_sidebar_dbStructBack=DB Struct Backup +com_zte_ums_ict_framework_ui_sidebar_baseDataBack=Base Data Backup +com_zte_ums_ict_framework_ui_sidebar_logDataBackRestore=Log Data Back&Restore +com_zte_ums_ict_framework_ui_sidebar_alarmDataBackRestore=Alarm Data Back&Restore +com_zte_ums_ict_framework_ui_sidebar_dbBack=Database Backup +com_zte_ums_ict_framework_ui_breadcrumbs_ruleSetup=Rule Setup +com_zte_ums_ngict_dashboard=Dashboard + +com_zte_ums_ict_framework_ui_sidebar_levelRedefineSetup=Severity Regrading Setting +com_zte_ums_ict_framework_ui_sidebar_disposeSuggestionSetup=Handing Suggestion Setting +com_zte_ums_ict_framework_ui_sidebar_AlarmBoxSetup=Set Alarm Box +com_zte_ums_ict_framework_ui_sidebar_measureObjectMang=MO Management +com_zte_ums_ict_framework_ui_sidebar_thresholdTaskMang=Threshold Task +com_zte_ums_ict_framework_ui_sidebar_anDevMan=AN Device Management +com_zte_ums_ict_framework_ui_sidebar_cellMang=Cell management +com_zte_ums_ict_framework_ui_sidebar_snmpPing= SNMP Ping +com_zte_ums_ict_framework_ui_sidebar_telnet=Telnet +com_zte_ums_ict_framework_ui_sidebar_workOder=Work Order +com_zte_ums_ict_framework_ui_sidebar_resMang=Resource Management +com_zte_ums_ict_framework_ui_sidebar_SecurityMang=Security Management +com_zte_ums_ict_framework_ui_sidebar_userLockStatus=Show Locked Users +com_zte_ums_ict_framework_ui_sidebar_loginUserMang=Login User Management +com_zte_ums_ict_framework_ui_sidebar_userBlackList=User Blacklist +com_zte_ums_ict_framework_ui_sidebar_operationSet=Operation Set Management +com_zte_ums_ict_framework_ui_sidebar_LogMang=Log Management +com_zte_ums_ict_framework_ui_sidebar_backRestore=Backup and Restore +com_zte_ums_ict_framework_ui_sidebar_dbStructBack=Backup Whole DB Structure +com_zte_ums_ict_framework_ui_sidebar_baseDataBack=Backup Basic Data +com_zte_ums_ict_framework_ui_sidebar_logDataBackRestore=Log Data Backup and Restore +com_zte_ums_ict_framework_ui_sidebar_alarmDataBackRestore=Alarm Data Backup and Restore +com_zte_ums_ict_framework_ui_loading=loading...... +com_zte_ums_ict_framework_ui_searching=searching...... +com_zte_ums_ict_framework_ui_clickTooFast=You click on too fast, please wait for a while to click the menu, thank you! +com_zte_ums_ict_framework_ui_loadmenuerror=loading menu failed. +com_zte_ums_ict_framework_ui_confirmlogout=Do you confirm to logout? +com_zte_ums_aos_framework_ui_heartbeat_fail=The session is invalidated. +com_zte_ums_ict_framework_ui_fixedsidedefaultheaderError=Default Header with Fixed Sidebar option is not supported. Proceed with Fixed Header with Fixed Sidebar. +com_zte_ums_ict_framework_ui_fixedsiderightpositionError=Fixed Sidebar with right position is not supported. Set Sidebar as default. +com_zte_ums_ict_framework_ui_loadchgpwdpageError=loading change password page failed. +com_zte_ums_ict_framework_ui_searchmessage=The {0} keyword search results as follows: +com_zte_ums_ict_framework_ui_month=January,February,March,April,May,June,July,August,September,October,November,December +com_zte_ums_ict_framework_ui_customdate=Custom date +com_zte_ums_ict_framework_ui_from=From +com_zte_ums_ict_framework_ui_to=To +com_zte_ums_ict_framework_ui_apply=Apply +com_zte_ums_ict_framework_ui_today=Today +com_zte_ums_ict_framework_ui_yestoday=Yestoday +com_zte_ums_ict_framework_ui_lastdays=Last {0} days +com_zte_ums_ict_framework_ui_thismonth=This month +com_zte_ums_ict_framework_ui_lastmonth=Last month + +com_zte_ums_ict_framework_ui_group_about=About +com_zte_ums_ict_framework_ui_group_logout=Logout +com_zte_ums_ict_framework_ui_changePwd=Change Password +com_zte_ums_ict_framework_ui_group_fullscreen=Full Screen +com_zte_ums_ict_framework_ui_group_exitfullscreen=Exit Full Screen +com_zte_ums_ict_framework_moudle_help = Help +com_zte_ums_ict_framework_moudle_menutoggler=More + + +com_zte_ums_ict_alarmcount_total_label = Total:{0} +com_zte_ums_ict_alarmcount_critical_label = Critical:{0} +com_zte_ums_ict_alarmcount_critical_text = Critical Alarm +com_zte_ums_ict_alarmcount_major_label = Major:{0} +com_zte_ums_ict_alarmcount_major_text = Major Alarm +com_zte_ums_ict_alarmcount_minor_label = Minor:{0} +com_zte_ums_ict_alarmcount_minor_text = Minor Alarm +com_zte_ums_ict_alarmcount_warning_label = Warning:{0} +com_zte_ums_ict_alarmcount_warning_text = Warning Alarm +com_zte_ums_ict_alarmcount_none_label=No alarm Now! +com_zte_ums_ict_alarmcount_total_after_text = ,Now!" +com_zte_ums_ict_alarmcount_total_before_text =Total Alarm Number: + +com_zte_ums_ict_framework_ui_sidebar_performMonitor=Perform Monitor +com_zte_ums_ict_framework_ui_sidebar_resource=Resource +com_zte_ums_ict_framework_ui_sidebar_manualAdd=Manual Add +com_zte_ums_ict_framework_ui_sidebar_gisTopo=GIS Topo + + +com_zte_ums_ict_framework_ui_sidebar_userDispatch=User Dispatch +com_zte_ums_ict_framework_ui_sidebar_roleCollect=Role Collection + +com_zte_ums_ict_sm_user_op_ok=Operation succeeded. +com_zte_ums_ict_sm_user_close_button=Close +com_zte_ums_ict_sm_user_confirm=OK +com_zte_ums_ict_sm_user_ok=OK +com_zte_ums_ict_sm_user_modify_current_password_label=      User Password Set +com_zte_ums_ict_sm_user_modify_current_password=User Password Set +com_zte_ums_ict_sm_user_old_password=Old Password +com_zte_ums_ict_sm_user_confirmpassword=Confirm New Password +com_zte_ums_ict_sm_user_cancel_button=Cancel +com_zte_ums_ict_sm_user_password=New Password +com_zte_ums_ict_sm_password_confirm_not_consistent = The New Password and the Confirm New Password are inconsistent. +com_zte_ums_ict_sm_user_inputoldpwd=Please input old password +com_zte_ums_ict_sm_user_inputnewpwd=Please input new password +com_zte_ums_ict_sm_user_inputnewpwdagain=Please input new password again +com_zte_ums_ict_portal_chgpwd_oldpwdError=Old password error +com_zte_ums_ict_login_inputname=Please input user name +com_zte_ums_ict_login_inputpwd=Please input user password + +com_zte_ums_ict_framework_ui_ztebluelight=ZTE Blue Light +com_zte_ums_ict_framework_ui_zteblue=ZTE Blue +com_zte_ums_ict_framework_ui_blue=Blue + +com_zte_ums_ict_about_ppu_field_name =Name +com_zte_ums_ict_about_ppu_field_version = Version +com_zte_ums_ict_about_ppu_field_desc = Description +com_zte_ums_ict_about_ppu_field_time = Update Time +com_zte_ums_ict_framework_moudle_about = About +com_zte_ums_ict_framework_about_detail = Info +com_zte_ums_ict_framework_about_version=Version: +com_zte_ums_ict_portal_login_companyName=2014 @; ZTE - Corporation + +com_zte_ums_ict_framework_main_page_dashboard=Dashboard +com_zte_ums_ict_framework_main_page_monitor=Monitor +com_zte_ums_ict_framework_main_page_alarm=Alarm +com_zte_ums_ict_framework_main_page_performance=Performance +com_zte_ums_ict_framework_main_page_security=Security +com_zte_ums_ict_framework_main_page_log=Log com_zte_ums_ict_framework_main_page_system=System \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/i18n/web-framework-login-i18n-en-US.properties b/openo-portal/portal-common/src/main/webapp/common/i18n/web-framework-login-i18n-en-US.properties index dc9f9c70..ce865a63 100644 --- a/openo-portal/portal-common/src/main/webapp/common/i18n/web-framework-login-i18n-en-US.properties +++ b/openo-portal/portal-common/src/main/webapp/common/i18n/web-framework-login-i18n-en-US.properties @@ -1,25 +1,25 @@ -# -# Copyright 2016, CMCC Technologies Co., Ltd. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -openo_login_title=OPEN-O System -openo_login_welcome=Welcome -openo_login_userPasswordError=User name or password is not available. -openo_login_connectError=System error occurred. -openo_input_userName=Please Input User Name -openo_input_password=Please Input Password -openo_login_rememberMe=Remember Me -openo_login_username=Username: -openo_login_password=Password: -openo_login_login=Login +# +# Copyright 2016, CMCC Technologies Co., Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +openo_login_title=OPEN-O System +openo_login_welcome=Welcome +openo_login_userPasswordError=User name or password is not available. +openo_login_connectError=System error occurred. +openo_input_userName=Please Input User Name +openo_input_password=Please Input Password +openo_login_rememberMe=Remember Me +openo_login_username=Username: +openo_login_password=Password: +openo_login_login=Login diff --git a/openo-portal/portal-common/src/main/webapp/common/i18n/web-framework-mainPage-i18n-en-US.properties b/openo-portal/portal-common/src/main/webapp/common/i18n/web-framework-mainPage-i18n-en-US.properties index 4c1ede27..ade62e3d 100644 --- a/openo-portal/portal-common/src/main/webapp/common/i18n/web-framework-mainPage-i18n-en-US.properties +++ b/openo-portal/portal-common/src/main/webapp/common/i18n/web-framework-mainPage-i18n-en-US.properties @@ -1,24 +1,24 @@ -# -# Copyright 2016, CMCC Technologies Co., Ltd. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -openo_main_page_title=OPEN-O System -org_openo_orchestrator_framework_main_page_service=Service -org_openo_orchestrator_framework_main_page_cloud=Cloud -org_openo_orchestrator_framework_main_page_orchestrator=Orchestrator -org_openo_orchestrator_framework_main_page_monitor=Monitor -org_openo_orchestrator_framework_main_page_resource=Resource -org_openo_orchestrator_framework_main_page_design=Design -org_openo_orchestrator_framework_main_page_alarm=Alarm -org_openo_orchestrator_framework_main_page_performance=Performance +# +# Copyright 2016, CMCC Technologies Co., Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +openo_main_page_title=OPEN-O System +org_openo_orchestrator_framework_main_page_service=Service +org_openo_orchestrator_framework_main_page_cloud=Cloud +org_openo_orchestrator_framework_main_page_orchestrator=Orchestrator +org_openo_orchestrator_framework_main_page_monitor=Monitor +org_openo_orchestrator_framework_main_page_resource=Resource +org_openo_orchestrator_framework_main_page_design=Design +org_openo_orchestrator_framework_main_page_alarm=Alarm +org_openo_orchestrator_framework_main_page_performance=Performance diff --git a/openo-portal/portal-common/src/main/webapp/common/i18n/web-framework-menu-i18n-en-US.properties b/openo-portal/portal-common/src/main/webapp/common/i18n/web-framework-menu-i18n-en-US.properties index 24e14556..0e431f6d 100644 --- a/openo-portal/portal-common/src/main/webapp/common/i18n/web-framework-menu-i18n-en-US.properties +++ b/openo-portal/portal-common/src/main/webapp/common/i18n/web-framework-menu-i18n-en-US.properties @@ -1,41 +1,41 @@ -# -# Copyright 2016, CMCC Technologies Co., Ltd. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -openo_menu_service=Service -openo_menu_service_service_management=Service Management -openo_menu_orchestrator=Orchestrator -openo_menu_orchestrator_model_design=Model Design -openo_menu_orchestrator_node_type=Node Type -openo_menu_orchestrator_package=Package -openo_menu_orchestrator_service_template=Service Template -openo_menu_orchestrator_host_image=Host Image -openo_menu_orchestrator_lifecycle=Lifecycle -openo_menu_resource_mgr=Resource Mgr -openo_menu_resource_mgr_sdno=Resource Mgr sdno -openo_menu_resource_mgr_nfvo=Resource Mgr Nfvo -openo_menu_user=User -openo_menu_user_user_management=User Management -openo_menu_topology=Topology -openo_menu_topology_physical_topology=Physical Topology -openo_menu_topology_service_topology=Service Topology -openo_menu_performance=Performance -openo_menu_performance_performance_query=Performance Query -openo_menu_alarm_alarm_query=Alarm Query -openo_menu_manage_view=Manage View -openo_menu_manage_view_vim_manage=VIM Manage -openo_menu_manage_view_vnfm=VNFM -openo_menu_manage_view_sdn_controller=SDN Controller -openo_menu_monitor=Monitor -openo_menu_monitor_parameter_setting=Parameter Setting +# +# Copyright 2016, CMCC Technologies Co., Ltd. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +openo_menu_service=Service +openo_menu_service_service_management=Service Management +openo_menu_orchestrator=Orchestrator +openo_menu_orchestrator_model_design=Model Design +openo_menu_orchestrator_node_type=Node Type +openo_menu_orchestrator_package=Package +openo_menu_orchestrator_service_template=Service Template +openo_menu_orchestrator_host_image=Host Image +openo_menu_orchestrator_lifecycle=Lifecycle +openo_menu_resource_mgr=Resource Mgr +openo_menu_resource_mgr_sdno=Resource Mgr sdno +openo_menu_resource_mgr_nfvo=Resource Mgr Nfvo +openo_menu_user=User +openo_menu_user_user_management=User Management +openo_menu_topology=Topology +openo_menu_topology_physical_topology=Physical Topology +openo_menu_topology_service_topology=Service Topology +openo_menu_performance=Performance +openo_menu_performance_performance_query=Performance Query +openo_menu_alarm_alarm_query=Alarm Query +openo_menu_manage_view=Manage View +openo_menu_manage_view_vim_manage=VIM Manage +openo_menu_manage_view_vnfm=VNFM +openo_menu_manage_view_sdn_controller=SDN Controller +openo_menu_monitor=Monitor +openo_menu_monitor_parameter_setting=Parameter Setting diff --git a/openo-portal/portal-common/src/main/webapp/common/image/License.txt b/openo-portal/portal-common/src/main/webapp/common/image/License.txt index 8e698ecb..d1ce787a 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/License.txt +++ b/openo-portal/portal-common/src/main/webapp/common/image/License.txt @@ -1,362 +1,362 @@ -THIS LICENSE FILE CONTAINS THE LICENSE APPLICABLE DEPENDING ON THE TYPE OF CONTRIBUTIONS. - -APACHE LICENSE 2 IS APPLICABLE FOR SOURCE CODE, CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL FOR DOCUMENTATION - -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - - -Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - -2. Grant of Copyright License. - -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. - -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. - -You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - -You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. - -5. Submission of Contributions. - -Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. - -This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. - -Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. - -In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. - -While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS - -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - -Attribution 4.0 International - -https://creativecommons.org/licenses/by/4.0/legalcode - -Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees -Creative Commons Attribution 4.0 International Public License - -By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - c. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - d. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - e. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - f. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - g. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - h. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - i. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - j. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - k. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - -Section 2 -- Scope. - - a. License grant. - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - a. reproduce and Share the Licensed Material, in whole or - in part; and - b. produce, reproduce, and Share Adapted Material. - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - 3. Term. The term of this Public License is specified in Section - 6(a). - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - 5. Downstream recipients. - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - b. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - b. Other rights. - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - 2. Patent and trademark rights are not licensed under this - Public License. - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties. - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the following conditions. - - a. Attribution. - 1. If You Share the Licensed Material (including in modified - form), You must: - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - ii. a copyright notice; - iii. a notice that refers to this Public License; - iv. a notice that refers to the disclaimer of - warranties; - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - 4. If You Share Adapted Material You produce, the Adapter's - License You apply must not prevent recipients of the Adapted - Material from complying with this Public License. - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database; - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material; and - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. -For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - 2. upon express reinstatement by the Licensor. - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. -Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the "Licensor." The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark "Creative Commons" or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. - +THIS LICENSE FILE CONTAINS THE LICENSE APPLICABLE DEPENDING ON THE TYPE OF CONTRIBUTIONS. + +APACHE LICENSE 2 IS APPLICABLE FOR SOURCE CODE, CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL FOR DOCUMENTATION + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + + +Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. + +Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. + +Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. + +You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + +You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. + +Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. + +This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. + +Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. + +In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. + +While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + +Attribution 4.0 International + +https://creativecommons.org/licenses/by/4.0/legalcode + +Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees +Creative Commons Attribution 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + c. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + d. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + e. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + f. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + g. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + h. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + i. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + j. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + k. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + +Section 2 -- Scope. + + a. License grant. + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + a. reproduce and Share the Licensed Material, in whole or + in part; and + b. produce, reproduce, and Share Adapted Material. + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + 3. Term. The term of this Public License is specified in Section + 6(a). + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + 5. Downstream recipients. + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + b. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + b. Other rights. + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + 2. Patent and trademark rights are not licensed under this + Public License. + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + + a. Attribution. + 1. If You Share the Licensed Material (including in modified + form), You must: + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + ii. a copyright notice; + iii. a notice that refers to this Public License; + iv. a notice that refers to the disclaimer of + warranties; + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + 4. If You Share Adapted Material You produce, the Adapter's + License You apply must not prevent recipients of the Adapted + Material from complying with this Public License. + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material; and + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. +For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + 2. upon express reinstatement by the Licensor. + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. +Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the "Licensor." The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark "Creative Commons" or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. + Creative Commons may be contacted at creativecommons.org. \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/image/about/License.txt b/openo-portal/portal-common/src/main/webapp/common/image/about/License.txt index 8e698ecb..d1ce787a 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/about/License.txt +++ b/openo-portal/portal-common/src/main/webapp/common/image/about/License.txt @@ -1,362 +1,362 @@ -THIS LICENSE FILE CONTAINS THE LICENSE APPLICABLE DEPENDING ON THE TYPE OF CONTRIBUTIONS. - -APACHE LICENSE 2 IS APPLICABLE FOR SOURCE CODE, CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL FOR DOCUMENTATION - -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - - -Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - -2. Grant of Copyright License. - -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. - -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. - -You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - -You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. - -5. Submission of Contributions. - -Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. - -This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. - -Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. - -In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. - -While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS - -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - -Attribution 4.0 International - -https://creativecommons.org/licenses/by/4.0/legalcode - -Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees -Creative Commons Attribution 4.0 International Public License - -By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - c. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - d. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - e. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - f. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - g. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - h. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - i. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - j. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - k. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - -Section 2 -- Scope. - - a. License grant. - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - a. reproduce and Share the Licensed Material, in whole or - in part; and - b. produce, reproduce, and Share Adapted Material. - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - 3. Term. The term of this Public License is specified in Section - 6(a). - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - 5. Downstream recipients. - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - b. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - b. Other rights. - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - 2. Patent and trademark rights are not licensed under this - Public License. - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties. - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the following conditions. - - a. Attribution. - 1. If You Share the Licensed Material (including in modified - form), You must: - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - ii. a copyright notice; - iii. a notice that refers to this Public License; - iv. a notice that refers to the disclaimer of - warranties; - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - 4. If You Share Adapted Material You produce, the Adapter's - License You apply must not prevent recipients of the Adapted - Material from complying with this Public License. - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database; - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material; and - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. -For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - 2. upon express reinstatement by the Licensor. - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. -Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the "Licensor." The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark "Creative Commons" or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. - +THIS LICENSE FILE CONTAINS THE LICENSE APPLICABLE DEPENDING ON THE TYPE OF CONTRIBUTIONS. + +APACHE LICENSE 2 IS APPLICABLE FOR SOURCE CODE, CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL FOR DOCUMENTATION + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + + +Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. + +Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. + +Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. + +You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + +You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. + +Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. + +This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. + +Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. + +In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. + +While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + +Attribution 4.0 International + +https://creativecommons.org/licenses/by/4.0/legalcode + +Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees +Creative Commons Attribution 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + c. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + d. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + e. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + f. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + g. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + h. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + i. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + j. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + k. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + +Section 2 -- Scope. + + a. License grant. + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + a. reproduce and Share the Licensed Material, in whole or + in part; and + b. produce, reproduce, and Share Adapted Material. + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + 3. Term. The term of this Public License is specified in Section + 6(a). + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + 5. Downstream recipients. + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + b. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + b. Other rights. + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + 2. Patent and trademark rights are not licensed under this + Public License. + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + + a. Attribution. + 1. If You Share the Licensed Material (including in modified + form), You must: + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + ii. a copyright notice; + iii. a notice that refers to this Public License; + iv. a notice that refers to the disclaimer of + warranties; + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + 4. If You Share Adapted Material You produce, the Adapter's + License You apply must not prevent recipients of the Adapted + Material from complying with this Public License. + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material; and + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. +For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + 2. upon express reinstatement by the Licensor. + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. +Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the "Licensor." The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark "Creative Commons" or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. + Creative Commons may be contacted at creativecommons.org. \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/image/checkbox-radio/License.txt b/openo-portal/portal-common/src/main/webapp/common/image/checkbox-radio/License.txt index 8e698ecb..d1ce787a 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/checkbox-radio/License.txt +++ b/openo-portal/portal-common/src/main/webapp/common/image/checkbox-radio/License.txt @@ -1,362 +1,362 @@ -THIS LICENSE FILE CONTAINS THE LICENSE APPLICABLE DEPENDING ON THE TYPE OF CONTRIBUTIONS. - -APACHE LICENSE 2 IS APPLICABLE FOR SOURCE CODE, CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL FOR DOCUMENTATION - -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - - -Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - -2. Grant of Copyright License. - -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. - -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. - -You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - -You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. - -5. Submission of Contributions. - -Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. - -This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. - -Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. - -In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. - -While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS - -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - -Attribution 4.0 International - -https://creativecommons.org/licenses/by/4.0/legalcode - -Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees -Creative Commons Attribution 4.0 International Public License - -By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - c. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - d. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - e. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - f. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - g. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - h. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - i. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - j. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - k. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - -Section 2 -- Scope. - - a. License grant. - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - a. reproduce and Share the Licensed Material, in whole or - in part; and - b. produce, reproduce, and Share Adapted Material. - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - 3. Term. The term of this Public License is specified in Section - 6(a). - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - 5. Downstream recipients. - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - b. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - b. Other rights. - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - 2. Patent and trademark rights are not licensed under this - Public License. - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties. - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the following conditions. - - a. Attribution. - 1. If You Share the Licensed Material (including in modified - form), You must: - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - ii. a copyright notice; - iii. a notice that refers to this Public License; - iv. a notice that refers to the disclaimer of - warranties; - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - 4. If You Share Adapted Material You produce, the Adapter's - License You apply must not prevent recipients of the Adapted - Material from complying with this Public License. - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database; - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material; and - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. -For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - 2. upon express reinstatement by the Licensor. - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. -Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the "Licensor." The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark "Creative Commons" or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. - +THIS LICENSE FILE CONTAINS THE LICENSE APPLICABLE DEPENDING ON THE TYPE OF CONTRIBUTIONS. + +APACHE LICENSE 2 IS APPLICABLE FOR SOURCE CODE, CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL FOR DOCUMENTATION + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + + +Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. + +Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. + +Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. + +You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + +You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. + +Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. + +This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. + +Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. + +In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. + +While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + +Attribution 4.0 International + +https://creativecommons.org/licenses/by/4.0/legalcode + +Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees +Creative Commons Attribution 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + c. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + d. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + e. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + f. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + g. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + h. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + i. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + j. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + k. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + +Section 2 -- Scope. + + a. License grant. + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + a. reproduce and Share the Licensed Material, in whole or + in part; and + b. produce, reproduce, and Share Adapted Material. + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + 3. Term. The term of this Public License is specified in Section + 6(a). + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + 5. Downstream recipients. + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + b. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + b. Other rights. + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + 2. Patent and trademark rights are not licensed under this + Public License. + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + + a. Attribution. + 1. If You Share the Licensed Material (including in modified + form), You must: + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + ii. a copyright notice; + iii. a notice that refers to this Public License; + iv. a notice that refers to the disclaimer of + warranties; + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + 4. If You Share Adapted Material You produce, the Adapter's + License You apply must not prevent recipients of the Adapted + Material from complying with this Public License. + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material; and + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. +For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + 2. upon express reinstatement by the Licensor. + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. +Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the "Licensor." The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark "Creative Commons" or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. + Creative Commons may be contacted at creativecommons.org. \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/image/integration/License.txt b/openo-portal/portal-common/src/main/webapp/common/image/integration/License.txt index 8e698ecb..d1ce787a 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/integration/License.txt +++ b/openo-portal/portal-common/src/main/webapp/common/image/integration/License.txt @@ -1,362 +1,362 @@ -THIS LICENSE FILE CONTAINS THE LICENSE APPLICABLE DEPENDING ON THE TYPE OF CONTRIBUTIONS. - -APACHE LICENSE 2 IS APPLICABLE FOR SOURCE CODE, CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL FOR DOCUMENTATION - -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - - -Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - -2. Grant of Copyright License. - -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. - -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. - -You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - -You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. - -5. Submission of Contributions. - -Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. - -This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. - -Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. - -In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. - -While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS - -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - -Attribution 4.0 International - -https://creativecommons.org/licenses/by/4.0/legalcode - -Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees -Creative Commons Attribution 4.0 International Public License - -By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - c. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - d. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - e. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - f. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - g. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - h. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - i. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - j. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - k. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - -Section 2 -- Scope. - - a. License grant. - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - a. reproduce and Share the Licensed Material, in whole or - in part; and - b. produce, reproduce, and Share Adapted Material. - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - 3. Term. The term of this Public License is specified in Section - 6(a). - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - 5. Downstream recipients. - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - b. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - b. Other rights. - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - 2. Patent and trademark rights are not licensed under this - Public License. - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties. - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the following conditions. - - a. Attribution. - 1. If You Share the Licensed Material (including in modified - form), You must: - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - ii. a copyright notice; - iii. a notice that refers to this Public License; - iv. a notice that refers to the disclaimer of - warranties; - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - 4. If You Share Adapted Material You produce, the Adapter's - License You apply must not prevent recipients of the Adapted - Material from complying with this Public License. - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database; - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material; and - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. -For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - 2. upon express reinstatement by the Licensor. - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. -Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the "Licensor." The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark "Creative Commons" or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. - +THIS LICENSE FILE CONTAINS THE LICENSE APPLICABLE DEPENDING ON THE TYPE OF CONTRIBUTIONS. + +APACHE LICENSE 2 IS APPLICABLE FOR SOURCE CODE, CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL FOR DOCUMENTATION + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + + +Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. + +Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. + +Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. + +You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + +You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. + +Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. + +This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. + +Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. + +In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. + +While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + +Attribution 4.0 International + +https://creativecommons.org/licenses/by/4.0/legalcode + +Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees +Creative Commons Attribution 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + c. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + d. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + e. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + f. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + g. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + h. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + i. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + j. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + k. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + +Section 2 -- Scope. + + a. License grant. + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + a. reproduce and Share the Licensed Material, in whole or + in part; and + b. produce, reproduce, and Share Adapted Material. + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + 3. Term. The term of this Public License is specified in Section + 6(a). + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + 5. Downstream recipients. + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + b. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + b. Other rights. + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + 2. Patent and trademark rights are not licensed under this + Public License. + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + + a. Attribution. + 1. If You Share the Licensed Material (including in modified + form), You must: + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + ii. a copyright notice; + iii. a notice that refers to this Public License; + iv. a notice that refers to the disclaimer of + warranties; + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + 4. If You Share Adapted Material You produce, the Adapter's + License You apply must not prevent recipients of the Adapted + Material from complying with this Public License. + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material; and + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. +For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + 2. upon express reinstatement by the Licensor. + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. +Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the "Licensor." The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark "Creative Commons" or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. + Creative Commons may be contacted at creativecommons.org. \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/image/mainpage/License.txt b/openo-portal/portal-common/src/main/webapp/common/image/mainpage/License.txt index 8e698ecb..d1ce787a 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/mainpage/License.txt +++ b/openo-portal/portal-common/src/main/webapp/common/image/mainpage/License.txt @@ -1,362 +1,362 @@ -THIS LICENSE FILE CONTAINS THE LICENSE APPLICABLE DEPENDING ON THE TYPE OF CONTRIBUTIONS. - -APACHE LICENSE 2 IS APPLICABLE FOR SOURCE CODE, CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL FOR DOCUMENTATION - -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - - -Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - -2. Grant of Copyright License. - -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. - -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. - -You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - -You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. - -5. Submission of Contributions. - -Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. - -This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. - -Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. - -In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. - -While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS - -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - -Attribution 4.0 International - -https://creativecommons.org/licenses/by/4.0/legalcode - -Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees -Creative Commons Attribution 4.0 International Public License - -By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - c. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - d. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - e. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - f. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - g. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - h. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - i. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - j. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - k. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - -Section 2 -- Scope. - - a. License grant. - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - a. reproduce and Share the Licensed Material, in whole or - in part; and - b. produce, reproduce, and Share Adapted Material. - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - 3. Term. The term of this Public License is specified in Section - 6(a). - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - 5. Downstream recipients. - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - b. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - b. Other rights. - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - 2. Patent and trademark rights are not licensed under this - Public License. - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties. - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the following conditions. - - a. Attribution. - 1. If You Share the Licensed Material (including in modified - form), You must: - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - ii. a copyright notice; - iii. a notice that refers to this Public License; - iv. a notice that refers to the disclaimer of - warranties; - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - 4. If You Share Adapted Material You produce, the Adapter's - License You apply must not prevent recipients of the Adapted - Material from complying with this Public License. - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database; - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material; and - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. -For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - 2. upon express reinstatement by the Licensor. - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. -Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the "Licensor." The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark "Creative Commons" or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. - +THIS LICENSE FILE CONTAINS THE LICENSE APPLICABLE DEPENDING ON THE TYPE OF CONTRIBUTIONS. + +APACHE LICENSE 2 IS APPLICABLE FOR SOURCE CODE, CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL FOR DOCUMENTATION + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + + +Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. + +Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. + +Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. + +You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + +You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. + +Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. + +This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. + +Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. + +In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. + +While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + +Attribution 4.0 International + +https://creativecommons.org/licenses/by/4.0/legalcode + +Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees +Creative Commons Attribution 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + c. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + d. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + e. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + f. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + g. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + h. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + i. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + j. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + k. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + +Section 2 -- Scope. + + a. License grant. + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + a. reproduce and Share the Licensed Material, in whole or + in part; and + b. produce, reproduce, and Share Adapted Material. + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + 3. Term. The term of this Public License is specified in Section + 6(a). + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + 5. Downstream recipients. + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + b. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + b. Other rights. + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + 2. Patent and trademark rights are not licensed under this + Public License. + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + + a. Attribution. + 1. If You Share the Licensed Material (including in modified + form), You must: + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + ii. a copyright notice; + iii. a notice that refers to this Public License; + iv. a notice that refers to the disclaimer of + warranties; + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + 4. If You Share Adapted Material You produce, the Adapter's + License You apply must not prevent recipients of the Adapted + Material from complying with this Public License. + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material; and + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. +For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + 2. upon express reinstatement by the Licensor. + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. +Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the "Licensor." The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark "Creative Commons" or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. + Creative Commons may be contacted at creativecommons.org. \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/License.txt b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/License.txt index 8e698ecb..d1ce787a 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/License.txt +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/License.txt @@ -1,362 +1,362 @@ -THIS LICENSE FILE CONTAINS THE LICENSE APPLICABLE DEPENDING ON THE TYPE OF CONTRIBUTIONS. - -APACHE LICENSE 2 IS APPLICABLE FOR SOURCE CODE, CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL FOR DOCUMENTATION - -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - - -Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - -2. Grant of Copyright License. - -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. - -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. - -You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - -You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. - -5. Submission of Contributions. - -Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. - -This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. - -Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. - -In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. - -While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS - -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - -Attribution 4.0 International - -https://creativecommons.org/licenses/by/4.0/legalcode - -Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees -Creative Commons Attribution 4.0 International Public License - -By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - c. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - d. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - e. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - f. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - g. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - h. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - i. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - j. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - k. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - -Section 2 -- Scope. - - a. License grant. - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - a. reproduce and Share the Licensed Material, in whole or - in part; and - b. produce, reproduce, and Share Adapted Material. - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - 3. Term. The term of this Public License is specified in Section - 6(a). - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - 5. Downstream recipients. - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - b. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - b. Other rights. - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - 2. Patent and trademark rights are not licensed under this - Public License. - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties. - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the following conditions. - - a. Attribution. - 1. If You Share the Licensed Material (including in modified - form), You must: - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - ii. a copyright notice; - iii. a notice that refers to this Public License; - iv. a notice that refers to the disclaimer of - warranties; - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - 4. If You Share Adapted Material You produce, the Adapter's - License You apply must not prevent recipients of the Adapted - Material from complying with this Public License. - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database; - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material; and - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. -For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - 2. upon express reinstatement by the Licensor. - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. -Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the "Licensor." The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark "Creative Commons" or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. - +THIS LICENSE FILE CONTAINS THE LICENSE APPLICABLE DEPENDING ON THE TYPE OF CONTRIBUTIONS. + +APACHE LICENSE 2 IS APPLICABLE FOR SOURCE CODE, CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL FOR DOCUMENTATION + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + + +Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. + +Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. + +Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. + +You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + +You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. + +Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. + +This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. + +Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. + +In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. + +While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + +Attribution 4.0 International + +https://creativecommons.org/licenses/by/4.0/legalcode + +Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees +Creative Commons Attribution 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + c. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + d. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + e. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + f. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + g. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + h. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + i. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + j. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + k. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + +Section 2 -- Scope. + + a. License grant. + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + a. reproduce and Share the Licensed Material, in whole or + in part; and + b. produce, reproduce, and Share Adapted Material. + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + 3. Term. The term of this Public License is specified in Section + 6(a). + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + 5. Downstream recipients. + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + b. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + b. Other rights. + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + 2. Patent and trademark rights are not licensed under this + Public License. + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + + a. Attribution. + 1. If You Share the Licensed Material (including in modified + form), You must: + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + ii. a copyright notice; + iii. a notice that refers to this Public License; + iv. a notice that refers to the disclaimer of + warranties; + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + 4. If You Share Adapted Material You produce, the Adapter's + License You apply must not prevent recipients of the Adapted + Material from complying with this Public License. + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material; and + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. +For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + 2. upon express reinstatement by the Licensor. + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. +Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the "Licensor." The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark "Creative Commons" or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. + Creative Commons may be contacted at creativecommons.org. \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/NFV.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/NFV.svg index fca8cdce..cc03a77c 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/NFV.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/NFV.svg @@ -1,58 +1,58 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/NS.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/NS.svg index 27223cfb..83c648bb 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/NS.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/NS.svg @@ -1,29 +1,29 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VDU.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VDU.svg index ca11bf3f..c4de7eda 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VDU.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VDU.svg @@ -1,26 +1,26 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VIM.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VIM.svg index 68e58513..32cda6f0 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VIM.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VIM.svg @@ -1,19 +1,19 @@ - - - - - - - - + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VNF.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VNF.svg index 8407a46f..0651d649 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VNF.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VNF.svg @@ -1,14 +1,14 @@ - - - - - - - - - + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VNFC.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VNFC.svg index 71d42d77..e20a53b6 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VNFC.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VNFC.svg @@ -1,20 +1,20 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VNFM.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VNFM.svg index 4f96c1b5..3c8d9788 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VNFM.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/VNFM.svg @@ -1,17 +1,17 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/breakLink.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/breakLink.svg index d842f510..121bab33 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/breakLink.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/breakLink.svg @@ -1,9 +1,9 @@ - - - - - - + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/common_dc.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/common_dc.svg index 1646e105..e1e6041c 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/common_dc.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/common_dc.svg @@ -1,72 +1,72 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/common_ncd.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/common_ncd.svg index 23bde265..306d25ae 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/common_ncd.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/common_ncd.svg @@ -1,40 +1,40 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/common_sc.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/common_sc.svg index 147bb261..d44eca4f 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/common_sc.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/common_sc.svg @@ -1,71 +1,71 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/host.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/host.svg index d8a2420e..67ddc915 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/host.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/host.svg @@ -1,14 +1,14 @@ - - - - - - - - - - - + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-Virtual network.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-Virtual network.svg index 138e1496..769f80ba 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-Virtual network.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-Virtual network.svg @@ -1,186 +1,186 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-bind.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-bind.svg index 5262e748..188e15c7 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-bind.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-bind.svg @@ -1,58 +1,58 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-dns.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-dns.svg index f2ffda96..5983dcdd 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-dns.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-dns.svg @@ -1,58 +1,58 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-ems.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-ems.svg index 6c674c83..2ffaf40c 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-ems.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-ems.svg @@ -1,75 +1,75 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-mediator.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-mediator.svg index a532fb4a..cf48e03b 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-mediator.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-mediator.svg @@ -1,78 +1,78 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - ME - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + ME + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-netnumen.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-netnumen.svg index da4ba27e..34aeb5d8 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-netnumen.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-netnumen.svg @@ -1,57 +1,57 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-ntp.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-ntp.svg index ff056bff..379ce5a3 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-ntp.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-ntp.svg @@ -1,61 +1,61 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-ota.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-ota.svg index d9a18be5..a2b18fc4 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-ota.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-ota.svg @@ -1,58 +1,58 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-tomcat.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-tomcat.svg index 4d46f3c0..ca672889 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-tomcat.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-tomcat.svg @@ -1,52 +1,52 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-trend.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-trend.svg index c2fcf101..e939b4a5 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-trend.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-trend.svg @@ -1,58 +1,58 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-tsm.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-tsm.svg index 1a7085e7..5a910ee6 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-tsm.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-tsm.svg @@ -1,62 +1,62 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-weblogic.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-weblogic.svg index 9738a085..4bc81632 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-weblogic.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app-weblogic.svg @@ -1,58 +1,58 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app.svg index 0c5952c4..b399b36f 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-app.svg @@ -1,62 +1,62 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-hacmp.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-hacmp.svg index 7fa5ed78..68a5ad63 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-hacmp.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-hacmp.svg @@ -1,54 +1,54 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-nec.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-nec.svg index 9b180194..4236655e 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-nec.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-nec.svg @@ -1,55 +1,55 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-ns.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-ns.svg index bf731b2a..f6d602b4 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-ns.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-ns.svg @@ -1,58 +1,58 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-sg.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-sg.svg index 38a2e924..54400322 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-sg.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-sg.svg @@ -1,65 +1,65 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-vcs.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-vcs.svg index 082b8f0f..dfec65ee 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-vcs.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster-vcs.svg @@ -1,78 +1,78 @@ - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster.svg index c63fc6b5..29e8c256 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-cluster.svg @@ -1,77 +1,77 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database-mssql.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database-mssql.svg index 3d69986f..aa9da92e 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database-mssql.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database-mssql.svg @@ -1,77 +1,77 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database-oracle.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database-oracle.svg index 35de4897..99d5a5b3 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database-oracle.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database-oracle.svg @@ -1,77 +1,77 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database-sybase.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database-sybase.svg index 2bb03eaf..2fd9aacc 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database-sybase.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database-sybase.svg @@ -1,71 +1,71 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database-sybaseiq.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database-sybaseiq.svg index 7ea63c8c..e9712b38 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database-sybaseiq.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database-sybaseiq.svg @@ -1,51 +1,51 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database.svg index 5a84e77a..7329d5e0 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-database.svg @@ -1,71 +1,71 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-dellmd.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-dellmd.svg index a7a18889..0db5029d 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-dellmd.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-dellmd.svg @@ -1,199 +1,199 @@ - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-emc.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-emc.svg index 36367bbb..c57296df 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-emc.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-emc.svg @@ -1,198 +1,198 @@ - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-eternus.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-eternus.svg index 28731fb0..505fc65c 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-eternus.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-eternus.svg @@ -1,195 +1,195 @@ - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-fujitsu.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-fujitsu.svg index 1dbbe145..56a23abe 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-fujitsu.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-fujitsu.svg @@ -1,215 +1,215 @@ - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-hds.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-hds.svg index 3146a8e6..60c2e56a 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-hds.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-hds.svg @@ -1,103 +1,103 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-hpaio.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-hpaio.svg index a0fb56b0..aa2c67b8 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-hpaio.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-hpaio.svg @@ -1,203 +1,203 @@ - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-hpeva.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-hpeva.svg index f07c417f..b9e6ae6e 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-hpeva.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-hpeva.svg @@ -1,207 +1,207 @@ - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-hpmsa.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-hpmsa.svg index 858ff6bf..8b3a7bd9 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-hpmsa.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-hpmsa.svg @@ -1,203 +1,203 @@ - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-ibm.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-ibm.svg index daf24f08..12f6627c 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-ibm.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-ibm.svg @@ -1,203 +1,203 @@ - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-ibmsm.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-ibmsm.svg index 3ddaaf67..a8a113aa 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-ibmsm.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-ibmsm.svg @@ -1,95 +1,95 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-macrosan.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-macrosan.svg index d75d64b8..3dbf3b02 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-macrosan.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-macrosan.svg @@ -1,28 +1,28 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-netapp.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-netapp.svg index 0e5867ee..bfe8c830 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-netapp.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-netapp.svg @@ -1,146 +1,146 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-sun.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-sun.svg index a70b7936..71b49c78 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-sun.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-sun.svg @@ -1,146 +1,146 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-zte.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-zte.svg index 8a363f5e..fe382335 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-zte.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-diskraid-zte.svg @@ -1,146 +1,146 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-checkpoint.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-checkpoint.svg index b672c7ea..fe5000e0 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-checkpoint.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-checkpoint.svg @@ -1,95 +1,95 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-cisco.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-cisco.svg index 26f72080..601e923b 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-cisco.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-cisco.svg @@ -1,95 +1,95 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-cisco2.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-cisco2.svg index 302e748e..de7c0afd 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-cisco2.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-cisco2.svg @@ -1,95 +1,95 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-h3c.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-h3c.svg index 97f1702a..5887e351 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-h3c.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-h3c.svg @@ -1,116 +1,116 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-juniper.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-juniper.svg index 11c1be69..c223be01 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-juniper.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-juniper.svg @@ -1,109 +1,109 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-neteye.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-neteye.svg index 915537a0..84186ec5 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-neteye.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-neteye.svg @@ -1,120 +1,120 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-zte.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-zte.svg index a0e5bd0c..4e11ceb7 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-zte.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-zte.svg @@ -1,127 +1,127 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-ztemf.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-ztemf.svg index ed5570e0..6559b484 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-ztemf.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-ztemf.svg @@ -1,127 +1,127 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-zteutm.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-zteutm.svg index d25c5342..24f5288e 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-zteutm.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall-zteutm.svg @@ -1,128 +1,128 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall.svg index 487d38d1..daac742b 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-firewall.svg @@ -1,102 +1,102 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-gather.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-gather.svg index 50760849..cbff7f40 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-gather.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-gather.svg @@ -1,295 +1,295 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-group-dev.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-group-dev.svg index 3592ca01..67a5784f 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-group-dev.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-group-dev.svg @@ -1,121 +1,121 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-ibp-ibp2000.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-ibp-ibp2000.svg index 0c5a3ce2..71f0dfeb 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-ibp-ibp2000.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-ibp-ibp2000.svg @@ -1,133 +1,133 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2000 - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2000 + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-ibp.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-ibp.svg index 953718b1..ce6cd3bc 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-ibp.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-ibp.svg @@ -1,128 +1,128 @@ - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-net.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-net.svg index 251d2a67..28c2e906 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-net.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-net.svg @@ -1,105 +1,105 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-alteon.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-alteon.svg index 7022c8a1..14c35424 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-alteon.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-alteon.svg @@ -1,19 +1,19 @@ - - - - - - - - - + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-appdirector.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-appdirector.svg index 4285855c..e634b00d 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-appdirector.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-appdirector.svg @@ -1,25 +1,25 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-atca-lb10.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-atca-lb10.svg index 3384b9c9..61027b02 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-atca-lb10.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-atca-lb10.svg @@ -1,121 +1,121 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-cisco-ucs.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-cisco-ucs.svg index 931e275c..c2659b8a 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-cisco-ucs.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-cisco-ucs.svg @@ -1,121 +1,121 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-dcs.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-dcs.svg index a343ed79..1b855b01 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-dcs.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-dcs.svg @@ -1,137 +1,137 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-delta.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-delta.svg index e95cbcbe..4be4ec00 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-delta.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-delta.svg @@ -1,129 +1,129 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-dp.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-dp.svg index 4b36238d..d95470c5 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-dp.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-dp.svg @@ -1,20 +1,20 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-f5bigip.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-f5bigip.svg index 92c63803..70c371d1 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-f5bigip.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-f5bigip.svg @@ -1,145 +1,145 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-f5bigip2.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-f5bigip2.svg index d5e7d0df..5713d8e7 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-f5bigip2.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-f5bigip2.svg @@ -1,161 +1,161 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-gbe2c.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-gbe2c.svg index df6993ec..03dd3c58 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-gbe2c.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-gbe2c.svg @@ -1,166 +1,166 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-hpblc.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-hpblc.svg index 25b95ba9..66ff6674 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-hpblc.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-hpblc.svg @@ -1,174 +1,174 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-ibm-blade.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-ibm-blade.svg index 387beddd..60d28fd2 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-ibm-blade.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-ibm-blade.svg @@ -1,156 +1,156 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-imm.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-imm.svg index 9ca6f408..7b26f5b1 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-imm.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-imm.svg @@ -1,160 +1,160 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-secfox.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-secfox.svg index 399eb024..b0cbd540 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-secfox.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-secfox.svg @@ -1,20 +1,20 @@ - - - - - - + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-secsis.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-secsis.svg index 7566d1ef..00756e97 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-secsis.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-secsis.svg @@ -1,30 +1,30 @@ - - - - - - + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-segw.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-segw.svg index 514b4b10..0bc8c10e 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-segw.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-segw.svg @@ -1,153 +1,153 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-vc.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-vc.svg index 274fe232..7a42c2b5 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-vc.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-vc.svg @@ -1,173 +1,173 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-zteatca.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-zteatca.svg index 5911709e..b22a6976 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-zteatca.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-zteatca.svg @@ -1,191 +1,191 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-zteips.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-zteips.svg index af3e9ee4..511411c5 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-zteips.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-zteips.svg @@ -1,53 +1,53 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-ztepower.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-ztepower.svg index 55ac583b..4c168e48 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-ztepower.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-ztepower.svg @@ -1,223 +1,223 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-ztesgs.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-ztesgs.svg index cc457a20..9e0add21 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-ztesgs.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-ztesgs.svg @@ -1,54 +1,54 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-zxsdr-nt.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-zxsdr-nt.svg index c5fa88b6..96ffa125 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-zxsdr-nt.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other-zxsdr-nt.svg @@ -1,186 +1,186 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other.svg index b54fc9fc..ccdf1532 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-other.svg @@ -1,110 +1,110 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-router-cisco.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-router-cisco.svg index 7bdcd507..7b3ea331 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-router-cisco.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-router-cisco.svg @@ -1,186 +1,186 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-router-juniper.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-router-juniper.svg index 4040393f..199c918e 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-router-juniper.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-router-juniper.svg @@ -1,170 +1,170 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-router-zte.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-router-zte.svg index fdd8b9b5..8c23c762 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-router-zte.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-router-zte.svg @@ -1,178 +1,178 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-router.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-router.svg index 6d4d7c92..4a604382 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-router.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-router.svg @@ -1,175 +1,175 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-sdn-controller.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-sdn-controller.svg index 22c5ac25..eeaf68ec 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-sdn-controller.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-sdn-controller.svg @@ -1,176 +1,176 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-sdn-host.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-sdn-host.svg index 6bd8b93f..5577c282 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-sdn-host.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-sdn-host.svg @@ -1,167 +1,167 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-sdn-switch.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-sdn-switch.svg index a642f969..da541ba3 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-sdn-switch.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-sdn-switch.svg @@ -1,167 +1,167 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-sdn-vnet.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-sdn-vnet.svg index b1258eb0..ba73c4b6 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-sdn-vnet.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-sdn-vnet.svg @@ -1,167 +1,167 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-aix.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-aix.svg index c330db44..facb8b3d 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-aix.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-aix.svg @@ -1,170 +1,170 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-hpux.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-hpux.svg index 276bc17f..5c669aaf 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-hpux.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-hpux.svg @@ -1,181 +1,181 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-klinux.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-klinux.svg index 5b825e02..37a36108 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-klinux.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-klinux.svg @@ -1,191 +1,191 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-redhat.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-redhat.svg index 56968146..ed3eb1b4 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-redhat.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-redhat.svg @@ -1,171 +1,171 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-solaris.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-solaris.svg index 40bbd824..ba66a1fa 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-solaris.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-solaris.svg @@ -1,173 +1,173 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-suse.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-suse.svg index c9c5e999..773a6e91 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-suse.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-suse.svg @@ -1,185 +1,185 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-windows.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-windows.svg index 0c75b2f6..967d48e2 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-windows.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-windows.svg @@ -1,176 +1,176 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-zxve.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-zxve.svg index 0eabb175..be1011b3 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-zxve.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server-zxve.svg @@ -1,179 +1,179 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server.svg index a92e7135..314edb3b 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-server.svg @@ -1,195 +1,195 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-cisco-mds.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-cisco-mds.svg index dcf7722a..b7fee602 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-cisco-mds.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-cisco-mds.svg @@ -1,177 +1,177 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-md3000.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-md3000.svg index 52eb10f0..8b345f61 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-md3000.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-md3000.svg @@ -1,168 +1,168 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-netvault.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-netvault.svg index 45a8e723..1c99075d 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-netvault.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-netvault.svg @@ -1,186 +1,186 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-ops.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-ops.svg index 2c046fec..07f9642b 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-ops.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-ops.svg @@ -1,186 +1,186 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-sanswitch-brocade.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-sanswitch-brocade.svg index 60933f95..e3bb47d0 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-sanswitch-brocade.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-sanswitch-brocade.svg @@ -1,187 +1,187 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-sanswitch-hp.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-sanswitch-hp.svg index f6c595c1..8833e25d 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-sanswitch-hp.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-sanswitch-hp.svg @@ -1,187 +1,187 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-sanswitch-zte.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-sanswitch-zte.svg index 077a37c4..b5765c61 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-sanswitch-zte.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage-sanswitch-zte.svg @@ -1,13 +1,13 @@ - - - - - - + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage.svg index 504ed6b9..05cd4779 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-storage.svg @@ -1,183 +1,183 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-at.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-at.svg index e952744d..6df9f224 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-at.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-at.svg @@ -1,201 +1,201 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-cisco.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-cisco.svg index 4c7f66c2..aacd00cb 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-cisco.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-cisco.svg @@ -1,176 +1,176 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-h3c.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-h3c.svg index 0525c5b8..c0eb9459 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-h3c.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-h3c.svg @@ -1,31 +1,31 @@ - - - - - - - - - - - + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-juniper.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-juniper.svg index d0e483da..87b950cd 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-juniper.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-juniper.svg @@ -1,176 +1,176 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-zte.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-zte.svg index ef418467..e64ea626 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-zte.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch-zte.svg @@ -1,177 +1,177 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch.svg index 61bb8283..d24b524a 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-switch.svg @@ -1,182 +1,182 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-tapelib-hpmsl.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-tapelib-hpmsl.svg index b89f0da2..ef15e7d2 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-tapelib-hpmsl.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-tapelib-hpmsl.svg @@ -1,176 +1,176 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-tapelib-ibmts.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-tapelib-ibmts.svg index a9363475..c771f701 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-tapelib-ibmts.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-tapelib-ibmts.svg @@ -1,183 +1,183 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-tapelib-sunts.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-tapelib-sunts.svg index 8de3e3a2..7478e4a8 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-tapelib-sunts.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it-tapelib-sunts.svg @@ -1,196 +1,196 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it.svg index 03b78d51..a1fa9f74 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/it.svg @@ -1,111 +1,111 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/networkTree.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/networkTree.svg index 54837ff7..44739fec 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/networkTree.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/networkTree.svg @@ -1,349 +1,349 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/new.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/new.svg index c565fd5d..b02def09 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/new.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/new.svg @@ -1,7 +1,7 @@ - - - - - - + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/popupmenufollower.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/popupmenufollower.svg index 48fae05d..b285c884 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/popupmenufollower.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/popupmenufollower.svg @@ -1,15 +1,15 @@ - - - - - - - - - - - + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/resourceType.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/resourceType.svg index f97f496f..4caf88a0 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/resourceType.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/resourceType.svg @@ -1,211 +1,211 @@ - - - - - - - - - - - - - - - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/stop.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/stop.svg index aef3aed8..4938127a 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/stop.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/stop.svg @@ -1,18 +1,18 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/tree-icon.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/tree-icon.svg index 50a0e820..a6fcc03f 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/tree-icon.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/tree-icon.svg @@ -1,291 +1,291 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-moc-root.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-moc-root.svg index 2f97ca86..23a7a739 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-moc-root.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-moc-root.svg @@ -1,355 +1,355 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-moc-uca-public.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-moc-uca-public.svg index 95bc3cbc..ad51e7f8 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-moc-uca-public.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-moc-uca-public.svg @@ -1,329 +1,329 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-commongroup20x20.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-commongroup20x20.svg index f072f473..2b3b2f4a 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-commongroup20x20.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-commongroup20x20.svg @@ -1,278 +1,278 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-group20x20.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-group20x20.svg index 2183e2d1..5242752a 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-group20x20.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-group20x20.svg @@ -1,277 +1,277 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-root.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-root.svg index e0bdf3f8..899d4e11 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-root.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-root.svg @@ -1,259 +1,259 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-undefinedgroup20x20.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-undefinedgroup20x20.svg index e8883c25..4c0b3644 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-undefinedgroup20x20.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-undefinedgroup20x20.svg @@ -1,342 +1,342 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-virtual20x20.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-virtual20x20.svg index 8a8f9d76..3b25a6b8 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-virtual20x20.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-virtual20x20.svg @@ -1,355 +1,355 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-wsf-disconnected8x8.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-wsf-disconnected8x8.svg index 5e19debf..9c93fefd 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-wsf-disconnected8x8.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/uep-topo-wsf-disconnected8x8.svg @@ -1,37 +1,37 @@ - - - - - - - - - image/svg+xml - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/usf-amf-try-activate.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/usf-amf-try-activate.svg index 26c0046b..0feced33 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/usf-amf-try-activate.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/usf-amf-try-activate.svg @@ -1,44 +1,44 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/usf-amf-try-active-wait.svg b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/usf-amf-try-active-wait.svg index eae2c10a..28a38f6b 100644 --- a/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/usf-amf-try-active-wait.svg +++ b/openo-portal/portal-common/src/main/webapp/common/image/ressvgs/usf-amf-try-active-wait.svg @@ -1,40 +1,40 @@ - - - - - - - - - image/svg+xml - - - - - - - - - - + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/js/Main2moreMenu.js b/openo-portal/portal-common/src/main/webapp/common/js/Main2moreMenu.js index 3fadb215..1e84fbf0 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/Main2moreMenu.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/Main2moreMenu.js @@ -1,17 +1,17 @@ -/* - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -var sideBarMenu_to_moreMenu_frame = new Array(); -var horBarMenu_to_moreMenu_frame = new Array(); +/* + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +var sideBarMenu_to_moreMenu_frame = new Array(); +var horBarMenu_to_moreMenu_frame = new Array(); diff --git a/openo-portal/portal-common/src/main/webapp/common/js/core/const.js b/openo-portal/portal-common/src/main/webapp/common/js/core/const.js index 66bee91a..60307c97 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/core/const.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/core/const.js @@ -1,46 +1,46 @@ -/* - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -var fMenuSiderDivId = 'page-f-sidebar-menu'; -var ICTFRAME_CONST_SPINNER_GIF_PATH="image/loading-spinner-grey.gif"; -var ICTFRAME_CONST_IFRAME_HEIGHT_AJUST = 10; -var ICTFRAME_CONST_IFRAME_HEIGHT_AJUST_IE = 5; -var ICTFRAME_CONST_THEME_COLOR_CSS_PREFFIX = "css/themes/"; -var ICTFRAME_CONST_DEFAULTPAGE_PATH = "default.html?"; -var ICTFRAME_CONST_DATABACKUP_PATH = 'menus/dataBackup-mysql.html'; -var IS_V5_TESTVERSION = true; - -var FrameConst={}; -//Ĭϵ¼ɹתҳ -FrameConst.DEFAULT_LOGINSKIP_PAGE = "common/main-page.html"; -FrameConst.DEFAULT_PAGE = "default.html"; - -FrameConst.do_heartbeat = false; -FrameConst.change_pass = false; -//Ƿ -FrameConst.isEncypt = "false"; -FrameConst.REST_FRAMECOMMIFO = "../../api/uiframe/v1/frameCommInfo"; -FrameConst.REST_HEARTBEAT = "../../api/uiframe/v1/heartbeat"; -FrameConst.REST_GETLICENSEINFO = "../../api/uiframe/v1/licensevalueinfo"; -FrameConst.REST_CHECKRIGHT = "../../api/uiframe/v1/checkRight"; -FrameConst.REST_LOGIN = "../../api/uiframe/v1/login"; -FrameConst.REST_GET_FRAME_MENUDIRECTION = "../../api/uiframe/v1/confByKey?key=usf.mainframe.web.navigation.direction"; -FrameConst.REST_GET_USERNAME = "../../api/uiframe/v1/userName"; - - -FrameConst.REST_GET_VERSIONINFO = "../../api/uiframe/v1/versionInfo"; -var zte_http_headers=new Array(); -zte_http_headers.push({"key":"ICTAuthentication","value":"icttka","store":true}); +/* + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +var fMenuSiderDivId = 'page-f-sidebar-menu'; +var ICTFRAME_CONST_SPINNER_GIF_PATH="image/loading-spinner-grey.gif"; +var ICTFRAME_CONST_IFRAME_HEIGHT_AJUST = 10; +var ICTFRAME_CONST_IFRAME_HEIGHT_AJUST_IE = 5; +var ICTFRAME_CONST_THEME_COLOR_CSS_PREFFIX = "css/themes/"; +var ICTFRAME_CONST_DEFAULTPAGE_PATH = "default.html?"; +var ICTFRAME_CONST_DATABACKUP_PATH = 'menus/dataBackup-mysql.html'; +var IS_V5_TESTVERSION = true; + +var FrameConst={}; +//Ĭϵ¼ɹתҳ +FrameConst.DEFAULT_LOGINSKIP_PAGE = "common/main-page.html"; +FrameConst.DEFAULT_PAGE = "default.html"; + +FrameConst.do_heartbeat = false; +FrameConst.change_pass = false; +//Ƿ +FrameConst.isEncypt = "false"; +FrameConst.REST_FRAMECOMMIFO = "../../api/uiframe/v1/frameCommInfo"; +FrameConst.REST_HEARTBEAT = "../../api/uiframe/v1/heartbeat"; +FrameConst.REST_GETLICENSEINFO = "../../api/uiframe/v1/licensevalueinfo"; +FrameConst.REST_CHECKRIGHT = "../../api/uiframe/v1/checkRight"; +FrameConst.REST_LOGIN = "../../api/uiframe/v1/login"; +FrameConst.REST_GET_FRAME_MENUDIRECTION = "../../api/uiframe/v1/confByKey?key=usf.mainframe.web.navigation.direction"; +FrameConst.REST_GET_USERNAME = "../../api/uiframe/v1/userName"; + + +FrameConst.REST_GET_VERSIONINFO = "../../api/uiframe/v1/versionInfo"; +var zte_http_headers=new Array(); +zte_http_headers.push({"key":"ICTAuthentication","value":"icttka","store":true}); zte_http_headers.push({"key":"isFromWeb","value":"1","store":false}); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/js/core/hk.min.js b/openo-portal/portal-common/src/main/webapp/common/js/core/hk.min.js index 73ab7f2c..1f817a2c 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/core/hk.min.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/core/hk.min.js @@ -1,819 +1,819 @@ -/* - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -;(function(window, define) { - var _ = { - version: "2.3.0", - areas: {}, - apis: {}, - - // utilities - inherit: function(api, o) { - for (var p in api) { - if (!o.hasOwnProperty(p)) { - o[p] = api[p]; - } - } - return o; - }, - stringify: function(d) { - return d === undefined || typeof d === "function" ? d+'' : JSON.stringify(d); - }, - parse: function(s) { - // if it doesn't parse, return as is - try{ return JSON.parse(s); }catch(e){ return s; } - }, - - // extension hooks - fn: function(name, fn) { - _.storeAPI[name] = fn; - for (var api in _.apis) { - _.apis[api][name] = fn; - } - }, - get: function(area, key){ return area.getItem(key); }, - set: function(area, key, string){ area.setItem(key, string); }, - remove: function(area, key){ area.removeItem(key); }, - key: function(area, i){ return area.key(i); }, - length: function(area){ return area.length; }, - clear: function(area){ area.clear(); }, - - // core functions - Store: function(id, area, namespace) { - var store = _.inherit(_.storeAPI, function(key, data, overwrite) { - if (arguments.length === 0){ return store.getAll(); } - if (data !== undefined){ return store.set(key, data, overwrite); } - if (typeof key === "string"){ return store.get(key); } - if (!key){ return store.clear(); } - return store.setAll(key, data);// overwrite=data, data=key - }); - store._id = id; - try { - var testKey = '_safariPrivate_'; - area.setItem(testKey, 'sucks'); - store._area = area; - area.removeItem(testKey); - } catch (e) {} - if (!store._area) { - store._area = _.inherit(_.storageAPI, { items: {}, name: 'fake' }); - } - store._ns = namespace || ''; - if (!_.areas[id]) { - _.areas[id] = store._area; - } - if (!_.apis[store._ns+store._id]) { - _.apis[store._ns+store._id] = store; - } - return store; - }, - storeAPI: { - // admin functions - area: function(id, area) { - var store = this[id]; - if (!store || !store.area) { - store = _.Store(id, area, this._ns);//new area-specific api in this namespace - if (!this[id]){ this[id] = store; } - } - return store; - }, - namespace: function(namespace, noSession) { - if (!namespace){ - return this._ns ? this._ns.substring(0,this._ns.length-1) : ''; - } - var ns = namespace, store = this[ns]; - if (!store || !store.namespace) { - store = _.Store(this._id, this._area, this._ns+ns+'.');//new namespaced api - if (!this[ns]){ this[ns] = store; } - if (!noSession){ store.area('session', _.areas.session); } - } - return store; - }, - isFake: function(){ return this._area.name === 'fake'; }, - toString: function() { - return 'store'+(this._ns?'.'+this.namespace():'')+'['+this._id+']'; - }, - - // storage functions - has: function(key) { - if (this._area.has) { - return this._area.has(this._in(key));//extension hook - } - return !!(this._in(key) in this._area); - }, - size: function(){ return this.keys().length; }, - each: function(fn, and) { - for (var i=0, m=_.length(this._area); i _.length(this._area)) { m--; i--; }// in case of removeItem - } - return and || this; - }, - keys: function() { - return this.each(function(k, list){ list.push(k); }, []); - }, - get: function(key, alt) { - var s = _.get(this._area, this._in(key)); - return s !== null ? _.parse(s) : alt || s;// support alt for easy default mgmt - }, - getAll: function() { - return this.each(function(k, all){ all[k] = this.get(k); }, {}); - }, - set: function(key, data, overwrite) { - var d = this.get(key); - if (d != null && overwrite === false) { - return data; - } - return _.set(this._area, this._in(key), _.stringify(data), overwrite) || d; - }, - setAll: function(data, overwrite) { - var changed, val; - for (var key in data) { - val = data[key]; - if (this.set(key, val, overwrite) !== val) { - changed = true; - } - } - return changed; - }, - remove: function(key) { - var d = this.get(key); - _.remove(this._area, this._in(key)); - return d; - }, - clear: function() { - if (!this._ns) { - _.clear(this._area); - } else { - this.each(function(k){ _.remove(this._area, this._in(k)); }, 1); - } - return this; - }, - clearAll: function() { - var area = this._area; - for (var id in _.areas) { - if (_.areas.hasOwnProperty(id)) { - this._area = _.areas[id]; - this.clear(); - } - } - this._area = area; - return this; - }, - - // internal use functions - _in: function(k) { - if (typeof k !== "string"){ k = _.stringify(k); } - return this._ns ? this._ns + k : k; - }, - _out: function(k) { - return this._ns ? - k && k.indexOf(this._ns) === 0 ? - k.substring(this._ns.length) : - undefined : // so each() knows to skip it - k; - } - },// end _.storeAPI - storageAPI: { - length: 0, - has: function(k){ return this.items.hasOwnProperty(k); }, - key: function(i) { - var c = 0; - for (var k in this.items){ - if (this.has(k) && i === c++) { - return k; - } - } - }, - setItem: function(k, v) { - if (!this.has(k)) { - this.length++; - } - this.items[k] = v; - }, - removeItem: function(k) { - if (this.has(k)) { - delete this.items[k]; - this.length--; - } - }, - getItem: function(k){ return this.has(k) ? this.items[k] : null; }, - clear: function(){ for (var k in this.list){ this.removeItem(k); } }, - toString: function(){ return this.length+' items in '+this.name+'Storage'; } - }// end _.storageAPI - }; - - // setup the primary store fn - if (window.store){ _.conflict = window.store; } - var store = - // safely set this up (throws error in IE10/32bit mode for local files) - _.Store("local", (function(){try{ return localStorage; }catch(e){}})()); - store.local = store;// for completeness - store._ = _;// for extenders and debuggers... - // safely setup store.session (throws exception in FF for file:/// urls) - store.area("session", (function(){try{ return sessionStorage; }catch(e){}})()); - - //Expose store to the global object - window.store = store; - - if (typeof define === 'function' && define.amd !== undefined) { - define(function () { - return store; - }); - } else if (typeof module !== 'undefined' && module.exports) { - module.exports = store; - } - -})(this, null); - -// XHook - v1.3.3 - https://github.com/jpillora/xhook -// Jaime Pillora - MIT Copyright 2015 -(function(window,undefined) { -var AFTER, BEFORE, COMMON_EVENTS, EventEmitter, FIRE, FormData, NativeFormData, NativeXMLHttp, OFF, ON, READY_STATE, UPLOAD_EVENTS, XHookFormData, XHookHttpRequest, XMLHTTP, convertHeaders, depricatedProp, document, fakeEvent, mergeObjects, msie, proxyEvents, slice, xhook, _base, - __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; - -document = window.document; - -BEFORE = 'before'; - -AFTER = 'after'; - -READY_STATE = 'readyState'; - -ON = 'addEventListener'; - -OFF = 'removeEventListener'; - -FIRE = 'dispatchEvent'; - -XMLHTTP = 'XMLHttpRequest'; - -FormData = 'FormData'; - -UPLOAD_EVENTS = ['load', 'loadend', 'loadstart']; - -COMMON_EVENTS = ['progress', 'abort', 'error', 'timeout']; - -msie = parseInt((/msie (\d+)/.exec(navigator.userAgent.toLowerCase()) || [])[1]); - -if (isNaN(msie)) { - msie = parseInt((/trident\/.*; rv:(\d+)/.exec(navigator.userAgent.toLowerCase()) || [])[1]); -} - -(_base = Array.prototype).indexOf || (_base.indexOf = function(item) { - var i, x, _i, _len; - for (i = _i = 0, _len = this.length; _i < _len; i = ++_i) { - x = this[i]; - if (x === item) { - return i; - } - } - return -1; -}); - -slice = function(o, n) { - return Array.prototype.slice.call(o, n); -}; - -depricatedProp = function(p) { - return p === "returnValue" || p === "totalSize" || p === "position"; -}; - -mergeObjects = function(src, dst) { - var k, v; - for (k in src) { - v = src[k]; - if (depricatedProp(k)) { - continue; - } - try { - dst[k] = src[k]; - } catch (_error) {} - } - return dst; -}; - -proxyEvents = function(events, src, dst) { - var event, p, _i, _len; - p = function(event) { - return function(e) { - var clone, k, val; - clone = {}; - for (k in e) { - if (depricatedProp(k)) { - continue; - } - val = e[k]; - clone[k] = val === src ? dst : val; - } - return dst[FIRE](event, clone); - }; - }; - for (_i = 0, _len = events.length; _i < _len; _i++) { - event = events[_i]; - if (dst._has(event)) { - src["on" + event] = p(event); - } - } -}; - -fakeEvent = function(type) { - var msieEventObject; - if (document.createEventObject != null) { - msieEventObject = document.createEventObject(); - msieEventObject.type = type; - return msieEventObject; - } else { - try { - return new Event(type); - } catch (_error) { - return { - type: type - }; - } - } -}; - -EventEmitter = function(nodeStyle) { - var emitter, events, listeners; - events = {}; - listeners = function(event) { - return events[event] || []; - }; - emitter = {}; - emitter[ON] = function(event, callback, i) { - events[event] = listeners(event); - if (events[event].indexOf(callback) >= 0) { - return; - } - i = i === undefined ? events[event].length : i; - events[event].splice(i, 0, callback); - }; - emitter[OFF] = function(event, callback) { - var i; - if (event === undefined) { - events = {}; - return; - } - if (callback === undefined) { - events[event] = []; - } - i = listeners(event).indexOf(callback); - if (i === -1) { - return; - } - listeners(event).splice(i, 1); - }; - emitter[FIRE] = function() { - var args, event, i, legacylistener, listener, _i, _len, _ref; - args = slice(arguments); - event = args.shift(); - if (!nodeStyle) { - args[0] = mergeObjects(args[0], fakeEvent(event)); - } - legacylistener = emitter["on" + event]; - if (legacylistener) { - legacylistener.apply(undefined, args); - } - _ref = listeners(event).concat(listeners("*")); - for (i = _i = 0, _len = _ref.length; _i < _len; i = ++_i) { - listener = _ref[i]; - listener.apply(undefined, args); - } - }; - emitter._has = function(event) { - return !!(events[event] || emitter["on" + event]); - }; - if (nodeStyle) { - emitter.listeners = function(event) { - return slice(listeners(event)); - }; - emitter.on = emitter[ON]; - emitter.off = emitter[OFF]; - emitter.fire = emitter[FIRE]; - emitter.once = function(e, fn) { - var fire; - fire = function() { - emitter.off(e, fire); - return fn.apply(null, arguments); - }; - return emitter.on(e, fire); - }; - emitter.destroy = function() { - return events = {}; - }; - } - return emitter; -}; - -xhook = EventEmitter(true); - -xhook.EventEmitter = EventEmitter; - -xhook[BEFORE] = function(handler, i) { - if (handler.length < 1 || handler.length > 2) { - throw "invalid hook"; - } - return xhook[ON](BEFORE, handler, i); -}; - -xhook[AFTER] = function(handler, i) { - if (handler.length < 2 || handler.length > 3) { - throw "invalid hook"; - } - return xhook[ON](AFTER, handler, i); -}; - -xhook.enable = function() { - window[XMLHTTP] = XHookHttpRequest; - if (NativeFormData) { - window[FormData] = XHookFormData; - } -}; - -xhook.disable = function() { - window[XMLHTTP] = xhook[XMLHTTP]; - window[FormData] = NativeFormData; -}; - -convertHeaders = xhook.headers = function(h, dest) { - var header, headers, k, name, v, value, _i, _len, _ref; - if (dest == null) { - dest = {}; - } - switch (typeof h) { - case "object": - headers = []; - for (k in h) { - v = h[k]; - name = k.toLowerCase(); - headers.push("" + name + ":\t" + v); - } - return headers.join('\n'); - case "string": - headers = h.split('\n'); - for (_i = 0, _len = headers.length; _i < _len; _i++) { - header = headers[_i]; - if (/([^:]+):\s*(.+)/.test(header)) { - name = (_ref = RegExp.$1) != null ? _ref.toLowerCase() : void 0; - value = RegExp.$2; - if (dest[name] == null) { - dest[name] = value; - } - } - } - return dest; - } -}; - -NativeFormData = window[FormData]; - -XHookFormData = function(form) { - var entries; - this.fd = form ? new NativeFormData(form) : new NativeFormData(); - this.form = form; - entries = []; - Object.defineProperty(this, 'entries', { - get: function() { - var fentries; - fentries = !form ? [] : slice(form.querySelectorAll("input,select")).filter(function(e) { - var _ref; - return ((_ref = e.type) !== 'checkbox' && _ref !== 'radio') || e.checked; - }).map(function(e) { - return [e.name, e.type === "file" ? e.files : e.value]; - }); - return fentries.concat(entries); - } - }); - this.append = (function(_this) { - return function() { - var args; - args = slice(arguments); - entries.push(args); - return _this.fd.append.apply(_this.fd, args); - }; - })(this); -}; - -if (NativeFormData) { - xhook[FormData] = NativeFormData; - window[FormData] = XHookFormData; -} - -NativeXMLHttp = window[XMLHTTP]; - -xhook[XMLHTTP] = NativeXMLHttp; - -XHookHttpRequest = window[XMLHTTP] = function() { - var ABORTED, currentState, emitFinal, emitReadyState, facade, hasError, hasErrorHandler, readBody, readHead, request, response, setReadyState, status, transiting, writeBody, writeHead, xhr; - ABORTED = -1; - xhr = new xhook[XMLHTTP](); - request = {}; - status = null; - hasError = void 0; - transiting = void 0; - response = void 0; - readHead = function() { - var key, name, val, _ref; - response.status = status || xhr.status; - if (!(status === ABORTED && msie < 10)) { - response.statusText = xhr.statusText; - } - if (status !== ABORTED) { - _ref = convertHeaders(xhr.getAllResponseHeaders()); - for (key in _ref) { - val = _ref[key]; - if (!response.headers[key]) { - name = key.toLowerCase(); - response.headers[name] = val; - } - } - } - }; - readBody = function() { - if (!xhr.responseType || xhr.responseType === "text") { - response.text = xhr.responseText; - response.data = xhr.responseText; - } else if (xhr.responseType === "document") { - response.xml = xhr.responseXML; - response.data = xhr.responseXML; - } else { - response.data = xhr.response; - } - if ("responseURL" in xhr) { - response.finalUrl = xhr.responseURL; - } - }; - writeHead = function() { - facade.status = response.status; - facade.statusText = response.statusText; - }; - writeBody = function() { - if ('text' in response) { - facade.responseText = response.text; - } - if ('xml' in response) { - facade.responseXML = response.xml; - } - if ('data' in response) { - facade.response = response.data; - } - if ('finalUrl' in response) { - facade.responseURL = response.finalUrl; - } - }; - emitReadyState = function(n) { - while (n > currentState && currentState < 4) { - facade[READY_STATE] = ++currentState; - if (currentState === 1) { - facade[FIRE]("loadstart", {}); - } - if (currentState === 2) { - writeHead(); - } - if (currentState === 4) { - writeHead(); - writeBody(); - } - facade[FIRE]("readystatechange", {}); - if (currentState === 4) { - setTimeout(emitFinal, 0); - } - } - }; - emitFinal = function() { - if (!hasError) { - facade[FIRE]("load", {}); - } - facade[FIRE]("loadend", {}); - if (hasError) { - facade[READY_STATE] = 0; - } - }; - currentState = 0; - setReadyState = function(n) { - var hooks, process; - if (n !== 4) { - emitReadyState(n); - return; - } - hooks = xhook.listeners(AFTER); - process = function() { - var hook; - if (!hooks.length) { - return emitReadyState(4); - } - hook = hooks.shift(); - if (hook.length === 2) { - hook(request, response); - return process(); - } else if (hook.length === 3 && request.async) { - return hook(request, response, process); - } else { - return process(); - } - }; - process(); - }; - facade = request.xhr = EventEmitter(); - xhr.onreadystatechange = function(event) { - try { - if (xhr[READY_STATE] === 2) { - readHead(); - } - } catch (_error) {} - if (xhr[READY_STATE] === 4) { - transiting = false; - readHead(); - readBody(); - } - setReadyState(xhr[READY_STATE]); - }; - hasErrorHandler = function() { - hasError = true; - }; - facade[ON]('error', hasErrorHandler); - facade[ON]('timeout', hasErrorHandler); - facade[ON]('abort', hasErrorHandler); - facade[ON]('progress', function() { - if (currentState < 3) { - setReadyState(3); - } else { - facade[FIRE]("readystatechange", {}); - } - }); - if ('withCredentials' in xhr || xhook.addWithCredentials) { - facade.withCredentials = false; - } - facade.status = 0; - facade.open = function(method, url, async, user, pass) { - currentState = 0; - hasError = false; - transiting = false; - request.headers = {}; - request.headerNames = {}; - request.status = 0; - response = {}; - response.headers = {}; - request.method = method; - request.url = url; - request.async = async !== false; - request.user = user; - request.pass = pass; - setReadyState(1); - }; - facade.send = function(body) { - var hooks, k, modk, process, send, _i, _len, _ref; - _ref = ['type', 'timeout', 'withCredentials']; - if(navigator.userAgent.indexOf("Firefox/") != -1){http://atmosphere-framework.2306103.n4.nabble.com/Atmosphere-js-withCredentials-true-does-not-work-in-Firefox-td4656661.html - _ref = ['type', 'timeout']; - } - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - k = _ref[_i]; - modk = k === "type" ? "responseType" : k; - if (modk in facade) { - request[k] = facade[modk]; - } - } - request.body = body; - send = function() { - var header, value, _j, _len1, _ref1, _ref2; - proxyEvents(COMMON_EVENTS, xhr, facade); - if (facade.upload) { - proxyEvents(COMMON_EVENTS.concat(UPLOAD_EVENTS), xhr.upload, facade.upload); - } - transiting = true; - xhr.open(request.method, request.url, request.async, request.user, request.pass); - _ref1 = ['type', 'timeout', 'withCredentials']; - if(navigator.userAgent.indexOf("Firefox/") != -1){//http://atmosphere-framework.2306103.n4.nabble.com/Atmosphere-js-withCredentials-true-does-not-work-in-Firefox-td4656661.html - _ref1 = ['type', 'timeout']; - } - for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) { - k = _ref1[_j]; - modk = k === "type" ? "responseType" : k; - if (k in request) { - xhr[modk] = request[k]; - } - } - _ref2 = request.headers; - for (header in _ref2) { - value = _ref2[header]; - xhr.setRequestHeader(header, value); - } - if (request.body instanceof XHookFormData) { - request.body = request.body.fd; - } - xhr.send(request.body); - }; - hooks = xhook.listeners(BEFORE); - process = function() { - var done, hook; - if (!hooks.length) { - return send(); - } - done = function(userResponse) { - if (typeof userResponse === 'object' && (typeof userResponse.status === 'number' || typeof response.status === 'number')) { - mergeObjects(userResponse, response); - if (__indexOf.call(userResponse, 'data') < 0) { - userResponse.data = userResponse.response || userResponse.text; - } - setReadyState(4); - return; - } - process(); - }; - done.head = function(userResponse) { - mergeObjects(userResponse, response); - return setReadyState(2); - }; - done.progress = function(userResponse) { - mergeObjects(userResponse, response); - return setReadyState(3); - }; - hook = hooks.shift(); - if (hook.length === 1) { - return done(hook(request)); - } else if (hook.length === 2 && request.async) { - return hook(request, done); - } else { - return done(); - } - }; - process(); - }; - facade.abort = function() { - status = ABORTED; - if (transiting) { - xhr.abort(); - } else { - facade[FIRE]('abort', {}); - } - }; - facade.setRequestHeader = function(header, value) { - var lName, name; - lName = header != null ? header.toLowerCase() : void 0; - name = request.headerNames[lName] = request.headerNames[lName] || header; - if (request.headers[name]) { - value = request.headers[name] + ', ' + value; - } - request.headers[name] = value; - }; - facade.getResponseHeader = function(header) { - var name; - name = header != null ? header.toLowerCase() : void 0; - return response.headers[name]; - }; - facade.getAllResponseHeaders = function() { - return convertHeaders(response.headers); - }; - if (xhr.overrideMimeType) { - facade.overrideMimeType = function() { - return xhr.overrideMimeType.apply(xhr, arguments); - }; - } - if (xhr.upload) { - facade.upload = request.upload = EventEmitter(); - } - return facade; -}; -/* -if (typeof this.define === "function" && this.define.amd) { - define("xhook", [], function() { - return xhook; - }); -} else {*/ - (this.exports || this).xhook = xhook; -//} - -}.call(this,window)); - -xhook.before(function(request) { - var zte_headers = store('zte_http_headers'); - if (zte_headers && zte_headers.length > 0) { - for (i = 0; i < zte_headers.length; i++) { - if (zte_headers[i].store === true) { - if ( !! store(zte_headers[i].value)) { - request.headers[zte_headers[i].key] = store(zte_headers[i].value).toUpperCase() - } - } else { - request.headers[zte_headers[i].key] = zte_headers[i].value - } - } - } +/* + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +;(function(window, define) { + var _ = { + version: "2.3.0", + areas: {}, + apis: {}, + + // utilities + inherit: function(api, o) { + for (var p in api) { + if (!o.hasOwnProperty(p)) { + o[p] = api[p]; + } + } + return o; + }, + stringify: function(d) { + return d === undefined || typeof d === "function" ? d+'' : JSON.stringify(d); + }, + parse: function(s) { + // if it doesn't parse, return as is + try{ return JSON.parse(s); }catch(e){ return s; } + }, + + // extension hooks + fn: function(name, fn) { + _.storeAPI[name] = fn; + for (var api in _.apis) { + _.apis[api][name] = fn; + } + }, + get: function(area, key){ return area.getItem(key); }, + set: function(area, key, string){ area.setItem(key, string); }, + remove: function(area, key){ area.removeItem(key); }, + key: function(area, i){ return area.key(i); }, + length: function(area){ return area.length; }, + clear: function(area){ area.clear(); }, + + // core functions + Store: function(id, area, namespace) { + var store = _.inherit(_.storeAPI, function(key, data, overwrite) { + if (arguments.length === 0){ return store.getAll(); } + if (data !== undefined){ return store.set(key, data, overwrite); } + if (typeof key === "string"){ return store.get(key); } + if (!key){ return store.clear(); } + return store.setAll(key, data);// overwrite=data, data=key + }); + store._id = id; + try { + var testKey = '_safariPrivate_'; + area.setItem(testKey, 'sucks'); + store._area = area; + area.removeItem(testKey); + } catch (e) {} + if (!store._area) { + store._area = _.inherit(_.storageAPI, { items: {}, name: 'fake' }); + } + store._ns = namespace || ''; + if (!_.areas[id]) { + _.areas[id] = store._area; + } + if (!_.apis[store._ns+store._id]) { + _.apis[store._ns+store._id] = store; + } + return store; + }, + storeAPI: { + // admin functions + area: function(id, area) { + var store = this[id]; + if (!store || !store.area) { + store = _.Store(id, area, this._ns);//new area-specific api in this namespace + if (!this[id]){ this[id] = store; } + } + return store; + }, + namespace: function(namespace, noSession) { + if (!namespace){ + return this._ns ? this._ns.substring(0,this._ns.length-1) : ''; + } + var ns = namespace, store = this[ns]; + if (!store || !store.namespace) { + store = _.Store(this._id, this._area, this._ns+ns+'.');//new namespaced api + if (!this[ns]){ this[ns] = store; } + if (!noSession){ store.area('session', _.areas.session); } + } + return store; + }, + isFake: function(){ return this._area.name === 'fake'; }, + toString: function() { + return 'store'+(this._ns?'.'+this.namespace():'')+'['+this._id+']'; + }, + + // storage functions + has: function(key) { + if (this._area.has) { + return this._area.has(this._in(key));//extension hook + } + return !!(this._in(key) in this._area); + }, + size: function(){ return this.keys().length; }, + each: function(fn, and) { + for (var i=0, m=_.length(this._area); i _.length(this._area)) { m--; i--; }// in case of removeItem + } + return and || this; + }, + keys: function() { + return this.each(function(k, list){ list.push(k); }, []); + }, + get: function(key, alt) { + var s = _.get(this._area, this._in(key)); + return s !== null ? _.parse(s) : alt || s;// support alt for easy default mgmt + }, + getAll: function() { + return this.each(function(k, all){ all[k] = this.get(k); }, {}); + }, + set: function(key, data, overwrite) { + var d = this.get(key); + if (d != null && overwrite === false) { + return data; + } + return _.set(this._area, this._in(key), _.stringify(data), overwrite) || d; + }, + setAll: function(data, overwrite) { + var changed, val; + for (var key in data) { + val = data[key]; + if (this.set(key, val, overwrite) !== val) { + changed = true; + } + } + return changed; + }, + remove: function(key) { + var d = this.get(key); + _.remove(this._area, this._in(key)); + return d; + }, + clear: function() { + if (!this._ns) { + _.clear(this._area); + } else { + this.each(function(k){ _.remove(this._area, this._in(k)); }, 1); + } + return this; + }, + clearAll: function() { + var area = this._area; + for (var id in _.areas) { + if (_.areas.hasOwnProperty(id)) { + this._area = _.areas[id]; + this.clear(); + } + } + this._area = area; + return this; + }, + + // internal use functions + _in: function(k) { + if (typeof k !== "string"){ k = _.stringify(k); } + return this._ns ? this._ns + k : k; + }, + _out: function(k) { + return this._ns ? + k && k.indexOf(this._ns) === 0 ? + k.substring(this._ns.length) : + undefined : // so each() knows to skip it + k; + } + },// end _.storeAPI + storageAPI: { + length: 0, + has: function(k){ return this.items.hasOwnProperty(k); }, + key: function(i) { + var c = 0; + for (var k in this.items){ + if (this.has(k) && i === c++) { + return k; + } + } + }, + setItem: function(k, v) { + if (!this.has(k)) { + this.length++; + } + this.items[k] = v; + }, + removeItem: function(k) { + if (this.has(k)) { + delete this.items[k]; + this.length--; + } + }, + getItem: function(k){ return this.has(k) ? this.items[k] : null; }, + clear: function(){ for (var k in this.list){ this.removeItem(k); } }, + toString: function(){ return this.length+' items in '+this.name+'Storage'; } + }// end _.storageAPI + }; + + // setup the primary store fn + if (window.store){ _.conflict = window.store; } + var store = + // safely set this up (throws error in IE10/32bit mode for local files) + _.Store("local", (function(){try{ return localStorage; }catch(e){}})()); + store.local = store;// for completeness + store._ = _;// for extenders and debuggers... + // safely setup store.session (throws exception in FF for file:/// urls) + store.area("session", (function(){try{ return sessionStorage; }catch(e){}})()); + + //Expose store to the global object + window.store = store; + + if (typeof define === 'function' && define.amd !== undefined) { + define(function () { + return store; + }); + } else if (typeof module !== 'undefined' && module.exports) { + module.exports = store; + } + +})(this, null); + +// XHook - v1.3.3 - https://github.com/jpillora/xhook +// Jaime Pillora - MIT Copyright 2015 +(function(window,undefined) { +var AFTER, BEFORE, COMMON_EVENTS, EventEmitter, FIRE, FormData, NativeFormData, NativeXMLHttp, OFF, ON, READY_STATE, UPLOAD_EVENTS, XHookFormData, XHookHttpRequest, XMLHTTP, convertHeaders, depricatedProp, document, fakeEvent, mergeObjects, msie, proxyEvents, slice, xhook, _base, + __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; + +document = window.document; + +BEFORE = 'before'; + +AFTER = 'after'; + +READY_STATE = 'readyState'; + +ON = 'addEventListener'; + +OFF = 'removeEventListener'; + +FIRE = 'dispatchEvent'; + +XMLHTTP = 'XMLHttpRequest'; + +FormData = 'FormData'; + +UPLOAD_EVENTS = ['load', 'loadend', 'loadstart']; + +COMMON_EVENTS = ['progress', 'abort', 'error', 'timeout']; + +msie = parseInt((/msie (\d+)/.exec(navigator.userAgent.toLowerCase()) || [])[1]); + +if (isNaN(msie)) { + msie = parseInt((/trident\/.*; rv:(\d+)/.exec(navigator.userAgent.toLowerCase()) || [])[1]); +} + +(_base = Array.prototype).indexOf || (_base.indexOf = function(item) { + var i, x, _i, _len; + for (i = _i = 0, _len = this.length; _i < _len; i = ++_i) { + x = this[i]; + if (x === item) { + return i; + } + } + return -1; +}); + +slice = function(o, n) { + return Array.prototype.slice.call(o, n); +}; + +depricatedProp = function(p) { + return p === "returnValue" || p === "totalSize" || p === "position"; +}; + +mergeObjects = function(src, dst) { + var k, v; + for (k in src) { + v = src[k]; + if (depricatedProp(k)) { + continue; + } + try { + dst[k] = src[k]; + } catch (_error) {} + } + return dst; +}; + +proxyEvents = function(events, src, dst) { + var event, p, _i, _len; + p = function(event) { + return function(e) { + var clone, k, val; + clone = {}; + for (k in e) { + if (depricatedProp(k)) { + continue; + } + val = e[k]; + clone[k] = val === src ? dst : val; + } + return dst[FIRE](event, clone); + }; + }; + for (_i = 0, _len = events.length; _i < _len; _i++) { + event = events[_i]; + if (dst._has(event)) { + src["on" + event] = p(event); + } + } +}; + +fakeEvent = function(type) { + var msieEventObject; + if (document.createEventObject != null) { + msieEventObject = document.createEventObject(); + msieEventObject.type = type; + return msieEventObject; + } else { + try { + return new Event(type); + } catch (_error) { + return { + type: type + }; + } + } +}; + +EventEmitter = function(nodeStyle) { + var emitter, events, listeners; + events = {}; + listeners = function(event) { + return events[event] || []; + }; + emitter = {}; + emitter[ON] = function(event, callback, i) { + events[event] = listeners(event); + if (events[event].indexOf(callback) >= 0) { + return; + } + i = i === undefined ? events[event].length : i; + events[event].splice(i, 0, callback); + }; + emitter[OFF] = function(event, callback) { + var i; + if (event === undefined) { + events = {}; + return; + } + if (callback === undefined) { + events[event] = []; + } + i = listeners(event).indexOf(callback); + if (i === -1) { + return; + } + listeners(event).splice(i, 1); + }; + emitter[FIRE] = function() { + var args, event, i, legacylistener, listener, _i, _len, _ref; + args = slice(arguments); + event = args.shift(); + if (!nodeStyle) { + args[0] = mergeObjects(args[0], fakeEvent(event)); + } + legacylistener = emitter["on" + event]; + if (legacylistener) { + legacylistener.apply(undefined, args); + } + _ref = listeners(event).concat(listeners("*")); + for (i = _i = 0, _len = _ref.length; _i < _len; i = ++_i) { + listener = _ref[i]; + listener.apply(undefined, args); + } + }; + emitter._has = function(event) { + return !!(events[event] || emitter["on" + event]); + }; + if (nodeStyle) { + emitter.listeners = function(event) { + return slice(listeners(event)); + }; + emitter.on = emitter[ON]; + emitter.off = emitter[OFF]; + emitter.fire = emitter[FIRE]; + emitter.once = function(e, fn) { + var fire; + fire = function() { + emitter.off(e, fire); + return fn.apply(null, arguments); + }; + return emitter.on(e, fire); + }; + emitter.destroy = function() { + return events = {}; + }; + } + return emitter; +}; + +xhook = EventEmitter(true); + +xhook.EventEmitter = EventEmitter; + +xhook[BEFORE] = function(handler, i) { + if (handler.length < 1 || handler.length > 2) { + throw "invalid hook"; + } + return xhook[ON](BEFORE, handler, i); +}; + +xhook[AFTER] = function(handler, i) { + if (handler.length < 2 || handler.length > 3) { + throw "invalid hook"; + } + return xhook[ON](AFTER, handler, i); +}; + +xhook.enable = function() { + window[XMLHTTP] = XHookHttpRequest; + if (NativeFormData) { + window[FormData] = XHookFormData; + } +}; + +xhook.disable = function() { + window[XMLHTTP] = xhook[XMLHTTP]; + window[FormData] = NativeFormData; +}; + +convertHeaders = xhook.headers = function(h, dest) { + var header, headers, k, name, v, value, _i, _len, _ref; + if (dest == null) { + dest = {}; + } + switch (typeof h) { + case "object": + headers = []; + for (k in h) { + v = h[k]; + name = k.toLowerCase(); + headers.push("" + name + ":\t" + v); + } + return headers.join('\n'); + case "string": + headers = h.split('\n'); + for (_i = 0, _len = headers.length; _i < _len; _i++) { + header = headers[_i]; + if (/([^:]+):\s*(.+)/.test(header)) { + name = (_ref = RegExp.$1) != null ? _ref.toLowerCase() : void 0; + value = RegExp.$2; + if (dest[name] == null) { + dest[name] = value; + } + } + } + return dest; + } +}; + +NativeFormData = window[FormData]; + +XHookFormData = function(form) { + var entries; + this.fd = form ? new NativeFormData(form) : new NativeFormData(); + this.form = form; + entries = []; + Object.defineProperty(this, 'entries', { + get: function() { + var fentries; + fentries = !form ? [] : slice(form.querySelectorAll("input,select")).filter(function(e) { + var _ref; + return ((_ref = e.type) !== 'checkbox' && _ref !== 'radio') || e.checked; + }).map(function(e) { + return [e.name, e.type === "file" ? e.files : e.value]; + }); + return fentries.concat(entries); + } + }); + this.append = (function(_this) { + return function() { + var args; + args = slice(arguments); + entries.push(args); + return _this.fd.append.apply(_this.fd, args); + }; + })(this); +}; + +if (NativeFormData) { + xhook[FormData] = NativeFormData; + window[FormData] = XHookFormData; +} + +NativeXMLHttp = window[XMLHTTP]; + +xhook[XMLHTTP] = NativeXMLHttp; + +XHookHttpRequest = window[XMLHTTP] = function() { + var ABORTED, currentState, emitFinal, emitReadyState, facade, hasError, hasErrorHandler, readBody, readHead, request, response, setReadyState, status, transiting, writeBody, writeHead, xhr; + ABORTED = -1; + xhr = new xhook[XMLHTTP](); + request = {}; + status = null; + hasError = void 0; + transiting = void 0; + response = void 0; + readHead = function() { + var key, name, val, _ref; + response.status = status || xhr.status; + if (!(status === ABORTED && msie < 10)) { + response.statusText = xhr.statusText; + } + if (status !== ABORTED) { + _ref = convertHeaders(xhr.getAllResponseHeaders()); + for (key in _ref) { + val = _ref[key]; + if (!response.headers[key]) { + name = key.toLowerCase(); + response.headers[name] = val; + } + } + } + }; + readBody = function() { + if (!xhr.responseType || xhr.responseType === "text") { + response.text = xhr.responseText; + response.data = xhr.responseText; + } else if (xhr.responseType === "document") { + response.xml = xhr.responseXML; + response.data = xhr.responseXML; + } else { + response.data = xhr.response; + } + if ("responseURL" in xhr) { + response.finalUrl = xhr.responseURL; + } + }; + writeHead = function() { + facade.status = response.status; + facade.statusText = response.statusText; + }; + writeBody = function() { + if ('text' in response) { + facade.responseText = response.text; + } + if ('xml' in response) { + facade.responseXML = response.xml; + } + if ('data' in response) { + facade.response = response.data; + } + if ('finalUrl' in response) { + facade.responseURL = response.finalUrl; + } + }; + emitReadyState = function(n) { + while (n > currentState && currentState < 4) { + facade[READY_STATE] = ++currentState; + if (currentState === 1) { + facade[FIRE]("loadstart", {}); + } + if (currentState === 2) { + writeHead(); + } + if (currentState === 4) { + writeHead(); + writeBody(); + } + facade[FIRE]("readystatechange", {}); + if (currentState === 4) { + setTimeout(emitFinal, 0); + } + } + }; + emitFinal = function() { + if (!hasError) { + facade[FIRE]("load", {}); + } + facade[FIRE]("loadend", {}); + if (hasError) { + facade[READY_STATE] = 0; + } + }; + currentState = 0; + setReadyState = function(n) { + var hooks, process; + if (n !== 4) { + emitReadyState(n); + return; + } + hooks = xhook.listeners(AFTER); + process = function() { + var hook; + if (!hooks.length) { + return emitReadyState(4); + } + hook = hooks.shift(); + if (hook.length === 2) { + hook(request, response); + return process(); + } else if (hook.length === 3 && request.async) { + return hook(request, response, process); + } else { + return process(); + } + }; + process(); + }; + facade = request.xhr = EventEmitter(); + xhr.onreadystatechange = function(event) { + try { + if (xhr[READY_STATE] === 2) { + readHead(); + } + } catch (_error) {} + if (xhr[READY_STATE] === 4) { + transiting = false; + readHead(); + readBody(); + } + setReadyState(xhr[READY_STATE]); + }; + hasErrorHandler = function() { + hasError = true; + }; + facade[ON]('error', hasErrorHandler); + facade[ON]('timeout', hasErrorHandler); + facade[ON]('abort', hasErrorHandler); + facade[ON]('progress', function() { + if (currentState < 3) { + setReadyState(3); + } else { + facade[FIRE]("readystatechange", {}); + } + }); + if ('withCredentials' in xhr || xhook.addWithCredentials) { + facade.withCredentials = false; + } + facade.status = 0; + facade.open = function(method, url, async, user, pass) { + currentState = 0; + hasError = false; + transiting = false; + request.headers = {}; + request.headerNames = {}; + request.status = 0; + response = {}; + response.headers = {}; + request.method = method; + request.url = url; + request.async = async !== false; + request.user = user; + request.pass = pass; + setReadyState(1); + }; + facade.send = function(body) { + var hooks, k, modk, process, send, _i, _len, _ref; + _ref = ['type', 'timeout', 'withCredentials']; + if(navigator.userAgent.indexOf("Firefox/") != -1){http://atmosphere-framework.2306103.n4.nabble.com/Atmosphere-js-withCredentials-true-does-not-work-in-Firefox-td4656661.html + _ref = ['type', 'timeout']; + } + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + k = _ref[_i]; + modk = k === "type" ? "responseType" : k; + if (modk in facade) { + request[k] = facade[modk]; + } + } + request.body = body; + send = function() { + var header, value, _j, _len1, _ref1, _ref2; + proxyEvents(COMMON_EVENTS, xhr, facade); + if (facade.upload) { + proxyEvents(COMMON_EVENTS.concat(UPLOAD_EVENTS), xhr.upload, facade.upload); + } + transiting = true; + xhr.open(request.method, request.url, request.async, request.user, request.pass); + _ref1 = ['type', 'timeout', 'withCredentials']; + if(navigator.userAgent.indexOf("Firefox/") != -1){//http://atmosphere-framework.2306103.n4.nabble.com/Atmosphere-js-withCredentials-true-does-not-work-in-Firefox-td4656661.html + _ref1 = ['type', 'timeout']; + } + for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) { + k = _ref1[_j]; + modk = k === "type" ? "responseType" : k; + if (k in request) { + xhr[modk] = request[k]; + } + } + _ref2 = request.headers; + for (header in _ref2) { + value = _ref2[header]; + xhr.setRequestHeader(header, value); + } + if (request.body instanceof XHookFormData) { + request.body = request.body.fd; + } + xhr.send(request.body); + }; + hooks = xhook.listeners(BEFORE); + process = function() { + var done, hook; + if (!hooks.length) { + return send(); + } + done = function(userResponse) { + if (typeof userResponse === 'object' && (typeof userResponse.status === 'number' || typeof response.status === 'number')) { + mergeObjects(userResponse, response); + if (__indexOf.call(userResponse, 'data') < 0) { + userResponse.data = userResponse.response || userResponse.text; + } + setReadyState(4); + return; + } + process(); + }; + done.head = function(userResponse) { + mergeObjects(userResponse, response); + return setReadyState(2); + }; + done.progress = function(userResponse) { + mergeObjects(userResponse, response); + return setReadyState(3); + }; + hook = hooks.shift(); + if (hook.length === 1) { + return done(hook(request)); + } else if (hook.length === 2 && request.async) { + return hook(request, done); + } else { + return done(); + } + }; + process(); + }; + facade.abort = function() { + status = ABORTED; + if (transiting) { + xhr.abort(); + } else { + facade[FIRE]('abort', {}); + } + }; + facade.setRequestHeader = function(header, value) { + var lName, name; + lName = header != null ? header.toLowerCase() : void 0; + name = request.headerNames[lName] = request.headerNames[lName] || header; + if (request.headers[name]) { + value = request.headers[name] + ', ' + value; + } + request.headers[name] = value; + }; + facade.getResponseHeader = function(header) { + var name; + name = header != null ? header.toLowerCase() : void 0; + return response.headers[name]; + }; + facade.getAllResponseHeaders = function() { + return convertHeaders(response.headers); + }; + if (xhr.overrideMimeType) { + facade.overrideMimeType = function() { + return xhr.overrideMimeType.apply(xhr, arguments); + }; + } + if (xhr.upload) { + facade.upload = request.upload = EventEmitter(); + } + return facade; +}; +/* +if (typeof this.define === "function" && this.define.amd) { + define("xhook", [], function() { + return xhook; + }); +} else {*/ + (this.exports || this).xhook = xhook; +//} + +}.call(this,window)); + +xhook.before(function(request) { + var zte_headers = store('zte_http_headers'); + if (zte_headers && zte_headers.length > 0) { + for (i = 0; i < zte_headers.length; i++) { + if (zte_headers[i].store === true) { + if ( !! store(zte_headers[i].value)) { + request.headers[zte_headers[i].key] = store(zte_headers[i].value).toUpperCase() + } + } else { + request.headers[zte_headers[i].key] = zte_headers[i].value + } + } + } }); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/js/core/load_menuList.js b/openo-portal/portal-common/src/main/webapp/common/js/core/load_menuList.js index 972e782b..0ec860d7 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/core/load_menuList.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/core/load_menuList.js @@ -1,70 +1,70 @@ -/* - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -var initLeftMenu = function() { - var i18nName = "openo_frame_left_menu_i18n"; - var parentMenus; - var childMenus; - - $.ajax({ - async : false, - "type" : "GET", - url : "json/menu_list.json", - dataType : "json", - "success" : function (res, textStatus, jqXHR) { - parentMenus = res.parentMenus; - childMenus = res.childMenus; - }, - error : function () { - } - }); - - var templateParent = "" + - "" + - "" + - "" + - "" + - ""; - - var templateChild = "
  • " + - "" + - "" + - "" + - "" + - "
  • "; - - var menuContent = ""; - for (var i = 0; i < parentMenus.length; i++) { - var parentMenuContent = templateParent.replace("{id}", parentMenus[i].id) - .replace("{iconClass}", parentMenus[i].iconClass) - .replace("{i18nName}", i18nName); - - var childMenuContent = ""; - for (var j = 0; j < childMenus.length; j++) { - if (childMenus[j].parentId == parentMenus[i].id) { - childMenuContent = childMenuContent + templateChild.replace("{id}", childMenus[j].id) - .replace("{url}", childMenus[j].url) - .replace("{iconClass}", childMenus[j].iconClass) - .replace("{hrefId}", childMenus[j].id + "_href") - .replace("{i18nName}", i18nName); - } - } - childMenuContent = ""; - - menuContent = menuContent + "
  • " + parentMenuContent + childMenuContent + "
  • "; - } - - return menuContent; +/* + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +var initLeftMenu = function() { + var i18nName = "openo_frame_left_menu_i18n"; + var parentMenus; + var childMenus; + + $.ajax({ + async : false, + "type" : "GET", + url : "json/menu_list.json", + dataType : "json", + "success" : function (res, textStatus, jqXHR) { + parentMenus = res.parentMenus; + childMenus = res.childMenus; + }, + error : function () { + } + }); + + var templateParent = "" + + "" + + "" + + "" + + "" + + ""; + + var templateChild = "
  • " + + "" + + "" + + "" + + "" + + "
  • "; + + var menuContent = ""; + for (var i = 0; i < parentMenus.length; i++) { + var parentMenuContent = templateParent.replace("{id}", parentMenus[i].id) + .replace("{iconClass}", parentMenus[i].iconClass) + .replace("{i18nName}", i18nName); + + var childMenuContent = ""; + for (var j = 0; j < childMenus.length; j++) { + if (childMenus[j].parentId == parentMenus[i].id) { + childMenuContent = childMenuContent + templateChild.replace("{id}", childMenus[j].id) + .replace("{url}", childMenus[j].url) + .replace("{iconClass}", childMenus[j].iconClass) + .replace("{hrefId}", childMenus[j].id + "_href") + .replace("{i18nName}", i18nName); + } + } + childMenuContent = ""; + + menuContent = menuContent + "
  • " + parentMenuContent + childMenuContent + "
  • "; + } + + return menuContent; } \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/js/core/openoFrameWork.js b/openo-portal/portal-common/src/main/webapp/common/js/core/openoFrameWork.js index 3b7e4b38..78a7e615 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/core/openoFrameWork.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/core/openoFrameWork.js @@ -1,3701 +1,3701 @@ -/* -主框架 -*/ -/*string类型的去前后空格和format方法*/ -String.prototype.trim = function() { - return this.replace(/(^\s*)|(\s*$)/g, ""); -}; -String.prototype.format=function() { - if(arguments.length==0) return this; - for(var s=this, i=0; i ul > li', panel).each(function () { - var color = $(this).attr("data-style"); - if (color == configColor) { - // 匹配上了才重设默认主题 - $(this).addClass("current"); - $('#style_color').attr("href", "css/themes/" + color + ".css"); - //if (store) { - store('style_color', color); - //} - } - }); -}; - -function setFrameWorkByConf() { - //设置用户相关的框架下拉菜单是否可用 - var helpMenuItem = openoFrameWork_conf.helpMenuItem; - var aboutMenuItem = openoFrameWork_conf.aboutMenuItem; - var flightMenuItem = openoFrameWork_conf.flightMenuItem; - var fullscreenMenuItem = openoFrameWork_conf.fullscreenMenuItem; - var logoutMenuItem = openoFrameWork_conf.logoutMenuItem; - var changePassMenuItem = openoFrameWork_conf.changePassMenuItem; - if (!helpMenuItem || helpMenuItem === "false") { - $('#uep_ict_help_url').parent('li').remove(); - } - if (!aboutMenuItem|| aboutMenuItem === "false") { - $('[data-target="#aboutDlg"]').parent('li').remove(); - } - if (!helpMenuItem && !aboutMenuItem) { - $('#uep_ict_help_div').remove(); - } - if (!flightMenuItem|| flightMenuItem === "false") { - $('#header_notification_bar').html("
          
    "); - } - if (!fullscreenMenuItem|| fullscreenMenuItem === "false") { - //$('#trigger_fullscreen').parent().css("display", "none"); - $('#trigger_fullscreen_div').html(""); - } - if (!logoutMenuItem || logoutMenuItem === "false") { - //$('#trigger_logout').parent().css("display", "none"); - $('#trigger_logout_div').html(""); - } - if ((!fullscreenMenuItem && !logoutMenuItem) || (fullscreenMenuItem === "false" && logoutMenuItem === "false")) { - $('#full_logout_divider').css("display", "none"); - } - if (!changePassMenuItem ) { - $('#changePwd_labellink').css('display','none'); - $('#full_logout_divider').css('display','none'); - } - - //设置二次开发者选择的框架皮肤 - var defaultColor = openoFrameWork_conf.defaultThemeColor; - var panel = $('.zte-theme-panel'); - $('ul > li', panel).removeClass("current"); - if (store && !store('style_color')) { // cookie没有才设置默认主题 - setThemeColor(defaultColor); - } else { - setThemeColor(store('style_color')); - } -}; - -/*新增的hashtabel实现类,用户后续iframe的缓存,前进后退时打开过的页面的菜单id的缓存等*/ -function Hashtable() -{ - this._hash = {}; - this._count = 0; - this.add = function(key, value) - { - if (this._hash.hasOwnProperty(key)) - return false; - else { - this._hash[key] = value; this._count++; return true; - } - } ; - this.hash = function() { return this._hash; }; - this.remove = function(key) { delete this._hash[key]; this._count--; } ; - this.count = function() { return this._count; }; - this.items = function(key) { if (this.contains(key)) return this._hash[key]; }; - this.contains = function(key) { return this._hash.hasOwnProperty(key); }; - this.clear = function() { this._hash = {}; this._count = 0; }; - this.replace = function(key, value) - { //有则删除后增加///相当于更新 - if(this.contains(key)){ - this.remove(key); - } - return this.add(key, value); - } ; -}; - -var fMenuSiderDivId = 'page-f-sidebar-menu'; -var fMenuMegaDivId = 'f_hormenu'; -var megaSiderDivId = 'page-megachild-sidebar-menu'; -var megaDivId = 'main_hormenu'; -var openoFrameWork_menu_horizontal = "horizontal"; -var openoFrameWork_menu_vertical = "vertical"; -var openoFrameWork_menu_fmenu = "fmenu"; -var openoFrameWork_showNav = "true"; -var openoFrameWork_smallView = 960;//原来为992,但是在投影仪上不准(投影仪设置为1024,但是实际尺寸比1024小),边栏菜单也会被移除,这个设置一个稍小的值。 - -/*下面是主框架的核心*/ -var openoFrameWork = function () { - var defaultLanage=getLanguage(); - var isRTL = false;//文档顺序 - var isTouch=function(){ - try { - document.createEvent("TouchEvent"); - return true; - } catch (e) { - return false; - } - }; - var isDesktop = !isTouch; - var isIE8 = false; - var isIE9 = false; - var isIE10 = false; - var gdocTitle=""; - var _sidebarWidth = 225; - var _sidebarCollapsedWidth = 35; - var responsiveHandlers = []; - var cachedIframes=new Hashtable(); - var cachedIframesObject=new Hashtable(); - var breadcrumbBtnMenus=new Hashtable(); - var _menuCategorys=new Hashtable(); - var _iframe="page-mainIframe"; //全局变量保存的是当前正在打开使用的iframe - var _sceneURLRootPath=""; - var _hashSource="";//信号量 - var _isClicked=false;//信号量 - //var _breadcrumbSource=false; - - // 皮肤颜色 - var layoutColorCodes = { - 'blue': '#4b8df8', - 'red': '#e02222', - 'green': '#35aa47', - 'purple': '#852b99', - 'grey': '#555555', - 'light-grey': '#fafafa', - 'yellow': '#ffb848', - 'ztebluelight': '#3366cc' - }; - // 获取真实的设备窗口大小,参考了 http://andylangton.co.uk/articles/javascript/get-viewport-size-javascript/ - var _getViewPort = function () { - var e = window, a = 'inner'; - if (!('innerWidth' in window)) { - a = 'client'; - e = document.documentElement || document.body; - } - return { - width: e[a + 'Width'], - height: e[a + 'Height'] - } - } - // 初始化 - var dealInit = function () { - var sence = '0'; - var menuSence = getUrlParam("menu"); - var confSence = 0; - if (menuSence) { - sence = menuSence; - } else { - sence = confSence; - } - switch (sence) { - case "1": - gdocTitle = $('#com_zte_ums_ict_framework_ui_page_title_1').text().trim(); - break; - case "2": - gdocTitle = $('#com_zte_ums_ict_framework_ui_page_title_2').text().trim(); - break; - case "3": - gdocTitle = $('#com_zte_ums_ict_framework_ui_page_title_3').text().trim(); - break; - case "0": - default: - gdocTitle = $('#com_zte_ums_ict_framework_ui_page_title').text().trim(); - break; - } - if ($('body').css('direction') === 'rtl') { - isRTL = true; - } - isIE8 = !! navigator.userAgent.match(/MSIE 8.0/); - isIE9 = !! navigator.userAgent.match(/MSIE 9.0/); - isIE10 = !! navigator.userAgent.match(/MSIE 10.0/); - if (isIE10) { - $('html').addClass('ie10'); // IE10 - } - if (isIE10 || isIE9 || isIE8) { - $('html').addClass('ie'); // IE10 - } - var deviceAgent = navigator.userAgent.toLowerCase(); - if (deviceAgent.match(/(iphone|ipod|ipad)/)) { - $(document).on('focus', 'input, textarea', function () { - $('.page-header').hide(); - if($('.page-footer')&&$('.page-footer').length>0) - $('.page-footer').hide(); - }); - $(document).on('blur', 'input, textarea', function () { - $('.page-header').show(); - if($('.page-footer')&&$('.page-footer').length>0) - $('.page-footer').show(); - }); - } else { - $(document).on('focus', 'input, textarea', function () { - if($('.page-footer')&&$('.page-footer').length>0) - $('.page-footer').hide(); - }); - $(document).on('blur', 'input, textarea', function () { - if($('.page-footer')&&$('.page-footer').length>0) - $('.page-footer').show(); - }); - } - } - //处理滚动到 - var dealScrollTo=function (el, offeset) { - - } - var dealstartPageLoading=function(message) { - $('.page-loading').remove(); - $('body').append('
      ' + (message ? message : $.i18n.prop('com_zte_ums_ict_framework_ui_loading')) + '
    '); - } - var dealstopPageLoading=function() { - $('.page-loading').remove(); - } - var dealSidebarState = function () { - // 窗体宽度小尺寸(平板和iphone模式下)时移出左边栏 - var viewport = _getViewPort(); - if (viewport.width < openoFrameWork_smallView) { - $('body').removeClass("page-sidebar-closed"); - }else{ - if (getCookie('sidebar_closed') === '1') { - $('body').addClass('page-sidebar-closed'); - } - } - } - // openoFrameWork.addResponsiveHandler()回调函数. - var runResponsiveHandlers = function () { - //重新初始化其他订阅的元素elements - for (var i = 0; i < responsiveHandlers.length; i++) { - var each = responsiveHandlers[i]; - each.call(); - } - } - // 窗体重新调整大小时初始化调整边栏状态高度 - var dealResponsive = function () { - dealSidebarState(); - ajustHorMenuDropDirection(); - dealSidebarAndContentHeight(); - dealFixedSidebar(); - runResponsiveHandlers(); - } - // 页面重载入时初始化调整内部布局 - var dealResponsiveOnInit = function () { - dealSidebarState(); - dealSidebarAndContentHeight(); - setTimeout(function () { - ajustHorMenuDropDirection(true); - }, 100); - } - // 窗体重新调整大小时初始化调整布局 - var dealResponsiveOnResize = function () { - var resize; - if (isIE8) { - var currheight; - $(window).resize(function () { - if (currheight == document.documentElement.clientHeight) { - return; - } - if (resize) { - clearTimeout(resize); - } - resize = setTimeout(function () { - dealResponsive(); - }, 50); - currheight = document.documentElement.clientHeight; - }); - } else { - $(window).resize(function () { - if (resize) { - clearTimeout(resize); - } - resize = setTimeout(function () { - dealResponsive(); - }, 50); - }); - } - } - var changeSiderBar = function(hideAllMenu){ - var siderbarpos = $(".nav-pos-direction", $(".zte-theme-panel")).val(); - var sidermenu = $("#page-sidebar-menu"); - var hormenu = $("#main_hormenu"); - var fhorMenu = $("#" + fMenuMegaDivId); - var fsiderMenu = $("#" + fMenuSiderDivId); - if(hideAllMenu){ - sidermenu.css('display','block');// 侧边栏显示 - hormenu.css("display", "none");//隐藏水平菜单栏 - fhorMenu.css('display','none'); - fsiderMenu.css('display','none'); - return; - } - - sidermenu.css('display','none'); - hormenu.css("display", "none"); - fhorMenu.css('display','block'); - fsiderMenu.css('display','block'); - //除了toggle按钮之外,是否还有其他儿子是要显示的,如果没有,那么竖菜单不显示;反之,显示。 - var lis = fsiderMenu.children(".sidebar-toggler-wrapper").siblings(); - if(lis.length > 0 && lis.css('display') != "none"){ - fsiderMenu.css('display','block'); - $("body").removeClass("page-full-width"); - if ($('body').hasClass("page-sidebar-closed")) { - $(".page-content").css("marginLeft", _sidebarCollapsedWidth); - } else { - $(".page-content").css("marginLeft", _sidebarWidth); - } - } - } - //根据当前菜单在屏幕的位置,和一级菜单下二级菜单的排列,来决定菜单是向左展开还是向右展开 - var ajustHorMenuDropDirection = function( isInit ){ - //获取屏幕宽度 - var bodyWidth = document.body.clientWidth; - //循环,获取每个一级菜单在屏幕中的位置 - var levelOneAdropdowns = $('a.dropdown-toggle', '#main_hormenu' ); - //每一个文字span的图标、他父亲的margin\padding等占用的位置 - var marginCount = 5 * 2 + 17.5 + 2 * 2 + 30 + 15 * 2 + 3; - for( var i = 0 ; i < levelOneAdropdowns.length ; i++ ){ - var a = $(levelOneAdropdowns[i]); - var leftOffset = a.offset().left; - //获取二级菜单的数量 - var ul = a.parent().children('.dropdown-menu'); - var groupDivs = $('.zteDivWidth' , ul); - var widthOfDropDownMenu = 0; - for(var j = 0 ; j < groupDivs.length && groupDivs.length >0 ; j++ ){//循环获取每个分组的宽度 - var eachDiv = groupDivs[j]; - var maxLengthText = ""; - var maxLength = 0; - var spans = $('span' , eachDiv).each(function(){ - var innerText = this.innerText; - if( innerText.length > maxLength ){ - maxLength= innerText.length; - maxLengthText = innerText; - } - }); - widthOfDropDownMenu = widthOfDropDownMenu + getStringWidth(maxLengthText , 14) + marginCount; - } - //预估每个组占宽度150PX,多预计一点 - if( widthOfDropDownMenu + leftOffset > bodyWidth ){ - console.log("ajust class dropdown-menu-right ,id = "+ a.attr("id") ); - ul.addClass('dropdown-menu-right'); - //var right = bodyWidth - (leftOffset + a.width() + 15); - //ul.attr('style' ,'right:' + right ); - }else{ - ul.removeClass('dropdown-menu-right'); - //ul.removeAttr('style'); - } - } - } - // 屏幕大小发生变化或者移动设备旋转屏幕时处理响应式布局. - var dealSidebarAndContentHeight = function (isToggler) { - var content = $('.page-content'); - var contentbody = $('.page-content-body'); - var sidebar = $('.page-sidebar'); - var body = $('body'); - var height; - var viewport = _getViewPort(); - var scrAvaHeight=Math.min(window.screen.availHeight,viewport.height)-5; - var footer=$('.footer'); - var pgbread=$('.page-breadcrumb'); - var pageableDiv=$('#pageableDiv'); - console.log("pageableDiv height:"+pageableDiv.outerHeight(true)); - var pheader=$('.header'); - var childPagetype=!!cachedIframesObject.items(_iframe)?cachedIframesObject.items(_iframe).childpageType:""; - if(childPagetype==="isc")//smartclient的子页面固定高度为视口可用内容区高度 - { - $('.sidebar-option', panel).val("fixed"); - } - dealShownav(); - var available_height =scrAvaHeight - ((!footer||footer.length<=0)?0:footer.outerHeight(true)) - pheader.outerHeight(true); - var _pageableDivHeight=(!pageableDiv||pageableDiv.length<=0||pageableDiv.is(":visible")==false)?0:pageableDiv.outerHeight(true); - var h= scrAvaHeight-pheader.outerHeight(true)-((!footer||footer.length<=0||footer.is(":visible")==false)?0:footer.outerHeight(true))-pgbread.outerHeight(true)-_pageableDivHeight-(contentbody.outerHeight(true)-contentbody.height()); - var miframe=_iframe==""?"page-mainIframe": _iframe; - var pagemyIframe=$('.page-content .page-content-body .'+miframe); //.page-mainIframe - if(pagemyIframe&&pagemyIframe.length>0){ - //处理iframe,下面计算中间iframe的高度 - var deviceAgent = navigator.userAgent.toLowerCase(); - if (deviceAgent.match(/(iphone|ipod|ipad)/)) { //||viewport.height<=480 - var w=viewport.width-content.offset().left-(pagemyIframe.offset().left-content.offset().left)*2;//宽度=总宽度-左边栏宽度-内容区内边距。左右两个 - pagemyIframe.width(w); - } - //对桌面必须计算高度 - var tmp_style = sidebar.attr('style');// firefox下执行 sidebar.height()会改变style样式,这里缓存下执行前的style样式,执行完后重新赋给页面元素 - console.log("pym:parent iframe "+miframe+" sidebar.height:"+sidebar.height()+" h:"+h); - h=sidebar.height()>h?sidebar.height():h; - //IE下,把iframe的高度再减掉7,因为IE10及以下版本,计算的高度会比IE实际显示区域大,导致出现IE滚动条。 - /*h=h-ICTFRAME_CONST_IFRAME_HEIGHT_AJUST; - if(isIE){ - h=h-ICTFRAME_CONST_IFRAME_HEIGHT_AJUST_IE; - }*/ - sidebar.attr('style',tmp_style); - if (isDesktop) { - //pagemyIframe.attr("height",h); - if(cachedIframesObject.items(miframe).setMinHeight){ - var minHeight=Math.min(scrAvaHeight,h); - console.log("pym:parent iframe "+miframe+" window.screen.availHeight:"+scrAvaHeight+" viewport.height:"+viewport.height+" h:"+h+" minHeight:"+minHeight); - cachedIframesObject.items(miframe).setMinHeight(minHeight); - } - }else{ - //pagemyIframe.attr("height","100%");//去掉这里错误的设置,ipad上测试高度不正确 - var _h=h; - try{ - _h=pagemyIframe.contents().height(); - }catch(e){} - h=_h>h?_h:h; - if(cachedIframesObject.items(miframe).setMinHeight){ - var minHeight=Math.min(scrAvaHeight,h); - console.log("pym:parent iframe "+miframe+" window.screen.availHeight:"+scrAvaHeight+" viewport.height:"+viewport.height+" h:"+h+" minHeight:"+minHeight); - cachedIframesObject.items(miframe).setMinHeight(minHeight); - } - } - } - - if (body.hasClass("page-footer-fixed") === true && body.hasClass("page-sidebar-fixed") === true) { - if (content.height() < available_height) { - //content.attr('style', 'min-height:' + available_height + 'px !important'); - dealAddStyle(content,'min-height',available_height + 'px',true); - } - } else{ - if (body.hasClass("page-footer-fixed") === true && body.hasClass("page-sidebar-fixed") === false) { - if (content.height() < available_height) { - //content.attr('style', 'min-height:' + available_height + 'px !important'); - dealAddStyle(content,'min-height',available_height + 'px',true); - } - } else { - if (body.hasClass('page-sidebar-fixed')) { - height = _calculateFixedSidebarViewportHeight(); - } else { - // firefox下执行 sidebar.height()会改变style样式,这里缓存下执行前的style样式,执行完后重新赋给页面元素 - var tmp_style = sidebar.attr('style'); - // height = sidebar.height() + 20; - sidebar.attr('style',tmp_style); - var headerHeight = pheader.outerHeight(true); - var footerHeight = (!footer||footer.length<=0)?0:footer.outerHeight(true); - if ($(window).width() > 1024 && (height + headerHeight + footerHeight) < scrAvaHeight) { - height = scrAvaHeight - headerHeight - footerHeight; - } - } - if (height <= content.height()) {//这里为了避免内容区域很小的时候出现内容区域无法充满屏幕,把min-height修改为height - //content.attr('style', 'min-height:' + height + 'px !important'); - dealAddStyle(content,'min-height',height + 'px',true); - } - } - } - // 屏幕小尺寸时会隐藏边栏,这时菜单由小屏幕右上图标控制,当屏幕变化到大尺寸屏幕时, - // 需要按原菜单出现方式恢复菜单显示。 - var screenwidth = $(window).width(); - if(screenwidth >= openoFrameWork_smallView){ - changeSiderBar(); - if($(".page-sidebar-menu li").css('display') != "none"){ - if ($('body').hasClass("page-sidebar-closed") && $(".sidebar-toggler").hasClass("close-by-viewportChange")) { - if( !isToggler ){ - $(".sidebar-toggler")[1].click(); - } - $(".sidebar-toggler").removeClass("close-by-viewportChange"); - } - } - } - else { - changeSiderBar(true); - } - } - var showIframe=function(iframe){ - var resize,pagemainIframe; - if (cachedIframes.count()>0) { - for (var i in cachedIframes.hash()) { - cachedIframes.replace(i,0); - var pagemyIframe=$('.page-content .page-content-body .'+i); - if(pagemyIframe&&pagemyIframe.length>0){ - if(iframe==i){ - pagemyIframe.show(); - cachedIframes.replace(i,1); - } else{ - if("page-mainIframe"===i){//2015年12月10日 wimax要求页面切换后删除没有配置cacheNum的缓存页面 - pagemainIframe=i; - pagemyIframe.attr("src",""); - pagemyIframe.remove(); - }else{ - pagemyIframe.hide(); - } - cachedIframes.replace(i,0); - } - } - } - } - if(pagemainIframe){ - delete cachedIframes._hash[pagemainIframe]; - delete cachedIframesObject._hash[pagemainIframe]; - } - if (!cachedIframes.contains(iframe)) { - cachedIframes.add(iframe,1); - //增加的iframe加载完毕后 停止加载中提示信息 - myIframe=$('.'+iframe); - myIframe.show(); - myIframe.load(function(){ - /*if (!isDesktop) { - if (resize) { - clearInterval(resize); - } - resize = setInterval(dealIframeHeight, 400,$(this)); - }*/ - openoFrameWork.stopPageLoading(); - }); - } - } - var hidemenu=function(){ - $('.hor-menu').hide(); - dealAddStyle($('.page-content'),'margin-left','0px',true); - dealAddStyle($('.page-sidebar'),'display','none',true); - var fsiderMenu = $("#" + fMenuSiderDivId); - fsiderMenu.children().css('display' , 'none'); - } - var hideAlarmLight=function(){ - //$('#header_notification_bar').hide(); - //$('#header_notification_bar').empty(); - $('#header_notification_bar').html("
          
    "); - } - var dealShownav=function(){ - var showNav=openoFrameWork.getLocationURLParameter('showNav'); - if( showNav=="false"){ - openoFrameWork_showNav = showNav; - hidemenu(); - hideAlarmLight(); - } - } - /* 点击菜单时,处理对应该菜单项的横,左菜单项 */ - var dealRelateMenu = function(source) { - // 点击子菜单时,对应的横竖菜单项也联动为选择样式,(高亮,箭头变化) - var panel = $('.zte-theme-panel'); - var navPosOption = $('.nav-pos-direction', panel).val(); - var targetsource = null; - var targetContainer = null; - if (navPosOption === "vertical") { - // 当前是左菜单,则处理对应的横菜单 - targetsource = $("#"+source.attr("id"), $("#main_hormenu")); - targetContainer = $(".header ul"); - } else if (navPosOption === "horizontal") { - var rtn = dealMgaBarRelated(source); - dealFMenuRelated(source , megaSiderDivId); - targetContainer = rtn[0]; - targetsource = rtn[1]; - }else if(navPosOption === openoFrameWork_menu_fmenu){ - dealFMenuRelated(source , fMenuSiderDivId); - } - if (targetContainer) { - // 移除原有菜单项的活动及箭头样式 - targetContainer.children('li.active').removeClass('active'); - targetContainer.find('.arrow.open').removeClass('open'); - } - if (targetsource) { - // 增加活动及箭头样式 - targetsource.parents('li').each(function () { - $(this).addClass('iframe active'); - $(this).find('a > span.arrow').addClass('open'); - }); - targetsource.parents('li').addClass('active'); - if (navPosOption === "horizontal") { - if (targetsource.parent().parent().parent().is("li")) { - $('.arrow', targetsource.parent().parent().parent()).addClass("open"); - } - } - } - } - var dealMgaBarRelated = function(source){ - // 当前是横菜单,则处理对应的左菜单 - targetsource = $("#"+source.attr("id"), $("[class='page-sidebar-menu']")); - targetContainer = $("#page-sidebar-menu ul"); - // 将先前左菜单展开的子菜单收缩 - $("li.open",targetContainer).each(function() { - var style = $("ul.sub-menu", this).attr("style"); - if (style) { - $("ul.sub-menu", this).removeAttr("style"); - $(this).removeClass('open'); - } - }); - // 当前是横菜单,但在屏幕缩小的情况下显示的是tip垂直菜单,而横菜单是隐藏的,所以需额外处理横菜单 - if (source.parent().parent().parent().parent().attr("class").indexOf("page-sidebar-menu") >= 0) { - var tiptargetsource = $("#"+source.attr("id"), $("#main_hormenu")); - var tiptargetContainer = $(".header ul"); - tiptargetContainer.children('li.active').removeClass('active'); - tiptargetContainer.find('.arrow.open').removeClass('open'); - tiptargetsource.parents('li').each(function () { - $(this).addClass('iframe active'); - $(this).find('a > span.arrow').addClass('open'); - }); - tiptargetsource.parents('li').addClass('active'); - } - return [targetContainer ,targetsource ]; - } - var dealFMenuRelated = function(source , siderDivId ){ - var fsiderMenu = $("#" + siderDivId); - if(isMoreMenuItemClick){//更多菜单点击 , 临时方案,增加信号量,使用之后就置为false - isMoreMenuItemClick = false - }else if($(source).parents('li').hasClass('mega-menu-dropdown')){//F的横向菜单的点击 - var id = source.attr('id'); - //非被点击的一级菜单的二级菜单都不显示 - $('#' + siderDivId + '>li').hide(); - var level2Lis = $("a[hparentid= " + id + "]" , fsiderMenu).parent(); - level2Lis.show(); - if(level2Lis.length > 0){//把竖向菜单的收起放大按钮显示出来 - $('#' + siderDivId + '>li.sidebar-toggler-wrapper').show(); - } - if($("a[hparentid= " + id + "]" , fsiderMenu).length > 0){ //有子孙菜单时,把F菜单的竖菜单显示出来 - dealFSidermenu(source ,siderDivId ); - }else{//否则隐藏竖菜单 - fsiderMenu.css('display','none'); - $("body").addClass("page-full-width"); - $(".page-content").css("marginLeft", _sidebarWidth); - } - - }else{//F菜单的竖向菜单点击 - //处理一种特殊情况,告警灯打开新页面,所有的菜单都不出现,因此,虽然这个source在竖菜单,但竖菜单这个时候实际上是没有显示的 - if( openoFrameWork_showNav == "true") { - $('#' + siderDivId + '>li').hide(); - var lis = $(source).parents('li'); - var id = lis.eq(lis.length-1).children( 'a' ).attr('hparentid'); - //var id = $(source).parents('li').children('a').attr('hparentId'); - var level2Lis = $("a[hparentid=" + id + "]" , fsiderMenu).parent(); - level2Lis.show(); - if(level2Lis.length > 0) {//把竖向菜单的收起放大按钮显示出来 - $('#'+ siderDivId + '>li.sidebar-toggler-wrapper').show(); - } - //$('#' + siderDivId + '>li')[0].show(); - dealFSidermenu(source , siderDivId); - } - } - } - var dealFSidermenu = function(source , siderDivId){ - var fsiderMenu = $("#" + siderDivId); - fsiderMenu.css('display','block'); - $('ul.sub-menu',fsiderMenu).css('display','block'); - $('.arrow',fsiderMenu).addClass('open'); - $("body").removeClass("page-full-width"); - if ($('body').hasClass("page-sidebar-closed")) { - $(".page-content").css("marginLeft", _sidebarCollapsedWidth); - } else { - $(".page-content").css("marginLeft", _sidebarWidth); - } - var href = source.attr("href"); - $('li.iframe' ,fsiderMenu ).removeClass('active'); - var selectedIframeLi = $("a[href ='" + href + "']" ,fsiderMenu ).parent(); - selectedIframeLi.addClass('active'); - selectedIframeLi.parent().parent().addClass("open").addClass("active"); - selectedIframeLi.parent().css('display','block'); - selectedIframeLi.parent().parent().children('a').children('.arrow').addClass('open'); - } - var dealMenuItemClick=function(source,e,menuContainerStr){ - var url = source.attr("href"); - if(!url||url.length<2) - return; - e.preventDefault(); - if(!_isClicked){//导航情况下,首先要模拟点开菜单分组 - _isClicked=true;//如果菜单有子菜单点击一次来展开子菜单,注意这个信号量的变化,避免死循环 - var mainMenu=source.parents('li').last(); - if(!mainMenu.hasClass('open')){ - dealLiAClick(mainMenu.children('a:eq(0)')); - } - } - if(menuContainerStr&&menuContainerStr.length>0){ - var menuContainer = $('.'+menuContainerStr+' ul'); - - menuContainer.children('li.active').removeClass('active'); - // menuContainer.children('arrow.open').removeClass('open'); - //menuContainer.find('.arrow.open').addClass('open'); - } - source.parents('li').each(function () { - $(this).addClass('iframe active'); - $(this).children('a > span.arrow').addClass('open'); - }); - source.parents('li').addClass('active'); - // 处理点击菜单对应的横或左菜单项的选择样式 - dealRelateMenu(source); - if(menuContainerStr&&menuContainerStr.length>0){ - if ($(window).width() <= 991 && $('.'+menuContainerStr).hasClass("in")) { - $('.navbar-toggle').click(); - } - } - if(dealMultTabPage(source)) - return true; - dealScrollTo(); - var breadmenuID=e.data&&e.data.breadcrumbBtnMenuItem&&e.data.breadcrumbBtnMenuItem.length>0?e.data.breadcrumbBtnMenuItem:""; - if(breadmenuID.length>0){//面包削导航来的,只需要重新生成面包削即可 - //找到更多菜单按钮 - var moreMenuItem = $('#' + breadmenuID , $('#pageableDiv')); - if( moreMenuItem.length == 0 ){ - moreMenuItem = $('#' + breadmenuID , $('.more-botton-zone')); - } - dealBreadcrumbBtnMenuItemClick(moreMenuItem,e); - //dealBreadcrumb(source,false,e); - }else{//非面包削导航来的, - dealstartPageLoading(); - if(dealIframe(source,e))//当返回true时说明是正常加载iframe了,否则面包削不能切换 - dealBreadcrumb(source,false,e); - } - //dealShownav(); - }; - var dealMenuItemGetFocus=function(source,e,menuContainerStr){ - var url = source.attr("href"); - if(!url||url.length<2) - return; - e.preventDefault(); - if(!_isClicked){//导航情况下,首先要模拟点开菜单分组 - _isClicked=true;//如果菜单有子菜单点击一次来展开子菜单,注意这个信号量的变化,避免死循环 - var mainMenu=source.parents('li').last(); - dealLiAClick(mainMenu.children('a:eq(0)')); - } - if(menuContainerStr&&menuContainerStr.length>0){ - var menuContainer = $('.'+menuContainerStr+' ul'); - - menuContainer.children('li.active').removeClass('active'); - menuContainer.children('arrow.open').removeClass('open'); - } - source.parents('li').each(function () { - $(this).addClass('iframe active'); - $(this).children('a > span.arrow').addClass('open'); - }); - source.parents('li').addClass('active'); - - if(menuContainerStr&&menuContainerStr.length>0){ - if ($(window).width() <= 991 && $('.'+menuContainerStr).hasClass("in")) { - $('.navbar-toggle').click(); - } - } - }; - //处理iframe的核心处理类,逻辑较为复杂,注意各种参数的处理 - var dealIframe=function(aObject,e){ - _hashSource=""; - var url = aObject.attr("href"); - if(!url||url.length<2) - return; - url=openoFrameWork.handlBaseURL(url); - //-----------2015年9月21日新增V5中大O需要的按照实例(根据选择的系统实例变化url的ip和端口地址)进行动态切换菜单的功能 - var category= aObject.attr("category");//处理菜单中定义的Category属性 - if(category&&category.length>0){//处理Category属性 - var newIpPort=_menuCategorys.items(category); - if(newIpPort&&newIpPort.ipPort&&newIpPort.ipPort.trim()!=""){//如果找到了 - var newIpPortstr=openoFrameWork.getDomainURL(newIpPort.ipPort);//去掉ip和port后多余的部分 - var urlipport=openoFrameWork.getDomainURL(url); - console.log("old url:"+url); - url=newIpPortstr+url.replace(urlipport,""); - console.log("newIpPort:"+newIpPortstr+" newURL:"+url); - } - } - //------------ - dealstartPageLoading(); - var cacheNum= aObject.attr("cacheNum");//当第三方应用需要框架缓存曾经打开过的页面时使用。 - var shiftJS= aObject.attr("shiftJS");//当第三方应用不需要后面的href页面进行重新加载仅仅执行某个脚本打开某个功能时使用 - var _iframeName= aObject.attr("iframeName");//对有些第三方应用设置了顶层frame名字的,这个必须设置 - var _iframeAutoScroll= aObject.attr("iframeAutoScroll");//设置iframe的滚动条是否出现,可以设置为auto,yes或者no,默认为no 不出现. - _iframeAutoScroll=!!_iframeAutoScroll?(_iframeAutoScroll==='yes'?'yes':_iframeAutoScroll==='auto'?'auto':'no'):'no'; - _xdomain= aObject.attr("xdomain");//对有些第三方应用如果跨域了,需要设置这个信任域属性,以便于来跨域通讯.这里取值是一个正则表达式 - _xdomain=_xdomain&&_xdomain.length>0?_xdomain:"*"; - var _cssfile= aObject.attr("cssSrc");//设置iframe中页面需要动态加载的css文件. - _cssfile=(_cssfile&&_cssfile.length>0)?_cssfile:""; - var _runShiftJS=""; - var pageContentBody=$('.page-content .page-content-body'); - var tabHtml=""; - var tabContentHtml=""; - var tabID=""; - var tabContentID=""; - var iframename=''; - function createIframe(pdiv,url,id,name,clsname,xdom,autoScroll){ - var pymParent = new pym.Parent(pdiv, url, {xdomain:xdom}); - pymParent.iframe.id=id; - pymParent.iframe.name=name; - //pymParent.iframe.setAttribute('display', "none"); - //pymParent.iframe.style.height="100%"; - //pymParent.iframe.setAttribute('height', "100%"); - pymParent.iframe.setAttribute('class', clsname); - pymParent.iframe.setAttribute('allowfullscreen',''); - pymParent.iframe.setAttribute('mozallowfullscreen',''); - pymParent.iframe.setAttribute('oallowfullscreen',''); - pymParent.iframe.setAttribute('msallowfullscreen',''); - pymParent.iframe.setAttribute('webkitallowfullscreen',''); - //pymParent.iframe.setAttribute('scrolling',autoScroll); - pymParent.iframe.setAttribute('onload', 'openoFrameWork.SyncCSS(this,0,"'+_cssfile+'");openoFrameWork.stopPageLoading();'); - cachedIframesObject.replace(id,pymParent);//缓存iframe对象实体 - pymParent.onMessage('height', function(he){ - console.log("The frame "+id+" receive message height is "+he); - var pagemyIframe=$('.page-content .page-content-body .'+id); - var h=Math.max(this.minHeight,he); - pagemyIframe.height(h); - }); - return pymParent; - }; - - if(cacheNum){//处理缓存iframe和iframename标签 - cacheNum="page-mainIframe"+cacheNum; - iframename="fraMain"+cacheNum; - }else{ - cacheNum="page-mainIframe"; - iframename="fraMain"; - } - iframename=!!_iframeName?_iframeName:iframename; - _iframe= cacheNum;//注意这里_iframe是一个全局变量 - - var miframe=_iframe==""?"page-mainIframe": _iframe; - var pagemyIframe=$('.page-content .page-content-body .'+miframe); - var nagivJS=e&&e.data&&e.data.action?e.data.action:""; - nagivJS=(!!nagivJS&&nagivJS.length>0)?(nagivJS.trim().toLowerCase()=="null"?nagivJS:"javascript:$('.page-content .page-content-body ."+miframe+"')[0].contentWindow."+nagivJS.trim()+";"):""; - nagivJS=nagivJS.trim(); - - _runShiftJS=(!!shiftJS&&shiftJS.length>0)?(shiftJS.trim().toLowerCase()=="null"?shiftJS:"javascript:$('.page-content .page-content-body ."+miframe+"')[0].contentWindow."+shiftJS+";"):""; - if(pagemyIframe&&pagemyIframe.length>0){//如果iframe已经添加了,则直接更改url或者执行切换或导航函数 - var src=pagemyIframe.attr("src"); - if((!!shiftJS||nagivJS.length>0)&&(src==url||src.split('?')[0]==url.split('?')[0])&& cacheNum!="page-mainIframe") { //url相同时,处理缓存shiftJS标签 - //这里shiftJS必须定义iframe中的页面定义到window上的函数; - //pagemyIframe.attr("scrolling",_iframeAutoScroll); - cachedIframesObject.items(miframe).settings.xdomain=_xdomain; - if(nagivJS.length>0&&nagivJS.toLowerCase()!="null") - _runShiftJS=nagivJS;//如果是nagivJS导航过来的,nagivJS优先级高于shiftJS,如果有nagivJS就用nagivJS替换_runShiftJS; 直接执行一次导航切换 - try{ - if(_runShiftJS.trim().toLowerCase()!="null") - eval(_runShiftJS); - }catch(e){ - if (e instanceof EvalError) { - console.log(e.name + " EvalError: " + e.message); - } else if (e instanceof SyntaxError) { - console.log(e.name + " SyntaxError: " + e.message); - }else if (e instanceof Error) { - if(e.name.toLowerCase().trim()=="typeerror") - { - //console.log($.i18n.prop('com_zte_ums_ict_framework_ui_clickTooFast')); - var parm={runShiftJS:_runShiftJS}; - pagemyIframe.one('load',parm,function(e){ - var runShiftJS=e&&e.data&&e.data.runShiftJS?e.data.runShiftJS:""; - if(runShiftJS.length>0&&runShiftJS.toLowerCase()!="null") - eval(runShiftJS);//点击太快了,页面没有加载完毕,那就加载完毕了再次执行 - }) - } - } - return false;//返回false 后续不再做其他动作了 - } - finally{ - openoFrameWork.stopPageLoading(); - } - }else{//否则url不同,或者url相同但没有shiftjs - if(nagivJS.length>0&&nagivJS.toLowerCase()!="null"){//如果是代码导航过来的去掉url参数中的默认action动作 - url=url.split('?')[0];//去掉?参数,防止默认执行动作,只响应nagivJS指定的动作; - } - if(src.split('#')[0]!=url.split('#')[0])//如果相等说明是通过锚点导航的,真实url没有变化,对SPA应用比较普遍 - { - pagemyIframe.attr("src","");//url和src不同说明更换了页面,需要清空重新加载 - }else //if (src.trim()==url.trim()) //没有shiftjs并且url相同,说明不需要再次加载了,已经加载过了 - { - openoFrameWork.stopPageLoading(); - } - pagemyIframe.attr("src",url); - - if(nagivJS.length>0&&nagivJS.toLowerCase()!="null"){//如果是nagivJS导航过来的,iframe加载完毕后执行一次导航切换脚本 - var parm={nagivJS:nagivJS}; - pagemyIframe.one('load',parm,function(e){ - var nagivJS=e&&e.data&&e.data.nagivJS?e.data.nagivJS:""; - if(nagivJS.length>0&&nagivJS.toLowerCase()!="null") - eval(nagivJS);//如果没有加载过,加载后也要执行跳转的函数 - }); - } - if(_cssfile.length>0&&_cssfile.toLowerCase()!="null"){//如果配置了cssSrc,每次切换都重新执行一边这个css文件,防止有遗漏 - parm={syncCSSJS:'openoFrameWork.SyncCSS(this,10,"'+_cssfile+'");openoFrameWork.stopPageLoading();'}; - pagemyIframe.one('load',parm,function(e){ - var syncCSSJS=e&&e.data&&e.data.syncCSSJS?e.data.syncCSSJS:""; - if(syncCSSJS.length>0&&syncCSSJS.toLowerCase()!="null") - eval(syncCSSJS); - }); - } - } - - }else{//否则添加新的iframe元素 overflow:visible; - if(nagivJS.length>0&&nagivJS.toLowerCase()!="null"){//如果是代码导航过来的去掉url参数中的默认action动作 - url=url.split('?')[0];//去掉?参数,防止默认执行动作,只响应nagivJS指定的动作; - } - var pdiv="pdiv_"+miframe; - if($("#"+pdiv).length<=0){//检查下,如果该div没有添加过就添加 - pageContentBody.append("
    "); - } - dealstartPageLoading(); - pymParent=createIframe(pdiv, url,miframe,miframe,miframe,_xdomain,_iframeAutoScroll); - pagemyIframe=$(pymParent.iframe); - - if(nagivJS.length>0&&nagivJS.toLowerCase()!="null"){//如果是nagivJS导航过来的,iframe加载完毕后执行一次导航切换 - var parm={nagivJS:nagivJS}; - pagemyIframe=$('.page-content .page-content-body .'+miframe); - if(pagemyIframe&&pagemyIframe.length>0){ - pagemyIframe.one('load',parm,function(e){ - var nagivJS=e&&e.data&&e.data.nagivJS?e.data.nagivJS:""; - if(nagivJS.length>0&&nagivJS.toLowerCase()!="null") - eval(nagivJS);//如果没有加载过,加载后也要执行跳转的函数 - }) - } - } - - } - showIframe(miframe); - openoFrameWork.fixContentHeight(); // 调整高度 - return true; - } - // 处理边栏菜单 - var dealLiAClick=function(source){ - if (source.next().hasClass('sub-menu') == false) { - if ($('.btn-navbar').hasClass('collapsed') == false) { - $('.btn-navbar').click(); - } - return; - } - - if (source.next().hasClass('sub-menu always-open')) { - return; - } - var parent = source.parent().parent(); - var the = source; - var menu = $('.page-sidebar-menu'); - var sub = source.next(); - var autoScroll = menu.data("auto-scroll") ? menu.data("auto-scroll") : true; - var slideSpeed = menu.data("slide-speed") ? parseInt(menu.data("slide-speed")) : 200; - parent.children('li.open').children('a').children('.arrow').removeClass('open'); - parent.children('li.open').children('.sub-menu:not(.always-open)').slideUp(200); - parent.children('li.open').removeClass('open'); - var slideOffeset = -200; - if (sub.is(":visible")) { - $('.arrow', source).removeClass("open"); - source.parent().removeClass("open"); - sub.slideUp(slideSpeed, function () { - if (autoScroll == true && $('body').hasClass('page-sidebar-closed') == false) { - if ($('body').hasClass('page-sidebar-fixed')) { - - } else { - dealScrollTo(the, slideOffeset); - } - } - dealSidebarAndContentHeight(); - }); - } else { - $('.arrow', source).addClass("open"); - source.parent().addClass("open"); - sub.slideDown(slideSpeed, function () { - if (autoScroll == true && $('body').hasClass('page-sidebar-closed') == false) { - if ($('body').hasClass('page-sidebar-fixed')) { - dealScrollTo(the, slideOffeset); - } - } - dealSidebarAndContentHeight(); - }); - } - } - var dealSidebarMenu = function () {//这里注册和处理边栏菜单的各类点击事件 - $('.page-sidebar').on('click', 'li > a', function (e) { - if ($(this).next().hasClass('sub-menu') == false) { - if ($('.btn-navbar').hasClass('collapsed') == false) { - $('.btn-navbar').click(); - } - return; - } - if ($(this).next().hasClass('sub-menu always-open')) { - return; - } - dealLiAClick($(this)); - e.preventDefault(); - }); - - // 处理左边导航中的菜单连接,显示在iframe中 - $('.page-sidebar').on('click', ' li > a.iframe', function (e) { - //dealMenuItemClick($(this),e,"page-sidebar") - e.preventDefault(); - var menuItemID=$(this).attr("id"); - if(!!menuItemID&&menuItemID.length>0){ - _setLocationHash(menuItemID); - _hashSource="dhByInterface"; - }//else{ - _isClicked=true; - dealMenuItemClick($(this),e,"page-sidebar"); - //} - }); - // 处理更多菜单的菜单连接,显示在iframe中dropdown-menu - $('.page-breadcrumb').on('click', ' li > a.iframe', function (e) { - var url = $(this).attr("href"); - if(url.length<2) - return; - e.preventDefault(); - dealBreadcrumbBtnMenuItemClick($(this),e); - }); - // 处理可翻页更多菜单中的菜单连接,显示在iframe中dropdown-menu - $('#pageableDiv').on('click', ' div > a.iframe', function (e) { - var url = $(this).attr("href"); - if(url.length<2) - return; - e.preventDefault(); - dealBreadcrumbBtnMenuItemClick($(this),e); - }); - // 处理可翻页更多菜单中的菜单连接,显示在iframe中dropdown-menu - $('#pageableDiv').on('click', ' li > a.iframe', function (e) { - var url = $(this).attr("href"); - if(url.length<2) - return; - e.preventDefault(); - if(e.target){ - var tg=$("span",e.target); - tg=tg.length>0?tg[0]:e.target; - $(".open a>div>span",e.target.parentNode.parentNode.parentNode.parentNode.parentNode).replaceWith(tg.outerHTML); - } - dealBreadcrumbBtnMenuItemClick($(this),e); - }); - - // 处理header下拉菜单中的菜单连接,显示在iframe中 - $('.dropdown').on('click', ' li > a.iframe', function (e) { - var url = $(this).attr("href"); - if(url.length<2) - return; - e.preventDefault(); - dealScrollTo(); - dealstartPageLoading(); - - dealIframe($(this),e) - dealBreadcrumb($(this),false,e); - }); - } - var getSceneURL=function(url){ - if(url&&url.trim().length>0){ - url=url.trim(); - //url= - _sceneURLRootPath=_sceneURLRootPath+url; - } - } - var gurl="";//临时全局变量,存储当前加载的more菜单,如果加载过了,就不再加载了。下面的方法中会用到 - var moreMenusisLoaded=true; - var waittime=null; - var getBreadcrumbRightButtons=function(url,e){ - if (url.length<2){ - return; - } - url=openoFrameWork.handlBaseURL(url); - if (gurl==url){ - if(e===true){ - $('#pageableDiv').show(); - }else if(e&&e.target&&e.currentTarget){ - var defaultDisplay=$(e.target).attr("defaultDisplay"); - defaultDisplay=(!defaultDisplay)?$(e.currentTarget).attr("defaultDisplay"):defaultDisplay; - if(defaultDisplay&&defaultDisplay.trim()=="false"){ - $('#pageableDiv').hide(); - }else{ - $('#pageableDiv').show(); - } - } - return; - - }else{ - gurl=url; - clearMoreOperations(); - } - //处理e参数,注意e可能为null - var breadmenuID=e&&e.data&&e.data.breadcrumbBtnMenuItem&&e.data.breadcrumbBtnMenuItem.length>0?e.data.breadcrumbBtnMenuItem:""; - breadmenuID=breadmenuID.length<=0?(e&&e.breadcrumbBtnMenuItem&&e.breadcrumbBtnMenuItem.length>0?e.breadcrumbBtnMenuItem:""):breadmenuID; - moreMenusisLoaded=false; - $.ajax({ - type: "GET", - cache: false, - url: url, - dataType: "html", - success: function (res) { - try{ - //$('.page-breadcrumb').append(res); - var resScriptsSriped = stripHtmlScripts(res); - //$('.page-breadcrumb').append(resScriptsSriped); - $('.more-botton-zone').children().remove(); - //V5新增逻辑,如果displayType = pageableDiv,那么就用滑动的DIV来显示更多菜单里面的内容,如果没有配置,或为其他值,就按原有方式显示 - var tempDiv = $('
    '); - tempDiv.children().remove(); - tempDiv.append(resScriptsSriped); - - //获取UL属性 - var displayType = $('.dropdown-menu',tempDiv).attr('displayType'); - if( displayType && displayType != 'pageableDiv'){ - $('.more-botton-zone').append(resScriptsSriped); - $('#pageableDiv').hide(); - }else{ - var tempUl = $('.dropdown-menu',tempDiv); - if(tempUl.length>0){ - moreOperations(tempUl[0]); - if(e&&e.target&&e.currentTarget){ - var defaultDisplay=$(e.target).attr("defaultDisplay"); - defaultDisplay=(!defaultDisplay)?$(e.currentTarget).attr("defaultDisplay"):defaultDisplay; - if(defaultDisplay&&defaultDisplay.trim()=="false"){ - $('#pageableDiv').hide(); - }else{ - $('#pageableDiv').show(); - } - } - } - } - runHtmlScripts(res); - }catch(ex){ - }finally{ - moreMenusisLoaded=true; - } - groupButtonAuthentication(); - if(breadmenuID.length>0){//面包削导航来的,只需要重新生成面包削即可 - var menuitem=undefined; - var panel = $('.zte-theme-panel'); - var navPosOption = $('.nav-pos-direction', panel).val(); - //var items=$("a[id='"+breadmenuID+"']"); - var items = undefined; - if (navPosOption === "vertical"){ //从垂直菜单里面找 - items=$("#page-sidebar-menu a[id='"+breadmenuID+"']"); - - }else{//从水平菜单里面找 - items=$(".hor-menu a[id='"+breadmenuID+"']"); - } - if (!items || items.length < 1) { - items=$(".page-content a[id='"+breadmenuID+"']"); - } - if(items.length>0){ - for(var i=0;i0) - dealBreadcrumbBtnMenuItemClick(menuitem,e); - } - }, - error: function (xhr, ajaxOptions, thrownError) {//加载操作菜单失败!com_zte_ums_ict_framework_ui_loadmenuerror - $('.page-breadcrumb').append('

    '+$.i18n.prop('com_zte_ums_ict_framework_ui_loadmenuerror')+'

    '); - moreMenusisLoaded=true; - } - }); - } - - //处理多tab也场景 ----redirect 该标签暂时保留,不建议使用了 - dealMultTabPage=function(clickedObject){ - var url = clickedObject.attr("href"); - if(!url||url.length<2) - return; - var redirect=clickedObject.attr("redirect"); //处理多tab页面的需求 - if (!!redirect&&redirect.length>0){ - var miframe=_iframe==""?"page-mainIframe": _iframe; - var pagemyIframe=$('.page-content .page-content-body .'+miframe); //.page-mainIframe - //var pagemyIframe=$('.page-content .page-content-body .page-mainIframe'); - var oldhref=""; - if(pagemyIframe&&pagemyIframe.length>0){ - oldhref=pagemyIframe.attr("src"); - if(url.split("?")[0]==oldhref.split("?")[0]) - { - eval(redirect); - dealBreadcrumb(clickedObject,false,e); - return true; - } - } - }; - return false; - }; - //处理主菜单面包削导航 - var globleCurrentBreadcrumb=""; - var globleCurrentMainMenuItemID=""; - var dhByBreadcrumb = false; - var dealBreadcrumb=function(clickedObject,notGenUID,e){//notGenUID为true就不重新生成id - var mbreadcrumb=$('.breadcrumbUl'); - openoFrameWork.setPageTitle(clickedObject.find('span').text().trim()); - var clieckedObj= clickedObject.parent('li'); - if(clieckedObj.length == 0){ //分页式更多菜单,a链接的父亲是div - clieckedObj= clickedObject.parent('div'); - } - //如果点击的是F菜单的竖菜单,还需要找到横菜单上的对应父亲加入到clieckedObj - var navPosOption = $('.nav-pos-direction', panel).val(); - var parentid = clickedObject.attr('hparentid'); - var breadcrumGroupButtonSrc=clickedObject.attr("breadcrumGroupButtonSrc"); - globleCurrentMainMenuItemID=clickedObject.attr("id"); - var mhmtl=""; - var url=""; - var tempObj=null; - //var breadChangeType = e? (e.data ? e.data.breadChangeType:null):null; - if( dhByBreadcrumb ){ - mhmtl = dealClickBreadcrumb(clieckedObj); - dhByBreadcrumb = ""; - }else{ - while (clieckedObj&&clieckedObj.length>0){ - if(clieckedObj.children('a')){ - if(!notGenUID){ - url=openoFrameWork.getUniqueID("aid");//+Math.floor(Math.random() * (new Date()).getTime()); - clieckedObj.children('a').attr("name",url); - }else{ - url=clieckedObj.children('a').attr("name"); - } - tempObj=clieckedObj.clone(); - tempObj.children('a').removeClass('iframe'); - tempObj.children('a').removeClass('active'); - tempObj.children('a').attr("href","javascript:openoFrameWork.goToURL('"+url+"');"); - var arrowdown = $(".fa-angle-down", tempObj.children('a')); - if (arrowdown) { - arrowdown.remove(); - } - if(tempObj.children('a').length>0){ - mhmtl=tempObj.children('a')[0].outerHTML+""+mhmtl; - } - //如果是F菜单和横菜单的子竖菜单点击,需要做特殊处理 - if( clieckedObj.parent('ul').attr('id') == fMenuSiderDivId || clieckedObj.parent('ul').attr('id') == megaSiderDivId){ - var id = clieckedObj.children( 'a' ).attr('hparentid'); - //判断是F菜单还是横菜单 - var megaMenu = null; - if(navPosOption == openoFrameWork_menu_horizontal){ - magaMenu = $('#'+megaDivId); - }else if(navPosOption == openoFrameWork_menu_fmenu){ - magaMenu = $('#'+fMenuMegaDivId); - } - clieckedObj = $("a[id=" + id + "]" , magaMenu).parent('li'); - }else{ - clieckedObj=clieckedObj.parents('li'); - } - } - } - if(clieckedObj[0]&&clieckedObj[0].length>0) { - mhmtl=clieckedObj.children('a')[0].outerHTML+""+mhmtl; - } - } - mbreadcrumb.empty(); - $('.more-botton-zone').empty(); - globleCurrentBreadcrumb=mhmtl; - store("globleCurrentBreadcrumb",globleCurrentBreadcrumb); - mbreadcrumb.append(mhmtl); - if(breadcrumGroupButtonSrc&&breadcrumGroupButtonSrc.length>0){ - getBreadcrumbRightButtons(breadcrumGroupButtonSrc,e); - }else{ - $('#pageableDiv').hide(); - } - - }; - //面包屑发起的点击,就不重新生成面包屑,只是把该面包屑的后续节点移出。 - var dealClickBreadcrumb = function(clieckedObj){ - var index = globleCurrentBreadcrumb.indexOf(clieckedObj.children('a').attr("name")); - if( index > -1 ){//截取 - var indexofSign = globleCurrentBreadcrumb.indexOf("",index); - var newBreadcrumb = globleCurrentBreadcrumb.substring(0,indexofSign) + ""; - return newBreadcrumb; - } - } - //处理面包削中菜单点击后的导航(更多菜单的面包屑) - var dealBreadcrumbBtnGroupMenus=function(clickedObject,notGenUID , e ){ - var mbreadcrumb=$('.breadcrumbUl'); - var clieckedObj= clickedObject.parent(); - var breadcrumGroupButtonSrc=clickedObject.attr("breadcrumGroupButtonSrc"); - var mhmtl=""; - var url=""; - var tempObj=null; - var menuid=clickedObject.attr("id"); - if (!breadcrumbBtnMenus.contains(menuid)) {//把当前面包削中的菜单id和该子菜单对应的父菜单关联缓存起来 - breadcrumbBtnMenus.add(menuid,globleCurrentMainMenuItemID); - } - while (clieckedObj&&clieckedObj.length>0){ - tempObj=clieckedObj.clone(); - if(tempObj.children('a')){ - tempObj.children('a').removeClass('iframe'); - url=tempObj.children('a').attr("href"); - tempObj.children('a').attr("onclick","openoFrameWork.openbreadcrumbLink($(this),event);"); - var tempdiv = tempObj.children('a').children('div'); - if( tempdiv.length > 0 ){ - var innerofDiv = tempdiv[0].innerHTML; - tempdiv.remove(); - tempObj.children('a')[0].innerHTML = innerofDiv; - } - if(tempObj.children('a').length>0){ - mhmtl=tempObj.children('a')[0].outerHTML+""+mhmtl; - } - clieckedObj=clieckedObj.parents('li'); - } - - } - if(clieckedObj[0]&&clieckedObj[0].length>0) { - mhmtl=clieckedObj.children('a')[0].outerHTML+""+mhmtl; - } - - if(breadcrumGroupButtonSrc&&breadcrumGroupButtonSrc.length>0){ - getBreadcrumbRightButtons(breadcrumGroupButtonSrc,true); - }else{ - $('#pageableDiv').hide(); - } - mbreadcrumb.empty(); - var category= clickedObject.attr("category");//处理菜单中定义的Category属性 - if(category&&category.length>0){//处理Category属性 - var newIpPort=_menuCategorys.items(category); - if(newIpPort&&newIpPort.ipTitle&&newIpPort.ipTitle.trim()!=""){//如果找到了 - mhmtl=newIpPort.ipTitle+''+mhmtl; - } - } - mhmtl=globleCurrentBreadcrumb+mhmtl; - mbreadcrumb.append(mhmtl); - }; - var isMoreMenuItemClick = false; - var dealBreadcrumbBtnMenuItemClick=function(clickObj,e){ - dealScrollTo(); - var menuItemID=clickObj.attr("id"); - if(!!menuItemID&&menuItemID.length>0){ - _setLocationHash(menuItemID); - var breadmenuID=e&&e.data&&e.data.breadcrumbBtnMenuItem&&e.data.breadcrumbBtnMenuItem.length>0?e.data.breadcrumbBtnMenuItem:""; - _hashSource=breadmenuID&&breadmenuID.length>0?"":"dhByInterface";//hash进来的,不是导航进来的。 - } - if(!(e&&e.breadcrumbBtnMenuItem&&e.breadcrumbBtnMenuItem.length>0)){//如果仅仅是tab跳转设置bread进来的,就框架不处理菜单点击,直接重新建立bread即可 - dealstartPageLoading(); - dealIframe(clickObj,e); - } - dealBreadcrumbBtnGroupMenus(clickObj,false,e); - } - // 固定边栏布局时计算边栏高度. - var _calculateFixedSidebarViewportHeight = function () { - var viewport = _getViewPort(); - var sidebarHeight =viewport.height - $('.header').height() + 1; - if ($('body').hasClass("page-footer-fixed")) { - sidebarHeight = sidebarHeight - (!$('.footer')||$('.footer').length<=0)?0:$('.footer').outerHeight(); - } - return sidebarHeight; - } - // 处理固定边栏 - var dealFixedSidebar = function () { - var menu = $('.page-sidebar-menu'); - if (menu.parent('.slimScrollDiv').size() === 1) { - menu.removeAttr('style'); - $('.page-sidebar').removeAttr('style'); - } - - if ($('.page-sidebar-fixed').size() === 0) { - dealSidebarAndContentHeight(); - return; - } - - var viewport = _getViewPort(); - if (viewport.width >= openoFrameWork_smallView) { - var sidebarHeight = _calculateFixedSidebarViewportHeight(); - dealSidebarAndContentHeight(); - } - } - // 固定边栏时处理菜单 hover 效果. - var dealFixedSidebarHoverable = function () { - if ($('body').hasClass('page-sidebar-fixed') === false) { - return; - } - $('.page-sidebar').off('mouseenter').on('mouseenter', function () { - dealSiderBarMouseenter(); - }); - $('.page-sidebar').off('mouseleave').on('mouseleave', function () { - dealSiderBarMouseLeave(); - }); - } - var dealSiderBarMouseenter=function(){ - var body = $('body'); - var siderbar=$('.page-sidebar'); - if ((body.hasClass('page-sidebar-closed') === false || body.hasClass('page-sidebar-fixed') === false) || $(this).hasClass('page-sidebar-hovering')) { - return; - } - body.removeClass('page-sidebar-closed').addClass('page-sidebar-hover-on'); - var siderbartoggle=$('.sidebar-toggler'); - - if (body.hasClass("page-sidebar-reversed")) { - siderbar.width(_sidebarWidth); - dealSiderBarWidthChange(); - } else { - siderbar.addClass('page-sidebar-hovering'); - siderbar.animate({ - width: _sidebarWidth - }, 350, '', function () { - siderbar.removeClass('page-sidebar-hovering'); - dealSiderBarWidthChange(); - }); - } - } - var dealSiderBarMouseLeave=function(){ - var body = $('body'); - if ((body.hasClass('page-sidebar-hover-on') === false || body.hasClass('page-sidebar-fixed') === false) || $(this).hasClass('page-sidebar-hovering')) { - return; - } - var siderbar=$('.page-sidebar'); - var siderbartoggle=$('.sidebar-toggler'); - if (body.hasClass("page-sidebar-reversed")) { - body.addClass('page-sidebar-closed').removeClass('page-sidebar-hover-on'); - siderbar.width(_sidebarCollapsedWidth); - if(siderbartoggle){ - siderbartoggle.removeAttr('style'); - } - dealSiderBarWidthChange(); - } else { - siderbar.addClass('page-sidebar-hovering'); - siderbar.animate({ - width: _sidebarCollapsedWidth - }, 350, '', function () { - body.addClass('page-sidebar-closed').removeClass('page-sidebar-hover-on'); - dealSiderBarWidthChange(); - siderbar.removeClass('page-sidebar-hovering'); - if(siderbartoggle){ - siderbartoggle.removeAttr('style'); - } - }); - } - - } - //处理style css - var dealAddStyle=function(element, property, value, important) { - var styleText=element.attr('style')?element.attr('style'):""; - styles=styleText.split(";"); - var find=""; - for(i=0;i=0){ - find=styles[i];//看是否已经添加过,如果添加过就需要替换掉 - break; - } - } - styleText=find.length>0?styleText.replace(find,""):styleText; - styleText=(styleText + ';'+property + ':' + value + ((important) ? ' !important' : '') + ';').replace(/;;/g,";"); - element.attr('style',styleText ); - } - var dealSiderBarWidthChange=function(){ - - } - // 处理边栏菜单切换时的关闭和隐藏. - var dealSidebarToggler = function () { - var viewport = _getViewPort(); - if (getCookie('sidebar_closed') === '1' && viewport.width >= openoFrameWork_smallView) { - $('body').addClass('page-sidebar-closed'); - } - $('.page-sidebar, .sidebar-toggler').on('click', '.sidebar-toggler', function (e) { - e.preventDefault(); - var body = $('body'); - var sidebar = $('.page-sidebar'); - if(body.hasClass('page-sidebar-closed')){ - $(this).removeAttr('style'); - } - } ); - $('.page-sidebar, .header').on('click', '.sidebar-toggler', function (e) { - var body = $('body'); - var sidebar = $('.page-sidebar'); - if ((body.hasClass("page-sidebar-hover-on") && body.hasClass('page-sidebar-fixed')) || sidebar.hasClass('page-sidebar-hovering')) { - body.removeClass('page-sidebar-hover-on'); - sidebar.css('width', '').hide().show(); - dealSidebarAndContentHeight(); //fix content & sidebar height - setCookie('sidebar_closed', '0'); - dealSiderBarWidthChange(); - e.stopPropagation(); - runResponsiveHandlers(); - return; - } - $(".sidebar-search", sidebar).removeClass("open"); - var panel = $('.zte-theme-panel'); - var sidebarPosOption = $('.sidebar-pos-option', panel).val(); - var pcontent = $("[class='page-content']"); - if (body.hasClass("page-sidebar-closed")) { - body.removeClass("page-sidebar-closed"); - if (body.hasClass('page-sidebar-fixed')) { - sidebar.css('width', ''); - } - setCookie('sidebar_closed', '0'); - pcontent.css("marginLeft",_sidebarWidth); - dealSiderBarWidthChange(); - } else { - body.addClass("page-sidebar-closed"); - $(this).removeAttr('style'); - setCookie('sidebar_closed', '1'); - pcontent.css("marginLeft", _sidebarCollapsedWidth); - dealSiderBarWidthChange(); - } - //针对侧边栏伸缩的情况需加入对.page-content的判断。 - dealSidebarAndContentHeight(true); - runResponsiveHandlers(); - }); - } - // 处理水平菜单 - var dealHorizontalMenu = function () { - $('.header').on('click', '.hor-menu .hor-menu-search-form-toggler', function (e) { - if ($(this).hasClass('off')) { - $(this).removeClass('off'); - $('.header .hor-menu .search-form').hide(); - } else { - $(this).addClass('off'); - $('.header .hor-menu .search-form').show(); - } - e.preventDefault(); - }); - // 处理水平菜单 处理header下拉菜单中的菜单连接,显示在iframe中 - $('.header').on('click', ' li > a.iframe', function (e) { - //dealMenuItemClick($(this),e,"header"); - e.preventDefault(); - var menuItemID=$(this).attr("id"); - if(!!menuItemID&&menuItemID.length>0){ - _setLocationHash(menuItemID); - _hashSource="dhByInterface"; - }//else{ - _isClicked=true; - dealMenuItemClick($(this),e,"header"); - //} - }); - //处理TAB点击 - $('.header').on('click', '.hor-menu a[data-toggle="tab"]', function (e) { - e.preventDefault(); - var nav = $(".hor-menu .nav"); - var active_link = nav.find('li.current'); - $('li.active', active_link).removeClass("active"); - $('.selected', active_link).remove(); - var new_link = $(this).parents('li').last(); - new_link.addClass("current"); - new_link.find("a:first").append(''); - }); - } - // 增加一个对服务端的心跳 - var doHeartbeat = function() { - //心跳超时次数 - var heartBeatTimes = 0; - return setInterval(function() { - var userName; - if( userName == null ){ - var userName = openoFrameWork_conf.userName; - } - var heartUrl = FrameConst.REST_HEARTBEAT + "?username=" + encodeURIComponent(userName); - $.ajax(heartUrl, { - dataType : "text", - cache : false - }).done(function(data) { - // if (data != "true") { //收到不属于取值范围内的回复,说明出现不可预知情况,取消心跳。是原framework.js中的逻辑,比较奇怪,先保留注释。 - // disableHeartbeat(); - // } - //收到心跳回应消息,心跳超时次数置0 - if( data == "true" ){ - heartBeatTimes = 0; - } - }); - heartBeatTimes++; - //心跳超时6次即1分钟,转到登录界面,认为链路断。 - if(heartBeatTimes >= 6){ - disableHeartbeat(); - //console.log(com_zte_ums_aos_framework_ui_heartbeat_timeout); - bootbox.alert($.i18n.prop('com_zte_ums_aos_framework_ui_heartbeat_fail'), function () { - window.location.replace("login.html"); - }); - } - }, 10000); - }; - if( FrameConst.do_heartbeat ){ - var heartbeatTimer = doHeartbeat(); - } - window.enableHeartbeat = function() { - if (!heartbeatTimer) { - //重新启动心跳功能,心跳超时次数置0 - heartBeatTimes = 0; - heartbeatTimer = doHeartbeat(); - return "Enabled"; - } - return "Already enabled!"; - }; - window.disableHeartbeat = function() { - if (heartbeatTimer) { - clearInterval(heartbeatTimer); - heartbeatTimer = null; - return "Disabled"; - } - return "Already disabled!"; - }; - window.doLogout = function(){ - logoutSubmit(); - }; - //处理ict注销确认 - $('#trigger_logout').click(function(){ - bootbox.confirm($.i18n.prop('com_zte_ums_ict_framework_ui_confirmlogout'), function(result) { //你确认要注销吗? - if(result){ - doLogout(); - } - }); - }); - // Handle full screen mode toggle - var isscreenFull=false; - var dealFullScreenMode = function() { - // 处理全屏事件 - function toggleFullScreen() { - if(!screenfull.supportsFullScreen){//不支持全屏 - if (isIE&&typeof window.ActiveXObject !== "undefined") { // Older IE. - var wscript = new ActiveXObject("WScript.Shell"); - if (wscript !== null) { - wscript.SendKeys("{F11}"); - isscreenFull=!isscreenFull; - } - }else{ - isscreenFull=screenfull.supportsFullScreen; - }; - }else{ - screenfull.isFullScreen?screenfull.exitFullScreen():screenfull.requestFullScreen(); - isscreenFull= screenfull.isFullscreen; - } - setTimeout(function(){ - if(isscreenFull){ - $("#fullscreen_label").text($.i18n.prop('com_zte_ums_ict_framework_ui_group_exitfullscreen')); - }else{ - $("#fullscreen_label").text($.i18n.prop('com_zte_ums_ict_framework_ui_group_fullscreen')); - } - },500); - } - - $('#trigger_fullscreen').click(function() { - toggleFullScreen(); - }); - } - //清理当前正在显示的iframe之外缓存的iframe, - var dealClearCachedIframes=function(isall){ - if (cachedIframes.count()>0) { - for (var i in cachedIframes.hash()) { - var pagemyIframe=$('.page-content .page-content-body .'+i); - if(pagemyIframe&&pagemyIframe.length>0){ - if(isall==true){ - pagemyIframe.attr("src",""); - pagemyIframe.remove(); - }else if(i!=_iframe) - pagemyIframe.attr("src",""); - pagemyIframe.remove(); - } - } - } - cachedIframes.clear(); - if (cachedIframesObject.count()>0) {//清理缓存的iframe实体对象。 - for (var i in cachedIframesObject.hash()) { - if(i!=_iframe) - cachedIframesObject.remove(i); - } - } - } - var lastSelectedLayout = ''; - var dealTheme = function () { - var panel = $('.zte-theme-panel'); - if ($('body').hasClass('page-boxed') == false) { - $('.layout-option', panel).val("fluid"); - } - $('.sidebar-option', panel).val("default"); - $('.language-option', panel).val(defaultLanage); - $('.header-option', panel).val("fixed"); - $('.footer-option', panel).val("default"); - if ( $('.sidebar-pos-option').attr("disabled") === false) { - $('.sidebar-pos-option', panel).val(openoFrameWork.isRTL() ? 'right' : 'left'); - } - var _resetLayout = function () { - dealResetLayout(); - } - var _setLayout = function () { - dealSetLayout(); - } - var setColor = function (color) { - var color_ = (openoFrameWork.isRTL() ? color + '-rtl' : color); - $('#style_color').attr("href", ICTFRAME_CONST_THEME_COLOR_CSS_PREFFIX + color_ + ".css"); - setCookie('style_color', color); - syncColorCSS(); - } - $('.toggler', panel).click(function () { - $('.toggler').hide(); - $('.toggler-close').show(); - $('.zte-theme-panel > .theme-options').show(); - }); - - $('.toggler-close', panel).click(function () { - $('.toggler').show(); - $('.toggler-close').hide(); - $('.zte-theme-panel > .theme-options').hide(); - }); - $('.theme-colors > ul > li', panel).click(function () { - var color = $(this).attr("data-style"); - setColor(color); - $('ul > li', panel).removeClass("current"); - $(this).addClass("current"); - }); - $('.layout-option,.header-option, .sidebar-option, .footer-option, .sidebar-pos-option, .nav-pos-direction', panel).change(_setLayout); - if (getCookie('style_color') != undefined) { - setColor(getCookie('style_color')); - } - $('.language-option', panel).change(function(){ - var languageOption = $('.language-option', panel).val(); - setCookie('language-option', languageOption); - window.location.reload(); - }); - } - var dealResetLayout = function () { - $("body"). - removeClass("page-boxed"). - removeClass("page-footer-fixed"). - removeClass("page-sidebar-fixed"). - removeClass("page-header-fixed"). - removeClass("page-sidebar-reversed"); - $('.header > .header-inner').removeClass("container"); - if ($('.page-container').parent(".container").size() === 1) { - $('.page-container').insertAfter('body > .clearfix'); - } - if ($('.footer > .container').size() === 1) { - $('.footer').html($('.footer > .container').html()); - } else if ($('.footer').parent(".container").size() === 1) { - $('.footer').insertAfter('.page-container'); - } - $('body > .container').remove(); - } - /* - * 此方法在客户端初始化和设置面板上选择菜单方向的时候用。 - * param navPosOption - */ - var dealNavPos = function(navPosOption) { - // 横竖边栏切换功能禁用,则返回 - var panel = $('.zte-theme-panel'); - if ($('.nav-pos-direction', panel).attr("disabled") == "disabled") { - return; - } - var sidermenu = $("#page-sidebar-menu"); - var hormenu = $("#main_hormenu"); - var sidermenu = $("#page-sidebar-menu"); - var hormenu = $("#main_hormenu"); - var horSiderMenu = $('#' + megaSiderDivId ); - var fhorMenu = $("#" + fMenuMegaDivId); - var fsiderMenu = $("#" + fMenuSiderDivId); - var pcontent = $("[class='page-content']"); - if (sidermenu && sidermenu.length > 0 && hormenu && hormenu.length > 0 && fhorMenu && fhorMenu.length > 0) { - if (navPosOption === openoFrameWork_menu_horizontal) { - sidermenu.css('display','none');// 侧边栏隐藏 - fhorMenu.css('display','none'); - fsiderMenu.css('display','none'); - pcontent.css("marginLeft",0); - $("body").addClass("page-full-width");//调整内容显示 - hormenu.css("display", "block");//显示水平菜单栏 - // 导航位置为水平菜单时,边栏和边栏位置为默认和靠左,且将其切换功能禁用掉 - $('.sidebar-option', panel).val("default"); - $('.sidebar-option', panel).attr("disabled", true); - $('.sidebar-pos-option', panel).val("left"); - $('.sidebar-pos-option', panel).attr("disabled", true); - } else if (navPosOption === openoFrameWork_menu_vertical ) { - $("body").removeClass("page-full-width"); - sidermenu.css('display','block');//侧边栏显示 - var body = $('body'); - if (body.hasClass("page-sidebar-closed")) { - pcontent.css("marginLeft", _sidebarCollapsedWidth); - } else { - pcontent.css("marginLeft", _sidebarWidth); - } - hormenu.css("display", "none");//隐藏水平菜单栏 - fhorMenu.css('display','none'); - fsiderMenu.css('display','none'); - horSiderMenu.css('display','none'); - $('.sidebar-option', panel).attr("disabled", false); - $('.sidebar-pos-option', panel).attr("disabled", false); - } else if(navPosOption === openoFrameWork_menu_fmenu ){ - sidermenu.css('display','none');// 侧边栏隐藏 - hormenu.css("display", "none");//隐藏水平菜单栏 - fsiderMenu.css('display','none'); - fhorMenu.css('display','block'); - pcontent.css("marginLeft",0); - $("body").addClass("page-full-width");//调整内容显示 - // 导航位置为水平菜单时,边栏和边栏位置为默认和靠左,且将其切换功能禁用掉 - $('.sidebar-option', panel).val("default"); - $('.sidebar-option', panel).attr("disabled", true); - $('.sidebar-pos-option', panel).val("left"); - $('.sidebar-pos-option', panel).attr("disabled", true); - } - } - } - var dealSetLayout = function(){ - var panel = $('.zte-theme-panel'); - var layoutOption = $('.layout-option', panel).val(); - var languageOption = $('.language-option', panel).val(); - var headerOption = $('.header-option', panel).val(); - var footerOption = $('.footer-option', panel).val(); - var navPosOption = $('.nav-pos-direction', panel).val(); - dealNavPos(navPosOption); - var sidebarOption = $('.sidebar-option', panel).val(); - var sidebarPosOption = $('.sidebar-pos-option', panel).val(); - if (sidebarOption == "fixed" && headerOption == "default") { - alert($.i18n.prop('com_zte_ums_ict_framework_ui_fixedsidedefaultheaderError')); //页头不支持固定边栏,先固定页头才能固定边栏. - $('.header-option', panel).val("fixed"); - $('.sidebar-option', panel).val("fixed"); - sidebarOption = 'fixed'; - headerOption = 'fixed'; - } - if (sidebarOption == "fixed" && sidebarPosOption == "right") { - alert($.i18n.prop('com_zte_ums_ict_framework_ui_fixedsiderightpositionError')); //固定边栏情况下,边栏不能靠右。. - $('.sidebar-pos-option', panel).val("left"); - sidebarPosOption = 'left'; - } - dealResetLayout(); // reset layout to default state - if (layoutOption === "boxed") { - $("body").addClass("page-boxed"); - // set header - $('.header > .header-inner').addClass("container"); - var cont = $('body > .clearfix').after('
    '); - // set content - $('.page-container').appendTo('body > .container'); - // set footer - if (footerOption === 'fixed') { - $('.footer').html('
    ' + $('.footer').html() + '
    '); - } else { - $('.footer').appendTo('body > .container'); - } - } - if (lastSelectedLayout != layoutOption) { - runResponsiveHandlers(); - } - lastSelectedLayout = layoutOption; - //header - if (headerOption === 'fixed') { - $("body").addClass("page-header-fixed"); - $(".header").removeClass("navbar-static-top").addClass("navbar-fixed-top"); - } else { - $("body").removeClass("page-header-fixed"); - $(".header").removeClass("navbar-fixed-top").addClass("navbar-static-top"); - } - //sidebar - if ($('body').hasClass('page-full-width') === false) { - if (sidebarOption === 'fixed') { - $("body").addClass("page-sidebar-fixed"); - } else { - $("body").removeClass("page-sidebar-fixed"); - } - } - //footer - if (footerOption === 'fixed') { - $("body").addClass("page-footer-fixed"); - } else { - $("body").removeClass("page-footer-fixed"); - } - //sidebar position - if (openoFrameWork.isRTL()) { - if (sidebarPosOption === 'left') { - $("body").addClass("page-sidebar-reversed"); - $('#frontend-link').tooltip('destroy').tooltip({placement: 'right'}); - } else { - var pcontent = $("[class='page-content']"); - pcontent.css("marginLeft",0);//侧边栏靠右,则左边内容填充为0 - $("body").removeClass("page-sidebar-reversed"); - $('#frontend-link').tooltip('destroy').tooltip({placement: 'left'}); - } - } else { - if (sidebarPosOption === 'right') { - var pcontent = $("[class='page-content']"); - pcontent.css("marginLeft",0);//侧边栏靠右,则左边内容填充为0 - $("body").addClass("page-sidebar-reversed"); - $('#frontend-link').tooltip('destroy').tooltip({placement: 'left'}); - } else { - $("body").removeClass("page-sidebar-reversed"); - $('#frontend-link').tooltip('destroy').tooltip({placement: 'right'}); - } - } - dealSidebarAndContentHeight(); - dealFixedSidebar(); - dealFixedSidebarHoverable(); - dealSiderBarWidthChange(); - setCookie('layout-option', layoutOption); - setCookie('language-option', languageOption); - setCookie('header-option', headerOption); - setCookie('sidebar-option', sidebarOption); - setCookie('sidebar-pos-option', sidebarPosOption); - setCookie('nav-pos-direction', navPosOption); - } - var setCookie = function (key, value) { - if (store) { - store(key, value); - } - } - var getCookie = function (key) { - if (store) { - return store(key); - } else { - return undefined; - } - } - /*下面处理前进后退和锚点访问*/ - var _getLocationHash = function() { - return location.hash.replace("#_", ""); - } - /*统一入口设置锚点*/ - var _setLocationHash = function(menuItemID) { - location.hash = getLocationHashByMenuId(menuItemID); - } - var getLocationHashByMenuId = function(menuItemID){ - return "#_" + menuItemID; - } - // hash control - var loadCurrentHash = function(e,data){ - var locationhash = _getLocationHash(); //important - if(!!locationhash&&locationhash.length>0){ - if(_hashSource.trim()=="dhByInterface"){ - _hashSource=""; - }else{ - processChangedHash(locationhash,data); - } - } - } - // hash control 这种写法安全点 - var processChangedHash = function(path) { - var id = path; - var action = undefined; - var spIndex = path.indexOf("/"); - if(spIndex != -1) { - id = path.substring(0,spIndex); - action = path.substring(spIndex+1); - } - openoFrameWork.goToURLByIDAndNewAction(id,action); - } - var syncColorCSS=function(){//注册皮肤切换事件处理函数,处理iframe中的皮肤切换 - var pagemyIframe=null; - if (cachedIframes.count()>0) { - for (var i in cachedIframes.hash()) { - pagemyIframe=$('.page-content .page-content-body .'+i); - if(pagemyIframe&&pagemyIframe.length>0){ - openoFrameWork.SyncCSS(pagemyIframe[0],1,""); - } - } - } - } - var getCurrentVisibleIframe=function(){ - var pagemyIframe=null; - if (cachedIframes.count()>0) { - for (var i in cachedIframes.hash()) { - if(cachedIframes.items(i)===1){ - pagemyIframe=$('.page-content .page-content-body .'+i); - } - } - } - return pagemyIframe; - } - //处理跨域请求代理,通过该代理进行iframe间传递参数,注意这里的代理页面proxy.html必须部署到要跨域的对端域的服务器web根目录下 - var dealCrossProxy=function(ifrm,crossproxysrc,ifmHeadlins,flag){//crossproxysrc这个是proxy.html对应的url根路径 - var url=$.url(openoFrameWork.getCurrentScript(document)); - var proxyHtmlPath=url.attr("directory")+"proxy/proxy.html"//这中情况适用于使用了该界面集成框架的应用系统 - var _ifmProxy=$(''); - var _ifm=$('#ifm_Proxy'); - _ifm.hide(); - var pageContentBody=$('.page-content .page-content-body'); - var linksrcs=new Array(); - var linksids=new Array(); - var linktyps=new Array(); - var _src=""; - for (i=0;i0){ - _src=ifmHeadlins[i].link.src; - linktyps.push("javascriptfile"); - }else{ - _src=ifmHeadlins[i].link.text; - linktyps.push("javascripttext"); - } - }else{ - linktyps.push("undefined"); - } - linksrcs.push(_src); - linksids.push({"pos":ifmHeadlins[i].pos,"scope":ifmHeadlins[i].scope,"id":ifmHeadlins[i].link.id}); - } - var parm={iFrame:ifrm,cssLinktyps:linktyps,cssLinksrcs:linksrcs,cssLinkids:linksids,origin:crossproxysrc,flag:flag}; - if(_ifm&&_ifm.length<=0){//没有添加过 - _ifmProxy.appendTo(pageContentBody); - _ifmProxy.one('load',parm,function(e){ - var data={iFrame:e.data.iFrame,cssLinktyps:e.data.cssLinktyps,cssLinksrcs:e.data.cssLinksrcs,cssLinkids:e.data.cssLinkids,flag:flag}; - $('#ifm_Proxy')[0].contentWindow.postMessage(data,e.data.origin);//window.location.origin - }); - }else if(_ifm.attr("oldproxyorigin")!=crossproxysrc){//代理已经添加过了,看是否是同一个网站的代理,如果不是需要重新加载 - _ifm.attr("src",""); - _ifm.attr("oldproxyorigin",crossproxysrc); - _ifm.one('load',parm,function(e){ - var data={iFrame:e.data.iFrame,cssLinktyps:e.data.cssLinktyps,cssLinksrcs:e.data.cssLinksrcs,cssLinkids:e.data.cssLinkids,flag:flag}; - $('#ifm_Proxy')[0].contentWindow.postMessage(data,e.data.origin);//window.location.origin - }); - _ifm.attr("src",_ifmProxy.attr("src")); - }else{//已经添加过,直接触发消息发送即可 - var data={iFrame:parm.iFrame,cssLinktyps:parm.cssLinktyps,cssLinksrcs:parm.cssLinksrcs,cssLinkids:parm.cssLinkids,flag:flag}; - _ifm[0].contentWindow.postMessage(data,parm.origin);//window.location.origin - } - } - return { - init: function () { - if(zte_http_headers){ - store("zte_http_headers",zte_http_headers); - } - dealInit(); - dealResponsiveOnResize(); - dealResponsiveOnInit(); - dealClearCachedIframes(true); ////清理当前正在显示的iframe之外缓存的iframe, - breadcrumbBtnMenus.clear(); - dealFixedSidebar(); // deals fixed sidebar menu - dealFixedSidebarHoverable(); // deals fixed sidebar on hover effect - dealSidebarMenu(); // deals main menu - dealHorizontalMenu(); // deals horizontal menu - dealSidebarToggler(); // deals sidebar hide/show - dealTheme(); // deals style customer tool - dealSetLayout(); - $(function() { - $(window).on('hashchange',function(){ - loadCurrentHash(); - }); - }); - dealFullScreenMode(); // deals full screen - $("#header_dropdown_user").css('display','block'); - $("#com_zte_ums_ict_framework_img_netnumenLogo").css('display','inline'); - $("#com_zte_ums_ict_framework_ui_main_title").css('display','inline'); - handeCtxMenuitem(); - }, - //公开清理缓存的所有Iframe的方法:isALL==true则清理所有,否则清理当前正在显示的iframe之外缓存的iframe,。 - clearCachedIframes:function(isAll){ - dealClearCachedIframes(isAll); - }, - - setBaseURLRoot:function(ipportStr){//菜单url的跟ip和端口例如:http://10.74.151.122:21180 - if (store) { - store('baseURLRoot', ipportStr); - } - var url = $.url(ipportStr); - location.hash=url.attr('fragment'); - var auth=url.attr('query'); - if (store) { - store('baseURLRootAuth', auth); - } - }, - getBaseURLRoot:function(ipportStr){//菜单url的跟ip和端口例如:http://10.74.151.122:21180 - var rooturl=""; - if (store) { - rooturl=store('baseURLRoot'); - } - return !rooturl?"":rooturl; - }, - clearBaseURLRoot:function(){//菜单url的跟ip和端口例如:http://10.74.151.122:21180 - if (store) { - store('baseURLRoot', "",-1); - } - }, - setPageTitle:function(title){//设置页面标题 - $('title').html(title+" - "+gdocTitle); - }, - getLanguage:function(){//获取语言 - return openoFrameWork_conf.acceptLanguage; - }, - - getLocationHash:function(){ - return _getLocationHash(); - }, - setSceneURLRootPath:function(sceneURLRootPath){ - if(sceneURLRootPath&&sceneURLRootPath.trim().length>0){//如果定义了场景的全局参数 - _sceneURLRootPath=sceneURLRootPath.trim(); - if(_sceneURLRootPath.charAt(_sceneURLRootPath.length-1)!='/') - { - _sceneURLRootPath=_sceneURLRootPath+'/'; - } - } - }, - //public function to add callback a function which will be called on window resize - addResponsiveHandler: function (func) { - responsiveHandlers.push(func); - }, - - hiddenAlarmLight:function(){ - hideAlarmLight(); - }, - - hiddenMenu:function(){ - hidemenu(); - }, - setBreadcrumbByMenuID:function(id){ - //var breaditem=$('#'+id); - var menuitem=undefined; - // var items=$("a[id='"+id+"']"); - var items = undefined; - var panel = $('.zte-theme-panel'); - var navPosOption = $('.nav-pos-direction', panel).val(); - if (navPosOption === "vertical"){ //从垂直菜单里面找 - items=$("#page-sidebar-menu a[id='"+id+"']"); - if (!items || items.length < 1) { - items=$(".page-content a[id='"+id+"']"); - } - }else if(navPosOption === openoFrameWork_menu_horizontal){//从水平菜单里面找 - items=$("#main_hormenu a[id='"+id+"']"); - if(items.length == 0){ - //横菜单没有找到,再在横菜单的子菜单找一次 - items=$("#page-megachild-sidebar-menu a[id='"+id+"']"); - } - }else if(navPosOption === openoFrameWork_menu_fmenu){ - items=$("#f_hormenu a[id='"+id+"']"); - if(items.length == 0){ - //横菜单没有找到,再在竖菜单找一次。 - items=$("#page-f-sidebar-menu a[id='"+id+"']"); - } - } - var isbreadcrumbMenuItem=false; - if(items.length>0){ - for(var i=0;i0){ - if(isbreadcrumbMenuItem){ - dealBreadcrumbBtnGroupMenus(menuitem,false); - }else{ - dealBreadcrumb(menuitem,true,null); - } - }else{ - var breadcrumbBtnMenuItemParent=""; - if(!menuitem||menuitem.length<=0){//没有找到该菜单,可能是面包削中的,需要额外处理 - var menuItemID=id; - if (breadcrumbBtnMenus.contains(menuItemID)) {//有缓存 - breadcrumbBtnMenuItemParent="#"+breadcrumbBtnMenus.items(menuItemID); - menuitem=$(breadcrumbBtnMenuItemParent); - //_breadcrumbSource=true; - } - } - var parm=undefined; - if(breadcrumbBtnMenuItemParent&&breadcrumbBtnMenuItemParent.length>0){ - parm={breadcrumbBtnMenuItem:menuItemID}; - } - if(parm&&menuitem&&menuitem.length>0) { - dealBreadcrumb(menuitem,true,parm); - } - } - }, - setSiderbarCollapseWidth:function(width){ - _sidebarCollapsedWidth = width; - }, - getSiderbarCollapseWidth:function(){ - return _sidebarCollapsedWidth; - }, - setSidebarWidth:function(width){ - _sidebarWidth = width; - }, - getSidebarWidth:function(){ - return _sidebarWidth; - }, - //2015年10月26日新增动态切换菜单的功能,这里的菜单还需要再次更换菜单项访问的ip端口信息 - handlBaseURL:function(url){ - var baseURLRoot=openoFrameWork.getBaseURLRoot(); - if (baseURLRoot.length>0) {//2015年10月26日新增动态切换菜单的功能,这里的菜单还需要再次更换菜单项访问的ip端口信息 - baseURLRoot=openoFrameWork.getDomainURL(baseURLRoot);//去掉ip和port后多余的部分 - console.log("old a link href url:"+url); - url=baseURLRoot+url.replace(openoFrameWork.getDomainURL(url),""); - console.log("baseURLRoot:"+baseURLRoot+" newURL:"+url); - }; - return url; - }, - - startPageLoading: function(message) { - dealstartPageLoading(message); - }, - stopPageLoading: function() { - dealstopPageLoading(); - }, - //public function to get a paremeter by name from URL - getLocationURLParameter: function (paramName,separator) { - var searchString = decodeURIComponent(window.location.search.substring(1)).toLowerCase(), - i, val, params = searchString.split(separator?separator:"&"); - paramName=paramName.toLowerCase(); - for (i = 0; i < params.length; i++) { - val = params[i].split("="); - if (val[0] == paramName) { - return unescape(val[1]); - } - } - return null; - }, - //public function to get a paremeter by name from URL - getURLParameter: function (paramName,url) { - var searchString = decodeURIComponent(url).toLowerCase(), - i, val, params = searchString.split("&"); - paramName=paramName.toLowerCase(); - for (i = 0; i < params.length; i++) { - val = params[i].split("="); - if (val[0] == paramName) { - return unescape(val[1]); - } - } - return null; - }, - // check for device touch support - isTouchDevice: function () { - return isTouch; - }, - getUniqueID: function(prefix) { - return prefix+'_' + Math.floor(Math.random() * (new Date()).getTime()); - }, - // check IE8 mode - isIE8: function () { - return isIE8; - }, - // check IE9 mode - isIE9: function () { - return isIE9; - }, - //check RTL mode - isRTL: function () { - return isRTL; - }, - getViewPort:function(){ - return _getViewPort(); - }, - // get layout color code by color name - getLayoutColorCode: function (name) { - if (layoutColorCodes[name]) { - return layoutColorCodes[name]; - } else { - return ''; - } - } , - fixContentHeight: function () { - dealSidebarAndContentHeight(); - }, - dealAtoIframe:function(aObj,event){ - var containerStr=aObj.parentsUntil('.page-container').hasClass('page-sidebar')?'page-sidebar':"";// - containerStr=aObj.parentsUntil('.header-inner').hasClass('hor-menu')?'header':containerStr; - dealMenuItemClick(aObj,event,containerStr); - _isClicked=false; - }, - getDomainURL:function(urlAddress){ - var url = $.url(urlAddress); - var protocol=url.attr('protocol'); - var host=url.attr('host'); - var port=url.attr('port'); - var crossOrign=protocol+"://"+host+(port.length>0?":"+port:""); - return crossOrign; - }, - getCurrentScript:function(doc) {//doc为 document对象 - /* 注意该功能在其他脚本中调用时出safari获取到的脚本路径为本方法所在脚本的路径, - 其他浏览器获取到的为调用该方法的脚本所在路径 - 取得正在解析的script节点 - */ - if(doc&&doc.currentScript) { //firefox 4+ - console.log("0、 "+doc.currentScript.src); - return doc.currentScript.src; - } - // 参考 https://github.com/samyk/jiagra/blob/master/jiagra.js - var stack; - try { - a.b.c(); //强制报错,以便捕获e.stack - } catch(e) {//safari的错误对象只有line,sourceId 或者高版本还有sourceURL - stack = e.stack; - if(e.sourceURL){//safari 浏览器没有e.stack但有e.sourceURL - stack=e.sourceURL; - }else if(!stack && window.opera){ - //opera 9没有e.stack,但有e.Backtrace,但不能直接取得,需要对e对象转字符串进行抽取 - stack = (String(e).match(/of linked script \S+/g) || []).join(" "); - } - console.log("1、 "+stack); - } - if(stack) { - /*e.stack最后一行在所有支持的浏览器大致如下: - *chrome23: - * at http://113.93.50.63/data.js:4:1 - *firefox17: - *@http://113.93.50.63/query.js:4 - *opera12: - *@http://113.93.50.63/data.js:4 - *IE10: - * at Global code (http://113.93.50.63/data.js:4:1) - */ - console.log("2、 "+stack); - stack = stack.split( /[@ ]/g).pop();//取得最后一行,最后一个空格或@之后的部分 - stack = stack[0] == "(" ? stack.slice(1,-1) : stack; - console.log("3、 "+stack); - return stack.replace(/(:\d+)?:\d+$/i, "");//去掉行号与或许存在的出错字符起始位置 - } - if(doc){ - var nodes = doc.getElementsByTagName("script"); //只在head标签中寻找 - for(var i = 0, node; node = nodes[i++];) { - if(node.readyState === "interactive") { - console.log("4、 "+(node.className = node.src)); - return node.className = node.src; - } - } - } - }, - /*下面的flag为0表示默认不触发孙子iframe中的onload事件,为1表示要触发,flag为10则对cssSrc重复执行,其他不做重复执行*/ - SyncCSS:function(ifrm,flag,cssSrc){//将主框架中的皮肤css应用到打开的iframe页面中 - if(!ifrm)return; - var ifmHeadlins = new Array(); - if(cssSrc&&cssSrc.length>0&&cssSrc.endWith(".css")){ - var _div = $(''); - var csslink=document.createElement("link"); - csslink.href=_div[0].href;//这里同步菜单定义中cssSrc属性指定的css文件到iframe - _div = null; - csslink.rel="stylesheet"; - csslink.type="text/css"; - csslink.id="ifram_csssrc"; - ifmHeadlins.push({"pos":"head","scope":"all","link":csslink});//pos是添加到子iframe中的位置,scope是子窗体作用返回,one表示直接子窗体,all表示嵌套所有子窗体 - } - if(flag!=10){//当flag为10时下面的css和js都不执行 - if($('#style_color').length>0){ - var csslink=document.createElement("link"); - csslink.href=$('#style_color')[0].href.replace(".css","_ifrm.css");//这里同步的皮肤页面修改为原皮肤页面文件名后缀添加ifrm的css皮肤文件 - csslink.rel="stylesheet"; - csslink.type="text/css"; - csslink.id="style_color"; - ifmHeadlins.push({"pos":"head","scope":"all","link":csslink});//pos是添加到子iframe中的位置,scope是子窗体作用返回,one表示直接子窗体,all表示嵌套所有子窗体 - } - // 将 font-awesome字体图标应用到模块iframe - if($('#font_awesome').length>0){ - var awesomelink=document.createElement("link"); - awesomelink.href=$('#font_awesome')[0].href; - awesomelink.rel="stylesheet"; - awesomelink.type="text/css"; - awesomelink.id="font_awesome"; - ifmHeadlins.push({"pos":"head","scope":"all","link":awesomelink}); - } - // 将pym.js or pym.min.js应用到模块iframe - var pymjsObj=$("script[src*='/pym.']");//模糊查找 - pymjsObj=pymjsObj.length>0?pymjsObj:$("script[src*='/pym1.']"); - if(pymjsObj.length>0){ - var pymjs=document.createElement("script"); - pymjs.src=pymjsObj[0].src; - pymjs.type="text/javascript"; - pymjs.id=!!pymjsObj[0].id?pymjsObj[0].id:"pymjs"; - ifmHeadlins.push({"pos":"head","scope":"one","link":pymjs}); - pymjs=document.createElement("script"); //pym脚本文件加载后要执行new pym.Child()进行iframe子窗体实例化,便于子窗体和父窗体通讯new pym.Child({ id: '"+_iframe+"' ,polling: 1000}) - var frameid=(_iframe.split('-').length>0?_iframe.split('-')[1]:"1"); - pymjs.text="var t1;function pmchd(){console.log('In the frame "+_iframe+",pym code call is begining; '+(typeof pym!= 'undefined'));if(typeof pym != 'undefined'){pymChild"+frameid+" = new pym.Child({ id: 'pdiv_"+_iframe+"' ,polling: 500});window.clearInterval(t1); }};t1 = window.setInterval(pmchd,5);"; - pymjs.type="text/javascript"; - pymjs.id="pymChild"; - ifmHeadlins.push({"pos":"htmlend","scope":"one","link":pymjs}); - } - // 将hk.js or hk.min.js应用到模块iframe - var hkjsObj=$("script[src*='/hk.']");//模糊查找 - hkjsObj=hkjsObj.length>0?hkjsObj:$("script[src*='/hk1.']"); - if(hkjsObj.length>0){ - var hkjs=document.createElement("script"); - hkjs.src=hkjsObj[0].src; - hkjs.type="text/javascript"; - hkjs.id=!!hkjsObj[0].id?hkjsObj[0].id:"hkjs"; - ifmHeadlins.push({"pos":"head","scope":"one","link":hkjs}); - hkjs=document.createElement("script"); ////hk.js 加载后拦截ajax请求进行转发 - } - } - var crossOrign=openoFrameWork.getDomainURL(ifrm.src); - if( window.location.origin==crossOrign){ //第一层同域处理 - for (i=0;i0){ - var ifmHeadlins2 = new Array(); - for (i=0;i0){ - console.log('跨域访问: 系统将进入跨域访问代理处理流程 '); - dealCrossProxy(childifrms[j].name,childOrign,ifmHeadlins2,flag); - } - } - } - } - }else{ - if(ifmHeadlins.length>0){ - console.log('跨域访问: 系统将进入跨域访问代理处理流程 '); - dealCrossProxy(ifrm.name,crossOrign,ifmHeadlins,flag); - } - } - }, - goToURL:function(url){ - dhByBreadcrumb = true;//全局变量,声明此次事件是由点击面包屑发起的 - var showNav=openoFrameWork.getLocationURLParameter('showNav'); - if(showNav=="false"){//如果不显示菜单,就强制刷新本页 - location.reload(); - }else{ - url="a[name='"+url+"']"; - $(url).click(); - } - }, - goToURLByName:function(name){ - var showNav=openoFrameWork.getLocationURLParameter('showNav'); - if(showNav=="false"){//如果不显示菜单,就强制刷新本页 - location.reload(); - }else{ - url="a[name='"+name+"']"; - $(url).click(); - } - }, - goToURLByID:function(id){ - if(!id){ - return; - } - var showNav=openoFrameWork.getLocationURLParameter('showNav'); - if(showNav=="false"){//如果不显示菜单,就强制刷新本页 - location.reload(); - }else{ - if(id.indexOf("#")<0){ - id="#"+id; - } - $(id).click(); - } - }, - goToPortal:function(id){ - var _url=top.location.href; - console.log(_url); - //_url="/ngict/iui/framework/"; - var url=$.url(_url); - top.location=url.attr("directory")+"uifportal.html#"+id+"/"; - }, - //Category - goToURLByIDAndNewIPPort:function(id,newIPPort,newActionStr){ - //先把NewIPPort对象:newIPPort={menuCategoryID:'vim',ipPortStr:'htpp://10.74.151.123:31180',newTitle:''}缓存到Category数组中, - //menuCategoryID属性是更多菜单上配置的菜单的分类id,; - //ipPortStr属性是该id的菜单要替换的新的ip和端口地址字符串,包括协议部分,比如http://10.74.151.64:21169 - //newTitle属性用于放置新开ip的页面对应到面包屑上的名字,可以为“”,空标识不关注 - _menuCategorys.replace(newIPPort.menuCategoryID,{ipPort:newIPPort.ipPortStr,ipTitle:newIPPort.newTitle});//把当前面包削中的菜单id和该子菜单对应的父菜单关联缓存起来 - if (store) { - store('menuCategoryID', newIPPort.menuCategoryID+"[menuCategoryID]"+newIPPort.ipPortStr+"[menuCategoryID]"+(!!newIPPort.newTitle?newIPPort.newTitle:"")); - } - //这里增加按照newIPPort.menuCategoryID分类加载more菜单的处理逻辑 - //首先根据id找到对应的主菜单菜单项 - var menuitem = this.findMenuItemByMenuId(id); - if(!menuitem||menuitem.length<=0){//主菜单中没有找到,就找more菜单,找到id对应的more菜单项所属的主菜单项 - var mainMenuId = this.getMenuItemId_From_MoreMenuRelation(id); - if( !!mainMenuId&&mainMenuId.length>0 ){//more菜单中找到了id对应的主菜单项id,根据id返回主菜单项 - menuitem = this.findMenuItemByMenuId(mainMenuId); - if(!!menuitem&&menuitem.length>0){ - var more=$("#"+id,$('#pageableDiv')).parent(); - $(".box.boxOperation", $(".carousel-inner")).removeClass("moreButtonSelected"); - more=$('a>div.box',more); - if (more.hasClass('moreButtonSelected') == false){ - more.addClass('moreButtonSelected'); - } - var pagesTags=$('.item.moreButtonsTag'); - if(pagesTags.length>0){ - for(var i=0;i0){ - tags.addClass('active'); - } - } - } - } - } - } - //其次找到的菜单项中newIPPort.menuCategoryID对应的src覆盖breadcrumgroupbuttonsrc属性值, - if(!!menuitem&&menuitem.length>0){ - var mulsrc=menuitem.attr(newIPPort.menuCategoryID+"-multiInsrc"); - if(!!mulsrc){ - menuitem.attr("breadcrumgroupbuttonsrc" ,mulsrc); - getBreadcrumbRightButtons(mulsrc,true); - } - } - if (waittime) { - clearInterval(waittime); - } - waittime = setInterval(function () { - if(moreMenusisLoaded==true){ - clearInterval(waittime); - openoFrameWork.goToURLByIDAndNewAction(id,newActionStr,null); - } - }, 10); - }, - goToURLByIDAndNewAction:function(id,newActionStr,newBrowserPageOption){ - if(!id){ - return; - } - - /*if(id.indexOf("#")<0){ - id="#"+id; - }*/ - var menuitem = this.findMenuItemByMenuId(id); - //处理新开页面情况 - if(newBrowserPageOption){ - var href = ICTFRAME_CONST_DEFAULTPAGE_PATH; - var hash = getLocationHashByMenuId(id); - var newin=window.open(href + newBrowserPageOption.paramStr + hash,newBrowserPageOption.windowTitle); - newin.name=newActionStr;//注意这种传递参数的方法,被打开的页面中需要通过top.name中获取该传递的参数。 - return; - } - //$(window).off('hashchange', loadCurrentHash); - var menuItemID=menuitem?menuitem.attr("id"):""; - if(!!menuItemID&&menuItemID.length>0){ - //menuItemID="#" + menuItemID; - //menuItemID=!!newActionStr?menuItemID:menuItemID+"/no"; - _setLocationHash(menuItemID); - } - var breadcrumbBtnMenuItemParent=""; - if(!menuitem||menuitem.length<=0){//没有找到该菜单,可能是面包削中的,需要额外处理 - menuItemID=id; - if (breadcrumbBtnMenus.contains(menuItemID)) {//有缓存 - breadcrumbBtnMenuItemParent=breadcrumbBtnMenus.items(menuItemID); - menuitem=this.findMenuItemByMenuId(breadcrumbBtnMenuItemParent); - //_breadcrumbSource=true; - } - // else{//在新增的可翻页的更多菜单里面找 - // var pageDiv = $('#pageableDiv'); - // menuitem=$('#' + menuItemID , pageDiv); - // } - if( menuitem && menuitem.length > 0){ - isMoreMenuItemClick = true; - } - } - if(!menuitem||menuitem.length<=0){ - //面包屑和主菜单都没有找到,情况可能是:更多菜单点击打开后,刷新,hash已经更改,但是对应的更多菜单的html没有加载,需要找到更多菜单和主菜单的对应关系 - var mainMenuId = this.getMenuItemId_From_MoreMenuRelation( id ); - if( mainMenuId ){ - menuitem = this.findMenuItemByMenuId(mainMenuId); - } - - } - if (store&&store("globleCurrentBreadcrumb")){ - globleCurrentBreadcrumb=store("globleCurrentBreadcrumb"); - //下面处理下刷新整个页面后从cookie中获取来的最后一次操作的面包屑对应的对应菜单的name属性回写,便于面包屑事件响应能够找到对应的菜单 - var al=$("a",$("
    "+globleCurrentBreadcrumb+"
    ")); - var alink,gal; - for(i=0;i0){ - var panel = $('.zte-theme-panel'); - var navPosOption = $('.nav-pos-direction', panel).val(); - if(navPosOption === openoFrameWork_menu_fmenu){ - var hparentid=menuitem.attr("hparentid"); - var id=menuitem.attr("id"); - var i=0,menuItemH=menuitem; - while (id!=hparentid&&i<20){ - menuItemH=openoFrameWork.findMenuItemByMenuId(hparentid); - hparentid=menuItemH.attr("hparentid"); - id=menuItemH.attr("id"); - i++; - }; - if(!menuItemH.hasClass('active')) - menuItemH.parent().addClass("active"); - } - }else{ - console.log("goToURLByIDAndNewAction():Can't find the menuitem.The menu ID is:"+id+".Please check if the ID or ID cache is correct."); - } - //try{ - var parm=undefined; - if(!!newActionStr&&breadcrumbBtnMenuItemParent&&breadcrumbBtnMenuItemParent.length>0){ - parm={action:newActionStr,breadcrumbBtnMenuItem:menuItemID}; - }else if(!!newActionStr){ - parm={action:newActionStr}; - }else if(breadcrumbBtnMenuItemParent&&breadcrumbBtnMenuItemParent.length>0){ - parm={breadcrumbBtnMenuItem:menuItemID}; - }else if(mainMenuId){ - isMoreMenuItemClick = true; - parm={breadcrumbBtnMenuItem:menuItemID}; - } - //if(breadChangeType){ - // if(!parm){ - // parm = {}; - // } - // parm.breadChangeType = breadChangeType; - //} - if(parm&&parm.action || parm&&parm.breadChangeType) { - _hashSource="dhByInterface"; - } - - if(menuitem&&menuitem.length>0){ - menuitem.one('click',parm,function(e){ //临时一次性的注册一次click事件处理函数,执行完毕会自动删除 - openoFrameWork.dealAtoIframe($(this),e); - //$(window).one('hashchange', loadCurrentHash); - return false; - }); - menuitem.click();//后执行 - } - /*}catch(e){} - finally{ - //$(window).on('hashchange', loadCurrentHash); - }*/ - }, - - getBreadcrumbEle:function(){ - return $('.breadcrumbUl')[0]; - }, - - - findMenuItemByMenuId:function( id ){ - var menuitem=undefined; - var panel = $('.zte-theme-panel'); - var navPosOption = $('.nav-pos-direction', panel).val(); - - var items = undefined; - if (navPosOption === "vertical"){ //从垂直菜单里面找 - items=$("#page-sidebar-menu a[id='"+id+"']"); - }else if(navPosOption === openoFrameWork_menu_horizontal){//从水平菜单里面找 - items=$("#main_hormenu a[id='"+id+"']"); - if(items.length == 0){ - //横菜单没有找到,再在横菜单的子菜单找一次 - items=$("#page-megachild-sidebar-menu a[id='"+id+"']"); - } - }else if(navPosOption === openoFrameWork_menu_fmenu){ - items=$("#f_hormenu a[id='"+id+"']"); - if(items.length == 0){ - //横菜单没有找到,再在竖菜单找一次。 - items=$("#page-f-sidebar-menu a[id='"+id+"']"); - - } - - } - if( items&&items.length == 0 ){ - console.log( 'fmenu alink length is :' + $("#page-f-sidebar-menu a").length ); - console.log( 'cant find menu in sidemenu、megamenu and fmenu , the menu id is ' + id ); - } - if(items&&items.length>0){ - for(var i=0;i0){ - for(var i=0;i 0) { - parm = { - breadcrumbBtnMenuItem : menuItemID - }; - } - if (menuitem && menuitem.length > 0) { - menuitem.one('click', parm, function (e) { //临时一次性的注册一次click事件处理函数,执行完毕会自动删除 - var containerStr = $(this).parentsUntil('.page-container').hasClass('page-sidebar') ? 'page-sidebar' : ""; // - containerStr = $(this).parentsUntil('.header-inner').hasClass('hor-menu') ? 'header' : containerStr; - _isClicked = false; - dealMenuItemGetFocus($(this),e,containerStr); - return false; - }); - menuitem.click(); //后执行 - } - }, - // 处理面包削中的按钮菜单增加的导航连接,显示在iframe中 - openbreadcrumbLink:function(aObject,e) { - var url = aObject.attr("href"); - if(!url||url.length<2) - return; - e.preventDefault(); - dealScrollTo(); - var menuItemID=aObject.attr("id"); - if(!!menuItemID&&menuItemID.length>0){ - _setLocationHash(menuItemID); - _hashSource="dhByInterface"; - } - dealstartPageLoading(); - dealIframe(aObject,e); - }, - getURLParam:function(name){ - var reg = new RegExp("(^|&)" + name.toLowerCase() + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象 - var search =decodeURIComponent(location.search.substring(1)).toLowerCase(); - var r =search.match(reg); //匹配目标参数 - if (r != null) return unescape(r[2]); - return null; //返回参数值 - } - }; -}(); - -//抽取html片段中任意位置的script标签(包括代码是内嵌的情况)逐个运行(不会在单个script加载不到的时候停下来) -function runHtmlScripts(s) { - var div = document.createElement('div'); - div.innerHTML = s; - var scripts = div.getElementsByTagName('script'); - - var currentRunningScriptSrcPath = {}; - $(scripts).each(function() { - var src = this.src; - src = openoFrameWork.handlBaseURL(src); - if (src) { - currentRunningScriptSrcPath[src.substring(src.lastIndexOf("/") + 1)] = src.substring(0, src.lastIndexOf("/") + 1); - $.getScript(src); - } else { - $.globalEval(this.text || this.textContent || this.innerHTML || ''); - } - }); -}; - -function stripHtmlScripts(htmlContent) { - var divContent = document.createElement('div'); - divContent.innerHTML = htmlContent; - var scripts = divContent.getElementsByTagName('script'); - - $(scripts).each(function() { - this.src = openoFrameWork.handlBaseURL(this.src); - this.parentNode.removeChild(this); - }); - return divContent.innerHTML; -}; - -function getsiderBarMenu(url){ - if (url.length<2){ - return; - } - url=openoFrameWork.handlBaseURL(url); - openoFrameWork.startPageLoading();//菜单加载中请稍候.... - var pagesidebar=$('#page-sidebar-menu'); - pagesidebar.empty(); - pagesidebar.append(""); - $.ajax({ - type: "GET", - cache: false, - url: url, - dataType: "html", - success: function (res) { - //去除script标签以后添加到主框架以防止append方法因为加载script标签失败导致后面的代码无法运行 - //res = stripHtmlScripts(res); - var resScriptsSriped = stripHtmlScripts(res); - pagesidebar.append(resScriptsSriped); - runHtmlScripts(res); - - siderBarMenuAuthentication(); - dealMysqlBackupMenu(); - //loadi18n_WebFramework_sideMenu(); - setTimeout(function () { - openoFrameWork.stopPageLoading(); - goToHomePage(); - }, 1000); - }, - error: function (xhr, ajaxOptions, thrownError) { - //$('#page-sidebar-menu').append('');//加载系统菜单失败!;//加载系统菜单失败! - } - }); -}; -var setLayoutValueByCookie = function () { - var panel = $('.zte-theme-panel'); - if (store('layout-option') != undefined) { - $('.layout-option', panel).val(store('layout-option')); - } - if (store('language-option') != undefined) { - $('.language-option', panel).val(store('language-option')); - } - if (store('sidebar-option') != undefined) { - $('.sidebar-option', panel).val(store('sidebar-option')); - } - if (store('header-option') != undefined) { - $('.header-option', panel).val(store('header-option')); - } - if (store('sidebar-pos-option') != undefined) { - $('.sidebar-pos-option', panel).val(store('sidebar-pos-option')); - } - var horMenuLoadTip = $("[class='nav-load-error']", $(".hormenu")); - var sideMenuLoadTip = $("[class='nav-load-error']", $("[class='page-sidebar-menu']")); - // 横竖菜单都无错误提示,都正确加载 - // if ((!horMenuLoadTip || horMenuLoadTip.length <= 0) && (!sideMenuLoadTip || sideMenuLoadTip.length <= 0)) { - // if (store('nav-pos-direction') != undefined) { - // var navPosOption = store('nav-pos-direction'); - // $('.nav-pos-direction', panel).val(navPosOption); - // } else { - $('.nav-pos-direction', panel).val('fmenu'); - // $.ajax({ - // "dataType" : 'json', - // "type" : "GET", - // "async" : false, - // url : FrameConst.REST_GET_FRAME_MENUDIRECTION + "&tmpstamp=" + new Date().getTime(), - // "success" : function (obj) { - // if (obj.value && (obj.value != "")) { - // $('.nav-pos-direction', panel).val(obj.value); - // } - // } - // }); - //} - // } else { - // $('.nav-pos-direction', panel).attr("disabled", true); - // } -}; - - -function iniFMenu() { - var fsidemenu = $('#' + fMenuSiderDivId); - - if (fsidemenu) { - openoFrameWork.startPageLoading(); - - var menuContent = initLeftMenu(); - fsidemenu.empty(); - fsidemenu.append(""); - fsidemenu.append(menuContent); - loadi18n_WebFramework('web-framework-menu-i18n', 'i18n/', 'openo_frame_left_menu_i18n'); - - openoFrameWork.stopPageLoading(); - } -}; - -function goToHomePage(){ - locationhash = openoFrameWork.getLocationHash(); - if(!!locationhash&&locationhash.length>0){//有锚点,直接触发 - var newIPPort=null; - if (store&&store('menuCategoryID')) { - var s=store('menuCategoryID').split('[menuCategoryID]'); - if(s.length>2){ - newIPPort={menuCategoryID:s[0],ipPortStr:s[1],newTitle:s[2]}; - } - } - if(!!newIPPort){ - openoFrameWork.goToURLByIDAndNewIPPort(locationhash,newIPPort,null); - }else{ - openoFrameWork.goToURLByIDAndNewAction(locationhash,null,null); - } - }else{//否则还是模拟点击配置了start类的菜单 - var containerStr = ""; - //var sidermenu = $("[class='page-sidebar-menu']", $("[class='page-sidebar navbar-collapse collapse']")); - var sidermenu = $("#page-sidebar-menu"); - var hormenu = $("#main_hormenu"); - var fhormenu = $('#' + fMenuMegaDivId); - var fhormenusider = $('#page-f-sidebar-menu'); - var startmenu = null; - var navPosOption = $('.nav-pos-direction', panel).val(); - // 侧边栏显示,根据侧边栏CSS选择 - if (navPosOption === "vertical") { - //containerStr=$('.page-sidebar').length>0?'.page-sidebar':""; - startmenu = $('.iframe.start' , sidermenu); - dealStartMenu( startmenu, sidermenu ); - } - // 水平菜单显示,根据水平菜单CSS选择 - else if (navPosOption === "horizontal") { - //containerStr=$('.hor-menu').length>0?'.header':containerStr; - startmenu = $('.iframe.start' , hormenu); - dealStartMenu( startmenu, hormenu ); - - } - //F菜单的恒菜单显示 - else if (navPosOption === openoFrameWork_menu_fmenu) { - //containerStr=$('.hor-menu').length>0?'.header':containerStr; - startmenu = $('.iframe.start' ,fhormenu); - if (startmenu && startmenu.length < 1) { - startmenu = $('.iframe.start' ,fhormenusider); - } - dealStartMenu( startmenu, fhormenu,fhormenusider ); - } - } -}; -var dealStartMenu = function(startmenu , menuContainer,menuContainer2 ){ - var timer =setInterval(function () { - if(startmenu&&startmenu.length>0){ - startmenu.click(); - clearInterval(timer); - }else{ - console.log('the start menu click event is not be triggerd ,so do it repeat!!'); - $('a[operation]', menuContainer).each(function () { - startmenu = $(this); - return false; - }); - if (menuContainer2&&startmenu && startmenu.length < 1) { - $('a[operation]', menuContainer2).each(function () { - startmenu = $(this); - return false; - }); - } - } - }, 100); - handeCtxMenuitem(); - } -// 屏蔽横竖菜单项的右键功能 -function handeCtxMenuitem() { - $(".page-sidebar ul li a").each(function() { - if ($(this).attr("href") && $(this).attr("href") != "javascript:;" && $(this).attr("href") != "#") { - $(this).attr("oncontextmenu", "return false"); - } - }); - $(".hormenu li a").each(function() { - if ($(this).attr("href") && $(this).attr("href") != "javascript:;" && $(this).attr("href") != "#") { - $(this).attr("oncontextmenu", "return false"); - } - }); -} -function initBaseInfo(){ - $("#logout_label").text($.i18n.prop('com_zte_ums_ict_framework_ui_group_logout')); - $("#fullscreen_label").text($.i18n.prop('com_zte_ums_ict_framework_ui_group_fullscreen')); - $("#changePwd_label").text($.i18n.prop('com_zte_ums_ict_framework_ui_changePwd')); - $("#com_zte_ums_ict_framework_moudle_about").text($.i18n.prop('com_zte_ums_ict_framework_moudle_about')); - $("#com_zte_ums_ict_framework_moudle_help").text($.i18n.prop('com_zte_ums_ict_framework_moudle_help')); - $("#zte_menu-toggler").attr("title",$.i18n.prop('com_zte_ums_ict_framework_moudle_menutoggler')); -}; -window.closeModal = function(modalid) { - if(!modalid){ - return; - } - if(modalid.indexOf("#")<0){ - modalid="#"+modalid; - } - $(modalid).modal('hide'); -}; -function getLcsRight(lcsoperations) { - var lcsrights = new Array(); - if (lcsoperations && (lcsoperations.length > 0)) { - // 请求后台license value - //----test data---- - // var testjson = '{"data":[{"id":"mylcs","name":"xxx","value":"false"}]}'; - // var testopt = eval('(' + testjson + ')'); - // var testarray = testopt.data; - //-----end test data--- - var keys = { - "keys" : lcsoperations - }; - var jsonvalues = JSON.stringify(keys); - var data = { - "data" : jsonvalues - }; - var url=FrameConst.REST_GETLICENSEINFO + "?tmpstamp=" + new Date().getTime(); - url=openoFrameWork.handlBaseURL(url); - $.ajax({ - "dataType" : 'json', - "type" : "GET", - "async" : false, - "url" : url, - "data" : data, - //"contentType" : 'application/json; charset=utf-8', - "success" : function (response) { - if (response) { - lcsrights = response.data; - } - }, - "error" : function (XMLHttpRequest, textStatus, errorThrown) { - lcsrights = null; - } - }); - return lcsrights; - } - return lcsrights; -} -// 侧边栏菜单鉴权 -function siderBarMenuAuthentication() { - // license 鉴权 - var menuids = new Array(); - var lcsoperations = new Array(); - //从页面DOM取得菜单license项。 - $('a[licenseid]', $('.page-sidebar-menu')).each(function () { - var licenseid = $(this).attr("licenseid"); - if (licenseid) { - lcsoperations.push(licenseid); - var id = $(this).attr("id"); - menuids.push(id); - } - }); - var lcsrights = getLcsRight(lcsoperations);// 取得license数据。 - if (lcsrights && (lcsrights.length == menuids.length)) { - // 根据后台license值判断所在菜单项是否显示 - for (var i = 0; i < menuids.length; i++) { - var id = menuids[i]; - var lcskey = lcsoperations[i]; - var lcsitem = lcsrights[i]; - // 菜单项如果配了licenseid, 并且不是true字符串, 则移除菜单项 - if (lcsitem.value != "True") { - $('#'+id, $('.page-sidebar-menu')).parent().remove(); - } - } - } - var operations = new Array(); - $('a[operation]', $('.page-sidebar-menu')).each(function () { - var operation = $(this).attr("operation"); - if (operation) { - operations.push(operation); - } - }); // 遍历菜单项,提取所有的操作码 - var rightObj = getAllOperCodeRights(operations); // 对操作码进行鉴权判断 - $('a[operation]', $('.page-sidebar-menu')).each(function () { - var operation = $(this).attr("operation"); - if (operation) { - if (!hasRight(operation, rightObj)) { - $(this).parent("li").remove(); // 删除没有权限的菜单项 - } - } - }); - rebuildSiderBarMenu(); -}; -// 横向菜单栏鉴权 -function horMenuAuthentication( horMenuId ) { - // license 鉴权 - var menuids = new Array(); - var lcsoperations = new Array(); - //从页面DOM取得菜单license项。 - $('a[licenseid]', $('#'+ horMenuId)).each(function () { - var licenseid = $(this).attr("licenseid"); - if (licenseid) { - lcsoperations.push(licenseid); - var id = $(this).attr("id"); - menuids.push(id); - } - }); - var lcsrights = getLcsRight(lcsoperations);// 取得license数据。 - if (lcsrights && (lcsrights.length == menuids.length)) { - // 根据后台license值判断所在菜单项是否显示 - for (var i = 0; i < menuids.length; i++) { - var id = menuids[i]; - var lcskey = lcsoperations[i]; - var lcsitem = lcsrights[i]; - // 菜单项如果配了licenseid, 并且不是true字符串, 则移除菜单项 - if (lcsitem.value != "True") { - $('#'+id, $('#'+ horMenuId)).parent().remove(); - } - } - } - var operations = new Array(); - $('a[operation]', $('#'+ horMenuId)).each(function () { - var operation = $(this).attr("operation"); - if (operation) { - operations.push(operation); - } - }); // 遍历菜单项,提取所有的操作码 - var rightObj = getAllOperCodeRights(operations); // 对操作码进行鉴权判断 - $('a[operation]', $('#'+ horMenuId)).each(function () { - var operation = $(this).attr("operation"); - if (operation) { - if (!hasRight(operation, rightObj)) { - $(this).parent("li").remove(); // 删除没有权限的菜单项 - } - } - }); - rebuildHorMenu(); -}; - -// “更多操作”分组按钮鉴权 -function groupButtonAuthentication() { - // license 鉴权 - var menuids = new Array(); - var lcsoperations = new Array(); - //从页面DOM取得菜单license项。 - $('a[licenseid]', $('.more-botton-zone > li.btn-group')).each(function () { - var licenseid = $(this).attr("licenseid"); - if (licenseid) { - lcsoperations.push(licenseid); - var id = $(this).attr("id"); - menuids.push(id); - } - }); - var lcsrights = getLcsRight(lcsoperations);// 取得license数据。 - if (lcsrights && (lcsrights.length == menuids.length)) { - // 根据后台license值判断所在菜单项是否显示 - for (var i = 0; i < menuids.length; i++) { - var id = menuids[i]; - var lcskey = lcsoperations[i]; - var lcsitem = lcsrights[i]; - // 菜单项如果配了licenseid, 并且不是true字符串, 则移除菜单项 - if (lcsitem.value != "True") { - $('#'+id, $('.more-botton-zone > li.btn-group')).parent().remove(); - } - } - } - // 增加mysql判断,如果数据库为mysql,去掉基础数据备份功能菜单项 - var dbType = openoFrameWork_conf.dbType; - if (dbType == "mysql") { - $("#uep-ict-backup-baseDataBack",$('.more-botton-zone > li.btn-group')).parent().remove(); - } - var operations = new Array(); - $('a[operation]', $('.more-botton-zone > li.btn-group')).each(function () { - var operation = $(this).attr("operation"); - if (operation) { - operations.push(operation); - } - }); // 遍历菜单项,提取所有的操作码 - var rightObj = getAllOperCodeRights(operations); // 对操作码进行鉴权判断 - $('a[operation]', $('.more-botton-zone > li.btn-group')).each(function () { - var operation = $(this).attr("operation"); - if (operation) { - if (!hasRight(operation, rightObj)) { - $(this).parent("li").remove(); // 删除没有权限的菜单项 - } - } - }); - // 如果“更多菜单”下没有子菜单了,则删除整个“更多菜单”下拉框。 - if ($('li > a', $('.more-botton-zone > li.btn-group')).length == 0) { - $('.more-botton-zone > li.btn-group').remove(); - } -}; -// 删除没有子菜单的一级菜单,查看新菜单是否配了登录默认页面,如没有则指定第一个有权限的菜单作为登录后默认页面 -function rebuildSiderBarMenu() { - if ($('a.start').length == 0) { - $('li > a[href!="javascript:;"]', $('.page-sidebar-menu')).eq(0).addClass("start"); - } - $('ul.sub-menu', $('.page-sidebar-menu')).each(function () { - if ($(this).has('li').length == 0) { - $(this).parent("li").remove(); - } - }); -}; -// 删除没有子菜单的一级菜单,查看新菜单是否配了登录默认页面,如没有则指定第一个有权限的菜单作为登录后默认页面 -function rebuildHorMenu() { - if ($('a.start').length == 0) { - $('li > a[href!="#"]', $('#main_hormenu')).eq(0).addClass("start"); - } - $('ul.mega-menu-submenu', $('#main_hormenu')).each(function () { - if ($(this).has('li > a').length == 0) { - $(this).remove(); // 删空的分组列 - } - }); - //删除增加的分组div - $('div.zteDivWidth', $('#main_hormenu')).each(function () { - if ($(this).has('ul').length == 0) { - $(this).remove(); // 删空的分组列 - } - }); - $('ul.dropdown-menu', $('#main_hormenu')).each(function () { - if ($(this).has('ul').length == 0) { - $(this).parent("li").remove(); // 删空的一级菜单栏 - } - }); - $('li.divider', $('#main_hormenu')).each(function () { - if ($(this).next().hasClass('divider')) { - $(this).remove(); // 连续出现分隔线则删除一个 - } - }); - $('li.divider', $('#main_hormenu')).each(function () { - if ($(this).next().length == 0) { - $(this).remove(); // 如果分隔线在最后一行,则删除之 - } - }); -} -//获取页面菜单栏所有的操作码权限 -function getAllOperCodeRights(operations) { - var rights = new Array(); - if( operations && operations.length > 0 ){ - var data = { - "operations" : operations - }; - var sendData = JSON.stringify(data); - var url=FrameConst.REST_CHECKRIGHT + "?data=" + sendData + "&tmpstamp=" + new Date().getTime(); - url=openoFrameWork.handlBaseURL(url); - $.ajax({ - "dataType" : 'json', - "type" : "GET", - "async" : false, - "url" : url, - "data" : null, - //"contentType" : 'application/json; charset=utf-8', - "success" : function (response) { - rights = response.value; - }, - "error" : function (XMLHttpRequest, textStatus, errorThrown) { - if (XMLHttpRequest.status == 401) { - window.location.replace("login.html"); - } else { - console.log('Communication Error!'); - } - } - }); - } - return { - opCodes : operations, - rights : rights - }; -}; -// 判断操作码是否有权限 -function hasRight(opCode, rightObj) { - for (var i = 0; i < rightObj.opCodes.length; i++) { - if (rightObj.opCodes[i] == opCode) { - return (rightObj.rights[i] == true); - } - } - return false; -}; -// 处理mysql环境下备份菜单的合并问题 -function dealMysqlBackupMenu() { - var dbType = openoFrameWork_conf.dbType; - if (dbType !== undefined && dbType !== "mysql") { - return; - } - var sidermenu = $("[class='page-sidebar-menu']"); - var hormenu = $(".hormenu"); - //这段代码先这么写,html的位置不一定正确,如果后面位置不一致,再修改。 - if (sidermenu.length > 0 && $('#uep-ict-backup-dataBackup').length > 0) { - $('#uep-ict-backup-dataBackup', sidermenu).attr("breadcrumGroupButtonSrc", ICTFRAME_CONST_DATABACKUP_PATH); - } - if (hormenu.length > 0 && $('#uep-ict-backup-dataBackup').length > 0) { - $('#uep-ict-backup-dataBackup', hormenu).attr("breadcrumGroupButtonSrc", ICTFRAME_CONST_DATABACKUP_PATH); - $('#uep-ict-backup-dataBackup').parent('li').attr('style', 'display:block'); - $('#uep-ict-backup-allDbStructBackup').parent('li').attr('style', 'display:none'); - $('#uep-ict-backup-baseDataBack').parent('li').attr('style', 'display:none'); - } -}; -// 浏览器缩小后导航栏隐藏的情况下点击navbar-toggle显示菜单的前置工作, -// 浏览器缩小后导航栏隐藏的情况下点击navbar-toggle显示菜单的前置工作, -function dealMavToggle(navtoggle) { - var sidermenu = $("#page-sidebar-menu"); - var hormenu = $("#main_hormenu"); - var panel = $(".zte-theme-panel"); - var siderbarpos = $(".nav-pos-direction", panel).val() - if ("hidden" == $(navtoggle).attr("navtoggledispattr")) { - $(navtoggle).attr("navtoggledispattr", "display"); - sidermenu.css('display','block');//侧边栏显示 - hormenu.css("display", "none");//隐藏水平菜单栏 - } else { - $(navtoggle).attr("navtoggledispattr", "hidden"); - sidermenu.css('display','none');//侧边栏隐藏 - hormenu.css("display", "none"); - } -}; +/* +主框架 +*/ +/*string类型的去前后空格和format方法*/ +String.prototype.trim = function() { + return this.replace(/(^\s*)|(\s*$)/g, ""); +}; +String.prototype.format=function() { + if(arguments.length==0) return this; + for(var s=this, i=0; i ul > li', panel).each(function () { + var color = $(this).attr("data-style"); + if (color == configColor) { + // 匹配上了才重设默认主题 + $(this).addClass("current"); + $('#style_color').attr("href", "css/themes/" + color + ".css"); + //if (store) { + store('style_color', color); + //} + } + }); +}; + +function setFrameWorkByConf() { + //设置用户相关的框架下拉菜单是否可用 + var helpMenuItem = openoFrameWork_conf.helpMenuItem; + var aboutMenuItem = openoFrameWork_conf.aboutMenuItem; + var flightMenuItem = openoFrameWork_conf.flightMenuItem; + var fullscreenMenuItem = openoFrameWork_conf.fullscreenMenuItem; + var logoutMenuItem = openoFrameWork_conf.logoutMenuItem; + var changePassMenuItem = openoFrameWork_conf.changePassMenuItem; + if (!helpMenuItem || helpMenuItem === "false") { + $('#uep_ict_help_url').parent('li').remove(); + } + if (!aboutMenuItem|| aboutMenuItem === "false") { + $('[data-target="#aboutDlg"]').parent('li').remove(); + } + if (!helpMenuItem && !aboutMenuItem) { + $('#uep_ict_help_div').remove(); + } + if (!flightMenuItem|| flightMenuItem === "false") { + $('#header_notification_bar').html("
          
    "); + } + if (!fullscreenMenuItem|| fullscreenMenuItem === "false") { + //$('#trigger_fullscreen').parent().css("display", "none"); + $('#trigger_fullscreen_div').html(""); + } + if (!logoutMenuItem || logoutMenuItem === "false") { + //$('#trigger_logout').parent().css("display", "none"); + $('#trigger_logout_div').html(""); + } + if ((!fullscreenMenuItem && !logoutMenuItem) || (fullscreenMenuItem === "false" && logoutMenuItem === "false")) { + $('#full_logout_divider').css("display", "none"); + } + if (!changePassMenuItem ) { + $('#changePwd_labellink').css('display','none'); + $('#full_logout_divider').css('display','none'); + } + + //设置二次开发者选择的框架皮肤 + var defaultColor = openoFrameWork_conf.defaultThemeColor; + var panel = $('.zte-theme-panel'); + $('ul > li', panel).removeClass("current"); + if (store && !store('style_color')) { // cookie没有才设置默认主题 + setThemeColor(defaultColor); + } else { + setThemeColor(store('style_color')); + } +}; + +/*新增的hashtabel实现类,用户后续iframe的缓存,前进后退时打开过的页面的菜单id的缓存等*/ +function Hashtable() +{ + this._hash = {}; + this._count = 0; + this.add = function(key, value) + { + if (this._hash.hasOwnProperty(key)) + return false; + else { + this._hash[key] = value; this._count++; return true; + } + } ; + this.hash = function() { return this._hash; }; + this.remove = function(key) { delete this._hash[key]; this._count--; } ; + this.count = function() { return this._count; }; + this.items = function(key) { if (this.contains(key)) return this._hash[key]; }; + this.contains = function(key) { return this._hash.hasOwnProperty(key); }; + this.clear = function() { this._hash = {}; this._count = 0; }; + this.replace = function(key, value) + { //有则删除后增加///相当于更新 + if(this.contains(key)){ + this.remove(key); + } + return this.add(key, value); + } ; +}; + +var fMenuSiderDivId = 'page-f-sidebar-menu'; +var fMenuMegaDivId = 'f_hormenu'; +var megaSiderDivId = 'page-megachild-sidebar-menu'; +var megaDivId = 'main_hormenu'; +var openoFrameWork_menu_horizontal = "horizontal"; +var openoFrameWork_menu_vertical = "vertical"; +var openoFrameWork_menu_fmenu = "fmenu"; +var openoFrameWork_showNav = "true"; +var openoFrameWork_smallView = 960;//原来为992,但是在投影仪上不准(投影仪设置为1024,但是实际尺寸比1024小),边栏菜单也会被移除,这个设置一个稍小的值。 + +/*下面是主框架的核心*/ +var openoFrameWork = function () { + var defaultLanage=getLanguage(); + var isRTL = false;//文档顺序 + var isTouch=function(){ + try { + document.createEvent("TouchEvent"); + return true; + } catch (e) { + return false; + } + }; + var isDesktop = !isTouch; + var isIE8 = false; + var isIE9 = false; + var isIE10 = false; + var gdocTitle=""; + var _sidebarWidth = 225; + var _sidebarCollapsedWidth = 35; + var responsiveHandlers = []; + var cachedIframes=new Hashtable(); + var cachedIframesObject=new Hashtable(); + var breadcrumbBtnMenus=new Hashtable(); + var _menuCategorys=new Hashtable(); + var _iframe="page-mainIframe"; //全局变量保存的是当前正在打开使用的iframe + var _sceneURLRootPath=""; + var _hashSource="";//信号量 + var _isClicked=false;//信号量 + //var _breadcrumbSource=false; + + // 皮肤颜色 + var layoutColorCodes = { + 'blue': '#4b8df8', + 'red': '#e02222', + 'green': '#35aa47', + 'purple': '#852b99', + 'grey': '#555555', + 'light-grey': '#fafafa', + 'yellow': '#ffb848', + 'ztebluelight': '#3366cc' + }; + // 获取真实的设备窗口大小,参考了 http://andylangton.co.uk/articles/javascript/get-viewport-size-javascript/ + var _getViewPort = function () { + var e = window, a = 'inner'; + if (!('innerWidth' in window)) { + a = 'client'; + e = document.documentElement || document.body; + } + return { + width: e[a + 'Width'], + height: e[a + 'Height'] + } + } + // 初始化 + var dealInit = function () { + var sence = '0'; + var menuSence = getUrlParam("menu"); + var confSence = 0; + if (menuSence) { + sence = menuSence; + } else { + sence = confSence; + } + switch (sence) { + case "1": + gdocTitle = $('#com_zte_ums_ict_framework_ui_page_title_1').text().trim(); + break; + case "2": + gdocTitle = $('#com_zte_ums_ict_framework_ui_page_title_2').text().trim(); + break; + case "3": + gdocTitle = $('#com_zte_ums_ict_framework_ui_page_title_3').text().trim(); + break; + case "0": + default: + gdocTitle = $('#com_zte_ums_ict_framework_ui_page_title').text().trim(); + break; + } + if ($('body').css('direction') === 'rtl') { + isRTL = true; + } + isIE8 = !! navigator.userAgent.match(/MSIE 8.0/); + isIE9 = !! navigator.userAgent.match(/MSIE 9.0/); + isIE10 = !! navigator.userAgent.match(/MSIE 10.0/); + if (isIE10) { + $('html').addClass('ie10'); // IE10 + } + if (isIE10 || isIE9 || isIE8) { + $('html').addClass('ie'); // IE10 + } + var deviceAgent = navigator.userAgent.toLowerCase(); + if (deviceAgent.match(/(iphone|ipod|ipad)/)) { + $(document).on('focus', 'input, textarea', function () { + $('.page-header').hide(); + if($('.page-footer')&&$('.page-footer').length>0) + $('.page-footer').hide(); + }); + $(document).on('blur', 'input, textarea', function () { + $('.page-header').show(); + if($('.page-footer')&&$('.page-footer').length>0) + $('.page-footer').show(); + }); + } else { + $(document).on('focus', 'input, textarea', function () { + if($('.page-footer')&&$('.page-footer').length>0) + $('.page-footer').hide(); + }); + $(document).on('blur', 'input, textarea', function () { + if($('.page-footer')&&$('.page-footer').length>0) + $('.page-footer').show(); + }); + } + } + //处理滚动到 + var dealScrollTo=function (el, offeset) { + + } + var dealstartPageLoading=function(message) { + $('.page-loading').remove(); + $('body').append('
      ' + (message ? message : $.i18n.prop('com_zte_ums_ict_framework_ui_loading')) + '
    '); + } + var dealstopPageLoading=function() { + $('.page-loading').remove(); + } + var dealSidebarState = function () { + // 窗体宽度小尺寸(平板和iphone模式下)时移出左边栏 + var viewport = _getViewPort(); + if (viewport.width < openoFrameWork_smallView) { + $('body').removeClass("page-sidebar-closed"); + }else{ + if (getCookie('sidebar_closed') === '1') { + $('body').addClass('page-sidebar-closed'); + } + } + } + // openoFrameWork.addResponsiveHandler()回调函数. + var runResponsiveHandlers = function () { + //重新初始化其他订阅的元素elements + for (var i = 0; i < responsiveHandlers.length; i++) { + var each = responsiveHandlers[i]; + each.call(); + } + } + // 窗体重新调整大小时初始化调整边栏状态高度 + var dealResponsive = function () { + dealSidebarState(); + ajustHorMenuDropDirection(); + dealSidebarAndContentHeight(); + dealFixedSidebar(); + runResponsiveHandlers(); + } + // 页面重载入时初始化调整内部布局 + var dealResponsiveOnInit = function () { + dealSidebarState(); + dealSidebarAndContentHeight(); + setTimeout(function () { + ajustHorMenuDropDirection(true); + }, 100); + } + // 窗体重新调整大小时初始化调整布局 + var dealResponsiveOnResize = function () { + var resize; + if (isIE8) { + var currheight; + $(window).resize(function () { + if (currheight == document.documentElement.clientHeight) { + return; + } + if (resize) { + clearTimeout(resize); + } + resize = setTimeout(function () { + dealResponsive(); + }, 50); + currheight = document.documentElement.clientHeight; + }); + } else { + $(window).resize(function () { + if (resize) { + clearTimeout(resize); + } + resize = setTimeout(function () { + dealResponsive(); + }, 50); + }); + } + } + var changeSiderBar = function(hideAllMenu){ + var siderbarpos = $(".nav-pos-direction", $(".zte-theme-panel")).val(); + var sidermenu = $("#page-sidebar-menu"); + var hormenu = $("#main_hormenu"); + var fhorMenu = $("#" + fMenuMegaDivId); + var fsiderMenu = $("#" + fMenuSiderDivId); + if(hideAllMenu){ + sidermenu.css('display','block');// 侧边栏显示 + hormenu.css("display", "none");//隐藏水平菜单栏 + fhorMenu.css('display','none'); + fsiderMenu.css('display','none'); + return; + } + + sidermenu.css('display','none'); + hormenu.css("display", "none"); + fhorMenu.css('display','block'); + fsiderMenu.css('display','block'); + //除了toggle按钮之外,是否还有其他儿子是要显示的,如果没有,那么竖菜单不显示;反之,显示。 + var lis = fsiderMenu.children(".sidebar-toggler-wrapper").siblings(); + if(lis.length > 0 && lis.css('display') != "none"){ + fsiderMenu.css('display','block'); + $("body").removeClass("page-full-width"); + if ($('body').hasClass("page-sidebar-closed")) { + $(".page-content").css("marginLeft", _sidebarCollapsedWidth); + } else { + $(".page-content").css("marginLeft", _sidebarWidth); + } + } + } + //根据当前菜单在屏幕的位置,和一级菜单下二级菜单的排列,来决定菜单是向左展开还是向右展开 + var ajustHorMenuDropDirection = function( isInit ){ + //获取屏幕宽度 + var bodyWidth = document.body.clientWidth; + //循环,获取每个一级菜单在屏幕中的位置 + var levelOneAdropdowns = $('a.dropdown-toggle', '#main_hormenu' ); + //每一个文字span的图标、他父亲的margin\padding等占用的位置 + var marginCount = 5 * 2 + 17.5 + 2 * 2 + 30 + 15 * 2 + 3; + for( var i = 0 ; i < levelOneAdropdowns.length ; i++ ){ + var a = $(levelOneAdropdowns[i]); + var leftOffset = a.offset().left; + //获取二级菜单的数量 + var ul = a.parent().children('.dropdown-menu'); + var groupDivs = $('.zteDivWidth' , ul); + var widthOfDropDownMenu = 0; + for(var j = 0 ; j < groupDivs.length && groupDivs.length >0 ; j++ ){//循环获取每个分组的宽度 + var eachDiv = groupDivs[j]; + var maxLengthText = ""; + var maxLength = 0; + var spans = $('span' , eachDiv).each(function(){ + var innerText = this.innerText; + if( innerText.length > maxLength ){ + maxLength= innerText.length; + maxLengthText = innerText; + } + }); + widthOfDropDownMenu = widthOfDropDownMenu + getStringWidth(maxLengthText , 14) + marginCount; + } + //预估每个组占宽度150PX,多预计一点 + if( widthOfDropDownMenu + leftOffset > bodyWidth ){ + console.log("ajust class dropdown-menu-right ,id = "+ a.attr("id") ); + ul.addClass('dropdown-menu-right'); + //var right = bodyWidth - (leftOffset + a.width() + 15); + //ul.attr('style' ,'right:' + right ); + }else{ + ul.removeClass('dropdown-menu-right'); + //ul.removeAttr('style'); + } + } + } + // 屏幕大小发生变化或者移动设备旋转屏幕时处理响应式布局. + var dealSidebarAndContentHeight = function (isToggler) { + var content = $('.page-content'); + var contentbody = $('.page-content-body'); + var sidebar = $('.page-sidebar'); + var body = $('body'); + var height; + var viewport = _getViewPort(); + var scrAvaHeight=Math.min(window.screen.availHeight,viewport.height)-5; + var footer=$('.footer'); + var pgbread=$('.page-breadcrumb'); + var pageableDiv=$('#pageableDiv'); + console.log("pageableDiv height:"+pageableDiv.outerHeight(true)); + var pheader=$('.header'); + var childPagetype=!!cachedIframesObject.items(_iframe)?cachedIframesObject.items(_iframe).childpageType:""; + if(childPagetype==="isc")//smartclient的子页面固定高度为视口可用内容区高度 + { + $('.sidebar-option', panel).val("fixed"); + } + dealShownav(); + var available_height =scrAvaHeight - ((!footer||footer.length<=0)?0:footer.outerHeight(true)) - pheader.outerHeight(true); + var _pageableDivHeight=(!pageableDiv||pageableDiv.length<=0||pageableDiv.is(":visible")==false)?0:pageableDiv.outerHeight(true); + var h= scrAvaHeight-pheader.outerHeight(true)-((!footer||footer.length<=0||footer.is(":visible")==false)?0:footer.outerHeight(true))-pgbread.outerHeight(true)-_pageableDivHeight-(contentbody.outerHeight(true)-contentbody.height()); + var miframe=_iframe==""?"page-mainIframe": _iframe; + var pagemyIframe=$('.page-content .page-content-body .'+miframe); //.page-mainIframe + if(pagemyIframe&&pagemyIframe.length>0){ + //处理iframe,下面计算中间iframe的高度 + var deviceAgent = navigator.userAgent.toLowerCase(); + if (deviceAgent.match(/(iphone|ipod|ipad)/)) { //||viewport.height<=480 + var w=viewport.width-content.offset().left-(pagemyIframe.offset().left-content.offset().left)*2;//宽度=总宽度-左边栏宽度-内容区内边距。左右两个 + pagemyIframe.width(w); + } + //对桌面必须计算高度 + var tmp_style = sidebar.attr('style');// firefox下执行 sidebar.height()会改变style样式,这里缓存下执行前的style样式,执行完后重新赋给页面元素 + console.log("pym:parent iframe "+miframe+" sidebar.height:"+sidebar.height()+" h:"+h); + h=sidebar.height()>h?sidebar.height():h; + //IE下,把iframe的高度再减掉7,因为IE10及以下版本,计算的高度会比IE实际显示区域大,导致出现IE滚动条。 + /*h=h-ICTFRAME_CONST_IFRAME_HEIGHT_AJUST; + if(isIE){ + h=h-ICTFRAME_CONST_IFRAME_HEIGHT_AJUST_IE; + }*/ + sidebar.attr('style',tmp_style); + if (isDesktop) { + //pagemyIframe.attr("height",h); + if(cachedIframesObject.items(miframe).setMinHeight){ + var minHeight=Math.min(scrAvaHeight,h); + console.log("pym:parent iframe "+miframe+" window.screen.availHeight:"+scrAvaHeight+" viewport.height:"+viewport.height+" h:"+h+" minHeight:"+minHeight); + cachedIframesObject.items(miframe).setMinHeight(minHeight); + } + }else{ + //pagemyIframe.attr("height","100%");//去掉这里错误的设置,ipad上测试高度不正确 + var _h=h; + try{ + _h=pagemyIframe.contents().height(); + }catch(e){} + h=_h>h?_h:h; + if(cachedIframesObject.items(miframe).setMinHeight){ + var minHeight=Math.min(scrAvaHeight,h); + console.log("pym:parent iframe "+miframe+" window.screen.availHeight:"+scrAvaHeight+" viewport.height:"+viewport.height+" h:"+h+" minHeight:"+minHeight); + cachedIframesObject.items(miframe).setMinHeight(minHeight); + } + } + } + + if (body.hasClass("page-footer-fixed") === true && body.hasClass("page-sidebar-fixed") === true) { + if (content.height() < available_height) { + //content.attr('style', 'min-height:' + available_height + 'px !important'); + dealAddStyle(content,'min-height',available_height + 'px',true); + } + } else{ + if (body.hasClass("page-footer-fixed") === true && body.hasClass("page-sidebar-fixed") === false) { + if (content.height() < available_height) { + //content.attr('style', 'min-height:' + available_height + 'px !important'); + dealAddStyle(content,'min-height',available_height + 'px',true); + } + } else { + if (body.hasClass('page-sidebar-fixed')) { + height = _calculateFixedSidebarViewportHeight(); + } else { + // firefox下执行 sidebar.height()会改变style样式,这里缓存下执行前的style样式,执行完后重新赋给页面元素 + var tmp_style = sidebar.attr('style'); + // height = sidebar.height() + 20; + sidebar.attr('style',tmp_style); + var headerHeight = pheader.outerHeight(true); + var footerHeight = (!footer||footer.length<=0)?0:footer.outerHeight(true); + if ($(window).width() > 1024 && (height + headerHeight + footerHeight) < scrAvaHeight) { + height = scrAvaHeight - headerHeight - footerHeight; + } + } + if (height <= content.height()) {//这里为了避免内容区域很小的时候出现内容区域无法充满屏幕,把min-height修改为height + //content.attr('style', 'min-height:' + height + 'px !important'); + dealAddStyle(content,'min-height',height + 'px',true); + } + } + } + // 屏幕小尺寸时会隐藏边栏,这时菜单由小屏幕右上图标控制,当屏幕变化到大尺寸屏幕时, + // 需要按原菜单出现方式恢复菜单显示。 + var screenwidth = $(window).width(); + if(screenwidth >= openoFrameWork_smallView){ + changeSiderBar(); + if($(".page-sidebar-menu li").css('display') != "none"){ + if ($('body').hasClass("page-sidebar-closed") && $(".sidebar-toggler").hasClass("close-by-viewportChange")) { + if( !isToggler ){ + $(".sidebar-toggler")[1].click(); + } + $(".sidebar-toggler").removeClass("close-by-viewportChange"); + } + } + } + else { + changeSiderBar(true); + } + } + var showIframe=function(iframe){ + var resize,pagemainIframe; + if (cachedIframes.count()>0) { + for (var i in cachedIframes.hash()) { + cachedIframes.replace(i,0); + var pagemyIframe=$('.page-content .page-content-body .'+i); + if(pagemyIframe&&pagemyIframe.length>0){ + if(iframe==i){ + pagemyIframe.show(); + cachedIframes.replace(i,1); + } else{ + if("page-mainIframe"===i){//2015年12月10日 wimax要求页面切换后删除没有配置cacheNum的缓存页面 + pagemainIframe=i; + pagemyIframe.attr("src",""); + pagemyIframe.remove(); + }else{ + pagemyIframe.hide(); + } + cachedIframes.replace(i,0); + } + } + } + } + if(pagemainIframe){ + delete cachedIframes._hash[pagemainIframe]; + delete cachedIframesObject._hash[pagemainIframe]; + } + if (!cachedIframes.contains(iframe)) { + cachedIframes.add(iframe,1); + //增加的iframe加载完毕后 停止加载中提示信息 + myIframe=$('.'+iframe); + myIframe.show(); + myIframe.load(function(){ + /*if (!isDesktop) { + if (resize) { + clearInterval(resize); + } + resize = setInterval(dealIframeHeight, 400,$(this)); + }*/ + openoFrameWork.stopPageLoading(); + }); + } + } + var hidemenu=function(){ + $('.hor-menu').hide(); + dealAddStyle($('.page-content'),'margin-left','0px',true); + dealAddStyle($('.page-sidebar'),'display','none',true); + var fsiderMenu = $("#" + fMenuSiderDivId); + fsiderMenu.children().css('display' , 'none'); + } + var hideAlarmLight=function(){ + //$('#header_notification_bar').hide(); + //$('#header_notification_bar').empty(); + $('#header_notification_bar').html("
          
    "); + } + var dealShownav=function(){ + var showNav=openoFrameWork.getLocationURLParameter('showNav'); + if( showNav=="false"){ + openoFrameWork_showNav = showNav; + hidemenu(); + hideAlarmLight(); + } + } + /* 点击菜单时,处理对应该菜单项的横,左菜单项 */ + var dealRelateMenu = function(source) { + // 点击子菜单时,对应的横竖菜单项也联动为选择样式,(高亮,箭头变化) + var panel = $('.zte-theme-panel'); + var navPosOption = $('.nav-pos-direction', panel).val(); + var targetsource = null; + var targetContainer = null; + if (navPosOption === "vertical") { + // 当前是左菜单,则处理对应的横菜单 + targetsource = $("#"+source.attr("id"), $("#main_hormenu")); + targetContainer = $(".header ul"); + } else if (navPosOption === "horizontal") { + var rtn = dealMgaBarRelated(source); + dealFMenuRelated(source , megaSiderDivId); + targetContainer = rtn[0]; + targetsource = rtn[1]; + }else if(navPosOption === openoFrameWork_menu_fmenu){ + dealFMenuRelated(source , fMenuSiderDivId); + } + if (targetContainer) { + // 移除原有菜单项的活动及箭头样式 + targetContainer.children('li.active').removeClass('active'); + targetContainer.find('.arrow.open').removeClass('open'); + } + if (targetsource) { + // 增加活动及箭头样式 + targetsource.parents('li').each(function () { + $(this).addClass('iframe active'); + $(this).find('a > span.arrow').addClass('open'); + }); + targetsource.parents('li').addClass('active'); + if (navPosOption === "horizontal") { + if (targetsource.parent().parent().parent().is("li")) { + $('.arrow', targetsource.parent().parent().parent()).addClass("open"); + } + } + } + } + var dealMgaBarRelated = function(source){ + // 当前是横菜单,则处理对应的左菜单 + targetsource = $("#"+source.attr("id"), $("[class='page-sidebar-menu']")); + targetContainer = $("#page-sidebar-menu ul"); + // 将先前左菜单展开的子菜单收缩 + $("li.open",targetContainer).each(function() { + var style = $("ul.sub-menu", this).attr("style"); + if (style) { + $("ul.sub-menu", this).removeAttr("style"); + $(this).removeClass('open'); + } + }); + // 当前是横菜单,但在屏幕缩小的情况下显示的是tip垂直菜单,而横菜单是隐藏的,所以需额外处理横菜单 + if (source.parent().parent().parent().parent().attr("class").indexOf("page-sidebar-menu") >= 0) { + var tiptargetsource = $("#"+source.attr("id"), $("#main_hormenu")); + var tiptargetContainer = $(".header ul"); + tiptargetContainer.children('li.active').removeClass('active'); + tiptargetContainer.find('.arrow.open').removeClass('open'); + tiptargetsource.parents('li').each(function () { + $(this).addClass('iframe active'); + $(this).find('a > span.arrow').addClass('open'); + }); + tiptargetsource.parents('li').addClass('active'); + } + return [targetContainer ,targetsource ]; + } + var dealFMenuRelated = function(source , siderDivId ){ + var fsiderMenu = $("#" + siderDivId); + if(isMoreMenuItemClick){//更多菜单点击 , 临时方案,增加信号量,使用之后就置为false + isMoreMenuItemClick = false + }else if($(source).parents('li').hasClass('mega-menu-dropdown')){//F的横向菜单的点击 + var id = source.attr('id'); + //非被点击的一级菜单的二级菜单都不显示 + $('#' + siderDivId + '>li').hide(); + var level2Lis = $("a[hparentid= " + id + "]" , fsiderMenu).parent(); + level2Lis.show(); + if(level2Lis.length > 0){//把竖向菜单的收起放大按钮显示出来 + $('#' + siderDivId + '>li.sidebar-toggler-wrapper').show(); + } + if($("a[hparentid= " + id + "]" , fsiderMenu).length > 0){ //有子孙菜单时,把F菜单的竖菜单显示出来 + dealFSidermenu(source ,siderDivId ); + }else{//否则隐藏竖菜单 + fsiderMenu.css('display','none'); + $("body").addClass("page-full-width"); + $(".page-content").css("marginLeft", _sidebarWidth); + } + + }else{//F菜单的竖向菜单点击 + //处理一种特殊情况,告警灯打开新页面,所有的菜单都不出现,因此,虽然这个source在竖菜单,但竖菜单这个时候实际上是没有显示的 + if( openoFrameWork_showNav == "true") { + $('#' + siderDivId + '>li').hide(); + var lis = $(source).parents('li'); + var id = lis.eq(lis.length-1).children( 'a' ).attr('hparentid'); + //var id = $(source).parents('li').children('a').attr('hparentId'); + var level2Lis = $("a[hparentid=" + id + "]" , fsiderMenu).parent(); + level2Lis.show(); + if(level2Lis.length > 0) {//把竖向菜单的收起放大按钮显示出来 + $('#'+ siderDivId + '>li.sidebar-toggler-wrapper').show(); + } + //$('#' + siderDivId + '>li')[0].show(); + dealFSidermenu(source , siderDivId); + } + } + } + var dealFSidermenu = function(source , siderDivId){ + var fsiderMenu = $("#" + siderDivId); + fsiderMenu.css('display','block'); + $('ul.sub-menu',fsiderMenu).css('display','block'); + $('.arrow',fsiderMenu).addClass('open'); + $("body").removeClass("page-full-width"); + if ($('body').hasClass("page-sidebar-closed")) { + $(".page-content").css("marginLeft", _sidebarCollapsedWidth); + } else { + $(".page-content").css("marginLeft", _sidebarWidth); + } + var href = source.attr("href"); + $('li.iframe' ,fsiderMenu ).removeClass('active'); + var selectedIframeLi = $("a[href ='" + href + "']" ,fsiderMenu ).parent(); + selectedIframeLi.addClass('active'); + selectedIframeLi.parent().parent().addClass("open").addClass("active"); + selectedIframeLi.parent().css('display','block'); + selectedIframeLi.parent().parent().children('a').children('.arrow').addClass('open'); + } + var dealMenuItemClick=function(source,e,menuContainerStr){ + var url = source.attr("href"); + if(!url||url.length<2) + return; + e.preventDefault(); + if(!_isClicked){//导航情况下,首先要模拟点开菜单分组 + _isClicked=true;//如果菜单有子菜单点击一次来展开子菜单,注意这个信号量的变化,避免死循环 + var mainMenu=source.parents('li').last(); + if(!mainMenu.hasClass('open')){ + dealLiAClick(mainMenu.children('a:eq(0)')); + } + } + if(menuContainerStr&&menuContainerStr.length>0){ + var menuContainer = $('.'+menuContainerStr+' ul'); + + menuContainer.children('li.active').removeClass('active'); + // menuContainer.children('arrow.open').removeClass('open'); + //menuContainer.find('.arrow.open').addClass('open'); + } + source.parents('li').each(function () { + $(this).addClass('iframe active'); + $(this).children('a > span.arrow').addClass('open'); + }); + source.parents('li').addClass('active'); + // 处理点击菜单对应的横或左菜单项的选择样式 + dealRelateMenu(source); + if(menuContainerStr&&menuContainerStr.length>0){ + if ($(window).width() <= 991 && $('.'+menuContainerStr).hasClass("in")) { + $('.navbar-toggle').click(); + } + } + if(dealMultTabPage(source)) + return true; + dealScrollTo(); + var breadmenuID=e.data&&e.data.breadcrumbBtnMenuItem&&e.data.breadcrumbBtnMenuItem.length>0?e.data.breadcrumbBtnMenuItem:""; + if(breadmenuID.length>0){//面包削导航来的,只需要重新生成面包削即可 + //找到更多菜单按钮 + var moreMenuItem = $('#' + breadmenuID , $('#pageableDiv')); + if( moreMenuItem.length == 0 ){ + moreMenuItem = $('#' + breadmenuID , $('.more-botton-zone')); + } + dealBreadcrumbBtnMenuItemClick(moreMenuItem,e); + //dealBreadcrumb(source,false,e); + }else{//非面包削导航来的, + dealstartPageLoading(); + if(dealIframe(source,e))//当返回true时说明是正常加载iframe了,否则面包削不能切换 + dealBreadcrumb(source,false,e); + } + //dealShownav(); + }; + var dealMenuItemGetFocus=function(source,e,menuContainerStr){ + var url = source.attr("href"); + if(!url||url.length<2) + return; + e.preventDefault(); + if(!_isClicked){//导航情况下,首先要模拟点开菜单分组 + _isClicked=true;//如果菜单有子菜单点击一次来展开子菜单,注意这个信号量的变化,避免死循环 + var mainMenu=source.parents('li').last(); + dealLiAClick(mainMenu.children('a:eq(0)')); + } + if(menuContainerStr&&menuContainerStr.length>0){ + var menuContainer = $('.'+menuContainerStr+' ul'); + + menuContainer.children('li.active').removeClass('active'); + menuContainer.children('arrow.open').removeClass('open'); + } + source.parents('li').each(function () { + $(this).addClass('iframe active'); + $(this).children('a > span.arrow').addClass('open'); + }); + source.parents('li').addClass('active'); + + if(menuContainerStr&&menuContainerStr.length>0){ + if ($(window).width() <= 991 && $('.'+menuContainerStr).hasClass("in")) { + $('.navbar-toggle').click(); + } + } + }; + //处理iframe的核心处理类,逻辑较为复杂,注意各种参数的处理 + var dealIframe=function(aObject,e){ + _hashSource=""; + var url = aObject.attr("href"); + if(!url||url.length<2) + return; + url=openoFrameWork.handlBaseURL(url); + //-----------2015年9月21日新增V5中大O需要的按照实例(根据选择的系统实例变化url的ip和端口地址)进行动态切换菜单的功能 + var category= aObject.attr("category");//处理菜单中定义的Category属性 + if(category&&category.length>0){//处理Category属性 + var newIpPort=_menuCategorys.items(category); + if(newIpPort&&newIpPort.ipPort&&newIpPort.ipPort.trim()!=""){//如果找到了 + var newIpPortstr=openoFrameWork.getDomainURL(newIpPort.ipPort);//去掉ip和port后多余的部分 + var urlipport=openoFrameWork.getDomainURL(url); + console.log("old url:"+url); + url=newIpPortstr+url.replace(urlipport,""); + console.log("newIpPort:"+newIpPortstr+" newURL:"+url); + } + } + //------------ + dealstartPageLoading(); + var cacheNum= aObject.attr("cacheNum");//当第三方应用需要框架缓存曾经打开过的页面时使用。 + var shiftJS= aObject.attr("shiftJS");//当第三方应用不需要后面的href页面进行重新加载仅仅执行某个脚本打开某个功能时使用 + var _iframeName= aObject.attr("iframeName");//对有些第三方应用设置了顶层frame名字的,这个必须设置 + var _iframeAutoScroll= aObject.attr("iframeAutoScroll");//设置iframe的滚动条是否出现,可以设置为auto,yes或者no,默认为no 不出现. + _iframeAutoScroll=!!_iframeAutoScroll?(_iframeAutoScroll==='yes'?'yes':_iframeAutoScroll==='auto'?'auto':'no'):'no'; + _xdomain= aObject.attr("xdomain");//对有些第三方应用如果跨域了,需要设置这个信任域属性,以便于来跨域通讯.这里取值是一个正则表达式 + _xdomain=_xdomain&&_xdomain.length>0?_xdomain:"*"; + var _cssfile= aObject.attr("cssSrc");//设置iframe中页面需要动态加载的css文件. + _cssfile=(_cssfile&&_cssfile.length>0)?_cssfile:""; + var _runShiftJS=""; + var pageContentBody=$('.page-content .page-content-body'); + var tabHtml=""; + var tabContentHtml=""; + var tabID=""; + var tabContentID=""; + var iframename=''; + function createIframe(pdiv,url,id,name,clsname,xdom,autoScroll){ + var pymParent = new pym.Parent(pdiv, url, {xdomain:xdom}); + pymParent.iframe.id=id; + pymParent.iframe.name=name; + //pymParent.iframe.setAttribute('display', "none"); + //pymParent.iframe.style.height="100%"; + //pymParent.iframe.setAttribute('height', "100%"); + pymParent.iframe.setAttribute('class', clsname); + pymParent.iframe.setAttribute('allowfullscreen',''); + pymParent.iframe.setAttribute('mozallowfullscreen',''); + pymParent.iframe.setAttribute('oallowfullscreen',''); + pymParent.iframe.setAttribute('msallowfullscreen',''); + pymParent.iframe.setAttribute('webkitallowfullscreen',''); + //pymParent.iframe.setAttribute('scrolling',autoScroll); + pymParent.iframe.setAttribute('onload', 'openoFrameWork.SyncCSS(this,0,"'+_cssfile+'");openoFrameWork.stopPageLoading();'); + cachedIframesObject.replace(id,pymParent);//缓存iframe对象实体 + pymParent.onMessage('height', function(he){ + console.log("The frame "+id+" receive message height is "+he); + var pagemyIframe=$('.page-content .page-content-body .'+id); + var h=Math.max(this.minHeight,he); + pagemyIframe.height(h); + }); + return pymParent; + }; + + if(cacheNum){//处理缓存iframe和iframename标签 + cacheNum="page-mainIframe"+cacheNum; + iframename="fraMain"+cacheNum; + }else{ + cacheNum="page-mainIframe"; + iframename="fraMain"; + } + iframename=!!_iframeName?_iframeName:iframename; + _iframe= cacheNum;//注意这里_iframe是一个全局变量 + + var miframe=_iframe==""?"page-mainIframe": _iframe; + var pagemyIframe=$('.page-content .page-content-body .'+miframe); + var nagivJS=e&&e.data&&e.data.action?e.data.action:""; + nagivJS=(!!nagivJS&&nagivJS.length>0)?(nagivJS.trim().toLowerCase()=="null"?nagivJS:"javascript:$('.page-content .page-content-body ."+miframe+"')[0].contentWindow."+nagivJS.trim()+";"):""; + nagivJS=nagivJS.trim(); + + _runShiftJS=(!!shiftJS&&shiftJS.length>0)?(shiftJS.trim().toLowerCase()=="null"?shiftJS:"javascript:$('.page-content .page-content-body ."+miframe+"')[0].contentWindow."+shiftJS+";"):""; + if(pagemyIframe&&pagemyIframe.length>0){//如果iframe已经添加了,则直接更改url或者执行切换或导航函数 + var src=pagemyIframe.attr("src"); + if((!!shiftJS||nagivJS.length>0)&&(src==url||src.split('?')[0]==url.split('?')[0])&& cacheNum!="page-mainIframe") { //url相同时,处理缓存shiftJS标签 + //这里shiftJS必须定义iframe中的页面定义到window上的函数; + //pagemyIframe.attr("scrolling",_iframeAutoScroll); + cachedIframesObject.items(miframe).settings.xdomain=_xdomain; + if(nagivJS.length>0&&nagivJS.toLowerCase()!="null") + _runShiftJS=nagivJS;//如果是nagivJS导航过来的,nagivJS优先级高于shiftJS,如果有nagivJS就用nagivJS替换_runShiftJS; 直接执行一次导航切换 + try{ + if(_runShiftJS.trim().toLowerCase()!="null") + eval(_runShiftJS); + }catch(e){ + if (e instanceof EvalError) { + console.log(e.name + " EvalError: " + e.message); + } else if (e instanceof SyntaxError) { + console.log(e.name + " SyntaxError: " + e.message); + }else if (e instanceof Error) { + if(e.name.toLowerCase().trim()=="typeerror") + { + //console.log($.i18n.prop('com_zte_ums_ict_framework_ui_clickTooFast')); + var parm={runShiftJS:_runShiftJS}; + pagemyIframe.one('load',parm,function(e){ + var runShiftJS=e&&e.data&&e.data.runShiftJS?e.data.runShiftJS:""; + if(runShiftJS.length>0&&runShiftJS.toLowerCase()!="null") + eval(runShiftJS);//点击太快了,页面没有加载完毕,那就加载完毕了再次执行 + }) + } + } + return false;//返回false 后续不再做其他动作了 + } + finally{ + openoFrameWork.stopPageLoading(); + } + }else{//否则url不同,或者url相同但没有shiftjs + if(nagivJS.length>0&&nagivJS.toLowerCase()!="null"){//如果是代码导航过来的去掉url参数中的默认action动作 + url=url.split('?')[0];//去掉?参数,防止默认执行动作,只响应nagivJS指定的动作; + } + if(src.split('#')[0]!=url.split('#')[0])//如果相等说明是通过锚点导航的,真实url没有变化,对SPA应用比较普遍 + { + pagemyIframe.attr("src","");//url和src不同说明更换了页面,需要清空重新加载 + }else //if (src.trim()==url.trim()) //没有shiftjs并且url相同,说明不需要再次加载了,已经加载过了 + { + openoFrameWork.stopPageLoading(); + } + pagemyIframe.attr("src",url); + + if(nagivJS.length>0&&nagivJS.toLowerCase()!="null"){//如果是nagivJS导航过来的,iframe加载完毕后执行一次导航切换脚本 + var parm={nagivJS:nagivJS}; + pagemyIframe.one('load',parm,function(e){ + var nagivJS=e&&e.data&&e.data.nagivJS?e.data.nagivJS:""; + if(nagivJS.length>0&&nagivJS.toLowerCase()!="null") + eval(nagivJS);//如果没有加载过,加载后也要执行跳转的函数 + }); + } + if(_cssfile.length>0&&_cssfile.toLowerCase()!="null"){//如果配置了cssSrc,每次切换都重新执行一边这个css文件,防止有遗漏 + parm={syncCSSJS:'openoFrameWork.SyncCSS(this,10,"'+_cssfile+'");openoFrameWork.stopPageLoading();'}; + pagemyIframe.one('load',parm,function(e){ + var syncCSSJS=e&&e.data&&e.data.syncCSSJS?e.data.syncCSSJS:""; + if(syncCSSJS.length>0&&syncCSSJS.toLowerCase()!="null") + eval(syncCSSJS); + }); + } + } + + }else{//否则添加新的iframe元素 overflow:visible; + if(nagivJS.length>0&&nagivJS.toLowerCase()!="null"){//如果是代码导航过来的去掉url参数中的默认action动作 + url=url.split('?')[0];//去掉?参数,防止默认执行动作,只响应nagivJS指定的动作; + } + var pdiv="pdiv_"+miframe; + if($("#"+pdiv).length<=0){//检查下,如果该div没有添加过就添加 + pageContentBody.append("
    "); + } + dealstartPageLoading(); + pymParent=createIframe(pdiv, url,miframe,miframe,miframe,_xdomain,_iframeAutoScroll); + pagemyIframe=$(pymParent.iframe); + + if(nagivJS.length>0&&nagivJS.toLowerCase()!="null"){//如果是nagivJS导航过来的,iframe加载完毕后执行一次导航切换 + var parm={nagivJS:nagivJS}; + pagemyIframe=$('.page-content .page-content-body .'+miframe); + if(pagemyIframe&&pagemyIframe.length>0){ + pagemyIframe.one('load',parm,function(e){ + var nagivJS=e&&e.data&&e.data.nagivJS?e.data.nagivJS:""; + if(nagivJS.length>0&&nagivJS.toLowerCase()!="null") + eval(nagivJS);//如果没有加载过,加载后也要执行跳转的函数 + }) + } + } + + } + showIframe(miframe); + openoFrameWork.fixContentHeight(); // 调整高度 + return true; + } + // 处理边栏菜单 + var dealLiAClick=function(source){ + if (source.next().hasClass('sub-menu') == false) { + if ($('.btn-navbar').hasClass('collapsed') == false) { + $('.btn-navbar').click(); + } + return; + } + + if (source.next().hasClass('sub-menu always-open')) { + return; + } + var parent = source.parent().parent(); + var the = source; + var menu = $('.page-sidebar-menu'); + var sub = source.next(); + var autoScroll = menu.data("auto-scroll") ? menu.data("auto-scroll") : true; + var slideSpeed = menu.data("slide-speed") ? parseInt(menu.data("slide-speed")) : 200; + parent.children('li.open').children('a').children('.arrow').removeClass('open'); + parent.children('li.open').children('.sub-menu:not(.always-open)').slideUp(200); + parent.children('li.open').removeClass('open'); + var slideOffeset = -200; + if (sub.is(":visible")) { + $('.arrow', source).removeClass("open"); + source.parent().removeClass("open"); + sub.slideUp(slideSpeed, function () { + if (autoScroll == true && $('body').hasClass('page-sidebar-closed') == false) { + if ($('body').hasClass('page-sidebar-fixed')) { + + } else { + dealScrollTo(the, slideOffeset); + } + } + dealSidebarAndContentHeight(); + }); + } else { + $('.arrow', source).addClass("open"); + source.parent().addClass("open"); + sub.slideDown(slideSpeed, function () { + if (autoScroll == true && $('body').hasClass('page-sidebar-closed') == false) { + if ($('body').hasClass('page-sidebar-fixed')) { + dealScrollTo(the, slideOffeset); + } + } + dealSidebarAndContentHeight(); + }); + } + } + var dealSidebarMenu = function () {//这里注册和处理边栏菜单的各类点击事件 + $('.page-sidebar').on('click', 'li > a', function (e) { + if ($(this).next().hasClass('sub-menu') == false) { + if ($('.btn-navbar').hasClass('collapsed') == false) { + $('.btn-navbar').click(); + } + return; + } + if ($(this).next().hasClass('sub-menu always-open')) { + return; + } + dealLiAClick($(this)); + e.preventDefault(); + }); + + // 处理左边导航中的菜单连接,显示在iframe中 + $('.page-sidebar').on('click', ' li > a.iframe', function (e) { + //dealMenuItemClick($(this),e,"page-sidebar") + e.preventDefault(); + var menuItemID=$(this).attr("id"); + if(!!menuItemID&&menuItemID.length>0){ + _setLocationHash(menuItemID); + _hashSource="dhByInterface"; + }//else{ + _isClicked=true; + dealMenuItemClick($(this),e,"page-sidebar"); + //} + }); + // 处理更多菜单的菜单连接,显示在iframe中dropdown-menu + $('.page-breadcrumb').on('click', ' li > a.iframe', function (e) { + var url = $(this).attr("href"); + if(url.length<2) + return; + e.preventDefault(); + dealBreadcrumbBtnMenuItemClick($(this),e); + }); + // 处理可翻页更多菜单中的菜单连接,显示在iframe中dropdown-menu + $('#pageableDiv').on('click', ' div > a.iframe', function (e) { + var url = $(this).attr("href"); + if(url.length<2) + return; + e.preventDefault(); + dealBreadcrumbBtnMenuItemClick($(this),e); + }); + // 处理可翻页更多菜单中的菜单连接,显示在iframe中dropdown-menu + $('#pageableDiv').on('click', ' li > a.iframe', function (e) { + var url = $(this).attr("href"); + if(url.length<2) + return; + e.preventDefault(); + if(e.target){ + var tg=$("span",e.target); + tg=tg.length>0?tg[0]:e.target; + $(".open a>div>span",e.target.parentNode.parentNode.parentNode.parentNode.parentNode).replaceWith(tg.outerHTML); + } + dealBreadcrumbBtnMenuItemClick($(this),e); + }); + + // 处理header下拉菜单中的菜单连接,显示在iframe中 + $('.dropdown').on('click', ' li > a.iframe', function (e) { + var url = $(this).attr("href"); + if(url.length<2) + return; + e.preventDefault(); + dealScrollTo(); + dealstartPageLoading(); + + dealIframe($(this),e) + dealBreadcrumb($(this),false,e); + }); + } + var getSceneURL=function(url){ + if(url&&url.trim().length>0){ + url=url.trim(); + //url= + _sceneURLRootPath=_sceneURLRootPath+url; + } + } + var gurl="";//临时全局变量,存储当前加载的more菜单,如果加载过了,就不再加载了。下面的方法中会用到 + var moreMenusisLoaded=true; + var waittime=null; + var getBreadcrumbRightButtons=function(url,e){ + if (url.length<2){ + return; + } + url=openoFrameWork.handlBaseURL(url); + if (gurl==url){ + if(e===true){ + $('#pageableDiv').show(); + }else if(e&&e.target&&e.currentTarget){ + var defaultDisplay=$(e.target).attr("defaultDisplay"); + defaultDisplay=(!defaultDisplay)?$(e.currentTarget).attr("defaultDisplay"):defaultDisplay; + if(defaultDisplay&&defaultDisplay.trim()=="false"){ + $('#pageableDiv').hide(); + }else{ + $('#pageableDiv').show(); + } + } + return; + + }else{ + gurl=url; + clearMoreOperations(); + } + //处理e参数,注意e可能为null + var breadmenuID=e&&e.data&&e.data.breadcrumbBtnMenuItem&&e.data.breadcrumbBtnMenuItem.length>0?e.data.breadcrumbBtnMenuItem:""; + breadmenuID=breadmenuID.length<=0?(e&&e.breadcrumbBtnMenuItem&&e.breadcrumbBtnMenuItem.length>0?e.breadcrumbBtnMenuItem:""):breadmenuID; + moreMenusisLoaded=false; + $.ajax({ + type: "GET", + cache: false, + url: url, + dataType: "html", + success: function (res) { + try{ + //$('.page-breadcrumb').append(res); + var resScriptsSriped = stripHtmlScripts(res); + //$('.page-breadcrumb').append(resScriptsSriped); + $('.more-botton-zone').children().remove(); + //V5新增逻辑,如果displayType = pageableDiv,那么就用滑动的DIV来显示更多菜单里面的内容,如果没有配置,或为其他值,就按原有方式显示 + var tempDiv = $('
    '); + tempDiv.children().remove(); + tempDiv.append(resScriptsSriped); + + //获取UL属性 + var displayType = $('.dropdown-menu',tempDiv).attr('displayType'); + if( displayType && displayType != 'pageableDiv'){ + $('.more-botton-zone').append(resScriptsSriped); + $('#pageableDiv').hide(); + }else{ + var tempUl = $('.dropdown-menu',tempDiv); + if(tempUl.length>0){ + moreOperations(tempUl[0]); + if(e&&e.target&&e.currentTarget){ + var defaultDisplay=$(e.target).attr("defaultDisplay"); + defaultDisplay=(!defaultDisplay)?$(e.currentTarget).attr("defaultDisplay"):defaultDisplay; + if(defaultDisplay&&defaultDisplay.trim()=="false"){ + $('#pageableDiv').hide(); + }else{ + $('#pageableDiv').show(); + } + } + } + } + runHtmlScripts(res); + }catch(ex){ + }finally{ + moreMenusisLoaded=true; + } + groupButtonAuthentication(); + if(breadmenuID.length>0){//面包削导航来的,只需要重新生成面包削即可 + var menuitem=undefined; + var panel = $('.zte-theme-panel'); + var navPosOption = $('.nav-pos-direction', panel).val(); + //var items=$("a[id='"+breadmenuID+"']"); + var items = undefined; + if (navPosOption === "vertical"){ //从垂直菜单里面找 + items=$("#page-sidebar-menu a[id='"+breadmenuID+"']"); + + }else{//从水平菜单里面找 + items=$(".hor-menu a[id='"+breadmenuID+"']"); + } + if (!items || items.length < 1) { + items=$(".page-content a[id='"+breadmenuID+"']"); + } + if(items.length>0){ + for(var i=0;i0) + dealBreadcrumbBtnMenuItemClick(menuitem,e); + } + }, + error: function (xhr, ajaxOptions, thrownError) {//加载操作菜单失败!com_zte_ums_ict_framework_ui_loadmenuerror + $('.page-breadcrumb').append('

    '+$.i18n.prop('com_zte_ums_ict_framework_ui_loadmenuerror')+'

    '); + moreMenusisLoaded=true; + } + }); + } + + //处理多tab也场景 ----redirect 该标签暂时保留,不建议使用了 + dealMultTabPage=function(clickedObject){ + var url = clickedObject.attr("href"); + if(!url||url.length<2) + return; + var redirect=clickedObject.attr("redirect"); //处理多tab页面的需求 + if (!!redirect&&redirect.length>0){ + var miframe=_iframe==""?"page-mainIframe": _iframe; + var pagemyIframe=$('.page-content .page-content-body .'+miframe); //.page-mainIframe + //var pagemyIframe=$('.page-content .page-content-body .page-mainIframe'); + var oldhref=""; + if(pagemyIframe&&pagemyIframe.length>0){ + oldhref=pagemyIframe.attr("src"); + if(url.split("?")[0]==oldhref.split("?")[0]) + { + eval(redirect); + dealBreadcrumb(clickedObject,false,e); + return true; + } + } + }; + return false; + }; + //处理主菜单面包削导航 + var globleCurrentBreadcrumb=""; + var globleCurrentMainMenuItemID=""; + var dhByBreadcrumb = false; + var dealBreadcrumb=function(clickedObject,notGenUID,e){//notGenUID为true就不重新生成id + var mbreadcrumb=$('.breadcrumbUl'); + openoFrameWork.setPageTitle(clickedObject.find('span').text().trim()); + var clieckedObj= clickedObject.parent('li'); + if(clieckedObj.length == 0){ //分页式更多菜单,a链接的父亲是div + clieckedObj= clickedObject.parent('div'); + } + //如果点击的是F菜单的竖菜单,还需要找到横菜单上的对应父亲加入到clieckedObj + var navPosOption = $('.nav-pos-direction', panel).val(); + var parentid = clickedObject.attr('hparentid'); + var breadcrumGroupButtonSrc=clickedObject.attr("breadcrumGroupButtonSrc"); + globleCurrentMainMenuItemID=clickedObject.attr("id"); + var mhmtl=""; + var url=""; + var tempObj=null; + //var breadChangeType = e? (e.data ? e.data.breadChangeType:null):null; + if( dhByBreadcrumb ){ + mhmtl = dealClickBreadcrumb(clieckedObj); + dhByBreadcrumb = ""; + }else{ + while (clieckedObj&&clieckedObj.length>0){ + if(clieckedObj.children('a')){ + if(!notGenUID){ + url=openoFrameWork.getUniqueID("aid");//+Math.floor(Math.random() * (new Date()).getTime()); + clieckedObj.children('a').attr("name",url); + }else{ + url=clieckedObj.children('a').attr("name"); + } + tempObj=clieckedObj.clone(); + tempObj.children('a').removeClass('iframe'); + tempObj.children('a').removeClass('active'); + tempObj.children('a').attr("href","javascript:openoFrameWork.goToURL('"+url+"');"); + var arrowdown = $(".fa-angle-down", tempObj.children('a')); + if (arrowdown) { + arrowdown.remove(); + } + if(tempObj.children('a').length>0){ + mhmtl=tempObj.children('a')[0].outerHTML+""+mhmtl; + } + //如果是F菜单和横菜单的子竖菜单点击,需要做特殊处理 + if( clieckedObj.parent('ul').attr('id') == fMenuSiderDivId || clieckedObj.parent('ul').attr('id') == megaSiderDivId){ + var id = clieckedObj.children( 'a' ).attr('hparentid'); + //判断是F菜单还是横菜单 + var megaMenu = null; + if(navPosOption == openoFrameWork_menu_horizontal){ + magaMenu = $('#'+megaDivId); + }else if(navPosOption == openoFrameWork_menu_fmenu){ + magaMenu = $('#'+fMenuMegaDivId); + } + clieckedObj = $("a[id=" + id + "]" , magaMenu).parent('li'); + }else{ + clieckedObj=clieckedObj.parents('li'); + } + } + } + if(clieckedObj[0]&&clieckedObj[0].length>0) { + mhmtl=clieckedObj.children('a')[0].outerHTML+""+mhmtl; + } + } + mbreadcrumb.empty(); + $('.more-botton-zone').empty(); + globleCurrentBreadcrumb=mhmtl; + store("globleCurrentBreadcrumb",globleCurrentBreadcrumb); + mbreadcrumb.append(mhmtl); + if(breadcrumGroupButtonSrc&&breadcrumGroupButtonSrc.length>0){ + getBreadcrumbRightButtons(breadcrumGroupButtonSrc,e); + }else{ + $('#pageableDiv').hide(); + } + + }; + //面包屑发起的点击,就不重新生成面包屑,只是把该面包屑的后续节点移出。 + var dealClickBreadcrumb = function(clieckedObj){ + var index = globleCurrentBreadcrumb.indexOf(clieckedObj.children('a').attr("name")); + if( index > -1 ){//截取 + var indexofSign = globleCurrentBreadcrumb.indexOf("",index); + var newBreadcrumb = globleCurrentBreadcrumb.substring(0,indexofSign) + ""; + return newBreadcrumb; + } + } + //处理面包削中菜单点击后的导航(更多菜单的面包屑) + var dealBreadcrumbBtnGroupMenus=function(clickedObject,notGenUID , e ){ + var mbreadcrumb=$('.breadcrumbUl'); + var clieckedObj= clickedObject.parent(); + var breadcrumGroupButtonSrc=clickedObject.attr("breadcrumGroupButtonSrc"); + var mhmtl=""; + var url=""; + var tempObj=null; + var menuid=clickedObject.attr("id"); + if (!breadcrumbBtnMenus.contains(menuid)) {//把当前面包削中的菜单id和该子菜单对应的父菜单关联缓存起来 + breadcrumbBtnMenus.add(menuid,globleCurrentMainMenuItemID); + } + while (clieckedObj&&clieckedObj.length>0){ + tempObj=clieckedObj.clone(); + if(tempObj.children('a')){ + tempObj.children('a').removeClass('iframe'); + url=tempObj.children('a').attr("href"); + tempObj.children('a').attr("onclick","openoFrameWork.openbreadcrumbLink($(this),event);"); + var tempdiv = tempObj.children('a').children('div'); + if( tempdiv.length > 0 ){ + var innerofDiv = tempdiv[0].innerHTML; + tempdiv.remove(); + tempObj.children('a')[0].innerHTML = innerofDiv; + } + if(tempObj.children('a').length>0){ + mhmtl=tempObj.children('a')[0].outerHTML+""+mhmtl; + } + clieckedObj=clieckedObj.parents('li'); + } + + } + if(clieckedObj[0]&&clieckedObj[0].length>0) { + mhmtl=clieckedObj.children('a')[0].outerHTML+""+mhmtl; + } + + if(breadcrumGroupButtonSrc&&breadcrumGroupButtonSrc.length>0){ + getBreadcrumbRightButtons(breadcrumGroupButtonSrc,true); + }else{ + $('#pageableDiv').hide(); + } + mbreadcrumb.empty(); + var category= clickedObject.attr("category");//处理菜单中定义的Category属性 + if(category&&category.length>0){//处理Category属性 + var newIpPort=_menuCategorys.items(category); + if(newIpPort&&newIpPort.ipTitle&&newIpPort.ipTitle.trim()!=""){//如果找到了 + mhmtl=newIpPort.ipTitle+''+mhmtl; + } + } + mhmtl=globleCurrentBreadcrumb+mhmtl; + mbreadcrumb.append(mhmtl); + }; + var isMoreMenuItemClick = false; + var dealBreadcrumbBtnMenuItemClick=function(clickObj,e){ + dealScrollTo(); + var menuItemID=clickObj.attr("id"); + if(!!menuItemID&&menuItemID.length>0){ + _setLocationHash(menuItemID); + var breadmenuID=e&&e.data&&e.data.breadcrumbBtnMenuItem&&e.data.breadcrumbBtnMenuItem.length>0?e.data.breadcrumbBtnMenuItem:""; + _hashSource=breadmenuID&&breadmenuID.length>0?"":"dhByInterface";//hash进来的,不是导航进来的。 + } + if(!(e&&e.breadcrumbBtnMenuItem&&e.breadcrumbBtnMenuItem.length>0)){//如果仅仅是tab跳转设置bread进来的,就框架不处理菜单点击,直接重新建立bread即可 + dealstartPageLoading(); + dealIframe(clickObj,e); + } + dealBreadcrumbBtnGroupMenus(clickObj,false,e); + } + // 固定边栏布局时计算边栏高度. + var _calculateFixedSidebarViewportHeight = function () { + var viewport = _getViewPort(); + var sidebarHeight =viewport.height - $('.header').height() + 1; + if ($('body').hasClass("page-footer-fixed")) { + sidebarHeight = sidebarHeight - (!$('.footer')||$('.footer').length<=0)?0:$('.footer').outerHeight(); + } + return sidebarHeight; + } + // 处理固定边栏 + var dealFixedSidebar = function () { + var menu = $('.page-sidebar-menu'); + if (menu.parent('.slimScrollDiv').size() === 1) { + menu.removeAttr('style'); + $('.page-sidebar').removeAttr('style'); + } + + if ($('.page-sidebar-fixed').size() === 0) { + dealSidebarAndContentHeight(); + return; + } + + var viewport = _getViewPort(); + if (viewport.width >= openoFrameWork_smallView) { + var sidebarHeight = _calculateFixedSidebarViewportHeight(); + dealSidebarAndContentHeight(); + } + } + // 固定边栏时处理菜单 hover 效果. + var dealFixedSidebarHoverable = function () { + if ($('body').hasClass('page-sidebar-fixed') === false) { + return; + } + $('.page-sidebar').off('mouseenter').on('mouseenter', function () { + dealSiderBarMouseenter(); + }); + $('.page-sidebar').off('mouseleave').on('mouseleave', function () { + dealSiderBarMouseLeave(); + }); + } + var dealSiderBarMouseenter=function(){ + var body = $('body'); + var siderbar=$('.page-sidebar'); + if ((body.hasClass('page-sidebar-closed') === false || body.hasClass('page-sidebar-fixed') === false) || $(this).hasClass('page-sidebar-hovering')) { + return; + } + body.removeClass('page-sidebar-closed').addClass('page-sidebar-hover-on'); + var siderbartoggle=$('.sidebar-toggler'); + + if (body.hasClass("page-sidebar-reversed")) { + siderbar.width(_sidebarWidth); + dealSiderBarWidthChange(); + } else { + siderbar.addClass('page-sidebar-hovering'); + siderbar.animate({ + width: _sidebarWidth + }, 350, '', function () { + siderbar.removeClass('page-sidebar-hovering'); + dealSiderBarWidthChange(); + }); + } + } + var dealSiderBarMouseLeave=function(){ + var body = $('body'); + if ((body.hasClass('page-sidebar-hover-on') === false || body.hasClass('page-sidebar-fixed') === false) || $(this).hasClass('page-sidebar-hovering')) { + return; + } + var siderbar=$('.page-sidebar'); + var siderbartoggle=$('.sidebar-toggler'); + if (body.hasClass("page-sidebar-reversed")) { + body.addClass('page-sidebar-closed').removeClass('page-sidebar-hover-on'); + siderbar.width(_sidebarCollapsedWidth); + if(siderbartoggle){ + siderbartoggle.removeAttr('style'); + } + dealSiderBarWidthChange(); + } else { + siderbar.addClass('page-sidebar-hovering'); + siderbar.animate({ + width: _sidebarCollapsedWidth + }, 350, '', function () { + body.addClass('page-sidebar-closed').removeClass('page-sidebar-hover-on'); + dealSiderBarWidthChange(); + siderbar.removeClass('page-sidebar-hovering'); + if(siderbartoggle){ + siderbartoggle.removeAttr('style'); + } + }); + } + + } + //处理style css + var dealAddStyle=function(element, property, value, important) { + var styleText=element.attr('style')?element.attr('style'):""; + styles=styleText.split(";"); + var find=""; + for(i=0;i=0){ + find=styles[i];//看是否已经添加过,如果添加过就需要替换掉 + break; + } + } + styleText=find.length>0?styleText.replace(find,""):styleText; + styleText=(styleText + ';'+property + ':' + value + ((important) ? ' !important' : '') + ';').replace(/;;/g,";"); + element.attr('style',styleText ); + } + var dealSiderBarWidthChange=function(){ + + } + // 处理边栏菜单切换时的关闭和隐藏. + var dealSidebarToggler = function () { + var viewport = _getViewPort(); + if (getCookie('sidebar_closed') === '1' && viewport.width >= openoFrameWork_smallView) { + $('body').addClass('page-sidebar-closed'); + } + $('.page-sidebar, .sidebar-toggler').on('click', '.sidebar-toggler', function (e) { + e.preventDefault(); + var body = $('body'); + var sidebar = $('.page-sidebar'); + if(body.hasClass('page-sidebar-closed')){ + $(this).removeAttr('style'); + } + } ); + $('.page-sidebar, .header').on('click', '.sidebar-toggler', function (e) { + var body = $('body'); + var sidebar = $('.page-sidebar'); + if ((body.hasClass("page-sidebar-hover-on") && body.hasClass('page-sidebar-fixed')) || sidebar.hasClass('page-sidebar-hovering')) { + body.removeClass('page-sidebar-hover-on'); + sidebar.css('width', '').hide().show(); + dealSidebarAndContentHeight(); //fix content & sidebar height + setCookie('sidebar_closed', '0'); + dealSiderBarWidthChange(); + e.stopPropagation(); + runResponsiveHandlers(); + return; + } + $(".sidebar-search", sidebar).removeClass("open"); + var panel = $('.zte-theme-panel'); + var sidebarPosOption = $('.sidebar-pos-option', panel).val(); + var pcontent = $("[class='page-content']"); + if (body.hasClass("page-sidebar-closed")) { + body.removeClass("page-sidebar-closed"); + if (body.hasClass('page-sidebar-fixed')) { + sidebar.css('width', ''); + } + setCookie('sidebar_closed', '0'); + pcontent.css("marginLeft",_sidebarWidth); + dealSiderBarWidthChange(); + } else { + body.addClass("page-sidebar-closed"); + $(this).removeAttr('style'); + setCookie('sidebar_closed', '1'); + pcontent.css("marginLeft", _sidebarCollapsedWidth); + dealSiderBarWidthChange(); + } + //针对侧边栏伸缩的情况需加入对.page-content的判断。 + dealSidebarAndContentHeight(true); + runResponsiveHandlers(); + }); + } + // 处理水平菜单 + var dealHorizontalMenu = function () { + $('.header').on('click', '.hor-menu .hor-menu-search-form-toggler', function (e) { + if ($(this).hasClass('off')) { + $(this).removeClass('off'); + $('.header .hor-menu .search-form').hide(); + } else { + $(this).addClass('off'); + $('.header .hor-menu .search-form').show(); + } + e.preventDefault(); + }); + // 处理水平菜单 处理header下拉菜单中的菜单连接,显示在iframe中 + $('.header').on('click', ' li > a.iframe', function (e) { + //dealMenuItemClick($(this),e,"header"); + e.preventDefault(); + var menuItemID=$(this).attr("id"); + if(!!menuItemID&&menuItemID.length>0){ + _setLocationHash(menuItemID); + _hashSource="dhByInterface"; + }//else{ + _isClicked=true; + dealMenuItemClick($(this),e,"header"); + //} + }); + //处理TAB点击 + $('.header').on('click', '.hor-menu a[data-toggle="tab"]', function (e) { + e.preventDefault(); + var nav = $(".hor-menu .nav"); + var active_link = nav.find('li.current'); + $('li.active', active_link).removeClass("active"); + $('.selected', active_link).remove(); + var new_link = $(this).parents('li').last(); + new_link.addClass("current"); + new_link.find("a:first").append(''); + }); + } + // 增加一个对服务端的心跳 + var doHeartbeat = function() { + //心跳超时次数 + var heartBeatTimes = 0; + return setInterval(function() { + var userName; + if( userName == null ){ + var userName = openoFrameWork_conf.userName; + } + var heartUrl = FrameConst.REST_HEARTBEAT + "?username=" + encodeURIComponent(userName); + $.ajax(heartUrl, { + dataType : "text", + cache : false + }).done(function(data) { + // if (data != "true") { //收到不属于取值范围内的回复,说明出现不可预知情况,取消心跳。是原framework.js中的逻辑,比较奇怪,先保留注释。 + // disableHeartbeat(); + // } + //收到心跳回应消息,心跳超时次数置0 + if( data == "true" ){ + heartBeatTimes = 0; + } + }); + heartBeatTimes++; + //心跳超时6次即1分钟,转到登录界面,认为链路断。 + if(heartBeatTimes >= 6){ + disableHeartbeat(); + //console.log(com_zte_ums_aos_framework_ui_heartbeat_timeout); + bootbox.alert($.i18n.prop('com_zte_ums_aos_framework_ui_heartbeat_fail'), function () { + window.location.replace("login.html"); + }); + } + }, 10000); + }; + if( FrameConst.do_heartbeat ){ + var heartbeatTimer = doHeartbeat(); + } + window.enableHeartbeat = function() { + if (!heartbeatTimer) { + //重新启动心跳功能,心跳超时次数置0 + heartBeatTimes = 0; + heartbeatTimer = doHeartbeat(); + return "Enabled"; + } + return "Already enabled!"; + }; + window.disableHeartbeat = function() { + if (heartbeatTimer) { + clearInterval(heartbeatTimer); + heartbeatTimer = null; + return "Disabled"; + } + return "Already disabled!"; + }; + window.doLogout = function(){ + logoutSubmit(); + }; + //处理ict注销确认 + $('#trigger_logout').click(function(){ + bootbox.confirm($.i18n.prop('com_zte_ums_ict_framework_ui_confirmlogout'), function(result) { //你确认要注销吗? + if(result){ + doLogout(); + } + }); + }); + // Handle full screen mode toggle + var isscreenFull=false; + var dealFullScreenMode = function() { + // 处理全屏事件 + function toggleFullScreen() { + if(!screenfull.supportsFullScreen){//不支持全屏 + if (isIE&&typeof window.ActiveXObject !== "undefined") { // Older IE. + var wscript = new ActiveXObject("WScript.Shell"); + if (wscript !== null) { + wscript.SendKeys("{F11}"); + isscreenFull=!isscreenFull; + } + }else{ + isscreenFull=screenfull.supportsFullScreen; + }; + }else{ + screenfull.isFullScreen?screenfull.exitFullScreen():screenfull.requestFullScreen(); + isscreenFull= screenfull.isFullscreen; + } + setTimeout(function(){ + if(isscreenFull){ + $("#fullscreen_label").text($.i18n.prop('com_zte_ums_ict_framework_ui_group_exitfullscreen')); + }else{ + $("#fullscreen_label").text($.i18n.prop('com_zte_ums_ict_framework_ui_group_fullscreen')); + } + },500); + } + + $('#trigger_fullscreen').click(function() { + toggleFullScreen(); + }); + } + //清理当前正在显示的iframe之外缓存的iframe, + var dealClearCachedIframes=function(isall){ + if (cachedIframes.count()>0) { + for (var i in cachedIframes.hash()) { + var pagemyIframe=$('.page-content .page-content-body .'+i); + if(pagemyIframe&&pagemyIframe.length>0){ + if(isall==true){ + pagemyIframe.attr("src",""); + pagemyIframe.remove(); + }else if(i!=_iframe) + pagemyIframe.attr("src",""); + pagemyIframe.remove(); + } + } + } + cachedIframes.clear(); + if (cachedIframesObject.count()>0) {//清理缓存的iframe实体对象。 + for (var i in cachedIframesObject.hash()) { + if(i!=_iframe) + cachedIframesObject.remove(i); + } + } + } + var lastSelectedLayout = ''; + var dealTheme = function () { + var panel = $('.zte-theme-panel'); + if ($('body').hasClass('page-boxed') == false) { + $('.layout-option', panel).val("fluid"); + } + $('.sidebar-option', panel).val("default"); + $('.language-option', panel).val(defaultLanage); + $('.header-option', panel).val("fixed"); + $('.footer-option', panel).val("default"); + if ( $('.sidebar-pos-option').attr("disabled") === false) { + $('.sidebar-pos-option', panel).val(openoFrameWork.isRTL() ? 'right' : 'left'); + } + var _resetLayout = function () { + dealResetLayout(); + } + var _setLayout = function () { + dealSetLayout(); + } + var setColor = function (color) { + var color_ = (openoFrameWork.isRTL() ? color + '-rtl' : color); + $('#style_color').attr("href", ICTFRAME_CONST_THEME_COLOR_CSS_PREFFIX + color_ + ".css"); + setCookie('style_color', color); + syncColorCSS(); + } + $('.toggler', panel).click(function () { + $('.toggler').hide(); + $('.toggler-close').show(); + $('.zte-theme-panel > .theme-options').show(); + }); + + $('.toggler-close', panel).click(function () { + $('.toggler').show(); + $('.toggler-close').hide(); + $('.zte-theme-panel > .theme-options').hide(); + }); + $('.theme-colors > ul > li', panel).click(function () { + var color = $(this).attr("data-style"); + setColor(color); + $('ul > li', panel).removeClass("current"); + $(this).addClass("current"); + }); + $('.layout-option,.header-option, .sidebar-option, .footer-option, .sidebar-pos-option, .nav-pos-direction', panel).change(_setLayout); + if (getCookie('style_color') != undefined) { + setColor(getCookie('style_color')); + } + $('.language-option', panel).change(function(){ + var languageOption = $('.language-option', panel).val(); + setCookie('language-option', languageOption); + window.location.reload(); + }); + } + var dealResetLayout = function () { + $("body"). + removeClass("page-boxed"). + removeClass("page-footer-fixed"). + removeClass("page-sidebar-fixed"). + removeClass("page-header-fixed"). + removeClass("page-sidebar-reversed"); + $('.header > .header-inner').removeClass("container"); + if ($('.page-container').parent(".container").size() === 1) { + $('.page-container').insertAfter('body > .clearfix'); + } + if ($('.footer > .container').size() === 1) { + $('.footer').html($('.footer > .container').html()); + } else if ($('.footer').parent(".container").size() === 1) { + $('.footer').insertAfter('.page-container'); + } + $('body > .container').remove(); + } + /* + * 此方法在客户端初始化和设置面板上选择菜单方向的时候用。 + * param navPosOption + */ + var dealNavPos = function(navPosOption) { + // 横竖边栏切换功能禁用,则返回 + var panel = $('.zte-theme-panel'); + if ($('.nav-pos-direction', panel).attr("disabled") == "disabled") { + return; + } + var sidermenu = $("#page-sidebar-menu"); + var hormenu = $("#main_hormenu"); + var sidermenu = $("#page-sidebar-menu"); + var hormenu = $("#main_hormenu"); + var horSiderMenu = $('#' + megaSiderDivId ); + var fhorMenu = $("#" + fMenuMegaDivId); + var fsiderMenu = $("#" + fMenuSiderDivId); + var pcontent = $("[class='page-content']"); + if (sidermenu && sidermenu.length > 0 && hormenu && hormenu.length > 0 && fhorMenu && fhorMenu.length > 0) { + if (navPosOption === openoFrameWork_menu_horizontal) { + sidermenu.css('display','none');// 侧边栏隐藏 + fhorMenu.css('display','none'); + fsiderMenu.css('display','none'); + pcontent.css("marginLeft",0); + $("body").addClass("page-full-width");//调整内容显示 + hormenu.css("display", "block");//显示水平菜单栏 + // 导航位置为水平菜单时,边栏和边栏位置为默认和靠左,且将其切换功能禁用掉 + $('.sidebar-option', panel).val("default"); + $('.sidebar-option', panel).attr("disabled", true); + $('.sidebar-pos-option', panel).val("left"); + $('.sidebar-pos-option', panel).attr("disabled", true); + } else if (navPosOption === openoFrameWork_menu_vertical ) { + $("body").removeClass("page-full-width"); + sidermenu.css('display','block');//侧边栏显示 + var body = $('body'); + if (body.hasClass("page-sidebar-closed")) { + pcontent.css("marginLeft", _sidebarCollapsedWidth); + } else { + pcontent.css("marginLeft", _sidebarWidth); + } + hormenu.css("display", "none");//隐藏水平菜单栏 + fhorMenu.css('display','none'); + fsiderMenu.css('display','none'); + horSiderMenu.css('display','none'); + $('.sidebar-option', panel).attr("disabled", false); + $('.sidebar-pos-option', panel).attr("disabled", false); + } else if(navPosOption === openoFrameWork_menu_fmenu ){ + sidermenu.css('display','none');// 侧边栏隐藏 + hormenu.css("display", "none");//隐藏水平菜单栏 + fsiderMenu.css('display','none'); + fhorMenu.css('display','block'); + pcontent.css("marginLeft",0); + $("body").addClass("page-full-width");//调整内容显示 + // 导航位置为水平菜单时,边栏和边栏位置为默认和靠左,且将其切换功能禁用掉 + $('.sidebar-option', panel).val("default"); + $('.sidebar-option', panel).attr("disabled", true); + $('.sidebar-pos-option', panel).val("left"); + $('.sidebar-pos-option', panel).attr("disabled", true); + } + } + } + var dealSetLayout = function(){ + var panel = $('.zte-theme-panel'); + var layoutOption = $('.layout-option', panel).val(); + var languageOption = $('.language-option', panel).val(); + var headerOption = $('.header-option', panel).val(); + var footerOption = $('.footer-option', panel).val(); + var navPosOption = $('.nav-pos-direction', panel).val(); + dealNavPos(navPosOption); + var sidebarOption = $('.sidebar-option', panel).val(); + var sidebarPosOption = $('.sidebar-pos-option', panel).val(); + if (sidebarOption == "fixed" && headerOption == "default") { + alert($.i18n.prop('com_zte_ums_ict_framework_ui_fixedsidedefaultheaderError')); //页头不支持固定边栏,先固定页头才能固定边栏. + $('.header-option', panel).val("fixed"); + $('.sidebar-option', panel).val("fixed"); + sidebarOption = 'fixed'; + headerOption = 'fixed'; + } + if (sidebarOption == "fixed" && sidebarPosOption == "right") { + alert($.i18n.prop('com_zte_ums_ict_framework_ui_fixedsiderightpositionError')); //固定边栏情况下,边栏不能靠右。. + $('.sidebar-pos-option', panel).val("left"); + sidebarPosOption = 'left'; + } + dealResetLayout(); // reset layout to default state + if (layoutOption === "boxed") { + $("body").addClass("page-boxed"); + // set header + $('.header > .header-inner').addClass("container"); + var cont = $('body > .clearfix').after('
    '); + // set content + $('.page-container').appendTo('body > .container'); + // set footer + if (footerOption === 'fixed') { + $('.footer').html('
    ' + $('.footer').html() + '
    '); + } else { + $('.footer').appendTo('body > .container'); + } + } + if (lastSelectedLayout != layoutOption) { + runResponsiveHandlers(); + } + lastSelectedLayout = layoutOption; + //header + if (headerOption === 'fixed') { + $("body").addClass("page-header-fixed"); + $(".header").removeClass("navbar-static-top").addClass("navbar-fixed-top"); + } else { + $("body").removeClass("page-header-fixed"); + $(".header").removeClass("navbar-fixed-top").addClass("navbar-static-top"); + } + //sidebar + if ($('body').hasClass('page-full-width') === false) { + if (sidebarOption === 'fixed') { + $("body").addClass("page-sidebar-fixed"); + } else { + $("body").removeClass("page-sidebar-fixed"); + } + } + //footer + if (footerOption === 'fixed') { + $("body").addClass("page-footer-fixed"); + } else { + $("body").removeClass("page-footer-fixed"); + } + //sidebar position + if (openoFrameWork.isRTL()) { + if (sidebarPosOption === 'left') { + $("body").addClass("page-sidebar-reversed"); + $('#frontend-link').tooltip('destroy').tooltip({placement: 'right'}); + } else { + var pcontent = $("[class='page-content']"); + pcontent.css("marginLeft",0);//侧边栏靠右,则左边内容填充为0 + $("body").removeClass("page-sidebar-reversed"); + $('#frontend-link').tooltip('destroy').tooltip({placement: 'left'}); + } + } else { + if (sidebarPosOption === 'right') { + var pcontent = $("[class='page-content']"); + pcontent.css("marginLeft",0);//侧边栏靠右,则左边内容填充为0 + $("body").addClass("page-sidebar-reversed"); + $('#frontend-link').tooltip('destroy').tooltip({placement: 'left'}); + } else { + $("body").removeClass("page-sidebar-reversed"); + $('#frontend-link').tooltip('destroy').tooltip({placement: 'right'}); + } + } + dealSidebarAndContentHeight(); + dealFixedSidebar(); + dealFixedSidebarHoverable(); + dealSiderBarWidthChange(); + setCookie('layout-option', layoutOption); + setCookie('language-option', languageOption); + setCookie('header-option', headerOption); + setCookie('sidebar-option', sidebarOption); + setCookie('sidebar-pos-option', sidebarPosOption); + setCookie('nav-pos-direction', navPosOption); + } + var setCookie = function (key, value) { + if (store) { + store(key, value); + } + } + var getCookie = function (key) { + if (store) { + return store(key); + } else { + return undefined; + } + } + /*下面处理前进后退和锚点访问*/ + var _getLocationHash = function() { + return location.hash.replace("#_", ""); + } + /*统一入口设置锚点*/ + var _setLocationHash = function(menuItemID) { + location.hash = getLocationHashByMenuId(menuItemID); + } + var getLocationHashByMenuId = function(menuItemID){ + return "#_" + menuItemID; + } + // hash control + var loadCurrentHash = function(e,data){ + var locationhash = _getLocationHash(); //important + if(!!locationhash&&locationhash.length>0){ + if(_hashSource.trim()=="dhByInterface"){ + _hashSource=""; + }else{ + processChangedHash(locationhash,data); + } + } + } + // hash control 这种写法安全点 + var processChangedHash = function(path) { + var id = path; + var action = undefined; + var spIndex = path.indexOf("/"); + if(spIndex != -1) { + id = path.substring(0,spIndex); + action = path.substring(spIndex+1); + } + openoFrameWork.goToURLByIDAndNewAction(id,action); + } + var syncColorCSS=function(){//注册皮肤切换事件处理函数,处理iframe中的皮肤切换 + var pagemyIframe=null; + if (cachedIframes.count()>0) { + for (var i in cachedIframes.hash()) { + pagemyIframe=$('.page-content .page-content-body .'+i); + if(pagemyIframe&&pagemyIframe.length>0){ + openoFrameWork.SyncCSS(pagemyIframe[0],1,""); + } + } + } + } + var getCurrentVisibleIframe=function(){ + var pagemyIframe=null; + if (cachedIframes.count()>0) { + for (var i in cachedIframes.hash()) { + if(cachedIframes.items(i)===1){ + pagemyIframe=$('.page-content .page-content-body .'+i); + } + } + } + return pagemyIframe; + } + //处理跨域请求代理,通过该代理进行iframe间传递参数,注意这里的代理页面proxy.html必须部署到要跨域的对端域的服务器web根目录下 + var dealCrossProxy=function(ifrm,crossproxysrc,ifmHeadlins,flag){//crossproxysrc这个是proxy.html对应的url根路径 + var url=$.url(openoFrameWork.getCurrentScript(document)); + var proxyHtmlPath=url.attr("directory")+"proxy/proxy.html"//这中情况适用于使用了该界面集成框架的应用系统 + var _ifmProxy=$(''); + var _ifm=$('#ifm_Proxy'); + _ifm.hide(); + var pageContentBody=$('.page-content .page-content-body'); + var linksrcs=new Array(); + var linksids=new Array(); + var linktyps=new Array(); + var _src=""; + for (i=0;i0){ + _src=ifmHeadlins[i].link.src; + linktyps.push("javascriptfile"); + }else{ + _src=ifmHeadlins[i].link.text; + linktyps.push("javascripttext"); + } + }else{ + linktyps.push("undefined"); + } + linksrcs.push(_src); + linksids.push({"pos":ifmHeadlins[i].pos,"scope":ifmHeadlins[i].scope,"id":ifmHeadlins[i].link.id}); + } + var parm={iFrame:ifrm,cssLinktyps:linktyps,cssLinksrcs:linksrcs,cssLinkids:linksids,origin:crossproxysrc,flag:flag}; + if(_ifm&&_ifm.length<=0){//没有添加过 + _ifmProxy.appendTo(pageContentBody); + _ifmProxy.one('load',parm,function(e){ + var data={iFrame:e.data.iFrame,cssLinktyps:e.data.cssLinktyps,cssLinksrcs:e.data.cssLinksrcs,cssLinkids:e.data.cssLinkids,flag:flag}; + $('#ifm_Proxy')[0].contentWindow.postMessage(data,e.data.origin);//window.location.origin + }); + }else if(_ifm.attr("oldproxyorigin")!=crossproxysrc){//代理已经添加过了,看是否是同一个网站的代理,如果不是需要重新加载 + _ifm.attr("src",""); + _ifm.attr("oldproxyorigin",crossproxysrc); + _ifm.one('load',parm,function(e){ + var data={iFrame:e.data.iFrame,cssLinktyps:e.data.cssLinktyps,cssLinksrcs:e.data.cssLinksrcs,cssLinkids:e.data.cssLinkids,flag:flag}; + $('#ifm_Proxy')[0].contentWindow.postMessage(data,e.data.origin);//window.location.origin + }); + _ifm.attr("src",_ifmProxy.attr("src")); + }else{//已经添加过,直接触发消息发送即可 + var data={iFrame:parm.iFrame,cssLinktyps:parm.cssLinktyps,cssLinksrcs:parm.cssLinksrcs,cssLinkids:parm.cssLinkids,flag:flag}; + _ifm[0].contentWindow.postMessage(data,parm.origin);//window.location.origin + } + } + return { + init: function () { + if(zte_http_headers){ + store("zte_http_headers",zte_http_headers); + } + dealInit(); + dealResponsiveOnResize(); + dealResponsiveOnInit(); + dealClearCachedIframes(true); ////清理当前正在显示的iframe之外缓存的iframe, + breadcrumbBtnMenus.clear(); + dealFixedSidebar(); // deals fixed sidebar menu + dealFixedSidebarHoverable(); // deals fixed sidebar on hover effect + dealSidebarMenu(); // deals main menu + dealHorizontalMenu(); // deals horizontal menu + dealSidebarToggler(); // deals sidebar hide/show + dealTheme(); // deals style customer tool + dealSetLayout(); + $(function() { + $(window).on('hashchange',function(){ + loadCurrentHash(); + }); + }); + dealFullScreenMode(); // deals full screen + $("#header_dropdown_user").css('display','block'); + $("#com_zte_ums_ict_framework_img_netnumenLogo").css('display','inline'); + $("#com_zte_ums_ict_framework_ui_main_title").css('display','inline'); + handeCtxMenuitem(); + }, + //公开清理缓存的所有Iframe的方法:isALL==true则清理所有,否则清理当前正在显示的iframe之外缓存的iframe,。 + clearCachedIframes:function(isAll){ + dealClearCachedIframes(isAll); + }, + + setBaseURLRoot:function(ipportStr){//菜单url的跟ip和端口例如:http://10.74.151.122:21180 + if (store) { + store('baseURLRoot', ipportStr); + } + var url = $.url(ipportStr); + location.hash=url.attr('fragment'); + var auth=url.attr('query'); + if (store) { + store('baseURLRootAuth', auth); + } + }, + getBaseURLRoot:function(ipportStr){//菜单url的跟ip和端口例如:http://10.74.151.122:21180 + var rooturl=""; + if (store) { + rooturl=store('baseURLRoot'); + } + return !rooturl?"":rooturl; + }, + clearBaseURLRoot:function(){//菜单url的跟ip和端口例如:http://10.74.151.122:21180 + if (store) { + store('baseURLRoot', "",-1); + } + }, + setPageTitle:function(title){//设置页面标题 + $('title').html(title+" - "+gdocTitle); + }, + getLanguage:function(){//获取语言 + return openoFrameWork_conf.acceptLanguage; + }, + + getLocationHash:function(){ + return _getLocationHash(); + }, + setSceneURLRootPath:function(sceneURLRootPath){ + if(sceneURLRootPath&&sceneURLRootPath.trim().length>0){//如果定义了场景的全局参数 + _sceneURLRootPath=sceneURLRootPath.trim(); + if(_sceneURLRootPath.charAt(_sceneURLRootPath.length-1)!='/') + { + _sceneURLRootPath=_sceneURLRootPath+'/'; + } + } + }, + //public function to add callback a function which will be called on window resize + addResponsiveHandler: function (func) { + responsiveHandlers.push(func); + }, + + hiddenAlarmLight:function(){ + hideAlarmLight(); + }, + + hiddenMenu:function(){ + hidemenu(); + }, + setBreadcrumbByMenuID:function(id){ + //var breaditem=$('#'+id); + var menuitem=undefined; + // var items=$("a[id='"+id+"']"); + var items = undefined; + var panel = $('.zte-theme-panel'); + var navPosOption = $('.nav-pos-direction', panel).val(); + if (navPosOption === "vertical"){ //从垂直菜单里面找 + items=$("#page-sidebar-menu a[id='"+id+"']"); + if (!items || items.length < 1) { + items=$(".page-content a[id='"+id+"']"); + } + }else if(navPosOption === openoFrameWork_menu_horizontal){//从水平菜单里面找 + items=$("#main_hormenu a[id='"+id+"']"); + if(items.length == 0){ + //横菜单没有找到,再在横菜单的子菜单找一次 + items=$("#page-megachild-sidebar-menu a[id='"+id+"']"); + } + }else if(navPosOption === openoFrameWork_menu_fmenu){ + items=$("#f_hormenu a[id='"+id+"']"); + if(items.length == 0){ + //横菜单没有找到,再在竖菜单找一次。 + items=$("#page-f-sidebar-menu a[id='"+id+"']"); + } + } + var isbreadcrumbMenuItem=false; + if(items.length>0){ + for(var i=0;i0){ + if(isbreadcrumbMenuItem){ + dealBreadcrumbBtnGroupMenus(menuitem,false); + }else{ + dealBreadcrumb(menuitem,true,null); + } + }else{ + var breadcrumbBtnMenuItemParent=""; + if(!menuitem||menuitem.length<=0){//没有找到该菜单,可能是面包削中的,需要额外处理 + var menuItemID=id; + if (breadcrumbBtnMenus.contains(menuItemID)) {//有缓存 + breadcrumbBtnMenuItemParent="#"+breadcrumbBtnMenus.items(menuItemID); + menuitem=$(breadcrumbBtnMenuItemParent); + //_breadcrumbSource=true; + } + } + var parm=undefined; + if(breadcrumbBtnMenuItemParent&&breadcrumbBtnMenuItemParent.length>0){ + parm={breadcrumbBtnMenuItem:menuItemID}; + } + if(parm&&menuitem&&menuitem.length>0) { + dealBreadcrumb(menuitem,true,parm); + } + } + }, + setSiderbarCollapseWidth:function(width){ + _sidebarCollapsedWidth = width; + }, + getSiderbarCollapseWidth:function(){ + return _sidebarCollapsedWidth; + }, + setSidebarWidth:function(width){ + _sidebarWidth = width; + }, + getSidebarWidth:function(){ + return _sidebarWidth; + }, + //2015年10月26日新增动态切换菜单的功能,这里的菜单还需要再次更换菜单项访问的ip端口信息 + handlBaseURL:function(url){ + var baseURLRoot=openoFrameWork.getBaseURLRoot(); + if (baseURLRoot.length>0) {//2015年10月26日新增动态切换菜单的功能,这里的菜单还需要再次更换菜单项访问的ip端口信息 + baseURLRoot=openoFrameWork.getDomainURL(baseURLRoot);//去掉ip和port后多余的部分 + console.log("old a link href url:"+url); + url=baseURLRoot+url.replace(openoFrameWork.getDomainURL(url),""); + console.log("baseURLRoot:"+baseURLRoot+" newURL:"+url); + }; + return url; + }, + + startPageLoading: function(message) { + dealstartPageLoading(message); + }, + stopPageLoading: function() { + dealstopPageLoading(); + }, + //public function to get a paremeter by name from URL + getLocationURLParameter: function (paramName,separator) { + var searchString = decodeURIComponent(window.location.search.substring(1)).toLowerCase(), + i, val, params = searchString.split(separator?separator:"&"); + paramName=paramName.toLowerCase(); + for (i = 0; i < params.length; i++) { + val = params[i].split("="); + if (val[0] == paramName) { + return unescape(val[1]); + } + } + return null; + }, + //public function to get a paremeter by name from URL + getURLParameter: function (paramName,url) { + var searchString = decodeURIComponent(url).toLowerCase(), + i, val, params = searchString.split("&"); + paramName=paramName.toLowerCase(); + for (i = 0; i < params.length; i++) { + val = params[i].split("="); + if (val[0] == paramName) { + return unescape(val[1]); + } + } + return null; + }, + // check for device touch support + isTouchDevice: function () { + return isTouch; + }, + getUniqueID: function(prefix) { + return prefix+'_' + Math.floor(Math.random() * (new Date()).getTime()); + }, + // check IE8 mode + isIE8: function () { + return isIE8; + }, + // check IE9 mode + isIE9: function () { + return isIE9; + }, + //check RTL mode + isRTL: function () { + return isRTL; + }, + getViewPort:function(){ + return _getViewPort(); + }, + // get layout color code by color name + getLayoutColorCode: function (name) { + if (layoutColorCodes[name]) { + return layoutColorCodes[name]; + } else { + return ''; + } + } , + fixContentHeight: function () { + dealSidebarAndContentHeight(); + }, + dealAtoIframe:function(aObj,event){ + var containerStr=aObj.parentsUntil('.page-container').hasClass('page-sidebar')?'page-sidebar':"";// + containerStr=aObj.parentsUntil('.header-inner').hasClass('hor-menu')?'header':containerStr; + dealMenuItemClick(aObj,event,containerStr); + _isClicked=false; + }, + getDomainURL:function(urlAddress){ + var url = $.url(urlAddress); + var protocol=url.attr('protocol'); + var host=url.attr('host'); + var port=url.attr('port'); + var crossOrign=protocol+"://"+host+(port.length>0?":"+port:""); + return crossOrign; + }, + getCurrentScript:function(doc) {//doc为 document对象 + /* 注意该功能在其他脚本中调用时出safari获取到的脚本路径为本方法所在脚本的路径, + 其他浏览器获取到的为调用该方法的脚本所在路径 + 取得正在解析的script节点 + */ + if(doc&&doc.currentScript) { //firefox 4+ + console.log("0、 "+doc.currentScript.src); + return doc.currentScript.src; + } + // 参考 https://github.com/samyk/jiagra/blob/master/jiagra.js + var stack; + try { + a.b.c(); //强制报错,以便捕获e.stack + } catch(e) {//safari的错误对象只有line,sourceId 或者高版本还有sourceURL + stack = e.stack; + if(e.sourceURL){//safari 浏览器没有e.stack但有e.sourceURL + stack=e.sourceURL; + }else if(!stack && window.opera){ + //opera 9没有e.stack,但有e.Backtrace,但不能直接取得,需要对e对象转字符串进行抽取 + stack = (String(e).match(/of linked script \S+/g) || []).join(" "); + } + console.log("1、 "+stack); + } + if(stack) { + /*e.stack最后一行在所有支持的浏览器大致如下: + *chrome23: + * at http://113.93.50.63/data.js:4:1 + *firefox17: + *@http://113.93.50.63/query.js:4 + *opera12: + *@http://113.93.50.63/data.js:4 + *IE10: + * at Global code (http://113.93.50.63/data.js:4:1) + */ + console.log("2、 "+stack); + stack = stack.split( /[@ ]/g).pop();//取得最后一行,最后一个空格或@之后的部分 + stack = stack[0] == "(" ? stack.slice(1,-1) : stack; + console.log("3、 "+stack); + return stack.replace(/(:\d+)?:\d+$/i, "");//去掉行号与或许存在的出错字符起始位置 + } + if(doc){ + var nodes = doc.getElementsByTagName("script"); //只在head标签中寻找 + for(var i = 0, node; node = nodes[i++];) { + if(node.readyState === "interactive") { + console.log("4、 "+(node.className = node.src)); + return node.className = node.src; + } + } + } + }, + /*下面的flag为0表示默认不触发孙子iframe中的onload事件,为1表示要触发,flag为10则对cssSrc重复执行,其他不做重复执行*/ + SyncCSS:function(ifrm,flag,cssSrc){//将主框架中的皮肤css应用到打开的iframe页面中 + if(!ifrm)return; + var ifmHeadlins = new Array(); + if(cssSrc&&cssSrc.length>0&&cssSrc.endWith(".css")){ + var _div = $(''); + var csslink=document.createElement("link"); + csslink.href=_div[0].href;//这里同步菜单定义中cssSrc属性指定的css文件到iframe + _div = null; + csslink.rel="stylesheet"; + csslink.type="text/css"; + csslink.id="ifram_csssrc"; + ifmHeadlins.push({"pos":"head","scope":"all","link":csslink});//pos是添加到子iframe中的位置,scope是子窗体作用返回,one表示直接子窗体,all表示嵌套所有子窗体 + } + if(flag!=10){//当flag为10时下面的css和js都不执行 + if($('#style_color').length>0){ + var csslink=document.createElement("link"); + csslink.href=$('#style_color')[0].href.replace(".css","_ifrm.css");//这里同步的皮肤页面修改为原皮肤页面文件名后缀添加ifrm的css皮肤文件 + csslink.rel="stylesheet"; + csslink.type="text/css"; + csslink.id="style_color"; + ifmHeadlins.push({"pos":"head","scope":"all","link":csslink});//pos是添加到子iframe中的位置,scope是子窗体作用返回,one表示直接子窗体,all表示嵌套所有子窗体 + } + // 将 font-awesome字体图标应用到模块iframe + if($('#font_awesome').length>0){ + var awesomelink=document.createElement("link"); + awesomelink.href=$('#font_awesome')[0].href; + awesomelink.rel="stylesheet"; + awesomelink.type="text/css"; + awesomelink.id="font_awesome"; + ifmHeadlins.push({"pos":"head","scope":"all","link":awesomelink}); + } + // 将pym.js or pym.min.js应用到模块iframe + var pymjsObj=$("script[src*='/pym.']");//模糊查找 + pymjsObj=pymjsObj.length>0?pymjsObj:$("script[src*='/pym1.']"); + if(pymjsObj.length>0){ + var pymjs=document.createElement("script"); + pymjs.src=pymjsObj[0].src; + pymjs.type="text/javascript"; + pymjs.id=!!pymjsObj[0].id?pymjsObj[0].id:"pymjs"; + ifmHeadlins.push({"pos":"head","scope":"one","link":pymjs}); + pymjs=document.createElement("script"); //pym脚本文件加载后要执行new pym.Child()进行iframe子窗体实例化,便于子窗体和父窗体通讯new pym.Child({ id: '"+_iframe+"' ,polling: 1000}) + var frameid=(_iframe.split('-').length>0?_iframe.split('-')[1]:"1"); + pymjs.text="var t1;function pmchd(){console.log('In the frame "+_iframe+",pym code call is begining; '+(typeof pym!= 'undefined'));if(typeof pym != 'undefined'){pymChild"+frameid+" = new pym.Child({ id: 'pdiv_"+_iframe+"' ,polling: 500});window.clearInterval(t1); }};t1 = window.setInterval(pmchd,5);"; + pymjs.type="text/javascript"; + pymjs.id="pymChild"; + ifmHeadlins.push({"pos":"htmlend","scope":"one","link":pymjs}); + } + // 将hk.js or hk.min.js应用到模块iframe + var hkjsObj=$("script[src*='/hk.']");//模糊查找 + hkjsObj=hkjsObj.length>0?hkjsObj:$("script[src*='/hk1.']"); + if(hkjsObj.length>0){ + var hkjs=document.createElement("script"); + hkjs.src=hkjsObj[0].src; + hkjs.type="text/javascript"; + hkjs.id=!!hkjsObj[0].id?hkjsObj[0].id:"hkjs"; + ifmHeadlins.push({"pos":"head","scope":"one","link":hkjs}); + hkjs=document.createElement("script"); ////hk.js 加载后拦截ajax请求进行转发 + } + } + var crossOrign=openoFrameWork.getDomainURL(ifrm.src); + if( window.location.origin==crossOrign){ //第一层同域处理 + for (i=0;i0){ + var ifmHeadlins2 = new Array(); + for (i=0;i0){ + console.log('跨域访问: 系统将进入跨域访问代理处理流程 '); + dealCrossProxy(childifrms[j].name,childOrign,ifmHeadlins2,flag); + } + } + } + } + }else{ + if(ifmHeadlins.length>0){ + console.log('跨域访问: 系统将进入跨域访问代理处理流程 '); + dealCrossProxy(ifrm.name,crossOrign,ifmHeadlins,flag); + } + } + }, + goToURL:function(url){ + dhByBreadcrumb = true;//全局变量,声明此次事件是由点击面包屑发起的 + var showNav=openoFrameWork.getLocationURLParameter('showNav'); + if(showNav=="false"){//如果不显示菜单,就强制刷新本页 + location.reload(); + }else{ + url="a[name='"+url+"']"; + $(url).click(); + } + }, + goToURLByName:function(name){ + var showNav=openoFrameWork.getLocationURLParameter('showNav'); + if(showNav=="false"){//如果不显示菜单,就强制刷新本页 + location.reload(); + }else{ + url="a[name='"+name+"']"; + $(url).click(); + } + }, + goToURLByID:function(id){ + if(!id){ + return; + } + var showNav=openoFrameWork.getLocationURLParameter('showNav'); + if(showNav=="false"){//如果不显示菜单,就强制刷新本页 + location.reload(); + }else{ + if(id.indexOf("#")<0){ + id="#"+id; + } + $(id).click(); + } + }, + goToPortal:function(id){ + var _url=top.location.href; + console.log(_url); + //_url="/ngict/iui/framework/"; + var url=$.url(_url); + top.location=url.attr("directory")+"uifportal.html#"+id+"/"; + }, + //Category + goToURLByIDAndNewIPPort:function(id,newIPPort,newActionStr){ + //先把NewIPPort对象:newIPPort={menuCategoryID:'vim',ipPortStr:'htpp://10.74.151.123:31180',newTitle:''}缓存到Category数组中, + //menuCategoryID属性是更多菜单上配置的菜单的分类id,; + //ipPortStr属性是该id的菜单要替换的新的ip和端口地址字符串,包括协议部分,比如http://10.74.151.64:21169 + //newTitle属性用于放置新开ip的页面对应到面包屑上的名字,可以为“”,空标识不关注 + _menuCategorys.replace(newIPPort.menuCategoryID,{ipPort:newIPPort.ipPortStr,ipTitle:newIPPort.newTitle});//把当前面包削中的菜单id和该子菜单对应的父菜单关联缓存起来 + if (store) { + store('menuCategoryID', newIPPort.menuCategoryID+"[menuCategoryID]"+newIPPort.ipPortStr+"[menuCategoryID]"+(!!newIPPort.newTitle?newIPPort.newTitle:"")); + } + //这里增加按照newIPPort.menuCategoryID分类加载more菜单的处理逻辑 + //首先根据id找到对应的主菜单菜单项 + var menuitem = this.findMenuItemByMenuId(id); + if(!menuitem||menuitem.length<=0){//主菜单中没有找到,就找more菜单,找到id对应的more菜单项所属的主菜单项 + var mainMenuId = this.getMenuItemId_From_MoreMenuRelation(id); + if( !!mainMenuId&&mainMenuId.length>0 ){//more菜单中找到了id对应的主菜单项id,根据id返回主菜单项 + menuitem = this.findMenuItemByMenuId(mainMenuId); + if(!!menuitem&&menuitem.length>0){ + var more=$("#"+id,$('#pageableDiv')).parent(); + $(".box.boxOperation", $(".carousel-inner")).removeClass("moreButtonSelected"); + more=$('a>div.box',more); + if (more.hasClass('moreButtonSelected') == false){ + more.addClass('moreButtonSelected'); + } + var pagesTags=$('.item.moreButtonsTag'); + if(pagesTags.length>0){ + for(var i=0;i0){ + tags.addClass('active'); + } + } + } + } + } + } + //其次找到的菜单项中newIPPort.menuCategoryID对应的src覆盖breadcrumgroupbuttonsrc属性值, + if(!!menuitem&&menuitem.length>0){ + var mulsrc=menuitem.attr(newIPPort.menuCategoryID+"-multiInsrc"); + if(!!mulsrc){ + menuitem.attr("breadcrumgroupbuttonsrc" ,mulsrc); + getBreadcrumbRightButtons(mulsrc,true); + } + } + if (waittime) { + clearInterval(waittime); + } + waittime = setInterval(function () { + if(moreMenusisLoaded==true){ + clearInterval(waittime); + openoFrameWork.goToURLByIDAndNewAction(id,newActionStr,null); + } + }, 10); + }, + goToURLByIDAndNewAction:function(id,newActionStr,newBrowserPageOption){ + if(!id){ + return; + } + + /*if(id.indexOf("#")<0){ + id="#"+id; + }*/ + var menuitem = this.findMenuItemByMenuId(id); + //处理新开页面情况 + if(newBrowserPageOption){ + var href = ICTFRAME_CONST_DEFAULTPAGE_PATH; + var hash = getLocationHashByMenuId(id); + var newin=window.open(href + newBrowserPageOption.paramStr + hash,newBrowserPageOption.windowTitle); + newin.name=newActionStr;//注意这种传递参数的方法,被打开的页面中需要通过top.name中获取该传递的参数。 + return; + } + //$(window).off('hashchange', loadCurrentHash); + var menuItemID=menuitem?menuitem.attr("id"):""; + if(!!menuItemID&&menuItemID.length>0){ + //menuItemID="#" + menuItemID; + //menuItemID=!!newActionStr?menuItemID:menuItemID+"/no"; + _setLocationHash(menuItemID); + } + var breadcrumbBtnMenuItemParent=""; + if(!menuitem||menuitem.length<=0){//没有找到该菜单,可能是面包削中的,需要额外处理 + menuItemID=id; + if (breadcrumbBtnMenus.contains(menuItemID)) {//有缓存 + breadcrumbBtnMenuItemParent=breadcrumbBtnMenus.items(menuItemID); + menuitem=this.findMenuItemByMenuId(breadcrumbBtnMenuItemParent); + //_breadcrumbSource=true; + } + // else{//在新增的可翻页的更多菜单里面找 + // var pageDiv = $('#pageableDiv'); + // menuitem=$('#' + menuItemID , pageDiv); + // } + if( menuitem && menuitem.length > 0){ + isMoreMenuItemClick = true; + } + } + if(!menuitem||menuitem.length<=0){ + //面包屑和主菜单都没有找到,情况可能是:更多菜单点击打开后,刷新,hash已经更改,但是对应的更多菜单的html没有加载,需要找到更多菜单和主菜单的对应关系 + var mainMenuId = this.getMenuItemId_From_MoreMenuRelation( id ); + if( mainMenuId ){ + menuitem = this.findMenuItemByMenuId(mainMenuId); + } + + } + if (store&&store("globleCurrentBreadcrumb")){ + globleCurrentBreadcrumb=store("globleCurrentBreadcrumb"); + //下面处理下刷新整个页面后从cookie中获取来的最后一次操作的面包屑对应的对应菜单的name属性回写,便于面包屑事件响应能够找到对应的菜单 + var al=$("a",$("
    "+globleCurrentBreadcrumb+"
    ")); + var alink,gal; + for(i=0;i0){ + var panel = $('.zte-theme-panel'); + var navPosOption = $('.nav-pos-direction', panel).val(); + if(navPosOption === openoFrameWork_menu_fmenu){ + var hparentid=menuitem.attr("hparentid"); + var id=menuitem.attr("id"); + var i=0,menuItemH=menuitem; + while (id!=hparentid&&i<20){ + menuItemH=openoFrameWork.findMenuItemByMenuId(hparentid); + hparentid=menuItemH.attr("hparentid"); + id=menuItemH.attr("id"); + i++; + }; + if(!menuItemH.hasClass('active')) + menuItemH.parent().addClass("active"); + } + }else{ + console.log("goToURLByIDAndNewAction():Can't find the menuitem.The menu ID is:"+id+".Please check if the ID or ID cache is correct."); + } + //try{ + var parm=undefined; + if(!!newActionStr&&breadcrumbBtnMenuItemParent&&breadcrumbBtnMenuItemParent.length>0){ + parm={action:newActionStr,breadcrumbBtnMenuItem:menuItemID}; + }else if(!!newActionStr){ + parm={action:newActionStr}; + }else if(breadcrumbBtnMenuItemParent&&breadcrumbBtnMenuItemParent.length>0){ + parm={breadcrumbBtnMenuItem:menuItemID}; + }else if(mainMenuId){ + isMoreMenuItemClick = true; + parm={breadcrumbBtnMenuItem:menuItemID}; + } + //if(breadChangeType){ + // if(!parm){ + // parm = {}; + // } + // parm.breadChangeType = breadChangeType; + //} + if(parm&&parm.action || parm&&parm.breadChangeType) { + _hashSource="dhByInterface"; + } + + if(menuitem&&menuitem.length>0){ + menuitem.one('click',parm,function(e){ //临时一次性的注册一次click事件处理函数,执行完毕会自动删除 + openoFrameWork.dealAtoIframe($(this),e); + //$(window).one('hashchange', loadCurrentHash); + return false; + }); + menuitem.click();//后执行 + } + /*}catch(e){} + finally{ + //$(window).on('hashchange', loadCurrentHash); + }*/ + }, + + getBreadcrumbEle:function(){ + return $('.breadcrumbUl')[0]; + }, + + + findMenuItemByMenuId:function( id ){ + var menuitem=undefined; + var panel = $('.zte-theme-panel'); + var navPosOption = $('.nav-pos-direction', panel).val(); + + var items = undefined; + if (navPosOption === "vertical"){ //从垂直菜单里面找 + items=$("#page-sidebar-menu a[id='"+id+"']"); + }else if(navPosOption === openoFrameWork_menu_horizontal){//从水平菜单里面找 + items=$("#main_hormenu a[id='"+id+"']"); + if(items.length == 0){ + //横菜单没有找到,再在横菜单的子菜单找一次 + items=$("#page-megachild-sidebar-menu a[id='"+id+"']"); + } + }else if(navPosOption === openoFrameWork_menu_fmenu){ + items=$("#f_hormenu a[id='"+id+"']"); + if(items.length == 0){ + //横菜单没有找到,再在竖菜单找一次。 + items=$("#page-f-sidebar-menu a[id='"+id+"']"); + + } + + } + if( items&&items.length == 0 ){ + console.log( 'fmenu alink length is :' + $("#page-f-sidebar-menu a").length ); + console.log( 'cant find menu in sidemenu、megamenu and fmenu , the menu id is ' + id ); + } + if(items&&items.length>0){ + for(var i=0;i0){ + for(var i=0;i 0) { + parm = { + breadcrumbBtnMenuItem : menuItemID + }; + } + if (menuitem && menuitem.length > 0) { + menuitem.one('click', parm, function (e) { //临时一次性的注册一次click事件处理函数,执行完毕会自动删除 + var containerStr = $(this).parentsUntil('.page-container').hasClass('page-sidebar') ? 'page-sidebar' : ""; // + containerStr = $(this).parentsUntil('.header-inner').hasClass('hor-menu') ? 'header' : containerStr; + _isClicked = false; + dealMenuItemGetFocus($(this),e,containerStr); + return false; + }); + menuitem.click(); //后执行 + } + }, + // 处理面包削中的按钮菜单增加的导航连接,显示在iframe中 + openbreadcrumbLink:function(aObject,e) { + var url = aObject.attr("href"); + if(!url||url.length<2) + return; + e.preventDefault(); + dealScrollTo(); + var menuItemID=aObject.attr("id"); + if(!!menuItemID&&menuItemID.length>0){ + _setLocationHash(menuItemID); + _hashSource="dhByInterface"; + } + dealstartPageLoading(); + dealIframe(aObject,e); + }, + getURLParam:function(name){ + var reg = new RegExp("(^|&)" + name.toLowerCase() + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象 + var search =decodeURIComponent(location.search.substring(1)).toLowerCase(); + var r =search.match(reg); //匹配目标参数 + if (r != null) return unescape(r[2]); + return null; //返回参数值 + } + }; +}(); + +//抽取html片段中任意位置的script标签(包括代码是内嵌的情况)逐个运行(不会在单个script加载不到的时候停下来) +function runHtmlScripts(s) { + var div = document.createElement('div'); + div.innerHTML = s; + var scripts = div.getElementsByTagName('script'); + + var currentRunningScriptSrcPath = {}; + $(scripts).each(function() { + var src = this.src; + src = openoFrameWork.handlBaseURL(src); + if (src) { + currentRunningScriptSrcPath[src.substring(src.lastIndexOf("/") + 1)] = src.substring(0, src.lastIndexOf("/") + 1); + $.getScript(src); + } else { + $.globalEval(this.text || this.textContent || this.innerHTML || ''); + } + }); +}; + +function stripHtmlScripts(htmlContent) { + var divContent = document.createElement('div'); + divContent.innerHTML = htmlContent; + var scripts = divContent.getElementsByTagName('script'); + + $(scripts).each(function() { + this.src = openoFrameWork.handlBaseURL(this.src); + this.parentNode.removeChild(this); + }); + return divContent.innerHTML; +}; + +function getsiderBarMenu(url){ + if (url.length<2){ + return; + } + url=openoFrameWork.handlBaseURL(url); + openoFrameWork.startPageLoading();//菜单加载中请稍候.... + var pagesidebar=$('#page-sidebar-menu'); + pagesidebar.empty(); + pagesidebar.append(""); + $.ajax({ + type: "GET", + cache: false, + url: url, + dataType: "html", + success: function (res) { + //去除script标签以后添加到主框架以防止append方法因为加载script标签失败导致后面的代码无法运行 + //res = stripHtmlScripts(res); + var resScriptsSriped = stripHtmlScripts(res); + pagesidebar.append(resScriptsSriped); + runHtmlScripts(res); + + siderBarMenuAuthentication(); + dealMysqlBackupMenu(); + //loadi18n_WebFramework_sideMenu(); + setTimeout(function () { + openoFrameWork.stopPageLoading(); + goToHomePage(); + }, 1000); + }, + error: function (xhr, ajaxOptions, thrownError) { + //$('#page-sidebar-menu').append('');//加载系统菜单失败!;//加载系统菜单失败! + } + }); +}; +var setLayoutValueByCookie = function () { + var panel = $('.zte-theme-panel'); + if (store('layout-option') != undefined) { + $('.layout-option', panel).val(store('layout-option')); + } + if (store('language-option') != undefined) { + $('.language-option', panel).val(store('language-option')); + } + if (store('sidebar-option') != undefined) { + $('.sidebar-option', panel).val(store('sidebar-option')); + } + if (store('header-option') != undefined) { + $('.header-option', panel).val(store('header-option')); + } + if (store('sidebar-pos-option') != undefined) { + $('.sidebar-pos-option', panel).val(store('sidebar-pos-option')); + } + var horMenuLoadTip = $("[class='nav-load-error']", $(".hormenu")); + var sideMenuLoadTip = $("[class='nav-load-error']", $("[class='page-sidebar-menu']")); + // 横竖菜单都无错误提示,都正确加载 + // if ((!horMenuLoadTip || horMenuLoadTip.length <= 0) && (!sideMenuLoadTip || sideMenuLoadTip.length <= 0)) { + // if (store('nav-pos-direction') != undefined) { + // var navPosOption = store('nav-pos-direction'); + // $('.nav-pos-direction', panel).val(navPosOption); + // } else { + $('.nav-pos-direction', panel).val('fmenu'); + // $.ajax({ + // "dataType" : 'json', + // "type" : "GET", + // "async" : false, + // url : FrameConst.REST_GET_FRAME_MENUDIRECTION + "&tmpstamp=" + new Date().getTime(), + // "success" : function (obj) { + // if (obj.value && (obj.value != "")) { + // $('.nav-pos-direction', panel).val(obj.value); + // } + // } + // }); + //} + // } else { + // $('.nav-pos-direction', panel).attr("disabled", true); + // } +}; + + +function iniFMenu() { + var fsidemenu = $('#' + fMenuSiderDivId); + + if (fsidemenu) { + openoFrameWork.startPageLoading(); + + var menuContent = initLeftMenu(); + fsidemenu.empty(); + fsidemenu.append(""); + fsidemenu.append(menuContent); + loadi18n_WebFramework('web-framework-menu-i18n', 'i18n/', 'openo_frame_left_menu_i18n'); + + openoFrameWork.stopPageLoading(); + } +}; + +function goToHomePage(){ + locationhash = openoFrameWork.getLocationHash(); + if(!!locationhash&&locationhash.length>0){//有锚点,直接触发 + var newIPPort=null; + if (store&&store('menuCategoryID')) { + var s=store('menuCategoryID').split('[menuCategoryID]'); + if(s.length>2){ + newIPPort={menuCategoryID:s[0],ipPortStr:s[1],newTitle:s[2]}; + } + } + if(!!newIPPort){ + openoFrameWork.goToURLByIDAndNewIPPort(locationhash,newIPPort,null); + }else{ + openoFrameWork.goToURLByIDAndNewAction(locationhash,null,null); + } + }else{//否则还是模拟点击配置了start类的菜单 + var containerStr = ""; + //var sidermenu = $("[class='page-sidebar-menu']", $("[class='page-sidebar navbar-collapse collapse']")); + var sidermenu = $("#page-sidebar-menu"); + var hormenu = $("#main_hormenu"); + var fhormenu = $('#' + fMenuMegaDivId); + var fhormenusider = $('#page-f-sidebar-menu'); + var startmenu = null; + var navPosOption = $('.nav-pos-direction', panel).val(); + // 侧边栏显示,根据侧边栏CSS选择 + if (navPosOption === "vertical") { + //containerStr=$('.page-sidebar').length>0?'.page-sidebar':""; + startmenu = $('.iframe.start' , sidermenu); + dealStartMenu( startmenu, sidermenu ); + } + // 水平菜单显示,根据水平菜单CSS选择 + else if (navPosOption === "horizontal") { + //containerStr=$('.hor-menu').length>0?'.header':containerStr; + startmenu = $('.iframe.start' , hormenu); + dealStartMenu( startmenu, hormenu ); + + } + //F菜单的恒菜单显示 + else if (navPosOption === openoFrameWork_menu_fmenu) { + //containerStr=$('.hor-menu').length>0?'.header':containerStr; + startmenu = $('.iframe.start' ,fhormenu); + if (startmenu && startmenu.length < 1) { + startmenu = $('.iframe.start' ,fhormenusider); + } + dealStartMenu( startmenu, fhormenu,fhormenusider ); + } + } +}; +var dealStartMenu = function(startmenu , menuContainer,menuContainer2 ){ + var timer =setInterval(function () { + if(startmenu&&startmenu.length>0){ + startmenu.click(); + clearInterval(timer); + }else{ + console.log('the start menu click event is not be triggerd ,so do it repeat!!'); + $('a[operation]', menuContainer).each(function () { + startmenu = $(this); + return false; + }); + if (menuContainer2&&startmenu && startmenu.length < 1) { + $('a[operation]', menuContainer2).each(function () { + startmenu = $(this); + return false; + }); + } + } + }, 100); + handeCtxMenuitem(); + } +// 屏蔽横竖菜单项的右键功能 +function handeCtxMenuitem() { + $(".page-sidebar ul li a").each(function() { + if ($(this).attr("href") && $(this).attr("href") != "javascript:;" && $(this).attr("href") != "#") { + $(this).attr("oncontextmenu", "return false"); + } + }); + $(".hormenu li a").each(function() { + if ($(this).attr("href") && $(this).attr("href") != "javascript:;" && $(this).attr("href") != "#") { + $(this).attr("oncontextmenu", "return false"); + } + }); +} +function initBaseInfo(){ + $("#logout_label").text($.i18n.prop('com_zte_ums_ict_framework_ui_group_logout')); + $("#fullscreen_label").text($.i18n.prop('com_zte_ums_ict_framework_ui_group_fullscreen')); + $("#changePwd_label").text($.i18n.prop('com_zte_ums_ict_framework_ui_changePwd')); + $("#com_zte_ums_ict_framework_moudle_about").text($.i18n.prop('com_zte_ums_ict_framework_moudle_about')); + $("#com_zte_ums_ict_framework_moudle_help").text($.i18n.prop('com_zte_ums_ict_framework_moudle_help')); + $("#zte_menu-toggler").attr("title",$.i18n.prop('com_zte_ums_ict_framework_moudle_menutoggler')); +}; +window.closeModal = function(modalid) { + if(!modalid){ + return; + } + if(modalid.indexOf("#")<0){ + modalid="#"+modalid; + } + $(modalid).modal('hide'); +}; +function getLcsRight(lcsoperations) { + var lcsrights = new Array(); + if (lcsoperations && (lcsoperations.length > 0)) { + // 请求后台license value + //----test data---- + // var testjson = '{"data":[{"id":"mylcs","name":"xxx","value":"false"}]}'; + // var testopt = eval('(' + testjson + ')'); + // var testarray = testopt.data; + //-----end test data--- + var keys = { + "keys" : lcsoperations + }; + var jsonvalues = JSON.stringify(keys); + var data = { + "data" : jsonvalues + }; + var url=FrameConst.REST_GETLICENSEINFO + "?tmpstamp=" + new Date().getTime(); + url=openoFrameWork.handlBaseURL(url); + $.ajax({ + "dataType" : 'json', + "type" : "GET", + "async" : false, + "url" : url, + "data" : data, + //"contentType" : 'application/json; charset=utf-8', + "success" : function (response) { + if (response) { + lcsrights = response.data; + } + }, + "error" : function (XMLHttpRequest, textStatus, errorThrown) { + lcsrights = null; + } + }); + return lcsrights; + } + return lcsrights; +} +// 侧边栏菜单鉴权 +function siderBarMenuAuthentication() { + // license 鉴权 + var menuids = new Array(); + var lcsoperations = new Array(); + //从页面DOM取得菜单license项。 + $('a[licenseid]', $('.page-sidebar-menu')).each(function () { + var licenseid = $(this).attr("licenseid"); + if (licenseid) { + lcsoperations.push(licenseid); + var id = $(this).attr("id"); + menuids.push(id); + } + }); + var lcsrights = getLcsRight(lcsoperations);// 取得license数据。 + if (lcsrights && (lcsrights.length == menuids.length)) { + // 根据后台license值判断所在菜单项是否显示 + for (var i = 0; i < menuids.length; i++) { + var id = menuids[i]; + var lcskey = lcsoperations[i]; + var lcsitem = lcsrights[i]; + // 菜单项如果配了licenseid, 并且不是true字符串, 则移除菜单项 + if (lcsitem.value != "True") { + $('#'+id, $('.page-sidebar-menu')).parent().remove(); + } + } + } + var operations = new Array(); + $('a[operation]', $('.page-sidebar-menu')).each(function () { + var operation = $(this).attr("operation"); + if (operation) { + operations.push(operation); + } + }); // 遍历菜单项,提取所有的操作码 + var rightObj = getAllOperCodeRights(operations); // 对操作码进行鉴权判断 + $('a[operation]', $('.page-sidebar-menu')).each(function () { + var operation = $(this).attr("operation"); + if (operation) { + if (!hasRight(operation, rightObj)) { + $(this).parent("li").remove(); // 删除没有权限的菜单项 + } + } + }); + rebuildSiderBarMenu(); +}; +// 横向菜单栏鉴权 +function horMenuAuthentication( horMenuId ) { + // license 鉴权 + var menuids = new Array(); + var lcsoperations = new Array(); + //从页面DOM取得菜单license项。 + $('a[licenseid]', $('#'+ horMenuId)).each(function () { + var licenseid = $(this).attr("licenseid"); + if (licenseid) { + lcsoperations.push(licenseid); + var id = $(this).attr("id"); + menuids.push(id); + } + }); + var lcsrights = getLcsRight(lcsoperations);// 取得license数据。 + if (lcsrights && (lcsrights.length == menuids.length)) { + // 根据后台license值判断所在菜单项是否显示 + for (var i = 0; i < menuids.length; i++) { + var id = menuids[i]; + var lcskey = lcsoperations[i]; + var lcsitem = lcsrights[i]; + // 菜单项如果配了licenseid, 并且不是true字符串, 则移除菜单项 + if (lcsitem.value != "True") { + $('#'+id, $('#'+ horMenuId)).parent().remove(); + } + } + } + var operations = new Array(); + $('a[operation]', $('#'+ horMenuId)).each(function () { + var operation = $(this).attr("operation"); + if (operation) { + operations.push(operation); + } + }); // 遍历菜单项,提取所有的操作码 + var rightObj = getAllOperCodeRights(operations); // 对操作码进行鉴权判断 + $('a[operation]', $('#'+ horMenuId)).each(function () { + var operation = $(this).attr("operation"); + if (operation) { + if (!hasRight(operation, rightObj)) { + $(this).parent("li").remove(); // 删除没有权限的菜单项 + } + } + }); + rebuildHorMenu(); +}; + +// “更多操作”分组按钮鉴权 +function groupButtonAuthentication() { + // license 鉴权 + var menuids = new Array(); + var lcsoperations = new Array(); + //从页面DOM取得菜单license项。 + $('a[licenseid]', $('.more-botton-zone > li.btn-group')).each(function () { + var licenseid = $(this).attr("licenseid"); + if (licenseid) { + lcsoperations.push(licenseid); + var id = $(this).attr("id"); + menuids.push(id); + } + }); + var lcsrights = getLcsRight(lcsoperations);// 取得license数据。 + if (lcsrights && (lcsrights.length == menuids.length)) { + // 根据后台license值判断所在菜单项是否显示 + for (var i = 0; i < menuids.length; i++) { + var id = menuids[i]; + var lcskey = lcsoperations[i]; + var lcsitem = lcsrights[i]; + // 菜单项如果配了licenseid, 并且不是true字符串, 则移除菜单项 + if (lcsitem.value != "True") { + $('#'+id, $('.more-botton-zone > li.btn-group')).parent().remove(); + } + } + } + // 增加mysql判断,如果数据库为mysql,去掉基础数据备份功能菜单项 + var dbType = openoFrameWork_conf.dbType; + if (dbType == "mysql") { + $("#uep-ict-backup-baseDataBack",$('.more-botton-zone > li.btn-group')).parent().remove(); + } + var operations = new Array(); + $('a[operation]', $('.more-botton-zone > li.btn-group')).each(function () { + var operation = $(this).attr("operation"); + if (operation) { + operations.push(operation); + } + }); // 遍历菜单项,提取所有的操作码 + var rightObj = getAllOperCodeRights(operations); // 对操作码进行鉴权判断 + $('a[operation]', $('.more-botton-zone > li.btn-group')).each(function () { + var operation = $(this).attr("operation"); + if (operation) { + if (!hasRight(operation, rightObj)) { + $(this).parent("li").remove(); // 删除没有权限的菜单项 + } + } + }); + // 如果“更多菜单”下没有子菜单了,则删除整个“更多菜单”下拉框。 + if ($('li > a', $('.more-botton-zone > li.btn-group')).length == 0) { + $('.more-botton-zone > li.btn-group').remove(); + } +}; +// 删除没有子菜单的一级菜单,查看新菜单是否配了登录默认页面,如没有则指定第一个有权限的菜单作为登录后默认页面 +function rebuildSiderBarMenu() { + if ($('a.start').length == 0) { + $('li > a[href!="javascript:;"]', $('.page-sidebar-menu')).eq(0).addClass("start"); + } + $('ul.sub-menu', $('.page-sidebar-menu')).each(function () { + if ($(this).has('li').length == 0) { + $(this).parent("li").remove(); + } + }); +}; +// 删除没有子菜单的一级菜单,查看新菜单是否配了登录默认页面,如没有则指定第一个有权限的菜单作为登录后默认页面 +function rebuildHorMenu() { + if ($('a.start').length == 0) { + $('li > a[href!="#"]', $('#main_hormenu')).eq(0).addClass("start"); + } + $('ul.mega-menu-submenu', $('#main_hormenu')).each(function () { + if ($(this).has('li > a').length == 0) { + $(this).remove(); // 删空的分组列 + } + }); + //删除增加的分组div + $('div.zteDivWidth', $('#main_hormenu')).each(function () { + if ($(this).has('ul').length == 0) { + $(this).remove(); // 删空的分组列 + } + }); + $('ul.dropdown-menu', $('#main_hormenu')).each(function () { + if ($(this).has('ul').length == 0) { + $(this).parent("li").remove(); // 删空的一级菜单栏 + } + }); + $('li.divider', $('#main_hormenu')).each(function () { + if ($(this).next().hasClass('divider')) { + $(this).remove(); // 连续出现分隔线则删除一个 + } + }); + $('li.divider', $('#main_hormenu')).each(function () { + if ($(this).next().length == 0) { + $(this).remove(); // 如果分隔线在最后一行,则删除之 + } + }); +} +//获取页面菜单栏所有的操作码权限 +function getAllOperCodeRights(operations) { + var rights = new Array(); + if( operations && operations.length > 0 ){ + var data = { + "operations" : operations + }; + var sendData = JSON.stringify(data); + var url=FrameConst.REST_CHECKRIGHT + "?data=" + sendData + "&tmpstamp=" + new Date().getTime(); + url=openoFrameWork.handlBaseURL(url); + $.ajax({ + "dataType" : 'json', + "type" : "GET", + "async" : false, + "url" : url, + "data" : null, + //"contentType" : 'application/json; charset=utf-8', + "success" : function (response) { + rights = response.value; + }, + "error" : function (XMLHttpRequest, textStatus, errorThrown) { + if (XMLHttpRequest.status == 401) { + window.location.replace("login.html"); + } else { + console.log('Communication Error!'); + } + } + }); + } + return { + opCodes : operations, + rights : rights + }; +}; +// 判断操作码是否有权限 +function hasRight(opCode, rightObj) { + for (var i = 0; i < rightObj.opCodes.length; i++) { + if (rightObj.opCodes[i] == opCode) { + return (rightObj.rights[i] == true); + } + } + return false; +}; +// 处理mysql环境下备份菜单的合并问题 +function dealMysqlBackupMenu() { + var dbType = openoFrameWork_conf.dbType; + if (dbType !== undefined && dbType !== "mysql") { + return; + } + var sidermenu = $("[class='page-sidebar-menu']"); + var hormenu = $(".hormenu"); + //这段代码先这么写,html的位置不一定正确,如果后面位置不一致,再修改。 + if (sidermenu.length > 0 && $('#uep-ict-backup-dataBackup').length > 0) { + $('#uep-ict-backup-dataBackup', sidermenu).attr("breadcrumGroupButtonSrc", ICTFRAME_CONST_DATABACKUP_PATH); + } + if (hormenu.length > 0 && $('#uep-ict-backup-dataBackup').length > 0) { + $('#uep-ict-backup-dataBackup', hormenu).attr("breadcrumGroupButtonSrc", ICTFRAME_CONST_DATABACKUP_PATH); + $('#uep-ict-backup-dataBackup').parent('li').attr('style', 'display:block'); + $('#uep-ict-backup-allDbStructBackup').parent('li').attr('style', 'display:none'); + $('#uep-ict-backup-baseDataBack').parent('li').attr('style', 'display:none'); + } +}; +// 浏览器缩小后导航栏隐藏的情况下点击navbar-toggle显示菜单的前置工作, +// 浏览器缩小后导航栏隐藏的情况下点击navbar-toggle显示菜单的前置工作, +function dealMavToggle(navtoggle) { + var sidermenu = $("#page-sidebar-menu"); + var hormenu = $("#main_hormenu"); + var panel = $(".zte-theme-panel"); + var siderbarpos = $(".nav-pos-direction", panel).val() + if ("hidden" == $(navtoggle).attr("navtoggledispattr")) { + $(navtoggle).attr("navtoggledispattr", "display"); + sidermenu.css('display','block');//侧边栏显示 + hormenu.css("display", "none");//隐藏水平菜单栏 + } else { + $(navtoggle).attr("navtoggledispattr", "hidden"); + sidermenu.css('display','none');//侧边栏隐藏 + hormenu.css("display", "none"); + } +}; diff --git a/openo-portal/portal-common/src/main/webapp/common/js/core/pym.min.js b/openo-portal/portal-common/src/main/webapp/common/js/core/pym.min.js index 78b2f513..937c6eac 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/core/pym.min.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/core/pym.min.js @@ -1,16 +1,16 @@ -/* - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -(function(a){if(typeof define==="function"&&define.amd){define("pym",[],a)}else{if(typeof module!=="undefined"&&module.exports){module.exports=a()}else{window.pym=a.call(this)}}window.pym=a.call(this)})(function(){var a="xPYMx";function e(){var k,i;if(window.innerHeight&&window.scrollMaxY){k=window.innerWidth+window.scrollMaxX;i=window.innerHeight+window.scrollMaxY}else{if(document.body.scrollHeight>document.body.offsetHeight){k=document.body.scrollWidth;i=document.body.scrollHeight}else{k=document.body.offsetWidth;i=document.body.offsetHeight}}var j,l;if(self.innerHeight){if(document.documentElement.clientWidth){j=document.documentElement.clientWidth}else{j=self.innerWidth}l=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){j=document.documentElement.clientWidth;l=document.documentElement.clientHeight}else{if(document.body){j=document.body.clientWidth;l=document.body.clientHeight}}}if(i-1){q=this.url.substring(n,this.url.length);this.url=this.url.substring(0,n)}if(this.url.indexOf("?")<0){this.url+="?"}else{this.url+="&"}this.iframe.src=this.url.trim().indexOf("javascript:")>=0?"":this.url+"initialWidth="+o+"&childId="+this.id;"&parentUrl="+encodeURIComponent(window.location.href)+q;this.iframe.setAttribute("width","100%");this.iframe.setAttribute("scrolling","no");this.iframe.setAttribute("marginheight","0");this.iframe.setAttribute("frameborder","0");this.el.appendChild(this.iframe);var p=this;window.addEventListener("resize",this._onResize)};this._onResize=function(){this.sendWidth()}.bind(this);this._fire=function(o,p){if(o in this.messageHandlers){for(var n=0;n0&&this.childpageType==="isc"){console.log("parent window detect that the child iframe page loaded smartclient,the iframe height will ignore the child's Height change message;");if(this.minHeightheight){m=l.oldHeight-height}else{m=height-l.oldHeight}if(m<=70){return}if(l.oldHeight!=height){l.oldHeight=height;console.log("child iframe id="+l.id+" sedHeight:"+height);l.sendMessage("height",height)}}.bind(this);this.scrollParentTo=function(m){this.sendMessage("navigateTo","#"+m)};this.navigateParentTo=function(m){this.sendMessage("navigateTo",m)};this.id=c("childId")||i.id;this.messageRegex=new RegExp("^pym"+a+this.id+a+"(\\S+)"+a+"(.+)$");var k=parseInt(c("initialWidth"));this.parentUrl=c("parentUrl");this.onMessage("width",this._onWidthMessage);for(var j in i){this.settings[j]=i[j]}var l=this;window.addEventListener("message",this._processMessage,false);if(this.settings.renderCallback){this.settings.renderCallback(k)}this.sendHeight();if(this.settings.polling){window.setInterval(this.sendHeight,this.settings.polling)}return this};d();return g}); +/* + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +(function(a){if(typeof define==="function"&&define.amd){define("pym",[],a)}else{if(typeof module!=="undefined"&&module.exports){module.exports=a()}else{window.pym=a.call(this)}}window.pym=a.call(this)})(function(){var a="xPYMx";function e(){var k,i;if(window.innerHeight&&window.scrollMaxY){k=window.innerWidth+window.scrollMaxX;i=window.innerHeight+window.scrollMaxY}else{if(document.body.scrollHeight>document.body.offsetHeight){k=document.body.scrollWidth;i=document.body.scrollHeight}else{k=document.body.offsetWidth;i=document.body.offsetHeight}}var j,l;if(self.innerHeight){if(document.documentElement.clientWidth){j=document.documentElement.clientWidth}else{j=self.innerWidth}l=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){j=document.documentElement.clientWidth;l=document.documentElement.clientHeight}else{if(document.body){j=document.body.clientWidth;l=document.body.clientHeight}}}if(i-1){q=this.url.substring(n,this.url.length);this.url=this.url.substring(0,n)}if(this.url.indexOf("?")<0){this.url+="?"}else{this.url+="&"}this.iframe.src=this.url.trim().indexOf("javascript:")>=0?"":this.url+"initialWidth="+o+"&childId="+this.id;"&parentUrl="+encodeURIComponent(window.location.href)+q;this.iframe.setAttribute("width","100%");this.iframe.setAttribute("scrolling","no");this.iframe.setAttribute("marginheight","0");this.iframe.setAttribute("frameborder","0");this.el.appendChild(this.iframe);var p=this;window.addEventListener("resize",this._onResize)};this._onResize=function(){this.sendWidth()}.bind(this);this._fire=function(o,p){if(o in this.messageHandlers){for(var n=0;n0&&this.childpageType==="isc"){console.log("parent window detect that the child iframe page loaded smartclient,the iframe height will ignore the child's Height change message;");if(this.minHeightheight){m=l.oldHeight-height}else{m=height-l.oldHeight}if(m<=70){return}if(l.oldHeight!=height){l.oldHeight=height;console.log("child iframe id="+l.id+" sedHeight:"+height);l.sendMessage("height",height)}}.bind(this);this.scrollParentTo=function(m){this.sendMessage("navigateTo","#"+m)};this.navigateParentTo=function(m){this.sendMessage("navigateTo",m)};this.id=c("childId")||i.id;this.messageRegex=new RegExp("^pym"+a+this.id+a+"(\\S+)"+a+"(.+)$");var k=parseInt(c("initialWidth"));this.parentUrl=c("parentUrl");this.onMessage("width",this._onWidthMessage);for(var j in i){this.settings[j]=i[j]}var l=this;window.addEventListener("message",this._processMessage,false);if(this.settings.renderCallback){this.settings.renderCallback(k)}this.sendHeight();if(this.settings.polling){window.setInterval(this.sendHeight,this.settings.polling)}return this};d();return g}); diff --git a/openo-portal/portal-common/src/main/webapp/common/js/fm_light.js b/openo-portal/portal-common/src/main/webapp/common/js/fm_light.js index e31224c5..222deedc 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/fm_light.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/fm_light.js @@ -1,169 +1,169 @@ -/* - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -(function($) { - String.prototype.trim = function() { - return this.replace(/(^\s*)|(\s*$)/g, ""); - }; - String.prototype.format=function() { - if(arguments.length==0) return this; - for(var s=this, i=0; i0&&$("#header_notification_bar").children().length>0){ - // 对告警灯进行鉴权,如果有当前告警权限,显示告警灯,否则返回? - var operations = new Array(); - operations.push("common.fm.currentview"); - var rightObj = getAllOperCodeRights(operations); - var operation = $("#uep-ict-fm-currentAlarm").attr("operation");; - if (!hasRight(operation, rightObj)) { - $('#header_notification_bar').html("
          
    "); - return; - } - // get total alarm count - $("#hd_heighestAlarmcount_label").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_none_label')); - $("#hd_alarmcount_total_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_total_label')); - $("#hd_alarmcount_critical_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_critical_label')); - $("#hd_alarmcount_major_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_major_label')); - $("#hd_alarmcount_minor_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_minor_label')); - $("#hd_alarmcount_warning_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_warning_label')); - - function alarmLight(alarmcount){ - if (!alarmcount || !alarmcount.unAckedCount || (alarmcount.unAckedCount.length < 4) || !alarmcount.ackedCount || (alarmcount.ackedCount.length < 4)) { - return; - } - var criticalNum = alarmcount.unAckedCount[0] + alarmcount.ackedCount[0]; - var majorNum = alarmcount.unAckedCount[1] + alarmcount.ackedCount[1]; - var minorNum = alarmcount.unAckedCount[2] + alarmcount.ackedCount[2]; - var warningNum = alarmcount.unAckedCount[3] + alarmcount.ackedCount[3]; - var totalNum= criticalNum+ majorNum+ minorNum+ warningNum; - var heighestAlarmcount=0; - var hd_heighestAlarmcount_label=""; - if(criticalNum>0){ - heighestAlarmcount =criticalNum; - hd_heighestAlarmcount_label=$.i18n.prop('com_zte_ums_ict_alarmcount_critical_label'); - // $("#hd_heighestAlarmcount_li").attr("class",$("#hd_alarmcount_critical_li").attr("class")); - }else if(majorNum>0){ - heighestAlarmcount =majorNum; - hd_heighestAlarmcount_label=$.i18n.prop('com_zte_ums_ict_alarmcount_major_label'); - }else if(minorNum>0){ - heighestAlarmcount =minorNum; - hd_heighestAlarmcount_label=$.i18n.prop('com_zte_ums_ict_alarmcount_minor_label'); - }else if(warningNum>0){ - heighestAlarmcount =warningNum; - hd_heighestAlarmcount_label=$.i18n.prop('com_zte_ums_ict_alarmcount_warning_label'); - }else{ - heighestAlarmcount =0; - hd_heighestAlarmcount_label=$.i18n.prop('com_zte_ums_ict_alarmcount_none_label'); - } - - $("#hd_heighestAlarmcount_value").text(heighestAlarmcount); - $("#hd_alarmcount_total_value").text(totalNum); - $("#hd_alarmcount_critical_value").text(criticalNum); - $("#hd_alarmcount_major_value").text(majorNum); - $("#hd_alarmcount_minor_value").text(minorNum); - $("#hd_alarmcount_warning_value").text(warningNum); - - $("#hd_heighestAlarmcount_value").attr("title",hd_heighestAlarmcount_label.format(heighestAlarmcount )); - $("#hd_alarmcount_total_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_total_label').format(totalNum )); - $("#hd_alarmcount_critical_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_critical_label').format( criticalNum )); - $("#hd_alarmcount_major_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_major_label').format(majorNum)); - $("#hd_alarmcount_minor_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_minor_label').format(minorNum)); - $("#hd_alarmcount_warning_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_warning_label').format(warningNum)); - - $("#hd_alarmcount_critical_text").text($.i18n.prop('com_zte_ums_ict_alarmcount_critical_text')); - $("#hd_alarmcount_major_text").text($.i18n.prop('com_zte_ums_ict_alarmcount_major_text')); - $("#hd_alarmcount_minor_text").text($.i18n.prop('com_zte_ums_ict_alarmcount_minor_text')); - $("#hd_alarmcount_warning_text").text($.i18n.prop('com_zte_ums_ict_alarmcount_warning_text')); - - $("#hd_alarmcount_total_before_text").text($.i18n.prop('com_zte_ums_ict_alarmcount_total_before_text')); - $("#hd_alarmcount_total_after_text").text($.i18n.prop('com_zte_ums_ict_alarmcount_total_after_text')); - $("#header_notification_bar").css('display','block'); - } - function queryAlarmTotalCount() { - $.getJSON("/web/rest/web/fm/count/total", function(data) { - //var alarmcount = $.parseJSON(data); - alarmLight(data); - if($("#header_notification_bar")&&$("#header_notification_bar").length>0&&$("#header_notification_bar").children().length>0){ - registerAlarmTotalCountToCometd(); - } - }) - } - if($("#header_notification_bar")&&$("#header_notification_bar").length>0&&$("#header_notification_bar").children().length>0){ - queryAlarmTotalCount(); - } - var registerAlarmTotalCountToCometd = function () { - var self = this; - var cometd = $.cometd; - var cometURL = location.protocol + "//" + location.host + "/web/cometd"; - cometd.configure({ - url: cometURL, - logLevel: 'debug' - }); - cometd.addListener('/meta/handshake', function (handshake){ - if (handshake.successful === true) { - cometd.batch(function () { - cometd.subscribe('/alarm/usercount', function (message) { - var alarmcount =message.data; - alarmLight(alarmcount); - }) - }) - } - }); - cometd.handshake(); - }; - - // if($("#header_notification_bar")&&$("#header_notification_bar").length>0&&$("#header_notification_bar").children().length>0){ - // registerAlarmTotalCountToCometd(); - // } - //setInterval(queryAlarmTotalCount, 30 * 1000); - } - } - else if(base){ - //$("#header_notification_bar").hide(); - //$('#header_notification_bar').empty(); - $('#header_notification_bar').html("
          
    "); - } - }); - }catch(e){} -})(jQuery); +/* + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +(function($) { + String.prototype.trim = function() { + return this.replace(/(^\s*)|(\s*$)/g, ""); + }; + String.prototype.format=function() { + if(arguments.length==0) return this; + for(var s=this, i=0; i0&&$("#header_notification_bar").children().length>0){ + // 对告警灯进行鉴权,如果有当前告警权限,显示告警灯,否则返回? + var operations = new Array(); + operations.push("common.fm.currentview"); + var rightObj = getAllOperCodeRights(operations); + var operation = $("#uep-ict-fm-currentAlarm").attr("operation");; + if (!hasRight(operation, rightObj)) { + $('#header_notification_bar').html("
          
    "); + return; + } + // get total alarm count + $("#hd_heighestAlarmcount_label").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_none_label')); + $("#hd_alarmcount_total_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_total_label')); + $("#hd_alarmcount_critical_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_critical_label')); + $("#hd_alarmcount_major_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_major_label')); + $("#hd_alarmcount_minor_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_minor_label')); + $("#hd_alarmcount_warning_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_warning_label')); + + function alarmLight(alarmcount){ + if (!alarmcount || !alarmcount.unAckedCount || (alarmcount.unAckedCount.length < 4) || !alarmcount.ackedCount || (alarmcount.ackedCount.length < 4)) { + return; + } + var criticalNum = alarmcount.unAckedCount[0] + alarmcount.ackedCount[0]; + var majorNum = alarmcount.unAckedCount[1] + alarmcount.ackedCount[1]; + var minorNum = alarmcount.unAckedCount[2] + alarmcount.ackedCount[2]; + var warningNum = alarmcount.unAckedCount[3] + alarmcount.ackedCount[3]; + var totalNum= criticalNum+ majorNum+ minorNum+ warningNum; + var heighestAlarmcount=0; + var hd_heighestAlarmcount_label=""; + if(criticalNum>0){ + heighestAlarmcount =criticalNum; + hd_heighestAlarmcount_label=$.i18n.prop('com_zte_ums_ict_alarmcount_critical_label'); + // $("#hd_heighestAlarmcount_li").attr("class",$("#hd_alarmcount_critical_li").attr("class")); + }else if(majorNum>0){ + heighestAlarmcount =majorNum; + hd_heighestAlarmcount_label=$.i18n.prop('com_zte_ums_ict_alarmcount_major_label'); + }else if(minorNum>0){ + heighestAlarmcount =minorNum; + hd_heighestAlarmcount_label=$.i18n.prop('com_zte_ums_ict_alarmcount_minor_label'); + }else if(warningNum>0){ + heighestAlarmcount =warningNum; + hd_heighestAlarmcount_label=$.i18n.prop('com_zte_ums_ict_alarmcount_warning_label'); + }else{ + heighestAlarmcount =0; + hd_heighestAlarmcount_label=$.i18n.prop('com_zte_ums_ict_alarmcount_none_label'); + } + + $("#hd_heighestAlarmcount_value").text(heighestAlarmcount); + $("#hd_alarmcount_total_value").text(totalNum); + $("#hd_alarmcount_critical_value").text(criticalNum); + $("#hd_alarmcount_major_value").text(majorNum); + $("#hd_alarmcount_minor_value").text(minorNum); + $("#hd_alarmcount_warning_value").text(warningNum); + + $("#hd_heighestAlarmcount_value").attr("title",hd_heighestAlarmcount_label.format(heighestAlarmcount )); + $("#hd_alarmcount_total_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_total_label').format(totalNum )); + $("#hd_alarmcount_critical_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_critical_label').format( criticalNum )); + $("#hd_alarmcount_major_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_major_label').format(majorNum)); + $("#hd_alarmcount_minor_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_minor_label').format(minorNum)); + $("#hd_alarmcount_warning_value").attr("title",$.i18n.prop('com_zte_ums_ict_alarmcount_warning_label').format(warningNum)); + + $("#hd_alarmcount_critical_text").text($.i18n.prop('com_zte_ums_ict_alarmcount_critical_text')); + $("#hd_alarmcount_major_text").text($.i18n.prop('com_zte_ums_ict_alarmcount_major_text')); + $("#hd_alarmcount_minor_text").text($.i18n.prop('com_zte_ums_ict_alarmcount_minor_text')); + $("#hd_alarmcount_warning_text").text($.i18n.prop('com_zte_ums_ict_alarmcount_warning_text')); + + $("#hd_alarmcount_total_before_text").text($.i18n.prop('com_zte_ums_ict_alarmcount_total_before_text')); + $("#hd_alarmcount_total_after_text").text($.i18n.prop('com_zte_ums_ict_alarmcount_total_after_text')); + $("#header_notification_bar").css('display','block'); + } + function queryAlarmTotalCount() { + $.getJSON("/web/rest/web/fm/count/total", function(data) { + //var alarmcount = $.parseJSON(data); + alarmLight(data); + if($("#header_notification_bar")&&$("#header_notification_bar").length>0&&$("#header_notification_bar").children().length>0){ + registerAlarmTotalCountToCometd(); + } + }) + } + if($("#header_notification_bar")&&$("#header_notification_bar").length>0&&$("#header_notification_bar").children().length>0){ + queryAlarmTotalCount(); + } + var registerAlarmTotalCountToCometd = function () { + var self = this; + var cometd = $.cometd; + var cometURL = location.protocol + "//" + location.host + "/web/cometd"; + cometd.configure({ + url: cometURL, + logLevel: 'debug' + }); + cometd.addListener('/meta/handshake', function (handshake){ + if (handshake.successful === true) { + cometd.batch(function () { + cometd.subscribe('/alarm/usercount', function (message) { + var alarmcount =message.data; + alarmLight(alarmcount); + }) + }) + } + }); + cometd.handshake(); + }; + + // if($("#header_notification_bar")&&$("#header_notification_bar").length>0&&$("#header_notification_bar").children().length>0){ + // registerAlarmTotalCountToCometd(); + // } + //setInterval(queryAlarmTotalCount, 30 * 1000); + } + } + else if(base){ + //$("#header_notification_bar").hide(); + //$('#header_notification_bar').empty(); + $('#header_notification_bar').html("
          
    "); + } + }); + }catch(e){} +})(jQuery); diff --git a/openo-portal/portal-common/src/main/webapp/common/js/international/loadi18n.js b/openo-portal/portal-common/src/main/webapp/common/js/international/loadi18n.js index e34794e3..4792b374 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/international/loadi18n.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/international/loadi18n.js @@ -1,52 +1,52 @@ -/* - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -var lang = 'en-US'; - -function loadProperties(propertiesFileName, propertiesFilePath , name_i18n) { - jQuery.i18n.properties({ - language:lang, - name:propertiesFileName, - path:propertiesFilePath, - mode:'map', - callback: function() { - var i18nItems = $('[name_i18n='+ name_i18n + ']'); - for (var i = 0; i < i18nItems.length; i++) { - var $item = $(i18nItems.eq(i)); - var itemId = $item.attr('id'); - var itemValue = $.i18n.prop(itemId); - if (itemValue.indexOf(';') > 0) { - itemValue = itemValue.replace(';', ''); - } - if (/[\'\"]/.test(itemValue)) { - itemValue = itemValue.replace(/\"/g,''); - itemValue = itemValue.replace(/\'/g,''); - } - if (typeof($item.attr("title")) != "undefined") { - $item.attr("title", itemValue); - } else if (typeof($item.attr("placeholder")) != "undefined") { - $item.attr("placeholder", itemValue); - } else { - $item.text(itemValue); - } - } - } - }); -} - -function loadi18n_WebFramework(propertiesFileName, propertiesFilePath, name_i18n) { - loadProperties(propertiesFileName, propertiesFilePath, name_i18n); -} - +/* + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +var lang = 'en-US'; + +function loadProperties(propertiesFileName, propertiesFilePath , name_i18n) { + jQuery.i18n.properties({ + language:lang, + name:propertiesFileName, + path:propertiesFilePath, + mode:'map', + callback: function() { + var i18nItems = $('[name_i18n='+ name_i18n + ']'); + for (var i = 0; i < i18nItems.length; i++) { + var $item = $(i18nItems.eq(i)); + var itemId = $item.attr('id'); + var itemValue = $.i18n.prop(itemId); + if (itemValue.indexOf(';') > 0) { + itemValue = itemValue.replace(';', ''); + } + if (/[\'\"]/.test(itemValue)) { + itemValue = itemValue.replace(/\"/g,''); + itemValue = itemValue.replace(/\'/g,''); + } + if (typeof($item.attr("title")) != "undefined") { + $item.attr("title", itemValue); + } else if (typeof($item.attr("placeholder")) != "undefined") { + $item.attr("placeholder", itemValue); + } else { + $item.text(itemValue); + } + } + } + }); +} + +function loadi18n_WebFramework(propertiesFileName, propertiesFilePath, name_i18n) { + loadProperties(propertiesFileName, propertiesFilePath, name_i18n); +} + diff --git a/openo-portal/portal-common/src/main/webapp/common/js/json2.js b/openo-portal/portal-common/src/main/webapp/common/js/json2.js index a281d22c..a51a0bcd 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/json2.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/json2.js @@ -1,341 +1,341 @@ -/* - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -if (typeof JSON !== 'object') { - JSON = {}; -} - -(function () { - 'use strict'; - - function f(n) { - // Format integers to have at least two digits. - return n < 10 ? '0' + n : n; - } - - if (typeof Date.prototype.toJSON !== 'function') { - - Date.prototype.toJSON = function (key) { - - return isFinite(this.valueOf()) - ? this.getUTCFullYear() + '-' + - f(this.getUTCMonth() + 1) + '-' + - f(this.getUTCDate()) + 'T' + - f(this.getUTCHours()) + ':' + - f(this.getUTCMinutes()) + ':' + - f(this.getUTCSeconds()) + 'Z' - : null; - }; - - String.prototype.toJSON = - Number.prototype.toJSON = - Boolean.prototype.toJSON = function (key) { - return this.valueOf(); - }; - } - - var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, - escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, - gap, - indent, - meta = { // table of character substitutions - '\b': '\\b', - '\t': '\\t', - '\n': '\\n', - '\f': '\\f', - '\r': '\\r', - '"' : '\\"', - '\\': '\\\\' - }, - rep; - - - function quote(string) { - -// If the string contains no control characters, no quote characters, and no -// backslash characters, then we can safely slap some quotes around it. -// Otherwise we must also replace the offending characters with safe escape -// sequences. - - escapable.lastIndex = 0; - return escapable.test(string) ? '"' + string.replace(escapable, function (a) { - var c = meta[a]; - return typeof c === 'string' - ? c - : '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); - }) + '"' : '"' + string + '"'; - } - - - function str(key, holder) { - -// Produce a string from holder[key]. - - var i, // The loop counter. - k, // The member key. - v, // The member value. - length, - mind = gap, - partial, - value = holder[key]; - -// If the value has a toJSON method, call it to obtain a replacement value. - - if (value && typeof value === 'object' && - typeof value.toJSON === 'function') { - value = value.toJSON(key); - } - -// If we were called with a replacer function, then call the replacer to -// obtain a replacement value. - - if (typeof rep === 'function') { - value = rep.call(holder, key, value); - } - -// What happens next depends on the value's type. - - switch (typeof value) { - case 'string': - return quote(value); - - case 'number': - -// JSON numbers must be finite. Encode non-finite numbers as null. - - return isFinite(value) ? String(value) : 'null'; - - case 'boolean': - case 'null': - -// If the value is a boolean or null, convert it to a string. Note: -// typeof null does not produce 'null'. The case is included here in -// the remote chance that this gets fixed someday. - - return String(value); - -// If the type is 'object', we might be dealing with an object or an array or -// null. - - case 'object': - -// Due to a specification blunder in ECMAScript, typeof null is 'object', -// so watch out for that case. - - if (!value) { - return 'null'; - } - -// Make an array to hold the partial results of stringifying this object value. - - gap += indent; - partial = []; - -// Is the value an array? - - if (Object.prototype.toString.apply(value) === '[object Array]') { - -// The value is an array. Stringify every element. Use null as a placeholder -// for non-JSON values. - - length = value.length; - for (i = 0; i < length; i += 1) { - partial[i] = str(i, value) || 'null'; - } - -// Join all of the elements together, separated with commas, and wrap them in -// brackets. - - v = partial.length === 0 - ? '[]' - : gap - ? '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']' - : '[' + partial.join(',') + ']'; - gap = mind; - return v; - } - -// If the replacer is an array, use it to select the members to be stringified. - - if (rep && typeof rep === 'object') { - length = rep.length; - for (i = 0; i < length; i += 1) { - if (typeof rep[i] === 'string') { - k = rep[i]; - v = str(k, value); - if (v) { - partial.push(quote(k) + (gap ? ': ' : ':') + v); - } - } - } - } else { - -// Otherwise, iterate through all of the keys in the object. - - for (k in value) { - if (Object.prototype.hasOwnProperty.call(value, k)) { - v = str(k, value); - if (v) { - partial.push(quote(k) + (gap ? ': ' : ':') + v); - } - } - } - } - -// Join all of the member texts together, separated with commas, -// and wrap them in braces. - - v = partial.length === 0 - ? '{}' - : gap - ? '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}' - : '{' + partial.join(',') + '}'; - gap = mind; - return v; - } - } - -// If the JSON object does not yet have a stringify method, give it one. - - if (typeof JSON.stringify !== 'function') { - JSON.stringify = function (value, replacer, space) { - -// The stringify method takes a value and an optional replacer, and an optional -// space parameter, and returns a JSON text. The replacer can be a function -// that can replace values, or an array of strings that will select the keys. -// A default replacer method can be provided. Use of the space parameter can -// produce text that is more easily readable. - - var i; - gap = ''; - indent = ''; - -// If the space parameter is a number, make an indent string containing that -// many spaces. - - if (typeof space === 'number') { - for (i = 0; i < space; i += 1) { - indent += ' '; - } - -// If the space parameter is a string, it will be used as the indent string. - - } else if (typeof space === 'string') { - indent = space; - } - -// If there is a replacer, it must be a function or an array. -// Otherwise, throw an error. - - rep = replacer; - if (replacer && typeof replacer !== 'function' && - (typeof replacer !== 'object' || - typeof replacer.length !== 'number')) { - throw new Error('JSON.stringify'); - } - -// Make a fake root object containing our value under the key of ''. -// Return the result of stringifying the value. - - return str('', {'': value}); - }; - } - - -// If the JSON object does not yet have a parse method, give it one. - - if (typeof JSON.parse !== 'function') { - JSON.parse = function (text, reviver) { - -// The parse method takes a text and an optional reviver function, and returns -// a JavaScript value if the text is a valid JSON text. - - var j; - - function walk(holder, key) { - -// The walk method is used to recursively walk the resulting structure so -// that modifications can be made. - - var k, v, value = holder[key]; - if (value && typeof value === 'object') { - for (k in value) { - if (Object.prototype.hasOwnProperty.call(value, k)) { - v = walk(value, k); - if (v !== undefined) { - value[k] = v; - } else { - delete value[k]; - } - } - } - } - return reviver.call(holder, key, value); - } - - -// Parsing happens in four stages. In the first stage, we replace certain -// Unicode characters with escape sequences. JavaScript handles many characters -// incorrectly, either silently deleting them, or treating them as line endings. - - text = String(text); - cx.lastIndex = 0; - if (cx.test(text)) { - text = text.replace(cx, function (a) { - return '\\u' + - ('0000' + a.charCodeAt(0).toString(16)).slice(-4); - }); - } - -// In the second stage, we run the text against regular expressions that look -// for non-JSON patterns. We are especially concerned with '()' and 'new' -// because they can cause invocation, and '=' because it can cause mutation. -// But just to be safe, we want to reject all unexpected forms. - -// We split the second stage into 4 regexp operations in order to work around -// crippling inefficiencies in IE's and Safari's regexp engines. First we -// replace the JSON backslash pairs with '@' (a non-JSON character). Second, we -// replace all simple value tokens with ']' characters. Third, we delete all -// open brackets that follow a colon or comma or that begin the text. Finally, -// we look to see that the remaining characters are only whitespace or ']' or -// ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval. - - if (/^[\],:{}\s]*$/ - .test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@') - .replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']') - .replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) { - -// In the third stage we use the eval function to compile the text into a -// JavaScript structure. The '{' operator is subject to a syntactic ambiguity -// in JavaScript: it can begin a block or an object literal. We wrap the text -// in parens to eliminate the ambiguity. - - j = eval('(' + text + ')'); - -// In the optional fourth stage, we recursively walk the new structure, passing -// each name/value pair to a reviver function for possible transformation. - - return typeof reviver === 'function' - ? walk({'': j}, '') - : j; - } - -// If the text is not JSON parseable, then a SyntaxError is thrown. - - throw new SyntaxError('JSON.parse'); - }; - } -}()); +/* + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +if (typeof JSON !== 'object') { + JSON = {}; +} + +(function () { + 'use strict'; + + function f(n) { + // Format integers to have at least two digits. + return n < 10 ? '0' + n : n; + } + + if (typeof Date.prototype.toJSON !== 'function') { + + Date.prototype.toJSON = function (key) { + + return isFinite(this.valueOf()) + ? this.getUTCFullYear() + '-' + + f(this.getUTCMonth() + 1) + '-' + + f(this.getUTCDate()) + 'T' + + f(this.getUTCHours()) + ':' + + f(this.getUTCMinutes()) + ':' + + f(this.getUTCSeconds()) + 'Z' + : null; + }; + + String.prototype.toJSON = + Number.prototype.toJSON = + Boolean.prototype.toJSON = function (key) { + return this.valueOf(); + }; + } + + var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, + escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, + gap, + indent, + meta = { // table of character substitutions + '\b': '\\b', + '\t': '\\t', + '\n': '\\n', + '\f': '\\f', + '\r': '\\r', + '"' : '\\"', + '\\': '\\\\' + }, + rep; + + + function quote(string) { + +// If the string contains no control characters, no quote characters, and no +// backslash characters, then we can safely slap some quotes around it. +// Otherwise we must also replace the offending characters with safe escape +// sequences. + + escapable.lastIndex = 0; + return escapable.test(string) ? '"' + string.replace(escapable, function (a) { + var c = meta[a]; + return typeof c === 'string' + ? c + : '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); + }) + '"' : '"' + string + '"'; + } + + + function str(key, holder) { + +// Produce a string from holder[key]. + + var i, // The loop counter. + k, // The member key. + v, // The member value. + length, + mind = gap, + partial, + value = holder[key]; + +// If the value has a toJSON method, call it to obtain a replacement value. + + if (value && typeof value === 'object' && + typeof value.toJSON === 'function') { + value = value.toJSON(key); + } + +// If we were called with a replacer function, then call the replacer to +// obtain a replacement value. + + if (typeof rep === 'function') { + value = rep.call(holder, key, value); + } + +// What happens next depends on the value's type. + + switch (typeof value) { + case 'string': + return quote(value); + + case 'number': + +// JSON numbers must be finite. Encode non-finite numbers as null. + + return isFinite(value) ? String(value) : 'null'; + + case 'boolean': + case 'null': + +// If the value is a boolean or null, convert it to a string. Note: +// typeof null does not produce 'null'. The case is included here in +// the remote chance that this gets fixed someday. + + return String(value); + +// If the type is 'object', we might be dealing with an object or an array or +// null. + + case 'object': + +// Due to a specification blunder in ECMAScript, typeof null is 'object', +// so watch out for that case. + + if (!value) { + return 'null'; + } + +// Make an array to hold the partial results of stringifying this object value. + + gap += indent; + partial = []; + +// Is the value an array? + + if (Object.prototype.toString.apply(value) === '[object Array]') { + +// The value is an array. Stringify every element. Use null as a placeholder +// for non-JSON values. + + length = value.length; + for (i = 0; i < length; i += 1) { + partial[i] = str(i, value) || 'null'; + } + +// Join all of the elements together, separated with commas, and wrap them in +// brackets. + + v = partial.length === 0 + ? '[]' + : gap + ? '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']' + : '[' + partial.join(',') + ']'; + gap = mind; + return v; + } + +// If the replacer is an array, use it to select the members to be stringified. + + if (rep && typeof rep === 'object') { + length = rep.length; + for (i = 0; i < length; i += 1) { + if (typeof rep[i] === 'string') { + k = rep[i]; + v = str(k, value); + if (v) { + partial.push(quote(k) + (gap ? ': ' : ':') + v); + } + } + } + } else { + +// Otherwise, iterate through all of the keys in the object. + + for (k in value) { + if (Object.prototype.hasOwnProperty.call(value, k)) { + v = str(k, value); + if (v) { + partial.push(quote(k) + (gap ? ': ' : ':') + v); + } + } + } + } + +// Join all of the member texts together, separated with commas, +// and wrap them in braces. + + v = partial.length === 0 + ? '{}' + : gap + ? '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}' + : '{' + partial.join(',') + '}'; + gap = mind; + return v; + } + } + +// If the JSON object does not yet have a stringify method, give it one. + + if (typeof JSON.stringify !== 'function') { + JSON.stringify = function (value, replacer, space) { + +// The stringify method takes a value and an optional replacer, and an optional +// space parameter, and returns a JSON text. The replacer can be a function +// that can replace values, or an array of strings that will select the keys. +// A default replacer method can be provided. Use of the space parameter can +// produce text that is more easily readable. + + var i; + gap = ''; + indent = ''; + +// If the space parameter is a number, make an indent string containing that +// many spaces. + + if (typeof space === 'number') { + for (i = 0; i < space; i += 1) { + indent += ' '; + } + +// If the space parameter is a string, it will be used as the indent string. + + } else if (typeof space === 'string') { + indent = space; + } + +// If there is a replacer, it must be a function or an array. +// Otherwise, throw an error. + + rep = replacer; + if (replacer && typeof replacer !== 'function' && + (typeof replacer !== 'object' || + typeof replacer.length !== 'number')) { + throw new Error('JSON.stringify'); + } + +// Make a fake root object containing our value under the key of ''. +// Return the result of stringifying the value. + + return str('', {'': value}); + }; + } + + +// If the JSON object does not yet have a parse method, give it one. + + if (typeof JSON.parse !== 'function') { + JSON.parse = function (text, reviver) { + +// The parse method takes a text and an optional reviver function, and returns +// a JavaScript value if the text is a valid JSON text. + + var j; + + function walk(holder, key) { + +// The walk method is used to recursively walk the resulting structure so +// that modifications can be made. + + var k, v, value = holder[key]; + if (value && typeof value === 'object') { + for (k in value) { + if (Object.prototype.hasOwnProperty.call(value, k)) { + v = walk(value, k); + if (v !== undefined) { + value[k] = v; + } else { + delete value[k]; + } + } + } + } + return reviver.call(holder, key, value); + } + + +// Parsing happens in four stages. In the first stage, we replace certain +// Unicode characters with escape sequences. JavaScript handles many characters +// incorrectly, either silently deleting them, or treating them as line endings. + + text = String(text); + cx.lastIndex = 0; + if (cx.test(text)) { + text = text.replace(cx, function (a) { + return '\\u' + + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); + }); + } + +// In the second stage, we run the text against regular expressions that look +// for non-JSON patterns. We are especially concerned with '()' and 'new' +// because they can cause invocation, and '=' because it can cause mutation. +// But just to be safe, we want to reject all unexpected forms. + +// We split the second stage into 4 regexp operations in order to work around +// crippling inefficiencies in IE's and Safari's regexp engines. First we +// replace the JSON backslash pairs with '@' (a non-JSON character). Second, we +// replace all simple value tokens with ']' characters. Third, we delete all +// open brackets that follow a colon or comma or that begin the text. Finally, +// we look to see that the remaining characters are only whitespace or ']' or +// ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval. + + if (/^[\],:{}\s]*$/ + .test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@') + .replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']') + .replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) { + +// In the third stage we use the eval function to compile the text into a +// JavaScript structure. The '{' operator is subject to a syntactic ambiguity +// in JavaScript: it can begin a block or an object literal. We wrap the text +// in parens to eliminate the ambiguity. + + j = eval('(' + text + ')'); + +// In the optional fourth stage, we recursively walk the new structure, passing +// each name/value pair to a reviver function for possible transformation. + + return typeof reviver === 'function' + ? walk({'': j}, '') + : j; + } + +// If the text is not JSON parseable, then a SyntaxError is thrown. + + throw new SyntaxError('JSON.parse'); + }; + } +}()); diff --git a/openo-portal/portal-common/src/main/webapp/common/js/login.js b/openo-portal/portal-common/src/main/webapp/common/js/login.js index a5f65a8f..c4df17d7 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/login.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/login.js @@ -1,158 +1,158 @@ -/* - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -String.prototype.trim = function() { - return this.replace(/(^\s*)|(\s*$)/g, ""); -}; - -function loginSubmitHandler() { - var loginData = { - "userName": $("#openo_input_userName").val(), - "password": $("#openo_input_password").val() - } - - $.ajax({ - url : "/openoapi/auth/v1/tokens", - type : "POST", - contentType : 'application/json; charset=utf-8', - data : JSON.stringify(loginData) - }).done(function(data) { - var topURL = top.window.document.location.href; - if (topURL.indexOf("?service") != -1) { - top.window.document.location.href = decodeURIComponent(topURL.substring(topURL.indexOf("?service") + 9)); - } else { - top.window.document.location.href = "/openoui/common/default.html"; - } - store("loginUserName", $("#openo_input_userName").val()); - }).fail(function(data) { - var tipDivId = $("#loginConnError"); - if (data.status == 401) { - tipDivId = $("#nameOrpwdError"); - } - - tipDivId.addClass('alert-danger'); - if (tipDivId.attr("tipstatus") == "normal") { - tipDivId.show(); - } else if (tipDivId.attr("tipstatus") == "close") { - tipDivId.attr("tipstatus", "normal"); - } - }); - - saveUserInfo(); -}; - -var Login = function () { - var handleLogin = function() { - $('.login-form').validate({ - errorElement: 'span', //default input error message container - errorClass: 'help-block', // default input error message class - focusInvalid: false, // do not focus the last invalid input - rules: { - username: { - required: true - }, - password: { - required: false - }, - remember: { - required: false - } - }, - messages: { - username: { - required: $.i18n.prop('openo_input_userName').replace(/\"/g,'') - }, - password: { - required: $.i18n.prop('openo_input_password').replace(/\"/g,'') - } - }, - invalidHandler: function (event, validator) { - $('.alert-danger', $('.login-form')).show(); - }, - highlight: function (element) { - $(element).closest('.form-group').addClass('has-error'); // set error class to the control group - }, - success: function (label) { - label.closest('.form-group').removeClass('has-error'); - label.remove(); - }, - errorPlacement: function (error, element) { - error.insertAfter(element.closest('.input-icon')); - }, - submitHandler: loginSubmitHandler - }); - - $('.login-form input').keypress(function (e) { - $("#nameOrpwdError").hide(); - $("#loginConnError").hide(); - if (e.which == 13) { - if ($('.login-form').validate().form()) { - $('.login-form').submit(); - } - return false; - } - }); - } - - return { - //main function to initiate the module - init: function () { - handleLogin(); - $.backstretch([ - "image/integration/openo_bg_1.jpg", - "image/integration//openo_bg_2.jpg", - "image/integration//openo_bg_3.jpg" - ], { - fade: 500, - duration: 15000 - }); - } - }; -}(); - -$(document).ready(function() { - if (store("remember") == "true") { - $("input[name='remember']").attr("checked", "checked"); - $("#openo_input_userName").val(store("openo_input_userName")); - $("#openo_input_password").val(store("openo_input_password")); - } -}); - -function saveUserInfo() { - var rmbcheck = $("input[name='remember']"); - if (rmbcheck.attr("checked") == true || rmbcheck.is(':checked')) { - store("remember", "true"); - store("openo_input_userName", $("#openo_input_userName").val()); - store("openo_input_password", $("#openo_input_password").val()); - } else { - store.remove("remember"); - store.remove("openo_input_userName"); - store.remove("openo_input_password"); - } -} - -function logoutSubmit() { - $.ajax({ - url: "/openoapi/auth/v1/tokens" + "?=" + new Date().getTime(), - type: "DELETE", - contentType: "application/json", - dataType: "text", - success: function() { - top.window.location = "/openoui/common/login.html"; - }, - error: function() { - } - }) -} +/* + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +String.prototype.trim = function() { + return this.replace(/(^\s*)|(\s*$)/g, ""); +}; + +function loginSubmitHandler() { + var loginData = { + "userName": $("#openo_input_userName").val(), + "password": $("#openo_input_password").val() + } + + $.ajax({ + url : "/openoapi/auth/v1/tokens", + type : "POST", + contentType : 'application/json; charset=utf-8', + data : JSON.stringify(loginData) + }).done(function(data) { + var topURL = top.window.document.location.href; + if (topURL.indexOf("?service") != -1) { + top.window.document.location.href = decodeURIComponent(topURL.substring(topURL.indexOf("?service") + 9)); + } else { + top.window.document.location.href = "/openoui/common/default.html"; + } + store("loginUserName", $("#openo_input_userName").val()); + }).fail(function(data) { + var tipDivId = $("#loginConnError"); + if (data.status == 401) { + tipDivId = $("#nameOrpwdError"); + } + + tipDivId.addClass('alert-danger'); + if (tipDivId.attr("tipstatus") == "normal") { + tipDivId.show(); + } else if (tipDivId.attr("tipstatus") == "close") { + tipDivId.attr("tipstatus", "normal"); + } + }); + + saveUserInfo(); +}; + +var Login = function () { + var handleLogin = function() { + $('.login-form').validate({ + errorElement: 'span', //default input error message container + errorClass: 'help-block', // default input error message class + focusInvalid: false, // do not focus the last invalid input + rules: { + username: { + required: true + }, + password: { + required: false + }, + remember: { + required: false + } + }, + messages: { + username: { + required: $.i18n.prop('openo_input_userName').replace(/\"/g,'') + }, + password: { + required: $.i18n.prop('openo_input_password').replace(/\"/g,'') + } + }, + invalidHandler: function (event, validator) { + $('.alert-danger', $('.login-form')).show(); + }, + highlight: function (element) { + $(element).closest('.form-group').addClass('has-error'); // set error class to the control group + }, + success: function (label) { + label.closest('.form-group').removeClass('has-error'); + label.remove(); + }, + errorPlacement: function (error, element) { + error.insertAfter(element.closest('.input-icon')); + }, + submitHandler: loginSubmitHandler + }); + + $('.login-form input').keypress(function (e) { + $("#nameOrpwdError").hide(); + $("#loginConnError").hide(); + if (e.which == 13) { + if ($('.login-form').validate().form()) { + $('.login-form').submit(); + } + return false; + } + }); + } + + return { + //main function to initiate the module + init: function () { + handleLogin(); + $.backstretch([ + "image/integration/openo_bg_1.jpg", + "image/integration//openo_bg_2.jpg", + "image/integration//openo_bg_3.jpg" + ], { + fade: 500, + duration: 15000 + }); + } + }; +}(); + +$(document).ready(function() { + if (store("remember") == "true") { + $("input[name='remember']").attr("checked", "checked"); + $("#openo_input_userName").val(store("openo_input_userName")); + $("#openo_input_password").val(store("openo_input_password")); + } +}); + +function saveUserInfo() { + var rmbcheck = $("input[name='remember']"); + if (rmbcheck.attr("checked") == true || rmbcheck.is(':checked')) { + store("remember", "true"); + store("openo_input_userName", $("#openo_input_userName").val()); + store("openo_input_password", $("#openo_input_password").val()); + } else { + store.remove("remember"); + store.remove("openo_input_userName"); + store.remove("openo_input_password"); + } +} + +function logoutSubmit() { + $.ajax({ + url: "/openoapi/auth/v1/tokens" + "?=" + new Date().getTime(), + type: "DELETE", + contentType: "application/json", + dataType: "text", + success: function() { + top.window.location = "/openoui/common/login.html"; + }, + error: function() { + } + }) +} diff --git a/openo-portal/portal-common/src/main/webapp/common/js/mainpage/about.js b/openo-portal/portal-common/src/main/webapp/common/js/mainpage/about.js index afbdcf62..bab46c4f 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/mainpage/about.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/mainpage/about.js @@ -1,142 +1,142 @@ -/* - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -var iniAboutInfo = function() { - - //转换colomn - - var divId = "ict_about_table_div"; - var tableId = "abouttable"; - var column = [ - {"mData": "name", name: $.i18n.prop('com_zte_ums_ict_about_ppu_field_name'), "sWidth": '20%'}, - {"mData": "version", name: $.i18n.prop('com_zte_ums_ict_about_ppu_field_version'), "sWidth": '25%'}, - {"mData": "describe", name: $.i18n.prop('com_zte_ums_ict_about_ppu_field_desc'), "sWidth": '25%'}, - {"mData": "time", name: $.i18n.prop('com_zte_ums_ict_about_ppu_field_time'), "sWidth": '30%'} - ]; - //先把原来的表格清空 - $('#' + divId).children().remove(); - var tableEleStr = '' - + '' - + '' - + '' - + '' - + '' - + '' - + '
    '; - $('#' + divId).append(tableEleStr); - var trEle = $('#' + tableId + ' > thead >tr'); - - for (var one in column) { - var th = '' + column[one].name + ''; - trEle.append(th); - } - var table = $("#" + tableId).dataTable({ - "bFilter": false,// 搜索栏 - "bPaginate":false, - "bInfo":false, - "bSort":false, - 'bAutoWidth':true - }); - $.ajax({ - type: "GET", - cache: false, - url: FrameConst.REST_GET_VERSIONINFO, - dataType: "json", - success: function (data) { - console.log(data); - //主版本号 - $(".ict_main_version").append('' + data.mainversion + ''); - //表格数据填充 - for( var i = 0 ; i < data.ppuinfo.length ; i++ ) { - var eachPPU = data.ppuinfo[i]; - $('#'+ tableId).dataTable().fnAddData([eachPPU.name ,eachPPU.version ,eachPPU.describe , eachPPU.time ]); - } - }, - error: function (xhr, ajaxOptions, thrownError) { - - } - }); -}; - -function internationalization(){ - var lang = getLanguage(); - //加载国际化 - jQuery.i18n.properties({ - language:lang, - name:'web-framework-mainPage-i18n', - path:'i18n/', // 资源文件路径 - mode:'map', // 用 Map 的方式使用资源文件中的值 - callback: function() {// 加载成功后设置显示内容 - var i18nItems = $('[name_i18n=com_zte_ums_ict_framework_ui_i18n]' , '.aboutDlg'); - for(var i=0;i0){ - getAboutDlg(url); - } -}; - -var ict_about_dlg_close = function(){ - link_click('about'); - console.log("about click close"); - $('#aboutDlg').modal('hide'); -}; -var link_click = function( pageName ){ - console.log("about click change"); - if(pageName === 'info'){ - $('.aboutmain').attr("style" , "display:none"); - $('.aboutinfo').attr("style" , "display:block"); - }else{ - $('.aboutmain').attr("style" , "display:block"); - $('.aboutinfo').attr("style" , "display:none"); - } -}; +/* + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +var iniAboutInfo = function() { + + //转换colomn + + var divId = "ict_about_table_div"; + var tableId = "abouttable"; + var column = [ + {"mData": "name", name: $.i18n.prop('com_zte_ums_ict_about_ppu_field_name'), "sWidth": '20%'}, + {"mData": "version", name: $.i18n.prop('com_zte_ums_ict_about_ppu_field_version'), "sWidth": '25%'}, + {"mData": "describe", name: $.i18n.prop('com_zte_ums_ict_about_ppu_field_desc'), "sWidth": '25%'}, + {"mData": "time", name: $.i18n.prop('com_zte_ums_ict_about_ppu_field_time'), "sWidth": '30%'} + ]; + //先把原来的表格清空 + $('#' + divId).children().remove(); + var tableEleStr = '' + + '' + + '' + + '' + + '' + + '' + + '' + + '
    '; + $('#' + divId).append(tableEleStr); + var trEle = $('#' + tableId + ' > thead >tr'); + + for (var one in column) { + var th = '' + column[one].name + ''; + trEle.append(th); + } + var table = $("#" + tableId).dataTable({ + "bFilter": false,// 搜索栏 + "bPaginate":false, + "bInfo":false, + "bSort":false, + 'bAutoWidth':true + }); + $.ajax({ + type: "GET", + cache: false, + url: FrameConst.REST_GET_VERSIONINFO, + dataType: "json", + success: function (data) { + console.log(data); + //主版本号 + $(".ict_main_version").append('' + data.mainversion + ''); + //表格数据填充 + for( var i = 0 ; i < data.ppuinfo.length ; i++ ) { + var eachPPU = data.ppuinfo[i]; + $('#'+ tableId).dataTable().fnAddData([eachPPU.name ,eachPPU.version ,eachPPU.describe , eachPPU.time ]); + } + }, + error: function (xhr, ajaxOptions, thrownError) { + + } + }); +}; + +function internationalization(){ + var lang = getLanguage(); + //加载国际化 + jQuery.i18n.properties({ + language:lang, + name:'web-framework-mainPage-i18n', + path:'i18n/', // 资源文件路径 + mode:'map', // 用 Map 的方式使用资源文件中的值 + callback: function() {// 加载成功后设置显示内容 + var i18nItems = $('[name_i18n=com_zte_ums_ict_framework_ui_i18n]' , '.aboutDlg'); + for(var i=0;i0){ + getAboutDlg(url); + } +}; + +var ict_about_dlg_close = function(){ + link_click('about'); + console.log("about click close"); + $('#aboutDlg').modal('hide'); +}; +var link_click = function( pageName ){ + console.log("about click change"); + if(pageName === 'info'){ + $('.aboutmain').attr("style" , "display:none"); + $('.aboutinfo').attr("style" , "display:block"); + }else{ + $('.aboutmain').attr("style" , "display:block"); + $('.aboutinfo').attr("style" , "display:none"); + } +}; diff --git a/openo-portal/portal-common/src/main/webapp/common/js/mainpage/load_mainPage.js b/openo-portal/portal-common/src/main/webapp/common/js/mainpage/load_mainPage.js index 3ba0f7ba..d164771f 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/mainpage/load_mainPage.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/mainpage/load_mainPage.js @@ -1,95 +1,95 @@ -/* - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -var initMainPage = function() { - var modules; - var propertiesFilePath = "i18n/"; - var propertiesFileName = "web-framework-mainPage-i18n"; - var i18nName = "openo_main_page_i18n"; - - $.ajax({ - async : false, - "type" : "GET", - url : "json/main_page.json", - dataType : "json", - "success" : function (res, textStatus, jqXHR) { - modules = res.modules; - }, - error : function () { - } - }); - - var template = ""; - - var templatePic = "
    " + - "
    " + - "
    {cover}
    " + - "
    " + - "
    {contentTip}
    " + - "
    " + - "
    "; - - for (var i = 0; i < modules.length; ++i) { - var temp = ""; - if (modules[i].linkId) { - temp = template.replace("{linkId}", modules[i].linkId) - .replace("{image}", modules[i].background) - .replace("{toolsImage}", modules[i].toolsImage) - .replace("{url}", modules[i].url) - .replace("{contentTip}", modules[i].contentTip); - } else { - temp = templatePic.replace("{image}", modules[i].background) - .replace("{url}", modules[i].url) - .replace("{contentTip}", ""); - } - - if (modules[i].cover) { - temp = temp.replace("{cover}", ""); - } else { - temp = temp.replace("{cover}",""); - } - - $($(".column")[i % 4]).append(temp); - } - - $(function() { - $(".brick").mouseover(function() { - $(".contentTip", this).fadeTo(1000, 1); - $(".cover", this).fadeOut(1000); - }); - - $(".brick").mouseout(function() { - $(".contentTip", this).fadeTo(1000, 0); - $(".cover", this).fadeIn(1000); - }); - - $("a.entranceLink").click(function(e) { - e.preventDefault(); - if ($(this).attr("id") && $(this).attr("id") != "undefined") { - location.href = "default.html" + "#_" + $(this).attr("id"); - } - }); - - loadi18n_WebFramework(propertiesFileName, propertiesFilePath, i18nName); - }); +/* + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +var initMainPage = function() { + var modules; + var propertiesFilePath = "i18n/"; + var propertiesFileName = "web-framework-mainPage-i18n"; + var i18nName = "openo_main_page_i18n"; + + $.ajax({ + async : false, + "type" : "GET", + url : "json/main_page.json", + dataType : "json", + "success" : function (res, textStatus, jqXHR) { + modules = res.modules; + }, + error : function () { + } + }); + + var template = ""; + + var templatePic = "
    " + + "
    " + + "
    {cover}
    " + + "
    " + + "
    {contentTip}
    " + + "
    " + + "
    "; + + for (var i = 0; i < modules.length; ++i) { + var temp = ""; + if (modules[i].linkId) { + temp = template.replace("{linkId}", modules[i].linkId) + .replace("{image}", modules[i].background) + .replace("{toolsImage}", modules[i].toolsImage) + .replace("{url}", modules[i].url) + .replace("{contentTip}", modules[i].contentTip); + } else { + temp = templatePic.replace("{image}", modules[i].background) + .replace("{url}", modules[i].url) + .replace("{contentTip}", ""); + } + + if (modules[i].cover) { + temp = temp.replace("{cover}", ""); + } else { + temp = temp.replace("{cover}",""); + } + + $($(".column")[i % 4]).append(temp); + } + + $(function() { + $(".brick").mouseover(function() { + $(".contentTip", this).fadeTo(1000, 1); + $(".cover", this).fadeOut(1000); + }); + + $(".brick").mouseout(function() { + $(".contentTip", this).fadeTo(1000, 0); + $(".cover", this).fadeIn(1000); + }); + + $("a.entranceLink").click(function(e) { + e.preventDefault(); + if ($(this).attr("id") && $(this).attr("id") != "undefined") { + location.href = "default.html" + "#_" + $(this).attr("id"); + } + }); + + loadi18n_WebFramework(propertiesFileName, propertiesFilePath, i18nName); + }); } \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/js/moreOperation.js b/openo-portal/portal-common/src/main/webapp/common/js/moreOperation.js index 8078f54b..59e781a0 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/moreOperation.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/moreOperation.js @@ -1,166 +1,166 @@ -/* - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -var resetSelectedItem=function(menuAlink){ - if(menuAlink.children('div.boxOperation').length>0){ - $(".box.boxOperation", $(".carousel-inner")).removeClass("moreButtonSelected"); - menuAlink.children('div.boxOperation').addClass('moreButtonSelected'); - }else if(menuAlink.parents('div.boxOperation').length>0){ - $(".box.boxOperation", $(".carousel-inner")).removeClass("moreButtonSelected"); - menuAlink.parents('div.boxOperation').addClass('moreButtonSelected'); - } -} -var reSelected=function(){ - if(openoFrameWork){ - var menuID = openoFrameWork.getLocationHash(); - var menuAlink = $('#'+ menuID,$('#pageableDiv')); - if(menuAlink.length>0){ - resetSelectedItem(menuAlink); - }else{ - menuAlink = $('#'+ menuID,$('.hor-menu')); - if(!!menuAlink.attr("defaultchildmenuid")&&menuAlink.attr("defaultchildmenuid").length>0){ - menuAlink = $('#'+ menuAlink.attr("defaultchildmenuid"),$('#pageableDiv')); - if(menuAlink.length>0){ - resetSelectedItem(menuAlink); - } - } - } - } -} -var inter=null; - -var clearMoreOperations=function(){ - $('#pageableDiv').removeClass("moreOpen"); - $('#pageableDiv').addClass("moreClose"); - $('.col-xs-12',$('#pageableDiv')).removeClass("moreOpen"); - $('.col-xs-12',$('#pageableDiv')).addClass("moreClose"); - $(".carousel-inner").children().remove(); - if (inter) { - clearInterval(inter); - }; -} - -var moreOperations = function(html){ - $('#pageableDiv').removeClass("moreClose"); - $('#pageableDiv').addClass("moreOpen"); - $('.col-xs-12',$('#pageableDiv')).removeClass("moreClose"); - $('.col-xs-12',$('#pageableDiv')).addClass("moreOpen"); - showArrow(); - $(".carousel-inner").children().remove(); - inter=setInterval(reSelected, 200); - var moreViewData=[]; - var div = document.createElement('div'); - //div.innerHTML = html; - $(div).append(html); - var liTages =$("ul:first",div).children(); //div.getElementsByTagName('li') - for(var i=0;i"; - }else{ - var aLinkTag = $("a", liTages[i]); - aLink.id = aLinkTag.attr("id"); - var aLinkContent = aLinkTag.html(); - aLinkTag.empty().html('
    '); - $(".box", aLinkTag).html(aLinkContent); - aLink.html = aLinkTag.prop("outerHTML"); - } - moreViewData.push(aLink); - } - } - - var transformQueryViewData = function(queryViewData, pageSize){ - var newData = []; - var pageNo = Math.floor(queryViewData.length / pageSize) + 1; - if(queryViewData.length % pageSize == 0){ - pageNo--; - } - for(var i=0;i' + - '
    ' + - "
    " + - ""; - $(".carousel-inner").append(itemHtml); - } - for(var i=0;i'; - $(".col-xs-12", $("#page_" + i + ".item")).append(buttonHtml); - } - } - } - - //moreOperationItems = transformQueryViewData(moreViewData, 14); - - var moreOperationPageSize = 14; - var windowWidth = $(window).width(); - if(windowWidth >= 1367 && windowWidth < 1441){ - moreOperationPageSize = 12; - }else if(windowWidth >= 1281 && windowWidth < 1367){ - moreOperationPageSize = 11; - }else if(windowWidth >= 1025 && windowWidth < 1281){ - moreOperationPageSize = 10; - }else if(windowWidth >= 920 && windowWidth < 1281){ - moreOperationPageSize = 9; - }else if(windowWidth >= 820 && windowWidth < 920){ - moreOperationPageSize = 8; - }else if(windowWidth >= 680 && windowWidth < 820){ - moreOperationPageSize = 7; - }else if(windowWidth >= 540 && windowWidth < 680){ - moreOperationPageSize = 4; - }else if(windowWidth >= 390 && windowWidth < 540){ - moreOperationPageSize = 3; - }else if(windowWidth < 390){ - moreOperationPageSize = 2; - } - - moreOperationItems = transformQueryViewData(moreViewData, moreOperationPageSize); - generateOperationItems(); - - $(".box.boxOperation").click(function(){ - $(".box.boxOperation", $(".carousel-inner")).removeClass("moreButtonSelected"); - $(this).addClass("moreButtonSelected"); - }); - - $($(".item", $(".carousel-inner"))[0]).addClass("active"); - - if($(".item.moreButtonsTag").length < 2){ - hideArrow(); - } -} - -var showArrow = function(){ - $(".carousel-control").show(); - $(".boxOperation").removeClass("boxOperationOnePage"); -} - -var hideArrow = function(){ - $(".carousel-control").hide(); - $(".boxOperation").addClass("boxOperationOnePage"); -} +/* + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +var resetSelectedItem=function(menuAlink){ + if(menuAlink.children('div.boxOperation').length>0){ + $(".box.boxOperation", $(".carousel-inner")).removeClass("moreButtonSelected"); + menuAlink.children('div.boxOperation').addClass('moreButtonSelected'); + }else if(menuAlink.parents('div.boxOperation').length>0){ + $(".box.boxOperation", $(".carousel-inner")).removeClass("moreButtonSelected"); + menuAlink.parents('div.boxOperation').addClass('moreButtonSelected'); + } +} +var reSelected=function(){ + if(openoFrameWork){ + var menuID = openoFrameWork.getLocationHash(); + var menuAlink = $('#'+ menuID,$('#pageableDiv')); + if(menuAlink.length>0){ + resetSelectedItem(menuAlink); + }else{ + menuAlink = $('#'+ menuID,$('.hor-menu')); + if(!!menuAlink.attr("defaultchildmenuid")&&menuAlink.attr("defaultchildmenuid").length>0){ + menuAlink = $('#'+ menuAlink.attr("defaultchildmenuid"),$('#pageableDiv')); + if(menuAlink.length>0){ + resetSelectedItem(menuAlink); + } + } + } + } +} +var inter=null; + +var clearMoreOperations=function(){ + $('#pageableDiv').removeClass("moreOpen"); + $('#pageableDiv').addClass("moreClose"); + $('.col-xs-12',$('#pageableDiv')).removeClass("moreOpen"); + $('.col-xs-12',$('#pageableDiv')).addClass("moreClose"); + $(".carousel-inner").children().remove(); + if (inter) { + clearInterval(inter); + }; +} + +var moreOperations = function(html){ + $('#pageableDiv').removeClass("moreClose"); + $('#pageableDiv').addClass("moreOpen"); + $('.col-xs-12',$('#pageableDiv')).removeClass("moreClose"); + $('.col-xs-12',$('#pageableDiv')).addClass("moreOpen"); + showArrow(); + $(".carousel-inner").children().remove(); + inter=setInterval(reSelected, 200); + var moreViewData=[]; + var div = document.createElement('div'); + //div.innerHTML = html; + $(div).append(html); + var liTages =$("ul:first",div).children(); //div.getElementsByTagName('li') + for(var i=0;i"; + }else{ + var aLinkTag = $("a", liTages[i]); + aLink.id = aLinkTag.attr("id"); + var aLinkContent = aLinkTag.html(); + aLinkTag.empty().html('
    '); + $(".box", aLinkTag).html(aLinkContent); + aLink.html = aLinkTag.prop("outerHTML"); + } + moreViewData.push(aLink); + } + } + + var transformQueryViewData = function(queryViewData, pageSize){ + var newData = []; + var pageNo = Math.floor(queryViewData.length / pageSize) + 1; + if(queryViewData.length % pageSize == 0){ + pageNo--; + } + for(var i=0;i' + + '
    ' + + "
    " + + ""; + $(".carousel-inner").append(itemHtml); + } + for(var i=0;i'; + $(".col-xs-12", $("#page_" + i + ".item")).append(buttonHtml); + } + } + } + + //moreOperationItems = transformQueryViewData(moreViewData, 14); + + var moreOperationPageSize = 14; + var windowWidth = $(window).width(); + if(windowWidth >= 1367 && windowWidth < 1441){ + moreOperationPageSize = 12; + }else if(windowWidth >= 1281 && windowWidth < 1367){ + moreOperationPageSize = 11; + }else if(windowWidth >= 1025 && windowWidth < 1281){ + moreOperationPageSize = 10; + }else if(windowWidth >= 920 && windowWidth < 1281){ + moreOperationPageSize = 9; + }else if(windowWidth >= 820 && windowWidth < 920){ + moreOperationPageSize = 8; + }else if(windowWidth >= 680 && windowWidth < 820){ + moreOperationPageSize = 7; + }else if(windowWidth >= 540 && windowWidth < 680){ + moreOperationPageSize = 4; + }else if(windowWidth >= 390 && windowWidth < 540){ + moreOperationPageSize = 3; + }else if(windowWidth < 390){ + moreOperationPageSize = 2; + } + + moreOperationItems = transformQueryViewData(moreViewData, moreOperationPageSize); + generateOperationItems(); + + $(".box.boxOperation").click(function(){ + $(".box.boxOperation", $(".carousel-inner")).removeClass("moreButtonSelected"); + $(this).addClass("moreButtonSelected"); + }); + + $($(".item", $(".carousel-inner"))[0]).addClass("active"); + + if($(".item.moreButtonsTag").length < 2){ + hideArrow(); + } +} + +var showArrow = function(){ + $(".carousel-control").show(); + $(".boxOperation").removeClass("boxOperationOnePage"); +} + +var hideArrow = function(){ + $(".carousel-control").hide(); + $(".boxOperation").addClass("boxOperationOnePage"); +} diff --git a/openo-portal/portal-common/src/main/webapp/common/js/openotopo/openotopo.js b/openo-portal/portal-common/src/main/webapp/common/js/openotopo/openotopo.js index 06ef623b..0de3548a 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/openotopo/openotopo.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/openotopo/openotopo.js @@ -1,314 +1,314 @@ -/* - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -function oTopo() { - - var topo; - - /** - * - * @param id: The id of DIV which display topological graph. - * @param settings: Init parameters . - * @see [] - */ - this.canvas = function (id, settings) - { - var g = - { - nodes : [],// nodes - edges : [] // links - }; - - topo = new sigma( - { - graph : g, - renderer : - { - // IMPORTANT: - // This works only with the canvas renderer, so the - // renderer type set as "canvas" is necessary here. - container : document.getElementById(id), - type : 'canvas' - }, - settings : settings - }); - - CustomShapes.init(topo); - }; - - - /** - * - * @see [] - */ - this.refresh = function() - { - topo.refresh(); - }; - - - /** - * - * @param id: The id of node. - * @see [] - */ - this.Node = function(id) - { - var pr = this; - this.id = id, - this.label = "", - this.type = "square",/**equilateral,star,square,diamond,circle,cross**/ - this.x = 1, - this.y = 1, - this.size = 10, - this.image = {}; - this.color = "transparent", - this.borderColor = "#1E90FF", - - this.setName = function(v) - { - pr.label = v; - }; - - this.setType = function(v) - { - pr.type = v; - }; - - this.setSize = function(v) - { - pr.size = v; - }; - - this.setImg = function(url) - { - pr.image = - { - url : url, - // scale/clip are ratio values applied on top of 'size' - scale : 1, - clip : 0, - }; - pr.borderColor = "transparent"; - pr.color = "transparent"; - }; - - this.setImgScale = function(s) - { - pr.image.scale = s; - }; - - this.setImgClip = function(c) - { - pr.image.clip = c; - }; - - this.setColor = function(v) - { - pr.color = v; - }; - - this.setBorderColor = function(v) - { - pr.borderColor = v; - }; - - this.setLocation = function(x,y) - { - pr.x = x; - pr.y = y; - }; - - this.setProperty = function(k,v) - { - pr[k] = v; - }; - }; - - /** - * - * @param id: The id of link. - * @see [] - */ - this.Link = function(id) - { - var pr = this; - this.id = id, - this.type = "arrow",/*'line','curve','arrow','curvedArrow','dashed','dotted','parallel','tapered'*/ - this.source = 1, - this.target = 1, - this.size = Math.random(), - this.color = "#1E90FF", - - this.setType = function(v) - { - pr.type = v; - }; - - this.setSize = function(v) - { - pr.size = v; - }; - - this.setConnect = function(s,t) - { - pr.source = s; - pr.target = t; - }; - - this.setColor = function(v) - { - pr.color = v; - }; - - this.setProperty = function(k,v) - { - pr[k] = v; - }; - }; - - /** - * - * @param v: Node object. - * @see [] - */ - this.addNode = function(v) - { - topo.graph.addNode(v); - }; - - /** - * - * @param id: The id of node. - * @see [] - */ - this.dropNode = function(id) - { - topo.graph.dropNode(id); - }; - - - /** - * - * @param v: Link object. - * @see [] - */ - this.addLink = function(v) - { - topo.graph.addEdge(v); - }; - - /** - * - * @param id: The id of link. - * @see [] - */ - this.dropLink = function(id) - { - topo.graph.dropEdge(id); - }; - - /** - * - * @see [] - */ - this.allNodes = function() - { - return topo.graph.nodes(); - }; - - /** - * Define drag and drop object. - */ - var dragListener = null; - - /** - * - * @param b: The node can be dragged and dropped when the parameter is TRUE.Set after canvas init. - * @see [] - */ - this.setDrag = function(b) - { - if (b) - { - dragListener = sigma.plugins.dragNodes(topo, topo.renderers[0]); - } - }; - - /** - * - * @param method: The binding method include:startdrag,drag,drop,dragend. - * @param e: Callback method. - * @see [] - */ - var dragBind = function(method,e) - { - if (null != dragListener) - { - dragListener.bind(method, function(event){ - e(event); - }); - } - }; - - - /** - * - * @param method: The binding method include:rightClick,clickStage,doubleClickStage,rightClickStage,clickNode,clickNodes,clickEdge, - * clickEdges,doubleClickNode,doubleClickNodes,doubleClickEdge,doubleClickEdges,rightClickNode, - * rightClickNodes,rightClickEdge,rightClickEdges,overNode,overNodes,overEdge,overEdges,outNode, - * outNodes,outEdge,outEdges,downNode,downNodes,downEdge,downEdges,upNode,upNodes,upEdge,upEdges - * @param e Callback method. - * @see [] - */ - this.mouseBind = function(method,e) - { - if (null != topo) - { - topo.bind(method, function(event){ - e(event); - }); - } - }; - - - /** - * - * @param obj: The object to be disabled. - * @see [] - */ - this.noright = function(obj) { - if (obj) { - obj.oncontextmenu = function() { - return false; - } - obj.ondragstart = function() { - return false; - } - obj.onselectstart = function() { - return false; - } - obj.onselect = function() { - obj.selection.empty(); - } - obj.oncopy = function() { - obj.selection.empty(); - } - obj.onbeforecopy = function() { - return false; - } - } - } -} +/* + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +function oTopo() { + + var topo; + + /** + * + * @param id: The id of DIV which display topological graph. + * @param settings: Init parameters . + * @see [] + */ + this.canvas = function (id, settings) + { + var g = + { + nodes : [],// nodes + edges : [] // links + }; + + topo = new sigma( + { + graph : g, + renderer : + { + // IMPORTANT: + // This works only with the canvas renderer, so the + // renderer type set as "canvas" is necessary here. + container : document.getElementById(id), + type : 'canvas' + }, + settings : settings + }); + + CustomShapes.init(topo); + }; + + + /** + * + * @see [] + */ + this.refresh = function() + { + topo.refresh(); + }; + + + /** + * + * @param id: The id of node. + * @see [] + */ + this.Node = function(id) + { + var pr = this; + this.id = id, + this.label = "", + this.type = "square",/**equilateral,star,square,diamond,circle,cross**/ + this.x = 1, + this.y = 1, + this.size = 10, + this.image = {}; + this.color = "transparent", + this.borderColor = "#1E90FF", + + this.setName = function(v) + { + pr.label = v; + }; + + this.setType = function(v) + { + pr.type = v; + }; + + this.setSize = function(v) + { + pr.size = v; + }; + + this.setImg = function(url) + { + pr.image = + { + url : url, + // scale/clip are ratio values applied on top of 'size' + scale : 1, + clip : 0, + }; + pr.borderColor = "transparent"; + pr.color = "transparent"; + }; + + this.setImgScale = function(s) + { + pr.image.scale = s; + }; + + this.setImgClip = function(c) + { + pr.image.clip = c; + }; + + this.setColor = function(v) + { + pr.color = v; + }; + + this.setBorderColor = function(v) + { + pr.borderColor = v; + }; + + this.setLocation = function(x,y) + { + pr.x = x; + pr.y = y; + }; + + this.setProperty = function(k,v) + { + pr[k] = v; + }; + }; + + /** + * + * @param id: The id of link. + * @see [] + */ + this.Link = function(id) + { + var pr = this; + this.id = id, + this.type = "arrow",/*'line','curve','arrow','curvedArrow','dashed','dotted','parallel','tapered'*/ + this.source = 1, + this.target = 1, + this.size = Math.random(), + this.color = "#1E90FF", + + this.setType = function(v) + { + pr.type = v; + }; + + this.setSize = function(v) + { + pr.size = v; + }; + + this.setConnect = function(s,t) + { + pr.source = s; + pr.target = t; + }; + + this.setColor = function(v) + { + pr.color = v; + }; + + this.setProperty = function(k,v) + { + pr[k] = v; + }; + }; + + /** + * + * @param v: Node object. + * @see [] + */ + this.addNode = function(v) + { + topo.graph.addNode(v); + }; + + /** + * + * @param id: The id of node. + * @see [] + */ + this.dropNode = function(id) + { + topo.graph.dropNode(id); + }; + + + /** + * + * @param v: Link object. + * @see [] + */ + this.addLink = function(v) + { + topo.graph.addEdge(v); + }; + + /** + * + * @param id: The id of link. + * @see [] + */ + this.dropLink = function(id) + { + topo.graph.dropEdge(id); + }; + + /** + * + * @see [] + */ + this.allNodes = function() + { + return topo.graph.nodes(); + }; + + /** + * Define drag and drop object. + */ + var dragListener = null; + + /** + * + * @param b: The node can be dragged and dropped when the parameter is TRUE.Set after canvas init. + * @see [] + */ + this.setDrag = function(b) + { + if (b) + { + dragListener = sigma.plugins.dragNodes(topo, topo.renderers[0]); + } + }; + + /** + * + * @param method: The binding method include:startdrag,drag,drop,dragend. + * @param e: Callback method. + * @see [] + */ + var dragBind = function(method,e) + { + if (null != dragListener) + { + dragListener.bind(method, function(event){ + e(event); + }); + } + }; + + + /** + * + * @param method: The binding method include:rightClick,clickStage,doubleClickStage,rightClickStage,clickNode,clickNodes,clickEdge, + * clickEdges,doubleClickNode,doubleClickNodes,doubleClickEdge,doubleClickEdges,rightClickNode, + * rightClickNodes,rightClickEdge,rightClickEdges,overNode,overNodes,overEdge,overEdges,outNode, + * outNodes,outEdge,outEdges,downNode,downNodes,downEdge,downEdges,upNode,upNodes,upEdge,upEdges + * @param e Callback method. + * @see [] + */ + this.mouseBind = function(method,e) + { + if (null != topo) + { + topo.bind(method, function(event){ + e(event); + }); + } + }; + + + /** + * + * @param obj: The object to be disabled. + * @see [] + */ + this.noright = function(obj) { + if (obj) { + obj.oncontextmenu = function() { + return false; + } + obj.ondragstart = function() { + return false; + } + obj.onselectstart = function() { + return false; + } + obj.onselect = function() { + obj.selection.empty(); + } + obj.oncopy = function() { + obj.selection.empty(); + } + obj.onbeforecopy = function() { + return false; + } + } + } +} diff --git a/openo-portal/portal-common/src/main/webapp/common/js/openotopo/openotopo.min.js b/openo-portal/portal-common/src/main/webapp/common/js/openotopo/openotopo.min.js index 223ecdf0..7ef85183 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/openotopo/openotopo.min.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/openotopo/openotopo.min.js @@ -1,32 +1,32 @@ -/* - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -(function(a){"use strict";var b={},c=function(a){var d,e,f,g,h;c.classes.dispatcher.extend(this);var i=this,j=a||{};if("string"==typeof j||j instanceof HTMLElement?j={renderers:[j]}:"[object Array]"===Object.prototype.toString.call(j)&&(j={renderers:j}),g=j.renderers||j.renderer||j.container,j.renderers&&0!==j.renderers.length||("string"==typeof g||g instanceof HTMLElement||"object"==typeof g&&"container"in g)&&(j.renderers=[g]),j.id){if(b[j.id])throw'sigma: Instance "'+j.id+'" already exists.';Object.defineProperty(this,"id",{value:j.id})}else{for(h=0;b[h];)h++;Object.defineProperty(this,"id",{value:""+h})}for(b[this.id]=this,this.settings=new c.classes.configurable(c.settings,j.settings||{}),Object.defineProperty(this,"graph",{value:new c.classes.graph(this.settings),configurable:!0}),Object.defineProperty(this,"middlewares",{value:[],configurable:!0}),Object.defineProperty(this,"cameras",{value:{},configurable:!0}),Object.defineProperty(this,"renderers",{value:{},configurable:!0}),Object.defineProperty(this,"renderersPerCamera",{value:{},configurable:!0}),Object.defineProperty(this,"cameraFrames",{value:{},configurable:!0}),Object.defineProperty(this,"camera",{get:function(){return this.cameras[0]}}),Object.defineProperty(this,"events",{value:["click","rightClick","clickStage","doubleClickStage","rightClickStage","clickNode","clickNodes","doubleClickNode","doubleClickNodes","rightClickNode","rightClickNodes","overNode","overNodes","outNode","outNodes","downNode","downNodes","upNode","upNodes"],configurable:!0}),this._handler=function(a){var b,c={};for(b in a.data)c[b]=a.data[b];c.renderer=a.target,this.dispatchEvent(a.type,c)}.bind(this),f=j.renderers||[],d=0,e=f.length;e>d;d++)this.addRenderer(f[d]);for(f=j.middlewares||[],d=0,e=f.length;e>d;d++)this.middlewares.push("string"==typeof f[d]?c.middlewares[f[d]]:f[d]);"object"==typeof j.graph&&j.graph&&(this.graph.read(j.graph),this.refresh()),window.addEventListener("resize",function(){i.settings&&i.refresh()})};if(c.prototype.addCamera=function(b){var d,e=this;if(!arguments.length){for(b=0;this.cameras[""+b];)b++;b=""+b}if(this.cameras[b])throw'sigma.addCamera: The camera "'+b+'" already exists.';return d=new c.classes.camera(b,this.graph,this.settings),this.cameras[b]=d,d.quadtree=new c.classes.quad,c.classes.edgequad!==a&&(d.edgequadtree=new c.classes.edgequad),d.bind("coordinatesUpdated",function(a){e.renderCamera(d,d.isAnimated)}),this.renderersPerCamera[b]=[],d},c.prototype.killCamera=function(a){if(a="string"==typeof a?this.cameras[a]:a,!a)throw"sigma.killCamera: The camera is undefined.";var b,c,d=this.renderersPerCamera[a.id];for(c=d.length,b=c-1;b>=0;b--)this.killRenderer(d[b]);return delete this.renderersPerCamera[a.id],delete this.cameraFrames[a.id],delete this.cameras[a.id],a.kill&&a.kill(),this},c.prototype.addRenderer=function(a){var b,d,e,f,g=a||{};if("string"==typeof g?g={container:document.getElementById(g)}:g instanceof HTMLElement&&(g={container:g}),"string"==typeof g.container&&(g.container=document.getElementById(g.container)),"id"in g)b=g.id;else{for(b=0;this.renderers[""+b];)b++;b=""+b}if(this.renderers[b])throw'sigma.addRenderer: The renderer "'+b+'" already exists.';if(d="function"==typeof g.type?g.type:c.renderers[g.type],d=d||c.renderers.def,e="camera"in g?g.camera instanceof c.classes.camera?g.camera:this.cameras[g.camera]||this.addCamera(g.camera):this.addCamera(),this.cameras[e.id]!==e)throw"sigma.addRenderer: The camera is not properly referenced.";return f=new d(this.graph,e,this.settings,g),this.renderers[b]=f,Object.defineProperty(f,"id",{value:b}),f.bind&&f.bind(["click","rightClick","clickStage","doubleClickStage","rightClickStage","clickNode","clickNodes","clickEdge","clickEdges","doubleClickNode","doubleClickNodes","doubleClickEdge","doubleClickEdges","rightClickNode","rightClickNodes","rightClickEdge","rightClickEdges","overNode","overNodes","overEdge","overEdges","outNode","outNodes","outEdge","outEdges","downNode","downNodes","downEdge","downEdges","upNode","upNodes","upEdge","upEdges"],this._handler),this.renderersPerCamera[e.id].push(f),f},c.prototype.killRenderer=function(a){if(a="string"==typeof a?this.renderers[a]:a,!a)throw"sigma.killRenderer: The renderer is undefined.";var b=this.renderersPerCamera[a.camera.id],c=b.indexOf(a);return c>=0&&b.splice(c,1),a.kill&&a.kill(),delete this.renderers[a.id],this},c.prototype.refresh=function(b){var d,e,f,g,h,i,j=0;for(b=b||{},g=this.middlewares||[],d=0,e=g.length;e>d;d++)g[d].call(this,0===d?"":"tmp"+j+":",d===e-1?"ready:":"tmp"+ ++j+":");for(f in this.cameras)h=this.cameras[f],h.settings("autoRescale")&&this.renderersPerCamera[h.id]&&this.renderersPerCamera[h.id].length?c.middlewares.rescale.call(this,g.length?"ready:":"",h.readPrefix,{width:this.renderersPerCamera[h.id][0].width,height:this.renderersPerCamera[h.id][0].height}):c.middlewares.copy.call(this,g.length?"ready:":"",h.readPrefix),b.skipIndexation||(i=c.utils.getBoundaries(this.graph,h.readPrefix),h.quadtree.index(this.graph.nodes(),{prefix:h.readPrefix,bounds:{x:i.minX,y:i.minY,width:i.maxX-i.minX,height:i.maxY-i.minY}}),h.edgequadtree!==a&&h.settings("drawEdges")&&h.settings("enableEdgeHovering")&&h.edgequadtree.index(this.graph,{prefix:h.readPrefix,bounds:{x:i.minX,y:i.minY,width:i.maxX-i.minX,height:i.maxY-i.minY}}));for(g=Object.keys(this.renderers),d=0,e=g.length;e>d;d++)if(this.renderers[g[d]].process)if(this.settings("skipErrors"))try{this.renderers[g[d]].process()}catch(k){console.log('Warning: The renderer "'+g[d]+'" crashed on ".process()"')}else this.renderers[g[d]].process();return this.render(),this},c.prototype.render=function(){var a,b,c;for(c=Object.keys(this.renderers),a=0,b=c.length;b>a;a++)if(this.settings("skipErrors"))try{this.renderers[c[a]].render()}catch(d){this.settings("verbose")&&console.log('Warning: The renderer "'+c[a]+'" crashed on ".render()"')}else this.renderers[c[a]].render();return this},c.prototype.renderCamera=function(a,b){var c,d,e,f=this;if(b)for(e=this.renderersPerCamera[a.id],c=0,d=e.length;d>c;c++)if(this.settings("skipErrors"))try{e[c].render()}catch(g){this.settings("verbose")&&console.log('Warning: The renderer "'+e[c].id+'" crashed on ".render()"')}else e[c].render();else if(!this.cameraFrames[a.id]){for(e=this.renderersPerCamera[a.id],c=0,d=e.length;d>c;c++)if(this.settings("skipErrors"))try{e[c].render()}catch(g){this.settings("verbose")&&console.log('Warning: The renderer "'+e[c].id+'" crashed on ".render()"')}else e[c].render();this.cameraFrames[a.id]=requestAnimationFrame(function(){delete f.cameraFrames[a.id]})}return this},c.prototype.kill=function(){var a;this.dispatchEvent("kill"),this.graph.kill(),delete this.middlewares;for(a in this.renderers)this.killRenderer(this.renderers[a]);for(a in this.cameras)this.killCamera(this.cameras[a]);delete this.renderers,delete this.cameras;for(a in this)this.hasOwnProperty(a)&&delete this[a];delete b[this.id]},c.instances=function(a){return arguments.length?b[a]:c.utils.extend({},b)},c.version="1.0.3","undefined"!=typeof this.sigma)throw"An object called sigma is already in the global scope.";this.sigma=c}).call(this),function(a){"use strict";function b(a,c){var d,e,f,g;if(arguments.length)if(1===arguments.length&&Object(arguments[0])===arguments[0])for(a in arguments[0])b(a,arguments[0][a]);else if(arguments.length>1)for(g=Array.isArray(a)?a:a.split(/ /),d=0,e=g.length;d!==e;d+=1)f=g[d],C[f]||(C[f]=[]),C[f].push({handler:c})}function c(a,b){var c,d,e,f,g,h,i=Array.isArray(a)?a:a.split(/ /);if(arguments.length)if(b)for(c=0,d=i.length;c!==d;c+=1){if(h=i[c],C[h]){for(g=[],e=0,f=C[h].length;e!==f;e+=1)C[h][e].handler!==b&&g.push(C[h][e]);C[h]=g}C[h]&&0===C[h].length&&delete C[h]}else for(c=0,d=i.length;c!==d;c+=1)delete C[i[c]];else C=Object.create(null)}function d(a,b){var c,d,e,f,g,h,i=Array.isArray(a)?a:a.split(/ /);for(b=void 0===b?{}:b,c=0,e=i.length;c!==e;c+=1)if(h=i[c],C[h])for(g={type:h,data:b||{}},d=0,f=C[h].length;d!==f;d+=1)try{C[h][d].handler(g)}catch(j){}}function e(){var a,b,c,d,e=!1,f=s(),g=x.shift();if(c=g.job(),f=s()-f,g.done++,g.time+=f,g.currentTime+=f,g.weightTime=g.currentTime/(g.weight||1),g.averageTime=g.time/g.done,d=g.count?g.count<=g.done:!c,!d){for(a=0,b=x.length;b>a;a++)if(x[a].weightTime>g.weightTime){x.splice(a,0,g),e=!0;break}e||x.push(g)}return d?g:null}function f(a){var b=x.length;w[a.id]=a,a.status="running",b&&(a.weightTime=x[b-1].weightTime,a.currentTime=a.weightTime*(a.weight||1)),a.startTime=s(),d("jobStarted",q(a)),x.push(a)}function g(){var a,b,c;for(a in v)b=v[a],b.after?y[a]=b:f(b),delete v[a];for(u=!!x.length;x.length&&s()-tc;c++)h(a[c].id,p(a[c],b));A=!1,u||(t=s(),d("start"),g())}else if("object"==typeof a)if("string"==typeof a.id)h(a.id,a);else{A=!0;for(c in a)"function"==typeof a[c]?h(c,p({job:a[c]},b)):h(c,p(a[c],b));A=!1,u||(t=s(),d("start"),g())}else{if("string"!=typeof a)throw new Error("[conrad.addJob] Wrong arguments.");if(k(a))throw new Error('[conrad.addJob] Job with id "'+a+'" already exists.');if("function"==typeof b)f={id:a,done:0,time:0,status:"waiting",currentTime:0,averageTime:0,weightTime:0,job:b};else{if("object"!=typeof b)throw new Error("[conrad.addJob] Wrong arguments.");f=p({id:a,done:0,time:0,status:"waiting",currentTime:0,averageTime:0,weightTime:0},b)}v[a]=f,d("jobAdded",q(f)),u||A||(t=s(),d("start"),g())}return this}function i(a){var b,c,e,f,g=!1;if(Array.isArray(a))for(b=0,c=a.length;c>b;b++)i(a[b]);else{if("string"!=typeof a)throw new Error("[conrad.killJob] Wrong arguments.");for(e=[w,y,v],b=0,c=e.length;c>b;b++)a in e[b]&&(f=e[b][a],B.history&&(f.status="done",z.push(f)),d("jobEnded",q(f)),delete e[b][a],"function"==typeof f.end&&f.end(),g=!0);for(e=x,b=0,c=e.length;c>b;b++)if(e[b].id===a){e.splice(b,1);break}if(!g)throw new Error('[conrad.killJob] Job "'+a+'" not found.')}return this}function j(){var a,b=p(v,w,y);if(B.history)for(a in b)b[a].status="done",z.push(b[a]),"function"==typeof b[a].end&&b[a].end();return v={},y={},w={},x=[],u=!1,this}function k(a){var b=v[a]||w[a]||y[a];return b?p(b):null}function l(a,b){var c;if("string"==typeof a1&&1===arguments.length)return B[a1];c="object"==typeof a1&&1===arguments.length?a1||{}:{},"string"==typeof a1&&(c[a1]=a2);for(var d in c)void 0!==c[d]?B[d]=c[d]:delete B[d];return this}function m(){return u}function n(){return z=[],this}function o(a,b){var c,d,e,f,g,h,i;if(!arguments.length){g=[];for(d in v)g.push(v[d]);for(d in y)g.push(y[d]);for(d in w)g.push(w[d]);g=g.concat(z)}if("string"==typeof a)switch(a){case"waiting":g=r(y);break;case"running":g=r(w);break;case"done":g=z;break;default:h=a}if(a instanceof RegExp&&(h=a),!h&&("string"==typeof b||b instanceof RegExp)&&(h=b),h){if(i="string"==typeof h,g instanceof Array)c=g;else if("object"==typeof g){c=[];for(d in g)c=c.concat(g[d])}else{c=[];for(d in v)c.push(v[d]);for(d in y)c.push(y[d]);for(d in w)c.push(w[d]);c=c.concat(z)}for(g=[],e=0,f=c.length;f>e;e++)(i?c[e].id===h:c[e].id.match(h))&&g.push(c[e])}return q(g)}function p(){var a,b,c={},d=arguments.length;for(a=d-1;a>=0;a--)for(b in arguments[a])c[b]=arguments[a][b];return c}function q(a){var b,c,d;if(!a)return a;if(Array.isArray(a))for(b=[],c=0,d=a.length;d>c;c++)b.push(q(a[c]));else if("object"==typeof a){b={};for(c in a)b[c]=q(a[c])}else b=a;return b}function r(a){var b,c=[];for(b in a)c.push(a[b]);return c}function s(){return Date.now?Date.now():(new Date).getTime()}if(a.conrad)throw new Error("conrad already exists");var t,u=!1,v={},w={},x=[],y={},z=[],A=!1,B={frameDuration:20,history:!0},C=Object.create(null);Array.isArray||(Array.isArray=function(a){return"[object Array]"===Object.prototype.toString.call(a)});var D={hasJob:k,addJob:h,killJob:i,killAll:j,settings:l,getStats:o,isRunning:m,clearHistory:n,bind:b,unbind:c,version:"0.1.0"};"undefined"!=typeof exports&&("undefined"!=typeof module&&module.exports&&(exports=module.exports=D),exports.conrad=D),a.conrad=D}(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";var b=this;sigma.utils=sigma.utils||{},sigma.utils.extend=function(){var a,b,c={},d=arguments.length;for(a=d-1;a>=0;a--)for(b in arguments[a])c[b]=arguments[a][b];return c},sigma.utils.dateNow=function(){return Date.now?Date.now():(new Date).getTime()},sigma.utils.pkg=function(a){return(a||"").split(".").reduce(function(a,b){return b in a?a[b]:a[b]={}},b)},sigma.utils.id=function(){var a=0;return function(){return++a}}(),sigma.utils.floatColor=function(a){var b=[0,0,0];return a.match(/^#/)?(a=(a||"").replace(/^#/,""),b=3===a.length?[parseInt(a.charAt(0)+a.charAt(0),16),parseInt(a.charAt(1)+a.charAt(1),16),parseInt(a.charAt(2)+a.charAt(2),16)]:[parseInt(a.charAt(0)+a.charAt(1),16),parseInt(a.charAt(2)+a.charAt(3),16),parseInt(a.charAt(4)+a.charAt(5),16)]):a.match(/^ *rgba? *\(/)&&(a=a.match(/^ *rgba? *\( *([0-9]*) *, *([0-9]*) *, *([0-9]*) *(,.*)?\) *$/),b=[+a[1],+a[2],+a[3]]),256*b[0]*256+256*b[1]+b[2]},sigma.utils.zoomTo=function(a,b,c,d,e){var f,g,h,i=a.settings;g=Math.max(i("zoomMin"),Math.min(i("zoomMax"),a.ratio*d)),g!==a.ratio&&(d=g/a.ratio,h={x:b*(1-d)+a.x,y:c*(1-d)+a.y,ratio:g},e&&e.duration?(f=sigma.misc.animation.killAll(a),e=sigma.utils.extend(e,{easing:f?"quadraticOut":"quadraticInOut"}),sigma.misc.animation.camera(a,h,e)):(a.goTo(h),e&&e.onComplete&&e.onComplete()))},sigma.utils.getQuadraticControlPoint=function(a,b,c,d){return{x:(a+c)/2+(d-b)/4,y:(b+d)/2+(a-c)/4}},sigma.utils.getPointOnQuadraticCurve=function(a,b,c,d,e,f,g){return{x:Math.pow(1-a,2)*b+2*(1-a)*a*f+Math.pow(a,2)*d,y:Math.pow(1-a,2)*c+2*(1-a)*a*g+Math.pow(a,2)*e}},sigma.utils.getPointOnBezierCurve=function(a,b,c,d,e,f,g,h,i){var j=Math.pow(1-a,3),k=3*a*Math.pow(1-a,2),l=3*Math.pow(a,2)*(1-a),m=Math.pow(a,3);return{x:j*b+k*f+l*h+m*d,y:j*c+k*g+l*i+m*e}},sigma.utils.getSelfLoopControlPoints=function(a,b,c){return{x1:a-7*c,y1:b,x2:a,y2:b+7*c}},sigma.utils.getDistance=function(a,b,c,d){return Math.sqrt(Math.pow(c-a,2)+Math.pow(d-b,2))},sigma.utils.getCircleIntersection=function(a,b,c,d,e,f){var g,h,i,j,k,l,m,n,o;if(h=d-a,i=e-b,j=Math.sqrt(i*i+h*h),j>c+f)return!1;if(jj&&Math.min(c,e)<=a&&a<=Math.max(c,e)&&Math.min(d,f)<=b&&b<=Math.max(d,f)},sigma.utils.isPointOnQuadraticCurve=function(a,b,c,d,e,f,g,h,i){var j=sigma.utils.getDistance(c,d,e,f);if(Math.abs(a-c)>j||Math.abs(b-d)>j)return!1;for(var k,l=sigma.utils.getDistance(a,b,c,d),m=sigma.utils.getDistance(a,b,e,f),n=.5,o=m>l?-.01:.01,p=.001,q=100,r=sigma.utils.getPointOnQuadraticCurve(n,c,d,e,f,g,h),s=sigma.utils.getDistance(a,b,r.x,r.y);q-- >0&&n>=0&&1>=n&&s>i&&(o>p||-p>o);)k=s,r=sigma.utils.getPointOnQuadraticCurve(n,c,d,e,f,g,h),s=sigma.utils.getDistance(a,b,r.x,r.y),s>k?(o=-o/2,n+=o):0>n+o||n+o>1?(o/=2,s=k):n+=o;return i>s},sigma.utils.isPointOnBezierCurve=function(a,b,c,d,e,f,g,h,i,j,k){var l=sigma.utils.getDistance(c,d,g,h);if(Math.abs(a-c)>l||Math.abs(b-d)>l)return!1;for(var m,n=sigma.utils.getDistance(a,b,c,d),o=sigma.utils.getDistance(a,b,e,f),p=.5,q=o>n?-.01:.01,r=.001,s=100,t=sigma.utils.getPointOnBezierCurve(p,c,d,e,f,g,h,i,j),u=sigma.utils.getDistance(a,b,t.x,t.y);s-- >0&&p>=0&&1>=p&&u>k&&(q>r||-r>q);)m=u,t=sigma.utils.getPointOnBezierCurve(p,c,d,e,f,g,h,i,j),u=sigma.utils.getDistance(a,b,t.x,t.y),u>m?(q=-q/2,p+=q):0>p+q||p+q>1?(q/=2,u=m):p+=q;return k>u},sigma.utils.getX=function(b){return b.offsetX!==a&&b.offsetX||b.layerX!==a&&b.layerX||b.clientX!==a&&b.clientX},sigma.utils.getY=function(b){return b.offsetY!==a&&b.offsetY||b.layerY!==a&&b.layerY||b.clientY!==a&&b.clientY},sigma.utils.getWidth=function(b){var c=b.target.ownerSVGElement?b.target.ownerSVGElement.width:b.target.width;return"number"==typeof c&&c||c!==a&&c.baseVal!==a&&c.baseVal.value},sigma.utils.getHeight=function(b){var c=b.target.ownerSVGElement?b.target.ownerSVGElement.height:b.target.height;return"number"==typeof c&&c||c!==a&&c.baseVal!==a&&c.baseVal.value},sigma.utils.getDelta=function(b){return b.wheelDelta!==a&&b.wheelDelta||b.detail!==a&&-b.detail},sigma.utils.getOffset=function(a){for(var b=0,c=0;a;)c+=parseInt(a.offsetTop),b+=parseInt(a.offsetLeft),a=a.offsetParent;return{top:c,left:b}},sigma.utils.doubleClick=function(a,b,c){var d,e=0;a._doubleClickHandler=a._doubleClickHandler||{},a._doubleClickHandler[b]=a._doubleClickHandler[b]||[],d=a._doubleClickHandler[b],d.push(function(a){return e++,2===e?(e=0,c(a)):void(1===e&&setTimeout(function(){e=0},sigma.settings.doubleClickTimeout))}),a.addEventListener(b,d[d.length-1],!1)},sigma.utils.unbindDoubleClick=function(a,b){for(var c,d=(a._doubleClickHandler||{})[b]||[];c=d.pop();)a.removeEventListener(b,c);delete(a._doubleClickHandler||{})[b]},sigma.utils.easings=sigma.utils.easings||{},sigma.utils.easings.linearNone=function(a){return a},sigma.utils.easings.quadraticIn=function(a){return a*a},sigma.utils.easings.quadraticOut=function(a){return a*(2-a)},sigma.utils.easings.quadraticInOut=function(a){return(a*=2)<1?.5*a*a:-.5*(--a*(a-2)-1)},sigma.utils.easings.cubicIn=function(a){return a*a*a},sigma.utils.easings.cubicOut=function(a){return--a*a*a+1},sigma.utils.easings.cubicInOut=function(a){return(a*=2)<1?.5*a*a*a:.5*((a-=2)*a*a+2)},sigma.utils.loadShader=function(a,b,c,d){var e,f=a.createShader(c);return a.shaderSource(f,b),a.compileShader(f),e=a.getShaderParameter(f,a.COMPILE_STATUS),e?f:(d&&d('Error compiling shader "'+f+'":'+a.getShaderInfoLog(f)),a.deleteShader(f),null)},sigma.utils.loadProgram=function(a,b,c,d,e){var f,g,h=a.createProgram();for(f=0;fg;g++)d[i[g]]=c[i[g]];return this}if(void 0!==d[a])return d[a];for(g=0,h=e.length;h>g;g++)if(void 0!==e[g][a])return e[g][a]}};for(f.embedObjects=function(){var b=e.concat(d).concat(Array.prototype.splice.call(arguments,0));return a.apply({},b)},b=0,c=arguments.length;c>b;b++)f(arguments[b]);return f};"undefined"!=typeof this.sigma?(this.sigma.classes=this.sigma.classes||{},this.sigma.classes.configurable=a):"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=a),exports.configurable=a):this.configurable=a}.call(this),function(a){"use strict";function b(a,b,c){var d=function(){var d,e;for(d in h[a])h[a][d].apply(b,arguments);e=c.apply(b,arguments);for(d in g[a])g[a][d].apply(b,arguments);return e};return d}function c(a){var b;for(b in a)"hasOwnProperty"in a&&!a.hasOwnProperty(b)||delete a[b];return a}var d=Object.create(null),e=Object.create(null),f=Object.create(null),g=Object.create(null),h=Object.create(null),i={immutable:!0,clone:!0},j=function(a){return i[a]},k=function(a){var c,e,g;g={settings:a||j,nodesArray:[],edgesArray:[],nodesIndex:Object.create(null),edgesIndex:Object.create(null),inNeighborsIndex:Object.create(null),outNeighborsIndex:Object.create(null),allNeighborsIndex:Object.create(null),inNeighborsCount:Object.create(null),outNeighborsCount:Object.create(null),allNeighborsCount:Object.create(null)};for(c in f)f[c].call(g);for(c in d)e=b(c,g,d[c]),this[c]=e,g[c]=e};k.addMethod=function(a,b){if("string"!=typeof a||"function"!=typeof b||2!==arguments.length)throw"addMethod: Wrong arguments.";if(d[a]||k[a])throw'The method "'+a+'" already exists.';return d[a]=b,g[a]=Object.create(null),h[a]=Object.create(null),this},k.hasMethod=function(a){return!(!d[a]&&!k[a])},k.attach=function(a,b,c,d){if("string"!=typeof a||"string"!=typeof b||"function"!=typeof c||arguments.length<3||arguments.length>4)throw"attach: Wrong arguments.";var e;if("constructor"===a)e=f;else if(d){if(!h[a])throw'The method "'+a+'" does not exist.';e=h[a]}else{if(!g[a])throw'The method "'+a+'" does not exist.';e=g[a]}if(e[b])throw'A function "'+b+'" is already attached to the method "'+a+'".';return e[b]=c,this},k.attachBefore=function(a,b,c){return this.attach(a,b,c,!0)},k.addIndex=function(a,b){if("string"!=typeof a||Object(b)!==b||2!==arguments.length)throw"addIndex: Wrong arguments.";if(e[a])throw'The index "'+a+'" already exists.';var c;e[a]=b;for(c in b){if("function"!=typeof b[c])throw"The bindings must be functions.";k.attach(c,a,b[c])}return this},k.addMethod("addNode",function(a){if(Object(a)!==a||1!==arguments.length)throw"addNode: Wrong arguments.";if("string"!=typeof a.id&&"number"!=typeof a.id)throw"The node must have a string or number id.";if(this.nodesIndex[a.id])throw'The node "'+a.id+'" already exists.';var b,c=a.id,d=Object.create(null);if(this.settings("clone"))for(b in a)"id"!==b&&(d[b]=a[b]);else d=a;return this.settings("immutable")?Object.defineProperty(d,"id",{value:c,enumerable:!0}):d.id=c,this.inNeighborsIndex[c]=Object.create(null),this.outNeighborsIndex[c]=Object.create(null),this.allNeighborsIndex[c]=Object.create(null),this.inNeighborsCount[c]=0,this.outNeighborsCount[c]=0,this.allNeighborsCount[c]=0,this.nodesArray.push(d),this.nodesIndex[d.id]=d,this}),k.addMethod("addEdge",function(a){if(Object(a)!==a||1!==arguments.length)throw"addEdge: Wrong arguments.";if("string"!=typeof a.id&&"number"!=typeof a.id)throw"The edge must have a string or number id.";if("string"!=typeof a.source&&"number"!=typeof a.source||!this.nodesIndex[a.source])throw"The edge source must have an existing node id.";if("string"!=typeof a.target&&"number"!=typeof a.target||!this.nodesIndex[a.target])throw"The edge target must have an existing node id.";if(this.edgesIndex[a.id])throw'The edge "'+a.id+'" already exists.';var b,c=Object.create(null);if(this.settings("clone"))for(b in a)"id"!==b&&"source"!==b&&"target"!==b&&(c[b]=a[b]);else c=a;return this.settings("immutable")?(Object.defineProperty(c,"id",{value:a.id,enumerable:!0}),Object.defineProperty(c,"source",{value:a.source,enumerable:!0}),Object.defineProperty(c,"target",{value:a.target,enumerable:!0})):(c.id=a.id,c.source=a.source,c.target=a.target),this.edgesArray.push(c),this.edgesIndex[c.id]=c,this.inNeighborsIndex[c.target][c.source]||(this.inNeighborsIndex[c.target][c.source]=Object.create(null)),this.inNeighborsIndex[c.target][c.source][c.id]=c,this.outNeighborsIndex[c.source][c.target]||(this.outNeighborsIndex[c.source][c.target]=Object.create(null)),this.outNeighborsIndex[c.source][c.target][c.id]=c,this.allNeighborsIndex[c.source][c.target]||(this.allNeighborsIndex[c.source][c.target]=Object.create(null)),this.allNeighborsIndex[c.source][c.target][c.id]=c,c.target!==c.source&&(this.allNeighborsIndex[c.target][c.source]||(this.allNeighborsIndex[c.target][c.source]=Object.create(null)),this.allNeighborsIndex[c.target][c.source][c.id]=c),this.inNeighborsCount[c.target]++,this.outNeighborsCount[c.source]++,this.allNeighborsCount[c.target]++,this.allNeighborsCount[c.source]++,this}),k.addMethod("dropNode",function(a){if("string"!=typeof a&&"number"!=typeof a||1!==arguments.length)throw"dropNode: Wrong arguments.";if(!this.nodesIndex[a])throw'The node "'+a+'" does not exist.';var b,c,d;for(delete this.nodesIndex[a],b=0,d=this.nodesArray.length;d>b;b++)if(this.nodesArray[b].id===a){this.nodesArray.splice(b,1);break}for(b=this.edgesArray.length-1;b>=0;b--)(this.edgesArray[b].source===a||this.edgesArray[b].target===a)&&this.dropEdge(this.edgesArray[b].id);delete this.inNeighborsIndex[a],delete this.outNeighborsIndex[a],delete this.allNeighborsIndex[a],delete this.inNeighborsCount[a],delete this.outNeighborsCount[a],delete this.allNeighborsCount[a];for(c in this.nodesIndex)delete this.inNeighborsIndex[c][a],delete this.outNeighborsIndex[c][a],delete this.allNeighborsIndex[c][a];return this}),k.addMethod("dropEdge",function(a){if("string"!=typeof a&&"number"!=typeof a||1!==arguments.length)throw"dropEdge: Wrong arguments.";if(!this.edgesIndex[a])throw'The edge "'+a+'" does not exist.';var b,c,d;for(d=this.edgesIndex[a],delete this.edgesIndex[a],b=0,c=this.edgesArray.length;c>b;b++)if(this.edgesArray[b].id===a){this.edgesArray.splice(b,1);break}return delete this.inNeighborsIndex[d.target][d.source][d.id],Object.keys(this.inNeighborsIndex[d.target][d.source]).length||delete this.inNeighborsIndex[d.target][d.source],delete this.outNeighborsIndex[d.source][d.target][d.id],Object.keys(this.outNeighborsIndex[d.source][d.target]).length||delete this.outNeighborsIndex[d.source][d.target],delete this.allNeighborsIndex[d.source][d.target][d.id],Object.keys(this.allNeighborsIndex[d.source][d.target]).length||delete this.allNeighborsIndex[d.source][d.target],d.target!==d.source&&(delete this.allNeighborsIndex[d.target][d.source][d.id],Object.keys(this.allNeighborsIndex[d.target][d.source]).length||delete this.allNeighborsIndex[d.target][d.source]),this.inNeighborsCount[d.target]--,this.outNeighborsCount[d.source]--,this.allNeighborsCount[d.source]--,this.allNeighborsCount[d.target]--,this}),k.addMethod("kill",function(){this.nodesArray.length=0,this.edgesArray.length=0,delete this.nodesArray,delete this.edgesArray,delete this.nodesIndex,delete this.edgesIndex,delete this.inNeighborsIndex,delete this.outNeighborsIndex,delete this.allNeighborsIndex,delete this.inNeighborsCount,delete this.outNeighborsCount,delete this.allNeighborsCount}),k.addMethod("clear",function(){return this.nodesArray.length=0,this.edgesArray.length=0,c(this.nodesIndex),c(this.edgesIndex),c(this.nodesIndex),c(this.inNeighborsIndex),c(this.outNeighborsIndex),c(this.allNeighborsIndex),c(this.inNeighborsCount),c(this.outNeighborsCount),c(this.allNeighborsCount),this}),k.addMethod("read",function(a){var b,c,d;for(c=a.nodes||[],b=0,d=c.length;d>b;b++)this.addNode(c[b]);for(c=a.edges||[],b=0,d=c.length;d>b;b++)this.addEdge(c[b]);return this}),k.addMethod("nodes",function(a){if(!arguments.length)return this.nodesArray.slice(0);if(1===arguments.length&&("string"==typeof a||"number"==typeof a))return this.nodesIndex[a];if(1===arguments.length&&"[object Array]"===Object.prototype.toString.call(a)){ -var b,c,d=[];for(b=0,c=a.length;c>b;b++){if("string"!=typeof a[b]&&"number"!=typeof a[b])throw"nodes: Wrong arguments.";d.push(this.nodesIndex[a[b]])}return d}throw"nodes: Wrong arguments."}),k.addMethod("degree",function(a,b){if(b={"in":this.inNeighborsCount,out:this.outNeighborsCount}[b||""]||this.allNeighborsCount,"string"==typeof a||"number"==typeof a)return b[a];if("[object Array]"===Object.prototype.toString.call(a)){var c,d,e=[];for(c=0,d=a.length;d>c;c++){if("string"!=typeof a[c]&&"number"!=typeof a[c])throw"degree: Wrong arguments.";e.push(b[a[c]])}return e}throw"degree: Wrong arguments."}),k.addMethod("edges",function(a){if(!arguments.length)return this.edgesArray.slice(0);if(1===arguments.length&&("string"==typeof a||"number"==typeof a))return this.edgesIndex[a];if(1===arguments.length&&"[object Array]"===Object.prototype.toString.call(a)){var b,c,d=[];for(b=0,c=a.length;c>b;b++){if("string"!=typeof a[b]&&"number"!=typeof a[b])throw"edges: Wrong arguments.";d.push(this.edgesIndex[a[b]])}return d}throw"edges: Wrong arguments."}),"undefined"!=typeof sigma?(sigma.classes=sigma.classes||Object.create(null),sigma.classes.graph=k):"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=k),exports.graph=k):this.graph=k}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.classes"),sigma.classes.camera=function(a,b,c,d){sigma.classes.dispatcher.extend(this),Object.defineProperty(this,"graph",{value:b}),Object.defineProperty(this,"id",{value:a}),Object.defineProperty(this,"readPrefix",{value:"read_cam"+a+":"}),Object.defineProperty(this,"prefix",{value:"cam"+a+":"}),this.x=0,this.y=0,this.ratio=1,this.angle=0,this.isAnimated=!1,this.settings="object"==typeof d&&d?c.embedObject(d):c},sigma.classes.camera.prototype.goTo=function(b){if(!this.settings("enableCamera"))return this;var c,d,e=b||{},f=["x","y","ratio","angle"];for(c=0,d=f.length;d>c;c++)if(e[f[c]]!==a){if("number"!=typeof e[f[c]]||isNaN(e[f[c]]))throw'Value for "'+f[c]+'" is not a number.';this[f[c]]=e[f[c]]}return this.dispatchEvent("coordinatesUpdated"),this},sigma.classes.camera.prototype.applyView=function(b,c,d){d=d||{},c=c!==a?c:this.prefix,b=b!==a?b:this.readPrefix;var e,f,g,h=d.nodes||this.graph.nodes(),i=d.edges||this.graph.edges(),j=Math.cos(this.angle),k=Math.sin(this.angle),l=Math.pow(this.ratio,this.settings("nodesPowRatio")),m=Math.pow(this.ratio,this.settings("edgesPowRatio"));for(e=0,f=h.length;f>e;e++)g=h[e],g[c+"x"]=(((g[b+"x"]||0)-this.x)*j+((g[b+"y"]||0)-this.y)*k)/this.ratio+(d.width||0)/2,g[c+"y"]=(((g[b+"y"]||0)-this.y)*j-((g[b+"x"]||0)-this.x)*k)/this.ratio+(d.height||0)/2,g[c+"size"]=(g[b+"size"]||0)/l;for(e=0,f=i.length;f>e;e++)i[e][c+"size"]=(i[e][b+"size"]||0)/m;return this},sigma.classes.camera.prototype.graphPosition=function(a,b,c){var d=0,e=0,f=Math.cos(this.angle),g=Math.sin(this.angle);return c||(d=-(this.x*f+this.y*g)/this.ratio,e=-(this.y*f-this.x*g)/this.ratio),{x:(a*f+b*g)/this.ratio+d,y:(b*f-a*g)/this.ratio+e}},sigma.classes.camera.prototype.cameraPosition=function(a,b,c){var d=0,e=0,f=Math.cos(this.angle),g=Math.sin(this.angle);return c||(d=-(this.x*f+this.y*g)/this.ratio,e=-(this.y*f-this.x*g)/this.ratio),{x:((a-d)*f-(b-e)*g)*this.ratio,y:((b-e)*f+(a-d)*g)*this.ratio}},sigma.classes.camera.prototype.getMatrix=function(){var a=sigma.utils.matrices.scale(1/this.ratio),b=sigma.utils.matrices.rotation(this.angle),c=sigma.utils.matrices.translation(-this.x,-this.y),d=sigma.utils.matrices.multiply(c,sigma.utils.matrices.multiply(b,a));return d},sigma.classes.camera.prototype.getRectangle=function(a,b){var c=this.cameraPosition(a,0,!0),d=this.cameraPosition(0,b,!0),e=this.cameraPosition(a/2,b/2,!0),f=this.cameraPosition(a/4,0,!0).x,g=this.cameraPosition(0,b/4,!0).y;return{x1:this.x-e.x-f,y1:this.y-e.y-g,x2:this.x-e.x+f+c.x,y2:this.y-e.y-g+c.y,height:Math.sqrt(Math.pow(d.x,2)+Math.pow(d.y+2*g,2))}}}.call(this),function(a){"use strict";function b(a,b){var c=b.x+b.width/2,d=b.y+b.height/2,e=a.yd;d++)a.x2>=b[d][0].x&&a.x1<=b[d][1].x&&a.y1+a.height>=b[d][0].y&&a.y1<=b[d][2].y&&c.push(d);return c}function d(a,b){for(var c=[],d=0;4>d;d++)j.collision(a,b[d])&&c.push(d);return c}function e(a,b){var c,d,e=b.level+1,f=Math.round(b.bounds.width/2),g=Math.round(b.bounds.height/2),h=Math.round(b.bounds.x),j=Math.round(b.bounds.y);switch(a){case 0:c=h,d=j;break;case 1:c=h+f,d=j;break;case 2:c=h,d=j+g;break;case 3:c=h+f,d=j+g}return i({x:c,y:d,width:f,height:g},e,b.maxElements,b.maxLevel)}function f(b,d,g){if(g.leveli;i++)g.nodes[h[i]]===a&&(g.nodes[h[i]]=e(h[i],g)),f(b,d,g.nodes[h[i]]);else g.elements.push(b)}function g(c,d){if(d.levelg;g++)c.nodes[f[g]]!==a&&h(b,c.nodes[f[g]],d,e);else for(var j=0,k=c.elements.length;k>j;j++)e[c.elements[j].id]===a&&(e[c.elements[j].id]=c.elements[j]);return e}function i(a,b,c,d){return{level:b||0,bounds:a,corners:j.splitSquare(a),maxElements:c||20,maxLevel:d||4,elements:[],nodes:[]}}var j={pointToSquare:function(a){return{x1:a.x-a.size,y1:a.y-a.size,x2:a.x+a.size,y2:a.y-a.size,height:2*a.size}},isAxisAligned:function(a){return a.x1===a.x2||a.y1===a.y2},axisAlignedTopPoints:function(a){return a.y1===a.y2&&a.x1a.y1?{x1:a.x1-a.height,y1:a.y1,x2:a.x1,y2:a.y1,height:a.height}:a.x1===a.x2&&a.y2f;f++){var g=this.projection(b[f],a),h=this.projection(c[f],a);d.push(g.x*a.x+g.y*a.y),e.push(h.x*a.x+h.y*a.y)}var i=Math.max.apply(Math,d),j=Math.max.apply(Math,e),k=Math.min.apply(Math,d),l=Math.min.apply(Math,e);return i>=l&&j>=k},collision:function(a,b){for(var c=this.axis(a,b),d=!0,e=0;4>e;e++)d=d&&this.axisCollision(c[e],a,b);return d}},k=function(){this._geom=j,this._tree=null,this._cache={query:!1,result:!1}};k.prototype.index=function(a,b){if(!b.bounds)throw"sigma.classes.quad.index: bounds information not given.";var c=b.prefix||"";this._tree=i(b.bounds,0,b.maxElements,b.maxLevel);for(var d=0,e=a.length;e>d;d++)f(a[d],j.pointToSquare({x:a[d][c+"x"],y:a[d][c+"y"],size:a[d][c+"size"]}),this._tree);return this._cache={query:!1,result:!1},this._tree},k.prototype.point=function(a,b){return this._tree?g({x:a,y:b},this._tree)||[]:[]},k.prototype.area=function(a){var b,e,f=JSON.stringify(a);if(this._cache.query===f)return this._cache.result;j.isAxisAligned(a)?(b=c,e=j.axisAlignedTopPoints(a)):(b=d,e=j.rectangleCorners(a));var g=this._tree?h(e,this._tree,b):[],i=[];for(var k in g)i.push(g[k]);return this._cache.query=f,this._cache.result=i,i},"undefined"!=typeof this.sigma?(this.sigma.classes=this.sigma.classes||{},this.sigma.classes.quad=k):"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=k),exports.quad=k):this.quad=k}.call(this),function(a){"use strict";function b(a,b){var c=b.x+b.width/2,d=b.y+b.height/2,e=a.yd;d++)a.x2>=b[d][0].x&&a.x1<=b[d][1].x&&a.y1+a.height>=b[d][0].y&&a.y1<=b[d][2].y&&c.push(d);return c}function d(a,b){for(var c=[],d=0;4>d;d++)j.collision(a,b[d])&&c.push(d);return c}function e(a,b){var c,d,e=b.level+1,f=Math.round(b.bounds.width/2),g=Math.round(b.bounds.height/2),h=Math.round(b.bounds.x),j=Math.round(b.bounds.y);switch(a){case 0:c=h,d=j;break;case 1:c=h+f,d=j;break;case 2:c=h,d=j+g;break;case 3:c=h+f,d=j+g}return i({x:c,y:d,width:f,height:g},e,b.maxElements,b.maxLevel)}function f(b,d,g){if(g.leveli;i++)g.nodes[h[i]]===a&&(g.nodes[h[i]]=e(h[i],g)),f(b,d,g.nodes[h[i]]);else g.elements.push(b)}function g(c,d){if(d.levelg;g++)c.nodes[f[g]]!==a&&h(b,c.nodes[f[g]],d,e);else for(var j=0,k=c.elements.length;k>j;j++)e[c.elements[j].id]===a&&(e[c.elements[j].id]=c.elements[j]);return e}function i(a,b,c,d){return{level:b||0,bounds:a,corners:j.splitSquare(a),maxElements:c||40,maxLevel:d||8,elements:[],nodes:[]}}var j={pointToSquare:function(a){return{x1:a.x-a.size,y1:a.y-a.size,x2:a.x+a.size,y2:a.y-a.size,height:2*a.size}},lineToSquare:function(a){return a.y1a.y1?{x1:a.x1-a.height,y1:a.y1,x2:a.x1,y2:a.y1,height:a.height}:a.x1===a.x2&&a.y2f;f++){var g=this.projection(b[f],a),h=this.projection(c[f],a);d.push(g.x*a.x+g.y*a.y),e.push(h.x*a.x+h.y*a.y)}var i=Math.max.apply(Math,d),j=Math.max.apply(Math,e),k=Math.min.apply(Math,d),l=Math.min.apply(Math,e);return i>=l&&j>=k},collision:function(a,b){for(var c=this.axis(a,b),d=!0,e=0;4>e;e++)d=d&&this.axisCollision(c[e],a,b);return d}},k=function(){this._geom=j,this._tree=null,this._cache={query:!1,result:!1},this._enabled=!0};k.prototype.index=function(a,b){if(!this._enabled)return this._tree;if(!b.bounds)throw"sigma.classes.edgequad.index: bounds information not given.";var c,d,e,g,h,k=b.prefix||"";this._tree=i(b.bounds,0,b.maxElements,b.maxLevel);for(var l=a.edges(),m=0,n=l.length;n>m;m++)d=a.nodes(l[m].source),e=a.nodes(l[m].target),h={x1:d[k+"x"],y1:d[k+"y"],x2:e[k+"x"],y2:e[k+"y"],size:l[m][k+"size"]||0},"curve"===l[m].type||"curvedArrow"===l[m].type?d.id===e.id?(g={x:d[k+"x"],y:d[k+"y"],size:d[k+"size"]||0},f(l[m],j.selfLoopToSquare(g),this._tree)):(c=sigma.utils.getQuadraticControlPoint(h.x1,h.y1,h.x2,h.y2),f(l[m],j.quadraticCurveToSquare(h,c),this._tree)):f(l[m],j.lineToSquare(h),this._tree);return this._cache={query:!1,result:!1},this._tree},k.prototype.point=function(a,b){return this._enabled&&this._tree?g({x:a,y:b},this._tree)||[]:[]},k.prototype.area=function(a){if(!this._enabled)return[];var b,e,f=JSON.stringify(a);if(this._cache.query===f)return this._cache.result;j.isAxisAligned(a)?(b=c,e=j.axisAlignedTopPoints(a)):(b=d,e=j.rectangleCorners(a));var g=this._tree?h(e,this._tree,b):[],i=[];for(var k in g)i.push(g[k]);return this._cache.query=f,this._cache.result=i,i},"undefined"!=typeof this.sigma?(this.sigma.classes=this.sigma.classes||{},this.sigma.classes.edgequad=k):"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=k),exports.edgequad=k):this.edgequad=k}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.captors"),sigma.captors.mouse=function(a,b,c){function d(a){var b,c,d;return y("mouseEnabled")&&v.dispatchEvent("mousemove",{x:sigma.utils.getX(a)-sigma.utils.getWidth(a)/2,y:sigma.utils.getY(a)-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey}),y("mouseEnabled")&&q?(r=!0,s=!0,u&&clearTimeout(u),u=setTimeout(function(){r=!1},y("dragTimeout")),sigma.misc.animation.killAll(x),x.isMoving=!0,d=x.cameraPosition(sigma.utils.getX(a)-o,sigma.utils.getY(a)-p,!0),b=k-d.x,c=l-d.y,(b!==x.x||c!==x.y)&&(m=x.x,n=x.y,x.goTo({x:b,y:c})),a.preventDefault?a.preventDefault():a.returnValue=!1,a.stopPropagation(),!1):void 0}function e(a){if(y("mouseEnabled")&&q){q=!1,u&&clearTimeout(u),x.isMoving=!1;var b=sigma.utils.getX(a),c=sigma.utils.getY(a);r?(sigma.misc.animation.killAll(x),sigma.misc.animation.camera(x,{x:x.x+y("mouseInertiaRatio")*(x.x-m),y:x.y+y("mouseInertiaRatio")*(x.y-n)},{easing:"quadraticOut",duration:y("mouseInertiaDuration")})):(o!==b||p!==c)&&x.goTo({x:x.x,y:x.y}),v.dispatchEvent("mouseup",{x:b-sigma.utils.getWidth(a)/2,y:c-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey}),r=!1}}function f(a){if(y("mouseEnabled"))switch(k=x.x,l=x.y,m=x.x,n=x.y,o=sigma.utils.getX(a),p=sigma.utils.getY(a),s=!1,t=(new Date).getTime(),a.which){case 2:break;case 3:v.dispatchEvent("rightclick",{x:o-sigma.utils.getWidth(a)/2,y:p-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey});break;default:q=!0,v.dispatchEvent("mousedown",{x:o-sigma.utils.getWidth(a)/2,y:p-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey})}}function g(a){y("mouseEnabled")&&v.dispatchEvent("mouseout")}function h(a){return y("mouseEnabled")&&v.dispatchEvent("click",{x:sigma.utils.getX(a)-sigma.utils.getWidth(a)/2,y:sigma.utils.getY(a)-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey,isDragging:(new Date).getTime()-t>100&&s}),a.preventDefault?a.preventDefault():a.returnValue=!1,a.stopPropagation(),!1}function i(a){var b,c,d;return y("mouseEnabled")?(c=1/y("doubleClickZoomingRatio"),v.dispatchEvent("doubleclick",{x:o-sigma.utils.getWidth(a)/2,y:p-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey}),y("doubleClickEnabled")&&(b=x.cameraPosition(sigma.utils.getX(a)-sigma.utils.getWidth(a)/2,sigma.utils.getY(a)-sigma.utils.getHeight(a)/2,!0),d={duration:y("doubleClickZoomDuration")},sigma.utils.zoomTo(x,b.x,b.y,c,d)),a.preventDefault?a.preventDefault():a.returnValue=!1,a.stopPropagation(),!1):void 0}function j(a){var b,c,d;return y("mouseEnabled")&&y("mouseWheelEnabled")?(c=sigma.utils.getDelta(a)>0?1/y("zoomingRatio"):y("zoomingRatio"),b=x.cameraPosition(sigma.utils.getX(a)-sigma.utils.getWidth(a)/2,sigma.utils.getY(a)-sigma.utils.getHeight(a)/2,!0),d={duration:y("mouseZoomDuration")},sigma.utils.zoomTo(x,b.x,b.y,c,d),a.preventDefault?a.preventDefault():a.returnValue=!1,a.stopPropagation(),!1):void 0}var k,l,m,n,o,p,q,r,s,t,u,v=this,w=a,x=b,y=c;sigma.classes.dispatcher.extend(this),sigma.utils.doubleClick(w,"click",i),w.addEventListener("DOMMouseScroll",j,!1),w.addEventListener("mousewheel",j,!1),w.addEventListener("mousemove",d,!1),w.addEventListener("mousedown",f,!1),w.addEventListener("click",h,!1),w.addEventListener("mouseout",g,!1),document.addEventListener("mouseup",e,!1),this.kill=function(){sigma.utils.unbindDoubleClick(w,"click"),w.removeEventListener("DOMMouseScroll",j),w.removeEventListener("mousewheel",j),w.removeEventListener("mousemove",d),w.removeEventListener("mousedown",f),w.removeEventListener("click",h),w.removeEventListener("mouseout",g),document.removeEventListener("mouseup",e)}}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.captors"),sigma.captors.touch=function(a,b,c){function d(a){var b=sigma.utils.getOffset(B);return{x:a.pageX-b.left,y:a.pageY-b.top}}function e(a){if(D("touchEnabled")){var b,c,e,f,g,h;switch(E=a.touches,E.length){case 1:C.isMoving=!0,w=1,i=C.x,j=C.y,m=C.x,n=C.y,g=d(E[0]),q=g.x,r=g.y;break;case 2:return C.isMoving=!0,w=2,g=d(E[0]),h=d(E[1]),b=g.x,e=g.y,c=h.x,f=h.y,m=C.x,n=C.y,k=C.angle,l=C.ratio,i=C.x,j=C.y,q=b,r=e,s=c,t=f,u=Math.atan2(t-r,s-q),v=Math.sqrt(Math.pow(t-r,2)+Math.pow(s-q,2)),a.preventDefault(),!1}}}function f(a){if(D("touchEnabled")){E=a.touches;var b=D("touchInertiaRatio");switch(z&&(x=!1,clearTimeout(z)),w){case 2:if(1===a.touches.length){e(a),a.preventDefault();break}case 1:C.isMoving=!1,A.dispatchEvent("stopDrag"),x&&(y=!1,sigma.misc.animation.camera(C,{x:C.x+b*(C.x-m),y:C.y+b*(C.y-n)},{easing:"quadraticOut",duration:D("touchInertiaDuration")})),x=!1,w=0}}}function g(a){if(!y&&D("touchEnabled")){var b,c,e,f,g,h,B,F,G,H,I,J,K,L,M,N,O;switch(E=a.touches,x=!0,z&&clearTimeout(z),z=setTimeout(function(){x=!1},D("dragTimeout")),w){case 1:F=d(E[0]),b=F.x,e=F.y,H=C.cameraPosition(b-q,e-r,!0),L=i-H.x,M=j-H.y,(L!==C.x||M!==C.y)&&(m=C.x,n=C.y,C.goTo({x:L,y:M}),A.dispatchEvent("mousemove",{x:F.x-sigma.utils.getWidth(a)/2,y:F.y-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey}),A.dispatchEvent("drag"));break;case 2:F=d(E[0]),G=d(E[1]),b=F.x,e=F.y,c=G.x,f=G.y,I=C.cameraPosition((q+s)/2-sigma.utils.getWidth(a)/2,(r+t)/2-sigma.utils.getHeight(a)/2,!0),B=C.cameraPosition((b+c)/2-sigma.utils.getWidth(a)/2,(e+f)/2-sigma.utils.getHeight(a)/2,!0),J=Math.atan2(f-e,c-b)-u,K=Math.sqrt(Math.pow(f-e,2)+Math.pow(c-b,2))/v,b=I.x,e=I.y,N=l/K,b*=K,e*=K,O=k-J,g=Math.cos(-J),h=Math.sin(-J),c=b*g+e*h,f=e*g-b*h,b=c,e=f,L=b-B.x+i,M=e-B.y+j,(N!==C.ratio||O!==C.angle||L!==C.x||M!==C.y)&&(m=C.x,n=C.y,o=C.angle,p=C.ratio,C.goTo({x:L,y:M,angle:O,ratio:N}),A.dispatchEvent("drag"))}return a.preventDefault(),!1}}function h(a){var b,c,e;return a.touches&&1===a.touches.length&&D("touchEnabled")?(y=!0,c=1/D("doubleClickZoomingRatio"),b=d(a.touches[0]),A.dispatchEvent("doubleclick",{x:b.x-sigma.utils.getWidth(a)/2,y:b.y-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey}),D("doubleClickEnabled")&&(b=C.cameraPosition(b.x-sigma.utils.getWidth(a)/2,b.y-sigma.utils.getHeight(a)/2,!0),e={duration:D("doubleClickZoomDuration"),onComplete:function(){y=!1}},sigma.utils.zoomTo(C,b.x,b.y,c,e)),a.preventDefault?a.preventDefault():a.returnValue=!1,a.stopPropagation(),!1):void 0}var i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A=this,B=a,C=b,D=c,E=[];sigma.classes.dispatcher.extend(this),sigma.utils.doubleClick(B,"touchstart",h),B.addEventListener("touchstart",e,!1),B.addEventListener("touchend",f,!1),B.addEventListener("touchcancel",f,!1),B.addEventListener("touchleave",f,!1),B.addEventListener("touchmove",g,!1),this.kill=function(){sigma.utils.unbindDoubleClick(B,"touchstart"),B.addEventListener("touchstart",e),B.addEventListener("touchend",f),B.addEventListener("touchcancel",f),B.addEventListener("touchleave",f),B.addEventListener("touchmove",g)}}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";if("undefined"==typeof conrad)throw"conrad is not declared";sigma.utils.pkg("sigma.renderers"),sigma.renderers.canvas=function(a,b,c,d){if("object"!=typeof d)throw"sigma.renderers.canvas: Wrong arguments.";if(!(d.container instanceof HTMLElement))throw"Container not found.";var e,f,g,h;for(sigma.classes.dispatcher.extend(this),Object.defineProperty(this,"conradId",{value:sigma.utils.id()}),this.graph=a,this.camera=b,this.contexts={},this.domElements={},this.options=d,this.container=this.options.container,this.settings="object"==typeof d.settings&&d.settings?c.embedObjects(d.settings):c,this.nodesOnScreen=[],this.edgesOnScreen=[],this.jobs={},this.options.prefix="renderer"+this.conradId+":",this.settings("batchEdgesDrawing")?(this.initDOM("canvas","edges"),this.initDOM("canvas","scene"),this.contexts.nodes=this.contexts.scene,this.contexts.labels=this.contexts.scene):(this.initDOM("canvas","scene"),this.contexts.edges=this.contexts.scene,this.contexts.nodes=this.contexts.scene,this.contexts.labels=this.contexts.scene),this.initDOM("canvas","mouse"),this.contexts.hover=this.contexts.mouse,this.captors=[],g=this.options.captors||[sigma.captors.mouse,sigma.captors.touch],e=0,f=g.length;f>e;e++)h="function"==typeof g[e]?g[e]:sigma.captors[g[e]],this.captors.push(new h(this.domElements.mouse,this.camera,this.settings));sigma.misc.bindEvents.call(this,this.options.prefix),sigma.misc.drawHovers.call(this,this.options.prefix),this.resize(!1)},sigma.renderers.canvas.prototype.render=function(b){b=b||{};var c,d,e,f,g,h,i,j,k,l,m,n,o,p={},q=this.graph,r=this.graph.nodes,s=(this.options.prefix||"",this.settings(b,"drawEdges")),t=this.settings(b,"drawNodes"),u=this.settings(b,"drawLabels"),v=this.settings(b,"drawEdgeLabels"),w=this.settings.embedObjects(b,{prefix:this.options.prefix});this.resize(!1),this.settings(b,"hideEdgesOnMove")&&(this.camera.isAnimated||this.camera.isMoving)&&(s=!1),this.camera.applyView(a,this.options.prefix,{width:this.width,height:this.height}),this.clear();for(e in this.jobs)conrad.hasJob(e)&&conrad.killJob(e);for(this.edgesOnScreen=[],this.nodesOnScreen=this.camera.quadtree.area(this.camera.getRectangle(this.width,this.height)),c=this.nodesOnScreen,d=0,f=c.length;f>d;d++)p[c[d].id]=c[d];if(s){for(c=q.edges(),d=0,f=c.length;f>d;d++)g=c[d],!p[g.source]&&!p[g.target]||g.hidden||r(g.source).hidden||r(g.target).hidden||this.edgesOnScreen.push(g);if(this.settings(b,"batchEdgesDrawing"))h="edges_"+this.conradId,n=w("canvasEdgesBatchSize"),l=this.edgesOnScreen,f=l.length,k=0,i=Math.min(l.length,k+n),j=function(){for(o=this.contexts.edges.globalCompositeOperation,this.contexts.edges.globalCompositeOperation="destination-over",m=sigma.canvas.edges,d=k;i>d;d++)g=l[d],(m[g.type||this.settings(b,"defaultEdgeType")]||m.def)(g,q.nodes(g.source),q.nodes(g.target),this.contexts.edges,w);if(v)for(m=sigma.canvas.edges.labels,d=k;i>d;d++)g=l[d],g.hidden||(m[g.type||this.settings(b,"defaultEdgeType")]||m.def)(g,q.nodes(g.source),q.nodes(g.target),this.contexts.labels,w);return this.contexts.edges.globalCompositeOperation=o,i===l.length?(delete this.jobs[h],!1):(k=i+1,i=Math.min(l.length,k+n),!0)},this.jobs[h]=j,conrad.addJob(h,j.bind(this));else{for(m=sigma.canvas.edges,c=this.edgesOnScreen,d=0,f=c.length;f>d;d++)g=c[d],(m[g.type||this.settings(b,"defaultEdgeType")]||m.def)(g,q.nodes(g.source),q.nodes(g.target),this.contexts.edges,w);if(v)for(m=sigma.canvas.edges.labels,c=this.edgesOnScreen,d=0,f=c.length;f>d;d++)c[d].hidden||(m[c[d].type||this.settings(b,"defaultEdgeType")]||m.def)(c[d],q.nodes(c[d].source),q.nodes(c[d].target),this.contexts.labels,w)}}if(t)for(m=sigma.canvas.nodes,c=this.nodesOnScreen,d=0,f=c.length;f>d;d++)c[d].hidden||(m[c[d].type||this.settings(b,"defaultNodeType")]||m.def)(c[d],this.contexts.nodes,w);if(u)for(m=sigma.canvas.labels,c=this.nodesOnScreen,d=0,f=c.length;f>d;d++)c[d].hidden||(m[c[d].type||this.settings(b,"defaultNodeType")]||m.def)(c[d],this.contexts.labels,w);return this.dispatchEvent("render"),this},sigma.renderers.canvas.prototype.initDOM=function(a,b){var c=document.createElement(a);c.style.position="absolute",c.setAttribute("class","sigma-"+b),this.domElements[b]=c,this.container.appendChild(c),"canvas"===a.toLowerCase()&&(this.contexts[b]=c.getContext("2d"))},sigma.renderers.canvas.prototype.resize=function(b,c){var d,e=this.width,f=this.height,g=1;if(b!==a&&c!==a?(this.width=b,this.height=c):(this.width=this.container.offsetWidth,this.height=this.container.offsetHeight,b=this.width,c=this.height),e!==this.width||f!==this.height)for(d in this.domElements)this.domElements[d].style.width=b+"px",this.domElements[d].style.height=c+"px","canvas"===this.domElements[d].tagName.toLowerCase()&&(this.domElements[d].setAttribute("width",b*g+"px"),this.domElements[d].setAttribute("height",c*g+"px"),1!==g&&this.contexts[d].scale(g,g));return this},sigma.renderers.canvas.prototype.clear=function(){var a;for(a in this.domElements)"CANVAS"===this.domElements[a].tagName&&(this.domElements[a].width=this.domElements[a].width);return this},sigma.renderers.canvas.prototype.kill=function(){for(var a,b;b=this.captors.pop();)b.kill();delete this.captors;for(a in this.domElements)this.domElements[a].parentNode.removeChild(this.domElements[a]),delete this.domElements[a],delete this.contexts[a];delete this.domElements,delete this.contexts},sigma.utils.pkg("sigma.canvas.nodes"),sigma.utils.pkg("sigma.canvas.edges"),sigma.utils.pkg("sigma.canvas.labels")}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.renderers"),sigma.renderers.webgl=function(a,b,c,d){if("object"!=typeof d)throw"sigma.renderers.webgl: Wrong arguments.";if(!(d.container instanceof HTMLElement))throw"Container not found.";var e,f,g,h;for(sigma.classes.dispatcher.extend(this),this.jobs={},Object.defineProperty(this,"conradId",{value:sigma.utils.id()}),this.graph=a,this.camera=b,this.contexts={},this.domElements={},this.options=d,this.container=this.options.container,this.settings="object"==typeof d.settings&&d.settings?c.embedObjects(d.settings):c,this.options.prefix=this.camera.readPrefix,Object.defineProperty(this,"nodePrograms",{value:{}}),Object.defineProperty(this,"edgePrograms",{value:{}}),Object.defineProperty(this,"nodeFloatArrays",{value:{}}),Object.defineProperty(this,"edgeFloatArrays",{value:{}}),this.settings(d,"batchEdgesDrawing")?(this.initDOM("canvas","edges",!0),this.initDOM("canvas","nodes",!0)):(this.initDOM("canvas","scene",!0),this.contexts.nodes=this.contexts.scene,this.contexts.edges=this.contexts.scene),this.initDOM("canvas","labels"),this.initDOM("canvas","mouse"),this.contexts.hover=this.contexts.mouse,this.captors=[],g=this.options.captors||[sigma.captors.mouse,sigma.captors.touch],e=0,f=g.length;f>e;e++)h="function"==typeof g[e]?g[e]:sigma.captors[g[e]],this.captors.push(new h(this.domElements.mouse,this.camera,this.settings));sigma.misc.bindEvents.call(this,this.camera.prefix),sigma.misc.drawHovers.call(this,this.camera.prefix),this.resize()},sigma.renderers.webgl.prototype.process=function(){var a,b,c,d,e,f,g=this.graph,h=sigma.utils.extend(h,this.options);for(d in this.nodeFloatArrays)delete this.nodeFloatArrays[d];for(d in this.edgeFloatArrays)delete this.edgeFloatArrays[d];for(a=g.edges(),b=0,c=a.length;c>b;b++)e=a[b].type||this.settings(h,"defaultEdgeType"),d=e&&sigma.webgl.edges[e]?e:"def",this.edgeFloatArrays[d]||(this.edgeFloatArrays[d]={edges:[]}),this.edgeFloatArrays[d].edges.push(a[b]);for(a=g.nodes(),b=0,c=a.length;c>b;b++)e=a[b].type||this.settings(h,"defaultNodeType"),d=e&&sigma.webgl.nodes[e]?e:"def",this.nodeFloatArrays[d]||(this.nodeFloatArrays[d]={nodes:[]}),this.nodeFloatArrays[d].nodes.push(a[b]);for(d in this.edgeFloatArrays)for(f=sigma.webgl.edges[d],a=this.edgeFloatArrays[d].edges,b=0,c=a.length;c>b;b++)this.edgeFloatArrays[d].array||(this.edgeFloatArrays[d].array=new Float32Array(a.length*f.POINTS*f.ATTRIBUTES)),a[b].hidden||g.nodes(a[b].source).hidden||g.nodes(a[b].target).hidden||f.addEdge(a[b],g.nodes(a[b].source),g.nodes(a[b].target),this.edgeFloatArrays[d].array,b*f.POINTS*f.ATTRIBUTES,h.prefix,this.settings);for(d in this.nodeFloatArrays)for(f=sigma.webgl.nodes[d],a=this.nodeFloatArrays[d].nodes,b=0,c=a.length;c>b;b++)this.nodeFloatArrays[d].array||(this.nodeFloatArrays[d].array=new Float32Array(a.length*f.POINTS*f.ATTRIBUTES)),a[b].hidden||f.addNode(a[b],this.nodeFloatArrays[d].array,b*f.POINTS*f.ATTRIBUTES,h.prefix,this.settings);return this},sigma.renderers.webgl.prototype.render=function(b){var c,d,e,f,g,h,i=this,j=(this.graph,this.contexts.nodes),k=this.contexts.edges,l=this.camera.getMatrix(),m=sigma.utils.extend(b,this.options),n=this.settings(m,"drawLabels"),o=this.settings(m,"drawEdges"),p=this.settings(m,"drawNodes");this.resize(!1),this.settings(m,"hideEdgesOnMove")&&(this.camera.isAnimated||this.camera.isMoving)&&(o=!1),this.clear(),l=sigma.utils.matrices.multiply(l,sigma.utils.matrices.translation(this.width/2,this.height/2));for(f in this.jobs)conrad.hasJob(f)&&conrad.killJob(f);if(o)if(this.settings(m,"batchEdgesDrawing"))(function(){var a,b,c,d,e,f,g,h,i;c="edges_"+this.conradId,i=this.settings(m,"webglEdgesBatchSize"),a=Object.keys(this.edgeFloatArrays),a.length&&(b=0,h=sigma.webgl.edges[a[b]],e=this.edgeFloatArrays[a[b]].array,g=0,f=Math.min(g+i*h.POINTS,e.length/h.ATTRIBUTES),d=function(){return this.edgePrograms[a[b]]||(this.edgePrograms[a[b]]=h.initProgram(k)),f>g&&(k.useProgram(this.edgePrograms[a[b]]),h.render(k,this.edgePrograms[a[b]],e,{settings:this.settings,matrix:l,width:this.width,height:this.height,ratio:this.camera.ratio,scalingRatio:this.settings(m,"webglOversamplingRatio"),start:g,count:f-g})),f>=e.length/h.ATTRIBUTES&&b===a.length-1?(delete this.jobs[c],!1):(f>=e.length/h.ATTRIBUTES?(b++,e=this.edgeFloatArrays[a[b]].array,h=sigma.webgl.edges[a[b]],g=0,f=Math.min(g+i*h.POINTS,e.length/h.ATTRIBUTES)):(g=f,f=Math.min(g+i*h.POINTS,e.length/h.ATTRIBUTES)),!0)},this.jobs[c]=d,conrad.addJob(c,d.bind(this)))}).call(this);else for(f in this.edgeFloatArrays)h=sigma.webgl.edges[f],this.edgePrograms[f]||(this.edgePrograms[f]=h.initProgram(k)),this.edgeFloatArrays[f]&&(k.useProgram(this.edgePrograms[f]),h.render(k,this.edgePrograms[f],this.edgeFloatArrays[f].array,{ -settings:this.settings,matrix:l,width:this.width,height:this.height,ratio:this.camera.ratio,scalingRatio:this.settings(m,"webglOversamplingRatio")}));if(p){j.blendFunc(j.SRC_ALPHA,j.ONE_MINUS_SRC_ALPHA),j.enable(j.BLEND);for(f in this.nodeFloatArrays)h=sigma.webgl.nodes[f],this.nodePrograms[f]||(this.nodePrograms[f]=h.initProgram(j)),this.nodeFloatArrays[f]&&(j.useProgram(this.nodePrograms[f]),h.render(j,this.nodePrograms[f],this.nodeFloatArrays[f].array,{settings:this.settings,matrix:l,width:this.width,height:this.height,ratio:this.camera.ratio,scalingRatio:this.settings(m,"webglOversamplingRatio")}))}if(n)for(c=this.camera.quadtree.area(this.camera.getRectangle(this.width,this.height)),this.camera.applyView(a,a,{nodes:c,edges:[],width:this.width,height:this.height}),g=function(a){return i.settings({prefix:i.camera.prefix},a)},d=0,e=c.length;e>d;d++)c[d].hidden||(sigma.canvas.labels[c[d].type||this.settings(m,"defaultNodeType")]||sigma.canvas.labels.def)(c[d],this.contexts.labels,g);return this.dispatchEvent("render"),this},sigma.renderers.webgl.prototype.initDOM=function(a,b,c){var d=document.createElement(a),e=this;d.style.position="absolute",d.setAttribute("class","sigma-"+b),this.domElements[b]=d,this.container.appendChild(d),"canvas"===a.toLowerCase()&&(this.contexts[b]=d.getContext(c?"experimental-webgl":"2d",{preserveDrawingBuffer:!0}),c&&(d.addEventListener("webglcontextlost",function(a){a.preventDefault()},!1),d.addEventListener("webglcontextrestored",function(a){e.render()},!1)))},sigma.renderers.webgl.prototype.resize=function(b,c){var d,e=this.width,f=this.height;if(b!==a&&c!==a?(this.width=b,this.height=c):(this.width=this.container.offsetWidth,this.height=this.container.offsetHeight,b=this.width,c=this.height),e!==this.width||f!==this.height)for(d in this.domElements)this.domElements[d].style.width=b+"px",this.domElements[d].style.height=c+"px","canvas"===this.domElements[d].tagName.toLowerCase()&&(this.contexts[d]&&this.contexts[d].scale?(this.domElements[d].setAttribute("width",b+"px"),this.domElements[d].setAttribute("height",c+"px")):(this.domElements[d].setAttribute("width",b*this.settings("webglOversamplingRatio")+"px"),this.domElements[d].setAttribute("height",c*this.settings("webglOversamplingRatio")+"px")));for(d in this.contexts)this.contexts[d]&&this.contexts[d].viewport&&this.contexts[d].viewport(0,0,this.width*this.settings("webglOversamplingRatio"),this.height*this.settings("webglOversamplingRatio"));return this},sigma.renderers.webgl.prototype.clear=function(){var a;for(a in this.domElements)"CANVAS"===this.domElements[a].tagName&&(this.domElements[a].width=this.domElements[a].width);return this.contexts.nodes.clear(this.contexts.nodes.COLOR_BUFFER_BIT),this.contexts.edges.clear(this.contexts.edges.COLOR_BUFFER_BIT),this},sigma.renderers.webgl.prototype.kill=function(){for(var a,b;b=this.captors.pop();)b.kill();delete this.captors;for(a in this.domElements)this.domElements[a].parentNode.removeChild(this.domElements[a]),delete this.domElements[a],delete this.contexts[a];delete this.domElements,delete this.contexts},sigma.utils.pkg("sigma.webgl.nodes"),sigma.utils.pkg("sigma.webgl.edges"),sigma.utils.pkg("sigma.canvas.labels")}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";if("undefined"==typeof conrad)throw"conrad is not declared";sigma.utils.pkg("sigma.renderers"),sigma.renderers.svg=function(a,b,c,d){if("object"!=typeof d)throw"sigma.renderers.svg: Wrong arguments.";if(!(d.container instanceof HTMLElement))throw"Container not found.";var e,f,g,h,i=this;for(sigma.classes.dispatcher.extend(this),this.graph=a,this.camera=b,this.domElements={graph:null,groups:{},nodes:{},edges:{},labels:{},hovers:{}},this.measurementCanvas=null,this.options=d,this.container=this.options.container,this.settings="object"==typeof d.settings&&d.settings?c.embedObjects(d.settings):c,this.settings("freeStyle",!!this.options.freeStyle),this.settings("xmlns","http://www.w3.org/2000/svg"),this.nodesOnScreen=[],this.edgesOnScreen=[],this.options.prefix="renderer"+sigma.utils.id()+":",this.initDOM("svg"),this.captors=[],g=this.options.captors||[sigma.captors.mouse,sigma.captors.touch],e=0,f=g.length;f>e;e++)h="function"==typeof g[e]?g[e]:sigma.captors[g[e]],this.captors.push(new h(this.domElements.graph,this.camera,this.settings));window.addEventListener("resize",function(){i.resize()}),sigma.misc.bindDOMEvents.call(this,this.domElements.graph),this.bindHovers(this.options.prefix),this.resize(!1)},sigma.renderers.svg.prototype.render=function(b){b=b||{};var c,d,e,f,g,h,i,j,k,l={},m=this.graph,n=this.graph.nodes,o=(this.options.prefix||"",this.settings(b,"drawEdges")),p=this.settings(b,"drawNodes"),q=(this.settings(b,"drawLabels"),this.settings.embedObjects(b,{prefix:this.options.prefix,forceLabels:this.options.forceLabels}));for(this.settings(b,"hideEdgesOnMove")&&(this.camera.isAnimated||this.camera.isMoving)&&(o=!1),this.camera.applyView(a,this.options.prefix,{width:this.width,height:this.height}),this.hideDOMElements(this.domElements.nodes),this.hideDOMElements(this.domElements.edges),this.hideDOMElements(this.domElements.labels),this.edgesOnScreen=[],this.nodesOnScreen=this.camera.quadtree.area(this.camera.getRectangle(this.width,this.height)),c=this.nodesOnScreen,d=0,f=c.length;f>d;d++)l[c[d].id]=c[d];for(c=m.edges(),d=0,f=c.length;f>d;d++)g=c[d],!l[g.source]&&!l[g.target]||g.hidden||n(g.source).hidden||n(g.target).hidden||this.edgesOnScreen.push(g);if(j=sigma.svg.nodes,k=sigma.svg.labels,p)for(c=this.nodesOnScreen,d=0,f=c.length;f>d;d++)c[d].hidden||this.domElements.nodes[c[d].id]||(e=(j[c[d].type]||j.def).create(c[d],q),this.domElements.nodes[c[d].id]=e,this.domElements.groups.nodes.appendChild(e),e=(k[c[d].type]||k.def).create(c[d],q),this.domElements.labels[c[d].id]=e,this.domElements.groups.labels.appendChild(e));if(p)for(c=this.nodesOnScreen,d=0,f=c.length;f>d;d++)c[d].hidden||((j[c[d].type]||j.def).update(c[d],this.domElements.nodes[c[d].id],q),(k[c[d].type]||k.def).update(c[d],this.domElements.labels[c[d].id],q));if(j=sigma.svg.edges,o)for(c=this.edgesOnScreen,d=0,f=c.length;f>d;d++)this.domElements.edges[c[d].id]||(h=n(c[d].source),i=n(c[d].target),e=(j[c[d].type]||j.def).create(c[d],h,i,q),this.domElements.edges[c[d].id]=e,this.domElements.groups.edges.appendChild(e));if(o)for(c=this.edgesOnScreen,d=0,f=c.length;f>d;d++)h=n(c[d].source),i=n(c[d].target),(j[c[d].type]||j.def).update(c[d],this.domElements.edges[c[d].id],h,i,q);return this.dispatchEvent("render"),this},sigma.renderers.svg.prototype.initDOM=function(a){var b,c,d,e=document.createElementNS(this.settings("xmlns"),a),f=this.settings("classPrefix");e.style.position="absolute",e.setAttribute("class",f+"-svg"),e.setAttribute("xmlns",this.settings("xmlns")),e.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),e.setAttribute("version","1.1");var g=document.createElement("canvas");g.setAttribute("class",f+"-measurement-canvas"),this.domElements.graph=this.container.appendChild(e);var h=["edges","nodes","labels","hovers"];for(d=0,c=h.length;c>d;d++)b=document.createElementNS(this.settings("xmlns"),"g"),b.setAttributeNS(null,"id",f+"-group-"+h[d]),b.setAttributeNS(null,"class",f+"-group"),this.domElements.groups[h[d]]=this.domElements.graph.appendChild(b);this.container.appendChild(g),this.measurementCanvas=g.getContext("2d")},sigma.renderers.svg.prototype.hideDOMElements=function(a){var b,c;for(c in a)b=a[c],sigma.svg.utils.hide(b);return this},sigma.renderers.svg.prototype.bindHovers=function(a){function b(b){var c=b.data.node,d=g.settings.embedObjects({prefix:a});if(d("enableHovering")){var h=(f[c.type]||f.def).create(c,g.domElements.nodes[c.id],g.measurementCanvas,d);g.domElements.hovers[c.id]=h,g.domElements.groups.hovers.appendChild(h),e=c}}function c(b){var c=b.data.node,d=g.settings.embedObjects({prefix:a});d("enableHovering")&&(g.domElements.groups.hovers.removeChild(g.domElements.hovers[c.id]),e=null,delete g.domElements.hovers[c.id],g.domElements.groups.nodes.appendChild(g.domElements.nodes[c.id]))}function d(){if(e){var b=g.settings.embedObjects({prefix:a});g.domElements.groups.hovers.removeChild(g.domElements.hovers[e.id]),delete g.domElements.hovers[e.id];var c=(f[e.type]||f.def).create(e,g.domElements.nodes[e.id],g.measurementCanvas,b);g.domElements.hovers[e.id]=c,g.domElements.groups.hovers.appendChild(c)}}var e,f=sigma.svg.hovers,g=this;this.bind("overNode",b),this.bind("outNode",c),this.bind("render",d)},sigma.renderers.svg.prototype.resize=function(b,c){var d=this.width,e=this.height,f=1;return b!==a&&c!==a?(this.width=b,this.height=c):(this.width=this.container.offsetWidth,this.height=this.container.offsetHeight,b=this.width,c=this.height),(d!==this.width||e!==this.height)&&(this.domElements.graph.style.width=b+"px",this.domElements.graph.style.height=c+"px","svg"===this.domElements.graph.tagName.toLowerCase()&&(this.domElements.graph.setAttribute("width",b*f),this.domElements.graph.setAttribute("height",c*f))),this},sigma.utils.pkg("sigma.svg.nodes"),sigma.utils.pkg("sigma.svg.edges"),sigma.utils.pkg("sigma.svg.labels")}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.renderers");var b,c=!!a.WebGLRenderingContext;if(c){b=document.createElement("canvas");try{c=!(!b.getContext("webgl")&&!b.getContext("experimental-webgl"))}catch(d){c=!1}}sigma.renderers.def=c?sigma.renderers.webgl:sigma.renderers.canvas}(this),function(){"use strict";sigma.utils.pkg("sigma.webgl.nodes"),sigma.webgl.nodes.def={POINTS:3,ATTRIBUTES:5,addNode:function(a,b,c,d,e){var f=sigma.utils.floatColor(a.color||e("defaultNodeColor"));b[c++]=a[d+"x"],b[c++]=a[d+"y"],b[c++]=a[d+"size"],b[c++]=f,b[c++]=0,b[c++]=a[d+"x"],b[c++]=a[d+"y"],b[c++]=a[d+"size"],b[c++]=f,b[c++]=2*Math.PI/3,b[c++]=a[d+"x"],b[c++]=a[d+"y"],b[c++]=a[d+"size"],b[c++]=f,b[c++]=4*Math.PI/3},render:function(a,b,c,d){var e,f=a.getAttribLocation(b,"a_position"),g=a.getAttribLocation(b,"a_size"),h=a.getAttribLocation(b,"a_color"),i=a.getAttribLocation(b,"a_angle"),j=a.getUniformLocation(b,"u_resolution"),k=a.getUniformLocation(b,"u_matrix"),l=a.getUniformLocation(b,"u_ratio"),m=a.getUniformLocation(b,"u_scale");e=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,e),a.bufferData(a.ARRAY_BUFFER,c,a.DYNAMIC_DRAW),a.uniform2f(j,d.width,d.height),a.uniform1f(l,1/Math.pow(d.ratio,d.settings("nodesPowRatio"))),a.uniform1f(m,d.scalingRatio),a.uniformMatrix3fv(k,!1,d.matrix),a.enableVertexAttribArray(f),a.enableVertexAttribArray(g),a.enableVertexAttribArray(h),a.enableVertexAttribArray(i),a.vertexAttribPointer(f,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),a.vertexAttribPointer(g,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),a.vertexAttribPointer(h,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,12),a.vertexAttribPointer(i,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,16),a.drawArrays(a.TRIANGLES,d.start||0,d.count||c.length/this.ATTRIBUTES)},initProgram:function(a){var b,c,d;return b=sigma.utils.loadShader(a,["attribute vec2 a_position;","attribute float a_size;","attribute float a_color;","attribute float a_angle;","uniform vec2 u_resolution;","uniform float u_ratio;","uniform float u_scale;","uniform mat3 u_matrix;","varying vec4 color;","varying vec2 center;","varying float radius;","void main() {","radius = a_size * u_ratio;","vec2 position = (u_matrix * vec3(a_position, 1)).xy;","center = position * u_scale;","center = vec2(center.x, u_scale * u_resolution.y - center.y);","position = position +","2.0 * radius * vec2(cos(a_angle), sin(a_angle));","position = (position / u_resolution * 2.0 - 1.0) * vec2(1, -1);","radius = radius * u_scale;","gl_Position = vec4(position, 0, 1);","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),a.VERTEX_SHADER),c=sigma.utils.loadShader(a,["precision mediump float;","varying vec4 color;","varying vec2 center;","varying float radius;","void main(void) {","vec4 color0 = vec4(0.0, 0.0, 0.0, 0.0);","vec2 m = gl_FragCoord.xy - center;","float diff = radius - sqrt(m.x * m.x + m.y * m.y);","if (diff > 0.0)","gl_FragColor = color;","else","gl_FragColor = color0;","}"].join("\n"),a.FRAGMENT_SHADER),d=sigma.utils.loadProgram(a,[b,c])}}}(),function(){"use strict";sigma.utils.pkg("sigma.webgl.nodes"),sigma.webgl.nodes.fast={POINTS:1,ATTRIBUTES:4,addNode:function(a,b,c,d,e){b[c++]=a[d+"x"],b[c++]=a[d+"y"],b[c++]=a[d+"size"],b[c++]=sigma.utils.floatColor(a.color||e("defaultNodeColor"))},render:function(a,b,c,d){var e,f=a.getAttribLocation(b,"a_position"),g=a.getAttribLocation(b,"a_size"),h=a.getAttribLocation(b,"a_color"),i=a.getUniformLocation(b,"u_resolution"),j=a.getUniformLocation(b,"u_matrix"),k=a.getUniformLocation(b,"u_ratio"),l=a.getUniformLocation(b,"u_scale");e=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,e),a.bufferData(a.ARRAY_BUFFER,c,a.DYNAMIC_DRAW),a.uniform2f(i,d.width,d.height),a.uniform1f(k,1/Math.pow(d.ratio,d.settings("nodesPowRatio"))),a.uniform1f(l,d.scalingRatio),a.uniformMatrix3fv(j,!1,d.matrix),a.enableVertexAttribArray(f),a.enableVertexAttribArray(g),a.enableVertexAttribArray(h),a.vertexAttribPointer(f,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),a.vertexAttribPointer(g,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),a.vertexAttribPointer(h,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,12),a.drawArrays(a.POINTS,d.start||0,d.count||c.length/this.ATTRIBUTES)},initProgram:function(a){var b,c,d;return b=sigma.utils.loadShader(a,["attribute vec2 a_position;","attribute float a_size;","attribute float a_color;","uniform vec2 u_resolution;","uniform float u_ratio;","uniform float u_scale;","uniform mat3 u_matrix;","varying vec4 color;","void main() {","gl_Position = vec4(","((u_matrix * vec3(a_position, 1)).xy /","u_resolution * 2.0 - 1.0) * vec2(1, -1),","0,","1",");","gl_PointSize = a_size * u_ratio * u_scale * 2.0;","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),a.VERTEX_SHADER),c=sigma.utils.loadShader(a,["precision mediump float;","varying vec4 color;","void main(void) {","gl_FragColor = color;","}"].join("\n"),a.FRAGMENT_SHADER),d=sigma.utils.loadProgram(a,[b,c])}}}(),function(){"use strict";sigma.utils.pkg("sigma.webgl.edges"),sigma.webgl.edges.def={POINTS:6,ATTRIBUTES:7,addEdge:function(a,b,c,d,e,f,g){var h=(a[f+"size"]||1)/2,i=b[f+"x"],j=b[f+"y"],k=c[f+"x"],l=c[f+"y"],m=a.color;if(!m)switch(g("edgeColor")){case"source":m=b.color||g("defaultNodeColor");break;case"target":m=c.color||g("defaultNodeColor");break;default:m=g("defaultEdgeColor")}m=sigma.utils.floatColor(m),d[e++]=i,d[e++]=j,d[e++]=k,d[e++]=l,d[e++]=h,d[e++]=0,d[e++]=m,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=1,d[e++]=m,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=0,d[e++]=m,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=0,d[e++]=m,d[e++]=i,d[e++]=j,d[e++]=k,d[e++]=l,d[e++]=h,d[e++]=1,d[e++]=m,d[e++]=i,d[e++]=j,d[e++]=k,d[e++]=l,d[e++]=h,d[e++]=0,d[e++]=m},render:function(a,b,c,d){var e,f=a.getAttribLocation(b,"a_color"),g=a.getAttribLocation(b,"a_position1"),h=a.getAttribLocation(b,"a_position2"),i=a.getAttribLocation(b,"a_thickness"),j=a.getAttribLocation(b,"a_minus"),k=a.getUniformLocation(b,"u_resolution"),l=a.getUniformLocation(b,"u_matrix"),m=a.getUniformLocation(b,"u_matrixHalfPi"),n=a.getUniformLocation(b,"u_matrixHalfPiMinus"),o=a.getUniformLocation(b,"u_ratio"),p=a.getUniformLocation(b,"u_scale");e=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,e),a.bufferData(a.ARRAY_BUFFER,c,a.STATIC_DRAW),a.uniform2f(k,d.width,d.height),a.uniform1f(o,d.ratio/Math.pow(d.ratio,d.settings("edgesPowRatio"))),a.uniform1f(p,d.scalingRatio),a.uniformMatrix3fv(l,!1,d.matrix),a.uniformMatrix2fv(m,!1,sigma.utils.matrices.rotation(Math.PI/2,!0)),a.uniformMatrix2fv(n,!1,sigma.utils.matrices.rotation(-Math.PI/2,!0)),a.enableVertexAttribArray(f),a.enableVertexAttribArray(g),a.enableVertexAttribArray(h),a.enableVertexAttribArray(i),a.enableVertexAttribArray(j),a.vertexAttribPointer(g,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),a.vertexAttribPointer(h,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),a.vertexAttribPointer(i,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,16),a.vertexAttribPointer(j,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,20),a.vertexAttribPointer(f,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,24),a.drawArrays(a.TRIANGLES,d.start||0,d.count||c.length/this.ATTRIBUTES)},initProgram:function(a){var b,c,d;return b=sigma.utils.loadShader(a,["attribute vec2 a_position1;","attribute vec2 a_position2;","attribute float a_thickness;","attribute float a_minus;","attribute float a_color;","uniform vec2 u_resolution;","uniform float u_ratio;","uniform float u_scale;","uniform mat3 u_matrix;","uniform mat2 u_matrixHalfPi;","uniform mat2 u_matrixHalfPiMinus;","varying vec4 color;","void main() {","vec2 position = a_thickness * u_ratio *","normalize(a_position2 - a_position1);","mat2 matrix = a_minus * u_matrixHalfPiMinus +","(1.0 - a_minus) * u_matrixHalfPi;","position = matrix * position + a_position1;","gl_Position = vec4(","((u_matrix * vec3(position, 1)).xy /","u_resolution * 2.0 - 1.0) * vec2(1, -1),","0,","1",");","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),a.VERTEX_SHADER),c=sigma.utils.loadShader(a,["precision mediump float;","varying vec4 color;","void main(void) {","gl_FragColor = color;","}"].join("\n"),a.FRAGMENT_SHADER),d=sigma.utils.loadProgram(a,[b,c])}}}(),function(){"use strict";sigma.utils.pkg("sigma.webgl.edges"),sigma.webgl.edges.fast={POINTS:2,ATTRIBUTES:3,addEdge:function(a,b,c,d,e,f,g){var h=((a[f+"size"]||1)/2,b[f+"x"]),i=b[f+"y"],j=c[f+"x"],k=c[f+"y"],l=a.color;if(!l)switch(g("edgeColor")){case"source":l=b.color||g("defaultNodeColor");break;case"target":l=c.color||g("defaultNodeColor");break;default:l=g("defaultEdgeColor")}l=sigma.utils.floatColor(l),d[e++]=h,d[e++]=i,d[e++]=l,d[e++]=j,d[e++]=k,d[e++]=l},render:function(a,b,c,d){var e,f=a.getAttribLocation(b,"a_color"),g=a.getAttribLocation(b,"a_position"),h=a.getUniformLocation(b,"u_resolution"),i=a.getUniformLocation(b,"u_matrix");e=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,e),a.bufferData(a.ARRAY_BUFFER,c,a.DYNAMIC_DRAW),a.uniform2f(h,d.width,d.height),a.uniformMatrix3fv(i,!1,d.matrix),a.enableVertexAttribArray(g),a.enableVertexAttribArray(f),a.vertexAttribPointer(g,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),a.vertexAttribPointer(f,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),a.lineWidth(3),a.drawArrays(a.LINES,d.start||0,d.count||c.length/this.ATTRIBUTES)},initProgram:function(a){var b,c,d;return b=sigma.utils.loadShader(a,["attribute vec2 a_position;","attribute float a_color;","uniform vec2 u_resolution;","uniform mat3 u_matrix;","varying vec4 color;","void main() {","gl_Position = vec4(","((u_matrix * vec3(a_position, 1)).xy /","u_resolution * 2.0 - 1.0) * vec2(1, -1),","0,","1",");","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),a.VERTEX_SHADER),c=sigma.utils.loadShader(a,["precision mediump float;","varying vec4 color;","void main(void) {","gl_FragColor = color;","}"].join("\n"),a.FRAGMENT_SHADER),d=sigma.utils.loadProgram(a,[b,c])}}}(),function(){"use strict";sigma.utils.pkg("sigma.webgl.edges"),sigma.webgl.edges.arrow={POINTS:9,ATTRIBUTES:11,addEdge:function(a,b,c,d,e,f,g){var h=(a[f+"size"]||1)/2,i=b[f+"x"],j=b[f+"y"],k=c[f+"x"],l=c[f+"y"],m=c[f+"size"],n=a.color;if(!n)switch(g("edgeColor")){case"source":n=b.color||g("defaultNodeColor");break;case"target":n=c.color||g("defaultNodeColor");break;default:n=g("defaultEdgeColor")}n=sigma.utils.floatColor(n),d[e++]=i,d[e++]=j,d[e++]=k,d[e++]=l,d[e++]=h,d[e++]=m,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=n,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=m,d[e++]=1,d[e++]=1,d[e++]=0,d[e++]=0,d[e++]=n,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=m,d[e++]=1,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=n,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=m,d[e++]=1,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=n,d[e++]=i,d[e++]=j,d[e++]=k,d[e++]=l,d[e++]=h,d[e++]=m,d[e++]=0,d[e++]=1,d[e++]=0,d[e++]=0,d[e++]=n,d[e++]=i,d[e++]=j,d[e++]=k,d[e++]=l,d[e++]=h,d[e++]=m,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=n,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=m,d[e++]=1,d[e++]=0,d[e++]=1,d[e++]=-1,d[e++]=n,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=m,d[e++]=1,d[e++]=0,d[e++]=1,d[e++]=0,d[e++]=n,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=m,d[e++]=1,d[e++]=0,d[e++]=1,d[e++]=1,d[e++]=n},render:function(a,b,c,d){var e,f=a.getAttribLocation(b,"a_pos1"),g=a.getAttribLocation(b,"a_pos2"),h=a.getAttribLocation(b,"a_thickness"),i=a.getAttribLocation(b,"a_tSize"),j=a.getAttribLocation(b,"a_delay"),k=a.getAttribLocation(b,"a_minus"),l=a.getAttribLocation(b,"a_head"),m=a.getAttribLocation(b,"a_headPosition"),n=a.getAttribLocation(b,"a_color"),o=a.getUniformLocation(b,"u_resolution"),p=a.getUniformLocation(b,"u_matrix"),q=a.getUniformLocation(b,"u_matrixHalfPi"),r=a.getUniformLocation(b,"u_matrixHalfPiMinus"),s=a.getUniformLocation(b,"u_ratio"),t=a.getUniformLocation(b,"u_nodeRatio"),u=a.getUniformLocation(b,"u_arrowHead"),v=a.getUniformLocation(b,"u_scale");e=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,e),a.bufferData(a.ARRAY_BUFFER,c,a.STATIC_DRAW),a.uniform2f(o,d.width,d.height),a.uniform1f(s,d.ratio/Math.pow(d.ratio,d.settings("edgesPowRatio"))),a.uniform1f(t,Math.pow(d.ratio,d.settings("nodesPowRatio"))/d.ratio),a.uniform1f(u,5),a.uniform1f(v,d.scalingRatio),a.uniformMatrix3fv(p,!1,d.matrix),a.uniformMatrix2fv(q,!1,sigma.utils.matrices.rotation(Math.PI/2,!0)),a.uniformMatrix2fv(r,!1,sigma.utils.matrices.rotation(-Math.PI/2,!0)),a.enableVertexAttribArray(f),a.enableVertexAttribArray(g),a.enableVertexAttribArray(h),a.enableVertexAttribArray(i),a.enableVertexAttribArray(j),a.enableVertexAttribArray(k),a.enableVertexAttribArray(l),a.enableVertexAttribArray(m),a.enableVertexAttribArray(n),a.vertexAttribPointer(f,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),a.vertexAttribPointer(g,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),a.vertexAttribPointer(h,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,16),a.vertexAttribPointer(i,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,20),a.vertexAttribPointer(j,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,24),a.vertexAttribPointer(k,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,28),a.vertexAttribPointer(l,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,32),a.vertexAttribPointer(m,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,36),a.vertexAttribPointer(n,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,40),a.drawArrays(a.TRIANGLES,d.start||0,d.count||c.length/this.ATTRIBUTES)},initProgram:function(a){var b,c,d;return b=sigma.utils.loadShader(a,["attribute vec2 a_pos1;","attribute vec2 a_pos2;","attribute float a_thickness;","attribute float a_tSize;","attribute float a_delay;","attribute float a_minus;","attribute float a_head;","attribute float a_headPosition;","attribute float a_color;","uniform vec2 u_resolution;","uniform float u_ratio;","uniform float u_nodeRatio;","uniform float u_arrowHead;","uniform float u_scale;","uniform mat3 u_matrix;","uniform mat2 u_matrixHalfPi;","uniform mat2 u_matrixHalfPiMinus;","varying vec4 color;","void main() {","vec2 pos = normalize(a_pos2 - a_pos1);","mat2 matrix = (1.0 - a_head) *","(","a_minus * u_matrixHalfPiMinus +","(1.0 - a_minus) * u_matrixHalfPi",") + a_head * (","a_headPosition * u_matrixHalfPiMinus * 0.6 +","(a_headPosition * a_headPosition - 1.0) * mat2(1.0)",");","pos = a_pos1 + (","(1.0 - a_head) * a_thickness * u_ratio * matrix * pos +","a_head * u_arrowHead * a_thickness * u_ratio * matrix * pos +","a_delay * pos * (","a_tSize / u_nodeRatio +","u_arrowHead * a_thickness * u_ratio",")",");","gl_Position = vec4(","((u_matrix * vec3(pos, 1)).xy /","u_resolution * 2.0 - 1.0) * vec2(1, -1),","0,","1",");","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),a.VERTEX_SHADER),c=sigma.utils.loadShader(a,["precision mediump float;","varying vec4 color;","void main(void) {","gl_FragColor = color;","}"].join("\n"),a.FRAGMENT_SHADER),d=sigma.utils.loadProgram(a,[b,c])}}}(),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.canvas.labels"),sigma.canvas.labels.def=function(a,b,c){var d,e=c("prefix")||"",f=a[e+"size"];f0&&(b.beginPath(),b.fillStyle="node"===c("nodeBorderColor")?a.color||c("defaultNodeColor"):c("defaultNodeBorderColor"),b.arc(a[j+"x"],a[j+"y"],k+c("borderSize"),0,2*Math.PI,!0),b.closePath(),b.fill());var m=sigma.canvas.nodes[a.type]||sigma.canvas.nodes.def;m(a,b,c),a.label&&"string"==typeof a.label&&(b.fillStyle="node"===c("labelHoverColor")?a.color||c("defaultNodeColor"):c("defaultLabelHoverColor"),b.fillText(a.label,Math.round(a[j+"x"]+k+3),Math.round(a[j+"y"]+l/3)))}}.call(this),function(){"use strict";sigma.utils.pkg("sigma.canvas.nodes"),sigma.canvas.nodes.def=function(a,b,c){var d=c("prefix")||"";b.fillStyle=a.color||c("defaultNodeColor"),b.beginPath(),b.arc(a[d+"x"],a[d+"y"],a[d+"size"],0,2*Math.PI,!0),b.closePath(),b.fill()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edges"),sigma.canvas.edges.def=function(a,b,c,d,e){var f=a.color,g=e("prefix")||"",h=a[g+"size"]||1,i=e("edgeColor"),j=e("defaultNodeColor"),k=e("defaultEdgeColor");if(!f)switch(i){case"source":f=b.color||j;break;case"target":f=c.color||j;break;default:f=k}d.strokeStyle=f,d.lineWidth=h,d.beginPath(),d.moveTo(b[g+"x"],b[g+"y"]),d.lineTo(c[g+"x"],c[g+"y"]),d.stroke()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edges"),sigma.canvas.edges.curve=function(a,b,c,d,e){var f=a.color,g=e("prefix")||"",h=a[g+"size"]||1,i=e("edgeColor"),j=e("defaultNodeColor"),k=e("defaultEdgeColor"),l={},m=b[g+"size"],n=b[g+"x"],o=b[g+"y"],p=c[g+"x"],q=c[g+"y"];if(l=b.id===c.id?sigma.utils.getSelfLoopControlPoints(n,o,m):sigma.utils.getQuadraticControlPoint(n,o,p,q),!f)switch(i){case"source":f=b.color||j;break;case"target":f=c.color||j;break;default:f=k}d.strokeStyle=f,d.lineWidth=h,d.beginPath(),d.moveTo(n,o),b.id===c.id?d.bezierCurveTo(l.x1,l.y1,l.x2,l.y2,p,q):d.quadraticCurveTo(l.x,l.y,p,q),d.stroke()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edges"),sigma.canvas.edges.arrow=function(a,b,c,d,e){var f=a.color,g=e("prefix")||"",h=e("edgeColor"),i=e("defaultNodeColor"),j=e("defaultEdgeColor"),k=a[g+"size"]||1,l=c[g+"size"],m=b[g+"x"],n=b[g+"y"],o=c[g+"x"],p=c[g+"y"],q=Math.max(2.5*k,e("minArrowSize")),r=Math.sqrt(Math.pow(o-m,2)+Math.pow(p-n,2)),s=m+(o-m)*(r-q-l)/r,t=n+(p-n)*(r-q-l)/r,u=(o-m)*q/r,v=(p-n)*q/r;if(!f)switch(h){case"source":f=b.color||i;break;case"target":f=c.color||i;break;default:f=j}d.strokeStyle=f,d.lineWidth=k,d.beginPath(),d.moveTo(m,n),d.lineTo(s,t),d.stroke(),d.fillStyle=f,d.beginPath(),d.moveTo(s+u,t+v),d.lineTo(s+.6*v,t-.6*u),d.lineTo(s-.6*v,t+.6*u),d.lineTo(s+u,t+v),d.closePath(),d.fill()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edges"),sigma.canvas.edges.curvedArrow=function(a,b,c,d,e){var f,g,h,i,j,k=a.color,l=e("prefix")||"",m=e("edgeColor"),n=e("defaultNodeColor"),o=e("defaultEdgeColor"),p={},q=a[l+"size"]||1,r=c[l+"size"],s=b[l+"x"],t=b[l+"y"],u=c[l+"x"],v=c[l+"y"],w=Math.max(2.5*q,e("minArrowSize"));if(p=b.id===c.id?sigma.utils.getSelfLoopControlPoints(s,t,r):sigma.utils.getQuadraticControlPoint(s,t,u,v),b.id===c.id?(f=Math.sqrt(Math.pow(u-p.x1,2)+Math.pow(v-p.y1,2)),g=p.x1+(u-p.x1)*(f-w-r)/f,h=p.y1+(v-p.y1)*(f-w-r)/f,i=(u-p.x1)*w/f,j=(v-p.y1)*w/f):(f=Math.sqrt(Math.pow(u-p.x,2)+Math.pow(v-p.y,2)),g=p.x+(u-p.x)*(f-w-r)/f,h=p.y+(v-p.y)*(f-w-r)/f,i=(u-p.x)*w/f,j=(v-p.y)*w/f),!k)switch(m){case"source":k=b.color||n;break;case"target":k=c.color||n;break;default:k=o}d.strokeStyle=k,d.lineWidth=q,d.beginPath(),d.moveTo(s,t),b.id===c.id?d.bezierCurveTo(p.x2,p.y2,p.x1,p.y1,g,h):d.quadraticCurveTo(p.x,p.y,g,h),d.stroke(),d.fillStyle=k,d.beginPath(),d.moveTo(g+i,h+j),d.lineTo(g+.6*j,h-.6*i),d.lineTo(g-.6*j,h+.6*i),d.lineTo(g+i,h+j),d.closePath(),d.fill()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edgehovers"),sigma.canvas.edgehovers.def=function(a,b,c,d,e){var f=a.color,g=e("prefix")||"",h=a[g+"size"]||1,i=e("edgeColor"),j=e("defaultNodeColor"),k=e("defaultEdgeColor");if(!f)switch(i){case"source":f=b.color||j;break;case"target":f=c.color||j;break;default:f=k}f="edge"===e("edgeHoverColor")?a.hover_color||f:a.hover_color||e("defaultEdgeHoverColor")||f,h*=e("edgeHoverSizeRatio"),d.strokeStyle=f,d.lineWidth=h,d.beginPath(),d.moveTo(b[g+"x"],b[g+"y"]),d.lineTo(c[g+"x"],c[g+"y"]),d.stroke()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edgehovers"),sigma.canvas.edgehovers.curve=function(a,b,c,d,e){var f=a.color,g=e("prefix")||"",h=e("edgeHoverSizeRatio")*(a[g+"size"]||1),i=e("edgeColor"),j=e("defaultNodeColor"),k=e("defaultEdgeColor"),l={},m=b[g+"size"],n=b[g+"x"],o=b[g+"y"],p=c[g+"x"],q=c[g+"y"];if(l=b.id===c.id?sigma.utils.getSelfLoopControlPoints(n,o,m):sigma.utils.getQuadraticControlPoint(n,o,p,q),!f)switch(i){case"source":f=b.color||j;break;case"target":f=c.color||j;break;default:f=k}f="edge"===e("edgeHoverColor")?a.hover_color||f:a.hover_color||e("defaultEdgeHoverColor")||f,d.strokeStyle=f,d.lineWidth=h,d.beginPath(),d.moveTo(n,o),b.id===c.id?d.bezierCurveTo(l.x1,l.y1,l.x2,l.y2,p,q):d.quadraticCurveTo(l.x,l.y,p,q),d.stroke()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edgehovers"),sigma.canvas.edgehovers.arrow=function(a,b,c,d,e){var f=a.color,g=e("prefix")||"",h=e("edgeColor"),i=e("defaultNodeColor"),j=e("defaultEdgeColor"),k=a[g+"size"]||1,l=c[g+"size"],m=b[g+"x"],n=b[g+"y"],o=c[g+"x"],p=c[g+"y"]; -k=a.hover?e("edgeHoverSizeRatio")*k:k;var q=2.5*k,r=Math.sqrt(Math.pow(o-m,2)+Math.pow(p-n,2)),s=m+(o-m)*(r-q-l)/r,t=n+(p-n)*(r-q-l)/r,u=(o-m)*q/r,v=(p-n)*q/r;if(!f)switch(h){case"source":f=b.color||i;break;case"target":f=c.color||i;break;default:f=j}f="edge"===e("edgeHoverColor")?a.hover_color||f:a.hover_color||e("defaultEdgeHoverColor")||f,d.strokeStyle=f,d.lineWidth=k,d.beginPath(),d.moveTo(m,n),d.lineTo(s,t),d.stroke(),d.fillStyle=f,d.beginPath(),d.moveTo(s+u,t+v),d.lineTo(s+.6*v,t-.6*u),d.lineTo(s-.6*v,t+.6*u),d.lineTo(s+u,t+v),d.closePath(),d.fill()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edgehovers"),sigma.canvas.edgehovers.curvedArrow=function(a,b,c,d,e){var f,g,h,i,j,k,l=a.color,m=e("prefix")||"",n=e("edgeColor"),o=e("defaultNodeColor"),p=e("defaultEdgeColor"),q={},r=e("edgeHoverSizeRatio")*(a[m+"size"]||1),s=c[m+"size"],t=b[m+"x"],u=b[m+"y"],v=c[m+"x"],w=c[m+"y"];if(q=b.id===c.id?sigma.utils.getSelfLoopControlPoints(t,u,s):sigma.utils.getQuadraticControlPoint(t,u,v,w),b.id===c.id?(f=Math.sqrt(Math.pow(v-q.x1,2)+Math.pow(w-q.y1,2)),g=2.5*r,h=q.x1+(v-q.x1)*(f-g-s)/f,i=q.y1+(w-q.y1)*(f-g-s)/f,j=(v-q.x1)*g/f,k=(w-q.y1)*g/f):(f=Math.sqrt(Math.pow(v-q.x,2)+Math.pow(w-q.y,2)),g=2.5*r,h=q.x+(v-q.x)*(f-g-s)/f,i=q.y+(w-q.y)*(f-g-s)/f,j=(v-q.x)*g/f,k=(w-q.y)*g/f),!l)switch(n){case"source":l=b.color||o;break;case"target":l=c.color||o;break;default:l=p}l="edge"===e("edgeHoverColor")?a.hover_color||l:a.hover_color||e("defaultEdgeHoverColor")||l,d.strokeStyle=l,d.lineWidth=r,d.beginPath(),d.moveTo(t,u),b.id===c.id?d.bezierCurveTo(q.x2,q.y2,q.x1,q.y1,h,i):d.quadraticCurveTo(q.x,q.y,h,i),d.stroke(),d.fillStyle=l,d.beginPath(),d.moveTo(h+j,i+k),d.lineTo(h+.6*k,i-.6*j),d.lineTo(h-.6*k,i+.6*j),d.lineTo(h+j,i+k),d.closePath(),d.fill()}}(),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.canvas.extremities"),sigma.canvas.extremities.def=function(a,b,c,d,e){(sigma.canvas.hovers[b.type]||sigma.canvas.hovers.def)(b,d,e),(sigma.canvas.hovers[c.type]||sigma.canvas.hovers.def)(c,d,e)}}.call(this),function(){"use strict";sigma.utils.pkg("sigma.svg.utils"),sigma.svg.utils={show:function(a){return a.style.display="",this},hide:function(a){return a.style.display="none",this}}}(),function(){"use strict";sigma.utils.pkg("sigma.svg.nodes"),sigma.svg.nodes.def={create:function(a,b){var c=(b("prefix")||"",document.createElementNS(b("xmlns"),"circle"));return c.setAttributeNS(null,"data-node-id",a.id),c.setAttributeNS(null,"class",b("classPrefix")+"-node"),c.setAttributeNS(null,"fill",a.color||b("defaultNodeColor")),c},update:function(a,b,c){var d=c("prefix")||"";return b.setAttributeNS(null,"cx",a[d+"x"]),b.setAttributeNS(null,"cy",a[d+"y"]),b.setAttributeNS(null,"r",a[d+"size"]),c("freeStyle")||b.setAttributeNS(null,"fill",a.color||c("defaultNodeColor")),b.style.display="",this}}}(),function(){"use strict";sigma.utils.pkg("sigma.svg.edges"),sigma.svg.edges.def={create:function(a,b,c,d){var e=a.color,f=(d("prefix")||"",d("edgeColor")),g=d("defaultNodeColor"),h=d("defaultEdgeColor");if(!e)switch(f){case"source":e=b.color||g;break;case"target":e=c.color||g;break;default:e=h}var i=document.createElementNS(d("xmlns"),"line");return i.setAttributeNS(null,"data-edge-id",a.id),i.setAttributeNS(null,"class",d("classPrefix")+"-edge"),i.setAttributeNS(null,"stroke",e),i},update:function(a,b,c,d,e){var f=e("prefix")||"";return b.setAttributeNS(null,"stroke-width",a[f+"size"]||1),b.setAttributeNS(null,"x1",c[f+"x"]),b.setAttributeNS(null,"y1",c[f+"y"]),b.setAttributeNS(null,"x2",d[f+"x"]),b.setAttributeNS(null,"y2",d[f+"y"]),b.style.display="",this}}}(),function(){"use strict";sigma.utils.pkg("sigma.svg.edges"),sigma.svg.edges.curve={create:function(a,b,c,d){var e=a.color,f=(d("prefix")||"",d("edgeColor")),g=d("defaultNodeColor"),h=d("defaultEdgeColor");if(!e)switch(f){case"source":e=b.color||g;break;case"target":e=c.color||g;break;default:e=h}var i=document.createElementNS(d("xmlns"),"path");return i.setAttributeNS(null,"data-edge-id",a.id),i.setAttributeNS(null,"class",d("classPrefix")+"-edge"),i.setAttributeNS(null,"stroke",e),i},update:function(a,b,c,d,e){var f=e("prefix")||"";b.setAttributeNS(null,"stroke-width",a[f+"size"]||1);var g=(c[f+"x"]+d[f+"x"])/2+(d[f+"y"]-c[f+"y"])/4,h=(c[f+"y"]+d[f+"y"])/2+(c[f+"x"]-d[f+"x"])/4,i="M"+c[f+"x"]+","+c[f+"y"]+" Q"+g+","+h+" "+d[f+"x"]+","+d[f+"y"];return b.setAttributeNS(null,"d",i),b.setAttributeNS(null,"fill","none"),b.style.display="",this}}}(),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.svg.labels"),sigma.svg.labels.def={create:function(a,b){var c=b("prefix")||"",d=a[c+"size"],e=document.createElementNS(b("xmlns"),"text"),f="fixed"===b("labelSize")?b("defaultLabelSize"):b("labelSizeRatio")*d,g="node"===b("labelColor")?a.color||b("defaultNodeColor"):b("defaultLabelColor");return e.setAttributeNS(null,"data-label-target",a.id),e.setAttributeNS(null,"class",b("classPrefix")+"-label"),e.setAttributeNS(null,"font-size",f),e.setAttributeNS(null,"font-family",b("font")),e.setAttributeNS(null,"fill",g),e.innerHTML=a.label,e.textContent=a.label,e},update:function(a,b,c){var d=c("prefix")||"",e=a[d+"size"],f="fixed"===c("labelSize")?c("defaultLabelSize"):c("labelSizeRatio")*e;return!c("forceLabels")&&ed;d++)if(!y[x[d]])throw new Error('The rescale setting "'+x[d]+'" is not recognized.');var z=~x.indexOf("nodePosition"),A=~x.indexOf("nodeSize"),B=~x.indexOf("edgeSize");for(j="outside"===n("scalingMode")?Math.max(v/Math.max(r-p,1),w/Math.max(s-q,1)):Math.min(v/Math.max(r-p,1),w/Math.max(s-q,1)),k=(n("rescaleIgnoreSize")?0:(n("maxNodeSize")||t)/j)+(n("sideMargin")||0),r+=k,p-=k,s+=k,q-=k,j="outside"===n("scalingMode")?Math.max(v/Math.max(r-p,1),w/Math.max(s-q,1)):Math.min(v/Math.max(r-p,1),w/Math.max(s-q,1)),n("maxNodeSize")||n("minNodeSize")?n("maxNodeSize")===n("minNodeSize")?(f=0,g=+n("maxNodeSize")):(f=(n("maxNodeSize")-n("minNodeSize"))/t,g=+n("minNodeSize")):(f=1,g=0),n("maxEdgeSize")||n("minEdgeSize")?n("maxEdgeSize")===n("minEdgeSize")?(h=0,i=+n("minEdgeSize")):(h=(n("maxEdgeSize")-n("minEdgeSize"))/u,i=+n("minEdgeSize")):(h=1,i=0),d=0,e=m.length;e>d;d++)m[d][b+"size"]=m[d][a+"size"]*(B?h:1)+(B?i:0);for(d=0,e=l.length;e>d;d++)l[d][b+"size"]=l[d][a+"size"]*(A?f:1)+(A?g:0),l[d][b+"x"]=(l[d][a+"x"]-(r+p)/2)*(z?j:1),l[d][b+"y"]=(l[d][a+"y"]-(s+q)/2)*(z?j:1)},sigma.utils.getBoundaries=function(a,b,c){var d,e,f=a.edges(),g=a.nodes(),h=-(1/0),i=-(1/0),j=1/0,k=1/0,l=-(1/0),m=-(1/0);if(c)for(d=0,e=f.length;e>d;d++)h=Math.max(f[d][b+"size"],h);for(d=0,e=g.length;e>d;d++)i=Math.max(g[d][b+"size"],i),l=Math.max(g[d][b+"x"],l),j=Math.min(g[d][b+"x"],j),m=Math.max(g[d][b+"y"],m),k=Math.min(g[d][b+"y"],k);return h=h||1,i=i||1,{weightMax:h,sizeMax:i,minX:j,minY:k,maxX:l,maxY:m}}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.middlewares"),sigma.middlewares.copy=function(a,b){var c,d,e;if(b+""!=a+""){for(e=this.graph.nodes(),c=0,d=e.length;d>c;c++)e[c][b+"x"]=e[c][a+"x"],e[c][b+"y"]=e[c][a+"y"],e[c][b+"size"]=e[c][a+"size"];for(e=this.graph.edges(),c=0,d=e.length;d>c;c++)e[c][b+"size"]=e[c][a+"size"]}}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.misc.animation.running");var b=function(){var a=0;return function(){return""+ ++a}}();sigma.misc.animation.camera=function(c,d,e){if(!(c instanceof sigma.classes.camera&&"object"==typeof d&&d))throw"animation.camera: Wrong arguments.";if("number"!=typeof d.x&&"number"!=typeof d.y&&"number"!=typeof d.ratio&&"number"!=typeof d.angle)throw"There must be at least one valid coordinate in the given val.";var f,g,h,i,j,k,l=e||{},m=sigma.utils.dateNow();return k={x:c.x,y:c.y,ratio:c.ratio,angle:c.angle},j=l.duration,i="function"!=typeof l.easing?sigma.utils.easings[l.easing||"quadraticInOut"]:l.easing,f=function(){var b,e=l.duration?(sigma.utils.dateNow()-m)/l.duration:1;e>=1?(c.isAnimated=!1,c.goTo({x:d.x!==a?d.x:k.x,y:d.y!==a?d.y:k.y,ratio:d.ratio!==a?d.ratio:k.ratio,angle:d.angle!==a?d.angle:k.angle}),cancelAnimationFrame(g),delete sigma.misc.animation.running[g],"function"==typeof l.onComplete&&l.onComplete()):(b=i(e),c.isAnimated=!0,c.goTo({x:d.x!==a?k.x+(d.x-k.x)*b:k.x,y:d.y!==a?k.y+(d.y-k.y)*b:k.y,ratio:d.ratio!==a?k.ratio+(d.ratio-k.ratio)*b:k.ratio,angle:d.angle!==a?k.angle+(d.angle-k.angle)*b:k.angle}),"function"==typeof l.onNewFrame&&l.onNewFrame(),h.frameId=requestAnimationFrame(f))},g=b(),h={frameId:requestAnimationFrame(f),target:c,type:"camera",options:l,fn:f},sigma.misc.animation.running[g]=h,g},sigma.misc.animation.kill=function(a){if(1!==arguments.length||"number"!=typeof a)throw"animation.kill: Wrong arguments.";var b=sigma.misc.animation.running[a];return b&&(cancelAnimationFrame(a),delete sigma.misc.animation.running[b.frameId],"camera"===b.type&&(b.target.isAnimated=!1),"function"==typeof(b.options||{}).onComplete&&b.options.onComplete()),this},sigma.misc.animation.killAll=function(a){var b,c,d=0,e="string"==typeof a?a:null,f="object"==typeof a?a:null,g=sigma.misc.animation.running;for(c in g)e&&g[c].type!==e||f&&g[c].target!==f||(b=sigma.misc.animation.running[c],cancelAnimationFrame(b.frameId),delete sigma.misc.animation.running[c],"camera"===b.type&&(b.target.isAnimated=!1),d++,"function"==typeof(b.options||{}).onComplete&&b.options.onComplete());return d},sigma.misc.animation.has=function(a){var b,c="string"==typeof a?a:null,d="object"==typeof a?a:null,e=sigma.misc.animation.running;for(b in e)if(!(c&&e[b].type!==c||d&&e[b].target!==d))return!0;return!1}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.misc"),sigma.misc.bindEvents=function(b){function c(a){a&&(h="x"in a.data?a.data.x:h,i="y"in a.data?a.data.y:i);var c,d,e,f,g,k,l,m,n=[],o=h+j.width/2,p=i+j.height/2,q=j.camera.cameraPosition(h,i),r=j.camera.quadtree.point(q.x,q.y);if(r.length)for(c=0,e=r.length;e>c;c++)if(f=r[c],g=f[b+"x"],k=f[b+"y"],l=f[b+"size"],!f.hidden&&o>g-l&&g+l>o&&p>k-l&&k+l>p&&Math.sqrt(Math.pow(o-g,2)+Math.pow(p-k,2))n[d].size){n.splice(d,0,f),m=!0;break}m||n.push(f)}return n}function d(c){function d(a,b){for(r=!1,g=0;ga[g].size){a.splice(g,0,b),r=!0;break}r||a.push(b)}if(!j.settings("enableEdgeHovering"))return[];var e=sigma.renderers.canvas&&j instanceof sigma.renderers.canvas;if(!e)throw new Error("The edge events feature is not compatible with the WebGL renderer");c&&(h="x"in c.data?c.data.x:h,i="y"in c.data?c.data.y:i);var f,g,k,l,m,n,o,p,q,r,s=j.settings("edgeHoverPrecision"),t={},u=[],v=h+j.width/2,w=i+j.height/2,x=j.camera.cameraPosition(h,i),y=[];if(e){var z=j.camera.quadtree.area(j.camera.getRectangle(j.width,j.height));for(l=z,f=0,k=l.length;k>f;f++)t[l[f].id]=l[f]}if(j.camera.edgequadtree!==a&&(y=j.camera.edgequadtree.point(x.x,x.y)),y.length)for(f=0,k=y.length;k>f;f++)m=y[f],o=j.graph.nodes(m.source),p=j.graph.nodes(m.target),n=m[b+"size"]||m["read_"+b+"size"],!m.hidden&&!o.hidden&&!p.hidden&&(!e||t[m.source]||t[m.target])&&sigma.utils.getDistance(o[b+"x"],o[b+"y"],v,w)>o[b+"size"]&&sigma.utils.getDistance(p[b+"x"],p[b+"y"],v,w)>p[b+"size"]&&("curve"==m.type||"curvedArrow"==m.type?o.id===p.id?(q=sigma.utils.getSelfLoopControlPoints(o[b+"x"],o[b+"y"],o[b+"size"]),sigma.utils.isPointOnBezierCurve(v,w,o[b+"x"],o[b+"y"],p[b+"x"],p[b+"y"],q.x1,q.y1,q.x2,q.y2,Math.max(n,s))&&d(u,m)):(q=sigma.utils.getQuadraticControlPoint(o[b+"x"],o[b+"y"],p[b+"x"],p[b+"y"]),sigma.utils.isPointOnQuadraticCurve(v,w,o[b+"x"],o[b+"y"],p[b+"x"],p[b+"y"],q.x,q.y,Math.max(n,s))&&d(u,m)):sigma.utils.isPointOnSegment(v,w,o[b+"x"],o[b+"y"],p[b+"x"],p[b+"y"],Math.max(n,s))&&d(u,m));return u}function e(a){function b(a){j.settings("eventsEnabled")&&(j.dispatchEvent("click",a.data),i=c(a),k=d(a),i.length?(j.dispatchEvent("clickNode",{node:i[0],captor:a.data}),j.dispatchEvent("clickNodes",{node:i,captor:a.data})):k.length?(j.dispatchEvent("clickEdge",{edge:k[0],captor:a.data}),j.dispatchEvent("clickEdges",{edge:k,captor:a.data})):j.dispatchEvent("clickStage",{captor:a.data}))}function e(a){j.settings("eventsEnabled")&&(j.dispatchEvent("doubleClick",a.data),i=c(a),k=d(a),i.length?(j.dispatchEvent("doubleClickNode",{node:i[0],captor:a.data}),j.dispatchEvent("doubleClickNodes",{node:i,captor:a.data})):k.length?(j.dispatchEvent("doubleClickEdge",{edge:k[0],captor:a.data}),j.dispatchEvent("doubleClickEdges",{edge:k,captor:a.data})):j.dispatchEvent("doubleClickStage",{captor:a.data}))}function f(a){j.settings("eventsEnabled")&&(j.dispatchEvent("rightClick",a.data),i=c(a),k=d(a),i.length?(j.dispatchEvent("rightClickNode",{node:i[0],captor:a.data}),j.dispatchEvent("rightClickNodes",{node:i,captor:a.data})):k.length?(j.dispatchEvent("rightClickEdge",{edge:k[0],captor:a.data}),j.dispatchEvent("rightClickEdges",{edge:k,captor:a.data})):j.dispatchEvent("rightClickStage",{captor:a.data}))}function g(a){if(j.settings("eventsEnabled")){var b,c,d,e,f=[],g=[];for(b in l)f.push(l[b]);for(l={},c=0,d=f.length;d>c;c++)j.dispatchEvent("outNode",{node:f[c],captor:a.data});for(f.length&&j.dispatchEvent("outNodes",{nodes:f,captor:a.data}),m={},c=0,e=g.length;e>c;c++)j.dispatchEvent("outEdge",{edge:g[c],captor:a.data});g.length&&j.dispatchEvent("outEdges",{edges:g,captor:a.data})}}function h(a){if(j.settings("eventsEnabled")){i=c(a),k=d(a);var b,e,f,g,h=[],n=[],o={},p=i.length,q=[],r=[],s={},t=k.length;for(b=0;p>b;b++)f=i[b],o[f.id]=f,l[f.id]||(n.push(f),l[f.id]=f);for(e in l)o[e]||(h.push(l[e]),delete l[e]);for(b=0,p=n.length;p>b;b++)j.dispatchEvent("overNode",{node:n[b],captor:a.data});for(b=0,p=h.length;p>b;b++)j.dispatchEvent("outNode",{node:h[b],captor:a.data});for(n.length&&j.dispatchEvent("overNodes",{nodes:n,captor:a.data}),h.length&&j.dispatchEvent("outNodes",{nodes:h,captor:a.data}),b=0;t>b;b++)g=k[b],s[g.id]=g,m[g.id]||(r.push(g),m[g.id]=g);for(e in m)s[e]||(q.push(m[e]),delete m[e]);for(b=0,t=r.length;t>b;b++)j.dispatchEvent("overEdge",{edge:r[b],captor:a.data});for(b=0,t=q.length;t>b;b++)j.dispatchEvent("outEdge",{edge:q[b],captor:a.data});r.length&&j.dispatchEvent("overEdges",{edges:r,captor:a.data}),q.length&&j.dispatchEvent("outEdges",{edges:q,captor:a.data})}}var i,k,l={},m={};a.bind("click",b),a.bind("mousedown",h),a.bind("mouseup",h),a.bind("mousemove",h),a.bind("mouseout",g),a.bind("doubleclick",e),a.bind("rightclick",f),j.bind("render",h)}var f,g,h,i,j=this;for(f=0,g=this.captors.length;g>f;f++)e(this.captors[f])}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.misc"),sigma.misc.bindDOMEvents=function(a){function b(a){this.attr=function(b){return a.getAttributeNS(null,b)},this.tag=a.tagName,this["class"]=this.attr("class"),this.id=this.attr("id"),this.isNode=function(){return!!~this["class"].indexOf(g.settings("classPrefix")+"-node")},this.isEdge=function(){return!!~this["class"].indexOf(g.settings("classPrefix")+"-edge")},this.isHover=function(){return!!~this["class"].indexOf(g.settings("classPrefix")+"-hover")}}function c(a){if(g.settings("eventsEnabled")){g.dispatchEvent("click",a);var c=new b(a.target);c.isNode()?g.dispatchEvent("clickNode",{node:h.nodes(c.attr("data-node-id"))}):g.dispatchEvent("clickStage"),a.preventDefault(),a.stopPropagation()}}function d(a){if(g.settings("eventsEnabled")){g.dispatchEvent("doubleClick",a);var c=new b(a.target);c.isNode()?g.dispatchEvent("doubleClickNode",{node:h.nodes(c.attr("data-node-id"))}):g.dispatchEvent("doubleClickStage"),a.preventDefault(),a.stopPropagation()}}function e(a){var c=a.toElement||a.target;if(g.settings("eventsEnabled")&&c){var d=new b(c);if(d.isNode())g.dispatchEvent("overNode",{node:h.nodes(d.attr("data-node-id"))});else if(d.isEdge()){var e=h.edges(d.attr("data-edge-id"));g.dispatchEvent("overEdge",{edge:e,source:h.nodes(e.source),target:h.nodes(e.target)})}}}function f(a){var c=a.fromElement||a.originalTarget;if(g.settings("eventsEnabled")){var d=new b(c);if(d.isNode())g.dispatchEvent("outNode",{node:h.nodes(d.attr("data-node-id"))});else if(d.isEdge()){var e=h.edges(d.attr("data-edge-id"));g.dispatchEvent("outEdge",{edge:e,source:h.nodes(e.source),target:h.nodes(e.target)})}}}var g=this,h=this.graph;a.addEventListener("click",c,!1),sigma.utils.doubleClick(a,"click",d),a.addEventListener("touchstart",c,!1),sigma.utils.doubleClick(a,"touchstart",d),a.addEventListener("mouseover",e,!0),a.addEventListener("mouseout",f,!0)}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.misc"),sigma.misc.drawHovers=function(a){function b(){c.contexts.hover.canvas.width=c.contexts.hover.canvas.width;var b,f,g,h,i,j=c.settings("defaultNodeType"),k=c.settings("defaultEdgeType"),l=sigma.canvas.hovers,m=sigma.canvas.edgehovers,n=sigma.canvas.extremities,o=c.settings.embedObjects({prefix:a});if(o("enableHovering")&&o("singleHover")&&Object.keys(d).length&&(h=d[Object.keys(d)[0]],(l[h.type]||l[j]||l.def)(h,c.contexts.hover,o)),o("enableHovering")&&!o("singleHover"))for(b in d)(l[d[b].type]||l[j]||l.def)(d[b],c.contexts.hover,o);if(o("enableEdgeHovering")&&o("singleHover")&&Object.keys(e).length&&(i=e[Object.keys(e)[0]],f=c.graph.nodes(i.source),g=c.graph.nodes(i.target),i.hidden||((m[i.type]||m[k]||m.def)(i,f,g,c.contexts.hover,o),o("edgeHoverExtremities")?(n[i.type]||n.def)(i,f,g,c.contexts.hover,o):((sigma.canvas.nodes[f.type]||sigma.canvas.nodes.def)(f,c.contexts.hover,o),(sigma.canvas.nodes[g.type]||sigma.canvas.nodes.def)(g,c.contexts.hover,o)))),o("enableEdgeHovering")&&!o("singleHover"))for(b in e)i=e[b],f=c.graph.nodes(i.source),g=c.graph.nodes(i.target),i.hidden||((m[i.type]||m[k]||m.def)(i,f,g,c.contexts.hover,o),o("edgeHoverExtremities")?(n[i.type]||n.def)(i,f,g,c.contexts.hover,o):((sigma.canvas.nodes[f.type]||sigma.canvas.nodes.def)(f,c.contexts.hover,o),(sigma.canvas.nodes[g.type]||sigma.canvas.nodes.def)(g,c.contexts.hover,o)))}var c=this,d={},e={};this.bind("overNode",function(a){var c=a.data.node;c.hidden||(d[c.id]=c,b())}),this.bind("outNode",function(a){delete d[a.data.node.id],b()}),this.bind("overEdge",function(a){var c=a.data.edge;c.hidden||(e[c.id]=c,b())}),this.bind("outEdge",function(a){delete e[a.data.edge.id],b()}),this.bind("render",function(a){b()})}}.call(this); - -/**sigma.plugins.dragNodes**/ -(function(){"use strict";function a(a,b){function c(a){var b=window.getComputedStyle(a),c=function(a){return parseInt(b.getPropertyValue(a).replace("px",""))||0};return{left:a.getBoundingClientRect().left+c("padding-left"),top:a.getBoundingClientRect().top+c("padding-top")}}function d(a){t=!1,l.removeEventListener("mousemove",i),l.removeEventListener("mouseup",h),r.length||(p=null)}function e(a){s[a.data.node.id]||(r.push(a.data.node),s[a.data.node.id]=!0,r.length&&!t&&(p=r[r.length-1],n.addEventListener("mousedown",g)))}function f(a){var b=r.map(function(a){return a}).indexOf(a.data.node);r.splice(b,1),delete s[a.data.node.id],r.length&&!t?p=r[r.length-1]:n.removeEventListener("mousedown",g)}function g(a){t=!0;var b=k.graph.nodes().length;if(p&&b>1){n.removeEventListener("mousedown",g),l.addEventListener("mousemove",i),l.addEventListener("mouseup",h);var c,d;for(c in k.cameras)d=k.cameras[c],void 0!==d.edgequadtree&&(d.edgequadtree._enabled=!1);m.settings({mouseEnabled:!1,enableHovering:!1}),k.refresh(),j.dispatchEvent("startdrag",{node:p,captor:a,renderer:m})}}function h(a){t=!1,n.addEventListener("mousedown",g),l.removeEventListener("mousemove",i),l.removeEventListener("mouseup",h);var b,c;for(b in k.cameras)c=k.cameras[b],void 0!==c.edgequadtree&&(c.edgequadtree._enabled=!0);m.settings({mouseEnabled:!0,enableHovering:!0}),k.refresh(),u&&j.dispatchEvent("drop",{node:p,captor:a,renderer:m}),j.dispatchEvent("dragend",{node:p,captor:a,renderer:m}),u=!1,p=null}function i(a){function b(){for(var b=c(m.container),d=a.clientX-b.left,e=a.clientY-b.top,f=Math.cos(o.angle),g=Math.sin(o.angle),h=k.graph.nodes(),i=[],l=0;2>l;l++){var n=h[l],r={x:n.x*f+n.y*g,y:n.y*f-n.x*g,renX:n[q+"x"],renY:n[q+"y"]};i.push(r)}if(i[0].x===i[1].x&&i[0].y===i[1].y){var s=0===i[0].renX?1:i[0].renX,t=0===i[0].renY?1:i[0].renY;d=i[0].x/s*(d-i[0].renX)+i[0].x,e=i[0].y/t*(e-i[0].renY)+i[0].y}else{var s=(i[1].renX-i[0].renX)/(i[1].x-i[0].x),t=(i[1].renY-i[0].renY)/(i[1].y-i[0].y);i[1].x===i[0].x&&(s=t),i[1].y===i[0].y&&(t=s),d=(d-i[0].renX)/s+i[0].x,e=(e-i[0].renY)/t+i[0].y}p.x=d*f-e*g,p.y=e*f+d*g,k.refresh(),u=!0,j.dispatchEvent("drag",{node:p,captor:a,renderer:m})}if(navigator.userAgent.toLowerCase().indexOf("firefox")>-1){clearTimeout(d);var d=setTimeout(b,0)}else b()}if(sigma.classes.dispatcher.extend(this),sigma.renderers.webgl&&b instanceof sigma.renderers.webgl)throw new Error("The sigma.plugins.dragNodes is not compatible with the WebGL renderer");var j=this,k=a,l=document.body,m=b,n=b.container.lastChild,o=b.camera,p=null,q="",r=[],s={},t=!1,u=!1;b instanceof sigma.renderers.svg&&(n=b.container.firstChild),q=b instanceof sigma.renderers.webgl?b.options.prefix.substr(5):b.options.prefix,b.bind("overNode",e),b.bind("outNode",f),b.bind("click",d),k.bind("kill",function(){j.unbindAll()}),this.unbindAll=function(){n.removeEventListener("mousedown",g),l.removeEventListener("mousemove",i),l.removeEventListener("mouseup",h),m.unbind("overNode",e),m.unbind("outNode",f)}}if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.plugins");var b={};sigma.plugins.dragNodes=function(c,d){return b[c.id]||(b[c.id]=new a(c,d)),c.bind("kill",function(){sigma.plugins.killDragNodes(c)}),b[c.id]},sigma.plugins.killDragNodes=function(c){b[c.id]instanceof a&&(b[c.id].unbindAll(),delete b[c.id])}}).call(window); - -/**shape-library**/ -(function(c){var b=[];var m=function(o,n,p){b.push({"name":o,"drawShape":n,"drawBorder":p})};var d=function(){return b};var h=function(n){return function(s,o,t,r,p,q){q.fillStyle=p;q.beginPath();n(s,o,t,r,q);q.closePath();q.fill()}};var j=function(n){return function(s,o,t,r,p,q){q.strokeStyle=p;q.lineWidth=r/5;q.beginPath();n(s,o,t,r,q);q.closePath();q.stroke()}};var f=function(s,n,t,r,q){var o=Math.PI*45/180;q.moveTo(n+r*Math.sin(o),t-r*Math.cos(o));for(var p=1;p<4;p++){q.lineTo(n+Math.sin(o+2*Math.PI*p/4)*r,t-Math.cos(o+2*Math.PI*p/4)*r)}};m("square",h(f),j(f));var i=function(q,n,r,p,o){o.arc(n,r,p,0,Math.PI*2,true)};m("circle",h(i),j(i));var a=function(q,n,r,p,o){o.moveTo(n-p,r);o.lineTo(n,r-p);o.lineTo(n+p,r);o.lineTo(n,r+p)};m("diamond",h(a),j(a));var g=function(r,n,s,q,p){var o=(r.cross&&r.cross.lineWeight)||5;p.moveTo(n-q,s-o);p.lineTo(n-q,s+o);p.lineTo(n-o,s+o);p.lineTo(n-o,s+q);p.lineTo(n+o,s+q);p.lineTo(n+o,s+o);p.lineTo(n+q,s+o);p.lineTo(n+q,s-o);p.lineTo(n+o,s-o);p.lineTo(n+o,s-q);p.lineTo(n-o,s-q);p.lineTo(n-o,s-o)};m("cross",h(g),j(g));var e=function(o,t,s,v,n){var u=(o.equilateral&&o.equilateral.numPoints)||5;var p=((o.equilateral&&o.equilateral.rotate)||0)*Math.PI/180;var r=v;n.moveTo(t+r*Math.sin(p),s-r*Math.cos(p));for(var q=1;qg;g++)e.lineTo(b+Math.sin(f+2*Math.PI*g/4)*d,c-Math.cos(f+2*Math.PI*g/4)*d)};c("square",e(g),f(g));var h=function(a,b,c,d,e){e.arc(b,c,d,0,2*Math.PI,!0)};c("circle",e(h),f(h));var i=function(a,b,c,d,e){e.moveTo(b-d,c),e.lineTo(b,c-d),e.lineTo(b+d,c),e.lineTo(b,c+d)};c("diamond",e(i),f(i));var j=function(a,b,c,d,e){var f=a.cross&&a.cross.lineWeight||5;e.moveTo(b-d,c-f),e.lineTo(b-d,c+f),e.lineTo(b-f,c+f),e.lineTo(b-f,c+d),e.lineTo(b+f,c+d),e.lineTo(b+f,c+f),e.lineTo(b+d,c+f),e.lineTo(b+d,c-f),e.lineTo(b+f,c-f),e.lineTo(b+f,c-d),e.lineTo(b-f,c-d),e.lineTo(b-f,c-f)};c("cross",e(j),f(j));var k=function(a,b,c,d,e){var f=a.equilateral&&a.equilateral.numPoints||5,g=(a.equilateral&&a.equilateral.rotate||0)*Math.PI/180,h=d;e.moveTo(b+h*Math.sin(g),c-h*Math.cos(g));for(var i=1;f>i;i++)e.lineTo(b+Math.sin(g+2*Math.PI*i/f)*h,c-Math.cos(g+2*Math.PI*i/f)*h)};c("equilateral",e(k),f(k));var l=function(a,b,c,d,e){var f=a.star&&a.star.numPoints||5,g=a.star&&a.star.innerRatio||.5,h=d,i=d*g,j=Math.PI/f;e.moveTo(b,c-d);for(var k=0;f>k;k++)e.lineTo(b+Math.sin(j+2*Math.PI*k/f)*i,c-Math.cos(j+2*Math.PI*k/f)*i),e.lineTo(b+Math.sin(2*Math.PI*(k+1)/f)*h,c-Math.cos(2*Math.PI*(k+1)/f)*h)};c("star",e(l),f(l));var m=function(a,b,c,d,e,f){f.fillStyle="yellow",f.beginPath(),f.arc(b,c,d,1.25*Math.PI,0,!1),f.arc(b,c,d,0,.75*Math.PI,!1),f.lineTo(b,c),f.closePath(),f.fill(),f.fillStyle="white",f.strokeStyle="black",f.beginPath(),f.arc(b+d/3,c-d/3,d/4,0,2*Math.PI,!1),f.closePath(),f.fill(),f.stroke(),f.fillStyle="black",f.beginPath(),f.arc(b+4*d/9,c-d/3,d/8,0,2*Math.PI,!1),f.closePath(),f.fill()};c("pacman",m,null),this.ShapeLibrary={enumerate:d,version:"0.1"}}).call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";if("undefined"==typeof ShapeLibrary)throw"ShapeLibrary is not declared";sigma.utils.pkg("sigma.canvas.nodes"),sigma.utils.pkg("sigma.svg.nodes");var b=a,c={},d=function(a){b=a},e=function(a,d,e,f,g){if(b&&a.image&&a.image.url){var h=a.image.url,i=a.image.h||1,j=a.image.w||1,k=a.image.scale||1,l=a.image.clip||1,m=c[h];m||(m=document.createElement("IMG"),m.src=h,m.status="loading",m.onerror=function(){/*console.log("error loading",h),*/m.status="error"},m.onload=function(){/*console.log("redraw on image load",h),*/m.status="ok",b.refresh()},c[h]=m);var n=i>j?j/i:1,o=j>i?i/j:1,p=f*k;g.save(),g.beginPath(),g.arc(d,e,f*l,0,2*Math.PI,!0),g.closePath(),g.clip(),"ok"===m.status&&g.drawImage(m,d+Math.sin(-0.7855)*p*n,e-Math.cos(-0.7855)*p*o,p*n*2*Math.sin(-0.7855)*-1,p*o*2*Math.cos(-0.7855)),g.restore()}},f=function(a,c,d){if(b&&a.image&&a.image.url){var e=document.createElementNS(d("xmlns"),"circle"),f=document.createElementNS(d("xmlns"),"clipPath"),g=d("classPrefix")+"-clip-path-"+a.id,h=document.createElementNS(d("xmlns"),"defs"),i=document.createElementNS(d("xmlns"),"image");a.image.url;f.setAttributeNS(null,"id",g),f.appendChild(e),h.appendChild(f);var j=/MSIE [5-9]/.test(navigator.userAgent)?"":document.location.href;j=j.split("#")[0],i.setAttributeNS(null,"class",d("classPrefix")+"-node-image"),i.setAttributeNS(null,"clip-path","url("+j+"#"+g+")"),i.setAttributeNS(null,"pointer-events","none"),i.setAttributeNS("http://www.w3.org/1999/xlink","href",a.image.url),c.appendChild(h),c.appendChild(i)}},g=function(a,b,c){sigma.canvas.nodes[a]=function(a,d,f){var g=(arguments,f("prefix")||""),h=a[g+"size"],i=a.color||f("defaultNodeColor"),j=a.borderColor||i,k=a[g+"x"],l=a[g+"y"];d.save(),b&&b(a,k,l,h,i,d),c&&c(a,k,l,h,j,d),e(a,k,l,h,d),d.restore()},sigma.svg.nodes[a]={create:function(a,b){var c=document.createElementNS(b("xmlns"),"g"),d=document.createElementNS(b("xmlns"),"circle");return c.setAttributeNS(null,"class",b("classPrefix")+"-node-group"),c.setAttributeNS(null,"data-node-id",a.id),d.setAttributeNS(null,"data-node-id",a.id),d.setAttributeNS(null,"class",b("classPrefix")+"-node"),d.setAttributeNS(null,"fill",a.color||b("defaultNodeColor")),c.appendChild(d),f(a,c,b),c},update:function(a,b,c){for(var d=c("classPrefix"),e=a.image.clip||1,f=a.image.h||1,g=a.image.w||1,h=c("prefix")||"",i=a.image.scale||1,j=a[h+"size"],k=a[h+"x"],l=a[h+"y"],m=i*j,n=f>g?g/f:1,o=g>f?f/g:1,p=0,q=b.childNodes;pd;d++)this.addRenderer(f[d]);for(f=j.middlewares||[],d=0,e=f.length;e>d;d++)this.middlewares.push("string"==typeof f[d]?c.middlewares[f[d]]:f[d]);"object"==typeof j.graph&&j.graph&&(this.graph.read(j.graph),this.refresh()),window.addEventListener("resize",function(){i.settings&&i.refresh()})};if(c.prototype.addCamera=function(b){var d,e=this;if(!arguments.length){for(b=0;this.cameras[""+b];)b++;b=""+b}if(this.cameras[b])throw'sigma.addCamera: The camera "'+b+'" already exists.';return d=new c.classes.camera(b,this.graph,this.settings),this.cameras[b]=d,d.quadtree=new c.classes.quad,c.classes.edgequad!==a&&(d.edgequadtree=new c.classes.edgequad),d.bind("coordinatesUpdated",function(a){e.renderCamera(d,d.isAnimated)}),this.renderersPerCamera[b]=[],d},c.prototype.killCamera=function(a){if(a="string"==typeof a?this.cameras[a]:a,!a)throw"sigma.killCamera: The camera is undefined.";var b,c,d=this.renderersPerCamera[a.id];for(c=d.length,b=c-1;b>=0;b--)this.killRenderer(d[b]);return delete this.renderersPerCamera[a.id],delete this.cameraFrames[a.id],delete this.cameras[a.id],a.kill&&a.kill(),this},c.prototype.addRenderer=function(a){var b,d,e,f,g=a||{};if("string"==typeof g?g={container:document.getElementById(g)}:g instanceof HTMLElement&&(g={container:g}),"string"==typeof g.container&&(g.container=document.getElementById(g.container)),"id"in g)b=g.id;else{for(b=0;this.renderers[""+b];)b++;b=""+b}if(this.renderers[b])throw'sigma.addRenderer: The renderer "'+b+'" already exists.';if(d="function"==typeof g.type?g.type:c.renderers[g.type],d=d||c.renderers.def,e="camera"in g?g.camera instanceof c.classes.camera?g.camera:this.cameras[g.camera]||this.addCamera(g.camera):this.addCamera(),this.cameras[e.id]!==e)throw"sigma.addRenderer: The camera is not properly referenced.";return f=new d(this.graph,e,this.settings,g),this.renderers[b]=f,Object.defineProperty(f,"id",{value:b}),f.bind&&f.bind(["click","rightClick","clickStage","doubleClickStage","rightClickStage","clickNode","clickNodes","clickEdge","clickEdges","doubleClickNode","doubleClickNodes","doubleClickEdge","doubleClickEdges","rightClickNode","rightClickNodes","rightClickEdge","rightClickEdges","overNode","overNodes","overEdge","overEdges","outNode","outNodes","outEdge","outEdges","downNode","downNodes","downEdge","downEdges","upNode","upNodes","upEdge","upEdges"],this._handler),this.renderersPerCamera[e.id].push(f),f},c.prototype.killRenderer=function(a){if(a="string"==typeof a?this.renderers[a]:a,!a)throw"sigma.killRenderer: The renderer is undefined.";var b=this.renderersPerCamera[a.camera.id],c=b.indexOf(a);return c>=0&&b.splice(c,1),a.kill&&a.kill(),delete this.renderers[a.id],this},c.prototype.refresh=function(b){var d,e,f,g,h,i,j=0;for(b=b||{},g=this.middlewares||[],d=0,e=g.length;e>d;d++)g[d].call(this,0===d?"":"tmp"+j+":",d===e-1?"ready:":"tmp"+ ++j+":");for(f in this.cameras)h=this.cameras[f],h.settings("autoRescale")&&this.renderersPerCamera[h.id]&&this.renderersPerCamera[h.id].length?c.middlewares.rescale.call(this,g.length?"ready:":"",h.readPrefix,{width:this.renderersPerCamera[h.id][0].width,height:this.renderersPerCamera[h.id][0].height}):c.middlewares.copy.call(this,g.length?"ready:":"",h.readPrefix),b.skipIndexation||(i=c.utils.getBoundaries(this.graph,h.readPrefix),h.quadtree.index(this.graph.nodes(),{prefix:h.readPrefix,bounds:{x:i.minX,y:i.minY,width:i.maxX-i.minX,height:i.maxY-i.minY}}),h.edgequadtree!==a&&h.settings("drawEdges")&&h.settings("enableEdgeHovering")&&h.edgequadtree.index(this.graph,{prefix:h.readPrefix,bounds:{x:i.minX,y:i.minY,width:i.maxX-i.minX,height:i.maxY-i.minY}}));for(g=Object.keys(this.renderers),d=0,e=g.length;e>d;d++)if(this.renderers[g[d]].process)if(this.settings("skipErrors"))try{this.renderers[g[d]].process()}catch(k){console.log('Warning: The renderer "'+g[d]+'" crashed on ".process()"')}else this.renderers[g[d]].process();return this.render(),this},c.prototype.render=function(){var a,b,c;for(c=Object.keys(this.renderers),a=0,b=c.length;b>a;a++)if(this.settings("skipErrors"))try{this.renderers[c[a]].render()}catch(d){this.settings("verbose")&&console.log('Warning: The renderer "'+c[a]+'" crashed on ".render()"')}else this.renderers[c[a]].render();return this},c.prototype.renderCamera=function(a,b){var c,d,e,f=this;if(b)for(e=this.renderersPerCamera[a.id],c=0,d=e.length;d>c;c++)if(this.settings("skipErrors"))try{e[c].render()}catch(g){this.settings("verbose")&&console.log('Warning: The renderer "'+e[c].id+'" crashed on ".render()"')}else e[c].render();else if(!this.cameraFrames[a.id]){for(e=this.renderersPerCamera[a.id],c=0,d=e.length;d>c;c++)if(this.settings("skipErrors"))try{e[c].render()}catch(g){this.settings("verbose")&&console.log('Warning: The renderer "'+e[c].id+'" crashed on ".render()"')}else e[c].render();this.cameraFrames[a.id]=requestAnimationFrame(function(){delete f.cameraFrames[a.id]})}return this},c.prototype.kill=function(){var a;this.dispatchEvent("kill"),this.graph.kill(),delete this.middlewares;for(a in this.renderers)this.killRenderer(this.renderers[a]);for(a in this.cameras)this.killCamera(this.cameras[a]);delete this.renderers,delete this.cameras;for(a in this)this.hasOwnProperty(a)&&delete this[a];delete b[this.id]},c.instances=function(a){return arguments.length?b[a]:c.utils.extend({},b)},c.version="1.0.3","undefined"!=typeof this.sigma)throw"An object called sigma is already in the global scope.";this.sigma=c}).call(this),function(a){"use strict";function b(a,c){var d,e,f,g;if(arguments.length)if(1===arguments.length&&Object(arguments[0])===arguments[0])for(a in arguments[0])b(a,arguments[0][a]);else if(arguments.length>1)for(g=Array.isArray(a)?a:a.split(/ /),d=0,e=g.length;d!==e;d+=1)f=g[d],C[f]||(C[f]=[]),C[f].push({handler:c})}function c(a,b){var c,d,e,f,g,h,i=Array.isArray(a)?a:a.split(/ /);if(arguments.length)if(b)for(c=0,d=i.length;c!==d;c+=1){if(h=i[c],C[h]){for(g=[],e=0,f=C[h].length;e!==f;e+=1)C[h][e].handler!==b&&g.push(C[h][e]);C[h]=g}C[h]&&0===C[h].length&&delete C[h]}else for(c=0,d=i.length;c!==d;c+=1)delete C[i[c]];else C=Object.create(null)}function d(a,b){var c,d,e,f,g,h,i=Array.isArray(a)?a:a.split(/ /);for(b=void 0===b?{}:b,c=0,e=i.length;c!==e;c+=1)if(h=i[c],C[h])for(g={type:h,data:b||{}},d=0,f=C[h].length;d!==f;d+=1)try{C[h][d].handler(g)}catch(j){}}function e(){var a,b,c,d,e=!1,f=s(),g=x.shift();if(c=g.job(),f=s()-f,g.done++,g.time+=f,g.currentTime+=f,g.weightTime=g.currentTime/(g.weight||1),g.averageTime=g.time/g.done,d=g.count?g.count<=g.done:!c,!d){for(a=0,b=x.length;b>a;a++)if(x[a].weightTime>g.weightTime){x.splice(a,0,g),e=!0;break}e||x.push(g)}return d?g:null}function f(a){var b=x.length;w[a.id]=a,a.status="running",b&&(a.weightTime=x[b-1].weightTime,a.currentTime=a.weightTime*(a.weight||1)),a.startTime=s(),d("jobStarted",q(a)),x.push(a)}function g(){var a,b,c;for(a in v)b=v[a],b.after?y[a]=b:f(b),delete v[a];for(u=!!x.length;x.length&&s()-tc;c++)h(a[c].id,p(a[c],b));A=!1,u||(t=s(),d("start"),g())}else if("object"==typeof a)if("string"==typeof a.id)h(a.id,a);else{A=!0;for(c in a)"function"==typeof a[c]?h(c,p({job:a[c]},b)):h(c,p(a[c],b));A=!1,u||(t=s(),d("start"),g())}else{if("string"!=typeof a)throw new Error("[conrad.addJob] Wrong arguments.");if(k(a))throw new Error('[conrad.addJob] Job with id "'+a+'" already exists.');if("function"==typeof b)f={id:a,done:0,time:0,status:"waiting",currentTime:0,averageTime:0,weightTime:0,job:b};else{if("object"!=typeof b)throw new Error("[conrad.addJob] Wrong arguments.");f=p({id:a,done:0,time:0,status:"waiting",currentTime:0,averageTime:0,weightTime:0},b)}v[a]=f,d("jobAdded",q(f)),u||A||(t=s(),d("start"),g())}return this}function i(a){var b,c,e,f,g=!1;if(Array.isArray(a))for(b=0,c=a.length;c>b;b++)i(a[b]);else{if("string"!=typeof a)throw new Error("[conrad.killJob] Wrong arguments.");for(e=[w,y,v],b=0,c=e.length;c>b;b++)a in e[b]&&(f=e[b][a],B.history&&(f.status="done",z.push(f)),d("jobEnded",q(f)),delete e[b][a],"function"==typeof f.end&&f.end(),g=!0);for(e=x,b=0,c=e.length;c>b;b++)if(e[b].id===a){e.splice(b,1);break}if(!g)throw new Error('[conrad.killJob] Job "'+a+'" not found.')}return this}function j(){var a,b=p(v,w,y);if(B.history)for(a in b)b[a].status="done",z.push(b[a]),"function"==typeof b[a].end&&b[a].end();return v={},y={},w={},x=[],u=!1,this}function k(a){var b=v[a]||w[a]||y[a];return b?p(b):null}function l(a,b){var c;if("string"==typeof a1&&1===arguments.length)return B[a1];c="object"==typeof a1&&1===arguments.length?a1||{}:{},"string"==typeof a1&&(c[a1]=a2);for(var d in c)void 0!==c[d]?B[d]=c[d]:delete B[d];return this}function m(){return u}function n(){return z=[],this}function o(a,b){var c,d,e,f,g,h,i;if(!arguments.length){g=[];for(d in v)g.push(v[d]);for(d in y)g.push(y[d]);for(d in w)g.push(w[d]);g=g.concat(z)}if("string"==typeof a)switch(a){case"waiting":g=r(y);break;case"running":g=r(w);break;case"done":g=z;break;default:h=a}if(a instanceof RegExp&&(h=a),!h&&("string"==typeof b||b instanceof RegExp)&&(h=b),h){if(i="string"==typeof h,g instanceof Array)c=g;else if("object"==typeof g){c=[];for(d in g)c=c.concat(g[d])}else{c=[];for(d in v)c.push(v[d]);for(d in y)c.push(y[d]);for(d in w)c.push(w[d]);c=c.concat(z)}for(g=[],e=0,f=c.length;f>e;e++)(i?c[e].id===h:c[e].id.match(h))&&g.push(c[e])}return q(g)}function p(){var a,b,c={},d=arguments.length;for(a=d-1;a>=0;a--)for(b in arguments[a])c[b]=arguments[a][b];return c}function q(a){var b,c,d;if(!a)return a;if(Array.isArray(a))for(b=[],c=0,d=a.length;d>c;c++)b.push(q(a[c]));else if("object"==typeof a){b={};for(c in a)b[c]=q(a[c])}else b=a;return b}function r(a){var b,c=[];for(b in a)c.push(a[b]);return c}function s(){return Date.now?Date.now():(new Date).getTime()}if(a.conrad)throw new Error("conrad already exists");var t,u=!1,v={},w={},x=[],y={},z=[],A=!1,B={frameDuration:20,history:!0},C=Object.create(null);Array.isArray||(Array.isArray=function(a){return"[object Array]"===Object.prototype.toString.call(a)});var D={hasJob:k,addJob:h,killJob:i,killAll:j,settings:l,getStats:o,isRunning:m,clearHistory:n,bind:b,unbind:c,version:"0.1.0"};"undefined"!=typeof exports&&("undefined"!=typeof module&&module.exports&&(exports=module.exports=D),exports.conrad=D),a.conrad=D}(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";var b=this;sigma.utils=sigma.utils||{},sigma.utils.extend=function(){var a,b,c={},d=arguments.length;for(a=d-1;a>=0;a--)for(b in arguments[a])c[b]=arguments[a][b];return c},sigma.utils.dateNow=function(){return Date.now?Date.now():(new Date).getTime()},sigma.utils.pkg=function(a){return(a||"").split(".").reduce(function(a,b){return b in a?a[b]:a[b]={}},b)},sigma.utils.id=function(){var a=0;return function(){return++a}}(),sigma.utils.floatColor=function(a){var b=[0,0,0];return a.match(/^#/)?(a=(a||"").replace(/^#/,""),b=3===a.length?[parseInt(a.charAt(0)+a.charAt(0),16),parseInt(a.charAt(1)+a.charAt(1),16),parseInt(a.charAt(2)+a.charAt(2),16)]:[parseInt(a.charAt(0)+a.charAt(1),16),parseInt(a.charAt(2)+a.charAt(3),16),parseInt(a.charAt(4)+a.charAt(5),16)]):a.match(/^ *rgba? *\(/)&&(a=a.match(/^ *rgba? *\( *([0-9]*) *, *([0-9]*) *, *([0-9]*) *(,.*)?\) *$/),b=[+a[1],+a[2],+a[3]]),256*b[0]*256+256*b[1]+b[2]},sigma.utils.zoomTo=function(a,b,c,d,e){var f,g,h,i=a.settings;g=Math.max(i("zoomMin"),Math.min(i("zoomMax"),a.ratio*d)),g!==a.ratio&&(d=g/a.ratio,h={x:b*(1-d)+a.x,y:c*(1-d)+a.y,ratio:g},e&&e.duration?(f=sigma.misc.animation.killAll(a),e=sigma.utils.extend(e,{easing:f?"quadraticOut":"quadraticInOut"}),sigma.misc.animation.camera(a,h,e)):(a.goTo(h),e&&e.onComplete&&e.onComplete()))},sigma.utils.getQuadraticControlPoint=function(a,b,c,d){return{x:(a+c)/2+(d-b)/4,y:(b+d)/2+(a-c)/4}},sigma.utils.getPointOnQuadraticCurve=function(a,b,c,d,e,f,g){return{x:Math.pow(1-a,2)*b+2*(1-a)*a*f+Math.pow(a,2)*d,y:Math.pow(1-a,2)*c+2*(1-a)*a*g+Math.pow(a,2)*e}},sigma.utils.getPointOnBezierCurve=function(a,b,c,d,e,f,g,h,i){var j=Math.pow(1-a,3),k=3*a*Math.pow(1-a,2),l=3*Math.pow(a,2)*(1-a),m=Math.pow(a,3);return{x:j*b+k*f+l*h+m*d,y:j*c+k*g+l*i+m*e}},sigma.utils.getSelfLoopControlPoints=function(a,b,c){return{x1:a-7*c,y1:b,x2:a,y2:b+7*c}},sigma.utils.getDistance=function(a,b,c,d){return Math.sqrt(Math.pow(c-a,2)+Math.pow(d-b,2))},sigma.utils.getCircleIntersection=function(a,b,c,d,e,f){var g,h,i,j,k,l,m,n,o;if(h=d-a,i=e-b,j=Math.sqrt(i*i+h*h),j>c+f)return!1;if(jj&&Math.min(c,e)<=a&&a<=Math.max(c,e)&&Math.min(d,f)<=b&&b<=Math.max(d,f)},sigma.utils.isPointOnQuadraticCurve=function(a,b,c,d,e,f,g,h,i){var j=sigma.utils.getDistance(c,d,e,f);if(Math.abs(a-c)>j||Math.abs(b-d)>j)return!1;for(var k,l=sigma.utils.getDistance(a,b,c,d),m=sigma.utils.getDistance(a,b,e,f),n=.5,o=m>l?-.01:.01,p=.001,q=100,r=sigma.utils.getPointOnQuadraticCurve(n,c,d,e,f,g,h),s=sigma.utils.getDistance(a,b,r.x,r.y);q-- >0&&n>=0&&1>=n&&s>i&&(o>p||-p>o);)k=s,r=sigma.utils.getPointOnQuadraticCurve(n,c,d,e,f,g,h),s=sigma.utils.getDistance(a,b,r.x,r.y),s>k?(o=-o/2,n+=o):0>n+o||n+o>1?(o/=2,s=k):n+=o;return i>s},sigma.utils.isPointOnBezierCurve=function(a,b,c,d,e,f,g,h,i,j,k){var l=sigma.utils.getDistance(c,d,g,h);if(Math.abs(a-c)>l||Math.abs(b-d)>l)return!1;for(var m,n=sigma.utils.getDistance(a,b,c,d),o=sigma.utils.getDistance(a,b,e,f),p=.5,q=o>n?-.01:.01,r=.001,s=100,t=sigma.utils.getPointOnBezierCurve(p,c,d,e,f,g,h,i,j),u=sigma.utils.getDistance(a,b,t.x,t.y);s-- >0&&p>=0&&1>=p&&u>k&&(q>r||-r>q);)m=u,t=sigma.utils.getPointOnBezierCurve(p,c,d,e,f,g,h,i,j),u=sigma.utils.getDistance(a,b,t.x,t.y),u>m?(q=-q/2,p+=q):0>p+q||p+q>1?(q/=2,u=m):p+=q;return k>u},sigma.utils.getX=function(b){return b.offsetX!==a&&b.offsetX||b.layerX!==a&&b.layerX||b.clientX!==a&&b.clientX},sigma.utils.getY=function(b){return b.offsetY!==a&&b.offsetY||b.layerY!==a&&b.layerY||b.clientY!==a&&b.clientY},sigma.utils.getWidth=function(b){var c=b.target.ownerSVGElement?b.target.ownerSVGElement.width:b.target.width;return"number"==typeof c&&c||c!==a&&c.baseVal!==a&&c.baseVal.value},sigma.utils.getHeight=function(b){var c=b.target.ownerSVGElement?b.target.ownerSVGElement.height:b.target.height;return"number"==typeof c&&c||c!==a&&c.baseVal!==a&&c.baseVal.value},sigma.utils.getDelta=function(b){return b.wheelDelta!==a&&b.wheelDelta||b.detail!==a&&-b.detail},sigma.utils.getOffset=function(a){for(var b=0,c=0;a;)c+=parseInt(a.offsetTop),b+=parseInt(a.offsetLeft),a=a.offsetParent;return{top:c,left:b}},sigma.utils.doubleClick=function(a,b,c){var d,e=0;a._doubleClickHandler=a._doubleClickHandler||{},a._doubleClickHandler[b]=a._doubleClickHandler[b]||[],d=a._doubleClickHandler[b],d.push(function(a){return e++,2===e?(e=0,c(a)):void(1===e&&setTimeout(function(){e=0},sigma.settings.doubleClickTimeout))}),a.addEventListener(b,d[d.length-1],!1)},sigma.utils.unbindDoubleClick=function(a,b){for(var c,d=(a._doubleClickHandler||{})[b]||[];c=d.pop();)a.removeEventListener(b,c);delete(a._doubleClickHandler||{})[b]},sigma.utils.easings=sigma.utils.easings||{},sigma.utils.easings.linearNone=function(a){return a},sigma.utils.easings.quadraticIn=function(a){return a*a},sigma.utils.easings.quadraticOut=function(a){return a*(2-a)},sigma.utils.easings.quadraticInOut=function(a){return(a*=2)<1?.5*a*a:-.5*(--a*(a-2)-1)},sigma.utils.easings.cubicIn=function(a){return a*a*a},sigma.utils.easings.cubicOut=function(a){return--a*a*a+1},sigma.utils.easings.cubicInOut=function(a){return(a*=2)<1?.5*a*a*a:.5*((a-=2)*a*a+2)},sigma.utils.loadShader=function(a,b,c,d){var e,f=a.createShader(c);return a.shaderSource(f,b),a.compileShader(f),e=a.getShaderParameter(f,a.COMPILE_STATUS),e?f:(d&&d('Error compiling shader "'+f+'":'+a.getShaderInfoLog(f)),a.deleteShader(f),null)},sigma.utils.loadProgram=function(a,b,c,d,e){var f,g,h=a.createProgram();for(f=0;fg;g++)d[i[g]]=c[i[g]];return this}if(void 0!==d[a])return d[a];for(g=0,h=e.length;h>g;g++)if(void 0!==e[g][a])return e[g][a]}};for(f.embedObjects=function(){var b=e.concat(d).concat(Array.prototype.splice.call(arguments,0));return a.apply({},b)},b=0,c=arguments.length;c>b;b++)f(arguments[b]);return f};"undefined"!=typeof this.sigma?(this.sigma.classes=this.sigma.classes||{},this.sigma.classes.configurable=a):"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=a),exports.configurable=a):this.configurable=a}.call(this),function(a){"use strict";function b(a,b,c){var d=function(){var d,e;for(d in h[a])h[a][d].apply(b,arguments);e=c.apply(b,arguments);for(d in g[a])g[a][d].apply(b,arguments);return e};return d}function c(a){var b;for(b in a)"hasOwnProperty"in a&&!a.hasOwnProperty(b)||delete a[b];return a}var d=Object.create(null),e=Object.create(null),f=Object.create(null),g=Object.create(null),h=Object.create(null),i={immutable:!0,clone:!0},j=function(a){return i[a]},k=function(a){var c,e,g;g={settings:a||j,nodesArray:[],edgesArray:[],nodesIndex:Object.create(null),edgesIndex:Object.create(null),inNeighborsIndex:Object.create(null),outNeighborsIndex:Object.create(null),allNeighborsIndex:Object.create(null),inNeighborsCount:Object.create(null),outNeighborsCount:Object.create(null),allNeighborsCount:Object.create(null)};for(c in f)f[c].call(g);for(c in d)e=b(c,g,d[c]),this[c]=e,g[c]=e};k.addMethod=function(a,b){if("string"!=typeof a||"function"!=typeof b||2!==arguments.length)throw"addMethod: Wrong arguments.";if(d[a]||k[a])throw'The method "'+a+'" already exists.';return d[a]=b,g[a]=Object.create(null),h[a]=Object.create(null),this},k.hasMethod=function(a){return!(!d[a]&&!k[a])},k.attach=function(a,b,c,d){if("string"!=typeof a||"string"!=typeof b||"function"!=typeof c||arguments.length<3||arguments.length>4)throw"attach: Wrong arguments.";var e;if("constructor"===a)e=f;else if(d){if(!h[a])throw'The method "'+a+'" does not exist.';e=h[a]}else{if(!g[a])throw'The method "'+a+'" does not exist.';e=g[a]}if(e[b])throw'A function "'+b+'" is already attached to the method "'+a+'".';return e[b]=c,this},k.attachBefore=function(a,b,c){return this.attach(a,b,c,!0)},k.addIndex=function(a,b){if("string"!=typeof a||Object(b)!==b||2!==arguments.length)throw"addIndex: Wrong arguments.";if(e[a])throw'The index "'+a+'" already exists.';var c;e[a]=b;for(c in b){if("function"!=typeof b[c])throw"The bindings must be functions.";k.attach(c,a,b[c])}return this},k.addMethod("addNode",function(a){if(Object(a)!==a||1!==arguments.length)throw"addNode: Wrong arguments.";if("string"!=typeof a.id&&"number"!=typeof a.id)throw"The node must have a string or number id.";if(this.nodesIndex[a.id])throw'The node "'+a.id+'" already exists.';var b,c=a.id,d=Object.create(null);if(this.settings("clone"))for(b in a)"id"!==b&&(d[b]=a[b]);else d=a;return this.settings("immutable")?Object.defineProperty(d,"id",{value:c,enumerable:!0}):d.id=c,this.inNeighborsIndex[c]=Object.create(null),this.outNeighborsIndex[c]=Object.create(null),this.allNeighborsIndex[c]=Object.create(null),this.inNeighborsCount[c]=0,this.outNeighborsCount[c]=0,this.allNeighborsCount[c]=0,this.nodesArray.push(d),this.nodesIndex[d.id]=d,this}),k.addMethod("addEdge",function(a){if(Object(a)!==a||1!==arguments.length)throw"addEdge: Wrong arguments.";if("string"!=typeof a.id&&"number"!=typeof a.id)throw"The edge must have a string or number id.";if("string"!=typeof a.source&&"number"!=typeof a.source||!this.nodesIndex[a.source])throw"The edge source must have an existing node id.";if("string"!=typeof a.target&&"number"!=typeof a.target||!this.nodesIndex[a.target])throw"The edge target must have an existing node id.";if(this.edgesIndex[a.id])throw'The edge "'+a.id+'" already exists.';var b,c=Object.create(null);if(this.settings("clone"))for(b in a)"id"!==b&&"source"!==b&&"target"!==b&&(c[b]=a[b]);else c=a;return this.settings("immutable")?(Object.defineProperty(c,"id",{value:a.id,enumerable:!0}),Object.defineProperty(c,"source",{value:a.source,enumerable:!0}),Object.defineProperty(c,"target",{value:a.target,enumerable:!0})):(c.id=a.id,c.source=a.source,c.target=a.target),this.edgesArray.push(c),this.edgesIndex[c.id]=c,this.inNeighborsIndex[c.target][c.source]||(this.inNeighborsIndex[c.target][c.source]=Object.create(null)),this.inNeighborsIndex[c.target][c.source][c.id]=c,this.outNeighborsIndex[c.source][c.target]||(this.outNeighborsIndex[c.source][c.target]=Object.create(null)),this.outNeighborsIndex[c.source][c.target][c.id]=c,this.allNeighborsIndex[c.source][c.target]||(this.allNeighborsIndex[c.source][c.target]=Object.create(null)),this.allNeighborsIndex[c.source][c.target][c.id]=c,c.target!==c.source&&(this.allNeighborsIndex[c.target][c.source]||(this.allNeighborsIndex[c.target][c.source]=Object.create(null)),this.allNeighborsIndex[c.target][c.source][c.id]=c),this.inNeighborsCount[c.target]++,this.outNeighborsCount[c.source]++,this.allNeighborsCount[c.target]++,this.allNeighborsCount[c.source]++,this}),k.addMethod("dropNode",function(a){if("string"!=typeof a&&"number"!=typeof a||1!==arguments.length)throw"dropNode: Wrong arguments.";if(!this.nodesIndex[a])throw'The node "'+a+'" does not exist.';var b,c,d;for(delete this.nodesIndex[a],b=0,d=this.nodesArray.length;d>b;b++)if(this.nodesArray[b].id===a){this.nodesArray.splice(b,1);break}for(b=this.edgesArray.length-1;b>=0;b--)(this.edgesArray[b].source===a||this.edgesArray[b].target===a)&&this.dropEdge(this.edgesArray[b].id);delete this.inNeighborsIndex[a],delete this.outNeighborsIndex[a],delete this.allNeighborsIndex[a],delete this.inNeighborsCount[a],delete this.outNeighborsCount[a],delete this.allNeighborsCount[a];for(c in this.nodesIndex)delete this.inNeighborsIndex[c][a],delete this.outNeighborsIndex[c][a],delete this.allNeighborsIndex[c][a];return this}),k.addMethod("dropEdge",function(a){if("string"!=typeof a&&"number"!=typeof a||1!==arguments.length)throw"dropEdge: Wrong arguments.";if(!this.edgesIndex[a])throw'The edge "'+a+'" does not exist.';var b,c,d;for(d=this.edgesIndex[a],delete this.edgesIndex[a],b=0,c=this.edgesArray.length;c>b;b++)if(this.edgesArray[b].id===a){this.edgesArray.splice(b,1);break}return delete this.inNeighborsIndex[d.target][d.source][d.id],Object.keys(this.inNeighborsIndex[d.target][d.source]).length||delete this.inNeighborsIndex[d.target][d.source],delete this.outNeighborsIndex[d.source][d.target][d.id],Object.keys(this.outNeighborsIndex[d.source][d.target]).length||delete this.outNeighborsIndex[d.source][d.target],delete this.allNeighborsIndex[d.source][d.target][d.id],Object.keys(this.allNeighborsIndex[d.source][d.target]).length||delete this.allNeighborsIndex[d.source][d.target],d.target!==d.source&&(delete this.allNeighborsIndex[d.target][d.source][d.id],Object.keys(this.allNeighborsIndex[d.target][d.source]).length||delete this.allNeighborsIndex[d.target][d.source]),this.inNeighborsCount[d.target]--,this.outNeighborsCount[d.source]--,this.allNeighborsCount[d.source]--,this.allNeighborsCount[d.target]--,this}),k.addMethod("kill",function(){this.nodesArray.length=0,this.edgesArray.length=0,delete this.nodesArray,delete this.edgesArray,delete this.nodesIndex,delete this.edgesIndex,delete this.inNeighborsIndex,delete this.outNeighborsIndex,delete this.allNeighborsIndex,delete this.inNeighborsCount,delete this.outNeighborsCount,delete this.allNeighborsCount}),k.addMethod("clear",function(){return this.nodesArray.length=0,this.edgesArray.length=0,c(this.nodesIndex),c(this.edgesIndex),c(this.nodesIndex),c(this.inNeighborsIndex),c(this.outNeighborsIndex),c(this.allNeighborsIndex),c(this.inNeighborsCount),c(this.outNeighborsCount),c(this.allNeighborsCount),this}),k.addMethod("read",function(a){var b,c,d;for(c=a.nodes||[],b=0,d=c.length;d>b;b++)this.addNode(c[b]);for(c=a.edges||[],b=0,d=c.length;d>b;b++)this.addEdge(c[b]);return this}),k.addMethod("nodes",function(a){if(!arguments.length)return this.nodesArray.slice(0);if(1===arguments.length&&("string"==typeof a||"number"==typeof a))return this.nodesIndex[a];if(1===arguments.length&&"[object Array]"===Object.prototype.toString.call(a)){ +var b,c,d=[];for(b=0,c=a.length;c>b;b++){if("string"!=typeof a[b]&&"number"!=typeof a[b])throw"nodes: Wrong arguments.";d.push(this.nodesIndex[a[b]])}return d}throw"nodes: Wrong arguments."}),k.addMethod("degree",function(a,b){if(b={"in":this.inNeighborsCount,out:this.outNeighborsCount}[b||""]||this.allNeighborsCount,"string"==typeof a||"number"==typeof a)return b[a];if("[object Array]"===Object.prototype.toString.call(a)){var c,d,e=[];for(c=0,d=a.length;d>c;c++){if("string"!=typeof a[c]&&"number"!=typeof a[c])throw"degree: Wrong arguments.";e.push(b[a[c]])}return e}throw"degree: Wrong arguments."}),k.addMethod("edges",function(a){if(!arguments.length)return this.edgesArray.slice(0);if(1===arguments.length&&("string"==typeof a||"number"==typeof a))return this.edgesIndex[a];if(1===arguments.length&&"[object Array]"===Object.prototype.toString.call(a)){var b,c,d=[];for(b=0,c=a.length;c>b;b++){if("string"!=typeof a[b]&&"number"!=typeof a[b])throw"edges: Wrong arguments.";d.push(this.edgesIndex[a[b]])}return d}throw"edges: Wrong arguments."}),"undefined"!=typeof sigma?(sigma.classes=sigma.classes||Object.create(null),sigma.classes.graph=k):"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=k),exports.graph=k):this.graph=k}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.classes"),sigma.classes.camera=function(a,b,c,d){sigma.classes.dispatcher.extend(this),Object.defineProperty(this,"graph",{value:b}),Object.defineProperty(this,"id",{value:a}),Object.defineProperty(this,"readPrefix",{value:"read_cam"+a+":"}),Object.defineProperty(this,"prefix",{value:"cam"+a+":"}),this.x=0,this.y=0,this.ratio=1,this.angle=0,this.isAnimated=!1,this.settings="object"==typeof d&&d?c.embedObject(d):c},sigma.classes.camera.prototype.goTo=function(b){if(!this.settings("enableCamera"))return this;var c,d,e=b||{},f=["x","y","ratio","angle"];for(c=0,d=f.length;d>c;c++)if(e[f[c]]!==a){if("number"!=typeof e[f[c]]||isNaN(e[f[c]]))throw'Value for "'+f[c]+'" is not a number.';this[f[c]]=e[f[c]]}return this.dispatchEvent("coordinatesUpdated"),this},sigma.classes.camera.prototype.applyView=function(b,c,d){d=d||{},c=c!==a?c:this.prefix,b=b!==a?b:this.readPrefix;var e,f,g,h=d.nodes||this.graph.nodes(),i=d.edges||this.graph.edges(),j=Math.cos(this.angle),k=Math.sin(this.angle),l=Math.pow(this.ratio,this.settings("nodesPowRatio")),m=Math.pow(this.ratio,this.settings("edgesPowRatio"));for(e=0,f=h.length;f>e;e++)g=h[e],g[c+"x"]=(((g[b+"x"]||0)-this.x)*j+((g[b+"y"]||0)-this.y)*k)/this.ratio+(d.width||0)/2,g[c+"y"]=(((g[b+"y"]||0)-this.y)*j-((g[b+"x"]||0)-this.x)*k)/this.ratio+(d.height||0)/2,g[c+"size"]=(g[b+"size"]||0)/l;for(e=0,f=i.length;f>e;e++)i[e][c+"size"]=(i[e][b+"size"]||0)/m;return this},sigma.classes.camera.prototype.graphPosition=function(a,b,c){var d=0,e=0,f=Math.cos(this.angle),g=Math.sin(this.angle);return c||(d=-(this.x*f+this.y*g)/this.ratio,e=-(this.y*f-this.x*g)/this.ratio),{x:(a*f+b*g)/this.ratio+d,y:(b*f-a*g)/this.ratio+e}},sigma.classes.camera.prototype.cameraPosition=function(a,b,c){var d=0,e=0,f=Math.cos(this.angle),g=Math.sin(this.angle);return c||(d=-(this.x*f+this.y*g)/this.ratio,e=-(this.y*f-this.x*g)/this.ratio),{x:((a-d)*f-(b-e)*g)*this.ratio,y:((b-e)*f+(a-d)*g)*this.ratio}},sigma.classes.camera.prototype.getMatrix=function(){var a=sigma.utils.matrices.scale(1/this.ratio),b=sigma.utils.matrices.rotation(this.angle),c=sigma.utils.matrices.translation(-this.x,-this.y),d=sigma.utils.matrices.multiply(c,sigma.utils.matrices.multiply(b,a));return d},sigma.classes.camera.prototype.getRectangle=function(a,b){var c=this.cameraPosition(a,0,!0),d=this.cameraPosition(0,b,!0),e=this.cameraPosition(a/2,b/2,!0),f=this.cameraPosition(a/4,0,!0).x,g=this.cameraPosition(0,b/4,!0).y;return{x1:this.x-e.x-f,y1:this.y-e.y-g,x2:this.x-e.x+f+c.x,y2:this.y-e.y-g+c.y,height:Math.sqrt(Math.pow(d.x,2)+Math.pow(d.y+2*g,2))}}}.call(this),function(a){"use strict";function b(a,b){var c=b.x+b.width/2,d=b.y+b.height/2,e=a.yd;d++)a.x2>=b[d][0].x&&a.x1<=b[d][1].x&&a.y1+a.height>=b[d][0].y&&a.y1<=b[d][2].y&&c.push(d);return c}function d(a,b){for(var c=[],d=0;4>d;d++)j.collision(a,b[d])&&c.push(d);return c}function e(a,b){var c,d,e=b.level+1,f=Math.round(b.bounds.width/2),g=Math.round(b.bounds.height/2),h=Math.round(b.bounds.x),j=Math.round(b.bounds.y);switch(a){case 0:c=h,d=j;break;case 1:c=h+f,d=j;break;case 2:c=h,d=j+g;break;case 3:c=h+f,d=j+g}return i({x:c,y:d,width:f,height:g},e,b.maxElements,b.maxLevel)}function f(b,d,g){if(g.leveli;i++)g.nodes[h[i]]===a&&(g.nodes[h[i]]=e(h[i],g)),f(b,d,g.nodes[h[i]]);else g.elements.push(b)}function g(c,d){if(d.levelg;g++)c.nodes[f[g]]!==a&&h(b,c.nodes[f[g]],d,e);else for(var j=0,k=c.elements.length;k>j;j++)e[c.elements[j].id]===a&&(e[c.elements[j].id]=c.elements[j]);return e}function i(a,b,c,d){return{level:b||0,bounds:a,corners:j.splitSquare(a),maxElements:c||20,maxLevel:d||4,elements:[],nodes:[]}}var j={pointToSquare:function(a){return{x1:a.x-a.size,y1:a.y-a.size,x2:a.x+a.size,y2:a.y-a.size,height:2*a.size}},isAxisAligned:function(a){return a.x1===a.x2||a.y1===a.y2},axisAlignedTopPoints:function(a){return a.y1===a.y2&&a.x1a.y1?{x1:a.x1-a.height,y1:a.y1,x2:a.x1,y2:a.y1,height:a.height}:a.x1===a.x2&&a.y2f;f++){var g=this.projection(b[f],a),h=this.projection(c[f],a);d.push(g.x*a.x+g.y*a.y),e.push(h.x*a.x+h.y*a.y)}var i=Math.max.apply(Math,d),j=Math.max.apply(Math,e),k=Math.min.apply(Math,d),l=Math.min.apply(Math,e);return i>=l&&j>=k},collision:function(a,b){for(var c=this.axis(a,b),d=!0,e=0;4>e;e++)d=d&&this.axisCollision(c[e],a,b);return d}},k=function(){this._geom=j,this._tree=null,this._cache={query:!1,result:!1}};k.prototype.index=function(a,b){if(!b.bounds)throw"sigma.classes.quad.index: bounds information not given.";var c=b.prefix||"";this._tree=i(b.bounds,0,b.maxElements,b.maxLevel);for(var d=0,e=a.length;e>d;d++)f(a[d],j.pointToSquare({x:a[d][c+"x"],y:a[d][c+"y"],size:a[d][c+"size"]}),this._tree);return this._cache={query:!1,result:!1},this._tree},k.prototype.point=function(a,b){return this._tree?g({x:a,y:b},this._tree)||[]:[]},k.prototype.area=function(a){var b,e,f=JSON.stringify(a);if(this._cache.query===f)return this._cache.result;j.isAxisAligned(a)?(b=c,e=j.axisAlignedTopPoints(a)):(b=d,e=j.rectangleCorners(a));var g=this._tree?h(e,this._tree,b):[],i=[];for(var k in g)i.push(g[k]);return this._cache.query=f,this._cache.result=i,i},"undefined"!=typeof this.sigma?(this.sigma.classes=this.sigma.classes||{},this.sigma.classes.quad=k):"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=k),exports.quad=k):this.quad=k}.call(this),function(a){"use strict";function b(a,b){var c=b.x+b.width/2,d=b.y+b.height/2,e=a.yd;d++)a.x2>=b[d][0].x&&a.x1<=b[d][1].x&&a.y1+a.height>=b[d][0].y&&a.y1<=b[d][2].y&&c.push(d);return c}function d(a,b){for(var c=[],d=0;4>d;d++)j.collision(a,b[d])&&c.push(d);return c}function e(a,b){var c,d,e=b.level+1,f=Math.round(b.bounds.width/2),g=Math.round(b.bounds.height/2),h=Math.round(b.bounds.x),j=Math.round(b.bounds.y);switch(a){case 0:c=h,d=j;break;case 1:c=h+f,d=j;break;case 2:c=h,d=j+g;break;case 3:c=h+f,d=j+g}return i({x:c,y:d,width:f,height:g},e,b.maxElements,b.maxLevel)}function f(b,d,g){if(g.leveli;i++)g.nodes[h[i]]===a&&(g.nodes[h[i]]=e(h[i],g)),f(b,d,g.nodes[h[i]]);else g.elements.push(b)}function g(c,d){if(d.levelg;g++)c.nodes[f[g]]!==a&&h(b,c.nodes[f[g]],d,e);else for(var j=0,k=c.elements.length;k>j;j++)e[c.elements[j].id]===a&&(e[c.elements[j].id]=c.elements[j]);return e}function i(a,b,c,d){return{level:b||0,bounds:a,corners:j.splitSquare(a),maxElements:c||40,maxLevel:d||8,elements:[],nodes:[]}}var j={pointToSquare:function(a){return{x1:a.x-a.size,y1:a.y-a.size,x2:a.x+a.size,y2:a.y-a.size,height:2*a.size}},lineToSquare:function(a){return a.y1a.y1?{x1:a.x1-a.height,y1:a.y1,x2:a.x1,y2:a.y1,height:a.height}:a.x1===a.x2&&a.y2f;f++){var g=this.projection(b[f],a),h=this.projection(c[f],a);d.push(g.x*a.x+g.y*a.y),e.push(h.x*a.x+h.y*a.y)}var i=Math.max.apply(Math,d),j=Math.max.apply(Math,e),k=Math.min.apply(Math,d),l=Math.min.apply(Math,e);return i>=l&&j>=k},collision:function(a,b){for(var c=this.axis(a,b),d=!0,e=0;4>e;e++)d=d&&this.axisCollision(c[e],a,b);return d}},k=function(){this._geom=j,this._tree=null,this._cache={query:!1,result:!1},this._enabled=!0};k.prototype.index=function(a,b){if(!this._enabled)return this._tree;if(!b.bounds)throw"sigma.classes.edgequad.index: bounds information not given.";var c,d,e,g,h,k=b.prefix||"";this._tree=i(b.bounds,0,b.maxElements,b.maxLevel);for(var l=a.edges(),m=0,n=l.length;n>m;m++)d=a.nodes(l[m].source),e=a.nodes(l[m].target),h={x1:d[k+"x"],y1:d[k+"y"],x2:e[k+"x"],y2:e[k+"y"],size:l[m][k+"size"]||0},"curve"===l[m].type||"curvedArrow"===l[m].type?d.id===e.id?(g={x:d[k+"x"],y:d[k+"y"],size:d[k+"size"]||0},f(l[m],j.selfLoopToSquare(g),this._tree)):(c=sigma.utils.getQuadraticControlPoint(h.x1,h.y1,h.x2,h.y2),f(l[m],j.quadraticCurveToSquare(h,c),this._tree)):f(l[m],j.lineToSquare(h),this._tree);return this._cache={query:!1,result:!1},this._tree},k.prototype.point=function(a,b){return this._enabled&&this._tree?g({x:a,y:b},this._tree)||[]:[]},k.prototype.area=function(a){if(!this._enabled)return[];var b,e,f=JSON.stringify(a);if(this._cache.query===f)return this._cache.result;j.isAxisAligned(a)?(b=c,e=j.axisAlignedTopPoints(a)):(b=d,e=j.rectangleCorners(a));var g=this._tree?h(e,this._tree,b):[],i=[];for(var k in g)i.push(g[k]);return this._cache.query=f,this._cache.result=i,i},"undefined"!=typeof this.sigma?(this.sigma.classes=this.sigma.classes||{},this.sigma.classes.edgequad=k):"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=k),exports.edgequad=k):this.edgequad=k}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.captors"),sigma.captors.mouse=function(a,b,c){function d(a){var b,c,d;return y("mouseEnabled")&&v.dispatchEvent("mousemove",{x:sigma.utils.getX(a)-sigma.utils.getWidth(a)/2,y:sigma.utils.getY(a)-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey}),y("mouseEnabled")&&q?(r=!0,s=!0,u&&clearTimeout(u),u=setTimeout(function(){r=!1},y("dragTimeout")),sigma.misc.animation.killAll(x),x.isMoving=!0,d=x.cameraPosition(sigma.utils.getX(a)-o,sigma.utils.getY(a)-p,!0),b=k-d.x,c=l-d.y,(b!==x.x||c!==x.y)&&(m=x.x,n=x.y,x.goTo({x:b,y:c})),a.preventDefault?a.preventDefault():a.returnValue=!1,a.stopPropagation(),!1):void 0}function e(a){if(y("mouseEnabled")&&q){q=!1,u&&clearTimeout(u),x.isMoving=!1;var b=sigma.utils.getX(a),c=sigma.utils.getY(a);r?(sigma.misc.animation.killAll(x),sigma.misc.animation.camera(x,{x:x.x+y("mouseInertiaRatio")*(x.x-m),y:x.y+y("mouseInertiaRatio")*(x.y-n)},{easing:"quadraticOut",duration:y("mouseInertiaDuration")})):(o!==b||p!==c)&&x.goTo({x:x.x,y:x.y}),v.dispatchEvent("mouseup",{x:b-sigma.utils.getWidth(a)/2,y:c-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey}),r=!1}}function f(a){if(y("mouseEnabled"))switch(k=x.x,l=x.y,m=x.x,n=x.y,o=sigma.utils.getX(a),p=sigma.utils.getY(a),s=!1,t=(new Date).getTime(),a.which){case 2:break;case 3:v.dispatchEvent("rightclick",{x:o-sigma.utils.getWidth(a)/2,y:p-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey});break;default:q=!0,v.dispatchEvent("mousedown",{x:o-sigma.utils.getWidth(a)/2,y:p-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey})}}function g(a){y("mouseEnabled")&&v.dispatchEvent("mouseout")}function h(a){return y("mouseEnabled")&&v.dispatchEvent("click",{x:sigma.utils.getX(a)-sigma.utils.getWidth(a)/2,y:sigma.utils.getY(a)-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey,isDragging:(new Date).getTime()-t>100&&s}),a.preventDefault?a.preventDefault():a.returnValue=!1,a.stopPropagation(),!1}function i(a){var b,c,d;return y("mouseEnabled")?(c=1/y("doubleClickZoomingRatio"),v.dispatchEvent("doubleclick",{x:o-sigma.utils.getWidth(a)/2,y:p-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey}),y("doubleClickEnabled")&&(b=x.cameraPosition(sigma.utils.getX(a)-sigma.utils.getWidth(a)/2,sigma.utils.getY(a)-sigma.utils.getHeight(a)/2,!0),d={duration:y("doubleClickZoomDuration")},sigma.utils.zoomTo(x,b.x,b.y,c,d)),a.preventDefault?a.preventDefault():a.returnValue=!1,a.stopPropagation(),!1):void 0}function j(a){var b,c,d;return y("mouseEnabled")&&y("mouseWheelEnabled")?(c=sigma.utils.getDelta(a)>0?1/y("zoomingRatio"):y("zoomingRatio"),b=x.cameraPosition(sigma.utils.getX(a)-sigma.utils.getWidth(a)/2,sigma.utils.getY(a)-sigma.utils.getHeight(a)/2,!0),d={duration:y("mouseZoomDuration")},sigma.utils.zoomTo(x,b.x,b.y,c,d),a.preventDefault?a.preventDefault():a.returnValue=!1,a.stopPropagation(),!1):void 0}var k,l,m,n,o,p,q,r,s,t,u,v=this,w=a,x=b,y=c;sigma.classes.dispatcher.extend(this),sigma.utils.doubleClick(w,"click",i),w.addEventListener("DOMMouseScroll",j,!1),w.addEventListener("mousewheel",j,!1),w.addEventListener("mousemove",d,!1),w.addEventListener("mousedown",f,!1),w.addEventListener("click",h,!1),w.addEventListener("mouseout",g,!1),document.addEventListener("mouseup",e,!1),this.kill=function(){sigma.utils.unbindDoubleClick(w,"click"),w.removeEventListener("DOMMouseScroll",j),w.removeEventListener("mousewheel",j),w.removeEventListener("mousemove",d),w.removeEventListener("mousedown",f),w.removeEventListener("click",h),w.removeEventListener("mouseout",g),document.removeEventListener("mouseup",e)}}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.captors"),sigma.captors.touch=function(a,b,c){function d(a){var b=sigma.utils.getOffset(B);return{x:a.pageX-b.left,y:a.pageY-b.top}}function e(a){if(D("touchEnabled")){var b,c,e,f,g,h;switch(E=a.touches,E.length){case 1:C.isMoving=!0,w=1,i=C.x,j=C.y,m=C.x,n=C.y,g=d(E[0]),q=g.x,r=g.y;break;case 2:return C.isMoving=!0,w=2,g=d(E[0]),h=d(E[1]),b=g.x,e=g.y,c=h.x,f=h.y,m=C.x,n=C.y,k=C.angle,l=C.ratio,i=C.x,j=C.y,q=b,r=e,s=c,t=f,u=Math.atan2(t-r,s-q),v=Math.sqrt(Math.pow(t-r,2)+Math.pow(s-q,2)),a.preventDefault(),!1}}}function f(a){if(D("touchEnabled")){E=a.touches;var b=D("touchInertiaRatio");switch(z&&(x=!1,clearTimeout(z)),w){case 2:if(1===a.touches.length){e(a),a.preventDefault();break}case 1:C.isMoving=!1,A.dispatchEvent("stopDrag"),x&&(y=!1,sigma.misc.animation.camera(C,{x:C.x+b*(C.x-m),y:C.y+b*(C.y-n)},{easing:"quadraticOut",duration:D("touchInertiaDuration")})),x=!1,w=0}}}function g(a){if(!y&&D("touchEnabled")){var b,c,e,f,g,h,B,F,G,H,I,J,K,L,M,N,O;switch(E=a.touches,x=!0,z&&clearTimeout(z),z=setTimeout(function(){x=!1},D("dragTimeout")),w){case 1:F=d(E[0]),b=F.x,e=F.y,H=C.cameraPosition(b-q,e-r,!0),L=i-H.x,M=j-H.y,(L!==C.x||M!==C.y)&&(m=C.x,n=C.y,C.goTo({x:L,y:M}),A.dispatchEvent("mousemove",{x:F.x-sigma.utils.getWidth(a)/2,y:F.y-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey}),A.dispatchEvent("drag"));break;case 2:F=d(E[0]),G=d(E[1]),b=F.x,e=F.y,c=G.x,f=G.y,I=C.cameraPosition((q+s)/2-sigma.utils.getWidth(a)/2,(r+t)/2-sigma.utils.getHeight(a)/2,!0),B=C.cameraPosition((b+c)/2-sigma.utils.getWidth(a)/2,(e+f)/2-sigma.utils.getHeight(a)/2,!0),J=Math.atan2(f-e,c-b)-u,K=Math.sqrt(Math.pow(f-e,2)+Math.pow(c-b,2))/v,b=I.x,e=I.y,N=l/K,b*=K,e*=K,O=k-J,g=Math.cos(-J),h=Math.sin(-J),c=b*g+e*h,f=e*g-b*h,b=c,e=f,L=b-B.x+i,M=e-B.y+j,(N!==C.ratio||O!==C.angle||L!==C.x||M!==C.y)&&(m=C.x,n=C.y,o=C.angle,p=C.ratio,C.goTo({x:L,y:M,angle:O,ratio:N}),A.dispatchEvent("drag"))}return a.preventDefault(),!1}}function h(a){var b,c,e;return a.touches&&1===a.touches.length&&D("touchEnabled")?(y=!0,c=1/D("doubleClickZoomingRatio"),b=d(a.touches[0]),A.dispatchEvent("doubleclick",{x:b.x-sigma.utils.getWidth(a)/2,y:b.y-sigma.utils.getHeight(a)/2,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,metaKey:a.metaKey,altKey:a.altKey,shiftKey:a.shiftKey}),D("doubleClickEnabled")&&(b=C.cameraPosition(b.x-sigma.utils.getWidth(a)/2,b.y-sigma.utils.getHeight(a)/2,!0),e={duration:D("doubleClickZoomDuration"),onComplete:function(){y=!1}},sigma.utils.zoomTo(C,b.x,b.y,c,e)),a.preventDefault?a.preventDefault():a.returnValue=!1,a.stopPropagation(),!1):void 0}var i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A=this,B=a,C=b,D=c,E=[];sigma.classes.dispatcher.extend(this),sigma.utils.doubleClick(B,"touchstart",h),B.addEventListener("touchstart",e,!1),B.addEventListener("touchend",f,!1),B.addEventListener("touchcancel",f,!1),B.addEventListener("touchleave",f,!1),B.addEventListener("touchmove",g,!1),this.kill=function(){sigma.utils.unbindDoubleClick(B,"touchstart"),B.addEventListener("touchstart",e),B.addEventListener("touchend",f),B.addEventListener("touchcancel",f),B.addEventListener("touchleave",f),B.addEventListener("touchmove",g)}}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";if("undefined"==typeof conrad)throw"conrad is not declared";sigma.utils.pkg("sigma.renderers"),sigma.renderers.canvas=function(a,b,c,d){if("object"!=typeof d)throw"sigma.renderers.canvas: Wrong arguments.";if(!(d.container instanceof HTMLElement))throw"Container not found.";var e,f,g,h;for(sigma.classes.dispatcher.extend(this),Object.defineProperty(this,"conradId",{value:sigma.utils.id()}),this.graph=a,this.camera=b,this.contexts={},this.domElements={},this.options=d,this.container=this.options.container,this.settings="object"==typeof d.settings&&d.settings?c.embedObjects(d.settings):c,this.nodesOnScreen=[],this.edgesOnScreen=[],this.jobs={},this.options.prefix="renderer"+this.conradId+":",this.settings("batchEdgesDrawing")?(this.initDOM("canvas","edges"),this.initDOM("canvas","scene"),this.contexts.nodes=this.contexts.scene,this.contexts.labels=this.contexts.scene):(this.initDOM("canvas","scene"),this.contexts.edges=this.contexts.scene,this.contexts.nodes=this.contexts.scene,this.contexts.labels=this.contexts.scene),this.initDOM("canvas","mouse"),this.contexts.hover=this.contexts.mouse,this.captors=[],g=this.options.captors||[sigma.captors.mouse,sigma.captors.touch],e=0,f=g.length;f>e;e++)h="function"==typeof g[e]?g[e]:sigma.captors[g[e]],this.captors.push(new h(this.domElements.mouse,this.camera,this.settings));sigma.misc.bindEvents.call(this,this.options.prefix),sigma.misc.drawHovers.call(this,this.options.prefix),this.resize(!1)},sigma.renderers.canvas.prototype.render=function(b){b=b||{};var c,d,e,f,g,h,i,j,k,l,m,n,o,p={},q=this.graph,r=this.graph.nodes,s=(this.options.prefix||"",this.settings(b,"drawEdges")),t=this.settings(b,"drawNodes"),u=this.settings(b,"drawLabels"),v=this.settings(b,"drawEdgeLabels"),w=this.settings.embedObjects(b,{prefix:this.options.prefix});this.resize(!1),this.settings(b,"hideEdgesOnMove")&&(this.camera.isAnimated||this.camera.isMoving)&&(s=!1),this.camera.applyView(a,this.options.prefix,{width:this.width,height:this.height}),this.clear();for(e in this.jobs)conrad.hasJob(e)&&conrad.killJob(e);for(this.edgesOnScreen=[],this.nodesOnScreen=this.camera.quadtree.area(this.camera.getRectangle(this.width,this.height)),c=this.nodesOnScreen,d=0,f=c.length;f>d;d++)p[c[d].id]=c[d];if(s){for(c=q.edges(),d=0,f=c.length;f>d;d++)g=c[d],!p[g.source]&&!p[g.target]||g.hidden||r(g.source).hidden||r(g.target).hidden||this.edgesOnScreen.push(g);if(this.settings(b,"batchEdgesDrawing"))h="edges_"+this.conradId,n=w("canvasEdgesBatchSize"),l=this.edgesOnScreen,f=l.length,k=0,i=Math.min(l.length,k+n),j=function(){for(o=this.contexts.edges.globalCompositeOperation,this.contexts.edges.globalCompositeOperation="destination-over",m=sigma.canvas.edges,d=k;i>d;d++)g=l[d],(m[g.type||this.settings(b,"defaultEdgeType")]||m.def)(g,q.nodes(g.source),q.nodes(g.target),this.contexts.edges,w);if(v)for(m=sigma.canvas.edges.labels,d=k;i>d;d++)g=l[d],g.hidden||(m[g.type||this.settings(b,"defaultEdgeType")]||m.def)(g,q.nodes(g.source),q.nodes(g.target),this.contexts.labels,w);return this.contexts.edges.globalCompositeOperation=o,i===l.length?(delete this.jobs[h],!1):(k=i+1,i=Math.min(l.length,k+n),!0)},this.jobs[h]=j,conrad.addJob(h,j.bind(this));else{for(m=sigma.canvas.edges,c=this.edgesOnScreen,d=0,f=c.length;f>d;d++)g=c[d],(m[g.type||this.settings(b,"defaultEdgeType")]||m.def)(g,q.nodes(g.source),q.nodes(g.target),this.contexts.edges,w);if(v)for(m=sigma.canvas.edges.labels,c=this.edgesOnScreen,d=0,f=c.length;f>d;d++)c[d].hidden||(m[c[d].type||this.settings(b,"defaultEdgeType")]||m.def)(c[d],q.nodes(c[d].source),q.nodes(c[d].target),this.contexts.labels,w)}}if(t)for(m=sigma.canvas.nodes,c=this.nodesOnScreen,d=0,f=c.length;f>d;d++)c[d].hidden||(m[c[d].type||this.settings(b,"defaultNodeType")]||m.def)(c[d],this.contexts.nodes,w);if(u)for(m=sigma.canvas.labels,c=this.nodesOnScreen,d=0,f=c.length;f>d;d++)c[d].hidden||(m[c[d].type||this.settings(b,"defaultNodeType")]||m.def)(c[d],this.contexts.labels,w);return this.dispatchEvent("render"),this},sigma.renderers.canvas.prototype.initDOM=function(a,b){var c=document.createElement(a);c.style.position="absolute",c.setAttribute("class","sigma-"+b),this.domElements[b]=c,this.container.appendChild(c),"canvas"===a.toLowerCase()&&(this.contexts[b]=c.getContext("2d"))},sigma.renderers.canvas.prototype.resize=function(b,c){var d,e=this.width,f=this.height,g=1;if(b!==a&&c!==a?(this.width=b,this.height=c):(this.width=this.container.offsetWidth,this.height=this.container.offsetHeight,b=this.width,c=this.height),e!==this.width||f!==this.height)for(d in this.domElements)this.domElements[d].style.width=b+"px",this.domElements[d].style.height=c+"px","canvas"===this.domElements[d].tagName.toLowerCase()&&(this.domElements[d].setAttribute("width",b*g+"px"),this.domElements[d].setAttribute("height",c*g+"px"),1!==g&&this.contexts[d].scale(g,g));return this},sigma.renderers.canvas.prototype.clear=function(){var a;for(a in this.domElements)"CANVAS"===this.domElements[a].tagName&&(this.domElements[a].width=this.domElements[a].width);return this},sigma.renderers.canvas.prototype.kill=function(){for(var a,b;b=this.captors.pop();)b.kill();delete this.captors;for(a in this.domElements)this.domElements[a].parentNode.removeChild(this.domElements[a]),delete this.domElements[a],delete this.contexts[a];delete this.domElements,delete this.contexts},sigma.utils.pkg("sigma.canvas.nodes"),sigma.utils.pkg("sigma.canvas.edges"),sigma.utils.pkg("sigma.canvas.labels")}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.renderers"),sigma.renderers.webgl=function(a,b,c,d){if("object"!=typeof d)throw"sigma.renderers.webgl: Wrong arguments.";if(!(d.container instanceof HTMLElement))throw"Container not found.";var e,f,g,h;for(sigma.classes.dispatcher.extend(this),this.jobs={},Object.defineProperty(this,"conradId",{value:sigma.utils.id()}),this.graph=a,this.camera=b,this.contexts={},this.domElements={},this.options=d,this.container=this.options.container,this.settings="object"==typeof d.settings&&d.settings?c.embedObjects(d.settings):c,this.options.prefix=this.camera.readPrefix,Object.defineProperty(this,"nodePrograms",{value:{}}),Object.defineProperty(this,"edgePrograms",{value:{}}),Object.defineProperty(this,"nodeFloatArrays",{value:{}}),Object.defineProperty(this,"edgeFloatArrays",{value:{}}),this.settings(d,"batchEdgesDrawing")?(this.initDOM("canvas","edges",!0),this.initDOM("canvas","nodes",!0)):(this.initDOM("canvas","scene",!0),this.contexts.nodes=this.contexts.scene,this.contexts.edges=this.contexts.scene),this.initDOM("canvas","labels"),this.initDOM("canvas","mouse"),this.contexts.hover=this.contexts.mouse,this.captors=[],g=this.options.captors||[sigma.captors.mouse,sigma.captors.touch],e=0,f=g.length;f>e;e++)h="function"==typeof g[e]?g[e]:sigma.captors[g[e]],this.captors.push(new h(this.domElements.mouse,this.camera,this.settings));sigma.misc.bindEvents.call(this,this.camera.prefix),sigma.misc.drawHovers.call(this,this.camera.prefix),this.resize()},sigma.renderers.webgl.prototype.process=function(){var a,b,c,d,e,f,g=this.graph,h=sigma.utils.extend(h,this.options);for(d in this.nodeFloatArrays)delete this.nodeFloatArrays[d];for(d in this.edgeFloatArrays)delete this.edgeFloatArrays[d];for(a=g.edges(),b=0,c=a.length;c>b;b++)e=a[b].type||this.settings(h,"defaultEdgeType"),d=e&&sigma.webgl.edges[e]?e:"def",this.edgeFloatArrays[d]||(this.edgeFloatArrays[d]={edges:[]}),this.edgeFloatArrays[d].edges.push(a[b]);for(a=g.nodes(),b=0,c=a.length;c>b;b++)e=a[b].type||this.settings(h,"defaultNodeType"),d=e&&sigma.webgl.nodes[e]?e:"def",this.nodeFloatArrays[d]||(this.nodeFloatArrays[d]={nodes:[]}),this.nodeFloatArrays[d].nodes.push(a[b]);for(d in this.edgeFloatArrays)for(f=sigma.webgl.edges[d],a=this.edgeFloatArrays[d].edges,b=0,c=a.length;c>b;b++)this.edgeFloatArrays[d].array||(this.edgeFloatArrays[d].array=new Float32Array(a.length*f.POINTS*f.ATTRIBUTES)),a[b].hidden||g.nodes(a[b].source).hidden||g.nodes(a[b].target).hidden||f.addEdge(a[b],g.nodes(a[b].source),g.nodes(a[b].target),this.edgeFloatArrays[d].array,b*f.POINTS*f.ATTRIBUTES,h.prefix,this.settings);for(d in this.nodeFloatArrays)for(f=sigma.webgl.nodes[d],a=this.nodeFloatArrays[d].nodes,b=0,c=a.length;c>b;b++)this.nodeFloatArrays[d].array||(this.nodeFloatArrays[d].array=new Float32Array(a.length*f.POINTS*f.ATTRIBUTES)),a[b].hidden||f.addNode(a[b],this.nodeFloatArrays[d].array,b*f.POINTS*f.ATTRIBUTES,h.prefix,this.settings);return this},sigma.renderers.webgl.prototype.render=function(b){var c,d,e,f,g,h,i=this,j=(this.graph,this.contexts.nodes),k=this.contexts.edges,l=this.camera.getMatrix(),m=sigma.utils.extend(b,this.options),n=this.settings(m,"drawLabels"),o=this.settings(m,"drawEdges"),p=this.settings(m,"drawNodes");this.resize(!1),this.settings(m,"hideEdgesOnMove")&&(this.camera.isAnimated||this.camera.isMoving)&&(o=!1),this.clear(),l=sigma.utils.matrices.multiply(l,sigma.utils.matrices.translation(this.width/2,this.height/2));for(f in this.jobs)conrad.hasJob(f)&&conrad.killJob(f);if(o)if(this.settings(m,"batchEdgesDrawing"))(function(){var a,b,c,d,e,f,g,h,i;c="edges_"+this.conradId,i=this.settings(m,"webglEdgesBatchSize"),a=Object.keys(this.edgeFloatArrays),a.length&&(b=0,h=sigma.webgl.edges[a[b]],e=this.edgeFloatArrays[a[b]].array,g=0,f=Math.min(g+i*h.POINTS,e.length/h.ATTRIBUTES),d=function(){return this.edgePrograms[a[b]]||(this.edgePrograms[a[b]]=h.initProgram(k)),f>g&&(k.useProgram(this.edgePrograms[a[b]]),h.render(k,this.edgePrograms[a[b]],e,{settings:this.settings,matrix:l,width:this.width,height:this.height,ratio:this.camera.ratio,scalingRatio:this.settings(m,"webglOversamplingRatio"),start:g,count:f-g})),f>=e.length/h.ATTRIBUTES&&b===a.length-1?(delete this.jobs[c],!1):(f>=e.length/h.ATTRIBUTES?(b++,e=this.edgeFloatArrays[a[b]].array,h=sigma.webgl.edges[a[b]],g=0,f=Math.min(g+i*h.POINTS,e.length/h.ATTRIBUTES)):(g=f,f=Math.min(g+i*h.POINTS,e.length/h.ATTRIBUTES)),!0)},this.jobs[c]=d,conrad.addJob(c,d.bind(this)))}).call(this);else for(f in this.edgeFloatArrays)h=sigma.webgl.edges[f],this.edgePrograms[f]||(this.edgePrograms[f]=h.initProgram(k)),this.edgeFloatArrays[f]&&(k.useProgram(this.edgePrograms[f]),h.render(k,this.edgePrograms[f],this.edgeFloatArrays[f].array,{ +settings:this.settings,matrix:l,width:this.width,height:this.height,ratio:this.camera.ratio,scalingRatio:this.settings(m,"webglOversamplingRatio")}));if(p){j.blendFunc(j.SRC_ALPHA,j.ONE_MINUS_SRC_ALPHA),j.enable(j.BLEND);for(f in this.nodeFloatArrays)h=sigma.webgl.nodes[f],this.nodePrograms[f]||(this.nodePrograms[f]=h.initProgram(j)),this.nodeFloatArrays[f]&&(j.useProgram(this.nodePrograms[f]),h.render(j,this.nodePrograms[f],this.nodeFloatArrays[f].array,{settings:this.settings,matrix:l,width:this.width,height:this.height,ratio:this.camera.ratio,scalingRatio:this.settings(m,"webglOversamplingRatio")}))}if(n)for(c=this.camera.quadtree.area(this.camera.getRectangle(this.width,this.height)),this.camera.applyView(a,a,{nodes:c,edges:[],width:this.width,height:this.height}),g=function(a){return i.settings({prefix:i.camera.prefix},a)},d=0,e=c.length;e>d;d++)c[d].hidden||(sigma.canvas.labels[c[d].type||this.settings(m,"defaultNodeType")]||sigma.canvas.labels.def)(c[d],this.contexts.labels,g);return this.dispatchEvent("render"),this},sigma.renderers.webgl.prototype.initDOM=function(a,b,c){var d=document.createElement(a),e=this;d.style.position="absolute",d.setAttribute("class","sigma-"+b),this.domElements[b]=d,this.container.appendChild(d),"canvas"===a.toLowerCase()&&(this.contexts[b]=d.getContext(c?"experimental-webgl":"2d",{preserveDrawingBuffer:!0}),c&&(d.addEventListener("webglcontextlost",function(a){a.preventDefault()},!1),d.addEventListener("webglcontextrestored",function(a){e.render()},!1)))},sigma.renderers.webgl.prototype.resize=function(b,c){var d,e=this.width,f=this.height;if(b!==a&&c!==a?(this.width=b,this.height=c):(this.width=this.container.offsetWidth,this.height=this.container.offsetHeight,b=this.width,c=this.height),e!==this.width||f!==this.height)for(d in this.domElements)this.domElements[d].style.width=b+"px",this.domElements[d].style.height=c+"px","canvas"===this.domElements[d].tagName.toLowerCase()&&(this.contexts[d]&&this.contexts[d].scale?(this.domElements[d].setAttribute("width",b+"px"),this.domElements[d].setAttribute("height",c+"px")):(this.domElements[d].setAttribute("width",b*this.settings("webglOversamplingRatio")+"px"),this.domElements[d].setAttribute("height",c*this.settings("webglOversamplingRatio")+"px")));for(d in this.contexts)this.contexts[d]&&this.contexts[d].viewport&&this.contexts[d].viewport(0,0,this.width*this.settings("webglOversamplingRatio"),this.height*this.settings("webglOversamplingRatio"));return this},sigma.renderers.webgl.prototype.clear=function(){var a;for(a in this.domElements)"CANVAS"===this.domElements[a].tagName&&(this.domElements[a].width=this.domElements[a].width);return this.contexts.nodes.clear(this.contexts.nodes.COLOR_BUFFER_BIT),this.contexts.edges.clear(this.contexts.edges.COLOR_BUFFER_BIT),this},sigma.renderers.webgl.prototype.kill=function(){for(var a,b;b=this.captors.pop();)b.kill();delete this.captors;for(a in this.domElements)this.domElements[a].parentNode.removeChild(this.domElements[a]),delete this.domElements[a],delete this.contexts[a];delete this.domElements,delete this.contexts},sigma.utils.pkg("sigma.webgl.nodes"),sigma.utils.pkg("sigma.webgl.edges"),sigma.utils.pkg("sigma.canvas.labels")}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";if("undefined"==typeof conrad)throw"conrad is not declared";sigma.utils.pkg("sigma.renderers"),sigma.renderers.svg=function(a,b,c,d){if("object"!=typeof d)throw"sigma.renderers.svg: Wrong arguments.";if(!(d.container instanceof HTMLElement))throw"Container not found.";var e,f,g,h,i=this;for(sigma.classes.dispatcher.extend(this),this.graph=a,this.camera=b,this.domElements={graph:null,groups:{},nodes:{},edges:{},labels:{},hovers:{}},this.measurementCanvas=null,this.options=d,this.container=this.options.container,this.settings="object"==typeof d.settings&&d.settings?c.embedObjects(d.settings):c,this.settings("freeStyle",!!this.options.freeStyle),this.settings("xmlns","http://www.w3.org/2000/svg"),this.nodesOnScreen=[],this.edgesOnScreen=[],this.options.prefix="renderer"+sigma.utils.id()+":",this.initDOM("svg"),this.captors=[],g=this.options.captors||[sigma.captors.mouse,sigma.captors.touch],e=0,f=g.length;f>e;e++)h="function"==typeof g[e]?g[e]:sigma.captors[g[e]],this.captors.push(new h(this.domElements.graph,this.camera,this.settings));window.addEventListener("resize",function(){i.resize()}),sigma.misc.bindDOMEvents.call(this,this.domElements.graph),this.bindHovers(this.options.prefix),this.resize(!1)},sigma.renderers.svg.prototype.render=function(b){b=b||{};var c,d,e,f,g,h,i,j,k,l={},m=this.graph,n=this.graph.nodes,o=(this.options.prefix||"",this.settings(b,"drawEdges")),p=this.settings(b,"drawNodes"),q=(this.settings(b,"drawLabels"),this.settings.embedObjects(b,{prefix:this.options.prefix,forceLabels:this.options.forceLabels}));for(this.settings(b,"hideEdgesOnMove")&&(this.camera.isAnimated||this.camera.isMoving)&&(o=!1),this.camera.applyView(a,this.options.prefix,{width:this.width,height:this.height}),this.hideDOMElements(this.domElements.nodes),this.hideDOMElements(this.domElements.edges),this.hideDOMElements(this.domElements.labels),this.edgesOnScreen=[],this.nodesOnScreen=this.camera.quadtree.area(this.camera.getRectangle(this.width,this.height)),c=this.nodesOnScreen,d=0,f=c.length;f>d;d++)l[c[d].id]=c[d];for(c=m.edges(),d=0,f=c.length;f>d;d++)g=c[d],!l[g.source]&&!l[g.target]||g.hidden||n(g.source).hidden||n(g.target).hidden||this.edgesOnScreen.push(g);if(j=sigma.svg.nodes,k=sigma.svg.labels,p)for(c=this.nodesOnScreen,d=0,f=c.length;f>d;d++)c[d].hidden||this.domElements.nodes[c[d].id]||(e=(j[c[d].type]||j.def).create(c[d],q),this.domElements.nodes[c[d].id]=e,this.domElements.groups.nodes.appendChild(e),e=(k[c[d].type]||k.def).create(c[d],q),this.domElements.labels[c[d].id]=e,this.domElements.groups.labels.appendChild(e));if(p)for(c=this.nodesOnScreen,d=0,f=c.length;f>d;d++)c[d].hidden||((j[c[d].type]||j.def).update(c[d],this.domElements.nodes[c[d].id],q),(k[c[d].type]||k.def).update(c[d],this.domElements.labels[c[d].id],q));if(j=sigma.svg.edges,o)for(c=this.edgesOnScreen,d=0,f=c.length;f>d;d++)this.domElements.edges[c[d].id]||(h=n(c[d].source),i=n(c[d].target),e=(j[c[d].type]||j.def).create(c[d],h,i,q),this.domElements.edges[c[d].id]=e,this.domElements.groups.edges.appendChild(e));if(o)for(c=this.edgesOnScreen,d=0,f=c.length;f>d;d++)h=n(c[d].source),i=n(c[d].target),(j[c[d].type]||j.def).update(c[d],this.domElements.edges[c[d].id],h,i,q);return this.dispatchEvent("render"),this},sigma.renderers.svg.prototype.initDOM=function(a){var b,c,d,e=document.createElementNS(this.settings("xmlns"),a),f=this.settings("classPrefix");e.style.position="absolute",e.setAttribute("class",f+"-svg"),e.setAttribute("xmlns",this.settings("xmlns")),e.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),e.setAttribute("version","1.1");var g=document.createElement("canvas");g.setAttribute("class",f+"-measurement-canvas"),this.domElements.graph=this.container.appendChild(e);var h=["edges","nodes","labels","hovers"];for(d=0,c=h.length;c>d;d++)b=document.createElementNS(this.settings("xmlns"),"g"),b.setAttributeNS(null,"id",f+"-group-"+h[d]),b.setAttributeNS(null,"class",f+"-group"),this.domElements.groups[h[d]]=this.domElements.graph.appendChild(b);this.container.appendChild(g),this.measurementCanvas=g.getContext("2d")},sigma.renderers.svg.prototype.hideDOMElements=function(a){var b,c;for(c in a)b=a[c],sigma.svg.utils.hide(b);return this},sigma.renderers.svg.prototype.bindHovers=function(a){function b(b){var c=b.data.node,d=g.settings.embedObjects({prefix:a});if(d("enableHovering")){var h=(f[c.type]||f.def).create(c,g.domElements.nodes[c.id],g.measurementCanvas,d);g.domElements.hovers[c.id]=h,g.domElements.groups.hovers.appendChild(h),e=c}}function c(b){var c=b.data.node,d=g.settings.embedObjects({prefix:a});d("enableHovering")&&(g.domElements.groups.hovers.removeChild(g.domElements.hovers[c.id]),e=null,delete g.domElements.hovers[c.id],g.domElements.groups.nodes.appendChild(g.domElements.nodes[c.id]))}function d(){if(e){var b=g.settings.embedObjects({prefix:a});g.domElements.groups.hovers.removeChild(g.domElements.hovers[e.id]),delete g.domElements.hovers[e.id];var c=(f[e.type]||f.def).create(e,g.domElements.nodes[e.id],g.measurementCanvas,b);g.domElements.hovers[e.id]=c,g.domElements.groups.hovers.appendChild(c)}}var e,f=sigma.svg.hovers,g=this;this.bind("overNode",b),this.bind("outNode",c),this.bind("render",d)},sigma.renderers.svg.prototype.resize=function(b,c){var d=this.width,e=this.height,f=1;return b!==a&&c!==a?(this.width=b,this.height=c):(this.width=this.container.offsetWidth,this.height=this.container.offsetHeight,b=this.width,c=this.height),(d!==this.width||e!==this.height)&&(this.domElements.graph.style.width=b+"px",this.domElements.graph.style.height=c+"px","svg"===this.domElements.graph.tagName.toLowerCase()&&(this.domElements.graph.setAttribute("width",b*f),this.domElements.graph.setAttribute("height",c*f))),this},sigma.utils.pkg("sigma.svg.nodes"),sigma.utils.pkg("sigma.svg.edges"),sigma.utils.pkg("sigma.svg.labels")}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.renderers");var b,c=!!a.WebGLRenderingContext;if(c){b=document.createElement("canvas");try{c=!(!b.getContext("webgl")&&!b.getContext("experimental-webgl"))}catch(d){c=!1}}sigma.renderers.def=c?sigma.renderers.webgl:sigma.renderers.canvas}(this),function(){"use strict";sigma.utils.pkg("sigma.webgl.nodes"),sigma.webgl.nodes.def={POINTS:3,ATTRIBUTES:5,addNode:function(a,b,c,d,e){var f=sigma.utils.floatColor(a.color||e("defaultNodeColor"));b[c++]=a[d+"x"],b[c++]=a[d+"y"],b[c++]=a[d+"size"],b[c++]=f,b[c++]=0,b[c++]=a[d+"x"],b[c++]=a[d+"y"],b[c++]=a[d+"size"],b[c++]=f,b[c++]=2*Math.PI/3,b[c++]=a[d+"x"],b[c++]=a[d+"y"],b[c++]=a[d+"size"],b[c++]=f,b[c++]=4*Math.PI/3},render:function(a,b,c,d){var e,f=a.getAttribLocation(b,"a_position"),g=a.getAttribLocation(b,"a_size"),h=a.getAttribLocation(b,"a_color"),i=a.getAttribLocation(b,"a_angle"),j=a.getUniformLocation(b,"u_resolution"),k=a.getUniformLocation(b,"u_matrix"),l=a.getUniformLocation(b,"u_ratio"),m=a.getUniformLocation(b,"u_scale");e=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,e),a.bufferData(a.ARRAY_BUFFER,c,a.DYNAMIC_DRAW),a.uniform2f(j,d.width,d.height),a.uniform1f(l,1/Math.pow(d.ratio,d.settings("nodesPowRatio"))),a.uniform1f(m,d.scalingRatio),a.uniformMatrix3fv(k,!1,d.matrix),a.enableVertexAttribArray(f),a.enableVertexAttribArray(g),a.enableVertexAttribArray(h),a.enableVertexAttribArray(i),a.vertexAttribPointer(f,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),a.vertexAttribPointer(g,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),a.vertexAttribPointer(h,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,12),a.vertexAttribPointer(i,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,16),a.drawArrays(a.TRIANGLES,d.start||0,d.count||c.length/this.ATTRIBUTES)},initProgram:function(a){var b,c,d;return b=sigma.utils.loadShader(a,["attribute vec2 a_position;","attribute float a_size;","attribute float a_color;","attribute float a_angle;","uniform vec2 u_resolution;","uniform float u_ratio;","uniform float u_scale;","uniform mat3 u_matrix;","varying vec4 color;","varying vec2 center;","varying float radius;","void main() {","radius = a_size * u_ratio;","vec2 position = (u_matrix * vec3(a_position, 1)).xy;","center = position * u_scale;","center = vec2(center.x, u_scale * u_resolution.y - center.y);","position = position +","2.0 * radius * vec2(cos(a_angle), sin(a_angle));","position = (position / u_resolution * 2.0 - 1.0) * vec2(1, -1);","radius = radius * u_scale;","gl_Position = vec4(position, 0, 1);","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),a.VERTEX_SHADER),c=sigma.utils.loadShader(a,["precision mediump float;","varying vec4 color;","varying vec2 center;","varying float radius;","void main(void) {","vec4 color0 = vec4(0.0, 0.0, 0.0, 0.0);","vec2 m = gl_FragCoord.xy - center;","float diff = radius - sqrt(m.x * m.x + m.y * m.y);","if (diff > 0.0)","gl_FragColor = color;","else","gl_FragColor = color0;","}"].join("\n"),a.FRAGMENT_SHADER),d=sigma.utils.loadProgram(a,[b,c])}}}(),function(){"use strict";sigma.utils.pkg("sigma.webgl.nodes"),sigma.webgl.nodes.fast={POINTS:1,ATTRIBUTES:4,addNode:function(a,b,c,d,e){b[c++]=a[d+"x"],b[c++]=a[d+"y"],b[c++]=a[d+"size"],b[c++]=sigma.utils.floatColor(a.color||e("defaultNodeColor"))},render:function(a,b,c,d){var e,f=a.getAttribLocation(b,"a_position"),g=a.getAttribLocation(b,"a_size"),h=a.getAttribLocation(b,"a_color"),i=a.getUniformLocation(b,"u_resolution"),j=a.getUniformLocation(b,"u_matrix"),k=a.getUniformLocation(b,"u_ratio"),l=a.getUniformLocation(b,"u_scale");e=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,e),a.bufferData(a.ARRAY_BUFFER,c,a.DYNAMIC_DRAW),a.uniform2f(i,d.width,d.height),a.uniform1f(k,1/Math.pow(d.ratio,d.settings("nodesPowRatio"))),a.uniform1f(l,d.scalingRatio),a.uniformMatrix3fv(j,!1,d.matrix),a.enableVertexAttribArray(f),a.enableVertexAttribArray(g),a.enableVertexAttribArray(h),a.vertexAttribPointer(f,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),a.vertexAttribPointer(g,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),a.vertexAttribPointer(h,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,12),a.drawArrays(a.POINTS,d.start||0,d.count||c.length/this.ATTRIBUTES)},initProgram:function(a){var b,c,d;return b=sigma.utils.loadShader(a,["attribute vec2 a_position;","attribute float a_size;","attribute float a_color;","uniform vec2 u_resolution;","uniform float u_ratio;","uniform float u_scale;","uniform mat3 u_matrix;","varying vec4 color;","void main() {","gl_Position = vec4(","((u_matrix * vec3(a_position, 1)).xy /","u_resolution * 2.0 - 1.0) * vec2(1, -1),","0,","1",");","gl_PointSize = a_size * u_ratio * u_scale * 2.0;","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),a.VERTEX_SHADER),c=sigma.utils.loadShader(a,["precision mediump float;","varying vec4 color;","void main(void) {","gl_FragColor = color;","}"].join("\n"),a.FRAGMENT_SHADER),d=sigma.utils.loadProgram(a,[b,c])}}}(),function(){"use strict";sigma.utils.pkg("sigma.webgl.edges"),sigma.webgl.edges.def={POINTS:6,ATTRIBUTES:7,addEdge:function(a,b,c,d,e,f,g){var h=(a[f+"size"]||1)/2,i=b[f+"x"],j=b[f+"y"],k=c[f+"x"],l=c[f+"y"],m=a.color;if(!m)switch(g("edgeColor")){case"source":m=b.color||g("defaultNodeColor");break;case"target":m=c.color||g("defaultNodeColor");break;default:m=g("defaultEdgeColor")}m=sigma.utils.floatColor(m),d[e++]=i,d[e++]=j,d[e++]=k,d[e++]=l,d[e++]=h,d[e++]=0,d[e++]=m,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=1,d[e++]=m,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=0,d[e++]=m,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=0,d[e++]=m,d[e++]=i,d[e++]=j,d[e++]=k,d[e++]=l,d[e++]=h,d[e++]=1,d[e++]=m,d[e++]=i,d[e++]=j,d[e++]=k,d[e++]=l,d[e++]=h,d[e++]=0,d[e++]=m},render:function(a,b,c,d){var e,f=a.getAttribLocation(b,"a_color"),g=a.getAttribLocation(b,"a_position1"),h=a.getAttribLocation(b,"a_position2"),i=a.getAttribLocation(b,"a_thickness"),j=a.getAttribLocation(b,"a_minus"),k=a.getUniformLocation(b,"u_resolution"),l=a.getUniformLocation(b,"u_matrix"),m=a.getUniformLocation(b,"u_matrixHalfPi"),n=a.getUniformLocation(b,"u_matrixHalfPiMinus"),o=a.getUniformLocation(b,"u_ratio"),p=a.getUniformLocation(b,"u_scale");e=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,e),a.bufferData(a.ARRAY_BUFFER,c,a.STATIC_DRAW),a.uniform2f(k,d.width,d.height),a.uniform1f(o,d.ratio/Math.pow(d.ratio,d.settings("edgesPowRatio"))),a.uniform1f(p,d.scalingRatio),a.uniformMatrix3fv(l,!1,d.matrix),a.uniformMatrix2fv(m,!1,sigma.utils.matrices.rotation(Math.PI/2,!0)),a.uniformMatrix2fv(n,!1,sigma.utils.matrices.rotation(-Math.PI/2,!0)),a.enableVertexAttribArray(f),a.enableVertexAttribArray(g),a.enableVertexAttribArray(h),a.enableVertexAttribArray(i),a.enableVertexAttribArray(j),a.vertexAttribPointer(g,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),a.vertexAttribPointer(h,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),a.vertexAttribPointer(i,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,16),a.vertexAttribPointer(j,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,20),a.vertexAttribPointer(f,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,24),a.drawArrays(a.TRIANGLES,d.start||0,d.count||c.length/this.ATTRIBUTES)},initProgram:function(a){var b,c,d;return b=sigma.utils.loadShader(a,["attribute vec2 a_position1;","attribute vec2 a_position2;","attribute float a_thickness;","attribute float a_minus;","attribute float a_color;","uniform vec2 u_resolution;","uniform float u_ratio;","uniform float u_scale;","uniform mat3 u_matrix;","uniform mat2 u_matrixHalfPi;","uniform mat2 u_matrixHalfPiMinus;","varying vec4 color;","void main() {","vec2 position = a_thickness * u_ratio *","normalize(a_position2 - a_position1);","mat2 matrix = a_minus * u_matrixHalfPiMinus +","(1.0 - a_minus) * u_matrixHalfPi;","position = matrix * position + a_position1;","gl_Position = vec4(","((u_matrix * vec3(position, 1)).xy /","u_resolution * 2.0 - 1.0) * vec2(1, -1),","0,","1",");","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),a.VERTEX_SHADER),c=sigma.utils.loadShader(a,["precision mediump float;","varying vec4 color;","void main(void) {","gl_FragColor = color;","}"].join("\n"),a.FRAGMENT_SHADER),d=sigma.utils.loadProgram(a,[b,c])}}}(),function(){"use strict";sigma.utils.pkg("sigma.webgl.edges"),sigma.webgl.edges.fast={POINTS:2,ATTRIBUTES:3,addEdge:function(a,b,c,d,e,f,g){var h=((a[f+"size"]||1)/2,b[f+"x"]),i=b[f+"y"],j=c[f+"x"],k=c[f+"y"],l=a.color;if(!l)switch(g("edgeColor")){case"source":l=b.color||g("defaultNodeColor");break;case"target":l=c.color||g("defaultNodeColor");break;default:l=g("defaultEdgeColor")}l=sigma.utils.floatColor(l),d[e++]=h,d[e++]=i,d[e++]=l,d[e++]=j,d[e++]=k,d[e++]=l},render:function(a,b,c,d){var e,f=a.getAttribLocation(b,"a_color"),g=a.getAttribLocation(b,"a_position"),h=a.getUniformLocation(b,"u_resolution"),i=a.getUniformLocation(b,"u_matrix");e=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,e),a.bufferData(a.ARRAY_BUFFER,c,a.DYNAMIC_DRAW),a.uniform2f(h,d.width,d.height),a.uniformMatrix3fv(i,!1,d.matrix),a.enableVertexAttribArray(g),a.enableVertexAttribArray(f),a.vertexAttribPointer(g,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),a.vertexAttribPointer(f,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),a.lineWidth(3),a.drawArrays(a.LINES,d.start||0,d.count||c.length/this.ATTRIBUTES)},initProgram:function(a){var b,c,d;return b=sigma.utils.loadShader(a,["attribute vec2 a_position;","attribute float a_color;","uniform vec2 u_resolution;","uniform mat3 u_matrix;","varying vec4 color;","void main() {","gl_Position = vec4(","((u_matrix * vec3(a_position, 1)).xy /","u_resolution * 2.0 - 1.0) * vec2(1, -1),","0,","1",");","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),a.VERTEX_SHADER),c=sigma.utils.loadShader(a,["precision mediump float;","varying vec4 color;","void main(void) {","gl_FragColor = color;","}"].join("\n"),a.FRAGMENT_SHADER),d=sigma.utils.loadProgram(a,[b,c])}}}(),function(){"use strict";sigma.utils.pkg("sigma.webgl.edges"),sigma.webgl.edges.arrow={POINTS:9,ATTRIBUTES:11,addEdge:function(a,b,c,d,e,f,g){var h=(a[f+"size"]||1)/2,i=b[f+"x"],j=b[f+"y"],k=c[f+"x"],l=c[f+"y"],m=c[f+"size"],n=a.color;if(!n)switch(g("edgeColor")){case"source":n=b.color||g("defaultNodeColor");break;case"target":n=c.color||g("defaultNodeColor");break;default:n=g("defaultEdgeColor")}n=sigma.utils.floatColor(n),d[e++]=i,d[e++]=j,d[e++]=k,d[e++]=l,d[e++]=h,d[e++]=m,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=n,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=m,d[e++]=1,d[e++]=1,d[e++]=0,d[e++]=0,d[e++]=n,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=m,d[e++]=1,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=n,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=m,d[e++]=1,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=n,d[e++]=i,d[e++]=j,d[e++]=k,d[e++]=l,d[e++]=h,d[e++]=m,d[e++]=0,d[e++]=1,d[e++]=0,d[e++]=0,d[e++]=n,d[e++]=i,d[e++]=j,d[e++]=k,d[e++]=l,d[e++]=h,d[e++]=m,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=0,d[e++]=n,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=m,d[e++]=1,d[e++]=0,d[e++]=1,d[e++]=-1,d[e++]=n,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=m,d[e++]=1,d[e++]=0,d[e++]=1,d[e++]=0,d[e++]=n,d[e++]=k,d[e++]=l,d[e++]=i,d[e++]=j,d[e++]=h,d[e++]=m,d[e++]=1,d[e++]=0,d[e++]=1,d[e++]=1,d[e++]=n},render:function(a,b,c,d){var e,f=a.getAttribLocation(b,"a_pos1"),g=a.getAttribLocation(b,"a_pos2"),h=a.getAttribLocation(b,"a_thickness"),i=a.getAttribLocation(b,"a_tSize"),j=a.getAttribLocation(b,"a_delay"),k=a.getAttribLocation(b,"a_minus"),l=a.getAttribLocation(b,"a_head"),m=a.getAttribLocation(b,"a_headPosition"),n=a.getAttribLocation(b,"a_color"),o=a.getUniformLocation(b,"u_resolution"),p=a.getUniformLocation(b,"u_matrix"),q=a.getUniformLocation(b,"u_matrixHalfPi"),r=a.getUniformLocation(b,"u_matrixHalfPiMinus"),s=a.getUniformLocation(b,"u_ratio"),t=a.getUniformLocation(b,"u_nodeRatio"),u=a.getUniformLocation(b,"u_arrowHead"),v=a.getUniformLocation(b,"u_scale");e=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,e),a.bufferData(a.ARRAY_BUFFER,c,a.STATIC_DRAW),a.uniform2f(o,d.width,d.height),a.uniform1f(s,d.ratio/Math.pow(d.ratio,d.settings("edgesPowRatio"))),a.uniform1f(t,Math.pow(d.ratio,d.settings("nodesPowRatio"))/d.ratio),a.uniform1f(u,5),a.uniform1f(v,d.scalingRatio),a.uniformMatrix3fv(p,!1,d.matrix),a.uniformMatrix2fv(q,!1,sigma.utils.matrices.rotation(Math.PI/2,!0)),a.uniformMatrix2fv(r,!1,sigma.utils.matrices.rotation(-Math.PI/2,!0)),a.enableVertexAttribArray(f),a.enableVertexAttribArray(g),a.enableVertexAttribArray(h),a.enableVertexAttribArray(i),a.enableVertexAttribArray(j),a.enableVertexAttribArray(k),a.enableVertexAttribArray(l),a.enableVertexAttribArray(m),a.enableVertexAttribArray(n),a.vertexAttribPointer(f,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,0),a.vertexAttribPointer(g,2,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,8),a.vertexAttribPointer(h,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,16),a.vertexAttribPointer(i,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,20),a.vertexAttribPointer(j,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,24),a.vertexAttribPointer(k,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,28),a.vertexAttribPointer(l,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,32),a.vertexAttribPointer(m,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,36),a.vertexAttribPointer(n,1,a.FLOAT,!1,this.ATTRIBUTES*Float32Array.BYTES_PER_ELEMENT,40),a.drawArrays(a.TRIANGLES,d.start||0,d.count||c.length/this.ATTRIBUTES)},initProgram:function(a){var b,c,d;return b=sigma.utils.loadShader(a,["attribute vec2 a_pos1;","attribute vec2 a_pos2;","attribute float a_thickness;","attribute float a_tSize;","attribute float a_delay;","attribute float a_minus;","attribute float a_head;","attribute float a_headPosition;","attribute float a_color;","uniform vec2 u_resolution;","uniform float u_ratio;","uniform float u_nodeRatio;","uniform float u_arrowHead;","uniform float u_scale;","uniform mat3 u_matrix;","uniform mat2 u_matrixHalfPi;","uniform mat2 u_matrixHalfPiMinus;","varying vec4 color;","void main() {","vec2 pos = normalize(a_pos2 - a_pos1);","mat2 matrix = (1.0 - a_head) *","(","a_minus * u_matrixHalfPiMinus +","(1.0 - a_minus) * u_matrixHalfPi",") + a_head * (","a_headPosition * u_matrixHalfPiMinus * 0.6 +","(a_headPosition * a_headPosition - 1.0) * mat2(1.0)",");","pos = a_pos1 + (","(1.0 - a_head) * a_thickness * u_ratio * matrix * pos +","a_head * u_arrowHead * a_thickness * u_ratio * matrix * pos +","a_delay * pos * (","a_tSize / u_nodeRatio +","u_arrowHead * a_thickness * u_ratio",")",");","gl_Position = vec4(","((u_matrix * vec3(pos, 1)).xy /","u_resolution * 2.0 - 1.0) * vec2(1, -1),","0,","1",");","float c = a_color;","color.b = mod(c, 256.0); c = floor(c / 256.0);","color.g = mod(c, 256.0); c = floor(c / 256.0);","color.r = mod(c, 256.0); c = floor(c / 256.0); color /= 255.0;","color.a = 1.0;","}"].join("\n"),a.VERTEX_SHADER),c=sigma.utils.loadShader(a,["precision mediump float;","varying vec4 color;","void main(void) {","gl_FragColor = color;","}"].join("\n"),a.FRAGMENT_SHADER),d=sigma.utils.loadProgram(a,[b,c])}}}(),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.canvas.labels"),sigma.canvas.labels.def=function(a,b,c){var d,e=c("prefix")||"",f=a[e+"size"];f0&&(b.beginPath(),b.fillStyle="node"===c("nodeBorderColor")?a.color||c("defaultNodeColor"):c("defaultNodeBorderColor"),b.arc(a[j+"x"],a[j+"y"],k+c("borderSize"),0,2*Math.PI,!0),b.closePath(),b.fill());var m=sigma.canvas.nodes[a.type]||sigma.canvas.nodes.def;m(a,b,c),a.label&&"string"==typeof a.label&&(b.fillStyle="node"===c("labelHoverColor")?a.color||c("defaultNodeColor"):c("defaultLabelHoverColor"),b.fillText(a.label,Math.round(a[j+"x"]+k+3),Math.round(a[j+"y"]+l/3)))}}.call(this),function(){"use strict";sigma.utils.pkg("sigma.canvas.nodes"),sigma.canvas.nodes.def=function(a,b,c){var d=c("prefix")||"";b.fillStyle=a.color||c("defaultNodeColor"),b.beginPath(),b.arc(a[d+"x"],a[d+"y"],a[d+"size"],0,2*Math.PI,!0),b.closePath(),b.fill()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edges"),sigma.canvas.edges.def=function(a,b,c,d,e){var f=a.color,g=e("prefix")||"",h=a[g+"size"]||1,i=e("edgeColor"),j=e("defaultNodeColor"),k=e("defaultEdgeColor");if(!f)switch(i){case"source":f=b.color||j;break;case"target":f=c.color||j;break;default:f=k}d.strokeStyle=f,d.lineWidth=h,d.beginPath(),d.moveTo(b[g+"x"],b[g+"y"]),d.lineTo(c[g+"x"],c[g+"y"]),d.stroke()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edges"),sigma.canvas.edges.curve=function(a,b,c,d,e){var f=a.color,g=e("prefix")||"",h=a[g+"size"]||1,i=e("edgeColor"),j=e("defaultNodeColor"),k=e("defaultEdgeColor"),l={},m=b[g+"size"],n=b[g+"x"],o=b[g+"y"],p=c[g+"x"],q=c[g+"y"];if(l=b.id===c.id?sigma.utils.getSelfLoopControlPoints(n,o,m):sigma.utils.getQuadraticControlPoint(n,o,p,q),!f)switch(i){case"source":f=b.color||j;break;case"target":f=c.color||j;break;default:f=k}d.strokeStyle=f,d.lineWidth=h,d.beginPath(),d.moveTo(n,o),b.id===c.id?d.bezierCurveTo(l.x1,l.y1,l.x2,l.y2,p,q):d.quadraticCurveTo(l.x,l.y,p,q),d.stroke()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edges"),sigma.canvas.edges.arrow=function(a,b,c,d,e){var f=a.color,g=e("prefix")||"",h=e("edgeColor"),i=e("defaultNodeColor"),j=e("defaultEdgeColor"),k=a[g+"size"]||1,l=c[g+"size"],m=b[g+"x"],n=b[g+"y"],o=c[g+"x"],p=c[g+"y"],q=Math.max(2.5*k,e("minArrowSize")),r=Math.sqrt(Math.pow(o-m,2)+Math.pow(p-n,2)),s=m+(o-m)*(r-q-l)/r,t=n+(p-n)*(r-q-l)/r,u=(o-m)*q/r,v=(p-n)*q/r;if(!f)switch(h){case"source":f=b.color||i;break;case"target":f=c.color||i;break;default:f=j}d.strokeStyle=f,d.lineWidth=k,d.beginPath(),d.moveTo(m,n),d.lineTo(s,t),d.stroke(),d.fillStyle=f,d.beginPath(),d.moveTo(s+u,t+v),d.lineTo(s+.6*v,t-.6*u),d.lineTo(s-.6*v,t+.6*u),d.lineTo(s+u,t+v),d.closePath(),d.fill()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edges"),sigma.canvas.edges.curvedArrow=function(a,b,c,d,e){var f,g,h,i,j,k=a.color,l=e("prefix")||"",m=e("edgeColor"),n=e("defaultNodeColor"),o=e("defaultEdgeColor"),p={},q=a[l+"size"]||1,r=c[l+"size"],s=b[l+"x"],t=b[l+"y"],u=c[l+"x"],v=c[l+"y"],w=Math.max(2.5*q,e("minArrowSize"));if(p=b.id===c.id?sigma.utils.getSelfLoopControlPoints(s,t,r):sigma.utils.getQuadraticControlPoint(s,t,u,v),b.id===c.id?(f=Math.sqrt(Math.pow(u-p.x1,2)+Math.pow(v-p.y1,2)),g=p.x1+(u-p.x1)*(f-w-r)/f,h=p.y1+(v-p.y1)*(f-w-r)/f,i=(u-p.x1)*w/f,j=(v-p.y1)*w/f):(f=Math.sqrt(Math.pow(u-p.x,2)+Math.pow(v-p.y,2)),g=p.x+(u-p.x)*(f-w-r)/f,h=p.y+(v-p.y)*(f-w-r)/f,i=(u-p.x)*w/f,j=(v-p.y)*w/f),!k)switch(m){case"source":k=b.color||n;break;case"target":k=c.color||n;break;default:k=o}d.strokeStyle=k,d.lineWidth=q,d.beginPath(),d.moveTo(s,t),b.id===c.id?d.bezierCurveTo(p.x2,p.y2,p.x1,p.y1,g,h):d.quadraticCurveTo(p.x,p.y,g,h),d.stroke(),d.fillStyle=k,d.beginPath(),d.moveTo(g+i,h+j),d.lineTo(g+.6*j,h-.6*i),d.lineTo(g-.6*j,h+.6*i),d.lineTo(g+i,h+j),d.closePath(),d.fill()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edgehovers"),sigma.canvas.edgehovers.def=function(a,b,c,d,e){var f=a.color,g=e("prefix")||"",h=a[g+"size"]||1,i=e("edgeColor"),j=e("defaultNodeColor"),k=e("defaultEdgeColor");if(!f)switch(i){case"source":f=b.color||j;break;case"target":f=c.color||j;break;default:f=k}f="edge"===e("edgeHoverColor")?a.hover_color||f:a.hover_color||e("defaultEdgeHoverColor")||f,h*=e("edgeHoverSizeRatio"),d.strokeStyle=f,d.lineWidth=h,d.beginPath(),d.moveTo(b[g+"x"],b[g+"y"]),d.lineTo(c[g+"x"],c[g+"y"]),d.stroke()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edgehovers"),sigma.canvas.edgehovers.curve=function(a,b,c,d,e){var f=a.color,g=e("prefix")||"",h=e("edgeHoverSizeRatio")*(a[g+"size"]||1),i=e("edgeColor"),j=e("defaultNodeColor"),k=e("defaultEdgeColor"),l={},m=b[g+"size"],n=b[g+"x"],o=b[g+"y"],p=c[g+"x"],q=c[g+"y"];if(l=b.id===c.id?sigma.utils.getSelfLoopControlPoints(n,o,m):sigma.utils.getQuadraticControlPoint(n,o,p,q),!f)switch(i){case"source":f=b.color||j;break;case"target":f=c.color||j;break;default:f=k}f="edge"===e("edgeHoverColor")?a.hover_color||f:a.hover_color||e("defaultEdgeHoverColor")||f,d.strokeStyle=f,d.lineWidth=h,d.beginPath(),d.moveTo(n,o),b.id===c.id?d.bezierCurveTo(l.x1,l.y1,l.x2,l.y2,p,q):d.quadraticCurveTo(l.x,l.y,p,q),d.stroke()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edgehovers"),sigma.canvas.edgehovers.arrow=function(a,b,c,d,e){var f=a.color,g=e("prefix")||"",h=e("edgeColor"),i=e("defaultNodeColor"),j=e("defaultEdgeColor"),k=a[g+"size"]||1,l=c[g+"size"],m=b[g+"x"],n=b[g+"y"],o=c[g+"x"],p=c[g+"y"]; +k=a.hover?e("edgeHoverSizeRatio")*k:k;var q=2.5*k,r=Math.sqrt(Math.pow(o-m,2)+Math.pow(p-n,2)),s=m+(o-m)*(r-q-l)/r,t=n+(p-n)*(r-q-l)/r,u=(o-m)*q/r,v=(p-n)*q/r;if(!f)switch(h){case"source":f=b.color||i;break;case"target":f=c.color||i;break;default:f=j}f="edge"===e("edgeHoverColor")?a.hover_color||f:a.hover_color||e("defaultEdgeHoverColor")||f,d.strokeStyle=f,d.lineWidth=k,d.beginPath(),d.moveTo(m,n),d.lineTo(s,t),d.stroke(),d.fillStyle=f,d.beginPath(),d.moveTo(s+u,t+v),d.lineTo(s+.6*v,t-.6*u),d.lineTo(s-.6*v,t+.6*u),d.lineTo(s+u,t+v),d.closePath(),d.fill()}}(),function(){"use strict";sigma.utils.pkg("sigma.canvas.edgehovers"),sigma.canvas.edgehovers.curvedArrow=function(a,b,c,d,e){var f,g,h,i,j,k,l=a.color,m=e("prefix")||"",n=e("edgeColor"),o=e("defaultNodeColor"),p=e("defaultEdgeColor"),q={},r=e("edgeHoverSizeRatio")*(a[m+"size"]||1),s=c[m+"size"],t=b[m+"x"],u=b[m+"y"],v=c[m+"x"],w=c[m+"y"];if(q=b.id===c.id?sigma.utils.getSelfLoopControlPoints(t,u,s):sigma.utils.getQuadraticControlPoint(t,u,v,w),b.id===c.id?(f=Math.sqrt(Math.pow(v-q.x1,2)+Math.pow(w-q.y1,2)),g=2.5*r,h=q.x1+(v-q.x1)*(f-g-s)/f,i=q.y1+(w-q.y1)*(f-g-s)/f,j=(v-q.x1)*g/f,k=(w-q.y1)*g/f):(f=Math.sqrt(Math.pow(v-q.x,2)+Math.pow(w-q.y,2)),g=2.5*r,h=q.x+(v-q.x)*(f-g-s)/f,i=q.y+(w-q.y)*(f-g-s)/f,j=(v-q.x)*g/f,k=(w-q.y)*g/f),!l)switch(n){case"source":l=b.color||o;break;case"target":l=c.color||o;break;default:l=p}l="edge"===e("edgeHoverColor")?a.hover_color||l:a.hover_color||e("defaultEdgeHoverColor")||l,d.strokeStyle=l,d.lineWidth=r,d.beginPath(),d.moveTo(t,u),b.id===c.id?d.bezierCurveTo(q.x2,q.y2,q.x1,q.y1,h,i):d.quadraticCurveTo(q.x,q.y,h,i),d.stroke(),d.fillStyle=l,d.beginPath(),d.moveTo(h+j,i+k),d.lineTo(h+.6*k,i-.6*j),d.lineTo(h-.6*k,i+.6*j),d.lineTo(h+j,i+k),d.closePath(),d.fill()}}(),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.canvas.extremities"),sigma.canvas.extremities.def=function(a,b,c,d,e){(sigma.canvas.hovers[b.type]||sigma.canvas.hovers.def)(b,d,e),(sigma.canvas.hovers[c.type]||sigma.canvas.hovers.def)(c,d,e)}}.call(this),function(){"use strict";sigma.utils.pkg("sigma.svg.utils"),sigma.svg.utils={show:function(a){return a.style.display="",this},hide:function(a){return a.style.display="none",this}}}(),function(){"use strict";sigma.utils.pkg("sigma.svg.nodes"),sigma.svg.nodes.def={create:function(a,b){var c=(b("prefix")||"",document.createElementNS(b("xmlns"),"circle"));return c.setAttributeNS(null,"data-node-id",a.id),c.setAttributeNS(null,"class",b("classPrefix")+"-node"),c.setAttributeNS(null,"fill",a.color||b("defaultNodeColor")),c},update:function(a,b,c){var d=c("prefix")||"";return b.setAttributeNS(null,"cx",a[d+"x"]),b.setAttributeNS(null,"cy",a[d+"y"]),b.setAttributeNS(null,"r",a[d+"size"]),c("freeStyle")||b.setAttributeNS(null,"fill",a.color||c("defaultNodeColor")),b.style.display="",this}}}(),function(){"use strict";sigma.utils.pkg("sigma.svg.edges"),sigma.svg.edges.def={create:function(a,b,c,d){var e=a.color,f=(d("prefix")||"",d("edgeColor")),g=d("defaultNodeColor"),h=d("defaultEdgeColor");if(!e)switch(f){case"source":e=b.color||g;break;case"target":e=c.color||g;break;default:e=h}var i=document.createElementNS(d("xmlns"),"line");return i.setAttributeNS(null,"data-edge-id",a.id),i.setAttributeNS(null,"class",d("classPrefix")+"-edge"),i.setAttributeNS(null,"stroke",e),i},update:function(a,b,c,d,e){var f=e("prefix")||"";return b.setAttributeNS(null,"stroke-width",a[f+"size"]||1),b.setAttributeNS(null,"x1",c[f+"x"]),b.setAttributeNS(null,"y1",c[f+"y"]),b.setAttributeNS(null,"x2",d[f+"x"]),b.setAttributeNS(null,"y2",d[f+"y"]),b.style.display="",this}}}(),function(){"use strict";sigma.utils.pkg("sigma.svg.edges"),sigma.svg.edges.curve={create:function(a,b,c,d){var e=a.color,f=(d("prefix")||"",d("edgeColor")),g=d("defaultNodeColor"),h=d("defaultEdgeColor");if(!e)switch(f){case"source":e=b.color||g;break;case"target":e=c.color||g;break;default:e=h}var i=document.createElementNS(d("xmlns"),"path");return i.setAttributeNS(null,"data-edge-id",a.id),i.setAttributeNS(null,"class",d("classPrefix")+"-edge"),i.setAttributeNS(null,"stroke",e),i},update:function(a,b,c,d,e){var f=e("prefix")||"";b.setAttributeNS(null,"stroke-width",a[f+"size"]||1);var g=(c[f+"x"]+d[f+"x"])/2+(d[f+"y"]-c[f+"y"])/4,h=(c[f+"y"]+d[f+"y"])/2+(c[f+"x"]-d[f+"x"])/4,i="M"+c[f+"x"]+","+c[f+"y"]+" Q"+g+","+h+" "+d[f+"x"]+","+d[f+"y"];return b.setAttributeNS(null,"d",i),b.setAttributeNS(null,"fill","none"),b.style.display="",this}}}(),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.svg.labels"),sigma.svg.labels.def={create:function(a,b){var c=b("prefix")||"",d=a[c+"size"],e=document.createElementNS(b("xmlns"),"text"),f="fixed"===b("labelSize")?b("defaultLabelSize"):b("labelSizeRatio")*d,g="node"===b("labelColor")?a.color||b("defaultNodeColor"):b("defaultLabelColor");return e.setAttributeNS(null,"data-label-target",a.id),e.setAttributeNS(null,"class",b("classPrefix")+"-label"),e.setAttributeNS(null,"font-size",f),e.setAttributeNS(null,"font-family",b("font")),e.setAttributeNS(null,"fill",g),e.innerHTML=a.label,e.textContent=a.label,e},update:function(a,b,c){var d=c("prefix")||"",e=a[d+"size"],f="fixed"===c("labelSize")?c("defaultLabelSize"):c("labelSizeRatio")*e;return!c("forceLabels")&&ed;d++)if(!y[x[d]])throw new Error('The rescale setting "'+x[d]+'" is not recognized.');var z=~x.indexOf("nodePosition"),A=~x.indexOf("nodeSize"),B=~x.indexOf("edgeSize");for(j="outside"===n("scalingMode")?Math.max(v/Math.max(r-p,1),w/Math.max(s-q,1)):Math.min(v/Math.max(r-p,1),w/Math.max(s-q,1)),k=(n("rescaleIgnoreSize")?0:(n("maxNodeSize")||t)/j)+(n("sideMargin")||0),r+=k,p-=k,s+=k,q-=k,j="outside"===n("scalingMode")?Math.max(v/Math.max(r-p,1),w/Math.max(s-q,1)):Math.min(v/Math.max(r-p,1),w/Math.max(s-q,1)),n("maxNodeSize")||n("minNodeSize")?n("maxNodeSize")===n("minNodeSize")?(f=0,g=+n("maxNodeSize")):(f=(n("maxNodeSize")-n("minNodeSize"))/t,g=+n("minNodeSize")):(f=1,g=0),n("maxEdgeSize")||n("minEdgeSize")?n("maxEdgeSize")===n("minEdgeSize")?(h=0,i=+n("minEdgeSize")):(h=(n("maxEdgeSize")-n("minEdgeSize"))/u,i=+n("minEdgeSize")):(h=1,i=0),d=0,e=m.length;e>d;d++)m[d][b+"size"]=m[d][a+"size"]*(B?h:1)+(B?i:0);for(d=0,e=l.length;e>d;d++)l[d][b+"size"]=l[d][a+"size"]*(A?f:1)+(A?g:0),l[d][b+"x"]=(l[d][a+"x"]-(r+p)/2)*(z?j:1),l[d][b+"y"]=(l[d][a+"y"]-(s+q)/2)*(z?j:1)},sigma.utils.getBoundaries=function(a,b,c){var d,e,f=a.edges(),g=a.nodes(),h=-(1/0),i=-(1/0),j=1/0,k=1/0,l=-(1/0),m=-(1/0);if(c)for(d=0,e=f.length;e>d;d++)h=Math.max(f[d][b+"size"],h);for(d=0,e=g.length;e>d;d++)i=Math.max(g[d][b+"size"],i),l=Math.max(g[d][b+"x"],l),j=Math.min(g[d][b+"x"],j),m=Math.max(g[d][b+"y"],m),k=Math.min(g[d][b+"y"],k);return h=h||1,i=i||1,{weightMax:h,sizeMax:i,minX:j,minY:k,maxX:l,maxY:m}}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.middlewares"),sigma.middlewares.copy=function(a,b){var c,d,e;if(b+""!=a+""){for(e=this.graph.nodes(),c=0,d=e.length;d>c;c++)e[c][b+"x"]=e[c][a+"x"],e[c][b+"y"]=e[c][a+"y"],e[c][b+"size"]=e[c][a+"size"];for(e=this.graph.edges(),c=0,d=e.length;d>c;c++)e[c][b+"size"]=e[c][a+"size"]}}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.misc.animation.running");var b=function(){var a=0;return function(){return""+ ++a}}();sigma.misc.animation.camera=function(c,d,e){if(!(c instanceof sigma.classes.camera&&"object"==typeof d&&d))throw"animation.camera: Wrong arguments.";if("number"!=typeof d.x&&"number"!=typeof d.y&&"number"!=typeof d.ratio&&"number"!=typeof d.angle)throw"There must be at least one valid coordinate in the given val.";var f,g,h,i,j,k,l=e||{},m=sigma.utils.dateNow();return k={x:c.x,y:c.y,ratio:c.ratio,angle:c.angle},j=l.duration,i="function"!=typeof l.easing?sigma.utils.easings[l.easing||"quadraticInOut"]:l.easing,f=function(){var b,e=l.duration?(sigma.utils.dateNow()-m)/l.duration:1;e>=1?(c.isAnimated=!1,c.goTo({x:d.x!==a?d.x:k.x,y:d.y!==a?d.y:k.y,ratio:d.ratio!==a?d.ratio:k.ratio,angle:d.angle!==a?d.angle:k.angle}),cancelAnimationFrame(g),delete sigma.misc.animation.running[g],"function"==typeof l.onComplete&&l.onComplete()):(b=i(e),c.isAnimated=!0,c.goTo({x:d.x!==a?k.x+(d.x-k.x)*b:k.x,y:d.y!==a?k.y+(d.y-k.y)*b:k.y,ratio:d.ratio!==a?k.ratio+(d.ratio-k.ratio)*b:k.ratio,angle:d.angle!==a?k.angle+(d.angle-k.angle)*b:k.angle}),"function"==typeof l.onNewFrame&&l.onNewFrame(),h.frameId=requestAnimationFrame(f))},g=b(),h={frameId:requestAnimationFrame(f),target:c,type:"camera",options:l,fn:f},sigma.misc.animation.running[g]=h,g},sigma.misc.animation.kill=function(a){if(1!==arguments.length||"number"!=typeof a)throw"animation.kill: Wrong arguments.";var b=sigma.misc.animation.running[a];return b&&(cancelAnimationFrame(a),delete sigma.misc.animation.running[b.frameId],"camera"===b.type&&(b.target.isAnimated=!1),"function"==typeof(b.options||{}).onComplete&&b.options.onComplete()),this},sigma.misc.animation.killAll=function(a){var b,c,d=0,e="string"==typeof a?a:null,f="object"==typeof a?a:null,g=sigma.misc.animation.running;for(c in g)e&&g[c].type!==e||f&&g[c].target!==f||(b=sigma.misc.animation.running[c],cancelAnimationFrame(b.frameId),delete sigma.misc.animation.running[c],"camera"===b.type&&(b.target.isAnimated=!1),d++,"function"==typeof(b.options||{}).onComplete&&b.options.onComplete());return d},sigma.misc.animation.has=function(a){var b,c="string"==typeof a?a:null,d="object"==typeof a?a:null,e=sigma.misc.animation.running;for(b in e)if(!(c&&e[b].type!==c||d&&e[b].target!==d))return!0;return!1}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.misc"),sigma.misc.bindEvents=function(b){function c(a){a&&(h="x"in a.data?a.data.x:h,i="y"in a.data?a.data.y:i);var c,d,e,f,g,k,l,m,n=[],o=h+j.width/2,p=i+j.height/2,q=j.camera.cameraPosition(h,i),r=j.camera.quadtree.point(q.x,q.y);if(r.length)for(c=0,e=r.length;e>c;c++)if(f=r[c],g=f[b+"x"],k=f[b+"y"],l=f[b+"size"],!f.hidden&&o>g-l&&g+l>o&&p>k-l&&k+l>p&&Math.sqrt(Math.pow(o-g,2)+Math.pow(p-k,2))n[d].size){n.splice(d,0,f),m=!0;break}m||n.push(f)}return n}function d(c){function d(a,b){for(r=!1,g=0;ga[g].size){a.splice(g,0,b),r=!0;break}r||a.push(b)}if(!j.settings("enableEdgeHovering"))return[];var e=sigma.renderers.canvas&&j instanceof sigma.renderers.canvas;if(!e)throw new Error("The edge events feature is not compatible with the WebGL renderer");c&&(h="x"in c.data?c.data.x:h,i="y"in c.data?c.data.y:i);var f,g,k,l,m,n,o,p,q,r,s=j.settings("edgeHoverPrecision"),t={},u=[],v=h+j.width/2,w=i+j.height/2,x=j.camera.cameraPosition(h,i),y=[];if(e){var z=j.camera.quadtree.area(j.camera.getRectangle(j.width,j.height));for(l=z,f=0,k=l.length;k>f;f++)t[l[f].id]=l[f]}if(j.camera.edgequadtree!==a&&(y=j.camera.edgequadtree.point(x.x,x.y)),y.length)for(f=0,k=y.length;k>f;f++)m=y[f],o=j.graph.nodes(m.source),p=j.graph.nodes(m.target),n=m[b+"size"]||m["read_"+b+"size"],!m.hidden&&!o.hidden&&!p.hidden&&(!e||t[m.source]||t[m.target])&&sigma.utils.getDistance(o[b+"x"],o[b+"y"],v,w)>o[b+"size"]&&sigma.utils.getDistance(p[b+"x"],p[b+"y"],v,w)>p[b+"size"]&&("curve"==m.type||"curvedArrow"==m.type?o.id===p.id?(q=sigma.utils.getSelfLoopControlPoints(o[b+"x"],o[b+"y"],o[b+"size"]),sigma.utils.isPointOnBezierCurve(v,w,o[b+"x"],o[b+"y"],p[b+"x"],p[b+"y"],q.x1,q.y1,q.x2,q.y2,Math.max(n,s))&&d(u,m)):(q=sigma.utils.getQuadraticControlPoint(o[b+"x"],o[b+"y"],p[b+"x"],p[b+"y"]),sigma.utils.isPointOnQuadraticCurve(v,w,o[b+"x"],o[b+"y"],p[b+"x"],p[b+"y"],q.x,q.y,Math.max(n,s))&&d(u,m)):sigma.utils.isPointOnSegment(v,w,o[b+"x"],o[b+"y"],p[b+"x"],p[b+"y"],Math.max(n,s))&&d(u,m));return u}function e(a){function b(a){j.settings("eventsEnabled")&&(j.dispatchEvent("click",a.data),i=c(a),k=d(a),i.length?(j.dispatchEvent("clickNode",{node:i[0],captor:a.data}),j.dispatchEvent("clickNodes",{node:i,captor:a.data})):k.length?(j.dispatchEvent("clickEdge",{edge:k[0],captor:a.data}),j.dispatchEvent("clickEdges",{edge:k,captor:a.data})):j.dispatchEvent("clickStage",{captor:a.data}))}function e(a){j.settings("eventsEnabled")&&(j.dispatchEvent("doubleClick",a.data),i=c(a),k=d(a),i.length?(j.dispatchEvent("doubleClickNode",{node:i[0],captor:a.data}),j.dispatchEvent("doubleClickNodes",{node:i,captor:a.data})):k.length?(j.dispatchEvent("doubleClickEdge",{edge:k[0],captor:a.data}),j.dispatchEvent("doubleClickEdges",{edge:k,captor:a.data})):j.dispatchEvent("doubleClickStage",{captor:a.data}))}function f(a){j.settings("eventsEnabled")&&(j.dispatchEvent("rightClick",a.data),i=c(a),k=d(a),i.length?(j.dispatchEvent("rightClickNode",{node:i[0],captor:a.data}),j.dispatchEvent("rightClickNodes",{node:i,captor:a.data})):k.length?(j.dispatchEvent("rightClickEdge",{edge:k[0],captor:a.data}),j.dispatchEvent("rightClickEdges",{edge:k,captor:a.data})):j.dispatchEvent("rightClickStage",{captor:a.data}))}function g(a){if(j.settings("eventsEnabled")){var b,c,d,e,f=[],g=[];for(b in l)f.push(l[b]);for(l={},c=0,d=f.length;d>c;c++)j.dispatchEvent("outNode",{node:f[c],captor:a.data});for(f.length&&j.dispatchEvent("outNodes",{nodes:f,captor:a.data}),m={},c=0,e=g.length;e>c;c++)j.dispatchEvent("outEdge",{edge:g[c],captor:a.data});g.length&&j.dispatchEvent("outEdges",{edges:g,captor:a.data})}}function h(a){if(j.settings("eventsEnabled")){i=c(a),k=d(a);var b,e,f,g,h=[],n=[],o={},p=i.length,q=[],r=[],s={},t=k.length;for(b=0;p>b;b++)f=i[b],o[f.id]=f,l[f.id]||(n.push(f),l[f.id]=f);for(e in l)o[e]||(h.push(l[e]),delete l[e]);for(b=0,p=n.length;p>b;b++)j.dispatchEvent("overNode",{node:n[b],captor:a.data});for(b=0,p=h.length;p>b;b++)j.dispatchEvent("outNode",{node:h[b],captor:a.data});for(n.length&&j.dispatchEvent("overNodes",{nodes:n,captor:a.data}),h.length&&j.dispatchEvent("outNodes",{nodes:h,captor:a.data}),b=0;t>b;b++)g=k[b],s[g.id]=g,m[g.id]||(r.push(g),m[g.id]=g);for(e in m)s[e]||(q.push(m[e]),delete m[e]);for(b=0,t=r.length;t>b;b++)j.dispatchEvent("overEdge",{edge:r[b],captor:a.data});for(b=0,t=q.length;t>b;b++)j.dispatchEvent("outEdge",{edge:q[b],captor:a.data});r.length&&j.dispatchEvent("overEdges",{edges:r,captor:a.data}),q.length&&j.dispatchEvent("outEdges",{edges:q,captor:a.data})}}var i,k,l={},m={};a.bind("click",b),a.bind("mousedown",h),a.bind("mouseup",h),a.bind("mousemove",h),a.bind("mouseout",g),a.bind("doubleclick",e),a.bind("rightclick",f),j.bind("render",h)}var f,g,h,i,j=this;for(f=0,g=this.captors.length;g>f;f++)e(this.captors[f])}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.misc"),sigma.misc.bindDOMEvents=function(a){function b(a){this.attr=function(b){return a.getAttributeNS(null,b)},this.tag=a.tagName,this["class"]=this.attr("class"),this.id=this.attr("id"),this.isNode=function(){return!!~this["class"].indexOf(g.settings("classPrefix")+"-node")},this.isEdge=function(){return!!~this["class"].indexOf(g.settings("classPrefix")+"-edge")},this.isHover=function(){return!!~this["class"].indexOf(g.settings("classPrefix")+"-hover")}}function c(a){if(g.settings("eventsEnabled")){g.dispatchEvent("click",a);var c=new b(a.target);c.isNode()?g.dispatchEvent("clickNode",{node:h.nodes(c.attr("data-node-id"))}):g.dispatchEvent("clickStage"),a.preventDefault(),a.stopPropagation()}}function d(a){if(g.settings("eventsEnabled")){g.dispatchEvent("doubleClick",a);var c=new b(a.target);c.isNode()?g.dispatchEvent("doubleClickNode",{node:h.nodes(c.attr("data-node-id"))}):g.dispatchEvent("doubleClickStage"),a.preventDefault(),a.stopPropagation()}}function e(a){var c=a.toElement||a.target;if(g.settings("eventsEnabled")&&c){var d=new b(c);if(d.isNode())g.dispatchEvent("overNode",{node:h.nodes(d.attr("data-node-id"))});else if(d.isEdge()){var e=h.edges(d.attr("data-edge-id"));g.dispatchEvent("overEdge",{edge:e,source:h.nodes(e.source),target:h.nodes(e.target)})}}}function f(a){var c=a.fromElement||a.originalTarget;if(g.settings("eventsEnabled")){var d=new b(c);if(d.isNode())g.dispatchEvent("outNode",{node:h.nodes(d.attr("data-node-id"))});else if(d.isEdge()){var e=h.edges(d.attr("data-edge-id"));g.dispatchEvent("outEdge",{edge:e,source:h.nodes(e.source),target:h.nodes(e.target)})}}}var g=this,h=this.graph;a.addEventListener("click",c,!1),sigma.utils.doubleClick(a,"click",d),a.addEventListener("touchstart",c,!1),sigma.utils.doubleClick(a,"touchstart",d),a.addEventListener("mouseover",e,!0),a.addEventListener("mouseout",f,!0)}}.call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.misc"),sigma.misc.drawHovers=function(a){function b(){c.contexts.hover.canvas.width=c.contexts.hover.canvas.width;var b,f,g,h,i,j=c.settings("defaultNodeType"),k=c.settings("defaultEdgeType"),l=sigma.canvas.hovers,m=sigma.canvas.edgehovers,n=sigma.canvas.extremities,o=c.settings.embedObjects({prefix:a});if(o("enableHovering")&&o("singleHover")&&Object.keys(d).length&&(h=d[Object.keys(d)[0]],(l[h.type]||l[j]||l.def)(h,c.contexts.hover,o)),o("enableHovering")&&!o("singleHover"))for(b in d)(l[d[b].type]||l[j]||l.def)(d[b],c.contexts.hover,o);if(o("enableEdgeHovering")&&o("singleHover")&&Object.keys(e).length&&(i=e[Object.keys(e)[0]],f=c.graph.nodes(i.source),g=c.graph.nodes(i.target),i.hidden||((m[i.type]||m[k]||m.def)(i,f,g,c.contexts.hover,o),o("edgeHoverExtremities")?(n[i.type]||n.def)(i,f,g,c.contexts.hover,o):((sigma.canvas.nodes[f.type]||sigma.canvas.nodes.def)(f,c.contexts.hover,o),(sigma.canvas.nodes[g.type]||sigma.canvas.nodes.def)(g,c.contexts.hover,o)))),o("enableEdgeHovering")&&!o("singleHover"))for(b in e)i=e[b],f=c.graph.nodes(i.source),g=c.graph.nodes(i.target),i.hidden||((m[i.type]||m[k]||m.def)(i,f,g,c.contexts.hover,o),o("edgeHoverExtremities")?(n[i.type]||n.def)(i,f,g,c.contexts.hover,o):((sigma.canvas.nodes[f.type]||sigma.canvas.nodes.def)(f,c.contexts.hover,o),(sigma.canvas.nodes[g.type]||sigma.canvas.nodes.def)(g,c.contexts.hover,o)))}var c=this,d={},e={};this.bind("overNode",function(a){var c=a.data.node;c.hidden||(d[c.id]=c,b())}),this.bind("outNode",function(a){delete d[a.data.node.id],b()}),this.bind("overEdge",function(a){var c=a.data.edge;c.hidden||(e[c.id]=c,b())}),this.bind("outEdge",function(a){delete e[a.data.edge.id],b()}),this.bind("render",function(a){b()})}}.call(this); + +/**sigma.plugins.dragNodes**/ +(function(){"use strict";function a(a,b){function c(a){var b=window.getComputedStyle(a),c=function(a){return parseInt(b.getPropertyValue(a).replace("px",""))||0};return{left:a.getBoundingClientRect().left+c("padding-left"),top:a.getBoundingClientRect().top+c("padding-top")}}function d(a){t=!1,l.removeEventListener("mousemove",i),l.removeEventListener("mouseup",h),r.length||(p=null)}function e(a){s[a.data.node.id]||(r.push(a.data.node),s[a.data.node.id]=!0,r.length&&!t&&(p=r[r.length-1],n.addEventListener("mousedown",g)))}function f(a){var b=r.map(function(a){return a}).indexOf(a.data.node);r.splice(b,1),delete s[a.data.node.id],r.length&&!t?p=r[r.length-1]:n.removeEventListener("mousedown",g)}function g(a){t=!0;var b=k.graph.nodes().length;if(p&&b>1){n.removeEventListener("mousedown",g),l.addEventListener("mousemove",i),l.addEventListener("mouseup",h);var c,d;for(c in k.cameras)d=k.cameras[c],void 0!==d.edgequadtree&&(d.edgequadtree._enabled=!1);m.settings({mouseEnabled:!1,enableHovering:!1}),k.refresh(),j.dispatchEvent("startdrag",{node:p,captor:a,renderer:m})}}function h(a){t=!1,n.addEventListener("mousedown",g),l.removeEventListener("mousemove",i),l.removeEventListener("mouseup",h);var b,c;for(b in k.cameras)c=k.cameras[b],void 0!==c.edgequadtree&&(c.edgequadtree._enabled=!0);m.settings({mouseEnabled:!0,enableHovering:!0}),k.refresh(),u&&j.dispatchEvent("drop",{node:p,captor:a,renderer:m}),j.dispatchEvent("dragend",{node:p,captor:a,renderer:m}),u=!1,p=null}function i(a){function b(){for(var b=c(m.container),d=a.clientX-b.left,e=a.clientY-b.top,f=Math.cos(o.angle),g=Math.sin(o.angle),h=k.graph.nodes(),i=[],l=0;2>l;l++){var n=h[l],r={x:n.x*f+n.y*g,y:n.y*f-n.x*g,renX:n[q+"x"],renY:n[q+"y"]};i.push(r)}if(i[0].x===i[1].x&&i[0].y===i[1].y){var s=0===i[0].renX?1:i[0].renX,t=0===i[0].renY?1:i[0].renY;d=i[0].x/s*(d-i[0].renX)+i[0].x,e=i[0].y/t*(e-i[0].renY)+i[0].y}else{var s=(i[1].renX-i[0].renX)/(i[1].x-i[0].x),t=(i[1].renY-i[0].renY)/(i[1].y-i[0].y);i[1].x===i[0].x&&(s=t),i[1].y===i[0].y&&(t=s),d=(d-i[0].renX)/s+i[0].x,e=(e-i[0].renY)/t+i[0].y}p.x=d*f-e*g,p.y=e*f+d*g,k.refresh(),u=!0,j.dispatchEvent("drag",{node:p,captor:a,renderer:m})}if(navigator.userAgent.toLowerCase().indexOf("firefox")>-1){clearTimeout(d);var d=setTimeout(b,0)}else b()}if(sigma.classes.dispatcher.extend(this),sigma.renderers.webgl&&b instanceof sigma.renderers.webgl)throw new Error("The sigma.plugins.dragNodes is not compatible with the WebGL renderer");var j=this,k=a,l=document.body,m=b,n=b.container.lastChild,o=b.camera,p=null,q="",r=[],s={},t=!1,u=!1;b instanceof sigma.renderers.svg&&(n=b.container.firstChild),q=b instanceof sigma.renderers.webgl?b.options.prefix.substr(5):b.options.prefix,b.bind("overNode",e),b.bind("outNode",f),b.bind("click",d),k.bind("kill",function(){j.unbindAll()}),this.unbindAll=function(){n.removeEventListener("mousedown",g),l.removeEventListener("mousemove",i),l.removeEventListener("mouseup",h),m.unbind("overNode",e),m.unbind("outNode",f)}}if("undefined"==typeof sigma)throw"sigma is not declared";sigma.utils.pkg("sigma.plugins");var b={};sigma.plugins.dragNodes=function(c,d){return b[c.id]||(b[c.id]=new a(c,d)),c.bind("kill",function(){sigma.plugins.killDragNodes(c)}),b[c.id]},sigma.plugins.killDragNodes=function(c){b[c.id]instanceof a&&(b[c.id].unbindAll(),delete b[c.id])}}).call(window); + +/**shape-library**/ +(function(c){var b=[];var m=function(o,n,p){b.push({"name":o,"drawShape":n,"drawBorder":p})};var d=function(){return b};var h=function(n){return function(s,o,t,r,p,q){q.fillStyle=p;q.beginPath();n(s,o,t,r,q);q.closePath();q.fill()}};var j=function(n){return function(s,o,t,r,p,q){q.strokeStyle=p;q.lineWidth=r/5;q.beginPath();n(s,o,t,r,q);q.closePath();q.stroke()}};var f=function(s,n,t,r,q){var o=Math.PI*45/180;q.moveTo(n+r*Math.sin(o),t-r*Math.cos(o));for(var p=1;p<4;p++){q.lineTo(n+Math.sin(o+2*Math.PI*p/4)*r,t-Math.cos(o+2*Math.PI*p/4)*r)}};m("square",h(f),j(f));var i=function(q,n,r,p,o){o.arc(n,r,p,0,Math.PI*2,true)};m("circle",h(i),j(i));var a=function(q,n,r,p,o){o.moveTo(n-p,r);o.lineTo(n,r-p);o.lineTo(n+p,r);o.lineTo(n,r+p)};m("diamond",h(a),j(a));var g=function(r,n,s,q,p){var o=(r.cross&&r.cross.lineWeight)||5;p.moveTo(n-q,s-o);p.lineTo(n-q,s+o);p.lineTo(n-o,s+o);p.lineTo(n-o,s+q);p.lineTo(n+o,s+q);p.lineTo(n+o,s+o);p.lineTo(n+q,s+o);p.lineTo(n+q,s-o);p.lineTo(n+o,s-o);p.lineTo(n+o,s-q);p.lineTo(n-o,s-q);p.lineTo(n-o,s-o)};m("cross",h(g),j(g));var e=function(o,t,s,v,n){var u=(o.equilateral&&o.equilateral.numPoints)||5;var p=((o.equilateral&&o.equilateral.rotate)||0)*Math.PI/180;var r=v;n.moveTo(t+r*Math.sin(p),s-r*Math.cos(p));for(var q=1;qg;g++)e.lineTo(b+Math.sin(f+2*Math.PI*g/4)*d,c-Math.cos(f+2*Math.PI*g/4)*d)};c("square",e(g),f(g));var h=function(a,b,c,d,e){e.arc(b,c,d,0,2*Math.PI,!0)};c("circle",e(h),f(h));var i=function(a,b,c,d,e){e.moveTo(b-d,c),e.lineTo(b,c-d),e.lineTo(b+d,c),e.lineTo(b,c+d)};c("diamond",e(i),f(i));var j=function(a,b,c,d,e){var f=a.cross&&a.cross.lineWeight||5;e.moveTo(b-d,c-f),e.lineTo(b-d,c+f),e.lineTo(b-f,c+f),e.lineTo(b-f,c+d),e.lineTo(b+f,c+d),e.lineTo(b+f,c+f),e.lineTo(b+d,c+f),e.lineTo(b+d,c-f),e.lineTo(b+f,c-f),e.lineTo(b+f,c-d),e.lineTo(b-f,c-d),e.lineTo(b-f,c-f)};c("cross",e(j),f(j));var k=function(a,b,c,d,e){var f=a.equilateral&&a.equilateral.numPoints||5,g=(a.equilateral&&a.equilateral.rotate||0)*Math.PI/180,h=d;e.moveTo(b+h*Math.sin(g),c-h*Math.cos(g));for(var i=1;f>i;i++)e.lineTo(b+Math.sin(g+2*Math.PI*i/f)*h,c-Math.cos(g+2*Math.PI*i/f)*h)};c("equilateral",e(k),f(k));var l=function(a,b,c,d,e){var f=a.star&&a.star.numPoints||5,g=a.star&&a.star.innerRatio||.5,h=d,i=d*g,j=Math.PI/f;e.moveTo(b,c-d);for(var k=0;f>k;k++)e.lineTo(b+Math.sin(j+2*Math.PI*k/f)*i,c-Math.cos(j+2*Math.PI*k/f)*i),e.lineTo(b+Math.sin(2*Math.PI*(k+1)/f)*h,c-Math.cos(2*Math.PI*(k+1)/f)*h)};c("star",e(l),f(l));var m=function(a,b,c,d,e,f){f.fillStyle="yellow",f.beginPath(),f.arc(b,c,d,1.25*Math.PI,0,!1),f.arc(b,c,d,0,.75*Math.PI,!1),f.lineTo(b,c),f.closePath(),f.fill(),f.fillStyle="white",f.strokeStyle="black",f.beginPath(),f.arc(b+d/3,c-d/3,d/4,0,2*Math.PI,!1),f.closePath(),f.fill(),f.stroke(),f.fillStyle="black",f.beginPath(),f.arc(b+4*d/9,c-d/3,d/8,0,2*Math.PI,!1),f.closePath(),f.fill()};c("pacman",m,null),this.ShapeLibrary={enumerate:d,version:"0.1"}}).call(this),function(a){"use strict";if("undefined"==typeof sigma)throw"sigma is not declared";if("undefined"==typeof ShapeLibrary)throw"ShapeLibrary is not declared";sigma.utils.pkg("sigma.canvas.nodes"),sigma.utils.pkg("sigma.svg.nodes");var b=a,c={},d=function(a){b=a},e=function(a,d,e,f,g){if(b&&a.image&&a.image.url){var h=a.image.url,i=a.image.h||1,j=a.image.w||1,k=a.image.scale||1,l=a.image.clip||1,m=c[h];m||(m=document.createElement("IMG"),m.src=h,m.status="loading",m.onerror=function(){/*console.log("error loading",h),*/m.status="error"},m.onload=function(){/*console.log("redraw on image load",h),*/m.status="ok",b.refresh()},c[h]=m);var n=i>j?j/i:1,o=j>i?i/j:1,p=f*k;g.save(),g.beginPath(),g.arc(d,e,f*l,0,2*Math.PI,!0),g.closePath(),g.clip(),"ok"===m.status&&g.drawImage(m,d+Math.sin(-0.7855)*p*n,e-Math.cos(-0.7855)*p*o,p*n*2*Math.sin(-0.7855)*-1,p*o*2*Math.cos(-0.7855)),g.restore()}},f=function(a,c,d){if(b&&a.image&&a.image.url){var e=document.createElementNS(d("xmlns"),"circle"),f=document.createElementNS(d("xmlns"),"clipPath"),g=d("classPrefix")+"-clip-path-"+a.id,h=document.createElementNS(d("xmlns"),"defs"),i=document.createElementNS(d("xmlns"),"image");a.image.url;f.setAttributeNS(null,"id",g),f.appendChild(e),h.appendChild(f);var j=/MSIE [5-9]/.test(navigator.userAgent)?"":document.location.href;j=j.split("#")[0],i.setAttributeNS(null,"class",d("classPrefix")+"-node-image"),i.setAttributeNS(null,"clip-path","url("+j+"#"+g+")"),i.setAttributeNS(null,"pointer-events","none"),i.setAttributeNS("http://www.w3.org/1999/xlink","href",a.image.url),c.appendChild(h),c.appendChild(i)}},g=function(a,b,c){sigma.canvas.nodes[a]=function(a,d,f){var g=(arguments,f("prefix")||""),h=a[g+"size"],i=a.color||f("defaultNodeColor"),j=a.borderColor||i,k=a[g+"x"],l=a[g+"y"];d.save(),b&&b(a,k,l,h,i,d),c&&c(a,k,l,h,j,d),e(a,k,l,h,d),d.restore()},sigma.svg.nodes[a]={create:function(a,b){var c=document.createElementNS(b("xmlns"),"g"),d=document.createElementNS(b("xmlns"),"circle");return c.setAttributeNS(null,"class",b("classPrefix")+"-node-group"),c.setAttributeNS(null,"data-node-id",a.id),d.setAttributeNS(null,"data-node-id",a.id),d.setAttributeNS(null,"class",b("classPrefix")+"-node"),d.setAttributeNS(null,"fill",a.color||b("defaultNodeColor")),c.appendChild(d),f(a,c,b),c},update:function(a,b,c){for(var d=c("classPrefix"),e=a.image.clip||1,f=a.image.h||1,g=a.image.w||1,h=c("prefix")||"",i=a.image.scale||1,j=a[h+"size"],k=a[h+"x"],l=a[h+"y"],m=i*j,n=f>g?g/f:1,o=g>f?f/g:1,p=0,q=b.childNodes;p>>2]|=(e[k>>>2]>>>24-8*(k%4)&255)<<24-8*((j+k)%4);else if(65535>>2]=e[k>>>2];else c.push.apply(c,e);this.sigBytes+=a;return this},clamp:function(){var a=this.words,c=this.sigBytes;a[c>>>2]&=4294967295<< -32-8*(c%4);a.length=u.ceil(c/4)},clone:function(){var a=t.clone.call(this);a.words=this.words.slice(0);return a},random:function(a){for(var c=[],e=0;e>>2]>>>24-8*(j%4)&255;e.push((k>>>4).toString(16));e.push((k&15).toString(16))}return e.join("")},parse:function(a){for(var c=a.length,e=[],j=0;j>>3]|=parseInt(a.substr(j, -2),16)<<24-4*(j%8);return new r.init(e,c/2)}},b=w.Latin1={stringify:function(a){var c=a.words;a=a.sigBytes;for(var e=[],j=0;j>>2]>>>24-8*(j%4)&255));return e.join("")},parse:function(a){for(var c=a.length,e=[],j=0;j>>2]|=(a.charCodeAt(j)&255)<<24-8*(j%4);return new r.init(e,c)}},x=w.Utf8={stringify:function(a){try{return decodeURIComponent(escape(b.stringify(a)))}catch(c){throw Error("Malformed UTF-8 data");}},parse:function(a){return b.parse(unescape(encodeURIComponent(a)))}}, -q=l.BufferedBlockAlgorithm=t.extend({reset:function(){this._data=new r.init;this._nDataBytes=0},_append:function(a){"string"==typeof a&&(a=x.parse(a));this._data.concat(a);this._nDataBytes+=a.sigBytes},_process:function(a){var c=this._data,e=c.words,j=c.sigBytes,k=this.blockSize,b=j/(4*k),b=a?u.ceil(b):u.max((b|0)-this._minBufferSize,0);a=b*k;j=u.min(4*a,j);if(a){for(var q=0;q>>2]>>>24-8*(r%4)&255)<<16|(l[r+1>>>2]>>>24-8*((r+1)%4)&255)<<8|l[r+2>>>2]>>>24-8*((r+2)%4)&255,v=0;4>v&&r+0.75*v>>6*(3-v)&63));if(l=t.charAt(64))for(;d.length%4;)d.push(l);return d.join("")},parse:function(d){var l=d.length,s=this._map,t=s.charAt(64);t&&(t=d.indexOf(t),-1!=t&&(l=t));for(var t=[],r=0,w=0;w< -l;w++)if(w%4){var v=s.indexOf(d.charAt(w-1))<<2*(w%4),b=s.indexOf(d.charAt(w))>>>6-2*(w%4);t[r>>>2]|=(v|b)<<24-8*(r%4);r++}return p.create(t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}})(); -(function(u){function p(b,n,a,c,e,j,k){b=b+(n&a|~n&c)+e+k;return(b<>>32-j)+n}function d(b,n,a,c,e,j,k){b=b+(n&c|a&~c)+e+k;return(b<>>32-j)+n}function l(b,n,a,c,e,j,k){b=b+(n^a^c)+e+k;return(b<>>32-j)+n}function s(b,n,a,c,e,j,k){b=b+(a^(n|~c))+e+k;return(b<>>32-j)+n}for(var t=CryptoJS,r=t.lib,w=r.WordArray,v=r.Hasher,r=t.algo,b=[],x=0;64>x;x++)b[x]=4294967296*u.abs(u.sin(x+1))|0;r=r.MD5=v.extend({_doReset:function(){this._hash=new w.init([1732584193,4023233417,2562383102,271733878])}, -_doProcessBlock:function(q,n){for(var a=0;16>a;a++){var c=n+a,e=q[c];q[c]=(e<<8|e>>>24)&16711935|(e<<24|e>>>8)&4278255360}var a=this._hash.words,c=q[n+0],e=q[n+1],j=q[n+2],k=q[n+3],z=q[n+4],r=q[n+5],t=q[n+6],w=q[n+7],v=q[n+8],A=q[n+9],B=q[n+10],C=q[n+11],u=q[n+12],D=q[n+13],E=q[n+14],x=q[n+15],f=a[0],m=a[1],g=a[2],h=a[3],f=p(f,m,g,h,c,7,b[0]),h=p(h,f,m,g,e,12,b[1]),g=p(g,h,f,m,j,17,b[2]),m=p(m,g,h,f,k,22,b[3]),f=p(f,m,g,h,z,7,b[4]),h=p(h,f,m,g,r,12,b[5]),g=p(g,h,f,m,t,17,b[6]),m=p(m,g,h,f,w,22,b[7]), -f=p(f,m,g,h,v,7,b[8]),h=p(h,f,m,g,A,12,b[9]),g=p(g,h,f,m,B,17,b[10]),m=p(m,g,h,f,C,22,b[11]),f=p(f,m,g,h,u,7,b[12]),h=p(h,f,m,g,D,12,b[13]),g=p(g,h,f,m,E,17,b[14]),m=p(m,g,h,f,x,22,b[15]),f=d(f,m,g,h,e,5,b[16]),h=d(h,f,m,g,t,9,b[17]),g=d(g,h,f,m,C,14,b[18]),m=d(m,g,h,f,c,20,b[19]),f=d(f,m,g,h,r,5,b[20]),h=d(h,f,m,g,B,9,b[21]),g=d(g,h,f,m,x,14,b[22]),m=d(m,g,h,f,z,20,b[23]),f=d(f,m,g,h,A,5,b[24]),h=d(h,f,m,g,E,9,b[25]),g=d(g,h,f,m,k,14,b[26]),m=d(m,g,h,f,v,20,b[27]),f=d(f,m,g,h,D,5,b[28]),h=d(h,f, -m,g,j,9,b[29]),g=d(g,h,f,m,w,14,b[30]),m=d(m,g,h,f,u,20,b[31]),f=l(f,m,g,h,r,4,b[32]),h=l(h,f,m,g,v,11,b[33]),g=l(g,h,f,m,C,16,b[34]),m=l(m,g,h,f,E,23,b[35]),f=l(f,m,g,h,e,4,b[36]),h=l(h,f,m,g,z,11,b[37]),g=l(g,h,f,m,w,16,b[38]),m=l(m,g,h,f,B,23,b[39]),f=l(f,m,g,h,D,4,b[40]),h=l(h,f,m,g,c,11,b[41]),g=l(g,h,f,m,k,16,b[42]),m=l(m,g,h,f,t,23,b[43]),f=l(f,m,g,h,A,4,b[44]),h=l(h,f,m,g,u,11,b[45]),g=l(g,h,f,m,x,16,b[46]),m=l(m,g,h,f,j,23,b[47]),f=s(f,m,g,h,c,6,b[48]),h=s(h,f,m,g,w,10,b[49]),g=s(g,h,f,m, -E,15,b[50]),m=s(m,g,h,f,r,21,b[51]),f=s(f,m,g,h,u,6,b[52]),h=s(h,f,m,g,k,10,b[53]),g=s(g,h,f,m,B,15,b[54]),m=s(m,g,h,f,e,21,b[55]),f=s(f,m,g,h,v,6,b[56]),h=s(h,f,m,g,x,10,b[57]),g=s(g,h,f,m,t,15,b[58]),m=s(m,g,h,f,D,21,b[59]),f=s(f,m,g,h,z,6,b[60]),h=s(h,f,m,g,C,10,b[61]),g=s(g,h,f,m,j,15,b[62]),m=s(m,g,h,f,A,21,b[63]);a[0]=a[0]+f|0;a[1]=a[1]+m|0;a[2]=a[2]+g|0;a[3]=a[3]+h|0},_doFinalize:function(){var b=this._data,n=b.words,a=8*this._nDataBytes,c=8*b.sigBytes;n[c>>>5]|=128<<24-c%32;var e=u.floor(a/ -4294967296);n[(c+64>>>9<<4)+15]=(e<<8|e>>>24)&16711935|(e<<24|e>>>8)&4278255360;n[(c+64>>>9<<4)+14]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360;b.sigBytes=4*(n.length+1);this._process();b=this._hash;n=b.words;for(a=0;4>a;a++)c=n[a],n[a]=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360;return b},clone:function(){var b=v.clone.call(this);b._hash=this._hash.clone();return b}});t.MD5=v._createHelper(r);t.HmacMD5=v._createHmacHelper(r)})(Math); -(function(){var u=CryptoJS,p=u.lib,d=p.Base,l=p.WordArray,p=u.algo,s=p.EvpKDF=d.extend({cfg:d.extend({keySize:4,hasher:p.MD5,iterations:1}),init:function(d){this.cfg=this.cfg.extend(d)},compute:function(d,r){for(var p=this.cfg,s=p.hasher.create(),b=l.create(),u=b.words,q=p.keySize,p=p.iterations;u.length>>2]&255}};d.BlockCipher=v.extend({cfg:v.cfg.extend({mode:b,padding:q}),reset:function(){v.reset.call(this);var a=this.cfg,b=a.iv,a=a.mode;if(this._xformMode==this._ENC_XFORM_MODE)var c=a.createEncryptor;else c=a.createDecryptor,this._minBufferSize=1;this._mode=c.call(a, -this,b&&b.words)},_doProcessBlock:function(a,b){this._mode.processBlock(a,b)},_doFinalize:function(){var a=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){a.pad(this._data,this.blockSize);var b=this._process(!0)}else b=this._process(!0),a.unpad(b);return b},blockSize:4});var n=d.CipherParams=l.extend({init:function(a){this.mixIn(a)},toString:function(a){return(a||this.formatter).stringify(this)}}),b=(p.format={}).OpenSSL={stringify:function(a){var b=a.ciphertext;a=a.salt;return(a?s.create([1398893684, -1701076831]).concat(a).concat(b):b).toString(r)},parse:function(a){a=r.parse(a);var b=a.words;if(1398893684==b[0]&&1701076831==b[1]){var c=s.create(b.slice(2,4));b.splice(0,4);a.sigBytes-=16}return n.create({ciphertext:a,salt:c})}},a=d.SerializableCipher=l.extend({cfg:l.extend({format:b}),encrypt:function(a,b,c,d){d=this.cfg.extend(d);var l=a.createEncryptor(c,d);b=l.finalize(b);l=l.cfg;return n.create({ciphertext:b,key:c,iv:l.iv,algorithm:a,mode:l.mode,padding:l.padding,blockSize:a.blockSize,formatter:d.format})}, -decrypt:function(a,b,c,d){d=this.cfg.extend(d);b=this._parse(b,d.format);return a.createDecryptor(c,d).finalize(b.ciphertext)},_parse:function(a,b){return"string"==typeof a?b.parse(a,this):a}}),p=(p.kdf={}).OpenSSL={execute:function(a,b,c,d){d||(d=s.random(8));a=w.create({keySize:b+c}).compute(a,d);c=s.create(a.words.slice(b),4*c);a.sigBytes=4*b;return n.create({key:a,iv:c,salt:d})}},c=d.PasswordBasedCipher=a.extend({cfg:a.cfg.extend({kdf:p}),encrypt:function(b,c,d,l){l=this.cfg.extend(l);d=l.kdf.execute(d, -b.keySize,b.ivSize);l.iv=d.iv;b=a.encrypt.call(this,b,c,d.key,l);b.mixIn(d);return b},decrypt:function(b,c,d,l){l=this.cfg.extend(l);c=this._parse(c,l.format);d=l.kdf.execute(d,b.keySize,b.ivSize,c.salt);l.iv=d.iv;return a.decrypt.call(this,b,c,d.key,l)}})}(); -(function(){for(var u=CryptoJS,p=u.lib.BlockCipher,d=u.algo,l=[],s=[],t=[],r=[],w=[],v=[],b=[],x=[],q=[],n=[],a=[],c=0;256>c;c++)a[c]=128>c?c<<1:c<<1^283;for(var e=0,j=0,c=0;256>c;c++){var k=j^j<<1^j<<2^j<<3^j<<4,k=k>>>8^k&255^99;l[e]=k;s[k]=e;var z=a[e],F=a[z],G=a[F],y=257*a[k]^16843008*k;t[e]=y<<24|y>>>8;r[e]=y<<16|y>>>16;w[e]=y<<8|y>>>24;v[e]=y;y=16843009*G^65537*F^257*z^16843008*e;b[k]=y<<24|y>>>8;x[k]=y<<16|y>>>16;q[k]=y<<8|y>>>24;n[k]=y;e?(e=z^a[a[a[G^z]]],j^=a[a[j]]):e=j=1}var H=[0,1,2,4,8, -16,32,64,128,27,54],d=d.AES=p.extend({_doReset:function(){for(var a=this._key,c=a.words,d=a.sigBytes/4,a=4*((this._nRounds=d+6)+1),e=this._keySchedule=[],j=0;j>>24]<<24|l[k>>>16&255]<<16|l[k>>>8&255]<<8|l[k&255]):(k=k<<8|k>>>24,k=l[k>>>24]<<24|l[k>>>16&255]<<16|l[k>>>8&255]<<8|l[k&255],k^=H[j/d|0]<<24);e[j]=e[j-d]^k}c=this._invKeySchedule=[];for(d=0;dd||4>=j?k:b[l[k>>>24]]^x[l[k>>>16&255]]^q[l[k>>> -8&255]]^n[l[k&255]]},encryptBlock:function(a,b){this._doCryptBlock(a,b,this._keySchedule,t,r,w,v,l)},decryptBlock:function(a,c){var d=a[c+1];a[c+1]=a[c+3];a[c+3]=d;this._doCryptBlock(a,c,this._invKeySchedule,b,x,q,n,s);d=a[c+1];a[c+1]=a[c+3];a[c+3]=d},_doCryptBlock:function(a,b,c,d,e,j,l,f){for(var m=this._nRounds,g=a[b]^c[0],h=a[b+1]^c[1],k=a[b+2]^c[2],n=a[b+3]^c[3],p=4,r=1;r>>24]^e[h>>>16&255]^j[k>>>8&255]^l[n&255]^c[p++],s=d[h>>>24]^e[k>>>16&255]^j[n>>>8&255]^l[g&255]^c[p++],t= -d[k>>>24]^e[n>>>16&255]^j[g>>>8&255]^l[h&255]^c[p++],n=d[n>>>24]^e[g>>>16&255]^j[h>>>8&255]^l[k&255]^c[p++],g=q,h=s,k=t;q=(f[g>>>24]<<24|f[h>>>16&255]<<16|f[k>>>8&255]<<8|f[n&255])^c[p++];s=(f[h>>>24]<<24|f[k>>>16&255]<<16|f[n>>>8&255]<<8|f[g&255])^c[p++];t=(f[k>>>24]<<24|f[n>>>16&255]<<16|f[g>>>8&255]<<8|f[h&255])^c[p++];n=(f[n>>>24]<<24|f[g>>>16&255]<<16|f[h>>>8&255]<<8|f[k&255])^c[p++];a[b]=q;a[b+1]=s;a[b+2]=t;a[b+3]=n},keySize:8});u.AES=p._createHelper(d)})(); +/* + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +var CryptoJS=CryptoJS||function(u,p){var d={},l=d.lib={},s=function(){},t=l.Base={extend:function(a){s.prototype=this;var c=new s;a&&c.mixIn(a);c.hasOwnProperty("init")||(c.init=function(){c.$super.init.apply(this,arguments)});c.init.prototype=c;c.$super=this;return c},create:function(){var a=this.extend();a.init.apply(a,arguments);return a},init:function(){},mixIn:function(a){for(var c in a)a.hasOwnProperty(c)&&(this[c]=a[c]);a.hasOwnProperty("toString")&&(this.toString=a.toString)},clone:function(){return this.init.prototype.extend(this)}}, +r=l.WordArray=t.extend({init:function(a,c){a=this.words=a||[];this.sigBytes=c!=p?c:4*a.length},toString:function(a){return(a||v).stringify(this)},concat:function(a){var c=this.words,e=a.words,j=this.sigBytes;a=a.sigBytes;this.clamp();if(j%4)for(var k=0;k>>2]|=(e[k>>>2]>>>24-8*(k%4)&255)<<24-8*((j+k)%4);else if(65535>>2]=e[k>>>2];else c.push.apply(c,e);this.sigBytes+=a;return this},clamp:function(){var a=this.words,c=this.sigBytes;a[c>>>2]&=4294967295<< +32-8*(c%4);a.length=u.ceil(c/4)},clone:function(){var a=t.clone.call(this);a.words=this.words.slice(0);return a},random:function(a){for(var c=[],e=0;e>>2]>>>24-8*(j%4)&255;e.push((k>>>4).toString(16));e.push((k&15).toString(16))}return e.join("")},parse:function(a){for(var c=a.length,e=[],j=0;j>>3]|=parseInt(a.substr(j, +2),16)<<24-4*(j%8);return new r.init(e,c/2)}},b=w.Latin1={stringify:function(a){var c=a.words;a=a.sigBytes;for(var e=[],j=0;j>>2]>>>24-8*(j%4)&255));return e.join("")},parse:function(a){for(var c=a.length,e=[],j=0;j>>2]|=(a.charCodeAt(j)&255)<<24-8*(j%4);return new r.init(e,c)}},x=w.Utf8={stringify:function(a){try{return decodeURIComponent(escape(b.stringify(a)))}catch(c){throw Error("Malformed UTF-8 data");}},parse:function(a){return b.parse(unescape(encodeURIComponent(a)))}}, +q=l.BufferedBlockAlgorithm=t.extend({reset:function(){this._data=new r.init;this._nDataBytes=0},_append:function(a){"string"==typeof a&&(a=x.parse(a));this._data.concat(a);this._nDataBytes+=a.sigBytes},_process:function(a){var c=this._data,e=c.words,j=c.sigBytes,k=this.blockSize,b=j/(4*k),b=a?u.ceil(b):u.max((b|0)-this._minBufferSize,0);a=b*k;j=u.min(4*a,j);if(a){for(var q=0;q>>2]>>>24-8*(r%4)&255)<<16|(l[r+1>>>2]>>>24-8*((r+1)%4)&255)<<8|l[r+2>>>2]>>>24-8*((r+2)%4)&255,v=0;4>v&&r+0.75*v>>6*(3-v)&63));if(l=t.charAt(64))for(;d.length%4;)d.push(l);return d.join("")},parse:function(d){var l=d.length,s=this._map,t=s.charAt(64);t&&(t=d.indexOf(t),-1!=t&&(l=t));for(var t=[],r=0,w=0;w< +l;w++)if(w%4){var v=s.indexOf(d.charAt(w-1))<<2*(w%4),b=s.indexOf(d.charAt(w))>>>6-2*(w%4);t[r>>>2]|=(v|b)<<24-8*(r%4);r++}return p.create(t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}})(); +(function(u){function p(b,n,a,c,e,j,k){b=b+(n&a|~n&c)+e+k;return(b<>>32-j)+n}function d(b,n,a,c,e,j,k){b=b+(n&c|a&~c)+e+k;return(b<>>32-j)+n}function l(b,n,a,c,e,j,k){b=b+(n^a^c)+e+k;return(b<>>32-j)+n}function s(b,n,a,c,e,j,k){b=b+(a^(n|~c))+e+k;return(b<>>32-j)+n}for(var t=CryptoJS,r=t.lib,w=r.WordArray,v=r.Hasher,r=t.algo,b=[],x=0;64>x;x++)b[x]=4294967296*u.abs(u.sin(x+1))|0;r=r.MD5=v.extend({_doReset:function(){this._hash=new w.init([1732584193,4023233417,2562383102,271733878])}, +_doProcessBlock:function(q,n){for(var a=0;16>a;a++){var c=n+a,e=q[c];q[c]=(e<<8|e>>>24)&16711935|(e<<24|e>>>8)&4278255360}var a=this._hash.words,c=q[n+0],e=q[n+1],j=q[n+2],k=q[n+3],z=q[n+4],r=q[n+5],t=q[n+6],w=q[n+7],v=q[n+8],A=q[n+9],B=q[n+10],C=q[n+11],u=q[n+12],D=q[n+13],E=q[n+14],x=q[n+15],f=a[0],m=a[1],g=a[2],h=a[3],f=p(f,m,g,h,c,7,b[0]),h=p(h,f,m,g,e,12,b[1]),g=p(g,h,f,m,j,17,b[2]),m=p(m,g,h,f,k,22,b[3]),f=p(f,m,g,h,z,7,b[4]),h=p(h,f,m,g,r,12,b[5]),g=p(g,h,f,m,t,17,b[6]),m=p(m,g,h,f,w,22,b[7]), +f=p(f,m,g,h,v,7,b[8]),h=p(h,f,m,g,A,12,b[9]),g=p(g,h,f,m,B,17,b[10]),m=p(m,g,h,f,C,22,b[11]),f=p(f,m,g,h,u,7,b[12]),h=p(h,f,m,g,D,12,b[13]),g=p(g,h,f,m,E,17,b[14]),m=p(m,g,h,f,x,22,b[15]),f=d(f,m,g,h,e,5,b[16]),h=d(h,f,m,g,t,9,b[17]),g=d(g,h,f,m,C,14,b[18]),m=d(m,g,h,f,c,20,b[19]),f=d(f,m,g,h,r,5,b[20]),h=d(h,f,m,g,B,9,b[21]),g=d(g,h,f,m,x,14,b[22]),m=d(m,g,h,f,z,20,b[23]),f=d(f,m,g,h,A,5,b[24]),h=d(h,f,m,g,E,9,b[25]),g=d(g,h,f,m,k,14,b[26]),m=d(m,g,h,f,v,20,b[27]),f=d(f,m,g,h,D,5,b[28]),h=d(h,f, +m,g,j,9,b[29]),g=d(g,h,f,m,w,14,b[30]),m=d(m,g,h,f,u,20,b[31]),f=l(f,m,g,h,r,4,b[32]),h=l(h,f,m,g,v,11,b[33]),g=l(g,h,f,m,C,16,b[34]),m=l(m,g,h,f,E,23,b[35]),f=l(f,m,g,h,e,4,b[36]),h=l(h,f,m,g,z,11,b[37]),g=l(g,h,f,m,w,16,b[38]),m=l(m,g,h,f,B,23,b[39]),f=l(f,m,g,h,D,4,b[40]),h=l(h,f,m,g,c,11,b[41]),g=l(g,h,f,m,k,16,b[42]),m=l(m,g,h,f,t,23,b[43]),f=l(f,m,g,h,A,4,b[44]),h=l(h,f,m,g,u,11,b[45]),g=l(g,h,f,m,x,16,b[46]),m=l(m,g,h,f,j,23,b[47]),f=s(f,m,g,h,c,6,b[48]),h=s(h,f,m,g,w,10,b[49]),g=s(g,h,f,m, +E,15,b[50]),m=s(m,g,h,f,r,21,b[51]),f=s(f,m,g,h,u,6,b[52]),h=s(h,f,m,g,k,10,b[53]),g=s(g,h,f,m,B,15,b[54]),m=s(m,g,h,f,e,21,b[55]),f=s(f,m,g,h,v,6,b[56]),h=s(h,f,m,g,x,10,b[57]),g=s(g,h,f,m,t,15,b[58]),m=s(m,g,h,f,D,21,b[59]),f=s(f,m,g,h,z,6,b[60]),h=s(h,f,m,g,C,10,b[61]),g=s(g,h,f,m,j,15,b[62]),m=s(m,g,h,f,A,21,b[63]);a[0]=a[0]+f|0;a[1]=a[1]+m|0;a[2]=a[2]+g|0;a[3]=a[3]+h|0},_doFinalize:function(){var b=this._data,n=b.words,a=8*this._nDataBytes,c=8*b.sigBytes;n[c>>>5]|=128<<24-c%32;var e=u.floor(a/ +4294967296);n[(c+64>>>9<<4)+15]=(e<<8|e>>>24)&16711935|(e<<24|e>>>8)&4278255360;n[(c+64>>>9<<4)+14]=(a<<8|a>>>24)&16711935|(a<<24|a>>>8)&4278255360;b.sigBytes=4*(n.length+1);this._process();b=this._hash;n=b.words;for(a=0;4>a;a++)c=n[a],n[a]=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360;return b},clone:function(){var b=v.clone.call(this);b._hash=this._hash.clone();return b}});t.MD5=v._createHelper(r);t.HmacMD5=v._createHmacHelper(r)})(Math); +(function(){var u=CryptoJS,p=u.lib,d=p.Base,l=p.WordArray,p=u.algo,s=p.EvpKDF=d.extend({cfg:d.extend({keySize:4,hasher:p.MD5,iterations:1}),init:function(d){this.cfg=this.cfg.extend(d)},compute:function(d,r){for(var p=this.cfg,s=p.hasher.create(),b=l.create(),u=b.words,q=p.keySize,p=p.iterations;u.length>>2]&255}};d.BlockCipher=v.extend({cfg:v.cfg.extend({mode:b,padding:q}),reset:function(){v.reset.call(this);var a=this.cfg,b=a.iv,a=a.mode;if(this._xformMode==this._ENC_XFORM_MODE)var c=a.createEncryptor;else c=a.createDecryptor,this._minBufferSize=1;this._mode=c.call(a, +this,b&&b.words)},_doProcessBlock:function(a,b){this._mode.processBlock(a,b)},_doFinalize:function(){var a=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){a.pad(this._data,this.blockSize);var b=this._process(!0)}else b=this._process(!0),a.unpad(b);return b},blockSize:4});var n=d.CipherParams=l.extend({init:function(a){this.mixIn(a)},toString:function(a){return(a||this.formatter).stringify(this)}}),b=(p.format={}).OpenSSL={stringify:function(a){var b=a.ciphertext;a=a.salt;return(a?s.create([1398893684, +1701076831]).concat(a).concat(b):b).toString(r)},parse:function(a){a=r.parse(a);var b=a.words;if(1398893684==b[0]&&1701076831==b[1]){var c=s.create(b.slice(2,4));b.splice(0,4);a.sigBytes-=16}return n.create({ciphertext:a,salt:c})}},a=d.SerializableCipher=l.extend({cfg:l.extend({format:b}),encrypt:function(a,b,c,d){d=this.cfg.extend(d);var l=a.createEncryptor(c,d);b=l.finalize(b);l=l.cfg;return n.create({ciphertext:b,key:c,iv:l.iv,algorithm:a,mode:l.mode,padding:l.padding,blockSize:a.blockSize,formatter:d.format})}, +decrypt:function(a,b,c,d){d=this.cfg.extend(d);b=this._parse(b,d.format);return a.createDecryptor(c,d).finalize(b.ciphertext)},_parse:function(a,b){return"string"==typeof a?b.parse(a,this):a}}),p=(p.kdf={}).OpenSSL={execute:function(a,b,c,d){d||(d=s.random(8));a=w.create({keySize:b+c}).compute(a,d);c=s.create(a.words.slice(b),4*c);a.sigBytes=4*b;return n.create({key:a,iv:c,salt:d})}},c=d.PasswordBasedCipher=a.extend({cfg:a.cfg.extend({kdf:p}),encrypt:function(b,c,d,l){l=this.cfg.extend(l);d=l.kdf.execute(d, +b.keySize,b.ivSize);l.iv=d.iv;b=a.encrypt.call(this,b,c,d.key,l);b.mixIn(d);return b},decrypt:function(b,c,d,l){l=this.cfg.extend(l);c=this._parse(c,l.format);d=l.kdf.execute(d,b.keySize,b.ivSize,c.salt);l.iv=d.iv;return a.decrypt.call(this,b,c,d.key,l)}})}(); +(function(){for(var u=CryptoJS,p=u.lib.BlockCipher,d=u.algo,l=[],s=[],t=[],r=[],w=[],v=[],b=[],x=[],q=[],n=[],a=[],c=0;256>c;c++)a[c]=128>c?c<<1:c<<1^283;for(var e=0,j=0,c=0;256>c;c++){var k=j^j<<1^j<<2^j<<3^j<<4,k=k>>>8^k&255^99;l[e]=k;s[k]=e;var z=a[e],F=a[z],G=a[F],y=257*a[k]^16843008*k;t[e]=y<<24|y>>>8;r[e]=y<<16|y>>>16;w[e]=y<<8|y>>>24;v[e]=y;y=16843009*G^65537*F^257*z^16843008*e;b[k]=y<<24|y>>>8;x[k]=y<<16|y>>>16;q[k]=y<<8|y>>>24;n[k]=y;e?(e=z^a[a[a[G^z]]],j^=a[a[j]]):e=j=1}var H=[0,1,2,4,8, +16,32,64,128,27,54],d=d.AES=p.extend({_doReset:function(){for(var a=this._key,c=a.words,d=a.sigBytes/4,a=4*((this._nRounds=d+6)+1),e=this._keySchedule=[],j=0;j>>24]<<24|l[k>>>16&255]<<16|l[k>>>8&255]<<8|l[k&255]):(k=k<<8|k>>>24,k=l[k>>>24]<<24|l[k>>>16&255]<<16|l[k>>>8&255]<<8|l[k&255],k^=H[j/d|0]<<24);e[j]=e[j-d]^k}c=this._invKeySchedule=[];for(d=0;dd||4>=j?k:b[l[k>>>24]]^x[l[k>>>16&255]]^q[l[k>>> +8&255]]^n[l[k&255]]},encryptBlock:function(a,b){this._doCryptBlock(a,b,this._keySchedule,t,r,w,v,l)},decryptBlock:function(a,c){var d=a[c+1];a[c+1]=a[c+3];a[c+3]=d;this._doCryptBlock(a,c,this._invKeySchedule,b,x,q,n,s);d=a[c+1];a[c+1]=a[c+3];a[c+3]=d},_doCryptBlock:function(a,b,c,d,e,j,l,f){for(var m=this._nRounds,g=a[b]^c[0],h=a[b+1]^c[1],k=a[b+2]^c[2],n=a[b+3]^c[3],p=4,r=1;r>>24]^e[h>>>16&255]^j[k>>>8&255]^l[n&255]^c[p++],s=d[h>>>24]^e[k>>>16&255]^j[n>>>8&255]^l[g&255]^c[p++],t= +d[k>>>24]^e[n>>>16&255]^j[g>>>8&255]^l[h&255]^c[p++],n=d[n>>>24]^e[g>>>16&255]^j[h>>>8&255]^l[k&255]^c[p++],g=q,h=s,k=t;q=(f[g>>>24]<<24|f[h>>>16&255]<<16|f[k>>>8&255]<<8|f[n&255])^c[p++];s=(f[h>>>24]<<24|f[k>>>16&255]<<16|f[n>>>8&255]<<8|f[g&255])^c[p++];t=(f[k>>>24]<<24|f[n>>>16&255]<<16|f[g>>>8&255]<<8|f[h&255])^c[p++];n=(f[n>>>24]<<24|f[g>>>16&255]<<16|f[h>>>8&255]<<8|f[k&255])^c[p++];a[b]=q;a[b+1]=s;a[b+2]=t;a[b+3]=n},keySize:8});u.AES=p._createHelper(d)})(); diff --git a/openo-portal/portal-common/src/main/webapp/common/js/security/framework-util.js b/openo-portal/portal-common/src/main/webapp/common/js/security/framework-util.js index 8939a281..cd638243 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/security/framework-util.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/security/framework-util.js @@ -1,38 +1,38 @@ -/* - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -function ict_framework_func1(word){ - var a1 = CryptoJS.enc.Utf8.parse(ict_framework_aes_a1); - var a2 = CryptoJS.enc.Utf8.parse(ict_framework_aes_a2); - var srcs = CryptoJS.enc.Utf8.parse(word); - var encrypted = CryptoJS.AES.encrypt(srcs, a1, { iv: a2,mode:CryptoJS.mode.CBC}); - return encrypted.toString(); -} - -function ict_framework_func2(word){ - var a1 = CryptoJS.enc.Utf8.parse(ict_framework_aes_a1); - var a2 = CryptoJS.enc.Utf8.parse(ict_framework_aes_a2); - var decrypt = CryptoJS.AES.decrypt(word, a1, { iv: a2,mode:CryptoJS.mode.CBC}); - return CryptoJS.enc.Utf8.stringify(decrypt).toString(); -} - - - - - - - -var ict_framework_aes_a1 = "9763853428462486"; +/* + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +function ict_framework_func1(word){ + var a1 = CryptoJS.enc.Utf8.parse(ict_framework_aes_a1); + var a2 = CryptoJS.enc.Utf8.parse(ict_framework_aes_a2); + var srcs = CryptoJS.enc.Utf8.parse(word); + var encrypted = CryptoJS.AES.encrypt(srcs, a1, { iv: a2,mode:CryptoJS.mode.CBC}); + return encrypted.toString(); +} + +function ict_framework_func2(word){ + var a1 = CryptoJS.enc.Utf8.parse(ict_framework_aes_a1); + var a2 = CryptoJS.enc.Utf8.parse(ict_framework_aes_a2); + var decrypt = CryptoJS.AES.decrypt(word, a1, { iv: a2,mode:CryptoJS.mode.CBC}); + return CryptoJS.enc.Utf8.stringify(decrypt).toString(); +} + + + + + + + +var ict_framework_aes_a1 = "9763853428462486"; var ict_framework_aes_a2 = "9763853428462486"; \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/js/security/security.js b/openo-portal/portal-common/src/main/webapp/common/js/security/security.js index f6ae4d05..3f513b02 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/security/security.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/security/security.js @@ -1,127 +1,127 @@ -/* - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -var ErrResult_LOGIN_SUCCESS = 0; -var ErrResult_LOGIN_FAILURE = 4; -var ErrResult_LOGIN_SUCCESS_WARN = 1; -var ErrResult_LOGIN_SUCCESS_PASSWORD_WARN = 2; -var ErrResult_LOGIN_SUCCESS_PASSWORD_MUSTCHANGE = 3; -var ErrResult_LOGIN_SERV_ERROR = -1; - -function processLoginResult(data,params){ - if(data.home="web/res/web-framework/index.html"||data.home.indexOf("index.html")>0){ - data.home=FrameConst.DEFAULT_PAGE; - //下面这部分是为了演示需要临时增加的自动切换 - /*if(params.username=="admin1"){ - data.home="/web/res/web-framework/default.html?menu=1"; - }else if(params.username=="admin2"){ - data.home="/web/res/web-framework/default.html?menu=2"; - }else if(params.username=="admin3"){ - data.home="/web/res/web-framework/default.html?menu=3"; - }else if(params.username=="admin4"){ - data.home="/web/res/web-framework/default.html?menu=4"; - }else if(params.username=="admin5"){ - data.home="/web/res/web-framework/default.html?menu=5"; - }else if(params.username=="admin6"){ - data.home="/web/res/web-framework/default.html?menu=6"; - }else if(params.username=="admin7"){ - data.home="/web/res/web-framework/default.html?menu=7"; - }*/ - } - var toHomePage = function(){ - location.href = data.home; - } - - var loginHander = function(inParams){ - if(inParams != undefined){ - login(inParams); - } - else{ - login(params); - } - } - - var errors = data.detail; - if(data.result == 0){ - store('username',params.username); - if(errors){ - if(errors.code==ErrResult_LOGIN_SUCCESS_PASSWORD_WARN){ - - com_zte_ums_aos_portal_PasswordDialog.create({ - ID : "LOGIN_MODIFY_PASSWORD", - username : params.username, - oldPassword : ict_framework_func2(params.password), - descLabel : errors[ErrResult_LOGIN_SUCCESS_PASSWORD_WARN], - cancelHander : toHomePage, - confirmHander : toHomePage - }); - LOGIN_MODIFY_PASSWORD.show(); - } - else if(errors.code==ErrResult_LOGIN_SUCCESS_WARN){ - window.alert(errors[ErrResult_LOGIN_SUCCESS_WARN],toHomePage); - } - else { - location.href = data.home; - } - } - else { - location.href = data.home; - } - } - else { - if(errors.code==ErrResult_LOGIN_SUCCESS_PASSWORD_MUSTCHANGE){ - com_zte_ums_aos_portal_PasswordDialog.create({ - ID : "LOGIN_MODIFY_PASSWORD", - username : params.username, - oldPassword : ict_framework_func2(params.password), - descLabel : errors[ErrResult_LOGIN_SUCCESS_PASSWORD_MUSTCHANGE], - confirmHander : loginHander - - }); - LOGIN_MODIFY_PASSWORD.show(); - } - else if(errors.code==ErrResult_LOGIN_FAILURE){ - $("#nameOrpwdError").addClass('alert-danger'); - $("#com_zte_ums_ict_portal_login_userPassword").html(errors[ErrResult_LOGIN_FAILURE]); - var tip = $("#nameOrpwdError"); - if (tip.attr("tipstatus") == "normal") { - tip.show(); - } else if (tip.attr("tipstatus") == "close") { - tip.attr("tipstatus", "normal"); - } - // if(0 < $("#inputPassword").length){ - // $("#inputPassword")[0].value = ""; - // } - } - else if(errors.code==ErrResult_LOGIN_SERV_ERROR){ - $("#loginConnError").addClass('alert-danger'); - var tip = $("#loginConnError"); - if (tip.attr("tipstatus") == "normal") { - tip.show(); - } else if (tip.attr("tipstatus") == "close") { - tip.attr("tipstatus", "normal"); - } - } - } -} -function login(params){ - $.post("login",{ - username : params.username, - password : params.password, - isEncypted:true - },function(data){ - processLoginResult(data,params); - },"json"); -} +/* + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +var ErrResult_LOGIN_SUCCESS = 0; +var ErrResult_LOGIN_FAILURE = 4; +var ErrResult_LOGIN_SUCCESS_WARN = 1; +var ErrResult_LOGIN_SUCCESS_PASSWORD_WARN = 2; +var ErrResult_LOGIN_SUCCESS_PASSWORD_MUSTCHANGE = 3; +var ErrResult_LOGIN_SERV_ERROR = -1; + +function processLoginResult(data,params){ + if(data.home="web/res/web-framework/index.html"||data.home.indexOf("index.html")>0){ + data.home=FrameConst.DEFAULT_PAGE; + //下面这部分是为了演示需要临时增加的自动切换 + /*if(params.username=="admin1"){ + data.home="/web/res/web-framework/default.html?menu=1"; + }else if(params.username=="admin2"){ + data.home="/web/res/web-framework/default.html?menu=2"; + }else if(params.username=="admin3"){ + data.home="/web/res/web-framework/default.html?menu=3"; + }else if(params.username=="admin4"){ + data.home="/web/res/web-framework/default.html?menu=4"; + }else if(params.username=="admin5"){ + data.home="/web/res/web-framework/default.html?menu=5"; + }else if(params.username=="admin6"){ + data.home="/web/res/web-framework/default.html?menu=6"; + }else if(params.username=="admin7"){ + data.home="/web/res/web-framework/default.html?menu=7"; + }*/ + } + var toHomePage = function(){ + location.href = data.home; + } + + var loginHander = function(inParams){ + if(inParams != undefined){ + login(inParams); + } + else{ + login(params); + } + } + + var errors = data.detail; + if(data.result == 0){ + store('username',params.username); + if(errors){ + if(errors.code==ErrResult_LOGIN_SUCCESS_PASSWORD_WARN){ + + com_zte_ums_aos_portal_PasswordDialog.create({ + ID : "LOGIN_MODIFY_PASSWORD", + username : params.username, + oldPassword : ict_framework_func2(params.password), + descLabel : errors[ErrResult_LOGIN_SUCCESS_PASSWORD_WARN], + cancelHander : toHomePage, + confirmHander : toHomePage + }); + LOGIN_MODIFY_PASSWORD.show(); + } + else if(errors.code==ErrResult_LOGIN_SUCCESS_WARN){ + window.alert(errors[ErrResult_LOGIN_SUCCESS_WARN],toHomePage); + } + else { + location.href = data.home; + } + } + else { + location.href = data.home; + } + } + else { + if(errors.code==ErrResult_LOGIN_SUCCESS_PASSWORD_MUSTCHANGE){ + com_zte_ums_aos_portal_PasswordDialog.create({ + ID : "LOGIN_MODIFY_PASSWORD", + username : params.username, + oldPassword : ict_framework_func2(params.password), + descLabel : errors[ErrResult_LOGIN_SUCCESS_PASSWORD_MUSTCHANGE], + confirmHander : loginHander + + }); + LOGIN_MODIFY_PASSWORD.show(); + } + else if(errors.code==ErrResult_LOGIN_FAILURE){ + $("#nameOrpwdError").addClass('alert-danger'); + $("#com_zte_ums_ict_portal_login_userPassword").html(errors[ErrResult_LOGIN_FAILURE]); + var tip = $("#nameOrpwdError"); + if (tip.attr("tipstatus") == "normal") { + tip.show(); + } else if (tip.attr("tipstatus") == "close") { + tip.attr("tipstatus", "normal"); + } + // if(0 < $("#inputPassword").length){ + // $("#inputPassword")[0].value = ""; + // } + } + else if(errors.code==ErrResult_LOGIN_SERV_ERROR){ + $("#loginConnError").addClass('alert-danger'); + var tip = $("#loginConnError"); + if (tip.attr("tipstatus") == "normal") { + tip.show(); + } else if (tip.attr("tipstatus") == "close") { + tip.attr("tipstatus", "normal"); + } + } + } +} +function login(params){ + $.post("login",{ + username : params.username, + password : params.password, + isEncypted:true + },function(data){ + processLoginResult(data,params); + },"json"); +} diff --git a/openo-portal/portal-common/src/main/webapp/common/js/tools.js b/openo-portal/portal-common/src/main/webapp/common/js/tools.js index b4a6e68f..386a49db 100644 --- a/openo-portal/portal-common/src/main/webapp/common/js/tools.js +++ b/openo-portal/portal-common/src/main/webapp/common/js/tools.js @@ -1,1021 +1,1021 @@ -/* - * Copyright 2016, CMCC Technologies Co., Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -;(function(window, define) { - var _ = { - version: "2.3.0", - areas: {}, - apis: {}, - - // utilities - inherit: function(api, o) { - for (var p in api) { - if (!o.hasOwnProperty(p)) { - o[p] = api[p]; - } - } - return o; - }, - stringify: function(d) { - return d === undefined || typeof d === "function" ? d+'' : JSON.stringify(d); - }, - parse: function(s) { - // if it doesn't parse, return as is - try{ return JSON.parse(s); }catch(e){ return s; } - }, - - // extension hooks - fn: function(name, fn) { - _.storeAPI[name] = fn; - for (var api in _.apis) { - _.apis[api][name] = fn; - } - }, - get: function(area, key){ return area.getItem(key); }, - set: function(area, key, string){ area.setItem(key, string); }, - remove: function(area, key){ area.removeItem(key); }, - key: function(area, i){ return area.key(i); }, - length: function(area){ return area.length; }, - clear: function(area){ area.clear(); }, - - // core functions - Store: function(id, area, namespace) { - var store = _.inherit(_.storeAPI, function(key, data, overwrite) { - if (arguments.length === 0){ return store.getAll(); } - if (data !== undefined){ return store.set(key, data, overwrite); } - if (typeof key === "string"){ return store.get(key); } - if (!key){ return store.clear(); } - return store.setAll(key, data);// overwrite=data, data=key - }); - store._id = id; - try { - var testKey = '_safariPrivate_'; - area.setItem(testKey, 'sucks'); - store._area = area; - area.removeItem(testKey); - } catch (e) {} - if (!store._area) { - store._area = _.inherit(_.storageAPI, { items: {}, name: 'fake' }); - } - store._ns = namespace || ''; - if (!_.areas[id]) { - _.areas[id] = store._area; - } - if (!_.apis[store._ns+store._id]) { - _.apis[store._ns+store._id] = store; - } - return store; - }, - storeAPI: { - // admin functions - area: function(id, area) { - var store = this[id]; - if (!store || !store.area) { - store = _.Store(id, area, this._ns);//new area-specific api in this namespace - if (!this[id]){ this[id] = store; } - } - return store; - }, - namespace: function(namespace, noSession) { - if (!namespace){ - return this._ns ? this._ns.substring(0,this._ns.length-1) : ''; - } - var ns = namespace, store = this[ns]; - if (!store || !store.namespace) { - store = _.Store(this._id, this._area, this._ns+ns+'.');//new namespaced api - if (!this[ns]){ this[ns] = store; } - if (!noSession){ store.area('session', _.areas.session); } - } - return store; - }, - isFake: function(){ return this._area.name === 'fake'; }, - toString: function() { - return 'store'+(this._ns?'.'+this.namespace():'')+'['+this._id+']'; - }, - - // storage functions - has: function(key) { - if (this._area.has) { - return this._area.has(this._in(key));//extension hook - } - return !!(this._in(key) in this._area); - }, - size: function(){ return this.keys().length; }, - each: function(fn, and) { - for (var i=0, m=_.length(this._area); i _.length(this._area)) { m--; i--; }// in case of removeItem - } - return and || this; - }, - keys: function() { - return this.each(function(k, list){ list.push(k); }, []); - }, - get: function(key, alt) { - var s = _.get(this._area, this._in(key)); - return s !== null ? _.parse(s) : alt || s;// support alt for easy default mgmt - }, - getAll: function() { - return this.each(function(k, all){ all[k] = this.get(k); }, {}); - }, - set: function(key, data, overwrite) { - var d = this.get(key); - if (d != null && overwrite === false) { - return data; - } - return _.set(this._area, this._in(key), _.stringify(data), overwrite) || d; - }, - setAll: function(data, overwrite) { - var changed, val; - for (var key in data) { - val = data[key]; - if (this.set(key, val, overwrite) !== val) { - changed = true; - } - } - return changed; - }, - remove: function(key) { - var d = this.get(key); - _.remove(this._area, this._in(key)); - return d; - }, - clear: function() { - if (!this._ns) { - _.clear(this._area); - } else { - this.each(function(k){ _.remove(this._area, this._in(k)); }, 1); - } - return this; - }, - clearAll: function() { - var area = this._area; - for (var id in _.areas) { - if (_.areas.hasOwnProperty(id)) { - this._area = _.areas[id]; - this.clear(); - } - } - this._area = area; - return this; - }, - - // internal use functions - _in: function(k) { - if (typeof k !== "string"){ k = _.stringify(k); } - return this._ns ? this._ns + k : k; - }, - _out: function(k) { - return this._ns ? - k && k.indexOf(this._ns) === 0 ? - k.substring(this._ns.length) : - undefined : // so each() knows to skip it - k; - } - },// end _.storeAPI - storageAPI: { - length: 0, - has: function(k){ return this.items.hasOwnProperty(k); }, - key: function(i) { - var c = 0; - for (var k in this.items){ - if (this.has(k) && i === c++) { - return k; - } - } - }, - setItem: function(k, v) { - if (!this.has(k)) { - this.length++; - } - this.items[k] = v; - }, - removeItem: function(k) { - if (this.has(k)) { - delete this.items[k]; - this.length--; - } - }, - getItem: function(k){ return this.has(k) ? this.items[k] : null; }, - clear: function(){ for (var k in this.list){ this.removeItem(k); } }, - toString: function(){ return this.length+' items in '+this.name+'Storage'; } - }// end _.storageAPI - }; - - // setup the primary store fn - if (window.store){ _.conflict = window.store; } - var store = - // safely set this up (throws error in IE10/32bit mode for local files) - _.Store("local", (function(){try{ return localStorage; }catch(e){}})()); - store.local = store;// for completeness - store._ = _;// for extenders and debuggers... - // safely setup store.session (throws exception in FF for file:/// urls) - store.area("session", (function(){try{ return sessionStorage; }catch(e){}})()); - - //Expose store to the global object - window.store = store; - - if (typeof define === 'function' && define.amd !== undefined) { - define(function () { - return store; - }); - } else if (typeof module !== 'undefined' && module.exports) { - module.exports = store; - } - -})(this, null); - -// XHook - v1.3.3 - https://github.com/jpillora/xhook -// Jaime Pillora - MIT Copyright 2015 -(function(window,undefined) { -var AFTER, BEFORE, COMMON_EVENTS, EventEmitter, FIRE, FormData, NativeFormData, NativeXMLHttp, OFF, ON, READY_STATE, UPLOAD_EVENTS, XHookFormData, XHookHttpRequest, XMLHTTP, convertHeaders, depricatedProp, document, fakeEvent, mergeObjects, msie, proxyEvents, slice, xhook, _base, - __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; - -document = window.document; - -BEFORE = 'before'; - -AFTER = 'after'; - -READY_STATE = 'readyState'; - -ON = 'addEventListener'; - -OFF = 'removeEventListener'; - -FIRE = 'dispatchEvent'; - -XMLHTTP = 'XMLHttpRequest'; - -FormData = 'FormData'; - -UPLOAD_EVENTS = ['load', 'loadend', 'loadstart']; - -COMMON_EVENTS = ['progress', 'abort', 'error', 'timeout']; - -msie = parseInt((/msie (\d+)/.exec(navigator.userAgent.toLowerCase()) || [])[1]); - -if (isNaN(msie)) { - msie = parseInt((/trident\/.*; rv:(\d+)/.exec(navigator.userAgent.toLowerCase()) || [])[1]); -} - -(_base = Array.prototype).indexOf || (_base.indexOf = function(item) { - var i, x, _i, _len; - for (i = _i = 0, _len = this.length; _i < _len; i = ++_i) { - x = this[i]; - if (x === item) { - return i; - } - } - return -1; -}); - -slice = function(o, n) { - return Array.prototype.slice.call(o, n); -}; - -depricatedProp = function(p) { - return p === "returnValue" || p === "totalSize" || p === "position"; -}; - -mergeObjects = function(src, dst) { - var k, v; - for (k in src) { - v = src[k]; - if (depricatedProp(k)) { - continue; - } - try { - dst[k] = src[k]; - } catch (_error) {} - } - return dst; -}; - -proxyEvents = function(events, src, dst) { - var event, p, _i, _len; - p = function(event) { - return function(e) { - var clone, k, val; - clone = {}; - for (k in e) { - if (depricatedProp(k)) { - continue; - } - val = e[k]; - clone[k] = val === src ? dst : val; - } - return dst[FIRE](event, clone); - }; - }; - for (_i = 0, _len = events.length; _i < _len; _i++) { - event = events[_i]; - if (dst._has(event)) { - src["on" + event] = p(event); - } - } -}; - -fakeEvent = function(type) { - var msieEventObject; - if (document.createEventObject != null) { - msieEventObject = document.createEventObject(); - msieEventObject.type = type; - return msieEventObject; - } else { - try { - return new Event(type); - } catch (_error) { - return { - type: type - }; - } - } -}; - -EventEmitter = function(nodeStyle) { - var emitter, events, listeners; - events = {}; - listeners = function(event) { - return events[event] || []; - }; - emitter = {}; - emitter[ON] = function(event, callback, i) { - events[event] = listeners(event); - if (events[event].indexOf(callback) >= 0) { - return; - } - i = i === undefined ? events[event].length : i; - events[event].splice(i, 0, callback); - }; - emitter[OFF] = function(event, callback) { - var i; - if (event === undefined) { - events = {}; - return; - } - if (callback === undefined) { - events[event] = []; - } - i = listeners(event).indexOf(callback); - if (i === -1) { - return; - } - listeners(event).splice(i, 1); - }; - emitter[FIRE] = function() { - var args, event, i, legacylistener, listener, _i, _len, _ref; - args = slice(arguments); - event = args.shift(); - if (!nodeStyle) { - args[0] = mergeObjects(args[0], fakeEvent(event)); - } - legacylistener = emitter["on" + event]; - if (legacylistener) { - legacylistener.apply(undefined, args); - } - _ref = listeners(event).concat(listeners("*")); - for (i = _i = 0, _len = _ref.length; _i < _len; i = ++_i) { - listener = _ref[i]; - listener.apply(undefined, args); - } - }; - emitter._has = function(event) { - return !!(events[event] || emitter["on" + event]); - }; - if (nodeStyle) { - emitter.listeners = function(event) { - return slice(listeners(event)); - }; - emitter.on = emitter[ON]; - emitter.off = emitter[OFF]; - emitter.fire = emitter[FIRE]; - emitter.once = function(e, fn) { - var fire; - fire = function() { - emitter.off(e, fire); - return fn.apply(null, arguments); - }; - return emitter.on(e, fire); - }; - emitter.destroy = function() { - return events = {}; - }; - } - return emitter; -}; - -xhook = EventEmitter(true); - -xhook.EventEmitter = EventEmitter; - -xhook[BEFORE] = function(handler, i) { - if (handler.length < 1 || handler.length > 2) { - throw "invalid hook"; - } - return xhook[ON](BEFORE, handler, i); -}; - -xhook[AFTER] = function(handler, i) { - if (handler.length < 2 || handler.length > 3) { - throw "invalid hook"; - } - return xhook[ON](AFTER, handler, i); -}; - -xhook.enable = function() { - window[XMLHTTP] = XHookHttpRequest; - if (NativeFormData) { - window[FormData] = XHookFormData; - } -}; - -xhook.disable = function() { - window[XMLHTTP] = xhook[XMLHTTP]; - window[FormData] = NativeFormData; -}; - -convertHeaders = xhook.headers = function(h, dest) { - var header, headers, k, name, v, value, _i, _len, _ref; - if (dest == null) { - dest = {}; - } - switch (typeof h) { - case "object": - headers = []; - for (k in h) { - v = h[k]; - name = k.toLowerCase(); - headers.push("" + name + ":\t" + v); - } - return headers.join('\n'); - case "string": - headers = h.split('\n'); - for (_i = 0, _len = headers.length; _i < _len; _i++) { - header = headers[_i]; - if (/([^:]+):\s*(.+)/.test(header)) { - name = (_ref = RegExp.$1) != null ? _ref.toLowerCase() : void 0; - value = RegExp.$2; - if (dest[name] == null) { - dest[name] = value; - } - } - } - return dest; - } -}; - -NativeFormData = window[FormData]; - -XHookFormData = function(form) { - var entries; - this.fd = form ? new NativeFormData(form) : new NativeFormData(); - this.form = form; - entries = []; - Object.defineProperty(this, 'entries', { - get: function() { - var fentries; - fentries = !form ? [] : slice(form.querySelectorAll("input,select")).filter(function(e) { - var _ref; - return ((_ref = e.type) !== 'checkbox' && _ref !== 'radio') || e.checked; - }).map(function(e) { - return [e.name, e.type === "file" ? e.files : e.value]; - }); - return fentries.concat(entries); - } - }); - this.append = (function(_this) { - return function() { - var args; - args = slice(arguments); - entries.push(args); - return _this.fd.append.apply(_this.fd, args); - }; - })(this); -}; - -if (NativeFormData) { - xhook[FormData] = NativeFormData; - window[FormData] = XHookFormData; -} - -NativeXMLHttp = window[XMLHTTP]; - -xhook[XMLHTTP] = NativeXMLHttp; - -XHookHttpRequest = window[XMLHTTP] = function() { - var ABORTED, currentState, emitFinal, emitReadyState, facade, hasError, hasErrorHandler, readBody, readHead, request, response, setReadyState, status, transiting, writeBody, writeHead, xhr; - ABORTED = -1; - xhr = new xhook[XMLHTTP](); - request = {}; - status = null; - hasError = void 0; - transiting = void 0; - response = void 0; - readHead = function() { - var key, name, val, _ref; - response.status = status || xhr.status; - if (!(status === ABORTED && msie < 10)) { - response.statusText = xhr.statusText; - } - if (status !== ABORTED) { - _ref = convertHeaders(xhr.getAllResponseHeaders()); - for (key in _ref) { - val = _ref[key]; - if (!response.headers[key]) { - name = key.toLowerCase(); - response.headers[name] = val; - } - } - } - }; - readBody = function() { - if (!xhr.responseType || xhr.responseType === "text") { - response.text = xhr.responseText; - response.data = xhr.responseText; - } else if (xhr.responseType === "document") { - response.xml = xhr.responseXML; - response.data = xhr.responseXML; - } else { - response.data = xhr.response; - } - if ("responseURL" in xhr) { - response.finalUrl = xhr.responseURL; - } - }; - writeHead = function() { - facade.status = response.status; - facade.statusText = response.statusText; - }; - writeBody = function() { - if ('text' in response) { - facade.responseText = response.text; - } - if ('xml' in response) { - facade.responseXML = response.xml; - } - if ('data' in response) { - facade.response = response.data; - } - if ('finalUrl' in response) { - facade.responseURL = response.finalUrl; - } - }; - emitReadyState = function(n) { - while (n > currentState && currentState < 4) { - facade[READY_STATE] = ++currentState; - if (currentState === 1) { - facade[FIRE]("loadstart", {}); - } - if (currentState === 2) { - writeHead(); - } - if (currentState === 4) { - writeHead(); - writeBody(); - } - facade[FIRE]("readystatechange", {}); - if (currentState === 4) { - setTimeout(emitFinal, 0); - } - } - }; - emitFinal = function() { - if (!hasError) { - facade[FIRE]("load", {}); - } - facade[FIRE]("loadend", {}); - if (hasError) { - facade[READY_STATE] = 0; - } - }; - currentState = 0; - setReadyState = function(n) { - var hooks, process; - if (n !== 4) { - emitReadyState(n); - return; - } - hooks = xhook.listeners(AFTER); - process = function() { - var hook; - if (!hooks.length) { - return emitReadyState(4); - } - hook = hooks.shift(); - if (hook.length === 2) { - hook(request, response); - return process(); - } else if (hook.length === 3 && request.async) { - return hook(request, response, process); - } else { - return process(); - } - }; - process(); - }; - facade = request.xhr = EventEmitter(); - xhr.onreadystatechange = function(event) { - try { - if (xhr[READY_STATE] === 2) { - readHead(); - } - } catch (_error) {} - if (xhr[READY_STATE] === 4) { - transiting = false; - readHead(); - readBody(); - } - setReadyState(xhr[READY_STATE]); - }; - hasErrorHandler = function() { - hasError = true; - }; - facade[ON]('error', hasErrorHandler); - facade[ON]('timeout', hasErrorHandler); - facade[ON]('abort', hasErrorHandler); - facade[ON]('progress', function() { - if (currentState < 3) { - setReadyState(3); - } else { - facade[FIRE]("readystatechange", {}); - } - }); - if ('withCredentials' in xhr || xhook.addWithCredentials) { - facade.withCredentials = false; - } - facade.status = 0; - facade.open = function(method, url, async, user, pass) { - currentState = 0; - hasError = false; - transiting = false; - request.headers = {}; - request.headerNames = {}; - request.status = 0; - response = {}; - response.headers = {}; - request.method = method; - request.url = url; - request.async = async !== false; - request.user = user; - request.pass = pass; - setReadyState(1); - }; - facade.send = function(body) { - var hooks, k, modk, process, send, _i, _len, _ref; - _ref = ['type', 'timeout', 'withCredentials']; - if(navigator.userAgent.indexOf("Firefox/") != -1){http://atmosphere-framework.2306103.n4.nabble.com/Atmosphere-js-withCredentials-true-does-not-work-in-Firefox-td4656661.html - _ref = ['type', 'timeout']; - } - for (_i = 0, _len = _ref.length; _i < _len; _i++) { - k = _ref[_i]; - modk = k === "type" ? "responseType" : k; - if (modk in facade) { - request[k] = facade[modk]; - } - } - request.body = body; - send = function() { - var header, value, _j, _len1, _ref1, _ref2; - proxyEvents(COMMON_EVENTS, xhr, facade); - if (facade.upload) { - proxyEvents(COMMON_EVENTS.concat(UPLOAD_EVENTS), xhr.upload, facade.upload); - } - transiting = true; - xhr.open(request.method, request.url, request.async, request.user, request.pass); - _ref1 = ['type', 'timeout', 'withCredentials']; - if(navigator.userAgent.indexOf("Firefox/") != -1){//http://atmosphere-framework.2306103.n4.nabble.com/Atmosphere-js-withCredentials-true-does-not-work-in-Firefox-td4656661.html - _ref1 = ['type', 'timeout']; - } - for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) { - k = _ref1[_j]; - modk = k === "type" ? "responseType" : k; - if (k in request) { - xhr[modk] = request[k]; - } - } - _ref2 = request.headers; - for (header in _ref2) { - value = _ref2[header]; - xhr.setRequestHeader(header, value); - } - if (request.body instanceof XHookFormData) { - request.body = request.body.fd; - } - xhr.send(request.body); - }; - hooks = xhook.listeners(BEFORE); - process = function() { - var done, hook; - if (!hooks.length) { - return send(); - } - done = function(userResponse) { - if (typeof userResponse === 'object' && (typeof userResponse.status === 'number' || typeof response.status === 'number')) { - mergeObjects(userResponse, response); - if (__indexOf.call(userResponse, 'data') < 0) { - userResponse.data = userResponse.response || userResponse.text; - } - setReadyState(4); - return; - } - process(); - }; - done.head = function(userResponse) { - mergeObjects(userResponse, response); - return setReadyState(2); - }; - done.progress = function(userResponse) { - mergeObjects(userResponse, response); - return setReadyState(3); - }; - hook = hooks.shift(); - if (hook.length === 1) { - return done(hook(request)); - } else if (hook.length === 2 && request.async) { - return hook(request, done); - } else { - return done(); - } - }; - process(); - }; - facade.abort = function() { - status = ABORTED; - if (transiting) { - xhr.abort(); - } else { - facade[FIRE]('abort', {}); - } - }; - facade.setRequestHeader = function(header, value) { - var lName, name; - lName = header != null ? header.toLowerCase() : void 0; - name = request.headerNames[lName] = request.headerNames[lName] || header; - if (request.headers[name]) { - value = request.headers[name] + ', ' + value; - } - request.headers[name] = value; - }; - facade.getResponseHeader = function(header) { - var name; - name = header != null ? header.toLowerCase() : void 0; - return response.headers[name]; - }; - facade.getAllResponseHeaders = function() { - return convertHeaders(response.headers); - }; - if (xhr.overrideMimeType) { - facade.overrideMimeType = function() { - return xhr.overrideMimeType.apply(xhr, arguments); - }; - } - if (xhr.upload) { - facade.upload = request.upload = EventEmitter(); - } - return facade; -}; -/* -if (typeof this.define === "function" && this.define.amd) { - define("xhook", [], function() { - return xhook; - }); -} else {*/ - (this.exports || this).xhook = xhook; -//} - -}.call(this,window)); - -xhook.before(function(request) { - var zte_headers = store('zte_http_headers'); - if (zte_headers && zte_headers.length > 0) { - for (i = 0; i < zte_headers.length; i++) { - if (zte_headers[i].store === true) { - if ( !! store(zte_headers[i].value)) { - request.headers[zte_headers[i].key] = store(zte_headers[i].value).toUpperCase() - } - } else { - request.headers[zte_headers[i].key] = zte_headers[i].value - } - } - } -}); -/** - * 初始化脚本文件装载工具 - * zongying 2010.12 - * modify: - */ -$Boot = {}; - -/** - * 创建命名空间 - * @param {Object} name - * @param {Object} object - */ -$Boot.createNamespace = function(name, object) { - var splits = name.split("."); - var parent = window; - //document.window浏览器内置对象 - var part = splits[0]; - for (var i = 0, len = splits.length - 1; i < len; i++, part = splits[i]) { - if (!parent[part]) { - parent = parent[part] = {}; - } else { - parent = parent[part]; - } - } - // 存放对象 - parent[part] = object; - // 返回 last part name (例如:classname) - return part; -} - -$Boot.isDefined = function(o) { - return typeof (o) != "undefined" -} -/** - * 启动配置类 - */ -$Boot.Config = function() { - - function isDefined(o) { - return typeof (o) != "undefined" - } - - //用户应用当前目录 - if (!isDefined(window.$userAppDir)) { - window.$userAppDir = './' - } - //组件库目录 - if (!isDefined(window.$userFrameDir)) { - window.$userFrameDir = '/common/' - } - //用户i18文件目录 - if (!isDefined(window.$userI18nDir)) { - window.$userI18nDir = './' - } - - //当前语言 默认为英语 - var language = "en-US"; - //var languageList = ['ar', 'ba', 'cr', 'cs', 'de', 'el', 'es', 'fi', 'fr', 'fr-FR', 'hu-HU', 'id', 'it', 'ja', 'nb-NO', 'nl', 'pl', 'pl-PL', 'pt', 'pt-BR', 'ro-RO', 'ru-RU', 'sk', 'sr', 'sr-Latn', 'sv-SE', 'en-US','uk-UA', 'zh-CN', 'zh-TW']; - var languageList = ['en-US', 'zh-CN']; - - //从服务端取客户端接受语言类型 - var getAcceptLangFromServer = true; - - - /** - * 创建XMLHttpRequest对象 - */ - function createXMLHttpRequest() { - if (window.ActiveXObject) { - return new ActiveXObject("Microsoft.XMLHTTP"); - } else if (window.XMLHttpRequest) { - return new XMLHttpRequest(); - } else { - throw new Error("This Brower do not support XMLHTTP!!"); - } - } - - - /** - * 同步发送xml http 请求 - * @param {Object} url - * @param {Object} data - * @param {Object} method - */ - function httpRequest(method, url, data) { - var xmlhttp; - xmlhttp = createXMLHttpRequest(); - var sendData = null; - if (method == "get") { - url = url + "?" + data; - - } else if (method == "post") { - sendData = data; - } - xmlhttp.open(method, url, false); - xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8"); - xmlhttp.setRequestHeader("If-Modified-Since", "0"); - xmlhttp.send(sendData); - if (xmlhttp.status == 200) - return xmlhttp.responseText; - } - - /** - * 同步发送xml http 请求(给外部调用) - * @param {Object} url - * @param {Object} data - * @param {Object} method - */ - this.httpRequestStatic = function(method, url, data) { - var xmlhttp; - xmlhttp = createXMLHttpRequest(); - var sendData = null; - if (method == "get") { - url = url + "?" + data; - - } else if (method == "post") { - sendData = data; - } - xmlhttp.open(method, url, false); - xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8"); - xmlhttp.setRequestHeader("If-Modified-Since", "0"); - xmlhttp.send(sendData); - if (xmlhttp.status == 200) - return xmlhttp.responseText; - } - - function inArray(array, obj) { - for (var i = 0; i < array.length; i++) { - if (array[i] == obj) { - return true; - } - } - return false; - - } - - - this.getUrlParam=function(name){ - var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象 - var search =decodeURIComponent(location.search.substring(1)); //decodeURIComponent() 函数可对 encodeURIComponent() 函数编码的 URI 进行解码。 - var r =search.match(reg); //匹配目标参数 - if (r != null) return unescape(r[2]); //unescape() 函数可对通过 escape() 编码的字符串进行解码。 - return null; //返回参数值 - } - - -} - -//创建命名空间 -$Boot.createNamespace("com.zte.ums.aos.framework.BootConfig", $Boot.Config); -//创建基础配置对象实例 -$Boot.bootConfig = new com.zte.ums.aos.framework.BootConfig(); - -function getLanguage(){ - return "en-US"; -} - -function getStringWidth(text,fontSize) -{ - var span = document.getElementById("_ictframework_getwidth"); - if (span == null) { - span = document.createElement("span"); - span.id = "_ictframework_getwidth"; - document.body.appendChild(span); - } - span.innerText = text; - span.style.whiteSpace = "nowrap"; - $("#_ictframework_getwidth").attr('style','font-size:'+fontSize+'px;'); - var width = span.offsetWidth; - $("#_ictframework_getwidth").attr('style','display:none'); - return width; -} - -function getUrlParam(name){ - return $Boot.bootConfig.getUrlParam(name); -} - -function httpRequest(method, url, data) { - return $Boot.bootConfig.httpRequestStatic(method, url, data) -} - -// 定义JQUERY AJAX 完成函数,判断返回状态,如果状态正常,但HEADER头里有session超时信息,则刷新重登录 -// 如果状态为 401, 也刷新重登录 -// 注意如果在$.ajax() 函数中定义了 complete,则覆盖了这里预定义complete内容,以$.ajax()函数中定义的为准,这里预定义的函数则失效,如果 -// 要继续判断session超时,则需要在 $.ajax()函数中定义的complete函数中加入这里预定义内容。 -if (jQuery) { - $.ajaxSetup({ - complete:function(XMLHttpRequest,textStatus){ - if (XMLHttpRequest.status == 401) { - window.location.replace("login.html"); - } - // if (XMLHttpRequest.status == 200) { - // var sessionstatus=XMLHttpRequest.getResponseHeader("sessionstatus"); ////通过XMLHttpRequest取得响应头,sessionstatus, - // if(sessionstatus=="timeout"){ - // window.location.replace("/"); - // } - // } else if (XMLHttpRequest.status == 401) { - // window.location.replace("/"); - // } - } - }); -} +/* + * Copyright 2016, CMCC Technologies Co., Ltd. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +;(function(window, define) { + var _ = { + version: "2.3.0", + areas: {}, + apis: {}, + + // utilities + inherit: function(api, o) { + for (var p in api) { + if (!o.hasOwnProperty(p)) { + o[p] = api[p]; + } + } + return o; + }, + stringify: function(d) { + return d === undefined || typeof d === "function" ? d+'' : JSON.stringify(d); + }, + parse: function(s) { + // if it doesn't parse, return as is + try{ return JSON.parse(s); }catch(e){ return s; } + }, + + // extension hooks + fn: function(name, fn) { + _.storeAPI[name] = fn; + for (var api in _.apis) { + _.apis[api][name] = fn; + } + }, + get: function(area, key){ return area.getItem(key); }, + set: function(area, key, string){ area.setItem(key, string); }, + remove: function(area, key){ area.removeItem(key); }, + key: function(area, i){ return area.key(i); }, + length: function(area){ return area.length; }, + clear: function(area){ area.clear(); }, + + // core functions + Store: function(id, area, namespace) { + var store = _.inherit(_.storeAPI, function(key, data, overwrite) { + if (arguments.length === 0){ return store.getAll(); } + if (data !== undefined){ return store.set(key, data, overwrite); } + if (typeof key === "string"){ return store.get(key); } + if (!key){ return store.clear(); } + return store.setAll(key, data);// overwrite=data, data=key + }); + store._id = id; + try { + var testKey = '_safariPrivate_'; + area.setItem(testKey, 'sucks'); + store._area = area; + area.removeItem(testKey); + } catch (e) {} + if (!store._area) { + store._area = _.inherit(_.storageAPI, { items: {}, name: 'fake' }); + } + store._ns = namespace || ''; + if (!_.areas[id]) { + _.areas[id] = store._area; + } + if (!_.apis[store._ns+store._id]) { + _.apis[store._ns+store._id] = store; + } + return store; + }, + storeAPI: { + // admin functions + area: function(id, area) { + var store = this[id]; + if (!store || !store.area) { + store = _.Store(id, area, this._ns);//new area-specific api in this namespace + if (!this[id]){ this[id] = store; } + } + return store; + }, + namespace: function(namespace, noSession) { + if (!namespace){ + return this._ns ? this._ns.substring(0,this._ns.length-1) : ''; + } + var ns = namespace, store = this[ns]; + if (!store || !store.namespace) { + store = _.Store(this._id, this._area, this._ns+ns+'.');//new namespaced api + if (!this[ns]){ this[ns] = store; } + if (!noSession){ store.area('session', _.areas.session); } + } + return store; + }, + isFake: function(){ return this._area.name === 'fake'; }, + toString: function() { + return 'store'+(this._ns?'.'+this.namespace():'')+'['+this._id+']'; + }, + + // storage functions + has: function(key) { + if (this._area.has) { + return this._area.has(this._in(key));//extension hook + } + return !!(this._in(key) in this._area); + }, + size: function(){ return this.keys().length; }, + each: function(fn, and) { + for (var i=0, m=_.length(this._area); i _.length(this._area)) { m--; i--; }// in case of removeItem + } + return and || this; + }, + keys: function() { + return this.each(function(k, list){ list.push(k); }, []); + }, + get: function(key, alt) { + var s = _.get(this._area, this._in(key)); + return s !== null ? _.parse(s) : alt || s;// support alt for easy default mgmt + }, + getAll: function() { + return this.each(function(k, all){ all[k] = this.get(k); }, {}); + }, + set: function(key, data, overwrite) { + var d = this.get(key); + if (d != null && overwrite === false) { + return data; + } + return _.set(this._area, this._in(key), _.stringify(data), overwrite) || d; + }, + setAll: function(data, overwrite) { + var changed, val; + for (var key in data) { + val = data[key]; + if (this.set(key, val, overwrite) !== val) { + changed = true; + } + } + return changed; + }, + remove: function(key) { + var d = this.get(key); + _.remove(this._area, this._in(key)); + return d; + }, + clear: function() { + if (!this._ns) { + _.clear(this._area); + } else { + this.each(function(k){ _.remove(this._area, this._in(k)); }, 1); + } + return this; + }, + clearAll: function() { + var area = this._area; + for (var id in _.areas) { + if (_.areas.hasOwnProperty(id)) { + this._area = _.areas[id]; + this.clear(); + } + } + this._area = area; + return this; + }, + + // internal use functions + _in: function(k) { + if (typeof k !== "string"){ k = _.stringify(k); } + return this._ns ? this._ns + k : k; + }, + _out: function(k) { + return this._ns ? + k && k.indexOf(this._ns) === 0 ? + k.substring(this._ns.length) : + undefined : // so each() knows to skip it + k; + } + },// end _.storeAPI + storageAPI: { + length: 0, + has: function(k){ return this.items.hasOwnProperty(k); }, + key: function(i) { + var c = 0; + for (var k in this.items){ + if (this.has(k) && i === c++) { + return k; + } + } + }, + setItem: function(k, v) { + if (!this.has(k)) { + this.length++; + } + this.items[k] = v; + }, + removeItem: function(k) { + if (this.has(k)) { + delete this.items[k]; + this.length--; + } + }, + getItem: function(k){ return this.has(k) ? this.items[k] : null; }, + clear: function(){ for (var k in this.list){ this.removeItem(k); } }, + toString: function(){ return this.length+' items in '+this.name+'Storage'; } + }// end _.storageAPI + }; + + // setup the primary store fn + if (window.store){ _.conflict = window.store; } + var store = + // safely set this up (throws error in IE10/32bit mode for local files) + _.Store("local", (function(){try{ return localStorage; }catch(e){}})()); + store.local = store;// for completeness + store._ = _;// for extenders and debuggers... + // safely setup store.session (throws exception in FF for file:/// urls) + store.area("session", (function(){try{ return sessionStorage; }catch(e){}})()); + + //Expose store to the global object + window.store = store; + + if (typeof define === 'function' && define.amd !== undefined) { + define(function () { + return store; + }); + } else if (typeof module !== 'undefined' && module.exports) { + module.exports = store; + } + +})(this, null); + +// XHook - v1.3.3 - https://github.com/jpillora/xhook +// Jaime Pillora - MIT Copyright 2015 +(function(window,undefined) { +var AFTER, BEFORE, COMMON_EVENTS, EventEmitter, FIRE, FormData, NativeFormData, NativeXMLHttp, OFF, ON, READY_STATE, UPLOAD_EVENTS, XHookFormData, XHookHttpRequest, XMLHTTP, convertHeaders, depricatedProp, document, fakeEvent, mergeObjects, msie, proxyEvents, slice, xhook, _base, + __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; + +document = window.document; + +BEFORE = 'before'; + +AFTER = 'after'; + +READY_STATE = 'readyState'; + +ON = 'addEventListener'; + +OFF = 'removeEventListener'; + +FIRE = 'dispatchEvent'; + +XMLHTTP = 'XMLHttpRequest'; + +FormData = 'FormData'; + +UPLOAD_EVENTS = ['load', 'loadend', 'loadstart']; + +COMMON_EVENTS = ['progress', 'abort', 'error', 'timeout']; + +msie = parseInt((/msie (\d+)/.exec(navigator.userAgent.toLowerCase()) || [])[1]); + +if (isNaN(msie)) { + msie = parseInt((/trident\/.*; rv:(\d+)/.exec(navigator.userAgent.toLowerCase()) || [])[1]); +} + +(_base = Array.prototype).indexOf || (_base.indexOf = function(item) { + var i, x, _i, _len; + for (i = _i = 0, _len = this.length; _i < _len; i = ++_i) { + x = this[i]; + if (x === item) { + return i; + } + } + return -1; +}); + +slice = function(o, n) { + return Array.prototype.slice.call(o, n); +}; + +depricatedProp = function(p) { + return p === "returnValue" || p === "totalSize" || p === "position"; +}; + +mergeObjects = function(src, dst) { + var k, v; + for (k in src) { + v = src[k]; + if (depricatedProp(k)) { + continue; + } + try { + dst[k] = src[k]; + } catch (_error) {} + } + return dst; +}; + +proxyEvents = function(events, src, dst) { + var event, p, _i, _len; + p = function(event) { + return function(e) { + var clone, k, val; + clone = {}; + for (k in e) { + if (depricatedProp(k)) { + continue; + } + val = e[k]; + clone[k] = val === src ? dst : val; + } + return dst[FIRE](event, clone); + }; + }; + for (_i = 0, _len = events.length; _i < _len; _i++) { + event = events[_i]; + if (dst._has(event)) { + src["on" + event] = p(event); + } + } +}; + +fakeEvent = function(type) { + var msieEventObject; + if (document.createEventObject != null) { + msieEventObject = document.createEventObject(); + msieEventObject.type = type; + return msieEventObject; + } else { + try { + return new Event(type); + } catch (_error) { + return { + type: type + }; + } + } +}; + +EventEmitter = function(nodeStyle) { + var emitter, events, listeners; + events = {}; + listeners = function(event) { + return events[event] || []; + }; + emitter = {}; + emitter[ON] = function(event, callback, i) { + events[event] = listeners(event); + if (events[event].indexOf(callback) >= 0) { + return; + } + i = i === undefined ? events[event].length : i; + events[event].splice(i, 0, callback); + }; + emitter[OFF] = function(event, callback) { + var i; + if (event === undefined) { + events = {}; + return; + } + if (callback === undefined) { + events[event] = []; + } + i = listeners(event).indexOf(callback); + if (i === -1) { + return; + } + listeners(event).splice(i, 1); + }; + emitter[FIRE] = function() { + var args, event, i, legacylistener, listener, _i, _len, _ref; + args = slice(arguments); + event = args.shift(); + if (!nodeStyle) { + args[0] = mergeObjects(args[0], fakeEvent(event)); + } + legacylistener = emitter["on" + event]; + if (legacylistener) { + legacylistener.apply(undefined, args); + } + _ref = listeners(event).concat(listeners("*")); + for (i = _i = 0, _len = _ref.length; _i < _len; i = ++_i) { + listener = _ref[i]; + listener.apply(undefined, args); + } + }; + emitter._has = function(event) { + return !!(events[event] || emitter["on" + event]); + }; + if (nodeStyle) { + emitter.listeners = function(event) { + return slice(listeners(event)); + }; + emitter.on = emitter[ON]; + emitter.off = emitter[OFF]; + emitter.fire = emitter[FIRE]; + emitter.once = function(e, fn) { + var fire; + fire = function() { + emitter.off(e, fire); + return fn.apply(null, arguments); + }; + return emitter.on(e, fire); + }; + emitter.destroy = function() { + return events = {}; + }; + } + return emitter; +}; + +xhook = EventEmitter(true); + +xhook.EventEmitter = EventEmitter; + +xhook[BEFORE] = function(handler, i) { + if (handler.length < 1 || handler.length > 2) { + throw "invalid hook"; + } + return xhook[ON](BEFORE, handler, i); +}; + +xhook[AFTER] = function(handler, i) { + if (handler.length < 2 || handler.length > 3) { + throw "invalid hook"; + } + return xhook[ON](AFTER, handler, i); +}; + +xhook.enable = function() { + window[XMLHTTP] = XHookHttpRequest; + if (NativeFormData) { + window[FormData] = XHookFormData; + } +}; + +xhook.disable = function() { + window[XMLHTTP] = xhook[XMLHTTP]; + window[FormData] = NativeFormData; +}; + +convertHeaders = xhook.headers = function(h, dest) { + var header, headers, k, name, v, value, _i, _len, _ref; + if (dest == null) { + dest = {}; + } + switch (typeof h) { + case "object": + headers = []; + for (k in h) { + v = h[k]; + name = k.toLowerCase(); + headers.push("" + name + ":\t" + v); + } + return headers.join('\n'); + case "string": + headers = h.split('\n'); + for (_i = 0, _len = headers.length; _i < _len; _i++) { + header = headers[_i]; + if (/([^:]+):\s*(.+)/.test(header)) { + name = (_ref = RegExp.$1) != null ? _ref.toLowerCase() : void 0; + value = RegExp.$2; + if (dest[name] == null) { + dest[name] = value; + } + } + } + return dest; + } +}; + +NativeFormData = window[FormData]; + +XHookFormData = function(form) { + var entries; + this.fd = form ? new NativeFormData(form) : new NativeFormData(); + this.form = form; + entries = []; + Object.defineProperty(this, 'entries', { + get: function() { + var fentries; + fentries = !form ? [] : slice(form.querySelectorAll("input,select")).filter(function(e) { + var _ref; + return ((_ref = e.type) !== 'checkbox' && _ref !== 'radio') || e.checked; + }).map(function(e) { + return [e.name, e.type === "file" ? e.files : e.value]; + }); + return fentries.concat(entries); + } + }); + this.append = (function(_this) { + return function() { + var args; + args = slice(arguments); + entries.push(args); + return _this.fd.append.apply(_this.fd, args); + }; + })(this); +}; + +if (NativeFormData) { + xhook[FormData] = NativeFormData; + window[FormData] = XHookFormData; +} + +NativeXMLHttp = window[XMLHTTP]; + +xhook[XMLHTTP] = NativeXMLHttp; + +XHookHttpRequest = window[XMLHTTP] = function() { + var ABORTED, currentState, emitFinal, emitReadyState, facade, hasError, hasErrorHandler, readBody, readHead, request, response, setReadyState, status, transiting, writeBody, writeHead, xhr; + ABORTED = -1; + xhr = new xhook[XMLHTTP](); + request = {}; + status = null; + hasError = void 0; + transiting = void 0; + response = void 0; + readHead = function() { + var key, name, val, _ref; + response.status = status || xhr.status; + if (!(status === ABORTED && msie < 10)) { + response.statusText = xhr.statusText; + } + if (status !== ABORTED) { + _ref = convertHeaders(xhr.getAllResponseHeaders()); + for (key in _ref) { + val = _ref[key]; + if (!response.headers[key]) { + name = key.toLowerCase(); + response.headers[name] = val; + } + } + } + }; + readBody = function() { + if (!xhr.responseType || xhr.responseType === "text") { + response.text = xhr.responseText; + response.data = xhr.responseText; + } else if (xhr.responseType === "document") { + response.xml = xhr.responseXML; + response.data = xhr.responseXML; + } else { + response.data = xhr.response; + } + if ("responseURL" in xhr) { + response.finalUrl = xhr.responseURL; + } + }; + writeHead = function() { + facade.status = response.status; + facade.statusText = response.statusText; + }; + writeBody = function() { + if ('text' in response) { + facade.responseText = response.text; + } + if ('xml' in response) { + facade.responseXML = response.xml; + } + if ('data' in response) { + facade.response = response.data; + } + if ('finalUrl' in response) { + facade.responseURL = response.finalUrl; + } + }; + emitReadyState = function(n) { + while (n > currentState && currentState < 4) { + facade[READY_STATE] = ++currentState; + if (currentState === 1) { + facade[FIRE]("loadstart", {}); + } + if (currentState === 2) { + writeHead(); + } + if (currentState === 4) { + writeHead(); + writeBody(); + } + facade[FIRE]("readystatechange", {}); + if (currentState === 4) { + setTimeout(emitFinal, 0); + } + } + }; + emitFinal = function() { + if (!hasError) { + facade[FIRE]("load", {}); + } + facade[FIRE]("loadend", {}); + if (hasError) { + facade[READY_STATE] = 0; + } + }; + currentState = 0; + setReadyState = function(n) { + var hooks, process; + if (n !== 4) { + emitReadyState(n); + return; + } + hooks = xhook.listeners(AFTER); + process = function() { + var hook; + if (!hooks.length) { + return emitReadyState(4); + } + hook = hooks.shift(); + if (hook.length === 2) { + hook(request, response); + return process(); + } else if (hook.length === 3 && request.async) { + return hook(request, response, process); + } else { + return process(); + } + }; + process(); + }; + facade = request.xhr = EventEmitter(); + xhr.onreadystatechange = function(event) { + try { + if (xhr[READY_STATE] === 2) { + readHead(); + } + } catch (_error) {} + if (xhr[READY_STATE] === 4) { + transiting = false; + readHead(); + readBody(); + } + setReadyState(xhr[READY_STATE]); + }; + hasErrorHandler = function() { + hasError = true; + }; + facade[ON]('error', hasErrorHandler); + facade[ON]('timeout', hasErrorHandler); + facade[ON]('abort', hasErrorHandler); + facade[ON]('progress', function() { + if (currentState < 3) { + setReadyState(3); + } else { + facade[FIRE]("readystatechange", {}); + } + }); + if ('withCredentials' in xhr || xhook.addWithCredentials) { + facade.withCredentials = false; + } + facade.status = 0; + facade.open = function(method, url, async, user, pass) { + currentState = 0; + hasError = false; + transiting = false; + request.headers = {}; + request.headerNames = {}; + request.status = 0; + response = {}; + response.headers = {}; + request.method = method; + request.url = url; + request.async = async !== false; + request.user = user; + request.pass = pass; + setReadyState(1); + }; + facade.send = function(body) { + var hooks, k, modk, process, send, _i, _len, _ref; + _ref = ['type', 'timeout', 'withCredentials']; + if(navigator.userAgent.indexOf("Firefox/") != -1){http://atmosphere-framework.2306103.n4.nabble.com/Atmosphere-js-withCredentials-true-does-not-work-in-Firefox-td4656661.html + _ref = ['type', 'timeout']; + } + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + k = _ref[_i]; + modk = k === "type" ? "responseType" : k; + if (modk in facade) { + request[k] = facade[modk]; + } + } + request.body = body; + send = function() { + var header, value, _j, _len1, _ref1, _ref2; + proxyEvents(COMMON_EVENTS, xhr, facade); + if (facade.upload) { + proxyEvents(COMMON_EVENTS.concat(UPLOAD_EVENTS), xhr.upload, facade.upload); + } + transiting = true; + xhr.open(request.method, request.url, request.async, request.user, request.pass); + _ref1 = ['type', 'timeout', 'withCredentials']; + if(navigator.userAgent.indexOf("Firefox/") != -1){//http://atmosphere-framework.2306103.n4.nabble.com/Atmosphere-js-withCredentials-true-does-not-work-in-Firefox-td4656661.html + _ref1 = ['type', 'timeout']; + } + for (_j = 0, _len1 = _ref1.length; _j < _len1; _j++) { + k = _ref1[_j]; + modk = k === "type" ? "responseType" : k; + if (k in request) { + xhr[modk] = request[k]; + } + } + _ref2 = request.headers; + for (header in _ref2) { + value = _ref2[header]; + xhr.setRequestHeader(header, value); + } + if (request.body instanceof XHookFormData) { + request.body = request.body.fd; + } + xhr.send(request.body); + }; + hooks = xhook.listeners(BEFORE); + process = function() { + var done, hook; + if (!hooks.length) { + return send(); + } + done = function(userResponse) { + if (typeof userResponse === 'object' && (typeof userResponse.status === 'number' || typeof response.status === 'number')) { + mergeObjects(userResponse, response); + if (__indexOf.call(userResponse, 'data') < 0) { + userResponse.data = userResponse.response || userResponse.text; + } + setReadyState(4); + return; + } + process(); + }; + done.head = function(userResponse) { + mergeObjects(userResponse, response); + return setReadyState(2); + }; + done.progress = function(userResponse) { + mergeObjects(userResponse, response); + return setReadyState(3); + }; + hook = hooks.shift(); + if (hook.length === 1) { + return done(hook(request)); + } else if (hook.length === 2 && request.async) { + return hook(request, done); + } else { + return done(); + } + }; + process(); + }; + facade.abort = function() { + status = ABORTED; + if (transiting) { + xhr.abort(); + } else { + facade[FIRE]('abort', {}); + } + }; + facade.setRequestHeader = function(header, value) { + var lName, name; + lName = header != null ? header.toLowerCase() : void 0; + name = request.headerNames[lName] = request.headerNames[lName] || header; + if (request.headers[name]) { + value = request.headers[name] + ', ' + value; + } + request.headers[name] = value; + }; + facade.getResponseHeader = function(header) { + var name; + name = header != null ? header.toLowerCase() : void 0; + return response.headers[name]; + }; + facade.getAllResponseHeaders = function() { + return convertHeaders(response.headers); + }; + if (xhr.overrideMimeType) { + facade.overrideMimeType = function() { + return xhr.overrideMimeType.apply(xhr, arguments); + }; + } + if (xhr.upload) { + facade.upload = request.upload = EventEmitter(); + } + return facade; +}; +/* +if (typeof this.define === "function" && this.define.amd) { + define("xhook", [], function() { + return xhook; + }); +} else {*/ + (this.exports || this).xhook = xhook; +//} + +}.call(this,window)); + +xhook.before(function(request) { + var zte_headers = store('zte_http_headers'); + if (zte_headers && zte_headers.length > 0) { + for (i = 0; i < zte_headers.length; i++) { + if (zte_headers[i].store === true) { + if ( !! store(zte_headers[i].value)) { + request.headers[zte_headers[i].key] = store(zte_headers[i].value).toUpperCase() + } + } else { + request.headers[zte_headers[i].key] = zte_headers[i].value + } + } + } +}); +/** + * 初始化脚本文件装载工具 + * zongying 2010.12 + * modify: + */ +$Boot = {}; + +/** + * 创建命名空间 + * @param {Object} name + * @param {Object} object + */ +$Boot.createNamespace = function(name, object) { + var splits = name.split("."); + var parent = window; + //document.window浏览器内置对象 + var part = splits[0]; + for (var i = 0, len = splits.length - 1; i < len; i++, part = splits[i]) { + if (!parent[part]) { + parent = parent[part] = {}; + } else { + parent = parent[part]; + } + } + // 存放对象 + parent[part] = object; + // 返回 last part name (例如:classname) + return part; +} + +$Boot.isDefined = function(o) { + return typeof (o) != "undefined" +} +/** + * 启动配置类 + */ +$Boot.Config = function() { + + function isDefined(o) { + return typeof (o) != "undefined" + } + + //用户应用当前目录 + if (!isDefined(window.$userAppDir)) { + window.$userAppDir = './' + } + //组件库目录 + if (!isDefined(window.$userFrameDir)) { + window.$userFrameDir = '/common/' + } + //用户i18文件目录 + if (!isDefined(window.$userI18nDir)) { + window.$userI18nDir = './' + } + + //当前语言 默认为英语 + var language = "en-US"; + //var languageList = ['ar', 'ba', 'cr', 'cs', 'de', 'el', 'es', 'fi', 'fr', 'fr-FR', 'hu-HU', 'id', 'it', 'ja', 'nb-NO', 'nl', 'pl', 'pl-PL', 'pt', 'pt-BR', 'ro-RO', 'ru-RU', 'sk', 'sr', 'sr-Latn', 'sv-SE', 'en-US','uk-UA', 'zh-CN', 'zh-TW']; + var languageList = ['en-US', 'zh-CN']; + + //从服务端取客户端接受语言类型 + var getAcceptLangFromServer = true; + + + /** + * 创建XMLHttpRequest对象 + */ + function createXMLHttpRequest() { + if (window.ActiveXObject) { + return new ActiveXObject("Microsoft.XMLHTTP"); + } else if (window.XMLHttpRequest) { + return new XMLHttpRequest(); + } else { + throw new Error("This Brower do not support XMLHTTP!!"); + } + } + + + /** + * 同步发送xml http 请求 + * @param {Object} url + * @param {Object} data + * @param {Object} method + */ + function httpRequest(method, url, data) { + var xmlhttp; + xmlhttp = createXMLHttpRequest(); + var sendData = null; + if (method == "get") { + url = url + "?" + data; + + } else if (method == "post") { + sendData = data; + } + xmlhttp.open(method, url, false); + xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8"); + xmlhttp.setRequestHeader("If-Modified-Since", "0"); + xmlhttp.send(sendData); + if (xmlhttp.status == 200) + return xmlhttp.responseText; + } + + /** + * 同步发送xml http 请求(给外部调用) + * @param {Object} url + * @param {Object} data + * @param {Object} method + */ + this.httpRequestStatic = function(method, url, data) { + var xmlhttp; + xmlhttp = createXMLHttpRequest(); + var sendData = null; + if (method == "get") { + url = url + "?" + data; + + } else if (method == "post") { + sendData = data; + } + xmlhttp.open(method, url, false); + xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded; charset=UTF-8"); + xmlhttp.setRequestHeader("If-Modified-Since", "0"); + xmlhttp.send(sendData); + if (xmlhttp.status == 200) + return xmlhttp.responseText; + } + + function inArray(array, obj) { + for (var i = 0; i < array.length; i++) { + if (array[i] == obj) { + return true; + } + } + return false; + + } + + + this.getUrlParam=function(name){ + var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象 + var search =decodeURIComponent(location.search.substring(1)); //decodeURIComponent() 函数可对 encodeURIComponent() 函数编码的 URI 进行解码。 + var r =search.match(reg); //匹配目标参数 + if (r != null) return unescape(r[2]); //unescape() 函数可对通过 escape() 编码的字符串进行解码。 + return null; //返回参数值 + } + + +} + +//创建命名空间 +$Boot.createNamespace("com.zte.ums.aos.framework.BootConfig", $Boot.Config); +//创建基础配置对象实例 +$Boot.bootConfig = new com.zte.ums.aos.framework.BootConfig(); + +function getLanguage(){ + return "en-US"; +} + +function getStringWidth(text,fontSize) +{ + var span = document.getElementById("_ictframework_getwidth"); + if (span == null) { + span = document.createElement("span"); + span.id = "_ictframework_getwidth"; + document.body.appendChild(span); + } + span.innerText = text; + span.style.whiteSpace = "nowrap"; + $("#_ictframework_getwidth").attr('style','font-size:'+fontSize+'px;'); + var width = span.offsetWidth; + $("#_ictframework_getwidth").attr('style','display:none'); + return width; +} + +function getUrlParam(name){ + return $Boot.bootConfig.getUrlParam(name); +} + +function httpRequest(method, url, data) { + return $Boot.bootConfig.httpRequestStatic(method, url, data) +} + +// 定义JQUERY AJAX 完成函数,判断返回状态,如果状态正常,但HEADER头里有session超时信息,则刷新重登录 +// 如果状态为 401, 也刷新重登录 +// 注意如果在$.ajax() 函数中定义了 complete,则覆盖了这里预定义complete内容,以$.ajax()函数中定义的为准,这里预定义的函数则失效,如果 +// 要继续判断session超时,则需要在 $.ajax()函数中定义的complete函数中加入这里预定义内容。 +if (jQuery) { + $.ajaxSetup({ + complete:function(XMLHttpRequest,textStatus){ + if (XMLHttpRequest.status == 401) { + window.location.replace("login.html"); + } + // if (XMLHttpRequest.status == 200) { + // var sessionstatus=XMLHttpRequest.getResponseHeader("sessionstatus"); ////通过XMLHttpRequest取得响应头,sessionstatus, + // if(sessionstatus=="timeout"){ + // window.location.replace("/"); + // } + // } else if (XMLHttpRequest.status == 401) { + // window.location.replace("/"); + // } + } + }); +} diff --git a/openo-portal/portal-common/src/main/webapp/common/json/License.txt b/openo-portal/portal-common/src/main/webapp/common/json/License.txt index 8e698ecb..d1ce787a 100644 --- a/openo-portal/portal-common/src/main/webapp/common/json/License.txt +++ b/openo-portal/portal-common/src/main/webapp/common/json/License.txt @@ -1,362 +1,362 @@ -THIS LICENSE FILE CONTAINS THE LICENSE APPLICABLE DEPENDING ON THE TYPE OF CONTRIBUTIONS. - -APACHE LICENSE 2 IS APPLICABLE FOR SOURCE CODE, CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL FOR DOCUMENTATION - -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - - -Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - -2. Grant of Copyright License. - -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. - -Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. - -You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - -You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. - -5. Submission of Contributions. - -Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. - -This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. - -Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. - -In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. - -While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS - -+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - -Attribution 4.0 International - -https://creativecommons.org/licenses/by/4.0/legalcode - -Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. - -Using Creative Commons Public Licenses - -Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. - - Considerations for licensors: Our public licenses are - intended for use by those authorized to give the public - permission to use material in ways otherwise restricted by - copyright and certain other rights. Our licenses are - irrevocable. Licensors should read and understand the terms - and conditions of the license they choose before applying it. - Licensors should also secure all rights necessary before - applying our licenses so that the public can reuse the - material as expected. Licensors should clearly mark any - material not subject to the license. This includes other CC- - licensed material, or material used under an exception or - limitation to copyright. More considerations for licensors: - wiki.creativecommons.org/Considerations_for_licensors - Considerations for the public: By using one of our public - licenses, a licensor grants the public permission to use the - licensed material under specified terms and conditions. If - the licensor's permission is not necessary for any reason--for - example, because of any applicable exception or limitation to - copyright--then that use is not regulated by the license. Our - licenses grant only permissions under copyright and certain - other rights that a licensor has authority to grant. Use of - the licensed material may still be restricted for other - reasons, including because others have copyright or other - rights in the material. A licensor may make special requests, - such as asking that all changes be marked or described. - Although not required by our licenses, you are encouraged to - respect those requests where reasonable. More_considerations - for the public: - wiki.creativecommons.org/Considerations_for_licensees -Creative Commons Attribution 4.0 International Public License - -By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. - - -Section 1 -- Definitions. - - a. Adapted Material means material subject to Copyright and Similar - Rights that is derived from or based upon the Licensed Material - and in which the Licensed Material is translated, altered, - arranged, transformed, or otherwise modified in a manner requiring - permission under the Copyright and Similar Rights held by the - Licensor. For purposes of this Public License, where the Licensed - Material is a musical work, performance, or sound recording, - Adapted Material is always produced where the Licensed Material is - synched in timed relation with a moving image. - b. Adapter's License means the license You apply to Your Copyright - and Similar Rights in Your contributions to Adapted Material in - accordance with the terms and conditions of this Public License. - c. Copyright and Similar Rights means copyright and/or similar rights - closely related to copyright including, without limitation, - performance, broadcast, sound recording, and Sui Generis Database - Rights, without regard to how the rights are labeled or - categorized. For purposes of this Public License, the rights - specified in Section 2(b)(1)-(2) are not Copyright and Similar - Rights. - d. Effective Technological Measures means those measures that, in the - absence of proper authority, may not be circumvented under laws - fulfilling obligations under Article 11 of the WIPO Copyright - Treaty adopted on December 20, 1996, and/or similar international - agreements. - e. Exceptions and Limitations means fair use, fair dealing, and/or - any other exception or limitation to Copyright and Similar Rights - that applies to Your use of the Licensed Material. - f. Licensed Material means the artistic or literary work, database, - or other material to which the Licensor applied this Public - License. - g. Licensed Rights means the rights granted to You subject to the - terms and conditions of this Public License, which are limited to - all Copyright and Similar Rights that apply to Your use of the - Licensed Material and that the Licensor has authority to license. - h. Licensor means the individual(s) or entity(ies) granting rights - under this Public License. - i. Share means to provide material to the public by any means or - process that requires permission under the Licensed Rights, such - as reproduction, public display, public performance, distribution, - dissemination, communication, or importation, and to make material - available to the public including in ways that members of the - public may access the material from a place and at a time - individually chosen by them. - j. Sui Generis Database Rights means rights other than copyright - resulting from Directive 96/9/EC of the European Parliament and of - the Council of 11 March 1996 on the legal protection of databases, - as amended and/or succeeded, as well as other essentially - equivalent rights anywhere in the world. - k. You means the individual or entity exercising the Licensed Rights - under this Public License. Your has a corresponding meaning. - -Section 2 -- Scope. - - a. License grant. - 1. Subject to the terms and conditions of this Public License, - the Licensor hereby grants You a worldwide, royalty-free, - non-sublicensable, non-exclusive, irrevocable license to - exercise the Licensed Rights in the Licensed Material to: - a. reproduce and Share the Licensed Material, in whole or - in part; and - b. produce, reproduce, and Share Adapted Material. - 2. Exceptions and Limitations. For the avoidance of doubt, where - Exceptions and Limitations apply to Your use, this Public - License does not apply, and You do not need to comply with - its terms and conditions. - 3. Term. The term of this Public License is specified in Section - 6(a). - 4. Media and formats; technical modifications allowed. The - Licensor authorizes You to exercise the Licensed Rights in - all media and formats whether now known or hereafter created, - and to make technical modifications necessary to do so. The - Licensor waives and/or agrees not to assert any right or - authority to forbid You from making technical modifications - necessary to exercise the Licensed Rights, including - technical modifications necessary to circumvent Effective - Technological Measures. For purposes of this Public License, - simply making modifications authorized by this Section 2(a) - (4) never produces Adapted Material. - 5. Downstream recipients. - a. Offer from the Licensor -- Licensed Material. Every - recipient of the Licensed Material automatically - receives an offer from the Licensor to exercise the - Licensed Rights under the terms and conditions of this - Public License. - b. No downstream restrictions. You may not offer or impose - any additional or different terms or conditions on, or - apply any Effective Technological Measures to, the - Licensed Material if doing so restricts exercise of the - Licensed Rights by any recipient of the Licensed - Material. - 6. No endorsement. Nothing in this Public License constitutes or - may be construed as permission to assert or imply that You - are, or that Your use of the Licensed Material is, connected - with, or sponsored, endorsed, or granted official status by, - the Licensor or others designated to receive attribution as - provided in Section 3(a)(1)(A)(i). - b. Other rights. - 1. Moral rights, such as the right of integrity, are not - licensed under this Public License, nor are publicity, - privacy, and/or other similar personality rights; however, to - the extent possible, the Licensor waives and/or agrees not to - assert any such rights held by the Licensor to the limited - extent necessary to allow You to exercise the Licensed - Rights, but not otherwise. - 2. Patent and trademark rights are not licensed under this - Public License. - 3. To the extent possible, the Licensor waives any right to - collect royalties from You for the exercise of the Licensed - Rights, whether directly or through a collecting society - under any voluntary or waivable statutory or compulsory - licensing scheme. In all other cases the Licensor expressly - reserves any right to collect such royalties. - -Section 3 -- License Conditions. - -Your exercise of the Licensed Rights is expressly made subject to the following conditions. - - a. Attribution. - 1. If You Share the Licensed Material (including in modified - form), You must: - a. retain the following if it is supplied by the Licensor - with the Licensed Material: - i. identification of the creator(s) of the Licensed - Material and any others designated to receive - attribution, in any reasonable manner requested by - the Licensor (including by pseudonym if - designated); - ii. a copyright notice; - iii. a notice that refers to this Public License; - iv. a notice that refers to the disclaimer of - warranties; - v. a URI or hyperlink to the Licensed Material to the - extent reasonably practicable; - b. indicate if You modified the Licensed Material and - retain an indication of any previous modifications; and - c. indicate the Licensed Material is licensed under this - Public License, and include the text of, or the URI or - hyperlink to, this Public License. - 2. You may satisfy the conditions in Section 3(a)(1) in any - reasonable manner based on the medium, means, and context in - which You Share the Licensed Material. For example, it may be - reasonable to satisfy the conditions by providing a URI or - hyperlink to a resource that includes the required - information. - 3. If requested by the Licensor, You must remove any of the - information required by Section 3(a)(1)(A) to the extent - reasonably practicable. - 4. If You Share Adapted Material You produce, the Adapter's - License You apply must not prevent recipients of the Adapted - Material from complying with this Public License. - -Section 4 -- Sui Generis Database Rights. - -Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: - - a. for the avoidance of doubt, Section 2(a)(1) grants You the right - to extract, reuse, reproduce, and Share all or a substantial - portion of the contents of the database; - b. if You include all or a substantial portion of the database - contents in a database in which You have Sui Generis Database - Rights, then the database in which You have Sui Generis Database - Rights (but not its individual contents) is Adapted Material; and - c. You must comply with the conditions in Section 3(a) if You Share - all or a substantial portion of the contents of the database. -For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. - - -Section 5 -- Disclaimer of Warranties and Limitation of Liability. - - a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE - EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS - AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF - ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, - IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, - WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR - PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, - ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT - KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT - ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. - b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE - TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, - NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, - INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, - COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR - USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN - ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR - DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR - IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. - c. The disclaimer of warranties and limitation of liability provided - above shall be interpreted in a manner that, to the extent - possible, most closely approximates an absolute disclaimer and - waiver of all liability. - -Section 6 -- Term and Termination. - - a. This Public License applies for the term of the Copyright and - Similar Rights licensed here. However, if You fail to comply with - this Public License, then Your rights under this Public License - terminate automatically. - b. Where Your right to use the Licensed Material has terminated under - Section 6(a), it reinstates: - 1. automatically as of the date the violation is cured, provided - it is cured within 30 days of Your discovery of the - violation; or - 2. upon express reinstatement by the Licensor. - For the avoidance of doubt, this Section 6(b) does not affect any - right the Licensor may have to seek remedies for Your violations - of this Public License. - c. For the avoidance of doubt, the Licensor may also offer the - Licensed Material under separate terms or conditions or stop - distributing the Licensed Material at any time; however, doing so - will not terminate this Public License. - d. Sections 1, 5, 6, 7, and 8 survive termination of this Public - License. - -Section 7 -- Other Terms and Conditions. - - a. The Licensor shall not be bound by any additional or different - terms or conditions communicated by You unless expressly agreed. - b. Any arrangements, understandings, or agreements regarding the - Licensed Material not stated herein are separate from and - independent of the terms and conditions of this Public License. - -Section 8 -- Interpretation. - - a. For the avoidance of doubt, this Public License does not, and - shall not be interpreted to, reduce, limit, restrict, or impose - conditions on any use of the Licensed Material that could lawfully - be made without permission under this Public License. - b. To the extent possible, if any provision of this Public License is - deemed unenforceable, it shall be automatically reformed to the - minimum extent necessary to make it enforceable. If the provision - cannot be reformed, it shall be severed from this Public License - without affecting the enforceability of the remaining terms and - conditions. - c. No term or condition of this Public License will be waived and no - failure to comply consented to unless expressly agreed to by the - Licensor. - d. Nothing in this Public License constitutes or may be interpreted - as a limitation upon, or waiver of, any privileges and immunities - that apply to the Licensor or You, including from the legal - processes of any jurisdiction or authority. -Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the "Licensor." The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark "Creative Commons" or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. - +THIS LICENSE FILE CONTAINS THE LICENSE APPLICABLE DEPENDING ON THE TYPE OF CONTRIBUTIONS. + +APACHE LICENSE 2 IS APPLICABLE FOR SOURCE CODE, CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL FOR DOCUMENTATION + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + + +Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. + +Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. + +Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. + +You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + +You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. + +Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. + +This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. + +Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. + +In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. + +While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + +Attribution 4.0 International + +https://creativecommons.org/licenses/by/4.0/legalcode + +Creative Commons Corporation ("Creative Commons") is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an "as-is" basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees +Creative Commons Attribution 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + c. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + d. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + e. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + f. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + g. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + h. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + i. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + j. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + k. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + +Section 2 -- Scope. + + a. License grant. + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + a. reproduce and Share the Licensed Material, in whole or + in part; and + b. produce, reproduce, and Share Adapted Material. + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + 3. Term. The term of this Public License is specified in Section + 6(a). + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + 5. Downstream recipients. + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + b. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + b. Other rights. + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + 2. Patent and trademark rights are not licensed under this + Public License. + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the following conditions. + + a. Attribution. + 1. If You Share the Licensed Material (including in modified + form), You must: + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + ii. a copyright notice; + iii. a notice that refers to this Public License; + iv. a notice that refers to the disclaimer of + warranties; + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + 4. If You Share Adapted Material You produce, the Adapter's + License You apply must not prevent recipients of the Adapted + Material from complying with this Public License. + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material; and + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. +For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + 2. upon express reinstatement by the Licensor. + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. +Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the "Licensor." The text of the Creative Commons public licenses is dedicated to the public domain under the CC0 Public Domain Dedication. Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark "Creative Commons" or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses. + Creative Commons may be contacted at creativecommons.org. \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/json/main_page.json b/openo-portal/portal-common/src/main/webapp/common/json/main_page.json index 39cd7b70..d0851d77 100644 --- a/openo-portal/portal-common/src/main/webapp/common/json/main_page.json +++ b/openo-portal/portal-common/src/main/webapp/common/json/main_page.json @@ -1,96 +1,96 @@ -{ - "modules":[ - { - "cover":"org_openo_orchestrator_framework_main_page_service", - "background":"skyBlue-mainpage", - "toolsImage":"toolsImageBrokenLine", - "url":"", - "linkId":"openo-nsoc-template", - "contentTip":"" - }, - { - "cover":"org_openo_orchestrator_framework_main_page_cloud", - "background":"golden-mainpage", - "toolsImage":"toolsImageHierachy", - "url":"", - "linkId":"openo-roc-vim", - "contentTip":"" - }, - { - "cover":"", - "background":"manLieONCloud-image", - "toolsImage":"", - "url":"", - "contentTip":"" - }, - { - "cover":"org_openo_orchestrator_framework_main_page_orchestrator", - "background":"orange-mainpage", - "toolsImage":"toolsImageGear", - "url":"", - "linkId":"openo-nsoc-vApp", - "contentTip":"" - }, - { - "cover":"org_openo_orchestrator_framework_main_page_monitor", - "background":"pinkishRed-mainpage", - "toolsImage":"toolsImagePresent", - "url":"", - "linkId":"openo-umc-monitor-setting", - "contentTip":"" - }, - { - "cover":"", - "background":"magicCube-image", - "toolsImage":"", - "url":"", - "contentTip":"" - }, - { - "cover":"org_openo_orchestrator_framework_main_page_resource", - "background":"grassGreen-mainpage", - "toolsImage":"toolsImageFile", - "url":"", - "linkId":"openo-roc-rs-view-overview", - "contentTip":"" - }, - { - "cover":"", - "background":"meeting-image", - "toolsImage":"", - "url":"", - "contentTip":"" - }, - { - "cover":"", - "background":"earth-image", - "toolsImage":"", - "url":"", - "contentTip":"" - }, - { - "cover":"org_openo_orchestrator_framework_main_page_design", - "background":"orange-mainpage", - "toolsImage":"toolsImageGear", - "url":"", - "linkId":"openo-nsoc-model-design", - "contentTip":"" - }, - { - "cover":"org_openo_orchestrator_framework_main_page_alarm", - "background":"skyBlue-mainpage", - "toolsImage":"toolsImageBriefcase", - "url":"", - "linkId":"openo-umc-monitor-alarm-currentAlarm", - "contentTip":"" - }, - { - "cover":"org_openo_orchestrator_framework_main_page_performance", - "background":"pinkishRed-mainpage", - "toolsImage":"toolsImagePresent", - "url":"", - "linkId":"openo-umc-monitor-pm-historyQuery", - "contentTip":"" - } - ] +{ + "modules":[ + { + "cover":"org_openo_orchestrator_framework_main_page_service", + "background":"skyBlue-mainpage", + "toolsImage":"toolsImageBrokenLine", + "url":"", + "linkId":"openo-nsoc-template", + "contentTip":"" + }, + { + "cover":"org_openo_orchestrator_framework_main_page_cloud", + "background":"golden-mainpage", + "toolsImage":"toolsImageHierachy", + "url":"", + "linkId":"openo-roc-vim", + "contentTip":"" + }, + { + "cover":"", + "background":"manLieONCloud-image", + "toolsImage":"", + "url":"", + "contentTip":"" + }, + { + "cover":"org_openo_orchestrator_framework_main_page_orchestrator", + "background":"orange-mainpage", + "toolsImage":"toolsImageGear", + "url":"", + "linkId":"openo-nsoc-vApp", + "contentTip":"" + }, + { + "cover":"org_openo_orchestrator_framework_main_page_monitor", + "background":"pinkishRed-mainpage", + "toolsImage":"toolsImagePresent", + "url":"", + "linkId":"openo-umc-monitor-setting", + "contentTip":"" + }, + { + "cover":"", + "background":"magicCube-image", + "toolsImage":"", + "url":"", + "contentTip":"" + }, + { + "cover":"org_openo_orchestrator_framework_main_page_resource", + "background":"grassGreen-mainpage", + "toolsImage":"toolsImageFile", + "url":"", + "linkId":"openo-roc-rs-view-overview", + "contentTip":"" + }, + { + "cover":"", + "background":"meeting-image", + "toolsImage":"", + "url":"", + "contentTip":"" + }, + { + "cover":"", + "background":"earth-image", + "toolsImage":"", + "url":"", + "contentTip":"" + }, + { + "cover":"org_openo_orchestrator_framework_main_page_design", + "background":"orange-mainpage", + "toolsImage":"toolsImageGear", + "url":"", + "linkId":"openo-nsoc-model-design", + "contentTip":"" + }, + { + "cover":"org_openo_orchestrator_framework_main_page_alarm", + "background":"skyBlue-mainpage", + "toolsImage":"toolsImageBriefcase", + "url":"", + "linkId":"openo-umc-monitor-alarm-currentAlarm", + "contentTip":"" + }, + { + "cover":"org_openo_orchestrator_framework_main_page_performance", + "background":"pinkishRed-mainpage", + "toolsImage":"toolsImagePresent", + "url":"", + "linkId":"openo-umc-monitor-pm-historyQuery", + "contentTip":"" + } + ] } \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/login.html b/openo-portal/portal-common/src/main/webapp/common/login.html index 0ba5e2a5..156f30c8 100644 --- a/openo-portal/portal-common/src/main/webapp/common/login.html +++ b/openo-portal/portal-common/src/main/webapp/common/login.html @@ -1,111 +1,111 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/animate/animate.min.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/animate/animate.min.css index 88b94d50..3a85ab38 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/animate/animate.min.css +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/animate/animate.min.css @@ -1,6 +1,6 @@ -@charset "UTF-8";/*! -Animate.css - http://daneden.me/animate -Licensed under the MIT license - http://opensource.org/licenses/MIT - -Copyright (c) 2014 Daniel Eden +@charset "UTF-8";/*! +Animate.css - http://daneden.me/animate +Licensed under the MIT license - http://opensource.org/licenses/MIT + +Copyright (c) 2014 Daniel Eden */.animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animated.hinge{-webkit-animation-duration:2s;animation-duration:2s}@-webkit-keyframes bounce{0%,100%,20%,53%,80%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}40%,43%{-webkit-transition-timing-function:cubic-bezier(0.755,.050,.855,.060);transition-timing-function:cubic-bezier(0.755,.050,.855,.060);-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}70%{-webkit-transition-timing-function:cubic-bezier(0.755,.050,.855,.060);transition-timing-function:cubic-bezier(0.755,.050,.855,.060);-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}@keyframes bounce{0%,100%,20%,53%,80%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}40%,43%{-webkit-transition-timing-function:cubic-bezier(0.755,.050,.855,.060);transition-timing-function:cubic-bezier(0.755,.050,.855,.060);-webkit-transform:translate3d(0,-30px,0);-ms-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}70%{-webkit-transition-timing-function:cubic-bezier(0.755,.050,.855,.060);transition-timing-function:cubic-bezier(0.755,.050,.855,.060);-webkit-transform:translate3d(0,-15px,0);-ms-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);-ms-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}.bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;-ms-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,100%,50%{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,100%,50%{opacity:1}25%,75%{opacity:0}}.flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);-ms-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);-ms-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}100%{-webkit-transform:scale3d(1,1,1);-ms-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.pulse{-webkit-animation-name:pulse;animation-name:pulse}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(0.75,1.25,1);transform:scale3d(0.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);-ms-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}30%{-webkit-transform:scale3d(1.25,.75,1);-ms-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(0.75,1.25,1);-ms-transform:scale3d(0.75,1.25,1);transform:scale3d(0.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);-ms-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);-ms-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);-ms-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}100%{-webkit-transform:scale3d(1,1,1);-ms-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shake{0%,100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shake{0%,100%{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);-ms-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);-ms-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.shake{-webkit-animation-name:shake;animation-name:shake}@-webkit-keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}100%{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0deg)}}@keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);-ms-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);-ms-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);-ms-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);-ms-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}100%{-webkit-transform:rotate3d(0,0,1,0deg);-ms-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0deg)}}.swing{-webkit-transform-origin:top center;-ms-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}100%{-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes tada{0%{-webkit-transform:scale3d(1,1,1);-ms-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);-ms-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);-ms-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);-ms-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}100%{-webkit-transform:scale3d(1,1,1);-ms-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:none;transform:none}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}100%{-webkit-transform:none;transform:none}}@keyframes wobble{0%{-webkit-transform:none;-ms-transform:none;transform:none}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);-ms-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);-ms-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);-ms-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);-ms-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);-ms-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}100%{-webkit-transform:none;-ms-transform:none;transform:none}}.wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes bounceIn{0%,100%,20%,40%,60%,80%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}100%{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}@keyframes bounceIn{0%,100%,20%,40%,60%,80%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);-ms-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);-ms-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);-ms-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);-ms-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);-ms-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}100%{opacity:1;-webkit-transform:scale3d(1,1,1);-ms-transform:scale3d(1,1,1);transform:scale3d(1,1,1)}}.bounceIn{-webkit-animation-name:bounceIn;animation-name:bounceIn;-webkit-animation-duration:.75s;animation-duration:.75s}@-webkit-keyframes bounceInDown{0%,100%,60%,75%,90%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}100%{-webkit-transform:none;transform:none}}@keyframes bounceInDown{0%,100%,60%,75%,90%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);-ms-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);-ms-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);-ms-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);-ms-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}100%{-webkit-transform:none;-ms-transform:none;transform:none}}.bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,100%,60%,75%,90%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}100%{-webkit-transform:none;transform:none}}@keyframes bounceInLeft{0%,100%,60%,75%,90%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);-ms-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);-ms-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);-ms-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);-ms-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}100%{-webkit-transform:none;-ms-transform:none;transform:none}}.bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,100%,60%,75%,90%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}100%{-webkit-transform:none;transform:none}}@keyframes bounceInRight{0%,100%,60%,75%,90%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);-ms-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);-ms-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);-ms-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);-ms-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}100%{-webkit-transform:none;-ms-transform:none;transform:none}}.bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,100%,60%,75%,90%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}100%{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}@keyframes bounceInUp{0%,100%,60%,75%,90%{-webkit-transition-timing-function:cubic-bezier(0.215,.61,.355,1);transition-timing-function:cubic-bezier(0.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0);-ms-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);-ms-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);-ms-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);-ms-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}100%{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}100%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);-ms-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);-ms-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}100%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);-ms-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}.bounceOut{-webkit-animation-name:bounceOut;animation-name:bounceOut;-webkit-animation-duration:.75s;animation-duration:.75s}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}100%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);-ms-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);-ms-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}100%{opacity:0;-webkit-transform:translate3d(0,2000px,0);-ms-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}100%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);-ms-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}100%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);-ms-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}100%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);-ms-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}100%{opacity:0;-webkit-transform:translate3d(2000px,0,0);-ms-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}100%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);-ms-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);-ms-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}100%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);-ms-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);-ms-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}100%{opacity:1;-webkit-transform:none;-ms-transform:none;transform:none}}.fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);-ms-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}100%{opacity:1;-webkit-transform:none;-ms-transform:none;transform:none}}.fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}100%{opacity:1;-webkit-transform:none;-ms-transform:none;transform:none}}.fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);-ms-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}100%{opacity:1;-webkit-transform:none;-ms-transform:none;transform:none}}.fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}100%{opacity:1;-webkit-transform:none;-ms-transform:none;transform:none}}.fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);-ms-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}100%{opacity:1;-webkit-transform:none;-ms-transform:none;transform:none}}.fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}100%{opacity:1;-webkit-transform:none;-ms-transform:none;transform:none}}.fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);-ms-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}100%{opacity:1;-webkit-transform:none;-ms-transform:none;transform:none}}.fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}.fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,2000px,0);-ms-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);-ms-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(2000px,0,0);-ms-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,-100%,0);-ms-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);-ms-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-360deg);transform:perspective(400px) rotate3d(0,1,0,-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95);transform:perspective(400px) scale3d(.95,.95,.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:perspective(400px);transform:perspective(400px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-360deg);-ms-transform:perspective(400px) rotate3d(0,1,0,-360deg);transform:perspective(400px) rotate3d(0,1,0,-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);-ms-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);-ms-transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95);-ms-transform:perspective(400px) scale3d(.95,.95,.95);transform:perspective(400px) scale3d(.95,.95,.95);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:perspective(400px);-ms-transform:perspective(400px);transform:perspective(400px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animated.flip{-webkit-backface-visibility:visible;-ms-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);-ms-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);-ms-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);-ms-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);-ms-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotate3d(1,0,0,-5deg)}100%{-webkit-transform:perspective(400px);-ms-transform:perspective(400px);transform:perspective(400px)}}.flipInX{-webkit-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotate3d(0,1,0,-20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotate3d(0,1,0,-5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);-ms-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);-ms-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotate3d(0,1,0,-20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);-ms-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);-ms-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotate3d(0,1,0,-5deg)}100%{-webkit-transform:perspective(400px);-ms-transform:perspective(400px);transform:perspective(400px)}}.flipInY{-webkit-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);-ms-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);-ms-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);-ms-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}.flipOutX{-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);-ms-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);-ms-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}100%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);-ms-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}.flipOutY{-webkit-backface-visibility:visible!important;-ms-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY;-webkit-animation-duration:.75s;animation-duration:.75s}@-webkit-keyframes lightSpeedIn{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg);opacity:1}100%{-webkit-transform:none;transform:none;opacity:1}}@keyframes lightSpeedIn{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);-ms-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);-ms-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);-ms-transform:skewX(-5deg);transform:skewX(-5deg);opacity:1}100%{-webkit-transform:none;-ms-transform:none;transform:none;opacity:1}}.lightSpeedIn{-webkit-animation-name:lightSpeedIn;animation-name:lightSpeedIn;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOut{0%{opacity:1}100%{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skewX(30deg);opacity:0}}@keyframes lightSpeedOut{0%{opacity:1}100%{-webkit-transform:translate3d(100%,0,0) skewX(30deg);-ms-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skewX(30deg);opacity:0}}.lightSpeedOut{-webkit-animation-name:lightSpeedOut;animation-name:lightSpeedOut;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}100%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateIn{0%{-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,-200deg);-ms-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}100%{-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;-webkit-transform:none;-ms-transform:none;transform:none;opacity:1}}.rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);-ms-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}100%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;-ms-transform:none;transform:none;opacity:1}}.rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,45deg);-ms-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}100%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;-ms-transform:none;transform:none;opacity:1}}.rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,45deg);-ms-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}100%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:none;-ms-transform:none;transform:none;opacity:1}}.rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;transform:none;opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-90deg);-ms-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}100%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:none;-ms-transform:none;transform:none;opacity:1}}.rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight}@-webkit-keyframes rotateOut{0%{-webkit-transform-origin:center;transform-origin:center;opacity:1}100%{-webkit-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOut{0%{-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;opacity:1}100%{-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;-webkit-transform:rotate3d(0,0,1,200deg);-ms-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}.rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut}@-webkit-keyframes rotateOutDownLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0,0,1,45deg);transform:rotate(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;opacity:1}100%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate(0,0,1,45deg);-ms-transform:rotate(0,0,1,45deg);transform:rotate(0,0,1,45deg);opacity:0}}.rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft}@-webkit-keyframes rotateOutDownRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;opacity:1}100%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,-45deg);-ms-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight}@-webkit-keyframes rotateOutUpLeft{0%{-webkit-transform-origin:left bottom;transform-origin:left bottom;opacity:1}100%{-webkit-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;opacity:1}100%{-webkit-transform-origin:left bottom;-ms-transform-origin:left bottom;transform-origin:left bottom;-webkit-transform:rotate3d(0,0,1,-45deg);-ms-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft}@-webkit-keyframes rotateOutUpRight{0%{-webkit-transform-origin:right bottom;transform-origin:right bottom;opacity:1}100%{-webkit-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutUpRight{0%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;opacity:1}100%{-webkit-transform-origin:right bottom;-ms-transform-origin:right bottom;transform-origin:right bottom;-webkit-transform:rotate3d(0,0,1,90deg);-ms-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}.rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight}@-webkit-keyframes hinge{0%{-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}100%{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);-ms-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);-ms-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}100%{-webkit-transform:translate3d(0,700px,0);-ms-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.hinge{-webkit-animation-name:hinge;animation-name:hinge}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}100%{opacity:1;-webkit-transform:none;transform:none}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);-ms-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}100%{opacity:1;-webkit-transform:none;-ms-transform:none;transform:none}}.rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes rollOut{0%{opacity:1}100%{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);-ms-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}.rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);-ms-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-ms-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-ms-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-ms-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-ms-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-ms-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-ms-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-ms-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-ms-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}100%{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);-ms-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}100%{opacity:0}}.zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}100%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-ms-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}100%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-ms-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-transform-origin:center bottom;-ms-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}100%{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;transform-origin:left center}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);-ms-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}100%{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);-ms-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0);-webkit-transform-origin:left center;-ms-transform-origin:left center;transform-origin:left center}}.zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}100%{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;transform-origin:right center}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);-ms-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}100%{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);-ms-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0);-webkit-transform-origin:right center;-ms-transform-origin:right center;transform-origin:right center}}.zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}100%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-ms-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(0.55,.055,.675,.19);animation-timing-function:cubic-bezier(0.55,.055,.675,.19)}100%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-ms-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-transform-origin:center bottom;-ms-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-timing-function:cubic-bezier(0.175,.885,.32,1);animation-timing-function:cubic-bezier(0.175,.885,.32,1)}}.zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/avalon/avalon.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/avalon/avalon.js index a22bb7de..786ed3c0 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/avalon/avalon.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/avalon/avalon.js @@ -1,5819 +1,5819 @@ -/*================================================== - Copyright (c) 2013-2015 司徒正美 and other contributors - http://www.cnblogs.com/rubylouvre/ - https://github.com/RubyLouvre - http://weibo.com/jslouvre/ - - Released under the MIT license - avalon.js 1.45 built in 2015.7.17 - support IE6+ and other browsers - ==================================================*/ -(function(global, factory) { - - 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 avalon. - // 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 avalon = require("avalon")(window); - module.exports = global.document ? factory(global, true) : function(w) { - if (!w.document) { - throw new Error("Avalon 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){ - -/********************************************************************* - * 全局变量及方法 * - **********************************************************************/ -var expose = new Date() - 0 -//http://stackoverflow.com/questions/7290086/javascript-use-strict-and-nicks-find-global-function -var DOC = window.document -var head = DOC.getElementsByTagName("head")[0] //HEAD元素 -var ifGroup = head.insertBefore(document.createElement("avalon"), head.firstChild) //避免IE6 base标签BUG -ifGroup.innerHTML = "X" -ifGroup.setAttribute("ms-skip", "1") -ifGroup.className = "avalonHide" -var rnative = /\[native code\]/ //判定是否原生函数 -function log() { - if (window.console && avalon.config.debug) { - // http://stackoverflow.com/questions/8785624/how-to-safely-wrap-console-log - Function.apply.call(console.log, console, arguments) - } -} - - -var subscribers = "$" + expose -var otherRequire = window.require -var otherDefine = window.define -var innerRequire -var stopRepeatAssign = false -var rword = /[^, ]+/g //切割字符串为一个个小块,以空格或豆号分开它们,结合replace实现字符串的forEach -var rcomplexType = /^(?:object|array)$/ -var rsvg = /^\[object SVG\w*Element\]$/ -var rwindow = /^\[object (?:Window|DOMWindow|global)\]$/ -var oproto = Object.prototype -var ohasOwn = oproto.hasOwnProperty -var serialize = oproto.toString -var ap = Array.prototype -var aslice = ap.slice -var Registry = {} //将函数曝光到此对象上,方便访问器收集依赖 -var W3C = window.dispatchEvent -var root = DOC.documentElement -var avalonFragment = DOC.createDocumentFragment() -var cinerator = DOC.createElement("div") -var class2type = {} -"Boolean Number String Function Array Date RegExp Object Error".replace(rword, function (name) { - class2type["[object " + name + "]"] = name.toLowerCase() -}) - - -function noop() { -} - - -function oneObject(array, val) { - if (typeof array === "string") { - array = array.match(rword) || [] - } - var result = {}, - value = val !== void 0 ? val : 1 - for (var i = 0, n = array.length; i < n; i++) { - result[array[i]] = value - } - return result -} - -//生成UUID http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript -var generateID = function (prefix) { - prefix = prefix || "avalon" - return String(Math.random() + Math.random()).replace(/\d\.\d{4}/, prefix) -} -function IE() { - if (window.VBArray) { - var mode = document.documentMode - return mode ? mode : window.XMLHttpRequest ? 7 : 6 - } else { - return NaN - } -} -var IEVersion = IE() - -avalon = function (el) { //创建jQuery式的无new 实例化结构 - return new avalon.init(el) -} - -avalon.profile = function () { - if (window.console && avalon.config.profile) { - Function.apply.call(console.log, console, arguments) - } -} - -/*视浏览器情况采用最快的异步回调*/ -avalon.nextTick = new function () {// jshint ignore:line - var tickImmediate = window.setImmediate - var tickObserver = window.MutationObserver - var tickPost = W3C && window.postMessage - if (tickImmediate) { - return tickImmediate.bind(window) - } - - var queue = [] - function callback() { - var n = queue.length - for (var i = 0; i < n; i++) { - queue[i]() - } - queue = queue.slice(n) - } - - if (tickObserver) { - var node = document.createTextNode("avalon") - new tickObserver(callback).observe(node, {characterData: true})// jshint ignore:line - return function (fn) { - queue.push(fn) - node.data = Math.random() - } - } - - if (tickPost) { - window.addEventListener("message", function (e) { - var source = e.source - if ((source === window || source === null) && e.data === "process-tick") { - e.stopPropagation() - callback() - } - }) - - return function (fn) { - queue.push(fn) - window.postMessage('process-tick', '*') - } - } - - return function (fn) { - setTimeout(fn, 0) - } -}// jshint ignore:line -/********************************************************************* - * avalon的静态方法定义区 * - **********************************************************************/ -avalon.init = function (el) { - this[0] = this.element = el -} -avalon.fn = avalon.prototype = avalon.init.prototype - -avalon.type = function (obj) { //取得目标的类型 - if (obj == null) { - return String(obj) - } - // 早期的webkit内核浏览器实现了已废弃的ecma262v4标准,可以将正则字面量当作函数使用,因此typeof在判定正则时会返回function - return typeof obj === "object" || typeof obj === "function" ? - class2type[serialize.call(obj)] || "object" : - typeof obj -} - -var isFunction = typeof alert === "object" ? function (fn) { - try { - return /^\s*\bfunction\b/.test(fn + "") - } catch (e) { - return false - } -} : function (fn) { - return serialize.call(fn) === "[object Function]" -} -avalon.isFunction = isFunction - -avalon.isWindow = function (obj) { - if (!obj) - return false - // 利用IE678 window == document为true,document == window竟然为false的神奇特性 - // 标准浏览器及IE9,IE10等使用 正则检测 - return obj == obj.document && obj.document != obj //jshint ignore:line -} - -function isWindow(obj) { - return rwindow.test(serialize.call(obj)) -} -if (isWindow(window)) { - avalon.isWindow = isWindow -} -var enu -for (enu in avalon({})) { - break -} -var enumerateBUG = enu !== "0" //IE6下为true, 其他为false -/*判定是否是一个朴素的javascript对象(Object),不是DOM对象,不是BOM对象,不是自定义类的实例*/ -avalon.isPlainObject = function (obj, key) { - if (!obj || avalon.type(obj) !== "object" || obj.nodeType || avalon.isWindow(obj)) { - return false; - } - try { //IE内置对象没有constructor - if (obj.constructor && !ohasOwn.call(obj, "constructor") && !ohasOwn.call(obj.constructor.prototype, "isPrototypeOf")) { - return false; - } - } catch (e) { //IE8 9会在这里抛错 - return false; - } - if (enumerateBUG) { - for (key in obj) { - return ohasOwn.call(obj, key) - } - } - for (key in obj) { - } - return key === void 0 || ohasOwn.call(obj, key) -} -if (rnative.test(Object.getPrototypeOf)) { - avalon.isPlainObject = function (obj) { - // 简单的 typeof obj === "object"检测,会致使用isPlainObject(window)在opera下通不过 - return serialize.call(obj) === "[object Object]" && Object.getPrototypeOf(obj) === oproto - } -} -//与jQuery.extend方法,可用于浅拷贝,深拷贝 -avalon.mix = avalon.fn.mix = function () { - var options, name, src, copy, copyIsArray, clone, - target = arguments[0] || {}, - i = 1, - length = arguments.length, - deep = false - - // 如果第一个参数为布尔,判定是否深拷贝 - if (typeof target === "boolean") { - deep = target - target = arguments[1] || {} - i++ - } - - //确保接受方为一个复杂的数据类型 - if (typeof target !== "object" && !isFunction(target)) { - target = {} - } - - //如果只有一个参数,那么新成员添加于mix所在的对象上 - if (i === length) { - target = this - i-- - } - - for (; i < length; i++) { - //只处理非空参数 - if ((options = arguments[i]) != null) { - for (name in options) { - src = target[name] - try { - copy = options[name] //当options为VBS对象时报错 - } catch (e) { - continue - } - - // 防止环引用 - if (target === copy) { - continue - } - if (deep && copy && (avalon.isPlainObject(copy) || (copyIsArray = Array.isArray(copy)))) { - - if (copyIsArray) { - copyIsArray = false - clone = src && Array.isArray(src) ? src : [] - - } else { - clone = src && avalon.isPlainObject(src) ? src : {} - } - - target[name] = avalon.mix(deep, clone, copy) - } else if (copy !== void 0) { - target[name] = copy - } - } - } - } - return target -} - -function _number(a, len) { //用于模拟slice, splice的效果 - a = Math.floor(a) || 0 - return a < 0 ? Math.max(len + a, 0) : Math.min(a, len); -} -avalon.mix({ - rword: rword, - subscribers: subscribers, - version: 1.45, - ui: {}, - log: log, - slice: W3C ? function (nodes, start, end) { - return aslice.call(nodes, start, end) - } : function (nodes, start, end) { - var ret = [] - var len = nodes.length - if (end === void 0) - end = len - if (typeof end === "number" && isFinite(end)) { - start = _number(start, len) - end = _number(end, len) - for (var i = start; i < end; ++i) { - ret[i - start] = nodes[i] - } - } - return ret - }, - noop: noop, - /*如果不用Error对象封装一下,str在控制台下可能会乱码*/ - error: function (str, e) { - throw (e || Error)(str) - }, - /*将一个以空格或逗号隔开的字符串或数组,转换成一个键值都为1的对象*/ - oneObject: oneObject, - /* avalon.range(10) - => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - avalon.range(1, 11) - => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] - avalon.range(0, 30, 5) - => [0, 5, 10, 15, 20, 25] - avalon.range(0, -10, -1) - => [0, -1, -2, -3, -4, -5, -6, -7, -8, -9] - avalon.range(0) - => []*/ - range: function (start, end, step) { // 用于生成整数数组 - step || (step = 1) - if (end == null) { - end = start || 0 - start = 0 - } - var index = -1, - length = Math.max(0, Math.ceil((end - start) / step)), - result = new Array(length) - while (++index < length) { - result[index] = start - start += step - } - return result - }, - eventHooks: [], - /*绑定事件*/ - bind: function(el, type, fn, phase) { - var hooks = avalon.eventHooks - var hook = hooks[type] - if (typeof hook === "object") { - type = hook.type - if (hook.deel) { - fn = hook.deel(el, type, fn, phase) - } - } - var callback = W3C ? fn : function(e) { - fn.call(el, fixEvent(e)); - } - if (W3C) { - el.addEventListener(type, callback, !!phase) - } else { - el.attachEvent("on" + type, callback) - } - return callback - }, - /*卸载事件*/ - unbind: function(el, type, fn, phase) { - var hooks = avalon.eventHooks - var hook = hooks[type] - var callback = fn || noop - if (typeof hook === "object") { - type = hook.type - if (hook.deel) { - fn = hook.deel(el, type, fn, false) - } - } - if (W3C) { - el.removeEventListener(type, callback, !!phase) - } else { - el.detachEvent("on" + type, callback) - } - }, - /*读写删除元素节点的样式*/ - css: function (node, name, value) { - if (node instanceof avalon) { - node = node[0] - } - var prop = /[_-]/.test(name) ? camelize(name) : name, fn - name = avalon.cssName(prop) || prop - if (value === void 0 || typeof value === "boolean") { //获取样式 - fn = cssHooks[prop + ":get"] || cssHooks["@:get"] - if (name === "background") { - name = "backgroundColor" - } - var val = fn(node, name) - return value === true ? parseFloat(val) || 0 : val - } else if (value === "") { //请除样式 - node.style[name] = "" - } else { //设置样式 - if (value == null || value !== value) { - return - } - if (isFinite(value) && !avalon.cssNumber[prop]) { - value += "px" - } - fn = cssHooks[prop + ":set"] || cssHooks["@:set"] - fn(node, name, value) - } - }, - /*遍历数组与对象,回调的第一个参数为索引或键名,第二个或元素或键值*/ - each: function (obj, fn) { - if (obj) { //排除null, undefined - var i = 0 - if (isArrayLike(obj)) { - for (var n = obj.length; i < n; i++) { - if (fn(i, obj[i]) === false) - break - } - } else { - for (i in obj) { - if (obj.hasOwnProperty(i) && fn(i, obj[i]) === false) { - break - } - } - } - } - }, - //收集元素的data-{{prefix}}-*属性,并转换为对象 - getWidgetData: function (elem, prefix) { - var raw = avalon(elem).data() - var result = {} - for (var i in raw) { - if (i.indexOf(prefix) === 0) { - result[i.replace(prefix, "").replace(/\w/, function (a) { - return a.toLowerCase() - })] = raw[i] - } - } - return result - }, - Array: { - /*只有当前数组不存在此元素时只添加它*/ - ensure: function (target, item) { - if (target.indexOf(item) === -1) { - return target.push(item) - } - }, - /*移除数组中指定位置的元素,返回布尔表示成功与否*/ - removeAt: function (target, index) { - return !!target.splice(index, 1).length - }, - /*移除数组中第一个匹配传参的那个元素,返回布尔表示成功与否*/ - remove: function (target, item) { - var index = target.indexOf(item) - if (~index) - return avalon.Array.removeAt(target, index) - return false - } - } -}) - -var bindingHandlers = avalon.bindingHandlers = {} -var bindingExecutors = avalon.bindingExecutors = {} - -/*判定是否类数组,如节点集合,纯数组,arguments与拥有非负整数的length属性的纯JS对象*/ -function isArrayLike(obj) { - if (!obj) - return false - var n = obj.length - if (n === (n >>> 0)) { //检测length属性是否为非负整数 - var type = serialize.call(obj).slice(8, -1) - if (/(?:regexp|string|function|window|global)$/i.test(type)) - return false - if (type === "Array") - return true - try { - if ({}.propertyIsEnumerable.call(obj, "length") === false) { //如果是原生对象 - return /^\s?function/.test(obj.item || obj.callee) - } - return true - } catch (e) { //IE的NodeList直接抛错 - return !obj.window //IE6-8 window - } - } - return false -} - - -// https://github.com/rsms/js-lru -var Cache = new function() {// jshint ignore:line - function LRU(maxLength) { - this.size = 0 - this.limit = maxLength - this.head = this.tail = void 0 - this._keymap = {} - } - - var p = LRU.prototype - - p.put = function(key, value) { - var entry = { - key: key, - value: value - } - this._keymap[key] = entry - if (this.tail) { - this.tail.newer = entry - entry.older = this.tail - } else { - this.head = entry - } - this.tail = entry - if (this.size === this.limit) { - this.shift() - } else { - this.size++ - } - return value - } - - p.shift = function() { - var entry = this.head - if (entry) { - this.head = this.head.newer - this.head.older = - entry.newer = - entry.older = - this._keymap[entry.key] = void 0 - } - } - p.get = function(key) { - var entry = this._keymap[key] - if (entry === void 0) - return - if (entry === this.tail) { - return entry.value - } - // HEAD--------------TAIL - // <.older .newer> - // <--- add direction -- - // A B C E - if (entry.newer) { - if (entry === this.head) { - this.head = entry.newer - } - entry.newer.older = entry.older // C <-- E. - } - if (entry.older) { - entry.older.newer = entry.newer // C. --> E - } - entry.newer = void 0 // D --x - entry.older = this.tail // D. --> E - if (this.tail) { - this.tail.newer = entry // E. <-- D - } - this.tail = entry - return entry.value - } - return LRU -}// jshint ignore:line - -/********************************************************************* - * javascript 底层补丁 * - **********************************************************************/ -if (!"司徒正美".trim) { - var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g - String.prototype.trim = function () { - return this.replace(rtrim, "") - } -} -var hasDontEnumBug = !({ - 'toString': null -}).propertyIsEnumerable('toString'), - hasProtoEnumBug = (function () { - }).propertyIsEnumerable('prototype'), - dontEnums = [ - "toString", - "toLocaleString", - "valueOf", - "hasOwnProperty", - "isPrototypeOf", - "propertyIsEnumerable", - "constructor" - ], - dontEnumsLength = dontEnums.length; -if (!Object.keys) { - Object.keys = function (object) { //ecma262v5 15.2.3.14 - var theKeys = [] - var skipProto = hasProtoEnumBug && typeof object === "function" - if (typeof object === "string" || (object && object.callee)) { - for (var i = 0; i < object.length; ++i) { - theKeys.push(String(i)) - } - } else { - for (var name in object) { - if (!(skipProto && name === "prototype") && ohasOwn.call(object, name)) { - theKeys.push(String(name)) - } - } - } - - if (hasDontEnumBug) { - var ctor = object.constructor, - skipConstructor = ctor && ctor.prototype === object - for (var j = 0; j < dontEnumsLength; j++) { - var dontEnum = dontEnums[j] - if (!(skipConstructor && dontEnum === "constructor") && ohasOwn.call(object, dontEnum)) { - theKeys.push(dontEnum) - } - } - } - return theKeys - } -} -if (!Array.isArray) { - Array.isArray = function (a) { - return serialize.call(a) === "[object Array]" - } -} - -if (!noop.bind) { - Function.prototype.bind = function (scope) { - if (arguments.length < 2 && scope === void 0) - return this - var fn = this, - argv = arguments - return function () { - var args = [], - i - for (i = 1; i < argv.length; i++) - args.push(argv[i]) - for (i = 0; i < arguments.length; i++) - args.push(arguments[i]) - return fn.apply(scope, args) - } - } -} - -function iterator(vars, body, ret) { - var fun = 'for(var ' + vars + 'i=0,n = this.length; i < n; i++){' + body.replace('_', '((i in this) && fn.call(scope,this[i],i,this))') + '}' + ret - /* jshint ignore:start */ - return Function("fn,scope", fun) - /* jshint ignore:end */ -} -if (!rnative.test([].map)) { - avalon.mix(ap, { - //定位操作,返回数组中第一个等于给定参数的元素的索引值。 - indexOf: function (item, index) { - var n = this.length, - i = ~~index - if (i < 0) - i += n - for (; i < n; i++) - if (this[i] === item) - return i - return -1 - }, - //定位操作,同上,不过是从后遍历。 - lastIndexOf: function (item, index) { - var n = this.length, - i = index == null ? n - 1 : index - if (i < 0) - i = Math.max(0, n + i) - for (; i >= 0; i--) - if (this[i] === item) - return i - return -1 - }, - //迭代操作,将数组的元素挨个儿传入一个函数中执行。Prototype.js的对应名字为each。 - forEach: iterator("", '_', ""), - //迭代类 在数组中的每个项上运行一个函数,如果此函数的值为真,则此元素作为新数组的元素收集起来,并返回新数组 - filter: iterator('r=[],j=0,', 'if(_)r[j++]=this[i]', 'return r'), - //收集操作,将数组的元素挨个儿传入一个函数中执行,然后把它们的返回值组成一个新数组返回。Prototype.js的对应名字为collect。 - map: iterator('r=[],', 'r[i]=_', 'return r'), - //只要数组中有一个元素满足条件(放进给定函数返回true),那么它就返回true。Prototype.js的对应名字为any。 - some: iterator("", 'if(_)return true', 'return false'), - //只有数组中的元素都满足条件(放进给定函数返回true),它才返回true。Prototype.js的对应名字为all。 - every: iterator("", 'if(!_)return false', 'return true') - }) -} -/********************************************************************* - * DOM 底层补丁 * - **********************************************************************/ - -function fixContains(root, el) { - try { //IE6-8,游离于DOM树外的文本节点,访问parentNode有时会抛错 - while ((el = el.parentNode)) - if (el === root) - return true - return false - } catch (e) { - return false - } -} -avalon.contains = fixContains -//IE6-11的文档对象没有contains -if (!DOC.contains) { - DOC.contains = function (b) { - return fixContains(DOC, b) - } -} - -function outerHTML() { - return new XMLSerializer().serializeToString(this) -} - -if (window.SVGElement) { - //safari5+是把contains方法放在Element.prototype上而不是Node.prototype - if (!DOC.createTextNode("x").contains) { - Node.prototype.contains = function (arg) {//IE6-8没有Node对象 - return !!(this.compareDocumentPosition(arg) & 16) - } - } - var svgns = "http://www.w3.org/2000/svg" - var svg = DOC.createElementNS(svgns, "svg") - svg.innerHTML = '' - if (!rsvg.test(svg.firstChild)) { // #409 - function enumerateNode(node, targetNode) {// jshint ignore:line - if (node && node.childNodes) { - var nodes = node.childNodes - for (var i = 0, el; el = nodes[i++]; ) { - if (el.tagName) { - var svg = DOC.createElementNS(svgns, - el.tagName.toLowerCase()) - ap.forEach.call(el.attributes, function (attr) { - svg.setAttribute(attr.name, attr.value) //复制属性 - })// jshint ignore:line - // 递归处理子节点 - enumerateNode(el, svg) - targetNode.appendChild(svg) - } - } - } - } - Object.defineProperties(SVGElement.prototype, { - "outerHTML": {//IE9-11,firefox不支持SVG元素的innerHTML,outerHTML属性 - enumerable: true, - configurable: true, - get: outerHTML, - set: function (html) { - var tagName = this.tagName.toLowerCase(), - par = this.parentNode, - frag = avalon.parseHTML(html) - // 操作的svg,直接插入 - if (tagName === "svg") { - par.insertBefore(frag, this) - // svg节点的子节点类似 - } else { - var newFrag = DOC.createDocumentFragment() - enumerateNode(frag, newFrag) - par.insertBefore(newFrag, this) - } - par.removeChild(this) - } - }, - "innerHTML": { - enumerable: true, - configurable: true, - get: function () { - var s = this.outerHTML - var ropen = new RegExp("<" + this.nodeName + '\\b(?:(["\'])[^"]*?(\\1)|[^>])*>', "i") - var rclose = new RegExp("<\/" + this.nodeName + ">$", "i") - return s.replace(ropen, "").replace(rclose, "") - }, - set: function (html) { - if (avalon.clearHTML) { - avalon.clearHTML(this) - var frag = avalon.parseHTML(html) - enumerateNode(frag, this) - } - } - } - }) - } -} -if (!root.outerHTML && window.HTMLElement) { //firefox 到11时才有outerHTML - HTMLElement.prototype.__defineGetter__("outerHTML", outerHTML); -} - - -//============================= event binding ======================= -var rmouseEvent = /^(?:mouse|contextmenu|drag)|click/ -function fixEvent(event) { - var ret = {} - for (var i in event) { - ret[i] = event[i] - } - var target = ret.target = event.srcElement - if (event.type.indexOf("key") === 0) { - ret.which = event.charCode != null ? event.charCode : event.keyCode - } else if (rmouseEvent.test(event.type)) { - var doc = target.ownerDocument || DOC - var box = doc.compatMode === "BackCompat" ? doc.body : doc.documentElement - ret.pageX = event.clientX + (box.scrollLeft >> 0) - (box.clientLeft >> 0) - ret.pageY = event.clientY + (box.scrollTop >> 0) - (box.clientTop >> 0) - ret.wheelDeltaY = ret.wheelDelta - ret.wheelDeltaX = 0 - } - ret.timeStamp = new Date() - 0 - ret.originalEvent = event - ret.preventDefault = function () { //阻止默认行为 - event.returnValue = false - } - ret.stopPropagation = function () { //阻止事件在DOM树中的传播 - event.cancelBubble = true - } - return ret -} - -var eventHooks = avalon.eventHooks -//针对firefox, chrome修正mouseenter, mouseleave -if (!("onmouseenter" in root)) { - avalon.each({ - mouseenter: "mouseover", - mouseleave: "mouseout" - }, function (origType, fixType) { - eventHooks[origType] = { - type: fixType, - deel: function (elem, _, fn) { - return function (e) { - var t = e.relatedTarget - if (!t || (t !== elem && !(elem.compareDocumentPosition(t) & 16))) { - delete e.type - e.type = origType - return fn.call(elem, e) - } - } - } - } - }) -} -//针对IE9+, w3c修正animationend -avalon.each({ - AnimationEvent: "animationend", - WebKitAnimationEvent: "webkitAnimationEnd" -}, function (construct, fixType) { - if (window[construct] && !eventHooks.animationend) { - eventHooks.animationend = { - type: fixType - } - } -}) -//针对IE6-8修正input -if (!("oninput" in DOC.createElement("input"))) { - eventHooks.input = { - type: "propertychange", - deel: function (elem, _, fn) { - return function (e) { - if (e.propertyName === "value") { - e.type = "input" - return fn.call(elem, e) - } - } - } - } -} -if (DOC.onmousewheel === void 0) { - /* IE6-11 chrome mousewheel wheelDetla 下 -120 上 120 - firefox DOMMouseScroll detail 下3 上-3 - firefox wheel detlaY 下3 上-3 - IE9-11 wheel deltaY 下40 上-40 - chrome wheel deltaY 下100 上-100 */ - var fixWheelType = DOC.onwheel !== void 0 ? "wheel" : "DOMMouseScroll" - var fixWheelDelta = fixWheelType === "wheel" ? "deltaY" : "detail" - eventHooks.mousewheel = { - type: fixWheelType, - deel: function (elem, _, fn) { - return function (e) { - e.wheelDeltaY = e.wheelDelta = e[fixWheelDelta] > 0 ? -120 : 120 - e.wheelDeltaX = 0 - if (Object.defineProperty) { - Object.defineProperty(e, "type", { - value: "mousewheel" - }) - } - fn.call(elem, e) - } - } - } -} - - - -/********************************************************************* - * 配置系统 * - **********************************************************************/ - -function kernel(settings) { - for (var p in settings) { - if (!ohasOwn.call(settings, p)) - continue - var val = settings[p] - if (typeof kernel.plugins[p] === "function") { - kernel.plugins[p](val) - } else if (typeof kernel[p] === "object") { - avalon.mix(kernel[p], val) - } else { - kernel[p] = val - } - } - return this -} -var openTag, closeTag, rexpr, rexprg, rbind, rregexp = /[-.*+?^${}()|[\]\/\\]/g - -function escapeRegExp(target) { - //http://stevenlevithan.com/regex/xregexp/ - //将字符串安全格式化为正则表达式的源码 - return (target + "").replace(rregexp, "\\$&") -} - -var plugins = { - loader: function (builtin) { - var flag = innerRequire && builtin - window.require = flag ? innerRequire : otherRequire - window.define = flag ? innerRequire.define : otherDefine - }, - interpolate: function (array) { - openTag = array[0] - closeTag = array[1] - if (openTag === closeTag) { - throw new SyntaxError("openTag!==closeTag") - var test = openTag + "test" + closeTag - cinerator.innerHTML = test - if (cinerator.innerHTML !== test && cinerator.innerHTML.indexOf("<") > -1) { - throw new SyntaxError("此定界符不合法") - } - cinerator.innerHTML = "" - } - var o = escapeRegExp(openTag), - c = escapeRegExp(closeTag) - rexpr = new RegExp(o + "(.*?)" + c) - rexprg = new RegExp(o + "(.*?)" + c, "g") - rbind = new RegExp(o + ".*?" + c + "|\\sms-") - } -} - -kernel.debug = true -kernel.plugins = plugins -kernel.plugins['interpolate'](["{{", "}}"]) -kernel.paths = {} -kernel.shim = {} -kernel.maxRepeatSize = 100 -avalon.config = kernel -var ravalon = /(\w+)\[(avalonctrl)="(\S+)"\]/ -var findNodes = DOC.querySelectorAll ? function(str) { - return DOC.querySelectorAll(str) -} : function(str) { - var match = str.match(ravalon) - var all = DOC.getElementsByTagName(match[1]) - var nodes = [] - for (var i = 0, el; el = all[i++]; ) { - if (el.getAttribute(match[2]) === match[3]) { - nodes.push(el) - } - } - return nodes -} -/********************************************************************* - * 事件总线 * - **********************************************************************/ -var EventBus = { - $watch: function (type, callback) { - if (typeof callback === "function") { - var callbacks = this.$events[type] - if (callbacks) { - callbacks.push(callback) - } else { - this.$events[type] = [callback] - } - } else { //重新开始监听此VM的第一重简单属性的变动 - this.$events = this.$watch.backup - } - return this - }, - $unwatch: function (type, callback) { - var n = arguments.length - if (n === 0) { //让此VM的所有$watch回调无效化 - this.$watch.backup = this.$events - this.$events = {} - } else if (n === 1) { - this.$events[type] = [] - } else { - var callbacks = this.$events[type] || [] - var i = callbacks.length - while (~--i < 0) { - if (callbacks[i] === callback) { - return callbacks.splice(i, 1) - } - } - } - return this - }, - $fire: function (type) { - var special, i, v, callback - if (/^(\w+)!(\S+)$/.test(type)) { - special = RegExp.$1 - type = RegExp.$2 - } - var events = this.$events - if (!events) - return - var args = aslice.call(arguments, 1) - var detail = [type].concat(args) - if (special === "all") { - for (i in avalon.vmodels) { - v = avalon.vmodels[i] - if (v !== this) { - v.$fire.apply(v, detail) - } - } - } else if (special === "up" || special === "down") { - var elements = events.expr ? findNodes(events.expr) : [] - if (elements.length === 0) - return - for (i in avalon.vmodels) { - v = avalon.vmodels[i] - if (v !== this) { - if (v.$events.expr) { - var eventNodes = findNodes(v.$events.expr) - if (eventNodes.length === 0) { - continue - } - //循环两个vmodel中的节点,查找匹配(向上匹配或者向下匹配)的节点并设置标识 - /* jshint ignore:start */ - ap.forEach.call(eventNodes, function (node) { - ap.forEach.call(elements, function (element) { - var ok = special === "down" ? element.contains(node) : //向下捕获 - node.contains(element) //向上冒泡 - if (ok) { - node._avalon = v //符合条件的加一个标识 - } - }); - }) - /* jshint ignore:end */ - } - } - } - var nodes = DOC.getElementsByTagName("*") //实现节点排序 - var alls = [] - ap.forEach.call(nodes, function (el) { - if (el._avalon) { - alls.push(el._avalon) - el._avalon = "" - el.removeAttribute("_avalon") - } - }) - if (special === "up") { - alls.reverse() - } - for (i = 0; callback = alls[i++]; ) { - if (callback.$fire.apply(callback, detail) === false) { - break - } - } - } else { - var callbacks = events[type] || [] - var all = events.$all || [] - for (i = 0; callback = callbacks[i++]; ) { - if (isFunction(callback)) - callback.apply(this, args) - } - for (i = 0; callback = all[i++]; ) { - if (isFunction(callback)) - callback.apply(this, arguments) - } - } - } -} - -/********************************************************************* - * modelFactory * - **********************************************************************/ -//avalon最核心的方法的两个方法之一(另一个是avalon.scan),返回一个ViewModel(VM) -var VMODELS = avalon.vmodels = {} //所有vmodel都储存在这里 -avalon.define = function (id, factory) { - var $id = id.$id || id - if (!$id) { - log("warning: vm必须指定$id") - } - if (VMODELS[$id]) { - log("warning: " + $id + " 已经存在于avalon.vmodels中") - } - if (typeof id === "object") { - var model = modelFactory(id) - } else { - var scope = { - $watch: noop - } - factory(scope) //得到所有定义 - - model = modelFactory(scope) //偷天换日,将scope换为model - stopRepeatAssign = true - factory(model) - stopRepeatAssign = false - } - model.$id = $id - return VMODELS[$id] = model -} - -//一些不需要被监听的属性 -var $$skipArray = String("$id,$watch,$unwatch,$fire,$events,$model,$skipArray,$proxy,$reinitialize,$propertyNames").match(rword) -var defineProperty = Object.defineProperty -var canHideOwn = true -//如果浏览器不支持ecma262v5的Object.defineProperties或者存在BUG,比如IE8 -//标准浏览器使用__defineGetter__, __defineSetter__实现 -try { - defineProperty({}, "_", { - value: "x" - }) - var defineProperties = Object.defineProperties -} catch (e) { - canHideOwn = false -} - -function modelFactory(source, $special, $model) { - if (Array.isArray(source)) { - var arr = source.concat() - source.length = 0 - var collection = arrayFactory(source) - collection.pushArray(arr) - return collection - } - //0 null undefined || Node || VModel(fix IE6-8 createWithProxy $val: val引发的BUG) - if (!source || source.nodeType > 0 || (source.$id && source.$events)) { - return source - } - var $skipArray = Array.isArray(source.$skipArray) ? source.$skipArray : [] - $skipArray.$special = $special || {} //强制要监听的属性 - var $vmodel = {} //要返回的对象, 它在IE6-8下可能被偷龙转凤 - $model = $model || {} //vmodels.$model属性 - var $events = {} //vmodel.$events属性 - var accessors = {} //监控属性 - var computed = [] - $$skipArray.forEach(function (name) { - delete source[name] - }) - var names = Object.keys(source) - /* jshint ignore:start */ - names.forEach(function (name, accessor) { - var val = source[name] - $model[name] = val - if (isObservable(name, val, $skipArray)) { - //总共产生三种accessor - $events[name] = [] - var valueType = avalon.type(val) - //总共产生三种accessor - if (valueType === "object" && isFunction(val.get) && Object.keys(val).length <= 2) { - accessor = makeComputedAccessor(name, val) - computed.push(accessor) - } else if (rcomplexType.test(valueType)) { - accessor = makeComplexAccessor(name, val, valueType, $events[name]) - } else { - accessor = makeSimpleAccessor(name, val) - } - accessors[name] = accessor - } - }) - /* jshint ignore:end */ - - $vmodel = defineProperties($vmodel, descriptorFactory(accessors), source) //生成一个空的ViewModel - for (var i = 0; i < names.length; i++) { - var name = names[i] - if (!accessors[name]) { - $vmodel[name] = source[name] - } - } - //添加$id, $model, $events, $watch, $unwatch, $fire - $vmodel.$propertyNames = names.join("­") - $vmodel.$id = generateID() - $vmodel.$model = $model - $vmodel.$events = $events - for (i in EventBus) { - var fn = EventBus[i] - if (!W3C) { //在IE6-8下,VB对象的方法里的this并不指向自身,需要用bind处理一下 - fn = fn.bind($vmodel) - } - $vmodel[i] = fn - } - if (canHideOwn) { - Object.defineProperty($vmodel, "hasOwnProperty", hasOwnDescriptor) - } else { - /* jshint ignore:start */ - $vmodel.hasOwnProperty = function (name) { - return name in $vmodel.$model - } - /* jshint ignore:end */ - } - - $vmodel.$reinitialize = function () { - computed.forEach(function (accessor) { - delete accessor._value - delete accessor.oldArgs - accessor.digest = function () { - accessor.call($vmodel) - } - dependencyDetection.begin({ - callback: function (vm, dependency) {//dependency为一个accessor - var name = dependency._name - if (dependency !== accessor) { - var list = vm.$events[name] - injectDependency(list, accessor.digest) - } - } - }) - try { - accessor.get.call($vmodel) - } finally { - dependencyDetection.end() - } - }) - } - $vmodel.$reinitialize() - return $vmodel -} - -var hasOwnDescriptor = { - value: function (name) { - return name in this.$model - }, - writable: false, - enumerable: false, - configurable: true -} -//创建一个简单访问器 -function makeSimpleAccessor(name, value) { - function accessor(value) { - var oldValue = accessor._value - if (arguments.length > 0) { - if (!stopRepeatAssign && !isEqual(value, oldValue)) { - accessor.updateValue(this, value) - accessor.notify(this, value, oldValue) - } - return this - } else { - dependencyDetection.collectDependency(this, accessor) - return oldValue - } - } - accessorFactory(accessor, name) - accessor._value = value - return accessor; -} - -//创建一个计算访问器 -function makeComputedAccessor(name, options) { - function accessor(value) {//计算属性 - var oldValue = accessor._value - var init = ("_value" in accessor) - if (arguments.length > 0) { - if (stopRepeatAssign) { - return this - } - if (typeof accessor.set === "function") { - if (accessor.oldArgs !== value) { - accessor.oldArgs = value - var $events = this.$events - var lock = $events[name] - $events[name] = [] //清空回调,防止内部冒泡而触发多次$fire - accessor.set.call(this, value) - $events[name] = lock - value = accessor.get.call(this) - if (value !== oldValue) { - accessor.updateValue(this, value) - accessor.notify(this, value, oldValue) //触发$watch回调 - } - } - } - return this - } else { - //将依赖于自己的高层访问器或视图刷新函数(以绑定对象形式)放到自己的订阅数组中 - //将自己注入到低层访问器的订阅数组中 - value = accessor.get.call(this) - accessor.updateValue(this, value) - if (init && oldValue !== value) { - accessor.notify(this, value, oldValue) //触发$watch回调 - } - return value - } - } - accessor.set = options.set - accessor.get = options.get - accessorFactory(accessor, name) - return accessor -} - -//创建一个复杂访问器 -function makeComplexAccessor(name, initValue, valueType, list) { - function accessor(value) { - var oldValue = accessor._value - - var son = accessor._vmodel - if (arguments.length > 0) { - if (stopRepeatAssign) { - return this - } - if (valueType === "array") { - var a = son, b = value, - an = a.length, - bn = b.length - a.$lock = true - if (an > bn) { - a.splice(bn, an - bn) - } else if (bn > an) { - a.push.apply(a, b.slice(an)) - } - var n = Math.min(an, bn) - for (var i = 0; i < n; i++) { - a.set(i, b[i]) - } - delete a.$lock - a._fire("set") - } else if (valueType === "object") { - var newPropertyNames = Object.keys(value).join("­") - if (son.$propertyNames === newPropertyNames) { - for (i in value) { - son[i] = value[i] - } - } else { - var sson = accessor._vmodel = modelFactory(value) - var sevent = sson.$events - var oevent = son.$events - for (var i in sevent) { - var arr = sevent[i] - if (Array.isArray(arr)) { - arr = arr.concat(oevent[i]) - } - } - sevent[subscribers] = oevent[subscribers] - sson.$proxy = son.$proxy - son = sson - } - } - accessor.updateValue(this, son.$model) - accessor.notify(this, this._value, oldValue) - return this - } else { - dependencyDetection.collectDependency(this, accessor) - return son - } - } - accessorFactory(accessor, name) - var son = accessor._vmodel = modelFactory(initValue) - son.$events[subscribers] = list - return accessor -} - -function globalUpdateValue(vmodel, value) { - vmodel.$model[this._name] = this._value = value -} - -function globalNotify(vmodel, value, oldValue) { - var name = this._name - var array = vmodel.$events[name] //刷新值 - if (array) { - fireDependencies(array) //同步视图 - EventBus.$fire.call(vmodel, name, value, oldValue) //触发$watch回调 - } -} - -function accessorFactory(accessor, name) { - accessor._name = name - //同时更新_value与model - accessor.updateValue = globalUpdateValue - accessor.notify = globalNotify -} - -//比较两个值是否相等 -var isEqual = Object.is || function (v1, v2) { - if (v1 === 0 && v2 === 0) { - return 1 / v1 === 1 / v2 - } else if (v1 !== v1) { - return v2 !== v2 - } else { - return v1 === v2 - } -} - -function isObservable(name, value, $skipArray) { - if (isFunction(value) || value && value.nodeType) { - return false - } - if ($skipArray.indexOf(name) !== -1) { - return false - } - var $special = $skipArray.$special - if (name && name.charAt(0) === "$" && !$special[name]) { - return false - } - return true -} - -var descriptorFactory = W3C ? function (obj) { - var descriptors = {} - for (var i in obj) { - descriptors[i] = { - get: obj[i], - set: obj[i], - enumerable: true, - configurable: true - } - } - return descriptors -} : function (a) { - return a -} - -//===================修复浏览器对Object.defineProperties的支持================= -if (!canHideOwn) { - if ("__defineGetter__" in avalon) { - defineProperty = function (obj, prop, desc) { - if ('value' in desc) { - obj[prop] = desc.value - } - if ("get" in desc) { - obj.__defineGetter__(prop, desc.get) - } - if ('set' in desc) { - obj.__defineSetter__(prop, desc.set) - } - return obj - } - defineProperties = function (obj, descs) { - for (var prop in descs) { - if (descs.hasOwnProperty(prop)) { - defineProperty(obj, prop, descs[prop]) - } - } - return obj - } - } - if (IEVersion) { - var VBClassPool = {} - window.execScript([// jshint ignore:line - "Function parseVB(code)", - "\tExecuteGlobal(code)", - "End Function" //转换一段文本为VB代码 - ].join("\n"), "VBScript") - function VBMediator(instance, accessors, name, value) {// jshint ignore:line - var accessor = accessors[name] - if (arguments.length === 4) { - accessor.call(instance, value) - } else { - return accessor.call(instance) - } - } - defineProperties = function (name, accessors, properties) { - // jshint ignore:line - var buffer = [] - buffer.push( - "\r\n\tPrivate [__data__], [__proxy__]", - "\tPublic Default Function [__const__](d, p)", - "\t\tSet [__data__] = d: set [__proxy__] = p", - "\t\tSet [__const__] = Me", //链式调用 - "\tEnd Function") - //添加普通属性,因为VBScript对象不能像JS那样随意增删属性,必须在这里预先定义好 - for (name in properties) { - if (!accessors.hasOwnProperty(name)) { - buffer.push("\tPublic [" + name + "]") - } - } - $$skipArray.forEach(function (name) { - if (!accessors.hasOwnProperty(name)) { - buffer.push("\tPublic [" + name + "]") - } - }) - buffer.push("\tPublic [" + 'hasOwnProperty' + "]") - //添加访问器属性 - for (name in accessors) { - buffer.push( - //由于不知对方会传入什么,因此set, let都用上 - "\tPublic Property Let [" + name + "](val" + expose + ")", //setter - "\t\tCall [__proxy__](Me,[__data__], \"" + name + "\", val" + expose + ")", - "\tEnd Property", - "\tPublic Property Set [" + name + "](val" + expose + ")", //setter - "\t\tCall [__proxy__](Me,[__data__], \"" + name + "\", val" + expose + ")", - "\tEnd Property", - "\tPublic Property Get [" + name + "]", //getter - "\tOn Error Resume Next", //必须优先使用set语句,否则它会误将数组当字符串返回 - "\t\tSet[" + name + "] = [__proxy__](Me,[__data__],\"" + name + "\")", - "\tIf Err.Number <> 0 Then", - "\t\t[" + name + "] = [__proxy__](Me,[__data__],\"" + name + "\")", - "\tEnd If", - "\tOn Error Goto 0", - "\tEnd Property") - - } - - buffer.push("End Class") - var body = buffer.join("\r\n") - var className =VBClassPool[body] - if (!className) { - className = generateID("VBClass") - window.parseVB("Class " + className + body) - window.parseVB([ - "Function " + className + "Factory(a, b)", //创建实例并传入两个关键的参数 - "\tDim o", - "\tSet o = (New " + className + ")(a, b)", - "\tSet " + className + "Factory = o", - "End Function" - ].join("\r\n")) - VBClassPool[body] = className - } - var ret = window[className + "Factory"](accessors, VBMediator) //得到其产品 - return ret //得到其产品 - } - } -} - -/********************************************************************* - * 监控数组(与ms-each, ms-repeat配合使用) * - **********************************************************************/ - -function arrayFactory(model) { - var array = [] - array.$id = generateID() - array.$model = model //数据模型 - array.$events = {} - array.$events[subscribers] = [] - array._ = modelFactory({ - length: model.length - }) - array._.$watch("length", function (a, b) { - array.$fire("length", a, b) - }) - for (var i in EventBus) { - array[i] = EventBus[i] - } - avalon.mix(array, arrayPrototype) - return array -} - -function mutateArray(method, pos, n, index, method2, pos2, n2) { - var oldLen = this.length, loop = 2 - while (--loop) { - switch (method) { - case "add": - /* jshint ignore:start */ - var array = this.$model.slice(pos, pos + n).map(function (el) { - if (rcomplexType.test(avalon.type(el))) { - return el.$id ? el : modelFactory(el, 0, el) - } else { - return el - } - }) - /* jshint ignore:end */ - _splice.apply(this, [pos, 0].concat(array)) - this._fire("add", pos, n) - break - case "del": - var ret = this._splice(pos, n) - this._fire("del", pos, n) - break - } - if (method2) { - method = method2 - pos = pos2 - n = n2 - loop = 2 - method2 = 0 - } - } - this._fire("index", index) - if (this.length !== oldLen) { - this._.length = this.length - } - return ret -} - -var _splice = ap.splice -var arrayPrototype = { - _splice: _splice, - _fire: function (method, a, b) { - fireDependencies(this.$events[subscribers], method, a, b) - }, - size: function () { //取得数组长度,这个函数可以同步视图,length不能 - return this._.length - }, - pushArray: function (array) { - var m = array.length, n = this.length - if (m) { - ap.push.apply(this.$model, array) - mutateArray.call(this, "add", n, m, Math.max(0, n - 1)) - } - return m + n - }, - push: function () { - //http://jsperf.com/closure-with-arguments - var array = [] - var i, n = arguments.length - for (i = 0; i < n; i++) { - array[i] = arguments[i] - } - return this.pushArray(array) - }, - unshift: function () { - var m = arguments.length, n = this.length - if (m) { - ap.unshift.apply(this.$model, arguments) - mutateArray.call(this, "add", 0, m, 0) - } - return m + n //IE67的unshift不会返回长度 - }, - shift: function () { - if (this.length) { - var el = this.$model.shift() - mutateArray.call(this, "del", 0, 1, 0) - return el //返回被移除的元素 - } - }, - pop: function () { - var n = this.length - if (n) { - var el = this.$model.pop() - mutateArray.call(this, "del", n - 1, 1, Math.max(0, n - 2)) - return el //返回被移除的元素 - } - }, - splice: function (start) { - var m = arguments.length, args = [], change - var removed = _splice.apply(this.$model, arguments) - if (removed.length) { //如果用户删掉了元素 - args.push("del", start, removed.length, 0) - change = true - } - if (m > 2) { //如果用户添加了元素 - if (change) { - args.splice(3, 1, 0, "add", start, m - 2) - } else { - args.push("add", start, m - 2, 0) - } - change = true - } - if (change) { //返回被移除的元素 - return mutateArray.apply(this, args) - } else { - return [] - } - }, - contains: function (el) { //判定是否包含 - return this.indexOf(el) !== -1 - }, - remove: function (el) { //移除第一个等于给定值的元素 - return this.removeAt(this.indexOf(el)) - }, - removeAt: function (index) { //移除指定索引上的元素 - if (index >= 0) { - this.$model.splice(index, 1) - return mutateArray.call(this, "del", index, 1, 0) - } - return [] - }, - clear: function () { - this.$model.length = this.length = this._.length = 0 //清空数组 - this._fire("clear", 0) - return this - }, - removeAll: function (all) { //移除N个元素 - if (Array.isArray(all)) { - for (var i = this.length - 1; i >= 0; i--) { - if (all.indexOf(this[i]) !== -1) { - this.removeAt(i) - } - } - } else if (typeof all === "function") { - for ( i = this.length - 1; i >= 0; i--) { - var el = this[i] - if (all(el, i)) { - this.removeAt(i) - } - } - } else { - this.clear() - } - }, - ensure: function (el) { - if (!this.contains(el)) { //只有不存在才push - this.push(el) - } - return this - }, - set: function (index, val) { - if (index >= 0) { - var valueType = avalon.type(val) - if (val && val.$model) { - val = val.$model - } - var target = this[index] - if (valueType === "object") { - for (var i in val) { - if (target.hasOwnProperty(i)) { - target[i] = val[i] - } - } - } else if (valueType === "array") { - target.clear().push.apply(target, val) - } else if (target !== val) { - this[index] = val - this.$model[index] = val - this._fire("set", index, val) - } - } - return this - } -} -//相当于原来bindingExecutors.repeat 的index分支 -function resetIndex(array, pos) { - var last = array.length - 1 - for (var el; el = array[pos]; pos++) { - el.$index = pos - el.$first = pos === 0 - el.$last = pos === last - } -} - -function sortByIndex(array, indexes) { - var map = {}; - for (var i = 0, n = indexes.length; i < n; i++) { - map[i] = array[i] // preserve - var j = indexes[i] - if (j in map) { - array[i] = map[j] - delete map[j] - } else { - array[i] = array[j] - } - } -} - -"sort,reverse".replace(rword, function (method) { - arrayPrototype[method] = function () { - var newArray = this.$model//这是要排序的新数组 - var oldArray = newArray.concat() //保持原来状态的旧数组 - var mask = Math.random() - var indexes = [] - var hasSort - ap[method].apply(newArray, arguments) //排序 - for (var i = 0, n = oldArray.length; i < n; i++) { - var neo = newArray[i] - var old = oldArray[i] - if (isEqual(neo, old)) { - indexes.push(i) - } else { - var index = oldArray.indexOf(neo) - indexes.push(index)//得到新数组的每个元素在旧数组对应的位置 - oldArray[index] = mask //屏蔽已经找过的元素 - hasSort = true - } - } - if (hasSort) { - sortByIndex(this, indexes) - // sortByIndex(this.$proxy, indexes) - this._fire("move", indexes) - this._fire("index", 0) - } - return this - } -}) - - -/********************************************************************* - * 依赖调度系统 * - **********************************************************************/ -//检测两个对象间的依赖关系 -var dependencyDetection = (function () { - var outerFrames = [] - var currentFrame - return { - begin: function (accessorObject) { - //accessorObject为一个拥有callback的对象 - outerFrames.push(currentFrame) - currentFrame = accessorObject - }, - end: function () { - currentFrame = outerFrames.pop() - }, - collectDependency: function (vmodel, accessor) { - if (currentFrame) { - //被dependencyDetection.begin调用 - currentFrame.callback(vmodel, accessor); - } - } - }; -})() -//将绑定对象注入到其依赖项的订阅数组中 -var ronduplex = /^(duplex|on)$/ -avalon.injectBinding = function (data) { - var valueFn = data.evaluator - if (valueFn) { //如果是求值函数 - dependencyDetection.begin({ - callback: function (vmodel, dependency) { - injectDependency(vmodel.$events[dependency._name], data) - } - }) - try { - var value = ronduplex.test(data.type) ? data : valueFn.apply(0, data.args) - if(value === void 0){ - delete data.evaluator - } - data.handler(value, data.element, data) - } catch (e) { - //log("warning:exception throwed in [avalon.injectBinding] " + e) - delete data.evaluator - var node = data.element - if (node.nodeType === 3) { - var parent = node.parentNode - if (kernel.commentInterpolate) { - parent.replaceChild(DOC.createComment(data.value), node) - } else { - node.data = openTag + (data.oneTime ? "::" : "") + data.value + closeTag - } - } - } finally { - dependencyDetection.end() - } - } -} - -//将依赖项(比它高层的访问器或构建视图刷新函数的绑定对象)注入到订阅者数组 -function injectDependency(list, data) { - if (data.oneTime) - return - if (list && avalon.Array.ensure(list, data) && data.element) { - injectDisposeQueue(data, list) - } -} - -//通知依赖于这个访问器的订阅者更新自身 -function fireDependencies(list) { - if (list && list.length) { - if (new Date() - beginTime > 444 && typeof list[0] === "object") { - rejectDisposeQueue() - } - var args = aslice.call(arguments, 1) - for (var i = list.length, fn; fn = list[--i]; ) { - var el = fn.element - if (el && el.parentNode) { - try { - var valueFn = fn.evaluator - if (fn.$repeat) { - fn.handler.apply(fn, args) //处理监控数组的方法 - }else if("$repeat" in fn || !valueFn ){//如果没有eval,先eval - bindingHandlers[fn.type](fn, fn.vmodels) - } else if (fn.type !== "on") { //事件绑定只能由用户触发,不能由程序触发 - var value = valueFn.apply(0, fn.args || []) - fn.handler(value, el, fn) - } - } catch (e) { } - } - } - } -} -/********************************************************************* - * 定时GC回收机制 * - **********************************************************************/ -var disposeCount = 0 -var disposeQueue = avalon.$$subscribers = [] -var beginTime = new Date() -var oldInfo = {} -var uuid2Node = {} -function getUid(obj, makeID) { //IE9+,标准浏览器 - if (!obj.uuid && !makeID) { - obj.uuid = ++disposeCount - uuid2Node[obj.uuid] = obj - } - return obj.uuid -} -function getNode(uuid) { - return uuid2Node[uuid] -} -//添加到回收列队中 -function injectDisposeQueue(data, list) { - var elem = data.element - if (!data.uuid) { - if (elem.nodeType !== 1) { - data.uuid = data.type + (data.pos || 0) + "-" + getUid(elem.parentNode) - } else { - data.uuid = data.name + "-" + getUid(elem) - } - } - var lists = data.lists || (data.lists = []) - avalon.Array.ensure(lists, list) - list.$uuid = list.$uuid || generateID() - if (!disposeQueue[data.uuid]) { - disposeQueue[data.uuid] = 1 - disposeQueue.push(data) - } -} - -function rejectDisposeQueue(data) { - if (avalon.optimize) - return - var i = disposeQueue.length - var n = i - var allTypes = [] - var iffishTypes = {} - var newInfo = {} - //对页面上所有绑定对象进行分门别类, 只检测个数发生变化的类型 - while (data = disposeQueue[--i]) { - var type = data.type - if (newInfo[type]) { - newInfo[type]++ - } else { - newInfo[type] = 1 - allTypes.push(type) - } - } - var diff = false - allTypes.forEach(function (type) { - if (oldInfo[type] !== newInfo[type]) { - iffishTypes[type] = 1 - diff = true - } - }) - i = n - if (diff) { - while (data = disposeQueue[--i]) { - if (!data.element) - continue - if (iffishTypes[data.type] && shouldDispose(data.element)) { //如果它没有在DOM树 - disposeQueue.splice(i, 1) - delete disposeQueue[data.uuid] - delete uuid2Node[data.element.uuid] - var lists = data.lists - for (var k = 0, list; list = lists[k++]; ) { - avalon.Array.remove(lists, list) - avalon.Array.remove(list, data) - } - disposeData(data) - } - } - } - oldInfo = newInfo - beginTime = new Date() -} - -function disposeData(data) { - data.element = null - data.rollback && data.rollback() - for (var key in data) { - data[key] = null - } -} - -function shouldDispose(el) { - try {//IE下,如果文本节点脱离DOM树,访问parentNode会报错 - if (!el.parentNode) { - return true - } - } catch (e) { - return true - } - - return el.msRetain ? 0 : (el.nodeType === 1 ? !root.contains(el) : !avalon.contains(root, el)) -} - -/************************************************************************ - * HTML处理(parseHTML, innerHTML, clearHTML) * - ************************************************************************/ -// We have to close these tags to support XHTML -var tagHooks = { - area: [1, "", ""], - param: [1, "", ""], - col: [2, "", "
    "], - legend: [1, "
    ", "
    "], - option: [1, ""], - thead: [1, "", "
    "], - tr: [2, "", "
    "], - td: [3, "", "
    "], - g: [1, '', ''], - //IE6-8在用innerHTML生成节点时,不能直接创建no-scope元素与HTML5的新标签 - _default: W3C ? [0, "", ""] : [1, "X
    ", "
    "] //div可以不用闭合 -} -tagHooks.th = tagHooks.td -tagHooks.optgroup = tagHooks.option -tagHooks.tbody = tagHooks.tfoot = tagHooks.colgroup = tagHooks.caption = tagHooks.thead -String("circle,defs,ellipse,image,line,path,polygon,polyline,rect,symbol,text,use").replace(rword, function (tag) { - tagHooks[tag] = tagHooks.g //处理SVG -}) -var rtagName = /<([\w:]+)/ //取得其tagName -var rxhtml = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig -var rcreate = W3C ? /[^\d\D]/ : /(<(?:script|link|style|meta|noscript))/ig -var scriptTypes = oneObject(["", "text/javascript", "text/ecmascript", "application/ecmascript", "application/javascript"]) -var rnest = /<(?:tb|td|tf|th|tr|col|opt|leg|cap|area)/ //需要处理套嵌关系的标签 -var script = DOC.createElement("script") -var rhtml = /<|&#?\w+;/ -avalon.parseHTML = function (html) { - var fragment = avalonFragment.cloneNode(false) - if (typeof html !== "string") { - return fragment - } - if (!rhtml.test(html)) { - fragment.appendChild(DOC.createTextNode(html)) - return fragment - } - html = html.replace(rxhtml, "<$1>").trim() - var tag = (rtagName.exec(html) || ["", ""])[1].toLowerCase(), - //取得其标签名 - wrap = tagHooks[tag] || tagHooks._default, - wrapper = cinerator, - firstChild, neo - if (!W3C) { //fix IE - html = html.replace(rcreate, "
    $1") //在link style script等标签之前添加一个补丁 - } - wrapper.innerHTML = wrap[1] + html + wrap[2] - var els = wrapper.getElementsByTagName("script") - if (els.length) { //使用innerHTML生成的script节点不会发出请求与执行text属性 - for (var i = 0, el; el = els[i++]; ) { - if (scriptTypes[el.type]) { - //以偷龙转凤方式恢复执行脚本功能 - neo = script.cloneNode(false) //FF不能省略参数 - ap.forEach.call(el.attributes, function (attr) { - if (attr && attr.specified) { - neo[attr.name] = attr.value //复制其属性 - neo.setAttribute(attr.name, attr.value) - } - }) // jshint ignore:line - neo.text = el.text - el.parentNode.replaceChild(neo, el) //替换节点 - } - } - } - if (!W3C) { //fix IE - var target = wrap[1] === "X
    " ? wrapper.lastChild.firstChild : wrapper.lastChild - if (target && target.tagName === "TABLE" && tag !== "tbody") { - //IE6-7处理 --> , - // --> , - // -->
    - for (els = target.childNodes, i = 0; el = els[i++]; ) { - if (el.tagName === "TBODY" && !el.innerHTML) { - target.removeChild(el) - break - } - } - } - els = wrapper.getElementsByTagName("br") - var n = els.length - while (el = els[--n]) { - if (el.className === "msNoScope") { - el.parentNode.removeChild(el) - } - } - for (els = wrapper.all, i = 0; el = els[i++]; ) { //fix VML - if (isVML(el)) { - fixVML(el) - } - } - } - //移除我们为了符合套嵌关系而添加的标签 - for (i = wrap[0]; i--; wrapper = wrapper.lastChild) { - } - while (firstChild = wrapper.firstChild) { // 将wrapper上的节点转移到文档碎片上! - fragment.appendChild(firstChild) - } - return fragment -} - -function isVML(src) { - var nodeName = src.nodeName - return nodeName.toLowerCase() === nodeName && src.scopeName && src.outerText === "" -} - -function fixVML(node) { - if (node.currentStyle.behavior !== "url(#default#VML)") { - node.style.behavior = "url(#default#VML)" - node.style.display = "inline-block" - node.style.zoom = 1 //hasLayout - } -} -avalon.innerHTML = function (node, html) { - if (!W3C && (!rcreate.test(html) && !rnest.test(html))) { - try { - node.innerHTML = html - return - } catch (e) { - } - } - var a = this.parseHTML(html) - this.clearHTML(node).appendChild(a) -} -avalon.clearHTML = function (node) { - node.textContent = "" - while (node.firstChild) { - node.removeChild(node.firstChild) - } - return node -} - -/********************************************************************* - * avalon的原型方法定义区 * - **********************************************************************/ - -function hyphen(target) { - //转换为连字符线风格 - return target.replace(/([a-z\d])([A-Z]+)/g, "$1-$2").toLowerCase() -} - -function camelize(target) { - //提前判断,提高getStyle等的效率 - if (!target || target.indexOf("-") < 0 && target.indexOf("_") < 0) { - return target - } - //转换为驼峰风格 - return target.replace(/[-_][^-_]/g, function(match) { - return match.charAt(1).toUpperCase() - }) -} - -var fakeClassListMethods = { - _toString: function() { - var node = this.node - var cls = node.className - var str = typeof cls === "string" ? cls : cls.baseVal - return str.split(/\s+/).join(" ") - }, - _contains: function(cls) { - return (" " + this + " ").indexOf(" " + cls + " ") > -1 - }, - _add: function(cls) { - if (!this.contains(cls)) { - this._set(this + " " + cls) - } - }, - _remove: function(cls) { - this._set((" " + this + " ").replace(" " + cls + " ", " ")) - }, - __set: function(cls) { - cls = cls.trim() - var node = this.node - if (rsvg.test(node)) { - //SVG元素的className是一个对象 SVGAnimatedString { baseVal="", animVal=""},只能通过set/getAttribute操作 - node.setAttribute("class", cls) - } else { - node.className = cls - } - } //toggle存在版本差异,因此不使用它 -} - - function fakeClassList(node) { - if (!("classList" in node)) { - node.classList = { - node: node - } - for (var k in fakeClassListMethods) { - node.classList[k.slice(1)] = fakeClassListMethods[k] - } - } - return node.classList - } - - - "add,remove".replace(rword, function(method) { - avalon.fn[method + "Class"] = function(cls) { - var el = this[0] - //https://developer.mozilla.org/zh-CN/docs/Mozilla/Firefox/Releases/26 - if (cls && typeof cls === "string" && el && el.nodeType === 1) { - cls.replace(/\S+/g, function(c) { - fakeClassList(el)[method](c) - }) - } - return this - } - }) - avalon.fn.mix({ - hasClass: function(cls) { - var el = this[0] || {} - return el.nodeType === 1 && fakeClassList(el).contains(cls) - }, - toggleClass: function(value, stateVal) { - var className, i = 0 - var classNames = String(value).split(/\s+/) - var isBool = typeof stateVal === "boolean" - while ((className = classNames[i++])) { - var state = isBool ? stateVal : !this.hasClass(className) - this[state ? "addClass" : "removeClass"](className) - } - return this - }, - attr: function(name, value) { - if (arguments.length === 2) { - this[0].setAttribute(name, value) - return this - } else { - return this[0].getAttribute(name) - } - }, - data: function(name, value) { - name = "data-" + hyphen(name || "") - switch (arguments.length) { - case 2: - this.attr(name, value) - return this - case 1: - var val = this.attr(name) - return parseData(val) - case 0: - var ret = {} - ap.forEach.call(this[0].attributes, function(attr) { - if (attr) { - name = attr.name - if (!name.indexOf("data-")) { - name = camelize(name.slice(5)) - ret[name] = parseData(attr.value) - } - } - }) - return ret - } - }, - removeData: function(name) { - name = "data-" + hyphen(name) - this[0].removeAttribute(name) - return this - }, - css: function(name, value) { - if (avalon.isPlainObject(name)) { - for (var i in name) { - avalon.css(this, i, name[i]) - } - } else { - var ret = avalon.css(this, name, value) - } - return ret !== void 0 ? ret : this - }, - position: function() { - var offsetParent, offset, - elem = this[0], - parentOffset = { - top: 0, - left: 0 - } - if (!elem) { - return - } - if (this.css("position") === "fixed") { - offset = elem.getBoundingClientRect() - } else { - offsetParent = this.offsetParent() //得到真正的offsetParent - offset = this.offset() // 得到正确的offsetParent - if (offsetParent[0].tagName !== "HTML") { - parentOffset = offsetParent.offset() - } - parentOffset.top += avalon.css(offsetParent[0], "borderTopWidth", true) - parentOffset.left += avalon.css(offsetParent[0], "borderLeftWidth", true) - - // Subtract offsetParent scroll positions - parentOffset.top -= offsetParent.scrollTop() - parentOffset.left -= offsetParent.scrollLeft() - } - return { - top: offset.top - parentOffset.top - avalon.css(elem, "marginTop", true), - left: offset.left - parentOffset.left - avalon.css(elem, "marginLeft", true) - } - }, - offsetParent: function() { - var offsetParent = this[0].offsetParent - while (offsetParent && avalon.css(offsetParent, "position") === "static") { - offsetParent = offsetParent.offsetParent; - } - return avalon(offsetParent || root) - }, - bind: function(type, fn, phase) { - if (this[0]) { //此方法不会链 - return avalon.bind(this[0], type, fn, phase) - } - }, - unbind: function(type, fn, phase) { - if (this[0]) { - avalon.unbind(this[0], type, fn, phase) - } - return this - }, - val: function(value) { - var node = this[0] - if (node && node.nodeType === 1) { - var get = arguments.length === 0 - var access = get ? ":get" : ":set" - var fn = valHooks[getValType(node) + access] - if (fn) { - var val = fn(node, value) - } else if (get) { - return (node.value || "").replace(/\r/g, "") - } else { - node.value = value - } - } - return get ? val : this - } - }) - - function parseData(data) { - try { - if (typeof data === "object") - return data - data = data === "true" ? true : - data === "false" ? false : - data === "null" ? null : +data + "" === data ? +data : rbrace.test(data) ? avalon.parseJSON(data) : data - } catch (e) {} - return data - } -var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/, - rvalidchars = /^[\],:{}\s]*$/, - rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, - rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g, - rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g -avalon.parseJSON = window.JSON ? JSON.parse : function(data) { - if (typeof data === "string") { - data = data.trim(); - if (data) { - if (rvalidchars.test(data.replace(rvalidescape, "@") - .replace(rvalidtokens, "]") - .replace(rvalidbraces, ""))) { - return (new Function("return " + data))() // jshint ignore:line - } - } - avalon.error("Invalid JSON: " + data) - } - return data -} - -//生成avalon.fn.scrollLeft, avalon.fn.scrollTop方法 -avalon.each({ - scrollLeft: "pageXOffset", - scrollTop: "pageYOffset" -}, function(method, prop) { - avalon.fn[method] = function(val) { - var node = this[0] || {}, win = getWindow(node), - top = method === "scrollTop" - if (!arguments.length) { - return win ? (prop in win) ? win[prop] : root[method] : node[method] - } else { - if (win) { - win.scrollTo(!top ? val : avalon(win).scrollLeft(), top ? val : avalon(win).scrollTop()) - } else { - node[method] = val - } - } - } -}) - -function getWindow(node) { - return node.window && node.document ? node : node.nodeType === 9 ? node.defaultView || node.parentWindow : false; -} -//=============================css相关======================= -var cssHooks = avalon.cssHooks = {} -var prefixes = ["", "-webkit-", "-o-", "-moz-", "-ms-"] -var cssMap = { - "float": W3C ? "cssFloat" : "styleFloat" -} -avalon.cssNumber = oneObject("columnCount,order,fillOpacity,fontWeight,lineHeight,opacity,orphans,widows,zIndex,zoom") - -avalon.cssName = function(name, host, camelCase) { - if (cssMap[name]) { - return cssMap[name] - } - host = host || root.style - for (var i = 0, n = prefixes.length; i < n; i++) { - camelCase = camelize(prefixes[i] + name) - if (camelCase in host) { - return (cssMap[name] = camelCase) - } - } - return null -} -cssHooks["@:set"] = function(node, name, value) { - try { //node.style.width = NaN;node.style.width = "xxxxxxx";node.style.width = undefine 在旧式IE下会抛异常 - node.style[name] = value - } catch (e) {} -} -if (window.getComputedStyle) { - cssHooks["@:get"] = function(node, name) { - if (!node || !node.style) { - throw new Error("getComputedStyle要求传入一个节点 " + node) - } - var ret, styles = getComputedStyle(node, null) - if (styles) { - ret = name === "filter" ? styles.getPropertyValue(name) : styles[name] - if (ret === "") { - ret = node.style[name] //其他浏览器需要我们手动取内联样式 - } - } - return ret - } - cssHooks["opacity:get"] = function(node) { - var ret = cssHooks["@:get"](node, "opacity") - return ret === "" ? "1" : ret - } -} else { - var rnumnonpx = /^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i - var rposition = /^(top|right|bottom|left)$/ - var ralpha = /alpha\([^)]*\)/i - var ie8 = !! window.XDomainRequest - var salpha = "DXImageTransform.Microsoft.Alpha" - var border = { - thin: ie8 ? '1px' : '2px', - medium: ie8 ? '3px' : '4px', - thick: ie8 ? '5px' : '6px' - } - cssHooks["@:get"] = function(node, name) { - //取得精确值,不过它有可能是带em,pc,mm,pt,%等单位 - var currentStyle = node.currentStyle - var ret = currentStyle[name] - if ((rnumnonpx.test(ret) && !rposition.test(ret))) { - //①,保存原有的style.left, runtimeStyle.left, - var style = node.style, - left = style.left, - rsLeft = node.runtimeStyle.left - //②由于③处的style.left = xxx会影响到currentStyle.left, - //因此把它currentStyle.left放到runtimeStyle.left, - //runtimeStyle.left拥有最高优先级,不会style.left影响 - node.runtimeStyle.left = currentStyle.left - //③将精确值赋给到style.left,然后通过IE的另一个私有属性 style.pixelLeft - //得到单位为px的结果;fontSize的分支见http://bugs.jquery.com/ticket/760 - style.left = name === 'fontSize' ? '1em' : (ret || 0) - ret = style.pixelLeft + "px" - //④还原 style.left,runtimeStyle.left - style.left = left - node.runtimeStyle.left = rsLeft - } - if (ret === "medium") { - name = name.replace("Width", "Style") - //border width 默认值为medium,即使其为0" - if (currentStyle[name] === "none") { - ret = "0px" - } - } - return ret === "" ? "auto" : border[ret] || ret - } - cssHooks["opacity:set"] = function(node, name, value) { - var style = node.style - var opacity = isFinite(value) && value <= 1 ? "alpha(opacity=" + value * 100 + ")" : "" - var filter = style.filter || ""; - style.zoom = 1 - //不能使用以下方式设置透明度 - //node.filters.alpha.opacity = value * 100 - style.filter = (ralpha.test(filter) ? - filter.replace(ralpha, opacity) : - filter + " " + opacity).trim() - if (!style.filter) { - style.removeAttribute("filter") - } - } - cssHooks["opacity:get"] = function(node) { - //这是最快的获取IE透明值的方式,不需要动用正则了! - var alpha = node.filters.alpha || node.filters[salpha], - op = alpha && alpha.enabled ? alpha.opacity : 100 - return (op / 100) + "" //确保返回的是字符串 - } -} - -"top,left".replace(rword, function(name) { - cssHooks[name + ":get"] = function(node) { - var computed = cssHooks["@:get"](node, name) - return /px$/.test(computed) ? computed : - avalon(node).position()[name] + "px" - } -}) - -var cssShow = { - position: "absolute", - visibility: "hidden", - display: "block" -} - -var rdisplayswap = /^(none|table(?!-c[ea]).+)/ - - function showHidden(node, array) { - //http://www.cnblogs.com/rubylouvre/archive/2012/10/27/2742529.html - if (node.offsetWidth <= 0) { //opera.offsetWidth可能小于0 - if (rdisplayswap.test(cssHooks["@:get"](node, "display"))) { - var obj = { - node: node - } - for (var name in cssShow) { - obj[name] = node.style[name] - node.style[name] = cssShow[name] - } - array.push(obj) - } - var parent = node.parentNode - if (parent && parent.nodeType === 1) { - showHidden(parent, array) - } - } - } - "Width,Height".replace(rword, function(name) { //fix 481 - var method = name.toLowerCase(), - clientProp = "client" + name, - scrollProp = "scroll" + name, - offsetProp = "offset" + name - cssHooks[method + ":get"] = function(node, which, override) { - var boxSizing = -4 - if (typeof override === "number") { - boxSizing = override - } - which = name === "Width" ? ["Left", "Right"] : ["Top", "Bottom"] - var ret = node[offsetProp] // border-box 0 - if (boxSizing === 2) { // margin-box 2 - return ret + avalon.css(node, "margin" + which[0], true) + avalon.css(node, "margin" + which[1], true) - } - if (boxSizing < 0) { // padding-box -2 - ret = ret - avalon.css(node, "border" + which[0] + "Width", true) - avalon.css(node, "border" + which[1] + "Width", true) - } - if (boxSizing === -4) { // content-box -4 - ret = ret - avalon.css(node, "padding" + which[0], true) - avalon.css(node, "padding" + which[1], true) - } - return ret - } - cssHooks[method + "&get"] = function(node) { - var hidden = []; - showHidden(node, hidden); - var val = cssHooks[method + ":get"](node) - for (var i = 0, obj; obj = hidden[i++];) { - node = obj.node - for (var n in obj) { - if (typeof obj[n] === "string") { - node.style[n] = obj[n] - } - } - } - return val; - } - avalon.fn[method] = function(value) { //会忽视其display - var node = this[0] - if (arguments.length === 0) { - if (node.setTimeout) { //取得窗口尺寸,IE9后可以用node.innerWidth /innerHeight代替 - return node["inner" + name] || node.document.documentElement[clientProp] - } - if (node.nodeType === 9) { //取得页面尺寸 - var doc = node.documentElement - //FF chrome html.scrollHeight< body.scrollHeight - //IE 标准模式 : html.scrollHeight> body.scrollHeight - //IE 怪异模式 : html.scrollHeight 最大等于可视窗口多一点? - return Math.max(node.body[scrollProp], doc[scrollProp], node.body[offsetProp], doc[offsetProp], doc[clientProp]) - } - return cssHooks[method + "&get"](node) - } else { - return this.css(method, value) - } - } - avalon.fn["inner" + name] = function() { - return cssHooks[method + ":get"](this[0], void 0, -2) - } - avalon.fn["outer" + name] = function(includeMargin) { - return cssHooks[method + ":get"](this[0], void 0, includeMargin === true ? 2 : 0) - } - }) - avalon.fn.offset = function() { //取得距离页面左右角的坐标 - var node = this[0], - box = { - left: 0, - top: 0 - } - if (!node || !node.tagName || !node.ownerDocument) { - return box - } - var doc = node.ownerDocument, - body = doc.body, - root = doc.documentElement, - win = doc.defaultView || doc.parentWindow - if (!avalon.contains(root, node)) { - return box - } - //http://hkom.blog1.fc2.com/?mode=m&no=750 body的偏移量是不包含margin的 - //我们可以通过getBoundingClientRect来获得元素相对于client的rect. - //http://msdn.microsoft.com/en-us/library/ms536433.aspx - if (node.getBoundingClientRect) { - box = node.getBoundingClientRect() // BlackBerry 5, iOS 3 (original iPhone) - } - //chrome/IE6: body.scrollTop, firefox/other: root.scrollTop - var clientTop = root.clientTop || body.clientTop, - clientLeft = root.clientLeft || body.clientLeft, - scrollTop = Math.max(win.pageYOffset || 0, root.scrollTop, body.scrollTop), - scrollLeft = Math.max(win.pageXOffset || 0, root.scrollLeft, body.scrollLeft) - // 把滚动距离加到left,top中去。 - // IE一些版本中会自动为HTML元素加上2px的border,我们需要去掉它 - // http://msdn.microsoft.com/en-us/library/ms533564(VS.85).aspx - return { - top: box.top + scrollTop - clientTop, - left: box.left + scrollLeft - clientLeft - } - } - - //==================================val相关============================ - - function getValType(elem) { - var ret = elem.tagName.toLowerCase() - return ret === "input" && /checkbox|radio/.test(elem.type) ? "checked" : ret - } -var roption = /^]+))?)*\s+value[\s=]/i -var valHooks = { - "option:get": IEVersion ? function(node) { - //在IE11及W3C,如果没有指定value,那么node.value默认为node.text(存在trim作),但IE9-10则是取innerHTML(没trim操作) - //specified并不可靠,因此通过分析outerHTML判定用户有没有显示定义value - return roption.test(node.outerHTML) ? node.value : node.text.trim() - } : function(node) { - return node.value - }, - "select:get": function(node, value) { - var option, options = node.options, - index = node.selectedIndex, - getter = valHooks["option:get"], - one = node.type === "select-one" || index < 0, - values = one ? null : [], - max = one ? index + 1 : options.length, - i = index < 0 ? max : one ? index : 0 - for (; i < max; i++) { - option = options[i] - //旧式IE在reset后不会改变selected,需要改用i === index判定 - //我们过滤所有disabled的option元素,但在safari5下,如果设置select为disable,那么其所有孩子都disable - //因此当一个元素为disable,需要检测其是否显式设置了disable及其父节点的disable情况 - if ((option.selected || i === index) && !option.disabled) { - value = getter(option) - if (one) { - return value - } - //收集所有selected值组成数组返回 - values.push(value) - } - } - return values - }, - "select:set": function(node, values, optionSet) { - values = [].concat(values) //强制转换为数组 - var getter = valHooks["option:get"] - for (var i = 0, el; el = node.options[i++];) { - if ((el.selected = values.indexOf(getter(el)) > -1)) { - optionSet = true - } - } - if (!optionSet) { - node.selectedIndex = -1 - } - } -} - -/********************************************************************* - * 编译系统 * - **********************************************************************/ -var meta = { - '\b': '\\b', - '\t': '\\t', - '\n': '\\n', - '\f': '\\f', - '\r': '\\r', - '"': '\\"', - '\\': '\\\\' -} -var quote = window.JSON && JSON.stringify || function(str) { - return '"' + str.replace(/[\\\"\x00-\x1f]/g, function(a) { - var c = meta[a]; - return typeof c === 'string' ? c : - '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); - }) + '"' -} - -var keywords = [ - "break,case,catch,continue,debugger,default,delete,do,else,false", - "finally,for,function,if,in,instanceof,new,null,return,switch,this", - "throw,true,try,typeof,var,void,while,with", /* 关键字*/ - "abstract,boolean,byte,char,class,const,double,enum,export,extends", - "final,float,goto,implements,import,int,interface,long,native", - "package,private,protected,public,short,static,super,synchronized", - "throws,transient,volatile", /*保留字*/ - "arguments,let,yield,undefined" /* ECMA 5 - use strict*/].join(",") -var rrexpstr = /\/\*[\w\W]*?\*\/|\/\/[^\n]*\n|\/\/[^\n]*$|"(?:[^"\\]|\\[\w\W])*"|'(?:[^'\\]|\\[\w\W])*'|[\s\t\n]*\.[\s\t\n]*[$\w\.]+/g -var rsplit = /[^\w$]+/g -var rkeywords = new RegExp(["\\b" + keywords.replace(/,/g, '\\b|\\b') + "\\b"].join('|'), 'g') -var rnumber = /\b\d[^,]*/g -var rcomma = /^,+|,+$/g -var variablePool = new Cache(512) -var getVariables = function (code) { - var key = "," + code.trim() - var ret = variablePool.get(key) - if (ret) { - return ret - } - var match = code - .replace(rrexpstr, "") - .replace(rsplit, ",") - .replace(rkeywords, "") - .replace(rnumber, "") - .replace(rcomma, "") - .split(/^$|,+/) - return variablePool.put(key, uniqSet(match)) -} -/*添加赋值语句*/ - -function addAssign(vars, scope, name, data) { - var ret = [], - prefix = " = " + name + "." - for (var i = vars.length, prop; prop = vars[--i]; ) { - if (scope.hasOwnProperty(prop)) { - ret.push(prop + prefix + prop) - data.vars.push(prop) - if (data.type === "duplex") { - vars.get = name + "." + prop - } - vars.splice(i, 1) - } - } - return ret -} - -function uniqSet(array) { - var ret = [], - unique = {} - for (var i = 0; i < array.length; i++) { - var el = array[i] - var id = el && typeof el.$id === "string" ? el.$id : el - if (!unique[id]) { - unique[id] = ret.push(el) - } - } - return ret -} -//缓存求值函数,以便多次利用 -var evaluatorPool = new Cache(128) -//取得求值函数及其传参 -var rduplex = /\w\[.*\]|\w\.\w/ -var rproxy = /(\$proxy\$[a-z]+)\d+$/ -var rthimRightParentheses = /\)\s*$/ -var rthimOtherParentheses = /\)\s*\|/g -var rquoteFilterName = /\|\s*([$\w]+)/g -var rpatchBracket = /"\s*\["/g -var rthimLeftParentheses = /"\s*\(/g -function parseFilter(val, filters) { - filters = filters - .replace(rthimRightParentheses, "")//处理最后的小括号 - .replace(rthimOtherParentheses, function () {//处理其他小括号 - return "],|" - }) - .replace(rquoteFilterName, function (a, b) { //处理|及它后面的过滤器的名字 - return "[" + quote(b) - }) - .replace(rpatchBracket, function () { - return '"],["' - }) - .replace(rthimLeftParentheses, function () { - return '",' - }) + "]" - return "return avalon.filters.$filter(" + val + ", " + filters + ")" -} - -function parseExpr(code, scopes, data) { - var dataType = data.type - var filters = data.filters || "" - var exprId = scopes.map(function (el) { - return String(el.$id).replace(rproxy, "$1") - }) + code + dataType + filters - var vars = getVariables(code).concat(), - assigns = [], - names = [], - args = [], - prefix = "" - //args 是一个对象数组, names 是将要生成的求值函数的参数 - scopes = uniqSet(scopes) - data.vars = [] - for (var i = 0, sn = scopes.length; i < sn; i++) { - if (vars.length) { - var name = "vm" + expose + "_" + i - names.push(name) - args.push(scopes[i]) - assigns.push.apply(assigns, addAssign(vars, scopes[i], name, data)) - } - } - if (!assigns.length && dataType === "duplex") { - return - } - if (dataType !== "duplex" && (code.indexOf("||") > -1 || code.indexOf("&&") > -1)) { - //https://github.com/RubyLouvre/avalon/issues/583 - data.vars.forEach(function (v) { - var reg = new RegExp("\\b" + v + "(?:\\.\\w+|\\[\\w+\\])+", "ig") - code = code.replace(reg, function (_) { - var c = _.charAt(v.length) - var r = IEVersion ? code.slice(arguments[1] + _.length) : RegExp.rightContext - var method = /^\s*\(/.test(r) - if (c === "." || c === "[" || method) {//比如v为aa,我们只匹配aa.bb,aa[cc],不匹配aaa.xxx - var name = "var" + String(Math.random()).replace(/^0\./, "") - if (method) {//array.size() - var array = _.split(".") - if (array.length > 2) { - var last = array.pop() - assigns.push(name + " = " + array.join(".")) - return name + "." + last - } else { - return _ - } - } - assigns.push(name + " = " + _) - return name - } else { - return _ - } - }) - }) - } - //---------------args---------------- - data.args = args - //---------------cache---------------- - delete data.vars - var fn = evaluatorPool.get(exprId) //直接从缓存,免得重复生成 - if (fn) { - data.evaluator = fn - return - } - prefix = assigns.join(", ") - if (prefix) { - prefix = "var " + prefix - } - if (/\S/.test(filters)) { //文本绑定,双工绑定才有过滤器 - if (!/text|html/.test(data.type)) { - throw Error("ms-" + data.type + "不支持过滤器") - } - code = "\nvar ret" + expose + " = " + code + ";\r\n" - code += parseFilter("ret" + expose, filters) - } else if (dataType === "duplex") { //双工绑定 - var _body = "'use strict';\nreturn function(vvv){\n\t" + - prefix + - ";\n\tif(!arguments.length){\n\t\treturn " + - code + - "\n\t}\n\t" + (!rduplex.test(code) ? vars.get : code) + - "= vvv;\n} " - try { - fn = Function.apply(noop, names.concat(_body)) - data.evaluator = evaluatorPool.put(exprId, fn) - } catch (e) { - log("debug: parse error," + e.message) - } - return - } else if (dataType === "on") { //事件绑定 - if (code.indexOf("(") === -1) { - code += ".call(this, $event)" - } else { - code = code.replace("(", ".call(this,") - } - names.push("$event") - code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;") - var lastIndex = code.lastIndexOf("\nreturn") - var header = code.slice(0, lastIndex) - var footer = code.slice(lastIndex) - code = header + "\n" + footer - } else { //其他绑定 - code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;") - } - try { - fn = Function.apply(noop, names.concat("'use strict';\n" + prefix + code)) - data.evaluator = evaluatorPool.put(exprId, fn) - } catch (e) { - log("debug: parse error," + e.message) - } finally { - vars = assigns = names = null //释放内存 - } -} - - -//parseExpr的智能引用代理 - -function parseExprProxy(code, scopes, data, tokens, noRegister) { - if (Array.isArray(tokens)) { - code = tokens.map(function (el) { - return el.expr ? "(" + el.value + ")" : quote(el.value) - }).join(" + ") - } - parseExpr(code, scopes, data) - if (data.evaluator && !noRegister) { - data.handler = bindingExecutors[data.handlerName || data.type] - //方便调试 - //这里非常重要,我们通过判定视图刷新函数的element是否在DOM树决定 - //将它移出订阅者列表 - avalon.injectBinding(data) - } -} -avalon.parseExprProxy = parseExprProxy -/********************************************************************* - * 扫描系统 * - **********************************************************************/ - -avalon.scan = function(elem, vmodel) { - elem = elem || root - var vmodels = vmodel ? [].concat(vmodel) : [] - scanTag(elem, vmodels) -} - -//http://www.w3.org/TR/html5/syntax.html#void-elements -var stopScan = oneObject("area,base,basefont,br,col,command,embed,hr,img,input,link,meta,param,source,track,wbr,noscript,script,style,textarea".toUpperCase()) - -function checkScan(elem, callback, innerHTML) { - var id = setTimeout(function() { - var currHTML = elem.innerHTML - clearTimeout(id) - if (currHTML === innerHTML) { - callback() - } else { - checkScan(elem, callback, currHTML) - } - }) -} - - -function createSignalTower(elem, vmodel) { - var id = elem.getAttribute("avalonctrl") || vmodel.$id - elem.setAttribute("avalonctrl", id) - vmodel.$events.expr = elem.tagName + '[avalonctrl="' + id + '"]' -} - -var getBindingCallback = function(elem, name, vmodels) { - var callback = elem.getAttribute(name) - if (callback) { - for (var i = 0, vm; vm = vmodels[i++]; ) { - if (vm.hasOwnProperty(callback) && typeof vm[callback] === "function") { - return vm[callback] - } - } - } -} - -function executeBindings(bindings, vmodels) { - for (var i = 0, data; data = bindings[i++]; ) { - data.vmodels = vmodels - bindingHandlers[data.type](data, vmodels) - if (data.evaluator && data.element && data.element.nodeType === 1) { //移除数据绑定,防止被二次解析 - //chrome使用removeAttributeNode移除不存在的特性节点时会报错 https://github.com/RubyLouvre/avalon/issues/99 - data.element.removeAttribute(data.name) - } - } - bindings.length = 0 -} - -//https://github.com/RubyLouvre/avalon/issues/636 -var mergeTextNodes = IEVersion && window.MutationObserver ? function (elem) { - var node = elem.firstChild, text - while (node) { - var aaa = node.nextSibling - if (node.nodeType === 3) { - if (text) { - text.nodeValue += node.nodeValue - elem.removeChild(node) - } else { - text = node - } - } else { - text = null - } - node = aaa - } -} : 0 -var roneTime = /^\s*::/ -var rmsAttr = /ms-(\w+)-?(.*)/ -var priorityMap = { - "if": 10, - "repeat": 90, - "data": 100, - "widget": 110, - "each": 1400, - "with": 1500, - "duplex": 2000, - "on": 3000 -} - -var events = oneObject("animationend,blur,change,input,click,dblclick,focus,keydown,keypress,keyup,mousedown,mouseenter,mouseleave,mousemove,mouseout,mouseover,mouseup,scan,scroll,submit") -var obsoleteAttrs = oneObject("value,title,alt,checked,selected,disabled,readonly,enabled") -function bindingSorter(a, b) { - return a.priority - b.priority -} - -function scanAttr(elem, vmodels, match) { - var scanNode = true - if (vmodels.length) { - var attributes = getAttributes ? getAttributes(elem) : elem.attributes - var bindings = [] - var fixAttrs = [] - var msData = {} - for (var i = 0, attr; attr = attributes[i++]; ) { - if (attr.specified) { - if (match = attr.name.match(rmsAttr)) { - //如果是以指定前缀命名的 - var type = match[1] - var param = match[2] || "" - var value = attr.value - var name = attr.name - if (events[type]) { - param = type - type = "on" - } else if (obsoleteAttrs[type]) { - if (type === "enabled") {//吃掉ms-enabled绑定,用ms-disabled代替 - log("warning!ms-enabled或ms-attr-enabled已经被废弃") - type = "disabled" - value = "!(" + value + ")" - } - param = type - type = "attr" - name = "ms-" + type + "-"+ param - fixAttrs.push([attr.name, name, value]) - } - msData[name] = value - if (typeof bindingHandlers[type] === "function") { - var newValue = value.replace(roneTime, "") - var oneTime = value !== newValue - var binding = { - type: type, - param: param, - element: elem, - name: name, - value: newValue, - oneTime: oneTime, - uuid: name+"-"+getUid(elem), - //chrome与firefox下Number(param)得到的值不一样 #855 - priority: (priorityMap[type] || type.charCodeAt(0) * 10 )+ (Number(param.replace(/\D/g, "")) || 0) - } - if (type === "html" || type === "text") { - var token = getToken(value) - avalon.mix(binding, token) - binding.filters = binding.filters.replace(rhasHtml, function () { - binding.type = "html" - binding.group = 1 - return "" - })// jshint ignore:line - } else if (type === "duplex") { - var hasDuplex = name - } else if (name === "ms-if-loop") { - binding.priority += 100 - } - bindings.push(binding) - if (type === "widget") { - elem.msData = elem.msData || msData - } - } - } - } - } - if (bindings.length) { - bindings.sort(bindingSorter) - fixAttrs.forEach(function (arr) { - log("warning!请改用" + arr[1] + "代替" + arr[0] + "!") - elem.removeAttribute(arr[0]) - elem.setAttribute(arr[1], arr[2]) - }) - //http://bugs.jquery.com/ticket/7071 - //在IE下对VML读取type属性,会让此元素所有属性都变成 - if (hasDuplex) { - if (msData["ms-attr-checked"]) { - log("warning!一个控件不能同时定义ms-attr-checked与" + hasDuplex) - } - if (msData["ms-attr-value"]) { - log("warning!一个控件不能同时定义ms-attr-value与" + hasDuplex) - } - } - for (i = 0; binding = bindings[i]; i++) { - type = binding.type - if (rnoscanAttrBinding.test(type)) { - return executeBindings(bindings.slice(0, i + 1), vmodels) - } else if (scanNode) { - scanNode = !rnoscanNodeBinding.test(type) - } - } - executeBindings(bindings, vmodels) - } - } - if (scanNode && !stopScan[elem.tagName] && rbind.test(elem.innerHTML.replace(rlt, "<").replace(rgt, ">"))) { - mergeTextNodes && mergeTextNodes(elem) - scanNodeList(elem, vmodels) //扫描子孙元素 - } -} -var rnoscanAttrBinding = /^if|widget|repeat$/ -var rnoscanNodeBinding = /^each|with|html|include$/ -//IE67下,在循环绑定中,一个节点如果是通过cloneNode得到,自定义属性的specified为false,无法进入里面的分支, -//但如果我们去掉scanAttr中的attr.specified检测,一个元素会有80+个特性节点(因为它不区分固有属性与自定义属性),很容易卡死页面 -if (!"1" [0]) { - var attrPool = new Cache(512) - var rattrs = /\s+(ms-[^=\s]+)(?:=("[^"]*"|'[^']*'|[^\s>]+))?/g, - rquote = /^['"]/, - rtag = /<\w+\b(?:(["'])[^"]*?(\1)|[^>])*>/i, - ramp = /&/g - //IE6-8解析HTML5新标签,会将它分解两个元素节点与一个文本节点 - //
    ddd
    - // window.onload = function() { - // var body = document.body - // for (var i = 0, el; el = body.children[i++]; ) { - // avalon.log(el.outerHTML) - // } - // } - //依次输出
    ,
    - var getAttributes = function (elem) { - var html = elem.outerHTML - //处理IE6-8解析HTML5新标签的情况,及
    等半闭合标签outerHTML为空的情况 - if (html.slice(0, 2) === " ms-important(1) --> ms-controller(2) --> ms-if(10) --> ms-repeat(100) - //--> ms-if-loop(110) --> ms-attr(970) ...--> ms-each(1400)-->ms-with(1500)--〉ms-duplex(2000)垫后 - var a = elem.getAttribute("ms-skip") - //#360 在旧式IE中 Object标签在引入Flash等资源时,可能出现没有getAttributeNode,innerHTML的情形 - if (!elem.getAttributeNode) { - return log("warning " + elem.tagName + " no getAttributeNode method") - } - var b = elem.getAttributeNode("ms-important") - var c = elem.getAttributeNode("ms-controller") - if (typeof a === "string") { - return - } else if (node = b || c) { - var newVmodel = avalon.vmodels[node.value] - if (!newVmodel) { - return - } - //ms-important不包含父VM,ms-controller相反 - vmodels = node === b ? [newVmodel] : [newVmodel].concat(vmodels) - var name = node.name - elem.removeAttribute(name) //removeAttributeNode不会刷新[ms-controller]样式规则 - avalon(elem).removeClass(name) - createSignalTower(elem, newVmodel) - } - scanAttr(elem, vmodels) //扫描特性节点 -} -var rhasHtml = /\|\s*html(?:\b|$)/, - r11a = /\|\|/g, - rlt = /</g, - rgt = />/g, - rstringLiteral = /(['"])(\\\1|.)+?\1/g -function getToken(value) { - if (value.indexOf("|") > 0) { - var scapegoat = value.replace(rstringLiteral, function (_) { - return Array(_.length + 1).join("1")// jshint ignore:line - }) - var index = scapegoat.replace(r11a, "\u1122\u3344").indexOf("|") //干掉所有短路或 - if (index > -1) { - return { - filters: value.slice(index), - value: value.slice(0, index), - expr: true - } - } - } - return { - value: value, - filters: "", - expr: true - } -} - -function scanExpr(str) { - var tokens = [], - value, start = 0, - stop - do { - stop = str.indexOf(openTag, start) - if (stop === -1) { - break - } - value = str.slice(start, stop) - if (value) { // {{ 左边的文本 - tokens.push({ - value: value, - filters: "", - expr: false - }) - } - start = stop + openTag.length - stop = str.indexOf(closeTag, start) - if (stop === -1) { - break - } - value = str.slice(start, stop) - if (value) { //处理{{ }}插值表达式 - tokens.push(getToken(value, start)) - } - start = stop + closeTag.length - } while (1) - value = str.slice(start) - if (value) { //}} 右边的文本 - tokens.push({ - value: value, - expr: false, - filters: "" - }) - } - return tokens -} - -function scanText(textNode, vmodels, index) { - var bindings = [] - tokens = scanExpr(textNode.data) - if (tokens.length) { - for (var i = 0; token = tokens[i++]; ) { - var node = DOC.createTextNode(token.value) //将文本转换为文本节点,并替换原来的文本节点 - if (token.expr) { - token.value = token.value.replace(roneTime, function () { - token.oneTime = true - return "" - }) - token.type = "text" - token.element = node - token.filters = token.filters.replace(rhasHtml, function (a, b,c) { - token.type = "html" - return "" - })// jshint ignore:line - token.pos = index * 1000 + i - bindings.push(token) //收集带有插值表达式的文本 - } - avalonFragment.appendChild(node) - } - textNode.parentNode.replaceChild(avalonFragment, textNode) - if (bindings.length) - executeBindings(bindings, vmodels) - } -} - -var bools = ["autofocus,autoplay,async,allowTransparency,checked,controls", - "declare,disabled,defer,defaultChecked,defaultSelected", - "contentEditable,isMap,loop,multiple,noHref,noResize,noShade", - "open,readOnly,selected" -].join(",") -var boolMap = {} -bools.replace(rword, function(name) { - boolMap[name.toLowerCase()] = name -}) - -var propMap = { //属性名映射 - "accept-charset": "acceptCharset", - "char": "ch", - "charoff": "chOff", - "class": "className", - "for": "htmlFor", - "http-equiv": "httpEquiv" -} - -var anomaly = ["accessKey,bgColor,cellPadding,cellSpacing,codeBase,codeType,colSpan", - "dateTime,defaultValue,frameBorder,longDesc,maxLength,marginWidth,marginHeight", - "rowSpan,tabIndex,useMap,vSpace,valueType,vAlign" -].join(",") -anomaly.replace(rword, function(name) { - propMap[name.toLowerCase()] = name -}) - -var rnoscripts = /(?:[\s\S]+?)<\/noscript>/img -var rnoscriptText = /([\s\S]+?)<\/noscript>/im - -var getXHR = function() { - return new(window.XMLHttpRequest || ActiveXObject)("Microsoft.XMLHTTP") // jshint ignore:line -} - -var templatePool = avalon.templateCache = {} - -bindingHandlers.attr = function(data, vmodels) { - var text = data.value.trim(), - simple = true - if (text.indexOf(openTag) > -1 && text.indexOf(closeTag) > 2) { - simple = false - if (rexpr.test(text) && RegExp.rightContext === "" && RegExp.leftContext === "") { - simple = true - text = RegExp.$1 - } - } - if (data.type === "include") { - var elem = data.element - data.includeRendered = getBindingCallback(elem, "data-include-rendered", vmodels) - data.includeLoaded = getBindingCallback(elem, "data-include-loaded", vmodels) - var outer = data.includeReplace = !! avalon(elem).data("includeReplace") - if (avalon(elem).data("includeCache")) { - data.templateCache = {} - } - data.startInclude = DOC.createComment("ms-include") - data.endInclude = DOC.createComment("ms-include-end") - if (outer) { - data.element = data.startInclude - elem.parentNode.insertBefore(data.startInclude, elem) - elem.parentNode.insertBefore(data.endInclude, elem.nextSibling) - } else { - elem.insertBefore(data.startInclude, elem.firstChild) - elem.appendChild(data.endInclude) - } - } - data.handlerName = "attr" //handleName用于处理多种绑定共用同一种bindingExecutor的情况 - parseExprProxy(text, vmodels, data, (simple ? 0 : scanExpr(data.value))) -} - -bindingExecutors.attr = function(val, elem, data) { - var method = data.type, - attrName = data.param - if (method === "css") { - avalon(elem).css(attrName, val) - } else if (method === "attr") { - - // ms-attr-class="xxx" vm.xxx="aaa bbb ccc"将元素的className设置为aaa bbb ccc - // ms-attr-class="xxx" vm.xxx=false 清空元素的所有类名 - // ms-attr-name="yyy" vm.yyy="ooo" 为元素设置name属性 - var toRemove = (val === false) || (val === null) || (val === void 0) - - if (!W3C && propMap[attrName]) { //旧式IE下需要进行名字映射 - attrName = propMap[attrName] - } - var bool = boolMap[attrName] - if (typeof elem[bool] === "boolean") { - elem[bool] = !! val //布尔属性必须使用el.xxx = true|false方式设值 - if (!val) { //如果为false, IE全系列下相当于setAttribute(xxx,''),会影响到样式,需要进一步处理 - toRemove = true - } - } - if (toRemove) { - return elem.removeAttribute(attrName) - } - //SVG只能使用setAttribute(xxx, yyy), VML只能使用elem.xxx = yyy ,HTML的固有属性必须elem.xxx = yyy - var isInnate = rsvg.test(elem) ? false : (DOC.namespaces && isVML(elem)) ? true : attrName in elem.cloneNode(false) - if (isInnate) { - elem[attrName] = val+"" - } else { - elem.setAttribute(attrName, val) - } - } else if (method === "include" && val) { - var vmodels = data.vmodels - var rendered = data.includeRendered - var loaded = data.includeLoaded - var replace = data.includeReplace - var target = replace ? elem.parentNode : elem - var scanTemplate = function(text) { - if (loaded) { - var newText = loaded.apply(target, [text].concat(vmodels)) - if (typeof newText === "string") - text = newText - } - if (rendered) { - checkScan(target, function() { - rendered.call(target) - }, NaN) - } - var lastID = data.includeLastID - if (data.templateCache && lastID && lastID !== val) { - var lastTemplate = data.templateCache[lastID] - if (!lastTemplate) { - lastTemplate = data.templateCache[lastID] = DOC.createElement("div") - ifGroup.appendChild(lastTemplate) - } - } - data.includeLastID = val - while (true) { - var node = data.startInclude.nextSibling - if (node && node !== data.endInclude) { - target.removeChild(node) - if (lastTemplate) - lastTemplate.appendChild(node) - } else { - break - } - } - var dom = getTemplateNodes(data, val, text) - var nodes = avalon.slice(dom.childNodes) - target.insertBefore(dom, data.endInclude) - scanNodeArray(nodes, vmodels) - } - - if (data.param === "src") { - if (typeof templatePool[val] === "string") { - avalon.nextTick(function() { - scanTemplate(templatePool[val]) - }) - } else if (Array.isArray(templatePool[val])) { //#805 防止在循环绑定中发出许多相同的请求 - templatePool[val].push(scanTemplate) - } else { - var xhr = getXHR() - xhr.onreadystatechange = function() { - if (xhr.readyState === 4) { - var s = xhr.status - if (s >= 200 && s < 300 || s === 304 || s === 1223) { - var text = xhr.responseText - for (var f = 0, fn; fn = templatePool[val][f++];) { - fn(text) - } - templatePool[val] = text - } - } - } - templatePool[val] = [scanTemplate] - xhr.open("GET", val, true) - if ("withCredentials" in xhr) { - xhr.withCredentials = true - } - xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest") - xhr.send(null) - } - } else { - //IE系列与够新的标准浏览器支持通过ID取得元素(firefox14+) - //http://tjvantoll.com/2012/07/19/dom-element-references-as-global-variables/ - var el = val && val.nodeType === 1 ? val : DOC.getElementById(val) - if (el) { - if (el.tagName === "NOSCRIPT" && !(el.innerHTML || el.fixIE78)) { //IE7-8 innerText,innerHTML都无法取得其内容,IE6能取得其innerHTML - xhr = getXHR() //IE9-11与chrome的innerHTML会得到转义的内容,它们的innerText可以 - xhr.open("GET", location, false) //谢谢Nodejs 乱炖群 深圳-纯属虚构 - xhr.send(null) - //http://bbs.csdn.net/topics/390349046?page=1#post-393492653 - var noscripts = DOC.getElementsByTagName("noscript") - var array = (xhr.responseText || "").match(rnoscripts) || [] - var n = array.length - for (var i = 0; i < n; i++) { - var tag = noscripts[i] - if (tag) { //IE6-8中noscript标签的innerHTML,innerText是只读的 - tag.style.display = "none" //http://haslayout.net/css/noscript-Ghost-Bug - tag.fixIE78 = (array[i].match(rnoscriptText) || ["", " "])[1] - } - } - } - avalon.nextTick(function() { - scanTemplate(el.fixIE78 || el.value || el.innerText || el.innerHTML) - }) - } - } - } else { - if (!root.hasAttribute && typeof val === "string" && (method === "src" || method === "href")) { - val = val.replace(/&/g, "&") //处理IE67自动转义的问题 - } - elem[method] = val - if (window.chrome && elem.tagName === "EMBED") { - var parent = elem.parentNode //#525 chrome1-37下embed标签动态设置src不能发生请求 - var comment = document.createComment("ms-src") - parent.replaceChild(comment, elem) - parent.replaceChild(elem, comment) - } - } -} - -function getTemplateNodes(data, id, text) { - var div = data.templateCache && data.templateCache[id] - if (div) { - var dom = DOC.createDocumentFragment(), - firstChild - while (firstChild = div.firstChild) { - dom.appendChild(firstChild) - } - return dom - } - return avalon.parseHTML(text) -} - -//这几个指令都可以使用插值表达式,如ms-src="aaa/{{b}}/{{c}}.html" -"title,alt,src,value,css,include,href".replace(rword, function(name) { - bindingHandlers[name] = bindingHandlers.attr -}) -//根据VM的属性值或表达式的值切换类名,ms-class="xxx yyy zzz:flag" -//http://www.cnblogs.com/rubylouvre/archive/2012/12/17/2818540.html -bindingHandlers["class"] = function(data, vmodels) { - var oldStyle = data.param, - text = data.value, - rightExpr - data.handlerName = "class" - if (!oldStyle || isFinite(oldStyle)) { - data.param = "" //去掉数字 - var noExpr = text.replace(rexprg, function(a) { - return a.replace(/./g, "0") - //return Math.pow(10, a.length - 1) //将插值表达式插入10的N-1次方来占位 - }) - var colonIndex = noExpr.indexOf(":") //取得第一个冒号的位置 - if (colonIndex === -1) { // 比如 ms-class="aaa bbb ccc" 的情况 - var className = text - } else { // 比如 ms-class-1="ui-state-active:checked" 的情况 - className = text.slice(0, colonIndex) - rightExpr = text.slice(colonIndex + 1) - parseExpr(rightExpr, vmodels, data) //决定是添加还是删除 - if (!data.evaluator) { - log("debug: ms-class '" + (rightExpr || "").trim() + "' 不存在于VM中") - return false - } else { - data._evaluator = data.evaluator - data._args = data.args - } - } - var hasExpr = rexpr.test(className) //比如ms-class="width{{w}}"的情况 - if (!hasExpr) { - data.immobileClass = className - } - parseExprProxy("", vmodels, data, (hasExpr ? scanExpr(className) : 0)) - } else { - data.immobileClass = data.oldStyle = data.param - parseExprProxy(text, vmodels, data) - } -} - -bindingExecutors["class"] = function(val, elem, data) { - var $elem = avalon(elem), - method = data.type - if (method === "class" && data.oldStyle) { //如果是旧风格 - $elem.toggleClass(data.oldStyle, !! val) - } else { - //如果存在冒号就有求值函数 - data.toggleClass = data._evaluator ? !! data._evaluator.apply(elem, data._args) : true - data.newClass = data.immobileClass || val - if (data.oldClass && data.newClass !== data.oldClass) { - $elem.removeClass(data.oldClass) - } - data.oldClass = data.newClass - switch (method) { - case "class": - $elem.toggleClass(data.newClass, data.toggleClass) - break - case "hover": - case "active": - if (!data.hasBindEvent) { //确保只绑定一次 - var activate = "mouseenter" //在移出移入时切换类名 - var abandon = "mouseleave" - if (method === "active") { //在聚焦失焦中切换类名 - elem.tabIndex = elem.tabIndex || -1 - activate = "mousedown" - abandon = "mouseup" - var fn0 = $elem.bind("mouseleave", function() { - data.toggleClass && $elem.removeClass(data.newClass) - }) - } - var fn1 = $elem.bind(activate, function() { - data.toggleClass && $elem.addClass(data.newClass) - }) - var fn2 = $elem.bind(abandon, function() { - data.toggleClass && $elem.removeClass(data.newClass) - }) - data.rollback = function() { - $elem.unbind("mouseleave", fn0) - $elem.unbind(activate, fn1) - $elem.unbind(abandon, fn2) - } - data.hasBindEvent = true - } - break; - } - } -} - -"hover,active".replace(rword, function(method) { - bindingHandlers[method] = bindingHandlers["class"] -}) -//ms-controller绑定已经在scanTag 方法中实现 -//ms-css绑定已由ms-attr绑定实现 - - -// bindingHandlers.data 定义在if.js -bindingExecutors.data = function(val, elem, data) { - var key = "data-" + data.param - if (val && typeof val === "object") { - elem[key] = val - } else { - elem.setAttribute(key, String(val)) - } -} -//双工绑定 -var duplexBinding = bindingHandlers.duplex = function(data, vmodels) { - var elem = data.element, - hasCast - parseExprProxy(data.value, vmodels, data, 0, 1) - - data.changed = getBindingCallback(elem, "data-duplex-changed", vmodels) || noop - if (data.evaluator && data.args) { - var params = [] - var casting = oneObject("string,number,boolean,checked") - if (elem.type === "radio" && data.param === "") { - data.param = "checked" - } - if (elem.msData) { - elem.msData["ms-duplex"] = data.value - } - data.param.replace(/\w+/g, function(name) { - if (/^(checkbox|radio)$/.test(elem.type) && /^(radio|checked)$/.test(name)) { - if (name === "radio") - log("ms-duplex-radio已经更名为ms-duplex-checked") - name = "checked" - data.isChecked = true - } - if (name === "bool") { - name = "boolean" - log("ms-duplex-bool已经更名为ms-duplex-boolean") - } else if (name === "text") { - name = "string" - log("ms-duplex-text已经更名为ms-duplex-string") - } - if (casting[name]) { - hasCast = true - } - avalon.Array.ensure(params, name) - }) - if (!hasCast) { - params.push("string") - } - data.param = params.join("-") - data.bound = function(type, callback) { - if (elem.addEventListener) { - elem.addEventListener(type, callback, false) - } else { - elem.attachEvent("on" + type, callback) - } - var old = data.rollback - data.rollback = function() { - elem.avalonSetter = null - avalon.unbind(elem, type, callback) - old && old() - } - } - for (var i in avalon.vmodels) { - var v = avalon.vmodels[i] - v.$fire("avalon-ms-duplex-init", data) - } - var cpipe = data.pipe || (data.pipe = pipe) - cpipe(null, data, "init") - var tagName = elem.tagName - duplexBinding[tagName] && duplexBinding[tagName](elem, data.evaluator.apply(null, data.args), data) - } -} -//不存在 bindingExecutors.duplex - - function fixNull(val) { - return val == null ? "" : val - } -avalon.duplexHooks = { - checked: { - get: function(val, data) { - return !data.element.oldValue - } - }, - string: { - get: function(val) { //同步到VM - return val - }, - set: fixNull - }, - "boolean": { - get: function(val) { - return val === "true" - }, - set: fixNull - }, - number: { - get: function(val, data) { - var number = parseFloat(val) - if (-val === -number) { - return number - } - var arr = /strong|medium|weak/.exec(data.element.getAttribute("data-duplex-number")) || ["medium"] - switch (arr[0]) { - case "strong": - return 0 - case "medium": - return val === "" ? "" : 0 - case "weak": - return val - } - }, - set: fixNull - } -} - -function pipe(val, data, action, e) { - data.param.replace(/\w+/g, function(name) { - var hook = avalon.duplexHooks[name] - if (hook && typeof hook[action] === "function") { - val = hook[action](val, data) - } - }) - return val -} - -var TimerID, ribbon = [] - - avalon.tick = function(fn) { - if (ribbon.push(fn) === 1) { - TimerID = setInterval(ticker, 60) - } - } - - function ticker() { - for (var n = ribbon.length - 1; n >= 0; n--) { - var el = ribbon[n] - if (el() === false) { - ribbon.splice(n, 1) - } - } - if (!ribbon.length) { - clearInterval(TimerID) - } - } - -var watchValueInTimer = noop -var rmsinput = /text|password|hidden/ -new function() { // jshint ignore:line - try { //#272 IE9-IE11, firefox - var setters = {} - var aproto = HTMLInputElement.prototype - var bproto = HTMLTextAreaElement.prototype - function newSetter(value) { // jshint ignore:line - setters[this.tagName].call(this, value) - if (rmsinput.test(this.type) && !this.msFocus && this.avalonSetter) { - this.avalonSetter() - } - } - var inputProto = HTMLInputElement.prototype - Object.getOwnPropertyNames(inputProto) //故意引发IE6-8等浏览器报错 - setters["INPUT"] = Object.getOwnPropertyDescriptor(aproto, "value").set - - Object.defineProperty(aproto, "value", { - set: newSetter - }) - setters["TEXTAREA"] = Object.getOwnPropertyDescriptor(bproto, "value").set - Object.defineProperty(bproto, "value", { - set: newSetter - }) - } catch (e) { - //在chrome 43中 ms-duplex终于不需要使用定时器实现双向绑定了 - // http://updates.html5rocks.com/2015/04/DOM-attributes-now-on-the-prototype - // https://docs.google.com/document/d/1jwA8mtClwxI-QJuHT7872Z0pxpZz8PBkf2bGAbsUtqs/edit?pli=1 - watchValueInTimer = avalon.tick - } -} // jshint ignore:line -if (IEVersion) { - avalon.bind(DOC, "selectionchange", function(e) { - var el = DOC.activeElement - if (el && typeof el.avalonSetter === "function") { - el.avalonSetter() - } - }) -} - -//处理radio, checkbox, text, textarea, password -duplexBinding.INPUT = function(element, evaluator, data) { - var $type = element.type, - bound = data.bound, - $elem = avalon(element), - composing = false - - function callback(value) { - data.changed.call(this, value, data) - } - - function compositionStart() { - composing = true - } - - function compositionEnd() { - composing = false - } - //当value变化时改变model的值 - var updateVModel = function() { - if (composing) //处理中文输入法在minlengh下引发的BUG - return - var val = element.oldValue = element.value //防止递归调用形成死循环 - var lastValue = data.pipe(val, data, "get") - if ($elem.data("duplexObserve") !== false) { - evaluator(lastValue) - callback.call(element, lastValue) - if ($elem.data("duplex-focus")) { - avalon.nextTick(function() { - element.focus() - }) - } - } - } - //当model变化时,它就会改变value的值 - data.handler = function() { - var val = data.pipe(evaluator(), data, "set") + "" //fix #673 - if (val !== element.oldValue) { - element.value = val - } - } - if (data.isChecked || $type === "radio") { - var IE6 = IEVersion === 6 - updateVModel = function() { - if ($elem.data("duplexObserve") !== false) { - var lastValue = data.pipe(element.value, data, "get") - evaluator(lastValue) - callback.call(element, lastValue) - } - } - data.handler = function() { - var val = evaluator() - var checked = data.isChecked ? !! val : val + "" === element.value - element.oldValue = checked - if (IE6) { - setTimeout(function() { - //IE8 checkbox, radio是使用defaultChecked控制选中状态, - //并且要先设置defaultChecked后设置checked - //并且必须设置延迟 - element.defaultChecked = checked - element.checked = checked - }, 31) - } else { - element.checked = checked - } - } - bound("click", updateVModel) - } else if ($type === "checkbox") { - updateVModel = function() { - if ($elem.data("duplexObserve") !== false) { - var method = element.checked ? "ensure" : "remove" - var array = evaluator() - if (!Array.isArray(array)) { - log("ms-duplex应用于checkbox上要对应一个数组") - array = [array] - } - var val = data.pipe(element.value, data, "get") - avalon.Array[method](array, val) - callback.call(element, array) - } - } - - data.handler = function() { - var array = [].concat(evaluator()) //强制转换为数组 - var val = data.pipe(element.value, data, "get") - element.checked = array.indexOf(val) > -1 - } - bound(W3C ? "change" : "click", updateVModel) - } else { - var events = element.getAttribute("data-duplex-event") || "input" - if (element.attributes["data-event"]) { - log("data-event指令已经废弃,请改用data-duplex-event") - } - - function delay(e) { // jshint ignore:line - setTimeout(function() { - updateVModel(e) - }) - } - events.replace(rword, function(name) { - switch (name) { - case "input": - if (!IEVersion) { // W3C - bound("input", updateVModel) - //非IE浏览器才用这个 - bound("compositionstart", compositionStart) - bound("compositionend", compositionEnd) - bound("DOMAutoComplete", updateVModel) - } else { //onpropertychange事件无法区分是程序触发还是用户触发 - // IE下通过selectionchange事件监听IE9+点击input右边的X的清空行为,及粘贴,剪切,删除行为 - if (IEVersion > 8) { - bound("input", updateVModel) //IE9使用propertychange无法监听中文输入改动 - } else { - bound("propertychange", function(e) { //IE6-8下第一次修改时不会触发,需要使用keydown或selectionchange修正 - if (e.propertyName === "value") { - updateVModel() - } - }) - } - bound("dragend", delay) - //http://www.cnblogs.com/rubylouvre/archive/2013/02/17/2914604.html - //http://www.matts411.com/post/internet-explorer-9-oninput/ - } - break - default: - bound(name, updateVModel) - break - } - }) - bound("focus", function() { - element.msFocus = true - }) - bound("blur", function() { - element.msFocus = false - }) - - if (rmsinput.test($type)) { - watchValueInTimer(function() { - if (root.contains(element)) { - if (!element.msFocus && element.oldValue !== element.value) { - updateVModel() - } - } else if (!element.msRetain) { - return false - } - }) - } - - element.avalonSetter = updateVModel //#765 - } - - element.oldValue = element.value - avalon.injectBinding(data) - callback.call(element, element.value) -} -duplexBinding.TEXTAREA = duplexBinding.INPUT -duplexBinding.SELECT = function(element, evaluator, data) { - var $elem = avalon(element) - - function updateVModel() { - if ($elem.data("duplexObserve") !== false) { - var val = $elem.val() //字符串或字符串数组 - if (Array.isArray(val)) { - val = val.map(function(v) { - return data.pipe(v, data, "get") - }) - } else { - val = data.pipe(val, data, "get") - } - if (val + "" !== element.oldValue) { - evaluator(val) - } - data.changed.call(element, val, data) - } - } - data.handler = function() { - var val = evaluator() - val = val && val.$model || val - if (Array.isArray(val)) { - if (!element.multiple) { - log("ms-duplex在不能对应一个数组") - } - } - //必须变成字符串后才能比较 - val = Array.isArray(val) ? val.map(String) : val + "" - if (val + "" !== element.oldValue) { - $elem.val(val) - element.oldValue = val + "" - } - } - data.bound("change", updateVModel) - element.msCallback = function() { - avalon.injectBinding(data) - data.changed.call(element, evaluator(), data) - } -} -// bindingHandlers.html 定义在if.js -bindingExecutors.html = function (val, elem, data) { - var isHtmlFilter = elem.nodeType !== 1 - var parent = isHtmlFilter ? elem.parentNode : elem - if (!parent) - return - val = val == null ? "" : val - if (data.oldText !== val) { - data.oldText = val - } else { - return - } - if (elem.nodeType === 3) { - var signature = generateID("html") - parent.insertBefore(DOC.createComment(signature), elem) - data.element = DOC.createComment(signature + ":end") - parent.replaceChild(data.element, elem) - elem = data.element - } - if (typeof val !== "object") {//string, number, boolean - var fragment = avalon.parseHTML(String(val)) - } else if (val.nodeType === 11) { //将val转换为文档碎片 - fragment = val - } else if (val.nodeType === 1 || val.item) { - var nodes = val.nodeType === 1 ? val.childNodes : val.item - fragment = avalonFragment.cloneNode(true) - while (nodes[0]) { - fragment.appendChild(nodes[0]) - } - } - - nodes = avalon.slice(fragment.childNodes) - //插入占位符, 如果是过滤器,需要有节制地移除指定的数量,如果是html指令,直接清空 - if (isHtmlFilter) { - var endValue = elem.nodeValue.slice(0, -4) - while (true) { - var node = elem.previousSibling - if (!node || node.nodeType === 8 && node.nodeValue === endValue) { - break - } else { - parent.removeChild(node) - } - } - parent.insertBefore(fragment, elem) - } else { - avalon.clearHTML(elem).appendChild(fragment) - } - scanNodeArray(nodes, data.vmodels) -} -bindingHandlers["if"] = - bindingHandlers.data = - bindingHandlers.text = - bindingHandlers.html = - function(data, vmodels) { - parseExprProxy(data.value, vmodels, data) -} - -bindingExecutors["if"] = function(val, elem, data) { - try { - if(!elem.parentNode) return - } catch(e) {return} - if (val) { //插回DOM树 - if (elem.nodeType === 8) { - elem.parentNode.replaceChild(data.template, elem) - // animate.enter(data.template, elem.parentNode) - elem = data.element = data.template //这时可能为null - } - if (elem.getAttribute(data.name)) { - elem.removeAttribute(data.name) - scanAttr(elem, data.vmodels) - } - data.rollback = null - } else { //移出DOM树,并用注释节点占据原位置 - if (elem.nodeType === 1) { - var node = data.element = DOC.createComment("ms-if") - elem.parentNode.replaceChild(node, elem) - // animate.leave(elem, node.parentNode, node) - data.template = elem //元素节点 - ifGroup.appendChild(elem) - data.rollback = function() { - if (elem.parentNode === ifGroup) { - ifGroup.removeChild(elem) - } - } - } - } -} -//ms-important绑定已经在scanTag 方法中实现 -//ms-include绑定已由ms-attr绑定实现 - -var rdash = /\(([^)]*)\)/ -bindingHandlers.on = function(data, vmodels) { - var value = data.value - data.type = "on" - var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10 - if (typeof bindingHandlers.on[eventType + "Hook"] === "function") { - bindingHandlers.on[eventType + "Hook"](data) - } - if (value.indexOf("(") > 0 && value.indexOf(")") > -1) { - var matched = (value.match(rdash) || ["", ""])[1].trim() - if (matched === "" || matched === "$event") { // aaa() aaa($event)当成aaa处理 - value = value.replace(rdash, "") - } - } - parseExprProxy(value, vmodels, data) -} - -bindingExecutors.on = function(callback, elem, data) { - callback = function(e) { - var fn = data.evaluator || noop - return fn.apply(this, data.args.concat(e)) - } - var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10 - if (eventType === "scan") { - callback.call(elem, { - type: eventType - }) - } else if (typeof data.specialBind === "function") { - data.specialBind(elem, callback) - } else { - var removeFn = avalon.bind(elem, eventType, callback) - } - data.rollback = function() { - if (typeof data.specialUnbind === "function") { - data.specialUnbind() - } else { - avalon.unbind(elem, eventType, removeFn) - } - } -} -bindingHandlers.repeat = function (data, vmodels) { - var type = data.type - parseExprProxy(data.value, vmodels, data, 0, 1) - data.proxies = [] - var freturn = false - try { - var $repeat = data.$repeat = data.evaluator.apply(0, data.args || []) - var xtype = avalon.type($repeat) - if (xtype !== "object" && xtype !== "array") { - freturn = true - avalon.log("warning:" + data.value + "只能是对象或数组") - } - } catch (e) { - freturn = true - } - var arr = data.value.split(".") || [] - if (arr.length > 1) { - arr.pop() - var n = arr[0] - for (var i = 0, v; v = vmodels[i++]; ) { - if (v && v.hasOwnProperty(n)) { - var events = v[n].$events || {} - events[subscribers] = events[subscribers] || [] - events[subscribers].push(data) - break - } - } - } - - var elem = data.element - if (elem.nodeType === 1) { - elem.removeAttribute(data.name) - data.sortedCallback = getBindingCallback(elem, "data-with-sorted", vmodels) - data.renderedCallback = getBindingCallback(elem, "data-" + type + "-rendered", vmodels) - var signature = generateID(type) - var start = DOC.createComment(signature) - var end = DOC.createComment(signature + ":end") - data.signature = signature - data.template = avalonFragment.cloneNode(false) - if (type === "repeat") { - var parent = elem.parentNode - parent.replaceChild(end, elem) - parent.insertBefore(start, end) - data.template.appendChild(elem) - } else { - while (elem.firstChild) { - data.template.appendChild(elem.firstChild) - } - elem.appendChild(start) - elem.appendChild(end) - } - data.element = end - data.handler = bindingExecutors.repeat - data.rollback = function () { - var elem = data.element - if (!elem) - return - data.handler("clear") - } - } - - if (freturn) { - return - } - - data.$outer = {} - var check0 = "$key" - var check1 = "$val" - if (Array.isArray($repeat)) { - check0 = "$first" - check1 = "$last" - } - - for (i = 0; v = vmodels[i++]; ) { - if (v.hasOwnProperty(check0) && v.hasOwnProperty(check1)) { - data.$outer = v - break - } - } - var $events = $repeat.$events - var $list = ($events || {})[subscribers] - injectDependency($list, data) - if (xtype === "object") { - data.$with = true - $repeat.$proxy || ($repeat.$proxy = {}) - data.handler("append", $repeat) - } else if ($repeat.length) { - data.handler("add", 0, $repeat.length) - } -} - -bindingExecutors.repeat = function (method, pos, el) { - if (!method && this.$with) { - method = "append" - var flag = "update" - } - if (method) { - var data = this, start, fragment - var end = data.element - var comments = getComments(data) - var parent = end.parentNode - var proxies = data.proxies - var transation = avalonFragment.cloneNode(false) - switch (method) { - case "add": //在pos位置后添加el数组(pos为插入位置,el为要插入的个数) - var n = pos + el - var fragments = [] - for (var i = pos; i < n; i++) { - var proxy = eachProxyAgent(i, data) - proxies.splice(i, 0, proxy) - shimController(data, transation, proxy, fragments) - } - var now = new Date() - 0 - avalon.optimize = avalon.optimize || now - for (i = 0; fragment = fragments[i++]; ) { - scanNodeArray(fragment.nodes, fragment.vmodels) - fragment.nodes = fragment.vmodels = null - } - if (avalon.optimize === now) { - avalon.optimize = null - } - parent.insertBefore(transation, comments[pos] || end) - avalon.profile("插入操作花费了 " + (new Date - now)) - break - case "del": //将pos后的el个元素删掉(pos, el都是数字) - sweepNodes(comments[pos], comments[pos + el] || end) - var removed = proxies.splice(pos, el) - recycleProxies(removed, "each") - break - case "clear": - start = comments[0] - if (start) { - sweepNodes(start, end) - if (data.$with) { - parent.insertBefore(start, end) - } - } - recycleProxies(proxies, "each") - break - case "move": - start = comments[0] - if (start) { - var signature = start.nodeValue - var rooms = [] - var room = [], - node - sweepNodes(start, end, function () { - room.unshift(this) - if (this.nodeValue === signature) { - rooms.unshift(room) - room = [] - } - }) - sortByIndex(rooms, pos) - sortByIndex(proxies, pos) - while (room = rooms.shift()) { - while (node = room.shift()) { - transation.appendChild(node) - } - } - parent.insertBefore(transation, end) - } - break - case "index": //将proxies中的第pos个起的所有元素重新索引 - var last = proxies.length - 1 - for (; el = proxies[pos]; pos++) { - el.$index = pos - el.$first = pos === 0 - el.$last = pos === last - } - return - case "set": //将proxies中的第pos个元素的VM设置为el(pos为数字,el任意) - proxy = proxies[pos] - if (proxy) { - fireDependencies(proxy.$events[data.param || "el"]) - } - break - case "append": - var object = data.$repeat //原来第2参数, 被循环对象 - var oldProxy = object.$proxy //代理对象组成的hash - var keys = [] - now = new Date() - 0 - avalon.optimize = avalon.optimize || now - if (flag === "update") { - if (!data.evaluator) { - parseExprProxy(data.value, data.vmodels, data, 0, 1) - } - object = data.$repeat = data.evaluator.apply(0, data.args || []) - object.$proxy = oldProxy - } - var pool = object.$proxy || {} - removed = [] - var nodes = data.element.parentNode.childNodes - var add = false - for (i = 0; node = nodes[i++]; ) { - if (node.nodeValue === data.signature) { - add = true - } else if (node.nodeValue === data.signature + ":end") { - add = false - } - if (add) { - removed.push(node) - } - } - - var indexNode = [], item - var keyIndex = data.keyIndex || (data.keyIndex = {}) - //将现有的节点全部移出DOM树 - for ( i = 0; i < removed.length; i++) { - el = removed[i] - if (el.nodeValue === data.signature) { - item = avalonFragment.cloneNode(false) - indexNode.push(item) - } - item.appendChild(el) - } - - - for (var key in object) { //当前对象的所有键名 - if (object.hasOwnProperty(key) && key !== "hasOwnProperty" && key !== "$proxy") { - keys.push(key) - } - } - - for (var i = 0; key = keys[i++]; ) { - if (!pool.hasOwnProperty(key)) {//添加缺失的代理VM - pool[key] = withProxyAgent(pool[key], key, data) - } else { - pool[key].$val = object[key] - } - } - - for ( key in pool) { - if (keys.indexOf(key) === -1) {//删除没用的代理VM - proxyRecycler(pool[key], withProxyPool) //去掉之前的代理VM - delete pool[key] - } - } - var fragments = [] - var renderKeys = keys //需要渲染到DOM树去的键名 - var end = data.element - if (data.sortedCallback) { //如果有回调,则让它们排序 - var keys2 = data.sortedCallback.call(parent, keys) - if (keys2 && Array.isArray(keys2)) { - renderKeys = keys2 - } - } - - for (i = 0; i < renderKeys.length; i++) { - key = renderKeys[i] - if (typeof keyIndex[key] === "number") { - transation.appendChild(indexNode[keyIndex[key]]) - fragments.push({}) - } else { - shimController(data, transation, pool[key], fragments) - } - } - - for (i = 0; i < renderKeys.length; i++) { - keyIndex[renderKeys[i]] = i - } - - for (i = 0; fragment = fragments[i++]; ) { - if (fragment.nodes) { - scanNodeArray(fragment.nodes, fragment.vmodels) - fragment.nodes = fragment.vmodels = null - } - } - if (avalon.optimize === now) { - avalon.optimize = null - } - parent.insertBefore(transation, end) - avalon.profile("插入操作花费了 " + (new Date - now)) - break - } - if (!data.$repeat || data.$repeat.hasOwnProperty("$lock")) //IE6-8 VBScript对象会报错, 有时候data.$repeat不存在 - return - if (method === "clear") - method = "del" - var callback = data.renderedCallback || noop, - args = arguments - if (parent.oldValue && parent.tagName === "SELECT") { //fix #503 - avalon(parent).val(parent.oldValue.split(",")) - } - callback.apply(parent, args) - } -} -"with,each".replace(rword, function (name) { - bindingHandlers[name] = bindingHandlers.repeat -}) - -function shimController(data, transation, proxy, fragments) { - var content = data.template.cloneNode(true) - var nodes = avalon.slice(content.childNodes) - content.insertBefore(DOC.createComment(data.signature), content.firstChild) - transation.appendChild(content) - var nv = [proxy].concat(data.vmodels) - var fragment = { - nodes: nodes, - vmodels: nv - } - fragments.push(fragment) -} - -function getComments(data) { - var ret = [] - var nodes = data.element.parentNode.childNodes - for(var i= 0, node; node = nodes[i++];){ - if(node.nodeValue === data.signature){ - ret.push( node ) - }else if(node.nodeValue === data.signature+":end"){ - break - } - } - return ret -} - - -//移除掉start与end之间的节点(保留end) -function sweepNodes(start, end, callback) { - while (true) { - var node = end.previousSibling - if (!node) - break - node.parentNode.removeChild(node) - callback && callback.call(node) - if (node === start) { - break - } - } -} - -// 为ms-each,ms-with, ms-repeat会创建一个代理VM, -// 通过它们保持一个下上文,让用户能调用$index,$first,$last,$remove,$key,$val,$outer等属性与方法 -// 所有代理VM的产生,消费,收集,存放通过xxxProxyFactory,xxxProxyAgent, recycleProxies,xxxProxyPool实现 -var withProxyPool = [] -function withProxyFactory() { - var proxy = modelFactory({ - $key: "", - $outer: {}, - $host: {}, - $val: { - get: function () { - return this.$host[this.$key] - }, - set: function (val) { - this.$host[this.$key] = val - } - } - }, { - $val: 1 - }) - proxy.$id = generateID("$proxy$with") - return proxy -} - -function withProxyAgent(proxy, key, data) { - proxy = proxy || withProxyPool.pop() - if (!proxy) { - proxy = withProxyFactory() - } else { - proxy.$reinitialize() - } - var host = data.$repeat - proxy.$key = key - proxy.$host = host - proxy.$outer = data.$outer - if (host.$events) { - proxy.$events.$val = host.$events[key] - } else { - proxy.$events = {} - } - return proxy -} - - -function recycleProxies(proxies) { - eachProxyRecycler(proxies) -} -function eachProxyRecycler(proxies) { - proxies.forEach(function (proxy) { - proxyRecycler(proxy, eachProxyPool) - }) - proxies.length = 0 -} - - -var eachProxyPool = [] -function eachProxyFactory(name) { - var source = { - $host: [], - $outer: {}, - $index: 0, - $first: false, - $last: false, - $remove: avalon.noop - } - source[name] = { - get: function () { - var e = this.$events - var array = e.$index - e.$index = e[name] //#817 通过$index为el收集依赖 - try { - return this.$host[this.$index] - } finally { - e.$index = array - } - }, - set: function (val) { - try { - var e = this.$events - var array = e.$index - e.$index = [] - this.$host.set(this.$index, val) - } finally { - e.$index = array - } - } - } - var second = { - $last: 1, - $first: 1, - $index: 1 - } - var proxy = modelFactory(source, second) - proxy.$id = generateID("$proxy$each") - return proxy -} - -function eachProxyAgent(index, data) { - var param = data.param || "el", - proxy - for (var i = 0, n = eachProxyPool.length; i < n; i++) { - var candidate = eachProxyPool[i] - if (candidate && candidate.hasOwnProperty(param)) { - proxy = candidate - eachProxyPool.splice(i, 1) - } - } - if (!proxy) { - proxy = eachProxyFactory(param) - } - var host = data.$repeat - var last = host.length - 1 - proxy.$index = index - proxy.$first = index === 0 - proxy.$last = index === last - proxy.$host = host - proxy.$outer = data.$outer - proxy.$remove = function () { - return host.removeAt(proxy.$index) - } - return proxy -} - - -function proxyRecycler(proxy, proxyPool) { - for (var i in proxy.$events) { - if (Array.isArray(proxy.$events[i])) { - proxy.$events[i].forEach(function (data) { - if (typeof data === "object") - disposeData(data) - })// jshint ignore:line - proxy.$events[i].length = 0 - } - } - proxy.$host = proxy.$outer = {} - if (proxyPool.unshift(proxy) > kernel.maxRepeatSize) { - proxyPool.pop() - } -} -/********************************************************************* - * 各种指令 * - **********************************************************************/ -//ms-skip绑定已经在scanTag 方法中实现 -// bindingHandlers.text 定义在if.js -bindingExecutors.text = function(val, elem) { - val = val == null ? "" : val //不在页面上显示undefined null - if (elem.nodeType === 3) { //绑定在文本节点上 - try { //IE对游离于DOM树外的节点赋值会报错 - elem.data = val - } catch (e) {} - } else { //绑定在特性节点上 - if ("textContent" in elem) { - elem.textContent = val - } else { - elem.innerText = val - } - } -} -function parseDisplay(nodeName, val) { - //用于取得此类标签的默认display值 - var key = "_" + nodeName - if (!parseDisplay[key]) { - var node = DOC.createElement(nodeName) - root.appendChild(node) - if (W3C) { - val = getComputedStyle(node, null).display - } else { - val = node.currentStyle.display - } - root.removeChild(node) - parseDisplay[key] = val - } - return parseDisplay[key] -} - -avalon.parseDisplay = parseDisplay - -bindingHandlers.visible = function(data, vmodels) { - var elem = data.element - var display = elem.style.display - if(display === "none"){ - display = parseDisplay(elem.nodeName) - } - data.display = display - parseExprProxy(data.value, vmodels, data) -} - -bindingExecutors.visible = function(val, elem, data) { - elem.style.display = val ? data.display : "none" -} -bindingHandlers.widget = function(data, vmodels) { - var args = data.value.match(rword) - var elem = data.element - var widget = args[0] - var id = args[1] - if (!id || id === "$") { //没有定义或为$时,取组件名+随机数 - id = generateID(widget) - } - var optName = args[2] || widget //没有定义,取组件名 - var constructor = avalon.ui[widget] - if (typeof constructor === "function") { //ms-widget="tabs,tabsAAA,optname" - vmodels = elem.vmodels || vmodels - for (var i = 0, v; v = vmodels[i++];) { - if (v.hasOwnProperty(optName) && typeof v[optName] === "object") { - var vmOptions = v[optName] - vmOptions = vmOptions.$model || vmOptions - break - } - } - if (vmOptions) { - var wid = vmOptions[widget + "Id"] - if (typeof wid === "string") { - log("warning!不再支持" + widget + "Id") - id = wid - } - } - //抽取data-tooltip-text、data-tooltip-attr属性,组成一个配置对象 - var widgetData = avalon.getWidgetData(elem, widget) - data.value = [widget, id, optName].join(",") - data[widget + "Id"] = id - data.evaluator = noop - elem.msData["ms-widget-id"] = id - var options = data[widget + "Options"] = avalon.mix({}, constructor.defaults, vmOptions || {}, widgetData) - elem.removeAttribute("ms-widget") - var vmodel = constructor(elem, data, vmodels) || {} //防止组件不返回VM - if (vmodel.$id) { - avalon.vmodels[id] = vmodel - createSignalTower(elem, vmodel) - try { - vmodel.$init(function() { - avalon.scan(elem, [vmodel].concat(vmodels)) - if (typeof options.onInit === "function") { - options.onInit.call(elem, vmodel, options, vmodels) - } - }) - } catch (e) {} - data.rollback = function() { - try { - vmodel.widgetElement = null - vmodel.$remove() - } catch (e) {} - elem.msData = {} - delete avalon.vmodels[vmodel.$id] - } - injectDisposeQueue(data, widgetList) - if (window.chrome) { - elem.addEventListener("DOMNodeRemovedFromDocument", function() { - setTimeout(rejectDisposeQueue) - }) - } - } else { - avalon.scan(elem, vmodels) - } - } else if (vmodels.length) { //如果该组件还没有加载,那么保存当前的vmodels - elem.vmodels = vmodels - } -} -var widgetList = [] -//不存在 bindingExecutors.widget -/********************************************************************* - * 自带过滤器 * - **********************************************************************/ -var rscripts = /]*>([\S\s]*?)<\/script\s*>/gim -var ron = /\s+(on[^=\s]+)(?:=("[^"]*"|'[^']*'|[^\s>]+))?/g -var ropen = /<\w+\b(?:(["'])[^"]*?(\1)|[^>])*>/ig -var rsanitize = { - a: /\b(href)\=("javascript[^"]*"|'javascript[^']*')/ig, - img: /\b(src)\=("javascript[^"]*"|'javascript[^']*')/ig, - form: /\b(action)\=("javascript[^"]*"|'javascript[^']*')/ig -} -var rsurrogate = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g -var rnoalphanumeric = /([^\#-~| |!])/g; - -function numberFormat(number, decimals, point, thousands) { - //form http://phpjs.org/functions/number_format/ - //number 必需,要格式化的数字 - //decimals 可选,规定多少个小数位。 - //point 可选,规定用作小数点的字符串(默认为 . )。 - //thousands 可选,规定用作千位分隔符的字符串(默认为 , ),如果设置了该参数,那么所有其他参数都是必需的。 - number = (number + '') - .replace(/[^0-9+\-Ee.]/g, '') - var n = !isFinite(+number) ? 0 : +number, - prec = !isFinite(+decimals) ? 3 : Math.abs(decimals), - sep = thousands || ",", - dec = point || ".", - s = '', - toFixedFix = function(n, prec) { - var k = Math.pow(10, prec) - return '' + (Math.round(n * k) / k) - .toFixed(prec) - } - // Fix for IE parseFloat(0.55).toFixed(0) = 0; - s = (prec ? toFixedFix(n, prec) : '' + Math.round(n)) - .split('.') - if (s[0].length > 3) { - s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep) - } - if ((s[1] || '') - .length < prec) { - s[1] = s[1] || '' - s[1] += new Array(prec - s[1].length + 1) - .join('0') - } - return s.join(dec) -} - - -var filters = avalon.filters = { - uppercase: function(str) { - return str.toUpperCase() - }, - lowercase: function(str) { - return str.toLowerCase() - }, - truncate: function(str, length, truncation) { - //length,新字符串长度,truncation,新字符串的结尾的字段,返回新字符串 - length = length || 30 - truncation = typeof truncation === "string" ? truncation : "..." - return str.length > length ? str.slice(0, length - truncation.length) + truncation : String(str) - }, - $filter: function(val) { - for (var i = 1, n = arguments.length; i < n; i++) { - var array = arguments[i] - var fn = avalon.filters[array.shift()] - if (typeof fn === "function") { - var arr = [val].concat(array) - val = fn.apply(null, arr) - } - } - return val - }, - camelize: camelize, - //https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet - // chrome - // chrome - // IE67chrome - // IE67chrome - // IE67chrome - sanitize: function(str) { - return str.replace(rscripts, "").replace(ropen, function(a, b) { - var match = a.toLowerCase().match(/<(\w+)\s/) - if (match) { //处理a标签的href属性,img标签的src属性,form标签的action属性 - var reg = rsanitize[match[1]] - if (reg) { - a = a.replace(reg, function(s, name, value) { - var quote = value.charAt(0) - return name + "=" + quote + "javascript:void(0)" + quote// jshint ignore:line - }) - } - } - return a.replace(ron, " ").replace(/\s+/g, " ") //移除onXXX事件 - }) - }, - escape: function(str) { - //将字符串经过 str 转义得到适合在页面中显示的内容, 例如替换 < 为 < - return String(str). - replace(/&/g, '&'). - replace(rsurrogate, function(value) { - var hi = value.charCodeAt(0) - var low = value.charCodeAt(1) - return '&#' + (((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000) + ';' - }). - replace(rnoalphanumeric, function(value) { - return '&#' + value.charCodeAt(0) + ';' - }). - replace(//g, '>') - }, - currency: function(amount, symbol, fractionSize) { - return (symbol || "\uFFE5") + numberFormat(amount, isFinite(fractionSize) ? fractionSize : 2) - }, - number: numberFormat -} -/* - 'yyyy': 4 digit representation of year (e.g. AD 1 => 0001, AD 2010 => 2010) - 'yy': 2 digit representation of year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10) - 'y': 1 digit representation of year, e.g. (AD 1 => 1, AD 199 => 199) - 'MMMM': Month in year (January-December) - 'MMM': Month in year (Jan-Dec) - 'MM': Month in year, padded (01-12) - 'M': Month in year (1-12) - 'dd': Day in month, padded (01-31) - 'd': Day in month (1-31) - 'EEEE': Day in Week,(Sunday-Saturday) - 'EEE': Day in Week, (Sun-Sat) - 'HH': Hour in day, padded (00-23) - 'H': Hour in day (0-23) - 'hh': Hour in am/pm, padded (01-12) - 'h': Hour in am/pm, (1-12) - 'mm': Minute in hour, padded (00-59) - 'm': Minute in hour (0-59) - 'ss': Second in minute, padded (00-59) - 's': Second in minute (0-59) - 'a': am/pm marker - 'Z': 4 digit (+sign) representation of the timezone offset (-1200-+1200) - format string can also be one of the following predefined localizable formats: - - 'medium': equivalent to 'MMM d, y h:mm:ss a' for en_US locale (e.g. Sep 3, 2010 12:05:08 pm) - 'short': equivalent to 'M/d/yy h:mm a' for en_US locale (e.g. 9/3/10 12:05 pm) - 'fullDate': equivalent to 'EEEE, MMMM d,y' for en_US locale (e.g. Friday, September 3, 2010) - 'longDate': equivalent to 'MMMM d, y' for en_US locale (e.g. September 3, 2010 - 'mediumDate': equivalent to 'MMM d, y' for en_US locale (e.g. Sep 3, 2010) - 'shortDate': equivalent to 'M/d/yy' for en_US locale (e.g. 9/3/10) - 'mediumTime': equivalent to 'h:mm:ss a' for en_US locale (e.g. 12:05:08 pm) - 'shortTime': equivalent to 'h:mm a' for en_US locale (e.g. 12:05 pm) - */ -new function() {// jshint ignore:line - function toInt(str) { - return parseInt(str, 10) || 0 - } - - function padNumber(num, digits, trim) { - var neg = "" - if (num < 0) { - neg = '-' - num = -num - } - num = "" + num - while (num.length < digits) - num = "0" + num - if (trim) - num = num.substr(num.length - digits) - return neg + num - } - - function dateGetter(name, size, offset, trim) { - return function(date) { - var value = date["get" + name]() - if (offset > 0 || value > -offset) - value += offset - if (value === 0 && offset === -12) { - value = 12 - } - return padNumber(value, size, trim) - } - } - - function dateStrGetter(name, shortForm) { - return function(date, formats) { - var value = date["get" + name]() - var get = (shortForm ? ("SHORT" + name) : name).toUpperCase() - return formats[get][value] - } - } - - function timeZoneGetter(date) { - var zone = -1 * date.getTimezoneOffset() - var paddedZone = (zone >= 0) ? "+" : "" - paddedZone += padNumber(Math[zone > 0 ? "floor" : "ceil"](zone / 60), 2) + padNumber(Math.abs(zone % 60), 2) - return paddedZone - } - //取得上午下午 - - function ampmGetter(date, formats) { - return date.getHours() < 12 ? formats.AMPMS[0] : formats.AMPMS[1] - } - var DATE_FORMATS = { - yyyy: dateGetter("FullYear", 4), - yy: dateGetter("FullYear", 2, 0, true), - y: dateGetter("FullYear", 1), - MMMM: dateStrGetter("Month"), - MMM: dateStrGetter("Month", true), - MM: dateGetter("Month", 2, 1), - M: dateGetter("Month", 1, 1), - dd: dateGetter("Date", 2), - d: dateGetter("Date", 1), - HH: dateGetter("Hours", 2), - H: dateGetter("Hours", 1), - hh: dateGetter("Hours", 2, -12), - h: dateGetter("Hours", 1, -12), - mm: dateGetter("Minutes", 2), - m: dateGetter("Minutes", 1), - ss: dateGetter("Seconds", 2), - s: dateGetter("Seconds", 1), - sss: dateGetter("Milliseconds", 3), - EEEE: dateStrGetter("Day"), - EEE: dateStrGetter("Day", true), - a: ampmGetter, - Z: timeZoneGetter - } - var rdateFormat = /((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/ - var raspnetjson = /^\/Date\((\d+)\)\/$/ - filters.date = function(date, format) { - var locate = filters.date.locate, - text = "", - parts = [], - fn, match - format = format || "mediumDate" - format = locate[format] || format - if (typeof date === "string") { - if (/^\d+$/.test(date)) { - date = toInt(date) - } else if (raspnetjson.test(date)) { - date = +RegExp.$1 - } else { - var trimDate = date.trim() - var dateArray = [0, 0, 0, 0, 0, 0, 0] - var oDate = new Date(0) - //取得年月日 - trimDate = trimDate.replace(/^(\d+)\D(\d+)\D(\d+)/, function(_, a, b, c) { - var array = c.length === 4 ? [c, a, b] : [a, b, c] - dateArray[0] = toInt(array[0]) //年 - dateArray[1] = toInt(array[1]) - 1 //月 - dateArray[2] = toInt(array[2]) //日 - return "" - }) - var dateSetter = oDate.setFullYear - var timeSetter = oDate.setHours - trimDate = trimDate.replace(/[T\s](\d+):(\d+):?(\d+)?\.?(\d)?/, function(_, a, b, c, d) { - dateArray[3] = toInt(a) //小时 - dateArray[4] = toInt(b) //分钟 - dateArray[5] = toInt(c) //秒 - if (d) { //毫秒 - dateArray[6] = Math.round(parseFloat("0." + d) * 1000) - } - return "" - }) - var tzHour = 0 - var tzMin = 0 - trimDate = trimDate.replace(/Z|([+-])(\d\d):?(\d\d)/, function(z, symbol, c, d) { - dateSetter = oDate.setUTCFullYear - timeSetter = oDate.setUTCHours - if (symbol) { - tzHour = toInt(symbol + c) - tzMin = toInt(symbol + d) - } - return "" - }) - - dateArray[3] -= tzHour - dateArray[4] -= tzMin - dateSetter.apply(oDate, dateArray.slice(0, 3)) - timeSetter.apply(oDate, dateArray.slice(3)) - date = oDate - } - } - if (typeof date === "number") { - date = new Date(date) - } - if (avalon.type(date) !== "date") { - return - } - while (format) { - match = rdateFormat.exec(format) - if (match) { - parts = parts.concat(match.slice(1)) - format = parts.pop() - } else { - parts.push(format) - format = null - } - } - parts.forEach(function(value) { - fn = DATE_FORMATS[value] - text += fn ? fn(date, locate) : value.replace(/(^'|'$)/g, "").replace(/''/g, "'") - }) - return text - } - var locate = { - AMPMS: { - 0: "上午", - 1: "下午" - }, - DAY: { - 0: "星期日", - 1: "星期一", - 2: "星期二", - 3: "星期三", - 4: "星期四", - 5: "星期五", - 6: "星期六" - }, - MONTH: { - 0: "1月", - 1: "2月", - 2: "3月", - 3: "4月", - 4: "5月", - 5: "6月", - 6: "7月", - 7: "8月", - 8: "9月", - 9: "10月", - 10: "11月", - 11: "12月" - }, - SHORTDAY: { - "0": "周日", - "1": "周一", - "2": "周二", - "3": "周三", - "4": "周四", - "5": "周五", - "6": "周六" - }, - fullDate: "y年M月d日EEEE", - longDate: "y年M月d日", - medium: "yyyy-M-d H:mm:ss", - mediumDate: "yyyy-M-d", - mediumTime: "H:mm:ss", - "short": "yy-M-d ah:mm", - shortDate: "yy-M-d", - shortTime: "ah:mm" - } - locate.SHORTMONTH = locate.MONTH - filters.date.locate = locate -}// jshint ignore:line -/********************************************************************* - * AMD加载器 * - **********************************************************************/ -//https://www.devbridge.com/articles/understanding-amd-requirejs/ -//http://maxogden.com/nested-dependencies.html -var modules = avalon.modules = { - "domReady!": { - exports: avalon, - state: 3 - }, - "avalon": { - exports: avalon, - state: 4 - } -} -//Object(modules[id]).state拥有如下值 -// undefined 没有定义 -// 1(send) 已经发出请求 -// 2(loading) 已经被执行但还没有执行完成,在这个阶段define方法会被执行 -// 3(loaded) 执行完毕,通过onload/onreadystatechange回调判定,在这个阶段checkDeps方法会执行 -// 4(execute) 其依赖也执行完毕, 值放到exports对象上,在这个阶段fireFactory方法会执行 -modules.exports = modules.avalon - -new function () {// jshint ignore:line - var loadings = [] //正在加载中的模块列表 - var factorys = [] //放置define方法的factory函数 - var rjsext = /\.js$/i - function makeRequest(name, config) { -//1. 去掉资源前缀 - var res = "js" - name = name.replace(/^(\w+)\!/, function (a, b) { - res = b - return "" - }) - if (res === "ready") { - log("debug: ready!已经被废弃,请使用domReady!") - res = "domReady" - } -//2. 去掉querystring, hash - var query = "" - name = name.replace(rquery, function (a) { - query = a - return "" - }) - //3. 去掉扩展名 - var suffix = "." + res - var ext = /js|css/.test(suffix) ? suffix : "" - name = name.replace(/\.[a-z0-9]+$/g, function (a) { - if (a === suffix) { - ext = a - return "" - } else { - return a - } - }) - var req = avalon.mix({ - query: query, - ext: ext, - res: res, - name: name, - toUrl: toUrl - }, config) - req.toUrl(name) - return req - } - - function fireRequest(req) { - var name = req.name - var res = req.res - //1. 如果该模块已经发出请求,直接返回 - var module = modules[name] - var urlNoQuery = name && req.urlNoQuery - if (module && module.state >= 1) { - return name - } - module = modules[urlNoQuery] - if (module && module.state >= 3) { - innerRequire(module.deps || [], module.factory, urlNoQuery) - return urlNoQuery - } - if (name && !module) { - module = modules[urlNoQuery] = { - id: urlNoQuery, - state: 1 //send - } - var wrap = function (obj) { - resources[res] = obj - obj.load(name, req, function (a) { - if (arguments.length && a !== void 0) { - module.exports = a - } - module.state = 4 - checkDeps() - }) - } - - if (!resources[res]) { - innerRequire([res], wrap) - } else { - wrap(resources[res]) - } - } - return name ? urlNoQuery : res + "!" - } - -//核心API之一 require - var requireQueue = [] - var isUserFirstRequire = false - innerRequire = avalon.require = function (array, factory, parentUrl, defineConfig) { - if (!isUserFirstRequire) { - requireQueue.push(avalon.slice(arguments)) - if (arguments.length <= 2) { - isUserFirstRequire = true - var queue = requireQueue.splice(0, requireQueue.length), args - while (args = queue.shift()) { - innerRequire.apply(null, args) - } - } - return - } - - if (!Array.isArray(array)) { - avalon.error("require方法的第一个参数应为数组 " + array) - } - var deps = [] // 放置所有依赖项的完整路径 - var uniq = {} - var id = parentUrl || "callback" + setTimeout("1")// jshint ignore:line - defineConfig = defineConfig || {} - defineConfig.baseUrl = kernel.baseUrl - var isBuilt = !!defineConfig.built - if (parentUrl) { - defineConfig.parentUrl = parentUrl.substr(0, parentUrl.lastIndexOf("/")) - defineConfig.mapUrl = parentUrl.replace(rjsext, "") - } - if (isBuilt) { - var req = makeRequest(defineConfig.defineName, defineConfig) - id = req.urlNoQuery - } else { - array.forEach(function (name) { - var req = makeRequest(name, defineConfig) - var url = fireRequest(req) //加载资源,并返回该资源的完整地址 - if (url) { - if (!uniq[url]) { - deps.push(url) - uniq[url] = "司徒正美" //去重 - } - } - }) - } - - var module = modules[id] - if (!module || module.state !== 4) { - modules[id] = { - id: id, - deps: isBuilt ? array.concat() : deps, - factory: factory || noop, - state: 3 - } - } - if (!module) { - //如果此模块是定义在另一个JS文件中, 那必须等该文件加载完毕, 才能放到检测列队中 - loadings.push(id) - } - checkDeps() - } - -//核心API之二 require - innerRequire.define = function (name, deps, factory) { //模块名,依赖列表,模块本身 - if (typeof name !== "string") { - factory = deps - deps = name - name = "anonymous" - } - if (!Array.isArray(deps)) { - factory = deps - deps = [] - } - var config = { - built: !isUserFirstRequire, //用r.js打包后,所有define会放到requirejs之前 - defineName: name - } - var args = [deps, factory, config] - factory.require = function (url) { - args.splice(2, 0, url) - if (modules[url]) { - modules[url].state = 3 //loaded - var isCycle = false - try { - isCycle = checkCycle(modules[url].deps, url) - } catch (e) { - } - if (isCycle) { - avalon.error(url + "模块与之前的模块存在循环依赖,请不要直接用script标签引入" + url + "模块") - } - } - delete factory.require //释放内存 - innerRequire.apply(null, args) //0,1,2 --> 1,2,0 - } -//根据标准,所有遵循W3C标准的浏览器,script标签会按标签的出现顺序执行。 -//老的浏览器中,加载也是按顺序的:一个文件下载完成后,才开始下载下一个文件。 -//较新的浏览器中(IE8+ 、FireFox3.5+ 、Chrome4+ 、Safari4+),为了减小请求时间以优化体验, -//下载可以是并行的,但是执行顺序还是按照标签出现的顺序。 -//但如果script标签是动态插入的, 就未必按照先请求先执行的原则了,目测只有firefox遵守 -//唯一比较一致的是,IE10+及其他标准浏览器,一旦开始解析脚本, 就会一直堵在那里,直接脚本解析完毕 -//亦即,先进入loading阶段的script标签(模块)必然会先进入loaded阶段 - var url = config.built ? "unknown" : getCurrentScript() - if (url) { - var module = modules[url] - if (module) { - module.state = 2 - } - factory.require(url) - } else {//合并前后的safari,合并后的IE6-9走此分支 - factorys.push(factory) - } - } -//核心API之三 require.config(settings) - innerRequire.config = kernel - //核心API之四 define.amd 标识其符合AMD规范 - innerRequire.define.amd = modules - - //==========================对用户配置项进行再加工========================== - var allpaths = kernel["orig.paths"] = {} - var allmaps = kernel["orig.map"] = {} - var allpackages = kernel["packages"] = [] - var allargs = kernel["orig.args"] = {} - avalon.mix(plugins, { - paths: function (hash) { - avalon.mix(allpaths, hash) - kernel.paths = makeIndexArray(allpaths) - }, - map: function (hash) { - avalon.mix(allmaps, hash) - var list = makeIndexArray(allmaps, 1, 1) - avalon.each(list, function (_, item) { - item.val = makeIndexArray(item.val) - }) - kernel.map = list - }, - packages: function (array) { - array = array.concat(allpackages) - var uniq = {} - var ret = [] - for (var i = 0, pkg; pkg = array[i++]; ) { - pkg = typeof pkg === "string" ? {name: pkg} : pkg - var name = pkg.name - if (!uniq[name]) { - var url = joinPath(pkg.location || name, pkg.main || "main") - url = url.replace(rjsext, "") - ret.push(pkg) - uniq[name] = pkg.location = url - pkg.reg = makeMatcher(name) - } - } - kernel.packages = ret.sort() - }, - urlArgs: function (hash) { - if (typeof hash === "string") { - hash = {"*": hash} - } - avalon.mix(allargs, hash) - kernel.urlArgs = makeIndexArray(allargs, 1) - }, - baseUrl: function (url) { - if (!isAbsUrl(url)) { - var baseElement = head.getElementsByTagName("base")[0] - if (baseElement) { - head.removeChild(baseElement) - } - var node = DOC.createElement("a") - node.href = url - url = getFullUrl(node, "href") - if (baseElement) { - head.insertBefore(baseElement, head.firstChild) - } - } - if (url.length > 3) - kernel.baseUrl = url - }, - shim: function (obj) { - for (var i in obj) { - var value = obj[i] - if (Array.isArray(value)) { - value = obj[i] = { - deps: value - } - } - if (!value.exportsFn && (value.exports || value.init)) { - value.exportsFn = makeExports(value) - } - } - kernel.shim = obj - } - - }) - - - //==============================内部方法================================= - function checkCycle(deps, nick) { - //检测是否存在循环依赖 - for (var i = 0, id; id = deps[i++]; ) { - if (modules[id].state !== 4 && - (id === nick || checkCycle(modules[id].deps, nick))) { - return true - } - } - } - - function checkFail(node, onError, fuckIE) { - var id = trimQuery(node.src) //检测是否死链 - node.onload = node.onreadystatechange = node.onerror = null - if (onError || (fuckIE && modules[id] && !modules[id].state)) { - setTimeout(function () { - head.removeChild(node) - node = null // 处理旧式IE下的循环引用问题 - }) - log("debug: 加载 " + id + " 失败" + onError + " " + (!modules[id].state)) - } else { - return true - } - } - - function checkDeps() { - //检测此JS模块的依赖是否都已安装完毕,是则安装自身 - loop: for (var i = loadings.length, id; id = loadings[--i]; ) { - var obj = modules[id], - deps = obj.deps - if (!deps) - continue - for (var j = 0, key; key = deps[j]; j++) { - if (Object(modules[key]).state !== 4) { - continue loop - } - } - //如果deps是空对象或者其依赖的模块的状态都是2 - if (obj.state !== 4) { - loadings.splice(i, 1) //必须先移除再安装,防止在IE下DOM树建完后手动刷新页面,会多次执行它 - fireFactory(obj.id, obj.deps, obj.factory) - checkDeps() //如果成功,则再执行一次,以防有些模块就差本模块没有安装好 - } - } - } - - var rreadyState = /complete|loaded/ - function loadJS(url, id, callback) { - //通过script节点加载目标模块 - var node = DOC.createElement("script") - node.className = subscribers //让getCurrentScript只处理类名为subscribers的script节点 - var supportLoad = "onload" in node - var onEvent = supportLoad ? "onload" : "onreadystatechange" - function onload() { - var factory = factorys.pop() - factory && factory.require(id) - if (callback) { - callback() - } - if (checkFail(node, false, !supportLoad)) { - log("debug: 已成功加载 " + url) - id && loadings.push(id) - checkDeps() - } - } - var index = 0, loadID - node[onEvent] = supportLoad ? onload : function () { - if (rreadyState.test(node.readyState)) { - ++index - if (index === 1) { - loadID = setTimeout(onload, 500) - } else { - clearTimeout(loadID) - onload() - } - } - } - node.onerror = function () { - checkFail(node, true) - } - - head.insertBefore(node, head.firstChild) //chrome下第二个参数不能为null - node.src = url //插入到head的第一个节点前,防止IE6下head标签没闭合前使用appendChild抛错 - log("debug: 正准备加载 " + url) //更重要的是IE6下可以收窄getCurrentScript的寻找范围 - } - - var resources = innerRequire.plugins = { - //三大常用资源插件 js!, css!, text!, ready! - ready: { - load: noop - }, - js: { - load: function (name, req, onLoad) { - var url = req.url - var id = req.urlNoQuery - var shim = kernel.shim[name.replace(rjsext, "")] - if (shim) { //shim机制 - innerRequire(shim.deps || [], function () { - var args = avalon.slice(arguments) - loadJS(url, id, function () { - onLoad(shim.exportsFn ? shim.exportsFn.apply(0, args) : void 0) - }) - }) - } else { - loadJS(url, id) - } - } - }, - css: { - load: function (name, req, onLoad) { - var url = req.url - var node = DOC.createElement("link") - node.rel = "stylesheet" - node.href = url - head.insertBefore(node, head.firstChild) - log("debug: 已成功加载 " + url) - onLoad() - } - }, - text: { - load: function (name, req, onLoad) { - var url = req.url - var xhr = getXHR() - xhr.onreadystatechange = function () { - if (xhr.readyState === 4) { - var status = xhr.status; - if (status > 399 && status < 600) { - avalon.error(url + " 对应资源不存在或没有开启 CORS") - } else { - log("debug: 已成功加载 " + url) - onLoad(xhr.responseText) - } - } - } - var time = "_=" + (new Date() - 0) - var _url = url.indexOf("?") === -1 ? url + "?" + time : url + "&" + time - xhr.open("GET", _url, true) - if ("withCredentials" in xhr) {//这是处理跨域 - xhr.withCredentials = true - } - xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest")//告诉后端这是AJAX请求 - xhr.send() - log("debug: 正准备加载 " + url) - } - } - } - innerRequire.checkDeps = checkDeps - - var rquery = /(\?[^#]*)$/ - function trimQuery(url) { - return (url || "").replace(rquery, "") - } - - function isAbsUrl(path) { - //http://stackoverflow.com/questions/10687099/how-to-test-if-a-url-string-is-absolute-or-relative - return /^(?:[a-z]+:)?\/\//i.test(String(path)) - } - - function getFullUrl(node, src) { - return"1"[0] ? node[src] : node.getAttribute(src, 4) - } - - function getCurrentScript() { - // inspireb by https://github.com/samyk/jiagra/blob/master/jiagra.js - var stack - try { - a.b.c() //强制报错,以便捕获e.stack - } catch (e) { //safari5的sourceURL,firefox的fileName,它们的效果与e.stack不一样 - stack = e.stack - if (!stack && window.opera) { - //opera 9没有e.stack,但有e.Backtrace,但不能直接取得,需要对e对象转字符串进行抽取 - stack = (String(e).match(/of linked script \S+/g) || []).join(" ") - } - } - if (stack) { - /**e.stack最后一行在所有支持的浏览器大致如下: - *chrome23: - * at http://113.93.50.63/data.js:4:1 - *firefox17: - *@http://113.93.50.63/query.js:4 - *opera12:http://www.oldapps.com/opera.php?system=Windows_XP - *@http://113.93.50.63/data.js:4 - *IE10: - * at Global code (http://113.93.50.63/data.js:4:1) - * //firefox4+ 可以用document.currentScript - */ - stack = stack.split(/[@ ]/g).pop() //取得最后一行,最后一个空格或@之后的部分 - stack = stack[0] === "(" ? stack.slice(1, -1) : stack.replace(/\s/, "") //去掉换行符 - return trimQuery(stack.replace(/(:\d+)?:\d+$/i, "")) //去掉行号与或许存在的出错字符起始位置 - } - var nodes = head.getElementsByTagName("script") //只在head标签中寻找 - for (var i = nodes.length, node; node = nodes[--i]; ) { - if (node.className === subscribers && node.readyState === "interactive") { - var url = getFullUrl(node, "src") - return node.className = trimQuery(url) - } - } - } - - var rcallback = /^callback\d+$/ - function fireFactory(id, deps, factory) { - var module = Object(modules[id]) - module.state = 4 - for (var i = 0, array = [], d; d = deps[i++]; ) { - if (d === "exports") { - var obj = module.exports || (module.exports = {}) - array.push(obj) - } else { - array.push(modules[d].exports) - } - } - try { - var ret = factory.apply(window, array) - } catch (e) { - log("执行[" + id + "]模块的factory抛错: ", e) - } - if (ret !== void 0) { - module.exports = ret - } - if (rcallback.test(id)) { - delete modules[id] - } - delete module.factory - return ret - } - function toUrl(id) { - if (id.indexOf(this.res + "!") === 0) { - id = id.slice(this.res.length + 1) //处理define("css!style",[], function(){})的情况 - } - var url = id - //1. 是否命中paths配置项 - var usePath = 0 - var baseUrl = this.baseUrl - var rootUrl = this.parentUrl || baseUrl - eachIndexArray(id, kernel.paths, function (value, key) { - url = url.replace(key, value) - usePath = 1 - }) - //2. 是否命中packages配置项 - if (!usePath) { - eachIndexArray(id, kernel.packages, function (value, key, item) { - url = url.replace(item.name, item.location) - }) - } - //3. 是否命中map配置项 - if (this.mapUrl) { - eachIndexArray(this.mapUrl, kernel.map, function (array) { - eachIndexArray(url, array, function (mdValue, mdKey) { - url = url.replace(mdKey, mdValue) - rootUrl = baseUrl - }) - }) - } - var ext = this.ext - if (ext && usePath && url.slice(-ext.length) === ext) { - url = url.slice(0, -ext.length) - } - //4. 转换为绝对路径 - if (!isAbsUrl(url)) { - rootUrl = this.built || /^\w/.test(url) ? baseUrl : rootUrl - url = joinPath(rootUrl, url) - } - //5. 还原扩展名,query - var urlNoQuery = url + ext - url = urlNoQuery + this.query - //6. 处理urlArgs - eachIndexArray(id, kernel.urlArgs, function (value) { - url += (url.indexOf("?") === -1 ? "?" : "&") + value; - }) - this.url = url - return this.urlNoQuery = urlNoQuery - } - - function makeIndexArray(hash, useStar, part) { - //创建一个经过特殊算法排好序的数组 - var index = hash2array(hash, useStar, part) - index.sort(descSorterByName) - return index - } - - function makeMatcher(prefix) { - return new RegExp('^' + prefix + '(/|$)') - } - - function makeExports(value) { - return function () { - var ret - if (value.init) { - ret = value.init.apply(window, arguments) - } - return ret || (value.exports && getGlobal(value.exports)) - } - } - - - function hash2array(hash, useStar, part) { - var array = []; - for (var key in hash) { - if (ohasOwn.call(hash, key)) { - var item = { - name: key, - val: hash[key] - } - array.push(item) - item.reg = key === "*" && useStar ? /^/ : makeMatcher(key) - if (part && key !== "*") { - item.reg = new RegExp('\/' + key.replace(/^\//, "") + '(/|$)') - } - } - } - return array - } - - function eachIndexArray(moduleID, array, matcher) { - array = array || [] - for (var i = 0, el; el = array[i++]; ) { - if (el.reg.test(moduleID)) { - matcher(el.val, el.name, el) - return false - } - } - } - // 根据元素的name项进行数组字符数逆序的排序函数 - function descSorterByName(a, b) { - var aaa = a.name - var bbb = b.name - if (bbb === "*") { - return -1 - } - if (aaa === "*") { - return 1 - } - return bbb.length - aaa.length - } - - var rdeuce = /\/\w+\/\.\./ - function joinPath(a, b) { - if (a.charAt(a.length - 1) !== "/") { - a += "/" - } - if (b.slice(0, 2) === "./") { //相对于兄弟路径 - return a + b.slice(2) - } - if (b.slice(0, 2) === "..") { //相对于父路径 - a += b - while (rdeuce.test(a)) { - a = a.replace(rdeuce, "") - } - return a - } - if (b.slice(0, 1) === "/") { - return a + b.slice(1) - } - return a + b - } - - function getGlobal(value) { - if (!value) { - return value - } - var g = window - value.split(".").forEach(function (part) { - g = g[part] - }) - return g - } - - var mainNode = DOC.scripts[DOC.scripts.length - 1] - var dataMain = mainNode.getAttribute("data-main") - if (dataMain) { - plugins.baseUrl(dataMain) - var href = kernel.baseUrl - kernel.baseUrl = href.slice(0, href.lastIndexOf("/") + 1) - loadJS(href.replace(rjsext, "") + ".js") - } else { - var loaderUrl = trimQuery(getFullUrl(mainNode, "src")) - kernel.baseUrl = loaderUrl.slice(0, loaderUrl.lastIndexOf("/") + 1) - } -}// jshint ignore:line - -/********************************************************************* - * DOMReady * - **********************************************************************/ - -var readyList = [], isReady -var fireReady = function(fn) { - isReady = true - if (innerRequire) { - modules["domReady!"].state = 4 - innerRequire.checkDeps() - } - while(fn = readyList.shift()){ - fn(avalon) - } -} - -function doScrollCheck() { - try { //IE下通过doScrollCheck检测DOM树是否建完 - root.doScroll("left") - fireReady() - } catch (e) { - setTimeout(doScrollCheck) - } -} - -if (DOC.readyState === "complete") { - setTimeout(fireReady) //如果在domReady之外加载 -} else if (W3C) { - DOC.addEventListener("DOMContentLoaded", fireReady) -} else { - DOC.attachEvent("onreadystatechange", function() { - if (DOC.readyState === "complete") { - fireReady() - } - }) - try { - var isTop = window.frameElement === null - } catch (e) { - } - if (root.doScroll && isTop && window.external) {//fix IE iframe BUG - doScrollCheck() - } -} -avalon.bind(window, "load", fireReady) - -avalon.ready = function(fn) { - if (!isReady) { - readyList.push(fn) - } else { - fn(avalon) - } -} - -avalon.config({ - loader: true -}) - -avalon.ready(function() { - avalon.scan(DOC.body) -}) - -// Register as a named AMD module, since avalon can be concatenated with other -// files that may use define, but not via a proper concatenation script that -// understands anonymous AMD modules. A named AMD is safest and most robust -// way to register. Lowercase avalon is used because AMD module names are -// derived from file names, and Avalon is normally delivered in a lowercase -// file name. Do this after creating the global so that if an AMD module wants -// to call noConflict to hide this version of avalon, it will work. - -// Note that for maximum portability, libraries that are not avalon should -// declare themselves as anonymous modules, and avoid setting a global if an -// AMD loader is present. avalon is a special case. For more information, see -// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon - if (typeof define === "function" && define.amd) { - define("avalon", [], function() { - return avalon - }) - } -// Map over avalon in case of overwrite - var _avalon = window.avalon - avalon.noConflict = function(deep) { - if (deep && window.avalon === avalon) { - window.avalon = _avalon - } - return avalon - } -// Expose avalon identifiers, even in AMD -// and CommonJS for browser emulators - if (noGlobal === void 0) { - window.avalon = avalon - } - return avalon - +/*================================================== + Copyright (c) 2013-2015 司徒正美 and other contributors + http://www.cnblogs.com/rubylouvre/ + https://github.com/RubyLouvre + http://weibo.com/jslouvre/ + + Released under the MIT license + avalon.js 1.45 built in 2015.7.17 + support IE6+ and other browsers + ==================================================*/ +(function(global, factory) { + + 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 avalon. + // 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 avalon = require("avalon")(window); + module.exports = global.document ? factory(global, true) : function(w) { + if (!w.document) { + throw new Error("Avalon 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){ + +/********************************************************************* + * 全局变量及方法 * + **********************************************************************/ +var expose = new Date() - 0 +//http://stackoverflow.com/questions/7290086/javascript-use-strict-and-nicks-find-global-function +var DOC = window.document +var head = DOC.getElementsByTagName("head")[0] //HEAD元素 +var ifGroup = head.insertBefore(document.createElement("avalon"), head.firstChild) //避免IE6 base标签BUG +ifGroup.innerHTML = "X" +ifGroup.setAttribute("ms-skip", "1") +ifGroup.className = "avalonHide" +var rnative = /\[native code\]/ //判定是否原生函数 +function log() { + if (window.console && avalon.config.debug) { + // http://stackoverflow.com/questions/8785624/how-to-safely-wrap-console-log + Function.apply.call(console.log, console, arguments) + } +} + + +var subscribers = "$" + expose +var otherRequire = window.require +var otherDefine = window.define +var innerRequire +var stopRepeatAssign = false +var rword = /[^, ]+/g //切割字符串为一个个小块,以空格或豆号分开它们,结合replace实现字符串的forEach +var rcomplexType = /^(?:object|array)$/ +var rsvg = /^\[object SVG\w*Element\]$/ +var rwindow = /^\[object (?:Window|DOMWindow|global)\]$/ +var oproto = Object.prototype +var ohasOwn = oproto.hasOwnProperty +var serialize = oproto.toString +var ap = Array.prototype +var aslice = ap.slice +var Registry = {} //将函数曝光到此对象上,方便访问器收集依赖 +var W3C = window.dispatchEvent +var root = DOC.documentElement +var avalonFragment = DOC.createDocumentFragment() +var cinerator = DOC.createElement("div") +var class2type = {} +"Boolean Number String Function Array Date RegExp Object Error".replace(rword, function (name) { + class2type["[object " + name + "]"] = name.toLowerCase() +}) + + +function noop() { +} + + +function oneObject(array, val) { + if (typeof array === "string") { + array = array.match(rword) || [] + } + var result = {}, + value = val !== void 0 ? val : 1 + for (var i = 0, n = array.length; i < n; i++) { + result[array[i]] = value + } + return result +} + +//生成UUID http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript +var generateID = function (prefix) { + prefix = prefix || "avalon" + return String(Math.random() + Math.random()).replace(/\d\.\d{4}/, prefix) +} +function IE() { + if (window.VBArray) { + var mode = document.documentMode + return mode ? mode : window.XMLHttpRequest ? 7 : 6 + } else { + return NaN + } +} +var IEVersion = IE() + +avalon = function (el) { //创建jQuery式的无new 实例化结构 + return new avalon.init(el) +} + +avalon.profile = function () { + if (window.console && avalon.config.profile) { + Function.apply.call(console.log, console, arguments) + } +} + +/*视浏览器情况采用最快的异步回调*/ +avalon.nextTick = new function () {// jshint ignore:line + var tickImmediate = window.setImmediate + var tickObserver = window.MutationObserver + var tickPost = W3C && window.postMessage + if (tickImmediate) { + return tickImmediate.bind(window) + } + + var queue = [] + function callback() { + var n = queue.length + for (var i = 0; i < n; i++) { + queue[i]() + } + queue = queue.slice(n) + } + + if (tickObserver) { + var node = document.createTextNode("avalon") + new tickObserver(callback).observe(node, {characterData: true})// jshint ignore:line + return function (fn) { + queue.push(fn) + node.data = Math.random() + } + } + + if (tickPost) { + window.addEventListener("message", function (e) { + var source = e.source + if ((source === window || source === null) && e.data === "process-tick") { + e.stopPropagation() + callback() + } + }) + + return function (fn) { + queue.push(fn) + window.postMessage('process-tick', '*') + } + } + + return function (fn) { + setTimeout(fn, 0) + } +}// jshint ignore:line +/********************************************************************* + * avalon的静态方法定义区 * + **********************************************************************/ +avalon.init = function (el) { + this[0] = this.element = el +} +avalon.fn = avalon.prototype = avalon.init.prototype + +avalon.type = function (obj) { //取得目标的类型 + if (obj == null) { + return String(obj) + } + // 早期的webkit内核浏览器实现了已废弃的ecma262v4标准,可以将正则字面量当作函数使用,因此typeof在判定正则时会返回function + return typeof obj === "object" || typeof obj === "function" ? + class2type[serialize.call(obj)] || "object" : + typeof obj +} + +var isFunction = typeof alert === "object" ? function (fn) { + try { + return /^\s*\bfunction\b/.test(fn + "") + } catch (e) { + return false + } +} : function (fn) { + return serialize.call(fn) === "[object Function]" +} +avalon.isFunction = isFunction + +avalon.isWindow = function (obj) { + if (!obj) + return false + // 利用IE678 window == document为true,document == window竟然为false的神奇特性 + // 标准浏览器及IE9,IE10等使用 正则检测 + return obj == obj.document && obj.document != obj //jshint ignore:line +} + +function isWindow(obj) { + return rwindow.test(serialize.call(obj)) +} +if (isWindow(window)) { + avalon.isWindow = isWindow +} +var enu +for (enu in avalon({})) { + break +} +var enumerateBUG = enu !== "0" //IE6下为true, 其他为false +/*判定是否是一个朴素的javascript对象(Object),不是DOM对象,不是BOM对象,不是自定义类的实例*/ +avalon.isPlainObject = function (obj, key) { + if (!obj || avalon.type(obj) !== "object" || obj.nodeType || avalon.isWindow(obj)) { + return false; + } + try { //IE内置对象没有constructor + if (obj.constructor && !ohasOwn.call(obj, "constructor") && !ohasOwn.call(obj.constructor.prototype, "isPrototypeOf")) { + return false; + } + } catch (e) { //IE8 9会在这里抛错 + return false; + } + if (enumerateBUG) { + for (key in obj) { + return ohasOwn.call(obj, key) + } + } + for (key in obj) { + } + return key === void 0 || ohasOwn.call(obj, key) +} +if (rnative.test(Object.getPrototypeOf)) { + avalon.isPlainObject = function (obj) { + // 简单的 typeof obj === "object"检测,会致使用isPlainObject(window)在opera下通不过 + return serialize.call(obj) === "[object Object]" && Object.getPrototypeOf(obj) === oproto + } +} +//与jQuery.extend方法,可用于浅拷贝,深拷贝 +avalon.mix = avalon.fn.mix = function () { + var options, name, src, copy, copyIsArray, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false + + // 如果第一个参数为布尔,判定是否深拷贝 + if (typeof target === "boolean") { + deep = target + target = arguments[1] || {} + i++ + } + + //确保接受方为一个复杂的数据类型 + if (typeof target !== "object" && !isFunction(target)) { + target = {} + } + + //如果只有一个参数,那么新成员添加于mix所在的对象上 + if (i === length) { + target = this + i-- + } + + for (; i < length; i++) { + //只处理非空参数 + if ((options = arguments[i]) != null) { + for (name in options) { + src = target[name] + try { + copy = options[name] //当options为VBS对象时报错 + } catch (e) { + continue + } + + // 防止环引用 + if (target === copy) { + continue + } + if (deep && copy && (avalon.isPlainObject(copy) || (copyIsArray = Array.isArray(copy)))) { + + if (copyIsArray) { + copyIsArray = false + clone = src && Array.isArray(src) ? src : [] + + } else { + clone = src && avalon.isPlainObject(src) ? src : {} + } + + target[name] = avalon.mix(deep, clone, copy) + } else if (copy !== void 0) { + target[name] = copy + } + } + } + } + return target +} + +function _number(a, len) { //用于模拟slice, splice的效果 + a = Math.floor(a) || 0 + return a < 0 ? Math.max(len + a, 0) : Math.min(a, len); +} +avalon.mix({ + rword: rword, + subscribers: subscribers, + version: 1.45, + ui: {}, + log: log, + slice: W3C ? function (nodes, start, end) { + return aslice.call(nodes, start, end) + } : function (nodes, start, end) { + var ret = [] + var len = nodes.length + if (end === void 0) + end = len + if (typeof end === "number" && isFinite(end)) { + start = _number(start, len) + end = _number(end, len) + for (var i = start; i < end; ++i) { + ret[i - start] = nodes[i] + } + } + return ret + }, + noop: noop, + /*如果不用Error对象封装一下,str在控制台下可能会乱码*/ + error: function (str, e) { + throw (e || Error)(str) + }, + /*将一个以空格或逗号隔开的字符串或数组,转换成一个键值都为1的对象*/ + oneObject: oneObject, + /* avalon.range(10) + => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + avalon.range(1, 11) + => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] + avalon.range(0, 30, 5) + => [0, 5, 10, 15, 20, 25] + avalon.range(0, -10, -1) + => [0, -1, -2, -3, -4, -5, -6, -7, -8, -9] + avalon.range(0) + => []*/ + range: function (start, end, step) { // 用于生成整数数组 + step || (step = 1) + if (end == null) { + end = start || 0 + start = 0 + } + var index = -1, + length = Math.max(0, Math.ceil((end - start) / step)), + result = new Array(length) + while (++index < length) { + result[index] = start + start += step + } + return result + }, + eventHooks: [], + /*绑定事件*/ + bind: function(el, type, fn, phase) { + var hooks = avalon.eventHooks + var hook = hooks[type] + if (typeof hook === "object") { + type = hook.type + if (hook.deel) { + fn = hook.deel(el, type, fn, phase) + } + } + var callback = W3C ? fn : function(e) { + fn.call(el, fixEvent(e)); + } + if (W3C) { + el.addEventListener(type, callback, !!phase) + } else { + el.attachEvent("on" + type, callback) + } + return callback + }, + /*卸载事件*/ + unbind: function(el, type, fn, phase) { + var hooks = avalon.eventHooks + var hook = hooks[type] + var callback = fn || noop + if (typeof hook === "object") { + type = hook.type + if (hook.deel) { + fn = hook.deel(el, type, fn, false) + } + } + if (W3C) { + el.removeEventListener(type, callback, !!phase) + } else { + el.detachEvent("on" + type, callback) + } + }, + /*读写删除元素节点的样式*/ + css: function (node, name, value) { + if (node instanceof avalon) { + node = node[0] + } + var prop = /[_-]/.test(name) ? camelize(name) : name, fn + name = avalon.cssName(prop) || prop + if (value === void 0 || typeof value === "boolean") { //获取样式 + fn = cssHooks[prop + ":get"] || cssHooks["@:get"] + if (name === "background") { + name = "backgroundColor" + } + var val = fn(node, name) + return value === true ? parseFloat(val) || 0 : val + } else if (value === "") { //请除样式 + node.style[name] = "" + } else { //设置样式 + if (value == null || value !== value) { + return + } + if (isFinite(value) && !avalon.cssNumber[prop]) { + value += "px" + } + fn = cssHooks[prop + ":set"] || cssHooks["@:set"] + fn(node, name, value) + } + }, + /*遍历数组与对象,回调的第一个参数为索引或键名,第二个或元素或键值*/ + each: function (obj, fn) { + if (obj) { //排除null, undefined + var i = 0 + if (isArrayLike(obj)) { + for (var n = obj.length; i < n; i++) { + if (fn(i, obj[i]) === false) + break + } + } else { + for (i in obj) { + if (obj.hasOwnProperty(i) && fn(i, obj[i]) === false) { + break + } + } + } + } + }, + //收集元素的data-{{prefix}}-*属性,并转换为对象 + getWidgetData: function (elem, prefix) { + var raw = avalon(elem).data() + var result = {} + for (var i in raw) { + if (i.indexOf(prefix) === 0) { + result[i.replace(prefix, "").replace(/\w/, function (a) { + return a.toLowerCase() + })] = raw[i] + } + } + return result + }, + Array: { + /*只有当前数组不存在此元素时只添加它*/ + ensure: function (target, item) { + if (target.indexOf(item) === -1) { + return target.push(item) + } + }, + /*移除数组中指定位置的元素,返回布尔表示成功与否*/ + removeAt: function (target, index) { + return !!target.splice(index, 1).length + }, + /*移除数组中第一个匹配传参的那个元素,返回布尔表示成功与否*/ + remove: function (target, item) { + var index = target.indexOf(item) + if (~index) + return avalon.Array.removeAt(target, index) + return false + } + } +}) + +var bindingHandlers = avalon.bindingHandlers = {} +var bindingExecutors = avalon.bindingExecutors = {} + +/*判定是否类数组,如节点集合,纯数组,arguments与拥有非负整数的length属性的纯JS对象*/ +function isArrayLike(obj) { + if (!obj) + return false + var n = obj.length + if (n === (n >>> 0)) { //检测length属性是否为非负整数 + var type = serialize.call(obj).slice(8, -1) + if (/(?:regexp|string|function|window|global)$/i.test(type)) + return false + if (type === "Array") + return true + try { + if ({}.propertyIsEnumerable.call(obj, "length") === false) { //如果是原生对象 + return /^\s?function/.test(obj.item || obj.callee) + } + return true + } catch (e) { //IE的NodeList直接抛错 + return !obj.window //IE6-8 window + } + } + return false +} + + +// https://github.com/rsms/js-lru +var Cache = new function() {// jshint ignore:line + function LRU(maxLength) { + this.size = 0 + this.limit = maxLength + this.head = this.tail = void 0 + this._keymap = {} + } + + var p = LRU.prototype + + p.put = function(key, value) { + var entry = { + key: key, + value: value + } + this._keymap[key] = entry + if (this.tail) { + this.tail.newer = entry + entry.older = this.tail + } else { + this.head = entry + } + this.tail = entry + if (this.size === this.limit) { + this.shift() + } else { + this.size++ + } + return value + } + + p.shift = function() { + var entry = this.head + if (entry) { + this.head = this.head.newer + this.head.older = + entry.newer = + entry.older = + this._keymap[entry.key] = void 0 + } + } + p.get = function(key) { + var entry = this._keymap[key] + if (entry === void 0) + return + if (entry === this.tail) { + return entry.value + } + // HEAD--------------TAIL + // <.older .newer> + // <--- add direction -- + // A B C E + if (entry.newer) { + if (entry === this.head) { + this.head = entry.newer + } + entry.newer.older = entry.older // C <-- E. + } + if (entry.older) { + entry.older.newer = entry.newer // C. --> E + } + entry.newer = void 0 // D --x + entry.older = this.tail // D. --> E + if (this.tail) { + this.tail.newer = entry // E. <-- D + } + this.tail = entry + return entry.value + } + return LRU +}// jshint ignore:line + +/********************************************************************* + * javascript 底层补丁 * + **********************************************************************/ +if (!"司徒正美".trim) { + var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g + String.prototype.trim = function () { + return this.replace(rtrim, "") + } +} +var hasDontEnumBug = !({ + 'toString': null +}).propertyIsEnumerable('toString'), + hasProtoEnumBug = (function () { + }).propertyIsEnumerable('prototype'), + dontEnums = [ + "toString", + "toLocaleString", + "valueOf", + "hasOwnProperty", + "isPrototypeOf", + "propertyIsEnumerable", + "constructor" + ], + dontEnumsLength = dontEnums.length; +if (!Object.keys) { + Object.keys = function (object) { //ecma262v5 15.2.3.14 + var theKeys = [] + var skipProto = hasProtoEnumBug && typeof object === "function" + if (typeof object === "string" || (object && object.callee)) { + for (var i = 0; i < object.length; ++i) { + theKeys.push(String(i)) + } + } else { + for (var name in object) { + if (!(skipProto && name === "prototype") && ohasOwn.call(object, name)) { + theKeys.push(String(name)) + } + } + } + + if (hasDontEnumBug) { + var ctor = object.constructor, + skipConstructor = ctor && ctor.prototype === object + for (var j = 0; j < dontEnumsLength; j++) { + var dontEnum = dontEnums[j] + if (!(skipConstructor && dontEnum === "constructor") && ohasOwn.call(object, dontEnum)) { + theKeys.push(dontEnum) + } + } + } + return theKeys + } +} +if (!Array.isArray) { + Array.isArray = function (a) { + return serialize.call(a) === "[object Array]" + } +} + +if (!noop.bind) { + Function.prototype.bind = function (scope) { + if (arguments.length < 2 && scope === void 0) + return this + var fn = this, + argv = arguments + return function () { + var args = [], + i + for (i = 1; i < argv.length; i++) + args.push(argv[i]) + for (i = 0; i < arguments.length; i++) + args.push(arguments[i]) + return fn.apply(scope, args) + } + } +} + +function iterator(vars, body, ret) { + var fun = 'for(var ' + vars + 'i=0,n = this.length; i < n; i++){' + body.replace('_', '((i in this) && fn.call(scope,this[i],i,this))') + '}' + ret + /* jshint ignore:start */ + return Function("fn,scope", fun) + /* jshint ignore:end */ +} +if (!rnative.test([].map)) { + avalon.mix(ap, { + //定位操作,返回数组中第一个等于给定参数的元素的索引值。 + indexOf: function (item, index) { + var n = this.length, + i = ~~index + if (i < 0) + i += n + for (; i < n; i++) + if (this[i] === item) + return i + return -1 + }, + //定位操作,同上,不过是从后遍历。 + lastIndexOf: function (item, index) { + var n = this.length, + i = index == null ? n - 1 : index + if (i < 0) + i = Math.max(0, n + i) + for (; i >= 0; i--) + if (this[i] === item) + return i + return -1 + }, + //迭代操作,将数组的元素挨个儿传入一个函数中执行。Prototype.js的对应名字为each。 + forEach: iterator("", '_', ""), + //迭代类 在数组中的每个项上运行一个函数,如果此函数的值为真,则此元素作为新数组的元素收集起来,并返回新数组 + filter: iterator('r=[],j=0,', 'if(_)r[j++]=this[i]', 'return r'), + //收集操作,将数组的元素挨个儿传入一个函数中执行,然后把它们的返回值组成一个新数组返回。Prototype.js的对应名字为collect。 + map: iterator('r=[],', 'r[i]=_', 'return r'), + //只要数组中有一个元素满足条件(放进给定函数返回true),那么它就返回true。Prototype.js的对应名字为any。 + some: iterator("", 'if(_)return true', 'return false'), + //只有数组中的元素都满足条件(放进给定函数返回true),它才返回true。Prototype.js的对应名字为all。 + every: iterator("", 'if(!_)return false', 'return true') + }) +} +/********************************************************************* + * DOM 底层补丁 * + **********************************************************************/ + +function fixContains(root, el) { + try { //IE6-8,游离于DOM树外的文本节点,访问parentNode有时会抛错 + while ((el = el.parentNode)) + if (el === root) + return true + return false + } catch (e) { + return false + } +} +avalon.contains = fixContains +//IE6-11的文档对象没有contains +if (!DOC.contains) { + DOC.contains = function (b) { + return fixContains(DOC, b) + } +} + +function outerHTML() { + return new XMLSerializer().serializeToString(this) +} + +if (window.SVGElement) { + //safari5+是把contains方法放在Element.prototype上而不是Node.prototype + if (!DOC.createTextNode("x").contains) { + Node.prototype.contains = function (arg) {//IE6-8没有Node对象 + return !!(this.compareDocumentPosition(arg) & 16) + } + } + var svgns = "http://www.w3.org/2000/svg" + var svg = DOC.createElementNS(svgns, "svg") + svg.innerHTML = '' + if (!rsvg.test(svg.firstChild)) { // #409 + function enumerateNode(node, targetNode) {// jshint ignore:line + if (node && node.childNodes) { + var nodes = node.childNodes + for (var i = 0, el; el = nodes[i++]; ) { + if (el.tagName) { + var svg = DOC.createElementNS(svgns, + el.tagName.toLowerCase()) + ap.forEach.call(el.attributes, function (attr) { + svg.setAttribute(attr.name, attr.value) //复制属性 + })// jshint ignore:line + // 递归处理子节点 + enumerateNode(el, svg) + targetNode.appendChild(svg) + } + } + } + } + Object.defineProperties(SVGElement.prototype, { + "outerHTML": {//IE9-11,firefox不支持SVG元素的innerHTML,outerHTML属性 + enumerable: true, + configurable: true, + get: outerHTML, + set: function (html) { + var tagName = this.tagName.toLowerCase(), + par = this.parentNode, + frag = avalon.parseHTML(html) + // 操作的svg,直接插入 + if (tagName === "svg") { + par.insertBefore(frag, this) + // svg节点的子节点类似 + } else { + var newFrag = DOC.createDocumentFragment() + enumerateNode(frag, newFrag) + par.insertBefore(newFrag, this) + } + par.removeChild(this) + } + }, + "innerHTML": { + enumerable: true, + configurable: true, + get: function () { + var s = this.outerHTML + var ropen = new RegExp("<" + this.nodeName + '\\b(?:(["\'])[^"]*?(\\1)|[^>])*>', "i") + var rclose = new RegExp("<\/" + this.nodeName + ">$", "i") + return s.replace(ropen, "").replace(rclose, "") + }, + set: function (html) { + if (avalon.clearHTML) { + avalon.clearHTML(this) + var frag = avalon.parseHTML(html) + enumerateNode(frag, this) + } + } + } + }) + } +} +if (!root.outerHTML && window.HTMLElement) { //firefox 到11时才有outerHTML + HTMLElement.prototype.__defineGetter__("outerHTML", outerHTML); +} + + +//============================= event binding ======================= +var rmouseEvent = /^(?:mouse|contextmenu|drag)|click/ +function fixEvent(event) { + var ret = {} + for (var i in event) { + ret[i] = event[i] + } + var target = ret.target = event.srcElement + if (event.type.indexOf("key") === 0) { + ret.which = event.charCode != null ? event.charCode : event.keyCode + } else if (rmouseEvent.test(event.type)) { + var doc = target.ownerDocument || DOC + var box = doc.compatMode === "BackCompat" ? doc.body : doc.documentElement + ret.pageX = event.clientX + (box.scrollLeft >> 0) - (box.clientLeft >> 0) + ret.pageY = event.clientY + (box.scrollTop >> 0) - (box.clientTop >> 0) + ret.wheelDeltaY = ret.wheelDelta + ret.wheelDeltaX = 0 + } + ret.timeStamp = new Date() - 0 + ret.originalEvent = event + ret.preventDefault = function () { //阻止默认行为 + event.returnValue = false + } + ret.stopPropagation = function () { //阻止事件在DOM树中的传播 + event.cancelBubble = true + } + return ret +} + +var eventHooks = avalon.eventHooks +//针对firefox, chrome修正mouseenter, mouseleave +if (!("onmouseenter" in root)) { + avalon.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" + }, function (origType, fixType) { + eventHooks[origType] = { + type: fixType, + deel: function (elem, _, fn) { + return function (e) { + var t = e.relatedTarget + if (!t || (t !== elem && !(elem.compareDocumentPosition(t) & 16))) { + delete e.type + e.type = origType + return fn.call(elem, e) + } + } + } + } + }) +} +//针对IE9+, w3c修正animationend +avalon.each({ + AnimationEvent: "animationend", + WebKitAnimationEvent: "webkitAnimationEnd" +}, function (construct, fixType) { + if (window[construct] && !eventHooks.animationend) { + eventHooks.animationend = { + type: fixType + } + } +}) +//针对IE6-8修正input +if (!("oninput" in DOC.createElement("input"))) { + eventHooks.input = { + type: "propertychange", + deel: function (elem, _, fn) { + return function (e) { + if (e.propertyName === "value") { + e.type = "input" + return fn.call(elem, e) + } + } + } + } +} +if (DOC.onmousewheel === void 0) { + /* IE6-11 chrome mousewheel wheelDetla 下 -120 上 120 + firefox DOMMouseScroll detail 下3 上-3 + firefox wheel detlaY 下3 上-3 + IE9-11 wheel deltaY 下40 上-40 + chrome wheel deltaY 下100 上-100 */ + var fixWheelType = DOC.onwheel !== void 0 ? "wheel" : "DOMMouseScroll" + var fixWheelDelta = fixWheelType === "wheel" ? "deltaY" : "detail" + eventHooks.mousewheel = { + type: fixWheelType, + deel: function (elem, _, fn) { + return function (e) { + e.wheelDeltaY = e.wheelDelta = e[fixWheelDelta] > 0 ? -120 : 120 + e.wheelDeltaX = 0 + if (Object.defineProperty) { + Object.defineProperty(e, "type", { + value: "mousewheel" + }) + } + fn.call(elem, e) + } + } + } +} + + + +/********************************************************************* + * 配置系统 * + **********************************************************************/ + +function kernel(settings) { + for (var p in settings) { + if (!ohasOwn.call(settings, p)) + continue + var val = settings[p] + if (typeof kernel.plugins[p] === "function") { + kernel.plugins[p](val) + } else if (typeof kernel[p] === "object") { + avalon.mix(kernel[p], val) + } else { + kernel[p] = val + } + } + return this +} +var openTag, closeTag, rexpr, rexprg, rbind, rregexp = /[-.*+?^${}()|[\]\/\\]/g + +function escapeRegExp(target) { + //http://stevenlevithan.com/regex/xregexp/ + //将字符串安全格式化为正则表达式的源码 + return (target + "").replace(rregexp, "\\$&") +} + +var plugins = { + loader: function (builtin) { + var flag = innerRequire && builtin + window.require = flag ? innerRequire : otherRequire + window.define = flag ? innerRequire.define : otherDefine + }, + interpolate: function (array) { + openTag = array[0] + closeTag = array[1] + if (openTag === closeTag) { + throw new SyntaxError("openTag!==closeTag") + var test = openTag + "test" + closeTag + cinerator.innerHTML = test + if (cinerator.innerHTML !== test && cinerator.innerHTML.indexOf("<") > -1) { + throw new SyntaxError("此定界符不合法") + } + cinerator.innerHTML = "" + } + var o = escapeRegExp(openTag), + c = escapeRegExp(closeTag) + rexpr = new RegExp(o + "(.*?)" + c) + rexprg = new RegExp(o + "(.*?)" + c, "g") + rbind = new RegExp(o + ".*?" + c + "|\\sms-") + } +} + +kernel.debug = true +kernel.plugins = plugins +kernel.plugins['interpolate'](["{{", "}}"]) +kernel.paths = {} +kernel.shim = {} +kernel.maxRepeatSize = 100 +avalon.config = kernel +var ravalon = /(\w+)\[(avalonctrl)="(\S+)"\]/ +var findNodes = DOC.querySelectorAll ? function(str) { + return DOC.querySelectorAll(str) +} : function(str) { + var match = str.match(ravalon) + var all = DOC.getElementsByTagName(match[1]) + var nodes = [] + for (var i = 0, el; el = all[i++]; ) { + if (el.getAttribute(match[2]) === match[3]) { + nodes.push(el) + } + } + return nodes +} +/********************************************************************* + * 事件总线 * + **********************************************************************/ +var EventBus = { + $watch: function (type, callback) { + if (typeof callback === "function") { + var callbacks = this.$events[type] + if (callbacks) { + callbacks.push(callback) + } else { + this.$events[type] = [callback] + } + } else { //重新开始监听此VM的第一重简单属性的变动 + this.$events = this.$watch.backup + } + return this + }, + $unwatch: function (type, callback) { + var n = arguments.length + if (n === 0) { //让此VM的所有$watch回调无效化 + this.$watch.backup = this.$events + this.$events = {} + } else if (n === 1) { + this.$events[type] = [] + } else { + var callbacks = this.$events[type] || [] + var i = callbacks.length + while (~--i < 0) { + if (callbacks[i] === callback) { + return callbacks.splice(i, 1) + } + } + } + return this + }, + $fire: function (type) { + var special, i, v, callback + if (/^(\w+)!(\S+)$/.test(type)) { + special = RegExp.$1 + type = RegExp.$2 + } + var events = this.$events + if (!events) + return + var args = aslice.call(arguments, 1) + var detail = [type].concat(args) + if (special === "all") { + for (i in avalon.vmodels) { + v = avalon.vmodels[i] + if (v !== this) { + v.$fire.apply(v, detail) + } + } + } else if (special === "up" || special === "down") { + var elements = events.expr ? findNodes(events.expr) : [] + if (elements.length === 0) + return + for (i in avalon.vmodels) { + v = avalon.vmodels[i] + if (v !== this) { + if (v.$events.expr) { + var eventNodes = findNodes(v.$events.expr) + if (eventNodes.length === 0) { + continue + } + //循环两个vmodel中的节点,查找匹配(向上匹配或者向下匹配)的节点并设置标识 + /* jshint ignore:start */ + ap.forEach.call(eventNodes, function (node) { + ap.forEach.call(elements, function (element) { + var ok = special === "down" ? element.contains(node) : //向下捕获 + node.contains(element) //向上冒泡 + if (ok) { + node._avalon = v //符合条件的加一个标识 + } + }); + }) + /* jshint ignore:end */ + } + } + } + var nodes = DOC.getElementsByTagName("*") //实现节点排序 + var alls = [] + ap.forEach.call(nodes, function (el) { + if (el._avalon) { + alls.push(el._avalon) + el._avalon = "" + el.removeAttribute("_avalon") + } + }) + if (special === "up") { + alls.reverse() + } + for (i = 0; callback = alls[i++]; ) { + if (callback.$fire.apply(callback, detail) === false) { + break + } + } + } else { + var callbacks = events[type] || [] + var all = events.$all || [] + for (i = 0; callback = callbacks[i++]; ) { + if (isFunction(callback)) + callback.apply(this, args) + } + for (i = 0; callback = all[i++]; ) { + if (isFunction(callback)) + callback.apply(this, arguments) + } + } + } +} + +/********************************************************************* + * modelFactory * + **********************************************************************/ +//avalon最核心的方法的两个方法之一(另一个是avalon.scan),返回一个ViewModel(VM) +var VMODELS = avalon.vmodels = {} //所有vmodel都储存在这里 +avalon.define = function (id, factory) { + var $id = id.$id || id + if (!$id) { + log("warning: vm必须指定$id") + } + if (VMODELS[$id]) { + log("warning: " + $id + " 已经存在于avalon.vmodels中") + } + if (typeof id === "object") { + var model = modelFactory(id) + } else { + var scope = { + $watch: noop + } + factory(scope) //得到所有定义 + + model = modelFactory(scope) //偷天换日,将scope换为model + stopRepeatAssign = true + factory(model) + stopRepeatAssign = false + } + model.$id = $id + return VMODELS[$id] = model +} + +//一些不需要被监听的属性 +var $$skipArray = String("$id,$watch,$unwatch,$fire,$events,$model,$skipArray,$proxy,$reinitialize,$propertyNames").match(rword) +var defineProperty = Object.defineProperty +var canHideOwn = true +//如果浏览器不支持ecma262v5的Object.defineProperties或者存在BUG,比如IE8 +//标准浏览器使用__defineGetter__, __defineSetter__实现 +try { + defineProperty({}, "_", { + value: "x" + }) + var defineProperties = Object.defineProperties +} catch (e) { + canHideOwn = false +} + +function modelFactory(source, $special, $model) { + if (Array.isArray(source)) { + var arr = source.concat() + source.length = 0 + var collection = arrayFactory(source) + collection.pushArray(arr) + return collection + } + //0 null undefined || Node || VModel(fix IE6-8 createWithProxy $val: val引发的BUG) + if (!source || source.nodeType > 0 || (source.$id && source.$events)) { + return source + } + var $skipArray = Array.isArray(source.$skipArray) ? source.$skipArray : [] + $skipArray.$special = $special || {} //强制要监听的属性 + var $vmodel = {} //要返回的对象, 它在IE6-8下可能被偷龙转凤 + $model = $model || {} //vmodels.$model属性 + var $events = {} //vmodel.$events属性 + var accessors = {} //监控属性 + var computed = [] + $$skipArray.forEach(function (name) { + delete source[name] + }) + var names = Object.keys(source) + /* jshint ignore:start */ + names.forEach(function (name, accessor) { + var val = source[name] + $model[name] = val + if (isObservable(name, val, $skipArray)) { + //总共产生三种accessor + $events[name] = [] + var valueType = avalon.type(val) + //总共产生三种accessor + if (valueType === "object" && isFunction(val.get) && Object.keys(val).length <= 2) { + accessor = makeComputedAccessor(name, val) + computed.push(accessor) + } else if (rcomplexType.test(valueType)) { + accessor = makeComplexAccessor(name, val, valueType, $events[name]) + } else { + accessor = makeSimpleAccessor(name, val) + } + accessors[name] = accessor + } + }) + /* jshint ignore:end */ + + $vmodel = defineProperties($vmodel, descriptorFactory(accessors), source) //生成一个空的ViewModel + for (var i = 0; i < names.length; i++) { + var name = names[i] + if (!accessors[name]) { + $vmodel[name] = source[name] + } + } + //添加$id, $model, $events, $watch, $unwatch, $fire + $vmodel.$propertyNames = names.join("­") + $vmodel.$id = generateID() + $vmodel.$model = $model + $vmodel.$events = $events + for (i in EventBus) { + var fn = EventBus[i] + if (!W3C) { //在IE6-8下,VB对象的方法里的this并不指向自身,需要用bind处理一下 + fn = fn.bind($vmodel) + } + $vmodel[i] = fn + } + if (canHideOwn) { + Object.defineProperty($vmodel, "hasOwnProperty", hasOwnDescriptor) + } else { + /* jshint ignore:start */ + $vmodel.hasOwnProperty = function (name) { + return name in $vmodel.$model + } + /* jshint ignore:end */ + } + + $vmodel.$reinitialize = function () { + computed.forEach(function (accessor) { + delete accessor._value + delete accessor.oldArgs + accessor.digest = function () { + accessor.call($vmodel) + } + dependencyDetection.begin({ + callback: function (vm, dependency) {//dependency为一个accessor + var name = dependency._name + if (dependency !== accessor) { + var list = vm.$events[name] + injectDependency(list, accessor.digest) + } + } + }) + try { + accessor.get.call($vmodel) + } finally { + dependencyDetection.end() + } + }) + } + $vmodel.$reinitialize() + return $vmodel +} + +var hasOwnDescriptor = { + value: function (name) { + return name in this.$model + }, + writable: false, + enumerable: false, + configurable: true +} +//创建一个简单访问器 +function makeSimpleAccessor(name, value) { + function accessor(value) { + var oldValue = accessor._value + if (arguments.length > 0) { + if (!stopRepeatAssign && !isEqual(value, oldValue)) { + accessor.updateValue(this, value) + accessor.notify(this, value, oldValue) + } + return this + } else { + dependencyDetection.collectDependency(this, accessor) + return oldValue + } + } + accessorFactory(accessor, name) + accessor._value = value + return accessor; +} + +//创建一个计算访问器 +function makeComputedAccessor(name, options) { + function accessor(value) {//计算属性 + var oldValue = accessor._value + var init = ("_value" in accessor) + if (arguments.length > 0) { + if (stopRepeatAssign) { + return this + } + if (typeof accessor.set === "function") { + if (accessor.oldArgs !== value) { + accessor.oldArgs = value + var $events = this.$events + var lock = $events[name] + $events[name] = [] //清空回调,防止内部冒泡而触发多次$fire + accessor.set.call(this, value) + $events[name] = lock + value = accessor.get.call(this) + if (value !== oldValue) { + accessor.updateValue(this, value) + accessor.notify(this, value, oldValue) //触发$watch回调 + } + } + } + return this + } else { + //将依赖于自己的高层访问器或视图刷新函数(以绑定对象形式)放到自己的订阅数组中 + //将自己注入到低层访问器的订阅数组中 + value = accessor.get.call(this) + accessor.updateValue(this, value) + if (init && oldValue !== value) { + accessor.notify(this, value, oldValue) //触发$watch回调 + } + return value + } + } + accessor.set = options.set + accessor.get = options.get + accessorFactory(accessor, name) + return accessor +} + +//创建一个复杂访问器 +function makeComplexAccessor(name, initValue, valueType, list) { + function accessor(value) { + var oldValue = accessor._value + + var son = accessor._vmodel + if (arguments.length > 0) { + if (stopRepeatAssign) { + return this + } + if (valueType === "array") { + var a = son, b = value, + an = a.length, + bn = b.length + a.$lock = true + if (an > bn) { + a.splice(bn, an - bn) + } else if (bn > an) { + a.push.apply(a, b.slice(an)) + } + var n = Math.min(an, bn) + for (var i = 0; i < n; i++) { + a.set(i, b[i]) + } + delete a.$lock + a._fire("set") + } else if (valueType === "object") { + var newPropertyNames = Object.keys(value).join("­") + if (son.$propertyNames === newPropertyNames) { + for (i in value) { + son[i] = value[i] + } + } else { + var sson = accessor._vmodel = modelFactory(value) + var sevent = sson.$events + var oevent = son.$events + for (var i in sevent) { + var arr = sevent[i] + if (Array.isArray(arr)) { + arr = arr.concat(oevent[i]) + } + } + sevent[subscribers] = oevent[subscribers] + sson.$proxy = son.$proxy + son = sson + } + } + accessor.updateValue(this, son.$model) + accessor.notify(this, this._value, oldValue) + return this + } else { + dependencyDetection.collectDependency(this, accessor) + return son + } + } + accessorFactory(accessor, name) + var son = accessor._vmodel = modelFactory(initValue) + son.$events[subscribers] = list + return accessor +} + +function globalUpdateValue(vmodel, value) { + vmodel.$model[this._name] = this._value = value +} + +function globalNotify(vmodel, value, oldValue) { + var name = this._name + var array = vmodel.$events[name] //刷新值 + if (array) { + fireDependencies(array) //同步视图 + EventBus.$fire.call(vmodel, name, value, oldValue) //触发$watch回调 + } +} + +function accessorFactory(accessor, name) { + accessor._name = name + //同时更新_value与model + accessor.updateValue = globalUpdateValue + accessor.notify = globalNotify +} + +//比较两个值是否相等 +var isEqual = Object.is || function (v1, v2) { + if (v1 === 0 && v2 === 0) { + return 1 / v1 === 1 / v2 + } else if (v1 !== v1) { + return v2 !== v2 + } else { + return v1 === v2 + } +} + +function isObservable(name, value, $skipArray) { + if (isFunction(value) || value && value.nodeType) { + return false + } + if ($skipArray.indexOf(name) !== -1) { + return false + } + var $special = $skipArray.$special + if (name && name.charAt(0) === "$" && !$special[name]) { + return false + } + return true +} + +var descriptorFactory = W3C ? function (obj) { + var descriptors = {} + for (var i in obj) { + descriptors[i] = { + get: obj[i], + set: obj[i], + enumerable: true, + configurable: true + } + } + return descriptors +} : function (a) { + return a +} + +//===================修复浏览器对Object.defineProperties的支持================= +if (!canHideOwn) { + if ("__defineGetter__" in avalon) { + defineProperty = function (obj, prop, desc) { + if ('value' in desc) { + obj[prop] = desc.value + } + if ("get" in desc) { + obj.__defineGetter__(prop, desc.get) + } + if ('set' in desc) { + obj.__defineSetter__(prop, desc.set) + } + return obj + } + defineProperties = function (obj, descs) { + for (var prop in descs) { + if (descs.hasOwnProperty(prop)) { + defineProperty(obj, prop, descs[prop]) + } + } + return obj + } + } + if (IEVersion) { + var VBClassPool = {} + window.execScript([// jshint ignore:line + "Function parseVB(code)", + "\tExecuteGlobal(code)", + "End Function" //转换一段文本为VB代码 + ].join("\n"), "VBScript") + function VBMediator(instance, accessors, name, value) {// jshint ignore:line + var accessor = accessors[name] + if (arguments.length === 4) { + accessor.call(instance, value) + } else { + return accessor.call(instance) + } + } + defineProperties = function (name, accessors, properties) { + // jshint ignore:line + var buffer = [] + buffer.push( + "\r\n\tPrivate [__data__], [__proxy__]", + "\tPublic Default Function [__const__](d, p)", + "\t\tSet [__data__] = d: set [__proxy__] = p", + "\t\tSet [__const__] = Me", //链式调用 + "\tEnd Function") + //添加普通属性,因为VBScript对象不能像JS那样随意增删属性,必须在这里预先定义好 + for (name in properties) { + if (!accessors.hasOwnProperty(name)) { + buffer.push("\tPublic [" + name + "]") + } + } + $$skipArray.forEach(function (name) { + if (!accessors.hasOwnProperty(name)) { + buffer.push("\tPublic [" + name + "]") + } + }) + buffer.push("\tPublic [" + 'hasOwnProperty' + "]") + //添加访问器属性 + for (name in accessors) { + buffer.push( + //由于不知对方会传入什么,因此set, let都用上 + "\tPublic Property Let [" + name + "](val" + expose + ")", //setter + "\t\tCall [__proxy__](Me,[__data__], \"" + name + "\", val" + expose + ")", + "\tEnd Property", + "\tPublic Property Set [" + name + "](val" + expose + ")", //setter + "\t\tCall [__proxy__](Me,[__data__], \"" + name + "\", val" + expose + ")", + "\tEnd Property", + "\tPublic Property Get [" + name + "]", //getter + "\tOn Error Resume Next", //必须优先使用set语句,否则它会误将数组当字符串返回 + "\t\tSet[" + name + "] = [__proxy__](Me,[__data__],\"" + name + "\")", + "\tIf Err.Number <> 0 Then", + "\t\t[" + name + "] = [__proxy__](Me,[__data__],\"" + name + "\")", + "\tEnd If", + "\tOn Error Goto 0", + "\tEnd Property") + + } + + buffer.push("End Class") + var body = buffer.join("\r\n") + var className =VBClassPool[body] + if (!className) { + className = generateID("VBClass") + window.parseVB("Class " + className + body) + window.parseVB([ + "Function " + className + "Factory(a, b)", //创建实例并传入两个关键的参数 + "\tDim o", + "\tSet o = (New " + className + ")(a, b)", + "\tSet " + className + "Factory = o", + "End Function" + ].join("\r\n")) + VBClassPool[body] = className + } + var ret = window[className + "Factory"](accessors, VBMediator) //得到其产品 + return ret //得到其产品 + } + } +} + +/********************************************************************* + * 监控数组(与ms-each, ms-repeat配合使用) * + **********************************************************************/ + +function arrayFactory(model) { + var array = [] + array.$id = generateID() + array.$model = model //数据模型 + array.$events = {} + array.$events[subscribers] = [] + array._ = modelFactory({ + length: model.length + }) + array._.$watch("length", function (a, b) { + array.$fire("length", a, b) + }) + for (var i in EventBus) { + array[i] = EventBus[i] + } + avalon.mix(array, arrayPrototype) + return array +} + +function mutateArray(method, pos, n, index, method2, pos2, n2) { + var oldLen = this.length, loop = 2 + while (--loop) { + switch (method) { + case "add": + /* jshint ignore:start */ + var array = this.$model.slice(pos, pos + n).map(function (el) { + if (rcomplexType.test(avalon.type(el))) { + return el.$id ? el : modelFactory(el, 0, el) + } else { + return el + } + }) + /* jshint ignore:end */ + _splice.apply(this, [pos, 0].concat(array)) + this._fire("add", pos, n) + break + case "del": + var ret = this._splice(pos, n) + this._fire("del", pos, n) + break + } + if (method2) { + method = method2 + pos = pos2 + n = n2 + loop = 2 + method2 = 0 + } + } + this._fire("index", index) + if (this.length !== oldLen) { + this._.length = this.length + } + return ret +} + +var _splice = ap.splice +var arrayPrototype = { + _splice: _splice, + _fire: function (method, a, b) { + fireDependencies(this.$events[subscribers], method, a, b) + }, + size: function () { //取得数组长度,这个函数可以同步视图,length不能 + return this._.length + }, + pushArray: function (array) { + var m = array.length, n = this.length + if (m) { + ap.push.apply(this.$model, array) + mutateArray.call(this, "add", n, m, Math.max(0, n - 1)) + } + return m + n + }, + push: function () { + //http://jsperf.com/closure-with-arguments + var array = [] + var i, n = arguments.length + for (i = 0; i < n; i++) { + array[i] = arguments[i] + } + return this.pushArray(array) + }, + unshift: function () { + var m = arguments.length, n = this.length + if (m) { + ap.unshift.apply(this.$model, arguments) + mutateArray.call(this, "add", 0, m, 0) + } + return m + n //IE67的unshift不会返回长度 + }, + shift: function () { + if (this.length) { + var el = this.$model.shift() + mutateArray.call(this, "del", 0, 1, 0) + return el //返回被移除的元素 + } + }, + pop: function () { + var n = this.length + if (n) { + var el = this.$model.pop() + mutateArray.call(this, "del", n - 1, 1, Math.max(0, n - 2)) + return el //返回被移除的元素 + } + }, + splice: function (start) { + var m = arguments.length, args = [], change + var removed = _splice.apply(this.$model, arguments) + if (removed.length) { //如果用户删掉了元素 + args.push("del", start, removed.length, 0) + change = true + } + if (m > 2) { //如果用户添加了元素 + if (change) { + args.splice(3, 1, 0, "add", start, m - 2) + } else { + args.push("add", start, m - 2, 0) + } + change = true + } + if (change) { //返回被移除的元素 + return mutateArray.apply(this, args) + } else { + return [] + } + }, + contains: function (el) { //判定是否包含 + return this.indexOf(el) !== -1 + }, + remove: function (el) { //移除第一个等于给定值的元素 + return this.removeAt(this.indexOf(el)) + }, + removeAt: function (index) { //移除指定索引上的元素 + if (index >= 0) { + this.$model.splice(index, 1) + return mutateArray.call(this, "del", index, 1, 0) + } + return [] + }, + clear: function () { + this.$model.length = this.length = this._.length = 0 //清空数组 + this._fire("clear", 0) + return this + }, + removeAll: function (all) { //移除N个元素 + if (Array.isArray(all)) { + for (var i = this.length - 1; i >= 0; i--) { + if (all.indexOf(this[i]) !== -1) { + this.removeAt(i) + } + } + } else if (typeof all === "function") { + for ( i = this.length - 1; i >= 0; i--) { + var el = this[i] + if (all(el, i)) { + this.removeAt(i) + } + } + } else { + this.clear() + } + }, + ensure: function (el) { + if (!this.contains(el)) { //只有不存在才push + this.push(el) + } + return this + }, + set: function (index, val) { + if (index >= 0) { + var valueType = avalon.type(val) + if (val && val.$model) { + val = val.$model + } + var target = this[index] + if (valueType === "object") { + for (var i in val) { + if (target.hasOwnProperty(i)) { + target[i] = val[i] + } + } + } else if (valueType === "array") { + target.clear().push.apply(target, val) + } else if (target !== val) { + this[index] = val + this.$model[index] = val + this._fire("set", index, val) + } + } + return this + } +} +//相当于原来bindingExecutors.repeat 的index分支 +function resetIndex(array, pos) { + var last = array.length - 1 + for (var el; el = array[pos]; pos++) { + el.$index = pos + el.$first = pos === 0 + el.$last = pos === last + } +} + +function sortByIndex(array, indexes) { + var map = {}; + for (var i = 0, n = indexes.length; i < n; i++) { + map[i] = array[i] // preserve + var j = indexes[i] + if (j in map) { + array[i] = map[j] + delete map[j] + } else { + array[i] = array[j] + } + } +} + +"sort,reverse".replace(rword, function (method) { + arrayPrototype[method] = function () { + var newArray = this.$model//这是要排序的新数组 + var oldArray = newArray.concat() //保持原来状态的旧数组 + var mask = Math.random() + var indexes = [] + var hasSort + ap[method].apply(newArray, arguments) //排序 + for (var i = 0, n = oldArray.length; i < n; i++) { + var neo = newArray[i] + var old = oldArray[i] + if (isEqual(neo, old)) { + indexes.push(i) + } else { + var index = oldArray.indexOf(neo) + indexes.push(index)//得到新数组的每个元素在旧数组对应的位置 + oldArray[index] = mask //屏蔽已经找过的元素 + hasSort = true + } + } + if (hasSort) { + sortByIndex(this, indexes) + // sortByIndex(this.$proxy, indexes) + this._fire("move", indexes) + this._fire("index", 0) + } + return this + } +}) + + +/********************************************************************* + * 依赖调度系统 * + **********************************************************************/ +//检测两个对象间的依赖关系 +var dependencyDetection = (function () { + var outerFrames = [] + var currentFrame + return { + begin: function (accessorObject) { + //accessorObject为一个拥有callback的对象 + outerFrames.push(currentFrame) + currentFrame = accessorObject + }, + end: function () { + currentFrame = outerFrames.pop() + }, + collectDependency: function (vmodel, accessor) { + if (currentFrame) { + //被dependencyDetection.begin调用 + currentFrame.callback(vmodel, accessor); + } + } + }; +})() +//将绑定对象注入到其依赖项的订阅数组中 +var ronduplex = /^(duplex|on)$/ +avalon.injectBinding = function (data) { + var valueFn = data.evaluator + if (valueFn) { //如果是求值函数 + dependencyDetection.begin({ + callback: function (vmodel, dependency) { + injectDependency(vmodel.$events[dependency._name], data) + } + }) + try { + var value = ronduplex.test(data.type) ? data : valueFn.apply(0, data.args) + if(value === void 0){ + delete data.evaluator + } + data.handler(value, data.element, data) + } catch (e) { + //log("warning:exception throwed in [avalon.injectBinding] " + e) + delete data.evaluator + var node = data.element + if (node.nodeType === 3) { + var parent = node.parentNode + if (kernel.commentInterpolate) { + parent.replaceChild(DOC.createComment(data.value), node) + } else { + node.data = openTag + (data.oneTime ? "::" : "") + data.value + closeTag + } + } + } finally { + dependencyDetection.end() + } + } +} + +//将依赖项(比它高层的访问器或构建视图刷新函数的绑定对象)注入到订阅者数组 +function injectDependency(list, data) { + if (data.oneTime) + return + if (list && avalon.Array.ensure(list, data) && data.element) { + injectDisposeQueue(data, list) + } +} + +//通知依赖于这个访问器的订阅者更新自身 +function fireDependencies(list) { + if (list && list.length) { + if (new Date() - beginTime > 444 && typeof list[0] === "object") { + rejectDisposeQueue() + } + var args = aslice.call(arguments, 1) + for (var i = list.length, fn; fn = list[--i]; ) { + var el = fn.element + if (el && el.parentNode) { + try { + var valueFn = fn.evaluator + if (fn.$repeat) { + fn.handler.apply(fn, args) //处理监控数组的方法 + }else if("$repeat" in fn || !valueFn ){//如果没有eval,先eval + bindingHandlers[fn.type](fn, fn.vmodels) + } else if (fn.type !== "on") { //事件绑定只能由用户触发,不能由程序触发 + var value = valueFn.apply(0, fn.args || []) + fn.handler(value, el, fn) + } + } catch (e) { } + } + } + } +} +/********************************************************************* + * 定时GC回收机制 * + **********************************************************************/ +var disposeCount = 0 +var disposeQueue = avalon.$$subscribers = [] +var beginTime = new Date() +var oldInfo = {} +var uuid2Node = {} +function getUid(obj, makeID) { //IE9+,标准浏览器 + if (!obj.uuid && !makeID) { + obj.uuid = ++disposeCount + uuid2Node[obj.uuid] = obj + } + return obj.uuid +} +function getNode(uuid) { + return uuid2Node[uuid] +} +//添加到回收列队中 +function injectDisposeQueue(data, list) { + var elem = data.element + if (!data.uuid) { + if (elem.nodeType !== 1) { + data.uuid = data.type + (data.pos || 0) + "-" + getUid(elem.parentNode) + } else { + data.uuid = data.name + "-" + getUid(elem) + } + } + var lists = data.lists || (data.lists = []) + avalon.Array.ensure(lists, list) + list.$uuid = list.$uuid || generateID() + if (!disposeQueue[data.uuid]) { + disposeQueue[data.uuid] = 1 + disposeQueue.push(data) + } +} + +function rejectDisposeQueue(data) { + if (avalon.optimize) + return + var i = disposeQueue.length + var n = i + var allTypes = [] + var iffishTypes = {} + var newInfo = {} + //对页面上所有绑定对象进行分门别类, 只检测个数发生变化的类型 + while (data = disposeQueue[--i]) { + var type = data.type + if (newInfo[type]) { + newInfo[type]++ + } else { + newInfo[type] = 1 + allTypes.push(type) + } + } + var diff = false + allTypes.forEach(function (type) { + if (oldInfo[type] !== newInfo[type]) { + iffishTypes[type] = 1 + diff = true + } + }) + i = n + if (diff) { + while (data = disposeQueue[--i]) { + if (!data.element) + continue + if (iffishTypes[data.type] && shouldDispose(data.element)) { //如果它没有在DOM树 + disposeQueue.splice(i, 1) + delete disposeQueue[data.uuid] + delete uuid2Node[data.element.uuid] + var lists = data.lists + for (var k = 0, list; list = lists[k++]; ) { + avalon.Array.remove(lists, list) + avalon.Array.remove(list, data) + } + disposeData(data) + } + } + } + oldInfo = newInfo + beginTime = new Date() +} + +function disposeData(data) { + data.element = null + data.rollback && data.rollback() + for (var key in data) { + data[key] = null + } +} + +function shouldDispose(el) { + try {//IE下,如果文本节点脱离DOM树,访问parentNode会报错 + if (!el.parentNode) { + return true + } + } catch (e) { + return true + } + + return el.msRetain ? 0 : (el.nodeType === 1 ? !root.contains(el) : !avalon.contains(root, el)) +} + +/************************************************************************ + * HTML处理(parseHTML, innerHTML, clearHTML) * + ************************************************************************/ +// We have to close these tags to support XHTML +var tagHooks = { + area: [1, "", ""], + param: [1, "", ""], + col: [2, "", "
    "], + legend: [1, "
    ", "
    "], + option: [1, ""], + thead: [1, "", "
    "], + tr: [2, "", "
    "], + td: [3, "", "
    "], + g: [1, '', ''], + //IE6-8在用innerHTML生成节点时,不能直接创建no-scope元素与HTML5的新标签 + _default: W3C ? [0, "", ""] : [1, "X
    ", "
    "] //div可以不用闭合 +} +tagHooks.th = tagHooks.td +tagHooks.optgroup = tagHooks.option +tagHooks.tbody = tagHooks.tfoot = tagHooks.colgroup = tagHooks.caption = tagHooks.thead +String("circle,defs,ellipse,image,line,path,polygon,polyline,rect,symbol,text,use").replace(rword, function (tag) { + tagHooks[tag] = tagHooks.g //处理SVG +}) +var rtagName = /<([\w:]+)/ //取得其tagName +var rxhtml = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig +var rcreate = W3C ? /[^\d\D]/ : /(<(?:script|link|style|meta|noscript))/ig +var scriptTypes = oneObject(["", "text/javascript", "text/ecmascript", "application/ecmascript", "application/javascript"]) +var rnest = /<(?:tb|td|tf|th|tr|col|opt|leg|cap|area)/ //需要处理套嵌关系的标签 +var script = DOC.createElement("script") +var rhtml = /<|&#?\w+;/ +avalon.parseHTML = function (html) { + var fragment = avalonFragment.cloneNode(false) + if (typeof html !== "string") { + return fragment + } + if (!rhtml.test(html)) { + fragment.appendChild(DOC.createTextNode(html)) + return fragment + } + html = html.replace(rxhtml, "<$1>").trim() + var tag = (rtagName.exec(html) || ["", ""])[1].toLowerCase(), + //取得其标签名 + wrap = tagHooks[tag] || tagHooks._default, + wrapper = cinerator, + firstChild, neo + if (!W3C) { //fix IE + html = html.replace(rcreate, "
    $1") //在link style script等标签之前添加一个补丁 + } + wrapper.innerHTML = wrap[1] + html + wrap[2] + var els = wrapper.getElementsByTagName("script") + if (els.length) { //使用innerHTML生成的script节点不会发出请求与执行text属性 + for (var i = 0, el; el = els[i++]; ) { + if (scriptTypes[el.type]) { + //以偷龙转凤方式恢复执行脚本功能 + neo = script.cloneNode(false) //FF不能省略参数 + ap.forEach.call(el.attributes, function (attr) { + if (attr && attr.specified) { + neo[attr.name] = attr.value //复制其属性 + neo.setAttribute(attr.name, attr.value) + } + }) // jshint ignore:line + neo.text = el.text + el.parentNode.replaceChild(neo, el) //替换节点 + } + } + } + if (!W3C) { //fix IE + var target = wrap[1] === "X
    " ? wrapper.lastChild.firstChild : wrapper.lastChild + if (target && target.tagName === "TABLE" && tag !== "tbody") { + //IE6-7处理 --> , + // --> , + // -->
    + for (els = target.childNodes, i = 0; el = els[i++]; ) { + if (el.tagName === "TBODY" && !el.innerHTML) { + target.removeChild(el) + break + } + } + } + els = wrapper.getElementsByTagName("br") + var n = els.length + while (el = els[--n]) { + if (el.className === "msNoScope") { + el.parentNode.removeChild(el) + } + } + for (els = wrapper.all, i = 0; el = els[i++]; ) { //fix VML + if (isVML(el)) { + fixVML(el) + } + } + } + //移除我们为了符合套嵌关系而添加的标签 + for (i = wrap[0]; i--; wrapper = wrapper.lastChild) { + } + while (firstChild = wrapper.firstChild) { // 将wrapper上的节点转移到文档碎片上! + fragment.appendChild(firstChild) + } + return fragment +} + +function isVML(src) { + var nodeName = src.nodeName + return nodeName.toLowerCase() === nodeName && src.scopeName && src.outerText === "" +} + +function fixVML(node) { + if (node.currentStyle.behavior !== "url(#default#VML)") { + node.style.behavior = "url(#default#VML)" + node.style.display = "inline-block" + node.style.zoom = 1 //hasLayout + } +} +avalon.innerHTML = function (node, html) { + if (!W3C && (!rcreate.test(html) && !rnest.test(html))) { + try { + node.innerHTML = html + return + } catch (e) { + } + } + var a = this.parseHTML(html) + this.clearHTML(node).appendChild(a) +} +avalon.clearHTML = function (node) { + node.textContent = "" + while (node.firstChild) { + node.removeChild(node.firstChild) + } + return node +} + +/********************************************************************* + * avalon的原型方法定义区 * + **********************************************************************/ + +function hyphen(target) { + //转换为连字符线风格 + return target.replace(/([a-z\d])([A-Z]+)/g, "$1-$2").toLowerCase() +} + +function camelize(target) { + //提前判断,提高getStyle等的效率 + if (!target || target.indexOf("-") < 0 && target.indexOf("_") < 0) { + return target + } + //转换为驼峰风格 + return target.replace(/[-_][^-_]/g, function(match) { + return match.charAt(1).toUpperCase() + }) +} + +var fakeClassListMethods = { + _toString: function() { + var node = this.node + var cls = node.className + var str = typeof cls === "string" ? cls : cls.baseVal + return str.split(/\s+/).join(" ") + }, + _contains: function(cls) { + return (" " + this + " ").indexOf(" " + cls + " ") > -1 + }, + _add: function(cls) { + if (!this.contains(cls)) { + this._set(this + " " + cls) + } + }, + _remove: function(cls) { + this._set((" " + this + " ").replace(" " + cls + " ", " ")) + }, + __set: function(cls) { + cls = cls.trim() + var node = this.node + if (rsvg.test(node)) { + //SVG元素的className是一个对象 SVGAnimatedString { baseVal="", animVal=""},只能通过set/getAttribute操作 + node.setAttribute("class", cls) + } else { + node.className = cls + } + } //toggle存在版本差异,因此不使用它 +} + + function fakeClassList(node) { + if (!("classList" in node)) { + node.classList = { + node: node + } + for (var k in fakeClassListMethods) { + node.classList[k.slice(1)] = fakeClassListMethods[k] + } + } + return node.classList + } + + + "add,remove".replace(rword, function(method) { + avalon.fn[method + "Class"] = function(cls) { + var el = this[0] + //https://developer.mozilla.org/zh-CN/docs/Mozilla/Firefox/Releases/26 + if (cls && typeof cls === "string" && el && el.nodeType === 1) { + cls.replace(/\S+/g, function(c) { + fakeClassList(el)[method](c) + }) + } + return this + } + }) + avalon.fn.mix({ + hasClass: function(cls) { + var el = this[0] || {} + return el.nodeType === 1 && fakeClassList(el).contains(cls) + }, + toggleClass: function(value, stateVal) { + var className, i = 0 + var classNames = String(value).split(/\s+/) + var isBool = typeof stateVal === "boolean" + while ((className = classNames[i++])) { + var state = isBool ? stateVal : !this.hasClass(className) + this[state ? "addClass" : "removeClass"](className) + } + return this + }, + attr: function(name, value) { + if (arguments.length === 2) { + this[0].setAttribute(name, value) + return this + } else { + return this[0].getAttribute(name) + } + }, + data: function(name, value) { + name = "data-" + hyphen(name || "") + switch (arguments.length) { + case 2: + this.attr(name, value) + return this + case 1: + var val = this.attr(name) + return parseData(val) + case 0: + var ret = {} + ap.forEach.call(this[0].attributes, function(attr) { + if (attr) { + name = attr.name + if (!name.indexOf("data-")) { + name = camelize(name.slice(5)) + ret[name] = parseData(attr.value) + } + } + }) + return ret + } + }, + removeData: function(name) { + name = "data-" + hyphen(name) + this[0].removeAttribute(name) + return this + }, + css: function(name, value) { + if (avalon.isPlainObject(name)) { + for (var i in name) { + avalon.css(this, i, name[i]) + } + } else { + var ret = avalon.css(this, name, value) + } + return ret !== void 0 ? ret : this + }, + position: function() { + var offsetParent, offset, + elem = this[0], + parentOffset = { + top: 0, + left: 0 + } + if (!elem) { + return + } + if (this.css("position") === "fixed") { + offset = elem.getBoundingClientRect() + } else { + offsetParent = this.offsetParent() //得到真正的offsetParent + offset = this.offset() // 得到正确的offsetParent + if (offsetParent[0].tagName !== "HTML") { + parentOffset = offsetParent.offset() + } + parentOffset.top += avalon.css(offsetParent[0], "borderTopWidth", true) + parentOffset.left += avalon.css(offsetParent[0], "borderLeftWidth", true) + + // Subtract offsetParent scroll positions + parentOffset.top -= offsetParent.scrollTop() + parentOffset.left -= offsetParent.scrollLeft() + } + return { + top: offset.top - parentOffset.top - avalon.css(elem, "marginTop", true), + left: offset.left - parentOffset.left - avalon.css(elem, "marginLeft", true) + } + }, + offsetParent: function() { + var offsetParent = this[0].offsetParent + while (offsetParent && avalon.css(offsetParent, "position") === "static") { + offsetParent = offsetParent.offsetParent; + } + return avalon(offsetParent || root) + }, + bind: function(type, fn, phase) { + if (this[0]) { //此方法不会链 + return avalon.bind(this[0], type, fn, phase) + } + }, + unbind: function(type, fn, phase) { + if (this[0]) { + avalon.unbind(this[0], type, fn, phase) + } + return this + }, + val: function(value) { + var node = this[0] + if (node && node.nodeType === 1) { + var get = arguments.length === 0 + var access = get ? ":get" : ":set" + var fn = valHooks[getValType(node) + access] + if (fn) { + var val = fn(node, value) + } else if (get) { + return (node.value || "").replace(/\r/g, "") + } else { + node.value = value + } + } + return get ? val : this + } + }) + + function parseData(data) { + try { + if (typeof data === "object") + return data + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : +data + "" === data ? +data : rbrace.test(data) ? avalon.parseJSON(data) : data + } catch (e) {} + return data + } +var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/, + rvalidchars = /^[\],:{}\s]*$/, + rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g, + rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g, + rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g +avalon.parseJSON = window.JSON ? JSON.parse : function(data) { + if (typeof data === "string") { + data = data.trim(); + if (data) { + if (rvalidchars.test(data.replace(rvalidescape, "@") + .replace(rvalidtokens, "]") + .replace(rvalidbraces, ""))) { + return (new Function("return " + data))() // jshint ignore:line + } + } + avalon.error("Invalid JSON: " + data) + } + return data +} + +//生成avalon.fn.scrollLeft, avalon.fn.scrollTop方法 +avalon.each({ + scrollLeft: "pageXOffset", + scrollTop: "pageYOffset" +}, function(method, prop) { + avalon.fn[method] = function(val) { + var node = this[0] || {}, win = getWindow(node), + top = method === "scrollTop" + if (!arguments.length) { + return win ? (prop in win) ? win[prop] : root[method] : node[method] + } else { + if (win) { + win.scrollTo(!top ? val : avalon(win).scrollLeft(), top ? val : avalon(win).scrollTop()) + } else { + node[method] = val + } + } + } +}) + +function getWindow(node) { + return node.window && node.document ? node : node.nodeType === 9 ? node.defaultView || node.parentWindow : false; +} +//=============================css相关======================= +var cssHooks = avalon.cssHooks = {} +var prefixes = ["", "-webkit-", "-o-", "-moz-", "-ms-"] +var cssMap = { + "float": W3C ? "cssFloat" : "styleFloat" +} +avalon.cssNumber = oneObject("columnCount,order,fillOpacity,fontWeight,lineHeight,opacity,orphans,widows,zIndex,zoom") + +avalon.cssName = function(name, host, camelCase) { + if (cssMap[name]) { + return cssMap[name] + } + host = host || root.style + for (var i = 0, n = prefixes.length; i < n; i++) { + camelCase = camelize(prefixes[i] + name) + if (camelCase in host) { + return (cssMap[name] = camelCase) + } + } + return null +} +cssHooks["@:set"] = function(node, name, value) { + try { //node.style.width = NaN;node.style.width = "xxxxxxx";node.style.width = undefine 在旧式IE下会抛异常 + node.style[name] = value + } catch (e) {} +} +if (window.getComputedStyle) { + cssHooks["@:get"] = function(node, name) { + if (!node || !node.style) { + throw new Error("getComputedStyle要求传入一个节点 " + node) + } + var ret, styles = getComputedStyle(node, null) + if (styles) { + ret = name === "filter" ? styles.getPropertyValue(name) : styles[name] + if (ret === "") { + ret = node.style[name] //其他浏览器需要我们手动取内联样式 + } + } + return ret + } + cssHooks["opacity:get"] = function(node) { + var ret = cssHooks["@:get"](node, "opacity") + return ret === "" ? "1" : ret + } +} else { + var rnumnonpx = /^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i + var rposition = /^(top|right|bottom|left)$/ + var ralpha = /alpha\([^)]*\)/i + var ie8 = !! window.XDomainRequest + var salpha = "DXImageTransform.Microsoft.Alpha" + var border = { + thin: ie8 ? '1px' : '2px', + medium: ie8 ? '3px' : '4px', + thick: ie8 ? '5px' : '6px' + } + cssHooks["@:get"] = function(node, name) { + //取得精确值,不过它有可能是带em,pc,mm,pt,%等单位 + var currentStyle = node.currentStyle + var ret = currentStyle[name] + if ((rnumnonpx.test(ret) && !rposition.test(ret))) { + //①,保存原有的style.left, runtimeStyle.left, + var style = node.style, + left = style.left, + rsLeft = node.runtimeStyle.left + //②由于③处的style.left = xxx会影响到currentStyle.left, + //因此把它currentStyle.left放到runtimeStyle.left, + //runtimeStyle.left拥有最高优先级,不会style.left影响 + node.runtimeStyle.left = currentStyle.left + //③将精确值赋给到style.left,然后通过IE的另一个私有属性 style.pixelLeft + //得到单位为px的结果;fontSize的分支见http://bugs.jquery.com/ticket/760 + style.left = name === 'fontSize' ? '1em' : (ret || 0) + ret = style.pixelLeft + "px" + //④还原 style.left,runtimeStyle.left + style.left = left + node.runtimeStyle.left = rsLeft + } + if (ret === "medium") { + name = name.replace("Width", "Style") + //border width 默认值为medium,即使其为0" + if (currentStyle[name] === "none") { + ret = "0px" + } + } + return ret === "" ? "auto" : border[ret] || ret + } + cssHooks["opacity:set"] = function(node, name, value) { + var style = node.style + var opacity = isFinite(value) && value <= 1 ? "alpha(opacity=" + value * 100 + ")" : "" + var filter = style.filter || ""; + style.zoom = 1 + //不能使用以下方式设置透明度 + //node.filters.alpha.opacity = value * 100 + style.filter = (ralpha.test(filter) ? + filter.replace(ralpha, opacity) : + filter + " " + opacity).trim() + if (!style.filter) { + style.removeAttribute("filter") + } + } + cssHooks["opacity:get"] = function(node) { + //这是最快的获取IE透明值的方式,不需要动用正则了! + var alpha = node.filters.alpha || node.filters[salpha], + op = alpha && alpha.enabled ? alpha.opacity : 100 + return (op / 100) + "" //确保返回的是字符串 + } +} + +"top,left".replace(rword, function(name) { + cssHooks[name + ":get"] = function(node) { + var computed = cssHooks["@:get"](node, name) + return /px$/.test(computed) ? computed : + avalon(node).position()[name] + "px" + } +}) + +var cssShow = { + position: "absolute", + visibility: "hidden", + display: "block" +} + +var rdisplayswap = /^(none|table(?!-c[ea]).+)/ + + function showHidden(node, array) { + //http://www.cnblogs.com/rubylouvre/archive/2012/10/27/2742529.html + if (node.offsetWidth <= 0) { //opera.offsetWidth可能小于0 + if (rdisplayswap.test(cssHooks["@:get"](node, "display"))) { + var obj = { + node: node + } + for (var name in cssShow) { + obj[name] = node.style[name] + node.style[name] = cssShow[name] + } + array.push(obj) + } + var parent = node.parentNode + if (parent && parent.nodeType === 1) { + showHidden(parent, array) + } + } + } + "Width,Height".replace(rword, function(name) { //fix 481 + var method = name.toLowerCase(), + clientProp = "client" + name, + scrollProp = "scroll" + name, + offsetProp = "offset" + name + cssHooks[method + ":get"] = function(node, which, override) { + var boxSizing = -4 + if (typeof override === "number") { + boxSizing = override + } + which = name === "Width" ? ["Left", "Right"] : ["Top", "Bottom"] + var ret = node[offsetProp] // border-box 0 + if (boxSizing === 2) { // margin-box 2 + return ret + avalon.css(node, "margin" + which[0], true) + avalon.css(node, "margin" + which[1], true) + } + if (boxSizing < 0) { // padding-box -2 + ret = ret - avalon.css(node, "border" + which[0] + "Width", true) - avalon.css(node, "border" + which[1] + "Width", true) + } + if (boxSizing === -4) { // content-box -4 + ret = ret - avalon.css(node, "padding" + which[0], true) - avalon.css(node, "padding" + which[1], true) + } + return ret + } + cssHooks[method + "&get"] = function(node) { + var hidden = []; + showHidden(node, hidden); + var val = cssHooks[method + ":get"](node) + for (var i = 0, obj; obj = hidden[i++];) { + node = obj.node + for (var n in obj) { + if (typeof obj[n] === "string") { + node.style[n] = obj[n] + } + } + } + return val; + } + avalon.fn[method] = function(value) { //会忽视其display + var node = this[0] + if (arguments.length === 0) { + if (node.setTimeout) { //取得窗口尺寸,IE9后可以用node.innerWidth /innerHeight代替 + return node["inner" + name] || node.document.documentElement[clientProp] + } + if (node.nodeType === 9) { //取得页面尺寸 + var doc = node.documentElement + //FF chrome html.scrollHeight< body.scrollHeight + //IE 标准模式 : html.scrollHeight> body.scrollHeight + //IE 怪异模式 : html.scrollHeight 最大等于可视窗口多一点? + return Math.max(node.body[scrollProp], doc[scrollProp], node.body[offsetProp], doc[offsetProp], doc[clientProp]) + } + return cssHooks[method + "&get"](node) + } else { + return this.css(method, value) + } + } + avalon.fn["inner" + name] = function() { + return cssHooks[method + ":get"](this[0], void 0, -2) + } + avalon.fn["outer" + name] = function(includeMargin) { + return cssHooks[method + ":get"](this[0], void 0, includeMargin === true ? 2 : 0) + } + }) + avalon.fn.offset = function() { //取得距离页面左右角的坐标 + var node = this[0], + box = { + left: 0, + top: 0 + } + if (!node || !node.tagName || !node.ownerDocument) { + return box + } + var doc = node.ownerDocument, + body = doc.body, + root = doc.documentElement, + win = doc.defaultView || doc.parentWindow + if (!avalon.contains(root, node)) { + return box + } + //http://hkom.blog1.fc2.com/?mode=m&no=750 body的偏移量是不包含margin的 + //我们可以通过getBoundingClientRect来获得元素相对于client的rect. + //http://msdn.microsoft.com/en-us/library/ms536433.aspx + if (node.getBoundingClientRect) { + box = node.getBoundingClientRect() // BlackBerry 5, iOS 3 (original iPhone) + } + //chrome/IE6: body.scrollTop, firefox/other: root.scrollTop + var clientTop = root.clientTop || body.clientTop, + clientLeft = root.clientLeft || body.clientLeft, + scrollTop = Math.max(win.pageYOffset || 0, root.scrollTop, body.scrollTop), + scrollLeft = Math.max(win.pageXOffset || 0, root.scrollLeft, body.scrollLeft) + // 把滚动距离加到left,top中去。 + // IE一些版本中会自动为HTML元素加上2px的border,我们需要去掉它 + // http://msdn.microsoft.com/en-us/library/ms533564(VS.85).aspx + return { + top: box.top + scrollTop - clientTop, + left: box.left + scrollLeft - clientLeft + } + } + + //==================================val相关============================ + + function getValType(elem) { + var ret = elem.tagName.toLowerCase() + return ret === "input" && /checkbox|radio/.test(elem.type) ? "checked" : ret + } +var roption = /^]+))?)*\s+value[\s=]/i +var valHooks = { + "option:get": IEVersion ? function(node) { + //在IE11及W3C,如果没有指定value,那么node.value默认为node.text(存在trim作),但IE9-10则是取innerHTML(没trim操作) + //specified并不可靠,因此通过分析outerHTML判定用户有没有显示定义value + return roption.test(node.outerHTML) ? node.value : node.text.trim() + } : function(node) { + return node.value + }, + "select:get": function(node, value) { + var option, options = node.options, + index = node.selectedIndex, + getter = valHooks["option:get"], + one = node.type === "select-one" || index < 0, + values = one ? null : [], + max = one ? index + 1 : options.length, + i = index < 0 ? max : one ? index : 0 + for (; i < max; i++) { + option = options[i] + //旧式IE在reset后不会改变selected,需要改用i === index判定 + //我们过滤所有disabled的option元素,但在safari5下,如果设置select为disable,那么其所有孩子都disable + //因此当一个元素为disable,需要检测其是否显式设置了disable及其父节点的disable情况 + if ((option.selected || i === index) && !option.disabled) { + value = getter(option) + if (one) { + return value + } + //收集所有selected值组成数组返回 + values.push(value) + } + } + return values + }, + "select:set": function(node, values, optionSet) { + values = [].concat(values) //强制转换为数组 + var getter = valHooks["option:get"] + for (var i = 0, el; el = node.options[i++];) { + if ((el.selected = values.indexOf(getter(el)) > -1)) { + optionSet = true + } + } + if (!optionSet) { + node.selectedIndex = -1 + } + } +} + +/********************************************************************* + * 编译系统 * + **********************************************************************/ +var meta = { + '\b': '\\b', + '\t': '\\t', + '\n': '\\n', + '\f': '\\f', + '\r': '\\r', + '"': '\\"', + '\\': '\\\\' +} +var quote = window.JSON && JSON.stringify || function(str) { + return '"' + str.replace(/[\\\"\x00-\x1f]/g, function(a) { + var c = meta[a]; + return typeof c === 'string' ? c : + '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); + }) + '"' +} + +var keywords = [ + "break,case,catch,continue,debugger,default,delete,do,else,false", + "finally,for,function,if,in,instanceof,new,null,return,switch,this", + "throw,true,try,typeof,var,void,while,with", /* 关键字*/ + "abstract,boolean,byte,char,class,const,double,enum,export,extends", + "final,float,goto,implements,import,int,interface,long,native", + "package,private,protected,public,short,static,super,synchronized", + "throws,transient,volatile", /*保留字*/ + "arguments,let,yield,undefined" /* ECMA 5 - use strict*/].join(",") +var rrexpstr = /\/\*[\w\W]*?\*\/|\/\/[^\n]*\n|\/\/[^\n]*$|"(?:[^"\\]|\\[\w\W])*"|'(?:[^'\\]|\\[\w\W])*'|[\s\t\n]*\.[\s\t\n]*[$\w\.]+/g +var rsplit = /[^\w$]+/g +var rkeywords = new RegExp(["\\b" + keywords.replace(/,/g, '\\b|\\b') + "\\b"].join('|'), 'g') +var rnumber = /\b\d[^,]*/g +var rcomma = /^,+|,+$/g +var variablePool = new Cache(512) +var getVariables = function (code) { + var key = "," + code.trim() + var ret = variablePool.get(key) + if (ret) { + return ret + } + var match = code + .replace(rrexpstr, "") + .replace(rsplit, ",") + .replace(rkeywords, "") + .replace(rnumber, "") + .replace(rcomma, "") + .split(/^$|,+/) + return variablePool.put(key, uniqSet(match)) +} +/*添加赋值语句*/ + +function addAssign(vars, scope, name, data) { + var ret = [], + prefix = " = " + name + "." + for (var i = vars.length, prop; prop = vars[--i]; ) { + if (scope.hasOwnProperty(prop)) { + ret.push(prop + prefix + prop) + data.vars.push(prop) + if (data.type === "duplex") { + vars.get = name + "." + prop + } + vars.splice(i, 1) + } + } + return ret +} + +function uniqSet(array) { + var ret = [], + unique = {} + for (var i = 0; i < array.length; i++) { + var el = array[i] + var id = el && typeof el.$id === "string" ? el.$id : el + if (!unique[id]) { + unique[id] = ret.push(el) + } + } + return ret +} +//缓存求值函数,以便多次利用 +var evaluatorPool = new Cache(128) +//取得求值函数及其传参 +var rduplex = /\w\[.*\]|\w\.\w/ +var rproxy = /(\$proxy\$[a-z]+)\d+$/ +var rthimRightParentheses = /\)\s*$/ +var rthimOtherParentheses = /\)\s*\|/g +var rquoteFilterName = /\|\s*([$\w]+)/g +var rpatchBracket = /"\s*\["/g +var rthimLeftParentheses = /"\s*\(/g +function parseFilter(val, filters) { + filters = filters + .replace(rthimRightParentheses, "")//处理最后的小括号 + .replace(rthimOtherParentheses, function () {//处理其他小括号 + return "],|" + }) + .replace(rquoteFilterName, function (a, b) { //处理|及它后面的过滤器的名字 + return "[" + quote(b) + }) + .replace(rpatchBracket, function () { + return '"],["' + }) + .replace(rthimLeftParentheses, function () { + return '",' + }) + "]" + return "return avalon.filters.$filter(" + val + ", " + filters + ")" +} + +function parseExpr(code, scopes, data) { + var dataType = data.type + var filters = data.filters || "" + var exprId = scopes.map(function (el) { + return String(el.$id).replace(rproxy, "$1") + }) + code + dataType + filters + var vars = getVariables(code).concat(), + assigns = [], + names = [], + args = [], + prefix = "" + //args 是一个对象数组, names 是将要生成的求值函数的参数 + scopes = uniqSet(scopes) + data.vars = [] + for (var i = 0, sn = scopes.length; i < sn; i++) { + if (vars.length) { + var name = "vm" + expose + "_" + i + names.push(name) + args.push(scopes[i]) + assigns.push.apply(assigns, addAssign(vars, scopes[i], name, data)) + } + } + if (!assigns.length && dataType === "duplex") { + return + } + if (dataType !== "duplex" && (code.indexOf("||") > -1 || code.indexOf("&&") > -1)) { + //https://github.com/RubyLouvre/avalon/issues/583 + data.vars.forEach(function (v) { + var reg = new RegExp("\\b" + v + "(?:\\.\\w+|\\[\\w+\\])+", "ig") + code = code.replace(reg, function (_) { + var c = _.charAt(v.length) + var r = IEVersion ? code.slice(arguments[1] + _.length) : RegExp.rightContext + var method = /^\s*\(/.test(r) + if (c === "." || c === "[" || method) {//比如v为aa,我们只匹配aa.bb,aa[cc],不匹配aaa.xxx + var name = "var" + String(Math.random()).replace(/^0\./, "") + if (method) {//array.size() + var array = _.split(".") + if (array.length > 2) { + var last = array.pop() + assigns.push(name + " = " + array.join(".")) + return name + "." + last + } else { + return _ + } + } + assigns.push(name + " = " + _) + return name + } else { + return _ + } + }) + }) + } + //---------------args---------------- + data.args = args + //---------------cache---------------- + delete data.vars + var fn = evaluatorPool.get(exprId) //直接从缓存,免得重复生成 + if (fn) { + data.evaluator = fn + return + } + prefix = assigns.join(", ") + if (prefix) { + prefix = "var " + prefix + } + if (/\S/.test(filters)) { //文本绑定,双工绑定才有过滤器 + if (!/text|html/.test(data.type)) { + throw Error("ms-" + data.type + "不支持过滤器") + } + code = "\nvar ret" + expose + " = " + code + ";\r\n" + code += parseFilter("ret" + expose, filters) + } else if (dataType === "duplex") { //双工绑定 + var _body = "'use strict';\nreturn function(vvv){\n\t" + + prefix + + ";\n\tif(!arguments.length){\n\t\treturn " + + code + + "\n\t}\n\t" + (!rduplex.test(code) ? vars.get : code) + + "= vvv;\n} " + try { + fn = Function.apply(noop, names.concat(_body)) + data.evaluator = evaluatorPool.put(exprId, fn) + } catch (e) { + log("debug: parse error," + e.message) + } + return + } else if (dataType === "on") { //事件绑定 + if (code.indexOf("(") === -1) { + code += ".call(this, $event)" + } else { + code = code.replace("(", ".call(this,") + } + names.push("$event") + code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;") + var lastIndex = code.lastIndexOf("\nreturn") + var header = code.slice(0, lastIndex) + var footer = code.slice(lastIndex) + code = header + "\n" + footer + } else { //其他绑定 + code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;") + } + try { + fn = Function.apply(noop, names.concat("'use strict';\n" + prefix + code)) + data.evaluator = evaluatorPool.put(exprId, fn) + } catch (e) { + log("debug: parse error," + e.message) + } finally { + vars = assigns = names = null //释放内存 + } +} + + +//parseExpr的智能引用代理 + +function parseExprProxy(code, scopes, data, tokens, noRegister) { + if (Array.isArray(tokens)) { + code = tokens.map(function (el) { + return el.expr ? "(" + el.value + ")" : quote(el.value) + }).join(" + ") + } + parseExpr(code, scopes, data) + if (data.evaluator && !noRegister) { + data.handler = bindingExecutors[data.handlerName || data.type] + //方便调试 + //这里非常重要,我们通过判定视图刷新函数的element是否在DOM树决定 + //将它移出订阅者列表 + avalon.injectBinding(data) + } +} +avalon.parseExprProxy = parseExprProxy +/********************************************************************* + * 扫描系统 * + **********************************************************************/ + +avalon.scan = function(elem, vmodel) { + elem = elem || root + var vmodels = vmodel ? [].concat(vmodel) : [] + scanTag(elem, vmodels) +} + +//http://www.w3.org/TR/html5/syntax.html#void-elements +var stopScan = oneObject("area,base,basefont,br,col,command,embed,hr,img,input,link,meta,param,source,track,wbr,noscript,script,style,textarea".toUpperCase()) + +function checkScan(elem, callback, innerHTML) { + var id = setTimeout(function() { + var currHTML = elem.innerHTML + clearTimeout(id) + if (currHTML === innerHTML) { + callback() + } else { + checkScan(elem, callback, currHTML) + } + }) +} + + +function createSignalTower(elem, vmodel) { + var id = elem.getAttribute("avalonctrl") || vmodel.$id + elem.setAttribute("avalonctrl", id) + vmodel.$events.expr = elem.tagName + '[avalonctrl="' + id + '"]' +} + +var getBindingCallback = function(elem, name, vmodels) { + var callback = elem.getAttribute(name) + if (callback) { + for (var i = 0, vm; vm = vmodels[i++]; ) { + if (vm.hasOwnProperty(callback) && typeof vm[callback] === "function") { + return vm[callback] + } + } + } +} + +function executeBindings(bindings, vmodels) { + for (var i = 0, data; data = bindings[i++]; ) { + data.vmodels = vmodels + bindingHandlers[data.type](data, vmodels) + if (data.evaluator && data.element && data.element.nodeType === 1) { //移除数据绑定,防止被二次解析 + //chrome使用removeAttributeNode移除不存在的特性节点时会报错 https://github.com/RubyLouvre/avalon/issues/99 + data.element.removeAttribute(data.name) + } + } + bindings.length = 0 +} + +//https://github.com/RubyLouvre/avalon/issues/636 +var mergeTextNodes = IEVersion && window.MutationObserver ? function (elem) { + var node = elem.firstChild, text + while (node) { + var aaa = node.nextSibling + if (node.nodeType === 3) { + if (text) { + text.nodeValue += node.nodeValue + elem.removeChild(node) + } else { + text = node + } + } else { + text = null + } + node = aaa + } +} : 0 +var roneTime = /^\s*::/ +var rmsAttr = /ms-(\w+)-?(.*)/ +var priorityMap = { + "if": 10, + "repeat": 90, + "data": 100, + "widget": 110, + "each": 1400, + "with": 1500, + "duplex": 2000, + "on": 3000 +} + +var events = oneObject("animationend,blur,change,input,click,dblclick,focus,keydown,keypress,keyup,mousedown,mouseenter,mouseleave,mousemove,mouseout,mouseover,mouseup,scan,scroll,submit") +var obsoleteAttrs = oneObject("value,title,alt,checked,selected,disabled,readonly,enabled") +function bindingSorter(a, b) { + return a.priority - b.priority +} + +function scanAttr(elem, vmodels, match) { + var scanNode = true + if (vmodels.length) { + var attributes = getAttributes ? getAttributes(elem) : elem.attributes + var bindings = [] + var fixAttrs = [] + var msData = {} + for (var i = 0, attr; attr = attributes[i++]; ) { + if (attr.specified) { + if (match = attr.name.match(rmsAttr)) { + //如果是以指定前缀命名的 + var type = match[1] + var param = match[2] || "" + var value = attr.value + var name = attr.name + if (events[type]) { + param = type + type = "on" + } else if (obsoleteAttrs[type]) { + if (type === "enabled") {//吃掉ms-enabled绑定,用ms-disabled代替 + log("warning!ms-enabled或ms-attr-enabled已经被废弃") + type = "disabled" + value = "!(" + value + ")" + } + param = type + type = "attr" + name = "ms-" + type + "-"+ param + fixAttrs.push([attr.name, name, value]) + } + msData[name] = value + if (typeof bindingHandlers[type] === "function") { + var newValue = value.replace(roneTime, "") + var oneTime = value !== newValue + var binding = { + type: type, + param: param, + element: elem, + name: name, + value: newValue, + oneTime: oneTime, + uuid: name+"-"+getUid(elem), + //chrome与firefox下Number(param)得到的值不一样 #855 + priority: (priorityMap[type] || type.charCodeAt(0) * 10 )+ (Number(param.replace(/\D/g, "")) || 0) + } + if (type === "html" || type === "text") { + var token = getToken(value) + avalon.mix(binding, token) + binding.filters = binding.filters.replace(rhasHtml, function () { + binding.type = "html" + binding.group = 1 + return "" + })// jshint ignore:line + } else if (type === "duplex") { + var hasDuplex = name + } else if (name === "ms-if-loop") { + binding.priority += 100 + } + bindings.push(binding) + if (type === "widget") { + elem.msData = elem.msData || msData + } + } + } + } + } + if (bindings.length) { + bindings.sort(bindingSorter) + fixAttrs.forEach(function (arr) { + log("warning!请改用" + arr[1] + "代替" + arr[0] + "!") + elem.removeAttribute(arr[0]) + elem.setAttribute(arr[1], arr[2]) + }) + //http://bugs.jquery.com/ticket/7071 + //在IE下对VML读取type属性,会让此元素所有属性都变成 + if (hasDuplex) { + if (msData["ms-attr-checked"]) { + log("warning!一个控件不能同时定义ms-attr-checked与" + hasDuplex) + } + if (msData["ms-attr-value"]) { + log("warning!一个控件不能同时定义ms-attr-value与" + hasDuplex) + } + } + for (i = 0; binding = bindings[i]; i++) { + type = binding.type + if (rnoscanAttrBinding.test(type)) { + return executeBindings(bindings.slice(0, i + 1), vmodels) + } else if (scanNode) { + scanNode = !rnoscanNodeBinding.test(type) + } + } + executeBindings(bindings, vmodels) + } + } + if (scanNode && !stopScan[elem.tagName] && rbind.test(elem.innerHTML.replace(rlt, "<").replace(rgt, ">"))) { + mergeTextNodes && mergeTextNodes(elem) + scanNodeList(elem, vmodels) //扫描子孙元素 + } +} +var rnoscanAttrBinding = /^if|widget|repeat$/ +var rnoscanNodeBinding = /^each|with|html|include$/ +//IE67下,在循环绑定中,一个节点如果是通过cloneNode得到,自定义属性的specified为false,无法进入里面的分支, +//但如果我们去掉scanAttr中的attr.specified检测,一个元素会有80+个特性节点(因为它不区分固有属性与自定义属性),很容易卡死页面 +if (!"1" [0]) { + var attrPool = new Cache(512) + var rattrs = /\s+(ms-[^=\s]+)(?:=("[^"]*"|'[^']*'|[^\s>]+))?/g, + rquote = /^['"]/, + rtag = /<\w+\b(?:(["'])[^"]*?(\1)|[^>])*>/i, + ramp = /&/g + //IE6-8解析HTML5新标签,会将它分解两个元素节点与一个文本节点 + //
    ddd
    + // window.onload = function() { + // var body = document.body + // for (var i = 0, el; el = body.children[i++]; ) { + // avalon.log(el.outerHTML) + // } + // } + //依次输出
    ,
    + var getAttributes = function (elem) { + var html = elem.outerHTML + //处理IE6-8解析HTML5新标签的情况,及
    等半闭合标签outerHTML为空的情况 + if (html.slice(0, 2) === " ms-important(1) --> ms-controller(2) --> ms-if(10) --> ms-repeat(100) + //--> ms-if-loop(110) --> ms-attr(970) ...--> ms-each(1400)-->ms-with(1500)--〉ms-duplex(2000)垫后 + var a = elem.getAttribute("ms-skip") + //#360 在旧式IE中 Object标签在引入Flash等资源时,可能出现没有getAttributeNode,innerHTML的情形 + if (!elem.getAttributeNode) { + return log("warning " + elem.tagName + " no getAttributeNode method") + } + var b = elem.getAttributeNode("ms-important") + var c = elem.getAttributeNode("ms-controller") + if (typeof a === "string") { + return + } else if (node = b || c) { + var newVmodel = avalon.vmodels[node.value] + if (!newVmodel) { + return + } + //ms-important不包含父VM,ms-controller相反 + vmodels = node === b ? [newVmodel] : [newVmodel].concat(vmodels) + var name = node.name + elem.removeAttribute(name) //removeAttributeNode不会刷新[ms-controller]样式规则 + avalon(elem).removeClass(name) + createSignalTower(elem, newVmodel) + } + scanAttr(elem, vmodels) //扫描特性节点 +} +var rhasHtml = /\|\s*html(?:\b|$)/, + r11a = /\|\|/g, + rlt = /</g, + rgt = />/g, + rstringLiteral = /(['"])(\\\1|.)+?\1/g +function getToken(value) { + if (value.indexOf("|") > 0) { + var scapegoat = value.replace(rstringLiteral, function (_) { + return Array(_.length + 1).join("1")// jshint ignore:line + }) + var index = scapegoat.replace(r11a, "\u1122\u3344").indexOf("|") //干掉所有短路或 + if (index > -1) { + return { + filters: value.slice(index), + value: value.slice(0, index), + expr: true + } + } + } + return { + value: value, + filters: "", + expr: true + } +} + +function scanExpr(str) { + var tokens = [], + value, start = 0, + stop + do { + stop = str.indexOf(openTag, start) + if (stop === -1) { + break + } + value = str.slice(start, stop) + if (value) { // {{ 左边的文本 + tokens.push({ + value: value, + filters: "", + expr: false + }) + } + start = stop + openTag.length + stop = str.indexOf(closeTag, start) + if (stop === -1) { + break + } + value = str.slice(start, stop) + if (value) { //处理{{ }}插值表达式 + tokens.push(getToken(value, start)) + } + start = stop + closeTag.length + } while (1) + value = str.slice(start) + if (value) { //}} 右边的文本 + tokens.push({ + value: value, + expr: false, + filters: "" + }) + } + return tokens +} + +function scanText(textNode, vmodels, index) { + var bindings = [] + tokens = scanExpr(textNode.data) + if (tokens.length) { + for (var i = 0; token = tokens[i++]; ) { + var node = DOC.createTextNode(token.value) //将文本转换为文本节点,并替换原来的文本节点 + if (token.expr) { + token.value = token.value.replace(roneTime, function () { + token.oneTime = true + return "" + }) + token.type = "text" + token.element = node + token.filters = token.filters.replace(rhasHtml, function (a, b,c) { + token.type = "html" + return "" + })// jshint ignore:line + token.pos = index * 1000 + i + bindings.push(token) //收集带有插值表达式的文本 + } + avalonFragment.appendChild(node) + } + textNode.parentNode.replaceChild(avalonFragment, textNode) + if (bindings.length) + executeBindings(bindings, vmodels) + } +} + +var bools = ["autofocus,autoplay,async,allowTransparency,checked,controls", + "declare,disabled,defer,defaultChecked,defaultSelected", + "contentEditable,isMap,loop,multiple,noHref,noResize,noShade", + "open,readOnly,selected" +].join(",") +var boolMap = {} +bools.replace(rword, function(name) { + boolMap[name.toLowerCase()] = name +}) + +var propMap = { //属性名映射 + "accept-charset": "acceptCharset", + "char": "ch", + "charoff": "chOff", + "class": "className", + "for": "htmlFor", + "http-equiv": "httpEquiv" +} + +var anomaly = ["accessKey,bgColor,cellPadding,cellSpacing,codeBase,codeType,colSpan", + "dateTime,defaultValue,frameBorder,longDesc,maxLength,marginWidth,marginHeight", + "rowSpan,tabIndex,useMap,vSpace,valueType,vAlign" +].join(",") +anomaly.replace(rword, function(name) { + propMap[name.toLowerCase()] = name +}) + +var rnoscripts = /(?:[\s\S]+?)<\/noscript>/img +var rnoscriptText = /([\s\S]+?)<\/noscript>/im + +var getXHR = function() { + return new(window.XMLHttpRequest || ActiveXObject)("Microsoft.XMLHTTP") // jshint ignore:line +} + +var templatePool = avalon.templateCache = {} + +bindingHandlers.attr = function(data, vmodels) { + var text = data.value.trim(), + simple = true + if (text.indexOf(openTag) > -1 && text.indexOf(closeTag) > 2) { + simple = false + if (rexpr.test(text) && RegExp.rightContext === "" && RegExp.leftContext === "") { + simple = true + text = RegExp.$1 + } + } + if (data.type === "include") { + var elem = data.element + data.includeRendered = getBindingCallback(elem, "data-include-rendered", vmodels) + data.includeLoaded = getBindingCallback(elem, "data-include-loaded", vmodels) + var outer = data.includeReplace = !! avalon(elem).data("includeReplace") + if (avalon(elem).data("includeCache")) { + data.templateCache = {} + } + data.startInclude = DOC.createComment("ms-include") + data.endInclude = DOC.createComment("ms-include-end") + if (outer) { + data.element = data.startInclude + elem.parentNode.insertBefore(data.startInclude, elem) + elem.parentNode.insertBefore(data.endInclude, elem.nextSibling) + } else { + elem.insertBefore(data.startInclude, elem.firstChild) + elem.appendChild(data.endInclude) + } + } + data.handlerName = "attr" //handleName用于处理多种绑定共用同一种bindingExecutor的情况 + parseExprProxy(text, vmodels, data, (simple ? 0 : scanExpr(data.value))) +} + +bindingExecutors.attr = function(val, elem, data) { + var method = data.type, + attrName = data.param + if (method === "css") { + avalon(elem).css(attrName, val) + } else if (method === "attr") { + + // ms-attr-class="xxx" vm.xxx="aaa bbb ccc"将元素的className设置为aaa bbb ccc + // ms-attr-class="xxx" vm.xxx=false 清空元素的所有类名 + // ms-attr-name="yyy" vm.yyy="ooo" 为元素设置name属性 + var toRemove = (val === false) || (val === null) || (val === void 0) + + if (!W3C && propMap[attrName]) { //旧式IE下需要进行名字映射 + attrName = propMap[attrName] + } + var bool = boolMap[attrName] + if (typeof elem[bool] === "boolean") { + elem[bool] = !! val //布尔属性必须使用el.xxx = true|false方式设值 + if (!val) { //如果为false, IE全系列下相当于setAttribute(xxx,''),会影响到样式,需要进一步处理 + toRemove = true + } + } + if (toRemove) { + return elem.removeAttribute(attrName) + } + //SVG只能使用setAttribute(xxx, yyy), VML只能使用elem.xxx = yyy ,HTML的固有属性必须elem.xxx = yyy + var isInnate = rsvg.test(elem) ? false : (DOC.namespaces && isVML(elem)) ? true : attrName in elem.cloneNode(false) + if (isInnate) { + elem[attrName] = val+"" + } else { + elem.setAttribute(attrName, val) + } + } else if (method === "include" && val) { + var vmodels = data.vmodels + var rendered = data.includeRendered + var loaded = data.includeLoaded + var replace = data.includeReplace + var target = replace ? elem.parentNode : elem + var scanTemplate = function(text) { + if (loaded) { + var newText = loaded.apply(target, [text].concat(vmodels)) + if (typeof newText === "string") + text = newText + } + if (rendered) { + checkScan(target, function() { + rendered.call(target) + }, NaN) + } + var lastID = data.includeLastID + if (data.templateCache && lastID && lastID !== val) { + var lastTemplate = data.templateCache[lastID] + if (!lastTemplate) { + lastTemplate = data.templateCache[lastID] = DOC.createElement("div") + ifGroup.appendChild(lastTemplate) + } + } + data.includeLastID = val + while (true) { + var node = data.startInclude.nextSibling + if (node && node !== data.endInclude) { + target.removeChild(node) + if (lastTemplate) + lastTemplate.appendChild(node) + } else { + break + } + } + var dom = getTemplateNodes(data, val, text) + var nodes = avalon.slice(dom.childNodes) + target.insertBefore(dom, data.endInclude) + scanNodeArray(nodes, vmodels) + } + + if (data.param === "src") { + if (typeof templatePool[val] === "string") { + avalon.nextTick(function() { + scanTemplate(templatePool[val]) + }) + } else if (Array.isArray(templatePool[val])) { //#805 防止在循环绑定中发出许多相同的请求 + templatePool[val].push(scanTemplate) + } else { + var xhr = getXHR() + xhr.onreadystatechange = function() { + if (xhr.readyState === 4) { + var s = xhr.status + if (s >= 200 && s < 300 || s === 304 || s === 1223) { + var text = xhr.responseText + for (var f = 0, fn; fn = templatePool[val][f++];) { + fn(text) + } + templatePool[val] = text + } + } + } + templatePool[val] = [scanTemplate] + xhr.open("GET", val, true) + if ("withCredentials" in xhr) { + xhr.withCredentials = true + } + xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest") + xhr.send(null) + } + } else { + //IE系列与够新的标准浏览器支持通过ID取得元素(firefox14+) + //http://tjvantoll.com/2012/07/19/dom-element-references-as-global-variables/ + var el = val && val.nodeType === 1 ? val : DOC.getElementById(val) + if (el) { + if (el.tagName === "NOSCRIPT" && !(el.innerHTML || el.fixIE78)) { //IE7-8 innerText,innerHTML都无法取得其内容,IE6能取得其innerHTML + xhr = getXHR() //IE9-11与chrome的innerHTML会得到转义的内容,它们的innerText可以 + xhr.open("GET", location, false) //谢谢Nodejs 乱炖群 深圳-纯属虚构 + xhr.send(null) + //http://bbs.csdn.net/topics/390349046?page=1#post-393492653 + var noscripts = DOC.getElementsByTagName("noscript") + var array = (xhr.responseText || "").match(rnoscripts) || [] + var n = array.length + for (var i = 0; i < n; i++) { + var tag = noscripts[i] + if (tag) { //IE6-8中noscript标签的innerHTML,innerText是只读的 + tag.style.display = "none" //http://haslayout.net/css/noscript-Ghost-Bug + tag.fixIE78 = (array[i].match(rnoscriptText) || ["", " "])[1] + } + } + } + avalon.nextTick(function() { + scanTemplate(el.fixIE78 || el.value || el.innerText || el.innerHTML) + }) + } + } + } else { + if (!root.hasAttribute && typeof val === "string" && (method === "src" || method === "href")) { + val = val.replace(/&/g, "&") //处理IE67自动转义的问题 + } + elem[method] = val + if (window.chrome && elem.tagName === "EMBED") { + var parent = elem.parentNode //#525 chrome1-37下embed标签动态设置src不能发生请求 + var comment = document.createComment("ms-src") + parent.replaceChild(comment, elem) + parent.replaceChild(elem, comment) + } + } +} + +function getTemplateNodes(data, id, text) { + var div = data.templateCache && data.templateCache[id] + if (div) { + var dom = DOC.createDocumentFragment(), + firstChild + while (firstChild = div.firstChild) { + dom.appendChild(firstChild) + } + return dom + } + return avalon.parseHTML(text) +} + +//这几个指令都可以使用插值表达式,如ms-src="aaa/{{b}}/{{c}}.html" +"title,alt,src,value,css,include,href".replace(rword, function(name) { + bindingHandlers[name] = bindingHandlers.attr +}) +//根据VM的属性值或表达式的值切换类名,ms-class="xxx yyy zzz:flag" +//http://www.cnblogs.com/rubylouvre/archive/2012/12/17/2818540.html +bindingHandlers["class"] = function(data, vmodels) { + var oldStyle = data.param, + text = data.value, + rightExpr + data.handlerName = "class" + if (!oldStyle || isFinite(oldStyle)) { + data.param = "" //去掉数字 + var noExpr = text.replace(rexprg, function(a) { + return a.replace(/./g, "0") + //return Math.pow(10, a.length - 1) //将插值表达式插入10的N-1次方来占位 + }) + var colonIndex = noExpr.indexOf(":") //取得第一个冒号的位置 + if (colonIndex === -1) { // 比如 ms-class="aaa bbb ccc" 的情况 + var className = text + } else { // 比如 ms-class-1="ui-state-active:checked" 的情况 + className = text.slice(0, colonIndex) + rightExpr = text.slice(colonIndex + 1) + parseExpr(rightExpr, vmodels, data) //决定是添加还是删除 + if (!data.evaluator) { + log("debug: ms-class '" + (rightExpr || "").trim() + "' 不存在于VM中") + return false + } else { + data._evaluator = data.evaluator + data._args = data.args + } + } + var hasExpr = rexpr.test(className) //比如ms-class="width{{w}}"的情况 + if (!hasExpr) { + data.immobileClass = className + } + parseExprProxy("", vmodels, data, (hasExpr ? scanExpr(className) : 0)) + } else { + data.immobileClass = data.oldStyle = data.param + parseExprProxy(text, vmodels, data) + } +} + +bindingExecutors["class"] = function(val, elem, data) { + var $elem = avalon(elem), + method = data.type + if (method === "class" && data.oldStyle) { //如果是旧风格 + $elem.toggleClass(data.oldStyle, !! val) + } else { + //如果存在冒号就有求值函数 + data.toggleClass = data._evaluator ? !! data._evaluator.apply(elem, data._args) : true + data.newClass = data.immobileClass || val + if (data.oldClass && data.newClass !== data.oldClass) { + $elem.removeClass(data.oldClass) + } + data.oldClass = data.newClass + switch (method) { + case "class": + $elem.toggleClass(data.newClass, data.toggleClass) + break + case "hover": + case "active": + if (!data.hasBindEvent) { //确保只绑定一次 + var activate = "mouseenter" //在移出移入时切换类名 + var abandon = "mouseleave" + if (method === "active") { //在聚焦失焦中切换类名 + elem.tabIndex = elem.tabIndex || -1 + activate = "mousedown" + abandon = "mouseup" + var fn0 = $elem.bind("mouseleave", function() { + data.toggleClass && $elem.removeClass(data.newClass) + }) + } + var fn1 = $elem.bind(activate, function() { + data.toggleClass && $elem.addClass(data.newClass) + }) + var fn2 = $elem.bind(abandon, function() { + data.toggleClass && $elem.removeClass(data.newClass) + }) + data.rollback = function() { + $elem.unbind("mouseleave", fn0) + $elem.unbind(activate, fn1) + $elem.unbind(abandon, fn2) + } + data.hasBindEvent = true + } + break; + } + } +} + +"hover,active".replace(rword, function(method) { + bindingHandlers[method] = bindingHandlers["class"] +}) +//ms-controller绑定已经在scanTag 方法中实现 +//ms-css绑定已由ms-attr绑定实现 + + +// bindingHandlers.data 定义在if.js +bindingExecutors.data = function(val, elem, data) { + var key = "data-" + data.param + if (val && typeof val === "object") { + elem[key] = val + } else { + elem.setAttribute(key, String(val)) + } +} +//双工绑定 +var duplexBinding = bindingHandlers.duplex = function(data, vmodels) { + var elem = data.element, + hasCast + parseExprProxy(data.value, vmodels, data, 0, 1) + + data.changed = getBindingCallback(elem, "data-duplex-changed", vmodels) || noop + if (data.evaluator && data.args) { + var params = [] + var casting = oneObject("string,number,boolean,checked") + if (elem.type === "radio" && data.param === "") { + data.param = "checked" + } + if (elem.msData) { + elem.msData["ms-duplex"] = data.value + } + data.param.replace(/\w+/g, function(name) { + if (/^(checkbox|radio)$/.test(elem.type) && /^(radio|checked)$/.test(name)) { + if (name === "radio") + log("ms-duplex-radio已经更名为ms-duplex-checked") + name = "checked" + data.isChecked = true + } + if (name === "bool") { + name = "boolean" + log("ms-duplex-bool已经更名为ms-duplex-boolean") + } else if (name === "text") { + name = "string" + log("ms-duplex-text已经更名为ms-duplex-string") + } + if (casting[name]) { + hasCast = true + } + avalon.Array.ensure(params, name) + }) + if (!hasCast) { + params.push("string") + } + data.param = params.join("-") + data.bound = function(type, callback) { + if (elem.addEventListener) { + elem.addEventListener(type, callback, false) + } else { + elem.attachEvent("on" + type, callback) + } + var old = data.rollback + data.rollback = function() { + elem.avalonSetter = null + avalon.unbind(elem, type, callback) + old && old() + } + } + for (var i in avalon.vmodels) { + var v = avalon.vmodels[i] + v.$fire("avalon-ms-duplex-init", data) + } + var cpipe = data.pipe || (data.pipe = pipe) + cpipe(null, data, "init") + var tagName = elem.tagName + duplexBinding[tagName] && duplexBinding[tagName](elem, data.evaluator.apply(null, data.args), data) + } +} +//不存在 bindingExecutors.duplex + + function fixNull(val) { + return val == null ? "" : val + } +avalon.duplexHooks = { + checked: { + get: function(val, data) { + return !data.element.oldValue + } + }, + string: { + get: function(val) { //同步到VM + return val + }, + set: fixNull + }, + "boolean": { + get: function(val) { + return val === "true" + }, + set: fixNull + }, + number: { + get: function(val, data) { + var number = parseFloat(val) + if (-val === -number) { + return number + } + var arr = /strong|medium|weak/.exec(data.element.getAttribute("data-duplex-number")) || ["medium"] + switch (arr[0]) { + case "strong": + return 0 + case "medium": + return val === "" ? "" : 0 + case "weak": + return val + } + }, + set: fixNull + } +} + +function pipe(val, data, action, e) { + data.param.replace(/\w+/g, function(name) { + var hook = avalon.duplexHooks[name] + if (hook && typeof hook[action] === "function") { + val = hook[action](val, data) + } + }) + return val +} + +var TimerID, ribbon = [] + + avalon.tick = function(fn) { + if (ribbon.push(fn) === 1) { + TimerID = setInterval(ticker, 60) + } + } + + function ticker() { + for (var n = ribbon.length - 1; n >= 0; n--) { + var el = ribbon[n] + if (el() === false) { + ribbon.splice(n, 1) + } + } + if (!ribbon.length) { + clearInterval(TimerID) + } + } + +var watchValueInTimer = noop +var rmsinput = /text|password|hidden/ +new function() { // jshint ignore:line + try { //#272 IE9-IE11, firefox + var setters = {} + var aproto = HTMLInputElement.prototype + var bproto = HTMLTextAreaElement.prototype + function newSetter(value) { // jshint ignore:line + setters[this.tagName].call(this, value) + if (rmsinput.test(this.type) && !this.msFocus && this.avalonSetter) { + this.avalonSetter() + } + } + var inputProto = HTMLInputElement.prototype + Object.getOwnPropertyNames(inputProto) //故意引发IE6-8等浏览器报错 + setters["INPUT"] = Object.getOwnPropertyDescriptor(aproto, "value").set + + Object.defineProperty(aproto, "value", { + set: newSetter + }) + setters["TEXTAREA"] = Object.getOwnPropertyDescriptor(bproto, "value").set + Object.defineProperty(bproto, "value", { + set: newSetter + }) + } catch (e) { + //在chrome 43中 ms-duplex终于不需要使用定时器实现双向绑定了 + // http://updates.html5rocks.com/2015/04/DOM-attributes-now-on-the-prototype + // https://docs.google.com/document/d/1jwA8mtClwxI-QJuHT7872Z0pxpZz8PBkf2bGAbsUtqs/edit?pli=1 + watchValueInTimer = avalon.tick + } +} // jshint ignore:line +if (IEVersion) { + avalon.bind(DOC, "selectionchange", function(e) { + var el = DOC.activeElement + if (el && typeof el.avalonSetter === "function") { + el.avalonSetter() + } + }) +} + +//处理radio, checkbox, text, textarea, password +duplexBinding.INPUT = function(element, evaluator, data) { + var $type = element.type, + bound = data.bound, + $elem = avalon(element), + composing = false + + function callback(value) { + data.changed.call(this, value, data) + } + + function compositionStart() { + composing = true + } + + function compositionEnd() { + composing = false + } + //当value变化时改变model的值 + var updateVModel = function() { + if (composing) //处理中文输入法在minlengh下引发的BUG + return + var val = element.oldValue = element.value //防止递归调用形成死循环 + var lastValue = data.pipe(val, data, "get") + if ($elem.data("duplexObserve") !== false) { + evaluator(lastValue) + callback.call(element, lastValue) + if ($elem.data("duplex-focus")) { + avalon.nextTick(function() { + element.focus() + }) + } + } + } + //当model变化时,它就会改变value的值 + data.handler = function() { + var val = data.pipe(evaluator(), data, "set") + "" //fix #673 + if (val !== element.oldValue) { + element.value = val + } + } + if (data.isChecked || $type === "radio") { + var IE6 = IEVersion === 6 + updateVModel = function() { + if ($elem.data("duplexObserve") !== false) { + var lastValue = data.pipe(element.value, data, "get") + evaluator(lastValue) + callback.call(element, lastValue) + } + } + data.handler = function() { + var val = evaluator() + var checked = data.isChecked ? !! val : val + "" === element.value + element.oldValue = checked + if (IE6) { + setTimeout(function() { + //IE8 checkbox, radio是使用defaultChecked控制选中状态, + //并且要先设置defaultChecked后设置checked + //并且必须设置延迟 + element.defaultChecked = checked + element.checked = checked + }, 31) + } else { + element.checked = checked + } + } + bound("click", updateVModel) + } else if ($type === "checkbox") { + updateVModel = function() { + if ($elem.data("duplexObserve") !== false) { + var method = element.checked ? "ensure" : "remove" + var array = evaluator() + if (!Array.isArray(array)) { + log("ms-duplex应用于checkbox上要对应一个数组") + array = [array] + } + var val = data.pipe(element.value, data, "get") + avalon.Array[method](array, val) + callback.call(element, array) + } + } + + data.handler = function() { + var array = [].concat(evaluator()) //强制转换为数组 + var val = data.pipe(element.value, data, "get") + element.checked = array.indexOf(val) > -1 + } + bound(W3C ? "change" : "click", updateVModel) + } else { + var events = element.getAttribute("data-duplex-event") || "input" + if (element.attributes["data-event"]) { + log("data-event指令已经废弃,请改用data-duplex-event") + } + + function delay(e) { // jshint ignore:line + setTimeout(function() { + updateVModel(e) + }) + } + events.replace(rword, function(name) { + switch (name) { + case "input": + if (!IEVersion) { // W3C + bound("input", updateVModel) + //非IE浏览器才用这个 + bound("compositionstart", compositionStart) + bound("compositionend", compositionEnd) + bound("DOMAutoComplete", updateVModel) + } else { //onpropertychange事件无法区分是程序触发还是用户触发 + // IE下通过selectionchange事件监听IE9+点击input右边的X的清空行为,及粘贴,剪切,删除行为 + if (IEVersion > 8) { + bound("input", updateVModel) //IE9使用propertychange无法监听中文输入改动 + } else { + bound("propertychange", function(e) { //IE6-8下第一次修改时不会触发,需要使用keydown或selectionchange修正 + if (e.propertyName === "value") { + updateVModel() + } + }) + } + bound("dragend", delay) + //http://www.cnblogs.com/rubylouvre/archive/2013/02/17/2914604.html + //http://www.matts411.com/post/internet-explorer-9-oninput/ + } + break + default: + bound(name, updateVModel) + break + } + }) + bound("focus", function() { + element.msFocus = true + }) + bound("blur", function() { + element.msFocus = false + }) + + if (rmsinput.test($type)) { + watchValueInTimer(function() { + if (root.contains(element)) { + if (!element.msFocus && element.oldValue !== element.value) { + updateVModel() + } + } else if (!element.msRetain) { + return false + } + }) + } + + element.avalonSetter = updateVModel //#765 + } + + element.oldValue = element.value + avalon.injectBinding(data) + callback.call(element, element.value) +} +duplexBinding.TEXTAREA = duplexBinding.INPUT +duplexBinding.SELECT = function(element, evaluator, data) { + var $elem = avalon(element) + + function updateVModel() { + if ($elem.data("duplexObserve") !== false) { + var val = $elem.val() //字符串或字符串数组 + if (Array.isArray(val)) { + val = val.map(function(v) { + return data.pipe(v, data, "get") + }) + } else { + val = data.pipe(val, data, "get") + } + if (val + "" !== element.oldValue) { + evaluator(val) + } + data.changed.call(element, val, data) + } + } + data.handler = function() { + var val = evaluator() + val = val && val.$model || val + if (Array.isArray(val)) { + if (!element.multiple) { + log("ms-duplex在不能对应一个数组") + } + } + //必须变成字符串后才能比较 + val = Array.isArray(val) ? val.map(String) : val + "" + if (val + "" !== element.oldValue) { + $elem.val(val) + element.oldValue = val + "" + } + } + data.bound("change", updateVModel) + element.msCallback = function() { + avalon.injectBinding(data) + data.changed.call(element, evaluator(), data) + } +} +// bindingHandlers.html 定义在if.js +bindingExecutors.html = function (val, elem, data) { + var isHtmlFilter = elem.nodeType !== 1 + var parent = isHtmlFilter ? elem.parentNode : elem + if (!parent) + return + val = val == null ? "" : val + if (data.oldText !== val) { + data.oldText = val + } else { + return + } + if (elem.nodeType === 3) { + var signature = generateID("html") + parent.insertBefore(DOC.createComment(signature), elem) + data.element = DOC.createComment(signature + ":end") + parent.replaceChild(data.element, elem) + elem = data.element + } + if (typeof val !== "object") {//string, number, boolean + var fragment = avalon.parseHTML(String(val)) + } else if (val.nodeType === 11) { //将val转换为文档碎片 + fragment = val + } else if (val.nodeType === 1 || val.item) { + var nodes = val.nodeType === 1 ? val.childNodes : val.item + fragment = avalonFragment.cloneNode(true) + while (nodes[0]) { + fragment.appendChild(nodes[0]) + } + } + + nodes = avalon.slice(fragment.childNodes) + //插入占位符, 如果是过滤器,需要有节制地移除指定的数量,如果是html指令,直接清空 + if (isHtmlFilter) { + var endValue = elem.nodeValue.slice(0, -4) + while (true) { + var node = elem.previousSibling + if (!node || node.nodeType === 8 && node.nodeValue === endValue) { + break + } else { + parent.removeChild(node) + } + } + parent.insertBefore(fragment, elem) + } else { + avalon.clearHTML(elem).appendChild(fragment) + } + scanNodeArray(nodes, data.vmodels) +} +bindingHandlers["if"] = + bindingHandlers.data = + bindingHandlers.text = + bindingHandlers.html = + function(data, vmodels) { + parseExprProxy(data.value, vmodels, data) +} + +bindingExecutors["if"] = function(val, elem, data) { + try { + if(!elem.parentNode) return + } catch(e) {return} + if (val) { //插回DOM树 + if (elem.nodeType === 8) { + elem.parentNode.replaceChild(data.template, elem) + // animate.enter(data.template, elem.parentNode) + elem = data.element = data.template //这时可能为null + } + if (elem.getAttribute(data.name)) { + elem.removeAttribute(data.name) + scanAttr(elem, data.vmodels) + } + data.rollback = null + } else { //移出DOM树,并用注释节点占据原位置 + if (elem.nodeType === 1) { + var node = data.element = DOC.createComment("ms-if") + elem.parentNode.replaceChild(node, elem) + // animate.leave(elem, node.parentNode, node) + data.template = elem //元素节点 + ifGroup.appendChild(elem) + data.rollback = function() { + if (elem.parentNode === ifGroup) { + ifGroup.removeChild(elem) + } + } + } + } +} +//ms-important绑定已经在scanTag 方法中实现 +//ms-include绑定已由ms-attr绑定实现 + +var rdash = /\(([^)]*)\)/ +bindingHandlers.on = function(data, vmodels) { + var value = data.value + data.type = "on" + var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10 + if (typeof bindingHandlers.on[eventType + "Hook"] === "function") { + bindingHandlers.on[eventType + "Hook"](data) + } + if (value.indexOf("(") > 0 && value.indexOf(")") > -1) { + var matched = (value.match(rdash) || ["", ""])[1].trim() + if (matched === "" || matched === "$event") { // aaa() aaa($event)当成aaa处理 + value = value.replace(rdash, "") + } + } + parseExprProxy(value, vmodels, data) +} + +bindingExecutors.on = function(callback, elem, data) { + callback = function(e) { + var fn = data.evaluator || noop + return fn.apply(this, data.args.concat(e)) + } + var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10 + if (eventType === "scan") { + callback.call(elem, { + type: eventType + }) + } else if (typeof data.specialBind === "function") { + data.specialBind(elem, callback) + } else { + var removeFn = avalon.bind(elem, eventType, callback) + } + data.rollback = function() { + if (typeof data.specialUnbind === "function") { + data.specialUnbind() + } else { + avalon.unbind(elem, eventType, removeFn) + } + } +} +bindingHandlers.repeat = function (data, vmodels) { + var type = data.type + parseExprProxy(data.value, vmodels, data, 0, 1) + data.proxies = [] + var freturn = false + try { + var $repeat = data.$repeat = data.evaluator.apply(0, data.args || []) + var xtype = avalon.type($repeat) + if (xtype !== "object" && xtype !== "array") { + freturn = true + avalon.log("warning:" + data.value + "只能是对象或数组") + } + } catch (e) { + freturn = true + } + var arr = data.value.split(".") || [] + if (arr.length > 1) { + arr.pop() + var n = arr[0] + for (var i = 0, v; v = vmodels[i++]; ) { + if (v && v.hasOwnProperty(n)) { + var events = v[n].$events || {} + events[subscribers] = events[subscribers] || [] + events[subscribers].push(data) + break + } + } + } + + var elem = data.element + if (elem.nodeType === 1) { + elem.removeAttribute(data.name) + data.sortedCallback = getBindingCallback(elem, "data-with-sorted", vmodels) + data.renderedCallback = getBindingCallback(elem, "data-" + type + "-rendered", vmodels) + var signature = generateID(type) + var start = DOC.createComment(signature) + var end = DOC.createComment(signature + ":end") + data.signature = signature + data.template = avalonFragment.cloneNode(false) + if (type === "repeat") { + var parent = elem.parentNode + parent.replaceChild(end, elem) + parent.insertBefore(start, end) + data.template.appendChild(elem) + } else { + while (elem.firstChild) { + data.template.appendChild(elem.firstChild) + } + elem.appendChild(start) + elem.appendChild(end) + } + data.element = end + data.handler = bindingExecutors.repeat + data.rollback = function () { + var elem = data.element + if (!elem) + return + data.handler("clear") + } + } + + if (freturn) { + return + } + + data.$outer = {} + var check0 = "$key" + var check1 = "$val" + if (Array.isArray($repeat)) { + check0 = "$first" + check1 = "$last" + } + + for (i = 0; v = vmodels[i++]; ) { + if (v.hasOwnProperty(check0) && v.hasOwnProperty(check1)) { + data.$outer = v + break + } + } + var $events = $repeat.$events + var $list = ($events || {})[subscribers] + injectDependency($list, data) + if (xtype === "object") { + data.$with = true + $repeat.$proxy || ($repeat.$proxy = {}) + data.handler("append", $repeat) + } else if ($repeat.length) { + data.handler("add", 0, $repeat.length) + } +} + +bindingExecutors.repeat = function (method, pos, el) { + if (!method && this.$with) { + method = "append" + var flag = "update" + } + if (method) { + var data = this, start, fragment + var end = data.element + var comments = getComments(data) + var parent = end.parentNode + var proxies = data.proxies + var transation = avalonFragment.cloneNode(false) + switch (method) { + case "add": //在pos位置后添加el数组(pos为插入位置,el为要插入的个数) + var n = pos + el + var fragments = [] + for (var i = pos; i < n; i++) { + var proxy = eachProxyAgent(i, data) + proxies.splice(i, 0, proxy) + shimController(data, transation, proxy, fragments) + } + var now = new Date() - 0 + avalon.optimize = avalon.optimize || now + for (i = 0; fragment = fragments[i++]; ) { + scanNodeArray(fragment.nodes, fragment.vmodels) + fragment.nodes = fragment.vmodels = null + } + if (avalon.optimize === now) { + avalon.optimize = null + } + parent.insertBefore(transation, comments[pos] || end) + avalon.profile("插入操作花费了 " + (new Date - now)) + break + case "del": //将pos后的el个元素删掉(pos, el都是数字) + sweepNodes(comments[pos], comments[pos + el] || end) + var removed = proxies.splice(pos, el) + recycleProxies(removed, "each") + break + case "clear": + start = comments[0] + if (start) { + sweepNodes(start, end) + if (data.$with) { + parent.insertBefore(start, end) + } + } + recycleProxies(proxies, "each") + break + case "move": + start = comments[0] + if (start) { + var signature = start.nodeValue + var rooms = [] + var room = [], + node + sweepNodes(start, end, function () { + room.unshift(this) + if (this.nodeValue === signature) { + rooms.unshift(room) + room = [] + } + }) + sortByIndex(rooms, pos) + sortByIndex(proxies, pos) + while (room = rooms.shift()) { + while (node = room.shift()) { + transation.appendChild(node) + } + } + parent.insertBefore(transation, end) + } + break + case "index": //将proxies中的第pos个起的所有元素重新索引 + var last = proxies.length - 1 + for (; el = proxies[pos]; pos++) { + el.$index = pos + el.$first = pos === 0 + el.$last = pos === last + } + return + case "set": //将proxies中的第pos个元素的VM设置为el(pos为数字,el任意) + proxy = proxies[pos] + if (proxy) { + fireDependencies(proxy.$events[data.param || "el"]) + } + break + case "append": + var object = data.$repeat //原来第2参数, 被循环对象 + var oldProxy = object.$proxy //代理对象组成的hash + var keys = [] + now = new Date() - 0 + avalon.optimize = avalon.optimize || now + if (flag === "update") { + if (!data.evaluator) { + parseExprProxy(data.value, data.vmodels, data, 0, 1) + } + object = data.$repeat = data.evaluator.apply(0, data.args || []) + object.$proxy = oldProxy + } + var pool = object.$proxy || {} + removed = [] + var nodes = data.element.parentNode.childNodes + var add = false + for (i = 0; node = nodes[i++]; ) { + if (node.nodeValue === data.signature) { + add = true + } else if (node.nodeValue === data.signature + ":end") { + add = false + } + if (add) { + removed.push(node) + } + } + + var indexNode = [], item + var keyIndex = data.keyIndex || (data.keyIndex = {}) + //将现有的节点全部移出DOM树 + for ( i = 0; i < removed.length; i++) { + el = removed[i] + if (el.nodeValue === data.signature) { + item = avalonFragment.cloneNode(false) + indexNode.push(item) + } + item.appendChild(el) + } + + + for (var key in object) { //当前对象的所有键名 + if (object.hasOwnProperty(key) && key !== "hasOwnProperty" && key !== "$proxy") { + keys.push(key) + } + } + + for (var i = 0; key = keys[i++]; ) { + if (!pool.hasOwnProperty(key)) {//添加缺失的代理VM + pool[key] = withProxyAgent(pool[key], key, data) + } else { + pool[key].$val = object[key] + } + } + + for ( key in pool) { + if (keys.indexOf(key) === -1) {//删除没用的代理VM + proxyRecycler(pool[key], withProxyPool) //去掉之前的代理VM + delete pool[key] + } + } + var fragments = [] + var renderKeys = keys //需要渲染到DOM树去的键名 + var end = data.element + if (data.sortedCallback) { //如果有回调,则让它们排序 + var keys2 = data.sortedCallback.call(parent, keys) + if (keys2 && Array.isArray(keys2)) { + renderKeys = keys2 + } + } + + for (i = 0; i < renderKeys.length; i++) { + key = renderKeys[i] + if (typeof keyIndex[key] === "number") { + transation.appendChild(indexNode[keyIndex[key]]) + fragments.push({}) + } else { + shimController(data, transation, pool[key], fragments) + } + } + + for (i = 0; i < renderKeys.length; i++) { + keyIndex[renderKeys[i]] = i + } + + for (i = 0; fragment = fragments[i++]; ) { + if (fragment.nodes) { + scanNodeArray(fragment.nodes, fragment.vmodels) + fragment.nodes = fragment.vmodels = null + } + } + if (avalon.optimize === now) { + avalon.optimize = null + } + parent.insertBefore(transation, end) + avalon.profile("插入操作花费了 " + (new Date - now)) + break + } + if (!data.$repeat || data.$repeat.hasOwnProperty("$lock")) //IE6-8 VBScript对象会报错, 有时候data.$repeat不存在 + return + if (method === "clear") + method = "del" + var callback = data.renderedCallback || noop, + args = arguments + if (parent.oldValue && parent.tagName === "SELECT") { //fix #503 + avalon(parent).val(parent.oldValue.split(",")) + } + callback.apply(parent, args) + } +} +"with,each".replace(rword, function (name) { + bindingHandlers[name] = bindingHandlers.repeat +}) + +function shimController(data, transation, proxy, fragments) { + var content = data.template.cloneNode(true) + var nodes = avalon.slice(content.childNodes) + content.insertBefore(DOC.createComment(data.signature), content.firstChild) + transation.appendChild(content) + var nv = [proxy].concat(data.vmodels) + var fragment = { + nodes: nodes, + vmodels: nv + } + fragments.push(fragment) +} + +function getComments(data) { + var ret = [] + var nodes = data.element.parentNode.childNodes + for(var i= 0, node; node = nodes[i++];){ + if(node.nodeValue === data.signature){ + ret.push( node ) + }else if(node.nodeValue === data.signature+":end"){ + break + } + } + return ret +} + + +//移除掉start与end之间的节点(保留end) +function sweepNodes(start, end, callback) { + while (true) { + var node = end.previousSibling + if (!node) + break + node.parentNode.removeChild(node) + callback && callback.call(node) + if (node === start) { + break + } + } +} + +// 为ms-each,ms-with, ms-repeat会创建一个代理VM, +// 通过它们保持一个下上文,让用户能调用$index,$first,$last,$remove,$key,$val,$outer等属性与方法 +// 所有代理VM的产生,消费,收集,存放通过xxxProxyFactory,xxxProxyAgent, recycleProxies,xxxProxyPool实现 +var withProxyPool = [] +function withProxyFactory() { + var proxy = modelFactory({ + $key: "", + $outer: {}, + $host: {}, + $val: { + get: function () { + return this.$host[this.$key] + }, + set: function (val) { + this.$host[this.$key] = val + } + } + }, { + $val: 1 + }) + proxy.$id = generateID("$proxy$with") + return proxy +} + +function withProxyAgent(proxy, key, data) { + proxy = proxy || withProxyPool.pop() + if (!proxy) { + proxy = withProxyFactory() + } else { + proxy.$reinitialize() + } + var host = data.$repeat + proxy.$key = key + proxy.$host = host + proxy.$outer = data.$outer + if (host.$events) { + proxy.$events.$val = host.$events[key] + } else { + proxy.$events = {} + } + return proxy +} + + +function recycleProxies(proxies) { + eachProxyRecycler(proxies) +} +function eachProxyRecycler(proxies) { + proxies.forEach(function (proxy) { + proxyRecycler(proxy, eachProxyPool) + }) + proxies.length = 0 +} + + +var eachProxyPool = [] +function eachProxyFactory(name) { + var source = { + $host: [], + $outer: {}, + $index: 0, + $first: false, + $last: false, + $remove: avalon.noop + } + source[name] = { + get: function () { + var e = this.$events + var array = e.$index + e.$index = e[name] //#817 通过$index为el收集依赖 + try { + return this.$host[this.$index] + } finally { + e.$index = array + } + }, + set: function (val) { + try { + var e = this.$events + var array = e.$index + e.$index = [] + this.$host.set(this.$index, val) + } finally { + e.$index = array + } + } + } + var second = { + $last: 1, + $first: 1, + $index: 1 + } + var proxy = modelFactory(source, second) + proxy.$id = generateID("$proxy$each") + return proxy +} + +function eachProxyAgent(index, data) { + var param = data.param || "el", + proxy + for (var i = 0, n = eachProxyPool.length; i < n; i++) { + var candidate = eachProxyPool[i] + if (candidate && candidate.hasOwnProperty(param)) { + proxy = candidate + eachProxyPool.splice(i, 1) + } + } + if (!proxy) { + proxy = eachProxyFactory(param) + } + var host = data.$repeat + var last = host.length - 1 + proxy.$index = index + proxy.$first = index === 0 + proxy.$last = index === last + proxy.$host = host + proxy.$outer = data.$outer + proxy.$remove = function () { + return host.removeAt(proxy.$index) + } + return proxy +} + + +function proxyRecycler(proxy, proxyPool) { + for (var i in proxy.$events) { + if (Array.isArray(proxy.$events[i])) { + proxy.$events[i].forEach(function (data) { + if (typeof data === "object") + disposeData(data) + })// jshint ignore:line + proxy.$events[i].length = 0 + } + } + proxy.$host = proxy.$outer = {} + if (proxyPool.unshift(proxy) > kernel.maxRepeatSize) { + proxyPool.pop() + } +} +/********************************************************************* + * 各种指令 * + **********************************************************************/ +//ms-skip绑定已经在scanTag 方法中实现 +// bindingHandlers.text 定义在if.js +bindingExecutors.text = function(val, elem) { + val = val == null ? "" : val //不在页面上显示undefined null + if (elem.nodeType === 3) { //绑定在文本节点上 + try { //IE对游离于DOM树外的节点赋值会报错 + elem.data = val + } catch (e) {} + } else { //绑定在特性节点上 + if ("textContent" in elem) { + elem.textContent = val + } else { + elem.innerText = val + } + } +} +function parseDisplay(nodeName, val) { + //用于取得此类标签的默认display值 + var key = "_" + nodeName + if (!parseDisplay[key]) { + var node = DOC.createElement(nodeName) + root.appendChild(node) + if (W3C) { + val = getComputedStyle(node, null).display + } else { + val = node.currentStyle.display + } + root.removeChild(node) + parseDisplay[key] = val + } + return parseDisplay[key] +} + +avalon.parseDisplay = parseDisplay + +bindingHandlers.visible = function(data, vmodels) { + var elem = data.element + var display = elem.style.display + if(display === "none"){ + display = parseDisplay(elem.nodeName) + } + data.display = display + parseExprProxy(data.value, vmodels, data) +} + +bindingExecutors.visible = function(val, elem, data) { + elem.style.display = val ? data.display : "none" +} +bindingHandlers.widget = function(data, vmodels) { + var args = data.value.match(rword) + var elem = data.element + var widget = args[0] + var id = args[1] + if (!id || id === "$") { //没有定义或为$时,取组件名+随机数 + id = generateID(widget) + } + var optName = args[2] || widget //没有定义,取组件名 + var constructor = avalon.ui[widget] + if (typeof constructor === "function") { //ms-widget="tabs,tabsAAA,optname" + vmodels = elem.vmodels || vmodels + for (var i = 0, v; v = vmodels[i++];) { + if (v.hasOwnProperty(optName) && typeof v[optName] === "object") { + var vmOptions = v[optName] + vmOptions = vmOptions.$model || vmOptions + break + } + } + if (vmOptions) { + var wid = vmOptions[widget + "Id"] + if (typeof wid === "string") { + log("warning!不再支持" + widget + "Id") + id = wid + } + } + //抽取data-tooltip-text、data-tooltip-attr属性,组成一个配置对象 + var widgetData = avalon.getWidgetData(elem, widget) + data.value = [widget, id, optName].join(",") + data[widget + "Id"] = id + data.evaluator = noop + elem.msData["ms-widget-id"] = id + var options = data[widget + "Options"] = avalon.mix({}, constructor.defaults, vmOptions || {}, widgetData) + elem.removeAttribute("ms-widget") + var vmodel = constructor(elem, data, vmodels) || {} //防止组件不返回VM + if (vmodel.$id) { + avalon.vmodels[id] = vmodel + createSignalTower(elem, vmodel) + try { + vmodel.$init(function() { + avalon.scan(elem, [vmodel].concat(vmodels)) + if (typeof options.onInit === "function") { + options.onInit.call(elem, vmodel, options, vmodels) + } + }) + } catch (e) {} + data.rollback = function() { + try { + vmodel.widgetElement = null + vmodel.$remove() + } catch (e) {} + elem.msData = {} + delete avalon.vmodels[vmodel.$id] + } + injectDisposeQueue(data, widgetList) + if (window.chrome) { + elem.addEventListener("DOMNodeRemovedFromDocument", function() { + setTimeout(rejectDisposeQueue) + }) + } + } else { + avalon.scan(elem, vmodels) + } + } else if (vmodels.length) { //如果该组件还没有加载,那么保存当前的vmodels + elem.vmodels = vmodels + } +} +var widgetList = [] +//不存在 bindingExecutors.widget +/********************************************************************* + * 自带过滤器 * + **********************************************************************/ +var rscripts = /]*>([\S\s]*?)<\/script\s*>/gim +var ron = /\s+(on[^=\s]+)(?:=("[^"]*"|'[^']*'|[^\s>]+))?/g +var ropen = /<\w+\b(?:(["'])[^"]*?(\1)|[^>])*>/ig +var rsanitize = { + a: /\b(href)\=("javascript[^"]*"|'javascript[^']*')/ig, + img: /\b(src)\=("javascript[^"]*"|'javascript[^']*')/ig, + form: /\b(action)\=("javascript[^"]*"|'javascript[^']*')/ig +} +var rsurrogate = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g +var rnoalphanumeric = /([^\#-~| |!])/g; + +function numberFormat(number, decimals, point, thousands) { + //form http://phpjs.org/functions/number_format/ + //number 必需,要格式化的数字 + //decimals 可选,规定多少个小数位。 + //point 可选,规定用作小数点的字符串(默认为 . )。 + //thousands 可选,规定用作千位分隔符的字符串(默认为 , ),如果设置了该参数,那么所有其他参数都是必需的。 + number = (number + '') + .replace(/[^0-9+\-Ee.]/g, '') + var n = !isFinite(+number) ? 0 : +number, + prec = !isFinite(+decimals) ? 3 : Math.abs(decimals), + sep = thousands || ",", + dec = point || ".", + s = '', + toFixedFix = function(n, prec) { + var k = Math.pow(10, prec) + return '' + (Math.round(n * k) / k) + .toFixed(prec) + } + // Fix for IE parseFloat(0.55).toFixed(0) = 0; + s = (prec ? toFixedFix(n, prec) : '' + Math.round(n)) + .split('.') + if (s[0].length > 3) { + s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep) + } + if ((s[1] || '') + .length < prec) { + s[1] = s[1] || '' + s[1] += new Array(prec - s[1].length + 1) + .join('0') + } + return s.join(dec) +} + + +var filters = avalon.filters = { + uppercase: function(str) { + return str.toUpperCase() + }, + lowercase: function(str) { + return str.toLowerCase() + }, + truncate: function(str, length, truncation) { + //length,新字符串长度,truncation,新字符串的结尾的字段,返回新字符串 + length = length || 30 + truncation = typeof truncation === "string" ? truncation : "..." + return str.length > length ? str.slice(0, length - truncation.length) + truncation : String(str) + }, + $filter: function(val) { + for (var i = 1, n = arguments.length; i < n; i++) { + var array = arguments[i] + var fn = avalon.filters[array.shift()] + if (typeof fn === "function") { + var arr = [val].concat(array) + val = fn.apply(null, arr) + } + } + return val + }, + camelize: camelize, + //https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet + // chrome + // chrome + // IE67chrome + // IE67chrome + // IE67chrome + sanitize: function(str) { + return str.replace(rscripts, "").replace(ropen, function(a, b) { + var match = a.toLowerCase().match(/<(\w+)\s/) + if (match) { //处理a标签的href属性,img标签的src属性,form标签的action属性 + var reg = rsanitize[match[1]] + if (reg) { + a = a.replace(reg, function(s, name, value) { + var quote = value.charAt(0) + return name + "=" + quote + "javascript:void(0)" + quote// jshint ignore:line + }) + } + } + return a.replace(ron, " ").replace(/\s+/g, " ") //移除onXXX事件 + }) + }, + escape: function(str) { + //将字符串经过 str 转义得到适合在页面中显示的内容, 例如替换 < 为 < + return String(str). + replace(/&/g, '&'). + replace(rsurrogate, function(value) { + var hi = value.charCodeAt(0) + var low = value.charCodeAt(1) + return '&#' + (((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000) + ';' + }). + replace(rnoalphanumeric, function(value) { + return '&#' + value.charCodeAt(0) + ';' + }). + replace(//g, '>') + }, + currency: function(amount, symbol, fractionSize) { + return (symbol || "\uFFE5") + numberFormat(amount, isFinite(fractionSize) ? fractionSize : 2) + }, + number: numberFormat +} +/* + 'yyyy': 4 digit representation of year (e.g. AD 1 => 0001, AD 2010 => 2010) + 'yy': 2 digit representation of year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10) + 'y': 1 digit representation of year, e.g. (AD 1 => 1, AD 199 => 199) + 'MMMM': Month in year (January-December) + 'MMM': Month in year (Jan-Dec) + 'MM': Month in year, padded (01-12) + 'M': Month in year (1-12) + 'dd': Day in month, padded (01-31) + 'd': Day in month (1-31) + 'EEEE': Day in Week,(Sunday-Saturday) + 'EEE': Day in Week, (Sun-Sat) + 'HH': Hour in day, padded (00-23) + 'H': Hour in day (0-23) + 'hh': Hour in am/pm, padded (01-12) + 'h': Hour in am/pm, (1-12) + 'mm': Minute in hour, padded (00-59) + 'm': Minute in hour (0-59) + 'ss': Second in minute, padded (00-59) + 's': Second in minute (0-59) + 'a': am/pm marker + 'Z': 4 digit (+sign) representation of the timezone offset (-1200-+1200) + format string can also be one of the following predefined localizable formats: + + 'medium': equivalent to 'MMM d, y h:mm:ss a' for en_US locale (e.g. Sep 3, 2010 12:05:08 pm) + 'short': equivalent to 'M/d/yy h:mm a' for en_US locale (e.g. 9/3/10 12:05 pm) + 'fullDate': equivalent to 'EEEE, MMMM d,y' for en_US locale (e.g. Friday, September 3, 2010) + 'longDate': equivalent to 'MMMM d, y' for en_US locale (e.g. September 3, 2010 + 'mediumDate': equivalent to 'MMM d, y' for en_US locale (e.g. Sep 3, 2010) + 'shortDate': equivalent to 'M/d/yy' for en_US locale (e.g. 9/3/10) + 'mediumTime': equivalent to 'h:mm:ss a' for en_US locale (e.g. 12:05:08 pm) + 'shortTime': equivalent to 'h:mm a' for en_US locale (e.g. 12:05 pm) + */ +new function() {// jshint ignore:line + function toInt(str) { + return parseInt(str, 10) || 0 + } + + function padNumber(num, digits, trim) { + var neg = "" + if (num < 0) { + neg = '-' + num = -num + } + num = "" + num + while (num.length < digits) + num = "0" + num + if (trim) + num = num.substr(num.length - digits) + return neg + num + } + + function dateGetter(name, size, offset, trim) { + return function(date) { + var value = date["get" + name]() + if (offset > 0 || value > -offset) + value += offset + if (value === 0 && offset === -12) { + value = 12 + } + return padNumber(value, size, trim) + } + } + + function dateStrGetter(name, shortForm) { + return function(date, formats) { + var value = date["get" + name]() + var get = (shortForm ? ("SHORT" + name) : name).toUpperCase() + return formats[get][value] + } + } + + function timeZoneGetter(date) { + var zone = -1 * date.getTimezoneOffset() + var paddedZone = (zone >= 0) ? "+" : "" + paddedZone += padNumber(Math[zone > 0 ? "floor" : "ceil"](zone / 60), 2) + padNumber(Math.abs(zone % 60), 2) + return paddedZone + } + //取得上午下午 + + function ampmGetter(date, formats) { + return date.getHours() < 12 ? formats.AMPMS[0] : formats.AMPMS[1] + } + var DATE_FORMATS = { + yyyy: dateGetter("FullYear", 4), + yy: dateGetter("FullYear", 2, 0, true), + y: dateGetter("FullYear", 1), + MMMM: dateStrGetter("Month"), + MMM: dateStrGetter("Month", true), + MM: dateGetter("Month", 2, 1), + M: dateGetter("Month", 1, 1), + dd: dateGetter("Date", 2), + d: dateGetter("Date", 1), + HH: dateGetter("Hours", 2), + H: dateGetter("Hours", 1), + hh: dateGetter("Hours", 2, -12), + h: dateGetter("Hours", 1, -12), + mm: dateGetter("Minutes", 2), + m: dateGetter("Minutes", 1), + ss: dateGetter("Seconds", 2), + s: dateGetter("Seconds", 1), + sss: dateGetter("Milliseconds", 3), + EEEE: dateStrGetter("Day"), + EEE: dateStrGetter("Day", true), + a: ampmGetter, + Z: timeZoneGetter + } + var rdateFormat = /((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/ + var raspnetjson = /^\/Date\((\d+)\)\/$/ + filters.date = function(date, format) { + var locate = filters.date.locate, + text = "", + parts = [], + fn, match + format = format || "mediumDate" + format = locate[format] || format + if (typeof date === "string") { + if (/^\d+$/.test(date)) { + date = toInt(date) + } else if (raspnetjson.test(date)) { + date = +RegExp.$1 + } else { + var trimDate = date.trim() + var dateArray = [0, 0, 0, 0, 0, 0, 0] + var oDate = new Date(0) + //取得年月日 + trimDate = trimDate.replace(/^(\d+)\D(\d+)\D(\d+)/, function(_, a, b, c) { + var array = c.length === 4 ? [c, a, b] : [a, b, c] + dateArray[0] = toInt(array[0]) //年 + dateArray[1] = toInt(array[1]) - 1 //月 + dateArray[2] = toInt(array[2]) //日 + return "" + }) + var dateSetter = oDate.setFullYear + var timeSetter = oDate.setHours + trimDate = trimDate.replace(/[T\s](\d+):(\d+):?(\d+)?\.?(\d)?/, function(_, a, b, c, d) { + dateArray[3] = toInt(a) //小时 + dateArray[4] = toInt(b) //分钟 + dateArray[5] = toInt(c) //秒 + if (d) { //毫秒 + dateArray[6] = Math.round(parseFloat("0." + d) * 1000) + } + return "" + }) + var tzHour = 0 + var tzMin = 0 + trimDate = trimDate.replace(/Z|([+-])(\d\d):?(\d\d)/, function(z, symbol, c, d) { + dateSetter = oDate.setUTCFullYear + timeSetter = oDate.setUTCHours + if (symbol) { + tzHour = toInt(symbol + c) + tzMin = toInt(symbol + d) + } + return "" + }) + + dateArray[3] -= tzHour + dateArray[4] -= tzMin + dateSetter.apply(oDate, dateArray.slice(0, 3)) + timeSetter.apply(oDate, dateArray.slice(3)) + date = oDate + } + } + if (typeof date === "number") { + date = new Date(date) + } + if (avalon.type(date) !== "date") { + return + } + while (format) { + match = rdateFormat.exec(format) + if (match) { + parts = parts.concat(match.slice(1)) + format = parts.pop() + } else { + parts.push(format) + format = null + } + } + parts.forEach(function(value) { + fn = DATE_FORMATS[value] + text += fn ? fn(date, locate) : value.replace(/(^'|'$)/g, "").replace(/''/g, "'") + }) + return text + } + var locate = { + AMPMS: { + 0: "上午", + 1: "下午" + }, + DAY: { + 0: "星期日", + 1: "星期一", + 2: "星期二", + 3: "星期三", + 4: "星期四", + 5: "星期五", + 6: "星期六" + }, + MONTH: { + 0: "1月", + 1: "2月", + 2: "3月", + 3: "4月", + 4: "5月", + 5: "6月", + 6: "7月", + 7: "8月", + 8: "9月", + 9: "10月", + 10: "11月", + 11: "12月" + }, + SHORTDAY: { + "0": "周日", + "1": "周一", + "2": "周二", + "3": "周三", + "4": "周四", + "5": "周五", + "6": "周六" + }, + fullDate: "y年M月d日EEEE", + longDate: "y年M月d日", + medium: "yyyy-M-d H:mm:ss", + mediumDate: "yyyy-M-d", + mediumTime: "H:mm:ss", + "short": "yy-M-d ah:mm", + shortDate: "yy-M-d", + shortTime: "ah:mm" + } + locate.SHORTMONTH = locate.MONTH + filters.date.locate = locate +}// jshint ignore:line +/********************************************************************* + * AMD加载器 * + **********************************************************************/ +//https://www.devbridge.com/articles/understanding-amd-requirejs/ +//http://maxogden.com/nested-dependencies.html +var modules = avalon.modules = { + "domReady!": { + exports: avalon, + state: 3 + }, + "avalon": { + exports: avalon, + state: 4 + } +} +//Object(modules[id]).state拥有如下值 +// undefined 没有定义 +// 1(send) 已经发出请求 +// 2(loading) 已经被执行但还没有执行完成,在这个阶段define方法会被执行 +// 3(loaded) 执行完毕,通过onload/onreadystatechange回调判定,在这个阶段checkDeps方法会执行 +// 4(execute) 其依赖也执行完毕, 值放到exports对象上,在这个阶段fireFactory方法会执行 +modules.exports = modules.avalon + +new function () {// jshint ignore:line + var loadings = [] //正在加载中的模块列表 + var factorys = [] //放置define方法的factory函数 + var rjsext = /\.js$/i + function makeRequest(name, config) { +//1. 去掉资源前缀 + var res = "js" + name = name.replace(/^(\w+)\!/, function (a, b) { + res = b + return "" + }) + if (res === "ready") { + log("debug: ready!已经被废弃,请使用domReady!") + res = "domReady" + } +//2. 去掉querystring, hash + var query = "" + name = name.replace(rquery, function (a) { + query = a + return "" + }) + //3. 去掉扩展名 + var suffix = "." + res + var ext = /js|css/.test(suffix) ? suffix : "" + name = name.replace(/\.[a-z0-9]+$/g, function (a) { + if (a === suffix) { + ext = a + return "" + } else { + return a + } + }) + var req = avalon.mix({ + query: query, + ext: ext, + res: res, + name: name, + toUrl: toUrl + }, config) + req.toUrl(name) + return req + } + + function fireRequest(req) { + var name = req.name + var res = req.res + //1. 如果该模块已经发出请求,直接返回 + var module = modules[name] + var urlNoQuery = name && req.urlNoQuery + if (module && module.state >= 1) { + return name + } + module = modules[urlNoQuery] + if (module && module.state >= 3) { + innerRequire(module.deps || [], module.factory, urlNoQuery) + return urlNoQuery + } + if (name && !module) { + module = modules[urlNoQuery] = { + id: urlNoQuery, + state: 1 //send + } + var wrap = function (obj) { + resources[res] = obj + obj.load(name, req, function (a) { + if (arguments.length && a !== void 0) { + module.exports = a + } + module.state = 4 + checkDeps() + }) + } + + if (!resources[res]) { + innerRequire([res], wrap) + } else { + wrap(resources[res]) + } + } + return name ? urlNoQuery : res + "!" + } + +//核心API之一 require + var requireQueue = [] + var isUserFirstRequire = false + innerRequire = avalon.require = function (array, factory, parentUrl, defineConfig) { + if (!isUserFirstRequire) { + requireQueue.push(avalon.slice(arguments)) + if (arguments.length <= 2) { + isUserFirstRequire = true + var queue = requireQueue.splice(0, requireQueue.length), args + while (args = queue.shift()) { + innerRequire.apply(null, args) + } + } + return + } + + if (!Array.isArray(array)) { + avalon.error("require方法的第一个参数应为数组 " + array) + } + var deps = [] // 放置所有依赖项的完整路径 + var uniq = {} + var id = parentUrl || "callback" + setTimeout("1")// jshint ignore:line + defineConfig = defineConfig || {} + defineConfig.baseUrl = kernel.baseUrl + var isBuilt = !!defineConfig.built + if (parentUrl) { + defineConfig.parentUrl = parentUrl.substr(0, parentUrl.lastIndexOf("/")) + defineConfig.mapUrl = parentUrl.replace(rjsext, "") + } + if (isBuilt) { + var req = makeRequest(defineConfig.defineName, defineConfig) + id = req.urlNoQuery + } else { + array.forEach(function (name) { + var req = makeRequest(name, defineConfig) + var url = fireRequest(req) //加载资源,并返回该资源的完整地址 + if (url) { + if (!uniq[url]) { + deps.push(url) + uniq[url] = "司徒正美" //去重 + } + } + }) + } + + var module = modules[id] + if (!module || module.state !== 4) { + modules[id] = { + id: id, + deps: isBuilt ? array.concat() : deps, + factory: factory || noop, + state: 3 + } + } + if (!module) { + //如果此模块是定义在另一个JS文件中, 那必须等该文件加载完毕, 才能放到检测列队中 + loadings.push(id) + } + checkDeps() + } + +//核心API之二 require + innerRequire.define = function (name, deps, factory) { //模块名,依赖列表,模块本身 + if (typeof name !== "string") { + factory = deps + deps = name + name = "anonymous" + } + if (!Array.isArray(deps)) { + factory = deps + deps = [] + } + var config = { + built: !isUserFirstRequire, //用r.js打包后,所有define会放到requirejs之前 + defineName: name + } + var args = [deps, factory, config] + factory.require = function (url) { + args.splice(2, 0, url) + if (modules[url]) { + modules[url].state = 3 //loaded + var isCycle = false + try { + isCycle = checkCycle(modules[url].deps, url) + } catch (e) { + } + if (isCycle) { + avalon.error(url + "模块与之前的模块存在循环依赖,请不要直接用script标签引入" + url + "模块") + } + } + delete factory.require //释放内存 + innerRequire.apply(null, args) //0,1,2 --> 1,2,0 + } +//根据标准,所有遵循W3C标准的浏览器,script标签会按标签的出现顺序执行。 +//老的浏览器中,加载也是按顺序的:一个文件下载完成后,才开始下载下一个文件。 +//较新的浏览器中(IE8+ 、FireFox3.5+ 、Chrome4+ 、Safari4+),为了减小请求时间以优化体验, +//下载可以是并行的,但是执行顺序还是按照标签出现的顺序。 +//但如果script标签是动态插入的, 就未必按照先请求先执行的原则了,目测只有firefox遵守 +//唯一比较一致的是,IE10+及其他标准浏览器,一旦开始解析脚本, 就会一直堵在那里,直接脚本解析完毕 +//亦即,先进入loading阶段的script标签(模块)必然会先进入loaded阶段 + var url = config.built ? "unknown" : getCurrentScript() + if (url) { + var module = modules[url] + if (module) { + module.state = 2 + } + factory.require(url) + } else {//合并前后的safari,合并后的IE6-9走此分支 + factorys.push(factory) + } + } +//核心API之三 require.config(settings) + innerRequire.config = kernel + //核心API之四 define.amd 标识其符合AMD规范 + innerRequire.define.amd = modules + + //==========================对用户配置项进行再加工========================== + var allpaths = kernel["orig.paths"] = {} + var allmaps = kernel["orig.map"] = {} + var allpackages = kernel["packages"] = [] + var allargs = kernel["orig.args"] = {} + avalon.mix(plugins, { + paths: function (hash) { + avalon.mix(allpaths, hash) + kernel.paths = makeIndexArray(allpaths) + }, + map: function (hash) { + avalon.mix(allmaps, hash) + var list = makeIndexArray(allmaps, 1, 1) + avalon.each(list, function (_, item) { + item.val = makeIndexArray(item.val) + }) + kernel.map = list + }, + packages: function (array) { + array = array.concat(allpackages) + var uniq = {} + var ret = [] + for (var i = 0, pkg; pkg = array[i++]; ) { + pkg = typeof pkg === "string" ? {name: pkg} : pkg + var name = pkg.name + if (!uniq[name]) { + var url = joinPath(pkg.location || name, pkg.main || "main") + url = url.replace(rjsext, "") + ret.push(pkg) + uniq[name] = pkg.location = url + pkg.reg = makeMatcher(name) + } + } + kernel.packages = ret.sort() + }, + urlArgs: function (hash) { + if (typeof hash === "string") { + hash = {"*": hash} + } + avalon.mix(allargs, hash) + kernel.urlArgs = makeIndexArray(allargs, 1) + }, + baseUrl: function (url) { + if (!isAbsUrl(url)) { + var baseElement = head.getElementsByTagName("base")[0] + if (baseElement) { + head.removeChild(baseElement) + } + var node = DOC.createElement("a") + node.href = url + url = getFullUrl(node, "href") + if (baseElement) { + head.insertBefore(baseElement, head.firstChild) + } + } + if (url.length > 3) + kernel.baseUrl = url + }, + shim: function (obj) { + for (var i in obj) { + var value = obj[i] + if (Array.isArray(value)) { + value = obj[i] = { + deps: value + } + } + if (!value.exportsFn && (value.exports || value.init)) { + value.exportsFn = makeExports(value) + } + } + kernel.shim = obj + } + + }) + + + //==============================内部方法================================= + function checkCycle(deps, nick) { + //检测是否存在循环依赖 + for (var i = 0, id; id = deps[i++]; ) { + if (modules[id].state !== 4 && + (id === nick || checkCycle(modules[id].deps, nick))) { + return true + } + } + } + + function checkFail(node, onError, fuckIE) { + var id = trimQuery(node.src) //检测是否死链 + node.onload = node.onreadystatechange = node.onerror = null + if (onError || (fuckIE && modules[id] && !modules[id].state)) { + setTimeout(function () { + head.removeChild(node) + node = null // 处理旧式IE下的循环引用问题 + }) + log("debug: 加载 " + id + " 失败" + onError + " " + (!modules[id].state)) + } else { + return true + } + } + + function checkDeps() { + //检测此JS模块的依赖是否都已安装完毕,是则安装自身 + loop: for (var i = loadings.length, id; id = loadings[--i]; ) { + var obj = modules[id], + deps = obj.deps + if (!deps) + continue + for (var j = 0, key; key = deps[j]; j++) { + if (Object(modules[key]).state !== 4) { + continue loop + } + } + //如果deps是空对象或者其依赖的模块的状态都是2 + if (obj.state !== 4) { + loadings.splice(i, 1) //必须先移除再安装,防止在IE下DOM树建完后手动刷新页面,会多次执行它 + fireFactory(obj.id, obj.deps, obj.factory) + checkDeps() //如果成功,则再执行一次,以防有些模块就差本模块没有安装好 + } + } + } + + var rreadyState = /complete|loaded/ + function loadJS(url, id, callback) { + //通过script节点加载目标模块 + var node = DOC.createElement("script") + node.className = subscribers //让getCurrentScript只处理类名为subscribers的script节点 + var supportLoad = "onload" in node + var onEvent = supportLoad ? "onload" : "onreadystatechange" + function onload() { + var factory = factorys.pop() + factory && factory.require(id) + if (callback) { + callback() + } + if (checkFail(node, false, !supportLoad)) { + log("debug: 已成功加载 " + url) + id && loadings.push(id) + checkDeps() + } + } + var index = 0, loadID + node[onEvent] = supportLoad ? onload : function () { + if (rreadyState.test(node.readyState)) { + ++index + if (index === 1) { + loadID = setTimeout(onload, 500) + } else { + clearTimeout(loadID) + onload() + } + } + } + node.onerror = function () { + checkFail(node, true) + } + + head.insertBefore(node, head.firstChild) //chrome下第二个参数不能为null + node.src = url //插入到head的第一个节点前,防止IE6下head标签没闭合前使用appendChild抛错 + log("debug: 正准备加载 " + url) //更重要的是IE6下可以收窄getCurrentScript的寻找范围 + } + + var resources = innerRequire.plugins = { + //三大常用资源插件 js!, css!, text!, ready! + ready: { + load: noop + }, + js: { + load: function (name, req, onLoad) { + var url = req.url + var id = req.urlNoQuery + var shim = kernel.shim[name.replace(rjsext, "")] + if (shim) { //shim机制 + innerRequire(shim.deps || [], function () { + var args = avalon.slice(arguments) + loadJS(url, id, function () { + onLoad(shim.exportsFn ? shim.exportsFn.apply(0, args) : void 0) + }) + }) + } else { + loadJS(url, id) + } + } + }, + css: { + load: function (name, req, onLoad) { + var url = req.url + var node = DOC.createElement("link") + node.rel = "stylesheet" + node.href = url + head.insertBefore(node, head.firstChild) + log("debug: 已成功加载 " + url) + onLoad() + } + }, + text: { + load: function (name, req, onLoad) { + var url = req.url + var xhr = getXHR() + xhr.onreadystatechange = function () { + if (xhr.readyState === 4) { + var status = xhr.status; + if (status > 399 && status < 600) { + avalon.error(url + " 对应资源不存在或没有开启 CORS") + } else { + log("debug: 已成功加载 " + url) + onLoad(xhr.responseText) + } + } + } + var time = "_=" + (new Date() - 0) + var _url = url.indexOf("?") === -1 ? url + "?" + time : url + "&" + time + xhr.open("GET", _url, true) + if ("withCredentials" in xhr) {//这是处理跨域 + xhr.withCredentials = true + } + xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest")//告诉后端这是AJAX请求 + xhr.send() + log("debug: 正准备加载 " + url) + } + } + } + innerRequire.checkDeps = checkDeps + + var rquery = /(\?[^#]*)$/ + function trimQuery(url) { + return (url || "").replace(rquery, "") + } + + function isAbsUrl(path) { + //http://stackoverflow.com/questions/10687099/how-to-test-if-a-url-string-is-absolute-or-relative + return /^(?:[a-z]+:)?\/\//i.test(String(path)) + } + + function getFullUrl(node, src) { + return"1"[0] ? node[src] : node.getAttribute(src, 4) + } + + function getCurrentScript() { + // inspireb by https://github.com/samyk/jiagra/blob/master/jiagra.js + var stack + try { + a.b.c() //强制报错,以便捕获e.stack + } catch (e) { //safari5的sourceURL,firefox的fileName,它们的效果与e.stack不一样 + stack = e.stack + if (!stack && window.opera) { + //opera 9没有e.stack,但有e.Backtrace,但不能直接取得,需要对e对象转字符串进行抽取 + stack = (String(e).match(/of linked script \S+/g) || []).join(" ") + } + } + if (stack) { + /**e.stack最后一行在所有支持的浏览器大致如下: + *chrome23: + * at http://113.93.50.63/data.js:4:1 + *firefox17: + *@http://113.93.50.63/query.js:4 + *opera12:http://www.oldapps.com/opera.php?system=Windows_XP + *@http://113.93.50.63/data.js:4 + *IE10: + * at Global code (http://113.93.50.63/data.js:4:1) + * //firefox4+ 可以用document.currentScript + */ + stack = stack.split(/[@ ]/g).pop() //取得最后一行,最后一个空格或@之后的部分 + stack = stack[0] === "(" ? stack.slice(1, -1) : stack.replace(/\s/, "") //去掉换行符 + return trimQuery(stack.replace(/(:\d+)?:\d+$/i, "")) //去掉行号与或许存在的出错字符起始位置 + } + var nodes = head.getElementsByTagName("script") //只在head标签中寻找 + for (var i = nodes.length, node; node = nodes[--i]; ) { + if (node.className === subscribers && node.readyState === "interactive") { + var url = getFullUrl(node, "src") + return node.className = trimQuery(url) + } + } + } + + var rcallback = /^callback\d+$/ + function fireFactory(id, deps, factory) { + var module = Object(modules[id]) + module.state = 4 + for (var i = 0, array = [], d; d = deps[i++]; ) { + if (d === "exports") { + var obj = module.exports || (module.exports = {}) + array.push(obj) + } else { + array.push(modules[d].exports) + } + } + try { + var ret = factory.apply(window, array) + } catch (e) { + log("执行[" + id + "]模块的factory抛错: ", e) + } + if (ret !== void 0) { + module.exports = ret + } + if (rcallback.test(id)) { + delete modules[id] + } + delete module.factory + return ret + } + function toUrl(id) { + if (id.indexOf(this.res + "!") === 0) { + id = id.slice(this.res.length + 1) //处理define("css!style",[], function(){})的情况 + } + var url = id + //1. 是否命中paths配置项 + var usePath = 0 + var baseUrl = this.baseUrl + var rootUrl = this.parentUrl || baseUrl + eachIndexArray(id, kernel.paths, function (value, key) { + url = url.replace(key, value) + usePath = 1 + }) + //2. 是否命中packages配置项 + if (!usePath) { + eachIndexArray(id, kernel.packages, function (value, key, item) { + url = url.replace(item.name, item.location) + }) + } + //3. 是否命中map配置项 + if (this.mapUrl) { + eachIndexArray(this.mapUrl, kernel.map, function (array) { + eachIndexArray(url, array, function (mdValue, mdKey) { + url = url.replace(mdKey, mdValue) + rootUrl = baseUrl + }) + }) + } + var ext = this.ext + if (ext && usePath && url.slice(-ext.length) === ext) { + url = url.slice(0, -ext.length) + } + //4. 转换为绝对路径 + if (!isAbsUrl(url)) { + rootUrl = this.built || /^\w/.test(url) ? baseUrl : rootUrl + url = joinPath(rootUrl, url) + } + //5. 还原扩展名,query + var urlNoQuery = url + ext + url = urlNoQuery + this.query + //6. 处理urlArgs + eachIndexArray(id, kernel.urlArgs, function (value) { + url += (url.indexOf("?") === -1 ? "?" : "&") + value; + }) + this.url = url + return this.urlNoQuery = urlNoQuery + } + + function makeIndexArray(hash, useStar, part) { + //创建一个经过特殊算法排好序的数组 + var index = hash2array(hash, useStar, part) + index.sort(descSorterByName) + return index + } + + function makeMatcher(prefix) { + return new RegExp('^' + prefix + '(/|$)') + } + + function makeExports(value) { + return function () { + var ret + if (value.init) { + ret = value.init.apply(window, arguments) + } + return ret || (value.exports && getGlobal(value.exports)) + } + } + + + function hash2array(hash, useStar, part) { + var array = []; + for (var key in hash) { + if (ohasOwn.call(hash, key)) { + var item = { + name: key, + val: hash[key] + } + array.push(item) + item.reg = key === "*" && useStar ? /^/ : makeMatcher(key) + if (part && key !== "*") { + item.reg = new RegExp('\/' + key.replace(/^\//, "") + '(/|$)') + } + } + } + return array + } + + function eachIndexArray(moduleID, array, matcher) { + array = array || [] + for (var i = 0, el; el = array[i++]; ) { + if (el.reg.test(moduleID)) { + matcher(el.val, el.name, el) + return false + } + } + } + // 根据元素的name项进行数组字符数逆序的排序函数 + function descSorterByName(a, b) { + var aaa = a.name + var bbb = b.name + if (bbb === "*") { + return -1 + } + if (aaa === "*") { + return 1 + } + return bbb.length - aaa.length + } + + var rdeuce = /\/\w+\/\.\./ + function joinPath(a, b) { + if (a.charAt(a.length - 1) !== "/") { + a += "/" + } + if (b.slice(0, 2) === "./") { //相对于兄弟路径 + return a + b.slice(2) + } + if (b.slice(0, 2) === "..") { //相对于父路径 + a += b + while (rdeuce.test(a)) { + a = a.replace(rdeuce, "") + } + return a + } + if (b.slice(0, 1) === "/") { + return a + b.slice(1) + } + return a + b + } + + function getGlobal(value) { + if (!value) { + return value + } + var g = window + value.split(".").forEach(function (part) { + g = g[part] + }) + return g + } + + var mainNode = DOC.scripts[DOC.scripts.length - 1] + var dataMain = mainNode.getAttribute("data-main") + if (dataMain) { + plugins.baseUrl(dataMain) + var href = kernel.baseUrl + kernel.baseUrl = href.slice(0, href.lastIndexOf("/") + 1) + loadJS(href.replace(rjsext, "") + ".js") + } else { + var loaderUrl = trimQuery(getFullUrl(mainNode, "src")) + kernel.baseUrl = loaderUrl.slice(0, loaderUrl.lastIndexOf("/") + 1) + } +}// jshint ignore:line + +/********************************************************************* + * DOMReady * + **********************************************************************/ + +var readyList = [], isReady +var fireReady = function(fn) { + isReady = true + if (innerRequire) { + modules["domReady!"].state = 4 + innerRequire.checkDeps() + } + while(fn = readyList.shift()){ + fn(avalon) + } +} + +function doScrollCheck() { + try { //IE下通过doScrollCheck检测DOM树是否建完 + root.doScroll("left") + fireReady() + } catch (e) { + setTimeout(doScrollCheck) + } +} + +if (DOC.readyState === "complete") { + setTimeout(fireReady) //如果在domReady之外加载 +} else if (W3C) { + DOC.addEventListener("DOMContentLoaded", fireReady) +} else { + DOC.attachEvent("onreadystatechange", function() { + if (DOC.readyState === "complete") { + fireReady() + } + }) + try { + var isTop = window.frameElement === null + } catch (e) { + } + if (root.doScroll && isTop && window.external) {//fix IE iframe BUG + doScrollCheck() + } +} +avalon.bind(window, "load", fireReady) + +avalon.ready = function(fn) { + if (!isReady) { + readyList.push(fn) + } else { + fn(avalon) + } +} + +avalon.config({ + loader: true +}) + +avalon.ready(function() { + avalon.scan(DOC.body) +}) + +// Register as a named AMD module, since avalon can be concatenated with other +// files that may use define, but not via a proper concatenation script that +// understands anonymous AMD modules. A named AMD is safest and most robust +// way to register. Lowercase avalon is used because AMD module names are +// derived from file names, and Avalon is normally delivered in a lowercase +// file name. Do this after creating the global so that if an AMD module wants +// to call noConflict to hide this version of avalon, it will work. + +// Note that for maximum portability, libraries that are not avalon should +// declare themselves as anonymous modules, and avoid setting a global if an +// AMD loader is present. avalon is a special case. For more information, see +// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon + if (typeof define === "function" && define.amd) { + define("avalon", [], function() { + return avalon + }) + } +// Map over avalon in case of overwrite + var _avalon = window.avalon + avalon.noConflict = function(deep) { + if (deep && window.avalon === avalon) { + window.avalon = _avalon + } + return avalon + } +// Expose avalon identifiers, even in AMD +// and CommonJS for browser emulators + if (noGlobal === void 0) { + window.avalon = avalon + } + return avalon + })); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/avalon/avalon.modern.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/avalon/avalon.modern.js index 048b4241..7c37393f 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/avalon/avalon.modern.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/avalon/avalon.modern.js @@ -1,4935 +1,4935 @@ -/*================================================== - Copyright (c) 2013-2015 司徒正美 and other contributors - http://www.cnblogs.com/rubylouvre/ - https://github.com/RubyLouvre - http://weibo.com/jslouvre/ - - Released under the MIT license - avalon.modern.js 1.43 built in 2015.5.21 - support IE10+ and other browsers - ==================================================*/ -(function (global, factory) { - - 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 avalon. - // 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 avalon = require("avalon")(window); - module.exports = global.document ? factory(global, true) : function (w) { - if (!w.document) { - throw new Error("Avalon 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) { - - /********************************************************************* - * 全局变量及方法 * - **********************************************************************/ - var expose = Date.now() -//http://stackoverflow.com/questions/7290086/javascript-use-strict-and-nicks-find-global-function - var DOC = window.document - var head = DOC.head //HEAD元素 - head.insertAdjacentHTML("afterBegin", '') - var ifGroup = head.firstChild - - function log() { - if (avalon.config.debug) { -// http://stackoverflow.com/questions/8785624/how-to-safely-wrap-console-log - console.log.apply(console, arguments) - } - } - - /** - * Creates a new object without a prototype. This object is useful for lookup without having to - * guard against prototypically inherited properties via hasOwnProperty. - * - * Related micro-benchmarks: - * - http://jsperf.com/object-create2 - * - http://jsperf.com/proto-map-lookup/2 - * - http://jsperf.com/for-in-vs-object-keys2 - */ - function createMap() { - return Object.create(null) - } - - var subscribers = "$" + expose - var otherRequire = window.require - var otherDefine = window.define - var innerRequire - var stopRepeatAssign = false - var rword = /[^, ]+/g //切割字符串为一个个小块,以空格或豆号分开它们,结合replace实现字符串的forEach - var rcomplexType = /^(?:object|array)$/ - var rsvg = /^\[object SVG\w*Element\]$/ - var rwindow = /^\[object (?:Window|DOMWindow|global)\]$/ - var oproto = Object.prototype - var ohasOwn = oproto.hasOwnProperty - var serialize = oproto.toString - var ap = Array.prototype - var aslice = ap.slice - var Registry = {} //将函数曝光到此对象上,方便访问器收集依赖 - var W3C = window.dispatchEvent - var root = DOC.documentElement - var hyperspace = DOC.createDocumentFragment() - var cinerator = DOC.createElement("div") - var class2type = {} - "Boolean Number String Function Array Date RegExp Object Error".replace(rword, function (name) { - class2type["[object " + name + "]"] = name.toLowerCase() - }) - - - function noop() { - } - - - function oneObject(array, val) { - if (typeof array === "string") { - array = array.match(rword) || [] - } - var result = {}, - value = val !== void 0 ? val : 1 - for (var i = 0, n = array.length; i < n; i++) { - result[array[i]] = value - } - return result - } - -//生成UUID http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript - var generateID = function (prefix) { - prefix = prefix || "avalon" - return String(Math.random() + Math.random()).replace(/\d\.\d{4}/, prefix) - } - - function IE() { - if (window.VBArray) { - var mode = document.documentMode - return mode ? mode : window.XMLHttpRequest ? 7 : 6 - } else { - return 0 - } - } - - var IEVersion = IE() - - avalon = function (el) { //创建jQuery式的无new 实例化结构 - return new avalon.init(el) - } - - /*视浏览器情况采用最快的异步回调*/ - avalon.nextTick = new function () {// jshint ignore:line - var tickImmediate = window.setImmediate - var tickObserver = window.MutationObserver - var tickPost = W3C && window.postMessage - if (tickImmediate) { - return tickImmediate.bind(window) - } - - var queue = [] - - function callback() { - var n = queue.length - for (var i = 0; i < n; i++) { - queue[i]() - } - queue = queue.slice(n) - } - - if (tickObserver) { - var node = document.createTextNode("avalon") - new tickObserver(callback).observe(node, {characterData: true})// jshint ignore:line - return function (fn) { - queue.push(fn) - node.data = Math.random() - } - } - - if (tickPost) { - window.addEventListener("message", function (e) { - var source = e.source - if ((source === window || source === null) && e.data === "process-tick") { - e.stopPropagation() - callback() - } - }) - - return function (fn) { - queue.push(fn) - window.postMessage('process-tick', '*') - } - } - - return function (fn) { - setTimeout(fn, 0) - } - }// jshint ignore:line - /********************************************************************* - * avalon的静态方法定义区 * - **********************************************************************/ - avalon.init = function (el) { - this[0] = this.element = el - } - avalon.fn = avalon.prototype = avalon.init.prototype - - avalon.type = function (obj) { //取得目标的类型 - if (obj == null) { - return String(obj) - } - // 早期的webkit内核浏览器实现了已废弃的ecma262v4标准,可以将正则字面量当作函数使用,因此typeof在判定正则时会返回function - return typeof obj === "object" || typeof obj === "function" ? - class2type[serialize.call(obj)] || "object" : - typeof obj - } - - var isFunction = function (fn) { - return serialize.call(fn) === "[object Function]" - } - - avalon.isFunction = isFunction - - avalon.isWindow = function (obj) { - return rwindow.test(serialize.call(obj)) - } - - /*判定是否是一个朴素的javascript对象(Object),不是DOM对象,不是BOM对象,不是自定义类的实例*/ - - avalon.isPlainObject = function (obj) { - // 简单的 typeof obj === "object"检测,会致使用isPlainObject(window)在opera下通不过 - return serialize.call(obj) === "[object Object]" && Object.getPrototypeOf(obj) === oproto - } - -//与jQuery.extend方法,可用于浅拷贝,深拷贝 - avalon.mix = avalon.fn.mix = function () { - var options, name, src, copy, copyIsArray, clone, - target = arguments[0] || {}, - i = 1, - length = arguments.length, - deep = false - - // 如果第一个参数为布尔,判定是否深拷贝 - if (typeof target === "boolean") { - deep = target - target = arguments[1] || {} - i++ - } - - //确保接受方为一个复杂的数据类型 - if (typeof target !== "object" && !isFunction(target)) { - target = {} - } - - //如果只有一个参数,那么新成员添加于mix所在的对象上 - if (i === length) { - target = this - i-- - } - - for (; i < length; i++) { - //只处理非空参数 - if ((options = arguments[i]) != null) { - for (name in options) { - src = target[name] - copy = options[name] - // 防止环引用 - if (target === copy) { - continue - } - if (deep && copy && (avalon.isPlainObject(copy) || (copyIsArray = Array.isArray(copy)))) { - - if (copyIsArray) { - copyIsArray = false - clone = src && Array.isArray(src) ? src : [] - - } else { - clone = src && avalon.isPlainObject(src) ? src : {} - } - - target[name] = avalon.mix(deep, clone, copy) - } else if (copy !== void 0) { - target[name] = copy - } - } - } - } - return target - } - - function _number(a, len) { //用于模拟slice, splice的效果 - a = Math.floor(a) || 0 - return a < 0 ? Math.max(len + a, 0) : Math.min(a, len); - } - - avalon.mix({ - rword: rword, - subscribers: subscribers, - version: 1.43, - ui: {}, - log: log, - slice: function (nodes, start, end) { - return aslice.call(nodes, start, end) - }, - noop: noop, - /*如果不用Error对象封装一下,str在控制台下可能会乱码*/ - error: function (str, e) { - throw new (e || Error)(str)// jshint ignore:line - }, - /*将一个以空格或逗号隔开的字符串或数组,转换成一个键值都为1的对象*/ - oneObject: oneObject, - /* avalon.range(10) - => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] - avalon.range(1, 11) - => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] - avalon.range(0, 30, 5) - => [0, 5, 10, 15, 20, 25] - avalon.range(0, -10, -1) - => [0, -1, -2, -3, -4, -5, -6, -7, -8, -9] - avalon.range(0) - => []*/ - range: function (start, end, step) { // 用于生成整数数组 - step || (step = 1) - if (end == null) { - end = start || 0 - start = 0 - } - var index = -1, - length = Math.max(0, Math.ceil((end - start) / step)), - result = new Array(length) - while (++index < length) { - result[index] = start - start += step - } - return result - }, - eventHooks: {}, - /*绑定事件*/ - bind: function (el, type, fn, phase) { - var hooks = avalon.eventHooks - var hook = hooks[type] - if (typeof hook === "object") { - type = hook.type - if (hook.deel) { - fn = hook.deel(el, type, fn, phase) - } - } - if (!fn.unbind) - el.addEventListener(type, fn, !!phase) - return fn - }, - /*卸载事件*/ - unbind: function (el, type, fn, phase) { - var hooks = avalon.eventHooks - var hook = hooks[type] - var callback = fn || noop - if (typeof hook === "object") { - type = hook.type - if (hook.deel) { - fn = hook.deel(el, type, fn, false) - } - } - el.removeEventListener(type, callback, !!phase) - }, - /*读写删除元素节点的样式*/ - css: function (node, name, value) { - if (node instanceof avalon) { - node = node[0] - } - var prop = /[_-]/.test(name) ? camelize(name) : name, fn - name = avalon.cssName(prop) || prop - if (value === void 0 || typeof value === "boolean") { //获取样式 - fn = cssHooks[prop + ":get"] || cssHooks["@:get"] - if (name === "background") { - name = "backgroundColor" - } - var val = fn(node, name) - return value === true ? parseFloat(val) || 0 : val - } else if (value === "") { //请除样式 - node.style[name] = "" - } else { //设置样式 - if (value == null || value !== value) { - return - } - if (isFinite(value) && !avalon.cssNumber[prop]) { - value += "px" - } - fn = cssHooks[prop + ":set"] || cssHooks["@:set"] - fn(node, name, value) - } - }, - /*遍历数组与对象,回调的第一个参数为索引或键名,第二个或元素或键值*/ - each: function (obj, fn) { - if (obj) { //排除null, undefined - var i = 0 - if (isArrayLike(obj)) { - for (var n = obj.length; i < n; i++) { - if (fn(i, obj[i]) === false) - break - } - } else { - for (i in obj) { - if (obj.hasOwnProperty(i) && fn(i, obj[i]) === false) { - break - } - } - } - } - }, - //收集元素的data-{{prefix}}-*属性,并转换为对象 - getWidgetData: function (elem, prefix) { - var raw = avalon(elem).data() - var result = {} - for (var i in raw) { - if (i.indexOf(prefix) === 0) { - result[i.replace(prefix, "").replace(/\w/, function (a) { - return a.toLowerCase() - })] = raw[i] - } - } - return result - }, - Array: { - /*只有当前数组不存在此元素时只添加它*/ - ensure: function (target, item) { - if (target.indexOf(item) === -1) { - return target.push(item) - } - }, - /*移除数组中指定位置的元素,返回布尔表示成功与否*/ - removeAt: function (target, index) { - return !!target.splice(index, 1).length - }, - /*移除数组中第一个匹配传参的那个元素,返回布尔表示成功与否*/ - remove: function (target, item) { - var index = target.indexOf(item) - if (~index) - return avalon.Array.removeAt(target, index) - return false - } - } - }) - - var bindingHandlers = avalon.bindingHandlers = {} - var bindingExecutors = avalon.bindingExecutors = {} - - /*判定是否类数组,如节点集合,纯数组,arguments与拥有非负整数的length属性的纯JS对象*/ - function isArrayLike(obj) { - if (obj && typeof obj === "object") { - var n = obj.length, - str = serialize.call(obj) - if (/(Array|List|Collection|Map|Arguments)\]$/.test(str)) { - return true - } else if (str === "[object Object]" && n === (n >>> 0)) { - return true //由于ecma262v5能修改对象属性的enumerable,因此不能用propertyIsEnumerable来判定了 - } - } - return false - } - - -// https://github.com/rsms/js-lru - var Cache = new function () {// jshint ignore:line - function LRU(maxLength) { - this.size = 0 - this.limit = maxLength - this.head = this.tail = void 0 - this._keymap = {} - } - - var p = LRU.prototype - - p.put = function (key, value) { - var entry = { - key: key, - value: value - } - this._keymap[key] = entry - if (this.tail) { - this.tail.newer = entry - entry.older = this.tail - } else { - this.head = entry - } - this.tail = entry - if (this.size === this.limit) { - this.shift() - } else { - this.size++ - } - return value - } - - p.shift = function () { - var entry = this.head - if (entry) { - this.head = this.head.newer - this.head.older = - entry.newer = - entry.older = - this._keymap[entry.key] = void 0 - } - } - p.get = function (key) { - var entry = this._keymap[key] - if (entry === void 0) - return - if (entry === this.tail) { - return entry.value - } - // HEAD--------------TAIL - // <.older .newer> - // <--- add direction -- - // A B C E - if (entry.newer) { - if (entry === this.head) { - this.head = entry.newer - } - entry.newer.older = entry.older // C <-- E. - } - if (entry.older) { - entry.older.newer = entry.newer // C. --> E - } - entry.newer = void 0 // D --x - entry.older = this.tail // D. --> E - if (this.tail) { - this.tail.newer = entry // E. <-- D - } - this.tail = entry - return entry.value - } - return LRU - }// jshint ignore:line - - /********************************************************************* - * DOM 底层补丁 * - **********************************************************************/ -//safari5+是把contains方法放在Element.prototype上而不是Node.prototype - if (!DOC.contains) { - Node.prototype.contains = function (arg) { - return !!(this.compareDocumentPosition(arg) & 16) - } - } - avalon.contains = function (root, el) { - try { - while ((el = el.parentNode)) - if (el === root) - return true - return false - } catch (e) { - return false - } - } - - if (window.SVGElement) { - var svgns = "http://www.w3.org/2000/svg" - var svg = DOC.createElementNS(svgns, "svg") - svg.innerHTML = '' - if (!rsvg.test(svg.firstChild)) {// #409 - /* jshint ignore:start */ - function enumerateNode(node, targetNode) { - if (node && node.childNodes) { - var nodes = node.childNodes - for (var i = 0, el; el = nodes[i++];) { - if (el.tagName) { - var svg = DOC.createElementNS(svgns, - el.tagName.toLowerCase()) - // copy attrs - ap.forEach.call(el.attributes, function (attr) { - svg.setAttribute(attr.name, attr.value) - }) - // 递归处理子节点 - enumerateNode(el, svg) - targetNode.appendChild(svg) - } - } - } - } - - /* jshint ignore:end */ - Object.defineProperties(SVGElement.prototype, { - "outerHTML": {//IE9-11,firefox不支持SVG元素的innerHTML,outerHTML属性 - enumerable: true, - configurable: true, - get: function () { - return new XMLSerializer().serializeToString(this) - }, - set: function (html) { - var tagName = this.tagName.toLowerCase(), - par = this.parentNode, - frag = avalon.parseHTML(html) - // 操作的svg,直接插入 - if (tagName === "svg") { - par.insertBefore(frag, this) - // svg节点的子节点类似 - } else { - var newFrag = DOC.createDocumentFragment() - enumerateNode(frag, newFrag) - par.insertBefore(newFrag, this) - } - par.removeChild(this) - } - }, - "innerHTML": { - enumerable: true, - configurable: true, - get: function () { - var s = this.outerHTML - var ropen = new RegExp("<" + this.nodeName + '\\b(?:(["\'])[^"]*?(\\1)|[^>])*>', "i") - var rclose = new RegExp("<\/" + this.nodeName + ">$", "i") - return s.replace(ropen, "").replace(rclose, "") - }, - set: function (html) { - if (avalon.clearHTML) { - avalon.clearHTML(this) - var frag = avalon.parseHTML(html) - enumerateNode(frag, this) - } - } - } - }) - } - } -//========================= event binding ==================== - var eventHooks = avalon.eventHooks -//针对firefox, chrome修正mouseenter, mouseleave(chrome30+) - if (!("onmouseenter" in root)) { - avalon.each({ - mouseenter: "mouseover", - mouseleave: "mouseout" - }, function (origType, fixType) { - eventHooks[origType] = { - type: fixType, - deel: function (elem, _, fn) { - return function (e) { - var t = e.relatedTarget - if (!t || (t !== elem && !(elem.compareDocumentPosition(t) & 16))) { - delete e.type - e.type = origType - return fn.call(elem, e) - } - } - } - } - }) - } -//针对IE9+, w3c修正animationend - avalon.each({ - AnimationEvent: "animationend", - WebKitAnimationEvent: "webkitAnimationEnd" - }, function (construct, fixType) { - if (window[construct] && !eventHooks.animationend) { - eventHooks.animationend = { - type: fixType - } - } - }) - - if (DOC.onmousewheel === void 0) { - /* IE6-11 chrome mousewheel wheelDetla 下 -120 上 120 - firefox DOMMouseScroll detail 下3 上-3 - firefox wheel detlaY 下3 上-3 - IE9-11 wheel deltaY 下40 上-40 - chrome wheel deltaY 下100 上-100 */ - eventHooks.mousewheel = { - type: "wheel", - deel: function (elem, _, fn) { - return function (e) { - e.wheelDeltaY = e.wheelDelta = e.deltaY > 0 ? -120 : 120 - e.wheelDeltaX = 0 - Object.defineProperty(e, "type", { - value: "mousewheel" - }) - fn.call(elem, e) - } - } - } - } - - /********************************************************************* - * 配置系统 * - **********************************************************************/ - - function kernel(settings) { - for (var p in settings) { - if (!ohasOwn.call(settings, p)) - continue - var val = settings[p] - if (typeof kernel.plugins[p] === "function") { - kernel.plugins[p](val) - } else if (typeof kernel[p] === "object") { - avalon.mix(kernel[p], val) - } else { - kernel[p] = val - } - } - return this - } - - var openTag, closeTag, rexpr, rexprg, rbind, rregexp = /[-.*+?^${}()|[\]\/\\]/g - - function escapeRegExp(target) { - //http://stevenlevithan.com/regex/xregexp/ - //将字符串安全格式化为正则表达式的源码 - return (target + "").replace(rregexp, "\\$&") - } - - var plugins = { - loader: function (builtin) { - var flag = innerRequire && builtin - window.require = flag ? innerRequire : otherRequire - window.define = flag ? innerRequire.define : otherDefine - }, - interpolate: function (array) { - openTag = array[0] - closeTag = array[1] - if (openTag === closeTag) { - throw new SyntaxError("openTag!==closeTag") - } else if (array + "" === "") { - kernel.commentInterpolate = true - } else { - var test = openTag + "test" + closeTag - cinerator.innerHTML = test - if (cinerator.innerHTML !== test && cinerator.innerHTML.indexOf("<") > -1) { - throw new SyntaxError("此定界符不合法") - } - cinerator.innerHTML = "" - } - var o = escapeRegExp(openTag), - c = escapeRegExp(closeTag) - rexpr = new RegExp(o + "(.*?)" + c) - rexprg = new RegExp(o + "(.*?)" + c, "g") - rbind = new RegExp(o + ".*?" + c + "|\\sms-") - } - } - - kernel.debug = true - kernel.plugins = plugins - kernel.plugins['interpolate'](["{{", "}}"]) - kernel.paths = {} - kernel.shim = {} - kernel.maxRepeatSize = 100 - avalon.config = kernel - var ravalon = /(\w+)\[(avalonctrl)="(\S+)"\]/ - var findNodes = function (str) { - return DOC.querySelectorAll(str) - } - /********************************************************************* - * 事件总线 * - **********************************************************************/ - var EventBus = { - $watch: function (type, callback) { - if (typeof callback === "function") { - var callbacks = this.$events[type] - if (callbacks) { - callbacks.push(callback) - } else { - this.$events[type] = [callback] - } - } else { //重新开始监听此VM的第一重简单属性的变动 - this.$events = this.$watch.backup - } - return this - }, - $unwatch: function (type, callback) { - var n = arguments.length - if (n === 0) { //让此VM的所有$watch回调无效化 - this.$watch.backup = this.$events - this.$events = {} - } else if (n === 1) { - this.$events[type] = [] - } else { - var callbacks = this.$events[type] || [] - var i = callbacks.length - while (~--i < 0) { - if (callbacks[i] === callback) { - return callbacks.splice(i, 1) - } - } - } - return this - }, - $fire: function (type) { - var special, i, v, callback - if (/^(\w+)!(\S+)$/.test(type)) { - special = RegExp.$1 - type = RegExp.$2 - } - var events = this.$events - if (!events) - return - var args = aslice.call(arguments, 1) - var detail = [type].concat(args) - if (special === "all") { - for (i in avalon.vmodels) { - v = avalon.vmodels[i] - if (v !== this) { - v.$fire.apply(v, detail) - } - } - } else if (special === "up" || special === "down") { - var elements = events.expr ? findNodes(events.expr) : [] - if (elements.length === 0) - return - for (i in avalon.vmodels) { - v = avalon.vmodels[i] - if (v !== this) { - if (v.$events.expr) { - var eventNodes = findNodes(v.$events.expr) - if (eventNodes.length === 0) { - continue - } - //循环两个vmodel中的节点,查找匹配(向上匹配或者向下匹配)的节点并设置标识 - /* jshint ignore:start */ - Array.prototype.forEach.call(eventNodes, function (node) { - Array.prototype.forEach.call(elements, function (element) { - var ok = special === "down" ? element.contains(node) : //向下捕获 - node.contains(element) //向上冒泡 - if (ok) { - node._avalon = v //符合条件的加一个标识 - } - }); - }) - /* jshint ignore:end */ - } - } - } - var nodes = DOC.getElementsByTagName("*") //实现节点排序 - var alls = [] - Array.prototype.forEach.call(nodes, function (el) { - if (el._avalon) { - alls.push(el._avalon) - el._avalon = "" - el.removeAttribute("_avalon") - } - }) - if (special === "up") { - alls.reverse() - } - for (i = 0; callback = alls[i++];) { - if (callback.$fire.apply(callback, detail) === false) { - break - } - } - } else { - var callbacks = events[type] || [] - var all = events.$all || [] - for (i = 0; callback = callbacks[i++];) { - if (isFunction(callback)) - callback.apply(this, args) - } - for (i = 0; callback = all[i++];) { - if (isFunction(callback)) - callback.apply(this, arguments) - } - } - } - } - - /********************************************************************* - * modelFactory * - **********************************************************************/ -//avalon最核心的方法的两个方法之一(另一个是avalon.scan),返回一个ViewModel(VM) - var VMODELS = avalon.vmodels = createMap() //所有vmodel都储存在这里 - avalon.define = function (id, factory) { - var $id = id.$id || id - if (!$id) { - log("warning: vm必须指定$id") - } - if (VMODELS[$id]) { - log("warning: " + $id + " 已经存在于avalon.vmodels中") - } - if (typeof id === "object") { - var model = modelFactory(id) - } else { - var scope = { - $watch: noop - } - factory(scope) //得到所有定义 - model = modelFactory(scope) //偷天换日,将scope换为model - stopRepeatAssign = true - factory(model) - stopRepeatAssign = false - } - model.$id = $id - return VMODELS[$id] = model - } - -//一些不需要被监听的属性 - var $$skipArray = String("$id,$watch,$unwatch,$fire,$events,$model,$skipArray").match(rword) - - function isObservable(name, value, $skipArray) { - if (isFunction(value) || value && value.nodeType) { - return false - } - if ($skipArray.indexOf(name) !== -1) { - return false - } - if ($$skipArray.indexOf(name) !== -1) { - return false - } - var $special = $skipArray.$special - if (name && name.charAt(0) === "$" && !$special[name]) { - return false - } - return true - } - -//ms-with,ms-each, ms-repeat绑定生成的代理对象储存池 - var midway = createMap() - - function getNewValue(accessor, name, value, $vmodel) { - switch (accessor.type) { - case 0://计算属性 - var getter = accessor.get - var setter = accessor.set - if (isFunction(setter)) { - var $events = $vmodel.$events - var lock = $events[name] - $events[name] = [] //清空回调,防止内部冒泡而触发多次$fire - setter.call($vmodel, value) - $events[name] = lock - } - return getter.call($vmodel) //同步$model - case 1://监控属性 - return value - case 2://对象属性(包括数组与哈希) - if (value !== $vmodel.$model[name]) { - var svmodel = accessor.svmodel = objectFactory($vmodel, name, value, accessor.valueType) - value = svmodel.$model //同步$model - var fn = midway[svmodel.$id] - fn && fn() //同步视图 - } - return value - } - } - - function modelFactory(source, $special, $model) { - if (Array.isArray(source)) { - var arr = source.concat() - source.length = 0 - var collection = Collection(source)// jshint ignore:line - collection.pushArray(arr) - return collection - } - //0 null undefined || Node || VModel - if (!source || source.nodeType > 0 || (source.$id && source.$events)) { - return source - } - if (!Array.isArray(source.$skipArray)) { - source.$skipArray = [] - } - source.$skipArray.$special = $special || createMap() //强制要监听的属性 - var $vmodel = {} //要返回的对象, 它在IE6-8下可能被偷龙转凤 - $model = $model || {} //vmodels.$model属性 - var $events = createMap() //vmodel.$events属性 - var watchedProperties = createMap() //监控属性 - var initCallbacks = [] //初始化才执行的函数 - for (var i in source) { - (function (name, val) { - $model[name] = val - if (!isObservable(name, val, source.$skipArray)) { - return //过滤所有非监控属性 - } - //总共产生三种accessor - $events[name] = [] - var valueType = avalon.type(val) - var accessor = function (newValue) { - var name = accessor._name - var $vmodel = this - var $model = $vmodel.$model - var oldValue = $model[name] - var $events = $vmodel.$events - - if (arguments.length) { - if (stopRepeatAssign) { - return - } - //计算属性与对象属性需要重新计算newValue - if (accessor.type !== 1) { - newValue = getNewValue(accessor, name, newValue, $vmodel) - if (!accessor.type) - return - } - if (!isEqual(oldValue, newValue)) { - $model[name] = newValue - notifySubscribers($events[name]) //同步视图 - safeFire($vmodel, name, newValue, oldValue) //触发$watch回调 - } - } else { - if (accessor.type === 0) { //type 0 计算属性 1 监控属性 2 对象属性 - //计算属性不需要收集视图刷新函数,都是由其他监控属性代劳 - newValue = accessor.get.call($vmodel) - if (oldValue !== newValue) { - $model[name] = newValue - //这里不用同步视图 - safeFire($vmodel, name, newValue, oldValue) //触发$watch回调 - } - return newValue - } else { - collectSubscribers($events[name]) //收集视图函数 - return accessor.svmodel || oldValue - } - } - } - //总共产生三种accessor - if (valueType === "object" && isFunction(val.get) && Object.keys(val).length <= 2) { - //第1种为计算属性, 因变量,通过其他监控属性触发其改变 - accessor.set = val.set - accessor.get = val.get - accessor.type = 0 - initCallbacks.push(function () { - var data = { - evaluator: function () { - data.type = Math.random(), - data.element = null - $model[name] = accessor.get.call($vmodel) - }, - element: head, - type: Math.random(), - handler: noop, - args: [] - } - Registry[expose] = data - accessor.call($vmodel) - delete Registry[expose] - }) - } else if (rcomplexType.test(valueType)) { - //第2种为对象属性,产生子VM与监控数组 - accessor.type = 2 - accessor.valueType = valueType - initCallbacks.push(function () { - var svmodel = modelFactory(val, 0, $model[name]) - accessor.svmodel = svmodel - svmodel.$events[subscribers] = $events[name] - }) - } else { - accessor.type = 1 - //第3种为监控属性,对应简单的数据类型,自变量 - } - accessor._name = name - watchedProperties[name] = accessor - })(i, source[i])// jshint ignore:line - } - - $$skipArray.forEach(function (name) { - delete source[name] - delete $model[name] //这些特殊属性不应该在$model中出现 - }) - - $vmodel = Object.defineProperties($vmodel, descriptorFactory(watchedProperties), source) //生成一个空的ViewModel - for (var name in source) { - if (!watchedProperties[name]) { - $vmodel[name] = source[name] - } - } - //添加$id, $model, $events, $watch, $unwatch, $fire - $vmodel.$id = generateID() - $vmodel.$model = $model - $vmodel.$events = $events - for (i in EventBus) { - $vmodel[i] = EventBus[i] - } - - Object.defineProperty($vmodel, "hasOwnProperty", { - value: function (name) { - return name in this.$model - }, - writable: false, - enumerable: false, - configurable: true - }) - - initCallbacks.forEach(function (cb) { //收集依赖 - cb() - }) - return $vmodel - } - -//比较两个值是否相等 - var isEqual = Object.is || function (v1, v2) { - if (v1 === 0 && v2 === 0) { - return 1 / v1 === 1 / v2 - } else if (v1 !== v1) { - return v2 !== v2 - } else { - return v1 === v2 - } - } - - function safeFire(a, b, c, d) { - if (a.$events) { - EventBus.$fire.call(a, b, c, d) - } - } - - var descriptorFactory = function (obj) { - var descriptors = createMap() - for (var i in obj) { - descriptors[i] = { - get: obj[i], - set: obj[i], - enumerable: true, - configurable: true - } - } - return descriptors - } - -//应用于第2种accessor - function objectFactory(parent, name, value, valueType) { - //a为原来的VM, b为新数组或新对象 - var son = parent[name] - if (valueType === "array") { - if (!Array.isArray(value) || son === value) { - return son //fix https://github.com/RubyLouvre/avalon/issues/261 - } - son._.$unwatch() - son.clear() - son._.$watch() - son.pushArray(value.concat()) - return son - } else { - var iterators = parent.$events[name] - var ret = modelFactory(value) - ret.$events[subscribers] = iterators - midway[ret.$id] = function (data) { - while (data = iterators.shift()) { - (function (el) { - avalon.nextTick(function () { - var type = el.type - if (type && bindingHandlers[type]) { //#753 - el.rollback && el.rollback() //还原 ms-with ms-on - bindingHandlers[type](el, el.vmodels) - } - }) - })(data)// jshint ignore:line - } - delete midway[ret.$id] - } - return ret - } - } - - /********************************************************************* - * 监控数组(与ms-each, ms-repeat配合使用) * - **********************************************************************/ - - function Collection(model) { - var array = [] - array.$id = generateID() - array.$model = model //数据模型 - array.$events = {} - array.$events[subscribers] = [] - array._ = modelFactory({ - length: model.length - }) - array._.$watch("length", function (a, b) { - array.$fire("length", a, b) - }) - for (var i in EventBus) { - array[i] = EventBus[i] - } - array.$map = { - el: 1 - } - array.$proxy = [] - avalon.mix(array, CollectionPrototype) - return array - } - - function mutateArray(method, pos, n, index, method2, pos2, n2) { - var oldLen = this.length, loop = 2 - while (--loop) { - switch (method) { - case "add": - /* jshint ignore:start */ - var m = pos + n - var array = this.$model.slice(pos, m).map(function (el) { - if (rcomplexType.test(avalon.type(el))) {//转换为VM - return el.$id ? el : modelFactory(el, 0, el) - } else { - return el - } - }) - /* jshint ignore:end */ - for (var i = pos; i < m; i++) {//生成代理VM - var proxy = eachProxyAgent(i, this) - this.$proxy.splice(i, 0, proxy) - } - _splice.apply(this, [pos, 0].concat(array)) - this._fire("add", pos, n) - break - case "del": - var ret = this._splice(pos, n) - var removed = this.$proxy.splice(pos, n) //回收代理VM - recycleProxies(removed, "each") - this._fire("del", pos, n) - break - } - if (method2) { - method = method2 - pos = pos2 - n = n2 - loop = 2 - method2 = 0 - } - } - resetIndex(this.$proxy, index) - if (this.length !== oldLen) { - this._.length = this.length - } - return ret - } - - var _splice = ap.splice - var CollectionPrototype = { - _splice: _splice, - _fire: function (method, a, b) { - notifySubscribers(this.$events[subscribers], method, a, b) - }, - size: function () { //取得数组长度,这个函数可以同步视图,length不能 - return this._.length - }, - pushArray: function (array) { - var m = array.length, n = this.length - if (m) { - ap.push.apply(this.$model, array) - mutateArray.call(this, "add", n, m, Math.max(0, n - 1)) - } - return m + n - }, - push: function () { - //http://jsperf.com/closure-with-arguments - var array = [] - var i, n = arguments.length - for (i = 0; i < n; i++) { - array[i] = arguments[i] - } - return this.pushArray(array) - }, - unshift: function () { - var m = arguments.length, n = this.length - if (m) { - ap.unshift.apply(this.$model, arguments) - mutateArray.call(this, "add", 0, m, 0) - } - return m + n //IE67的unshift不会返回长度 - }, - shift: function () { - if (this.length) { - var el = this.$model.shift() - mutateArray.call(this, "del", 0, 1, 0) - return el //返回被移除的元素 - } - }, - pop: function () { - var n = this.length - if (n) { - var el = this.$model.pop() - mutateArray.call(this, "del", n - 1, 1, Math.max(0, n - 2)) - return el //返回被移除的元素 - } - }, - splice: function (start) { - var m = arguments.length, args = [], change - var removed = _splice.apply(this.$model, arguments) - if (removed.length) { //如果用户删掉了元素 - args.push("del", start, removed.length, 0) - change = true - } - if (m > 2) { //如果用户添加了元素 - if (change) { - args.splice(3, 1, 0, "add", start, m - 2) - } else { - args.push("add", start, m - 2, 0) - } - change = true - } - if (change) { //返回被移除的元素 - return mutateArray.apply(this, args) - } else { - return [] - } - }, - contains: function (el) { //判定是否包含 - return this.indexOf(el) !== -1 - }, - remove: function (el) { //移除第一个等于给定值的元素 - return this.removeAt(this.indexOf(el)) - }, - removeAt: function (index) { //移除指定索引上的元素 - if (index >= 0) { - this.$model.splice(index, 1) - return mutateArray.call(this, "del", index, 1, 0) - } - return [] - }, - clear: function () { - recycleProxies(this.$proxy, "each") - this.$model.length = this.$proxy.length = this.length = this._.length = 0 //清空数组 - this._fire("clear", 0) - return this - }, - removeAll: function (all) { //移除N个元素 - if (Array.isArray(all)) { - all.forEach(function (el) { - this.remove(el) - }, this) - } else if (typeof all === "function") { - for (var i = this.length - 1; i >= 0; i--) { - var el = this[i] - if (all(el, i)) { - this.removeAt(i) - } - } - } else { - this.clear() - } - }, - ensure: function (el) { - if (!this.contains(el)) { //只有不存在才push - this.push(el) - } - return this - }, - set: function (index, val) { - if (index >= 0) { - var valueType = avalon.type(val) - if (val && val.$model) { - val = val.$model - } - var target = this[index] - if (valueType === "object") { - for (var i in val) { - if (target.hasOwnProperty(i)) { - target[i] = val[i] - } - } - } else if (valueType === "array") { - target.clear().push.apply(target, val) - } else if (target !== val) { - this[index] = val - this.$model[index] = val - var proxy = this.$proxy[index] - if (proxy) { - notifySubscribers(proxy.$events.el) - } - // this._fire("set", index, val) - } - } - return this - } - } -//相当于原来bindingExecutors.repeat 的index分支 - function resetIndex(array, pos) { - var last = array.length - 1 - for (var el; el = array[pos]; pos++) { - el.$index = pos - el.$first = pos === 0 - el.$last = pos === last - } - } - - function sortByIndex(array, indexes) { - var map = {}; - for (var i = 0, n = indexes.length; i < n; i++) { - map[i] = array[i] // preserve - var j = indexes[i] - if (j in map) { - array[i] = map[j] - delete map[j] - } else { - array[i] = array[j] - } - } - } - - "sort,reverse".replace(rword, function (method) { - CollectionPrototype[method] = function () { - var newArray = this.$model//这是要排序的新数组 - var oldArray = newArray.concat() //保持原来状态的旧数组 - var mask = Math.random() - var indexes = [] - var hasSort - ap[method].apply(newArray, arguments) //排序 - for (var i = 0, n = oldArray.length; i < n; i++) { - var neo = newArray[i] - var old = oldArray[i] - if (isEqual(neo, old)) { - indexes.push(i) - } else { - var index = oldArray.indexOf(neo) - indexes.push(index)//得到新数组的每个元素在旧数组对应的位置 - oldArray[index] = mask //屏蔽已经找过的元素 - hasSort = true - } - } - if (hasSort) { - sortByIndex(this, indexes) - sortByIndex(this.$proxy, indexes) - this._fire("move", indexes) - resetIndex(this.$proxy, 0) - } - return this - } - }) - - /********************************************************************* - * 依赖调度系统 * - **********************************************************************/ - var ronduplex = /^(duplex|on)$/ - - avalon.injectBinding = function (data) { - Registry[expose] = data //暴光此函数,方便collectSubscribers收集 - avalon.openComputedCollect = true - var fn = data.evaluator - if (fn) { //如果是求值函数 - try { - var c = ronduplex.test(data.type) ? data : fn.apply(0, data.args) - if (!data.noRefresh) - data.handler(c, data.element, data) - } catch (e) { - //log("warning:exception throwed in [avalon.injectBinding] " + e) - delete data.evaluator - var node = data.element - if (node.nodeType === 3) { - var parent = node.parentNode - if (kernel.commentInterpolate) { - parent.replaceChild(DOC.createComment(data.value), node) - } else { - node.data = openTag + data.value + closeTag - } - } - } - } - avalon.openComputedCollect = false - delete Registry[expose] - } - - function collectSubscribers(list) { //收集依赖于这个访问器的订阅者 - var data = Registry[expose] - if (list && data && avalon.Array.ensure(list, data) && data.element) { //只有数组不存在此元素才push进去 - addSubscribers(data, list) - } - } - - - function addSubscribers(data, list) { - data.$uuid = data.$uuid || generateID() - list.$uuid = list.$uuid || generateID() - var obj = { - data: data, - list: list, - $$uuid: data.$uuid + list.$uuid - } - if (!$$subscribers[obj.$$uuid]) { - $$subscribers[obj.$$uuid] = 1 - $$subscribers.push(obj) - } - } - - function disposeData(data) { - data.element = null - data.rollback && data.rollback() - for (var key in data) { - data[key] = null - } - } - - function isRemove(el) { - try {//IE下,如果文本节点脱离DOM树,访问parentNode会报错 - if (!el.parentNode) { - return true - } - } catch (e) { - return true - } - return el.msRetain ? 0 : (el.nodeType === 1 ? typeof el.sourceIndex === "number" ? - el.sourceIndex === 0 : !root.contains(el) : !avalon.contains(root, el)) - } - - var $$subscribers = avalon.$$subscribers = [] - var beginTime = new Date() - var oldInfo = {} - - function removeSubscribers() { - var i = $$subscribers.length - var n = i - var k = 0 - var obj - var types = [] - var newInfo = {} - var needTest = {} - while (obj = $$subscribers[--i]) { - var data = obj.data - var type = data.type - if (newInfo[type]) { - newInfo[type]++ - } else { - newInfo[type] = 1 - types.push(type) - } - } - var diff = false - types.forEach(function (type) { - if (oldInfo[type] !== newInfo[type]) { - needTest[type] = 1 - diff = true - } - }) - i = n - //avalon.log("需要检测的个数 " + i) - if (diff) { - //avalon.log("有需要移除的元素") - while (obj = $$subscribers[--i]) { - data = obj.data - if (data.element === void 0) - continue - if (needTest[data.type] && isRemove(data.element)) { //如果它没有在DOM树 - k++ - $$subscribers.splice(i, 1) - delete $$subscribers[obj.$$uuid] - avalon.Array.remove(obj.list, data) - //log("debug: remove " + data.type) - disposeData(data) - obj.data = obj.list = null - } - } - } - oldInfo = newInfo - // avalon.log("已经移除的个数 " + k) - beginTime = new Date() - } - - function notifySubscribers(list) { //通知依赖于这个访问器的订阅者更新自身 - if (list && list.length) { - if (new Date() - beginTime > 444 && typeof list[0] === "object") { - removeSubscribers() - } - var args = aslice.call(arguments, 1) - for (var i = list.length, fn; fn = list[--i];) { - var el = fn.element - if (el && el.parentNode) { - if (fn.$repeat) { - fn.handler.apply(fn, args) //处理监控数组的方法 - } else if (fn.type !== "on") { //事件绑定只能由用户触发,不能由程序触发 - var fun = fn.evaluator || noop - fn.handler(fun.apply(0, fn.args || []), el, fn) - } - } - } - } - } - - /************************************************************************ - * HTML处理(parseHTML, innerHTML, clearHTML) * - **************************************************************************/ -//parseHTML的辅助变量 - var tagHooks = new function () {// jshint ignore:line - avalon.mix(this, { - option: DOC.createElement("select"), - thead: DOC.createElement("table"), - td: DOC.createElement("tr"), - area: DOC.createElement("map"), - tr: DOC.createElement("tbody"), - col: DOC.createElement("colgroup"), - legend: DOC.createElement("fieldset"), - _default: DOC.createElement("div"), - "g": DOC.createElementNS("http://www.w3.org/2000/svg", "svg") - }) - this.optgroup = this.option - this.tbody = this.tfoot = this.colgroup = this.caption = this.thead - this.th = this.td - }// jshint ignore:line - - String("circle,defs,ellipse,image,line,path,polygon,polyline,rect,symbol,text,use").replace(rword, function (tag) { - tagHooks[tag] = tagHooks.g //处理SVG - }) - var rtagName = /<([\w:]+)/ - var rxhtml = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig - var scriptTypes = oneObject(["", "text/javascript", "text/ecmascript", "application/ecmascript", "application/javascript"]) - var script = DOC.createElement("script") - var rhtml = /<|&#?\w+;/ - avalon.parseHTML = function (html) { - var fragment = hyperspace.cloneNode(false) - if (typeof html !== "string") { - return fragment - } - if (!rhtml.test(html)) { - fragment.appendChild(DOC.createTextNode(html)) - return fragment - } - html = html.replace(rxhtml, "<$1>").trim() - var tag = (rtagName.exec(html) || ["", ""])[1].toLowerCase(), - //取得其标签名 - wrapper = tagHooks[tag] || tagHooks._default, - firstChild - wrapper.innerHTML = html - var els = wrapper.getElementsByTagName("script") - if (els.length) { //使用innerHTML生成的script节点不会发出请求与执行text属性 - for (var i = 0, el; el = els[i++];) { - if (scriptTypes[el.type]) { - var neo = script.cloneNode(false) //FF不能省略参数 - ap.forEach.call(el.attributes, function (attr) { - neo.setAttribute(attr.name, attr.value) - })// jshint ignore:line - neo.text = el.text - el.parentNode.replaceChild(neo, el) - } - } - } - - while (firstChild = wrapper.firstChild) { // 将wrapper上的节点转移到文档碎片上! - fragment.appendChild(firstChild) - } - return fragment - } - - avalon.innerHTML = function (node, html) { - var a = this.parseHTML(html) - this.clearHTML(node).appendChild(a) - } - - avalon.clearHTML = function (node) { - node.textContent = "" - while (node.firstChild) { - node.removeChild(node.firstChild) - } - return node - } - - /********************************************************************* - * 扫描系统 * - **********************************************************************/ - - avalon.scan = function (elem, vmodel) { - elem = elem || root - var vmodels = vmodel ? [].concat(vmodel) : [] - scanTag(elem, vmodels) - } - -//http://www.w3.org/TR/html5/syntax.html#void-elements - var stopScan = oneObject("area,base,basefont,br,col,command,embed,hr,img,input,link,meta,param,source,track,wbr,noscript,script,style,textarea".toUpperCase()) - - function checkScan(elem, callback, innerHTML) { - var id = setTimeout(function () { - var currHTML = elem.innerHTML - clearTimeout(id) - if (currHTML === innerHTML) { - callback() - } else { - checkScan(elem, callback, currHTML) - } - }) - } - - - function createSignalTower(elem, vmodel) { - var id = elem.getAttribute("avalonctrl") || vmodel.$id - elem.setAttribute("avalonctrl", id) - vmodel.$events.expr = elem.tagName + '[avalonctrl="' + id + '"]' - } - - var getBindingCallback = function (elem, name, vmodels) { - var callback = elem.getAttribute(name) - if (callback) { - for (var i = 0, vm; vm = vmodels[i++];) { - if (vm.hasOwnProperty(callback) && typeof vm[callback] === "function") { - return vm[callback] - } - } - } - } - - function executeBindings(bindings, vmodels) { - for (var i = 0, data; data = bindings[i++];) { - data.vmodels = vmodels - bindingHandlers[data.type](data, vmodels) - if (data.evaluator && data.element && data.element.nodeType === 1) { //移除数据绑定,防止被二次解析 - //chrome使用removeAttributeNode移除不存在的特性节点时会报错 https://github.com/RubyLouvre/avalon/issues/99 - data.element.removeAttribute(data.name) - } - } - bindings.length = 0 - } - -//https://github.com/RubyLouvre/avalon/issues/636 - var mergeTextNodes = IEVersion && window.MutationObserver ? function (elem) { - var node = elem.firstChild, text - while (node) { - var aaa = node.nextSibling - if (node.nodeType === 3) { - if (text) { - text.nodeValue += node.nodeValue - elem.removeChild(node) - } else { - text = node - } - } else { - text = null - } - node = aaa - } - } : 0 - - var rmsAttr = /ms-(\w+)-?(.*)/ - var priorityMap = { - "if": 10, - "repeat": 90, - "data": 100, - "widget": 110, - "each": 1400, - "with": 1500, - "duplex": 2000, - "on": 3000 - } - - var events = oneObject("animationend,blur,change,input,click,dblclick,focus,keydown,keypress,keyup,mousedown,mouseenter,mouseleave,mousemove,mouseout,mouseover,mouseup,scan,scroll,submit") - var obsoleteAttrs = oneObject("value,title,alt,checked,selected,disabled,readonly,enabled") - - function bindingSorter(a, b) { - return a.priority - b.priority - } - - function scanAttr(elem, vmodels) { - //防止setAttribute, removeAttribute时 attributes自动被同步,导致for循环出错 - var attributes = elem.hasAttributes() ? avalon.slice(elem.attributes) : [] - var bindings = [], - msData = createMap(), - match - for (var i = 0, attr; attr = attributes[i++];) { - if (attr.specified) { - if (match = attr.name.match(rmsAttr)) { - //如果是以指定前缀命名的 - var type = match[1] - var param = match[2] || "" - var value = attr.value - var name = attr.name - msData[name] = value - if (events[type]) { - param = type - type = "on" - } else if (obsoleteAttrs[type]) { - log("warning!请改用ms-attr-" + type + "代替ms-" + type + "!") - if (type === "enabled") {//吃掉ms-enabled绑定,用ms-disabled代替 - log("warning!ms-enabled或ms-attr-enabled已经被废弃") - type = "disabled" - value = "!(" + value + ")" - } - param = type - type = "attr" - elem.removeAttribute(name) - name = "ms-attr-" + param - elem.setAttribute(name, value) - match = [name] - msData[name] = value - } - if (typeof bindingHandlers[type] === "function") { - var binding = { - type: type, - param: param, - element: elem, - name: match[0], - value: value, - priority: type in priorityMap ? priorityMap[type] : type.charCodeAt(0) * 10 + (Number(param) || 0) - } - if (type === "html" || type === "text") { - var token = getToken(value) - avalon.mix(binding, token) - binding.filters = binding.filters.replace(rhasHtml, function () { - binding.type = "html" - binding.group = 1 - return "" - })// jshint ignore:line - } - if (name === "ms-if-loop") { - binding.priority += 100 - } - if (vmodels.length) { - bindings.push(binding) - if (type === "widget") { - elem.msData = elem.msData || msData - } - } - } - } - } - } - var control = elem.type - if (control && msData["ms-duplex"]) { - if (msData["ms-attr-checked"] && /radio|checkbox/.test(control)) { - log("warning!" + control + "控件不能同时定义ms-attr-checked与ms-duplex") - } - if (msData["ms-attr-value"] && /text|password/.test(control)) { - log("warning!" + control + "控件不能同时定义ms-attr-value与ms-duplex") - } - } - bindings.sort(bindingSorter) - var scanNode = true - for (i = 0; binding = bindings[i]; i++) { - type = binding.type - if (rnoscanAttrBinding.test(type)) { - return executeBindings(bindings.slice(0, i + 1), vmodels) - } else if (scanNode) { - scanNode = !rnoscanNodeBinding.test(type) - } - } - executeBindings(bindings, vmodels) - if (scanNode && !stopScan[elem.tagName] && rbind.test(elem.innerHTML + elem.textContent)) { - mergeTextNodes && mergeTextNodes(elem) - scanNodeList(elem, vmodels) //扫描子孙元素 - } - } - - var rnoscanAttrBinding = /^if|widget|repeat$/ - var rnoscanNodeBinding = /^each|with|html|include$/ - - function scanNodeList(parent, vmodels) { - var node = parent.firstChild - while (node) { - var nextNode = node.nextSibling - scanNode(node, node.nodeType, vmodels) - node = nextNode - } - } - - function scanNodeArray(nodes, vmodels) { - for (var i = 0, node; node = nodes[i++];) { - scanNode(node, node.nodeType, vmodels) - } - } - - function scanNode(node, nodeType, vmodels) { - if (nodeType === 1) { - scanTag(node, vmodels) //扫描元素节点 - if (node.msCallback) { - node.msCallback() - node.msCallback = void 0 - } - } else if (nodeType === 3 && rexpr.test(node.data)) { - scanText(node, vmodels) //扫描文本节点 - } else if (kernel.commentInterpolate && nodeType === 8 && !rexpr.test(node.nodeValue)) { - scanText(node, vmodels) //扫描注释节点 - } - } - - function scanTag(elem, vmodels, node) { - //扫描顺序 ms-skip(0) --> ms-important(1) --> ms-controller(2) --> ms-if(10) --> ms-repeat(100) - //--> ms-if-loop(110) --> ms-attr(970) ...--> ms-each(1400)-->ms-with(1500)--〉ms-duplex(2000)垫后 - var a = elem.getAttribute("ms-skip") - var b = elem.getAttributeNode("ms-important") - var c = elem.getAttributeNode("ms-controller") - if (typeof a === "string") { - return - } else if (node = b || c) { - var newVmodel = avalon.vmodels[node.value] - if (!newVmodel) { - return - } - //ms-important不包含父VM,ms-controller相反 - vmodels = node === b ? [newVmodel] : [newVmodel].concat(vmodels) - elem.removeAttribute(node.name) //removeAttributeNode不会刷新[ms-controller]样式规则 - elem.classList.remove(node.name) - createSignalTower(elem, newVmodel) - } - scanAttr(elem, vmodels) //扫描特性节点 - } - - var rhasHtml = /\|\s*html\s*/, - r11a = /\|\|/g, - rlt = /</g, - rgt = />/g, - rstringLiteral = /(['"])(\\\1|.)+?\1/g - - function getToken(value) { - if (value.indexOf("|") > 0) { - var scapegoat = value.replace(rstringLiteral, function (_) { - return Array(_.length + 1).join("1")// jshint ignore:line - }) - var index = scapegoat.replace(r11a, "\u1122\u3344").indexOf("|") //干掉所有短路或 - if (index > -1) { - return { - filters: value.slice(index), - value: value.slice(0, index), - expr: true - } - } - } - return { - value: value, - filters: "", - expr: true - } - } - - function scanExpr(str) { - var tokens = [], - value, start = 0, - stop - do { - stop = str.indexOf(openTag, start) - if (stop === -1) { - break - } - value = str.slice(start, stop) - if (value) { // {{ 左边的文本 - tokens.push({ - value: value, - filters: "", - expr: false - }) - } - start = stop + openTag.length - stop = str.indexOf(closeTag, start) - if (stop === -1) { - break - } - value = str.slice(start, stop) - if (value) { //处理{{ }}插值表达式 - tokens.push(getToken(value)) - } - start = stop + closeTag.length - } while (1) - value = str.slice(start) - if (value) { //}} 右边的文本 - tokens.push({ - value: value, - expr: false, - filters: "" - }) - } - return tokens - } - - function scanText(textNode, vmodels) { - var bindings = [] - if (textNode.nodeType === 8) { - var token = getToken(textNode.nodeValue) - var tokens = [token] - } else { - tokens = scanExpr(textNode.data) - } - if (tokens.length) { - for (var i = 0; token = tokens[i++];) { - var node = DOC.createTextNode(token.value) //将文本转换为文本节点,并替换原来的文本节点 - if (token.expr) { - token.type = "text" - token.element = node - token.filters = token.filters.replace(rhasHtml, function () { - token.type = "html" - token.group = 1 - return "" - })// jshint ignore:line - bindings.push(token) //收集带有插值表达式的文本 - } - hyperspace.appendChild(node) - } - textNode.parentNode.replaceChild(hyperspace, textNode) - if (bindings.length) - executeBindings(bindings, vmodels) - } - } - - /********************************************************************* - * avalon的原型方法定义区 * - **********************************************************************/ - - function hyphen(target) { - //转换为连字符线风格 - return target.replace(/([a-z\d])([A-Z]+)/g, "$1-$2").toLowerCase() - } - - function camelize(target) { - //转换为驼峰风格 - if (target.indexOf("-") < 0 && target.indexOf("_") < 0) { - return target //提前判断,提高getStyle等的效率 - } - return target.replace(/[-_][^-_]/g, function (match) { - return match.charAt(1).toUpperCase() - }) - } - - "add,remove".replace(rword, function (method) { - avalon.fn[method + "Class"] = function (cls) { - var el = this[0] - //https://developer.mozilla.org/zh-CN/docs/Mozilla/Firefox/Releases/26 - if (cls && typeof cls === "string" && el && el.nodeType === 1) { - cls.replace(/\S+/g, function (c) { - el.classList[method](c) - }) - } - return this - } - }) - - avalon.fn.mix({ - hasClass: function (cls) { - var el = this[0] || {} //IE10+, chrome8+, firefox3.6+, safari5.1+,opera11.5+支持classList,chrome24+,firefox26+支持classList2.0 - return el.nodeType === 1 && el.classList.contains(cls) - }, - toggleClass: function (value, stateVal) { - var className, i = 0 - var classNames = String(value).split(/\s+/) - var isBool = typeof stateVal === "boolean" - while ((className = classNames[i++])) { - var state = isBool ? stateVal : !this.hasClass(className) - this[state ? "addClass" : "removeClass"](className) - } - return this - }, - attr: function (name, value) { - if (arguments.length === 2) { - this[0].setAttribute(name, value) - return this - } else { - return this[0].getAttribute(name) - } - }, - data: function (name, value) { - name = "data-" + hyphen(name || "") - switch (arguments.length) { - case 2: - this.attr(name, value) - return this - case 1: - var val = this.attr(name) - return parseData(val) - case 0: - var ret = {} - ap.forEach.call(this[0].attributes, function (attr) { - if (attr) { - name = attr.name - if (!name.indexOf("data-")) { - name = camelize(name.slice(5)) - ret[name] = parseData(attr.value) - } - } - }) - return ret - } - }, - removeData: function (name) { - name = "data-" + hyphen(name) - this[0].removeAttribute(name) - return this - }, - css: function (name, value) { - if (avalon.isPlainObject(name)) { - for (var i in name) { - avalon.css(this, i, name[i]) - } - } else { - var ret = avalon.css(this, name, value) - } - return ret !== void 0 ? ret : this - }, - position: function () { - var offsetParent, offset, - elem = this[0], - parentOffset = { - top: 0, - left: 0 - }; - if (!elem) { - return - } - if (this.css("position") === "fixed") { - offset = elem.getBoundingClientRect() - } else { - offsetParent = this.offsetParent() //得到真正的offsetParent - offset = this.offset() // 得到正确的offsetParent - if (offsetParent[0].tagName !== "HTML") { - parentOffset = offsetParent.offset() - } - parentOffset.top += avalon.css(offsetParent[0], "borderTopWidth", true) - parentOffset.left += avalon.css(offsetParent[0], "borderLeftWidth", true) - // Subtract offsetParent scroll positions - parentOffset.top -= offsetParent.scrollTop() - parentOffset.left -= offsetParent.scrollLeft() - } - return { - top: offset.top - parentOffset.top - avalon.css(elem, "marginTop", true), - left: offset.left - parentOffset.left - avalon.css(elem, "marginLeft", true) - } - }, - offsetParent: function () { - var offsetParent = this[0].offsetParent - while (offsetParent && avalon.css(offsetParent, "position") === "static") { - offsetParent = offsetParent.offsetParent; - } - return avalon(offsetParent || root) - }, - bind: function (type, fn, phase) { - if (this[0]) { //此方法不会链 - return avalon.bind(this[0], type, fn, phase) - } - }, - unbind: function (type, fn, phase) { - if (this[0]) { - avalon.unbind(this[0], type, fn, phase) - } - return this - }, - val: function (value) { - var node = this[0] - if (node && node.nodeType === 1) { - var get = arguments.length === 0 - var access = get ? ":get" : ":set" - var fn = valHooks[getValType(node) + access] - if (fn) { - var val = fn(node, value) - } else if (get) { - return (node.value || "").replace(/\r/g, "") - } else { - node.value = value - } - } - return get ? val : this - } - }) - - if (root.dataset) { - avalon.fn.data = function (name, val) { - name = name && camelize(name) - var dataset = this[0].dataset - switch (arguments.length) { - case 2: - dataset[name] = val - return this - case 1: - val = dataset[name] - return parseData(val) - case 0: - var ret = createMap() - for (name in dataset) { - ret[name] = parseData(dataset[name]) - } - return ret - } - } - } - var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/ - avalon.parseJSON = JSON.parse - - function parseData(data) { - try { - if (typeof data === "object") - return data - data = data === "true" ? true : - data === "false" ? false : - data === "null" ? null : +data + "" === data ? +data : rbrace.test(data) ? JSON.parse(data) : data - } catch (e) { - } - return data - } - - avalon.each({ - scrollLeft: "pageXOffset", - scrollTop: "pageYOffset" - }, function (method, prop) { - avalon.fn[method] = function (val) { - var node = this[0] || {}, win = getWindow(node), - top = method === "scrollTop" - if (!arguments.length) { - return win ? win[prop] : node[method] - } else { - if (win) { - win.scrollTo(!top ? val : win[prop], top ? val : win[prop]) - } else { - node[method] = val - } - } - } - }) - - function getWindow(node) { - return node.window && node.document ? node : node.nodeType === 9 ? node.defaultView : false - } - -//=============================css相关================================== - var cssHooks = avalon.cssHooks = createMap() - var prefixes = ["", "-webkit-", "-moz-", "-ms-"] //去掉opera-15的支持 - var cssMap = { - "float": "cssFloat" - } - avalon.cssNumber = oneObject("columnCount,order,fillOpacity,fontWeight,lineHeight,opacity,orphans,widows,zIndex,zoom") - - avalon.cssName = function (name, host, camelCase) { - if (cssMap[name]) { - return cssMap[name] - } - host = host || root.style - for (var i = 0, n = prefixes.length; i < n; i++) { - camelCase = camelize(prefixes[i] + name) - if (camelCase in host) { - return (cssMap[name] = camelCase) - } - } - return null - } - cssHooks["@:set"] = function (node, name, value) { - node.style[name] = value - } - - cssHooks["@:get"] = function (node, name) { - if (!node || !node.style) { - throw new Error("getComputedStyle要求传入一个节点 " + node) - } - var ret, computed = getComputedStyle(node) - if (computed) { - ret = name === "filter" ? computed.getPropertyValue(name) : computed[name] - if (ret === "") { - ret = node.style[name] //其他浏览器需要我们手动取内联样式 - } - } - return ret - } - cssHooks["opacity:get"] = function (node) { - var ret = cssHooks["@:get"](node, "opacity") - return ret === "" ? "1" : ret - } - - "top,left".replace(rword, function (name) { - cssHooks[name + ":get"] = function (node) { - var computed = cssHooks["@:get"](node, name) - return /px$/.test(computed) ? computed : - avalon(node).position()[name] + "px" - } - }) - var cssShow = { - position: "absolute", - visibility: "hidden", - display: "block" - } - var rdisplayswap = /^(none|table(?!-c[ea]).+)/ - - function showHidden(node, array) { - //http://www.cnblogs.com/rubylouvre/archive/2012/10/27/2742529.html - if (node.offsetWidth <= 0) { //opera.offsetWidth可能小于0 - var styles = getComputedStyle(node, null) - if (rdisplayswap.test(styles["display"])) { - var obj = { - node: node - } - for (var name in cssShow) { - obj[name] = styles[name] - node.style[name] = cssShow[name] - } - array.push(obj) - } - var parent = node.parentNode - if (parent && parent.nodeType === 1) { - showHidden(parent, array) - } - } - } - - "Width,Height".replace(rword, function (name) { //fix 481 - var method = name.toLowerCase(), - clientProp = "client" + name, - scrollProp = "scroll" + name, - offsetProp = "offset" + name - cssHooks[method + ":get"] = function (node, which, override) { - var boxSizing = -4 - if (typeof override === "number") { - boxSizing = override - } - which = name === "Width" ? ["Left", "Right"] : ["Top", "Bottom"] - var ret = node[offsetProp] // border-box 0 - if (boxSizing === 2) { // margin-box 2 - return ret + avalon.css(node, "margin" + which[0], true) + avalon.css(node, "margin" + which[1], true) - } - if (boxSizing < 0) { // padding-box -2 - ret = ret - avalon.css(node, "border" + which[0] + "Width", true) - avalon.css(node, "border" + which[1] + "Width", true) - } - if (boxSizing === -4) { // content-box -4 - ret = ret - avalon.css(node, "padding" + which[0], true) - avalon.css(node, "padding" + which[1], true) - } - return ret - } - cssHooks[method + "&get"] = function (node) { - var hidden = []; - showHidden(node, hidden); - var val = cssHooks[method + ":get"](node) - for (var i = 0, obj; obj = hidden[i++];) { - node = obj.node - for (var n in obj) { - if (typeof obj[n] === "string") { - node.style[n] = obj[n] - } - } - } - return val; - } - avalon.fn[method] = function (value) { //会忽视其display - var node = this[0] - if (arguments.length === 0) { - if (node.setTimeout) { //取得窗口尺寸,IE9后可以用node.innerWidth /innerHeight代替 - return node["inner" + name] - } - if (node.nodeType === 9) { //取得页面尺寸 - var doc = node.documentElement - //FF chrome html.scrollHeight< body.scrollHeight - //IE 标准模式 : html.scrollHeight> body.scrollHeight - //IE 怪异模式 : html.scrollHeight 最大等于可视窗口多一点? - return Math.max(node.body[scrollProp], doc[scrollProp], node.body[offsetProp], doc[offsetProp], doc[clientProp]) - } - return cssHooks[method + "&get"](node) - } else { - return this.css(method, value) - } - } - avalon.fn["inner" + name] = function () { - return cssHooks[method + ":get"](this[0], void 0, -2) - } - avalon.fn["outer" + name] = function (includeMargin) { - return cssHooks[method + ":get"](this[0], void 0, includeMargin === true ? 2 : 0) - } - }) - avalon.fn.offset = function () { //取得距离页面左右角的坐标 - var node = this[0] - try { - var rect = node.getBoundingClientRect() - // Make sure element is not hidden (display: none) or disconnected - // https://github.com/jquery/jquery/pull/2043/files#r23981494 - if (rect.width || rect.height || node.getClientRects().length) { - var doc = node.ownerDocument - var root = doc.documentElement - var win = doc.defaultView - return { - top: rect.top + win.pageYOffset - root.clientTop, - left: rect.left + win.pageXOffset - root.clientLeft - } - } - } catch (e) { - return { - left: 0, - top: 0 - } - } - } - //=============================val相关======================= - - function getValType(elem) { - var ret = elem.tagName.toLowerCase() - return ret === "input" && /checkbox|radio/.test(elem.type) ? "checked" : ret - } - - var valHooks = { - "select:get": function (node, value) { - var option, options = node.options, - index = node.selectedIndex, - one = node.type === "select-one" || index < 0, - values = one ? null : [], - max = one ? index + 1 : options.length, - i = index < 0 ? max : one ? index : 0 - for (; i < max; i++) { - option = options[i] - //旧式IE在reset后不会改变selected,需要改用i === index判定 - //我们过滤所有disabled的option元素,但在safari5下,如果设置select为disable,那么其所有孩子都disable - //因此当一个元素为disable,需要检测其是否显式设置了disable及其父节点的disable情况 - if ((option.selected || i === index) && !option.disabled) { - value = option.value - if (one) { - return value - } - //收集所有selected值组成数组返回 - values.push(value) - } - } - return values - }, - "select:set": function (node, values, optionSet) { - values = [].concat(values) //强制转换为数组 - for (var i = 0, el; el = node.options[i++];) { - if ((el.selected = values.indexOf(el.value) > -1)) { - optionSet = true - } - } - if (!optionSet) { - node.selectedIndex = -1 - } - } - } - /********************************************************************* - * 编译系统 * - **********************************************************************/ - var quote = JSON.stringify - - var keywords = [ - "break,case,catch,continue,debugger,default,delete,do,else,false", - "finally,for,function,if,in,instanceof,new,null,return,switch,this", - "throw,true,try,typeof,var,void,while,with", /* 关键字*/ - "abstract,boolean,byte,char,class,const,double,enum,export,extends", - "final,float,goto,implements,import,int,interface,long,native", - "package,private,protected,public,short,static,super,synchronized", - "throws,transient,volatile", /*保留字*/ - "arguments,let,yield,undefined" /* ECMA 5 - use strict*/].join(",") - var rrexpstr = /\/\*[\w\W]*?\*\/|\/\/[^\n]*\n|\/\/[^\n]*$|"(?:[^"\\]|\\[\w\W])*"|'(?:[^'\\]|\\[\w\W])*'|[\s\t\n]*\.[\s\t\n]*[$\w\.]+/g - var rsplit = /[^\w$]+/g - var rkeywords = new RegExp(["\\b" + keywords.replace(/,/g, '\\b|\\b') + "\\b"].join('|'), 'g') - var rnumber = /\b\d[^,]*/g - var rcomma = /^,+|,+$/g - var cacheVars = new Cache(512) - var getVariables = function (code) { - var key = "," + code.trim() - var ret = cacheVars.get(key) - if (ret) { - return ret - } - var match = code - .replace(rrexpstr, "") - .replace(rsplit, ",") - .replace(rkeywords, "") - .replace(rnumber, "") - .replace(rcomma, "") - .split(/^$|,+/) - return cacheVars.put(key, uniqSet(match)) - } - /*添加赋值语句*/ - - function addAssign(vars, scope, name, data) { - var ret = [], - prefix = " = " + name + "." - var isProxy = /\$proxy\$each/.test(scope.$id) - for (var i = vars.length, prop; prop = vars[--i];) { - var el = isProxy && scope.$map[prop] ? "el" : prop - if (scope.hasOwnProperty(el)) { - ret.push(prop + prefix + el) - data.vars.push(prop) - if (data.type === "duplex") { - vars.get = name + "." + el - } - vars.splice(i, 1) - } - } - return ret - } - - function uniqSet(array) { - var ret = [], - unique = {} - for (var i = 0; i < array.length; i++) { - var el = array[i] - var id = el && typeof el.$id === "string" ? el.$id : el - if (!unique[id]) { - unique[id] = ret.push(el) - } - } - return ret - } - -//缓存求值函数,以便多次利用 - var cacheExprs = new Cache(128) -//取得求值函数及其传参 - var rduplex = /\w\[.*\]|\w\.\w/ - var rproxy = /(\$proxy\$[a-z]+)\d+$/ - var rthimRightParentheses = /\)\s*$/ - var rthimOtherParentheses = /\)\s*\|/g - var rquoteFilterName = /\|\s*([$\w]+)/g - var rpatchBracket = /"\s*\["/g - var rthimLeftParentheses = /"\s*\(/g - - function parseFilter(val, filters) { - filters = filters - .replace(rthimRightParentheses, "")//处理最后的小括号 - .replace(rthimOtherParentheses, function () {//处理其他小括号 - return "],|" - }) - .replace(rquoteFilterName, function (a, b) { //处理|及它后面的过滤器的名字 - return "[" + quote(b) - }) - .replace(rpatchBracket, function () { - return '"],["' - }) - .replace(rthimLeftParentheses, function () { - return '",' - }) + "]" - return "return avalon.filters.$filter(" + val + ", " + filters + ")" - } - - function parseExpr(code, scopes, data) { - var dataType = data.type - var filters = data.filters || "" - var exprId = scopes.map(function (el) { - return String(el.$id).replace(rproxy, "$1") - }) + code + dataType + filters - var vars = getVariables(code).concat(), - assigns = [], - names = [], - args = [], - prefix = "" - //args 是一个对象数组, names 是将要生成的求值函数的参数 - scopes = uniqSet(scopes) - data.vars = [] - for (var i = 0, sn = scopes.length; i < sn; i++) { - if (vars.length) { - var name = "vm" + expose + "_" + i - names.push(name) - args.push(scopes[i]) - assigns.push.apply(assigns, addAssign(vars, scopes[i], name, data)) - } - } - if (!assigns.length && dataType === "duplex") { - return - } - if (dataType !== "duplex" && (code.indexOf("||") > -1 || code.indexOf("&&") > -1)) { - //https://github.com/RubyLouvre/avalon/issues/583 - data.vars.forEach(function (v) { - var reg = new RegExp("\\b" + v + "(?:\\.\\w+|\\[\\w+\\])+", "ig") - code = code.replace(reg, function (_) { - var c = _.charAt(v.length) - var r = IEVersion ? code.slice(arguments[1] + _.length) : RegExp.rightContext - var method = /^\s*\(/.test(r) - if (c === "." || c === "[" || method) {//比如v为aa,我们只匹配aa.bb,aa[cc],不匹配aaa.xxx - var name = "var" + String(Math.random()).replace(/^0\./, "") - if (method) {//array.size() - var array = _.split(".") - if (array.length > 2) { - var last = array.pop() - assigns.push(name + " = " + array.join(".")) - return name + "." + last - } else { - return _ - } - } - assigns.push(name + " = " + _) - return name - } else { - return _ - } - }) - }) - } - //---------------args---------------- - data.args = args - //---------------cache---------------- - var fn = cacheExprs.get(exprId) //直接从缓存,免得重复生成 - if (fn) { - data.evaluator = fn - return - } - prefix = assigns.join(", ") - if (prefix) { - prefix = "var " + prefix - } - if (/\S/.test(filters)) { //文本绑定,双工绑定才有过滤器 - if (!/text|html/.test(data.type)) { - throw Error("ms-" + data.type + "不支持过滤器") - } - code = "\nvar ret" + expose + " = " + code + ";\r\n" - code += parseFilter("ret" + expose, filters) - } else if (dataType === "duplex") { //双工绑定 - var _body = "'use strict';\nreturn function(vvv){\n\t" + - prefix + - ";\n\tif(!arguments.length){\n\t\treturn " + - code + - "\n\t}\n\t" + (!rduplex.test(code) ? vars.get : code) + - "= vvv;\n} " - try { - fn = Function.apply(noop, names.concat(_body)) - data.evaluator = cacheExprs.put(exprId, fn) - } catch (e) { - log("debug: parse error," + e.message) - } - return - } else if (dataType === "on") { //事件绑定 - if (code.indexOf("(") === -1) { - code += ".call(this, $event)" - } else { - code = code.replace("(", ".call(this,") - } - names.push("$event") - code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;") - var lastIndex = code.lastIndexOf("\nreturn") - var header = code.slice(0, lastIndex) - var footer = code.slice(lastIndex) - code = header + "\n" + footer - } else { //其他绑定 - code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;") - } - try { - fn = Function.apply(noop, names.concat("'use strict';\n" + prefix + code)) - data.evaluator = cacheExprs.put(exprId, fn) - } catch (e) { - log("debug: parse error," + e.message) - } finally { - vars = assigns = names = null //释放内存 - } - } - - -//parseExpr的智能引用代理 - - function parseExprProxy(code, scopes, data, tokens, noRegister) { - if (Array.isArray(tokens)) { - code = tokens.map(function (el) { - return el.expr ? "(" + el.value + ")" : quote(el.value) - }).join(" + ") - } - parseExpr(code, scopes, data) - if (data.evaluator && !noRegister) { - data.handler = bindingExecutors[data.handlerName || data.type] - //方便调试 - //这里非常重要,我们通过判定视图刷新函数的element是否在DOM树决定 - //将它移出订阅者列表 - avalon.injectBinding(data) - } - } - - avalon.parseExprProxy = parseExprProxy - var bools = ["autofocus,autoplay,async,allowTransparency,checked,controls", - "declare,disabled,defer,defaultChecked,defaultSelected", - "contentEditable,isMap,loop,multiple,noHref,noResize,noShade", - "open,readOnly,selected" - ].join(",") - var boolMap = {} - bools.replace(rword, function (name) { - boolMap[name.toLowerCase()] = name - }) - - var propMap = { //属性名映射 - "accept-charset": "acceptCharset", - "char": "ch", - "charoff": "chOff", - "class": "className", - "for": "htmlFor", - "http-equiv": "httpEquiv" - } - - var anomaly = ["accessKey,bgColor,cellPadding,cellSpacing,codeBase,codeType,colSpan", - "dateTime,defaultValue,frameBorder,longDesc,maxLength,marginWidth,marginHeight", - "rowSpan,tabIndex,useMap,vSpace,valueType,vAlign" - ].join(",") - anomaly.replace(rword, function (name) { - propMap[name.toLowerCase()] = name - }) - - var rnoscripts = /(?:[\s\S]+?)<\/noscript>/img - var rnoscriptText = /([\s\S]+?)<\/noscript>/im - - var getXHR = function () { - return new (window.XMLHttpRequest || ActiveXObject)("Microsoft.XMLHTTP") // jshint ignore:line - } - - var cacheTmpls = avalon.templateCache = {} - - bindingHandlers.attr = function (data, vmodels) { - var text = data.value.trim(), - simple = true - if (text.indexOf(openTag) > -1 && text.indexOf(closeTag) > 2) { - simple = false - if (rexpr.test(text) && RegExp.rightContext === "" && RegExp.leftContext === "") { - simple = true - text = RegExp.$1 - } - } - if (data.type === "include") { - var elem = data.element - data.includeRendered = getBindingCallback(elem, "data-include-rendered", vmodels) - data.includeLoaded = getBindingCallback(elem, "data-include-loaded", vmodels) - var outer = data.includeReplace = !!avalon(elem).data("includeReplace") - if (avalon(elem).data("includeCache")) { - data.templateCache = {} - } - data.startInclude = DOC.createComment("ms-include") - data.endInclude = DOC.createComment("ms-include-end") - if (outer) { - data.element = data.startInclude - elem.parentNode.insertBefore(data.startInclude, elem) - elem.parentNode.insertBefore(data.endInclude, elem.nextSibling) - } else { - elem.insertBefore(data.startInclude, elem.firstChild) - elem.appendChild(data.endInclude) - } - } - data.handlerName = "attr" //handleName用于处理多种绑定共用同一种bindingExecutor的情况 - parseExprProxy(text, vmodels, data, (simple ? 0 : scanExpr(data.value))) - } - - bindingExecutors.attr = function (val, elem, data) { - var method = data.type, - attrName = data.param - if (method === "css") { - avalon(elem).css(attrName, val) - } else if (method === "attr") { - // ms-attr-class="xxx" vm.xxx="aaa bbb ccc"将元素的className设置为aaa bbb ccc - // ms-attr-class="xxx" vm.xxx=false 清空元素的所有类名 - // ms-attr-name="yyy" vm.yyy="ooo" 为元素设置name属性 - var toRemove = (val === false) || (val === null) || (val === void 0) - - if (!W3C && propMap[attrName]) { //旧式IE下需要进行名字映射 - attrName = propMap[attrName] - } - var bool = boolMap[attrName] - if (typeof elem[bool] === "boolean") { - elem[bool] = !!val //布尔属性必须使用el.xxx = true|false方式设值 - if (!val) { //如果为false, IE全系列下相当于setAttribute(xxx,''),会影响到样式,需要进一步处理 - toRemove = true - } - } - if (toRemove) { - return elem.removeAttribute(attrName) - } - - //SVG只能使用setAttribute(xxx, yyy), VML只能使用elem.xxx = yyy ,HTML的固有属性必须elem.xxx = yyy - var isInnate = rsvg.test(elem) ? false : (DOC.namespaces && isVML(elem)) ? true : attrName in elem.cloneNode(false) - if (isInnate) { - elem[attrName] = val - } else { - elem.setAttribute(attrName, val) - } - } else if (method === "include" && val) { - var vmodels = data.vmodels - var rendered = data.includeRendered - var loaded = data.includeLoaded - var replace = data.includeReplace - var target = replace ? elem.parentNode : elem - var scanTemplate = function (text) { - if (loaded) { - var newText = loaded.apply(target, [text].concat(vmodels)) - if (typeof newText === "string") - text = newText - } - if (rendered) { - checkScan(target, function () { - rendered.call(target) - }, NaN) - } - var lastID = data.includeLastID - if (data.templateCache && lastID && lastID !== val) { - var lastTemplate = data.templateCache[lastID] - if (!lastTemplate) { - lastTemplate = data.templateCache[lastID] = DOC.createElement("div") - ifGroup.appendChild(lastTemplate) - } - } - data.includeLastID = val - while (true) { - var node = data.startInclude.nextSibling - if (node && node !== data.endInclude) { - target.removeChild(node) - if (lastTemplate) - lastTemplate.appendChild(node) - } else { - break - } - } - var dom = getTemplateNodes(data, val, text) - var nodes = avalon.slice(dom.childNodes) - target.insertBefore(dom, data.endInclude) - scanNodeArray(nodes, vmodels) - } - - if (data.param === "src") { - if (typeof cacheTmpls[val] === "string") { - avalon.nextTick(function () { - scanTemplate(cacheTmpls[val]) - }) - } else if (Array.isArray(cacheTmpls[val])) { //#805 防止在循环绑定中发出许多相同的请求 - cacheTmpls[val].push(scanTemplate) - } else { - var xhr = getXHR() - xhr.onreadystatechange = function () { - if (xhr.readyState === 4) { - var s = xhr.status - if (s >= 200 && s < 300 || s === 304 || s === 1223) { - var text = xhr.responseText - for (var f = 0, fn; fn = cacheTmpls[val][f++];) { - fn(text) - } - cacheTmpls[val] = text - } - } - } - cacheTmpls[val] = [scanTemplate] - xhr.open("GET", val, true) - if ("withCredentials" in xhr) { - xhr.withCredentials = true - } - xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest") - xhr.send(null) - } - } else { - //IE系列与够新的标准浏览器支持通过ID取得元素(firefox14+) - //http://tjvantoll.com/2012/07/19/dom-element-references-as-global-variables/ - var el = val && val.nodeType === 1 ? val : DOC.getElementById(val) - if (el) { - if (el.tagName === "NOSCRIPT" && !(el.innerHTML || el.fixIE78)) { //IE7-8 innerText,innerHTML都无法取得其内容,IE6能取得其innerHTML - xhr = getXHR() //IE9-11与chrome的innerHTML会得到转义的内容,它们的innerText可以 - xhr.open("GET", location, false) //谢谢Nodejs 乱炖群 深圳-纯属虚构 - xhr.send(null) - //http://bbs.csdn.net/topics/390349046?page=1#post-393492653 - var noscripts = DOC.getElementsByTagName("noscript") - var array = (xhr.responseText || "").match(rnoscripts) || [] - var n = array.length - for (var i = 0; i < n; i++) { - var tag = noscripts[i] - if (tag) { //IE6-8中noscript标签的innerHTML,innerText是只读的 - tag.style.display = "none" //http://haslayout.net/css/noscript-Ghost-Bug - tag.fixIE78 = (array[i].match(rnoscriptText) || ["", " "])[1] - } - } - } - avalon.nextTick(function () { - scanTemplate(el.fixIE78 || el.value || el.innerText || el.innerHTML) - }) - } - } - } else { - if (!root.hasAttribute && typeof val === "string" && (method === "src" || method === "href")) { - val = val.replace(/&/g, "&") //处理IE67自动转义的问题 - } - elem[method] = val - if (window.chrome && elem.tagName === "EMBED") { - var parent = elem.parentNode //#525 chrome1-37下embed标签动态设置src不能发生请求 - var comment = document.createComment("ms-src") - parent.replaceChild(comment, elem) - parent.replaceChild(elem, comment) - } - } - } - - function getTemplateNodes(data, id, text) { - var div = data.templateCache && data.templateCache[id] - if (div) { - var dom = DOC.createDocumentFragment(), - firstChild - while (firstChild = div.firstChild) { - dom.appendChild(firstChild) - } - return dom - } - return avalon.parseHTML(text) - } - -//这几个指令都可以使用插值表达式,如ms-src="aaa/{{b}}/{{c}}.html" - "title,alt,src,value,css,include,href".replace(rword, function (name) { - bindingHandlers[name] = bindingHandlers.attr - }) -//根据VM的属性值或表达式的值切换类名,ms-class="xxx yyy zzz:flag" -//http://www.cnblogs.com/rubylouvre/archive/2012/12/17/2818540.html - bindingHandlers["class"] = function (data, vmodels) { - var oldStyle = data.param, - text = data.value, - rightExpr - data.handlerName = "class" - if (!oldStyle || isFinite(oldStyle)) { - data.param = "" //去掉数字 - var noExpr = text.replace(rexprg, function (a) { - return a.replace(/./g, "0") - //return Math.pow(10, a.length - 1) //将插值表达式插入10的N-1次方来占位 - }) - var colonIndex = noExpr.indexOf(":") //取得第一个冒号的位置 - if (colonIndex === -1) { // 比如 ms-class="aaa bbb ccc" 的情况 - var className = text - } else { // 比如 ms-class-1="ui-state-active:checked" 的情况 - className = text.slice(0, colonIndex) - rightExpr = text.slice(colonIndex + 1) - parseExpr(rightExpr, vmodels, data) //决定是添加还是删除 - if (!data.evaluator) { - log("debug: ms-class '" + (rightExpr || "").trim() + "' 不存在于VM中") - return false - } else { - data._evaluator = data.evaluator - data._args = data.args - } - } - var hasExpr = rexpr.test(className) //比如ms-class="width{{w}}"的情况 - if (!hasExpr) { - data.immobileClass = className - } - parseExprProxy("", vmodels, data, (hasExpr ? scanExpr(className) : 0)) - } else { - data.immobileClass = data.oldStyle = data.param - parseExprProxy(text, vmodels, data) - } - } - - bindingExecutors["class"] = function (val, elem, data) { - var $elem = avalon(elem), - method = data.type - if (method === "class" && data.oldStyle) { //如果是旧风格 - $elem.toggleClass(data.oldStyle, !!val) - } else { - //如果存在冒号就有求值函数 - data.toggleClass = data._evaluator ? !!data._evaluator.apply(elem, data._args) : true - data.newClass = data.immobileClass || val - if (data.oldClass && data.newClass !== data.oldClass) { - $elem.removeClass(data.oldClass) - } - data.oldClass = data.newClass - switch (method) { - case "class": - $elem.toggleClass(data.newClass, data.toggleClass) - break - case "hover": - case "active": - if (!data.hasBindEvent) { //确保只绑定一次 - var activate = "mouseenter" //在移出移入时切换类名 - var abandon = "mouseleave" - if (method === "active") { //在聚焦失焦中切换类名 - elem.tabIndex = elem.tabIndex || -1 - activate = "mousedown" - abandon = "mouseup" - var fn0 = $elem.bind("mouseleave", function () { - data.toggleClass && $elem.removeClass(data.newClass) - }) - } - var fn1 = $elem.bind(activate, function () { - data.toggleClass && $elem.addClass(data.newClass) - }) - var fn2 = $elem.bind(abandon, function () { - data.toggleClass && $elem.removeClass(data.newClass) - }) - data.rollback = function () { - $elem.unbind("mouseleave", fn0) - $elem.unbind(activate, fn1) - $elem.unbind(abandon, fn2) - } - data.hasBindEvent = true - } - break; - } - } - } - - "hover,active".replace(rword, function (method) { - bindingHandlers[method] = bindingHandlers["class"] - }) -//ms-controller绑定已经在scanTag 方法中实现 -//ms-css绑定已由ms-attr绑定实现 - - -// bindingHandlers.data 定义在if.js - bindingExecutors.data = function (val, elem, data) { - var key = "data-" + data.param - if (val && typeof val === "object") { - elem[key] = val - } else { - elem.setAttribute(key, String(val)) - } - } -//双工绑定 - var duplexBinding = bindingHandlers.duplex = function (data, vmodels) { - var elem = data.element, - hasCast - parseExprProxy(data.value, vmodels, data, 0, 1) - - data.changed = getBindingCallback(elem, "data-duplex-changed", vmodels) || noop - if (data.evaluator && data.args) { - var params = [] - var casting = oneObject("string,number,boolean,checked") - if (elem.type === "radio" && data.param === "") { - data.param = "checked" - } - if (elem.msData) { - elem.msData["ms-duplex"] = data.value - } - data.param.replace(/\w+/g, function (name) { - if (/^(checkbox|radio)$/.test(elem.type) && /^(radio|checked)$/.test(name)) { - if (name === "radio") - log("ms-duplex-radio已经更名为ms-duplex-checked") - name = "checked" - data.isChecked = true - } - if (name === "bool") { - name = "boolean" - log("ms-duplex-bool已经更名为ms-duplex-boolean") - } else if (name === "text") { - name = "string" - log("ms-duplex-text已经更名为ms-duplex-string") - } - if (casting[name]) { - hasCast = true - } - avalon.Array.ensure(params, name) - }) - if (!hasCast) { - params.push("string") - } - data.param = params.join("-") - data.bound = function (type, callback) { - if (elem.addEventListener) { - elem.addEventListener(type, callback, false) - } else { - elem.attachEvent("on" + type, callback) - } - var old = data.rollback - data.rollback = function () { - elem.avalonSetter = null - avalon.unbind(elem, type, callback) - old && old() - } - } - for (var i in avalon.vmodels) { - var v = avalon.vmodels[i] - v.$fire("avalon-ms-duplex-init", data) - } - var cpipe = data.pipe || (data.pipe = pipe) - cpipe(null, data, "init") - var tagName = elem.tagName - duplexBinding[tagName] && duplexBinding[tagName](elem, data.evaluator.apply(null, data.args), data) - } - } -//不存在 bindingExecutors.duplex - - function fixNull(val) { - return val == null ? "" : val - } - - avalon.duplexHooks = { - checked: { - get: function (val, data) { - return !data.element.oldValue - } - }, - string: { - get: function (val) { //同步到VM - return val - }, - set: fixNull - }, - "boolean": { - get: function (val) { - return val === "true" - }, - set: fixNull - }, - number: { - get: function (val, data) { - var number = parseFloat(val) - if (-val === -number) { - return number - } - var arr = /strong|medium|weak/.exec(data.element.getAttribute("data-duplex-number")) || ["medium"] - switch (arr[0]) { - case "strong": - return 0 - case "medium": - return val === "" ? "" : 0 - case "weak": - return val - } - }, - set: fixNull - } - } - - function pipe(val, data, action, e) { - data.param.replace(/\w+/g, function (name) { - var hook = avalon.duplexHooks[name] - if (hook && typeof hook[action] === "function") { - val = hook[action](val, data) - } - }) - return val - } - - var TimerID, ribbon = [] - - avalon.tick = function (fn) { - if (ribbon.push(fn) === 1) { - TimerID = setInterval(ticker, 60) - } - } - - function ticker() { - for (var n = ribbon.length - 1; n >= 0; n--) { - var el = ribbon[n] - if (el() === false) { - ribbon.splice(n, 1) - } - } - if (!ribbon.length) { - clearInterval(TimerID) - } - } - - var watchValueInTimer = noop - var rmsinput = /text|password|hidden/ - new function () { // jshint ignore:line - try { //#272 IE9-IE11, firefox - var setters = {} - var aproto = HTMLInputElement.prototype - var bproto = HTMLTextAreaElement.prototype - - function newSetter(value) { // jshint ignore:line - if (avalon.contains(root, this)) { - setters[this.tagName].call(this, value) - if (!rmsinput.test(this.type)) - return - if (!this.msFocus && this.avalonSetter) { - this.avalonSetter() - } - } - } - - var inputProto = HTMLInputElement.prototype - Object.getOwnPropertyNames(inputProto) //故意引发IE6-8等浏览器报错 - setters["INPUT"] = Object.getOwnPropertyDescriptor(aproto, "value").set - Object.defineProperty(aproto, "value", { - set: newSetter - }) - setters["TEXTAREA"] = Object.getOwnPropertyDescriptor(bproto, "value").set - Object.defineProperty(bproto, "value", { - set: newSetter - }) - } catch (e) { - //在chrome 43中 ms-duplex终于不需要使用定时器实现双向绑定了 - // http://updates.html5rocks.com/2015/04/DOM-attributes-now-on-the-prototype - // https://docs.google.com/document/d/1jwA8mtClwxI-QJuHT7872Z0pxpZz8PBkf2bGAbsUtqs/edit?pli=1 - watchValueInTimer = avalon.tick - } - } // jshint ignore:line -//处理radio, checkbox, text, textarea, password - duplexBinding.INPUT = function (element, evaluator, data) { - var $type = element.type, - bound = data.bound, - $elem = avalon(element), - composing = false - - function callback(value) { - data.changed.call(this, value, data) - } - - function compositionStart() { - composing = true - } - - function compositionEnd() { - composing = false - } - - //当value变化时改变model的值 - - var updateVModel = function () { - if (composing) //处理中文输入法在minlengh下引发的BUG - return - var val = element.oldValue = element.value //防止递归调用形成死循环 - var lastValue = data.pipe(val, data, "get") - if ($elem.data("duplexObserve") !== false) { - evaluator(lastValue) - callback.call(element, lastValue) - if ($elem.data("duplex-focus")) { - avalon.nextTick(function () { - element.focus() - }) - } - } - } - //当model变化时,它就会改变value的值 - data.handler = function () { - var val = data.pipe(evaluator(), data, "set") + "" - if (val !== element.oldValue) { - element.value = val - } - } - if (data.isChecked || $type === "radio") { - updateVModel = function () { - if ($elem.data("duplexObserve") !== false) { - var lastValue = data.pipe(element.value, data, "get") - evaluator(lastValue) - callback.call(element, lastValue) - } - } - data.handler = function () { - var val = evaluator() - var checked = data.isChecked ? !!val : val + "" === element.value - element.checked = element.oldValue = checked - } - bound("click", updateVModel) - } else if ($type === "checkbox") { - updateVModel = function () { - if ($elem.data("duplexObserve") !== false) { - var method = element.checked ? "ensure" : "remove" - var array = evaluator() - if (!Array.isArray(array)) { - log("ms-duplex应用于checkbox上要对应一个数组") - array = [array] - } - avalon.Array[method](array, data.pipe(element.value, data, "get")) - callback.call(element, array) - } - } - data.handler = function () { - var array = [].concat(evaluator()) //强制转换为数组 - element.checked = array.indexOf(data.pipe(element.value, data, "get")) > -1 - } - bound("change", updateVModel) - } else { - var events = element.getAttribute("data-duplex-event") || "input" - if (element.attributes["data-event"]) { - log("data-event指令已经废弃,请改用data-duplex-event") - } - events.replace(rword, function (name) { - switch (name) { - case "input": - bound("input", updateVModel) - bound("DOMAutoComplete", updateVModel) - if (!IEVersion) { - bound("compositionstart", compositionStart) - bound("compositionend", compositionEnd) - } - break - default: - bound(name, updateVModel) - break - } - }) - bound("focus", function () { - element.msFocus = true - }) - bound("blur", function () { - element.msFocus = false - }) - if (rmsinput.test($type)) { - watchValueInTimer(function () { - if (root.contains(element)) { - if (!element.msFocus && element.oldValue !== element.value) { - updateVModel() - } - } else if (!element.msRetain) { - return false - } - }) - } - - element.avalonSetter = updateVModel - } - - element.oldValue = element.value - avalon.injectBinding(data) - callback.call(element, element.value) - } - duplexBinding.TEXTAREA = duplexBinding.INPUT - duplexBinding.SELECT = function (element, evaluator, data) { - var $elem = avalon(element) - - function updateVModel() { - if ($elem.data("duplexObserve") !== false) { - var val = $elem.val() //字符串或字符串数组 - if (Array.isArray(val)) { - val = val.map(function (v) { - return data.pipe(v, data, "get") - }) - } else { - val = data.pipe(val, data, "get") - } - if (val + "" !== element.oldValue) { - evaluator(val) - } - data.changed.call(element, val, data) - } - } - - data.handler = function () { - var val = evaluator() - val = val && val.$model || val - if (Array.isArray(val)) { - if (!element.multiple) { - log("ms-duplex在不能对应一个数组") - } - } - //必须变成字符串后才能比较 - val = Array.isArray(val) ? val.map(String) : val + "" - if (val + "" !== element.oldValue) { - $elem.val(val) - element.oldValue = val + "" - } - } - data.bound("change", updateVModel) - element.msCallback = function () { - avalon.injectBinding(data) - data.changed.call(element, evaluator(), data) - } - } -// bindingHandlers.html 定义在if.js - bindingExecutors.html = function (val, elem, data) { - val = val == null ? "" : val - var isHtmlFilter = "group" in data - var parent = isHtmlFilter ? elem.parentNode : elem - if (!parent) - return - if (typeof val === "string") { - var fragment = avalon.parseHTML(val) - } else if (val.nodeType === 11) { //将val转换为文档碎片 - fragment = val - } else if (val.nodeType === 1 || val.item) { - var nodes = val.nodeType === 1 ? val.childNodes : val.item - fragment = hyperspace.cloneNode(true) - while (nodes[0]) { - fragment.appendChild(nodes[0]) - } - } - if (!fragment.firstChild) { - fragment.appendChild(DOC.createComment("ms-html")) - } - nodes = avalon.slice(fragment.childNodes) - //插入占位符, 如果是过滤器,需要有节制地移除指定的数量,如果是html指令,直接清空 - if (isHtmlFilter) { - var n = data.group, - i = 1 - - data.group = nodes.length - data.element = nodes[0] - - while (i < n) { - var node = elem.nextSibling - if (node) { - parent.removeChild(node) - i++ - } - } - parent.replaceChild(fragment, elem) - } else { - avalon.clearHTML(parent).appendChild(fragment) - } - scanNodeArray(nodes, data.vmodels) - } - bindingHandlers["if"] = - bindingHandlers.data = - bindingHandlers.text = - bindingHandlers.html = - function (data, vmodels) { - parseExprProxy(data.value, vmodels, data) - } - - bindingExecutors["if"] = function (val, elem, data) { - if (val) { //插回DOM树 - if (elem.nodeType === 8) { - elem.parentNode.replaceChild(data.template, elem) - elem = data.element = data.template //这时可能为null - } - if (elem.getAttribute(data.name)) { - elem.removeAttribute(data.name) - scanAttr(elem, data.vmodels) - } - data.rollback = null - } else { //移出DOM树,并用注释节点占据原位置 - if (elem.nodeType === 1) { - var node = data.element = DOC.createComment("ms-if") - elem.parentNode.replaceChild(node, elem) - data.template = elem //元素节点 - ifGroup.appendChild(elem) - data.rollback = function () { - if (elem.parentNode === ifGroup) { - ifGroup.removeChild(elem) - } - } - } - } - } -//ms-important绑定已经在scanTag 方法中实现 -//ms-include绑定已由ms-attr绑定实现 - - var rdash = /\(([^)]*)\)/ - bindingHandlers.on = function (data, vmodels) { - var value = data.value - data.type = "on" - var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10 - if (typeof bindingHandlers.on[eventType + "Hook"] === "function") { - bindingHandlers.on[eventType + "Hook"](data) - } - if (value.indexOf("(") > 0 && value.indexOf(")") > -1) { - var matched = (value.match(rdash) || ["", ""])[1].trim() - if (matched === "" || matched === "$event") { // aaa() aaa($event)当成aaa处理 - value = value.replace(rdash, "") - } - } - parseExprProxy(value, vmodels, data) - } - - bindingExecutors.on = function (callback, elem, data) { - callback = function (e) { - var fn = data.evaluator || noop - return fn.apply(this, data.args.concat(e)) - } - var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10 - if (eventType === "scan") { - callback.call(elem, { - type: eventType - }) - } else if (typeof data.specialBind === "function") { - data.specialBind(elem, callback) - } else { - var removeFn = avalon.bind(elem, eventType, callback) - } - data.rollback = function () { - if (typeof data.specialUnbind === "function") { - data.specialUnbind() - } else { - avalon.unbind(elem, eventType, removeFn) - } - } - } - bindingHandlers.repeat = function (data, vmodels) { - var type = data.type - parseExprProxy(data.value, vmodels, data, 0, 1) - var freturn = false - try { - var $repeat = data.$repeat = data.evaluator.apply(0, data.args || []) - var xtype = avalon.type($repeat) - if (xtype !== "object" && xtype !== "array") { - freturn = true - avalon.log("warning:" + data.value + "只能是对象或数组") - } - } catch (e) { - freturn = true - } - - var arr = data.value.split(".") || [] - if (arr.length > 1) { - arr.pop() - var n = arr[0] - for (var i = 0, v; v = vmodels[i++];) { - if (v && v.hasOwnProperty(n)) { - var events = v[n].$events || {} - events[subscribers] = events[subscribers] || [] - events[subscribers].push(data) - break - } - } - } - var elem = data.element - elem.removeAttribute(data.name) - - data.sortedCallback = getBindingCallback(elem, "data-with-sorted", vmodels) - data.renderedCallback = getBindingCallback(elem, "data-" + type + "-rendered", vmodels) - var signature = generateID(type) - var comment = data.element = DOC.createComment(signature + ":end") - data.clone = DOC.createComment(signature) - hyperspace.appendChild(comment) - - if (type === "each" || type === "with") { - data.template = elem.innerHTML.trim() - avalon.clearHTML(elem).appendChild(comment) - } else { - data.template = elem.outerHTML.trim() - elem.parentNode.replaceChild(comment, elem) - } - data.template = avalon.parseHTML(data.template) - data.rollback = function () { - var elem = data.element - if (!elem) - return - bindingExecutors.repeat.call(data, "clear") - var parentNode = elem.parentNode - var content = data.template - var target = content.firstChild - parentNode.replaceChild(content, elem) - var start = data.$with - start && start.parentNode && start.parentNode.removeChild(start) - target = data.element = data.type === "repeat" ? target : parentNode - } - if (freturn) { - return - } - data.handler = bindingExecutors.repeat - data.$outer = {} - var check0 = "$key" - var check1 = "$val" - if (Array.isArray($repeat)) { - $repeat.$map[data.param || "el"] = 1 - check0 = "$first" - check1 = "$last" - } - for (i = 0; v = vmodels[i++];) { - if (v.hasOwnProperty(check0) && v.hasOwnProperty(check1)) { - data.$outer = v - break - } - } - var $events = $repeat.$events - var $list = ($events || {})[subscribers] - if ($list && avalon.Array.ensure($list, data)) { - addSubscribers(data, $list) - } - if (xtype === "object") { - data.$with = true - var pool = !$events ? {} : $events.$withProxyPool || ($events.$withProxyPool = {}) - data.handler("append", $repeat, pool) - } else if ($repeat.length) { - data.handler("add", 0, $repeat.length) - } - } - - bindingExecutors.repeat = function (method, pos, el) { - if (method) { - var data = this, start, fragment - var end = data.element - var comments = getComments(data) - var parent = end.parentNode - var transation = hyperspace.cloneNode(false) - switch (method) { - case "add": //在pos位置后添加el数组(pos为插入位置,el为要插入的个数) - var n = pos + el - var fragments = [] - var array = data.$repeat - for (var i = pos; i < n; i++) { - var proxy = array.$proxy[i] - proxy.$outer = data.$outer - shimController(data, transation, proxy, fragments) - } - parent.insertBefore(transation, comments[pos] || end) - for (i = 0; fragment = fragments[i++];) { - scanNodeArray(fragment.nodes, fragment.vmodels) - fragment.nodes = fragment.vmodels = null - } - break - case "del": //将pos后的el个元素删掉(pos, el都是数字) - sweepNodes(comments[pos], comments[pos + el] || end) - break - case "clear": - start = comments[0] - if (start) { - sweepNodes(start, end) - } - break - case "move": - start = comments[0] - if (start) { - var signature = start.nodeValue - var rooms = [] - var room = [], - node - sweepNodes(start, end, function () { - room.unshift(this) - if (this.nodeValue === signature) { - rooms.unshift(room) - room = [] - } - }) - sortByIndex(rooms, pos) - while (room = rooms.shift()) { - while (node = room.shift()) { - transation.appendChild(node) - } - } - parent.insertBefore(transation, end) - } - break - case "append": //将pos的键值对从el中取出(pos为一个普通对象,el为预先生成好的代理VM对象池) - var pool = el - var keys = [] - fragments = [] - for (var key in pos) { //得到所有键名 - if (pos.hasOwnProperty(key) && key !== "hasOwnProperty") { - keys.push(key) - } - } - if (data.sortedCallback) { //如果有回调,则让它们排序 - var keys2 = data.sortedCallback.call(parent, keys) - if (keys2 && Array.isArray(keys2) && keys2.length) { - keys = keys2 - } - } - for (i = 0; key = keys[i++];) { - if (key !== "hasOwnProperty") { - if (!pool[key]) { - pool[key] = withProxyAgent(key, data) - } - shimController(data, transation, pool[key], fragments) - } - } - var comment = data.$with = data.clone - parent.insertBefore(comment, end) - parent.insertBefore(transation, end) - for (i = 0; fragment = fragments[i++];) { - scanNodeArray(fragment.nodes, fragment.vmodels) - fragment.nodes = fragment.vmodels = null - } - break - } - if (method === "clear") - method = "del" - var callback = data.renderedCallback || noop, - args = arguments - checkScan(parent, function () { - callback.apply(parent, args) - if (parent.oldValue && parent.tagName === "SELECT") { //fix #503 - avalon(parent).val(parent.oldValue.split(",")) - } - }, NaN) - } - } - - "with,each".replace(rword, function (name) { - bindingHandlers[name] = bindingHandlers.repeat - }) - - function shimController(data, transation, proxy, fragments) { - var content = data.template.cloneNode(true) - var nodes = avalon.slice(content.childNodes) - if (!data.$with) { - content.insertBefore(data.clone.cloneNode(false), content.firstChild) - } - transation.appendChild(content) - var nv = [proxy].concat(data.vmodels) - var fragment = { - nodes: nodes, - vmodels: nv - } - fragments.push(fragment) - } - - function getComments(data) { - var end = data.element - var signature = end.nodeValue.replace(":end", "") - var node = end.previousSibling - var array = [] - while (node) { - if (node.nodeValue === signature) { - array.unshift(node) - } - node = node.previousSibling - } - return array - } - - -//移除掉start与end之间的节点(保留end) - function sweepNodes(start, end, callback) { - while (true) { - var node = end.previousSibling - if (!node) - break - node.parentNode.removeChild(node) - callback && callback.call(node) - if (node === start) { - break - } - } - } - -// 为ms-each,ms-with, ms-repeat会创建一个代理VM, -// 通过它们保持一个下上文,让用户能调用$index,$first,$last,$remove,$key,$val,$outer等属性与方法 -// 所有代理VM的产生,消费,收集,存放通过xxxProxyFactory,xxxProxyAgent, recycleProxies,xxxProxyPool实现 - var eachProxyPool = [] - var withProxyPool = [] - - function eachProxyFactory() { - var source = { - $index: 0, - $first: false, - $last: false, - $map: {}, - $host: [], - $outer: {}, - $remove: avalon.noop, - el: { - get: function () { - var e = this.$events - var array = e.$index - e.$index = e.el //#817 通过$index为el收集依赖 - try { - return this.$host[this.$index] - } finally { - e.$index = array - } - }, - set: function (val) { - this.$host.set(this.$index, val) - } - } - } - - var second = { - $last: 1, - $first: 1, - $index: 1 - } - var proxy = modelFactory(source, second) - proxy.$id = generateID("$proxy$each") - return proxy - } - - function eachProxyAgent(index, host) { - var proxy = eachProxyPool.shift() - if (!proxy) { - proxy = eachProxyFactory() - } - var last = host.length - 1 - proxy.$index = index - proxy.$first = index === 0 - proxy.$last = index === last - proxy.$map = host.$map - proxy.$host = host - proxy.$remove = function () { - return host.removeAt(proxy.$index) - } - return proxy - } - - function withProxyFactory() { - var proxy = modelFactory({ - $key: "", - $outer: {}, - $host: {}, - $val: { - get: function () { - return this.$host[this.$key] - }, - set: function (val) { - this.$host[this.$key] = val - } - } - }, { - $val: 1 - }) - proxy.$id = generateID("$proxy$with") - return proxy - } - - function withProxyAgent(key, data) { - var proxy = withProxyPool.pop() - if (!proxy) { - proxy = withProxyFactory() - } - var host = data.$repeat - proxy.$key = key - proxy.$host = host - proxy.$outer = data.$outer - if (host.$events) { - proxy.$events.$val = host.$events[key] - } else { - proxy.$events = {} - } - return proxy - } - - function recycleProxies(proxies, type) { - var proxyPool = type === "each" ? eachProxyPool : withProxyPool - avalon.each(proxies, function (key, proxy) { - if (proxy.$events) { - for (var i in proxy.$events) { - if (Array.isArray(proxy.$events[i])) { - proxy.$events[i].forEach(function (data) { - if (typeof data === "object") - disposeData(data) - }) // jshint ignore:line - proxy.$events[i].length = 0 - } - } - proxy.$host = proxy.$outer = {} - if (proxyPool.unshift(proxy) > kernel.maxRepeatSize) { - proxyPool.pop() - } - } - }) - if (type === "each") - proxies.length = 0 - } - - /********************************************************************* - * 各种指令 * - **********************************************************************/ -//ms-skip绑定已经在scanTag 方法中实现 -// bindingHandlers.text 定义在if.js - bindingExecutors.text = function (val, elem) { - val = val == null ? "" : val //不在页面上显示undefined null - if (elem.nodeType === 3) { //绑定在文本节点上 - try { //IE对游离于DOM树外的节点赋值会报错 - elem.data = val - } catch (e) { - } - } else { //绑定在特性节点上 - elem.textContent = val - } - } - function parseDisplay(nodeName, val) { - //用于取得此类标签的默认display值 - var key = "_" + nodeName - if (!parseDisplay[key]) { - var node = DOC.createElement(nodeName) - root.appendChild(node) - if (W3C) { - val = getComputedStyle(node, null).display - } else { - val = node.currentStyle.display - } - root.removeChild(node) - parseDisplay[key] = val - } - return parseDisplay[key] - } - - avalon.parseDisplay = parseDisplay - - bindingHandlers.visible = function (data, vmodels) { - var elem = avalon(data.element) - var display = elem.css("display") - if (display === "none") { - var style = elem[0].style - var has = /visibility/i.test(style.cssText) - var visible = elem.css("visibility") - style.display = "" - style.visibility = "hidden" - display = elem.css("display") - if (display === "none") { - display = parseDisplay(elem[0].nodeName) - } - style.visibility = has ? visible : "" - } - data.display = display - parseExprProxy(data.value, vmodels, data) - } - - bindingExecutors.visible = function (val, elem, data) { - elem.style.display = val ? data.display : "none" - } - bindingHandlers.widget = function (data, vmodels) { - var args = data.value.match(rword) - var elem = data.element - var widget = args[0] - var id = args[1] - if (!id || id === "$") { //没有定义或为$时,取组件名+随机数 - id = generateID(widget) - } - var optName = args[2] || widget //没有定义,取组件名 - var constructor = avalon.ui[widget] - if (typeof constructor === "function") { //ms-widget="tabs,tabsAAA,optname" - vmodels = elem.vmodels || vmodels - for (var i = 0, v; v = vmodels[i++];) { - if (v.hasOwnProperty(optName) && typeof v[optName] === "object") { - var vmOptions = v[optName] - vmOptions = vmOptions.$model || vmOptions - break - } - } - if (vmOptions) { - var wid = vmOptions[widget + "Id"] - if (typeof wid === "string") { - log("warning!不再支持" + widget + "Id") - id = wid - } - } - //抽取data-tooltip-text、data-tooltip-attr属性,组成一个配置对象 - var widgetData = avalon.getWidgetData(elem, widget) - data.value = [widget, id, optName].join(",") - data[widget + "Id"] = id - data.evaluator = noop - elem.msData["ms-widget-id"] = id - var options = data[widget + "Options"] = avalon.mix({}, constructor.defaults, vmOptions || {}, widgetData) - elem.removeAttribute("ms-widget") - var vmodel = constructor(elem, data, vmodels) || {} //防止组件不返回VM - if (vmodel.$id) { - avalon.vmodels[id] = vmodel - createSignalTower(elem, vmodel) - try { - vmodel.$init(function () { - avalon.scan(elem, [vmodel].concat(vmodels)) - if (typeof options.onInit === "function") { - options.onInit.call(elem, vmodel, options, vmodels) - } - }) - } catch (e) { - } - data.rollback = function () { - try { - vmodel.widgetElement = null - vmodel.$remove() - } catch (e) { - } - elem.msData = {} - delete avalon.vmodels[vmodel.$id] - } - addSubscribers(data, widgetList) - if (window.chrome) { - elem.addEventListener("DOMNodeRemovedFromDocument", function () { - setTimeout(removeSubscribers) - }) - } - } else { - avalon.scan(elem, vmodels) - } - } else if (vmodels.length) { //如果该组件还没有加载,那么保存当前的vmodels - elem.vmodels = vmodels - } - } - var widgetList = [] -//不存在 bindingExecutors.widget - /********************************************************************* - * 自带过滤器 * - **********************************************************************/ - var rscripts = /]*>([\S\s]*?)<\/script\s*>/gim - var ron = /\s+(on[^=\s]+)(?:=("[^"]*"|'[^']*'|[^\s>]+))?/g - var ropen = /<\w+\b(?:(["'])[^"]*?(\1)|[^>])*>/ig - var rsanitize = { - a: /\b(href)\=("javascript[^"]*"|'javascript[^']*')/ig, - img: /\b(src)\=("javascript[^"]*"|'javascript[^']*')/ig, - form: /\b(action)\=("javascript[^"]*"|'javascript[^']*')/ig - } - var rsurrogate = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g - var rnoalphanumeric = /([^\#-~| |!])/g; - - function numberFormat(number, decimals, point, thousands) { - //form http://phpjs.org/functions/number_format/ - //number 必需,要格式化的数字 - //decimals 可选,规定多少个小数位。 - //point 可选,规定用作小数点的字符串(默认为 . )。 - //thousands 可选,规定用作千位分隔符的字符串(默认为 , ),如果设置了该参数,那么所有其他参数都是必需的。 - number = (number + '') - .replace(/[^0-9+\-Ee.]/g, '') - var n = !isFinite(+number) ? 0 : +number, - prec = !isFinite(+decimals) ? 3 : Math.abs(decimals), - sep = thousands || ",", - dec = point || ".", - s = '', - toFixedFix = function (n, prec) { - var k = Math.pow(10, prec) - return '' + (Math.round(n * k) / k) - .toFixed(prec) - } - // Fix for IE parseFloat(0.55).toFixed(0) = 0; - s = (prec ? toFixedFix(n, prec) : '' + Math.round(n)) - .split('.') - if (s[0].length > 3) { - s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep) - } - if ((s[1] || '') - .length < prec) { - s[1] = s[1] || '' - s[1] += new Array(prec - s[1].length + 1) - .join('0') - } - return s.join(dec) - } - - - var filters = avalon.filters = { - uppercase: function (str) { - return str.toUpperCase() - }, - lowercase: function (str) { - return str.toLowerCase() - }, - truncate: function (str, length, truncation) { - //length,新字符串长度,truncation,新字符串的结尾的字段,返回新字符串 - length = length || 30 - truncation = truncation === void(0) ? "..." : truncation - return str.length > length ? str.slice(0, length - truncation.length) + truncation : String(str) - }, - $filter: function (val) { - for (var i = 1, n = arguments.length; i < n; i++) { - var array = arguments[i] - var fn = avalon.filters[array.shift()] - if (typeof fn === "function") { - var arr = [val].concat(array) - val = fn.apply(null, arr) - } - } - return val - }, - camelize: camelize, - //https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet - // chrome - // chrome - // IE67chrome - // IE67chrome - // IE67chrome - sanitize: function (str) { - return str.replace(rscripts, "").replace(ropen, function (a, b) { - var match = a.toLowerCase().match(/<(\w+)\s/) - if (match) { //处理a标签的href属性,img标签的src属性,form标签的action属性 - var reg = rsanitize[match[1]] - if (reg) { - a = a.replace(reg, function (s, name, value) { - var quote = value.charAt(0) - return name + "=" + quote + "javascript:void(0)" + quote// jshint ignore:line - }) - } - } - return a.replace(ron, " ").replace(/\s+/g, " ") //移除onXXX事件 - }) - }, - escape: function (str) { - //将字符串经过 str 转义得到适合在页面中显示的内容, 例如替换 < 为 < - return String(str). - replace(/&/g, '&'). - replace(rsurrogate, function (value) { - var hi = value.charCodeAt(0) - var low = value.charCodeAt(1) - return '&#' + (((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000) + ';' - }). - replace(rnoalphanumeric, function (value) { - return '&#' + value.charCodeAt(0) + ';' - }). - replace(//g, '>') - }, - currency: function (amount, symbol, fractionSize) { - return (symbol || "\uFFE5") + numberFormat(amount, isFinite(fractionSize) ? fractionSize : 2) - }, - number: numberFormat - } - /* - 'yyyy': 4 digit representation of year (e.g. AD 1 => 0001, AD 2010 => 2010) - 'yy': 2 digit representation of year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10) - 'y': 1 digit representation of year, e.g. (AD 1 => 1, AD 199 => 199) - 'MMMM': Month in year (January-December) - 'MMM': Month in year (Jan-Dec) - 'MM': Month in year, padded (01-12) - 'M': Month in year (1-12) - 'dd': Day in month, padded (01-31) - 'd': Day in month (1-31) - 'EEEE': Day in Week,(Sunday-Saturday) - 'EEE': Day in Week, (Sun-Sat) - 'HH': Hour in day, padded (00-23) - 'H': Hour in day (0-23) - 'hh': Hour in am/pm, padded (01-12) - 'h': Hour in am/pm, (1-12) - 'mm': Minute in hour, padded (00-59) - 'm': Minute in hour (0-59) - 'ss': Second in minute, padded (00-59) - 's': Second in minute (0-59) - 'a': am/pm marker - 'Z': 4 digit (+sign) representation of the timezone offset (-1200-+1200) - format string can also be one of the following predefined localizable formats: - - 'medium': equivalent to 'MMM d, y h:mm:ss a' for en_US locale (e.g. Sep 3, 2010 12:05:08 pm) - 'short': equivalent to 'M/d/yy h:mm a' for en_US locale (e.g. 9/3/10 12:05 pm) - 'fullDate': equivalent to 'EEEE, MMMM d,y' for en_US locale (e.g. Friday, September 3, 2010) - 'longDate': equivalent to 'MMMM d, y' for en_US locale (e.g. September 3, 2010 - 'mediumDate': equivalent to 'MMM d, y' for en_US locale (e.g. Sep 3, 2010) - 'shortDate': equivalent to 'M/d/yy' for en_US locale (e.g. 9/3/10) - 'mediumTime': equivalent to 'h:mm:ss a' for en_US locale (e.g. 12:05:08 pm) - 'shortTime': equivalent to 'h:mm a' for en_US locale (e.g. 12:05 pm) - */ - new function () {// jshint ignore:line - function toInt(str) { - return parseInt(str, 10) || 0 - } - - function padNumber(num, digits, trim) { - var neg = "" - if (num < 0) { - neg = '-' - num = -num - } - num = "" + num - while (num.length < digits) - num = "0" + num - if (trim) - num = num.substr(num.length - digits) - return neg + num - } - - function dateGetter(name, size, offset, trim) { - return function (date) { - var value = date["get" + name]() - if (offset > 0 || value > -offset) - value += offset - if (value === 0 && offset === -12) { - value = 12 - } - return padNumber(value, size, trim) - } - } - - function dateStrGetter(name, shortForm) { - return function (date, formats) { - var value = date["get" + name]() - var get = (shortForm ? ("SHORT" + name) : name).toUpperCase() - return formats[get][value] - } - } - - function timeZoneGetter(date) { - var zone = -1 * date.getTimezoneOffset() - var paddedZone = (zone >= 0) ? "+" : "" - paddedZone += padNumber(Math[zone > 0 ? "floor" : "ceil"](zone / 60), 2) + padNumber(Math.abs(zone % 60), 2) - return paddedZone - } - - //取得上午下午 - - function ampmGetter(date, formats) { - return date.getHours() < 12 ? formats.AMPMS[0] : formats.AMPMS[1] - } - - var DATE_FORMATS = { - yyyy: dateGetter("FullYear", 4), - yy: dateGetter("FullYear", 2, 0, true), - y: dateGetter("FullYear", 1), - MMMM: dateStrGetter("Month"), - MMM: dateStrGetter("Month", true), - MM: dateGetter("Month", 2, 1), - M: dateGetter("Month", 1, 1), - dd: dateGetter("Date", 2), - d: dateGetter("Date", 1), - HH: dateGetter("Hours", 2), - H: dateGetter("Hours", 1), - hh: dateGetter("Hours", 2, -12), - h: dateGetter("Hours", 1, -12), - mm: dateGetter("Minutes", 2), - m: dateGetter("Minutes", 1), - ss: dateGetter("Seconds", 2), - s: dateGetter("Seconds", 1), - sss: dateGetter("Milliseconds", 3), - EEEE: dateStrGetter("Day"), - EEE: dateStrGetter("Day", true), - a: ampmGetter, - Z: timeZoneGetter - } - var rdateFormat = /((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/ - var raspnetjson = /^\/Date\((\d+)\)\/$/ - filters.date = function (date, format) { - var locate = filters.date.locate, - text = "", - parts = [], - fn, match - format = format || "mediumDate" - format = locate[format] || format - if (typeof date === "string") { - if (/^\d+$/.test(date)) { - date = toInt(date) - } else if (raspnetjson.test(date)) { - date = +RegExp.$1 - } else { - var trimDate = date.trim() - var dateArray = [0, 0, 0, 0, 0, 0, 0] - var oDate = new Date(0) - //取得年月日 - trimDate = trimDate.replace(/^(\d+)\D(\d+)\D(\d+)/, function (_, a, b, c) { - var array = c.length === 4 ? [c, a, b] : [a, b, c] - dateArray[0] = toInt(array[0]) //年 - dateArray[1] = toInt(array[1]) - 1 //月 - dateArray[2] = toInt(array[2]) //日 - return "" - }) - var dateSetter = oDate.setFullYear - var timeSetter = oDate.setHours - trimDate = trimDate.replace(/[T\s](\d+):(\d+):?(\d+)?\.?(\d)?/, function (_, a, b, c, d) { - dateArray[3] = toInt(a) //小时 - dateArray[4] = toInt(b) //分钟 - dateArray[5] = toInt(c) //秒 - if (d) { //毫秒 - dateArray[6] = Math.round(parseFloat("0." + d) * 1000) - } - return "" - }) - var tzHour = 0 - var tzMin = 0 - trimDate = trimDate.replace(/Z|([+-])(\d\d):?(\d\d)/, function (z, symbol, c, d) { - dateSetter = oDate.setUTCFullYear - timeSetter = oDate.setUTCHours - if (symbol) { - tzHour = toInt(symbol + c) - tzMin = toInt(symbol + d) - } - return "" - }) - - dateArray[3] -= tzHour - dateArray[4] -= tzMin - dateSetter.apply(oDate, dateArray.slice(0, 3)) - timeSetter.apply(oDate, dateArray.slice(3)) - date = oDate - } - } - if (typeof date === "number") { - date = new Date(date) - } - if (avalon.type(date) !== "date") { - return - } - while (format) { - match = rdateFormat.exec(format) - if (match) { - parts = parts.concat(match.slice(1)) - format = parts.pop() - } else { - parts.push(format) - format = null - } - } - parts.forEach(function (value) { - fn = DATE_FORMATS[value] - text += fn ? fn(date, locate) : value.replace(/(^'|'$)/g, "").replace(/''/g, "'") - }) - return text - } - var locate = { - AMPMS: { - 0: "上午", - 1: "下午" - }, - DAY: { - 0: "星期日", - 1: "星期一", - 2: "星期二", - 3: "星期三", - 4: "星期四", - 5: "星期五", - 6: "星期六" - }, - MONTH: { - 0: "1月", - 1: "2月", - 2: "3月", - 3: "4月", - 4: "5月", - 5: "6月", - 6: "7月", - 7: "8月", - 8: "9月", - 9: "10月", - 10: "11月", - 11: "12月" - }, - SHORTDAY: { - "0": "周日", - "1": "周一", - "2": "周二", - "3": "周三", - "4": "周四", - "5": "周五", - "6": "周六" - }, - fullDate: "y年M月d日EEEE", - longDate: "y年M月d日", - medium: "yyyy-M-d H:mm:ss", - mediumDate: "yyyy-M-d", - mediumTime: "H:mm:ss", - "short": "yy-M-d ah:mm", - shortDate: "yy-M-d", - shortTime: "ah:mm" - } - locate.SHORTMONTH = locate.MONTH - filters.date.locate = locate - }// jshint ignore:line - /********************************************************************* - * AMD加载器 * - **********************************************************************/ -//https://www.devbridge.com/articles/understanding-amd-requirejs/ -//http://maxogden.com/nested-dependencies.html - var modules = avalon.modules = { - "domReady!": { - exports: avalon, - state: 3 - }, - "avalon": { - exports: avalon, - state: 4 - } - } -//Object(modules[id]).state拥有如下值 -// undefined 没有定义 -// 1(send) 已经发出请求 -// 2(loading) 已经被执行但还没有执行完成,在这个阶段define方法会被执行 -// 3(loaded) 执行完毕,通过onload/onreadystatechange回调判定,在这个阶段checkDeps方法会执行 -// 4(execute) 其依赖也执行完毕, 值放到exports对象上,在这个阶段fireFactory方法会执行 - modules.exports = modules.avalon - - new function () {// jshint ignore:line - var loadings = [] //正在加载中的模块列表 - var factorys = [] //放置define方法的factory函数 - var rjsext = /\.js$/i - - function makeRequest(name, config) { -//1. 去掉资源前缀 - var res = "js" - name = name.replace(/^(\w+)\!/, function (a, b) { - res = b - return "" - }) - if (res === "ready") { - log("debug: ready!已经被废弃,请使用domReady!") - res = "domReady" - } -//2. 去掉querystring, hash - var query = "" - name = name.replace(rquery, function (a) { - query = a - return "" - }) - //3. 去掉扩展名 - var suffix = "." + res - var ext = /js|css/.test(suffix) ? suffix : "" - name = name.replace(/\.[a-z0-9]+$/g, function (a) { - if (a === suffix) { - ext = a - return "" - } else { - return a - } - }) - var req = avalon.mix({ - query: query, - ext: ext, - res: res, - name: name, - toUrl: toUrl - }, config) - req.toUrl(name) - return req - } - - function fireRequest(req) { - var name = req.name - var res = req.res - //1. 如果该模块已经发出请求,直接返回 - var module = modules[name] - var urlNoQuery = name && req.urlNoQuery - if (module && module.state >= 1) { - return name - } - module = modules[urlNoQuery] - if (module && module.state >= 3) { - innerRequire(module.deps || [], module.factory, urlNoQuery) - return urlNoQuery - } - if (name && !module) { - module = modules[urlNoQuery] = { - id: urlNoQuery, - state: 1 //send - } - var wrap = function (obj) { - resources[res] = obj - obj.load(name, req, function (a) { - if (arguments.length && a !== void 0) { - module.exports = a - } - module.state = 4 - checkDeps() - }) - } - - if (!resources[res]) { - innerRequire([res], wrap) - } else { - wrap(resources[res]) - } - } - return name ? urlNoQuery : res + "!" - } - -//核心API之一 require - var requireQueue = [] - var isUserFirstRequire = false - innerRequire = avalon.require = function (array, factory, parentUrl, defineConfig) { - if (!isUserFirstRequire) { - requireQueue.push(avalon.slice(arguments)) - if (arguments.length <= 2) { - isUserFirstRequire = true - var queue = requireQueue.splice(0, requireQueue.length), args - while (args = queue.shift()) { - innerRequire.apply(null, args) - } - } - return - } - - if (!Array.isArray(array)) { - avalon.error("require方法的第一个参数应为数组 " + array) - } - var deps = [] // 放置所有依赖项的完整路径 - var uniq = createMap() - var id = parentUrl || "callback" + setTimeout("1")// jshint ignore:line - defineConfig = defineConfig || createMap() - defineConfig.baseUrl = kernel.baseUrl - var isBuilt = !!defineConfig.built - if (parentUrl) { - defineConfig.parentUrl = parentUrl.substr(0, parentUrl.lastIndexOf("/")) - defineConfig.mapUrl = parentUrl.replace(rjsext, "") - } - if (isBuilt) { - var req = makeRequest(defineConfig.defineName, defineConfig) - id = req.urlNoQuery - } else { - array.forEach(function (name) { - var req = makeRequest(name, defineConfig) - var url = fireRequest(req) //加载资源,并返回该资源的完整地址 - if (url) { - if (!uniq[url]) { - deps.push(url) - uniq[url] = "司徒正美" //去重 - } - } - }) - } - - var module = modules[id] - if (!module || module.state !== 4) { - modules[id] = { - id: id, - deps: isBuilt ? array.concat() : deps, - factory: factory || noop, - state: 3 - } - } - if (!module) { - //如果此模块是定义在另一个JS文件中, 那必须等该文件加载完毕, 才能放到检测列队中 - loadings.push(id) - } - checkDeps() - } - -//核心API之二 require - innerRequire.define = function (name, deps, factory) { //模块名,依赖列表,模块本身 - if (typeof name !== "string") { - factory = deps - deps = name - name = "anonymous" - } - if (!Array.isArray(deps)) { - factory = deps - deps = [] - } - var config = { - built: !isUserFirstRequire, //用r.js打包后,所有define会放到requirejs之前 - defineName: name - } - var args = [deps, factory, config] - factory.require = function (url) { - args.splice(2, 0, url) - if (modules[url]) { - modules[url].state = 3 //loaded - var isCycle = false - try { - isCycle = checkCycle(modules[url].deps, url) - } catch (e) { - } - if (isCycle) { - avalon.error(url + "模块与之前的模块存在循环依赖,请不要直接用script标签引入" + url + "模块") - } - } - delete factory.require //释放内存 - innerRequire.apply(null, args) //0,1,2 --> 1,2,0 - } -//根据标准,所有遵循W3C标准的浏览器,script标签会按标签的出现顺序执行。 -//老的浏览器中,加载也是按顺序的:一个文件下载完成后,才开始下载下一个文件。 -//较新的浏览器中(IE8+ 、FireFox3.5+ 、Chrome4+ 、Safari4+),为了减小请求时间以优化体验, -//下载可以是并行的,但是执行顺序还是按照标签出现的顺序。 -//但如果script标签是动态插入的, 就未必按照先请求先执行的原则了,目测只有firefox遵守 -//唯一比较一致的是,IE10+及其他标准浏览器,一旦开始解析脚本, 就会一直堵在那里,直接脚本解析完毕 -//亦即,先进入loading阶段的script标签(模块)必然会先进入loaded阶段 - var url = config.built ? "unknown" : getCurrentScript() - if (url) { - var module = modules[url] - if (module) { - module.state = 2 - } - factory.require(url) - } else {//合并前后的safari,合并后的IE6-9走此分支 - factorys.push(factory) - } - } -//核心API之三 require.config(settings) - innerRequire.config = kernel - //核心API之四 define.amd 标识其符合AMD规范 - innerRequire.define.amd = modules - - //==========================对用户配置项进行再加工========================== - var allpaths = kernel["orig.paths"] = createMap() - var allmaps = kernel["orig.map"] = createMap() - var allpackages = kernel["packages"] = [] - var allargs = kernel["orig.args"] = createMap() - avalon.mix(plugins, { - paths: function (hash) { - avalon.mix(allpaths, hash) - kernel.paths = makeIndexArray(allpaths) - }, - map: function (hash) { - avalon.mix(allmaps, hash) - var list = makeIndexArray(allmaps, 1, 1) - avalon.each(list, function (_, item) { - item.val = makeIndexArray(item.val) - }) - kernel.map = list - }, - packages: function (array) { - array = array.concat(allpackages) - var uniq = createMap() - var ret = [] - for (var i = 0, pkg; pkg = array[i++];) { - pkg = typeof pkg === "string" ? {name: pkg} : pkg - var name = pkg.name - if (!uniq[name]) { - var url = joinPath(pkg.location || name, pkg.main || "main") - url = url.replace(rjsext, "") - ret.push(pkg) - uniq[name] = pkg.location = url - pkg.reg = makeMatcher(name) - } - } - kernel.packages = ret.sort() - }, - urlArgs: function (hash) { - if (typeof hash === "string") { - hash = {"*": hash} - } - avalon.mix(allargs, hash) - kernel.urlArgs = makeIndexArray(allargs, 1) - }, - baseUrl: function (url) { - if (!isAbsUrl(url)) { - var baseElement = head.getElementsByTagName("base")[0] - if (baseElement) { - head.removeChild(baseElement) - } - var node = DOC.createElement("a") - node.href = url - url = node.href - if (baseElement) { - head.insertBefore(baseElement, head.firstChild) - } - } - if (url.length > 3) - kernel.baseUrl = url - }, - shim: function (obj) { - for (var i in obj) { - var value = obj[i] - if (Array.isArray(value)) { - value = obj[i] = { - deps: value - } - } - if (!value.exportsFn && (value.exports || value.init)) { - value.exportsFn = makeExports(value) - } - } - kernel.shim = obj - } - - }) - - - //==============================内部方法================================= - function checkCycle(deps, nick) { - //检测是否存在循环依赖 - for (var i = 0, id; id = deps[i++];) { - if (modules[id].state !== 4 && - (id === nick || checkCycle(modules[id].deps, nick))) { - return true - } - } - } - - function checkFail(node, onError) { - var id = trimQuery(node.src) //检测是否死链 - node.onload = node.onerror = null - if (onError) { - setTimeout(function () { - head.removeChild(node) - node = null // 处理旧式IE下的循环引用问题 - }) - log("debug: 加载 " + id + " 失败" + onError + " " + (!modules[id].state)) - } else { - return true - } - } - - function checkDeps() { - //检测此JS模块的依赖是否都已安装完毕,是则安装自身 - loop: for (var i = loadings.length, id; id = loadings[--i];) { - var obj = modules[id], - deps = obj.deps - if (!deps) - continue - for (var j = 0, key; key = deps[j]; j++) { - if (Object(modules[key]).state !== 4) { - continue loop - } - } - //如果deps是空对象或者其依赖的模块的状态都是2 - if (obj.state !== 4) { - loadings.splice(i, 1) //必须先移除再安装,防止在IE下DOM树建完后手动刷新页面,会多次执行它 - fireFactory(obj.id, obj.deps, obj.factory) - checkDeps() //如果成功,则再执行一次,以防有些模块就差本模块没有安装好 - } - } - } - - function loadJS(url, id, callback) { - //通过script节点加载目标模块 - var node = DOC.createElement("script") - node.className = subscribers //让getCurrentScript只处理类名为subscribers的script节点 - node.onload = function () { - var factory = factorys.pop() - factory && factory.require(id) - if (callback) { - callback() - } - log("debug: 已成功加载 " + url) - id && loadings.push(id) - checkDeps() - } - node.onerror = function () { - checkFail(node, true) - } - - head.insertBefore(node, head.firstChild) //chrome下第二个参数不能为null - node.src = url //插入到head的第一个节点前,防止IE6下head标签没闭合前使用appendChild抛错 - log("debug: 正准备加载 " + url) //更重要的是IE6下可以收窄getCurrentScript的寻找范围 - } - - var resources = innerRequire.plugins = { - //三大常用资源插件 js!, css!, text!, ready! - ready: { - load: noop - }, - js: { - load: function (name, req, onLoad) { - var url = req.url - var id = req.urlNoQuery - var shim = kernel.shim[name.replace(rjsext, "")] - if (shim) { //shim机制 - innerRequire(shim.deps || [], function () { - var args = avalon.slice(arguments) - loadJS(url, id, function () { - onLoad(shim.exportsFn ? shim.exportsFn.apply(0, args) : void 0) - }) - }) - } else { - loadJS(url, id) - } - } - }, - css: { - load: function (name, req, onLoad) { - var url = req.url - head.insertAdjacentHTML("afterBegin", '') - log("debug: 已成功加载 " + url) - onLoad() - } - }, - text: { - load: function (name, req, onLoad) { - var url = req.url - var xhr = getXHR() - xhr.onload = function () { - var status = xhr.status; - if (status > 399 && status < 600) { - avalon.error(url + " 对应资源不存在或没有开启 CORS") - } else { - log("debug: 已成功加载 " + url) - onLoad(xhr.responseText) - } - } - xhr.open("GET", url, true) - if ("withCredentials" in xhr) {//这是处理跨域 - xhr.withCredentials = true - } - xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest")//告诉后端这是AJAX请求 - xhr.send() - log("debug: 正准备加载 " + url) - } - } - } - innerRequire.checkDeps = checkDeps - - var rquery = /(\?[^#]*)$/ - - function trimQuery(url) { - return (url || "").replace(rquery, "") - } - - function isAbsUrl(path) { - //http://stackoverflow.com/questions/10687099/how-to-test-if-a-url-string-is-absolute-or-relative - return /^(?:[a-z]+:)?\/\//i.test(String(path)) - } - - - function getCurrentScript() { - // inspireb by https://github.com/samyk/jiagra/blob/master/jiagra.js - var stack - try { - a.b.c() //强制报错,以便捕获e.stack - } catch (e) { //safari5的sourceURL,firefox的fileName,它们的效果与e.stack不一样 - stack = e.stack - } - if (stack) { - /**e.stack最后一行在所有支持的浏览器大致如下: - *chrome23: - * at http://113.93.50.63/data.js:4:1 - *firefox17: - *@http://113.93.50.63/query.js:4 - *opera12:http://www.oldapps.com/opera.php?system=Windows_XP - *@http://113.93.50.63/data.js:4 - *IE10: - * at Global code (http://113.93.50.63/data.js:4:1) - * //firefox4+ 可以用document.currentScript - */ - stack = stack.split(/[@ ]/g).pop() //取得最后一行,最后一个空格或@之后的部分 - stack = stack[0] === "(" ? stack.slice(1, -1) : stack.replace(/\s/, "") //去掉换行符 - return trimQuery(stack.replace(/(:\d+)?:\d+$/i, "")) //去掉行号与或许存在的出错字符起始位置 - } - var nodes = head.getElementsByTagName("script") //只在head标签中寻找 - for (var i = nodes.length, node; node = nodes[--i];) { - if (node.className === subscribers && node.readyState === "interactive") { - var url = node.src - return node.className = trimQuery(url) - } - } - } - - var rcallback = /^callback\d+$/ - - function fireFactory(id, deps, factory) { - var module = Object(modules[id]) - module.state = 4 - for (var i = 0, array = [], d; d = deps[i++];) { - if (d === "exports") { - var obj = module.exports || (module.exports = createMap()) - array.push(obj) - } else { - array.push(modules[d].exports) - } - } - try { - var ret = factory.apply(window, array) - } catch (e) { - log("执行[" + id + "]模块的factory抛错: " + e) - } - if (ret !== void 0) { - module.exports = ret - } - if (rcallback.test(id)) { - delete modules[id] - } - delete module.factory - return ret - } - - function toUrl(id) { - if (id.indexOf(this.res + "!") === 0) { - id = id.slice(this.res.length + 1) //处理define("css!style",[], function(){})的情况 - } - var url = id - //1. 是否命中paths配置项 - var usePath = 0 - var baseUrl = this.baseUrl - var rootUrl = this.parentUrl || baseUrl - eachIndexArray(id, kernel.paths, function (value, key) { - url = url.replace(key, value) - usePath = 1 - }) - //2. 是否命中packages配置项 - if (!usePath) { - eachIndexArray(id, kernel.packages, function (value, key, item) { - url = url.replace(item.name, item.location) - }) - } - //3. 是否命中map配置项 - if (this.mapUrl) { - eachIndexArray(this.mapUrl, kernel.map, function (array) { - eachIndexArray(url, array, function (mdValue, mdKey) { - url = url.replace(mdKey, mdValue) - rootUrl = baseUrl - }) - }) - } - var ext = this.ext - if (ext && usePath && url.slice(-ext.length) === ext) { - url = url.slice(0, -ext.length) - } - //4. 转换为绝对路径 - if (!isAbsUrl(url)) { - rootUrl = this.built || /^\w/.test(url) ? baseUrl : rootUrl - url = joinPath(rootUrl, url) - } - //5. 还原扩展名,query - var urlNoQuery = url + ext - url = urlNoQuery + this.query - //6. 处理urlArgs - eachIndexArray(id, kernel.urlArgs, function (value) { - url += (url.indexOf("?") === -1 ? "?" : "&") + value; - }) - this.url = url - return this.urlNoQuery = urlNoQuery - } - - function makeIndexArray(hash, useStar, part) { - //创建一个经过特殊算法排好序的数组 - var index = hash2array(hash, useStar, part) - index.sort(descSorterByName) - return index - } - - function makeMatcher(prefix) { - return new RegExp('^' + prefix + '(/|$)') - } - - function makeExports(value) { - return function () { - var ret - if (value.init) { - ret = value.init.apply(window, arguments) - } - return ret || (value.exports && getGlobal(value.exports)) - } - } - - - function hash2array(hash, useStar, part) { - var array = []; - for (var key in hash) { - // if (hash.hasOwnProperty(key)) {//hash是由createMap创建没有hasOwnProperty - var item = { - name: key, - val: hash[key] - } - array.push(item) - item.reg = key === "*" && useStar ? /^/ : makeMatcher(key) - if (part && key !== "*") { - item.reg = new RegExp('\/' + key.replace(/^\//, "") + '(/|$)') - } - // } - } - return array - } - - function eachIndexArray(moduleID, array, matcher) { - array = array || [] - for (var i = 0, el; el = array[i++];) { - if (el.reg.test(moduleID)) { - matcher(el.val, el.name, el) - return false - } - } - } - - // 根据元素的name项进行数组字符数逆序的排序函数 - function descSorterByName(a, b) { - var aaa = a.name - var bbb = b.name - if (bbb === "*") { - return -1 - } - if (aaa === "*") { - return 1 - } - return bbb.length - aaa.length - } - - var rdeuce = /\/\w+\/\.\./ - - function joinPath(a, b) { - if (a.charAt(a.length - 1) !== "/") { - a += "/" - } - if (b.slice(0, 2) === "./") { //相对于兄弟路径 - return a + b.slice(2) - } - if (b.slice(0, 2) === "..") { //相对于父路径 - a += b - while (rdeuce.test(a)) { - a = a.replace(rdeuce, "") - } - return a - } - if (b.slice(0, 1) === "/") { - return a + b.slice(1) - } - return a + b - } - - function getGlobal(value) { - if (!value) { - return value - } - var g = window - value.split(".").forEach(function (part) { - g = g[part] - }) - return g - } - - var mainNode = DOC.scripts[DOC.scripts.length - 1] - var dataMain = mainNode.getAttribute("data-main") - if (dataMain) { - plugins.baseUrl(dataMain) - var href = kernel.baseUrl - kernel.baseUrl = href.slice(0, href.lastIndexOf("/") + 1) - loadJS(href.replace(rjsext, "") + ".js") - } else { - var loaderUrl = trimQuery(mainNode.src) - kernel.baseUrl = loaderUrl.slice(0, loaderUrl.lastIndexOf("/") + 1) - } - }// jshint ignore:line - - /********************************************************************* - * DOMReady * - **********************************************************************/ - var readyList = [], isReady - var fireReady = function (fn) { - isReady = true - if (innerRequire) { - modules["domReady!"].state = 4 - innerRequire.checkDeps() - } - while (fn = readyList.shift()) { - fn(avalon) - } - } - - - if (DOC.readyState === "complete") { - setTimeout(fireReady) //如果在domReady之外加载 - } else { - DOC.addEventListener("DOMContentLoaded", fireReady) - } - window.addEventListener("load", fireReady) - avalon.ready = function (fn) { - if (!isReady) { - readyList.push(fn) - } else { - fn(avalon) - } - } - avalon.config({ - loader: true - }) - avalon.ready(function () { - avalon.scan(DOC.body) - }) - -// Register as a named AMD module, since avalon can be concatenated with other -// files that may use define, but not via a proper concatenation script that -// understands anonymous AMD modules. A named AMD is safest and most robust -// way to register. Lowercase avalon is used because AMD module names are -// derived from file names, and Avalon is normally delivered in a lowercase -// file name. Do this after creating the global so that if an AMD module wants -// to call noConflict to hide this version of avalon, it will work. - -// Note that for maximum portability, libraries that are not avalon should -// declare themselves as anonymous modules, and avoid setting a global if an -// AMD loader is present. avalon is a special case. For more information, see -// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon - if (typeof define === "function" && define.amd) { - define("avalon", [], function () { - return avalon - }) - } -// Map over avalon in case of overwrite - var _avalon = window.avalon - avalon.noConflict = function (deep) { - if (deep && window.avalon === avalon) { - window.avalon = _avalon - } - return avalon - } -// Expose avalon identifiers, even in AMD -// and CommonJS for browser emulators - if (noGlobal === void 0) { - window.avalon = avalon - } - - window._injectTer = function (code) { - return eval(code) - } - - return avalon - +/*================================================== + Copyright (c) 2013-2015 司徒正美 and other contributors + http://www.cnblogs.com/rubylouvre/ + https://github.com/RubyLouvre + http://weibo.com/jslouvre/ + + Released under the MIT license + avalon.modern.js 1.43 built in 2015.5.21 + support IE10+ and other browsers + ==================================================*/ +(function (global, factory) { + + 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 avalon. + // 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 avalon = require("avalon")(window); + module.exports = global.document ? factory(global, true) : function (w) { + if (!w.document) { + throw new Error("Avalon 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) { + + /********************************************************************* + * 全局变量及方法 * + **********************************************************************/ + var expose = Date.now() +//http://stackoverflow.com/questions/7290086/javascript-use-strict-and-nicks-find-global-function + var DOC = window.document + var head = DOC.head //HEAD元素 + head.insertAdjacentHTML("afterBegin", '') + var ifGroup = head.firstChild + + function log() { + if (avalon.config.debug) { +// http://stackoverflow.com/questions/8785624/how-to-safely-wrap-console-log + console.log.apply(console, arguments) + } + } + + /** + * Creates a new object without a prototype. This object is useful for lookup without having to + * guard against prototypically inherited properties via hasOwnProperty. + * + * Related micro-benchmarks: + * - http://jsperf.com/object-create2 + * - http://jsperf.com/proto-map-lookup/2 + * - http://jsperf.com/for-in-vs-object-keys2 + */ + function createMap() { + return Object.create(null) + } + + var subscribers = "$" + expose + var otherRequire = window.require + var otherDefine = window.define + var innerRequire + var stopRepeatAssign = false + var rword = /[^, ]+/g //切割字符串为一个个小块,以空格或豆号分开它们,结合replace实现字符串的forEach + var rcomplexType = /^(?:object|array)$/ + var rsvg = /^\[object SVG\w*Element\]$/ + var rwindow = /^\[object (?:Window|DOMWindow|global)\]$/ + var oproto = Object.prototype + var ohasOwn = oproto.hasOwnProperty + var serialize = oproto.toString + var ap = Array.prototype + var aslice = ap.slice + var Registry = {} //将函数曝光到此对象上,方便访问器收集依赖 + var W3C = window.dispatchEvent + var root = DOC.documentElement + var hyperspace = DOC.createDocumentFragment() + var cinerator = DOC.createElement("div") + var class2type = {} + "Boolean Number String Function Array Date RegExp Object Error".replace(rword, function (name) { + class2type["[object " + name + "]"] = name.toLowerCase() + }) + + + function noop() { + } + + + function oneObject(array, val) { + if (typeof array === "string") { + array = array.match(rword) || [] + } + var result = {}, + value = val !== void 0 ? val : 1 + for (var i = 0, n = array.length; i < n; i++) { + result[array[i]] = value + } + return result + } + +//生成UUID http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript + var generateID = function (prefix) { + prefix = prefix || "avalon" + return String(Math.random() + Math.random()).replace(/\d\.\d{4}/, prefix) + } + + function IE() { + if (window.VBArray) { + var mode = document.documentMode + return mode ? mode : window.XMLHttpRequest ? 7 : 6 + } else { + return 0 + } + } + + var IEVersion = IE() + + avalon = function (el) { //创建jQuery式的无new 实例化结构 + return new avalon.init(el) + } + + /*视浏览器情况采用最快的异步回调*/ + avalon.nextTick = new function () {// jshint ignore:line + var tickImmediate = window.setImmediate + var tickObserver = window.MutationObserver + var tickPost = W3C && window.postMessage + if (tickImmediate) { + return tickImmediate.bind(window) + } + + var queue = [] + + function callback() { + var n = queue.length + for (var i = 0; i < n; i++) { + queue[i]() + } + queue = queue.slice(n) + } + + if (tickObserver) { + var node = document.createTextNode("avalon") + new tickObserver(callback).observe(node, {characterData: true})// jshint ignore:line + return function (fn) { + queue.push(fn) + node.data = Math.random() + } + } + + if (tickPost) { + window.addEventListener("message", function (e) { + var source = e.source + if ((source === window || source === null) && e.data === "process-tick") { + e.stopPropagation() + callback() + } + }) + + return function (fn) { + queue.push(fn) + window.postMessage('process-tick', '*') + } + } + + return function (fn) { + setTimeout(fn, 0) + } + }// jshint ignore:line + /********************************************************************* + * avalon的静态方法定义区 * + **********************************************************************/ + avalon.init = function (el) { + this[0] = this.element = el + } + avalon.fn = avalon.prototype = avalon.init.prototype + + avalon.type = function (obj) { //取得目标的类型 + if (obj == null) { + return String(obj) + } + // 早期的webkit内核浏览器实现了已废弃的ecma262v4标准,可以将正则字面量当作函数使用,因此typeof在判定正则时会返回function + return typeof obj === "object" || typeof obj === "function" ? + class2type[serialize.call(obj)] || "object" : + typeof obj + } + + var isFunction = function (fn) { + return serialize.call(fn) === "[object Function]" + } + + avalon.isFunction = isFunction + + avalon.isWindow = function (obj) { + return rwindow.test(serialize.call(obj)) + } + + /*判定是否是一个朴素的javascript对象(Object),不是DOM对象,不是BOM对象,不是自定义类的实例*/ + + avalon.isPlainObject = function (obj) { + // 简单的 typeof obj === "object"检测,会致使用isPlainObject(window)在opera下通不过 + return serialize.call(obj) === "[object Object]" && Object.getPrototypeOf(obj) === oproto + } + +//与jQuery.extend方法,可用于浅拷贝,深拷贝 + avalon.mix = avalon.fn.mix = function () { + var options, name, src, copy, copyIsArray, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false + + // 如果第一个参数为布尔,判定是否深拷贝 + if (typeof target === "boolean") { + deep = target + target = arguments[1] || {} + i++ + } + + //确保接受方为一个复杂的数据类型 + if (typeof target !== "object" && !isFunction(target)) { + target = {} + } + + //如果只有一个参数,那么新成员添加于mix所在的对象上 + if (i === length) { + target = this + i-- + } + + for (; i < length; i++) { + //只处理非空参数 + if ((options = arguments[i]) != null) { + for (name in options) { + src = target[name] + copy = options[name] + // 防止环引用 + if (target === copy) { + continue + } + if (deep && copy && (avalon.isPlainObject(copy) || (copyIsArray = Array.isArray(copy)))) { + + if (copyIsArray) { + copyIsArray = false + clone = src && Array.isArray(src) ? src : [] + + } else { + clone = src && avalon.isPlainObject(src) ? src : {} + } + + target[name] = avalon.mix(deep, clone, copy) + } else if (copy !== void 0) { + target[name] = copy + } + } + } + } + return target + } + + function _number(a, len) { //用于模拟slice, splice的效果 + a = Math.floor(a) || 0 + return a < 0 ? Math.max(len + a, 0) : Math.min(a, len); + } + + avalon.mix({ + rword: rword, + subscribers: subscribers, + version: 1.43, + ui: {}, + log: log, + slice: function (nodes, start, end) { + return aslice.call(nodes, start, end) + }, + noop: noop, + /*如果不用Error对象封装一下,str在控制台下可能会乱码*/ + error: function (str, e) { + throw new (e || Error)(str)// jshint ignore:line + }, + /*将一个以空格或逗号隔开的字符串或数组,转换成一个键值都为1的对象*/ + oneObject: oneObject, + /* avalon.range(10) + => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + avalon.range(1, 11) + => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] + avalon.range(0, 30, 5) + => [0, 5, 10, 15, 20, 25] + avalon.range(0, -10, -1) + => [0, -1, -2, -3, -4, -5, -6, -7, -8, -9] + avalon.range(0) + => []*/ + range: function (start, end, step) { // 用于生成整数数组 + step || (step = 1) + if (end == null) { + end = start || 0 + start = 0 + } + var index = -1, + length = Math.max(0, Math.ceil((end - start) / step)), + result = new Array(length) + while (++index < length) { + result[index] = start + start += step + } + return result + }, + eventHooks: {}, + /*绑定事件*/ + bind: function (el, type, fn, phase) { + var hooks = avalon.eventHooks + var hook = hooks[type] + if (typeof hook === "object") { + type = hook.type + if (hook.deel) { + fn = hook.deel(el, type, fn, phase) + } + } + if (!fn.unbind) + el.addEventListener(type, fn, !!phase) + return fn + }, + /*卸载事件*/ + unbind: function (el, type, fn, phase) { + var hooks = avalon.eventHooks + var hook = hooks[type] + var callback = fn || noop + if (typeof hook === "object") { + type = hook.type + if (hook.deel) { + fn = hook.deel(el, type, fn, false) + } + } + el.removeEventListener(type, callback, !!phase) + }, + /*读写删除元素节点的样式*/ + css: function (node, name, value) { + if (node instanceof avalon) { + node = node[0] + } + var prop = /[_-]/.test(name) ? camelize(name) : name, fn + name = avalon.cssName(prop) || prop + if (value === void 0 || typeof value === "boolean") { //获取样式 + fn = cssHooks[prop + ":get"] || cssHooks["@:get"] + if (name === "background") { + name = "backgroundColor" + } + var val = fn(node, name) + return value === true ? parseFloat(val) || 0 : val + } else if (value === "") { //请除样式 + node.style[name] = "" + } else { //设置样式 + if (value == null || value !== value) { + return + } + if (isFinite(value) && !avalon.cssNumber[prop]) { + value += "px" + } + fn = cssHooks[prop + ":set"] || cssHooks["@:set"] + fn(node, name, value) + } + }, + /*遍历数组与对象,回调的第一个参数为索引或键名,第二个或元素或键值*/ + each: function (obj, fn) { + if (obj) { //排除null, undefined + var i = 0 + if (isArrayLike(obj)) { + for (var n = obj.length; i < n; i++) { + if (fn(i, obj[i]) === false) + break + } + } else { + for (i in obj) { + if (obj.hasOwnProperty(i) && fn(i, obj[i]) === false) { + break + } + } + } + } + }, + //收集元素的data-{{prefix}}-*属性,并转换为对象 + getWidgetData: function (elem, prefix) { + var raw = avalon(elem).data() + var result = {} + for (var i in raw) { + if (i.indexOf(prefix) === 0) { + result[i.replace(prefix, "").replace(/\w/, function (a) { + return a.toLowerCase() + })] = raw[i] + } + } + return result + }, + Array: { + /*只有当前数组不存在此元素时只添加它*/ + ensure: function (target, item) { + if (target.indexOf(item) === -1) { + return target.push(item) + } + }, + /*移除数组中指定位置的元素,返回布尔表示成功与否*/ + removeAt: function (target, index) { + return !!target.splice(index, 1).length + }, + /*移除数组中第一个匹配传参的那个元素,返回布尔表示成功与否*/ + remove: function (target, item) { + var index = target.indexOf(item) + if (~index) + return avalon.Array.removeAt(target, index) + return false + } + } + }) + + var bindingHandlers = avalon.bindingHandlers = {} + var bindingExecutors = avalon.bindingExecutors = {} + + /*判定是否类数组,如节点集合,纯数组,arguments与拥有非负整数的length属性的纯JS对象*/ + function isArrayLike(obj) { + if (obj && typeof obj === "object") { + var n = obj.length, + str = serialize.call(obj) + if (/(Array|List|Collection|Map|Arguments)\]$/.test(str)) { + return true + } else if (str === "[object Object]" && n === (n >>> 0)) { + return true //由于ecma262v5能修改对象属性的enumerable,因此不能用propertyIsEnumerable来判定了 + } + } + return false + } + + +// https://github.com/rsms/js-lru + var Cache = new function () {// jshint ignore:line + function LRU(maxLength) { + this.size = 0 + this.limit = maxLength + this.head = this.tail = void 0 + this._keymap = {} + } + + var p = LRU.prototype + + p.put = function (key, value) { + var entry = { + key: key, + value: value + } + this._keymap[key] = entry + if (this.tail) { + this.tail.newer = entry + entry.older = this.tail + } else { + this.head = entry + } + this.tail = entry + if (this.size === this.limit) { + this.shift() + } else { + this.size++ + } + return value + } + + p.shift = function () { + var entry = this.head + if (entry) { + this.head = this.head.newer + this.head.older = + entry.newer = + entry.older = + this._keymap[entry.key] = void 0 + } + } + p.get = function (key) { + var entry = this._keymap[key] + if (entry === void 0) + return + if (entry === this.tail) { + return entry.value + } + // HEAD--------------TAIL + // <.older .newer> + // <--- add direction -- + // A B C E + if (entry.newer) { + if (entry === this.head) { + this.head = entry.newer + } + entry.newer.older = entry.older // C <-- E. + } + if (entry.older) { + entry.older.newer = entry.newer // C. --> E + } + entry.newer = void 0 // D --x + entry.older = this.tail // D. --> E + if (this.tail) { + this.tail.newer = entry // E. <-- D + } + this.tail = entry + return entry.value + } + return LRU + }// jshint ignore:line + + /********************************************************************* + * DOM 底层补丁 * + **********************************************************************/ +//safari5+是把contains方法放在Element.prototype上而不是Node.prototype + if (!DOC.contains) { + Node.prototype.contains = function (arg) { + return !!(this.compareDocumentPosition(arg) & 16) + } + } + avalon.contains = function (root, el) { + try { + while ((el = el.parentNode)) + if (el === root) + return true + return false + } catch (e) { + return false + } + } + + if (window.SVGElement) { + var svgns = "http://www.w3.org/2000/svg" + var svg = DOC.createElementNS(svgns, "svg") + svg.innerHTML = '' + if (!rsvg.test(svg.firstChild)) {// #409 + /* jshint ignore:start */ + function enumerateNode(node, targetNode) { + if (node && node.childNodes) { + var nodes = node.childNodes + for (var i = 0, el; el = nodes[i++];) { + if (el.tagName) { + var svg = DOC.createElementNS(svgns, + el.tagName.toLowerCase()) + // copy attrs + ap.forEach.call(el.attributes, function (attr) { + svg.setAttribute(attr.name, attr.value) + }) + // 递归处理子节点 + enumerateNode(el, svg) + targetNode.appendChild(svg) + } + } + } + } + + /* jshint ignore:end */ + Object.defineProperties(SVGElement.prototype, { + "outerHTML": {//IE9-11,firefox不支持SVG元素的innerHTML,outerHTML属性 + enumerable: true, + configurable: true, + get: function () { + return new XMLSerializer().serializeToString(this) + }, + set: function (html) { + var tagName = this.tagName.toLowerCase(), + par = this.parentNode, + frag = avalon.parseHTML(html) + // 操作的svg,直接插入 + if (tagName === "svg") { + par.insertBefore(frag, this) + // svg节点的子节点类似 + } else { + var newFrag = DOC.createDocumentFragment() + enumerateNode(frag, newFrag) + par.insertBefore(newFrag, this) + } + par.removeChild(this) + } + }, + "innerHTML": { + enumerable: true, + configurable: true, + get: function () { + var s = this.outerHTML + var ropen = new RegExp("<" + this.nodeName + '\\b(?:(["\'])[^"]*?(\\1)|[^>])*>', "i") + var rclose = new RegExp("<\/" + this.nodeName + ">$", "i") + return s.replace(ropen, "").replace(rclose, "") + }, + set: function (html) { + if (avalon.clearHTML) { + avalon.clearHTML(this) + var frag = avalon.parseHTML(html) + enumerateNode(frag, this) + } + } + } + }) + } + } +//========================= event binding ==================== + var eventHooks = avalon.eventHooks +//针对firefox, chrome修正mouseenter, mouseleave(chrome30+) + if (!("onmouseenter" in root)) { + avalon.each({ + mouseenter: "mouseover", + mouseleave: "mouseout" + }, function (origType, fixType) { + eventHooks[origType] = { + type: fixType, + deel: function (elem, _, fn) { + return function (e) { + var t = e.relatedTarget + if (!t || (t !== elem && !(elem.compareDocumentPosition(t) & 16))) { + delete e.type + e.type = origType + return fn.call(elem, e) + } + } + } + } + }) + } +//针对IE9+, w3c修正animationend + avalon.each({ + AnimationEvent: "animationend", + WebKitAnimationEvent: "webkitAnimationEnd" + }, function (construct, fixType) { + if (window[construct] && !eventHooks.animationend) { + eventHooks.animationend = { + type: fixType + } + } + }) + + if (DOC.onmousewheel === void 0) { + /* IE6-11 chrome mousewheel wheelDetla 下 -120 上 120 + firefox DOMMouseScroll detail 下3 上-3 + firefox wheel detlaY 下3 上-3 + IE9-11 wheel deltaY 下40 上-40 + chrome wheel deltaY 下100 上-100 */ + eventHooks.mousewheel = { + type: "wheel", + deel: function (elem, _, fn) { + return function (e) { + e.wheelDeltaY = e.wheelDelta = e.deltaY > 0 ? -120 : 120 + e.wheelDeltaX = 0 + Object.defineProperty(e, "type", { + value: "mousewheel" + }) + fn.call(elem, e) + } + } + } + } + + /********************************************************************* + * 配置系统 * + **********************************************************************/ + + function kernel(settings) { + for (var p in settings) { + if (!ohasOwn.call(settings, p)) + continue + var val = settings[p] + if (typeof kernel.plugins[p] === "function") { + kernel.plugins[p](val) + } else if (typeof kernel[p] === "object") { + avalon.mix(kernel[p], val) + } else { + kernel[p] = val + } + } + return this + } + + var openTag, closeTag, rexpr, rexprg, rbind, rregexp = /[-.*+?^${}()|[\]\/\\]/g + + function escapeRegExp(target) { + //http://stevenlevithan.com/regex/xregexp/ + //将字符串安全格式化为正则表达式的源码 + return (target + "").replace(rregexp, "\\$&") + } + + var plugins = { + loader: function (builtin) { + var flag = innerRequire && builtin + window.require = flag ? innerRequire : otherRequire + window.define = flag ? innerRequire.define : otherDefine + }, + interpolate: function (array) { + openTag = array[0] + closeTag = array[1] + if (openTag === closeTag) { + throw new SyntaxError("openTag!==closeTag") + } else if (array + "" === "") { + kernel.commentInterpolate = true + } else { + var test = openTag + "test" + closeTag + cinerator.innerHTML = test + if (cinerator.innerHTML !== test && cinerator.innerHTML.indexOf("<") > -1) { + throw new SyntaxError("此定界符不合法") + } + cinerator.innerHTML = "" + } + var o = escapeRegExp(openTag), + c = escapeRegExp(closeTag) + rexpr = new RegExp(o + "(.*?)" + c) + rexprg = new RegExp(o + "(.*?)" + c, "g") + rbind = new RegExp(o + ".*?" + c + "|\\sms-") + } + } + + kernel.debug = true + kernel.plugins = plugins + kernel.plugins['interpolate'](["{{", "}}"]) + kernel.paths = {} + kernel.shim = {} + kernel.maxRepeatSize = 100 + avalon.config = kernel + var ravalon = /(\w+)\[(avalonctrl)="(\S+)"\]/ + var findNodes = function (str) { + return DOC.querySelectorAll(str) + } + /********************************************************************* + * 事件总线 * + **********************************************************************/ + var EventBus = { + $watch: function (type, callback) { + if (typeof callback === "function") { + var callbacks = this.$events[type] + if (callbacks) { + callbacks.push(callback) + } else { + this.$events[type] = [callback] + } + } else { //重新开始监听此VM的第一重简单属性的变动 + this.$events = this.$watch.backup + } + return this + }, + $unwatch: function (type, callback) { + var n = arguments.length + if (n === 0) { //让此VM的所有$watch回调无效化 + this.$watch.backup = this.$events + this.$events = {} + } else if (n === 1) { + this.$events[type] = [] + } else { + var callbacks = this.$events[type] || [] + var i = callbacks.length + while (~--i < 0) { + if (callbacks[i] === callback) { + return callbacks.splice(i, 1) + } + } + } + return this + }, + $fire: function (type) { + var special, i, v, callback + if (/^(\w+)!(\S+)$/.test(type)) { + special = RegExp.$1 + type = RegExp.$2 + } + var events = this.$events + if (!events) + return + var args = aslice.call(arguments, 1) + var detail = [type].concat(args) + if (special === "all") { + for (i in avalon.vmodels) { + v = avalon.vmodels[i] + if (v !== this) { + v.$fire.apply(v, detail) + } + } + } else if (special === "up" || special === "down") { + var elements = events.expr ? findNodes(events.expr) : [] + if (elements.length === 0) + return + for (i in avalon.vmodels) { + v = avalon.vmodels[i] + if (v !== this) { + if (v.$events.expr) { + var eventNodes = findNodes(v.$events.expr) + if (eventNodes.length === 0) { + continue + } + //循环两个vmodel中的节点,查找匹配(向上匹配或者向下匹配)的节点并设置标识 + /* jshint ignore:start */ + Array.prototype.forEach.call(eventNodes, function (node) { + Array.prototype.forEach.call(elements, function (element) { + var ok = special === "down" ? element.contains(node) : //向下捕获 + node.contains(element) //向上冒泡 + if (ok) { + node._avalon = v //符合条件的加一个标识 + } + }); + }) + /* jshint ignore:end */ + } + } + } + var nodes = DOC.getElementsByTagName("*") //实现节点排序 + var alls = [] + Array.prototype.forEach.call(nodes, function (el) { + if (el._avalon) { + alls.push(el._avalon) + el._avalon = "" + el.removeAttribute("_avalon") + } + }) + if (special === "up") { + alls.reverse() + } + for (i = 0; callback = alls[i++];) { + if (callback.$fire.apply(callback, detail) === false) { + break + } + } + } else { + var callbacks = events[type] || [] + var all = events.$all || [] + for (i = 0; callback = callbacks[i++];) { + if (isFunction(callback)) + callback.apply(this, args) + } + for (i = 0; callback = all[i++];) { + if (isFunction(callback)) + callback.apply(this, arguments) + } + } + } + } + + /********************************************************************* + * modelFactory * + **********************************************************************/ +//avalon最核心的方法的两个方法之一(另一个是avalon.scan),返回一个ViewModel(VM) + var VMODELS = avalon.vmodels = createMap() //所有vmodel都储存在这里 + avalon.define = function (id, factory) { + var $id = id.$id || id + if (!$id) { + log("warning: vm必须指定$id") + } + if (VMODELS[$id]) { + log("warning: " + $id + " 已经存在于avalon.vmodels中") + } + if (typeof id === "object") { + var model = modelFactory(id) + } else { + var scope = { + $watch: noop + } + factory(scope) //得到所有定义 + model = modelFactory(scope) //偷天换日,将scope换为model + stopRepeatAssign = true + factory(model) + stopRepeatAssign = false + } + model.$id = $id + return VMODELS[$id] = model + } + +//一些不需要被监听的属性 + var $$skipArray = String("$id,$watch,$unwatch,$fire,$events,$model,$skipArray").match(rword) + + function isObservable(name, value, $skipArray) { + if (isFunction(value) || value && value.nodeType) { + return false + } + if ($skipArray.indexOf(name) !== -1) { + return false + } + if ($$skipArray.indexOf(name) !== -1) { + return false + } + var $special = $skipArray.$special + if (name && name.charAt(0) === "$" && !$special[name]) { + return false + } + return true + } + +//ms-with,ms-each, ms-repeat绑定生成的代理对象储存池 + var midway = createMap() + + function getNewValue(accessor, name, value, $vmodel) { + switch (accessor.type) { + case 0://计算属性 + var getter = accessor.get + var setter = accessor.set + if (isFunction(setter)) { + var $events = $vmodel.$events + var lock = $events[name] + $events[name] = [] //清空回调,防止内部冒泡而触发多次$fire + setter.call($vmodel, value) + $events[name] = lock + } + return getter.call($vmodel) //同步$model + case 1://监控属性 + return value + case 2://对象属性(包括数组与哈希) + if (value !== $vmodel.$model[name]) { + var svmodel = accessor.svmodel = objectFactory($vmodel, name, value, accessor.valueType) + value = svmodel.$model //同步$model + var fn = midway[svmodel.$id] + fn && fn() //同步视图 + } + return value + } + } + + function modelFactory(source, $special, $model) { + if (Array.isArray(source)) { + var arr = source.concat() + source.length = 0 + var collection = Collection(source)// jshint ignore:line + collection.pushArray(arr) + return collection + } + //0 null undefined || Node || VModel + if (!source || source.nodeType > 0 || (source.$id && source.$events)) { + return source + } + if (!Array.isArray(source.$skipArray)) { + source.$skipArray = [] + } + source.$skipArray.$special = $special || createMap() //强制要监听的属性 + var $vmodel = {} //要返回的对象, 它在IE6-8下可能被偷龙转凤 + $model = $model || {} //vmodels.$model属性 + var $events = createMap() //vmodel.$events属性 + var watchedProperties = createMap() //监控属性 + var initCallbacks = [] //初始化才执行的函数 + for (var i in source) { + (function (name, val) { + $model[name] = val + if (!isObservable(name, val, source.$skipArray)) { + return //过滤所有非监控属性 + } + //总共产生三种accessor + $events[name] = [] + var valueType = avalon.type(val) + var accessor = function (newValue) { + var name = accessor._name + var $vmodel = this + var $model = $vmodel.$model + var oldValue = $model[name] + var $events = $vmodel.$events + + if (arguments.length) { + if (stopRepeatAssign) { + return + } + //计算属性与对象属性需要重新计算newValue + if (accessor.type !== 1) { + newValue = getNewValue(accessor, name, newValue, $vmodel) + if (!accessor.type) + return + } + if (!isEqual(oldValue, newValue)) { + $model[name] = newValue + notifySubscribers($events[name]) //同步视图 + safeFire($vmodel, name, newValue, oldValue) //触发$watch回调 + } + } else { + if (accessor.type === 0) { //type 0 计算属性 1 监控属性 2 对象属性 + //计算属性不需要收集视图刷新函数,都是由其他监控属性代劳 + newValue = accessor.get.call($vmodel) + if (oldValue !== newValue) { + $model[name] = newValue + //这里不用同步视图 + safeFire($vmodel, name, newValue, oldValue) //触发$watch回调 + } + return newValue + } else { + collectSubscribers($events[name]) //收集视图函数 + return accessor.svmodel || oldValue + } + } + } + //总共产生三种accessor + if (valueType === "object" && isFunction(val.get) && Object.keys(val).length <= 2) { + //第1种为计算属性, 因变量,通过其他监控属性触发其改变 + accessor.set = val.set + accessor.get = val.get + accessor.type = 0 + initCallbacks.push(function () { + var data = { + evaluator: function () { + data.type = Math.random(), + data.element = null + $model[name] = accessor.get.call($vmodel) + }, + element: head, + type: Math.random(), + handler: noop, + args: [] + } + Registry[expose] = data + accessor.call($vmodel) + delete Registry[expose] + }) + } else if (rcomplexType.test(valueType)) { + //第2种为对象属性,产生子VM与监控数组 + accessor.type = 2 + accessor.valueType = valueType + initCallbacks.push(function () { + var svmodel = modelFactory(val, 0, $model[name]) + accessor.svmodel = svmodel + svmodel.$events[subscribers] = $events[name] + }) + } else { + accessor.type = 1 + //第3种为监控属性,对应简单的数据类型,自变量 + } + accessor._name = name + watchedProperties[name] = accessor + })(i, source[i])// jshint ignore:line + } + + $$skipArray.forEach(function (name) { + delete source[name] + delete $model[name] //这些特殊属性不应该在$model中出现 + }) + + $vmodel = Object.defineProperties($vmodel, descriptorFactory(watchedProperties), source) //生成一个空的ViewModel + for (var name in source) { + if (!watchedProperties[name]) { + $vmodel[name] = source[name] + } + } + //添加$id, $model, $events, $watch, $unwatch, $fire + $vmodel.$id = generateID() + $vmodel.$model = $model + $vmodel.$events = $events + for (i in EventBus) { + $vmodel[i] = EventBus[i] + } + + Object.defineProperty($vmodel, "hasOwnProperty", { + value: function (name) { + return name in this.$model + }, + writable: false, + enumerable: false, + configurable: true + }) + + initCallbacks.forEach(function (cb) { //收集依赖 + cb() + }) + return $vmodel + } + +//比较两个值是否相等 + var isEqual = Object.is || function (v1, v2) { + if (v1 === 0 && v2 === 0) { + return 1 / v1 === 1 / v2 + } else if (v1 !== v1) { + return v2 !== v2 + } else { + return v1 === v2 + } + } + + function safeFire(a, b, c, d) { + if (a.$events) { + EventBus.$fire.call(a, b, c, d) + } + } + + var descriptorFactory = function (obj) { + var descriptors = createMap() + for (var i in obj) { + descriptors[i] = { + get: obj[i], + set: obj[i], + enumerable: true, + configurable: true + } + } + return descriptors + } + +//应用于第2种accessor + function objectFactory(parent, name, value, valueType) { + //a为原来的VM, b为新数组或新对象 + var son = parent[name] + if (valueType === "array") { + if (!Array.isArray(value) || son === value) { + return son //fix https://github.com/RubyLouvre/avalon/issues/261 + } + son._.$unwatch() + son.clear() + son._.$watch() + son.pushArray(value.concat()) + return son + } else { + var iterators = parent.$events[name] + var ret = modelFactory(value) + ret.$events[subscribers] = iterators + midway[ret.$id] = function (data) { + while (data = iterators.shift()) { + (function (el) { + avalon.nextTick(function () { + var type = el.type + if (type && bindingHandlers[type]) { //#753 + el.rollback && el.rollback() //还原 ms-with ms-on + bindingHandlers[type](el, el.vmodels) + } + }) + })(data)// jshint ignore:line + } + delete midway[ret.$id] + } + return ret + } + } + + /********************************************************************* + * 监控数组(与ms-each, ms-repeat配合使用) * + **********************************************************************/ + + function Collection(model) { + var array = [] + array.$id = generateID() + array.$model = model //数据模型 + array.$events = {} + array.$events[subscribers] = [] + array._ = modelFactory({ + length: model.length + }) + array._.$watch("length", function (a, b) { + array.$fire("length", a, b) + }) + for (var i in EventBus) { + array[i] = EventBus[i] + } + array.$map = { + el: 1 + } + array.$proxy = [] + avalon.mix(array, CollectionPrototype) + return array + } + + function mutateArray(method, pos, n, index, method2, pos2, n2) { + var oldLen = this.length, loop = 2 + while (--loop) { + switch (method) { + case "add": + /* jshint ignore:start */ + var m = pos + n + var array = this.$model.slice(pos, m).map(function (el) { + if (rcomplexType.test(avalon.type(el))) {//转换为VM + return el.$id ? el : modelFactory(el, 0, el) + } else { + return el + } + }) + /* jshint ignore:end */ + for (var i = pos; i < m; i++) {//生成代理VM + var proxy = eachProxyAgent(i, this) + this.$proxy.splice(i, 0, proxy) + } + _splice.apply(this, [pos, 0].concat(array)) + this._fire("add", pos, n) + break + case "del": + var ret = this._splice(pos, n) + var removed = this.$proxy.splice(pos, n) //回收代理VM + recycleProxies(removed, "each") + this._fire("del", pos, n) + break + } + if (method2) { + method = method2 + pos = pos2 + n = n2 + loop = 2 + method2 = 0 + } + } + resetIndex(this.$proxy, index) + if (this.length !== oldLen) { + this._.length = this.length + } + return ret + } + + var _splice = ap.splice + var CollectionPrototype = { + _splice: _splice, + _fire: function (method, a, b) { + notifySubscribers(this.$events[subscribers], method, a, b) + }, + size: function () { //取得数组长度,这个函数可以同步视图,length不能 + return this._.length + }, + pushArray: function (array) { + var m = array.length, n = this.length + if (m) { + ap.push.apply(this.$model, array) + mutateArray.call(this, "add", n, m, Math.max(0, n - 1)) + } + return m + n + }, + push: function () { + //http://jsperf.com/closure-with-arguments + var array = [] + var i, n = arguments.length + for (i = 0; i < n; i++) { + array[i] = arguments[i] + } + return this.pushArray(array) + }, + unshift: function () { + var m = arguments.length, n = this.length + if (m) { + ap.unshift.apply(this.$model, arguments) + mutateArray.call(this, "add", 0, m, 0) + } + return m + n //IE67的unshift不会返回长度 + }, + shift: function () { + if (this.length) { + var el = this.$model.shift() + mutateArray.call(this, "del", 0, 1, 0) + return el //返回被移除的元素 + } + }, + pop: function () { + var n = this.length + if (n) { + var el = this.$model.pop() + mutateArray.call(this, "del", n - 1, 1, Math.max(0, n - 2)) + return el //返回被移除的元素 + } + }, + splice: function (start) { + var m = arguments.length, args = [], change + var removed = _splice.apply(this.$model, arguments) + if (removed.length) { //如果用户删掉了元素 + args.push("del", start, removed.length, 0) + change = true + } + if (m > 2) { //如果用户添加了元素 + if (change) { + args.splice(3, 1, 0, "add", start, m - 2) + } else { + args.push("add", start, m - 2, 0) + } + change = true + } + if (change) { //返回被移除的元素 + return mutateArray.apply(this, args) + } else { + return [] + } + }, + contains: function (el) { //判定是否包含 + return this.indexOf(el) !== -1 + }, + remove: function (el) { //移除第一个等于给定值的元素 + return this.removeAt(this.indexOf(el)) + }, + removeAt: function (index) { //移除指定索引上的元素 + if (index >= 0) { + this.$model.splice(index, 1) + return mutateArray.call(this, "del", index, 1, 0) + } + return [] + }, + clear: function () { + recycleProxies(this.$proxy, "each") + this.$model.length = this.$proxy.length = this.length = this._.length = 0 //清空数组 + this._fire("clear", 0) + return this + }, + removeAll: function (all) { //移除N个元素 + if (Array.isArray(all)) { + all.forEach(function (el) { + this.remove(el) + }, this) + } else if (typeof all === "function") { + for (var i = this.length - 1; i >= 0; i--) { + var el = this[i] + if (all(el, i)) { + this.removeAt(i) + } + } + } else { + this.clear() + } + }, + ensure: function (el) { + if (!this.contains(el)) { //只有不存在才push + this.push(el) + } + return this + }, + set: function (index, val) { + if (index >= 0) { + var valueType = avalon.type(val) + if (val && val.$model) { + val = val.$model + } + var target = this[index] + if (valueType === "object") { + for (var i in val) { + if (target.hasOwnProperty(i)) { + target[i] = val[i] + } + } + } else if (valueType === "array") { + target.clear().push.apply(target, val) + } else if (target !== val) { + this[index] = val + this.$model[index] = val + var proxy = this.$proxy[index] + if (proxy) { + notifySubscribers(proxy.$events.el) + } + // this._fire("set", index, val) + } + } + return this + } + } +//相当于原来bindingExecutors.repeat 的index分支 + function resetIndex(array, pos) { + var last = array.length - 1 + for (var el; el = array[pos]; pos++) { + el.$index = pos + el.$first = pos === 0 + el.$last = pos === last + } + } + + function sortByIndex(array, indexes) { + var map = {}; + for (var i = 0, n = indexes.length; i < n; i++) { + map[i] = array[i] // preserve + var j = indexes[i] + if (j in map) { + array[i] = map[j] + delete map[j] + } else { + array[i] = array[j] + } + } + } + + "sort,reverse".replace(rword, function (method) { + CollectionPrototype[method] = function () { + var newArray = this.$model//这是要排序的新数组 + var oldArray = newArray.concat() //保持原来状态的旧数组 + var mask = Math.random() + var indexes = [] + var hasSort + ap[method].apply(newArray, arguments) //排序 + for (var i = 0, n = oldArray.length; i < n; i++) { + var neo = newArray[i] + var old = oldArray[i] + if (isEqual(neo, old)) { + indexes.push(i) + } else { + var index = oldArray.indexOf(neo) + indexes.push(index)//得到新数组的每个元素在旧数组对应的位置 + oldArray[index] = mask //屏蔽已经找过的元素 + hasSort = true + } + } + if (hasSort) { + sortByIndex(this, indexes) + sortByIndex(this.$proxy, indexes) + this._fire("move", indexes) + resetIndex(this.$proxy, 0) + } + return this + } + }) + + /********************************************************************* + * 依赖调度系统 * + **********************************************************************/ + var ronduplex = /^(duplex|on)$/ + + avalon.injectBinding = function (data) { + Registry[expose] = data //暴光此函数,方便collectSubscribers收集 + avalon.openComputedCollect = true + var fn = data.evaluator + if (fn) { //如果是求值函数 + try { + var c = ronduplex.test(data.type) ? data : fn.apply(0, data.args) + if (!data.noRefresh) + data.handler(c, data.element, data) + } catch (e) { + //log("warning:exception throwed in [avalon.injectBinding] " + e) + delete data.evaluator + var node = data.element + if (node.nodeType === 3) { + var parent = node.parentNode + if (kernel.commentInterpolate) { + parent.replaceChild(DOC.createComment(data.value), node) + } else { + node.data = openTag + data.value + closeTag + } + } + } + } + avalon.openComputedCollect = false + delete Registry[expose] + } + + function collectSubscribers(list) { //收集依赖于这个访问器的订阅者 + var data = Registry[expose] + if (list && data && avalon.Array.ensure(list, data) && data.element) { //只有数组不存在此元素才push进去 + addSubscribers(data, list) + } + } + + + function addSubscribers(data, list) { + data.$uuid = data.$uuid || generateID() + list.$uuid = list.$uuid || generateID() + var obj = { + data: data, + list: list, + $$uuid: data.$uuid + list.$uuid + } + if (!$$subscribers[obj.$$uuid]) { + $$subscribers[obj.$$uuid] = 1 + $$subscribers.push(obj) + } + } + + function disposeData(data) { + data.element = null + data.rollback && data.rollback() + for (var key in data) { + data[key] = null + } + } + + function isRemove(el) { + try {//IE下,如果文本节点脱离DOM树,访问parentNode会报错 + if (!el.parentNode) { + return true + } + } catch (e) { + return true + } + return el.msRetain ? 0 : (el.nodeType === 1 ? typeof el.sourceIndex === "number" ? + el.sourceIndex === 0 : !root.contains(el) : !avalon.contains(root, el)) + } + + var $$subscribers = avalon.$$subscribers = [] + var beginTime = new Date() + var oldInfo = {} + + function removeSubscribers() { + var i = $$subscribers.length + var n = i + var k = 0 + var obj + var types = [] + var newInfo = {} + var needTest = {} + while (obj = $$subscribers[--i]) { + var data = obj.data + var type = data.type + if (newInfo[type]) { + newInfo[type]++ + } else { + newInfo[type] = 1 + types.push(type) + } + } + var diff = false + types.forEach(function (type) { + if (oldInfo[type] !== newInfo[type]) { + needTest[type] = 1 + diff = true + } + }) + i = n + //avalon.log("需要检测的个数 " + i) + if (diff) { + //avalon.log("有需要移除的元素") + while (obj = $$subscribers[--i]) { + data = obj.data + if (data.element === void 0) + continue + if (needTest[data.type] && isRemove(data.element)) { //如果它没有在DOM树 + k++ + $$subscribers.splice(i, 1) + delete $$subscribers[obj.$$uuid] + avalon.Array.remove(obj.list, data) + //log("debug: remove " + data.type) + disposeData(data) + obj.data = obj.list = null + } + } + } + oldInfo = newInfo + // avalon.log("已经移除的个数 " + k) + beginTime = new Date() + } + + function notifySubscribers(list) { //通知依赖于这个访问器的订阅者更新自身 + if (list && list.length) { + if (new Date() - beginTime > 444 && typeof list[0] === "object") { + removeSubscribers() + } + var args = aslice.call(arguments, 1) + for (var i = list.length, fn; fn = list[--i];) { + var el = fn.element + if (el && el.parentNode) { + if (fn.$repeat) { + fn.handler.apply(fn, args) //处理监控数组的方法 + } else if (fn.type !== "on") { //事件绑定只能由用户触发,不能由程序触发 + var fun = fn.evaluator || noop + fn.handler(fun.apply(0, fn.args || []), el, fn) + } + } + } + } + } + + /************************************************************************ + * HTML处理(parseHTML, innerHTML, clearHTML) * + **************************************************************************/ +//parseHTML的辅助变量 + var tagHooks = new function () {// jshint ignore:line + avalon.mix(this, { + option: DOC.createElement("select"), + thead: DOC.createElement("table"), + td: DOC.createElement("tr"), + area: DOC.createElement("map"), + tr: DOC.createElement("tbody"), + col: DOC.createElement("colgroup"), + legend: DOC.createElement("fieldset"), + _default: DOC.createElement("div"), + "g": DOC.createElementNS("http://www.w3.org/2000/svg", "svg") + }) + this.optgroup = this.option + this.tbody = this.tfoot = this.colgroup = this.caption = this.thead + this.th = this.td + }// jshint ignore:line + + String("circle,defs,ellipse,image,line,path,polygon,polyline,rect,symbol,text,use").replace(rword, function (tag) { + tagHooks[tag] = tagHooks.g //处理SVG + }) + var rtagName = /<([\w:]+)/ + var rxhtml = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig + var scriptTypes = oneObject(["", "text/javascript", "text/ecmascript", "application/ecmascript", "application/javascript"]) + var script = DOC.createElement("script") + var rhtml = /<|&#?\w+;/ + avalon.parseHTML = function (html) { + var fragment = hyperspace.cloneNode(false) + if (typeof html !== "string") { + return fragment + } + if (!rhtml.test(html)) { + fragment.appendChild(DOC.createTextNode(html)) + return fragment + } + html = html.replace(rxhtml, "<$1>").trim() + var tag = (rtagName.exec(html) || ["", ""])[1].toLowerCase(), + //取得其标签名 + wrapper = tagHooks[tag] || tagHooks._default, + firstChild + wrapper.innerHTML = html + var els = wrapper.getElementsByTagName("script") + if (els.length) { //使用innerHTML生成的script节点不会发出请求与执行text属性 + for (var i = 0, el; el = els[i++];) { + if (scriptTypes[el.type]) { + var neo = script.cloneNode(false) //FF不能省略参数 + ap.forEach.call(el.attributes, function (attr) { + neo.setAttribute(attr.name, attr.value) + })// jshint ignore:line + neo.text = el.text + el.parentNode.replaceChild(neo, el) + } + } + } + + while (firstChild = wrapper.firstChild) { // 将wrapper上的节点转移到文档碎片上! + fragment.appendChild(firstChild) + } + return fragment + } + + avalon.innerHTML = function (node, html) { + var a = this.parseHTML(html) + this.clearHTML(node).appendChild(a) + } + + avalon.clearHTML = function (node) { + node.textContent = "" + while (node.firstChild) { + node.removeChild(node.firstChild) + } + return node + } + + /********************************************************************* + * 扫描系统 * + **********************************************************************/ + + avalon.scan = function (elem, vmodel) { + elem = elem || root + var vmodels = vmodel ? [].concat(vmodel) : [] + scanTag(elem, vmodels) + } + +//http://www.w3.org/TR/html5/syntax.html#void-elements + var stopScan = oneObject("area,base,basefont,br,col,command,embed,hr,img,input,link,meta,param,source,track,wbr,noscript,script,style,textarea".toUpperCase()) + + function checkScan(elem, callback, innerHTML) { + var id = setTimeout(function () { + var currHTML = elem.innerHTML + clearTimeout(id) + if (currHTML === innerHTML) { + callback() + } else { + checkScan(elem, callback, currHTML) + } + }) + } + + + function createSignalTower(elem, vmodel) { + var id = elem.getAttribute("avalonctrl") || vmodel.$id + elem.setAttribute("avalonctrl", id) + vmodel.$events.expr = elem.tagName + '[avalonctrl="' + id + '"]' + } + + var getBindingCallback = function (elem, name, vmodels) { + var callback = elem.getAttribute(name) + if (callback) { + for (var i = 0, vm; vm = vmodels[i++];) { + if (vm.hasOwnProperty(callback) && typeof vm[callback] === "function") { + return vm[callback] + } + } + } + } + + function executeBindings(bindings, vmodels) { + for (var i = 0, data; data = bindings[i++];) { + data.vmodels = vmodels + bindingHandlers[data.type](data, vmodels) + if (data.evaluator && data.element && data.element.nodeType === 1) { //移除数据绑定,防止被二次解析 + //chrome使用removeAttributeNode移除不存在的特性节点时会报错 https://github.com/RubyLouvre/avalon/issues/99 + data.element.removeAttribute(data.name) + } + } + bindings.length = 0 + } + +//https://github.com/RubyLouvre/avalon/issues/636 + var mergeTextNodes = IEVersion && window.MutationObserver ? function (elem) { + var node = elem.firstChild, text + while (node) { + var aaa = node.nextSibling + if (node.nodeType === 3) { + if (text) { + text.nodeValue += node.nodeValue + elem.removeChild(node) + } else { + text = node + } + } else { + text = null + } + node = aaa + } + } : 0 + + var rmsAttr = /ms-(\w+)-?(.*)/ + var priorityMap = { + "if": 10, + "repeat": 90, + "data": 100, + "widget": 110, + "each": 1400, + "with": 1500, + "duplex": 2000, + "on": 3000 + } + + var events = oneObject("animationend,blur,change,input,click,dblclick,focus,keydown,keypress,keyup,mousedown,mouseenter,mouseleave,mousemove,mouseout,mouseover,mouseup,scan,scroll,submit") + var obsoleteAttrs = oneObject("value,title,alt,checked,selected,disabled,readonly,enabled") + + function bindingSorter(a, b) { + return a.priority - b.priority + } + + function scanAttr(elem, vmodels) { + //防止setAttribute, removeAttribute时 attributes自动被同步,导致for循环出错 + var attributes = elem.hasAttributes() ? avalon.slice(elem.attributes) : [] + var bindings = [], + msData = createMap(), + match + for (var i = 0, attr; attr = attributes[i++];) { + if (attr.specified) { + if (match = attr.name.match(rmsAttr)) { + //如果是以指定前缀命名的 + var type = match[1] + var param = match[2] || "" + var value = attr.value + var name = attr.name + msData[name] = value + if (events[type]) { + param = type + type = "on" + } else if (obsoleteAttrs[type]) { + log("warning!请改用ms-attr-" + type + "代替ms-" + type + "!") + if (type === "enabled") {//吃掉ms-enabled绑定,用ms-disabled代替 + log("warning!ms-enabled或ms-attr-enabled已经被废弃") + type = "disabled" + value = "!(" + value + ")" + } + param = type + type = "attr" + elem.removeAttribute(name) + name = "ms-attr-" + param + elem.setAttribute(name, value) + match = [name] + msData[name] = value + } + if (typeof bindingHandlers[type] === "function") { + var binding = { + type: type, + param: param, + element: elem, + name: match[0], + value: value, + priority: type in priorityMap ? priorityMap[type] : type.charCodeAt(0) * 10 + (Number(param) || 0) + } + if (type === "html" || type === "text") { + var token = getToken(value) + avalon.mix(binding, token) + binding.filters = binding.filters.replace(rhasHtml, function () { + binding.type = "html" + binding.group = 1 + return "" + })// jshint ignore:line + } + if (name === "ms-if-loop") { + binding.priority += 100 + } + if (vmodels.length) { + bindings.push(binding) + if (type === "widget") { + elem.msData = elem.msData || msData + } + } + } + } + } + } + var control = elem.type + if (control && msData["ms-duplex"]) { + if (msData["ms-attr-checked"] && /radio|checkbox/.test(control)) { + log("warning!" + control + "控件不能同时定义ms-attr-checked与ms-duplex") + } + if (msData["ms-attr-value"] && /text|password/.test(control)) { + log("warning!" + control + "控件不能同时定义ms-attr-value与ms-duplex") + } + } + bindings.sort(bindingSorter) + var scanNode = true + for (i = 0; binding = bindings[i]; i++) { + type = binding.type + if (rnoscanAttrBinding.test(type)) { + return executeBindings(bindings.slice(0, i + 1), vmodels) + } else if (scanNode) { + scanNode = !rnoscanNodeBinding.test(type) + } + } + executeBindings(bindings, vmodels) + if (scanNode && !stopScan[elem.tagName] && rbind.test(elem.innerHTML + elem.textContent)) { + mergeTextNodes && mergeTextNodes(elem) + scanNodeList(elem, vmodels) //扫描子孙元素 + } + } + + var rnoscanAttrBinding = /^if|widget|repeat$/ + var rnoscanNodeBinding = /^each|with|html|include$/ + + function scanNodeList(parent, vmodels) { + var node = parent.firstChild + while (node) { + var nextNode = node.nextSibling + scanNode(node, node.nodeType, vmodels) + node = nextNode + } + } + + function scanNodeArray(nodes, vmodels) { + for (var i = 0, node; node = nodes[i++];) { + scanNode(node, node.nodeType, vmodels) + } + } + + function scanNode(node, nodeType, vmodels) { + if (nodeType === 1) { + scanTag(node, vmodels) //扫描元素节点 + if (node.msCallback) { + node.msCallback() + node.msCallback = void 0 + } + } else if (nodeType === 3 && rexpr.test(node.data)) { + scanText(node, vmodels) //扫描文本节点 + } else if (kernel.commentInterpolate && nodeType === 8 && !rexpr.test(node.nodeValue)) { + scanText(node, vmodels) //扫描注释节点 + } + } + + function scanTag(elem, vmodels, node) { + //扫描顺序 ms-skip(0) --> ms-important(1) --> ms-controller(2) --> ms-if(10) --> ms-repeat(100) + //--> ms-if-loop(110) --> ms-attr(970) ...--> ms-each(1400)-->ms-with(1500)--〉ms-duplex(2000)垫后 + var a = elem.getAttribute("ms-skip") + var b = elem.getAttributeNode("ms-important") + var c = elem.getAttributeNode("ms-controller") + if (typeof a === "string") { + return + } else if (node = b || c) { + var newVmodel = avalon.vmodels[node.value] + if (!newVmodel) { + return + } + //ms-important不包含父VM,ms-controller相反 + vmodels = node === b ? [newVmodel] : [newVmodel].concat(vmodels) + elem.removeAttribute(node.name) //removeAttributeNode不会刷新[ms-controller]样式规则 + elem.classList.remove(node.name) + createSignalTower(elem, newVmodel) + } + scanAttr(elem, vmodels) //扫描特性节点 + } + + var rhasHtml = /\|\s*html\s*/, + r11a = /\|\|/g, + rlt = /</g, + rgt = />/g, + rstringLiteral = /(['"])(\\\1|.)+?\1/g + + function getToken(value) { + if (value.indexOf("|") > 0) { + var scapegoat = value.replace(rstringLiteral, function (_) { + return Array(_.length + 1).join("1")// jshint ignore:line + }) + var index = scapegoat.replace(r11a, "\u1122\u3344").indexOf("|") //干掉所有短路或 + if (index > -1) { + return { + filters: value.slice(index), + value: value.slice(0, index), + expr: true + } + } + } + return { + value: value, + filters: "", + expr: true + } + } + + function scanExpr(str) { + var tokens = [], + value, start = 0, + stop + do { + stop = str.indexOf(openTag, start) + if (stop === -1) { + break + } + value = str.slice(start, stop) + if (value) { // {{ 左边的文本 + tokens.push({ + value: value, + filters: "", + expr: false + }) + } + start = stop + openTag.length + stop = str.indexOf(closeTag, start) + if (stop === -1) { + break + } + value = str.slice(start, stop) + if (value) { //处理{{ }}插值表达式 + tokens.push(getToken(value)) + } + start = stop + closeTag.length + } while (1) + value = str.slice(start) + if (value) { //}} 右边的文本 + tokens.push({ + value: value, + expr: false, + filters: "" + }) + } + return tokens + } + + function scanText(textNode, vmodels) { + var bindings = [] + if (textNode.nodeType === 8) { + var token = getToken(textNode.nodeValue) + var tokens = [token] + } else { + tokens = scanExpr(textNode.data) + } + if (tokens.length) { + for (var i = 0; token = tokens[i++];) { + var node = DOC.createTextNode(token.value) //将文本转换为文本节点,并替换原来的文本节点 + if (token.expr) { + token.type = "text" + token.element = node + token.filters = token.filters.replace(rhasHtml, function () { + token.type = "html" + token.group = 1 + return "" + })// jshint ignore:line + bindings.push(token) //收集带有插值表达式的文本 + } + hyperspace.appendChild(node) + } + textNode.parentNode.replaceChild(hyperspace, textNode) + if (bindings.length) + executeBindings(bindings, vmodels) + } + } + + /********************************************************************* + * avalon的原型方法定义区 * + **********************************************************************/ + + function hyphen(target) { + //转换为连字符线风格 + return target.replace(/([a-z\d])([A-Z]+)/g, "$1-$2").toLowerCase() + } + + function camelize(target) { + //转换为驼峰风格 + if (target.indexOf("-") < 0 && target.indexOf("_") < 0) { + return target //提前判断,提高getStyle等的效率 + } + return target.replace(/[-_][^-_]/g, function (match) { + return match.charAt(1).toUpperCase() + }) + } + + "add,remove".replace(rword, function (method) { + avalon.fn[method + "Class"] = function (cls) { + var el = this[0] + //https://developer.mozilla.org/zh-CN/docs/Mozilla/Firefox/Releases/26 + if (cls && typeof cls === "string" && el && el.nodeType === 1) { + cls.replace(/\S+/g, function (c) { + el.classList[method](c) + }) + } + return this + } + }) + + avalon.fn.mix({ + hasClass: function (cls) { + var el = this[0] || {} //IE10+, chrome8+, firefox3.6+, safari5.1+,opera11.5+支持classList,chrome24+,firefox26+支持classList2.0 + return el.nodeType === 1 && el.classList.contains(cls) + }, + toggleClass: function (value, stateVal) { + var className, i = 0 + var classNames = String(value).split(/\s+/) + var isBool = typeof stateVal === "boolean" + while ((className = classNames[i++])) { + var state = isBool ? stateVal : !this.hasClass(className) + this[state ? "addClass" : "removeClass"](className) + } + return this + }, + attr: function (name, value) { + if (arguments.length === 2) { + this[0].setAttribute(name, value) + return this + } else { + return this[0].getAttribute(name) + } + }, + data: function (name, value) { + name = "data-" + hyphen(name || "") + switch (arguments.length) { + case 2: + this.attr(name, value) + return this + case 1: + var val = this.attr(name) + return parseData(val) + case 0: + var ret = {} + ap.forEach.call(this[0].attributes, function (attr) { + if (attr) { + name = attr.name + if (!name.indexOf("data-")) { + name = camelize(name.slice(5)) + ret[name] = parseData(attr.value) + } + } + }) + return ret + } + }, + removeData: function (name) { + name = "data-" + hyphen(name) + this[0].removeAttribute(name) + return this + }, + css: function (name, value) { + if (avalon.isPlainObject(name)) { + for (var i in name) { + avalon.css(this, i, name[i]) + } + } else { + var ret = avalon.css(this, name, value) + } + return ret !== void 0 ? ret : this + }, + position: function () { + var offsetParent, offset, + elem = this[0], + parentOffset = { + top: 0, + left: 0 + }; + if (!elem) { + return + } + if (this.css("position") === "fixed") { + offset = elem.getBoundingClientRect() + } else { + offsetParent = this.offsetParent() //得到真正的offsetParent + offset = this.offset() // 得到正确的offsetParent + if (offsetParent[0].tagName !== "HTML") { + parentOffset = offsetParent.offset() + } + parentOffset.top += avalon.css(offsetParent[0], "borderTopWidth", true) + parentOffset.left += avalon.css(offsetParent[0], "borderLeftWidth", true) + // Subtract offsetParent scroll positions + parentOffset.top -= offsetParent.scrollTop() + parentOffset.left -= offsetParent.scrollLeft() + } + return { + top: offset.top - parentOffset.top - avalon.css(elem, "marginTop", true), + left: offset.left - parentOffset.left - avalon.css(elem, "marginLeft", true) + } + }, + offsetParent: function () { + var offsetParent = this[0].offsetParent + while (offsetParent && avalon.css(offsetParent, "position") === "static") { + offsetParent = offsetParent.offsetParent; + } + return avalon(offsetParent || root) + }, + bind: function (type, fn, phase) { + if (this[0]) { //此方法不会链 + return avalon.bind(this[0], type, fn, phase) + } + }, + unbind: function (type, fn, phase) { + if (this[0]) { + avalon.unbind(this[0], type, fn, phase) + } + return this + }, + val: function (value) { + var node = this[0] + if (node && node.nodeType === 1) { + var get = arguments.length === 0 + var access = get ? ":get" : ":set" + var fn = valHooks[getValType(node) + access] + if (fn) { + var val = fn(node, value) + } else if (get) { + return (node.value || "").replace(/\r/g, "") + } else { + node.value = value + } + } + return get ? val : this + } + }) + + if (root.dataset) { + avalon.fn.data = function (name, val) { + name = name && camelize(name) + var dataset = this[0].dataset + switch (arguments.length) { + case 2: + dataset[name] = val + return this + case 1: + val = dataset[name] + return parseData(val) + case 0: + var ret = createMap() + for (name in dataset) { + ret[name] = parseData(dataset[name]) + } + return ret + } + } + } + var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/ + avalon.parseJSON = JSON.parse + + function parseData(data) { + try { + if (typeof data === "object") + return data + data = data === "true" ? true : + data === "false" ? false : + data === "null" ? null : +data + "" === data ? +data : rbrace.test(data) ? JSON.parse(data) : data + } catch (e) { + } + return data + } + + avalon.each({ + scrollLeft: "pageXOffset", + scrollTop: "pageYOffset" + }, function (method, prop) { + avalon.fn[method] = function (val) { + var node = this[0] || {}, win = getWindow(node), + top = method === "scrollTop" + if (!arguments.length) { + return win ? win[prop] : node[method] + } else { + if (win) { + win.scrollTo(!top ? val : win[prop], top ? val : win[prop]) + } else { + node[method] = val + } + } + } + }) + + function getWindow(node) { + return node.window && node.document ? node : node.nodeType === 9 ? node.defaultView : false + } + +//=============================css相关================================== + var cssHooks = avalon.cssHooks = createMap() + var prefixes = ["", "-webkit-", "-moz-", "-ms-"] //去掉opera-15的支持 + var cssMap = { + "float": "cssFloat" + } + avalon.cssNumber = oneObject("columnCount,order,fillOpacity,fontWeight,lineHeight,opacity,orphans,widows,zIndex,zoom") + + avalon.cssName = function (name, host, camelCase) { + if (cssMap[name]) { + return cssMap[name] + } + host = host || root.style + for (var i = 0, n = prefixes.length; i < n; i++) { + camelCase = camelize(prefixes[i] + name) + if (camelCase in host) { + return (cssMap[name] = camelCase) + } + } + return null + } + cssHooks["@:set"] = function (node, name, value) { + node.style[name] = value + } + + cssHooks["@:get"] = function (node, name) { + if (!node || !node.style) { + throw new Error("getComputedStyle要求传入一个节点 " + node) + } + var ret, computed = getComputedStyle(node) + if (computed) { + ret = name === "filter" ? computed.getPropertyValue(name) : computed[name] + if (ret === "") { + ret = node.style[name] //其他浏览器需要我们手动取内联样式 + } + } + return ret + } + cssHooks["opacity:get"] = function (node) { + var ret = cssHooks["@:get"](node, "opacity") + return ret === "" ? "1" : ret + } + + "top,left".replace(rword, function (name) { + cssHooks[name + ":get"] = function (node) { + var computed = cssHooks["@:get"](node, name) + return /px$/.test(computed) ? computed : + avalon(node).position()[name] + "px" + } + }) + var cssShow = { + position: "absolute", + visibility: "hidden", + display: "block" + } + var rdisplayswap = /^(none|table(?!-c[ea]).+)/ + + function showHidden(node, array) { + //http://www.cnblogs.com/rubylouvre/archive/2012/10/27/2742529.html + if (node.offsetWidth <= 0) { //opera.offsetWidth可能小于0 + var styles = getComputedStyle(node, null) + if (rdisplayswap.test(styles["display"])) { + var obj = { + node: node + } + for (var name in cssShow) { + obj[name] = styles[name] + node.style[name] = cssShow[name] + } + array.push(obj) + } + var parent = node.parentNode + if (parent && parent.nodeType === 1) { + showHidden(parent, array) + } + } + } + + "Width,Height".replace(rword, function (name) { //fix 481 + var method = name.toLowerCase(), + clientProp = "client" + name, + scrollProp = "scroll" + name, + offsetProp = "offset" + name + cssHooks[method + ":get"] = function (node, which, override) { + var boxSizing = -4 + if (typeof override === "number") { + boxSizing = override + } + which = name === "Width" ? ["Left", "Right"] : ["Top", "Bottom"] + var ret = node[offsetProp] // border-box 0 + if (boxSizing === 2) { // margin-box 2 + return ret + avalon.css(node, "margin" + which[0], true) + avalon.css(node, "margin" + which[1], true) + } + if (boxSizing < 0) { // padding-box -2 + ret = ret - avalon.css(node, "border" + which[0] + "Width", true) - avalon.css(node, "border" + which[1] + "Width", true) + } + if (boxSizing === -4) { // content-box -4 + ret = ret - avalon.css(node, "padding" + which[0], true) - avalon.css(node, "padding" + which[1], true) + } + return ret + } + cssHooks[method + "&get"] = function (node) { + var hidden = []; + showHidden(node, hidden); + var val = cssHooks[method + ":get"](node) + for (var i = 0, obj; obj = hidden[i++];) { + node = obj.node + for (var n in obj) { + if (typeof obj[n] === "string") { + node.style[n] = obj[n] + } + } + } + return val; + } + avalon.fn[method] = function (value) { //会忽视其display + var node = this[0] + if (arguments.length === 0) { + if (node.setTimeout) { //取得窗口尺寸,IE9后可以用node.innerWidth /innerHeight代替 + return node["inner" + name] + } + if (node.nodeType === 9) { //取得页面尺寸 + var doc = node.documentElement + //FF chrome html.scrollHeight< body.scrollHeight + //IE 标准模式 : html.scrollHeight> body.scrollHeight + //IE 怪异模式 : html.scrollHeight 最大等于可视窗口多一点? + return Math.max(node.body[scrollProp], doc[scrollProp], node.body[offsetProp], doc[offsetProp], doc[clientProp]) + } + return cssHooks[method + "&get"](node) + } else { + return this.css(method, value) + } + } + avalon.fn["inner" + name] = function () { + return cssHooks[method + ":get"](this[0], void 0, -2) + } + avalon.fn["outer" + name] = function (includeMargin) { + return cssHooks[method + ":get"](this[0], void 0, includeMargin === true ? 2 : 0) + } + }) + avalon.fn.offset = function () { //取得距离页面左右角的坐标 + var node = this[0] + try { + var rect = node.getBoundingClientRect() + // Make sure element is not hidden (display: none) or disconnected + // https://github.com/jquery/jquery/pull/2043/files#r23981494 + if (rect.width || rect.height || node.getClientRects().length) { + var doc = node.ownerDocument + var root = doc.documentElement + var win = doc.defaultView + return { + top: rect.top + win.pageYOffset - root.clientTop, + left: rect.left + win.pageXOffset - root.clientLeft + } + } + } catch (e) { + return { + left: 0, + top: 0 + } + } + } + //=============================val相关======================= + + function getValType(elem) { + var ret = elem.tagName.toLowerCase() + return ret === "input" && /checkbox|radio/.test(elem.type) ? "checked" : ret + } + + var valHooks = { + "select:get": function (node, value) { + var option, options = node.options, + index = node.selectedIndex, + one = node.type === "select-one" || index < 0, + values = one ? null : [], + max = one ? index + 1 : options.length, + i = index < 0 ? max : one ? index : 0 + for (; i < max; i++) { + option = options[i] + //旧式IE在reset后不会改变selected,需要改用i === index判定 + //我们过滤所有disabled的option元素,但在safari5下,如果设置select为disable,那么其所有孩子都disable + //因此当一个元素为disable,需要检测其是否显式设置了disable及其父节点的disable情况 + if ((option.selected || i === index) && !option.disabled) { + value = option.value + if (one) { + return value + } + //收集所有selected值组成数组返回 + values.push(value) + } + } + return values + }, + "select:set": function (node, values, optionSet) { + values = [].concat(values) //强制转换为数组 + for (var i = 0, el; el = node.options[i++];) { + if ((el.selected = values.indexOf(el.value) > -1)) { + optionSet = true + } + } + if (!optionSet) { + node.selectedIndex = -1 + } + } + } + /********************************************************************* + * 编译系统 * + **********************************************************************/ + var quote = JSON.stringify + + var keywords = [ + "break,case,catch,continue,debugger,default,delete,do,else,false", + "finally,for,function,if,in,instanceof,new,null,return,switch,this", + "throw,true,try,typeof,var,void,while,with", /* 关键字*/ + "abstract,boolean,byte,char,class,const,double,enum,export,extends", + "final,float,goto,implements,import,int,interface,long,native", + "package,private,protected,public,short,static,super,synchronized", + "throws,transient,volatile", /*保留字*/ + "arguments,let,yield,undefined" /* ECMA 5 - use strict*/].join(",") + var rrexpstr = /\/\*[\w\W]*?\*\/|\/\/[^\n]*\n|\/\/[^\n]*$|"(?:[^"\\]|\\[\w\W])*"|'(?:[^'\\]|\\[\w\W])*'|[\s\t\n]*\.[\s\t\n]*[$\w\.]+/g + var rsplit = /[^\w$]+/g + var rkeywords = new RegExp(["\\b" + keywords.replace(/,/g, '\\b|\\b') + "\\b"].join('|'), 'g') + var rnumber = /\b\d[^,]*/g + var rcomma = /^,+|,+$/g + var cacheVars = new Cache(512) + var getVariables = function (code) { + var key = "," + code.trim() + var ret = cacheVars.get(key) + if (ret) { + return ret + } + var match = code + .replace(rrexpstr, "") + .replace(rsplit, ",") + .replace(rkeywords, "") + .replace(rnumber, "") + .replace(rcomma, "") + .split(/^$|,+/) + return cacheVars.put(key, uniqSet(match)) + } + /*添加赋值语句*/ + + function addAssign(vars, scope, name, data) { + var ret = [], + prefix = " = " + name + "." + var isProxy = /\$proxy\$each/.test(scope.$id) + for (var i = vars.length, prop; prop = vars[--i];) { + var el = isProxy && scope.$map[prop] ? "el" : prop + if (scope.hasOwnProperty(el)) { + ret.push(prop + prefix + el) + data.vars.push(prop) + if (data.type === "duplex") { + vars.get = name + "." + el + } + vars.splice(i, 1) + } + } + return ret + } + + function uniqSet(array) { + var ret = [], + unique = {} + for (var i = 0; i < array.length; i++) { + var el = array[i] + var id = el && typeof el.$id === "string" ? el.$id : el + if (!unique[id]) { + unique[id] = ret.push(el) + } + } + return ret + } + +//缓存求值函数,以便多次利用 + var cacheExprs = new Cache(128) +//取得求值函数及其传参 + var rduplex = /\w\[.*\]|\w\.\w/ + var rproxy = /(\$proxy\$[a-z]+)\d+$/ + var rthimRightParentheses = /\)\s*$/ + var rthimOtherParentheses = /\)\s*\|/g + var rquoteFilterName = /\|\s*([$\w]+)/g + var rpatchBracket = /"\s*\["/g + var rthimLeftParentheses = /"\s*\(/g + + function parseFilter(val, filters) { + filters = filters + .replace(rthimRightParentheses, "")//处理最后的小括号 + .replace(rthimOtherParentheses, function () {//处理其他小括号 + return "],|" + }) + .replace(rquoteFilterName, function (a, b) { //处理|及它后面的过滤器的名字 + return "[" + quote(b) + }) + .replace(rpatchBracket, function () { + return '"],["' + }) + .replace(rthimLeftParentheses, function () { + return '",' + }) + "]" + return "return avalon.filters.$filter(" + val + ", " + filters + ")" + } + + function parseExpr(code, scopes, data) { + var dataType = data.type + var filters = data.filters || "" + var exprId = scopes.map(function (el) { + return String(el.$id).replace(rproxy, "$1") + }) + code + dataType + filters + var vars = getVariables(code).concat(), + assigns = [], + names = [], + args = [], + prefix = "" + //args 是一个对象数组, names 是将要生成的求值函数的参数 + scopes = uniqSet(scopes) + data.vars = [] + for (var i = 0, sn = scopes.length; i < sn; i++) { + if (vars.length) { + var name = "vm" + expose + "_" + i + names.push(name) + args.push(scopes[i]) + assigns.push.apply(assigns, addAssign(vars, scopes[i], name, data)) + } + } + if (!assigns.length && dataType === "duplex") { + return + } + if (dataType !== "duplex" && (code.indexOf("||") > -1 || code.indexOf("&&") > -1)) { + //https://github.com/RubyLouvre/avalon/issues/583 + data.vars.forEach(function (v) { + var reg = new RegExp("\\b" + v + "(?:\\.\\w+|\\[\\w+\\])+", "ig") + code = code.replace(reg, function (_) { + var c = _.charAt(v.length) + var r = IEVersion ? code.slice(arguments[1] + _.length) : RegExp.rightContext + var method = /^\s*\(/.test(r) + if (c === "." || c === "[" || method) {//比如v为aa,我们只匹配aa.bb,aa[cc],不匹配aaa.xxx + var name = "var" + String(Math.random()).replace(/^0\./, "") + if (method) {//array.size() + var array = _.split(".") + if (array.length > 2) { + var last = array.pop() + assigns.push(name + " = " + array.join(".")) + return name + "." + last + } else { + return _ + } + } + assigns.push(name + " = " + _) + return name + } else { + return _ + } + }) + }) + } + //---------------args---------------- + data.args = args + //---------------cache---------------- + var fn = cacheExprs.get(exprId) //直接从缓存,免得重复生成 + if (fn) { + data.evaluator = fn + return + } + prefix = assigns.join(", ") + if (prefix) { + prefix = "var " + prefix + } + if (/\S/.test(filters)) { //文本绑定,双工绑定才有过滤器 + if (!/text|html/.test(data.type)) { + throw Error("ms-" + data.type + "不支持过滤器") + } + code = "\nvar ret" + expose + " = " + code + ";\r\n" + code += parseFilter("ret" + expose, filters) + } else if (dataType === "duplex") { //双工绑定 + var _body = "'use strict';\nreturn function(vvv){\n\t" + + prefix + + ";\n\tif(!arguments.length){\n\t\treturn " + + code + + "\n\t}\n\t" + (!rduplex.test(code) ? vars.get : code) + + "= vvv;\n} " + try { + fn = Function.apply(noop, names.concat(_body)) + data.evaluator = cacheExprs.put(exprId, fn) + } catch (e) { + log("debug: parse error," + e.message) + } + return + } else if (dataType === "on") { //事件绑定 + if (code.indexOf("(") === -1) { + code += ".call(this, $event)" + } else { + code = code.replace("(", ".call(this,") + } + names.push("$event") + code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;") + var lastIndex = code.lastIndexOf("\nreturn") + var header = code.slice(0, lastIndex) + var footer = code.slice(lastIndex) + code = header + "\n" + footer + } else { //其他绑定 + code = "\nreturn " + code + ";" //IE全家 Function("return ")出错,需要Function("return ;") + } + try { + fn = Function.apply(noop, names.concat("'use strict';\n" + prefix + code)) + data.evaluator = cacheExprs.put(exprId, fn) + } catch (e) { + log("debug: parse error," + e.message) + } finally { + vars = assigns = names = null //释放内存 + } + } + + +//parseExpr的智能引用代理 + + function parseExprProxy(code, scopes, data, tokens, noRegister) { + if (Array.isArray(tokens)) { + code = tokens.map(function (el) { + return el.expr ? "(" + el.value + ")" : quote(el.value) + }).join(" + ") + } + parseExpr(code, scopes, data) + if (data.evaluator && !noRegister) { + data.handler = bindingExecutors[data.handlerName || data.type] + //方便调试 + //这里非常重要,我们通过判定视图刷新函数的element是否在DOM树决定 + //将它移出订阅者列表 + avalon.injectBinding(data) + } + } + + avalon.parseExprProxy = parseExprProxy + var bools = ["autofocus,autoplay,async,allowTransparency,checked,controls", + "declare,disabled,defer,defaultChecked,defaultSelected", + "contentEditable,isMap,loop,multiple,noHref,noResize,noShade", + "open,readOnly,selected" + ].join(",") + var boolMap = {} + bools.replace(rword, function (name) { + boolMap[name.toLowerCase()] = name + }) + + var propMap = { //属性名映射 + "accept-charset": "acceptCharset", + "char": "ch", + "charoff": "chOff", + "class": "className", + "for": "htmlFor", + "http-equiv": "httpEquiv" + } + + var anomaly = ["accessKey,bgColor,cellPadding,cellSpacing,codeBase,codeType,colSpan", + "dateTime,defaultValue,frameBorder,longDesc,maxLength,marginWidth,marginHeight", + "rowSpan,tabIndex,useMap,vSpace,valueType,vAlign" + ].join(",") + anomaly.replace(rword, function (name) { + propMap[name.toLowerCase()] = name + }) + + var rnoscripts = /(?:[\s\S]+?)<\/noscript>/img + var rnoscriptText = /([\s\S]+?)<\/noscript>/im + + var getXHR = function () { + return new (window.XMLHttpRequest || ActiveXObject)("Microsoft.XMLHTTP") // jshint ignore:line + } + + var cacheTmpls = avalon.templateCache = {} + + bindingHandlers.attr = function (data, vmodels) { + var text = data.value.trim(), + simple = true + if (text.indexOf(openTag) > -1 && text.indexOf(closeTag) > 2) { + simple = false + if (rexpr.test(text) && RegExp.rightContext === "" && RegExp.leftContext === "") { + simple = true + text = RegExp.$1 + } + } + if (data.type === "include") { + var elem = data.element + data.includeRendered = getBindingCallback(elem, "data-include-rendered", vmodels) + data.includeLoaded = getBindingCallback(elem, "data-include-loaded", vmodels) + var outer = data.includeReplace = !!avalon(elem).data("includeReplace") + if (avalon(elem).data("includeCache")) { + data.templateCache = {} + } + data.startInclude = DOC.createComment("ms-include") + data.endInclude = DOC.createComment("ms-include-end") + if (outer) { + data.element = data.startInclude + elem.parentNode.insertBefore(data.startInclude, elem) + elem.parentNode.insertBefore(data.endInclude, elem.nextSibling) + } else { + elem.insertBefore(data.startInclude, elem.firstChild) + elem.appendChild(data.endInclude) + } + } + data.handlerName = "attr" //handleName用于处理多种绑定共用同一种bindingExecutor的情况 + parseExprProxy(text, vmodels, data, (simple ? 0 : scanExpr(data.value))) + } + + bindingExecutors.attr = function (val, elem, data) { + var method = data.type, + attrName = data.param + if (method === "css") { + avalon(elem).css(attrName, val) + } else if (method === "attr") { + // ms-attr-class="xxx" vm.xxx="aaa bbb ccc"将元素的className设置为aaa bbb ccc + // ms-attr-class="xxx" vm.xxx=false 清空元素的所有类名 + // ms-attr-name="yyy" vm.yyy="ooo" 为元素设置name属性 + var toRemove = (val === false) || (val === null) || (val === void 0) + + if (!W3C && propMap[attrName]) { //旧式IE下需要进行名字映射 + attrName = propMap[attrName] + } + var bool = boolMap[attrName] + if (typeof elem[bool] === "boolean") { + elem[bool] = !!val //布尔属性必须使用el.xxx = true|false方式设值 + if (!val) { //如果为false, IE全系列下相当于setAttribute(xxx,''),会影响到样式,需要进一步处理 + toRemove = true + } + } + if (toRemove) { + return elem.removeAttribute(attrName) + } + + //SVG只能使用setAttribute(xxx, yyy), VML只能使用elem.xxx = yyy ,HTML的固有属性必须elem.xxx = yyy + var isInnate = rsvg.test(elem) ? false : (DOC.namespaces && isVML(elem)) ? true : attrName in elem.cloneNode(false) + if (isInnate) { + elem[attrName] = val + } else { + elem.setAttribute(attrName, val) + } + } else if (method === "include" && val) { + var vmodels = data.vmodels + var rendered = data.includeRendered + var loaded = data.includeLoaded + var replace = data.includeReplace + var target = replace ? elem.parentNode : elem + var scanTemplate = function (text) { + if (loaded) { + var newText = loaded.apply(target, [text].concat(vmodels)) + if (typeof newText === "string") + text = newText + } + if (rendered) { + checkScan(target, function () { + rendered.call(target) + }, NaN) + } + var lastID = data.includeLastID + if (data.templateCache && lastID && lastID !== val) { + var lastTemplate = data.templateCache[lastID] + if (!lastTemplate) { + lastTemplate = data.templateCache[lastID] = DOC.createElement("div") + ifGroup.appendChild(lastTemplate) + } + } + data.includeLastID = val + while (true) { + var node = data.startInclude.nextSibling + if (node && node !== data.endInclude) { + target.removeChild(node) + if (lastTemplate) + lastTemplate.appendChild(node) + } else { + break + } + } + var dom = getTemplateNodes(data, val, text) + var nodes = avalon.slice(dom.childNodes) + target.insertBefore(dom, data.endInclude) + scanNodeArray(nodes, vmodels) + } + + if (data.param === "src") { + if (typeof cacheTmpls[val] === "string") { + avalon.nextTick(function () { + scanTemplate(cacheTmpls[val]) + }) + } else if (Array.isArray(cacheTmpls[val])) { //#805 防止在循环绑定中发出许多相同的请求 + cacheTmpls[val].push(scanTemplate) + } else { + var xhr = getXHR() + xhr.onreadystatechange = function () { + if (xhr.readyState === 4) { + var s = xhr.status + if (s >= 200 && s < 300 || s === 304 || s === 1223) { + var text = xhr.responseText + for (var f = 0, fn; fn = cacheTmpls[val][f++];) { + fn(text) + } + cacheTmpls[val] = text + } + } + } + cacheTmpls[val] = [scanTemplate] + xhr.open("GET", val, true) + if ("withCredentials" in xhr) { + xhr.withCredentials = true + } + xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest") + xhr.send(null) + } + } else { + //IE系列与够新的标准浏览器支持通过ID取得元素(firefox14+) + //http://tjvantoll.com/2012/07/19/dom-element-references-as-global-variables/ + var el = val && val.nodeType === 1 ? val : DOC.getElementById(val) + if (el) { + if (el.tagName === "NOSCRIPT" && !(el.innerHTML || el.fixIE78)) { //IE7-8 innerText,innerHTML都无法取得其内容,IE6能取得其innerHTML + xhr = getXHR() //IE9-11与chrome的innerHTML会得到转义的内容,它们的innerText可以 + xhr.open("GET", location, false) //谢谢Nodejs 乱炖群 深圳-纯属虚构 + xhr.send(null) + //http://bbs.csdn.net/topics/390349046?page=1#post-393492653 + var noscripts = DOC.getElementsByTagName("noscript") + var array = (xhr.responseText || "").match(rnoscripts) || [] + var n = array.length + for (var i = 0; i < n; i++) { + var tag = noscripts[i] + if (tag) { //IE6-8中noscript标签的innerHTML,innerText是只读的 + tag.style.display = "none" //http://haslayout.net/css/noscript-Ghost-Bug + tag.fixIE78 = (array[i].match(rnoscriptText) || ["", " "])[1] + } + } + } + avalon.nextTick(function () { + scanTemplate(el.fixIE78 || el.value || el.innerText || el.innerHTML) + }) + } + } + } else { + if (!root.hasAttribute && typeof val === "string" && (method === "src" || method === "href")) { + val = val.replace(/&/g, "&") //处理IE67自动转义的问题 + } + elem[method] = val + if (window.chrome && elem.tagName === "EMBED") { + var parent = elem.parentNode //#525 chrome1-37下embed标签动态设置src不能发生请求 + var comment = document.createComment("ms-src") + parent.replaceChild(comment, elem) + parent.replaceChild(elem, comment) + } + } + } + + function getTemplateNodes(data, id, text) { + var div = data.templateCache && data.templateCache[id] + if (div) { + var dom = DOC.createDocumentFragment(), + firstChild + while (firstChild = div.firstChild) { + dom.appendChild(firstChild) + } + return dom + } + return avalon.parseHTML(text) + } + +//这几个指令都可以使用插值表达式,如ms-src="aaa/{{b}}/{{c}}.html" + "title,alt,src,value,css,include,href".replace(rword, function (name) { + bindingHandlers[name] = bindingHandlers.attr + }) +//根据VM的属性值或表达式的值切换类名,ms-class="xxx yyy zzz:flag" +//http://www.cnblogs.com/rubylouvre/archive/2012/12/17/2818540.html + bindingHandlers["class"] = function (data, vmodels) { + var oldStyle = data.param, + text = data.value, + rightExpr + data.handlerName = "class" + if (!oldStyle || isFinite(oldStyle)) { + data.param = "" //去掉数字 + var noExpr = text.replace(rexprg, function (a) { + return a.replace(/./g, "0") + //return Math.pow(10, a.length - 1) //将插值表达式插入10的N-1次方来占位 + }) + var colonIndex = noExpr.indexOf(":") //取得第一个冒号的位置 + if (colonIndex === -1) { // 比如 ms-class="aaa bbb ccc" 的情况 + var className = text + } else { // 比如 ms-class-1="ui-state-active:checked" 的情况 + className = text.slice(0, colonIndex) + rightExpr = text.slice(colonIndex + 1) + parseExpr(rightExpr, vmodels, data) //决定是添加还是删除 + if (!data.evaluator) { + log("debug: ms-class '" + (rightExpr || "").trim() + "' 不存在于VM中") + return false + } else { + data._evaluator = data.evaluator + data._args = data.args + } + } + var hasExpr = rexpr.test(className) //比如ms-class="width{{w}}"的情况 + if (!hasExpr) { + data.immobileClass = className + } + parseExprProxy("", vmodels, data, (hasExpr ? scanExpr(className) : 0)) + } else { + data.immobileClass = data.oldStyle = data.param + parseExprProxy(text, vmodels, data) + } + } + + bindingExecutors["class"] = function (val, elem, data) { + var $elem = avalon(elem), + method = data.type + if (method === "class" && data.oldStyle) { //如果是旧风格 + $elem.toggleClass(data.oldStyle, !!val) + } else { + //如果存在冒号就有求值函数 + data.toggleClass = data._evaluator ? !!data._evaluator.apply(elem, data._args) : true + data.newClass = data.immobileClass || val + if (data.oldClass && data.newClass !== data.oldClass) { + $elem.removeClass(data.oldClass) + } + data.oldClass = data.newClass + switch (method) { + case "class": + $elem.toggleClass(data.newClass, data.toggleClass) + break + case "hover": + case "active": + if (!data.hasBindEvent) { //确保只绑定一次 + var activate = "mouseenter" //在移出移入时切换类名 + var abandon = "mouseleave" + if (method === "active") { //在聚焦失焦中切换类名 + elem.tabIndex = elem.tabIndex || -1 + activate = "mousedown" + abandon = "mouseup" + var fn0 = $elem.bind("mouseleave", function () { + data.toggleClass && $elem.removeClass(data.newClass) + }) + } + var fn1 = $elem.bind(activate, function () { + data.toggleClass && $elem.addClass(data.newClass) + }) + var fn2 = $elem.bind(abandon, function () { + data.toggleClass && $elem.removeClass(data.newClass) + }) + data.rollback = function () { + $elem.unbind("mouseleave", fn0) + $elem.unbind(activate, fn1) + $elem.unbind(abandon, fn2) + } + data.hasBindEvent = true + } + break; + } + } + } + + "hover,active".replace(rword, function (method) { + bindingHandlers[method] = bindingHandlers["class"] + }) +//ms-controller绑定已经在scanTag 方法中实现 +//ms-css绑定已由ms-attr绑定实现 + + +// bindingHandlers.data 定义在if.js + bindingExecutors.data = function (val, elem, data) { + var key = "data-" + data.param + if (val && typeof val === "object") { + elem[key] = val + } else { + elem.setAttribute(key, String(val)) + } + } +//双工绑定 + var duplexBinding = bindingHandlers.duplex = function (data, vmodels) { + var elem = data.element, + hasCast + parseExprProxy(data.value, vmodels, data, 0, 1) + + data.changed = getBindingCallback(elem, "data-duplex-changed", vmodels) || noop + if (data.evaluator && data.args) { + var params = [] + var casting = oneObject("string,number,boolean,checked") + if (elem.type === "radio" && data.param === "") { + data.param = "checked" + } + if (elem.msData) { + elem.msData["ms-duplex"] = data.value + } + data.param.replace(/\w+/g, function (name) { + if (/^(checkbox|radio)$/.test(elem.type) && /^(radio|checked)$/.test(name)) { + if (name === "radio") + log("ms-duplex-radio已经更名为ms-duplex-checked") + name = "checked" + data.isChecked = true + } + if (name === "bool") { + name = "boolean" + log("ms-duplex-bool已经更名为ms-duplex-boolean") + } else if (name === "text") { + name = "string" + log("ms-duplex-text已经更名为ms-duplex-string") + } + if (casting[name]) { + hasCast = true + } + avalon.Array.ensure(params, name) + }) + if (!hasCast) { + params.push("string") + } + data.param = params.join("-") + data.bound = function (type, callback) { + if (elem.addEventListener) { + elem.addEventListener(type, callback, false) + } else { + elem.attachEvent("on" + type, callback) + } + var old = data.rollback + data.rollback = function () { + elem.avalonSetter = null + avalon.unbind(elem, type, callback) + old && old() + } + } + for (var i in avalon.vmodels) { + var v = avalon.vmodels[i] + v.$fire("avalon-ms-duplex-init", data) + } + var cpipe = data.pipe || (data.pipe = pipe) + cpipe(null, data, "init") + var tagName = elem.tagName + duplexBinding[tagName] && duplexBinding[tagName](elem, data.evaluator.apply(null, data.args), data) + } + } +//不存在 bindingExecutors.duplex + + function fixNull(val) { + return val == null ? "" : val + } + + avalon.duplexHooks = { + checked: { + get: function (val, data) { + return !data.element.oldValue + } + }, + string: { + get: function (val) { //同步到VM + return val + }, + set: fixNull + }, + "boolean": { + get: function (val) { + return val === "true" + }, + set: fixNull + }, + number: { + get: function (val, data) { + var number = parseFloat(val) + if (-val === -number) { + return number + } + var arr = /strong|medium|weak/.exec(data.element.getAttribute("data-duplex-number")) || ["medium"] + switch (arr[0]) { + case "strong": + return 0 + case "medium": + return val === "" ? "" : 0 + case "weak": + return val + } + }, + set: fixNull + } + } + + function pipe(val, data, action, e) { + data.param.replace(/\w+/g, function (name) { + var hook = avalon.duplexHooks[name] + if (hook && typeof hook[action] === "function") { + val = hook[action](val, data) + } + }) + return val + } + + var TimerID, ribbon = [] + + avalon.tick = function (fn) { + if (ribbon.push(fn) === 1) { + TimerID = setInterval(ticker, 60) + } + } + + function ticker() { + for (var n = ribbon.length - 1; n >= 0; n--) { + var el = ribbon[n] + if (el() === false) { + ribbon.splice(n, 1) + } + } + if (!ribbon.length) { + clearInterval(TimerID) + } + } + + var watchValueInTimer = noop + var rmsinput = /text|password|hidden/ + new function () { // jshint ignore:line + try { //#272 IE9-IE11, firefox + var setters = {} + var aproto = HTMLInputElement.prototype + var bproto = HTMLTextAreaElement.prototype + + function newSetter(value) { // jshint ignore:line + if (avalon.contains(root, this)) { + setters[this.tagName].call(this, value) + if (!rmsinput.test(this.type)) + return + if (!this.msFocus && this.avalonSetter) { + this.avalonSetter() + } + } + } + + var inputProto = HTMLInputElement.prototype + Object.getOwnPropertyNames(inputProto) //故意引发IE6-8等浏览器报错 + setters["INPUT"] = Object.getOwnPropertyDescriptor(aproto, "value").set + Object.defineProperty(aproto, "value", { + set: newSetter + }) + setters["TEXTAREA"] = Object.getOwnPropertyDescriptor(bproto, "value").set + Object.defineProperty(bproto, "value", { + set: newSetter + }) + } catch (e) { + //在chrome 43中 ms-duplex终于不需要使用定时器实现双向绑定了 + // http://updates.html5rocks.com/2015/04/DOM-attributes-now-on-the-prototype + // https://docs.google.com/document/d/1jwA8mtClwxI-QJuHT7872Z0pxpZz8PBkf2bGAbsUtqs/edit?pli=1 + watchValueInTimer = avalon.tick + } + } // jshint ignore:line +//处理radio, checkbox, text, textarea, password + duplexBinding.INPUT = function (element, evaluator, data) { + var $type = element.type, + bound = data.bound, + $elem = avalon(element), + composing = false + + function callback(value) { + data.changed.call(this, value, data) + } + + function compositionStart() { + composing = true + } + + function compositionEnd() { + composing = false + } + + //当value变化时改变model的值 + + var updateVModel = function () { + if (composing) //处理中文输入法在minlengh下引发的BUG + return + var val = element.oldValue = element.value //防止递归调用形成死循环 + var lastValue = data.pipe(val, data, "get") + if ($elem.data("duplexObserve") !== false) { + evaluator(lastValue) + callback.call(element, lastValue) + if ($elem.data("duplex-focus")) { + avalon.nextTick(function () { + element.focus() + }) + } + } + } + //当model变化时,它就会改变value的值 + data.handler = function () { + var val = data.pipe(evaluator(), data, "set") + "" + if (val !== element.oldValue) { + element.value = val + } + } + if (data.isChecked || $type === "radio") { + updateVModel = function () { + if ($elem.data("duplexObserve") !== false) { + var lastValue = data.pipe(element.value, data, "get") + evaluator(lastValue) + callback.call(element, lastValue) + } + } + data.handler = function () { + var val = evaluator() + var checked = data.isChecked ? !!val : val + "" === element.value + element.checked = element.oldValue = checked + } + bound("click", updateVModel) + } else if ($type === "checkbox") { + updateVModel = function () { + if ($elem.data("duplexObserve") !== false) { + var method = element.checked ? "ensure" : "remove" + var array = evaluator() + if (!Array.isArray(array)) { + log("ms-duplex应用于checkbox上要对应一个数组") + array = [array] + } + avalon.Array[method](array, data.pipe(element.value, data, "get")) + callback.call(element, array) + } + } + data.handler = function () { + var array = [].concat(evaluator()) //强制转换为数组 + element.checked = array.indexOf(data.pipe(element.value, data, "get")) > -1 + } + bound("change", updateVModel) + } else { + var events = element.getAttribute("data-duplex-event") || "input" + if (element.attributes["data-event"]) { + log("data-event指令已经废弃,请改用data-duplex-event") + } + events.replace(rword, function (name) { + switch (name) { + case "input": + bound("input", updateVModel) + bound("DOMAutoComplete", updateVModel) + if (!IEVersion) { + bound("compositionstart", compositionStart) + bound("compositionend", compositionEnd) + } + break + default: + bound(name, updateVModel) + break + } + }) + bound("focus", function () { + element.msFocus = true + }) + bound("blur", function () { + element.msFocus = false + }) + if (rmsinput.test($type)) { + watchValueInTimer(function () { + if (root.contains(element)) { + if (!element.msFocus && element.oldValue !== element.value) { + updateVModel() + } + } else if (!element.msRetain) { + return false + } + }) + } + + element.avalonSetter = updateVModel + } + + element.oldValue = element.value + avalon.injectBinding(data) + callback.call(element, element.value) + } + duplexBinding.TEXTAREA = duplexBinding.INPUT + duplexBinding.SELECT = function (element, evaluator, data) { + var $elem = avalon(element) + + function updateVModel() { + if ($elem.data("duplexObserve") !== false) { + var val = $elem.val() //字符串或字符串数组 + if (Array.isArray(val)) { + val = val.map(function (v) { + return data.pipe(v, data, "get") + }) + } else { + val = data.pipe(val, data, "get") + } + if (val + "" !== element.oldValue) { + evaluator(val) + } + data.changed.call(element, val, data) + } + } + + data.handler = function () { + var val = evaluator() + val = val && val.$model || val + if (Array.isArray(val)) { + if (!element.multiple) { + log("ms-duplex在不能对应一个数组") + } + } + //必须变成字符串后才能比较 + val = Array.isArray(val) ? val.map(String) : val + "" + if (val + "" !== element.oldValue) { + $elem.val(val) + element.oldValue = val + "" + } + } + data.bound("change", updateVModel) + element.msCallback = function () { + avalon.injectBinding(data) + data.changed.call(element, evaluator(), data) + } + } +// bindingHandlers.html 定义在if.js + bindingExecutors.html = function (val, elem, data) { + val = val == null ? "" : val + var isHtmlFilter = "group" in data + var parent = isHtmlFilter ? elem.parentNode : elem + if (!parent) + return + if (typeof val === "string") { + var fragment = avalon.parseHTML(val) + } else if (val.nodeType === 11) { //将val转换为文档碎片 + fragment = val + } else if (val.nodeType === 1 || val.item) { + var nodes = val.nodeType === 1 ? val.childNodes : val.item + fragment = hyperspace.cloneNode(true) + while (nodes[0]) { + fragment.appendChild(nodes[0]) + } + } + if (!fragment.firstChild) { + fragment.appendChild(DOC.createComment("ms-html")) + } + nodes = avalon.slice(fragment.childNodes) + //插入占位符, 如果是过滤器,需要有节制地移除指定的数量,如果是html指令,直接清空 + if (isHtmlFilter) { + var n = data.group, + i = 1 + + data.group = nodes.length + data.element = nodes[0] + + while (i < n) { + var node = elem.nextSibling + if (node) { + parent.removeChild(node) + i++ + } + } + parent.replaceChild(fragment, elem) + } else { + avalon.clearHTML(parent).appendChild(fragment) + } + scanNodeArray(nodes, data.vmodels) + } + bindingHandlers["if"] = + bindingHandlers.data = + bindingHandlers.text = + bindingHandlers.html = + function (data, vmodels) { + parseExprProxy(data.value, vmodels, data) + } + + bindingExecutors["if"] = function (val, elem, data) { + if (val) { //插回DOM树 + if (elem.nodeType === 8) { + elem.parentNode.replaceChild(data.template, elem) + elem = data.element = data.template //这时可能为null + } + if (elem.getAttribute(data.name)) { + elem.removeAttribute(data.name) + scanAttr(elem, data.vmodels) + } + data.rollback = null + } else { //移出DOM树,并用注释节点占据原位置 + if (elem.nodeType === 1) { + var node = data.element = DOC.createComment("ms-if") + elem.parentNode.replaceChild(node, elem) + data.template = elem //元素节点 + ifGroup.appendChild(elem) + data.rollback = function () { + if (elem.parentNode === ifGroup) { + ifGroup.removeChild(elem) + } + } + } + } + } +//ms-important绑定已经在scanTag 方法中实现 +//ms-include绑定已由ms-attr绑定实现 + + var rdash = /\(([^)]*)\)/ + bindingHandlers.on = function (data, vmodels) { + var value = data.value + data.type = "on" + var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10 + if (typeof bindingHandlers.on[eventType + "Hook"] === "function") { + bindingHandlers.on[eventType + "Hook"](data) + } + if (value.indexOf("(") > 0 && value.indexOf(")") > -1) { + var matched = (value.match(rdash) || ["", ""])[1].trim() + if (matched === "" || matched === "$event") { // aaa() aaa($event)当成aaa处理 + value = value.replace(rdash, "") + } + } + parseExprProxy(value, vmodels, data) + } + + bindingExecutors.on = function (callback, elem, data) { + callback = function (e) { + var fn = data.evaluator || noop + return fn.apply(this, data.args.concat(e)) + } + var eventType = data.param.replace(/-\d+$/, "") // ms-on-mousemove-10 + if (eventType === "scan") { + callback.call(elem, { + type: eventType + }) + } else if (typeof data.specialBind === "function") { + data.specialBind(elem, callback) + } else { + var removeFn = avalon.bind(elem, eventType, callback) + } + data.rollback = function () { + if (typeof data.specialUnbind === "function") { + data.specialUnbind() + } else { + avalon.unbind(elem, eventType, removeFn) + } + } + } + bindingHandlers.repeat = function (data, vmodels) { + var type = data.type + parseExprProxy(data.value, vmodels, data, 0, 1) + var freturn = false + try { + var $repeat = data.$repeat = data.evaluator.apply(0, data.args || []) + var xtype = avalon.type($repeat) + if (xtype !== "object" && xtype !== "array") { + freturn = true + avalon.log("warning:" + data.value + "只能是对象或数组") + } + } catch (e) { + freturn = true + } + + var arr = data.value.split(".") || [] + if (arr.length > 1) { + arr.pop() + var n = arr[0] + for (var i = 0, v; v = vmodels[i++];) { + if (v && v.hasOwnProperty(n)) { + var events = v[n].$events || {} + events[subscribers] = events[subscribers] || [] + events[subscribers].push(data) + break + } + } + } + var elem = data.element + elem.removeAttribute(data.name) + + data.sortedCallback = getBindingCallback(elem, "data-with-sorted", vmodels) + data.renderedCallback = getBindingCallback(elem, "data-" + type + "-rendered", vmodels) + var signature = generateID(type) + var comment = data.element = DOC.createComment(signature + ":end") + data.clone = DOC.createComment(signature) + hyperspace.appendChild(comment) + + if (type === "each" || type === "with") { + data.template = elem.innerHTML.trim() + avalon.clearHTML(elem).appendChild(comment) + } else { + data.template = elem.outerHTML.trim() + elem.parentNode.replaceChild(comment, elem) + } + data.template = avalon.parseHTML(data.template) + data.rollback = function () { + var elem = data.element + if (!elem) + return + bindingExecutors.repeat.call(data, "clear") + var parentNode = elem.parentNode + var content = data.template + var target = content.firstChild + parentNode.replaceChild(content, elem) + var start = data.$with + start && start.parentNode && start.parentNode.removeChild(start) + target = data.element = data.type === "repeat" ? target : parentNode + } + if (freturn) { + return + } + data.handler = bindingExecutors.repeat + data.$outer = {} + var check0 = "$key" + var check1 = "$val" + if (Array.isArray($repeat)) { + $repeat.$map[data.param || "el"] = 1 + check0 = "$first" + check1 = "$last" + } + for (i = 0; v = vmodels[i++];) { + if (v.hasOwnProperty(check0) && v.hasOwnProperty(check1)) { + data.$outer = v + break + } + } + var $events = $repeat.$events + var $list = ($events || {})[subscribers] + if ($list && avalon.Array.ensure($list, data)) { + addSubscribers(data, $list) + } + if (xtype === "object") { + data.$with = true + var pool = !$events ? {} : $events.$withProxyPool || ($events.$withProxyPool = {}) + data.handler("append", $repeat, pool) + } else if ($repeat.length) { + data.handler("add", 0, $repeat.length) + } + } + + bindingExecutors.repeat = function (method, pos, el) { + if (method) { + var data = this, start, fragment + var end = data.element + var comments = getComments(data) + var parent = end.parentNode + var transation = hyperspace.cloneNode(false) + switch (method) { + case "add": //在pos位置后添加el数组(pos为插入位置,el为要插入的个数) + var n = pos + el + var fragments = [] + var array = data.$repeat + for (var i = pos; i < n; i++) { + var proxy = array.$proxy[i] + proxy.$outer = data.$outer + shimController(data, transation, proxy, fragments) + } + parent.insertBefore(transation, comments[pos] || end) + for (i = 0; fragment = fragments[i++];) { + scanNodeArray(fragment.nodes, fragment.vmodels) + fragment.nodes = fragment.vmodels = null + } + break + case "del": //将pos后的el个元素删掉(pos, el都是数字) + sweepNodes(comments[pos], comments[pos + el] || end) + break + case "clear": + start = comments[0] + if (start) { + sweepNodes(start, end) + } + break + case "move": + start = comments[0] + if (start) { + var signature = start.nodeValue + var rooms = [] + var room = [], + node + sweepNodes(start, end, function () { + room.unshift(this) + if (this.nodeValue === signature) { + rooms.unshift(room) + room = [] + } + }) + sortByIndex(rooms, pos) + while (room = rooms.shift()) { + while (node = room.shift()) { + transation.appendChild(node) + } + } + parent.insertBefore(transation, end) + } + break + case "append": //将pos的键值对从el中取出(pos为一个普通对象,el为预先生成好的代理VM对象池) + var pool = el + var keys = [] + fragments = [] + for (var key in pos) { //得到所有键名 + if (pos.hasOwnProperty(key) && key !== "hasOwnProperty") { + keys.push(key) + } + } + if (data.sortedCallback) { //如果有回调,则让它们排序 + var keys2 = data.sortedCallback.call(parent, keys) + if (keys2 && Array.isArray(keys2) && keys2.length) { + keys = keys2 + } + } + for (i = 0; key = keys[i++];) { + if (key !== "hasOwnProperty") { + if (!pool[key]) { + pool[key] = withProxyAgent(key, data) + } + shimController(data, transation, pool[key], fragments) + } + } + var comment = data.$with = data.clone + parent.insertBefore(comment, end) + parent.insertBefore(transation, end) + for (i = 0; fragment = fragments[i++];) { + scanNodeArray(fragment.nodes, fragment.vmodels) + fragment.nodes = fragment.vmodels = null + } + break + } + if (method === "clear") + method = "del" + var callback = data.renderedCallback || noop, + args = arguments + checkScan(parent, function () { + callback.apply(parent, args) + if (parent.oldValue && parent.tagName === "SELECT") { //fix #503 + avalon(parent).val(parent.oldValue.split(",")) + } + }, NaN) + } + } + + "with,each".replace(rword, function (name) { + bindingHandlers[name] = bindingHandlers.repeat + }) + + function shimController(data, transation, proxy, fragments) { + var content = data.template.cloneNode(true) + var nodes = avalon.slice(content.childNodes) + if (!data.$with) { + content.insertBefore(data.clone.cloneNode(false), content.firstChild) + } + transation.appendChild(content) + var nv = [proxy].concat(data.vmodels) + var fragment = { + nodes: nodes, + vmodels: nv + } + fragments.push(fragment) + } + + function getComments(data) { + var end = data.element + var signature = end.nodeValue.replace(":end", "") + var node = end.previousSibling + var array = [] + while (node) { + if (node.nodeValue === signature) { + array.unshift(node) + } + node = node.previousSibling + } + return array + } + + +//移除掉start与end之间的节点(保留end) + function sweepNodes(start, end, callback) { + while (true) { + var node = end.previousSibling + if (!node) + break + node.parentNode.removeChild(node) + callback && callback.call(node) + if (node === start) { + break + } + } + } + +// 为ms-each,ms-with, ms-repeat会创建一个代理VM, +// 通过它们保持一个下上文,让用户能调用$index,$first,$last,$remove,$key,$val,$outer等属性与方法 +// 所有代理VM的产生,消费,收集,存放通过xxxProxyFactory,xxxProxyAgent, recycleProxies,xxxProxyPool实现 + var eachProxyPool = [] + var withProxyPool = [] + + function eachProxyFactory() { + var source = { + $index: 0, + $first: false, + $last: false, + $map: {}, + $host: [], + $outer: {}, + $remove: avalon.noop, + el: { + get: function () { + var e = this.$events + var array = e.$index + e.$index = e.el //#817 通过$index为el收集依赖 + try { + return this.$host[this.$index] + } finally { + e.$index = array + } + }, + set: function (val) { + this.$host.set(this.$index, val) + } + } + } + + var second = { + $last: 1, + $first: 1, + $index: 1 + } + var proxy = modelFactory(source, second) + proxy.$id = generateID("$proxy$each") + return proxy + } + + function eachProxyAgent(index, host) { + var proxy = eachProxyPool.shift() + if (!proxy) { + proxy = eachProxyFactory() + } + var last = host.length - 1 + proxy.$index = index + proxy.$first = index === 0 + proxy.$last = index === last + proxy.$map = host.$map + proxy.$host = host + proxy.$remove = function () { + return host.removeAt(proxy.$index) + } + return proxy + } + + function withProxyFactory() { + var proxy = modelFactory({ + $key: "", + $outer: {}, + $host: {}, + $val: { + get: function () { + return this.$host[this.$key] + }, + set: function (val) { + this.$host[this.$key] = val + } + } + }, { + $val: 1 + }) + proxy.$id = generateID("$proxy$with") + return proxy + } + + function withProxyAgent(key, data) { + var proxy = withProxyPool.pop() + if (!proxy) { + proxy = withProxyFactory() + } + var host = data.$repeat + proxy.$key = key + proxy.$host = host + proxy.$outer = data.$outer + if (host.$events) { + proxy.$events.$val = host.$events[key] + } else { + proxy.$events = {} + } + return proxy + } + + function recycleProxies(proxies, type) { + var proxyPool = type === "each" ? eachProxyPool : withProxyPool + avalon.each(proxies, function (key, proxy) { + if (proxy.$events) { + for (var i in proxy.$events) { + if (Array.isArray(proxy.$events[i])) { + proxy.$events[i].forEach(function (data) { + if (typeof data === "object") + disposeData(data) + }) // jshint ignore:line + proxy.$events[i].length = 0 + } + } + proxy.$host = proxy.$outer = {} + if (proxyPool.unshift(proxy) > kernel.maxRepeatSize) { + proxyPool.pop() + } + } + }) + if (type === "each") + proxies.length = 0 + } + + /********************************************************************* + * 各种指令 * + **********************************************************************/ +//ms-skip绑定已经在scanTag 方法中实现 +// bindingHandlers.text 定义在if.js + bindingExecutors.text = function (val, elem) { + val = val == null ? "" : val //不在页面上显示undefined null + if (elem.nodeType === 3) { //绑定在文本节点上 + try { //IE对游离于DOM树外的节点赋值会报错 + elem.data = val + } catch (e) { + } + } else { //绑定在特性节点上 + elem.textContent = val + } + } + function parseDisplay(nodeName, val) { + //用于取得此类标签的默认display值 + var key = "_" + nodeName + if (!parseDisplay[key]) { + var node = DOC.createElement(nodeName) + root.appendChild(node) + if (W3C) { + val = getComputedStyle(node, null).display + } else { + val = node.currentStyle.display + } + root.removeChild(node) + parseDisplay[key] = val + } + return parseDisplay[key] + } + + avalon.parseDisplay = parseDisplay + + bindingHandlers.visible = function (data, vmodels) { + var elem = avalon(data.element) + var display = elem.css("display") + if (display === "none") { + var style = elem[0].style + var has = /visibility/i.test(style.cssText) + var visible = elem.css("visibility") + style.display = "" + style.visibility = "hidden" + display = elem.css("display") + if (display === "none") { + display = parseDisplay(elem[0].nodeName) + } + style.visibility = has ? visible : "" + } + data.display = display + parseExprProxy(data.value, vmodels, data) + } + + bindingExecutors.visible = function (val, elem, data) { + elem.style.display = val ? data.display : "none" + } + bindingHandlers.widget = function (data, vmodels) { + var args = data.value.match(rword) + var elem = data.element + var widget = args[0] + var id = args[1] + if (!id || id === "$") { //没有定义或为$时,取组件名+随机数 + id = generateID(widget) + } + var optName = args[2] || widget //没有定义,取组件名 + var constructor = avalon.ui[widget] + if (typeof constructor === "function") { //ms-widget="tabs,tabsAAA,optname" + vmodels = elem.vmodels || vmodels + for (var i = 0, v; v = vmodels[i++];) { + if (v.hasOwnProperty(optName) && typeof v[optName] === "object") { + var vmOptions = v[optName] + vmOptions = vmOptions.$model || vmOptions + break + } + } + if (vmOptions) { + var wid = vmOptions[widget + "Id"] + if (typeof wid === "string") { + log("warning!不再支持" + widget + "Id") + id = wid + } + } + //抽取data-tooltip-text、data-tooltip-attr属性,组成一个配置对象 + var widgetData = avalon.getWidgetData(elem, widget) + data.value = [widget, id, optName].join(",") + data[widget + "Id"] = id + data.evaluator = noop + elem.msData["ms-widget-id"] = id + var options = data[widget + "Options"] = avalon.mix({}, constructor.defaults, vmOptions || {}, widgetData) + elem.removeAttribute("ms-widget") + var vmodel = constructor(elem, data, vmodels) || {} //防止组件不返回VM + if (vmodel.$id) { + avalon.vmodels[id] = vmodel + createSignalTower(elem, vmodel) + try { + vmodel.$init(function () { + avalon.scan(elem, [vmodel].concat(vmodels)) + if (typeof options.onInit === "function") { + options.onInit.call(elem, vmodel, options, vmodels) + } + }) + } catch (e) { + } + data.rollback = function () { + try { + vmodel.widgetElement = null + vmodel.$remove() + } catch (e) { + } + elem.msData = {} + delete avalon.vmodels[vmodel.$id] + } + addSubscribers(data, widgetList) + if (window.chrome) { + elem.addEventListener("DOMNodeRemovedFromDocument", function () { + setTimeout(removeSubscribers) + }) + } + } else { + avalon.scan(elem, vmodels) + } + } else if (vmodels.length) { //如果该组件还没有加载,那么保存当前的vmodels + elem.vmodels = vmodels + } + } + var widgetList = [] +//不存在 bindingExecutors.widget + /********************************************************************* + * 自带过滤器 * + **********************************************************************/ + var rscripts = /]*>([\S\s]*?)<\/script\s*>/gim + var ron = /\s+(on[^=\s]+)(?:=("[^"]*"|'[^']*'|[^\s>]+))?/g + var ropen = /<\w+\b(?:(["'])[^"]*?(\1)|[^>])*>/ig + var rsanitize = { + a: /\b(href)\=("javascript[^"]*"|'javascript[^']*')/ig, + img: /\b(src)\=("javascript[^"]*"|'javascript[^']*')/ig, + form: /\b(action)\=("javascript[^"]*"|'javascript[^']*')/ig + } + var rsurrogate = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g + var rnoalphanumeric = /([^\#-~| |!])/g; + + function numberFormat(number, decimals, point, thousands) { + //form http://phpjs.org/functions/number_format/ + //number 必需,要格式化的数字 + //decimals 可选,规定多少个小数位。 + //point 可选,规定用作小数点的字符串(默认为 . )。 + //thousands 可选,规定用作千位分隔符的字符串(默认为 , ),如果设置了该参数,那么所有其他参数都是必需的。 + number = (number + '') + .replace(/[^0-9+\-Ee.]/g, '') + var n = !isFinite(+number) ? 0 : +number, + prec = !isFinite(+decimals) ? 3 : Math.abs(decimals), + sep = thousands || ",", + dec = point || ".", + s = '', + toFixedFix = function (n, prec) { + var k = Math.pow(10, prec) + return '' + (Math.round(n * k) / k) + .toFixed(prec) + } + // Fix for IE parseFloat(0.55).toFixed(0) = 0; + s = (prec ? toFixedFix(n, prec) : '' + Math.round(n)) + .split('.') + if (s[0].length > 3) { + s[0] = s[0].replace(/\B(?=(?:\d{3})+(?!\d))/g, sep) + } + if ((s[1] || '') + .length < prec) { + s[1] = s[1] || '' + s[1] += new Array(prec - s[1].length + 1) + .join('0') + } + return s.join(dec) + } + + + var filters = avalon.filters = { + uppercase: function (str) { + return str.toUpperCase() + }, + lowercase: function (str) { + return str.toLowerCase() + }, + truncate: function (str, length, truncation) { + //length,新字符串长度,truncation,新字符串的结尾的字段,返回新字符串 + length = length || 30 + truncation = truncation === void(0) ? "..." : truncation + return str.length > length ? str.slice(0, length - truncation.length) + truncation : String(str) + }, + $filter: function (val) { + for (var i = 1, n = arguments.length; i < n; i++) { + var array = arguments[i] + var fn = avalon.filters[array.shift()] + if (typeof fn === "function") { + var arr = [val].concat(array) + val = fn.apply(null, arr) + } + } + return val + }, + camelize: camelize, + //https://www.owasp.org/index.php/XSS_Filter_Evasion_Cheat_Sheet + // chrome + // chrome + // IE67chrome + // IE67chrome + // IE67chrome + sanitize: function (str) { + return str.replace(rscripts, "").replace(ropen, function (a, b) { + var match = a.toLowerCase().match(/<(\w+)\s/) + if (match) { //处理a标签的href属性,img标签的src属性,form标签的action属性 + var reg = rsanitize[match[1]] + if (reg) { + a = a.replace(reg, function (s, name, value) { + var quote = value.charAt(0) + return name + "=" + quote + "javascript:void(0)" + quote// jshint ignore:line + }) + } + } + return a.replace(ron, " ").replace(/\s+/g, " ") //移除onXXX事件 + }) + }, + escape: function (str) { + //将字符串经过 str 转义得到适合在页面中显示的内容, 例如替换 < 为 < + return String(str). + replace(/&/g, '&'). + replace(rsurrogate, function (value) { + var hi = value.charCodeAt(0) + var low = value.charCodeAt(1) + return '&#' + (((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000) + ';' + }). + replace(rnoalphanumeric, function (value) { + return '&#' + value.charCodeAt(0) + ';' + }). + replace(//g, '>') + }, + currency: function (amount, symbol, fractionSize) { + return (symbol || "\uFFE5") + numberFormat(amount, isFinite(fractionSize) ? fractionSize : 2) + }, + number: numberFormat + } + /* + 'yyyy': 4 digit representation of year (e.g. AD 1 => 0001, AD 2010 => 2010) + 'yy': 2 digit representation of year, padded (00-99). (e.g. AD 2001 => 01, AD 2010 => 10) + 'y': 1 digit representation of year, e.g. (AD 1 => 1, AD 199 => 199) + 'MMMM': Month in year (January-December) + 'MMM': Month in year (Jan-Dec) + 'MM': Month in year, padded (01-12) + 'M': Month in year (1-12) + 'dd': Day in month, padded (01-31) + 'd': Day in month (1-31) + 'EEEE': Day in Week,(Sunday-Saturday) + 'EEE': Day in Week, (Sun-Sat) + 'HH': Hour in day, padded (00-23) + 'H': Hour in day (0-23) + 'hh': Hour in am/pm, padded (01-12) + 'h': Hour in am/pm, (1-12) + 'mm': Minute in hour, padded (00-59) + 'm': Minute in hour (0-59) + 'ss': Second in minute, padded (00-59) + 's': Second in minute (0-59) + 'a': am/pm marker + 'Z': 4 digit (+sign) representation of the timezone offset (-1200-+1200) + format string can also be one of the following predefined localizable formats: + + 'medium': equivalent to 'MMM d, y h:mm:ss a' for en_US locale (e.g. Sep 3, 2010 12:05:08 pm) + 'short': equivalent to 'M/d/yy h:mm a' for en_US locale (e.g. 9/3/10 12:05 pm) + 'fullDate': equivalent to 'EEEE, MMMM d,y' for en_US locale (e.g. Friday, September 3, 2010) + 'longDate': equivalent to 'MMMM d, y' for en_US locale (e.g. September 3, 2010 + 'mediumDate': equivalent to 'MMM d, y' for en_US locale (e.g. Sep 3, 2010) + 'shortDate': equivalent to 'M/d/yy' for en_US locale (e.g. 9/3/10) + 'mediumTime': equivalent to 'h:mm:ss a' for en_US locale (e.g. 12:05:08 pm) + 'shortTime': equivalent to 'h:mm a' for en_US locale (e.g. 12:05 pm) + */ + new function () {// jshint ignore:line + function toInt(str) { + return parseInt(str, 10) || 0 + } + + function padNumber(num, digits, trim) { + var neg = "" + if (num < 0) { + neg = '-' + num = -num + } + num = "" + num + while (num.length < digits) + num = "0" + num + if (trim) + num = num.substr(num.length - digits) + return neg + num + } + + function dateGetter(name, size, offset, trim) { + return function (date) { + var value = date["get" + name]() + if (offset > 0 || value > -offset) + value += offset + if (value === 0 && offset === -12) { + value = 12 + } + return padNumber(value, size, trim) + } + } + + function dateStrGetter(name, shortForm) { + return function (date, formats) { + var value = date["get" + name]() + var get = (shortForm ? ("SHORT" + name) : name).toUpperCase() + return formats[get][value] + } + } + + function timeZoneGetter(date) { + var zone = -1 * date.getTimezoneOffset() + var paddedZone = (zone >= 0) ? "+" : "" + paddedZone += padNumber(Math[zone > 0 ? "floor" : "ceil"](zone / 60), 2) + padNumber(Math.abs(zone % 60), 2) + return paddedZone + } + + //取得上午下午 + + function ampmGetter(date, formats) { + return date.getHours() < 12 ? formats.AMPMS[0] : formats.AMPMS[1] + } + + var DATE_FORMATS = { + yyyy: dateGetter("FullYear", 4), + yy: dateGetter("FullYear", 2, 0, true), + y: dateGetter("FullYear", 1), + MMMM: dateStrGetter("Month"), + MMM: dateStrGetter("Month", true), + MM: dateGetter("Month", 2, 1), + M: dateGetter("Month", 1, 1), + dd: dateGetter("Date", 2), + d: dateGetter("Date", 1), + HH: dateGetter("Hours", 2), + H: dateGetter("Hours", 1), + hh: dateGetter("Hours", 2, -12), + h: dateGetter("Hours", 1, -12), + mm: dateGetter("Minutes", 2), + m: dateGetter("Minutes", 1), + ss: dateGetter("Seconds", 2), + s: dateGetter("Seconds", 1), + sss: dateGetter("Milliseconds", 3), + EEEE: dateStrGetter("Day"), + EEE: dateStrGetter("Day", true), + a: ampmGetter, + Z: timeZoneGetter + } + var rdateFormat = /((?:[^yMdHhmsaZE']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z))(.*)/ + var raspnetjson = /^\/Date\((\d+)\)\/$/ + filters.date = function (date, format) { + var locate = filters.date.locate, + text = "", + parts = [], + fn, match + format = format || "mediumDate" + format = locate[format] || format + if (typeof date === "string") { + if (/^\d+$/.test(date)) { + date = toInt(date) + } else if (raspnetjson.test(date)) { + date = +RegExp.$1 + } else { + var trimDate = date.trim() + var dateArray = [0, 0, 0, 0, 0, 0, 0] + var oDate = new Date(0) + //取得年月日 + trimDate = trimDate.replace(/^(\d+)\D(\d+)\D(\d+)/, function (_, a, b, c) { + var array = c.length === 4 ? [c, a, b] : [a, b, c] + dateArray[0] = toInt(array[0]) //年 + dateArray[1] = toInt(array[1]) - 1 //月 + dateArray[2] = toInt(array[2]) //日 + return "" + }) + var dateSetter = oDate.setFullYear + var timeSetter = oDate.setHours + trimDate = trimDate.replace(/[T\s](\d+):(\d+):?(\d+)?\.?(\d)?/, function (_, a, b, c, d) { + dateArray[3] = toInt(a) //小时 + dateArray[4] = toInt(b) //分钟 + dateArray[5] = toInt(c) //秒 + if (d) { //毫秒 + dateArray[6] = Math.round(parseFloat("0." + d) * 1000) + } + return "" + }) + var tzHour = 0 + var tzMin = 0 + trimDate = trimDate.replace(/Z|([+-])(\d\d):?(\d\d)/, function (z, symbol, c, d) { + dateSetter = oDate.setUTCFullYear + timeSetter = oDate.setUTCHours + if (symbol) { + tzHour = toInt(symbol + c) + tzMin = toInt(symbol + d) + } + return "" + }) + + dateArray[3] -= tzHour + dateArray[4] -= tzMin + dateSetter.apply(oDate, dateArray.slice(0, 3)) + timeSetter.apply(oDate, dateArray.slice(3)) + date = oDate + } + } + if (typeof date === "number") { + date = new Date(date) + } + if (avalon.type(date) !== "date") { + return + } + while (format) { + match = rdateFormat.exec(format) + if (match) { + parts = parts.concat(match.slice(1)) + format = parts.pop() + } else { + parts.push(format) + format = null + } + } + parts.forEach(function (value) { + fn = DATE_FORMATS[value] + text += fn ? fn(date, locate) : value.replace(/(^'|'$)/g, "").replace(/''/g, "'") + }) + return text + } + var locate = { + AMPMS: { + 0: "上午", + 1: "下午" + }, + DAY: { + 0: "星期日", + 1: "星期一", + 2: "星期二", + 3: "星期三", + 4: "星期四", + 5: "星期五", + 6: "星期六" + }, + MONTH: { + 0: "1月", + 1: "2月", + 2: "3月", + 3: "4月", + 4: "5月", + 5: "6月", + 6: "7月", + 7: "8月", + 8: "9月", + 9: "10月", + 10: "11月", + 11: "12月" + }, + SHORTDAY: { + "0": "周日", + "1": "周一", + "2": "周二", + "3": "周三", + "4": "周四", + "5": "周五", + "6": "周六" + }, + fullDate: "y年M月d日EEEE", + longDate: "y年M月d日", + medium: "yyyy-M-d H:mm:ss", + mediumDate: "yyyy-M-d", + mediumTime: "H:mm:ss", + "short": "yy-M-d ah:mm", + shortDate: "yy-M-d", + shortTime: "ah:mm" + } + locate.SHORTMONTH = locate.MONTH + filters.date.locate = locate + }// jshint ignore:line + /********************************************************************* + * AMD加载器 * + **********************************************************************/ +//https://www.devbridge.com/articles/understanding-amd-requirejs/ +//http://maxogden.com/nested-dependencies.html + var modules = avalon.modules = { + "domReady!": { + exports: avalon, + state: 3 + }, + "avalon": { + exports: avalon, + state: 4 + } + } +//Object(modules[id]).state拥有如下值 +// undefined 没有定义 +// 1(send) 已经发出请求 +// 2(loading) 已经被执行但还没有执行完成,在这个阶段define方法会被执行 +// 3(loaded) 执行完毕,通过onload/onreadystatechange回调判定,在这个阶段checkDeps方法会执行 +// 4(execute) 其依赖也执行完毕, 值放到exports对象上,在这个阶段fireFactory方法会执行 + modules.exports = modules.avalon + + new function () {// jshint ignore:line + var loadings = [] //正在加载中的模块列表 + var factorys = [] //放置define方法的factory函数 + var rjsext = /\.js$/i + + function makeRequest(name, config) { +//1. 去掉资源前缀 + var res = "js" + name = name.replace(/^(\w+)\!/, function (a, b) { + res = b + return "" + }) + if (res === "ready") { + log("debug: ready!已经被废弃,请使用domReady!") + res = "domReady" + } +//2. 去掉querystring, hash + var query = "" + name = name.replace(rquery, function (a) { + query = a + return "" + }) + //3. 去掉扩展名 + var suffix = "." + res + var ext = /js|css/.test(suffix) ? suffix : "" + name = name.replace(/\.[a-z0-9]+$/g, function (a) { + if (a === suffix) { + ext = a + return "" + } else { + return a + } + }) + var req = avalon.mix({ + query: query, + ext: ext, + res: res, + name: name, + toUrl: toUrl + }, config) + req.toUrl(name) + return req + } + + function fireRequest(req) { + var name = req.name + var res = req.res + //1. 如果该模块已经发出请求,直接返回 + var module = modules[name] + var urlNoQuery = name && req.urlNoQuery + if (module && module.state >= 1) { + return name + } + module = modules[urlNoQuery] + if (module && module.state >= 3) { + innerRequire(module.deps || [], module.factory, urlNoQuery) + return urlNoQuery + } + if (name && !module) { + module = modules[urlNoQuery] = { + id: urlNoQuery, + state: 1 //send + } + var wrap = function (obj) { + resources[res] = obj + obj.load(name, req, function (a) { + if (arguments.length && a !== void 0) { + module.exports = a + } + module.state = 4 + checkDeps() + }) + } + + if (!resources[res]) { + innerRequire([res], wrap) + } else { + wrap(resources[res]) + } + } + return name ? urlNoQuery : res + "!" + } + +//核心API之一 require + var requireQueue = [] + var isUserFirstRequire = false + innerRequire = avalon.require = function (array, factory, parentUrl, defineConfig) { + if (!isUserFirstRequire) { + requireQueue.push(avalon.slice(arguments)) + if (arguments.length <= 2) { + isUserFirstRequire = true + var queue = requireQueue.splice(0, requireQueue.length), args + while (args = queue.shift()) { + innerRequire.apply(null, args) + } + } + return + } + + if (!Array.isArray(array)) { + avalon.error("require方法的第一个参数应为数组 " + array) + } + var deps = [] // 放置所有依赖项的完整路径 + var uniq = createMap() + var id = parentUrl || "callback" + setTimeout("1")// jshint ignore:line + defineConfig = defineConfig || createMap() + defineConfig.baseUrl = kernel.baseUrl + var isBuilt = !!defineConfig.built + if (parentUrl) { + defineConfig.parentUrl = parentUrl.substr(0, parentUrl.lastIndexOf("/")) + defineConfig.mapUrl = parentUrl.replace(rjsext, "") + } + if (isBuilt) { + var req = makeRequest(defineConfig.defineName, defineConfig) + id = req.urlNoQuery + } else { + array.forEach(function (name) { + var req = makeRequest(name, defineConfig) + var url = fireRequest(req) //加载资源,并返回该资源的完整地址 + if (url) { + if (!uniq[url]) { + deps.push(url) + uniq[url] = "司徒正美" //去重 + } + } + }) + } + + var module = modules[id] + if (!module || module.state !== 4) { + modules[id] = { + id: id, + deps: isBuilt ? array.concat() : deps, + factory: factory || noop, + state: 3 + } + } + if (!module) { + //如果此模块是定义在另一个JS文件中, 那必须等该文件加载完毕, 才能放到检测列队中 + loadings.push(id) + } + checkDeps() + } + +//核心API之二 require + innerRequire.define = function (name, deps, factory) { //模块名,依赖列表,模块本身 + if (typeof name !== "string") { + factory = deps + deps = name + name = "anonymous" + } + if (!Array.isArray(deps)) { + factory = deps + deps = [] + } + var config = { + built: !isUserFirstRequire, //用r.js打包后,所有define会放到requirejs之前 + defineName: name + } + var args = [deps, factory, config] + factory.require = function (url) { + args.splice(2, 0, url) + if (modules[url]) { + modules[url].state = 3 //loaded + var isCycle = false + try { + isCycle = checkCycle(modules[url].deps, url) + } catch (e) { + } + if (isCycle) { + avalon.error(url + "模块与之前的模块存在循环依赖,请不要直接用script标签引入" + url + "模块") + } + } + delete factory.require //释放内存 + innerRequire.apply(null, args) //0,1,2 --> 1,2,0 + } +//根据标准,所有遵循W3C标准的浏览器,script标签会按标签的出现顺序执行。 +//老的浏览器中,加载也是按顺序的:一个文件下载完成后,才开始下载下一个文件。 +//较新的浏览器中(IE8+ 、FireFox3.5+ 、Chrome4+ 、Safari4+),为了减小请求时间以优化体验, +//下载可以是并行的,但是执行顺序还是按照标签出现的顺序。 +//但如果script标签是动态插入的, 就未必按照先请求先执行的原则了,目测只有firefox遵守 +//唯一比较一致的是,IE10+及其他标准浏览器,一旦开始解析脚本, 就会一直堵在那里,直接脚本解析完毕 +//亦即,先进入loading阶段的script标签(模块)必然会先进入loaded阶段 + var url = config.built ? "unknown" : getCurrentScript() + if (url) { + var module = modules[url] + if (module) { + module.state = 2 + } + factory.require(url) + } else {//合并前后的safari,合并后的IE6-9走此分支 + factorys.push(factory) + } + } +//核心API之三 require.config(settings) + innerRequire.config = kernel + //核心API之四 define.amd 标识其符合AMD规范 + innerRequire.define.amd = modules + + //==========================对用户配置项进行再加工========================== + var allpaths = kernel["orig.paths"] = createMap() + var allmaps = kernel["orig.map"] = createMap() + var allpackages = kernel["packages"] = [] + var allargs = kernel["orig.args"] = createMap() + avalon.mix(plugins, { + paths: function (hash) { + avalon.mix(allpaths, hash) + kernel.paths = makeIndexArray(allpaths) + }, + map: function (hash) { + avalon.mix(allmaps, hash) + var list = makeIndexArray(allmaps, 1, 1) + avalon.each(list, function (_, item) { + item.val = makeIndexArray(item.val) + }) + kernel.map = list + }, + packages: function (array) { + array = array.concat(allpackages) + var uniq = createMap() + var ret = [] + for (var i = 0, pkg; pkg = array[i++];) { + pkg = typeof pkg === "string" ? {name: pkg} : pkg + var name = pkg.name + if (!uniq[name]) { + var url = joinPath(pkg.location || name, pkg.main || "main") + url = url.replace(rjsext, "") + ret.push(pkg) + uniq[name] = pkg.location = url + pkg.reg = makeMatcher(name) + } + } + kernel.packages = ret.sort() + }, + urlArgs: function (hash) { + if (typeof hash === "string") { + hash = {"*": hash} + } + avalon.mix(allargs, hash) + kernel.urlArgs = makeIndexArray(allargs, 1) + }, + baseUrl: function (url) { + if (!isAbsUrl(url)) { + var baseElement = head.getElementsByTagName("base")[0] + if (baseElement) { + head.removeChild(baseElement) + } + var node = DOC.createElement("a") + node.href = url + url = node.href + if (baseElement) { + head.insertBefore(baseElement, head.firstChild) + } + } + if (url.length > 3) + kernel.baseUrl = url + }, + shim: function (obj) { + for (var i in obj) { + var value = obj[i] + if (Array.isArray(value)) { + value = obj[i] = { + deps: value + } + } + if (!value.exportsFn && (value.exports || value.init)) { + value.exportsFn = makeExports(value) + } + } + kernel.shim = obj + } + + }) + + + //==============================内部方法================================= + function checkCycle(deps, nick) { + //检测是否存在循环依赖 + for (var i = 0, id; id = deps[i++];) { + if (modules[id].state !== 4 && + (id === nick || checkCycle(modules[id].deps, nick))) { + return true + } + } + } + + function checkFail(node, onError) { + var id = trimQuery(node.src) //检测是否死链 + node.onload = node.onerror = null + if (onError) { + setTimeout(function () { + head.removeChild(node) + node = null // 处理旧式IE下的循环引用问题 + }) + log("debug: 加载 " + id + " 失败" + onError + " " + (!modules[id].state)) + } else { + return true + } + } + + function checkDeps() { + //检测此JS模块的依赖是否都已安装完毕,是则安装自身 + loop: for (var i = loadings.length, id; id = loadings[--i];) { + var obj = modules[id], + deps = obj.deps + if (!deps) + continue + for (var j = 0, key; key = deps[j]; j++) { + if (Object(modules[key]).state !== 4) { + continue loop + } + } + //如果deps是空对象或者其依赖的模块的状态都是2 + if (obj.state !== 4) { + loadings.splice(i, 1) //必须先移除再安装,防止在IE下DOM树建完后手动刷新页面,会多次执行它 + fireFactory(obj.id, obj.deps, obj.factory) + checkDeps() //如果成功,则再执行一次,以防有些模块就差本模块没有安装好 + } + } + } + + function loadJS(url, id, callback) { + //通过script节点加载目标模块 + var node = DOC.createElement("script") + node.className = subscribers //让getCurrentScript只处理类名为subscribers的script节点 + node.onload = function () { + var factory = factorys.pop() + factory && factory.require(id) + if (callback) { + callback() + } + log("debug: 已成功加载 " + url) + id && loadings.push(id) + checkDeps() + } + node.onerror = function () { + checkFail(node, true) + } + + head.insertBefore(node, head.firstChild) //chrome下第二个参数不能为null + node.src = url //插入到head的第一个节点前,防止IE6下head标签没闭合前使用appendChild抛错 + log("debug: 正准备加载 " + url) //更重要的是IE6下可以收窄getCurrentScript的寻找范围 + } + + var resources = innerRequire.plugins = { + //三大常用资源插件 js!, css!, text!, ready! + ready: { + load: noop + }, + js: { + load: function (name, req, onLoad) { + var url = req.url + var id = req.urlNoQuery + var shim = kernel.shim[name.replace(rjsext, "")] + if (shim) { //shim机制 + innerRequire(shim.deps || [], function () { + var args = avalon.slice(arguments) + loadJS(url, id, function () { + onLoad(shim.exportsFn ? shim.exportsFn.apply(0, args) : void 0) + }) + }) + } else { + loadJS(url, id) + } + } + }, + css: { + load: function (name, req, onLoad) { + var url = req.url + head.insertAdjacentHTML("afterBegin", '') + log("debug: 已成功加载 " + url) + onLoad() + } + }, + text: { + load: function (name, req, onLoad) { + var url = req.url + var xhr = getXHR() + xhr.onload = function () { + var status = xhr.status; + if (status > 399 && status < 600) { + avalon.error(url + " 对应资源不存在或没有开启 CORS") + } else { + log("debug: 已成功加载 " + url) + onLoad(xhr.responseText) + } + } + xhr.open("GET", url, true) + if ("withCredentials" in xhr) {//这是处理跨域 + xhr.withCredentials = true + } + xhr.setRequestHeader("X-Requested-With", "XMLHttpRequest")//告诉后端这是AJAX请求 + xhr.send() + log("debug: 正准备加载 " + url) + } + } + } + innerRequire.checkDeps = checkDeps + + var rquery = /(\?[^#]*)$/ + + function trimQuery(url) { + return (url || "").replace(rquery, "") + } + + function isAbsUrl(path) { + //http://stackoverflow.com/questions/10687099/how-to-test-if-a-url-string-is-absolute-or-relative + return /^(?:[a-z]+:)?\/\//i.test(String(path)) + } + + + function getCurrentScript() { + // inspireb by https://github.com/samyk/jiagra/blob/master/jiagra.js + var stack + try { + a.b.c() //强制报错,以便捕获e.stack + } catch (e) { //safari5的sourceURL,firefox的fileName,它们的效果与e.stack不一样 + stack = e.stack + } + if (stack) { + /**e.stack最后一行在所有支持的浏览器大致如下: + *chrome23: + * at http://113.93.50.63/data.js:4:1 + *firefox17: + *@http://113.93.50.63/query.js:4 + *opera12:http://www.oldapps.com/opera.php?system=Windows_XP + *@http://113.93.50.63/data.js:4 + *IE10: + * at Global code (http://113.93.50.63/data.js:4:1) + * //firefox4+ 可以用document.currentScript + */ + stack = stack.split(/[@ ]/g).pop() //取得最后一行,最后一个空格或@之后的部分 + stack = stack[0] === "(" ? stack.slice(1, -1) : stack.replace(/\s/, "") //去掉换行符 + return trimQuery(stack.replace(/(:\d+)?:\d+$/i, "")) //去掉行号与或许存在的出错字符起始位置 + } + var nodes = head.getElementsByTagName("script") //只在head标签中寻找 + for (var i = nodes.length, node; node = nodes[--i];) { + if (node.className === subscribers && node.readyState === "interactive") { + var url = node.src + return node.className = trimQuery(url) + } + } + } + + var rcallback = /^callback\d+$/ + + function fireFactory(id, deps, factory) { + var module = Object(modules[id]) + module.state = 4 + for (var i = 0, array = [], d; d = deps[i++];) { + if (d === "exports") { + var obj = module.exports || (module.exports = createMap()) + array.push(obj) + } else { + array.push(modules[d].exports) + } + } + try { + var ret = factory.apply(window, array) + } catch (e) { + log("执行[" + id + "]模块的factory抛错: " + e) + } + if (ret !== void 0) { + module.exports = ret + } + if (rcallback.test(id)) { + delete modules[id] + } + delete module.factory + return ret + } + + function toUrl(id) { + if (id.indexOf(this.res + "!") === 0) { + id = id.slice(this.res.length + 1) //处理define("css!style",[], function(){})的情况 + } + var url = id + //1. 是否命中paths配置项 + var usePath = 0 + var baseUrl = this.baseUrl + var rootUrl = this.parentUrl || baseUrl + eachIndexArray(id, kernel.paths, function (value, key) { + url = url.replace(key, value) + usePath = 1 + }) + //2. 是否命中packages配置项 + if (!usePath) { + eachIndexArray(id, kernel.packages, function (value, key, item) { + url = url.replace(item.name, item.location) + }) + } + //3. 是否命中map配置项 + if (this.mapUrl) { + eachIndexArray(this.mapUrl, kernel.map, function (array) { + eachIndexArray(url, array, function (mdValue, mdKey) { + url = url.replace(mdKey, mdValue) + rootUrl = baseUrl + }) + }) + } + var ext = this.ext + if (ext && usePath && url.slice(-ext.length) === ext) { + url = url.slice(0, -ext.length) + } + //4. 转换为绝对路径 + if (!isAbsUrl(url)) { + rootUrl = this.built || /^\w/.test(url) ? baseUrl : rootUrl + url = joinPath(rootUrl, url) + } + //5. 还原扩展名,query + var urlNoQuery = url + ext + url = urlNoQuery + this.query + //6. 处理urlArgs + eachIndexArray(id, kernel.urlArgs, function (value) { + url += (url.indexOf("?") === -1 ? "?" : "&") + value; + }) + this.url = url + return this.urlNoQuery = urlNoQuery + } + + function makeIndexArray(hash, useStar, part) { + //创建一个经过特殊算法排好序的数组 + var index = hash2array(hash, useStar, part) + index.sort(descSorterByName) + return index + } + + function makeMatcher(prefix) { + return new RegExp('^' + prefix + '(/|$)') + } + + function makeExports(value) { + return function () { + var ret + if (value.init) { + ret = value.init.apply(window, arguments) + } + return ret || (value.exports && getGlobal(value.exports)) + } + } + + + function hash2array(hash, useStar, part) { + var array = []; + for (var key in hash) { + // if (hash.hasOwnProperty(key)) {//hash是由createMap创建没有hasOwnProperty + var item = { + name: key, + val: hash[key] + } + array.push(item) + item.reg = key === "*" && useStar ? /^/ : makeMatcher(key) + if (part && key !== "*") { + item.reg = new RegExp('\/' + key.replace(/^\//, "") + '(/|$)') + } + // } + } + return array + } + + function eachIndexArray(moduleID, array, matcher) { + array = array || [] + for (var i = 0, el; el = array[i++];) { + if (el.reg.test(moduleID)) { + matcher(el.val, el.name, el) + return false + } + } + } + + // 根据元素的name项进行数组字符数逆序的排序函数 + function descSorterByName(a, b) { + var aaa = a.name + var bbb = b.name + if (bbb === "*") { + return -1 + } + if (aaa === "*") { + return 1 + } + return bbb.length - aaa.length + } + + var rdeuce = /\/\w+\/\.\./ + + function joinPath(a, b) { + if (a.charAt(a.length - 1) !== "/") { + a += "/" + } + if (b.slice(0, 2) === "./") { //相对于兄弟路径 + return a + b.slice(2) + } + if (b.slice(0, 2) === "..") { //相对于父路径 + a += b + while (rdeuce.test(a)) { + a = a.replace(rdeuce, "") + } + return a + } + if (b.slice(0, 1) === "/") { + return a + b.slice(1) + } + return a + b + } + + function getGlobal(value) { + if (!value) { + return value + } + var g = window + value.split(".").forEach(function (part) { + g = g[part] + }) + return g + } + + var mainNode = DOC.scripts[DOC.scripts.length - 1] + var dataMain = mainNode.getAttribute("data-main") + if (dataMain) { + plugins.baseUrl(dataMain) + var href = kernel.baseUrl + kernel.baseUrl = href.slice(0, href.lastIndexOf("/") + 1) + loadJS(href.replace(rjsext, "") + ".js") + } else { + var loaderUrl = trimQuery(mainNode.src) + kernel.baseUrl = loaderUrl.slice(0, loaderUrl.lastIndexOf("/") + 1) + } + }// jshint ignore:line + + /********************************************************************* + * DOMReady * + **********************************************************************/ + var readyList = [], isReady + var fireReady = function (fn) { + isReady = true + if (innerRequire) { + modules["domReady!"].state = 4 + innerRequire.checkDeps() + } + while (fn = readyList.shift()) { + fn(avalon) + } + } + + + if (DOC.readyState === "complete") { + setTimeout(fireReady) //如果在domReady之外加载 + } else { + DOC.addEventListener("DOMContentLoaded", fireReady) + } + window.addEventListener("load", fireReady) + avalon.ready = function (fn) { + if (!isReady) { + readyList.push(fn) + } else { + fn(avalon) + } + } + avalon.config({ + loader: true + }) + avalon.ready(function () { + avalon.scan(DOC.body) + }) + +// Register as a named AMD module, since avalon can be concatenated with other +// files that may use define, but not via a proper concatenation script that +// understands anonymous AMD modules. A named AMD is safest and most robust +// way to register. Lowercase avalon is used because AMD module names are +// derived from file names, and Avalon is normally delivered in a lowercase +// file name. Do this after creating the global so that if an AMD module wants +// to call noConflict to hide this version of avalon, it will work. + +// Note that for maximum portability, libraries that are not avalon should +// declare themselves as anonymous modules, and avoid setting a global if an +// AMD loader is present. avalon is a special case. For more information, see +// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon + if (typeof define === "function" && define.amd) { + define("avalon", [], function () { + return avalon + }) + } +// Map over avalon in case of overwrite + var _avalon = window.avalon + avalon.noConflict = function (deep) { + if (deep && window.avalon === avalon) { + window.avalon = _avalon + } + return avalon + } +// Expose avalon identifiers, even in AMD +// and CommonJS for browser emulators + if (noGlobal === void 0) { + window.avalon = avalon + } + + window._injectTer = function (code) { + return eval(code) + } + + return avalon + })); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/backstretch/jquery.backstretch.min.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/backstretch/jquery.backstretch.min.js index 874c1a6c..4b14f7ab 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/backstretch/jquery.backstretch.min.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/backstretch/jquery.backstretch.min.js @@ -1,4 +1,4 @@ -/*! Backstretch - v2.0.3 - 2012-11-30 -* http://srobbin.com/jquery-plugins/backstretch/ -* Copyright (c) 2012 Scott Robbin; Licensed MIT */ +/*! Backstretch - v2.0.3 - 2012-11-30 +* http://srobbin.com/jquery-plugins/backstretch/ +* Copyright (c) 2012 Scott Robbin; Licensed MIT */ (function(e,t,n){"use strict";e.fn.backstretch=function(r,s){return(r===n||r.length===0)&&e.error("No images were supplied for Backstretch"),e(t).scrollTop()===0&&t.scrollTo(0,0),this.each(function(){var t=e(this),n=t.data("backstretch");n&&(s=e.extend(n.options,s),n.destroy(!0)),n=new i(this,r,s),t.data("backstretch",n)})},e.backstretch=function(t,n){return e("body").backstretch(t,n).data("backstretch")},e.expr[":"].backstretch=function(t){return e(t).data("backstretch")!==n},e.fn.backstretch.defaults={centeredX:!0,centeredY:!0,duration:5e3,fade:0};var r={wrap:{left:0,top:0,overflow:"hidden",margin:0,padding:0,height:"100%",width:"100%",zIndex:-999999},img:{position:"absolute",display:"none",margin:0,padding:0,border:"none",width:"auto",height:"auto",maxWidth:"none",zIndex:-999999}},i=function(n,i,o){this.options=e.extend({},e.fn.backstretch.defaults,o||{}),this.images=e.isArray(i)?i:[i],e.each(this.images,function(){e("")[0].src=this}),this.isBody=n===document.body,this.$container=e(n),this.$wrap=e('
    ').css(r.wrap).appendTo(this.$container),this.$root=this.isBody?s?e(t):e(document):this.$container;if(!this.isBody){var u=this.$container.css("position"),a=this.$container.css("zIndex");this.$container.css({position:u==="static"?"relative":u,zIndex:a==="auto"?0:a,background:"none"}),this.$wrap.css({zIndex:-999998})}this.$wrap.css({position:this.isBody&&s?"fixed":"absolute"}),this.index=0,this.show(this.index),e(t).on("resize.backstretch",e.proxy(this.resize,this)).on("orientationchange.backstretch",e.proxy(function(){this.isBody&&t.pageYOffset===0&&(t.scrollTo(0,1),this.resize())},this))};i.prototype={resize:function(){try{var e={left:0,top:0},n=this.isBody?this.$root.width():this.$root.innerWidth(),r=n,i=this.isBody?t.innerHeight?t.innerHeight:this.$root.height():this.$root.innerHeight(),s=r/this.$img.data("ratio"),o;s>=i?(o=(s-i)/2,this.options.centeredY&&(e.top="-"+o+"px")):(s=i,r=s*this.$img.data("ratio"),o=(r-n)/2,this.options.centeredX&&(e.left="-"+o+"px")),this.$wrap.css({width:n,height:i}).find("img:not(.deleteable)").css({width:r,height:s}).css(e)}catch(u){}return this},show:function(t){if(Math.abs(t)>this.images.length-1)return;this.index=t;var n=this,i=n.$wrap.find("img").addClass("deleteable"),s=e.Event("backstretch.show",{relatedTarget:n.$container[0]});return clearInterval(n.interval),n.$img=e("").css(r.img).bind("load",function(t){var r=this.width||e(t.target).width(),o=this.height||e(t.target).height();e(this).data("ratio",r/o),e(this).fadeIn(n.options.speed||n.options.fade,function(){i.remove(),n.paused||n.cycle(),n.$container.trigger(s,n)}),n.resize()}).appendTo(n.$wrap),n.$img.attr("src",n.images[t]),n},next:function(){return this.show(this.index1&&(clearInterval(this.interval),this.interval=setInterval(e.proxy(function(){this.paused||this.next()},this),this.options.duration)),this},destroy:function(n){e(t).off("resize.backstretch orientationchange.backstretch"),clearInterval(this.interval),n||this.$wrap.remove(),this.$container.removeData("backstretch")}};var s=function(){var e=navigator.userAgent,n=navigator.platform,r=e.match(/AppleWebKit\/([0-9]+)/),i=!!r&&r[1],s=e.match(/Fennec\/([0-9]+)/),o=!!s&&s[1],u=e.match(/Opera Mobi\/([0-9]+)/),a=!!u&&u[1],f=e.match(/MSIE ([0-9]+)/),l=!!f&&f[1];return!((n.indexOf("iPhone")>-1||n.indexOf("iPad")>-1||n.indexOf("iPod")>-1)&&i&&i<534||t.operamini&&{}.toString.call(t.operamini)==="[object OperaMini]"||u&&a<7458||e.indexOf("Android")>-1&&i&&i<533||o&&o<6||"palmGetResource"in t&&i&&i<534||e.indexOf("MeeGo")>-1&&e.indexOf("NokiaBrowser/8.5.0")>-1||l&&l<=6)}()})(jQuery,window); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootbox/LICENSE.md b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootbox/LICENSE.md index 8219f598..4c723486 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootbox/LICENSE.md +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootbox/LICENSE.md @@ -1,23 +1,23 @@ -# License - -(The MIT License) - -Copyright (C) 2011-2014 by Nick Payne - -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 +# License + +(The MIT License) + +Copyright (C) 2011-2014 by Nick Payne + +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 diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootbox/README.md b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootbox/README.md index eedb7210..700fd6f7 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootbox/README.md +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootbox/README.md @@ -1,91 +1,91 @@ -# Bootbox - Bootstrap powered alert, confirm and flexible dialog boxes - -Please see http://bootboxjs.com for full usage instructions, or head over to http://paynedigital.com/bootbox for -the original writeup about the project. - -## Contact - -The easiest thing is to [find me on twitter @makeusabrew](http://twitter.com/makeusabrew). - -## Contributing - -Please see the [CONTRIBUTING](https://github.com/makeusabrew/bootbox/blob/master/CONTRIBUTING.md) file for guidelines. - -## Running Tests [![Build Status](https://api.travis-ci.org/makeusabrew/bootbox.svg)](http://travis-ci.org/makeusabrew/bootbox) - -Tests are run using [Karma](http://karma-runner.github.io/0.8/index.html) using the Mocha test adapter. -To run the tests yourself, simply run ```npm install``` within the project followed by ```npm test```. -Please note that this will require [PhantomJS](http://phantomjs.org/) being installed and in your path - if -it is not, you may run the tests and capture browsers manually by running ```karma start``` from the root -of the project. - -The project is also hosted on [Travis CI](https://travis-ci.org/makeusabrew/bootbox) - when submitting -pull requests **please** ensure your tests pass as failing requests will be rejected. See the -[CONTRIBUTING](https://github.com/makeusabrew/bootbox/blob/master/CONTRIBUTING.md) file for more information. - -## Building a minified release - -The repository no longer contains a minified bootbox.min.js file - this is now only generated -[for releases](https://github.com/makeusabrew/bootbox/releases). To build your own minified copy -for use in development simply run ```npm install``` if you haven't already, followed by ```grunt uglify```. -This will generate a bootbox.min.js file in your working directory. - -## A note on Bootstrap dependencies - -Bootbox **4.0.0** is the first release to support Bootstrap 3.0.0. - -Bootbox **3.3.0** is the *last* release to support Bootstrap 2.2.x. - -Much more dependency information can be found [on the Bootbox website](http://bootboxjs.com/#dependencies). - -### Roadmap - -The latest major release of Bootbox - 4.0.0 - involved a total rewrite of the -internal code and introduced an entirely new public API. It has not re-implemented -some functionality from the 3.x series as of yet; this will be addressed in the -coming weeks in the form of new minor releases; -[a task list for 4.3.0 is available](https://github.com/makeusabrew/bootbox/issues/220) - -please feel free to add feedback and requests. - -There is no new major (e.g. 5.x) release on the roadmap at present. - -## Latest Release: 4.2.0 - -* Add Swedish locale -* Add Latvian locale -* Add Turkish locale -* Add Hebrew locale -* Add password input type -* Add textarea input type -* Add date input type -* Add time input type -* Add number input type -* Support DOM selectors for container argument -* UMD support -* Better support on mobile devices - -For a full list of releases and changes please see [the changelog](https://github.com/makeusabrew/bootbox/blob/master/CHANGELOG.md). - -## License - -(The MIT License) - -Copyright (C) 2011-2014 by Nick Payne - -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 +# Bootbox - Bootstrap powered alert, confirm and flexible dialog boxes + +Please see http://bootboxjs.com for full usage instructions, or head over to http://paynedigital.com/bootbox for +the original writeup about the project. + +## Contact + +The easiest thing is to [find me on twitter @makeusabrew](http://twitter.com/makeusabrew). + +## Contributing + +Please see the [CONTRIBUTING](https://github.com/makeusabrew/bootbox/blob/master/CONTRIBUTING.md) file for guidelines. + +## Running Tests [![Build Status](https://api.travis-ci.org/makeusabrew/bootbox.svg)](http://travis-ci.org/makeusabrew/bootbox) + +Tests are run using [Karma](http://karma-runner.github.io/0.8/index.html) using the Mocha test adapter. +To run the tests yourself, simply run ```npm install``` within the project followed by ```npm test```. +Please note that this will require [PhantomJS](http://phantomjs.org/) being installed and in your path - if +it is not, you may run the tests and capture browsers manually by running ```karma start``` from the root +of the project. + +The project is also hosted on [Travis CI](https://travis-ci.org/makeusabrew/bootbox) - when submitting +pull requests **please** ensure your tests pass as failing requests will be rejected. See the +[CONTRIBUTING](https://github.com/makeusabrew/bootbox/blob/master/CONTRIBUTING.md) file for more information. + +## Building a minified release + +The repository no longer contains a minified bootbox.min.js file - this is now only generated +[for releases](https://github.com/makeusabrew/bootbox/releases). To build your own minified copy +for use in development simply run ```npm install``` if you haven't already, followed by ```grunt uglify```. +This will generate a bootbox.min.js file in your working directory. + +## A note on Bootstrap dependencies + +Bootbox **4.0.0** is the first release to support Bootstrap 3.0.0. + +Bootbox **3.3.0** is the *last* release to support Bootstrap 2.2.x. + +Much more dependency information can be found [on the Bootbox website](http://bootboxjs.com/#dependencies). + +### Roadmap + +The latest major release of Bootbox - 4.0.0 - involved a total rewrite of the +internal code and introduced an entirely new public API. It has not re-implemented +some functionality from the 3.x series as of yet; this will be addressed in the +coming weeks in the form of new minor releases; +[a task list for 4.3.0 is available](https://github.com/makeusabrew/bootbox/issues/220) - +please feel free to add feedback and requests. + +There is no new major (e.g. 5.x) release on the roadmap at present. + +## Latest Release: 4.2.0 + +* Add Swedish locale +* Add Latvian locale +* Add Turkish locale +* Add Hebrew locale +* Add password input type +* Add textarea input type +* Add date input type +* Add time input type +* Add number input type +* Support DOM selectors for container argument +* UMD support +* Better support on mobile devices + +For a full list of releases and changes please see [the changelog](https://github.com/makeusabrew/bootbox/blob/master/CHANGELOG.md). + +## License + +(The MIT License) + +Copyright (C) 2011-2014 by Nick Payne + +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 diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootbox/bootbox.min.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootbox/bootbox.min.js index a7ea24fe..a5d01a50 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootbox/bootbox.min.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootbox/bootbox.min.js @@ -1,6 +1,6 @@ -/** - * bootbox.js v4.3.0 - * - * http://bootboxjs.com/license.txt - */ +/** + * bootbox.js v4.3.0 + * + * http://bootboxjs.com/license.txt + */ !function(a,b){"use strict";"function"==typeof define&&define.amd?define(["jquery"],b):"object"==typeof exports?module.exports=b(require("jquery")):a.bootbox=b(a.jQuery)}(this,function a(b,c){"use strict";function d(a){var b=q[o.locale];return b?b[a]:q.en[a]}function e(a,c,d){a.stopPropagation(),a.preventDefault();var e=b.isFunction(d)&&d(a)===!1;e||c.modal("hide")}function f(a){var b,c=0;for(b in a)c++;return c}function g(a,c){var d=0;b.each(a,function(a,b){c(a,b,d++)})}function h(a){var c,d;if("object"!=typeof a)throw new Error("Please supply an object of options");if(!a.message)throw new Error("Please specify a message");return a=b.extend({},o,a),a.buttons||(a.buttons={}),a.backdrop=a.backdrop?"static":!1,c=a.buttons,d=f(c),g(c,function(a,e,f){if(b.isFunction(e)&&(e=c[a]={callback:e}),"object"!==b.type(e))throw new Error("button with key "+a+" must be an object");e.label||(e.label=a),e.className||(e.className=2>=d&&f===d-1?"btn-primary":"btn-default")}),a}function i(a,b){var c=a.length,d={};if(1>c||c>2)throw new Error("Invalid argument length");return 2===c||"string"==typeof a[0]?(d[b[0]]=a[0],d[b[1]]=a[1]):d=a[0],d}function j(a,c,d){return b.extend(!0,{},a,i(c,d))}function k(a,b,c,d){var e={className:"bootbox-"+a,buttons:l.apply(null,b)};return m(j(e,d,c),b)}function l(){for(var a={},b=0,c=arguments.length;c>b;b++){var e=arguments[b],f=e.toLowerCase(),g=e.toUpperCase();a[f]={label:d(g)}}return a}function m(a,b){var d={};return g(b,function(a,b){d[b]=!0}),g(a.buttons,function(a){if(d[a]===c)throw new Error("button key "+a+" is not allowed (options are "+b.join("\n")+")")}),a}var n={dialog:"",header:"",footer:"",closeButton:"",form:"
    ",inputs:{text:"",textarea:"",email:"",select:"",checkbox:"
    ",date:"",time:"",number:"",password:""}},o={locale:"en",backdrop:!0,animate:!0,className:null,closeButton:!0,show:!0,container:"body"},p={};p.alert=function(){var a;if(a=k("alert",["ok"],["message","callback"],arguments),a.callback&&!b.isFunction(a.callback))throw new Error("alert requires callback property to be a function when provided");return a.buttons.ok.callback=a.onEscape=function(){return b.isFunction(a.callback)?a.callback():!0},p.dialog(a)},p.confirm=function(){var a;if(a=k("confirm",["cancel","confirm"],["message","callback"],arguments),a.buttons.cancel.callback=a.onEscape=function(){return a.callback(!1)},a.buttons.confirm.callback=function(){return a.callback(!0)},!b.isFunction(a.callback))throw new Error("confirm requires a callback");return p.dialog(a)},p.prompt=function(){var a,d,e,f,h,i,k;if(f=b(n.form),d={className:"bootbox-prompt",buttons:l("cancel","confirm"),value:"",inputType:"text"},a=m(j(d,arguments,["title","callback"]),["cancel","confirm"]),i=a.show===c?!0:a.show,a.message=f,a.buttons.cancel.callback=a.onEscape=function(){return a.callback(null)},a.buttons.confirm.callback=function(){var c;switch(a.inputType){case"text":case"textarea":case"email":case"select":case"date":case"time":case"number":case"password":c=h.val();break;case"checkbox":var d=h.find("input:checked");c=[],g(d,function(a,d){c.push(b(d).val())})}return a.callback(c)},a.show=!1,!a.title)throw new Error("prompt requires a title");if(!b.isFunction(a.callback))throw new Error("prompt requires a callback");if(!n.inputs[a.inputType])throw new Error("invalid prompt type");switch(h=b(n.inputs[a.inputType]),a.inputType){case"text":case"textarea":case"email":case"date":case"time":case"number":case"password":h.val(a.value);break;case"select":var o={};if(k=a.inputOptions||[],!k.length)throw new Error("prompt with select requires options");g(k,function(a,d){var e=h;if(d.value===c||d.text===c)throw new Error("given options in wrong format");d.group&&(o[d.group]||(o[d.group]=b("").attr("label",d.group)),e=o[d.group]),e.append("")}),g(o,function(a,b){h.append(b)}),h.val(a.value);break;case"checkbox":var q=b.isArray(a.value)?a.value:[a.value];if(k=a.inputOptions||[],!k.length)throw new Error("prompt with checkbox requires options");if(!k[0].value||!k[0].text)throw new Error("given options in wrong format");h=b("
    "),g(k,function(c,d){var e=b(n.inputs[a.inputType]);e.find("input").attr("value",d.value),e.find("label").append(d.text),g(q,function(a,b){b===d.value&&e.find("input").prop("checked",!0)}),h.append(e)})}return a.placeholder&&h.attr("placeholder",a.placeholder),a.pattern&&h.attr("pattern",a.pattern),f.append(h),f.on("submit",function(a){a.preventDefault(),a.stopPropagation(),e.find(".btn-primary").click()}),e=p.dialog(a),e.off("shown.bs.modal"),e.on("shown.bs.modal",function(){h.focus()}),i===!0&&e.modal("show"),e},p.dialog=function(a){a=h(a);var c=b(n.dialog),d=c.find(".modal-dialog"),f=c.find(".modal-body"),i=a.buttons,j="",k={onEscape:a.onEscape};if(g(i,function(a,b){j+="",k[a]=b.callback}),f.find(".bootbox-body").html(a.message),a.animate===!0&&c.addClass("fade"),a.className&&c.addClass(a.className),"large"===a.size&&d.addClass("modal-lg"),"small"===a.size&&d.addClass("modal-sm"),a.title&&f.before(n.header),a.closeButton){var l=b(n.closeButton);a.title?c.find(".modal-header").prepend(l):l.css("margin-top","-10px").prependTo(f)}return a.title&&c.find(".modal-title").html(a.title),j.length&&(f.after(n.footer),c.find(".modal-footer").html(j)),c.on("hidden.bs.modal",function(a){a.target===this&&c.remove()}),c.on("shown.bs.modal",function(){c.find(".btn-primary:first").focus()}),c.on("escape.close.bb",function(a){k.onEscape&&e(a,c,k.onEscape)}),c.on("click",".modal-footer button",function(a){var d=b(this).data("bb-handler");e(a,c,k[d])}),c.on("click",".bootbox-close-button",function(a){e(a,c,k.onEscape)}),c.on("keyup",function(a){27===a.which&&c.trigger("escape.close.bb")}),b(a.container).append(c),c.modal({backdrop:a.backdrop,keyboard:!1,show:!1}),a.show&&c.modal("show"),c},p.setDefaults=function(){var a={};2===arguments.length?a[arguments[0]]=arguments[1]:a=arguments[0],b.extend(o,a)},p.hideAll=function(){return b(".bootbox").modal("hide"),p};var q={br:{OK:"OK",CANCEL:"Cancelar",CONFIRM:"Sim"},cs:{OK:"OK",CANCEL:"Zrušit",CONFIRM:"Potvrdit"},da:{OK:"OK",CANCEL:"Annuller",CONFIRM:"Accepter"},de:{OK:"OK",CANCEL:"Abbrechen",CONFIRM:"Akzeptieren"},el:{OK:"Εντάξει",CANCEL:"Ακύρωση",CONFIRM:"Επιβεβαίωση"},en:{OK:"OK",CANCEL:"Cancel",CONFIRM:"OK"},es:{OK:"OK",CANCEL:"Cancelar",CONFIRM:"Aceptar"},et:{OK:"OK",CANCEL:"Katkesta",CONFIRM:"OK"},fi:{OK:"OK",CANCEL:"Peruuta",CONFIRM:"OK"},fr:{OK:"OK",CANCEL:"Annuler",CONFIRM:"D'accord"},he:{OK:"אישור",CANCEL:"ביטול",CONFIRM:"אישור"},id:{OK:"OK",CANCEL:"Batal",CONFIRM:"OK"},it:{OK:"OK",CANCEL:"Annulla",CONFIRM:"Conferma"},ja:{OK:"OK",CANCEL:"キャンセル",CONFIRM:"確認"},lt:{OK:"Gerai",CANCEL:"Atšaukti",CONFIRM:"Patvirtinti"},lv:{OK:"Labi",CANCEL:"Atcelt",CONFIRM:"Apstiprināt"},nl:{OK:"OK",CANCEL:"Annuleren",CONFIRM:"Accepteren"},no:{OK:"OK",CANCEL:"Avbryt",CONFIRM:"OK"},pl:{OK:"OK",CANCEL:"Anuluj",CONFIRM:"Potwierdź"},pt:{OK:"OK",CANCEL:"Cancelar",CONFIRM:"Confirmar"},ru:{OK:"OK",CANCEL:"Отмена",CONFIRM:"Применить"},sv:{OK:"OK",CANCEL:"Avbryt",CONFIRM:"OK"},tr:{OK:"Tamam",CANCEL:"İptal",CONFIRM:"Onayla"},zh_CN:{OK:"OK",CANCEL:"取消",CONFIRM:"确认"},zh_TW:{OK:"OK",CANCEL:"取消",CONFIRM:"確認"}};return p.init=function(c){return a(c||b)},p}); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-daterangepicker/daterangepicker-bs3.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-daterangepicker/daterangepicker-bs3.css index 71111cf7..8df7b075 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-daterangepicker/daterangepicker-bs3.css +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-daterangepicker/daterangepicker-bs3.css @@ -1,319 +1,319 @@ -/*! - * Stylesheet for the Date Range Picker, for use with Bootstrap 3.x - * - * Copyright 2013-2015 Dan Grossman ( http://www.dangrossman.info ) - * Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php - * - * Built for http://www.improvely.com - */ - - .daterangepicker.dropdown-menu { - max-width: none; - z-index: 3000; -} - -.daterangepicker.opensleft .ranges, .daterangepicker.opensleft .calendar { - float: left; - margin: 4px; -} - -.daterangepicker.opensright .ranges, .daterangepicker.opensright .calendar, -.daterangepicker.openscenter .ranges, .daterangepicker.openscenter .calendar { - float: right; - margin: 4px; -} - -.daterangepicker.single .ranges, .daterangepicker.single .calendar { - float: none; -} - -.daterangepicker .ranges { - width: 165px; - text-align: left; -} - -.daterangepicker .ranges .range_inputs>div { - float: left; -} - -.daterangepicker .ranges .range_inputs>div:nth-child(2) { - padding-left: 11px; -} - -.daterangepicker .calendar { - display: none; - max-width: 270px; -} - -.daterangepicker.show-calendar .calendar { - display: block; -} - -.daterangepicker .calendar.single .calendar-date { - border: none; -} - -.daterangepicker .calendar th, .daterangepicker .calendar td { - font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; - white-space: nowrap; - text-align: center; - min-width: 32px; -} - -.daterangepicker .daterangepicker_start_input label, -.daterangepicker .daterangepicker_end_input label { - color: #333; - display: block; - font-size: 11px; - font-weight: normal; - height: 20px; - line-height: 20px; - margin-bottom: 2px; - text-shadow: #fff 1px 1px 0px; - text-transform: uppercase; - width: 74px; -} - -.daterangepicker .ranges input { - font-size: 11px; -} - -.daterangepicker .ranges .input-mini { - border: 1px solid #ccc; - border-radius: 4px; - color: #555; - display: block; - font-size: 11px; - height: 30px; - line-height: 30px; - vertical-align: middle; - margin: 0 0 10px 0; - padding: 0 6px; - width: 77px; -} - -.daterangepicker .ranges ul { - list-style: none; - margin: 0; - padding: 0; -} - -.daterangepicker .ranges li { - font-size: 13px; - background: #f5f5f5; - border: 1px solid #f5f5f5; - color: #08c; - padding: 3px 12px; - margin-bottom: 8px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - cursor: pointer; -} - -.daterangepicker .ranges li.active, .daterangepicker .ranges li:hover { - background: #08c; - border: 1px solid #08c; - color: #fff; -} - -.daterangepicker .calendar-date { - border: 1px solid #ddd; - padding: 4px; - border-radius: 4px; - background: #fff; -} - -.daterangepicker .calendar-time { - text-align: center; - margin: 8px auto 0 auto; - line-height: 30px; -} - -.daterangepicker { - position: absolute; - background: #fff; - top: 100px; - left: 20px; - padding: 4px; - margin-top: 1px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} - -.daterangepicker.opensleft:before { - position: absolute; - top: -7px; - right: 9px; - display: inline-block; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-left: 7px solid transparent; - border-bottom-color: rgba(0, 0, 0, 0.2); - content: ''; -} - -.daterangepicker.opensleft:after { - position: absolute; - top: -6px; - right: 10px; - display: inline-block; - border-right: 6px solid transparent; - border-bottom: 6px solid #fff; - border-left: 6px solid transparent; - content: ''; -} - -.daterangepicker.openscenter:before { - position: absolute; - top: -7px; - left: 0; - right: 0; - width: 0; - margin-left: auto; - margin-right: auto; - display: inline-block; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-left: 7px solid transparent; - border-bottom-color: rgba(0, 0, 0, 0.2); - content: ''; -} - -.daterangepicker.openscenter:after { - position: absolute; - top: -6px; - left: 0; - right: 0; - width: 0; - margin-left: auto; - margin-right: auto; - display: inline-block; - border-right: 6px solid transparent; - border-bottom: 6px solid #fff; - border-left: 6px solid transparent; - content: ''; -} - -.daterangepicker.opensright:before { - position: absolute; - top: -7px; - left: 9px; - display: inline-block; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-left: 7px solid transparent; - border-bottom-color: rgba(0, 0, 0, 0.2); - content: ''; -} - -.daterangepicker.opensright:after { - position: absolute; - top: -6px; - left: 10px; - display: inline-block; - border-right: 6px solid transparent; - border-bottom: 6px solid #fff; - border-left: 6px solid transparent; - content: ''; -} - -.daterangepicker table { - width: 100%; - margin: 0; -} - -.daterangepicker td, .daterangepicker th { - text-align: center; - width: 20px; - height: 20px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - cursor: pointer; - white-space: nowrap; -} - -.daterangepicker td.off { - color: #999; -} - -.daterangepicker td.disabled, .daterangepicker option.disabled { - color: #999; -} - -.daterangepicker td.available:hover, .daterangepicker th.available:hover { - background: #eee; -} - -.daterangepicker td.in-range { - background: #ebf4f8; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} - -.daterangepicker td.start-date { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} - -.daterangepicker td.end-date { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} - -.daterangepicker td.start-date.end-date { - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} - -.daterangepicker td.active, .daterangepicker td.active:hover { - background-color: #357ebd; - border-color: #3071a9; - color: #fff; -} - -.daterangepicker td.week, .daterangepicker th.week { - font-size: 80%; - color: #ccc; -} - -.daterangepicker select.monthselect, .daterangepicker select.yearselect { - font-size: 12px; - padding: 1px; - height: auto; - margin: 0; - cursor: default; -} - -.daterangepicker select.monthselect { - margin-right: 2%; - width: 56%; -} - -.daterangepicker select.yearselect { - width: 40%; -} - -.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.secondselect, .daterangepicker select.ampmselect { - width: 50px; - margin-bottom: 0; -} - -.daterangepicker_start_input { - float: left; -} - -.daterangepicker_end_input { - float: left; - padding-left: 11px -} - -.daterangepicker th.month { - width: auto; -} +/*! + * Stylesheet for the Date Range Picker, for use with Bootstrap 3.x + * + * Copyright 2013-2015 Dan Grossman ( http://www.dangrossman.info ) + * Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php + * + * Built for http://www.improvely.com + */ + + .daterangepicker.dropdown-menu { + max-width: none; + z-index: 3000; +} + +.daterangepicker.opensleft .ranges, .daterangepicker.opensleft .calendar { + float: left; + margin: 4px; +} + +.daterangepicker.opensright .ranges, .daterangepicker.opensright .calendar, +.daterangepicker.openscenter .ranges, .daterangepicker.openscenter .calendar { + float: right; + margin: 4px; +} + +.daterangepicker.single .ranges, .daterangepicker.single .calendar { + float: none; +} + +.daterangepicker .ranges { + width: 165px; + text-align: left; +} + +.daterangepicker .ranges .range_inputs>div { + float: left; +} + +.daterangepicker .ranges .range_inputs>div:nth-child(2) { + padding-left: 11px; +} + +.daterangepicker .calendar { + display: none; + max-width: 270px; +} + +.daterangepicker.show-calendar .calendar { + display: block; +} + +.daterangepicker .calendar.single .calendar-date { + border: none; +} + +.daterangepicker .calendar th, .daterangepicker .calendar td { + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; + white-space: nowrap; + text-align: center; + min-width: 32px; +} + +.daterangepicker .daterangepicker_start_input label, +.daterangepicker .daterangepicker_end_input label { + color: #333; + display: block; + font-size: 11px; + font-weight: normal; + height: 20px; + line-height: 20px; + margin-bottom: 2px; + text-shadow: #fff 1px 1px 0px; + text-transform: uppercase; + width: 74px; +} + +.daterangepicker .ranges input { + font-size: 11px; +} + +.daterangepicker .ranges .input-mini { + border: 1px solid #ccc; + border-radius: 4px; + color: #555; + display: block; + font-size: 11px; + height: 30px; + line-height: 30px; + vertical-align: middle; + margin: 0 0 10px 0; + padding: 0 6px; + width: 77px; +} + +.daterangepicker .ranges ul { + list-style: none; + margin: 0; + padding: 0; +} + +.daterangepicker .ranges li { + font-size: 13px; + background: #f5f5f5; + border: 1px solid #f5f5f5; + color: #08c; + padding: 3px 12px; + margin-bottom: 8px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + cursor: pointer; +} + +.daterangepicker .ranges li.active, .daterangepicker .ranges li:hover { + background: #08c; + border: 1px solid #08c; + color: #fff; +} + +.daterangepicker .calendar-date { + border: 1px solid #ddd; + padding: 4px; + border-radius: 4px; + background: #fff; +} + +.daterangepicker .calendar-time { + text-align: center; + margin: 8px auto 0 auto; + line-height: 30px; +} + +.daterangepicker { + position: absolute; + background: #fff; + top: 100px; + left: 20px; + padding: 4px; + margin-top: 1px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.daterangepicker.opensleft:before { + position: absolute; + top: -7px; + right: 9px; + display: inline-block; + border-right: 7px solid transparent; + border-bottom: 7px solid #ccc; + border-left: 7px solid transparent; + border-bottom-color: rgba(0, 0, 0, 0.2); + content: ''; +} + +.daterangepicker.opensleft:after { + position: absolute; + top: -6px; + right: 10px; + display: inline-block; + border-right: 6px solid transparent; + border-bottom: 6px solid #fff; + border-left: 6px solid transparent; + content: ''; +} + +.daterangepicker.openscenter:before { + position: absolute; + top: -7px; + left: 0; + right: 0; + width: 0; + margin-left: auto; + margin-right: auto; + display: inline-block; + border-right: 7px solid transparent; + border-bottom: 7px solid #ccc; + border-left: 7px solid transparent; + border-bottom-color: rgba(0, 0, 0, 0.2); + content: ''; +} + +.daterangepicker.openscenter:after { + position: absolute; + top: -6px; + left: 0; + right: 0; + width: 0; + margin-left: auto; + margin-right: auto; + display: inline-block; + border-right: 6px solid transparent; + border-bottom: 6px solid #fff; + border-left: 6px solid transparent; + content: ''; +} + +.daterangepicker.opensright:before { + position: absolute; + top: -7px; + left: 9px; + display: inline-block; + border-right: 7px solid transparent; + border-bottom: 7px solid #ccc; + border-left: 7px solid transparent; + border-bottom-color: rgba(0, 0, 0, 0.2); + content: ''; +} + +.daterangepicker.opensright:after { + position: absolute; + top: -6px; + left: 10px; + display: inline-block; + border-right: 6px solid transparent; + border-bottom: 6px solid #fff; + border-left: 6px solid transparent; + content: ''; +} + +.daterangepicker table { + width: 100%; + margin: 0; +} + +.daterangepicker td, .daterangepicker th { + text-align: center; + width: 20px; + height: 20px; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; + cursor: pointer; + white-space: nowrap; +} + +.daterangepicker td.off { + color: #999; +} + +.daterangepicker td.disabled, .daterangepicker option.disabled { + color: #999; +} + +.daterangepicker td.available:hover, .daterangepicker th.available:hover { + background: #eee; +} + +.daterangepicker td.in-range { + background: #ebf4f8; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0; +} + +.daterangepicker td.start-date { + -webkit-border-radius: 4px 0 0 4px; + -moz-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} + +.daterangepicker td.end-date { + -webkit-border-radius: 0 4px 4px 0; + -moz-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} + +.daterangepicker td.start-date.end-date { + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.daterangepicker td.active, .daterangepicker td.active:hover { + background-color: #357ebd; + border-color: #3071a9; + color: #fff; +} + +.daterangepicker td.week, .daterangepicker th.week { + font-size: 80%; + color: #ccc; +} + +.daterangepicker select.monthselect, .daterangepicker select.yearselect { + font-size: 12px; + padding: 1px; + height: auto; + margin: 0; + cursor: default; +} + +.daterangepicker select.monthselect { + margin-right: 2%; + width: 56%; +} + +.daterangepicker select.yearselect { + width: 40%; +} + +.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.secondselect, .daterangepicker select.ampmselect { + width: 50px; + margin-bottom: 0; +} + +.daterangepicker_start_input { + float: left; +} + +.daterangepicker_end_input { + float: left; + padding-left: 11px +} + +.daterangepicker th.month { + width: auto; +} diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-daterangepicker/daterangepicker.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-daterangepicker/daterangepicker.js index c24c0ad6..e2bc86d7 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-daterangepicker/daterangepicker.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-daterangepicker/daterangepicker.js @@ -1,1257 +1,1257 @@ -/** -* @version: 1.3.17 -* @author: Dan Grossman http://www.dangrossman.info/ -* @date: 2014-11-25 -* @copyright: Copyright (c) 2012-2014 Dan Grossman. All rights reserved. -* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php -* @website: http://www.improvely.com/ -*/ - -(function(root, factory) { - - if (typeof define === 'function' && define.amd) { - define(['moment', 'jquery', 'exports'], function(momentjs, $, exports) { - root.daterangepicker = factory(root, exports, momentjs, $); - }); - - } else if (typeof exports !== 'undefined') { - var momentjs = require('moment'); - var jQuery; - try { - jQuery = require('jquery'); - } catch (err) { - jQuery = window.jQuery; - if (!jQuery) throw new Error('jQuery dependency not found'); - } - - factory(root, exports, momentjs, jQuery); - - // Finally, as a browser global. - } else { - root.daterangepicker = factory(root, {}, root.moment, (root.jQuery || root.Zepto || root.ender || root.$)); - } - -}(this, function(root, daterangepicker, moment, $) { - - var DateRangePicker = function (element, options, cb) { - - // by default, the daterangepicker element is placed at the bottom of HTML body - this.parentEl = 'body'; - - //element that triggered the date range picker - this.element = $(element); - - //tracks visible state - this.isShowing = false; - - //create the picker HTML object - var DRPTemplate = ''; - - //custom options - if (typeof options !== 'object' || options === null) - options = {}; - - this.parentEl = (typeof options === 'object' && options.parentEl && $(options.parentEl).length) ? $(options.parentEl) : $(this.parentEl); - this.container = $(DRPTemplate).appendTo(this.parentEl); - - this.setOptions(options, cb); - - //apply CSS classes and labels to buttons - var c = this.container; - $.each(this.buttonClasses, function (idx, val) { - c.find('button').addClass(val); - }); - this.container.find('.daterangepicker_start_input label').html(this.locale.fromLabel); - this.container.find('.daterangepicker_end_input label').html(this.locale.toLabel); - if (this.applyClass.length) - this.container.find('.applyBtn').addClass(this.applyClass); - if (this.cancelClass.length) - this.container.find('.cancelBtn').addClass(this.cancelClass); - this.container.find('.applyBtn').html(this.locale.applyLabel); - this.container.find('.cancelBtn').html(this.locale.cancelLabel); - - //event listeners - - this.container.find('.calendar') - .on('click.daterangepicker', '.prev', $.proxy(this.clickPrev, this)) - .on('click.daterangepicker', '.next', $.proxy(this.clickNext, this)) - .on('click.daterangepicker', 'td.available', $.proxy(this.clickDate, this)) - .on('mouseenter.daterangepicker', 'td.available', $.proxy(this.hoverDate, this)) - .on('mouseleave.daterangepicker', 'td.available', $.proxy(this.updateFormInputs, this)) - .on('change.daterangepicker', 'select.yearselect', $.proxy(this.updateMonthYear, this)) - .on('change.daterangepicker', 'select.monthselect', $.proxy(this.updateMonthYear, this)) - .on('change.daterangepicker', 'select.hourselect,select.minuteselect,select.secondselect,select.ampmselect', $.proxy(this.updateTime, this)); - - this.container.find('.ranges') - .on('click.daterangepicker', 'button.applyBtn', $.proxy(this.clickApply, this)) - .on('click.daterangepicker', 'button.cancelBtn', $.proxy(this.clickCancel, this)) - .on('click.daterangepicker', '.daterangepicker_start_input,.daterangepicker_end_input', $.proxy(this.showCalendars, this)) - .on('change.daterangepicker', '.daterangepicker_start_input,.daterangepicker_end_input', $.proxy(this.inputsChanged, this)) - .on('keydown.daterangepicker', '.daterangepicker_start_input,.daterangepicker_end_input', $.proxy(this.inputsKeydown, this)) - .on('click.daterangepicker', 'li', $.proxy(this.clickRange, this)) - .on('mouseenter.daterangepicker', 'li', $.proxy(this.enterRange, this)) - .on('mouseleave.daterangepicker', 'li', $.proxy(this.updateFormInputs, this)); - - if (this.element.is('input')) { - this.element.on({ - 'click.daterangepicker': $.proxy(this.show, this), - 'focus.daterangepicker': $.proxy(this.show, this), - 'keyup.daterangepicker': $.proxy(this.updateFromControl, this) - }); - } else { - this.element.on('click.daterangepicker', $.proxy(this.toggle, this)); - } - - }; - - DateRangePicker.prototype = { - - constructor: DateRangePicker, - - setOptions: function(options, callback) { - - this.startDate = moment().startOf('day'); - this.endDate = moment().endOf('day'); - this.timeZone = moment().zone(); - this.minDate = false; - this.maxDate = false; - this.dateLimit = false; - - this.showDropdowns = false; - this.showWeekNumbers = false; - this.timePicker = false; - this.timePickerSeconds = false; - this.timePickerIncrement = 30; - this.timePicker12Hour = true; - this.singleDatePicker = false; - this.ranges = {}; - - this.opens = 'right'; - if (this.element.hasClass('pull-right')) - this.opens = 'left'; - - this.buttonClasses = ['btn', 'btn-small btn-sm']; - this.applyClass = 'btn-success'; - this.cancelClass = 'btn-default'; - - this.format = 'MM/DD/YYYY'; - this.separator = ' - '; - - this.locale = { - applyLabel: 'Apply', - cancelLabel: 'Cancel', - fromLabel: 'From', - toLabel: 'To', - weekLabel: 'W', - customRangeLabel: 'Custom Range', - daysOfWeek: moment.weekdaysMin(), - monthNames: moment.monthsShort(), - firstDay: moment.localeData()._week.dow - }; - - this.cb = function () { }; - - if (typeof options.format === 'string') - this.format = options.format; - - if (typeof options.separator === 'string') - this.separator = options.separator; - - if (typeof options.startDate === 'string') - this.startDate = moment(options.startDate, this.format); - - if (typeof options.endDate === 'string') - this.endDate = moment(options.endDate, this.format); - - if (typeof options.minDate === 'string') - this.minDate = moment(options.minDate, this.format); - - if (typeof options.maxDate === 'string') - this.maxDate = moment(options.maxDate, this.format); - - if (typeof options.startDate === 'object') - this.startDate = moment(options.startDate); - - if (typeof options.endDate === 'object') - this.endDate = moment(options.endDate); - - if (typeof options.minDate === 'object') - this.minDate = moment(options.minDate); - - if (typeof options.maxDate === 'object') - this.maxDate = moment(options.maxDate); - - if (typeof options.applyClass === 'string') - this.applyClass = options.applyClass; - - if (typeof options.cancelClass === 'string') - this.cancelClass = options.cancelClass; - - if (typeof options.dateLimit === 'object') - this.dateLimit = options.dateLimit; - - if (typeof options.locale === 'object') { - - if (typeof options.locale.daysOfWeek === 'object') { - // Create a copy of daysOfWeek to avoid modification of original - // options object for reusability in multiple daterangepicker instances - this.locale.daysOfWeek = options.locale.daysOfWeek.slice(); - } - - if (typeof options.locale.monthNames === 'object') { - this.locale.monthNames = options.locale.monthNames.slice(); - } - - if (typeof options.locale.firstDay === 'number') { - this.locale.firstDay = options.locale.firstDay; - } - - if (typeof options.locale.applyLabel === 'string') { - this.locale.applyLabel = options.locale.applyLabel; - } - - if (typeof options.locale.cancelLabel === 'string') { - this.locale.cancelLabel = options.locale.cancelLabel; - } - - if (typeof options.locale.fromLabel === 'string') { - this.locale.fromLabel = options.locale.fromLabel; - } - - if (typeof options.locale.toLabel === 'string') { - this.locale.toLabel = options.locale.toLabel; - } - - if (typeof options.locale.weekLabel === 'string') { - this.locale.weekLabel = options.locale.weekLabel; - } - - if (typeof options.locale.customRangeLabel === 'string') { - this.locale.customRangeLabel = options.locale.customRangeLabel; - } - } - - if (typeof options.opens === 'string') - this.opens = options.opens; - - if (typeof options.showWeekNumbers === 'boolean') { - this.showWeekNumbers = options.showWeekNumbers; - } - - if (typeof options.buttonClasses === 'string') { - this.buttonClasses = [options.buttonClasses]; - } - - if (typeof options.buttonClasses === 'object') { - this.buttonClasses = options.buttonClasses; - } - - if (typeof options.showDropdowns === 'boolean') { - this.showDropdowns = options.showDropdowns; - } - - if (typeof options.singleDatePicker === 'boolean') { - this.singleDatePicker = options.singleDatePicker; - if (this.singleDatePicker) { - this.endDate = this.startDate.clone(); - } - } - - if (typeof options.timePicker === 'boolean') { - this.timePicker = options.timePicker; - } - - if (typeof options.timePickerSeconds === 'boolean') { - this.timePickerSeconds = options.timePickerSeconds; - } - - if (typeof options.timePickerIncrement === 'number') { - this.timePickerIncrement = options.timePickerIncrement; - } - - if (typeof options.timePicker12Hour === 'boolean') { - this.timePicker12Hour = options.timePicker12Hour; - } - - // update day names order to firstDay - if (this.locale.firstDay != 0) { - var iterator = this.locale.firstDay; - while (iterator > 0) { - this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()); - iterator--; - } - } - - var start, end, range; - - //if no start/end dates set, check if an input element contains initial values - if (typeof options.startDate === 'undefined' && typeof options.endDate === 'undefined') { - if ($(this.element).is('input[type=text]')) { - var val = $(this.element).val(), - split = val.split(this.separator); - - start = end = null; - - if (split.length == 2) { - start = moment(split[0], this.format); - end = moment(split[1], this.format); - } else if (this.singleDatePicker && val !== "") { - start = moment(val, this.format); - end = moment(val, this.format); - } - if (start !== null && end !== null) { - this.startDate = start; - this.endDate = end; - } - } - } - - // bind the time zone used to build the calendar to either the timeZone passed in through the options or the zone of the startDate (which will be the local time zone by default) - if (typeof options.timeZone === 'string' || typeof options.timeZone === 'number') { - this.timeZone = options.timeZone; - this.startDate.zone(this.timeZone); - this.endDate.zone(this.timeZone); - } else { - this.timeZone = moment(this.startDate).zone(); - } - - if (typeof options.ranges === 'object') { - for (range in options.ranges) { - - if (typeof options.ranges[range][0] === 'string') - start = moment(options.ranges[range][0], this.format); - else - start = moment(options.ranges[range][0]); - - if (typeof options.ranges[range][1] === 'string') - end = moment(options.ranges[range][1], this.format); - else - end = moment(options.ranges[range][1]); - - // If we have a min/max date set, bound this range - // to it, but only if it would otherwise fall - // outside of the min/max. - if (this.minDate && start.isBefore(this.minDate)) - start = moment(this.minDate); - - if (this.maxDate && end.isAfter(this.maxDate)) - end = moment(this.maxDate); - - // If the end of the range is before the minimum (if min is set) OR - // the start of the range is after the max (also if set) don't display this - // range option. - if ((this.minDate && end.isBefore(this.minDate)) || (this.maxDate && start.isAfter(this.maxDate))) { - continue; - } - - this.ranges[range] = [start, end]; - } - - var list = '
      '; - for (range in this.ranges) { - list += '
    • ' + range + '
    • '; - } - list += '
    • ' + this.locale.customRangeLabel + '
    • '; - list += '
    '; - this.container.find('.ranges ul').remove(); - this.container.find('.ranges').prepend(list); - } - - if (typeof callback === 'function') { - this.cb = callback; - } - - if (!this.timePicker) { - this.startDate = this.startDate.startOf('day'); - this.endDate = this.endDate.endOf('day'); - } - - if (this.singleDatePicker) { - this.opens = 'right'; - this.container.addClass('single'); - this.container.find('.calendar.right').show(); - this.container.find('.calendar.left').hide(); - if (!this.timePicker) { - this.container.find('.ranges').hide(); - } else { - this.container.find('.ranges .daterangepicker_start_input, .ranges .daterangepicker_end_input').hide(); - } - if (!this.container.find('.calendar.right').hasClass('single')) - this.container.find('.calendar.right').addClass('single'); - } else { - this.container.removeClass('single'); - this.container.find('.calendar.right').removeClass('single'); - this.container.find('.ranges').show(); - } - - this.oldStartDate = this.startDate.clone(); - this.oldEndDate = this.endDate.clone(); - this.oldChosenLabel = this.chosenLabel; - - this.leftCalendar = { - month: moment([this.startDate.year(), this.startDate.month(), 1, this.startDate.hour(), this.startDate.minute(), this.startDate.second()]), - calendar: [] - }; - - this.rightCalendar = { - month: moment([this.endDate.year(), this.endDate.month(), 1, this.endDate.hour(), this.endDate.minute(), this.endDate.second()]), - calendar: [] - }; - - if (this.opens == 'right' || this.opens == 'center') { - //swap calendar positions - var first = this.container.find('.calendar.first'); - var second = this.container.find('.calendar.second'); - - if (second.hasClass('single')) { - second.removeClass('single'); - first.addClass('single'); - } - - first.removeClass('left').addClass('right'); - second.removeClass('right').addClass('left'); - - if (this.singleDatePicker) { - first.show(); - second.hide(); - } - } - - if (typeof options.ranges === 'undefined' && !this.singleDatePicker) { - this.container.addClass('show-calendar'); - } - - this.container.addClass('opens' + this.opens); - - this.updateView(); - this.updateCalendars(); - - }, - - setStartDate: function(startDate) { - if (typeof startDate === 'string') - this.startDate = moment(startDate, this.format).zone(this.timeZone); - - if (typeof startDate === 'object') - this.startDate = moment(startDate); - - if (!this.timePicker) - this.startDate = this.startDate.startOf('day'); - - this.oldStartDate = this.startDate.clone(); - - this.updateView(); - this.updateCalendars(); - this.updateInputText(); - }, - - setEndDate: function(endDate) { - if (typeof endDate === 'string') - this.endDate = moment(endDate, this.format).zone(this.timeZone); - - if (typeof endDate === 'object') - this.endDate = moment(endDate); - - if (!this.timePicker) - this.endDate = this.endDate.endOf('day'); - - this.oldEndDate = this.endDate.clone(); - - this.updateView(); - this.updateCalendars(); - this.updateInputText(); - }, - - updateView: function () { - this.leftCalendar.month.month(this.startDate.month()).year(this.startDate.year()).hour(this.startDate.hour()).minute(this.startDate.minute()); - this.rightCalendar.month.month(this.endDate.month()).year(this.endDate.year()).hour(this.endDate.hour()).minute(this.endDate.minute()); - this.updateFormInputs(); - }, - - updateFormInputs: function () { - this.container.find('input[name=daterangepicker_start]').val(this.startDate.format(this.format)); - this.container.find('input[name=daterangepicker_end]').val(this.endDate.format(this.format)); - - if (this.startDate.isSame(this.endDate) || this.startDate.isBefore(this.endDate)) { - this.container.find('button.applyBtn').removeAttr('disabled'); - } else { - this.container.find('button.applyBtn').attr('disabled', 'disabled'); - } - }, - - updateFromControl: function () { - if (!this.element.is('input')) return; - if (!this.element.val().length) return; - - var dateString = this.element.val().split(this.separator), - start = null, - end = null; - - if(dateString.length === 2) { - start = moment(dateString[0], this.format).zone(this.timeZone); - end = moment(dateString[1], this.format).zone(this.timeZone); - } - - if (this.singleDatePicker || start === null || end === null) { - start = moment(this.element.val(), this.format).zone(this.timeZone); - end = start; - } - - if (end.isBefore(start)) return; - - this.oldStartDate = this.startDate.clone(); - this.oldEndDate = this.endDate.clone(); - - this.startDate = start; - this.endDate = end; - - if (!this.startDate.isSame(this.oldStartDate) || !this.endDate.isSame(this.oldEndDate)) - this.notify(); - - this.updateCalendars(); - }, - - notify: function () { - this.updateView(); - this.cb(this.startDate, this.endDate, this.chosenLabel); - }, - - move: function () { - var parentOffset = { top: 0, left: 0 }; - var parentRightEdge = $(window).width(); - if (!this.parentEl.is('body')) { - parentOffset = { - top: this.parentEl.offset().top - this.parentEl.scrollTop(), - left: this.parentEl.offset().left - this.parentEl.scrollLeft() - }; - parentRightEdge = this.parentEl[0].clientWidth + this.parentEl.offset().left; - } - - if (this.opens == 'left') { - this.container.css({ - top: this.element.offset().top + this.element.outerHeight() - parentOffset.top, - right: parentRightEdge - this.element.offset().left - this.element.outerWidth(), - left: 'auto' - }); - if (this.container.offset().left < 0) { - this.container.css({ - right: 'auto', - left: 9 - }); - } - } else if (this.opens == 'center') { - this.container.css({ - top: this.element.offset().top + this.element.outerHeight() - parentOffset.top, - left: this.element.offset().left - parentOffset.left + this.element.outerWidth() / 2 - - this.container.outerWidth() / 2, - right: 'auto' - }); - if (this.container.offset().left < 0) { - this.container.css({ - right: 'auto', - left: 9 - }); - } - } else { - this.container.css({ - top: this.element.offset().top + this.element.outerHeight() - parentOffset.top, - left: this.element.offset().left - parentOffset.left, - right: 'auto' - }); - if (this.container.offset().left + this.container.outerWidth() > $(window).width()) { - this.container.css({ - left: 'auto', - right: 0 - }); - } - } - }, - - toggle: function (e) { - if (this.element.hasClass('active')) { - this.hide(); - } else { - this.show(); - } - }, - - show: function (e) { - if (this.isShowing) return; - - this.element.addClass('active'); - this.container.show(); - this.move(); - - // Create a click proxy that is private to this instance of datepicker, for unbinding - this._outsideClickProxy = $.proxy(function (e) { this.outsideClick(e); }, this); - // Bind global datepicker mousedown for hiding and - $(document) - .on('mousedown.daterangepicker', this._outsideClickProxy) - // also support mobile devices - .on('touchend.daterangepicker', this._outsideClickProxy) - // also explicitly play nice with Bootstrap dropdowns, which stopPropagation when clicking them - .on('click.daterangepicker', '[data-toggle=dropdown]', this._outsideClickProxy) - // and also close when focus changes to outside the picker (eg. tabbing between controls) - .on('focusin.daterangepicker', this._outsideClickProxy); - - this.isShowing = true; - this.element.trigger('show.daterangepicker', this); - }, - - outsideClick: function (e) { - var target = $(e.target); - // if the page is clicked anywhere except within the daterangerpicker/button - // itself then call this.hide() - if ( - // ie modal dialog fix - e.type == "focusin" || - target.closest(this.element).length || - target.closest(this.container).length || - target.closest('.calendar-date').length - ) return; - this.hide(); - }, - - hide: function (e) { - if (!this.isShowing) return; - - $(document) - .off('.daterangepicker'); - - this.element.removeClass('active'); - this.container.hide(); - - if (!this.startDate.isSame(this.oldStartDate) || !this.endDate.isSame(this.oldEndDate)) - this.notify(); - - this.oldStartDate = this.startDate.clone(); - this.oldEndDate = this.endDate.clone(); - - this.isShowing = false; - this.element.trigger('hide.daterangepicker', this); - }, - - enterRange: function (e) { - // mouse pointer has entered a range label - var label = e.target.innerHTML; - if (label == this.locale.customRangeLabel) { - this.updateView(); - } else { - var dates = this.ranges[label]; - this.container.find('input[name=daterangepicker_start]').val(dates[0].format(this.format)); - this.container.find('input[name=daterangepicker_end]').val(dates[1].format(this.format)); - } - }, - - showCalendars: function() { - this.container.addClass('show-calendar'); - this.move(); - this.element.trigger('showCalendar.daterangepicker', this); - }, - - hideCalendars: function() { - this.container.removeClass('show-calendar'); - this.element.trigger('hideCalendar.daterangepicker', this); - }, - - // when a date is typed into the start to end date textboxes - inputsChanged: function (e) { - var el = $(e.target); - var date = moment(el.val(), this.format); - if (!date.isValid()) return; - - var startDate, endDate; - if (el.attr('name') === 'daterangepicker_start') { - startDate = date; - endDate = this.endDate; - } else { - startDate = this.startDate; - endDate = date; - } - this.setCustomDates(startDate, endDate); - }, - - inputsKeydown: function(e) { - if (e.keyCode === 13) { - this.inputsChanged(e); - this.notify(); - } - }, - - updateInputText: function() { - if (this.element.is('input') && !this.singleDatePicker) { - this.element.val(this.startDate.format(this.format) + this.separator + this.endDate.format(this.format)); - } else if (this.element.is('input')) { - this.element.val(this.endDate.format(this.format)); - } - }, - - clickRange: function (e) { - var label = e.target.innerHTML; - this.chosenLabel = label; - if (label == this.locale.customRangeLabel) { - this.showCalendars(); - } else { - var dates = this.ranges[label]; - - this.startDate = dates[0]; - this.endDate = dates[1]; - - if (!this.timePicker) { - this.startDate.startOf('day'); - this.endDate.endOf('day'); - } - - this.leftCalendar.month.month(this.startDate.month()).year(this.startDate.year()).hour(this.startDate.hour()).minute(this.startDate.minute()); - this.rightCalendar.month.month(this.endDate.month()).year(this.endDate.year()).hour(this.endDate.hour()).minute(this.endDate.minute()); - this.updateCalendars(); - - this.updateInputText(); - - this.hideCalendars(); - this.hide(); - this.element.trigger('apply.daterangepicker', this); - } - }, - - clickPrev: function (e) { - var cal = $(e.target).parents('.calendar'); - if (cal.hasClass('left')) { - this.leftCalendar.month.subtract(1, 'month'); - } else { - this.rightCalendar.month.subtract(1, 'month'); - } - this.updateCalendars(); - }, - - clickNext: function (e) { - var cal = $(e.target).parents('.calendar'); - if (cal.hasClass('left')) { - this.leftCalendar.month.add(1, 'month'); - } else { - this.rightCalendar.month.add(1, 'month'); - } - this.updateCalendars(); - }, - - hoverDate: function (e) { - var title = $(e.target).attr('data-title'); - var row = title.substr(1, 1); - var col = title.substr(3, 1); - var cal = $(e.target).parents('.calendar'); - - if (cal.hasClass('left')) { - this.container.find('input[name=daterangepicker_start]').val(this.leftCalendar.calendar[row][col].format(this.format)); - } else { - this.container.find('input[name=daterangepicker_end]').val(this.rightCalendar.calendar[row][col].format(this.format)); - } - }, - - setCustomDates: function(startDate, endDate) { - this.chosenLabel = this.locale.customRangeLabel; - if (startDate.isAfter(endDate)) { - var difference = this.endDate.diff(this.startDate); - endDate = moment(startDate).add(difference, 'ms'); - if (this.maxDate && endDate.isAfter(this.maxDate)) { - endDate = this.maxDate; - } - } - this.startDate = startDate; - this.endDate = endDate; - - this.updateView(); - this.updateCalendars(); - }, - - clickDate: function (e) { - var title = $(e.target).attr('data-title'); - var row = title.substr(1, 1); - var col = title.substr(3, 1); - var cal = $(e.target).parents('.calendar'); - - var startDate, endDate; - if (cal.hasClass('left')) { - startDate = this.leftCalendar.calendar[row][col]; - endDate = this.endDate; - if (typeof this.dateLimit === 'object') { - var maxDate = moment(startDate).add(this.dateLimit).startOf('day'); - if (endDate.isAfter(maxDate)) { - endDate = maxDate; - } - } - } else { - startDate = this.startDate; - endDate = this.rightCalendar.calendar[row][col]; - if (typeof this.dateLimit === 'object') { - var minDate = moment(endDate).subtract(this.dateLimit).startOf('day'); - if (startDate.isBefore(minDate)) { - startDate = minDate; - } - } - } - - if (this.singleDatePicker && cal.hasClass('left')) { - endDate = startDate.clone(); - } else if (this.singleDatePicker && cal.hasClass('right')) { - startDate = endDate.clone(); - } - - cal.find('td').removeClass('active'); - - $(e.target).addClass('active'); - - this.setCustomDates(startDate, endDate); - - if (!this.timePicker) - endDate.endOf('day'); - - if (this.singleDatePicker && !this.timePicker) - this.clickApply(); - }, - - clickApply: function (e) { - this.updateInputText(); - this.hide(); - this.element.trigger('apply.daterangepicker', this); - }, - - clickCancel: function (e) { - this.startDate = this.oldStartDate; - this.endDate = this.oldEndDate; - this.chosenLabel = this.oldChosenLabel; - this.updateView(); - this.updateCalendars(); - this.hide(); - this.element.trigger('cancel.daterangepicker', this); - }, - - updateMonthYear: function (e) { - var isLeft = $(e.target).closest('.calendar').hasClass('left'), - leftOrRight = isLeft ? 'left' : 'right', - cal = this.container.find('.calendar.'+leftOrRight); - - // Month must be Number for new moment versions - var month = parseInt(cal.find('.monthselect').val(), 10); - var year = cal.find('.yearselect').val(); - - this[leftOrRight+'Calendar'].month.month(month).year(year); - this.updateCalendars(); - }, - - updateTime: function(e) { - - var cal = $(e.target).closest('.calendar'), - isLeft = cal.hasClass('left'); - - var hour = parseInt(cal.find('.hourselect').val(), 10); - var minute = parseInt(cal.find('.minuteselect').val(), 10); - var second = 0; - - if (this.timePickerSeconds) { - second = parseInt(cal.find('.secondselect').val(), 10); - } - - if (this.timePicker12Hour) { - var ampm = cal.find('.ampmselect').val(); - if (ampm === 'PM' && hour < 12) - hour += 12; - if (ampm === 'AM' && hour === 12) - hour = 0; - } - - if (isLeft) { - var start = this.startDate.clone(); - start.hour(hour); - start.minute(minute); - start.second(second); - this.startDate = start; - this.leftCalendar.month.hour(hour).minute(minute).second(second); - if (this.singleDatePicker) - this.endDate = start.clone(); - } else { - var end = this.endDate.clone(); - end.hour(hour); - end.minute(minute); - end.second(second); - this.endDate = end; - if (this.singleDatePicker) - this.startDate = end.clone(); - this.rightCalendar.month.hour(hour).minute(minute).second(second); - } - - this.updateView(); - this.updateCalendars(); - }, - - updateCalendars: function () { - this.leftCalendar.calendar = this.buildCalendar(this.leftCalendar.month.month(), this.leftCalendar.month.year(), this.leftCalendar.month.hour(), this.leftCalendar.month.minute(), this.leftCalendar.month.second(), 'left'); - this.rightCalendar.calendar = this.buildCalendar(this.rightCalendar.month.month(), this.rightCalendar.month.year(), this.rightCalendar.month.hour(), this.rightCalendar.month.minute(), this.rightCalendar.month.second(), 'right'); - this.container.find('.calendar.left').empty().html(this.renderCalendar(this.leftCalendar.calendar, this.startDate, this.minDate, this.maxDate, 'left')); - this.container.find('.calendar.right').empty().html(this.renderCalendar(this.rightCalendar.calendar, this.endDate, this.singleDatePicker ? this.minDate : this.startDate, this.maxDate, 'right')); - - this.container.find('.ranges li').removeClass('active'); - var customRange = true; - var i = 0; - for (var range in this.ranges) { - if (this.timePicker) { - if (this.startDate.isSame(this.ranges[range][0]) && this.endDate.isSame(this.ranges[range][1])) { - customRange = false; - this.chosenLabel = this.container.find('.ranges li:eq(' + i + ')') - .addClass('active').html(); - } - } else { - //ignore times when comparing dates if time picker is not enabled - if (this.startDate.format('YYYY-MM-DD') == this.ranges[range][0].format('YYYY-MM-DD') && this.endDate.format('YYYY-MM-DD') == this.ranges[range][1].format('YYYY-MM-DD')) { - customRange = false; - this.chosenLabel = this.container.find('.ranges li:eq(' + i + ')') - .addClass('active').html(); - } - } - i++; - } - if (customRange) { - this.chosenLabel = this.container.find('.ranges li:last').addClass('active').html(); - this.showCalendars(); - } - }, - - buildCalendar: function (month, year, hour, minute, second, side) { - var daysInMonth = moment([year, month]).daysInMonth(); - var firstDay = moment([year, month, 1]); - var lastDay = moment([year, month, daysInMonth]); - var lastMonth = moment(firstDay).subtract(1, 'month').month(); - var lastYear = moment(firstDay).subtract(1, 'month').year(); - - var daysInLastMonth = moment([lastYear, lastMonth]).daysInMonth(); - - var dayOfWeek = firstDay.day(); - - var i; - - //initialize a 6 rows x 7 columns array for the calendar - var calendar = []; - calendar.firstDay = firstDay; - calendar.lastDay = lastDay; - - for (i = 0; i < 6; i++) { - calendar[i] = []; - } - - //populate the calendar with date objects - var startDay = daysInLastMonth - dayOfWeek + this.locale.firstDay + 1; - if (startDay > daysInLastMonth) - startDay -= 7; - - if (dayOfWeek == this.locale.firstDay) - startDay = daysInLastMonth - 6; - - var curDate = moment([lastYear, lastMonth, startDay, 12, minute, second]).zone(this.timeZone); - - var col, row; - for (i = 0, col = 0, row = 0; i < 42; i++, col++, curDate = moment(curDate).add(24, 'hour')) { - if (i > 0 && col % 7 === 0) { - col = 0; - row++; - } - calendar[row][col] = curDate.clone().hour(hour); - curDate.hour(12); - - if (this.minDate && calendar[row][col].format('YYYY-MM-DD') == this.minDate.format('YYYY-MM-DD') && calendar[row][col].isBefore(this.minDate) && side == 'left') { - calendar[row][col] = this.minDate.clone(); - } - - if (this.maxDate && calendar[row][col].format('YYYY-MM-DD') == this.maxDate.format('YYYY-MM-DD') && calendar[row][col].isAfter(this.maxDate) && side == 'right') { - calendar[row][col] = this.maxDate.clone(); - } - - } - - return calendar; - }, - - renderDropdowns: function (selected, minDate, maxDate) { - var currentMonth = selected.month(); - var currentYear = selected.year(); - var maxYear = (maxDate && maxDate.year()) || (currentYear + 5); - var minYear = (minDate && minDate.year()) || (currentYear - 50); - - var monthHtml = '"; - - var yearHtml = ''; - - return monthHtml + yearHtml; - }, - - renderCalendar: function (calendar, selected, minDate, maxDate, side) { - - var html = '
    '; - html += ''; - html += ''; - html += ''; - - // add empty cell for week number - if (this.showWeekNumbers) - html += ''; - - if (!minDate || minDate.isBefore(calendar.firstDay)) { - html += ''; - } else { - html += ''; - } - - var dateHtml = this.locale.monthNames[calendar[1][1].month()] + calendar[1][1].format(" YYYY"); - - if (this.showDropdowns) { - dateHtml = this.renderDropdowns(calendar[1][1], minDate, maxDate); - } - - html += ''; - if (!maxDate || maxDate.isAfter(calendar.lastDay)) { - html += ''; - } else { - html += ''; - } - - html += ''; - html += ''; - - // add week number label - if (this.showWeekNumbers) - html += ''; - - $.each(this.locale.daysOfWeek, function (index, dayOfWeek) { - html += ''; - }); - - html += ''; - html += ''; - html += ''; - - for (var row = 0; row < 6; row++) { - html += ''; - - // add week number - if (this.showWeekNumbers) - html += ''; - - for (var col = 0; col < 7; col++) { - var cname = 'available '; - cname += (calendar[row][col].month() == calendar[1][1].month()) ? '' : 'off'; - - if ((minDate && calendar[row][col].isBefore(minDate, 'day')) || (maxDate && calendar[row][col].isAfter(maxDate, 'day'))) { - cname = ' off disabled '; - } else if (calendar[row][col].format('YYYY-MM-DD') == selected.format('YYYY-MM-DD')) { - cname += ' active '; - if (calendar[row][col].format('YYYY-MM-DD') == this.startDate.format('YYYY-MM-DD')) { - cname += ' start-date '; - } - if (calendar[row][col].format('YYYY-MM-DD') == this.endDate.format('YYYY-MM-DD')) { - cname += ' end-date '; - } - } else if (calendar[row][col] >= this.startDate && calendar[row][col] <= this.endDate) { - cname += ' in-range '; - if (calendar[row][col].isSame(this.startDate)) { cname += ' start-date '; } - if (calendar[row][col].isSame(this.endDate)) { cname += ' end-date '; } - } - - var title = 'r' + row + 'c' + col; - html += ''; - } - html += ''; - } - - html += ''; - html += '
    ' + dateHtml + '
    ' + this.locale.weekLabel + '' + dayOfWeek + '
    ' + calendar[row][0].week() + '' + calendar[row][col].date() + '
    '; - html += '
    '; - - var i; - if (this.timePicker) { - - html += '
    '; - html += ' : '; - - html += ' '; - - if (this.timePickerSeconds) { - html += ': '; - } - - if (this.timePicker12Hour) { - html += ''; - } - - html += '
    '; - - } - - return html; - - }, - - remove: function() { - - this.container.remove(); - this.element.off('.daterangepicker'); - this.element.removeData('daterangepicker'); - - } - - }; - - $.fn.daterangepicker = function (options, cb) { - this.each(function () { - var el = $(this); - if (el.data('daterangepicker')) - el.data('daterangepicker').remove(); - el.data('daterangepicker', new DateRangePicker(el, options, cb)); - }); - return this; - }; - -})); +/** +* @version: 1.3.17 +* @author: Dan Grossman http://www.dangrossman.info/ +* @date: 2014-11-25 +* @copyright: Copyright (c) 2012-2014 Dan Grossman. All rights reserved. +* @license: Licensed under the MIT license. See http://www.opensource.org/licenses/mit-license.php +* @website: http://www.improvely.com/ +*/ + +(function(root, factory) { + + if (typeof define === 'function' && define.amd) { + define(['moment', 'jquery', 'exports'], function(momentjs, $, exports) { + root.daterangepicker = factory(root, exports, momentjs, $); + }); + + } else if (typeof exports !== 'undefined') { + var momentjs = require('moment'); + var jQuery; + try { + jQuery = require('jquery'); + } catch (err) { + jQuery = window.jQuery; + if (!jQuery) throw new Error('jQuery dependency not found'); + } + + factory(root, exports, momentjs, jQuery); + + // Finally, as a browser global. + } else { + root.daterangepicker = factory(root, {}, root.moment, (root.jQuery || root.Zepto || root.ender || root.$)); + } + +}(this, function(root, daterangepicker, moment, $) { + + var DateRangePicker = function (element, options, cb) { + + // by default, the daterangepicker element is placed at the bottom of HTML body + this.parentEl = 'body'; + + //element that triggered the date range picker + this.element = $(element); + + //tracks visible state + this.isShowing = false; + + //create the picker HTML object + var DRPTemplate = ''; + + //custom options + if (typeof options !== 'object' || options === null) + options = {}; + + this.parentEl = (typeof options === 'object' && options.parentEl && $(options.parentEl).length) ? $(options.parentEl) : $(this.parentEl); + this.container = $(DRPTemplate).appendTo(this.parentEl); + + this.setOptions(options, cb); + + //apply CSS classes and labels to buttons + var c = this.container; + $.each(this.buttonClasses, function (idx, val) { + c.find('button').addClass(val); + }); + this.container.find('.daterangepicker_start_input label').html(this.locale.fromLabel); + this.container.find('.daterangepicker_end_input label').html(this.locale.toLabel); + if (this.applyClass.length) + this.container.find('.applyBtn').addClass(this.applyClass); + if (this.cancelClass.length) + this.container.find('.cancelBtn').addClass(this.cancelClass); + this.container.find('.applyBtn').html(this.locale.applyLabel); + this.container.find('.cancelBtn').html(this.locale.cancelLabel); + + //event listeners + + this.container.find('.calendar') + .on('click.daterangepicker', '.prev', $.proxy(this.clickPrev, this)) + .on('click.daterangepicker', '.next', $.proxy(this.clickNext, this)) + .on('click.daterangepicker', 'td.available', $.proxy(this.clickDate, this)) + .on('mouseenter.daterangepicker', 'td.available', $.proxy(this.hoverDate, this)) + .on('mouseleave.daterangepicker', 'td.available', $.proxy(this.updateFormInputs, this)) + .on('change.daterangepicker', 'select.yearselect', $.proxy(this.updateMonthYear, this)) + .on('change.daterangepicker', 'select.monthselect', $.proxy(this.updateMonthYear, this)) + .on('change.daterangepicker', 'select.hourselect,select.minuteselect,select.secondselect,select.ampmselect', $.proxy(this.updateTime, this)); + + this.container.find('.ranges') + .on('click.daterangepicker', 'button.applyBtn', $.proxy(this.clickApply, this)) + .on('click.daterangepicker', 'button.cancelBtn', $.proxy(this.clickCancel, this)) + .on('click.daterangepicker', '.daterangepicker_start_input,.daterangepicker_end_input', $.proxy(this.showCalendars, this)) + .on('change.daterangepicker', '.daterangepicker_start_input,.daterangepicker_end_input', $.proxy(this.inputsChanged, this)) + .on('keydown.daterangepicker', '.daterangepicker_start_input,.daterangepicker_end_input', $.proxy(this.inputsKeydown, this)) + .on('click.daterangepicker', 'li', $.proxy(this.clickRange, this)) + .on('mouseenter.daterangepicker', 'li', $.proxy(this.enterRange, this)) + .on('mouseleave.daterangepicker', 'li', $.proxy(this.updateFormInputs, this)); + + if (this.element.is('input')) { + this.element.on({ + 'click.daterangepicker': $.proxy(this.show, this), + 'focus.daterangepicker': $.proxy(this.show, this), + 'keyup.daterangepicker': $.proxy(this.updateFromControl, this) + }); + } else { + this.element.on('click.daterangepicker', $.proxy(this.toggle, this)); + } + + }; + + DateRangePicker.prototype = { + + constructor: DateRangePicker, + + setOptions: function(options, callback) { + + this.startDate = moment().startOf('day'); + this.endDate = moment().endOf('day'); + this.timeZone = moment().zone(); + this.minDate = false; + this.maxDate = false; + this.dateLimit = false; + + this.showDropdowns = false; + this.showWeekNumbers = false; + this.timePicker = false; + this.timePickerSeconds = false; + this.timePickerIncrement = 30; + this.timePicker12Hour = true; + this.singleDatePicker = false; + this.ranges = {}; + + this.opens = 'right'; + if (this.element.hasClass('pull-right')) + this.opens = 'left'; + + this.buttonClasses = ['btn', 'btn-small btn-sm']; + this.applyClass = 'btn-success'; + this.cancelClass = 'btn-default'; + + this.format = 'MM/DD/YYYY'; + this.separator = ' - '; + + this.locale = { + applyLabel: 'Apply', + cancelLabel: 'Cancel', + fromLabel: 'From', + toLabel: 'To', + weekLabel: 'W', + customRangeLabel: 'Custom Range', + daysOfWeek: moment.weekdaysMin(), + monthNames: moment.monthsShort(), + firstDay: moment.localeData()._week.dow + }; + + this.cb = function () { }; + + if (typeof options.format === 'string') + this.format = options.format; + + if (typeof options.separator === 'string') + this.separator = options.separator; + + if (typeof options.startDate === 'string') + this.startDate = moment(options.startDate, this.format); + + if (typeof options.endDate === 'string') + this.endDate = moment(options.endDate, this.format); + + if (typeof options.minDate === 'string') + this.minDate = moment(options.minDate, this.format); + + if (typeof options.maxDate === 'string') + this.maxDate = moment(options.maxDate, this.format); + + if (typeof options.startDate === 'object') + this.startDate = moment(options.startDate); + + if (typeof options.endDate === 'object') + this.endDate = moment(options.endDate); + + if (typeof options.minDate === 'object') + this.minDate = moment(options.minDate); + + if (typeof options.maxDate === 'object') + this.maxDate = moment(options.maxDate); + + if (typeof options.applyClass === 'string') + this.applyClass = options.applyClass; + + if (typeof options.cancelClass === 'string') + this.cancelClass = options.cancelClass; + + if (typeof options.dateLimit === 'object') + this.dateLimit = options.dateLimit; + + if (typeof options.locale === 'object') { + + if (typeof options.locale.daysOfWeek === 'object') { + // Create a copy of daysOfWeek to avoid modification of original + // options object for reusability in multiple daterangepicker instances + this.locale.daysOfWeek = options.locale.daysOfWeek.slice(); + } + + if (typeof options.locale.monthNames === 'object') { + this.locale.monthNames = options.locale.monthNames.slice(); + } + + if (typeof options.locale.firstDay === 'number') { + this.locale.firstDay = options.locale.firstDay; + } + + if (typeof options.locale.applyLabel === 'string') { + this.locale.applyLabel = options.locale.applyLabel; + } + + if (typeof options.locale.cancelLabel === 'string') { + this.locale.cancelLabel = options.locale.cancelLabel; + } + + if (typeof options.locale.fromLabel === 'string') { + this.locale.fromLabel = options.locale.fromLabel; + } + + if (typeof options.locale.toLabel === 'string') { + this.locale.toLabel = options.locale.toLabel; + } + + if (typeof options.locale.weekLabel === 'string') { + this.locale.weekLabel = options.locale.weekLabel; + } + + if (typeof options.locale.customRangeLabel === 'string') { + this.locale.customRangeLabel = options.locale.customRangeLabel; + } + } + + if (typeof options.opens === 'string') + this.opens = options.opens; + + if (typeof options.showWeekNumbers === 'boolean') { + this.showWeekNumbers = options.showWeekNumbers; + } + + if (typeof options.buttonClasses === 'string') { + this.buttonClasses = [options.buttonClasses]; + } + + if (typeof options.buttonClasses === 'object') { + this.buttonClasses = options.buttonClasses; + } + + if (typeof options.showDropdowns === 'boolean') { + this.showDropdowns = options.showDropdowns; + } + + if (typeof options.singleDatePicker === 'boolean') { + this.singleDatePicker = options.singleDatePicker; + if (this.singleDatePicker) { + this.endDate = this.startDate.clone(); + } + } + + if (typeof options.timePicker === 'boolean') { + this.timePicker = options.timePicker; + } + + if (typeof options.timePickerSeconds === 'boolean') { + this.timePickerSeconds = options.timePickerSeconds; + } + + if (typeof options.timePickerIncrement === 'number') { + this.timePickerIncrement = options.timePickerIncrement; + } + + if (typeof options.timePicker12Hour === 'boolean') { + this.timePicker12Hour = options.timePicker12Hour; + } + + // update day names order to firstDay + if (this.locale.firstDay != 0) { + var iterator = this.locale.firstDay; + while (iterator > 0) { + this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()); + iterator--; + } + } + + var start, end, range; + + //if no start/end dates set, check if an input element contains initial values + if (typeof options.startDate === 'undefined' && typeof options.endDate === 'undefined') { + if ($(this.element).is('input[type=text]')) { + var val = $(this.element).val(), + split = val.split(this.separator); + + start = end = null; + + if (split.length == 2) { + start = moment(split[0], this.format); + end = moment(split[1], this.format); + } else if (this.singleDatePicker && val !== "") { + start = moment(val, this.format); + end = moment(val, this.format); + } + if (start !== null && end !== null) { + this.startDate = start; + this.endDate = end; + } + } + } + + // bind the time zone used to build the calendar to either the timeZone passed in through the options or the zone of the startDate (which will be the local time zone by default) + if (typeof options.timeZone === 'string' || typeof options.timeZone === 'number') { + this.timeZone = options.timeZone; + this.startDate.zone(this.timeZone); + this.endDate.zone(this.timeZone); + } else { + this.timeZone = moment(this.startDate).zone(); + } + + if (typeof options.ranges === 'object') { + for (range in options.ranges) { + + if (typeof options.ranges[range][0] === 'string') + start = moment(options.ranges[range][0], this.format); + else + start = moment(options.ranges[range][0]); + + if (typeof options.ranges[range][1] === 'string') + end = moment(options.ranges[range][1], this.format); + else + end = moment(options.ranges[range][1]); + + // If we have a min/max date set, bound this range + // to it, but only if it would otherwise fall + // outside of the min/max. + if (this.minDate && start.isBefore(this.minDate)) + start = moment(this.minDate); + + if (this.maxDate && end.isAfter(this.maxDate)) + end = moment(this.maxDate); + + // If the end of the range is before the minimum (if min is set) OR + // the start of the range is after the max (also if set) don't display this + // range option. + if ((this.minDate && end.isBefore(this.minDate)) || (this.maxDate && start.isAfter(this.maxDate))) { + continue; + } + + this.ranges[range] = [start, end]; + } + + var list = '
      '; + for (range in this.ranges) { + list += '
    • ' + range + '
    • '; + } + list += '
    • ' + this.locale.customRangeLabel + '
    • '; + list += '
    '; + this.container.find('.ranges ul').remove(); + this.container.find('.ranges').prepend(list); + } + + if (typeof callback === 'function') { + this.cb = callback; + } + + if (!this.timePicker) { + this.startDate = this.startDate.startOf('day'); + this.endDate = this.endDate.endOf('day'); + } + + if (this.singleDatePicker) { + this.opens = 'right'; + this.container.addClass('single'); + this.container.find('.calendar.right').show(); + this.container.find('.calendar.left').hide(); + if (!this.timePicker) { + this.container.find('.ranges').hide(); + } else { + this.container.find('.ranges .daterangepicker_start_input, .ranges .daterangepicker_end_input').hide(); + } + if (!this.container.find('.calendar.right').hasClass('single')) + this.container.find('.calendar.right').addClass('single'); + } else { + this.container.removeClass('single'); + this.container.find('.calendar.right').removeClass('single'); + this.container.find('.ranges').show(); + } + + this.oldStartDate = this.startDate.clone(); + this.oldEndDate = this.endDate.clone(); + this.oldChosenLabel = this.chosenLabel; + + this.leftCalendar = { + month: moment([this.startDate.year(), this.startDate.month(), 1, this.startDate.hour(), this.startDate.minute(), this.startDate.second()]), + calendar: [] + }; + + this.rightCalendar = { + month: moment([this.endDate.year(), this.endDate.month(), 1, this.endDate.hour(), this.endDate.minute(), this.endDate.second()]), + calendar: [] + }; + + if (this.opens == 'right' || this.opens == 'center') { + //swap calendar positions + var first = this.container.find('.calendar.first'); + var second = this.container.find('.calendar.second'); + + if (second.hasClass('single')) { + second.removeClass('single'); + first.addClass('single'); + } + + first.removeClass('left').addClass('right'); + second.removeClass('right').addClass('left'); + + if (this.singleDatePicker) { + first.show(); + second.hide(); + } + } + + if (typeof options.ranges === 'undefined' && !this.singleDatePicker) { + this.container.addClass('show-calendar'); + } + + this.container.addClass('opens' + this.opens); + + this.updateView(); + this.updateCalendars(); + + }, + + setStartDate: function(startDate) { + if (typeof startDate === 'string') + this.startDate = moment(startDate, this.format).zone(this.timeZone); + + if (typeof startDate === 'object') + this.startDate = moment(startDate); + + if (!this.timePicker) + this.startDate = this.startDate.startOf('day'); + + this.oldStartDate = this.startDate.clone(); + + this.updateView(); + this.updateCalendars(); + this.updateInputText(); + }, + + setEndDate: function(endDate) { + if (typeof endDate === 'string') + this.endDate = moment(endDate, this.format).zone(this.timeZone); + + if (typeof endDate === 'object') + this.endDate = moment(endDate); + + if (!this.timePicker) + this.endDate = this.endDate.endOf('day'); + + this.oldEndDate = this.endDate.clone(); + + this.updateView(); + this.updateCalendars(); + this.updateInputText(); + }, + + updateView: function () { + this.leftCalendar.month.month(this.startDate.month()).year(this.startDate.year()).hour(this.startDate.hour()).minute(this.startDate.minute()); + this.rightCalendar.month.month(this.endDate.month()).year(this.endDate.year()).hour(this.endDate.hour()).minute(this.endDate.minute()); + this.updateFormInputs(); + }, + + updateFormInputs: function () { + this.container.find('input[name=daterangepicker_start]').val(this.startDate.format(this.format)); + this.container.find('input[name=daterangepicker_end]').val(this.endDate.format(this.format)); + + if (this.startDate.isSame(this.endDate) || this.startDate.isBefore(this.endDate)) { + this.container.find('button.applyBtn').removeAttr('disabled'); + } else { + this.container.find('button.applyBtn').attr('disabled', 'disabled'); + } + }, + + updateFromControl: function () { + if (!this.element.is('input')) return; + if (!this.element.val().length) return; + + var dateString = this.element.val().split(this.separator), + start = null, + end = null; + + if(dateString.length === 2) { + start = moment(dateString[0], this.format).zone(this.timeZone); + end = moment(dateString[1], this.format).zone(this.timeZone); + } + + if (this.singleDatePicker || start === null || end === null) { + start = moment(this.element.val(), this.format).zone(this.timeZone); + end = start; + } + + if (end.isBefore(start)) return; + + this.oldStartDate = this.startDate.clone(); + this.oldEndDate = this.endDate.clone(); + + this.startDate = start; + this.endDate = end; + + if (!this.startDate.isSame(this.oldStartDate) || !this.endDate.isSame(this.oldEndDate)) + this.notify(); + + this.updateCalendars(); + }, + + notify: function () { + this.updateView(); + this.cb(this.startDate, this.endDate, this.chosenLabel); + }, + + move: function () { + var parentOffset = { top: 0, left: 0 }; + var parentRightEdge = $(window).width(); + if (!this.parentEl.is('body')) { + parentOffset = { + top: this.parentEl.offset().top - this.parentEl.scrollTop(), + left: this.parentEl.offset().left - this.parentEl.scrollLeft() + }; + parentRightEdge = this.parentEl[0].clientWidth + this.parentEl.offset().left; + } + + if (this.opens == 'left') { + this.container.css({ + top: this.element.offset().top + this.element.outerHeight() - parentOffset.top, + right: parentRightEdge - this.element.offset().left - this.element.outerWidth(), + left: 'auto' + }); + if (this.container.offset().left < 0) { + this.container.css({ + right: 'auto', + left: 9 + }); + } + } else if (this.opens == 'center') { + this.container.css({ + top: this.element.offset().top + this.element.outerHeight() - parentOffset.top, + left: this.element.offset().left - parentOffset.left + this.element.outerWidth() / 2 + - this.container.outerWidth() / 2, + right: 'auto' + }); + if (this.container.offset().left < 0) { + this.container.css({ + right: 'auto', + left: 9 + }); + } + } else { + this.container.css({ + top: this.element.offset().top + this.element.outerHeight() - parentOffset.top, + left: this.element.offset().left - parentOffset.left, + right: 'auto' + }); + if (this.container.offset().left + this.container.outerWidth() > $(window).width()) { + this.container.css({ + left: 'auto', + right: 0 + }); + } + } + }, + + toggle: function (e) { + if (this.element.hasClass('active')) { + this.hide(); + } else { + this.show(); + } + }, + + show: function (e) { + if (this.isShowing) return; + + this.element.addClass('active'); + this.container.show(); + this.move(); + + // Create a click proxy that is private to this instance of datepicker, for unbinding + this._outsideClickProxy = $.proxy(function (e) { this.outsideClick(e); }, this); + // Bind global datepicker mousedown for hiding and + $(document) + .on('mousedown.daterangepicker', this._outsideClickProxy) + // also support mobile devices + .on('touchend.daterangepicker', this._outsideClickProxy) + // also explicitly play nice with Bootstrap dropdowns, which stopPropagation when clicking them + .on('click.daterangepicker', '[data-toggle=dropdown]', this._outsideClickProxy) + // and also close when focus changes to outside the picker (eg. tabbing between controls) + .on('focusin.daterangepicker', this._outsideClickProxy); + + this.isShowing = true; + this.element.trigger('show.daterangepicker', this); + }, + + outsideClick: function (e) { + var target = $(e.target); + // if the page is clicked anywhere except within the daterangerpicker/button + // itself then call this.hide() + if ( + // ie modal dialog fix + e.type == "focusin" || + target.closest(this.element).length || + target.closest(this.container).length || + target.closest('.calendar-date').length + ) return; + this.hide(); + }, + + hide: function (e) { + if (!this.isShowing) return; + + $(document) + .off('.daterangepicker'); + + this.element.removeClass('active'); + this.container.hide(); + + if (!this.startDate.isSame(this.oldStartDate) || !this.endDate.isSame(this.oldEndDate)) + this.notify(); + + this.oldStartDate = this.startDate.clone(); + this.oldEndDate = this.endDate.clone(); + + this.isShowing = false; + this.element.trigger('hide.daterangepicker', this); + }, + + enterRange: function (e) { + // mouse pointer has entered a range label + var label = e.target.innerHTML; + if (label == this.locale.customRangeLabel) { + this.updateView(); + } else { + var dates = this.ranges[label]; + this.container.find('input[name=daterangepicker_start]').val(dates[0].format(this.format)); + this.container.find('input[name=daterangepicker_end]').val(dates[1].format(this.format)); + } + }, + + showCalendars: function() { + this.container.addClass('show-calendar'); + this.move(); + this.element.trigger('showCalendar.daterangepicker', this); + }, + + hideCalendars: function() { + this.container.removeClass('show-calendar'); + this.element.trigger('hideCalendar.daterangepicker', this); + }, + + // when a date is typed into the start to end date textboxes + inputsChanged: function (e) { + var el = $(e.target); + var date = moment(el.val(), this.format); + if (!date.isValid()) return; + + var startDate, endDate; + if (el.attr('name') === 'daterangepicker_start') { + startDate = date; + endDate = this.endDate; + } else { + startDate = this.startDate; + endDate = date; + } + this.setCustomDates(startDate, endDate); + }, + + inputsKeydown: function(e) { + if (e.keyCode === 13) { + this.inputsChanged(e); + this.notify(); + } + }, + + updateInputText: function() { + if (this.element.is('input') && !this.singleDatePicker) { + this.element.val(this.startDate.format(this.format) + this.separator + this.endDate.format(this.format)); + } else if (this.element.is('input')) { + this.element.val(this.endDate.format(this.format)); + } + }, + + clickRange: function (e) { + var label = e.target.innerHTML; + this.chosenLabel = label; + if (label == this.locale.customRangeLabel) { + this.showCalendars(); + } else { + var dates = this.ranges[label]; + + this.startDate = dates[0]; + this.endDate = dates[1]; + + if (!this.timePicker) { + this.startDate.startOf('day'); + this.endDate.endOf('day'); + } + + this.leftCalendar.month.month(this.startDate.month()).year(this.startDate.year()).hour(this.startDate.hour()).minute(this.startDate.minute()); + this.rightCalendar.month.month(this.endDate.month()).year(this.endDate.year()).hour(this.endDate.hour()).minute(this.endDate.minute()); + this.updateCalendars(); + + this.updateInputText(); + + this.hideCalendars(); + this.hide(); + this.element.trigger('apply.daterangepicker', this); + } + }, + + clickPrev: function (e) { + var cal = $(e.target).parents('.calendar'); + if (cal.hasClass('left')) { + this.leftCalendar.month.subtract(1, 'month'); + } else { + this.rightCalendar.month.subtract(1, 'month'); + } + this.updateCalendars(); + }, + + clickNext: function (e) { + var cal = $(e.target).parents('.calendar'); + if (cal.hasClass('left')) { + this.leftCalendar.month.add(1, 'month'); + } else { + this.rightCalendar.month.add(1, 'month'); + } + this.updateCalendars(); + }, + + hoverDate: function (e) { + var title = $(e.target).attr('data-title'); + var row = title.substr(1, 1); + var col = title.substr(3, 1); + var cal = $(e.target).parents('.calendar'); + + if (cal.hasClass('left')) { + this.container.find('input[name=daterangepicker_start]').val(this.leftCalendar.calendar[row][col].format(this.format)); + } else { + this.container.find('input[name=daterangepicker_end]').val(this.rightCalendar.calendar[row][col].format(this.format)); + } + }, + + setCustomDates: function(startDate, endDate) { + this.chosenLabel = this.locale.customRangeLabel; + if (startDate.isAfter(endDate)) { + var difference = this.endDate.diff(this.startDate); + endDate = moment(startDate).add(difference, 'ms'); + if (this.maxDate && endDate.isAfter(this.maxDate)) { + endDate = this.maxDate; + } + } + this.startDate = startDate; + this.endDate = endDate; + + this.updateView(); + this.updateCalendars(); + }, + + clickDate: function (e) { + var title = $(e.target).attr('data-title'); + var row = title.substr(1, 1); + var col = title.substr(3, 1); + var cal = $(e.target).parents('.calendar'); + + var startDate, endDate; + if (cal.hasClass('left')) { + startDate = this.leftCalendar.calendar[row][col]; + endDate = this.endDate; + if (typeof this.dateLimit === 'object') { + var maxDate = moment(startDate).add(this.dateLimit).startOf('day'); + if (endDate.isAfter(maxDate)) { + endDate = maxDate; + } + } + } else { + startDate = this.startDate; + endDate = this.rightCalendar.calendar[row][col]; + if (typeof this.dateLimit === 'object') { + var minDate = moment(endDate).subtract(this.dateLimit).startOf('day'); + if (startDate.isBefore(minDate)) { + startDate = minDate; + } + } + } + + if (this.singleDatePicker && cal.hasClass('left')) { + endDate = startDate.clone(); + } else if (this.singleDatePicker && cal.hasClass('right')) { + startDate = endDate.clone(); + } + + cal.find('td').removeClass('active'); + + $(e.target).addClass('active'); + + this.setCustomDates(startDate, endDate); + + if (!this.timePicker) + endDate.endOf('day'); + + if (this.singleDatePicker && !this.timePicker) + this.clickApply(); + }, + + clickApply: function (e) { + this.updateInputText(); + this.hide(); + this.element.trigger('apply.daterangepicker', this); + }, + + clickCancel: function (e) { + this.startDate = this.oldStartDate; + this.endDate = this.oldEndDate; + this.chosenLabel = this.oldChosenLabel; + this.updateView(); + this.updateCalendars(); + this.hide(); + this.element.trigger('cancel.daterangepicker', this); + }, + + updateMonthYear: function (e) { + var isLeft = $(e.target).closest('.calendar').hasClass('left'), + leftOrRight = isLeft ? 'left' : 'right', + cal = this.container.find('.calendar.'+leftOrRight); + + // Month must be Number for new moment versions + var month = parseInt(cal.find('.monthselect').val(), 10); + var year = cal.find('.yearselect').val(); + + this[leftOrRight+'Calendar'].month.month(month).year(year); + this.updateCalendars(); + }, + + updateTime: function(e) { + + var cal = $(e.target).closest('.calendar'), + isLeft = cal.hasClass('left'); + + var hour = parseInt(cal.find('.hourselect').val(), 10); + var minute = parseInt(cal.find('.minuteselect').val(), 10); + var second = 0; + + if (this.timePickerSeconds) { + second = parseInt(cal.find('.secondselect').val(), 10); + } + + if (this.timePicker12Hour) { + var ampm = cal.find('.ampmselect').val(); + if (ampm === 'PM' && hour < 12) + hour += 12; + if (ampm === 'AM' && hour === 12) + hour = 0; + } + + if (isLeft) { + var start = this.startDate.clone(); + start.hour(hour); + start.minute(minute); + start.second(second); + this.startDate = start; + this.leftCalendar.month.hour(hour).minute(minute).second(second); + if (this.singleDatePicker) + this.endDate = start.clone(); + } else { + var end = this.endDate.clone(); + end.hour(hour); + end.minute(minute); + end.second(second); + this.endDate = end; + if (this.singleDatePicker) + this.startDate = end.clone(); + this.rightCalendar.month.hour(hour).minute(minute).second(second); + } + + this.updateView(); + this.updateCalendars(); + }, + + updateCalendars: function () { + this.leftCalendar.calendar = this.buildCalendar(this.leftCalendar.month.month(), this.leftCalendar.month.year(), this.leftCalendar.month.hour(), this.leftCalendar.month.minute(), this.leftCalendar.month.second(), 'left'); + this.rightCalendar.calendar = this.buildCalendar(this.rightCalendar.month.month(), this.rightCalendar.month.year(), this.rightCalendar.month.hour(), this.rightCalendar.month.minute(), this.rightCalendar.month.second(), 'right'); + this.container.find('.calendar.left').empty().html(this.renderCalendar(this.leftCalendar.calendar, this.startDate, this.minDate, this.maxDate, 'left')); + this.container.find('.calendar.right').empty().html(this.renderCalendar(this.rightCalendar.calendar, this.endDate, this.singleDatePicker ? this.minDate : this.startDate, this.maxDate, 'right')); + + this.container.find('.ranges li').removeClass('active'); + var customRange = true; + var i = 0; + for (var range in this.ranges) { + if (this.timePicker) { + if (this.startDate.isSame(this.ranges[range][0]) && this.endDate.isSame(this.ranges[range][1])) { + customRange = false; + this.chosenLabel = this.container.find('.ranges li:eq(' + i + ')') + .addClass('active').html(); + } + } else { + //ignore times when comparing dates if time picker is not enabled + if (this.startDate.format('YYYY-MM-DD') == this.ranges[range][0].format('YYYY-MM-DD') && this.endDate.format('YYYY-MM-DD') == this.ranges[range][1].format('YYYY-MM-DD')) { + customRange = false; + this.chosenLabel = this.container.find('.ranges li:eq(' + i + ')') + .addClass('active').html(); + } + } + i++; + } + if (customRange) { + this.chosenLabel = this.container.find('.ranges li:last').addClass('active').html(); + this.showCalendars(); + } + }, + + buildCalendar: function (month, year, hour, minute, second, side) { + var daysInMonth = moment([year, month]).daysInMonth(); + var firstDay = moment([year, month, 1]); + var lastDay = moment([year, month, daysInMonth]); + var lastMonth = moment(firstDay).subtract(1, 'month').month(); + var lastYear = moment(firstDay).subtract(1, 'month').year(); + + var daysInLastMonth = moment([lastYear, lastMonth]).daysInMonth(); + + var dayOfWeek = firstDay.day(); + + var i; + + //initialize a 6 rows x 7 columns array for the calendar + var calendar = []; + calendar.firstDay = firstDay; + calendar.lastDay = lastDay; + + for (i = 0; i < 6; i++) { + calendar[i] = []; + } + + //populate the calendar with date objects + var startDay = daysInLastMonth - dayOfWeek + this.locale.firstDay + 1; + if (startDay > daysInLastMonth) + startDay -= 7; + + if (dayOfWeek == this.locale.firstDay) + startDay = daysInLastMonth - 6; + + var curDate = moment([lastYear, lastMonth, startDay, 12, minute, second]).zone(this.timeZone); + + var col, row; + for (i = 0, col = 0, row = 0; i < 42; i++, col++, curDate = moment(curDate).add(24, 'hour')) { + if (i > 0 && col % 7 === 0) { + col = 0; + row++; + } + calendar[row][col] = curDate.clone().hour(hour); + curDate.hour(12); + + if (this.minDate && calendar[row][col].format('YYYY-MM-DD') == this.minDate.format('YYYY-MM-DD') && calendar[row][col].isBefore(this.minDate) && side == 'left') { + calendar[row][col] = this.minDate.clone(); + } + + if (this.maxDate && calendar[row][col].format('YYYY-MM-DD') == this.maxDate.format('YYYY-MM-DD') && calendar[row][col].isAfter(this.maxDate) && side == 'right') { + calendar[row][col] = this.maxDate.clone(); + } + + } + + return calendar; + }, + + renderDropdowns: function (selected, minDate, maxDate) { + var currentMonth = selected.month(); + var currentYear = selected.year(); + var maxYear = (maxDate && maxDate.year()) || (currentYear + 5); + var minYear = (minDate && minDate.year()) || (currentYear - 50); + + var monthHtml = '"; + + var yearHtml = ''; + + return monthHtml + yearHtml; + }, + + renderCalendar: function (calendar, selected, minDate, maxDate, side) { + + var html = '
    '; + html += ''; + html += ''; + html += ''; + + // add empty cell for week number + if (this.showWeekNumbers) + html += ''; + + if (!minDate || minDate.isBefore(calendar.firstDay)) { + html += ''; + } else { + html += ''; + } + + var dateHtml = this.locale.monthNames[calendar[1][1].month()] + calendar[1][1].format(" YYYY"); + + if (this.showDropdowns) { + dateHtml = this.renderDropdowns(calendar[1][1], minDate, maxDate); + } + + html += ''; + if (!maxDate || maxDate.isAfter(calendar.lastDay)) { + html += ''; + } else { + html += ''; + } + + html += ''; + html += ''; + + // add week number label + if (this.showWeekNumbers) + html += ''; + + $.each(this.locale.daysOfWeek, function (index, dayOfWeek) { + html += ''; + }); + + html += ''; + html += ''; + html += ''; + + for (var row = 0; row < 6; row++) { + html += ''; + + // add week number + if (this.showWeekNumbers) + html += ''; + + for (var col = 0; col < 7; col++) { + var cname = 'available '; + cname += (calendar[row][col].month() == calendar[1][1].month()) ? '' : 'off'; + + if ((minDate && calendar[row][col].isBefore(minDate, 'day')) || (maxDate && calendar[row][col].isAfter(maxDate, 'day'))) { + cname = ' off disabled '; + } else if (calendar[row][col].format('YYYY-MM-DD') == selected.format('YYYY-MM-DD')) { + cname += ' active '; + if (calendar[row][col].format('YYYY-MM-DD') == this.startDate.format('YYYY-MM-DD')) { + cname += ' start-date '; + } + if (calendar[row][col].format('YYYY-MM-DD') == this.endDate.format('YYYY-MM-DD')) { + cname += ' end-date '; + } + } else if (calendar[row][col] >= this.startDate && calendar[row][col] <= this.endDate) { + cname += ' in-range '; + if (calendar[row][col].isSame(this.startDate)) { cname += ' start-date '; } + if (calendar[row][col].isSame(this.endDate)) { cname += ' end-date '; } + } + + var title = 'r' + row + 'c' + col; + html += ''; + } + html += ''; + } + + html += ''; + html += '
    ' + dateHtml + '
    ' + this.locale.weekLabel + '' + dayOfWeek + '
    ' + calendar[row][0].week() + '' + calendar[row][col].date() + '
    '; + html += '
    '; + + var i; + if (this.timePicker) { + + html += '
    '; + html += ' : '; + + html += ' '; + + if (this.timePickerSeconds) { + html += ': '; + } + + if (this.timePicker12Hour) { + html += ''; + } + + html += '
    '; + + } + + return html; + + }, + + remove: function() { + + this.container.remove(); + this.element.off('.daterangepicker'); + this.element.removeData('daterangepicker'); + + } + + }; + + $.fn.daterangepicker = function (options, cb) { + this.each(function () { + var el = $(this); + if (el.data('daterangepicker')) + el.data('daterangepicker').remove(); + el.data('daterangepicker', new DateRangePicker(el, options, cb)); + }); + return this; + }; + +})); diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-daterangepicker/moment.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-daterangepicker/moment.js index 1800b5de..6d94b173 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-daterangepicker/moment.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-daterangepicker/moment.js @@ -1,2808 +1,2808 @@ -//! moment.js -//! version : 2.8.1 -//! authors : Tim Wood, Iskren Chernev, Moment.js contributors -//! license : MIT -//! momentjs.com - -(function (undefined) { - /************************************ - Constants - ************************************/ - - var moment, - VERSION = '2.8.1', - // the global-scope this is NOT the global object in Node.js - globalScope = typeof global !== 'undefined' ? global : this, - oldGlobalMoment, - round = Math.round, - i, - - YEAR = 0, - MONTH = 1, - DATE = 2, - HOUR = 3, - MINUTE = 4, - SECOND = 5, - MILLISECOND = 6, - - // internal storage for locale config files - locales = {}, - - // extra moment internal properties (plugins register props here) - momentProperties = [], - - // check for nodeJS - hasModule = (typeof module !== 'undefined' && module.exports), - - // ASP.NET json date format regex - aspNetJsonRegex = /^\/?Date\((\-?\d+)/i, - aspNetTimeSpanJsonRegex = /(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/, - - // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html - // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere - isoDurationRegex = /^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/, - - // format tokens - formattingTokens = /(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g, - localFormattingTokens = /(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g, - - // parsing token regexes - parseTokenOneOrTwoDigits = /\d\d?/, // 0 - 99 - parseTokenOneToThreeDigits = /\d{1,3}/, // 0 - 999 - parseTokenOneToFourDigits = /\d{1,4}/, // 0 - 9999 - parseTokenOneToSixDigits = /[+\-]?\d{1,6}/, // -999,999 - 999,999 - parseTokenDigits = /\d+/, // nonzero number of digits - parseTokenWord = /[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i, // any word (or two) characters or numbers including two/three word month in arabic. - parseTokenTimezone = /Z|[\+\-]\d\d:?\d\d/gi, // +00:00 -00:00 +0000 -0000 or Z - parseTokenT = /T/i, // T (ISO separator) - parseTokenTimestampMs = /[\+\-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123 - parseTokenOrdinal = /\d{1,2}/, - - //strict parsing regexes - parseTokenOneDigit = /\d/, // 0 - 9 - parseTokenTwoDigits = /\d\d/, // 00 - 99 - parseTokenThreeDigits = /\d{3}/, // 000 - 999 - parseTokenFourDigits = /\d{4}/, // 0000 - 9999 - parseTokenSixDigits = /[+-]?\d{6}/, // -999,999 - 999,999 - parseTokenSignedNumber = /[+-]?\d+/, // -inf - inf - - // iso 8601 regex - // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00) - isoRegex = /^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/, - - isoFormat = 'YYYY-MM-DDTHH:mm:ssZ', - - isoDates = [ - ['YYYYYY-MM-DD', /[+-]\d{6}-\d{2}-\d{2}/], - ['YYYY-MM-DD', /\d{4}-\d{2}-\d{2}/], - ['GGGG-[W]WW-E', /\d{4}-W\d{2}-\d/], - ['GGGG-[W]WW', /\d{4}-W\d{2}/], - ['YYYY-DDD', /\d{4}-\d{3}/] - ], - - // iso time formats and regexes - isoTimes = [ - ['HH:mm:ss.SSSS', /(T| )\d\d:\d\d:\d\d\.\d+/], - ['HH:mm:ss', /(T| )\d\d:\d\d:\d\d/], - ['HH:mm', /(T| )\d\d:\d\d/], - ['HH', /(T| )\d\d/] - ], - - // timezone chunker "+10:00" > ["10", "00"] or "-1530" > ["-15", "30"] - parseTimezoneChunker = /([\+\-]|\d\d)/gi, - - // getter and setter names - proxyGettersAndSetters = 'Date|Hours|Minutes|Seconds|Milliseconds'.split('|'), - unitMillisecondFactors = { - 'Milliseconds' : 1, - 'Seconds' : 1e3, - 'Minutes' : 6e4, - 'Hours' : 36e5, - 'Days' : 864e5, - 'Months' : 2592e6, - 'Years' : 31536e6 - }, - - unitAliases = { - ms : 'millisecond', - s : 'second', - m : 'minute', - h : 'hour', - d : 'day', - D : 'date', - w : 'week', - W : 'isoWeek', - M : 'month', - Q : 'quarter', - y : 'year', - DDD : 'dayOfYear', - e : 'weekday', - E : 'isoWeekday', - gg: 'weekYear', - GG: 'isoWeekYear' - }, - - camelFunctions = { - dayofyear : 'dayOfYear', - isoweekday : 'isoWeekday', - isoweek : 'isoWeek', - weekyear : 'weekYear', - isoweekyear : 'isoWeekYear' - }, - - // format function strings - formatFunctions = {}, - - // default relative time thresholds - relativeTimeThresholds = { - s: 45, // seconds to minute - m: 45, // minutes to hour - h: 22, // hours to day - d: 26, // days to month - M: 11 // months to year - }, - - // tokens to ordinalize and pad - ordinalizeTokens = 'DDD w W M D d'.split(' '), - paddedTokens = 'M D H h m s w W'.split(' '), - - formatTokenFunctions = { - M : function () { - return this.month() + 1; - }, - MMM : function (format) { - return this.localeData().monthsShort(this, format); - }, - MMMM : function (format) { - return this.localeData().months(this, format); - }, - D : function () { - return this.date(); - }, - DDD : function () { - return this.dayOfYear(); - }, - d : function () { - return this.day(); - }, - dd : function (format) { - return this.localeData().weekdaysMin(this, format); - }, - ddd : function (format) { - return this.localeData().weekdaysShort(this, format); - }, - dddd : function (format) { - return this.localeData().weekdays(this, format); - }, - w : function () { - return this.week(); - }, - W : function () { - return this.isoWeek(); - }, - YY : function () { - return leftZeroFill(this.year() % 100, 2); - }, - YYYY : function () { - return leftZeroFill(this.year(), 4); - }, - YYYYY : function () { - return leftZeroFill(this.year(), 5); - }, - YYYYYY : function () { - var y = this.year(), sign = y >= 0 ? '+' : '-'; - return sign + leftZeroFill(Math.abs(y), 6); - }, - gg : function () { - return leftZeroFill(this.weekYear() % 100, 2); - }, - gggg : function () { - return leftZeroFill(this.weekYear(), 4); - }, - ggggg : function () { - return leftZeroFill(this.weekYear(), 5); - }, - GG : function () { - return leftZeroFill(this.isoWeekYear() % 100, 2); - }, - GGGG : function () { - return leftZeroFill(this.isoWeekYear(), 4); - }, - GGGGG : function () { - return leftZeroFill(this.isoWeekYear(), 5); - }, - e : function () { - return this.weekday(); - }, - E : function () { - return this.isoWeekday(); - }, - a : function () { - return this.localeData().meridiem(this.hours(), this.minutes(), true); - }, - A : function () { - return this.localeData().meridiem(this.hours(), this.minutes(), false); - }, - H : function () { - return this.hours(); - }, - h : function () { - return this.hours() % 12 || 12; - }, - m : function () { - return this.minutes(); - }, - s : function () { - return this.seconds(); - }, - S : function () { - return toInt(this.milliseconds() / 100); - }, - SS : function () { - return leftZeroFill(toInt(this.milliseconds() / 10), 2); - }, - SSS : function () { - return leftZeroFill(this.milliseconds(), 3); - }, - SSSS : function () { - return leftZeroFill(this.milliseconds(), 3); - }, - Z : function () { - var a = -this.zone(), - b = '+'; - if (a < 0) { - a = -a; - b = '-'; - } - return b + leftZeroFill(toInt(a / 60), 2) + ':' + leftZeroFill(toInt(a) % 60, 2); - }, - ZZ : function () { - var a = -this.zone(), - b = '+'; - if (a < 0) { - a = -a; - b = '-'; - } - return b + leftZeroFill(toInt(a / 60), 2) + leftZeroFill(toInt(a) % 60, 2); - }, - z : function () { - return this.zoneAbbr(); - }, - zz : function () { - return this.zoneName(); - }, - X : function () { - return this.unix(); - }, - Q : function () { - return this.quarter(); - } - }, - - deprecations = {}, - - lists = ['months', 'monthsShort', 'weekdays', 'weekdaysShort', 'weekdaysMin']; - - // Pick the first defined of two or three arguments. dfl comes from - // default. - function dfl(a, b, c) { - switch (arguments.length) { - case 2: return a != null ? a : b; - case 3: return a != null ? a : b != null ? b : c; - default: throw new Error('Implement me'); - } - } - - function defaultParsingFlags() { - // We need to deep clone this object, and es5 standard is not very - // helpful. - return { - empty : false, - unusedTokens : [], - unusedInput : [], - overflow : -2, - charsLeftOver : 0, - nullInput : false, - invalidMonth : null, - invalidFormat : false, - userInvalidated : false, - iso: false - }; - } - - function printMsg(msg) { - if (moment.suppressDeprecationWarnings === false && - typeof console !== 'undefined' && console.warn) { - console.warn("Deprecation warning: " + msg); - } - } - - function deprecate(msg, fn) { - var firstTime = true; - return extend(function () { - if (firstTime) { - printMsg(msg); - firstTime = false; - } - return fn.apply(this, arguments); - }, fn); - } - - function deprecateSimple(name, msg) { - if (!deprecations[name]) { - printMsg(msg); - deprecations[name] = true; - } - } - - function padToken(func, count) { - return function (a) { - return leftZeroFill(func.call(this, a), count); - }; - } - function ordinalizeToken(func, period) { - return function (a) { - return this.localeData().ordinal(func.call(this, a), period); - }; - } - - while (ordinalizeTokens.length) { - i = ordinalizeTokens.pop(); - formatTokenFunctions[i + 'o'] = ordinalizeToken(formatTokenFunctions[i], i); - } - while (paddedTokens.length) { - i = paddedTokens.pop(); - formatTokenFunctions[i + i] = padToken(formatTokenFunctions[i], 2); - } - formatTokenFunctions.DDDD = padToken(formatTokenFunctions.DDD, 3); - - - /************************************ - Constructors - ************************************/ - - function Locale() { - } - - // Moment prototype object - function Moment(config, skipOverflow) { - if (skipOverflow !== false) { - checkOverflow(config); - } - copyConfig(this, config); - this._d = new Date(+config._d); - } - - // Duration Constructor - function Duration(duration) { - var normalizedInput = normalizeObjectUnits(duration), - years = normalizedInput.year || 0, - quarters = normalizedInput.quarter || 0, - months = normalizedInput.month || 0, - weeks = normalizedInput.week || 0, - days = normalizedInput.day || 0, - hours = normalizedInput.hour || 0, - minutes = normalizedInput.minute || 0, - seconds = normalizedInput.second || 0, - milliseconds = normalizedInput.millisecond || 0; - - // representation for dateAddRemove - this._milliseconds = +milliseconds + - seconds * 1e3 + // 1000 - minutes * 6e4 + // 1000 * 60 - hours * 36e5; // 1000 * 60 * 60 - // Because of dateAddRemove treats 24 hours as different from a - // day when working around DST, we need to store them separately - this._days = +days + - weeks * 7; - // It is impossible translate months into days without knowing - // which months you are are talking about, so we have to store - // it separately. - this._months = +months + - quarters * 3 + - years * 12; - - this._data = {}; - - this._locale = moment.localeData(); - - this._bubble(); - } - - /************************************ - Helpers - ************************************/ - - - function extend(a, b) { - for (var i in b) { - if (b.hasOwnProperty(i)) { - a[i] = b[i]; - } - } - - if (b.hasOwnProperty('toString')) { - a.toString = b.toString; - } - - if (b.hasOwnProperty('valueOf')) { - a.valueOf = b.valueOf; - } - - return a; - } - - function copyConfig(to, from) { - var i, prop, val; - - if (typeof from._isAMomentObject !== 'undefined') { - to._isAMomentObject = from._isAMomentObject; - } - if (typeof from._i !== 'undefined') { - to._i = from._i; - } - if (typeof from._f !== 'undefined') { - to._f = from._f; - } - if (typeof from._l !== 'undefined') { - to._l = from._l; - } - if (typeof from._strict !== 'undefined') { - to._strict = from._strict; - } - if (typeof from._tzm !== 'undefined') { - to._tzm = from._tzm; - } - if (typeof from._isUTC !== 'undefined') { - to._isUTC = from._isUTC; - } - if (typeof from._offset !== 'undefined') { - to._offset = from._offset; - } - if (typeof from._pf !== 'undefined') { - to._pf = from._pf; - } - if (typeof from._locale !== 'undefined') { - to._locale = from._locale; - } - - if (momentProperties.length > 0) { - for (i in momentProperties) { - prop = momentProperties[i]; - val = from[prop]; - if (typeof val !== 'undefined') { - to[prop] = val; - } - } - } - - return to; - } - - function absRound(number) { - if (number < 0) { - return Math.ceil(number); - } else { - return Math.floor(number); - } - } - - // left zero fill a number - // see http://jsperf.com/left-zero-filling for performance comparison - function leftZeroFill(number, targetLength, forceSign) { - var output = '' + Math.abs(number), - sign = number >= 0; - - while (output.length < targetLength) { - output = '0' + output; - } - return (sign ? (forceSign ? '+' : '') : '-') + output; - } - - function positiveMomentsDifference(base, other) { - var res = {milliseconds: 0, months: 0}; - - res.months = other.month() - base.month() + - (other.year() - base.year()) * 12; - if (base.clone().add(res.months, 'M').isAfter(other)) { - --res.months; - } - - res.milliseconds = +other - +(base.clone().add(res.months, 'M')); - - return res; - } - - function momentsDifference(base, other) { - var res; - other = makeAs(other, base); - if (base.isBefore(other)) { - res = positiveMomentsDifference(base, other); - } else { - res = positiveMomentsDifference(other, base); - res.milliseconds = -res.milliseconds; - res.months = -res.months; - } - - return res; - } - - // TODO: remove 'name' arg after deprecation is removed - function createAdder(direction, name) { - return function (val, period) { - var dur, tmp; - //invert the arguments, but complain about it - if (period !== null && !isNaN(+period)) { - deprecateSimple(name, "moment()." + name + "(period, number) is deprecated. Please use moment()." + name + "(number, period)."); - tmp = val; val = period; period = tmp; - } - - val = typeof val === 'string' ? +val : val; - dur = moment.duration(val, period); - addOrSubtractDurationFromMoment(this, dur, direction); - return this; - }; - } - - function addOrSubtractDurationFromMoment(mom, duration, isAdding, updateOffset) { - var milliseconds = duration._milliseconds, - days = duration._days, - months = duration._months; - updateOffset = updateOffset == null ? true : updateOffset; - - if (milliseconds) { - mom._d.setTime(+mom._d + milliseconds * isAdding); - } - if (days) { - rawSetter(mom, 'Date', rawGetter(mom, 'Date') + days * isAdding); - } - if (months) { - rawMonthSetter(mom, rawGetter(mom, 'Month') + months * isAdding); - } - if (updateOffset) { - moment.updateOffset(mom, days || months); - } - } - - // check if is an array - function isArray(input) { - return Object.prototype.toString.call(input) === '[object Array]'; - } - - function isDate(input) { - return Object.prototype.toString.call(input) === '[object Date]' || - input instanceof Date; - } - - // compare two arrays, return the number of differences - function compareArrays(array1, array2, dontConvert) { - var len = Math.min(array1.length, array2.length), - lengthDiff = Math.abs(array1.length - array2.length), - diffs = 0, - i; - for (i = 0; i < len; i++) { - if ((dontConvert && array1[i] !== array2[i]) || - (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))) { - diffs++; - } - } - return diffs + lengthDiff; - } - - function normalizeUnits(units) { - if (units) { - var lowered = units.toLowerCase().replace(/(.)s$/, '$1'); - units = unitAliases[units] || camelFunctions[lowered] || lowered; - } - return units; - } - - function normalizeObjectUnits(inputObject) { - var normalizedInput = {}, - normalizedProp, - prop; - - for (prop in inputObject) { - if (inputObject.hasOwnProperty(prop)) { - normalizedProp = normalizeUnits(prop); - if (normalizedProp) { - normalizedInput[normalizedProp] = inputObject[prop]; - } - } - } - - return normalizedInput; - } - - function makeList(field) { - var count, setter; - - if (field.indexOf('week') === 0) { - count = 7; - setter = 'day'; - } - else if (field.indexOf('month') === 0) { - count = 12; - setter = 'month'; - } - else { - return; - } - - moment[field] = function (format, index) { - var i, getter, - method = moment._locale[field], - results = []; - - if (typeof format === 'number') { - index = format; - format = undefined; - } - - getter = function (i) { - var m = moment().utc().set(setter, i); - return method.call(moment._locale, m, format || ''); - }; - - if (index != null) { - return getter(index); - } - else { - for (i = 0; i < count; i++) { - results.push(getter(i)); - } - return results; - } - }; - } - - function toInt(argumentForCoercion) { - var coercedNumber = +argumentForCoercion, - value = 0; - - if (coercedNumber !== 0 && isFinite(coercedNumber)) { - if (coercedNumber >= 0) { - value = Math.floor(coercedNumber); - } else { - value = Math.ceil(coercedNumber); - } - } - - return value; - } - - function daysInMonth(year, month) { - return new Date(Date.UTC(year, month + 1, 0)).getUTCDate(); - } - - function weeksInYear(year, dow, doy) { - return weekOfYear(moment([year, 11, 31 + dow - doy]), dow, doy).week; - } - - function daysInYear(year) { - return isLeapYear(year) ? 366 : 365; - } - - function isLeapYear(year) { - return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; - } - - function checkOverflow(m) { - var overflow; - if (m._a && m._pf.overflow === -2) { - overflow = - m._a[MONTH] < 0 || m._a[MONTH] > 11 ? MONTH : - m._a[DATE] < 1 || m._a[DATE] > daysInMonth(m._a[YEAR], m._a[MONTH]) ? DATE : - m._a[HOUR] < 0 || m._a[HOUR] > 23 ? HOUR : - m._a[MINUTE] < 0 || m._a[MINUTE] > 59 ? MINUTE : - m._a[SECOND] < 0 || m._a[SECOND] > 59 ? SECOND : - m._a[MILLISECOND] < 0 || m._a[MILLISECOND] > 999 ? MILLISECOND : - -1; - - if (m._pf._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) { - overflow = DATE; - } - - m._pf.overflow = overflow; - } - } - - function isValid(m) { - if (m._isValid == null) { - m._isValid = !isNaN(m._d.getTime()) && - m._pf.overflow < 0 && - !m._pf.empty && - !m._pf.invalidMonth && - !m._pf.nullInput && - !m._pf.invalidFormat && - !m._pf.userInvalidated; - - if (m._strict) { - m._isValid = m._isValid && - m._pf.charsLeftOver === 0 && - m._pf.unusedTokens.length === 0; - } - } - return m._isValid; - } - - function normalizeLocale(key) { - return key ? key.toLowerCase().replace('_', '-') : key; - } - - // pick the locale from the array - // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each - // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root - function chooseLocale(names) { - var i = 0, j, next, locale, split; - - while (i < names.length) { - split = normalizeLocale(names[i]).split('-'); - j = split.length; - next = normalizeLocale(names[i + 1]); - next = next ? next.split('-') : null; - while (j > 0) { - locale = loadLocale(split.slice(0, j).join('-')); - if (locale) { - return locale; - } - if (next && next.length >= j && compareArrays(split, next, true) >= j - 1) { - //the next array item is better than a shallower substring of this one - break; - } - j--; - } - i++; - } - return null; - } - - function loadLocale(name) { - var oldLocale = null; - if (!locales[name] && hasModule) { - try { - oldLocale = moment.locale(); - require('./locale/' + name); - // because defineLocale currently also sets the global locale, we want to undo that for lazy loaded locales - moment.locale(oldLocale); - } catch (e) { } - } - return locales[name]; - } - - // Return a moment from input, that is local/utc/zone equivalent to model. - function makeAs(input, model) { - return model._isUTC ? moment(input).zone(model._offset || 0) : - moment(input).local(); - } - - /************************************ - Locale - ************************************/ - - - extend(Locale.prototype, { - - set : function (config) { - var prop, i; - for (i in config) { - prop = config[i]; - if (typeof prop === 'function') { - this[i] = prop; - } else { - this['_' + i] = prop; - } - } - }, - - _months : '1_2_3_4_May_June_July_August_September_October_November_December'.split('_'), - months : function (m) { - return this._months[m.month()]; - }, - - _monthsShort : '1_2_3_4_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), - monthsShort : function (m) { - return this._monthsShort[m.month()]; - }, - - monthsParse : function (monthName) { - var i, mom, regex; - - if (!this._monthsParse) { - this._monthsParse = []; - } - - for (i = 0; i < 12; i++) { - // make the regex if we don't have it already - if (!this._monthsParse[i]) { - mom = moment.utc([2000, i]); - regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, ''); - this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i'); - } - // test the regex - if (this._monthsParse[i].test(monthName)) { - return i; - } - } - }, - - _weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), - weekdays : function (m) { - return this._weekdays[m.day()]; - }, - - _weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), - weekdaysShort : function (m) { - return this._weekdaysShort[m.day()]; - }, - - _weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), - weekdaysMin : function (m) { - return this._weekdaysMin[m.day()]; - }, - - weekdaysParse : function (weekdayName) { - var i, mom, regex; - - if (!this._weekdaysParse) { - this._weekdaysParse = []; - } - - for (i = 0; i < 7; i++) { - // make the regex if we don't have it already - if (!this._weekdaysParse[i]) { - mom = moment([2000, 1]).day(i); - regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, ''); - this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i'); - } - // test the regex - if (this._weekdaysParse[i].test(weekdayName)) { - return i; - } - } - }, - - _longDateFormat : { - LT : 'h:mm A', - L : 'MM/DD/YYYY', - LL : 'MMMM D, YYYY', - LLL : 'MMMM D, YYYY LT', - LLLL : 'dddd, MMMM D, YYYY LT' - }, - longDateFormat : function (key) { - var output = this._longDateFormat[key]; - if (!output && this._longDateFormat[key.toUpperCase()]) { - output = this._longDateFormat[key.toUpperCase()].replace(/MMMM|MM|DD|dddd/g, function (val) { - return val.slice(1); - }); - this._longDateFormat[key] = output; - } - return output; - }, - - isPM : function (input) { - // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays - // Using charAt should be more compatible. - return ((input + '').toLowerCase().charAt(0) === 'p'); - }, - - _meridiemParse : /[ap]\.?m?\.?/i, - meridiem : function (hours, minutes, isLower) { - if (hours > 11) { - return isLower ? 'pm' : 'PM'; - } else { - return isLower ? 'am' : 'AM'; - } - }, - - _calendar : { - sameDay : '[Today at] LT', - nextDay : '[Tomorrow at] LT', - nextWeek : 'dddd [at] LT', - lastDay : '[Yesterday at] LT', - lastWeek : '[Last] dddd [at] LT', - sameElse : 'L' - }, - calendar : function (key, mom) { - var output = this._calendar[key]; - return typeof output === 'function' ? output.apply(mom) : output; - }, - - _relativeTime : { - future : 'in %s', - past : '%s ago', - s : 'a few seconds', - m : 'a minute', - mm : '%d minutes', - h : 'an hour', - hh : '%d hours', - d : 'a day', - dd : '%d days', - M : 'a month', - MM : '%d months', - y : 'a year', - yy : '%d years' - }, - - relativeTime : function (number, withoutSuffix, string, isFuture) { - var output = this._relativeTime[string]; - return (typeof output === 'function') ? - output(number, withoutSuffix, string, isFuture) : - output.replace(/%d/i, number); - }, - - pastFuture : function (diff, output) { - var format = this._relativeTime[diff > 0 ? 'future' : 'past']; - return typeof format === 'function' ? format(output) : format.replace(/%s/i, output); - }, - - ordinal : function (number) { - return this._ordinal.replace('%d', number); - }, - _ordinal : '%d', - - preparse : function (string) { - return string; - }, - - postformat : function (string) { - return string; - }, - - week : function (mom) { - return weekOfYear(mom, this._week.dow, this._week.doy).week; - }, - - _week : { - dow : 0, // Sunday is the first day of the week. - doy : 6 // The week that contains Jan 1st is the first week of the year. - }, - - _invalidDate: 'Invalid date', - invalidDate: function () { - return this._invalidDate; - } - }); - - /************************************ - Formatting - ************************************/ - - - function removeFormattingTokens(input) { - if (input.match(/\[[\s\S]/)) { - return input.replace(/^\[|\]$/g, ''); - } - return input.replace(/\\/g, ''); - } - - function makeFormatFunction(format) { - var array = format.match(formattingTokens), i, length; - - for (i = 0, length = array.length; i < length; i++) { - if (formatTokenFunctions[array[i]]) { - array[i] = formatTokenFunctions[array[i]]; - } else { - array[i] = removeFormattingTokens(array[i]); - } - } - - return function (mom) { - var output = ''; - for (i = 0; i < length; i++) { - output += array[i] instanceof Function ? array[i].call(mom, format) : array[i]; - } - return output; - }; - } - - // format date using native date object - function formatMoment(m, format) { - if (!m.isValid()) { - return m.localeData().invalidDate(); - } - - format = expandFormat(format, m.localeData()); - - if (!formatFunctions[format]) { - formatFunctions[format] = makeFormatFunction(format); - } - - return formatFunctions[format](m); - } - - function expandFormat(format, locale) { - var i = 5; - - function replaceLongDateFormatTokens(input) { - return locale.longDateFormat(input) || input; - } - - localFormattingTokens.lastIndex = 0; - while (i >= 0 && localFormattingTokens.test(format)) { - format = format.replace(localFormattingTokens, replaceLongDateFormatTokens); - localFormattingTokens.lastIndex = 0; - i -= 1; - } - - return format; - } - - - /************************************ - Parsing - ************************************/ - - - // get the regex to find the next token - function getParseRegexForToken(token, config) { - var a, strict = config._strict; - switch (token) { - case 'Q': - return parseTokenOneDigit; - case 'DDDD': - return parseTokenThreeDigits; - case 'YYYY': - case 'GGGG': - case 'gggg': - return strict ? parseTokenFourDigits : parseTokenOneToFourDigits; - case 'Y': - case 'G': - case 'g': - return parseTokenSignedNumber; - case 'YYYYYY': - case 'YYYYY': - case 'GGGGG': - case 'ggggg': - return strict ? parseTokenSixDigits : parseTokenOneToSixDigits; - case 'S': - if (strict) { - return parseTokenOneDigit; - } - /* falls through */ - case 'SS': - if (strict) { - return parseTokenTwoDigits; - } - /* falls through */ - case 'SSS': - if (strict) { - return parseTokenThreeDigits; - } - /* falls through */ - case 'DDD': - return parseTokenOneToThreeDigits; - case 'MMM': - case 'MMMM': - case 'dd': - case 'ddd': - case 'dddd': - return parseTokenWord; - case 'a': - case 'A': - return config._locale._meridiemParse; - case 'X': - return parseTokenTimestampMs; - case 'Z': - case 'ZZ': - return parseTokenTimezone; - case 'T': - return parseTokenT; - case 'SSSS': - return parseTokenDigits; - case 'MM': - case 'DD': - case 'YY': - case 'GG': - case 'gg': - case 'HH': - case 'hh': - case 'mm': - case 'ss': - case 'ww': - case 'WW': - return strict ? parseTokenTwoDigits : parseTokenOneOrTwoDigits; - case 'M': - case 'D': - case 'd': - case 'H': - case 'h': - case 'm': - case 's': - case 'w': - case 'W': - case 'e': - case 'E': - return parseTokenOneOrTwoDigits; - case 'Do': - return parseTokenOrdinal; - default : - a = new RegExp(regexpEscape(unescapeFormat(token.replace('\\', '')), 'i')); - return a; - } - } - - function timezoneMinutesFromString(string) { - string = string || ''; - var possibleTzMatches = (string.match(parseTokenTimezone) || []), - tzChunk = possibleTzMatches[possibleTzMatches.length - 1] || [], - parts = (tzChunk + '').match(parseTimezoneChunker) || ['-', 0, 0], - minutes = +(parts[1] * 60) + toInt(parts[2]); - - return parts[0] === '+' ? -minutes : minutes; - } - - // function to convert string input to date - function addTimeToArrayFromToken(token, input, config) { - var a, datePartArray = config._a; - - switch (token) { - // QUARTER - case 'Q': - if (input != null) { - datePartArray[MONTH] = (toInt(input) - 1) * 3; - } - break; - // MONTH - case 'M' : // fall through to MM - case 'MM' : - if (input != null) { - datePartArray[MONTH] = toInt(input) - 1; - } - break; - case 'MMM' : // fall through to MMMM - case 'MMMM' : - a = config._locale.monthsParse(input); - // if we didn't find a month name, mark the date as invalid. - if (a != null) { - datePartArray[MONTH] = a; - } else { - config._pf.invalidMonth = input; - } - break; - // DAY OF MONTH - case 'D' : // fall through to DD - case 'DD' : - if (input != null) { - datePartArray[DATE] = toInt(input); - } - break; - case 'Do' : - if (input != null) { - datePartArray[DATE] = toInt(parseInt(input, 10)); - } - break; - // DAY OF YEAR - case 'DDD' : // fall through to DDDD - case 'DDDD' : - if (input != null) { - config._dayOfYear = toInt(input); - } - - break; - // YEAR - case 'YY' : - datePartArray[YEAR] = moment.parseTwoDigitYear(input); - break; - case 'YYYY' : - case 'YYYYY' : - case 'YYYYYY' : - datePartArray[YEAR] = toInt(input); - break; - // AM / PM - case 'a' : // fall through to A - case 'A' : - config._isPm = config._locale.isPM(input); - break; - // 24 HOUR - case 'H' : // fall through to hh - case 'HH' : // fall through to hh - case 'h' : // fall through to hh - case 'hh' : - datePartArray[HOUR] = toInt(input); - break; - // MINUTE - case 'm' : // fall through to mm - case 'mm' : - datePartArray[MINUTE] = toInt(input); - break; - // SECOND - case 's' : // fall through to ss - case 'ss' : - datePartArray[SECOND] = toInt(input); - break; - // MILLISECOND - case 'S' : - case 'SS' : - case 'SSS' : - case 'SSSS' : - datePartArray[MILLISECOND] = toInt(('0.' + input) * 1000); - break; - // UNIX TIMESTAMP WITH MS - case 'X': - config._d = new Date(parseFloat(input) * 1000); - break; - // TIMEZONE - case 'Z' : // fall through to ZZ - case 'ZZ' : - config._useUTC = true; - config._tzm = timezoneMinutesFromString(input); - break; - // WEEKDAY - human - case 'dd': - case 'ddd': - case 'dddd': - a = config._locale.weekdaysParse(input); - // if we didn't get a weekday name, mark the date as invalid - if (a != null) { - config._w = config._w || {}; - config._w['d'] = a; - } else { - config._pf.invalidWeekday = input; - } - break; - // WEEK, WEEK DAY - numeric - case 'w': - case 'ww': - case 'W': - case 'WW': - case 'd': - case 'e': - case 'E': - token = token.substr(0, 1); - /* falls through */ - case 'gggg': - case 'GGGG': - case 'GGGGG': - token = token.substr(0, 2); - if (input) { - config._w = config._w || {}; - config._w[token] = toInt(input); - } - break; - case 'gg': - case 'GG': - config._w = config._w || {}; - config._w[token] = moment.parseTwoDigitYear(input); - } - } - - function dayOfYearFromWeekInfo(config) { - var w, weekYear, week, weekday, dow, doy, temp; - - w = config._w; - if (w.GG != null || w.W != null || w.E != null) { - dow = 1; - doy = 4; - - // TODO: We need to take the current isoWeekYear, but that depends on - // how we interpret now (local, utc, fixed offset). So create - // a now version of current config (take local/utc/offset flags, and - // create now). - weekYear = dfl(w.GG, config._a[YEAR], weekOfYear(moment(), 1, 4).year); - week = dfl(w.W, 1); - weekday = dfl(w.E, 1); - } else { - dow = config._locale._week.dow; - doy = config._locale._week.doy; - - weekYear = dfl(w.gg, config._a[YEAR], weekOfYear(moment(), dow, doy).year); - week = dfl(w.w, 1); - - if (w.d != null) { - // weekday -- low day numbers are considered next week - weekday = w.d; - if (weekday < dow) { - ++week; - } - } else if (w.e != null) { - // local weekday -- counting starts from begining of week - weekday = w.e + dow; - } else { - // default to begining of week - weekday = dow; - } - } - temp = dayOfYearFromWeeks(weekYear, week, weekday, doy, dow); - - config._a[YEAR] = temp.year; - config._dayOfYear = temp.dayOfYear; - } - - // convert an array to a date. - // the array should mirror the parameters below - // note: all values past the year are optional and will default to the lowest possible value. - // [year, month, day , hour, minute, second, millisecond] - function dateFromConfig(config) { - var i, date, input = [], currentDate, yearToUse; - - if (config._d) { - return; - } - - currentDate = currentDateArray(config); - - //compute day of the year from weeks and weekdays - if (config._w && config._a[DATE] == null && config._a[MONTH] == null) { - dayOfYearFromWeekInfo(config); - } - - //if the day of the year is set, figure out what it is - if (config._dayOfYear) { - yearToUse = dfl(config._a[YEAR], currentDate[YEAR]); - - if (config._dayOfYear > daysInYear(yearToUse)) { - config._pf._overflowDayOfYear = true; - } - - date = makeUTCDate(yearToUse, 0, config._dayOfYear); - config._a[MONTH] = date.getUTCMonth(); - config._a[DATE] = date.getUTCDate(); - } - - // Default to current date. - // * if no year, month, day of month are given, default to today - // * if day of month is given, default month and year - // * if month is given, default only year - // * if year is given, don't default anything - for (i = 0; i < 3 && config._a[i] == null; ++i) { - config._a[i] = input[i] = currentDate[i]; - } - - // Zero out whatever was not defaulted, including time - for (; i < 7; i++) { - config._a[i] = input[i] = (config._a[i] == null) ? (i === 2 ? 1 : 0) : config._a[i]; - } - - config._d = (config._useUTC ? makeUTCDate : makeDate).apply(null, input); - // Apply timezone offset from input. The actual zone can be changed - // with parseZone. - if (config._tzm != null) { - config._d.setUTCMinutes(config._d.getUTCMinutes() + config._tzm); - } - } - - function dateFromObject(config) { - var normalizedInput; - - if (config._d) { - return; - } - - normalizedInput = normalizeObjectUnits(config._i); - config._a = [ - normalizedInput.year, - normalizedInput.month, - normalizedInput.day, - normalizedInput.hour, - normalizedInput.minute, - normalizedInput.second, - normalizedInput.millisecond - ]; - - dateFromConfig(config); - } - - function currentDateArray(config) { - var now = new Date(); - if (config._useUTC) { - return [ - now.getUTCFullYear(), - now.getUTCMonth(), - now.getUTCDate() - ]; - } else { - return [now.getFullYear(), now.getMonth(), now.getDate()]; - } - } - - // date from string and format string - function makeDateFromStringAndFormat(config) { - if (config._f === moment.ISO_8601) { - parseISO(config); - return; - } - - config._a = []; - config._pf.empty = true; - - // This array is used to make a Date, either with `new Date` or `Date.UTC` - var string = '' + config._i, - i, parsedInput, tokens, token, skipped, - stringLength = string.length, - totalParsedInputLength = 0; - - tokens = expandFormat(config._f, config._locale).match(formattingTokens) || []; - - for (i = 0; i < tokens.length; i++) { - token = tokens[i]; - parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0]; - if (parsedInput) { - skipped = string.substr(0, string.indexOf(parsedInput)); - if (skipped.length > 0) { - config._pf.unusedInput.push(skipped); - } - string = string.slice(string.indexOf(parsedInput) + parsedInput.length); - totalParsedInputLength += parsedInput.length; - } - // don't parse if it's not a known token - if (formatTokenFunctions[token]) { - if (parsedInput) { - config._pf.empty = false; - } - else { - config._pf.unusedTokens.push(token); - } - addTimeToArrayFromToken(token, parsedInput, config); - } - else if (config._strict && !parsedInput) { - config._pf.unusedTokens.push(token); - } - } - - // add remaining unparsed input length to the string - config._pf.charsLeftOver = stringLength - totalParsedInputLength; - if (string.length > 0) { - config._pf.unusedInput.push(string); - } - - // handle am pm - if (config._isPm && config._a[HOUR] < 12) { - config._a[HOUR] += 12; - } - // if is 12 am, change hours to 0 - if (config._isPm === false && config._a[HOUR] === 12) { - config._a[HOUR] = 0; - } - - dateFromConfig(config); - checkOverflow(config); - } - - function unescapeFormat(s) { - return s.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (matched, p1, p2, p3, p4) { - return p1 || p2 || p3 || p4; - }); - } - - // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript - function regexpEscape(s) { - return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); - } - - // date from string and array of format strings - function makeDateFromStringAndArray(config) { - var tempConfig, - bestMoment, - - scoreToBeat, - i, - currentScore; - - if (config._f.length === 0) { - config._pf.invalidFormat = true; - config._d = new Date(NaN); - return; - } - - for (i = 0; i < config._f.length; i++) { - currentScore = 0; - tempConfig = copyConfig({}, config); - tempConfig._pf = defaultParsingFlags(); - tempConfig._f = config._f[i]; - makeDateFromStringAndFormat(tempConfig); - - if (!isValid(tempConfig)) { - continue; - } - - // if there is any input that was not parsed add a penalty for that format - currentScore += tempConfig._pf.charsLeftOver; - - //or tokens - currentScore += tempConfig._pf.unusedTokens.length * 10; - - tempConfig._pf.score = currentScore; - - if (scoreToBeat == null || currentScore < scoreToBeat) { - scoreToBeat = currentScore; - bestMoment = tempConfig; - } - } - - extend(config, bestMoment || tempConfig); - } - - // date from iso format - function parseISO(config) { - var i, l, - string = config._i, - match = isoRegex.exec(string); - - if (match) { - config._pf.iso = true; - for (i = 0, l = isoDates.length; i < l; i++) { - if (isoDates[i][1].exec(string)) { - // match[5] should be "T" or undefined - config._f = isoDates[i][0] + (match[6] || ' '); - break; - } - } - for (i = 0, l = isoTimes.length; i < l; i++) { - if (isoTimes[i][1].exec(string)) { - config._f += isoTimes[i][0]; - break; - } - } - if (string.match(parseTokenTimezone)) { - config._f += 'Z'; - } - makeDateFromStringAndFormat(config); - } else { - config._isValid = false; - } - } - - // date from iso format or fallback - function makeDateFromString(config) { - parseISO(config); - if (config._isValid === false) { - delete config._isValid; - moment.createFromInputFallback(config); - } - } - - function makeDateFromInput(config) { - var input = config._i, matched; - if (input === undefined) { - config._d = new Date(); - } else if (isDate(input)) { - config._d = new Date(+input); - } else if ((matched = aspNetJsonRegex.exec(input)) !== null) { - config._d = new Date(+matched[1]); - } else if (typeof input === 'string') { - makeDateFromString(config); - } else if (isArray(input)) { - config._a = input.slice(0); - dateFromConfig(config); - } else if (typeof(input) === 'object') { - dateFromObject(config); - } else if (typeof(input) === 'number') { - // from milliseconds - config._d = new Date(input); - } else { - moment.createFromInputFallback(config); - } - } - - function makeDate(y, m, d, h, M, s, ms) { - //can't just apply() to create a date: - //http://stackoverflow.com/questions/181348/instantiating-a-javascript-object-by-calling-prototype-constructor-apply - var date = new Date(y, m, d, h, M, s, ms); - - //the date constructor doesn't accept years < 1970 - if (y < 1970) { - date.setFullYear(y); - } - return date; - } - - function makeUTCDate(y) { - var date = new Date(Date.UTC.apply(null, arguments)); - if (y < 1970) { - date.setUTCFullYear(y); - } - return date; - } - - function parseWeekday(input, locale) { - if (typeof input === 'string') { - if (!isNaN(input)) { - input = parseInt(input, 10); - } - else { - input = locale.weekdaysParse(input); - if (typeof input !== 'number') { - return null; - } - } - } - return input; - } - - /************************************ - Relative Time - ************************************/ - - - // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize - function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) { - return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture); - } - - function relativeTime(posNegDuration, withoutSuffix, locale) { - var duration = moment.duration(posNegDuration).abs(), - seconds = round(duration.as('s')), - minutes = round(duration.as('m')), - hours = round(duration.as('h')), - days = round(duration.as('d')), - months = round(duration.as('M')), - years = round(duration.as('y')), - - args = seconds < relativeTimeThresholds.s && ['s', seconds] || - minutes === 1 && ['m'] || - minutes < relativeTimeThresholds.m && ['mm', minutes] || - hours === 1 && ['h'] || - hours < relativeTimeThresholds.h && ['hh', hours] || - days === 1 && ['d'] || - days < relativeTimeThresholds.d && ['dd', days] || - months === 1 && ['M'] || - months < relativeTimeThresholds.M && ['MM', months] || - years === 1 && ['y'] || ['yy', years]; - - args[2] = withoutSuffix; - args[3] = +posNegDuration > 0; - args[4] = locale; - return substituteTimeAgo.apply({}, args); - } - - - /************************************ - Week of Year - ************************************/ - - - // firstDayOfWeek 0 = sun, 6 = sat - // the day of the week that starts the week - // (usually sunday or monday) - // firstDayOfWeekOfYear 0 = sun, 6 = sat - // the first week is the week that contains the first - // of this day of the week - // (eg. ISO weeks use thursday (4)) - function weekOfYear(mom, firstDayOfWeek, firstDayOfWeekOfYear) { - var end = firstDayOfWeekOfYear - firstDayOfWeek, - daysToDayOfWeek = firstDayOfWeekOfYear - mom.day(), - adjustedMoment; - - - if (daysToDayOfWeek > end) { - daysToDayOfWeek -= 7; - } - - if (daysToDayOfWeek < end - 7) { - daysToDayOfWeek += 7; - } - - adjustedMoment = moment(mom).add(daysToDayOfWeek, 'd'); - return { - week: Math.ceil(adjustedMoment.dayOfYear() / 7), - year: adjustedMoment.year() - }; - } - - //http://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday - function dayOfYearFromWeeks(year, week, weekday, firstDayOfWeekOfYear, firstDayOfWeek) { - var d = makeUTCDate(year, 0, 1).getUTCDay(), daysToAdd, dayOfYear; - - d = d === 0 ? 7 : d; - weekday = weekday != null ? weekday : firstDayOfWeek; - daysToAdd = firstDayOfWeek - d + (d > firstDayOfWeekOfYear ? 7 : 0) - (d < firstDayOfWeek ? 7 : 0); - dayOfYear = 7 * (week - 1) + (weekday - firstDayOfWeek) + daysToAdd + 1; - - return { - year: dayOfYear > 0 ? year : year - 1, - dayOfYear: dayOfYear > 0 ? dayOfYear : daysInYear(year - 1) + dayOfYear - }; - } - - /************************************ - Top Level Functions - ************************************/ - - function makeMoment(config) { - var input = config._i, - format = config._f; - - config._locale = config._locale || moment.localeData(config._l); - - if (input === null || (format === undefined && input === '')) { - return moment.invalid({nullInput: true}); - } - - if (typeof input === 'string') { - config._i = input = config._locale.preparse(input); - } - - if (moment.isMoment(input)) { - return new Moment(input, true); - } else if (format) { - if (isArray(format)) { - makeDateFromStringAndArray(config); - } else { - makeDateFromStringAndFormat(config); - } - } else { - makeDateFromInput(config); - } - - return new Moment(config); - } - - moment = function (input, format, locale, strict) { - var c; - - if (typeof(locale) === "boolean") { - strict = locale; - locale = undefined; - } - // object construction must be done this way. - // https://github.com/moment/moment/issues/1423 - c = {}; - c._isAMomentObject = true; - c._i = input; - c._f = format; - c._l = locale; - c._strict = strict; - c._isUTC = false; - c._pf = defaultParsingFlags(); - - return makeMoment(c); - }; - - moment.suppressDeprecationWarnings = false; - - moment.createFromInputFallback = deprecate( - 'moment construction falls back to js Date. This is ' + - 'discouraged and will be removed in upcoming major ' + - 'release. Please refer to ' + - 'https://github.com/moment/moment/issues/1407 for more info.', - function (config) { - config._d = new Date(config._i); - } - ); - - // Pick a moment m from moments so that m[fn](other) is true for all - // other. This relies on the function fn to be transitive. - // - // moments should either be an array of moment objects or an array, whose - // first element is an array of moment objects. - function pickBy(fn, moments) { - var res, i; - if (moments.length === 1 && isArray(moments[0])) { - moments = moments[0]; - } - if (!moments.length) { - return moment(); - } - res = moments[0]; - for (i = 1; i < moments.length; ++i) { - if (moments[i][fn](res)) { - res = moments[i]; - } - } - return res; - } - - moment.min = function () { - var args = [].slice.call(arguments, 0); - - return pickBy('isBefore', args); - }; - - moment.max = function () { - var args = [].slice.call(arguments, 0); - - return pickBy('isAfter', args); - }; - - // creating with utc - moment.utc = function (input, format, locale, strict) { - var c; - - if (typeof(locale) === "boolean") { - strict = locale; - locale = undefined; - } - // object construction must be done this way. - // https://github.com/moment/moment/issues/1423 - c = {}; - c._isAMomentObject = true; - c._useUTC = true; - c._isUTC = true; - c._l = locale; - c._i = input; - c._f = format; - c._strict = strict; - c._pf = defaultParsingFlags(); - - return makeMoment(c).utc(); - }; - - // creating with unix timestamp (in seconds) - moment.unix = function (input) { - return moment(input * 1000); - }; - - // duration - moment.duration = function (input, key) { - var duration = input, - // matching against regexp is expensive, do it on demand - match = null, - sign, - ret, - parseIso, - diffRes; - - if (moment.isDuration(input)) { - duration = { - ms: input._milliseconds, - d: input._days, - M: input._months - }; - } else if (typeof input === 'number') { - duration = {}; - if (key) { - duration[key] = input; - } else { - duration.milliseconds = input; - } - } else if (!!(match = aspNetTimeSpanJsonRegex.exec(input))) { - sign = (match[1] === '-') ? -1 : 1; - duration = { - y: 0, - d: toInt(match[DATE]) * sign, - h: toInt(match[HOUR]) * sign, - m: toInt(match[MINUTE]) * sign, - s: toInt(match[SECOND]) * sign, - ms: toInt(match[MILLISECOND]) * sign - }; - } else if (!!(match = isoDurationRegex.exec(input))) { - sign = (match[1] === '-') ? -1 : 1; - parseIso = function (inp) { - // We'd normally use ~~inp for this, but unfortunately it also - // converts floats to ints. - // inp may be undefined, so careful calling replace on it. - var res = inp && parseFloat(inp.replace(',', '.')); - // apply sign while we're at it - return (isNaN(res) ? 0 : res) * sign; - }; - duration = { - y: parseIso(match[2]), - M: parseIso(match[3]), - d: parseIso(match[4]), - h: parseIso(match[5]), - m: parseIso(match[6]), - s: parseIso(match[7]), - w: parseIso(match[8]) - }; - } else if (typeof duration === 'object' && - ('from' in duration || 'to' in duration)) { - diffRes = momentsDifference(moment(duration.from), moment(duration.to)); - - duration = {}; - duration.ms = diffRes.milliseconds; - duration.M = diffRes.months; - } - - ret = new Duration(duration); - - if (moment.isDuration(input) && input.hasOwnProperty('_locale')) { - ret._locale = input._locale; - } - - return ret; - }; - - // version number - moment.version = VERSION; - - // default format - moment.defaultFormat = isoFormat; - - // constant that refers to the ISO standard - moment.ISO_8601 = function () {}; - - // Plugins that add properties should also add the key here (null value), - // so we can properly clone ourselves. - moment.momentProperties = momentProperties; - - // This function will be called whenever a moment is mutated. - // It is intended to keep the offset in sync with the timezone. - moment.updateOffset = function () {}; - - // This function allows you to set a threshold for relative time strings - moment.relativeTimeThreshold = function (threshold, limit) { - if (relativeTimeThresholds[threshold] === undefined) { - return false; - } - if (limit === undefined) { - return relativeTimeThresholds[threshold]; - } - relativeTimeThresholds[threshold] = limit; - return true; - }; - - moment.lang = deprecate( - "moment.lang is deprecated. Use moment.locale instead.", - function (key, value) { - return moment.locale(key, value); - } - ); - - // This function will load locale and then set the global locale. If - // no arguments are passed in, it will simply return the current global - // locale key. - moment.locale = function (key, values) { - var data; - if (key) { - if (typeof(values) !== "undefined") { - data = moment.defineLocale(key, values); - } - else { - data = moment.localeData(key); - } - - if (data) { - moment.duration._locale = moment._locale = data; - } - } - - return moment._locale._abbr; - }; - - moment.defineLocale = function (name, values) { - if (values !== null) { - values.abbr = name; - if (!locales[name]) { - locales[name] = new Locale(); - } - locales[name].set(values); - - // backwards compat for now: also set the locale - moment.locale(name); - - return locales[name]; - } else { - // useful for testing - delete locales[name]; - return null; - } - }; - - moment.langData = deprecate( - "moment.langData is deprecated. Use moment.localeData instead.", - function (key) { - return moment.localeData(key); - } - ); - - // returns locale data - moment.localeData = function (key) { - var locale; - - if (key && key._locale && key._locale._abbr) { - key = key._locale._abbr; - } - - if (!key) { - return moment._locale; - } - - if (!isArray(key)) { - //short-circuit everything else - locale = loadLocale(key); - if (locale) { - return locale; - } - key = [key]; - } - - return chooseLocale(key); - }; - - // compare moment object - moment.isMoment = function (obj) { - return obj instanceof Moment || - (obj != null && obj.hasOwnProperty('_isAMomentObject')); - }; - - // for typechecking Duration objects - moment.isDuration = function (obj) { - return obj instanceof Duration; - }; - - for (i = lists.length - 1; i >= 0; --i) { - makeList(lists[i]); - } - - moment.normalizeUnits = function (units) { - return normalizeUnits(units); - }; - - moment.invalid = function (flags) { - var m = moment.utc(NaN); - if (flags != null) { - extend(m._pf, flags); - } - else { - m._pf.userInvalidated = true; - } - - return m; - }; - - moment.parseZone = function () { - return moment.apply(null, arguments).parseZone(); - }; - - moment.parseTwoDigitYear = function (input) { - return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); - }; - - /************************************ - Moment Prototype - ************************************/ - - - extend(moment.fn = Moment.prototype, { - - clone : function () { - return moment(this); - }, - - valueOf : function () { - return +this._d + ((this._offset || 0) * 60000); - }, - - unix : function () { - return Math.floor(+this / 1000); - }, - - toString : function () { - return this.clone().locale('en').format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ"); - }, - - toDate : function () { - return this._offset ? new Date(+this) : this._d; - }, - - toISOString : function () { - var m = moment(this).utc(); - if (0 < m.year() && m.year() <= 9999) { - return formatMoment(m, 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); - } else { - return formatMoment(m, 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); - } - }, - - toArray : function () { - var m = this; - return [ - m.year(), - m.month(), - m.date(), - m.hours(), - m.minutes(), - m.seconds(), - m.milliseconds() - ]; - }, - - isValid : function () { - return isValid(this); - }, - - isDSTShifted : function () { - if (this._a) { - return this.isValid() && compareArrays(this._a, (this._isUTC ? moment.utc(this._a) : moment(this._a)).toArray()) > 0; - } - - return false; - }, - - parsingFlags : function () { - return extend({}, this._pf); - }, - - invalidAt: function () { - return this._pf.overflow; - }, - - utc : function (keepLocalTime) { - return this.zone(0, keepLocalTime); - }, - - local : function (keepLocalTime) { - if (this._isUTC) { - this.zone(0, keepLocalTime); - this._isUTC = false; - - if (keepLocalTime) { - this.add(this._d.getTimezoneOffset(), 'm'); - } - } - return this; - }, - - format : function (inputString) { - var output = formatMoment(this, inputString || moment.defaultFormat); - return this.localeData().postformat(output); - }, - - add : createAdder(1, 'add'), - - subtract : createAdder(-1, 'subtract'), - - diff : function (input, units, asFloat) { - var that = makeAs(input, this), - zoneDiff = (this.zone() - that.zone()) * 6e4, - diff, output; - - units = normalizeUnits(units); - - if (units === 'year' || units === 'month') { - // average number of days in the months in the given dates - diff = (this.daysInMonth() + that.daysInMonth()) * 432e5; // 24 * 60 * 60 * 1000 / 2 - // difference in months - output = ((this.year() - that.year()) * 12) + (this.month() - that.month()); - // adjust by taking difference in days, average number of days - // and dst in the given months. - output += ((this - moment(this).startOf('month')) - - (that - moment(that).startOf('month'))) / diff; - // same as above but with zones, to negate all dst - output -= ((this.zone() - moment(this).startOf('month').zone()) - - (that.zone() - moment(that).startOf('month').zone())) * 6e4 / diff; - if (units === 'year') { - output = output / 12; - } - } else { - diff = (this - that); - output = units === 'second' ? diff / 1e3 : // 1000 - units === 'minute' ? diff / 6e4 : // 1000 * 60 - units === 'hour' ? diff / 36e5 : // 1000 * 60 * 60 - units === 'day' ? (diff - zoneDiff) / 864e5 : // 1000 * 60 * 60 * 24, negate dst - units === 'week' ? (diff - zoneDiff) / 6048e5 : // 1000 * 60 * 60 * 24 * 7, negate dst - diff; - } - return asFloat ? output : absRound(output); - }, - - from : function (time, withoutSuffix) { - return moment.duration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix); - }, - - fromNow : function (withoutSuffix) { - return this.from(moment(), withoutSuffix); - }, - - calendar : function (time) { - // We want to compare the start of today, vs this. - // Getting start-of-today depends on whether we're zone'd or not. - var now = time || moment(), - sod = makeAs(now, this).startOf('day'), - diff = this.diff(sod, 'days', true), - format = diff < -6 ? 'sameElse' : - diff < -1 ? 'lastWeek' : - diff < 0 ? 'lastDay' : - diff < 1 ? 'sameDay' : - diff < 2 ? 'nextDay' : - diff < 7 ? 'nextWeek' : 'sameElse'; - return this.format(this.localeData().calendar(format, this)); - }, - - isLeapYear : function () { - return isLeapYear(this.year()); - }, - - isDST : function () { - return (this.zone() < this.clone().month(0).zone() || - this.zone() < this.clone().month(5).zone()); - }, - - day : function (input) { - var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); - if (input != null) { - input = parseWeekday(input, this.localeData()); - return this.add(input - day, 'd'); - } else { - return day; - } - }, - - month : makeAccessor('Month', true), - - startOf : function (units) { - units = normalizeUnits(units); - // the following switch intentionally omits break keywords - // to utilize falling through the cases. - switch (units) { - case 'year': - this.month(0); - /* falls through */ - case 'quarter': - case 'month': - this.date(1); - /* falls through */ - case 'week': - case 'isoWeek': - case 'day': - this.hours(0); - /* falls through */ - case 'hour': - this.minutes(0); - /* falls through */ - case 'minute': - this.seconds(0); - /* falls through */ - case 'second': - this.milliseconds(0); - /* falls through */ - } - - // weeks are a special case - if (units === 'week') { - this.weekday(0); - } else if (units === 'isoWeek') { - this.isoWeekday(1); - } - - // quarters are also special - if (units === 'quarter') { - this.month(Math.floor(this.month() / 3) * 3); - } - - return this; - }, - - endOf: function (units) { - units = normalizeUnits(units); - return this.startOf(units).add(1, (units === 'isoWeek' ? 'week' : units)).subtract(1, 'ms'); - }, - - isAfter: function (input, units) { - units = typeof units !== 'undefined' ? units : 'millisecond'; - return +this.clone().startOf(units) > +moment(input).startOf(units); - }, - - isBefore: function (input, units) { - units = typeof units !== 'undefined' ? units : 'millisecond'; - return +this.clone().startOf(units) < +moment(input).startOf(units); - }, - - isSame: function (input, units) { - units = units || 'ms'; - return +this.clone().startOf(units) === +makeAs(input, this).startOf(units); - }, - - min: deprecate( - 'moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548', - function (other) { - other = moment.apply(null, arguments); - return other < this ? this : other; - } - ), - - max: deprecate( - 'moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548', - function (other) { - other = moment.apply(null, arguments); - return other > this ? this : other; - } - ), - - // keepLocalTime = true means only change the timezone, without - // affecting the local hour. So 5:31:26 +0300 --[zone(2, true)]--> - // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist int zone - // +0200, so we adjust the time as needed, to be valid. - // - // Keeping the time actually adds/subtracts (one hour) - // from the actual represented time. That is why we call updateOffset - // a second time. In case it wants us to change the offset again - // _changeInProgress == true case, then we have to adjust, because - // there is no such time in the given timezone. - zone : function (input, keepLocalTime) { - var offset = this._offset || 0, - localAdjust; - if (input != null) { - if (typeof input === 'string') { - input = timezoneMinutesFromString(input); - } - if (Math.abs(input) < 16) { - input = input * 60; - } - if (!this._isUTC && keepLocalTime) { - localAdjust = this._d.getTimezoneOffset(); - } - this._offset = input; - this._isUTC = true; - if (localAdjust != null) { - this.subtract(localAdjust, 'm'); - } - if (offset !== input) { - if (!keepLocalTime || this._changeInProgress) { - addOrSubtractDurationFromMoment(this, - moment.duration(offset - input, 'm'), 1, false); - } else if (!this._changeInProgress) { - this._changeInProgress = true; - moment.updateOffset(this, true); - this._changeInProgress = null; - } - } - } else { - return this._isUTC ? offset : this._d.getTimezoneOffset(); - } - return this; - }, - - zoneAbbr : function () { - return this._isUTC ? 'UTC' : ''; - }, - - zoneName : function () { - return this._isUTC ? 'Coordinated Universal Time' : ''; - }, - - parseZone : function () { - if (this._tzm) { - this.zone(this._tzm); - } else if (typeof this._i === 'string') { - this.zone(this._i); - } - return this; - }, - - hasAlignedHourOffset : function (input) { - if (!input) { - input = 0; - } - else { - input = moment(input).zone(); - } - - return (this.zone() - input) % 60 === 0; - }, - - daysInMonth : function () { - return daysInMonth(this.year(), this.month()); - }, - - dayOfYear : function (input) { - var dayOfYear = round((moment(this).startOf('day') - moment(this).startOf('year')) / 864e5) + 1; - return input == null ? dayOfYear : this.add((input - dayOfYear), 'd'); - }, - - quarter : function (input) { - return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3); - }, - - weekYear : function (input) { - var year = weekOfYear(this, this.localeData()._week.dow, this.localeData()._week.doy).year; - return input == null ? year : this.add((input - year), 'y'); - }, - - isoWeekYear : function (input) { - var year = weekOfYear(this, 1, 4).year; - return input == null ? year : this.add((input - year), 'y'); - }, - - week : function (input) { - var week = this.localeData().week(this); - return input == null ? week : this.add((input - week) * 7, 'd'); - }, - - isoWeek : function (input) { - var week = weekOfYear(this, 1, 4).week; - return input == null ? week : this.add((input - week) * 7, 'd'); - }, - - weekday : function (input) { - var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7; - return input == null ? weekday : this.add(input - weekday, 'd'); - }, - - isoWeekday : function (input) { - // behaves the same as moment#day except - // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6) - // as a setter, sunday should belong to the previous week. - return input == null ? this.day() || 7 : this.day(this.day() % 7 ? input : input - 7); - }, - - isoWeeksInYear : function () { - return weeksInYear(this.year(), 1, 4); - }, - - weeksInYear : function () { - var weekInfo = this.localeData()._week; - return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy); - }, - - get : function (units) { - units = normalizeUnits(units); - return this[units](); - }, - - set : function (units, value) { - units = normalizeUnits(units); - if (typeof this[units] === 'function') { - this[units](value); - } - return this; - }, - - // If passed a locale key, it will set the locale for this - // instance. Otherwise, it will return the locale configuration - // variables for this instance. - locale : function (key) { - if (key === undefined) { - return this._locale._abbr; - } else { - this._locale = moment.localeData(key); - return this; - } - }, - - lang : deprecate( - "moment().lang() is deprecated. Use moment().localeData() instead.", - function (key) { - if (key === undefined) { - return this.localeData(); - } else { - this._locale = moment.localeData(key); - return this; - } - } - ), - - localeData : function () { - return this._locale; - } - }); - - function rawMonthSetter(mom, value) { - var dayOfMonth; - - // TODO: Move this out of here! - if (typeof value === 'string') { - value = mom.localeData().monthsParse(value); - // TODO: Another silent failure? - if (typeof value !== 'number') { - return mom; - } - } - - dayOfMonth = Math.min(mom.date(), - daysInMonth(mom.year(), value)); - mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth); - return mom; - } - - function rawGetter(mom, unit) { - return mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit](); - } - - function rawSetter(mom, unit, value) { - if (unit === 'Month') { - return rawMonthSetter(mom, value); - } else { - return mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value); - } - } - - function makeAccessor(unit, keepTime) { - return function (value) { - if (value != null) { - rawSetter(this, unit, value); - moment.updateOffset(this, keepTime); - return this; - } else { - return rawGetter(this, unit); - } - }; - } - - moment.fn.millisecond = moment.fn.milliseconds = makeAccessor('Milliseconds', false); - moment.fn.second = moment.fn.seconds = makeAccessor('Seconds', false); - moment.fn.minute = moment.fn.minutes = makeAccessor('Minutes', false); - // Setting the hour should keep the time, because the user explicitly - // specified which hour he wants. So trying to maintain the same hour (in - // a new timezone) makes sense. Adding/subtracting hours does not follow - // this rule. - moment.fn.hour = moment.fn.hours = makeAccessor('Hours', true); - // moment.fn.month is defined separately - moment.fn.date = makeAccessor('Date', true); - moment.fn.dates = deprecate('dates accessor is deprecated. Use date instead.', makeAccessor('Date', true)); - moment.fn.year = makeAccessor('FullYear', true); - moment.fn.years = deprecate('years accessor is deprecated. Use year instead.', makeAccessor('FullYear', true)); - - // add plural methods - moment.fn.days = moment.fn.day; - moment.fn.months = moment.fn.month; - moment.fn.weeks = moment.fn.week; - moment.fn.isoWeeks = moment.fn.isoWeek; - moment.fn.quarters = moment.fn.quarter; - - // add aliased format methods - moment.fn.toJSON = moment.fn.toISOString; - - /************************************ - Duration Prototype - ************************************/ - - - function daysToYears (days) { - // 400 years have 146097 days (taking into account leap year rules) - return days * 400 / 146097; - } - - function yearsToDays (years) { - // years * 365 + absRound(years / 4) - - // absRound(years / 100) + absRound(years / 400); - return years * 146097 / 400; - } - - extend(moment.duration.fn = Duration.prototype, { - - _bubble : function () { - var milliseconds = this._milliseconds, - days = this._days, - months = this._months, - data = this._data, - seconds, minutes, hours, years = 0; - - // The following code bubbles up values, see the tests for - // examples of what that means. - data.milliseconds = milliseconds % 1000; - - seconds = absRound(milliseconds / 1000); - data.seconds = seconds % 60; - - minutes = absRound(seconds / 60); - data.minutes = minutes % 60; - - hours = absRound(minutes / 60); - data.hours = hours % 24; - - days += absRound(hours / 24); - - // Accurately convert days to years, assume start from year 0. - years = absRound(daysToYears(days)); - days -= absRound(yearsToDays(years)); - - // 30 days to a month - // TODO (iskren): Use anchor date (like 1st Jan) to compute this. - months += absRound(days / 30); - days %= 30; - - // 12 months -> 1 year - years += absRound(months / 12); - months %= 12; - - data.days = days; - data.months = months; - data.years = years; - }, - - abs : function () { - this._milliseconds = Math.abs(this._milliseconds); - this._days = Math.abs(this._days); - this._months = Math.abs(this._months); - - this._data.milliseconds = Math.abs(this._data.milliseconds); - this._data.seconds = Math.abs(this._data.seconds); - this._data.minutes = Math.abs(this._data.minutes); - this._data.hours = Math.abs(this._data.hours); - this._data.months = Math.abs(this._data.months); - this._data.years = Math.abs(this._data.years); - - return this; - }, - - weeks : function () { - return absRound(this.days() / 7); - }, - - valueOf : function () { - return this._milliseconds + - this._days * 864e5 + - (this._months % 12) * 2592e6 + - toInt(this._months / 12) * 31536e6; - }, - - humanize : function (withSuffix) { - var output = relativeTime(this, !withSuffix, this.localeData()); - - if (withSuffix) { - output = this.localeData().pastFuture(+this, output); - } - - return this.localeData().postformat(output); - }, - - add : function (input, val) { - // supports only 2.0-style add(1, 's') or add(moment) - var dur = moment.duration(input, val); - - this._milliseconds += dur._milliseconds; - this._days += dur._days; - this._months += dur._months; - - this._bubble(); - - return this; - }, - - subtract : function (input, val) { - var dur = moment.duration(input, val); - - this._milliseconds -= dur._milliseconds; - this._days -= dur._days; - this._months -= dur._months; - - this._bubble(); - - return this; - }, - - get : function (units) { - units = normalizeUnits(units); - return this[units.toLowerCase() + 's'](); - }, - - as : function (units) { - var days, months; - units = normalizeUnits(units); - - days = this._days + this._milliseconds / 864e5; - if (units === 'month' || units === 'year') { - months = this._months + daysToYears(days) * 12; - return units === 'month' ? months : months / 12; - } else { - days += yearsToDays(this._months / 12); - switch (units) { - case 'week': return days / 7; - case 'day': return days; - case 'hour': return days * 24; - case 'minute': return days * 24 * 60; - case 'second': return days * 24 * 60 * 60; - case 'millisecond': return days * 24 * 60 * 60 * 1000; - default: throw new Error('Unknown unit ' + units); - } - } - }, - - lang : moment.fn.lang, - locale : moment.fn.locale, - - toIsoString : deprecate( - "toIsoString() is deprecated. Please use toISOString() instead " + - "(notice the capitals)", - function () { - return this.toISOString(); - } - ), - - toISOString : function () { - // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js - var years = Math.abs(this.years()), - months = Math.abs(this.months()), - days = Math.abs(this.days()), - hours = Math.abs(this.hours()), - minutes = Math.abs(this.minutes()), - seconds = Math.abs(this.seconds() + this.milliseconds() / 1000); - - if (!this.asSeconds()) { - // this is the same as C#'s (Noda) and python (isodate)... - // but not other JS (goog.date) - return 'P0D'; - } - - return (this.asSeconds() < 0 ? '-' : '') + - 'P' + - (years ? years + 'Y' : '') + - (months ? months + 'M' : '') + - (days ? days + 'D' : '') + - ((hours || minutes || seconds) ? 'T' : '') + - (hours ? hours + 'H' : '') + - (minutes ? minutes + 'M' : '') + - (seconds ? seconds + 'S' : ''); - }, - - localeData : function () { - return this._locale; - } - }); - - function makeDurationGetter(name) { - moment.duration.fn[name] = function () { - return this._data[name]; - }; - } - - for (i in unitMillisecondFactors) { - if (unitMillisecondFactors.hasOwnProperty(i)) { - makeDurationGetter(i.toLowerCase()); - } - } - - moment.duration.fn.asMilliseconds = function () { - return this.as('ms'); - }; - moment.duration.fn.asSeconds = function () { - return this.as('s'); - }; - moment.duration.fn.asMinutes = function () { - return this.as('m'); - }; - moment.duration.fn.asHours = function () { - return this.as('h'); - }; - moment.duration.fn.asDays = function () { - return this.as('d'); - }; - moment.duration.fn.asWeeks = function () { - return this.as('weeks'); - }; - moment.duration.fn.asMonths = function () { - return this.as('M'); - }; - moment.duration.fn.asYears = function () { - return this.as('y'); - }; - - /************************************ - Default Locale - ************************************/ - - - // Set default locale, other locale will inherit from English. - moment.locale('en', { - ordinal : function (number) { - var b = number % 10, - output = (toInt(number % 100 / 10) === 1) ? 'th' : - (b === 1) ? 'st' : - (b === 2) ? 'nd' : - (b === 3) ? 'rd' : 'th'; - return number + output; - } - }); - - /* EMBED_LOCALES */ - - /************************************ - Exposing Moment - ************************************/ - - function makeGlobal(shouldDeprecate) { - /*global ender:false */ - if (typeof ender !== 'undefined') { - return; - } - oldGlobalMoment = globalScope.moment; - if (shouldDeprecate) { - globalScope.moment = deprecate( - 'Accessing Moment through the global scope is ' + - 'deprecated, and will be removed in an upcoming ' + - 'release.', - moment); - } else { - globalScope.moment = moment; - } - } - - // CommonJS module is defined - if (hasModule) { - module.exports = moment; - } else if (typeof define === 'function' && define.amd) { - define('moment', function (require, exports, module) { - if (module.config && module.config() && module.config().noGlobal === true) { - // release the global variable - globalScope.moment = oldGlobalMoment; - } - - return moment; - }); - makeGlobal(true); - } else { - makeGlobal(); - } +//! moment.js +//! version : 2.8.1 +//! authors : Tim Wood, Iskren Chernev, Moment.js contributors +//! license : MIT +//! momentjs.com + +(function (undefined) { + /************************************ + Constants + ************************************/ + + var moment, + VERSION = '2.8.1', + // the global-scope this is NOT the global object in Node.js + globalScope = typeof global !== 'undefined' ? global : this, + oldGlobalMoment, + round = Math.round, + i, + + YEAR = 0, + MONTH = 1, + DATE = 2, + HOUR = 3, + MINUTE = 4, + SECOND = 5, + MILLISECOND = 6, + + // internal storage for locale config files + locales = {}, + + // extra moment internal properties (plugins register props here) + momentProperties = [], + + // check for nodeJS + hasModule = (typeof module !== 'undefined' && module.exports), + + // ASP.NET json date format regex + aspNetJsonRegex = /^\/?Date\((\-?\d+)/i, + aspNetTimeSpanJsonRegex = /(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/, + + // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html + // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere + isoDurationRegex = /^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/, + + // format tokens + formattingTokens = /(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g, + localFormattingTokens = /(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g, + + // parsing token regexes + parseTokenOneOrTwoDigits = /\d\d?/, // 0 - 99 + parseTokenOneToThreeDigits = /\d{1,3}/, // 0 - 999 + parseTokenOneToFourDigits = /\d{1,4}/, // 0 - 9999 + parseTokenOneToSixDigits = /[+\-]?\d{1,6}/, // -999,999 - 999,999 + parseTokenDigits = /\d+/, // nonzero number of digits + parseTokenWord = /[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i, // any word (or two) characters or numbers including two/three word month in arabic. + parseTokenTimezone = /Z|[\+\-]\d\d:?\d\d/gi, // +00:00 -00:00 +0000 -0000 or Z + parseTokenT = /T/i, // T (ISO separator) + parseTokenTimestampMs = /[\+\-]?\d+(\.\d{1,3})?/, // 123456789 123456789.123 + parseTokenOrdinal = /\d{1,2}/, + + //strict parsing regexes + parseTokenOneDigit = /\d/, // 0 - 9 + parseTokenTwoDigits = /\d\d/, // 00 - 99 + parseTokenThreeDigits = /\d{3}/, // 000 - 999 + parseTokenFourDigits = /\d{4}/, // 0000 - 9999 + parseTokenSixDigits = /[+-]?\d{6}/, // -999,999 - 999,999 + parseTokenSignedNumber = /[+-]?\d+/, // -inf - inf + + // iso 8601 regex + // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00) + isoRegex = /^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/, + + isoFormat = 'YYYY-MM-DDTHH:mm:ssZ', + + isoDates = [ + ['YYYYYY-MM-DD', /[+-]\d{6}-\d{2}-\d{2}/], + ['YYYY-MM-DD', /\d{4}-\d{2}-\d{2}/], + ['GGGG-[W]WW-E', /\d{4}-W\d{2}-\d/], + ['GGGG-[W]WW', /\d{4}-W\d{2}/], + ['YYYY-DDD', /\d{4}-\d{3}/] + ], + + // iso time formats and regexes + isoTimes = [ + ['HH:mm:ss.SSSS', /(T| )\d\d:\d\d:\d\d\.\d+/], + ['HH:mm:ss', /(T| )\d\d:\d\d:\d\d/], + ['HH:mm', /(T| )\d\d:\d\d/], + ['HH', /(T| )\d\d/] + ], + + // timezone chunker "+10:00" > ["10", "00"] or "-1530" > ["-15", "30"] + parseTimezoneChunker = /([\+\-]|\d\d)/gi, + + // getter and setter names + proxyGettersAndSetters = 'Date|Hours|Minutes|Seconds|Milliseconds'.split('|'), + unitMillisecondFactors = { + 'Milliseconds' : 1, + 'Seconds' : 1e3, + 'Minutes' : 6e4, + 'Hours' : 36e5, + 'Days' : 864e5, + 'Months' : 2592e6, + 'Years' : 31536e6 + }, + + unitAliases = { + ms : 'millisecond', + s : 'second', + m : 'minute', + h : 'hour', + d : 'day', + D : 'date', + w : 'week', + W : 'isoWeek', + M : 'month', + Q : 'quarter', + y : 'year', + DDD : 'dayOfYear', + e : 'weekday', + E : 'isoWeekday', + gg: 'weekYear', + GG: 'isoWeekYear' + }, + + camelFunctions = { + dayofyear : 'dayOfYear', + isoweekday : 'isoWeekday', + isoweek : 'isoWeek', + weekyear : 'weekYear', + isoweekyear : 'isoWeekYear' + }, + + // format function strings + formatFunctions = {}, + + // default relative time thresholds + relativeTimeThresholds = { + s: 45, // seconds to minute + m: 45, // minutes to hour + h: 22, // hours to day + d: 26, // days to month + M: 11 // months to year + }, + + // tokens to ordinalize and pad + ordinalizeTokens = 'DDD w W M D d'.split(' '), + paddedTokens = 'M D H h m s w W'.split(' '), + + formatTokenFunctions = { + M : function () { + return this.month() + 1; + }, + MMM : function (format) { + return this.localeData().monthsShort(this, format); + }, + MMMM : function (format) { + return this.localeData().months(this, format); + }, + D : function () { + return this.date(); + }, + DDD : function () { + return this.dayOfYear(); + }, + d : function () { + return this.day(); + }, + dd : function (format) { + return this.localeData().weekdaysMin(this, format); + }, + ddd : function (format) { + return this.localeData().weekdaysShort(this, format); + }, + dddd : function (format) { + return this.localeData().weekdays(this, format); + }, + w : function () { + return this.week(); + }, + W : function () { + return this.isoWeek(); + }, + YY : function () { + return leftZeroFill(this.year() % 100, 2); + }, + YYYY : function () { + return leftZeroFill(this.year(), 4); + }, + YYYYY : function () { + return leftZeroFill(this.year(), 5); + }, + YYYYYY : function () { + var y = this.year(), sign = y >= 0 ? '+' : '-'; + return sign + leftZeroFill(Math.abs(y), 6); + }, + gg : function () { + return leftZeroFill(this.weekYear() % 100, 2); + }, + gggg : function () { + return leftZeroFill(this.weekYear(), 4); + }, + ggggg : function () { + return leftZeroFill(this.weekYear(), 5); + }, + GG : function () { + return leftZeroFill(this.isoWeekYear() % 100, 2); + }, + GGGG : function () { + return leftZeroFill(this.isoWeekYear(), 4); + }, + GGGGG : function () { + return leftZeroFill(this.isoWeekYear(), 5); + }, + e : function () { + return this.weekday(); + }, + E : function () { + return this.isoWeekday(); + }, + a : function () { + return this.localeData().meridiem(this.hours(), this.minutes(), true); + }, + A : function () { + return this.localeData().meridiem(this.hours(), this.minutes(), false); + }, + H : function () { + return this.hours(); + }, + h : function () { + return this.hours() % 12 || 12; + }, + m : function () { + return this.minutes(); + }, + s : function () { + return this.seconds(); + }, + S : function () { + return toInt(this.milliseconds() / 100); + }, + SS : function () { + return leftZeroFill(toInt(this.milliseconds() / 10), 2); + }, + SSS : function () { + return leftZeroFill(this.milliseconds(), 3); + }, + SSSS : function () { + return leftZeroFill(this.milliseconds(), 3); + }, + Z : function () { + var a = -this.zone(), + b = '+'; + if (a < 0) { + a = -a; + b = '-'; + } + return b + leftZeroFill(toInt(a / 60), 2) + ':' + leftZeroFill(toInt(a) % 60, 2); + }, + ZZ : function () { + var a = -this.zone(), + b = '+'; + if (a < 0) { + a = -a; + b = '-'; + } + return b + leftZeroFill(toInt(a / 60), 2) + leftZeroFill(toInt(a) % 60, 2); + }, + z : function () { + return this.zoneAbbr(); + }, + zz : function () { + return this.zoneName(); + }, + X : function () { + return this.unix(); + }, + Q : function () { + return this.quarter(); + } + }, + + deprecations = {}, + + lists = ['months', 'monthsShort', 'weekdays', 'weekdaysShort', 'weekdaysMin']; + + // Pick the first defined of two or three arguments. dfl comes from + // default. + function dfl(a, b, c) { + switch (arguments.length) { + case 2: return a != null ? a : b; + case 3: return a != null ? a : b != null ? b : c; + default: throw new Error('Implement me'); + } + } + + function defaultParsingFlags() { + // We need to deep clone this object, and es5 standard is not very + // helpful. + return { + empty : false, + unusedTokens : [], + unusedInput : [], + overflow : -2, + charsLeftOver : 0, + nullInput : false, + invalidMonth : null, + invalidFormat : false, + userInvalidated : false, + iso: false + }; + } + + function printMsg(msg) { + if (moment.suppressDeprecationWarnings === false && + typeof console !== 'undefined' && console.warn) { + console.warn("Deprecation warning: " + msg); + } + } + + function deprecate(msg, fn) { + var firstTime = true; + return extend(function () { + if (firstTime) { + printMsg(msg); + firstTime = false; + } + return fn.apply(this, arguments); + }, fn); + } + + function deprecateSimple(name, msg) { + if (!deprecations[name]) { + printMsg(msg); + deprecations[name] = true; + } + } + + function padToken(func, count) { + return function (a) { + return leftZeroFill(func.call(this, a), count); + }; + } + function ordinalizeToken(func, period) { + return function (a) { + return this.localeData().ordinal(func.call(this, a), period); + }; + } + + while (ordinalizeTokens.length) { + i = ordinalizeTokens.pop(); + formatTokenFunctions[i + 'o'] = ordinalizeToken(formatTokenFunctions[i], i); + } + while (paddedTokens.length) { + i = paddedTokens.pop(); + formatTokenFunctions[i + i] = padToken(formatTokenFunctions[i], 2); + } + formatTokenFunctions.DDDD = padToken(formatTokenFunctions.DDD, 3); + + + /************************************ + Constructors + ************************************/ + + function Locale() { + } + + // Moment prototype object + function Moment(config, skipOverflow) { + if (skipOverflow !== false) { + checkOverflow(config); + } + copyConfig(this, config); + this._d = new Date(+config._d); + } + + // Duration Constructor + function Duration(duration) { + var normalizedInput = normalizeObjectUnits(duration), + years = normalizedInput.year || 0, + quarters = normalizedInput.quarter || 0, + months = normalizedInput.month || 0, + weeks = normalizedInput.week || 0, + days = normalizedInput.day || 0, + hours = normalizedInput.hour || 0, + minutes = normalizedInput.minute || 0, + seconds = normalizedInput.second || 0, + milliseconds = normalizedInput.millisecond || 0; + + // representation for dateAddRemove + this._milliseconds = +milliseconds + + seconds * 1e3 + // 1000 + minutes * 6e4 + // 1000 * 60 + hours * 36e5; // 1000 * 60 * 60 + // Because of dateAddRemove treats 24 hours as different from a + // day when working around DST, we need to store them separately + this._days = +days + + weeks * 7; + // It is impossible translate months into days without knowing + // which months you are are talking about, so we have to store + // it separately. + this._months = +months + + quarters * 3 + + years * 12; + + this._data = {}; + + this._locale = moment.localeData(); + + this._bubble(); + } + + /************************************ + Helpers + ************************************/ + + + function extend(a, b) { + for (var i in b) { + if (b.hasOwnProperty(i)) { + a[i] = b[i]; + } + } + + if (b.hasOwnProperty('toString')) { + a.toString = b.toString; + } + + if (b.hasOwnProperty('valueOf')) { + a.valueOf = b.valueOf; + } + + return a; + } + + function copyConfig(to, from) { + var i, prop, val; + + if (typeof from._isAMomentObject !== 'undefined') { + to._isAMomentObject = from._isAMomentObject; + } + if (typeof from._i !== 'undefined') { + to._i = from._i; + } + if (typeof from._f !== 'undefined') { + to._f = from._f; + } + if (typeof from._l !== 'undefined') { + to._l = from._l; + } + if (typeof from._strict !== 'undefined') { + to._strict = from._strict; + } + if (typeof from._tzm !== 'undefined') { + to._tzm = from._tzm; + } + if (typeof from._isUTC !== 'undefined') { + to._isUTC = from._isUTC; + } + if (typeof from._offset !== 'undefined') { + to._offset = from._offset; + } + if (typeof from._pf !== 'undefined') { + to._pf = from._pf; + } + if (typeof from._locale !== 'undefined') { + to._locale = from._locale; + } + + if (momentProperties.length > 0) { + for (i in momentProperties) { + prop = momentProperties[i]; + val = from[prop]; + if (typeof val !== 'undefined') { + to[prop] = val; + } + } + } + + return to; + } + + function absRound(number) { + if (number < 0) { + return Math.ceil(number); + } else { + return Math.floor(number); + } + } + + // left zero fill a number + // see http://jsperf.com/left-zero-filling for performance comparison + function leftZeroFill(number, targetLength, forceSign) { + var output = '' + Math.abs(number), + sign = number >= 0; + + while (output.length < targetLength) { + output = '0' + output; + } + return (sign ? (forceSign ? '+' : '') : '-') + output; + } + + function positiveMomentsDifference(base, other) { + var res = {milliseconds: 0, months: 0}; + + res.months = other.month() - base.month() + + (other.year() - base.year()) * 12; + if (base.clone().add(res.months, 'M').isAfter(other)) { + --res.months; + } + + res.milliseconds = +other - +(base.clone().add(res.months, 'M')); + + return res; + } + + function momentsDifference(base, other) { + var res; + other = makeAs(other, base); + if (base.isBefore(other)) { + res = positiveMomentsDifference(base, other); + } else { + res = positiveMomentsDifference(other, base); + res.milliseconds = -res.milliseconds; + res.months = -res.months; + } + + return res; + } + + // TODO: remove 'name' arg after deprecation is removed + function createAdder(direction, name) { + return function (val, period) { + var dur, tmp; + //invert the arguments, but complain about it + if (period !== null && !isNaN(+period)) { + deprecateSimple(name, "moment()." + name + "(period, number) is deprecated. Please use moment()." + name + "(number, period)."); + tmp = val; val = period; period = tmp; + } + + val = typeof val === 'string' ? +val : val; + dur = moment.duration(val, period); + addOrSubtractDurationFromMoment(this, dur, direction); + return this; + }; + } + + function addOrSubtractDurationFromMoment(mom, duration, isAdding, updateOffset) { + var milliseconds = duration._milliseconds, + days = duration._days, + months = duration._months; + updateOffset = updateOffset == null ? true : updateOffset; + + if (milliseconds) { + mom._d.setTime(+mom._d + milliseconds * isAdding); + } + if (days) { + rawSetter(mom, 'Date', rawGetter(mom, 'Date') + days * isAdding); + } + if (months) { + rawMonthSetter(mom, rawGetter(mom, 'Month') + months * isAdding); + } + if (updateOffset) { + moment.updateOffset(mom, days || months); + } + } + + // check if is an array + function isArray(input) { + return Object.prototype.toString.call(input) === '[object Array]'; + } + + function isDate(input) { + return Object.prototype.toString.call(input) === '[object Date]' || + input instanceof Date; + } + + // compare two arrays, return the number of differences + function compareArrays(array1, array2, dontConvert) { + var len = Math.min(array1.length, array2.length), + lengthDiff = Math.abs(array1.length - array2.length), + diffs = 0, + i; + for (i = 0; i < len; i++) { + if ((dontConvert && array1[i] !== array2[i]) || + (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))) { + diffs++; + } + } + return diffs + lengthDiff; + } + + function normalizeUnits(units) { + if (units) { + var lowered = units.toLowerCase().replace(/(.)s$/, '$1'); + units = unitAliases[units] || camelFunctions[lowered] || lowered; + } + return units; + } + + function normalizeObjectUnits(inputObject) { + var normalizedInput = {}, + normalizedProp, + prop; + + for (prop in inputObject) { + if (inputObject.hasOwnProperty(prop)) { + normalizedProp = normalizeUnits(prop); + if (normalizedProp) { + normalizedInput[normalizedProp] = inputObject[prop]; + } + } + } + + return normalizedInput; + } + + function makeList(field) { + var count, setter; + + if (field.indexOf('week') === 0) { + count = 7; + setter = 'day'; + } + else if (field.indexOf('month') === 0) { + count = 12; + setter = 'month'; + } + else { + return; + } + + moment[field] = function (format, index) { + var i, getter, + method = moment._locale[field], + results = []; + + if (typeof format === 'number') { + index = format; + format = undefined; + } + + getter = function (i) { + var m = moment().utc().set(setter, i); + return method.call(moment._locale, m, format || ''); + }; + + if (index != null) { + return getter(index); + } + else { + for (i = 0; i < count; i++) { + results.push(getter(i)); + } + return results; + } + }; + } + + function toInt(argumentForCoercion) { + var coercedNumber = +argumentForCoercion, + value = 0; + + if (coercedNumber !== 0 && isFinite(coercedNumber)) { + if (coercedNumber >= 0) { + value = Math.floor(coercedNumber); + } else { + value = Math.ceil(coercedNumber); + } + } + + return value; + } + + function daysInMonth(year, month) { + return new Date(Date.UTC(year, month + 1, 0)).getUTCDate(); + } + + function weeksInYear(year, dow, doy) { + return weekOfYear(moment([year, 11, 31 + dow - doy]), dow, doy).week; + } + + function daysInYear(year) { + return isLeapYear(year) ? 366 : 365; + } + + function isLeapYear(year) { + return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0; + } + + function checkOverflow(m) { + var overflow; + if (m._a && m._pf.overflow === -2) { + overflow = + m._a[MONTH] < 0 || m._a[MONTH] > 11 ? MONTH : + m._a[DATE] < 1 || m._a[DATE] > daysInMonth(m._a[YEAR], m._a[MONTH]) ? DATE : + m._a[HOUR] < 0 || m._a[HOUR] > 23 ? HOUR : + m._a[MINUTE] < 0 || m._a[MINUTE] > 59 ? MINUTE : + m._a[SECOND] < 0 || m._a[SECOND] > 59 ? SECOND : + m._a[MILLISECOND] < 0 || m._a[MILLISECOND] > 999 ? MILLISECOND : + -1; + + if (m._pf._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) { + overflow = DATE; + } + + m._pf.overflow = overflow; + } + } + + function isValid(m) { + if (m._isValid == null) { + m._isValid = !isNaN(m._d.getTime()) && + m._pf.overflow < 0 && + !m._pf.empty && + !m._pf.invalidMonth && + !m._pf.nullInput && + !m._pf.invalidFormat && + !m._pf.userInvalidated; + + if (m._strict) { + m._isValid = m._isValid && + m._pf.charsLeftOver === 0 && + m._pf.unusedTokens.length === 0; + } + } + return m._isValid; + } + + function normalizeLocale(key) { + return key ? key.toLowerCase().replace('_', '-') : key; + } + + // pick the locale from the array + // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each + // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root + function chooseLocale(names) { + var i = 0, j, next, locale, split; + + while (i < names.length) { + split = normalizeLocale(names[i]).split('-'); + j = split.length; + next = normalizeLocale(names[i + 1]); + next = next ? next.split('-') : null; + while (j > 0) { + locale = loadLocale(split.slice(0, j).join('-')); + if (locale) { + return locale; + } + if (next && next.length >= j && compareArrays(split, next, true) >= j - 1) { + //the next array item is better than a shallower substring of this one + break; + } + j--; + } + i++; + } + return null; + } + + function loadLocale(name) { + var oldLocale = null; + if (!locales[name] && hasModule) { + try { + oldLocale = moment.locale(); + require('./locale/' + name); + // because defineLocale currently also sets the global locale, we want to undo that for lazy loaded locales + moment.locale(oldLocale); + } catch (e) { } + } + return locales[name]; + } + + // Return a moment from input, that is local/utc/zone equivalent to model. + function makeAs(input, model) { + return model._isUTC ? moment(input).zone(model._offset || 0) : + moment(input).local(); + } + + /************************************ + Locale + ************************************/ + + + extend(Locale.prototype, { + + set : function (config) { + var prop, i; + for (i in config) { + prop = config[i]; + if (typeof prop === 'function') { + this[i] = prop; + } else { + this['_' + i] = prop; + } + } + }, + + _months : '1_2_3_4_May_June_July_August_September_October_November_December'.split('_'), + months : function (m) { + return this._months[m.month()]; + }, + + _monthsShort : '1_2_3_4_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), + monthsShort : function (m) { + return this._monthsShort[m.month()]; + }, + + monthsParse : function (monthName) { + var i, mom, regex; + + if (!this._monthsParse) { + this._monthsParse = []; + } + + for (i = 0; i < 12; i++) { + // make the regex if we don't have it already + if (!this._monthsParse[i]) { + mom = moment.utc([2000, i]); + regex = '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, ''); + this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i'); + } + // test the regex + if (this._monthsParse[i].test(monthName)) { + return i; + } + } + }, + + _weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), + weekdays : function (m) { + return this._weekdays[m.day()]; + }, + + _weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), + weekdaysShort : function (m) { + return this._weekdaysShort[m.day()]; + }, + + _weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), + weekdaysMin : function (m) { + return this._weekdaysMin[m.day()]; + }, + + weekdaysParse : function (weekdayName) { + var i, mom, regex; + + if (!this._weekdaysParse) { + this._weekdaysParse = []; + } + + for (i = 0; i < 7; i++) { + // make the regex if we don't have it already + if (!this._weekdaysParse[i]) { + mom = moment([2000, 1]).day(i); + regex = '^' + this.weekdays(mom, '') + '|^' + this.weekdaysShort(mom, '') + '|^' + this.weekdaysMin(mom, ''); + this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i'); + } + // test the regex + if (this._weekdaysParse[i].test(weekdayName)) { + return i; + } + } + }, + + _longDateFormat : { + LT : 'h:mm A', + L : 'MM/DD/YYYY', + LL : 'MMMM D, YYYY', + LLL : 'MMMM D, YYYY LT', + LLLL : 'dddd, MMMM D, YYYY LT' + }, + longDateFormat : function (key) { + var output = this._longDateFormat[key]; + if (!output && this._longDateFormat[key.toUpperCase()]) { + output = this._longDateFormat[key.toUpperCase()].replace(/MMMM|MM|DD|dddd/g, function (val) { + return val.slice(1); + }); + this._longDateFormat[key] = output; + } + return output; + }, + + isPM : function (input) { + // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays + // Using charAt should be more compatible. + return ((input + '').toLowerCase().charAt(0) === 'p'); + }, + + _meridiemParse : /[ap]\.?m?\.?/i, + meridiem : function (hours, minutes, isLower) { + if (hours > 11) { + return isLower ? 'pm' : 'PM'; + } else { + return isLower ? 'am' : 'AM'; + } + }, + + _calendar : { + sameDay : '[Today at] LT', + nextDay : '[Tomorrow at] LT', + nextWeek : 'dddd [at] LT', + lastDay : '[Yesterday at] LT', + lastWeek : '[Last] dddd [at] LT', + sameElse : 'L' + }, + calendar : function (key, mom) { + var output = this._calendar[key]; + return typeof output === 'function' ? output.apply(mom) : output; + }, + + _relativeTime : { + future : 'in %s', + past : '%s ago', + s : 'a few seconds', + m : 'a minute', + mm : '%d minutes', + h : 'an hour', + hh : '%d hours', + d : 'a day', + dd : '%d days', + M : 'a month', + MM : '%d months', + y : 'a year', + yy : '%d years' + }, + + relativeTime : function (number, withoutSuffix, string, isFuture) { + var output = this._relativeTime[string]; + return (typeof output === 'function') ? + output(number, withoutSuffix, string, isFuture) : + output.replace(/%d/i, number); + }, + + pastFuture : function (diff, output) { + var format = this._relativeTime[diff > 0 ? 'future' : 'past']; + return typeof format === 'function' ? format(output) : format.replace(/%s/i, output); + }, + + ordinal : function (number) { + return this._ordinal.replace('%d', number); + }, + _ordinal : '%d', + + preparse : function (string) { + return string; + }, + + postformat : function (string) { + return string; + }, + + week : function (mom) { + return weekOfYear(mom, this._week.dow, this._week.doy).week; + }, + + _week : { + dow : 0, // Sunday is the first day of the week. + doy : 6 // The week that contains Jan 1st is the first week of the year. + }, + + _invalidDate: 'Invalid date', + invalidDate: function () { + return this._invalidDate; + } + }); + + /************************************ + Formatting + ************************************/ + + + function removeFormattingTokens(input) { + if (input.match(/\[[\s\S]/)) { + return input.replace(/^\[|\]$/g, ''); + } + return input.replace(/\\/g, ''); + } + + function makeFormatFunction(format) { + var array = format.match(formattingTokens), i, length; + + for (i = 0, length = array.length; i < length; i++) { + if (formatTokenFunctions[array[i]]) { + array[i] = formatTokenFunctions[array[i]]; + } else { + array[i] = removeFormattingTokens(array[i]); + } + } + + return function (mom) { + var output = ''; + for (i = 0; i < length; i++) { + output += array[i] instanceof Function ? array[i].call(mom, format) : array[i]; + } + return output; + }; + } + + // format date using native date object + function formatMoment(m, format) { + if (!m.isValid()) { + return m.localeData().invalidDate(); + } + + format = expandFormat(format, m.localeData()); + + if (!formatFunctions[format]) { + formatFunctions[format] = makeFormatFunction(format); + } + + return formatFunctions[format](m); + } + + function expandFormat(format, locale) { + var i = 5; + + function replaceLongDateFormatTokens(input) { + return locale.longDateFormat(input) || input; + } + + localFormattingTokens.lastIndex = 0; + while (i >= 0 && localFormattingTokens.test(format)) { + format = format.replace(localFormattingTokens, replaceLongDateFormatTokens); + localFormattingTokens.lastIndex = 0; + i -= 1; + } + + return format; + } + + + /************************************ + Parsing + ************************************/ + + + // get the regex to find the next token + function getParseRegexForToken(token, config) { + var a, strict = config._strict; + switch (token) { + case 'Q': + return parseTokenOneDigit; + case 'DDDD': + return parseTokenThreeDigits; + case 'YYYY': + case 'GGGG': + case 'gggg': + return strict ? parseTokenFourDigits : parseTokenOneToFourDigits; + case 'Y': + case 'G': + case 'g': + return parseTokenSignedNumber; + case 'YYYYYY': + case 'YYYYY': + case 'GGGGG': + case 'ggggg': + return strict ? parseTokenSixDigits : parseTokenOneToSixDigits; + case 'S': + if (strict) { + return parseTokenOneDigit; + } + /* falls through */ + case 'SS': + if (strict) { + return parseTokenTwoDigits; + } + /* falls through */ + case 'SSS': + if (strict) { + return parseTokenThreeDigits; + } + /* falls through */ + case 'DDD': + return parseTokenOneToThreeDigits; + case 'MMM': + case 'MMMM': + case 'dd': + case 'ddd': + case 'dddd': + return parseTokenWord; + case 'a': + case 'A': + return config._locale._meridiemParse; + case 'X': + return parseTokenTimestampMs; + case 'Z': + case 'ZZ': + return parseTokenTimezone; + case 'T': + return parseTokenT; + case 'SSSS': + return parseTokenDigits; + case 'MM': + case 'DD': + case 'YY': + case 'GG': + case 'gg': + case 'HH': + case 'hh': + case 'mm': + case 'ss': + case 'ww': + case 'WW': + return strict ? parseTokenTwoDigits : parseTokenOneOrTwoDigits; + case 'M': + case 'D': + case 'd': + case 'H': + case 'h': + case 'm': + case 's': + case 'w': + case 'W': + case 'e': + case 'E': + return parseTokenOneOrTwoDigits; + case 'Do': + return parseTokenOrdinal; + default : + a = new RegExp(regexpEscape(unescapeFormat(token.replace('\\', '')), 'i')); + return a; + } + } + + function timezoneMinutesFromString(string) { + string = string || ''; + var possibleTzMatches = (string.match(parseTokenTimezone) || []), + tzChunk = possibleTzMatches[possibleTzMatches.length - 1] || [], + parts = (tzChunk + '').match(parseTimezoneChunker) || ['-', 0, 0], + minutes = +(parts[1] * 60) + toInt(parts[2]); + + return parts[0] === '+' ? -minutes : minutes; + } + + // function to convert string input to date + function addTimeToArrayFromToken(token, input, config) { + var a, datePartArray = config._a; + + switch (token) { + // QUARTER + case 'Q': + if (input != null) { + datePartArray[MONTH] = (toInt(input) - 1) * 3; + } + break; + // MONTH + case 'M' : // fall through to MM + case 'MM' : + if (input != null) { + datePartArray[MONTH] = toInt(input) - 1; + } + break; + case 'MMM' : // fall through to MMMM + case 'MMMM' : + a = config._locale.monthsParse(input); + // if we didn't find a month name, mark the date as invalid. + if (a != null) { + datePartArray[MONTH] = a; + } else { + config._pf.invalidMonth = input; + } + break; + // DAY OF MONTH + case 'D' : // fall through to DD + case 'DD' : + if (input != null) { + datePartArray[DATE] = toInt(input); + } + break; + case 'Do' : + if (input != null) { + datePartArray[DATE] = toInt(parseInt(input, 10)); + } + break; + // DAY OF YEAR + case 'DDD' : // fall through to DDDD + case 'DDDD' : + if (input != null) { + config._dayOfYear = toInt(input); + } + + break; + // YEAR + case 'YY' : + datePartArray[YEAR] = moment.parseTwoDigitYear(input); + break; + case 'YYYY' : + case 'YYYYY' : + case 'YYYYYY' : + datePartArray[YEAR] = toInt(input); + break; + // AM / PM + case 'a' : // fall through to A + case 'A' : + config._isPm = config._locale.isPM(input); + break; + // 24 HOUR + case 'H' : // fall through to hh + case 'HH' : // fall through to hh + case 'h' : // fall through to hh + case 'hh' : + datePartArray[HOUR] = toInt(input); + break; + // MINUTE + case 'm' : // fall through to mm + case 'mm' : + datePartArray[MINUTE] = toInt(input); + break; + // SECOND + case 's' : // fall through to ss + case 'ss' : + datePartArray[SECOND] = toInt(input); + break; + // MILLISECOND + case 'S' : + case 'SS' : + case 'SSS' : + case 'SSSS' : + datePartArray[MILLISECOND] = toInt(('0.' + input) * 1000); + break; + // UNIX TIMESTAMP WITH MS + case 'X': + config._d = new Date(parseFloat(input) * 1000); + break; + // TIMEZONE + case 'Z' : // fall through to ZZ + case 'ZZ' : + config._useUTC = true; + config._tzm = timezoneMinutesFromString(input); + break; + // WEEKDAY - human + case 'dd': + case 'ddd': + case 'dddd': + a = config._locale.weekdaysParse(input); + // if we didn't get a weekday name, mark the date as invalid + if (a != null) { + config._w = config._w || {}; + config._w['d'] = a; + } else { + config._pf.invalidWeekday = input; + } + break; + // WEEK, WEEK DAY - numeric + case 'w': + case 'ww': + case 'W': + case 'WW': + case 'd': + case 'e': + case 'E': + token = token.substr(0, 1); + /* falls through */ + case 'gggg': + case 'GGGG': + case 'GGGGG': + token = token.substr(0, 2); + if (input) { + config._w = config._w || {}; + config._w[token] = toInt(input); + } + break; + case 'gg': + case 'GG': + config._w = config._w || {}; + config._w[token] = moment.parseTwoDigitYear(input); + } + } + + function dayOfYearFromWeekInfo(config) { + var w, weekYear, week, weekday, dow, doy, temp; + + w = config._w; + if (w.GG != null || w.W != null || w.E != null) { + dow = 1; + doy = 4; + + // TODO: We need to take the current isoWeekYear, but that depends on + // how we interpret now (local, utc, fixed offset). So create + // a now version of current config (take local/utc/offset flags, and + // create now). + weekYear = dfl(w.GG, config._a[YEAR], weekOfYear(moment(), 1, 4).year); + week = dfl(w.W, 1); + weekday = dfl(w.E, 1); + } else { + dow = config._locale._week.dow; + doy = config._locale._week.doy; + + weekYear = dfl(w.gg, config._a[YEAR], weekOfYear(moment(), dow, doy).year); + week = dfl(w.w, 1); + + if (w.d != null) { + // weekday -- low day numbers are considered next week + weekday = w.d; + if (weekday < dow) { + ++week; + } + } else if (w.e != null) { + // local weekday -- counting starts from begining of week + weekday = w.e + dow; + } else { + // default to begining of week + weekday = dow; + } + } + temp = dayOfYearFromWeeks(weekYear, week, weekday, doy, dow); + + config._a[YEAR] = temp.year; + config._dayOfYear = temp.dayOfYear; + } + + // convert an array to a date. + // the array should mirror the parameters below + // note: all values past the year are optional and will default to the lowest possible value. + // [year, month, day , hour, minute, second, millisecond] + function dateFromConfig(config) { + var i, date, input = [], currentDate, yearToUse; + + if (config._d) { + return; + } + + currentDate = currentDateArray(config); + + //compute day of the year from weeks and weekdays + if (config._w && config._a[DATE] == null && config._a[MONTH] == null) { + dayOfYearFromWeekInfo(config); + } + + //if the day of the year is set, figure out what it is + if (config._dayOfYear) { + yearToUse = dfl(config._a[YEAR], currentDate[YEAR]); + + if (config._dayOfYear > daysInYear(yearToUse)) { + config._pf._overflowDayOfYear = true; + } + + date = makeUTCDate(yearToUse, 0, config._dayOfYear); + config._a[MONTH] = date.getUTCMonth(); + config._a[DATE] = date.getUTCDate(); + } + + // Default to current date. + // * if no year, month, day of month are given, default to today + // * if day of month is given, default month and year + // * if month is given, default only year + // * if year is given, don't default anything + for (i = 0; i < 3 && config._a[i] == null; ++i) { + config._a[i] = input[i] = currentDate[i]; + } + + // Zero out whatever was not defaulted, including time + for (; i < 7; i++) { + config._a[i] = input[i] = (config._a[i] == null) ? (i === 2 ? 1 : 0) : config._a[i]; + } + + config._d = (config._useUTC ? makeUTCDate : makeDate).apply(null, input); + // Apply timezone offset from input. The actual zone can be changed + // with parseZone. + if (config._tzm != null) { + config._d.setUTCMinutes(config._d.getUTCMinutes() + config._tzm); + } + } + + function dateFromObject(config) { + var normalizedInput; + + if (config._d) { + return; + } + + normalizedInput = normalizeObjectUnits(config._i); + config._a = [ + normalizedInput.year, + normalizedInput.month, + normalizedInput.day, + normalizedInput.hour, + normalizedInput.minute, + normalizedInput.second, + normalizedInput.millisecond + ]; + + dateFromConfig(config); + } + + function currentDateArray(config) { + var now = new Date(); + if (config._useUTC) { + return [ + now.getUTCFullYear(), + now.getUTCMonth(), + now.getUTCDate() + ]; + } else { + return [now.getFullYear(), now.getMonth(), now.getDate()]; + } + } + + // date from string and format string + function makeDateFromStringAndFormat(config) { + if (config._f === moment.ISO_8601) { + parseISO(config); + return; + } + + config._a = []; + config._pf.empty = true; + + // This array is used to make a Date, either with `new Date` or `Date.UTC` + var string = '' + config._i, + i, parsedInput, tokens, token, skipped, + stringLength = string.length, + totalParsedInputLength = 0; + + tokens = expandFormat(config._f, config._locale).match(formattingTokens) || []; + + for (i = 0; i < tokens.length; i++) { + token = tokens[i]; + parsedInput = (string.match(getParseRegexForToken(token, config)) || [])[0]; + if (parsedInput) { + skipped = string.substr(0, string.indexOf(parsedInput)); + if (skipped.length > 0) { + config._pf.unusedInput.push(skipped); + } + string = string.slice(string.indexOf(parsedInput) + parsedInput.length); + totalParsedInputLength += parsedInput.length; + } + // don't parse if it's not a known token + if (formatTokenFunctions[token]) { + if (parsedInput) { + config._pf.empty = false; + } + else { + config._pf.unusedTokens.push(token); + } + addTimeToArrayFromToken(token, parsedInput, config); + } + else if (config._strict && !parsedInput) { + config._pf.unusedTokens.push(token); + } + } + + // add remaining unparsed input length to the string + config._pf.charsLeftOver = stringLength - totalParsedInputLength; + if (string.length > 0) { + config._pf.unusedInput.push(string); + } + + // handle am pm + if (config._isPm && config._a[HOUR] < 12) { + config._a[HOUR] += 12; + } + // if is 12 am, change hours to 0 + if (config._isPm === false && config._a[HOUR] === 12) { + config._a[HOUR] = 0; + } + + dateFromConfig(config); + checkOverflow(config); + } + + function unescapeFormat(s) { + return s.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function (matched, p1, p2, p3, p4) { + return p1 || p2 || p3 || p4; + }); + } + + // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript + function regexpEscape(s) { + return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); + } + + // date from string and array of format strings + function makeDateFromStringAndArray(config) { + var tempConfig, + bestMoment, + + scoreToBeat, + i, + currentScore; + + if (config._f.length === 0) { + config._pf.invalidFormat = true; + config._d = new Date(NaN); + return; + } + + for (i = 0; i < config._f.length; i++) { + currentScore = 0; + tempConfig = copyConfig({}, config); + tempConfig._pf = defaultParsingFlags(); + tempConfig._f = config._f[i]; + makeDateFromStringAndFormat(tempConfig); + + if (!isValid(tempConfig)) { + continue; + } + + // if there is any input that was not parsed add a penalty for that format + currentScore += tempConfig._pf.charsLeftOver; + + //or tokens + currentScore += tempConfig._pf.unusedTokens.length * 10; + + tempConfig._pf.score = currentScore; + + if (scoreToBeat == null || currentScore < scoreToBeat) { + scoreToBeat = currentScore; + bestMoment = tempConfig; + } + } + + extend(config, bestMoment || tempConfig); + } + + // date from iso format + function parseISO(config) { + var i, l, + string = config._i, + match = isoRegex.exec(string); + + if (match) { + config._pf.iso = true; + for (i = 0, l = isoDates.length; i < l; i++) { + if (isoDates[i][1].exec(string)) { + // match[5] should be "T" or undefined + config._f = isoDates[i][0] + (match[6] || ' '); + break; + } + } + for (i = 0, l = isoTimes.length; i < l; i++) { + if (isoTimes[i][1].exec(string)) { + config._f += isoTimes[i][0]; + break; + } + } + if (string.match(parseTokenTimezone)) { + config._f += 'Z'; + } + makeDateFromStringAndFormat(config); + } else { + config._isValid = false; + } + } + + // date from iso format or fallback + function makeDateFromString(config) { + parseISO(config); + if (config._isValid === false) { + delete config._isValid; + moment.createFromInputFallback(config); + } + } + + function makeDateFromInput(config) { + var input = config._i, matched; + if (input === undefined) { + config._d = new Date(); + } else if (isDate(input)) { + config._d = new Date(+input); + } else if ((matched = aspNetJsonRegex.exec(input)) !== null) { + config._d = new Date(+matched[1]); + } else if (typeof input === 'string') { + makeDateFromString(config); + } else if (isArray(input)) { + config._a = input.slice(0); + dateFromConfig(config); + } else if (typeof(input) === 'object') { + dateFromObject(config); + } else if (typeof(input) === 'number') { + // from milliseconds + config._d = new Date(input); + } else { + moment.createFromInputFallback(config); + } + } + + function makeDate(y, m, d, h, M, s, ms) { + //can't just apply() to create a date: + //http://stackoverflow.com/questions/181348/instantiating-a-javascript-object-by-calling-prototype-constructor-apply + var date = new Date(y, m, d, h, M, s, ms); + + //the date constructor doesn't accept years < 1970 + if (y < 1970) { + date.setFullYear(y); + } + return date; + } + + function makeUTCDate(y) { + var date = new Date(Date.UTC.apply(null, arguments)); + if (y < 1970) { + date.setUTCFullYear(y); + } + return date; + } + + function parseWeekday(input, locale) { + if (typeof input === 'string') { + if (!isNaN(input)) { + input = parseInt(input, 10); + } + else { + input = locale.weekdaysParse(input); + if (typeof input !== 'number') { + return null; + } + } + } + return input; + } + + /************************************ + Relative Time + ************************************/ + + + // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize + function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) { + return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture); + } + + function relativeTime(posNegDuration, withoutSuffix, locale) { + var duration = moment.duration(posNegDuration).abs(), + seconds = round(duration.as('s')), + minutes = round(duration.as('m')), + hours = round(duration.as('h')), + days = round(duration.as('d')), + months = round(duration.as('M')), + years = round(duration.as('y')), + + args = seconds < relativeTimeThresholds.s && ['s', seconds] || + minutes === 1 && ['m'] || + minutes < relativeTimeThresholds.m && ['mm', minutes] || + hours === 1 && ['h'] || + hours < relativeTimeThresholds.h && ['hh', hours] || + days === 1 && ['d'] || + days < relativeTimeThresholds.d && ['dd', days] || + months === 1 && ['M'] || + months < relativeTimeThresholds.M && ['MM', months] || + years === 1 && ['y'] || ['yy', years]; + + args[2] = withoutSuffix; + args[3] = +posNegDuration > 0; + args[4] = locale; + return substituteTimeAgo.apply({}, args); + } + + + /************************************ + Week of Year + ************************************/ + + + // firstDayOfWeek 0 = sun, 6 = sat + // the day of the week that starts the week + // (usually sunday or monday) + // firstDayOfWeekOfYear 0 = sun, 6 = sat + // the first week is the week that contains the first + // of this day of the week + // (eg. ISO weeks use thursday (4)) + function weekOfYear(mom, firstDayOfWeek, firstDayOfWeekOfYear) { + var end = firstDayOfWeekOfYear - firstDayOfWeek, + daysToDayOfWeek = firstDayOfWeekOfYear - mom.day(), + adjustedMoment; + + + if (daysToDayOfWeek > end) { + daysToDayOfWeek -= 7; + } + + if (daysToDayOfWeek < end - 7) { + daysToDayOfWeek += 7; + } + + adjustedMoment = moment(mom).add(daysToDayOfWeek, 'd'); + return { + week: Math.ceil(adjustedMoment.dayOfYear() / 7), + year: adjustedMoment.year() + }; + } + + //http://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday + function dayOfYearFromWeeks(year, week, weekday, firstDayOfWeekOfYear, firstDayOfWeek) { + var d = makeUTCDate(year, 0, 1).getUTCDay(), daysToAdd, dayOfYear; + + d = d === 0 ? 7 : d; + weekday = weekday != null ? weekday : firstDayOfWeek; + daysToAdd = firstDayOfWeek - d + (d > firstDayOfWeekOfYear ? 7 : 0) - (d < firstDayOfWeek ? 7 : 0); + dayOfYear = 7 * (week - 1) + (weekday - firstDayOfWeek) + daysToAdd + 1; + + return { + year: dayOfYear > 0 ? year : year - 1, + dayOfYear: dayOfYear > 0 ? dayOfYear : daysInYear(year - 1) + dayOfYear + }; + } + + /************************************ + Top Level Functions + ************************************/ + + function makeMoment(config) { + var input = config._i, + format = config._f; + + config._locale = config._locale || moment.localeData(config._l); + + if (input === null || (format === undefined && input === '')) { + return moment.invalid({nullInput: true}); + } + + if (typeof input === 'string') { + config._i = input = config._locale.preparse(input); + } + + if (moment.isMoment(input)) { + return new Moment(input, true); + } else if (format) { + if (isArray(format)) { + makeDateFromStringAndArray(config); + } else { + makeDateFromStringAndFormat(config); + } + } else { + makeDateFromInput(config); + } + + return new Moment(config); + } + + moment = function (input, format, locale, strict) { + var c; + + if (typeof(locale) === "boolean") { + strict = locale; + locale = undefined; + } + // object construction must be done this way. + // https://github.com/moment/moment/issues/1423 + c = {}; + c._isAMomentObject = true; + c._i = input; + c._f = format; + c._l = locale; + c._strict = strict; + c._isUTC = false; + c._pf = defaultParsingFlags(); + + return makeMoment(c); + }; + + moment.suppressDeprecationWarnings = false; + + moment.createFromInputFallback = deprecate( + 'moment construction falls back to js Date. This is ' + + 'discouraged and will be removed in upcoming major ' + + 'release. Please refer to ' + + 'https://github.com/moment/moment/issues/1407 for more info.', + function (config) { + config._d = new Date(config._i); + } + ); + + // Pick a moment m from moments so that m[fn](other) is true for all + // other. This relies on the function fn to be transitive. + // + // moments should either be an array of moment objects or an array, whose + // first element is an array of moment objects. + function pickBy(fn, moments) { + var res, i; + if (moments.length === 1 && isArray(moments[0])) { + moments = moments[0]; + } + if (!moments.length) { + return moment(); + } + res = moments[0]; + for (i = 1; i < moments.length; ++i) { + if (moments[i][fn](res)) { + res = moments[i]; + } + } + return res; + } + + moment.min = function () { + var args = [].slice.call(arguments, 0); + + return pickBy('isBefore', args); + }; + + moment.max = function () { + var args = [].slice.call(arguments, 0); + + return pickBy('isAfter', args); + }; + + // creating with utc + moment.utc = function (input, format, locale, strict) { + var c; + + if (typeof(locale) === "boolean") { + strict = locale; + locale = undefined; + } + // object construction must be done this way. + // https://github.com/moment/moment/issues/1423 + c = {}; + c._isAMomentObject = true; + c._useUTC = true; + c._isUTC = true; + c._l = locale; + c._i = input; + c._f = format; + c._strict = strict; + c._pf = defaultParsingFlags(); + + return makeMoment(c).utc(); + }; + + // creating with unix timestamp (in seconds) + moment.unix = function (input) { + return moment(input * 1000); + }; + + // duration + moment.duration = function (input, key) { + var duration = input, + // matching against regexp is expensive, do it on demand + match = null, + sign, + ret, + parseIso, + diffRes; + + if (moment.isDuration(input)) { + duration = { + ms: input._milliseconds, + d: input._days, + M: input._months + }; + } else if (typeof input === 'number') { + duration = {}; + if (key) { + duration[key] = input; + } else { + duration.milliseconds = input; + } + } else if (!!(match = aspNetTimeSpanJsonRegex.exec(input))) { + sign = (match[1] === '-') ? -1 : 1; + duration = { + y: 0, + d: toInt(match[DATE]) * sign, + h: toInt(match[HOUR]) * sign, + m: toInt(match[MINUTE]) * sign, + s: toInt(match[SECOND]) * sign, + ms: toInt(match[MILLISECOND]) * sign + }; + } else if (!!(match = isoDurationRegex.exec(input))) { + sign = (match[1] === '-') ? -1 : 1; + parseIso = function (inp) { + // We'd normally use ~~inp for this, but unfortunately it also + // converts floats to ints. + // inp may be undefined, so careful calling replace on it. + var res = inp && parseFloat(inp.replace(',', '.')); + // apply sign while we're at it + return (isNaN(res) ? 0 : res) * sign; + }; + duration = { + y: parseIso(match[2]), + M: parseIso(match[3]), + d: parseIso(match[4]), + h: parseIso(match[5]), + m: parseIso(match[6]), + s: parseIso(match[7]), + w: parseIso(match[8]) + }; + } else if (typeof duration === 'object' && + ('from' in duration || 'to' in duration)) { + diffRes = momentsDifference(moment(duration.from), moment(duration.to)); + + duration = {}; + duration.ms = diffRes.milliseconds; + duration.M = diffRes.months; + } + + ret = new Duration(duration); + + if (moment.isDuration(input) && input.hasOwnProperty('_locale')) { + ret._locale = input._locale; + } + + return ret; + }; + + // version number + moment.version = VERSION; + + // default format + moment.defaultFormat = isoFormat; + + // constant that refers to the ISO standard + moment.ISO_8601 = function () {}; + + // Plugins that add properties should also add the key here (null value), + // so we can properly clone ourselves. + moment.momentProperties = momentProperties; + + // This function will be called whenever a moment is mutated. + // It is intended to keep the offset in sync with the timezone. + moment.updateOffset = function () {}; + + // This function allows you to set a threshold for relative time strings + moment.relativeTimeThreshold = function (threshold, limit) { + if (relativeTimeThresholds[threshold] === undefined) { + return false; + } + if (limit === undefined) { + return relativeTimeThresholds[threshold]; + } + relativeTimeThresholds[threshold] = limit; + return true; + }; + + moment.lang = deprecate( + "moment.lang is deprecated. Use moment.locale instead.", + function (key, value) { + return moment.locale(key, value); + } + ); + + // This function will load locale and then set the global locale. If + // no arguments are passed in, it will simply return the current global + // locale key. + moment.locale = function (key, values) { + var data; + if (key) { + if (typeof(values) !== "undefined") { + data = moment.defineLocale(key, values); + } + else { + data = moment.localeData(key); + } + + if (data) { + moment.duration._locale = moment._locale = data; + } + } + + return moment._locale._abbr; + }; + + moment.defineLocale = function (name, values) { + if (values !== null) { + values.abbr = name; + if (!locales[name]) { + locales[name] = new Locale(); + } + locales[name].set(values); + + // backwards compat for now: also set the locale + moment.locale(name); + + return locales[name]; + } else { + // useful for testing + delete locales[name]; + return null; + } + }; + + moment.langData = deprecate( + "moment.langData is deprecated. Use moment.localeData instead.", + function (key) { + return moment.localeData(key); + } + ); + + // returns locale data + moment.localeData = function (key) { + var locale; + + if (key && key._locale && key._locale._abbr) { + key = key._locale._abbr; + } + + if (!key) { + return moment._locale; + } + + if (!isArray(key)) { + //short-circuit everything else + locale = loadLocale(key); + if (locale) { + return locale; + } + key = [key]; + } + + return chooseLocale(key); + }; + + // compare moment object + moment.isMoment = function (obj) { + return obj instanceof Moment || + (obj != null && obj.hasOwnProperty('_isAMomentObject')); + }; + + // for typechecking Duration objects + moment.isDuration = function (obj) { + return obj instanceof Duration; + }; + + for (i = lists.length - 1; i >= 0; --i) { + makeList(lists[i]); + } + + moment.normalizeUnits = function (units) { + return normalizeUnits(units); + }; + + moment.invalid = function (flags) { + var m = moment.utc(NaN); + if (flags != null) { + extend(m._pf, flags); + } + else { + m._pf.userInvalidated = true; + } + + return m; + }; + + moment.parseZone = function () { + return moment.apply(null, arguments).parseZone(); + }; + + moment.parseTwoDigitYear = function (input) { + return toInt(input) + (toInt(input) > 68 ? 1900 : 2000); + }; + + /************************************ + Moment Prototype + ************************************/ + + + extend(moment.fn = Moment.prototype, { + + clone : function () { + return moment(this); + }, + + valueOf : function () { + return +this._d + ((this._offset || 0) * 60000); + }, + + unix : function () { + return Math.floor(+this / 1000); + }, + + toString : function () { + return this.clone().locale('en').format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ"); + }, + + toDate : function () { + return this._offset ? new Date(+this) : this._d; + }, + + toISOString : function () { + var m = moment(this).utc(); + if (0 < m.year() && m.year() <= 9999) { + return formatMoment(m, 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); + } else { + return formatMoment(m, 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'); + } + }, + + toArray : function () { + var m = this; + return [ + m.year(), + m.month(), + m.date(), + m.hours(), + m.minutes(), + m.seconds(), + m.milliseconds() + ]; + }, + + isValid : function () { + return isValid(this); + }, + + isDSTShifted : function () { + if (this._a) { + return this.isValid() && compareArrays(this._a, (this._isUTC ? moment.utc(this._a) : moment(this._a)).toArray()) > 0; + } + + return false; + }, + + parsingFlags : function () { + return extend({}, this._pf); + }, + + invalidAt: function () { + return this._pf.overflow; + }, + + utc : function (keepLocalTime) { + return this.zone(0, keepLocalTime); + }, + + local : function (keepLocalTime) { + if (this._isUTC) { + this.zone(0, keepLocalTime); + this._isUTC = false; + + if (keepLocalTime) { + this.add(this._d.getTimezoneOffset(), 'm'); + } + } + return this; + }, + + format : function (inputString) { + var output = formatMoment(this, inputString || moment.defaultFormat); + return this.localeData().postformat(output); + }, + + add : createAdder(1, 'add'), + + subtract : createAdder(-1, 'subtract'), + + diff : function (input, units, asFloat) { + var that = makeAs(input, this), + zoneDiff = (this.zone() - that.zone()) * 6e4, + diff, output; + + units = normalizeUnits(units); + + if (units === 'year' || units === 'month') { + // average number of days in the months in the given dates + diff = (this.daysInMonth() + that.daysInMonth()) * 432e5; // 24 * 60 * 60 * 1000 / 2 + // difference in months + output = ((this.year() - that.year()) * 12) + (this.month() - that.month()); + // adjust by taking difference in days, average number of days + // and dst in the given months. + output += ((this - moment(this).startOf('month')) - + (that - moment(that).startOf('month'))) / diff; + // same as above but with zones, to negate all dst + output -= ((this.zone() - moment(this).startOf('month').zone()) - + (that.zone() - moment(that).startOf('month').zone())) * 6e4 / diff; + if (units === 'year') { + output = output / 12; + } + } else { + diff = (this - that); + output = units === 'second' ? diff / 1e3 : // 1000 + units === 'minute' ? diff / 6e4 : // 1000 * 60 + units === 'hour' ? diff / 36e5 : // 1000 * 60 * 60 + units === 'day' ? (diff - zoneDiff) / 864e5 : // 1000 * 60 * 60 * 24, negate dst + units === 'week' ? (diff - zoneDiff) / 6048e5 : // 1000 * 60 * 60 * 24 * 7, negate dst + diff; + } + return asFloat ? output : absRound(output); + }, + + from : function (time, withoutSuffix) { + return moment.duration({to: this, from: time}).locale(this.locale()).humanize(!withoutSuffix); + }, + + fromNow : function (withoutSuffix) { + return this.from(moment(), withoutSuffix); + }, + + calendar : function (time) { + // We want to compare the start of today, vs this. + // Getting start-of-today depends on whether we're zone'd or not. + var now = time || moment(), + sod = makeAs(now, this).startOf('day'), + diff = this.diff(sod, 'days', true), + format = diff < -6 ? 'sameElse' : + diff < -1 ? 'lastWeek' : + diff < 0 ? 'lastDay' : + diff < 1 ? 'sameDay' : + diff < 2 ? 'nextDay' : + diff < 7 ? 'nextWeek' : 'sameElse'; + return this.format(this.localeData().calendar(format, this)); + }, + + isLeapYear : function () { + return isLeapYear(this.year()); + }, + + isDST : function () { + return (this.zone() < this.clone().month(0).zone() || + this.zone() < this.clone().month(5).zone()); + }, + + day : function (input) { + var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay(); + if (input != null) { + input = parseWeekday(input, this.localeData()); + return this.add(input - day, 'd'); + } else { + return day; + } + }, + + month : makeAccessor('Month', true), + + startOf : function (units) { + units = normalizeUnits(units); + // the following switch intentionally omits break keywords + // to utilize falling through the cases. + switch (units) { + case 'year': + this.month(0); + /* falls through */ + case 'quarter': + case 'month': + this.date(1); + /* falls through */ + case 'week': + case 'isoWeek': + case 'day': + this.hours(0); + /* falls through */ + case 'hour': + this.minutes(0); + /* falls through */ + case 'minute': + this.seconds(0); + /* falls through */ + case 'second': + this.milliseconds(0); + /* falls through */ + } + + // weeks are a special case + if (units === 'week') { + this.weekday(0); + } else if (units === 'isoWeek') { + this.isoWeekday(1); + } + + // quarters are also special + if (units === 'quarter') { + this.month(Math.floor(this.month() / 3) * 3); + } + + return this; + }, + + endOf: function (units) { + units = normalizeUnits(units); + return this.startOf(units).add(1, (units === 'isoWeek' ? 'week' : units)).subtract(1, 'ms'); + }, + + isAfter: function (input, units) { + units = typeof units !== 'undefined' ? units : 'millisecond'; + return +this.clone().startOf(units) > +moment(input).startOf(units); + }, + + isBefore: function (input, units) { + units = typeof units !== 'undefined' ? units : 'millisecond'; + return +this.clone().startOf(units) < +moment(input).startOf(units); + }, + + isSame: function (input, units) { + units = units || 'ms'; + return +this.clone().startOf(units) === +makeAs(input, this).startOf(units); + }, + + min: deprecate( + 'moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548', + function (other) { + other = moment.apply(null, arguments); + return other < this ? this : other; + } + ), + + max: deprecate( + 'moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548', + function (other) { + other = moment.apply(null, arguments); + return other > this ? this : other; + } + ), + + // keepLocalTime = true means only change the timezone, without + // affecting the local hour. So 5:31:26 +0300 --[zone(2, true)]--> + // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist int zone + // +0200, so we adjust the time as needed, to be valid. + // + // Keeping the time actually adds/subtracts (one hour) + // from the actual represented time. That is why we call updateOffset + // a second time. In case it wants us to change the offset again + // _changeInProgress == true case, then we have to adjust, because + // there is no such time in the given timezone. + zone : function (input, keepLocalTime) { + var offset = this._offset || 0, + localAdjust; + if (input != null) { + if (typeof input === 'string') { + input = timezoneMinutesFromString(input); + } + if (Math.abs(input) < 16) { + input = input * 60; + } + if (!this._isUTC && keepLocalTime) { + localAdjust = this._d.getTimezoneOffset(); + } + this._offset = input; + this._isUTC = true; + if (localAdjust != null) { + this.subtract(localAdjust, 'm'); + } + if (offset !== input) { + if (!keepLocalTime || this._changeInProgress) { + addOrSubtractDurationFromMoment(this, + moment.duration(offset - input, 'm'), 1, false); + } else if (!this._changeInProgress) { + this._changeInProgress = true; + moment.updateOffset(this, true); + this._changeInProgress = null; + } + } + } else { + return this._isUTC ? offset : this._d.getTimezoneOffset(); + } + return this; + }, + + zoneAbbr : function () { + return this._isUTC ? 'UTC' : ''; + }, + + zoneName : function () { + return this._isUTC ? 'Coordinated Universal Time' : ''; + }, + + parseZone : function () { + if (this._tzm) { + this.zone(this._tzm); + } else if (typeof this._i === 'string') { + this.zone(this._i); + } + return this; + }, + + hasAlignedHourOffset : function (input) { + if (!input) { + input = 0; + } + else { + input = moment(input).zone(); + } + + return (this.zone() - input) % 60 === 0; + }, + + daysInMonth : function () { + return daysInMonth(this.year(), this.month()); + }, + + dayOfYear : function (input) { + var dayOfYear = round((moment(this).startOf('day') - moment(this).startOf('year')) / 864e5) + 1; + return input == null ? dayOfYear : this.add((input - dayOfYear), 'd'); + }, + + quarter : function (input) { + return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3); + }, + + weekYear : function (input) { + var year = weekOfYear(this, this.localeData()._week.dow, this.localeData()._week.doy).year; + return input == null ? year : this.add((input - year), 'y'); + }, + + isoWeekYear : function (input) { + var year = weekOfYear(this, 1, 4).year; + return input == null ? year : this.add((input - year), 'y'); + }, + + week : function (input) { + var week = this.localeData().week(this); + return input == null ? week : this.add((input - week) * 7, 'd'); + }, + + isoWeek : function (input) { + var week = weekOfYear(this, 1, 4).week; + return input == null ? week : this.add((input - week) * 7, 'd'); + }, + + weekday : function (input) { + var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7; + return input == null ? weekday : this.add(input - weekday, 'd'); + }, + + isoWeekday : function (input) { + // behaves the same as moment#day except + // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6) + // as a setter, sunday should belong to the previous week. + return input == null ? this.day() || 7 : this.day(this.day() % 7 ? input : input - 7); + }, + + isoWeeksInYear : function () { + return weeksInYear(this.year(), 1, 4); + }, + + weeksInYear : function () { + var weekInfo = this.localeData()._week; + return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy); + }, + + get : function (units) { + units = normalizeUnits(units); + return this[units](); + }, + + set : function (units, value) { + units = normalizeUnits(units); + if (typeof this[units] === 'function') { + this[units](value); + } + return this; + }, + + // If passed a locale key, it will set the locale for this + // instance. Otherwise, it will return the locale configuration + // variables for this instance. + locale : function (key) { + if (key === undefined) { + return this._locale._abbr; + } else { + this._locale = moment.localeData(key); + return this; + } + }, + + lang : deprecate( + "moment().lang() is deprecated. Use moment().localeData() instead.", + function (key) { + if (key === undefined) { + return this.localeData(); + } else { + this._locale = moment.localeData(key); + return this; + } + } + ), + + localeData : function () { + return this._locale; + } + }); + + function rawMonthSetter(mom, value) { + var dayOfMonth; + + // TODO: Move this out of here! + if (typeof value === 'string') { + value = mom.localeData().monthsParse(value); + // TODO: Another silent failure? + if (typeof value !== 'number') { + return mom; + } + } + + dayOfMonth = Math.min(mom.date(), + daysInMonth(mom.year(), value)); + mom._d['set' + (mom._isUTC ? 'UTC' : '') + 'Month'](value, dayOfMonth); + return mom; + } + + function rawGetter(mom, unit) { + return mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit](); + } + + function rawSetter(mom, unit, value) { + if (unit === 'Month') { + return rawMonthSetter(mom, value); + } else { + return mom._d['set' + (mom._isUTC ? 'UTC' : '') + unit](value); + } + } + + function makeAccessor(unit, keepTime) { + return function (value) { + if (value != null) { + rawSetter(this, unit, value); + moment.updateOffset(this, keepTime); + return this; + } else { + return rawGetter(this, unit); + } + }; + } + + moment.fn.millisecond = moment.fn.milliseconds = makeAccessor('Milliseconds', false); + moment.fn.second = moment.fn.seconds = makeAccessor('Seconds', false); + moment.fn.minute = moment.fn.minutes = makeAccessor('Minutes', false); + // Setting the hour should keep the time, because the user explicitly + // specified which hour he wants. So trying to maintain the same hour (in + // a new timezone) makes sense. Adding/subtracting hours does not follow + // this rule. + moment.fn.hour = moment.fn.hours = makeAccessor('Hours', true); + // moment.fn.month is defined separately + moment.fn.date = makeAccessor('Date', true); + moment.fn.dates = deprecate('dates accessor is deprecated. Use date instead.', makeAccessor('Date', true)); + moment.fn.year = makeAccessor('FullYear', true); + moment.fn.years = deprecate('years accessor is deprecated. Use year instead.', makeAccessor('FullYear', true)); + + // add plural methods + moment.fn.days = moment.fn.day; + moment.fn.months = moment.fn.month; + moment.fn.weeks = moment.fn.week; + moment.fn.isoWeeks = moment.fn.isoWeek; + moment.fn.quarters = moment.fn.quarter; + + // add aliased format methods + moment.fn.toJSON = moment.fn.toISOString; + + /************************************ + Duration Prototype + ************************************/ + + + function daysToYears (days) { + // 400 years have 146097 days (taking into account leap year rules) + return days * 400 / 146097; + } + + function yearsToDays (years) { + // years * 365 + absRound(years / 4) - + // absRound(years / 100) + absRound(years / 400); + return years * 146097 / 400; + } + + extend(moment.duration.fn = Duration.prototype, { + + _bubble : function () { + var milliseconds = this._milliseconds, + days = this._days, + months = this._months, + data = this._data, + seconds, minutes, hours, years = 0; + + // The following code bubbles up values, see the tests for + // examples of what that means. + data.milliseconds = milliseconds % 1000; + + seconds = absRound(milliseconds / 1000); + data.seconds = seconds % 60; + + minutes = absRound(seconds / 60); + data.minutes = minutes % 60; + + hours = absRound(minutes / 60); + data.hours = hours % 24; + + days += absRound(hours / 24); + + // Accurately convert days to years, assume start from year 0. + years = absRound(daysToYears(days)); + days -= absRound(yearsToDays(years)); + + // 30 days to a month + // TODO (iskren): Use anchor date (like 1st Jan) to compute this. + months += absRound(days / 30); + days %= 30; + + // 12 months -> 1 year + years += absRound(months / 12); + months %= 12; + + data.days = days; + data.months = months; + data.years = years; + }, + + abs : function () { + this._milliseconds = Math.abs(this._milliseconds); + this._days = Math.abs(this._days); + this._months = Math.abs(this._months); + + this._data.milliseconds = Math.abs(this._data.milliseconds); + this._data.seconds = Math.abs(this._data.seconds); + this._data.minutes = Math.abs(this._data.minutes); + this._data.hours = Math.abs(this._data.hours); + this._data.months = Math.abs(this._data.months); + this._data.years = Math.abs(this._data.years); + + return this; + }, + + weeks : function () { + return absRound(this.days() / 7); + }, + + valueOf : function () { + return this._milliseconds + + this._days * 864e5 + + (this._months % 12) * 2592e6 + + toInt(this._months / 12) * 31536e6; + }, + + humanize : function (withSuffix) { + var output = relativeTime(this, !withSuffix, this.localeData()); + + if (withSuffix) { + output = this.localeData().pastFuture(+this, output); + } + + return this.localeData().postformat(output); + }, + + add : function (input, val) { + // supports only 2.0-style add(1, 's') or add(moment) + var dur = moment.duration(input, val); + + this._milliseconds += dur._milliseconds; + this._days += dur._days; + this._months += dur._months; + + this._bubble(); + + return this; + }, + + subtract : function (input, val) { + var dur = moment.duration(input, val); + + this._milliseconds -= dur._milliseconds; + this._days -= dur._days; + this._months -= dur._months; + + this._bubble(); + + return this; + }, + + get : function (units) { + units = normalizeUnits(units); + return this[units.toLowerCase() + 's'](); + }, + + as : function (units) { + var days, months; + units = normalizeUnits(units); + + days = this._days + this._milliseconds / 864e5; + if (units === 'month' || units === 'year') { + months = this._months + daysToYears(days) * 12; + return units === 'month' ? months : months / 12; + } else { + days += yearsToDays(this._months / 12); + switch (units) { + case 'week': return days / 7; + case 'day': return days; + case 'hour': return days * 24; + case 'minute': return days * 24 * 60; + case 'second': return days * 24 * 60 * 60; + case 'millisecond': return days * 24 * 60 * 60 * 1000; + default: throw new Error('Unknown unit ' + units); + } + } + }, + + lang : moment.fn.lang, + locale : moment.fn.locale, + + toIsoString : deprecate( + "toIsoString() is deprecated. Please use toISOString() instead " + + "(notice the capitals)", + function () { + return this.toISOString(); + } + ), + + toISOString : function () { + // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js + var years = Math.abs(this.years()), + months = Math.abs(this.months()), + days = Math.abs(this.days()), + hours = Math.abs(this.hours()), + minutes = Math.abs(this.minutes()), + seconds = Math.abs(this.seconds() + this.milliseconds() / 1000); + + if (!this.asSeconds()) { + // this is the same as C#'s (Noda) and python (isodate)... + // but not other JS (goog.date) + return 'P0D'; + } + + return (this.asSeconds() < 0 ? '-' : '') + + 'P' + + (years ? years + 'Y' : '') + + (months ? months + 'M' : '') + + (days ? days + 'D' : '') + + ((hours || minutes || seconds) ? 'T' : '') + + (hours ? hours + 'H' : '') + + (minutes ? minutes + 'M' : '') + + (seconds ? seconds + 'S' : ''); + }, + + localeData : function () { + return this._locale; + } + }); + + function makeDurationGetter(name) { + moment.duration.fn[name] = function () { + return this._data[name]; + }; + } + + for (i in unitMillisecondFactors) { + if (unitMillisecondFactors.hasOwnProperty(i)) { + makeDurationGetter(i.toLowerCase()); + } + } + + moment.duration.fn.asMilliseconds = function () { + return this.as('ms'); + }; + moment.duration.fn.asSeconds = function () { + return this.as('s'); + }; + moment.duration.fn.asMinutes = function () { + return this.as('m'); + }; + moment.duration.fn.asHours = function () { + return this.as('h'); + }; + moment.duration.fn.asDays = function () { + return this.as('d'); + }; + moment.duration.fn.asWeeks = function () { + return this.as('weeks'); + }; + moment.duration.fn.asMonths = function () { + return this.as('M'); + }; + moment.duration.fn.asYears = function () { + return this.as('y'); + }; + + /************************************ + Default Locale + ************************************/ + + + // Set default locale, other locale will inherit from English. + moment.locale('en', { + ordinal : function (number) { + var b = number % 10, + output = (toInt(number % 100 / 10) === 1) ? 'th' : + (b === 1) ? 'st' : + (b === 2) ? 'nd' : + (b === 3) ? 'rd' : 'th'; + return number + output; + } + }); + + /* EMBED_LOCALES */ + + /************************************ + Exposing Moment + ************************************/ + + function makeGlobal(shouldDeprecate) { + /*global ender:false */ + if (typeof ender !== 'undefined') { + return; + } + oldGlobalMoment = globalScope.moment; + if (shouldDeprecate) { + globalScope.moment = deprecate( + 'Accessing Moment through the global scope is ' + + 'deprecated, and will be removed in an upcoming ' + + 'release.', + moment); + } else { + globalScope.moment = moment; + } + } + + // CommonJS module is defined + if (hasModule) { + module.exports = moment; + } else if (typeof define === 'function' && define.amd) { + define('moment', function (require, exports, module) { + if (module.config && module.config() && module.config().noGlobal === true) { + // release the global variable + globalScope.moment = oldGlobalMoment; + } + + return moment; + }); + makeGlobal(true); + } else { + makeGlobal(); + } }).call(this); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-daterangepicker/moment.min.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-daterangepicker/moment.min.js index c30bbff2..197b5488 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-daterangepicker/moment.min.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-daterangepicker/moment.min.js @@ -1,6 +1,6 @@ -//! moment.js -//! version : 2.8.1 -//! authors : Tim Wood, Iskren Chernev, Moment.js contributors -//! license : MIT -//! momentjs.com +//! moment.js +//! version : 2.8.1 +//! authors : Tim Wood, Iskren Chernev, Moment.js contributors +//! license : MIT +//! momentjs.com (function(a){function b(a,b,c){switch(arguments.length){case 2:return null!=a?a:b;case 3:return null!=a?a:null!=b?b:c;default:throw new Error("Implement me")}}function c(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function d(a){rb.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+a)}function e(a,b){var c=!0;return l(function(){return c&&(d(a),c=!1),b.apply(this,arguments)},b)}function f(a,b){nc[a]||(d(b),nc[a]=!0)}function g(a,b){return function(c){return o(a.call(this,c),b)}}function h(a,b){return function(c){return this.localeData().ordinal(a.call(this,c),b)}}function i(){}function j(a,b){b!==!1&&E(a),m(this,a),this._d=new Date(+a._d)}function k(a){var b=x(a),c=b.year||0,d=b.quarter||0,e=b.month||0,f=b.week||0,g=b.day||0,h=b.hour||0,i=b.minute||0,j=b.second||0,k=b.millisecond||0;this._milliseconds=+k+1e3*j+6e4*i+36e5*h,this._days=+g+7*f,this._months=+e+3*d+12*c,this._data={},this._locale=rb.localeData(),this._bubble()}function l(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return b.hasOwnProperty("toString")&&(a.toString=b.toString),b.hasOwnProperty("valueOf")&&(a.valueOf=b.valueOf),a}function m(a,b){var c,d,e;if("undefined"!=typeof b._isAMomentObject&&(a._isAMomentObject=b._isAMomentObject),"undefined"!=typeof b._i&&(a._i=b._i),"undefined"!=typeof b._f&&(a._f=b._f),"undefined"!=typeof b._l&&(a._l=b._l),"undefined"!=typeof b._strict&&(a._strict=b._strict),"undefined"!=typeof b._tzm&&(a._tzm=b._tzm),"undefined"!=typeof b._isUTC&&(a._isUTC=b._isUTC),"undefined"!=typeof b._offset&&(a._offset=b._offset),"undefined"!=typeof b._pf&&(a._pf=b._pf),"undefined"!=typeof b._locale&&(a._locale=b._locale),Fb.length>0)for(c in Fb)d=Fb[c],e=b[d],"undefined"!=typeof e&&(a[d]=e);return a}function n(a){return 0>a?Math.ceil(a):Math.floor(a)}function o(a,b,c){for(var d=""+Math.abs(a),e=a>=0;d.lengthd;d++)(c&&a[d]!==b[d]||!c&&z(a[d])!==z(b[d]))&&g++;return g+f}function w(a){if(a){var b=a.toLowerCase().replace(/(.)s$/,"$1");a=gc[a]||hc[b]||b}return a}function x(a){var b,c,d={};for(c in a)a.hasOwnProperty(c)&&(b=w(c),b&&(d[b]=a[c]));return d}function y(b){var c,d;if(0===b.indexOf("week"))c=7,d="day";else{if(0!==b.indexOf("month"))return;c=12,d="month"}rb[b]=function(e,f){var g,h,i=rb._locale[b],j=[];if("number"==typeof e&&(f=e,e=a),h=function(a){var b=rb().utc().set(d,a);return i.call(rb._locale,b,e||"")},null!=f)return h(f);for(g=0;c>g;g++)j.push(h(g));return j}}function z(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=b>=0?Math.floor(b):Math.ceil(b)),c}function A(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function B(a,b,c){return fb(rb([a,11,31+b-c]),b,c).week}function C(a){return D(a)?366:365}function D(a){return a%4===0&&a%100!==0||a%400===0}function E(a){var b;a._a&&-2===a._pf.overflow&&(b=a._a[yb]<0||a._a[yb]>11?yb:a._a[zb]<1||a._a[zb]>A(a._a[xb],a._a[yb])?zb:a._a[Ab]<0||a._a[Ab]>23?Ab:a._a[Bb]<0||a._a[Bb]>59?Bb:a._a[Cb]<0||a._a[Cb]>59?Cb:a._a[Db]<0||a._a[Db]>999?Db:-1,a._pf._overflowDayOfYear&&(xb>b||b>zb)&&(b=zb),a._pf.overflow=b)}function F(a){return null==a._isValid&&(a._isValid=!isNaN(a._d.getTime())&&a._pf.overflow<0&&!a._pf.empty&&!a._pf.invalidMonth&&!a._pf.nullInput&&!a._pf.invalidFormat&&!a._pf.userInvalidated,a._strict&&(a._isValid=a._isValid&&0===a._pf.charsLeftOver&&0===a._pf.unusedTokens.length)),a._isValid}function G(a){return a?a.toLowerCase().replace("_","-"):a}function H(a){for(var b,c,d,e,f=0;f0;){if(d=I(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&v(e,c,!0)>=b-1)break;b--}f++}return null}function I(a){var b=null;if(!Eb[a]&&Gb)try{b=rb.locale(),require("./locale/"+a),rb.locale(b)}catch(c){}return Eb[a]}function J(a,b){return b._isUTC?rb(a).zone(b._offset||0):rb(a).local()}function K(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function L(a){var b,c,d=a.match(Kb);for(b=0,c=d.length;c>b;b++)d[b]=mc[d[b]]?mc[d[b]]:K(d[b]);return function(e){var f="";for(b=0;c>b;b++)f+=d[b]instanceof Function?d[b].call(e,a):d[b];return f}}function M(a,b){return a.isValid()?(b=N(b,a.localeData()),ic[b]||(ic[b]=L(b)),ic[b](a)):a.localeData().invalidDate()}function N(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(Lb.lastIndex=0;d>=0&&Lb.test(a);)a=a.replace(Lb,c),Lb.lastIndex=0,d-=1;return a}function O(a,b){var c,d=b._strict;switch(a){case"Q":return Wb;case"DDDD":return Yb;case"YYYY":case"GGGG":case"gggg":return d?Zb:Ob;case"Y":case"G":case"g":return _b;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return d?$b:Pb;case"S":if(d)return Wb;case"SS":if(d)return Xb;case"SSS":if(d)return Yb;case"DDD":return Nb;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return Rb;case"a":case"A":return b._locale._meridiemParse;case"X":return Ub;case"Z":case"ZZ":return Sb;case"T":return Tb;case"SSSS":return Qb;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return d?Xb:Mb;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return Mb;case"Do":return Vb;default:return c=new RegExp(X(W(a.replace("\\","")),"i"))}}function P(a){a=a||"";var b=a.match(Sb)||[],c=b[b.length-1]||[],d=(c+"").match(ec)||["-",0,0],e=+(60*d[1])+z(d[2]);return"+"===d[0]?-e:e}function Q(a,b,c){var d,e=c._a;switch(a){case"Q":null!=b&&(e[yb]=3*(z(b)-1));break;case"M":case"MM":null!=b&&(e[yb]=z(b)-1);break;case"MMM":case"MMMM":d=c._locale.monthsParse(b),null!=d?e[yb]=d:c._pf.invalidMonth=b;break;case"D":case"DD":null!=b&&(e[zb]=z(b));break;case"Do":null!=b&&(e[zb]=z(parseInt(b,10)));break;case"DDD":case"DDDD":null!=b&&(c._dayOfYear=z(b));break;case"YY":e[xb]=rb.parseTwoDigitYear(b);break;case"YYYY":case"YYYYY":case"YYYYYY":e[xb]=z(b);break;case"a":case"A":c._isPm=c._locale.isPM(b);break;case"H":case"HH":case"h":case"hh":e[Ab]=z(b);break;case"m":case"mm":e[Bb]=z(b);break;case"s":case"ss":e[Cb]=z(b);break;case"S":case"SS":case"SSS":case"SSSS":e[Db]=z(1e3*("0."+b));break;case"X":c._d=new Date(1e3*parseFloat(b));break;case"Z":case"ZZ":c._useUTC=!0,c._tzm=P(b);break;case"dd":case"ddd":case"dddd":d=c._locale.weekdaysParse(b),null!=d?(c._w=c._w||{},c._w.d=d):c._pf.invalidWeekday=b;break;case"w":case"ww":case"W":case"WW":case"d":case"e":case"E":a=a.substr(0,1);case"gggg":case"GGGG":case"GGGGG":a=a.substr(0,2),b&&(c._w=c._w||{},c._w[a]=z(b));break;case"gg":case"GG":c._w=c._w||{},c._w[a]=rb.parseTwoDigitYear(b)}}function R(a){var c,d,e,f,g,h,i;c=a._w,null!=c.GG||null!=c.W||null!=c.E?(g=1,h=4,d=b(c.GG,a._a[xb],fb(rb(),1,4).year),e=b(c.W,1),f=b(c.E,1)):(g=a._locale._week.dow,h=a._locale._week.doy,d=b(c.gg,a._a[xb],fb(rb(),g,h).year),e=b(c.w,1),null!=c.d?(f=c.d,g>f&&++e):f=null!=c.e?c.e+g:g),i=gb(d,e,f,h,g),a._a[xb]=i.year,a._dayOfYear=i.dayOfYear}function S(a){var c,d,e,f,g=[];if(!a._d){for(e=U(a),a._w&&null==a._a[zb]&&null==a._a[yb]&&R(a),a._dayOfYear&&(f=b(a._a[xb],e[xb]),a._dayOfYear>C(f)&&(a._pf._overflowDayOfYear=!0),d=bb(f,0,a._dayOfYear),a._a[yb]=d.getUTCMonth(),a._a[zb]=d.getUTCDate()),c=0;3>c&&null==a._a[c];++c)a._a[c]=g[c]=e[c];for(;7>c;c++)a._a[c]=g[c]=null==a._a[c]?2===c?1:0:a._a[c];a._d=(a._useUTC?bb:ab).apply(null,g),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()+a._tzm)}}function T(a){var b;a._d||(b=x(a._i),a._a=[b.year,b.month,b.day,b.hour,b.minute,b.second,b.millisecond],S(a))}function U(a){var b=new Date;return a._useUTC?[b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()]:[b.getFullYear(),b.getMonth(),b.getDate()]}function V(a){if(a._f===rb.ISO_8601)return void Z(a);a._a=[],a._pf.empty=!0;var b,c,d,e,f,g=""+a._i,h=g.length,i=0;for(d=N(a._f,a._locale).match(Kb)||[],b=0;b0&&a._pf.unusedInput.push(f),g=g.slice(g.indexOf(c)+c.length),i+=c.length),mc[e]?(c?a._pf.empty=!1:a._pf.unusedTokens.push(e),Q(e,c,a)):a._strict&&!c&&a._pf.unusedTokens.push(e);a._pf.charsLeftOver=h-i,g.length>0&&a._pf.unusedInput.push(g),a._isPm&&a._a[Ab]<12&&(a._a[Ab]+=12),a._isPm===!1&&12===a._a[Ab]&&(a._a[Ab]=0),S(a),E(a)}function W(a){return a.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e})}function X(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Y(a){var b,d,e,f,g;if(0===a._f.length)return a._pf.invalidFormat=!0,void(a._d=new Date(0/0));for(f=0;fg)&&(e=g,d=b));l(a,d||b)}function Z(a){var b,c,d=a._i,e=ac.exec(d);if(e){for(a._pf.iso=!0,b=0,c=cc.length;c>b;b++)if(cc[b][1].exec(d)){a._f=cc[b][0]+(e[6]||" ");break}for(b=0,c=dc.length;c>b;b++)if(dc[b][1].exec(d)){a._f+=dc[b][0];break}d.match(Sb)&&(a._f+="Z"),V(a)}else a._isValid=!1}function $(a){Z(a),a._isValid===!1&&(delete a._isValid,rb.createFromInputFallback(a))}function _(b){var c,d=b._i;d===a?b._d=new Date:u(d)?b._d=new Date(+d):null!==(c=Hb.exec(d))?b._d=new Date(+c[1]):"string"==typeof d?$(b):t(d)?(b._a=d.slice(0),S(b)):"object"==typeof d?T(b):"number"==typeof d?b._d=new Date(d):rb.createFromInputFallback(b)}function ab(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return 1970>a&&h.setFullYear(a),h}function bb(a){var b=new Date(Date.UTC.apply(null,arguments));return 1970>a&&b.setUTCFullYear(a),b}function cb(a,b){if("string"==typeof a)if(isNaN(a)){if(a=b.weekdaysParse(a),"number"!=typeof a)return null}else a=parseInt(a,10);return a}function db(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function eb(a,b,c){var d=rb.duration(a).abs(),e=wb(d.as("s")),f=wb(d.as("m")),g=wb(d.as("h")),h=wb(d.as("d")),i=wb(d.as("M")),j=wb(d.as("y")),k=e0,k[4]=c,db.apply({},k)}function fb(a,b,c){var d,e=c-b,f=c-a.day();return f>e&&(f-=7),e-7>f&&(f+=7),d=rb(a).add(f,"d"),{week:Math.ceil(d.dayOfYear()/7),year:d.year()}}function gb(a,b,c,d,e){var f,g,h=bb(a,0,1).getUTCDay();return h=0===h?7:h,c=null!=c?c:e,f=e-h+(h>d?7:0)-(e>h?7:0),g=7*(b-1)+(c-e)+f+1,{year:g>0?a:a-1,dayOfYear:g>0?g:C(a-1)+g}}function hb(b){var c=b._i,d=b._f;return b._locale=b._locale||rb.localeData(b._l),null===c||d===a&&""===c?rb.invalid({nullInput:!0}):("string"==typeof c&&(b._i=c=b._locale.preparse(c)),rb.isMoment(c)?new j(c,!0):(d?t(d)?Y(b):V(b):_(b),new j(b)))}function ib(a,b){var c,d;if(1===b.length&&t(b[0])&&(b=b[0]),!b.length)return rb();for(c=b[0],d=1;d=0?"+":"-";return b+o(Math.abs(a),6)},gg:function(){return o(this.weekYear()%100,2)},gggg:function(){return o(this.weekYear(),4)},ggggg:function(){return o(this.weekYear(),5)},GG:function(){return o(this.isoWeekYear()%100,2)},GGGG:function(){return o(this.isoWeekYear(),4)},GGGGG:function(){return o(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return z(this.milliseconds()/100)},SS:function(){return o(z(this.milliseconds()/10),2)},SSS:function(){return o(this.milliseconds(),3)},SSSS:function(){return o(this.milliseconds(),3)},Z:function(){var a=-this.zone(),b="+";return 0>a&&(a=-a,b="-"),b+o(z(a/60),2)+":"+o(z(a)%60,2)},ZZ:function(){var a=-this.zone(),b="+";return 0>a&&(a=-a,b="-"),b+o(z(a/60),2)+o(z(a)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()},Q:function(){return this.quarter()}},nc={},oc=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];kc.length;)tb=kc.pop(),mc[tb+"o"]=h(mc[tb],tb);for(;lc.length;)tb=lc.pop(),mc[tb+tb]=g(mc[tb],2);mc.DDDD=g(mc.DDD,3),l(i.prototype,{set:function(a){var b,c;for(c in a)b=a[c],"function"==typeof b?this[c]=b:this["_"+c]=b},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(a){return this._months[a.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(a){return this._monthsShort[a.month()]},monthsParse:function(a){var b,c,d;for(this._monthsParse||(this._monthsParse=[]),b=0;12>b;b++)if(this._monthsParse[b]||(c=rb.utc([2e3,b]),d="^"+this.months(c,"")+"|^"+this.monthsShort(c,""),this._monthsParse[b]=new RegExp(d.replace(".",""),"i")),this._monthsParse[b].test(a))return b},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(a){return this._weekdays[a.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(a){return this._weekdaysShort[a.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(a){return this._weekdaysMin[a.day()]},weekdaysParse:function(a){var b,c,d;for(this._weekdaysParse||(this._weekdaysParse=[]),b=0;7>b;b++)if(this._weekdaysParse[b]||(c=rb([2e3,1]).day(b),d="^"+this.weekdays(c,"")+"|^"+this.weekdaysShort(c,"")+"|^"+this.weekdaysMin(c,""),this._weekdaysParse[b]=new RegExp(d.replace(".",""),"i")),this._weekdaysParse[b].test(a))return b},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},longDateFormat:function(a){var b=this._longDateFormat[a];return!b&&this._longDateFormat[a.toUpperCase()]&&(b=this._longDateFormat[a.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a]=b),b},isPM:function(a){return"p"===(a+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(a,b){var c=this._calendar[a];return"function"==typeof c?c.apply(b):c},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(a,b,c,d){var e=this._relativeTime[c];return"function"==typeof e?e(a,b,c,d):e.replace(/%d/i,a)},pastFuture:function(a,b){var c=this._relativeTime[a>0?"future":"past"];return"function"==typeof c?c(b):c.replace(/%s/i,b)},ordinal:function(a){return this._ordinal.replace("%d",a)},_ordinal:"%d",preparse:function(a){return a},postformat:function(a){return a},week:function(a){return fb(a,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),rb=function(b,d,e,f){var g;return"boolean"==typeof e&&(f=e,e=a),g={},g._isAMomentObject=!0,g._i=b,g._f=d,g._l=e,g._strict=f,g._isUTC=!1,g._pf=c(),hb(g)},rb.suppressDeprecationWarnings=!1,rb.createFromInputFallback=e("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(a){a._d=new Date(a._i)}),rb.min=function(){var a=[].slice.call(arguments,0);return ib("isBefore",a)},rb.max=function(){var a=[].slice.call(arguments,0);return ib("isAfter",a)},rb.utc=function(b,d,e,f){var g;return"boolean"==typeof e&&(f=e,e=a),g={},g._isAMomentObject=!0,g._useUTC=!0,g._isUTC=!0,g._l=e,g._i=b,g._f=d,g._strict=f,g._pf=c(),hb(g).utc()},rb.unix=function(a){return rb(1e3*a)},rb.duration=function(a,b){var c,d,e,f,g=a,h=null;return rb.isDuration(a)?g={ms:a._milliseconds,d:a._days,M:a._months}:"number"==typeof a?(g={},b?g[b]=a:g.milliseconds=a):(h=Ib.exec(a))?(c="-"===h[1]?-1:1,g={y:0,d:z(h[zb])*c,h:z(h[Ab])*c,m:z(h[Bb])*c,s:z(h[Cb])*c,ms:z(h[Db])*c}):(h=Jb.exec(a))?(c="-"===h[1]?-1:1,e=function(a){var b=a&&parseFloat(a.replace(",","."));return(isNaN(b)?0:b)*c},g={y:e(h[2]),M:e(h[3]),d:e(h[4]),h:e(h[5]),m:e(h[6]),s:e(h[7]),w:e(h[8])}):"object"==typeof g&&("from"in g||"to"in g)&&(f=q(rb(g.from),rb(g.to)),g={},g.ms=f.milliseconds,g.M=f.months),d=new k(g),rb.isDuration(a)&&a.hasOwnProperty("_locale")&&(d._locale=a._locale),d},rb.version=ub,rb.defaultFormat=bc,rb.ISO_8601=function(){},rb.momentProperties=Fb,rb.updateOffset=function(){},rb.relativeTimeThreshold=function(b,c){return jc[b]===a?!1:c===a?jc[b]:(jc[b]=c,!0)},rb.lang=e("moment.lang is deprecated. Use moment.locale instead.",function(a,b){return rb.locale(a,b)}),rb.locale=function(a,b){var c;return a&&(c="undefined"!=typeof b?rb.defineLocale(a,b):rb.localeData(a),c&&(rb.duration._locale=rb._locale=c)),rb._locale._abbr},rb.defineLocale=function(a,b){return null!==b?(b.abbr=a,Eb[a]||(Eb[a]=new i),Eb[a].set(b),rb.locale(a),Eb[a]):(delete Eb[a],null)},rb.langData=e("moment.langData is deprecated. Use moment.localeData instead.",function(a){return rb.localeData(a)}),rb.localeData=function(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return rb._locale;if(!t(a)){if(b=I(a))return b;a=[a]}return H(a)},rb.isMoment=function(a){return a instanceof j||null!=a&&a.hasOwnProperty("_isAMomentObject")},rb.isDuration=function(a){return a instanceof k};for(tb=oc.length-1;tb>=0;--tb)y(oc[tb]);rb.normalizeUnits=function(a){return w(a)},rb.invalid=function(a){var b=rb.utc(0/0);return null!=a?l(b._pf,a):b._pf.userInvalidated=!0,b},rb.parseZone=function(){return rb.apply(null,arguments).parseZone()},rb.parseTwoDigitYear=function(a){return z(a)+(z(a)>68?1900:2e3)},l(rb.fn=j.prototype,{clone:function(){return rb(this)},valueOf:function(){return+this._d+6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var a=rb(this).utc();return 00:!1},parsingFlags:function(){return l({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(a){return this.zone(0,a)},local:function(a){return this._isUTC&&(this.zone(0,a),this._isUTC=!1,a&&this.add(this._d.getTimezoneOffset(),"m")),this},format:function(a){var b=M(this,a||rb.defaultFormat);return this.localeData().postformat(b)},add:r(1,"add"),subtract:r(-1,"subtract"),diff:function(a,b,c){var d,e,f=J(a,this),g=6e4*(this.zone()-f.zone());return b=w(b),"year"===b||"month"===b?(d=432e5*(this.daysInMonth()+f.daysInMonth()),e=12*(this.year()-f.year())+(this.month()-f.month()),e+=(this-rb(this).startOf("month")-(f-rb(f).startOf("month")))/d,e-=6e4*(this.zone()-rb(this).startOf("month").zone()-(f.zone()-rb(f).startOf("month").zone()))/d,"year"===b&&(e/=12)):(d=this-f,e="second"===b?d/1e3:"minute"===b?d/6e4:"hour"===b?d/36e5:"day"===b?(d-g)/864e5:"week"===b?(d-g)/6048e5:d),c?e:n(e)},from:function(a,b){return rb.duration({to:this,from:a}).locale(this.locale()).humanize(!b)},fromNow:function(a){return this.from(rb(),a)},calendar:function(a){var b=a||rb(),c=J(b,this).startOf("day"),d=this.diff(c,"days",!0),e=-6>d?"sameElse":-1>d?"lastWeek":0>d?"lastDay":1>d?"sameDay":2>d?"nextDay":7>d?"nextWeek":"sameElse";return this.format(this.localeData().calendar(e,this))},isLeapYear:function(){return D(this.year())},isDST:function(){return this.zone()+rb(a).startOf(b)},isBefore:function(a,b){return b="undefined"!=typeof b?b:"millisecond",+this.clone().startOf(b)<+rb(a).startOf(b)},isSame:function(a,b){return b=b||"ms",+this.clone().startOf(b)===+J(a,this).startOf(b)},min:e("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(a){return a=rb.apply(null,arguments),this>a?this:a}),max:e("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(a){return a=rb.apply(null,arguments),a>this?this:a}),zone:function(a,b){var c,d=this._offset||0;return null==a?this._isUTC?d:this._d.getTimezoneOffset():("string"==typeof a&&(a=P(a)),Math.abs(a)<16&&(a=60*a),!this._isUTC&&b&&(c=this._d.getTimezoneOffset()),this._offset=a,this._isUTC=!0,null!=c&&this.subtract(c,"m"),d!==a&&(!b||this._changeInProgress?s(this,rb.duration(d-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,rb.updateOffset(this,!0),this._changeInProgress=null)),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):"string"==typeof this._i&&this.zone(this._i),this},hasAlignedHourOffset:function(a){return a=a?rb(a).zone():0,(this.zone()-a)%60===0},daysInMonth:function(){return A(this.year(),this.month())},dayOfYear:function(a){var b=wb((rb(this).startOf("day")-rb(this).startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")},quarter:function(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)},weekYear:function(a){var b=fb(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==a?b:this.add(a-b,"y")},isoWeekYear:function(a){var b=fb(this,1,4).year;return null==a?b:this.add(a-b,"y")},week:function(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")},isoWeek:function(a){var b=fb(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")},weekday:function(a){var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")},isoWeekday:function(a){return null==a?this.day()||7:this.day(this.day()%7?a:a-7)},isoWeeksInYear:function(){return B(this.year(),1,4)},weeksInYear:function(){var a=this.localeData()._week;return B(this.year(),a.dow,a.doy)},get:function(a){return a=w(a),this[a]()},set:function(a,b){return a=w(a),"function"==typeof this[a]&&this[a](b),this},locale:function(b){return b===a?this._locale._abbr:(this._locale=rb.localeData(b),this)},lang:e("moment().lang() is deprecated. Use moment().localeData() instead.",function(b){return b===a?this.localeData():(this._locale=rb.localeData(b),this)}),localeData:function(){return this._locale}}),rb.fn.millisecond=rb.fn.milliseconds=mb("Milliseconds",!1),rb.fn.second=rb.fn.seconds=mb("Seconds",!1),rb.fn.minute=rb.fn.minutes=mb("Minutes",!1),rb.fn.hour=rb.fn.hours=mb("Hours",!0),rb.fn.date=mb("Date",!0),rb.fn.dates=e("dates accessor is deprecated. Use date instead.",mb("Date",!0)),rb.fn.year=mb("FullYear",!0),rb.fn.years=e("years accessor is deprecated. Use year instead.",mb("FullYear",!0)),rb.fn.days=rb.fn.day,rb.fn.months=rb.fn.month,rb.fn.weeks=rb.fn.week,rb.fn.isoWeeks=rb.fn.isoWeek,rb.fn.quarters=rb.fn.quarter,rb.fn.toJSON=rb.fn.toISOString,l(rb.duration.fn=k.prototype,{_bubble:function(){var a,b,c,d=this._milliseconds,e=this._days,f=this._months,g=this._data,h=0;g.milliseconds=d%1e3,a=n(d/1e3),g.seconds=a%60,b=n(a/60),g.minutes=b%60,c=n(b/60),g.hours=c%24,e+=n(c/24),h=n(nb(e)),e-=n(ob(h)),f+=n(e/30),e%=30,h+=n(f/12),f%=12,g.days=e,g.months=f,g.years=h},abs:function(){return this._milliseconds=Math.abs(this._milliseconds),this._days=Math.abs(this._days),this._months=Math.abs(this._months),this._data.milliseconds=Math.abs(this._data.milliseconds),this._data.seconds=Math.abs(this._data.seconds),this._data.minutes=Math.abs(this._data.minutes),this._data.hours=Math.abs(this._data.hours),this._data.months=Math.abs(this._data.months),this._data.years=Math.abs(this._data.years),this},weeks:function(){return n(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*z(this._months/12)},humanize:function(a){var b=eb(this,!a,this.localeData());return a&&(b=this.localeData().pastFuture(+this,b)),this.localeData().postformat(b)},add:function(a,b){var c=rb.duration(a,b);return this._milliseconds+=c._milliseconds,this._days+=c._days,this._months+=c._months,this._bubble(),this},subtract:function(a,b){var c=rb.duration(a,b);return this._milliseconds-=c._milliseconds,this._days-=c._days,this._months-=c._months,this._bubble(),this},get:function(a){return a=w(a),this[a.toLowerCase()+"s"]()},as:function(a){var b,c;if(a=w(a),b=this._days+this._milliseconds/864e5,"month"===a||"year"===a)return c=this._months+12*nb(b),"month"===a?c:c/12;switch(b+=ob(this._months/12),a){case"week":return b/7;case"day":return b;case"hour":return 24*b;case"minute":return 24*b*60;case"second":return 24*b*60*60;case"millisecond":return 24*b*60*60*1e3;default:throw new Error("Unknown unit "+a)}},lang:rb.fn.lang,locale:rb.fn.locale,toIsoString:e("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",function(){return this.toISOString()}),toISOString:function(){var a=Math.abs(this.years()),b=Math.abs(this.months()),c=Math.abs(this.days()),d=Math.abs(this.hours()),e=Math.abs(this.minutes()),f=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(a?a+"Y":"")+(b?b+"M":"")+(c?c+"D":"")+(d||e||f?"T":"")+(d?d+"H":"")+(e?e+"M":"")+(f?f+"S":""):"P0D"},localeData:function(){return this._locale}});for(tb in fc)fc.hasOwnProperty(tb)&&pb(tb.toLowerCase());rb.duration.fn.asMilliseconds=function(){return this.as("ms")},rb.duration.fn.asSeconds=function(){return this.as("s")},rb.duration.fn.asMinutes=function(){return this.as("m")},rb.duration.fn.asHours=function(){return this.as("h")},rb.duration.fn.asDays=function(){return this.as("d")},rb.duration.fn.asWeeks=function(){return this.as("weeks")},rb.duration.fn.asMonths=function(){return this.as("M")},rb.duration.fn.asYears=function(){return this.as("y")},rb.locale("en",{ordinal:function(a){var b=a%10,c=1===z(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),Gb?module.exports=rb:"function"==typeof define&&define.amd?(define("moment",function(a,b,c){return c.config&&c.config()&&c.config().noGlobal===!0&&(vb.moment=sb),rb}),qb(!0)):qb()}).call(this); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/css/fileinput.min.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/css/fileinput.min.css index 3d50954a..924a7fe9 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/css/fileinput.min.css +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/css/fileinput.min.css @@ -1,11 +1,11 @@ -/*! - * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015 - * @package bootstrap-fileinput - * @version 4.2.3 - * - * File input styling for Bootstrap 3.0 - * Built for Yii Framework 2.0 - * Author: Kartik Visweswaran - * Year: 2015 - * For more Yii related demos visit http://demos.krajee.com +/*! + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015 + * @package bootstrap-fileinput + * @version 4.2.3 + * + * File input styling for Bootstrap 3.0 + * Built for Yii Framework 2.0 + * Author: Kartik Visweswaran + * Year: 2015 + * For more Yii related demos visit http://demos.krajee.com */.file-input{overflow-x:auto}.file-loading{top:0;right:0;width:25px;height:25px;font-size:999px;text-align:right;color:#fff;background:transparent url(../image/loading.gif) top left no-repeat;border:none}.btn-file{position:relative;overflow:hidden}.btn-file input[type=file]{position:absolute;top:0;right:0;min-width:100%;min-height:100%;text-align:right;filter:alpha(opacity=0);opacity:0;background:none repeat scroll 0 0 transparent;cursor:inherit;display:block}.file-caption .glyphicon{display:inline-block;min-width:18px;margin-top:2px}.file-caption-name{display:inline-block;overflow:hidden;max-height:20px;padding-right:10px;word-break:break-all}.file-caption-ellipsis{position:absolute;right:10px;margin-top:-6px;font-size:1.2em;display:none;font-weight:700;cursor:default}.kv-has-ellipsis .file-caption-ellipsis{display:inline}.kv-has-ellipsis{padding-right:17px}.kv-search-container .kv-search-clear{position:absolute;padding:10px;right:0}.file-error-message{background-color:#f2dede;color:#a94442;text-align:center;border-radius:5px;padding:5px}.file-error-message pre,.file-error-message ul{margin:5px 0;text-align:left}.file-caption-disabled{background-color:#EEE;cursor:not-allowed;opacity:1}.file-input .btn .disabled,.file-input .btn[disabled]{cursor:not-allowed}.file-preview{border-radius:5px;border:1px solid #ddd;padding:5px;width:100%;margin-bottom:5px}.file-preview-frame{display:table;margin:8px;height:100px;border:1px solid #ddd;box-shadow:1px 1px 5px 0 #a2958a;padding:6px;float:left;text-align:center;vertical-align:middle}.file-preview-frame:hover{box-shadow:3px 3px 5px 0 #333}.file-preview-image{height:160px;vertical-align:text-center}.file-preview-text{width:160px;color:#428bca;font-size:11px;text-align:center}.file-preview-other{padding-top:20px;text-align:center}.file-preview-other i{font-size:2.4em}.file-other-error{width:100%;padding-top:30px;text-align:right}.file-input-ajax-new .fileinput-remove-button,.file-input-ajax-new .fileinput-upload-button,.file-input-new .close,.file-input-new .file-preview,.file-input-new .fileinput-remove-button,.file-input-new .fileinput-upload-button,.file-input-new .glyphicon-file{display:none}.loading{background:transparent url(../image/loading.gif) no-repeat scroll center center content-box!important}.wrap-indicator{font-weight:700;color:#245269;cursor:pointer}.file-actions{text-align:left}.file-footer-buttons{float:right}.file-thumbnail-footer .file-caption-name{padding-top:4px;font-size:11px;color:#777}.file-upload-indicator{padding-top:2px;cursor:default}.file-upload-indicator:hover{font-size:1.2em;font-weight:700;padding-top:0}.file-drop-zone{border:1px dashed #aaa;border-radius:4px;height:100%;text-align:center;vertical-align:middle;margin:12px 15px 12px 12px;padding:5px}.file-drop-zone-title{color:#aaa;font-size:30px;padding:20px 10px}.highlighted{border:2px dashed #999!important;background-color:#f0f0f0}.file-uploading{background-image:url(../image/loading-sm.gif);background-position:center bottom 10px;background-repeat:no-repeat;opacity:.6}.file-icon-large{font-size:1.2em} \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/js/fileinput.min.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/js/fileinput.min.js index 04a3bca9..efe8633c 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/js/fileinput.min.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/js/fileinput.min.js @@ -1,19 +1,19 @@ -/*! - * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015 - * @version 4.2.3 - * - * File input styled for Bootstrap 3.0 that utilizes HTML5 File Input's advanced - * features including the FileReader API. - * - * The plugin drastically enhances the HTML file input to preview multiple files on the client before - * upload. In addition it provides the ability to preview content of images, text, videos, audio, html, - * flash and other objects. It also offers the ability to upload and delete files using AJAX, and add - * files in batches (i.e. preview, append, or remove before upload). - * - * Author: Kartik Visweswaran - * Copyright: 2015, Kartik Visweswaran, Krajee.com - * For more JQuery plugins visit http://plugins.krajee.com - * For more Yii related demos visit http://demos.krajee.com - */!function(e){"use strict";e.fn.fileinputLocales={},String.prototype.repl=function(e,i){return this.split(e).join(i)};var i=function(e){var i,t=document.createElement("div");return t.innerHTML="",i=1===t.getElementsByTagName("i").length,document.body.appendChild(t),t.parentNode.removeChild(t),i},t={data:{},init:function(e){var i=e.initialPreview,a=e.id;i.length>0&&!z(i)&&(i=i.split(e.initialPreviewDelimiter)),t.data[a]={content:i,config:e.initialPreviewConfig,tags:e.initialPreviewThumbTags,delimiter:e.initialPreviewDelimiter,template:e.previewGenericTemplate,msg:function(i){return e.getMsgSelected(i)},initId:e.previewInitId,footer:e.getLayoutTemplate("footer"),isDelete:e.initialPreviewShowDelete,caption:e.initialCaption,actions:function(i,t,a,n,r){return e.renderFileActions(i,t,a,n,r)}}},fetch:function(e){return t.data[e].content.filter(function(e){return null!==e})},count:function(e,i){return t.data[e]&&t.data[e].content?i?t.data[e].content.length:t.fetch(e).length:0},get:function(i,a,n){var r,l,o="init_"+a,s=t.data[i],d=s.config[a],c=s.initId+"-"+o,p=" file-preview-initial";return n=void 0===n?!0:n,null===s.content[a]?"":(R(d)||R(d.frameClass)||(p+=" "+d.frameClass),r=s.template.repl("{previewId}",c).repl("{frameClass}",p).repl("{fileindex}",o).repl("{content}",s.content[a]).repl("{footer}",t.footer(i,a,n)),s.tags.length&&s.tags[a]&&(r=H(r,s.tags[a])),R(d)||R(d.frameAttr)||(l=e(document.createElement("div")).html(r),l.find(".file-preview-initial").attr(d.frameAttr),r=l.html(),l.remove()),r)},add:function(i,a,n,r,l){var o,s=e.extend(!0,{},t.data[i]);return z(a)||(a=a.split(s.delimiter)),l?(o=s.content.push(a)-1,s.config[o]=n,s.tags[o]=r):(o=a.length,s.content=a,s.config=n,s.tags=r),t.data[i]=s,o},set:function(i,a,n,r,l){var o,s=e.extend(!0,{},t.data[i]);if(z(a)||(a=a.split(s.delimiter)),l){for(o=0;ol;l++)a+=t.get(e,l);return i=n.msg(t.count(e)),{content:a,caption:i}},footer:function(e,i,a){var n=t.data[e];if(a=void 0===a?!0:a,0===n.config.length||R(n.config[i]))return"";var r=n.config[i],l=M("caption",r)?r.caption:"",o=M("width",r)?r.width:"auto",s=M("url",r)?r.url:!1,d=M("key",r)?r.key:null,c=s===!1&&a,p=n.isDelete?n.actions(!1,!0,c,s,d):"",u=n.footer.repl("{actions}",p);return u.repl("{caption}",l).repl("{width}",o).repl("{indicator}","").repl("{indicatorTitle}","")}},a=function(e,i){return i=i||0,"number"==typeof e?e:("string"==typeof e&&(e=parseFloat(e)),isNaN(e)?i:e)},n=function(){return window.File&&window.FileReader},r=function(){var e=document.createElement("div");return!i(9)&&(void 0!==e.draggable||void 0!==e.ondragstart&&void 0!==e.ondrop)},l=function(){return n()&&window.FormData},o=function(e,i){e.removeClass(i).addClass(i)},s='style="width:{width};height:{height};"',d=' \n \n \n \n \n \n',c='
    \n {previewFileIcon}\n
    ',p={removeIcon:'',removeClass:"btn btn-xs btn-default",removeTitle:"Remove file",uploadIcon:'',uploadClass:"btn btn-xs btn-default",uploadTitle:"Upload file",indicatorNew:'',indicatorSuccess:'',indicatorError:'',indicatorLoading:'',indicatorNewTitle:"Not uploaded yet",indicatorSuccessTitle:"Uploaded",indicatorErrorTitle:"Upload Error",indicatorLoadingTitle:"Uploading ..."},u='{preview}\n
    \n
    \n {caption}\n
    \n {remove}\n {cancel}\n {upload}\n {browse}\n
    \n
    ',f='{preview}\n
    \n{remove}\n{cancel}\n{upload}\n{browse}\n',v='
    \n
    ×
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    ',h='',m='
    \n \n
    \n
    ',g='',w='
    \n
    \n {percent}%\n
    \n
    ',b='',x='
    \n \n
    {indicator}
    \n
    \n
    ',C='\n',y='\n',T='
    \n {content}\n {footer}\n
    \n',E='
    \n \n '+c+"\n \n {footer}\n
    ",k='
    \n {caption}\n {footer}\n
    \n",F='
    \n
    \n {data}\n
    \n {footer}\n
    ",$='
    \n \n {footer}\n
    \n",I='
    \n \n {footer}\n
    ",D='
    \n \n'+d+" "+c+"\n \n {footer}\n
    \n",P='
    \n \n \n'+d+" "+c+"\n \n {footer}\n
    ",S='
    \n "+c+"\n {footer}\n
    ",U={main1:u,main2:f,preview:v,icon:h,caption:m,modal:g,progress:w,footer:b,actions:x,actionDelete:C,actionUpload:y},j={generic:T,html:E,image:k,text:F,video:$,audio:I,flash:D,object:P,other:S},A=["image","html","text","video","audio","flash","object"],L={image:{width:"auto",height:"160px"},html:{width:"213px",height:"160px"},text:{width:"160px",height:"160px"},video:{width:"213px",height:"160px"},audio:{width:"213px",height:"80px"},flash:{width:"213px",height:"160px"},object:{width:"160px",height:"160px"},other:{width:"160px",height:"160px"}},O={image:function(e,i){return void 0!==e?e.match("image.*"):i.match(/\.(gif|png|jpe?g)$/i)},html:function(e,i){return void 0!==e?"text/html"===e:i.match(/\.(htm|html)$/i)},text:function(e,i){return void 0!==e&&e.match("text.*")||i.match(/\.(txt|md|csv|nfo|php|ini)$/i)},video:function(e,i){return void 0!==e&&e.match(/\.video\/(ogg|mp4|webm)$/i)||i.match(/\.(og?|mp4|webm)$/i)},audio:function(e,i){return void 0!==e&&e.match(/\.audio\/(ogg|mp3|wav)$/i)||i.match(/\.(ogg|mp3|wav)$/i)},flash:function(e,i){return void 0!==e&&"application/x-shockwave-flash"===e||i.match(/\.(swf)$/i)},object:function(){return!0},other:function(){return!0}},R=function(i,t){return null===i||void 0===i||0===i.length||t&&""===e.trim(i)},z=function(e){return Array.isArray(e)||"[object Array]"===Object.prototype.toString.call(e)},M=function(e,i){return"object"==typeof i&&e in i},N=function(i,t,a){return R(i)||R(i[t])?a:e(i[t])},B=function(){return Math.round((new Date).getTime()+100*Math.random())},Z=function(e){return String(e).repl("&","&").repl('"',""").repl("'","'").repl("<","<").repl(">",">")},H=function(i,t){var a=i;return t=t||{},e.each(t,function(e,i){"function"==typeof i&&(i=i()),a=a.repl(e,i)}),a},W=window.URL||window.webkitURL,_=function(t,a){var r=this;r.$element=e(t),r.validate()&&(r.isPreviewable=n(),r.isIE9=i(9),r.isIE10=i(10),r.isPreviewable||r.isIE9?(r.init(a),r.listen()):r.$element.removeClass("file-loading"))};_.prototype={constructor:_,validate:function(){var e,i=this;return"file"===i.$element.attr("type")?!0:(e='

    Invalid Input Type

    You must set an input type = file for bootstrap-fileinput plugin to initialize.
    ',i.$element.after(e),!1)},init:function(i){var n,s=this,d=s.$element;e.each(i,function(e,i){s[e]="maxFileCount"===e||"maxFileSize"===e?a(i):i}),s.fileInputCleared=!1,s.fileBatchCompleted=!0,R(s.allowedPreviewTypes)&&(s.allowedPreviewTypes=A),s.isPreviewable||(s.showPreview=!1),s.uploadFileAttr=R(d.attr("name"))?"file_data":d.attr("name"),s.reader=null,s.formdata={},s.filestack=[],s.ajaxRequests=[],s.isError=!1,s.ajaxAborted=!1,s.dropZoneEnabled=r()&&s.dropZoneEnabled,s.isDisabled=s.$element.attr("disabled")||s.$element.attr("readonly"),s.isUploadable=l()&&!R(s.uploadUrl),s.slug="function"==typeof i.slugCallback?i.slugCallback:s.slugDefault,s.mainTemplate=s.getLayoutTemplate(s.showCaption?"main1":"main2"),s.captionTemplate=s.getLayoutTemplate("caption"),s.previewGenericTemplate=s.getPreviewTemplate("generic"),R(s.$element.attr("id"))&&s.$element.attr("id",B()),void 0===s.$container?s.$container=s.createContainer():s.refreshContainer(),s.$progress=s.$container.find(".kv-upload-progress"),s.$btnUpload=s.$container.find(".kv-fileinput-upload"),s.$captionContainer=N(i,"elCaptionContainer",s.$container.find(".file-caption")),s.$caption=N(i,"elCaptionText",s.$container.find(".file-caption-name")),s.$previewContainer=N(i,"elPreviewContainer",s.$container.find(".file-preview")),s.$preview=N(i,"elPreviewImage",s.$container.find(".file-preview-thumbnails")),s.$previewStatus=N(i,"elPreviewStatus",s.$container.find(".file-preview-status")),s.$errorContainer=N(i,"elErrorContainer",s.$previewContainer.find(".kv-fileinput-error")),R(s.msgErrorClass)||o(s.$errorContainer,s.msgErrorClass),s.$errorContainer.hide(),s.fileActionSettings=e.extend(p,i.fileActionSettings),s.previewInitId="preview-"+B(),s.id=s.$element.attr("id"),t.init(s),s.initPreview(!0),s.initPreviewDeletes(),s.options=i,s.setFileDropZoneTitle(),s.uploadCount=0,s.uploadPercent=0,s.$element.removeClass("file-loading"),n=s.getLayoutTemplate("progress"),s.progressTemplate=n.replace("{class}",s.progressClass),s.progressCompleteTemplate=n.replace("{class}",s.progressCompleteClass),s.setEllipsis()},parseError:function(i,t,a){var n=this,r=e.trim(t+""),l="."===r.slice(-1)?"":".",o=void 0!==i.responseJSON&&void 0!==i.responseJSON.error?i.responseJSON.error:i.responseText;return n.showAjaxErrorDetails?(o=e.trim(o.replace(/\n\s*\n/g,"\n")),o=o.length>0?"
    "+o+"
    ":"",r+=l+o):r+=l,a?""+a+": "+i:r},raise:function(i,t){var a=this,n=e.Event(i);if(void 0!==t?a.$element.trigger(n,t):a.$element.trigger(n),!n.result)return n.result;switch(i){case"filebatchuploadcomplete":case"filebatchuploadsuccess":case"fileuploaded":case"fileclear":case"filecleared":case"filereset":case"fileerror":case"filefoldererror":case"fileuploaderror":case"filebatchuploaderror":case"filedeleteerror":case"filecustomerror":case"filesuccessremove":break;default:a.ajaxAborted=n.result}return!0},getLayoutTemplate:function(e){var i=this,t=M(e,i.layoutTemplates)?i.layoutTemplates[e]:U[e];return R(i.customLayoutTags)?t:H(t,i.customLayoutTags)},getPreviewTemplate:function(e){var i=this,t=M(e,i.previewTemplates)?i.previewTemplates[e]:j[e];return t=t.repl("{previewFileIcon}",i.previewFileIcon),R(i.customPreviewTags)?t:H(t,i.customPreviewTags)},getOutData:function(e,i,t){var a=this;return e=e||{},i=i||{},t=t||a.filestack.slice(0)||{},{form:a.formdata,files:t,extra:a.getExtraData(),response:i,reader:a.reader,jqXHR:e}},setEllipsis:function(){var e=this,i=e.$captionContainer,t=e.$caption,a=t.clone().css("height","auto").hide();i.parent().before(a),i.removeClass("kv-has-ellipsis"),a.outerWidth()>t.outerWidth()&&i.addClass("kv-has-ellipsis"),a.remove()},listen:function(){var i=this,t=i.$element,a=i.$captionContainer,n=i.$btnFile,r=t.closest("form");t.on("change",e.proxy(i.change,i)),e(window).on("resize",function(){i.setEllipsis()}),n.off("click").on("click",function(){i.raise("filebrowse"),i.isError&&!i.isUploadable&&i.clear(),a.focus()}),r.off("reset").on("reset",e.proxy(i.reset,i)),i.$container.off("click").on("click",".fileinput-remove:not([disabled])",e.proxy(i.clear,i)).on("click",".fileinput-cancel",e.proxy(i.cancel,i)),i.isUploadable&&i.dropZoneEnabled&&i.showPreview&&i.initDragDrop(),i.isUploadable||r.on("submit",e.proxy(i.submitForm,i)),i.$container.find(".kv-fileinput-upload").off("click").on("click",function(t){var a,n=e(this),r=!n.hasClass("disabled")&&R(n.attr("disabled"));return i.isUploadable?(t.preventDefault(),void(r&&i.upload())):void(r&&"submit"!==n.attr("type")&&(a=n.closest("form"),a.length&&a.trigger("submit"),t.preventDefault()))})},submitForm:function(){var e=this,i=e.$element,t=i.get(0).files;return t&&t.length0?(e.noFilesError({}),!1):!e.abort({})},abort:function(i){var t,a=this;return a.ajaxAborted&&"object"==typeof a.ajaxAborted&&void 0!==a.ajaxAborted.message?(t=e.extend(a.getOutData(),i),t.abortData=a.ajaxAborted.data||{},t.abortMessage=a.ajaxAborted.message,a.showUploadError(a.ajaxAborted.message,t,"filecustomerror"),!0):!1},noFilesError:function(e){var i=this,t=i.minFileCount>1?i.filePlural:i.fileSingle,a=i.msgFilesTooLess.replace("{n}",i.minFileCount).replace("{files}",t),n=i.$errorContainer;n.html(a),i.isError=!0,i.updateFileDetails(0),n.fadeIn(800),i.raise("fileerror",[e]),i.clearFileInput(),o(i.$container,"has-error")},setProgress:function(e){var i=this,t=Math.min(e,100),a=100>t?i.progressTemplate:i.progressCompleteTemplate;R(a)||i.$progress.html(a.repl("{percent}",t))},upload:function(){var i,t,a,n=this,r=n.getFileStack().length,l={},o=!e.isEmptyObject(n.getExtraData());if(r0)return void n.noFilesError(l);if(n.isUploadable&&!n.isDisabled&&(0!==r||o)){if(n.resetUpload(),n.$progress.removeClass("hide"),n.uploadCount=0,n.uploadPercent=0,n.lock(),n.setProgress(0),0===r&&o)return void n.uploadExtraOnly();if(a=n.filestack.length,n.hasInitData=!1,n.uploadAsync&&n.showPreview)for(t=n.getOutData(),n.raise("filebatchpreupload",[t]),n.fileBatchCompleted=!1,n.uploadCache={content:[],config:[],tags:[],append:!0},i=0;a>i;i+=1)void 0!==n.filestack[i]&&n.uploadSingle(i,n.filestack,!0);else n.uploadBatch()}},lock:function(){var e=this;e.resetErrors(),e.disable(),e.showRemove&&o(e.$container.find(".fileinput-remove"),"hide"),e.showCancel&&e.$container.find(".fileinput-cancel").removeClass("hide"),e.raise("filelock",[e.filestack,e.getExtraData()])},unlock:function(e){var i=this;void 0===e&&(e=!0),i.enable(),i.showCancel&&o(i.$container.find(".fileinput-cancel"),"hide"),i.showRemove&&i.$container.find(".fileinput-remove").removeClass("hide"),e&&i.resetFileStack(),i.raise("fileunlock",[i.filestack,i.getExtraData()])},resetFileStack:function(){var i=this,t=0,a=[];i.getThumbs().each(function(){var n=e(this),r=n.attr("data-fileindex"),l=i.filestack[r];-1!==r&&(void 0!==l?(a[t]=l,n.attr({id:i.previewInitId+"-"+t,"data-fileindex":t}),t+=1):n.attr({id:"uploaded-"+B(),"data-fileindex":"-1"}))}),i.filestack=a},refresh:function(i){var t,a=this,n=a.$element,r=arguments.length?e.extend(a.options,i):a.options;n.off(),a.init(r),t=a.$container.find(".file-drop-zone"),t.off("dragenter dragover dragleave drop"),e(document).off("dragenter dragover drop"),a.listen(),a.setFileDropZoneTitle()},initDragDrop:function(){var i=this,t=i.$container.find(".file-drop-zone");t.off("dragenter dragover dragleave drop"),e(document).off("dragenter dragover drop"),t.on("dragenter dragover",function(t){var a=e.inArray("Files",t.originalEvent.dataTransfer.types)>-1;return t.stopPropagation(),t.preventDefault(),i.isDisabled||!a?(t.originalEvent.dataTransfer.effectAllowed="none",void(t.originalEvent.dataTransfer.dropEffect="none")):void o(e(this),"highlighted")}),t.on("dragleave",function(t){t.stopPropagation(),t.preventDefault(),i.isDisabled||e(this).removeClass("highlighted")}),t.on("drop",function(t){t.preventDefault(),i.isDisabled||R(t.originalEvent.dataTransfer.files)||(i.change(t,"dragdrop"),e(this).removeClass("highlighted"))}),e(document).on("dragenter dragover drop",function(e){e.stopPropagation(),e.preventDefault()})},setFileDropZoneTitle:function(){var e=this,i=e.$container.find(".file-drop-zone");i.find("."+e.dropZoneTitleClass).remove(),e.isUploadable&&e.showPreview&&0!==i.length&&!(e.getFileStack().length>0)&&e.dropZoneEnabled&&(0===i.find(".file-preview-frame").length&&i.prepend('
    '+e.dropZoneTitle+"
    "),e.$container.removeClass("file-input-new"),o(e.$container,"file-input-ajax-new"))},initFileActions:function(){var i=this;i.$preview.find(".kv-file-remove").each(function(){var a,n,r=e(this),l=r.closest(".file-preview-frame"),o=l.attr("data-fileindex");r.off("click").on("click",function(){i.cleanMemory(l),l.fadeOut("slow",function(){i.filestack[o]=void 0,i.clearObjects(l),l.remove();var e=i.getFileStack(!0),r=e.length,s=t.count(i.id);i.clearFileInput(),0===r&&0===s?i.reset():(a=s+r,n=a>1?i.getMsgSelected(a):e[0]?e[0].name:"",i.setCaption(n))})})}),i.$preview.find(".kv-file-upload").each(function(){var t=e(this);t.off("click").on("click",function(){var e=t.closest(".file-preview-frame"),a=e.attr("data-fileindex");i.uploadSingle(a,i.filestack,!1)})})},getMsgSelected:function(e){var i=this,t=1===e?i.fileSingle:i.filePlural;return i.msgSelected.replace("{n}",e).replace("{files}",t)},renderFileFooter:function(e,i){var t,a,n=this,r=n.fileActionSettings,l=n.getLayoutTemplate("footer");return n.isUploadable?(t=l.repl("{actions}",n.renderFileActions(!0,!0,!1,!1,!1)),a=t.repl("{caption}",e).repl("{width}",i).repl("{indicator}",r.indicatorNew).repl("{indicatorTitle}",r.indicatorNewTitle)):a=l.repl("{actions}","").repl("{caption}",e).repl("{width}",i).repl("{indicator}","").repl("{indicatorTitle}",""),a=H(a,n.previewThumbTags)},renderFileActions:function(e,i,t,a,n){if(!e&&!i)return"";var r=this,l=a===!1?"":' data-url="'+a+'"',o=n===!1?"":' data-key="'+n+'"',s=r.getLayoutTemplate("actionDelete"),d="",c=r.getLayoutTemplate("actions"),p=r.otherActionButtons.repl("{dataKey}",o),u=r.fileActionSettings,f=t?u.removeClass+" disabled":u.removeClass;return s=s.repl("{removeClass}",f).repl("{removeIcon}",u.removeIcon).repl("{removeTitle}",u.removeTitle).repl("{dataUrl}",l).repl("{dataKey}",o),e&&(d=r.getLayoutTemplate("actionUpload").repl("{uploadClass}",u.uploadClass).repl("{uploadIcon}",u.uploadIcon).repl("{uploadTitle}",u.uploadTitle)),c.repl("{delete}",s).repl("{upload}",d).repl("{other}",p)},setThumbStatus:function(e,i){var t=this,a="indicator"+i,n=a+"Title",r="file-preview-"+i.toLowerCase(),l=e.find(".file-upload-indicator"),o=t.fileActionSettings;e.removeClass("file-preview-success file-preview-error file-preview-loading"),l.html(o[a]),l.attr("title",o[n]),e.addClass(r)},clearPreview:function(){var e=this,i=e.$preview.find(e.showUploadedThumbs?".file-preview-frame:not(.file-preview-success)":".file-preview-frame");i.remove(),e.$preview.find(".file-preview-frame").length&&e.showPreview||e.resetUpload()},initPreview:function(e){var i,a=this,n=a.initialCaption||"";return t.count(a.id)?(i=t.out(a.id),n=e&&a.initialCaption?a.initialCaption:i.caption,a.$preview.html(i.content),a.setCaption(n),void(R(i.content)||a.$container.removeClass("file-input-new"))):(a.clearPreview(),void(e?a.setCaption(n):a.initCaption()))},initPreviewDeletes:function(){var i=this,a=i.deleteExtraData||{},n=function(){0===i.$preview.find(".kv-file-remove").length&&(i.reset(),i.initialCaption="")};i.$preview.find(".kv-file-remove").each(function(){var r=e(this),l=r.data("url")||i.deleteUrl,s=r.data("key");if(!R(l)&&void 0!==s){var d,c,p,u,f=r.closest(".file-preview-frame"),v=t.data[i.id],h=f.data("fileindex");h=parseInt(h.replace("init_","")),p=R(v.config)&&R(v.config[h])?null:v.config[h],u=R(p)||R(p.extra)?a:p.extra,"function"==typeof u&&(u=u()),c={id:r.attr("id"),key:s,extra:u},d=e.extend({url:l,type:"DELETE",dataType:"json",data:e.extend({key:s},u),beforeSend:function(e){i.ajaxAborted=!1,i.raise("filepredelete",[s,e,u]),i.ajaxAborted?e.abort():(o(f,"file-uploading"),o(r,"disabled"))},success:function(e,a,l){var o,d;return R(e)||R(e.error)?(t.unset(i.id,h),o=t.count(i.id),d=o>0?i.getMsgSelected(o):"",i.raise("filedeleted",[s,l,u]),i.setCaption(d),f.removeClass("file-uploading").addClass("file-deleted"),void f.fadeOut("slow",function(){i.clearObjects(f),f.remove(),n(),o||0!==i.getFileStack().length||(i.setCaption(""),i.reset())})):(c.jqXHR=l,c.response=e,i.showError(e.error,c,"filedeleteerror"),f.removeClass("file-uploading"),r.removeClass("disabled"),void n())},error:function(e,t,a){var r=i.parseError(e,a);c.jqXHR=e,c.response={},i.showError(r,c,"filedeleteerror"),f.removeClass("file-uploading"),n()}},i.ajaxDeleteSettings),r.off("click").on("click",function(){e.ajax(d)})}})},clearObjects:function(i){i.find("video audio").each(function(){this.pause(),e(this).remove()}),i.find("img object div").each(function(){e(this).remove()})},clearFileInput:function(){var i,t,a,n=this,r=n.$element;R(r.val())||(n.isIE9||n.isIE10?(i=r.closest("form"),t=e(document.createElement("form")),a=e(document.createElement("div")),r.before(a),i.length?i.after(t):a.after(t),t.append(r).trigger("reset"),a.before(r).remove(),t.remove()):r.val(""),n.fileInputCleared=!0)},resetUpload:function(){var e=this;e.uploadCache={content:[],config:[],tags:[],append:!0},e.uploadCount=0,e.uploadPercent=0,e.$btnUpload.removeAttr("disabled"),e.setProgress(0),o(e.$progress,"hide"),e.resetErrors(!1),e.ajaxAborted=!1,e.ajaxRequests=[]},cancel:function(){var i,t=this,a=t.ajaxRequests,n=a.length;if(n>0)for(i=0;n>i;i+=1)a[i].abort();t.getThumbs().each(function(){var i=e(this),a=i.attr("data-fileindex");i.removeClass("file-uploading"),void 0!==t.filestack[a]&&(i.find(".kv-file-upload").removeClass("disabled").removeAttr("disabled"),i.find(".kv-file-remove").removeClass("disabled").removeAttr("disabled")),t.unlock()})},cleanMemory:function(e){var i=e.is("img")?e.attr("src"):e.find("source").attr("src");W.revokeObjectURL(i)},hasInitialPreview:function(){var e=this;return!e.overwriteInitial&&t.count(e.id)},clear:function(){var i,t=this;t.$btnUpload.removeAttr("disabled"),t.getThumbs().find("video,audio,img").each(function(){t.cleanMemory(e(this))}),t.resetUpload(),t.filestack=[],t.clearFileInput(),t.resetErrors(!0),t.raise("fileclear"),t.hasInitialPreview()?(t.showFileIcon(),t.resetPreview(),t.setEllipsis(),t.initPreviewDeletes(),t.$container.removeClass("file-input-new")):(t.getThumbs().each(function(){t.clearObjects(e(this))}),t.$preview.html(""),i=!t.overwriteInitial&&t.initialCaption.length>0?t.initialCaption:"",t.setCaption(i),t.setEllipsis(),t.$caption.attr("title",""),o(t.$container,"file-input-new")),0===t.$container.find(".file-preview-frame").length&&(t.initCaption()||t.$captionContainer.find(".kv-caption-icon").hide(),t.setEllipsis()),t.hideFileIcon(),t.raise("filecleared"),t.$captionContainer.focus(),t.setFileDropZoneTitle()},resetPreview:function(){var e,i=this;t.count(i.id)?(e=t.out(i.id),i.$preview.html(e.content),i.setCaption(e.caption)):(i.clearPreview(),i.initCaption())},reset:function(){var e=this;e.resetPreview(),e.setEllipsis(),e.$container.find(".fileinput-filename").text(""),e.raise("filereset"),e.initialPreview.length>0&&e.$container.removeClass("file-input-new"),e.setFileDropZoneTitle(),e.filestack=[],e.formdata={}},disable:function(){var e=this;e.isDisabled=!0,e.raise("filedisabled"),e.$element.attr("disabled","disabled"),e.$container.find(".kv-fileinput-caption").addClass("file-caption-disabled"),e.$container.find(".btn-file, .fileinput-remove, .kv-fileinput-upload").attr("disabled",!0),e.initDragDrop()},enable:function(){var e=this;e.isDisabled=!1,e.raise("fileenabled"),e.$element.removeAttr("disabled"),e.$container.find(".kv-fileinput-caption").removeClass("file-caption-disabled"),e.$container.find(".btn-file, .fileinput-remove, .kv-fileinput-upload").removeAttr("disabled"),e.initDragDrop()},getThumbs:function(e){return e=e||"",this.$preview.find(".file-preview-frame:not(.file-preview-initial)"+e)},getExtraData:function(){var e=this,i=e.uploadExtraData;return"function"==typeof e.uploadExtraData&&(i=e.uploadExtraData()),i},uploadExtra:function(){var i=this,t=i.getExtraData();0!==t.length&&e.each(t,function(e,t){i.formdata.append(e,t)})},initXhr:function(e,i){var t=this;return e.upload&&e.upload.addEventListener("progress",function(e){var a=0,n=e.loaded||e.position,r=e.total;e.lengthComputable&&(a=Math.ceil(n/r*i)),t.uploadPercent=Math.max(a,t.uploadPercent),t.setProgress(t.uploadPercent)},!1),e},ajaxSubmit:function(i,t,a,n){var r,l=this;l.uploadExtra(),r=e.extend({xhr:function(){var i=e.ajaxSettings.xhr();return l.initXhr(i,98)},url:l.uploadUrl,type:"POST",dataType:"json",data:l.formdata,cache:!1,processData:!1,contentType:!1,beforeSend:i,success:t,complete:a,error:n},l.ajaxSettings),l.ajaxRequests.push(e.ajax(r))},initUploadSuccess:function(i,a,n){var r,l,o,s,d,c,p,u=this;"object"!=typeof i||e.isEmptyObject(i)||void 0!==i.initialPreview&&i.initialPreview.length>0&&(u.hasInitData=!0,d=i.initialPreview||[],c=i.initialPreviewConfig||[],p=i.initialPreviewThumbTags||[],r=void 0===i.append||i.append?!0:!1,u.overwriteInitial=!1,void 0===a||n?n?(u.uploadCache.content.push(d[0]),u.uploadCache.config.push(c[0]),u.uploadCache.tags.push(p[0]),u.uploadCache.append=r):(t.set(u.id,d,c,p,r),u.initPreview(),u.initPreviewDeletes()):(o=t.add(u.id,d,c[0],p[0],r),l=t.get(u.id,o,!1),s=e(l).hide(),a.after(s).fadeOut("slow",function(){s.fadeIn("slow").css("display:inline-block"),u.initPreviewDeletes(),u.clearFileInput(),a.remove()})))},initSuccessThumbs:function(){var i=this;i.getThumbs(".file-preview-success").each(function(){var t=e(this),a=t.find(".kv-file-remove");a.removeAttr("disabled").off("click").on("click",function(){var e=i.raise("filesuccessremove",[t.attr("id"),t.data("fileindex")]);i.cleanMemory(t),e!==!1&&t.fadeOut("slow",function(){t.remove(),i.$preview.find(".file-preview-frame").length||i.reset()})})})},uploadSingle:function(i,a,n){var r,l,s,d,c,p,u,f,v,h=this,m=h.getFileStack().length,g=new FormData,w=h.previewInitId+"-"+i,b=e("#"+w+":not(.file-preview-initial)"),x=b.find(".kv-file-upload"),C=b.find(".kv-file-remove"),y=h.filestack.length>0||!e.isEmptyObject(h.uploadExtraData),T={id:w,index:i};h.formdata=g,0===m||!y||x.hasClass("disabled")||h.abort(T)||(s=function(){var e=h.getThumbs(".file-uploading");e.length>0||h.fileBatchCompleted||(h.fileBatchCompleted=!0,setTimeout(function(){t.set(h.id,h.uploadCache.content,h.uploadCache.config,h.uploadCache.tags,h.uploadCache.append),h.hasInitData&&(h.initPreview(),h.initPreviewDeletes()),h.setProgress(100),h.unlock(),h.clearFileInput(),h.raise("filebatchuploadcomplete",[h.filestack,h.getExtraData()])},100))},d=function(){!n||0===m||h.uploadPercent>=100||(h.uploadCount+=1,l=80+Math.ceil(20*h.uploadCount/m),h.uploadPercent=Math.max(l,h.uploadPercent),h.setProgress(h.uploadPercent),h.initPreviewDeletes())},c=function(){x.removeAttr("disabled"),C.removeAttr("disabled"),b.removeClass("file-uploading")},p=function(t){r=h.getOutData(t),b.hasClass("file-preview-success")||(h.setThumbStatus(b,"Loading"),o(b,"file-uploading")),x.attr("disabled",!0),C.attr("disabled",!0),n||h.lock(),h.raise("filepreupload",[r,w,i]),T=e.extend(T,r),h.abort(T)&&(t.abort(),h.setProgress(100))},u=function(t,a,l){r=h.getOutData(l,t),T=e.extend(T,r),setTimeout(function(){R(t)||R(t.error)?(h.setThumbStatus(b,"Success"),x.hide(),h.filestack[i]=void 0,h.raise("fileuploaded",[r,w,i]),h.initUploadSuccess(t,b,n),n||h.resetFileStack()):(h.setThumbStatus(b,"Error"),h.showUploadError(t.error,T))},100)},f=function(){setTimeout(function(){d(),c(),n?s():h.unlock(!1),h.initSuccessThumbs()},100)},v=function(t,r,l){var o=h.parseError(t,l,n?a[i].name:null);h.setThumbStatus(b,"Error"),T=e.extend(T,h.getOutData(t)),h.showUploadError(o,T)},g.append(h.uploadFileAttr,a[i]),g.append("file_id",i),h.ajaxSubmit(p,u,f,v))},uploadBatch:function(){var i,t,a,n,r,l=this,s=l.filestack,d=s.length,c=l.filestack.length>0||!e.isEmptyObject(l.uploadExtraData),p={};l.formdata=new FormData,0!==d&&c&&!l.abort(p)&&(i=function(){e.each(s,function(e){l.filestack[e]=void 0}),l.clearFileInput()},t=function(i){l.lock();var t=l.getOutData(i);l.showPreview&&l.getThumbs().each(function(){var i=e(this),t=i.find(".kv-file-upload"),a=i.find(".kv-file-remove");i.hasClass("file-preview-success")||(l.setThumbStatus(i,"Loading"),o(i,"file-uploading")),t.attr("disabled",!0),a.attr("disabled",!0)}),l.raise("filebatchpreupload",[t]),l.abort(t)&&i.abort()},a=function(t,a,n){var r=l.getOutData(n,t),o=l.getThumbs(),s=R(t.errorkeys)?[]:t.errorkeys;R(t)||R(t.error)?(l.raise("filebatchuploadsuccess",[r]),i(),l.showPreview?(o.each(function(){var i=e(this),t=i.find(".kv-file-upload");i.find(".kv-file-upload").hide(),l.setThumbStatus(i,"Success"),i.removeClass("file-uploading"),t.removeAttr("disabled")}),l.initUploadSuccess(t)):l.reset()):(l.showPreview&&(o.each(function(){var i=e(this),t=i.find(".kv-file-remove"),a=i.find(".kv-file-upload");return i.removeClass("file-uploading"),a.removeAttr("disabled"),t.removeAttr("disabled"),0===s.length?void l.setThumbStatus(i,"Error"):void(-1!==e.inArray(key,s)?l.setThumbStatus(i,"Error"):(i.find(".kv-file-upload").hide(),l.setThumbStatus(i,"Success"),l.filestack[key]=void 0)); - +/*! + * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015 + * @version 4.2.3 + * + * File input styled for Bootstrap 3.0 that utilizes HTML5 File Input's advanced + * features including the FileReader API. + * + * The plugin drastically enhances the HTML file input to preview multiple files on the client before + * upload. In addition it provides the ability to preview content of images, text, videos, audio, html, + * flash and other objects. It also offers the ability to upload and delete files using AJAX, and add + * files in batches (i.e. preview, append, or remove before upload). + * + * Author: Kartik Visweswaran + * Copyright: 2015, Kartik Visweswaran, Krajee.com + * For more JQuery plugins visit http://plugins.krajee.com + * For more Yii related demos visit http://demos.krajee.com + */!function(e){"use strict";e.fn.fileinputLocales={},String.prototype.repl=function(e,i){return this.split(e).join(i)};var i=function(e){var i,t=document.createElement("div");return t.innerHTML="",i=1===t.getElementsByTagName("i").length,document.body.appendChild(t),t.parentNode.removeChild(t),i},t={data:{},init:function(e){var i=e.initialPreview,a=e.id;i.length>0&&!z(i)&&(i=i.split(e.initialPreviewDelimiter)),t.data[a]={content:i,config:e.initialPreviewConfig,tags:e.initialPreviewThumbTags,delimiter:e.initialPreviewDelimiter,template:e.previewGenericTemplate,msg:function(i){return e.getMsgSelected(i)},initId:e.previewInitId,footer:e.getLayoutTemplate("footer"),isDelete:e.initialPreviewShowDelete,caption:e.initialCaption,actions:function(i,t,a,n,r){return e.renderFileActions(i,t,a,n,r)}}},fetch:function(e){return t.data[e].content.filter(function(e){return null!==e})},count:function(e,i){return t.data[e]&&t.data[e].content?i?t.data[e].content.length:t.fetch(e).length:0},get:function(i,a,n){var r,l,o="init_"+a,s=t.data[i],d=s.config[a],c=s.initId+"-"+o,p=" file-preview-initial";return n=void 0===n?!0:n,null===s.content[a]?"":(R(d)||R(d.frameClass)||(p+=" "+d.frameClass),r=s.template.repl("{previewId}",c).repl("{frameClass}",p).repl("{fileindex}",o).repl("{content}",s.content[a]).repl("{footer}",t.footer(i,a,n)),s.tags.length&&s.tags[a]&&(r=H(r,s.tags[a])),R(d)||R(d.frameAttr)||(l=e(document.createElement("div")).html(r),l.find(".file-preview-initial").attr(d.frameAttr),r=l.html(),l.remove()),r)},add:function(i,a,n,r,l){var o,s=e.extend(!0,{},t.data[i]);return z(a)||(a=a.split(s.delimiter)),l?(o=s.content.push(a)-1,s.config[o]=n,s.tags[o]=r):(o=a.length,s.content=a,s.config=n,s.tags=r),t.data[i]=s,o},set:function(i,a,n,r,l){var o,s=e.extend(!0,{},t.data[i]);if(z(a)||(a=a.split(s.delimiter)),l){for(o=0;ol;l++)a+=t.get(e,l);return i=n.msg(t.count(e)),{content:a,caption:i}},footer:function(e,i,a){var n=t.data[e];if(a=void 0===a?!0:a,0===n.config.length||R(n.config[i]))return"";var r=n.config[i],l=M("caption",r)?r.caption:"",o=M("width",r)?r.width:"auto",s=M("url",r)?r.url:!1,d=M("key",r)?r.key:null,c=s===!1&&a,p=n.isDelete?n.actions(!1,!0,c,s,d):"",u=n.footer.repl("{actions}",p);return u.repl("{caption}",l).repl("{width}",o).repl("{indicator}","").repl("{indicatorTitle}","")}},a=function(e,i){return i=i||0,"number"==typeof e?e:("string"==typeof e&&(e=parseFloat(e)),isNaN(e)?i:e)},n=function(){return window.File&&window.FileReader},r=function(){var e=document.createElement("div");return!i(9)&&(void 0!==e.draggable||void 0!==e.ondragstart&&void 0!==e.ondrop)},l=function(){return n()&&window.FormData},o=function(e,i){e.removeClass(i).addClass(i)},s='style="width:{width};height:{height};"',d=' \n \n \n \n \n \n',c='
    \n {previewFileIcon}\n
    ',p={removeIcon:'',removeClass:"btn btn-xs btn-default",removeTitle:"Remove file",uploadIcon:'',uploadClass:"btn btn-xs btn-default",uploadTitle:"Upload file",indicatorNew:'',indicatorSuccess:'',indicatorError:'',indicatorLoading:'',indicatorNewTitle:"Not uploaded yet",indicatorSuccessTitle:"Uploaded",indicatorErrorTitle:"Upload Error",indicatorLoadingTitle:"Uploading ..."},u='{preview}\n
    \n
    \n {caption}\n
    \n {remove}\n {cancel}\n {upload}\n {browse}\n
    \n
    ',f='{preview}\n
    \n{remove}\n{cancel}\n{upload}\n{browse}\n',v='
    \n
    ×
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    ',h='',m='
    \n \n
    \n
    ',g='',w='
    \n
    \n {percent}%\n
    \n
    ',b='',x='
    \n \n
    {indicator}
    \n
    \n
    ',C='\n',y='\n',T='
    \n {content}\n {footer}\n
    \n',E='
    \n \n '+c+"\n \n {footer}\n
    ",k='
    \n {caption}\n {footer}\n
    \n",F='
    \n
    \n {data}\n
    \n {footer}\n
    ",$='
    \n \n {footer}\n
    \n",I='
    \n \n {footer}\n
    ",D='
    \n \n'+d+" "+c+"\n \n {footer}\n
    \n",P='
    \n \n \n'+d+" "+c+"\n \n {footer}\n
    ",S='
    \n "+c+"\n {footer}\n
    ",U={main1:u,main2:f,preview:v,icon:h,caption:m,modal:g,progress:w,footer:b,actions:x,actionDelete:C,actionUpload:y},j={generic:T,html:E,image:k,text:F,video:$,audio:I,flash:D,object:P,other:S},A=["image","html","text","video","audio","flash","object"],L={image:{width:"auto",height:"160px"},html:{width:"213px",height:"160px"},text:{width:"160px",height:"160px"},video:{width:"213px",height:"160px"},audio:{width:"213px",height:"80px"},flash:{width:"213px",height:"160px"},object:{width:"160px",height:"160px"},other:{width:"160px",height:"160px"}},O={image:function(e,i){return void 0!==e?e.match("image.*"):i.match(/\.(gif|png|jpe?g)$/i)},html:function(e,i){return void 0!==e?"text/html"===e:i.match(/\.(htm|html)$/i)},text:function(e,i){return void 0!==e&&e.match("text.*")||i.match(/\.(txt|md|csv|nfo|php|ini)$/i)},video:function(e,i){return void 0!==e&&e.match(/\.video\/(ogg|mp4|webm)$/i)||i.match(/\.(og?|mp4|webm)$/i)},audio:function(e,i){return void 0!==e&&e.match(/\.audio\/(ogg|mp3|wav)$/i)||i.match(/\.(ogg|mp3|wav)$/i)},flash:function(e,i){return void 0!==e&&"application/x-shockwave-flash"===e||i.match(/\.(swf)$/i)},object:function(){return!0},other:function(){return!0}},R=function(i,t){return null===i||void 0===i||0===i.length||t&&""===e.trim(i)},z=function(e){return Array.isArray(e)||"[object Array]"===Object.prototype.toString.call(e)},M=function(e,i){return"object"==typeof i&&e in i},N=function(i,t,a){return R(i)||R(i[t])?a:e(i[t])},B=function(){return Math.round((new Date).getTime()+100*Math.random())},Z=function(e){return String(e).repl("&","&").repl('"',""").repl("'","'").repl("<","<").repl(">",">")},H=function(i,t){var a=i;return t=t||{},e.each(t,function(e,i){"function"==typeof i&&(i=i()),a=a.repl(e,i)}),a},W=window.URL||window.webkitURL,_=function(t,a){var r=this;r.$element=e(t),r.validate()&&(r.isPreviewable=n(),r.isIE9=i(9),r.isIE10=i(10),r.isPreviewable||r.isIE9?(r.init(a),r.listen()):r.$element.removeClass("file-loading"))};_.prototype={constructor:_,validate:function(){var e,i=this;return"file"===i.$element.attr("type")?!0:(e='

    Invalid Input Type

    You must set an input type = file for bootstrap-fileinput plugin to initialize.
    ',i.$element.after(e),!1)},init:function(i){var n,s=this,d=s.$element;e.each(i,function(e,i){s[e]="maxFileCount"===e||"maxFileSize"===e?a(i):i}),s.fileInputCleared=!1,s.fileBatchCompleted=!0,R(s.allowedPreviewTypes)&&(s.allowedPreviewTypes=A),s.isPreviewable||(s.showPreview=!1),s.uploadFileAttr=R(d.attr("name"))?"file_data":d.attr("name"),s.reader=null,s.formdata={},s.filestack=[],s.ajaxRequests=[],s.isError=!1,s.ajaxAborted=!1,s.dropZoneEnabled=r()&&s.dropZoneEnabled,s.isDisabled=s.$element.attr("disabled")||s.$element.attr("readonly"),s.isUploadable=l()&&!R(s.uploadUrl),s.slug="function"==typeof i.slugCallback?i.slugCallback:s.slugDefault,s.mainTemplate=s.getLayoutTemplate(s.showCaption?"main1":"main2"),s.captionTemplate=s.getLayoutTemplate("caption"),s.previewGenericTemplate=s.getPreviewTemplate("generic"),R(s.$element.attr("id"))&&s.$element.attr("id",B()),void 0===s.$container?s.$container=s.createContainer():s.refreshContainer(),s.$progress=s.$container.find(".kv-upload-progress"),s.$btnUpload=s.$container.find(".kv-fileinput-upload"),s.$captionContainer=N(i,"elCaptionContainer",s.$container.find(".file-caption")),s.$caption=N(i,"elCaptionText",s.$container.find(".file-caption-name")),s.$previewContainer=N(i,"elPreviewContainer",s.$container.find(".file-preview")),s.$preview=N(i,"elPreviewImage",s.$container.find(".file-preview-thumbnails")),s.$previewStatus=N(i,"elPreviewStatus",s.$container.find(".file-preview-status")),s.$errorContainer=N(i,"elErrorContainer",s.$previewContainer.find(".kv-fileinput-error")),R(s.msgErrorClass)||o(s.$errorContainer,s.msgErrorClass),s.$errorContainer.hide(),s.fileActionSettings=e.extend(p,i.fileActionSettings),s.previewInitId="preview-"+B(),s.id=s.$element.attr("id"),t.init(s),s.initPreview(!0),s.initPreviewDeletes(),s.options=i,s.setFileDropZoneTitle(),s.uploadCount=0,s.uploadPercent=0,s.$element.removeClass("file-loading"),n=s.getLayoutTemplate("progress"),s.progressTemplate=n.replace("{class}",s.progressClass),s.progressCompleteTemplate=n.replace("{class}",s.progressCompleteClass),s.setEllipsis()},parseError:function(i,t,a){var n=this,r=e.trim(t+""),l="."===r.slice(-1)?"":".",o=void 0!==i.responseJSON&&void 0!==i.responseJSON.error?i.responseJSON.error:i.responseText;return n.showAjaxErrorDetails?(o=e.trim(o.replace(/\n\s*\n/g,"\n")),o=o.length>0?"
    "+o+"
    ":"",r+=l+o):r+=l,a?""+a+": "+i:r},raise:function(i,t){var a=this,n=e.Event(i);if(void 0!==t?a.$element.trigger(n,t):a.$element.trigger(n),!n.result)return n.result;switch(i){case"filebatchuploadcomplete":case"filebatchuploadsuccess":case"fileuploaded":case"fileclear":case"filecleared":case"filereset":case"fileerror":case"filefoldererror":case"fileuploaderror":case"filebatchuploaderror":case"filedeleteerror":case"filecustomerror":case"filesuccessremove":break;default:a.ajaxAborted=n.result}return!0},getLayoutTemplate:function(e){var i=this,t=M(e,i.layoutTemplates)?i.layoutTemplates[e]:U[e];return R(i.customLayoutTags)?t:H(t,i.customLayoutTags)},getPreviewTemplate:function(e){var i=this,t=M(e,i.previewTemplates)?i.previewTemplates[e]:j[e];return t=t.repl("{previewFileIcon}",i.previewFileIcon),R(i.customPreviewTags)?t:H(t,i.customPreviewTags)},getOutData:function(e,i,t){var a=this;return e=e||{},i=i||{},t=t||a.filestack.slice(0)||{},{form:a.formdata,files:t,extra:a.getExtraData(),response:i,reader:a.reader,jqXHR:e}},setEllipsis:function(){var e=this,i=e.$captionContainer,t=e.$caption,a=t.clone().css("height","auto").hide();i.parent().before(a),i.removeClass("kv-has-ellipsis"),a.outerWidth()>t.outerWidth()&&i.addClass("kv-has-ellipsis"),a.remove()},listen:function(){var i=this,t=i.$element,a=i.$captionContainer,n=i.$btnFile,r=t.closest("form");t.on("change",e.proxy(i.change,i)),e(window).on("resize",function(){i.setEllipsis()}),n.off("click").on("click",function(){i.raise("filebrowse"),i.isError&&!i.isUploadable&&i.clear(),a.focus()}),r.off("reset").on("reset",e.proxy(i.reset,i)),i.$container.off("click").on("click",".fileinput-remove:not([disabled])",e.proxy(i.clear,i)).on("click",".fileinput-cancel",e.proxy(i.cancel,i)),i.isUploadable&&i.dropZoneEnabled&&i.showPreview&&i.initDragDrop(),i.isUploadable||r.on("submit",e.proxy(i.submitForm,i)),i.$container.find(".kv-fileinput-upload").off("click").on("click",function(t){var a,n=e(this),r=!n.hasClass("disabled")&&R(n.attr("disabled"));return i.isUploadable?(t.preventDefault(),void(r&&i.upload())):void(r&&"submit"!==n.attr("type")&&(a=n.closest("form"),a.length&&a.trigger("submit"),t.preventDefault()))})},submitForm:function(){var e=this,i=e.$element,t=i.get(0).files;return t&&t.length0?(e.noFilesError({}),!1):!e.abort({})},abort:function(i){var t,a=this;return a.ajaxAborted&&"object"==typeof a.ajaxAborted&&void 0!==a.ajaxAborted.message?(t=e.extend(a.getOutData(),i),t.abortData=a.ajaxAborted.data||{},t.abortMessage=a.ajaxAborted.message,a.showUploadError(a.ajaxAborted.message,t,"filecustomerror"),!0):!1},noFilesError:function(e){var i=this,t=i.minFileCount>1?i.filePlural:i.fileSingle,a=i.msgFilesTooLess.replace("{n}",i.minFileCount).replace("{files}",t),n=i.$errorContainer;n.html(a),i.isError=!0,i.updateFileDetails(0),n.fadeIn(800),i.raise("fileerror",[e]),i.clearFileInput(),o(i.$container,"has-error")},setProgress:function(e){var i=this,t=Math.min(e,100),a=100>t?i.progressTemplate:i.progressCompleteTemplate;R(a)||i.$progress.html(a.repl("{percent}",t))},upload:function(){var i,t,a,n=this,r=n.getFileStack().length,l={},o=!e.isEmptyObject(n.getExtraData());if(r0)return void n.noFilesError(l);if(n.isUploadable&&!n.isDisabled&&(0!==r||o)){if(n.resetUpload(),n.$progress.removeClass("hide"),n.uploadCount=0,n.uploadPercent=0,n.lock(),n.setProgress(0),0===r&&o)return void n.uploadExtraOnly();if(a=n.filestack.length,n.hasInitData=!1,n.uploadAsync&&n.showPreview)for(t=n.getOutData(),n.raise("filebatchpreupload",[t]),n.fileBatchCompleted=!1,n.uploadCache={content:[],config:[],tags:[],append:!0},i=0;a>i;i+=1)void 0!==n.filestack[i]&&n.uploadSingle(i,n.filestack,!0);else n.uploadBatch()}},lock:function(){var e=this;e.resetErrors(),e.disable(),e.showRemove&&o(e.$container.find(".fileinput-remove"),"hide"),e.showCancel&&e.$container.find(".fileinput-cancel").removeClass("hide"),e.raise("filelock",[e.filestack,e.getExtraData()])},unlock:function(e){var i=this;void 0===e&&(e=!0),i.enable(),i.showCancel&&o(i.$container.find(".fileinput-cancel"),"hide"),i.showRemove&&i.$container.find(".fileinput-remove").removeClass("hide"),e&&i.resetFileStack(),i.raise("fileunlock",[i.filestack,i.getExtraData()])},resetFileStack:function(){var i=this,t=0,a=[];i.getThumbs().each(function(){var n=e(this),r=n.attr("data-fileindex"),l=i.filestack[r];-1!==r&&(void 0!==l?(a[t]=l,n.attr({id:i.previewInitId+"-"+t,"data-fileindex":t}),t+=1):n.attr({id:"uploaded-"+B(),"data-fileindex":"-1"}))}),i.filestack=a},refresh:function(i){var t,a=this,n=a.$element,r=arguments.length?e.extend(a.options,i):a.options;n.off(),a.init(r),t=a.$container.find(".file-drop-zone"),t.off("dragenter dragover dragleave drop"),e(document).off("dragenter dragover drop"),a.listen(),a.setFileDropZoneTitle()},initDragDrop:function(){var i=this,t=i.$container.find(".file-drop-zone");t.off("dragenter dragover dragleave drop"),e(document).off("dragenter dragover drop"),t.on("dragenter dragover",function(t){var a=e.inArray("Files",t.originalEvent.dataTransfer.types)>-1;return t.stopPropagation(),t.preventDefault(),i.isDisabled||!a?(t.originalEvent.dataTransfer.effectAllowed="none",void(t.originalEvent.dataTransfer.dropEffect="none")):void o(e(this),"highlighted")}),t.on("dragleave",function(t){t.stopPropagation(),t.preventDefault(),i.isDisabled||e(this).removeClass("highlighted")}),t.on("drop",function(t){t.preventDefault(),i.isDisabled||R(t.originalEvent.dataTransfer.files)||(i.change(t,"dragdrop"),e(this).removeClass("highlighted"))}),e(document).on("dragenter dragover drop",function(e){e.stopPropagation(),e.preventDefault()})},setFileDropZoneTitle:function(){var e=this,i=e.$container.find(".file-drop-zone");i.find("."+e.dropZoneTitleClass).remove(),e.isUploadable&&e.showPreview&&0!==i.length&&!(e.getFileStack().length>0)&&e.dropZoneEnabled&&(0===i.find(".file-preview-frame").length&&i.prepend('
    '+e.dropZoneTitle+"
    "),e.$container.removeClass("file-input-new"),o(e.$container,"file-input-ajax-new"))},initFileActions:function(){var i=this;i.$preview.find(".kv-file-remove").each(function(){var a,n,r=e(this),l=r.closest(".file-preview-frame"),o=l.attr("data-fileindex");r.off("click").on("click",function(){i.cleanMemory(l),l.fadeOut("slow",function(){i.filestack[o]=void 0,i.clearObjects(l),l.remove();var e=i.getFileStack(!0),r=e.length,s=t.count(i.id);i.clearFileInput(),0===r&&0===s?i.reset():(a=s+r,n=a>1?i.getMsgSelected(a):e[0]?e[0].name:"",i.setCaption(n))})})}),i.$preview.find(".kv-file-upload").each(function(){var t=e(this);t.off("click").on("click",function(){var e=t.closest(".file-preview-frame"),a=e.attr("data-fileindex");i.uploadSingle(a,i.filestack,!1)})})},getMsgSelected:function(e){var i=this,t=1===e?i.fileSingle:i.filePlural;return i.msgSelected.replace("{n}",e).replace("{files}",t)},renderFileFooter:function(e,i){var t,a,n=this,r=n.fileActionSettings,l=n.getLayoutTemplate("footer");return n.isUploadable?(t=l.repl("{actions}",n.renderFileActions(!0,!0,!1,!1,!1)),a=t.repl("{caption}",e).repl("{width}",i).repl("{indicator}",r.indicatorNew).repl("{indicatorTitle}",r.indicatorNewTitle)):a=l.repl("{actions}","").repl("{caption}",e).repl("{width}",i).repl("{indicator}","").repl("{indicatorTitle}",""),a=H(a,n.previewThumbTags)},renderFileActions:function(e,i,t,a,n){if(!e&&!i)return"";var r=this,l=a===!1?"":' data-url="'+a+'"',o=n===!1?"":' data-key="'+n+'"',s=r.getLayoutTemplate("actionDelete"),d="",c=r.getLayoutTemplate("actions"),p=r.otherActionButtons.repl("{dataKey}",o),u=r.fileActionSettings,f=t?u.removeClass+" disabled":u.removeClass;return s=s.repl("{removeClass}",f).repl("{removeIcon}",u.removeIcon).repl("{removeTitle}",u.removeTitle).repl("{dataUrl}",l).repl("{dataKey}",o),e&&(d=r.getLayoutTemplate("actionUpload").repl("{uploadClass}",u.uploadClass).repl("{uploadIcon}",u.uploadIcon).repl("{uploadTitle}",u.uploadTitle)),c.repl("{delete}",s).repl("{upload}",d).repl("{other}",p)},setThumbStatus:function(e,i){var t=this,a="indicator"+i,n=a+"Title",r="file-preview-"+i.toLowerCase(),l=e.find(".file-upload-indicator"),o=t.fileActionSettings;e.removeClass("file-preview-success file-preview-error file-preview-loading"),l.html(o[a]),l.attr("title",o[n]),e.addClass(r)},clearPreview:function(){var e=this,i=e.$preview.find(e.showUploadedThumbs?".file-preview-frame:not(.file-preview-success)":".file-preview-frame");i.remove(),e.$preview.find(".file-preview-frame").length&&e.showPreview||e.resetUpload()},initPreview:function(e){var i,a=this,n=a.initialCaption||"";return t.count(a.id)?(i=t.out(a.id),n=e&&a.initialCaption?a.initialCaption:i.caption,a.$preview.html(i.content),a.setCaption(n),void(R(i.content)||a.$container.removeClass("file-input-new"))):(a.clearPreview(),void(e?a.setCaption(n):a.initCaption()))},initPreviewDeletes:function(){var i=this,a=i.deleteExtraData||{},n=function(){0===i.$preview.find(".kv-file-remove").length&&(i.reset(),i.initialCaption="")};i.$preview.find(".kv-file-remove").each(function(){var r=e(this),l=r.data("url")||i.deleteUrl,s=r.data("key");if(!R(l)&&void 0!==s){var d,c,p,u,f=r.closest(".file-preview-frame"),v=t.data[i.id],h=f.data("fileindex");h=parseInt(h.replace("init_","")),p=R(v.config)&&R(v.config[h])?null:v.config[h],u=R(p)||R(p.extra)?a:p.extra,"function"==typeof u&&(u=u()),c={id:r.attr("id"),key:s,extra:u},d=e.extend({url:l,type:"DELETE",dataType:"json",data:e.extend({key:s},u),beforeSend:function(e){i.ajaxAborted=!1,i.raise("filepredelete",[s,e,u]),i.ajaxAborted?e.abort():(o(f,"file-uploading"),o(r,"disabled"))},success:function(e,a,l){var o,d;return R(e)||R(e.error)?(t.unset(i.id,h),o=t.count(i.id),d=o>0?i.getMsgSelected(o):"",i.raise("filedeleted",[s,l,u]),i.setCaption(d),f.removeClass("file-uploading").addClass("file-deleted"),void f.fadeOut("slow",function(){i.clearObjects(f),f.remove(),n(),o||0!==i.getFileStack().length||(i.setCaption(""),i.reset())})):(c.jqXHR=l,c.response=e,i.showError(e.error,c,"filedeleteerror"),f.removeClass("file-uploading"),r.removeClass("disabled"),void n())},error:function(e,t,a){var r=i.parseError(e,a);c.jqXHR=e,c.response={},i.showError(r,c,"filedeleteerror"),f.removeClass("file-uploading"),n()}},i.ajaxDeleteSettings),r.off("click").on("click",function(){e.ajax(d)})}})},clearObjects:function(i){i.find("video audio").each(function(){this.pause(),e(this).remove()}),i.find("img object div").each(function(){e(this).remove()})},clearFileInput:function(){var i,t,a,n=this,r=n.$element;R(r.val())||(n.isIE9||n.isIE10?(i=r.closest("form"),t=e(document.createElement("form")),a=e(document.createElement("div")),r.before(a),i.length?i.after(t):a.after(t),t.append(r).trigger("reset"),a.before(r).remove(),t.remove()):r.val(""),n.fileInputCleared=!0)},resetUpload:function(){var e=this;e.uploadCache={content:[],config:[],tags:[],append:!0},e.uploadCount=0,e.uploadPercent=0,e.$btnUpload.removeAttr("disabled"),e.setProgress(0),o(e.$progress,"hide"),e.resetErrors(!1),e.ajaxAborted=!1,e.ajaxRequests=[]},cancel:function(){var i,t=this,a=t.ajaxRequests,n=a.length;if(n>0)for(i=0;n>i;i+=1)a[i].abort();t.getThumbs().each(function(){var i=e(this),a=i.attr("data-fileindex");i.removeClass("file-uploading"),void 0!==t.filestack[a]&&(i.find(".kv-file-upload").removeClass("disabled").removeAttr("disabled"),i.find(".kv-file-remove").removeClass("disabled").removeAttr("disabled")),t.unlock()})},cleanMemory:function(e){var i=e.is("img")?e.attr("src"):e.find("source").attr("src");W.revokeObjectURL(i)},hasInitialPreview:function(){var e=this;return!e.overwriteInitial&&t.count(e.id)},clear:function(){var i,t=this;t.$btnUpload.removeAttr("disabled"),t.getThumbs().find("video,audio,img").each(function(){t.cleanMemory(e(this))}),t.resetUpload(),t.filestack=[],t.clearFileInput(),t.resetErrors(!0),t.raise("fileclear"),t.hasInitialPreview()?(t.showFileIcon(),t.resetPreview(),t.setEllipsis(),t.initPreviewDeletes(),t.$container.removeClass("file-input-new")):(t.getThumbs().each(function(){t.clearObjects(e(this))}),t.$preview.html(""),i=!t.overwriteInitial&&t.initialCaption.length>0?t.initialCaption:"",t.setCaption(i),t.setEllipsis(),t.$caption.attr("title",""),o(t.$container,"file-input-new")),0===t.$container.find(".file-preview-frame").length&&(t.initCaption()||t.$captionContainer.find(".kv-caption-icon").hide(),t.setEllipsis()),t.hideFileIcon(),t.raise("filecleared"),t.$captionContainer.focus(),t.setFileDropZoneTitle()},resetPreview:function(){var e,i=this;t.count(i.id)?(e=t.out(i.id),i.$preview.html(e.content),i.setCaption(e.caption)):(i.clearPreview(),i.initCaption())},reset:function(){var e=this;e.resetPreview(),e.setEllipsis(),e.$container.find(".fileinput-filename").text(""),e.raise("filereset"),e.initialPreview.length>0&&e.$container.removeClass("file-input-new"),e.setFileDropZoneTitle(),e.filestack=[],e.formdata={}},disable:function(){var e=this;e.isDisabled=!0,e.raise("filedisabled"),e.$element.attr("disabled","disabled"),e.$container.find(".kv-fileinput-caption").addClass("file-caption-disabled"),e.$container.find(".btn-file, .fileinput-remove, .kv-fileinput-upload").attr("disabled",!0),e.initDragDrop()},enable:function(){var e=this;e.isDisabled=!1,e.raise("fileenabled"),e.$element.removeAttr("disabled"),e.$container.find(".kv-fileinput-caption").removeClass("file-caption-disabled"),e.$container.find(".btn-file, .fileinput-remove, .kv-fileinput-upload").removeAttr("disabled"),e.initDragDrop()},getThumbs:function(e){return e=e||"",this.$preview.find(".file-preview-frame:not(.file-preview-initial)"+e)},getExtraData:function(){var e=this,i=e.uploadExtraData;return"function"==typeof e.uploadExtraData&&(i=e.uploadExtraData()),i},uploadExtra:function(){var i=this,t=i.getExtraData();0!==t.length&&e.each(t,function(e,t){i.formdata.append(e,t)})},initXhr:function(e,i){var t=this;return e.upload&&e.upload.addEventListener("progress",function(e){var a=0,n=e.loaded||e.position,r=e.total;e.lengthComputable&&(a=Math.ceil(n/r*i)),t.uploadPercent=Math.max(a,t.uploadPercent),t.setProgress(t.uploadPercent)},!1),e},ajaxSubmit:function(i,t,a,n){var r,l=this;l.uploadExtra(),r=e.extend({xhr:function(){var i=e.ajaxSettings.xhr();return l.initXhr(i,98)},url:l.uploadUrl,type:"POST",dataType:"json",data:l.formdata,cache:!1,processData:!1,contentType:!1,beforeSend:i,success:t,complete:a,error:n},l.ajaxSettings),l.ajaxRequests.push(e.ajax(r))},initUploadSuccess:function(i,a,n){var r,l,o,s,d,c,p,u=this;"object"!=typeof i||e.isEmptyObject(i)||void 0!==i.initialPreview&&i.initialPreview.length>0&&(u.hasInitData=!0,d=i.initialPreview||[],c=i.initialPreviewConfig||[],p=i.initialPreviewThumbTags||[],r=void 0===i.append||i.append?!0:!1,u.overwriteInitial=!1,void 0===a||n?n?(u.uploadCache.content.push(d[0]),u.uploadCache.config.push(c[0]),u.uploadCache.tags.push(p[0]),u.uploadCache.append=r):(t.set(u.id,d,c,p,r),u.initPreview(),u.initPreviewDeletes()):(o=t.add(u.id,d,c[0],p[0],r),l=t.get(u.id,o,!1),s=e(l).hide(),a.after(s).fadeOut("slow",function(){s.fadeIn("slow").css("display:inline-block"),u.initPreviewDeletes(),u.clearFileInput(),a.remove()})))},initSuccessThumbs:function(){var i=this;i.getThumbs(".file-preview-success").each(function(){var t=e(this),a=t.find(".kv-file-remove");a.removeAttr("disabled").off("click").on("click",function(){var e=i.raise("filesuccessremove",[t.attr("id"),t.data("fileindex")]);i.cleanMemory(t),e!==!1&&t.fadeOut("slow",function(){t.remove(),i.$preview.find(".file-preview-frame").length||i.reset()})})})},uploadSingle:function(i,a,n){var r,l,s,d,c,p,u,f,v,h=this,m=h.getFileStack().length,g=new FormData,w=h.previewInitId+"-"+i,b=e("#"+w+":not(.file-preview-initial)"),x=b.find(".kv-file-upload"),C=b.find(".kv-file-remove"),y=h.filestack.length>0||!e.isEmptyObject(h.uploadExtraData),T={id:w,index:i};h.formdata=g,0===m||!y||x.hasClass("disabled")||h.abort(T)||(s=function(){var e=h.getThumbs(".file-uploading");e.length>0||h.fileBatchCompleted||(h.fileBatchCompleted=!0,setTimeout(function(){t.set(h.id,h.uploadCache.content,h.uploadCache.config,h.uploadCache.tags,h.uploadCache.append),h.hasInitData&&(h.initPreview(),h.initPreviewDeletes()),h.setProgress(100),h.unlock(),h.clearFileInput(),h.raise("filebatchuploadcomplete",[h.filestack,h.getExtraData()])},100))},d=function(){!n||0===m||h.uploadPercent>=100||(h.uploadCount+=1,l=80+Math.ceil(20*h.uploadCount/m),h.uploadPercent=Math.max(l,h.uploadPercent),h.setProgress(h.uploadPercent),h.initPreviewDeletes())},c=function(){x.removeAttr("disabled"),C.removeAttr("disabled"),b.removeClass("file-uploading")},p=function(t){r=h.getOutData(t),b.hasClass("file-preview-success")||(h.setThumbStatus(b,"Loading"),o(b,"file-uploading")),x.attr("disabled",!0),C.attr("disabled",!0),n||h.lock(),h.raise("filepreupload",[r,w,i]),T=e.extend(T,r),h.abort(T)&&(t.abort(),h.setProgress(100))},u=function(t,a,l){r=h.getOutData(l,t),T=e.extend(T,r),setTimeout(function(){R(t)||R(t.error)?(h.setThumbStatus(b,"Success"),x.hide(),h.filestack[i]=void 0,h.raise("fileuploaded",[r,w,i]),h.initUploadSuccess(t,b,n),n||h.resetFileStack()):(h.setThumbStatus(b,"Error"),h.showUploadError(t.error,T))},100)},f=function(){setTimeout(function(){d(),c(),n?s():h.unlock(!1),h.initSuccessThumbs()},100)},v=function(t,r,l){var o=h.parseError(t,l,n?a[i].name:null);h.setThumbStatus(b,"Error"),T=e.extend(T,h.getOutData(t)),h.showUploadError(o,T)},g.append(h.uploadFileAttr,a[i]),g.append("file_id",i),h.ajaxSubmit(p,u,f,v))},uploadBatch:function(){var i,t,a,n,r,l=this,s=l.filestack,d=s.length,c=l.filestack.length>0||!e.isEmptyObject(l.uploadExtraData),p={};l.formdata=new FormData,0!==d&&c&&!l.abort(p)&&(i=function(){e.each(s,function(e){l.filestack[e]=void 0}),l.clearFileInput()},t=function(i){l.lock();var t=l.getOutData(i);l.showPreview&&l.getThumbs().each(function(){var i=e(this),t=i.find(".kv-file-upload"),a=i.find(".kv-file-remove");i.hasClass("file-preview-success")||(l.setThumbStatus(i,"Loading"),o(i,"file-uploading")),t.attr("disabled",!0),a.attr("disabled",!0)}),l.raise("filebatchpreupload",[t]),l.abort(t)&&i.abort()},a=function(t,a,n){var r=l.getOutData(n,t),o=l.getThumbs(),s=R(t.errorkeys)?[]:t.errorkeys;R(t)||R(t.error)?(l.raise("filebatchuploadsuccess",[r]),i(),l.showPreview?(o.each(function(){var i=e(this),t=i.find(".kv-file-upload");i.find(".kv-file-upload").hide(),l.setThumbStatus(i,"Success"),i.removeClass("file-uploading"),t.removeAttr("disabled")}),l.initUploadSuccess(t)):l.reset()):(l.showPreview&&(o.each(function(){var i=e(this),t=i.find(".kv-file-remove"),a=i.find(".kv-file-upload");return i.removeClass("file-uploading"),a.removeAttr("disabled"),t.removeAttr("disabled"),0===s.length?void l.setThumbStatus(i,"Error"):void(-1!==e.inArray(key,s)?l.setThumbStatus(i,"Error"):(i.find(".kv-file-upload").hide(),l.setThumbStatus(i,"Success"),l.filestack[key]=void 0)); + }),l.initUploadSuccess(t)),l.showUploadError(t.error,r,"filebatchuploaderror"))},n=function(){l.setProgress(100),l.unlock(),l.initSuccessThumbs(),l.raise("filebatchuploadcomplete",[l.filestack,l.getExtraData()]),l.clearFileInput()},r=function(i,t,a){var n=l.getOutData(i),r=l.parseError(i,a);l.showUploadError(r,n,"filebatchuploaderror"),l.uploadFileCount=d-1,l.showPreview&&(l.getThumbs().each(function(){var i=e(this),t=i.attr("data-fileindex");i.removeClass("file-uploading"),void 0!==l.filestack[t]&&l.setThumbStatus(i,"Error")}),l.getThumbs().removeClass("file-uploading"),l.getThumbs(" .kv-file-upload").removeAttr("disabled"),l.getThumbs(" .kv-file-delete").removeAttr("disabled"))},e.each(s,function(e,i){R(s[e])||l.formdata.append(l.uploadFileAttr,i)}),l.ajaxSubmit(t,a,n,r))},uploadExtraOnly:function(){var e,i,t,a,n=this,r={};n.formdata=new FormData,n.abort(r)||(e=function(e){n.lock();var i=n.getOutData(e);n.raise("filebatchpreupload",[i]),n.setProgress(50),r.data=i,r.xhr=e,n.abort(r)&&(e.abort(),n.setProgress(100))},i=function(e,i,t){var a=n.getOutData(t,e);R(e)||R(e.error)?(n.raise("filebatchuploadsuccess",[a]),n.clearFileInput(),n.initUploadSuccess(e)):n.showUploadError(e.error,a,"filebatchuploaderror")},t=function(){n.setProgress(100),n.unlock(),n.raise("filebatchuploadcomplete",[n.filestack,n.getExtraData()]),n.clearFileInput()},a=function(e,i,t){var a=n.getOutData(e),l=n.parseError(e,t);r.data=a,n.showUploadError(l,a,"filebatchuploaderror")},n.ajaxSubmit(e,i,t,a))},hideFileIcon:function(){this.overwriteInitial&&this.$captionContainer.find(".kv-caption-icon").hide()},showFileIcon:function(){this.$captionContainer.find(".kv-caption-icon").show()},resetErrors:function(e){var i=this,t=i.$errorContainer;i.isError=!1,i.$container.removeClass("has-error"),t.html(""),e?t.fadeOut("slow"):t.hide()},showFolderError:function(e){var i=this,t=i.$errorContainer;e&&(t.html(i.msgFoldersNotAllowed.repl("{n}",e)),t.fadeIn(800),o(i.$container,"has-error"),i.raise("filefoldererror",[e]))},showUploadError:function(e,i,t){var a=this,n=a.$errorContainer,r=t||"fileuploaderror";return 0===n.find("ul").length?n.html("
    • "+e+"
    "):n.find("ul").append("
  • "+e+"
  • "),n.fadeIn(800),a.raise(r,[i]),o(a.$container,"has-error"),!0},showError:function(e,i,t){var a=this,n=a.$errorContainer,r=t||"fileerror";return i=i||{},i.reader=a.reader,n.html(e),n.fadeIn(800),a.raise(r,[i]),a.isUploadable||a.clearFileInput(),o(a.$container,"has-error"),a.$btnUpload.attr("disabled",!0),!0},errorHandler:function(e,i){var t=this,a=e.target.error;switch(a.code){case a.NOT_FOUND_ERR:t.showError(t.msgFileNotFound.replace("{name}",i));break;case a.SECURITY_ERR:t.showError(t.msgFileSecured.replace("{name}",i));break;case a.NOT_READABLE_ERR:t.showError(t.msgFileNotReadable.replace("{name}",i));break;case a.ABORT_ERR:t.showError(t.msgFilePreviewAborted.replace("{name}",i));break;default:t.showError(t.msgFilePreviewError.replace("{name}",i))}},parseFileType:function(e){var i,t,a,n,r=this;for(n=0;n=0,b=R(f)||!R(f)&&-1!==f.indexOf(i.type),x=d.renderFileFooter(p,h.width),C="",y=a.slice(a.lastIndexOf("-")+1);w&&b?("text"===c?(l=Z(t.target.result),l.length>m&&(o="text-"+B(),s=.75*window.innerHeight,C=d.getLayoutTemplate("modal").repl("{id}",o).repl("{title}",p).repl("{height}",s).repl("{body}",l),g=g.repl("{title}",p).repl("{dialog}","$('#"+o+"').modal('show')"),l=l.substring(0,m-1)+g),r=v.repl("{previewId}",a).repl("{caption}",p).repl("{frameClass}","").repl("{type}",i.type).repl("{width}",h.width).repl("{height}",h.height).repl("{data}",l).repl("{footer}",x).repl("{fileindex}",y)+C):r=v.repl("{previewId}",a).repl("{caption}",p).repl("{frameClass}","").repl("{type}",i.type).repl("{data}",n).repl("{width}",h.width).repl("{height}",h.height).repl("{footer}",x).repl("{fileindex}",y),d.$preview.append("\n"+r),d.validateImage(e,a)):d.previewDefault(i,a)}},slugDefault:function(e){return R(e)?"":e.split(/(\\|\/)/g).pop().replace(/[^\w\u00C0-\u017F\-.\\\/ ]+/g,"")},getFileStack:function(e){var i=this;return i.filestack.filter(function(i){return e?void 0!==i:void 0!==i&&null!==i})},readFiles:function(i){function t(e){if(R(n.attr("multiple"))&&(u=1),e>=u)return a.isUploadable&&a.filestack.length>0?a.raise("filebatchselected",[a.getFileStack()]):a.raise("filebatchselected",[i]),o.removeClass("loading"),void s.html("");var m,g,w,b,x,C,y=v+e,T=p+"-"+y,E=i[e],k=a.slug(E.name),F=(E.size||0)/1e3,$="",I=W.createObjectURL(E),D=0,P=a.allowedFileTypes,S=R(P)?"":P.join(", "),U=a.allowedFileExtensions,j=R(U)?"":U.join(", ");if(R(U)||($=new RegExp("\\.("+U.join("|")+")$","i")),F=F.toFixed(2),a.maxFileSize>0&&F>a.maxFileSize)return b=a.msgSizeTooLarge.replace("{name}",k).replace("{size}",F).replace("{maxSize}",a.maxFileSize),void(a.isError=h(b,E,T,e));if(!R(P)&&z(P)){for(w=0;w0&&void 0!==FileReader?(s.html(d.replace("{index}",e+1).replace("{files}",u)),o.addClass("loading"),l.onerror=function(e){a.errorHandler(e,k)},l.onload=function(i){a.previewFile(e,E,i,T,I),a.initFileActions()},l.onloadend=function(){b=c.replace("{index}",e+1).replace("{files}",u).replace("{percent}",50).replace("{name}",k),setTimeout(function(){s.html(b),t(e+1),a.updateFileDetails(u)},100),a.raise("fileloaded",[E,T,e,l])},l.onprogress=function(i){if(i.lengthComputable){var t=i.loaded/i.total*100,a=Math.ceil(t);b=c.replace("{index}",e+1).replace("{files}",u).replace("{percent}",a).replace("{name}",k),setTimeout(function(){s.html(b)},100)}},m=M("text",f)?f.text:O.text,m(E.type,k)?l.readAsText(E,a.textEncoding):l.readAsArrayBuffer(E)):(a.previewDefault(E,T),setTimeout(function(){t(e+1),a.updateFileDetails(u)},100),a.raise("fileloaded",[E,T,e,l])),void a.filestack.push(E)):(a.filestack.push(E),setTimeout(t(e+1),100),void a.raise("fileloaded",[E,T,e,l])):(b=a.msgInvalidFileExtension.replace("{name}",k).replace("{extensions}",j),void(a.isError=h(b,E,T,e)))}this.reader=new FileReader;var a=this,n=a.$element,r=a.$preview,l=a.reader,o=a.$previewContainer,s=a.$previewStatus,d=a.msgLoading,c=a.msgProgress,p=a.previewInitId,u=i.length,f=a.fileTypeSettings,v=a.filestack.length,h=function(t,n,r,l){var o=e.extend(a.getOutData({},{},i),{id:r,index:l}),s={id:r,index:l,file:n,files:i};return a.previewDefault(n,r,!0),a.isUploadable?a.showUploadError(t,o):a.showError(t,s)};t(0),a.updateFileDetails(u,!1)},updateFileDetails:function(e){var i=this,a=i.$element,n=i.getFileStack(),r=a.val()||n.length&&n[0].name||"",l=i.slug(r),o=i.isUploadable?n.length:e,s=t.count(i.id)+o,d=o>1?i.getMsgSelected(s):l;i.isError?(i.$previewContainer.removeClass("loading"),i.$previewStatus.html(""),i.$captionContainer.find(".kv-caption-icon").hide()):i.showFileIcon(),i.setCaption(d,i.isError),i.$container.removeClass("file-input-new file-input-ajax-new"),1===arguments.length&&i.raise("fileselect",[e,l]),t.count(i.id)&&i.initPreviewDeletes()},change:function(i){var a=this,n=a.$element;if(!a.isUploadable&&R(n.val())&&a.fileInputCleared)return void(a.fileInputCleared=!1);a.fileInputCleared=!1;var r,l,o,s,d=a.$preview,c=arguments.length>1,p=c?i.originalEvent.dataTransfer.files:n.get(0).files,u=R(n.attr("multiple")),f=0,v=0,h=a.filestack.length,m=a.isUploadable,g=function(i,t,n,r){var l=e.extend(a.getOutData({},{},p),{id:n,index:r}),o={id:n,index:r,file:t,files:p};return a.isUploadable?a.showUploadError(i,l):a.showError(i,o)};if(a.reader=null,a.resetUpload(),a.hideFileIcon(),a.isUploadable&&a.$container.find(".file-drop-zone ."+a.dropZoneTitleClass).remove(),c)for(r=[];p[f];)s=p[f],s.type||s.size%4096!==0?r.push(s):v++,f++;else r=void 0===i.target.files?i.target&&i.target.value?[{name:i.target.value.replace(/^.+\\/,"")}]:[]:i.target.files;if(R(r)||0===r.length)return m||a.clear(),a.showFolderError(v),void a.raise("fileselectnone");if(a.resetErrors(),o=a.isUploadable?a.getFileStack().length+r.length:r.length,a.maxFileCount>0&&o>a.maxFileCount)return l=a.msgFilesTooMany.replace("{m}",a.maxFileCount).replace("{n}",o),a.isError=g(l,null,null,null),a.$captionContainer.find(".kv-caption-icon").hide(),a.setCaption("",!0),a.setEllipsis(),void a.$container.removeClass("file-input-new file-input-ajax-new");if(!m||u&&h>0){if(a.hasInitialPreview()){var w=t.out(a.id);d.html(w.content),a.setCaption(w.caption),a.initPreviewDeletes()}else a.clearPreview();u&&h>0&&(a.filestack=[])}else!m||0!==h||t.count(a.id)&&!a.overwriteInitial||(a.clearPreview(),a.filestack=[]);a.isPreviewable?a.readFiles(r):a.updateFileDetails(1),a.showFolderError(v)},validateImage:function(e,i){var t,a,n,r,l=this,o=l.$preview,s=o.find("#"+i),d="Untitled",c=s.find("img");c.length&&c.on("load",function(){a=s.width(),n=o.width(),a>n&&(c.css("width","100%"),s.css("width","97%")),r=c.closest(".file-preview-frame").find(".file-caption-name"),r.length&&(r.width(c.width()),d=r.text(),r.attr("title",d)),t={ind:e,id:i},l.checkDimensions(e,"Small",c,s,d,"Width",t),l.checkDimensions(e,"Small",c,s,d,"Height",t),l.checkDimensions(e,"Large",c,s,d,"Width",t),l.checkDimensions(e,"Large",c,s,d,"Height",t),l.raise("fileimageloaded",[i]),W.revokeObjectURL(c.attr("src"))})},checkDimensions:function(e,i,t,a,n,r,l){var o,s,d,c,p=this,u="Small"===i?"min":"max",f=p[u+"Image"+r];!R(f)&&t.length&&(d=t[0],s="Width"===r?d.naturalWidth||d.width:d.naturalHeight||d.height,c="Small"===i?s>=f:f>=s,c||(o=p["msgImage"+r+i].replace("{name}",n).replace("{size}",f),p.showUploadError(o,l),p.setThumbStatus(a,"Error"),p.filestack[e]=null))},initCaption:function(){var e=this,i=e.initialCaption||"";return e.overwriteInitial||R(i)?(e.$caption.html(""),!1):(e.setCaption(i),!0)},setCaption:function(i,t){var a,n,r=this;if(t)a=e("
    "+r.msgValidationError+"
    ").text(),n=''+r.msgValidationErrorIcon+a+"";else{if(R(i)||0===r.$caption.length)return;a=e("
    "+i+"
    ").text(),n=r.getLayoutTemplate("icon")+a}r.$caption.html(n),r.$caption.attr("title",a),r.$captionContainer.find(".file-caption-ellipsis").attr("title",a),r.setEllipsis()},initBrowse:function(e){var i=this;i.$btnFile=e.find(".btn-file"),i.$btnFile.append(i.$element)},createContainer:function(){var i=this,t=e(document.createElement("span")).attr({"class":"file-input file-input-new"}).html(i.renderMain());return i.$element.before(t),i.initBrowse(t),t},refreshContainer:function(){var e=this,i=e.$container;i.before(e.$element),i.html(e.renderMain()),e.initBrowse(i)},renderMain:function(){var e=this,i=e.isUploadable&&e.dropZoneEnabled?" file-drop-zone":"",t=e.showPreview?e.getLayoutTemplate("preview").repl("{class}",e.previewClass).repl("{dropClass}",i):"",a=e.isDisabled?e.captionClass+" file-caption-disabled":e.captionClass,n=e.captionTemplate.repl("{class}",a+" kv-fileinput-caption");return e.mainTemplate.repl("{class}",e.mainClass).repl("{preview}",t).repl("{caption}",n).repl("{upload}",e.renderUpload()).repl("{remove}",e.renderRemove()).repl("{cancel}",e.renderCancel()).repl("{browse}",e.renderBrowse())},renderBrowse:function(){var e=this,i=e.browseClass+" btn-file",t="";return e.isDisabled&&(t=" disabled "),'
    "+e.browseIcon+e.browseLabel+"
    "},renderRemove:function(){var e=this,i=e.removeClass+" fileinput-remove fileinput-remove-button",t="";return e.showRemove?(e.isDisabled&&(t=" disabled "),'"):""},renderCancel:function(){var e=this,i=e.cancelClass+" fileinput-cancel fileinput-cancel-button";return e.showCancel?'":""},renderUpload:function(){var e=this,i=e.uploadClass+" kv-fileinput-upload fileinput-upload-button",t="",a="";return e.showUpload?(e.isDisabled&&(a=" disabled "),t=!e.isUploadable||e.isDisabled?'":'"+e.uploadIcon+e.uploadLabel+""):""}},e.fn.fileinput=function(t){if(n()||i(9)){var a=Array.apply(null,arguments);return a.shift(),this.each(function(){var i,n=e(this),r=n.data("fileinput"),l="object"==typeof t&&t,o=l.language||n.data("language")||"en";r||(i=e.extend({},e.fn.fileinput.defaults),"en"===o||R(e.fn.fileinputLocales[o])||(i=e.extend(i,e.fn.fileinputLocales[o])),r=new _(this,e.extend(i,l,n.data())),n.data("fileinput",r)),"string"==typeof t&&r[t].apply(r,a)})}},e.fn.fileinput.defaults={language:"en",showCaption:!0,showPreview:!0,showRemove:!0,showUpload:!0,showCancel:!0,showUploadedThumbs:!0,mainClass:"",previewClass:"",captionClass:"",mainTemplate:null,initialCaption:"",initialPreview:[],initialPreviewDelimiter:"*$$*",initialPreviewConfig:[],initialPreviewThumbTags:[],previewThumbTags:{},initialPreviewShowDelete:!0,deleteUrl:"",deleteExtraData:{},overwriteInitial:!0,layoutTemplates:U,previewTemplates:j,allowedPreviewTypes:A,allowedPreviewMimeTypes:null,allowedFileTypes:null,allowedFileExtensions:null,customLayoutTags:{},customPreviewTags:{},previewSettings:L,fileTypeSettings:O,previewFileIcon:'',browseIcon:'  ',browseClass:"btn btn-primary",removeIcon:' ',removeClass:"btn btn-default",cancelIcon:' ',cancelClass:"btn btn-default",uploadIcon:' ',uploadClass:"btn btn-default",uploadUrl:null,uploadAsync:!0,uploadExtraData:{},minImageWidth:null,minImageHeight:null,maxImageWidth:null,maxImageHeight:null,maxFileSize:0,minFileCount:0,maxFileCount:0,msgValidationErrorClass:"text-danger",msgValidationErrorIcon:' ',msgErrorClass:"file-error-message",progressClass:"progress-bar progress-bar-success progress-bar-striped active",progressCompleteClass:"progress-bar progress-bar-success",previewFileType:"image",wrapTextLength:250,wrapIndicator:' […]',elCaptionContainer:null,elCaptionText:null,elPreviewContainer:null,elPreviewImage:null,elPreviewStatus:null,elErrorContainer:null,slugCallback:null,dropZoneEnabled:!0,dropZoneTitleClass:"file-drop-zone-title",fileActionSettings:{},otherActionButtons:"",textEncoding:"UTF-8",ajaxSettings:{},ajaxDeleteSettings:{},showAjaxErrorDetails:!0},e.fn.fileinputLocales.en={fileSingle:"file",filePlural:"files",browseLabel:"Browse …",removeLabel:"Remove",removeTitle:"Clear selected files",cancelLabel:"Cancel",cancelTitle:"Abort ongoing upload",uploadLabel:"Upload",uploadTitle:"Upload selected files",msgSizeTooLarge:'File "{name}" ({size} KB) exceeds maximum allowed upload size of {maxSize} KB. Please retry your upload!',msgFilesTooLess:"You must select at least {n} {files} to upload. Please retry your upload!",msgFilesTooMany:"Number of files selected for upload ({n}) exceeds maximum allowed limit of {m}. Please retry your upload!",msgFileNotFound:'File "{name}" not found!',msgFileSecured:'Security restrictions prevent reading the file "{name}".',msgFileNotReadable:'File "{name}" is not readable.',msgFilePreviewAborted:'File preview aborted for "{name}".',msgFilePreviewError:'An error occurred while reading the file "{name}".',msgInvalidFileType:'Invalid type for file "{name}". Only "{types}" files are supported.',msgInvalidFileExtension:'Invalid extension for file "{name}". Only "{extensions}" files are supported.',msgValidationError:"File Upload Error",msgLoading:"Loading file {index} of {files} …",msgProgress:"Loading file {index} of {files} - {name} - {percent}% completed.",msgSelected:"{n} {files} selected",msgFoldersNotAllowed:"Drag & drop files only! {n} folder(s) dropped were skipped.",msgImageWidthSmall:'Width of image file "{name}" must be at least {size} px.',msgImageHeightSmall:'Height of image file "{name}" must be at least {size} px.',msgImageWidthLarge:'Width of image file "{name}" cannot exceed {size} px.',msgImageHeightLarge:'Height of image file "{name}" cannot exceed {size} px.',dropZoneTitle:"Drag & drop files here …"},e.extend(e.fn.fileinput.defaults,e.fn.fileinputLocales.en),e.fn.fileinput.Constructor=_,e(document).ready(function(){var i=e("input.file[type=file]");i.length&&i.fileinput()})}(window.jQuery); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/js/fileinput_locale_LANG.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/js/fileinput_locale_LANG.js index cff86334..492d8c4d 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/js/fileinput_locale_LANG.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/js/fileinput_locale_LANG.js @@ -1,45 +1,45 @@ -/*! - * FileInput <_LANG_> Translations - * - * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or - * any HTML markup tags in the messages must not be converted or translated. - * - * @see http://github.com/kartik-v/bootstrap-fileinput - * - * NOTE: this file must be saved in UTF-8 encoding. - */ -(function ($) { - "use strict"; - - $.fn.fileinputLocales['_LANG_'] = { - fileSingle: 'file', - filePlural: 'files', - browseLabel: 'Browse …', - removeLabel: 'Remove', - removeTitle: 'Clear selected files', - cancelLabel: 'Cancel', - cancelTitle: 'Abort ongoing upload', - uploadLabel: 'Upload', - uploadTitle: 'Upload selected files', - msgSizeTooLarge: 'File "{name}" ({size} KB) exceeds maximum allowed upload size of {maxSize} KB. Please retry your upload!', - msgFilesTooLess: 'You must select at least {n} {files} to upload. Please retry your upload!', - msgFilesTooMany: 'Number of files selected for upload ({n}) exceeds maximum allowed limit of {m}. Please retry your upload!', - msgFileNotFound: 'File "{name}" not found!', - msgFileSecured: 'Security restrictions prevent reading the file "{name}".', - msgFileNotReadable: 'File "{name}" is not readable.', - msgFilePreviewAborted: 'File preview aborted for "{name}".', - msgFilePreviewError: 'An error occurred while reading the file "{name}".', - msgInvalidFileType: 'Invalid type for file "{name}". Only "{types}" files are supported.', - msgInvalidFileExtension: 'Invalid extension for file "{name}". Only "{extensions}" files are supported.', - msgValidationError: 'File Upload Error', - msgLoading: 'Loading file {index} of {files} …', - msgProgress: 'Loading file {index} of {files} - {name} - {percent}% completed.', - msgSelected: '{n} {files} selected', - msgFoldersNotAllowed: 'Drag & drop files only! Skipped {n} dropped folder(s).', - msgImageWidthSmall: 'Width of image file "{name}" must be at least {size} px.', - msgImageHeightSmall: 'Height of image file "{name}" must be at least {size} px.', - msgImageWidthLarge: 'Width of image file "{name}" cannot exceed {size} px.', - msgImageHeightLarge: 'Height of image file "{name}" cannot exceed {size} px.', - dropZoneTitle: 'Drag & drop files here …' - }; +/*! + * FileInput <_LANG_> Translations + * + * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or + * any HTML markup tags in the messages must not be converted or translated. + * + * @see http://github.com/kartik-v/bootstrap-fileinput + * + * NOTE: this file must be saved in UTF-8 encoding. + */ +(function ($) { + "use strict"; + + $.fn.fileinputLocales['_LANG_'] = { + fileSingle: 'file', + filePlural: 'files', + browseLabel: 'Browse …', + removeLabel: 'Remove', + removeTitle: 'Clear selected files', + cancelLabel: 'Cancel', + cancelTitle: 'Abort ongoing upload', + uploadLabel: 'Upload', + uploadTitle: 'Upload selected files', + msgSizeTooLarge: 'File "{name}" ({size} KB) exceeds maximum allowed upload size of {maxSize} KB. Please retry your upload!', + msgFilesTooLess: 'You must select at least {n} {files} to upload. Please retry your upload!', + msgFilesTooMany: 'Number of files selected for upload ({n}) exceeds maximum allowed limit of {m}. Please retry your upload!', + msgFileNotFound: 'File "{name}" not found!', + msgFileSecured: 'Security restrictions prevent reading the file "{name}".', + msgFileNotReadable: 'File "{name}" is not readable.', + msgFilePreviewAborted: 'File preview aborted for "{name}".', + msgFilePreviewError: 'An error occurred while reading the file "{name}".', + msgInvalidFileType: 'Invalid type for file "{name}". Only "{types}" files are supported.', + msgInvalidFileExtension: 'Invalid extension for file "{name}". Only "{extensions}" files are supported.', + msgValidationError: 'File Upload Error', + msgLoading: 'Loading file {index} of {files} …', + msgProgress: 'Loading file {index} of {files} - {name} - {percent}% completed.', + msgSelected: '{n} {files} selected', + msgFoldersNotAllowed: 'Drag & drop files only! Skipped {n} dropped folder(s).', + msgImageWidthSmall: 'Width of image file "{name}" must be at least {size} px.', + msgImageHeightSmall: 'Height of image file "{name}" must be at least {size} px.', + msgImageWidthLarge: 'Width of image file "{name}" cannot exceed {size} px.', + msgImageHeightLarge: 'Height of image file "{name}" cannot exceed {size} px.', + dropZoneTitle: 'Drag & drop files here …' + }; })(window.jQuery); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/js/fileinput_locale_zh.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/js/fileinput_locale_zh.js index 9092b750..12d83710 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/js/fileinput_locale_zh.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-fileinput/js/fileinput_locale_zh.js @@ -1,49 +1,49 @@ -/*! - * FileInput Chinese Translations - * - * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or - * any HTML markup tags in the messages must not be converted or translated. - * - * @see http://github.com/kartik-v/bootstrap-fileinput - * @author kangqf - * - * NOTE: this file must be saved in UTF-8 encoding. - */ -(function ($) { - "use strict"; - - $.fn.fileinputLocales['zh'] = { - fileSingle: '文件', - filePlural: '多个文件', - browseLabel: '选择 …', - removeLabel: '移除', - removeTitle: '清除选中文件', - cancelLabel: '取消', - cancelTitle: '取消进行中的上传', - uploadLabel: '上传', - uploadTitle: '上传选中文件', - msgSizeTooLarge: '文件 "{name}" ({size} KB) 超过了允许大小 {maxSize} KB. 请重新上传!', - msgFilesTooLess: '你必须选择最少 {n} {files} 来上传. 请重新上传!', - msgFilesTooMany: '选择的上传文件个数 ({n}) 超出最大文件的限制个数 {m}. 请重新上传!', - msgFileNotFound: '文件 "{name}" 未找到!', - msgFileSecured: '安全限制,为了防止读取文件 "{name}".', - msgFileNotReadable: '文件 "{name}" 不可读.', - msgFilePreviewAborted: '取消 "{name}" 的预览.', - msgFilePreviewError: '读取 "{name}" 时出现了一个错误.', - msgInvalidFileType: '不正确的类型 "{name}". 只支持 "{types}" 类型的文件.', - msgInvalidFileExtension: '不正确的文件扩展名 "{name}". 只支持 "{extensions}" 的文件扩展名.', - msgValidationError: '文件上传错误', - msgLoading: '加载第 {index} 文件 共 {files} …', - msgProgress: '加载第 {index} 文件 共 {files} - {name} - {percent}% 完成.', - msgSelected: '{n} {files} 选中', - msgFoldersNotAllowed: '只支持拖拽文件! 跳过 {n} 拖拽的文件夹.', - msgImageWidthSmall: '宽度的图像文件的"{name}"的必须是至少{size}像素.', - msgImageHeightSmall: '图像文件的"{name}"的高度必须至少为{size}像素.', - msgImageWidthLarge: '宽度的图像文件"{name}"不能超过{size}像素.', - msgImageHeightLarge: '图像文件"{name}"的高度不能超过{size}像素.', - dropZoneTitle: '拖拽文件到这里 …', - slugCallback: function(text) { - return text ? text.split(/(\\|\/)/g).pop().replace(/[^\w\u4e00-\u9fa5\-.\\\/ ]+/g, '') : ''; - } - }; +/*! + * FileInput Chinese Translations + * + * This file must be loaded after 'fileinput.js'. Patterns in braces '{}', or + * any HTML markup tags in the messages must not be converted or translated. + * + * @see http://github.com/kartik-v/bootstrap-fileinput + * @author kangqf + * + * NOTE: this file must be saved in UTF-8 encoding. + */ +(function ($) { + "use strict"; + + $.fn.fileinputLocales['zh'] = { + fileSingle: '文件', + filePlural: '多个文件', + browseLabel: '选择 …', + removeLabel: '移除', + removeTitle: '清除选中文件', + cancelLabel: '取消', + cancelTitle: '取消进行中的上传', + uploadLabel: '上传', + uploadTitle: '上传选中文件', + msgSizeTooLarge: '文件 "{name}" ({size} KB) 超过了允许大小 {maxSize} KB. 请重新上传!', + msgFilesTooLess: '你必须选择最少 {n} {files} 来上传. 请重新上传!', + msgFilesTooMany: '选择的上传文件个数 ({n}) 超出最大文件的限制个数 {m}. 请重新上传!', + msgFileNotFound: '文件 "{name}" 未找到!', + msgFileSecured: '安全限制,为了防止读取文件 "{name}".', + msgFileNotReadable: '文件 "{name}" 不可读.', + msgFilePreviewAborted: '取消 "{name}" 的预览.', + msgFilePreviewError: '读取 "{name}" 时出现了一个错误.', + msgInvalidFileType: '不正确的类型 "{name}". 只支持 "{types}" 类型的文件.', + msgInvalidFileExtension: '不正确的文件扩展名 "{name}". 只支持 "{extensions}" 的文件扩展名.', + msgValidationError: '文件上传错误', + msgLoading: '加载第 {index} 文件 共 {files} …', + msgProgress: '加载第 {index} 文件 共 {files} - {name} - {percent}% 完成.', + msgSelected: '{n} {files} 选中', + msgFoldersNotAllowed: '只支持拖拽文件! 跳过 {n} 拖拽的文件夹.', + msgImageWidthSmall: '宽度的图像文件的"{name}"的必须是至少{size}像素.', + msgImageHeightSmall: '图像文件的"{name}"的高度必须至少为{size}像素.', + msgImageWidthLarge: '宽度的图像文件"{name}"不能超过{size}像素.', + msgImageHeightLarge: '图像文件"{name}"的高度不能超过{size}像素.', + dropZoneTitle: '拖拽文件到这里 …', + slugCallback: function(text) { + return text ? text.split(/(\\|\/)/g).pop().replace(/[^\w\u4e00-\u9fa5\-.\\\/ ]+/g, '') : ''; + } + }; })(window.jQuery); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-growl/bootstrap-growl.min.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-growl/bootstrap-growl.min.js index ce6deb10..40642941 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-growl/bootstrap-growl.min.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-growl/bootstrap-growl.min.js @@ -1,2 +1,2 @@ -/* Project: Bootstrap Growl - v2.0.0 | Author: Mouse0270 aka Robert McIntosh | License: MIT License | Website: https://github.com/mouse0270/bootstrap-growl */ +/* Project: Bootstrap Growl - v2.0.0 | Author: Mouse0270 aka Robert McIntosh | License: MIT License | Website: https://github.com/mouse0270/bootstrap-growl */ (function(e,t,n,r){var i="growl",s="plugin_"+i,o={element:"body",type:"info",allow_dismiss:true,placement:{from:"top",align:"right"},offset:20,spacing:10,z_index:1031,delay:5e3,timer:1e3,url_target:"_blank",mouse_over:false,animate:{enter:"animated fadeInDown",exit:"animated fadeOutUp"},icon_type:"class",template:''};var u=function(t,n){o=e.extend(true,{},o,n)},a=function(t,n,r){var n={content:{message:typeof n=="object"?n.message:n,title:n.title?n.title:null,icon:n.icon?n.icon:null,url:n.url?n.url:null}};r=e.extend(true,{},n,r);this.settings=e.extend(true,{},o,r);plugin=this;f(r,this.settings,plugin);this.$template=$template},f=function(t,n,r){var i={settings:n,$element:e(n.element),template:n.template};$template=l(i);c($template,i.settings);h($template,i.settings);p($template,i.settings,r)},l=function(t){var n=e(t.settings.template);n.addClass("alert-"+t.settings.type);n.attr("data-growl-position",t.settings.placement.from+"-"+t.settings.placement.align);n.find('[data-growl="dismiss"]').css("display","none");if(t.settings.allow_dismiss){n.find('[data-growl="dismiss"]').css("display","inline-block")}return n},c=function(e,t){e.find('[data-growl="dismiss"]').css({position:"absolute",top:"5px",right:"10px","z-index":t.z_index-1>=1?t.z_index-1:1});if(t.content.icon){if(t.icon_type.toLowerCase()=="class"){e.find('[data-growl="icon"]').addClass(t.content.icon)}else{if(e.find('[data-growl="icon"]').is("img")){e.find('[data-growl="icon"]').attr("src",t.content.icon)}else{e.find('[data-growl="icon"]').append('')}}}if(t.content.title){e.find('[data-growl="title"]').html(t.content.title)}if(t.content.message){e.find('[data-growl="message"]').html(t.content.message)}if(t.content.url){e.find('[data-growl="url"]').attr("href",t.content.url).attr("target",t.url_target);e.find('[data-growl="url"]').css({position:"absolute",top:"0px",left:"0px",width:"100%",height:"100%","z-index":t.z_index-2>=1?t.z_index-2:1})}},h=function(t,n){var r=n.offset,i={position:n.element==="body"?"fixed":"absolute",margin:0,"z-index":n.z_index,display:"inline-block"};e('[data-growl-position="'+n.placement.from+"-"+n.placement.align+'"]').each(function(){return r=Math.max(r,parseInt(e(this).css(n.placement.from))+e(this).outerHeight()+n.spacing)});i[n.placement.from]=r+"px";t.css(i);e(n.element).append(t);switch(n.placement.align){case"center":t.css({left:"50%",marginLeft:-(t.outerWidth()/2)+"px"});break;case"left":t.css("left",n.offset+"px");break;case"right":t.css("right",n.offset+"px");break}t.addClass("growl-animated")},p=function(e,t,n){e.addClass(t.animate.enter);e.find('[data-growl="dismiss"]').on("click",function(){n.close()});e.on("mouseover",function(t){e.addClass("hovering")}).on("mouseout",function(){e.removeClass("hovering")});if(t.delay>=1){e.data("growl-delay",t.delay);var r=setInterval(function(){var i=parseInt(e.data("growl-delay"))-t.timer;console.log();if(!e.hasClass("hovering")&&t.mouse_over=="pause"||t.mouse_over!="pause"){e.data("growl-delay",i)}if(i<=0){clearInterval(r);n.close()}},t.timer)}};a.prototype={update:function(e,t){switch(e){case"icon":if(this.settings.icon_type.toLowerCase()=="class"){this.$template.find('[data-growl="icon"]').removeClass(this.settings.content.icon);this.$template.find('[data-growl="icon"]').addClass(t)}else{if(this.$template.find('[data-growl="icon"]').is("img")){this.$template.find('[data-growl="icon"]')}else{this.$template.find('[data-growl="icon"]').find("img").attr().attr("src",t)}}break;case"url":this.$template.find('[data-growl="url"]').attr("href",t);break;case"type":this.$template.removeClass("alert-"+this.settings.type);this.$template.addClass("alert-"+t);break;default:this.$template.find('[data-growl="'+e+'"]').html(t)}return this},close:function(){var t=this.$template,n=this.settings,r=t.css(n.placement.from),i=false;t.addClass(this.settings.animate.exit);t.nextAll('[data-growl-position="'+this.settings.placement.from+"-"+this.settings.placement.align+'"]').each(function(){e(this).css(n.placement.from,r);r=parseInt(r)+n.spacing+e(this).outerHeight()});t.one("webkitAnimationStart oanimationstart MSAnimationStart animationstart",function(e){i=true});t.one("webkitAnimationEnd oanimationend MSAnimationEnd animationend",function(t){e(this).remove()});setTimeout(function(){console.log(i);if(!i){t.remove()}},100);return this}};e.growl=function(e,t){if(e==false){u(this,t);return false}var n=new a(this,e,t);return n}})(jQuery,window,document) \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-growl/jquery.bootstrap-growl.min.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-growl/jquery.bootstrap-growl.min.js index 67837e50..0936670e 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-growl/jquery.bootstrap-growl.min.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-growl/jquery.bootstrap-growl.min.js @@ -1 +1 @@ -(function(){var c;c=jQuery;c.bootstrapGrowl=function(f,a){var b,e,d;a=c.extend({},c.bootstrapGrowl.default_options,a);b=c("
    ");b.attr("class","bootstrap-growl alert");a.type&&b.addClass("alert-"+a.type);a.allow_dismiss&&(b.addClass("alert-dismissible"),b.append(''));b.append(f);a.top_offset&&(a.offset={from:"top",amount:a.top_offset});d=a.offset.amount;c(".bootstrap-growl").each(function(){return d= Math.max(d,parseInt(c(this).css(a.offset.from))+c(this).outerHeight()+a.stackup_spacing)});e={position:"body"===a.ele?"fixed":"absolute",margin:0,"z-index":"9999",display:"none"};e[a.offset.from]=d+"px";b.css(e);"auto"!==a.width&&b.css("width",a.width+"px");c(a.ele).append(b);switch(a.align){case "center":b.css({left:"50%","margin-left":"-"+b.outerWidth()/2+"px"});break;case "left":b.css("left","20px");break;default:b.css("right","20px")}b.fadeIn();0");b.attr("class","bootstrap-growl alert");a.type&&b.addClass("alert-"+a.type);a.allow_dismiss&&(b.addClass("alert-dismissible"),b.append(''));b.append(f);a.top_offset&&(a.offset={from:"top",amount:a.top_offset});d=a.offset.amount;c(".bootstrap-growl").each(function(){return d= Math.max(d,parseInt(c(this).css(a.offset.from))+c(this).outerHeight()+a.stackup_spacing)});e={position:"body"===a.ele?"fixed":"absolute",margin:0,"z-index":"9999",display:"none"};e[a.offset.from]=d+"px";b.css(e);"auto"!==a.width&&b.css("width",a.width+"px");c(a.ele).append(b);switch(a.align){case "center":b.css({left:"50%","margin-left":"-"+b.outerWidth()/2+"px"});break;case "left":b.css("left","20px");break;default:b.css("right","20px")}b.fadeIn();0 - - - -``` - -## Usage - -Just like in Bootstrap you can activate it without any JavaScript, just by adding a data-attribute, you can make it automatically work. - -Add `data-hover="dropdown"` in addition (or in place of) Bootstrap's `data-toggle="dropdown"`. - -You can set options via data-attributes, too, via `data-delay` and `data-close-others`. Here's an example of markup: - -```html - -``` - -Alternatively, you can initialize via JavaScript: - -```javascript -$('.dropdown-toggle').dropdownHover(options); -``` - -This also works with submenus without any other configuring since Bootstrap already supports this feature. Just use the markup like you were using before. Only the top level anchor tag needs any special markup for my plugin to work (see demo for proper markup). - -## Options - -* **delay**: *(optional)* The delay in miliseconds. This is the time to wait before closing a dropdown when the mouse is no longer over the dropdown or the button/nav item that activated it. Defaults to `500`. -* **instantlyCloseOthers**: *(optional)* A boolean value that when true, will instantly close all other dropdowns matched by the selector used when you activate a new navigation. This is nice for when you have dropdowns close together that may overlap. Default is `true`. - -## Demo - -You can view a demo for this plugin on my site: http://cameronspear.com/demos/bootstrap-hover-dropdown/ - -### A Note on Choosing a Selector - -This plugin purposedly lets you choose a selector (as opposed to apply this to everything with the class of `.dropdown-toggle`). This is so that you can selectively apply it where you want. Maybe you only want to use it for the main nav, and not have it activate for dropdown buttons in the main content. You can add a class to the item that normally gets `.dropdown-toggle` and use that class with this plugin to easily achieve that, or use a selector such as `.main-nav .dropdown-toggle`. - -**Important:** Bootstrap relies on styles associated with the class `.dropdown-toggle` (for stuff like the caret color), and it is recommended you leave that class alone. - -## Changes/Bug Fixes - -I'm a slacker and only started keeping track of changes/bug fixes starting in March of 2013. - -* **2014-01-27** Fixed an issue where chaining could break on mobile and cleaned up the the way the plugin triggered events. Also cleaned up the demo (fixed navbar appearance). -* **2013-12-05** Change all references of *Twitter Bootstrap* to *Bootstrap* to reflect Bootstrap's name change. -* **2013-11-09** Disable this plugin for devices that support touch. The plugin was causing issues with some mobile devices, and it's not necessary for them. -* **2013-08-02** Add support for Bootstrap 3. For Bootstrap 2.x.x, use the `bootstrap-2.x.x` branch. -* **2013-06-10** Always instantly close submenu siblings when opening a new one. Issue #19. -* **2013-06-10** A fix for my last fix that would sometimes cause the correct item to not trigger when it should. Issue #18. -* **2013-05-08** Fix issue where a sibling could open a drop down that wasn't theirs. Issue #18. -* **2013-04-29** Added support for submenus: Submenus should now honor the delay option and way before closing. They do not abide by the `instantlyCloseOthers` option, as it's not really relevant. -* **2013-04-19** Fixed an issue where the conditional rule to disable hover on mobile wasn't working if you included the script in the header. -* **2013-04-03** Made it so if you're using the responsive CSS and in tablet/mobile view, disable the hover. -* **2013-03-16** Fixed an issue where the options you passed in via the method call were completely ignored. - -## Contributions - -[Mattia Larentis](https://github.com/nostalgiaz) helped me with the idea for the data-attributes and doing the options via an object. - -## Roadmap - -As this plugin, in its simplicity, is pretty much exactly what I intend it to be, I don't plan to implement any new features. ~~**One exception:** I would like to tweak it so that when you're in a submenu, it doesn't instantly close when you hover outside of it.~~ **Update:** I added this in late April 2013. - -If you have ideas for a new feature or something along those lines, you're welcome to share them with me, but I am not likely to implement it/merge your pull without a very compelling reason. You are absolutely free to create a fork and implement the feature yourself for your and others' use. - -This, of course, does not speak for bugs. If you have a bug, please bring it to my attention, and I will try and fix it. Note that 93.7% of people's issues are caused by incorrect markup, so please double check that first. - -## Me - -Follow me on Twitter: [@CWSpear](https://twitter.com/CWSpear) or check out my [blog](http://cameronspear.com/blog/). +Bootstrap Hover Dropdown Plugin +=============================== + +![Current Version](http://img.shields.io/github/tag/cwspear/bootstrap-hover-dropdown.svg?style=flat) + +#### Name Change + +*Twitter Bootstrap* is now just *Bootstrap*, and I've renamed this repo, **renamed the files** and change all references from *Twitter Bootstrap* to just *Bootstrap* in the docs/example to reflect that. + +No actual code changed, so I am keeping the current version (`2.0.1` at the time of this writing), but be aware of the lack of *twitter-* from the beginning of the JS files and how that might affect you. + +Sorry for any inconvenience! + +#### Updated for Bootstrap 3 + +I updated the demo with Bootstrap 3, as well as removed code associated to submenus ([not supported in Bootstrap 3](https://github.com/twbs/bootstrap/pull/6342#issuecomment-11594010)) and touch devices (just make sure you have `data-toggle="dropdown"` to let Mobile do its thing and my plugin won't interfere). + +## Introduction + +A simple plugin to enable Bootstrap dropdowns to activate on hover and provide a nice user experience. + +The dropdowns are dismissed after a configurable delay. This fixes an issue that can instantly close your nav because of a 1px gap between the button/nav item that activated the dropdown and the actual dropdown. It is also generally a better user experience, as users are not punished by going 1 pixel outside of the dropdown, which would instantly close the nav without a delay. + +**Note:** The HTML markup is the same as with any other Bootstrap dropdown. This will not interfere with Bootstrap's default activate-on-click method (i.e. this plugin combined with Bootstrap's default behavior work well to support both the ideal experience on desktop and mobile). + +## Installation + +You can simply download and extract the package downloaded from GitHub. Alternatively, you can download the files via [Bower](http://bower.io/) (a JavaScript package management system): + +``` +bower install bootstrap-hover-dropdown +``` + +which will also automatically install Bootstrap and jQuery if needed. + +Once you have the files downloaded, link to the files in your code *after* you include the main Bootstrap JS file(s): + +```html + + + + +``` + +## Usage + +Just like in Bootstrap you can activate it without any JavaScript, just by adding a data-attribute, you can make it automatically work. + +Add `data-hover="dropdown"` in addition (or in place of) Bootstrap's `data-toggle="dropdown"`. + +You can set options via data-attributes, too, via `data-delay` and `data-close-others`. Here's an example of markup: + +```html + +``` + +Alternatively, you can initialize via JavaScript: + +```javascript +$('.dropdown-toggle').dropdownHover(options); +``` + +This also works with submenus without any other configuring since Bootstrap already supports this feature. Just use the markup like you were using before. Only the top level anchor tag needs any special markup for my plugin to work (see demo for proper markup). + +## Options + +* **delay**: *(optional)* The delay in miliseconds. This is the time to wait before closing a dropdown when the mouse is no longer over the dropdown or the button/nav item that activated it. Defaults to `500`. +* **instantlyCloseOthers**: *(optional)* A boolean value that when true, will instantly close all other dropdowns matched by the selector used when you activate a new navigation. This is nice for when you have dropdowns close together that may overlap. Default is `true`. + +## Demo + +You can view a demo for this plugin on my site: http://cameronspear.com/demos/bootstrap-hover-dropdown/ + +### A Note on Choosing a Selector + +This plugin purposedly lets you choose a selector (as opposed to apply this to everything with the class of `.dropdown-toggle`). This is so that you can selectively apply it where you want. Maybe you only want to use it for the main nav, and not have it activate for dropdown buttons in the main content. You can add a class to the item that normally gets `.dropdown-toggle` and use that class with this plugin to easily achieve that, or use a selector such as `.main-nav .dropdown-toggle`. + +**Important:** Bootstrap relies on styles associated with the class `.dropdown-toggle` (for stuff like the caret color), and it is recommended you leave that class alone. + +## Changes/Bug Fixes + +I'm a slacker and only started keeping track of changes/bug fixes starting in March of 2013. + +* **2014-01-27** Fixed an issue where chaining could break on mobile and cleaned up the the way the plugin triggered events. Also cleaned up the demo (fixed navbar appearance). +* **2013-12-05** Change all references of *Twitter Bootstrap* to *Bootstrap* to reflect Bootstrap's name change. +* **2013-11-09** Disable this plugin for devices that support touch. The plugin was causing issues with some mobile devices, and it's not necessary for them. +* **2013-08-02** Add support for Bootstrap 3. For Bootstrap 2.x.x, use the `bootstrap-2.x.x` branch. +* **2013-06-10** Always instantly close submenu siblings when opening a new one. Issue #19. +* **2013-06-10** A fix for my last fix that would sometimes cause the correct item to not trigger when it should. Issue #18. +* **2013-05-08** Fix issue where a sibling could open a drop down that wasn't theirs. Issue #18. +* **2013-04-29** Added support for submenus: Submenus should now honor the delay option and way before closing. They do not abide by the `instantlyCloseOthers` option, as it's not really relevant. +* **2013-04-19** Fixed an issue where the conditional rule to disable hover on mobile wasn't working if you included the script in the header. +* **2013-04-03** Made it so if you're using the responsive CSS and in tablet/mobile view, disable the hover. +* **2013-03-16** Fixed an issue where the options you passed in via the method call were completely ignored. + +## Contributions + +[Mattia Larentis](https://github.com/nostalgiaz) helped me with the idea for the data-attributes and doing the options via an object. + +## Roadmap + +As this plugin, in its simplicity, is pretty much exactly what I intend it to be, I don't plan to implement any new features. ~~**One exception:** I would like to tweak it so that when you're in a submenu, it doesn't instantly close when you hover outside of it.~~ **Update:** I added this in late April 2013. + +If you have ideas for a new feature or something along those lines, you're welcome to share them with me, but I am not likely to implement it/merge your pull without a very compelling reason. You are absolutely free to create a fork and implement the feature yourself for your and others' use. + +This, of course, does not speak for bugs. If you have a bug, please bring it to my attention, and I will try and fix it. Note that 93.7% of people's issues are caused by incorrect markup, so please double check that first. + +## Me + +Follow me on Twitter: [@CWSpear](https://twitter.com/CWSpear) or check out my [blog](http://cameronspear.com/blog/). diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-hover-dropdown/bootstrap-hover-dropdown.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-hover-dropdown/bootstrap-hover-dropdown.js index fac00fdb..55c5aa21 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-hover-dropdown/bootstrap-hover-dropdown.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-hover-dropdown/bootstrap-hover-dropdown.js @@ -1,14 +1,14 @@ -/** - * Project: Bootstrap Hover Dropdown - * Author: Cameron Spear - * Contributors: Mattia Larentis - * - * Dependencies: Bootstrap's Dropdown plugin, jQuery - * - * A simple plugin to enable Bootstrap dropdowns to active on hover and provide a nice user experience. - * - * License: MIT - * - * http://cameronspear.com/blog/bootstrap-dropdown-on-hover-plugin/ - */ -!function(e,n){var o=e();e.fn.dropdownHover=function(t){return"ontouchstart"in document?this:(o=o.add(this.parent()),this.each(function(){var i,r=e(this),s=r.parent(),d={delay:500,instantlyCloseOthers:!0},a={delay:e(this).data("delay"),instantlyCloseOthers:e(this).data("close-others")},h="show.bs.dropdown",u="hide.bs.dropdown",l=e.extend(!0,{},d,t,a);s.hover(function(e){return s.hasClass("open")||r.is(e.target)?(o.find(":focus").blur(),l.instantlyCloseOthers===!0&&o.removeClass("open"),n.clearTimeout(i),s.addClass("open"),void r.trigger(h)):!0},function(){i=n.setTimeout(function(){s.removeClass("open"),r.trigger(u)},l.delay)}),r.hover(function(){o.find(":focus").blur(),l.instantlyCloseOthers===!0&&o.removeClass("open"),n.clearTimeout(i),s.addClass("open"),r.trigger(h)}),s.find(".dropdown-submenu").each(function(){var o,t=e(this);t.hover(function(){n.clearTimeout(o),t.children(".dropdown-menu").show(),t.siblings().children(".dropdown-menu").hide()},function(){var e=t.children(".dropdown-menu");o=n.setTimeout(function(){e.hide()},l.delay)})})}))},e(document).ready(function(){e('[data-hover="dropdown"]').not(".hover-initialized").each(function(){e(this).dropdownHover(),e(this).addClass("hover-initialized")})})}(jQuery,this); +/** + * Project: Bootstrap Hover Dropdown + * Author: Cameron Spear + * Contributors: Mattia Larentis + * + * Dependencies: Bootstrap's Dropdown plugin, jQuery + * + * A simple plugin to enable Bootstrap dropdowns to active on hover and provide a nice user experience. + * + * License: MIT + * + * http://cameronspear.com/blog/bootstrap-dropdown-on-hover-plugin/ + */ +!function(e,n){var o=e();e.fn.dropdownHover=function(t){return"ontouchstart"in document?this:(o=o.add(this.parent()),this.each(function(){var i,r=e(this),s=r.parent(),d={delay:500,instantlyCloseOthers:!0},a={delay:e(this).data("delay"),instantlyCloseOthers:e(this).data("close-others")},h="show.bs.dropdown",u="hide.bs.dropdown",l=e.extend(!0,{},d,t,a);s.hover(function(e){return s.hasClass("open")||r.is(e.target)?(o.find(":focus").blur(),l.instantlyCloseOthers===!0&&o.removeClass("open"),n.clearTimeout(i),s.addClass("open"),void r.trigger(h)):!0},function(){i=n.setTimeout(function(){s.removeClass("open"),r.trigger(u)},l.delay)}),r.hover(function(){o.find(":focus").blur(),l.instantlyCloseOthers===!0&&o.removeClass("open"),n.clearTimeout(i),s.addClass("open"),r.trigger(h)}),s.find(".dropdown-submenu").each(function(){var o,t=e(this);t.hover(function(){n.clearTimeout(o),t.children(".dropdown-menu").show(),t.siblings().children(".dropdown-menu").hide()},function(){var e=t.children(".dropdown-menu");o=n.setTimeout(function(){e.hide()},l.delay)})})}))},e(document).ready(function(){e('[data-hover="dropdown"]').not(".hover-initialized").each(function(){e(this).dropdownHover(),e(this).addClass("hover-initialized")})})}(jQuery,this); diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js index 0bf4687b..25757af5 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js @@ -1,13 +1,13 @@ -/** - * Project: Bootstrap Hover Dropdown - * Author: Cameron Spear - * Contributors: Mattia Larentis - * - * Dependencies: Bootstrap's Dropdown plugin, jQuery - * - * A simple plugin to enable Bootstrap dropdowns to active on hover and provide a nice user experience. - * - * License: MIT - * - * http://cameronspear.com/blog/bootstrap-dropdown-on-hover-plugin/ +/** + * Project: Bootstrap Hover Dropdown + * Author: Cameron Spear + * Contributors: Mattia Larentis + * + * Dependencies: Bootstrap's Dropdown plugin, jQuery + * + * A simple plugin to enable Bootstrap dropdowns to active on hover and provide a nice user experience. + * + * License: MIT + * + * http://cameronspear.com/blog/bootstrap-dropdown-on-hover-plugin/ */(function(b,a,c){var d=b();b.fn.dropdownHover=function(e){if("ontouchstart" in document){return this}d=d.add(this.parent());return this.each(function(){var m=b(this),l=m.parent(),k={delay:500,instantlyCloseOthers:true},i={delay:b(this).data("delay"),instantlyCloseOthers:b(this).data("close-others")},f="show.bs.dropdown",j="hide.bs.dropdown",g=b.extend(true,{},k,e,i),h;l.hover(function(n){if(!l.hasClass("open")&&!m.is(n.target)){return true}d.find(":focus").blur();if(g.instantlyCloseOthers===true){d.removeClass("open")}a.clearTimeout(h);l.addClass("open");m.trigger(f)},function(){h=a.setTimeout(function(){l.removeClass("open");m.trigger(j)},g.delay)});m.hover(function(){d.find(":focus").blur();if(g.instantlyCloseOthers===true){d.removeClass("open")}a.clearTimeout(h);l.addClass("open");m.trigger(f)});l.find(".dropdown-submenu").each(function(){var o=b(this);var n;o.hover(function(){a.clearTimeout(n);o.children(".dropdown-menu").show();o.siblings().children(".dropdown-menu").hide()},function(){var p=o.children(".dropdown-menu");n=a.setTimeout(function(){p.hide()},g.delay)})})})};b(document).ready(function(){b('[data-hover="dropdown"]').dropdownHover()})})(jQuery,this); \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-modal/css/bootstrap-modal-bs3patch.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-modal/css/bootstrap-modal-bs3patch.css index 71ca0edc..9939f3ce 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-modal/css/bootstrap-modal-bs3patch.css +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-modal/css/bootstrap-modal-bs3patch.css @@ -1,51 +1,51 @@ -/*! - * Bootstrap Modal - * - * Copyright Jordan Schroter - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Boostrap 3 patch for for bootstrap-modal. Include BEFORE bootstrap-modal.css! - */ - -body.modal-open, -.modal-open .navbar-fixed-top, -.modal-open .navbar-fixed-bottom { - margin-right: 0; -} - -.modal { - left: 50%; - bottom: auto; - right: auto; - z-index: 1050; - padding: 0; - width: 600px; - margin-left: -300px; - background-color: #ffffff; - border: 1px solid #999999; - border: 1px solid rgba(0, 0, 0, 0.2); - border-radius: 6px; - -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); - box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); - background-clip: padding-box; -} - -.modal.container { - max-width: none; -} - -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; -} - -.modal.bootbox { - border: none; - background: none; - box-shadow: none; +/*! + * Bootstrap Modal + * + * Copyright Jordan Schroter + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Boostrap 3 patch for for bootstrap-modal. Include BEFORE bootstrap-modal.css! + */ + +body.modal-open, +.modal-open .navbar-fixed-top, +.modal-open .navbar-fixed-bottom { + margin-right: 0; +} + +.modal { + left: 50%; + bottom: auto; + right: auto; + z-index: 1050; + padding: 0; + width: 600px; + margin-left: -300px; + background-color: #ffffff; + border: 1px solid #999999; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); + background-clip: padding-box; +} + +.modal.container { + max-width: none; +} + +.modal-backdrop { + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + z-index: 1040; +} + +.modal.bootbox { + border: none; + background: none; + box-shadow: none; } \ No newline at end of file diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-modal/css/bootstrap-modal.css b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-modal/css/bootstrap-modal.css index 4e48f1cf..bc62761a 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-modal/css/bootstrap-modal.css +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-modal/css/bootstrap-modal.css @@ -1,214 +1,214 @@ -/*! - * Bootstrap Modal - * - * Copyright Jordan Schroter - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - */ - -.modal-open { - overflow: hidden; -} - - -/* add a scroll bar to stop page from jerking around */ -.modal-open.page-overflow .page-container, -.modal-open.page-overflow .page-container .navbar-fixed-top, -.modal-open.page-overflow .page-container .navbar-fixed-bottom, -.modal-open.page-overflow .modal-scrollable { - overflow-y: scroll; -} - -@media (max-width: 979px) { - .modal-open.page-overflow .page-container .navbar-fixed-top, - .modal-open.page-overflow .page-container .navbar-fixed-bottom { - overflow-y: visible; - } -} - - -.modal-scrollable { - position: fixed; - top: 0; - bottom: 0; - left: 0; - right: 0; - overflow: auto; -} - -.modal { - outline: none; - position: absolute; - margin-top: 0; - top: 50%; - overflow: visible; /* allow content to popup out (i.e tooltips) */ -} - -.modal.fade { - top: -100%; - -webkit-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out; - -moz-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out; - -o-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out; - transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out; -} - -.modal.fade.in { - top: 50%; -} - -.modal-body { - max-height: none; - overflow: visible; -} - -.modal.modal-absolute { - position: absolute; - z-index: 950; -} - -.modal .loading-mask { - position: absolute; - top: 0; - bottom: 0; - left: 0; - right: 0; - background: #fff; - border-radius: 6px; -} - -.modal-backdrop.modal-absolute{ - position: absolute; - z-index: 940; -} - -.modal-backdrop, -.modal-backdrop.fade.in{ - opacity: 0.7; - filter: alpha(opacity=70); - background: #fff; -} - -.modal.container { - width: 940px; - margin-left: -470px; -} - -/* Modal Overflow */ - -.modal-overflow.modal { - top: 5%; -} - -.modal-overflow.modal.fade { - top: -100%; -} - -.modal-overflow.modal.fade.in { - top: 5%; -} - -.modal-overflow .modal-body { - overflow: auto; - -webkit-overflow-scrolling: touch; -} - -/* Responsive */ - -@media (min-width: 1200px) { - .modal.container { - width: 1170px; - margin-left: -585px; - } -} - -@media (max-width: 979px) { - .modal, - .modal.container, - .modal.modal-overflow { - top: 1%; - right: 1%; - left: 1%; - bottom: auto; - width: auto !important; - height: auto !important; - margin: 0 !important; - padding: 0 !important; - } - - .modal.fade.in, - .modal.container.fade.in, - .modal.modal-overflow.fade.in { - top: 1%; - bottom: auto; - } - - .modal-body, - .modal-overflow .modal-body { - position: static; - margin: 0; - height: auto !important; - max-height: none !important; - overflow: visible !important; - } - - .modal-footer, - .modal-overflow .modal-footer { - position: static; - } -} - -.loading-spinner { - position: absolute; - top: 50%; - left: 50%; - margin: -12px 0 0 -12px; -} - -/* -Animate.css - http://daneden.me/animate -Licensed under the ☺ license (http://licence.visualidiot.com/) - -Copyright (c) 2012 Dan Eden*/ - -.animated { - -webkit-animation-duration: 1s; - -moz-animation-duration: 1s; - -o-animation-duration: 1s; - animation-duration: 1s; - -webkit-animation-fill-mode: both; - -moz-animation-fill-mode: both; - -o-animation-fill-mode: both; - animation-fill-mode: both; -} - -@-webkit-keyframes shake { - 0%, 100% {-webkit-transform: translateX(0);} - 10%, 30%, 50%, 70%, 90% {-webkit-transform: translateX(-10px);} - 20%, 40%, 60%, 80% {-webkit-transform: translateX(10px);} -} - -@-moz-keyframes shake { - 0%, 100% {-moz-transform: translateX(0);} - 10%, 30%, 50%, 70%, 90% {-moz-transform: translateX(-10px);} - 20%, 40%, 60%, 80% {-moz-transform: translateX(10px);} -} - -@-o-keyframes shake { - 0%, 100% {-o-transform: translateX(0);} - 10%, 30%, 50%, 70%, 90% {-o-transform: translateX(-10px);} - 20%, 40%, 60%, 80% {-o-transform: translateX(10px);} -} - -@keyframes shake { - 0%, 100% {transform: translateX(0);} - 10%, 30%, 50%, 70%, 90% {transform: translateX(-10px);} - 20%, 40%, 60%, 80% {transform: translateX(10px);} -} - -.shake { - -webkit-animation-name: shake; - -moz-animation-name: shake; - -o-animation-name: shake; - animation-name: shake; -} +/*! + * Bootstrap Modal + * + * Copyright Jordan Schroter + * Licensed under the Apache License v2.0 + * http://www.apache.org/licenses/LICENSE-2.0 + * + */ + +.modal-open { + overflow: hidden; +} + + +/* add a scroll bar to stop page from jerking around */ +.modal-open.page-overflow .page-container, +.modal-open.page-overflow .page-container .navbar-fixed-top, +.modal-open.page-overflow .page-container .navbar-fixed-bottom, +.modal-open.page-overflow .modal-scrollable { + overflow-y: scroll; +} + +@media (max-width: 979px) { + .modal-open.page-overflow .page-container .navbar-fixed-top, + .modal-open.page-overflow .page-container .navbar-fixed-bottom { + overflow-y: visible; + } +} + + +.modal-scrollable { + position: fixed; + top: 0; + bottom: 0; + left: 0; + right: 0; + overflow: auto; +} + +.modal { + outline: none; + position: absolute; + margin-top: 0; + top: 50%; + overflow: visible; /* allow content to popup out (i.e tooltips) */ +} + +.modal.fade { + top: -100%; + -webkit-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out; + -moz-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out; + -o-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out; + transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out; +} + +.modal.fade.in { + top: 50%; +} + +.modal-body { + max-height: none; + overflow: visible; +} + +.modal.modal-absolute { + position: absolute; + z-index: 950; +} + +.modal .loading-mask { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + background: #fff; + border-radius: 6px; +} + +.modal-backdrop.modal-absolute{ + position: absolute; + z-index: 940; +} + +.modal-backdrop, +.modal-backdrop.fade.in{ + opacity: 0.7; + filter: alpha(opacity=70); + background: #fff; +} + +.modal.container { + width: 940px; + margin-left: -470px; +} + +/* Modal Overflow */ + +.modal-overflow.modal { + top: 5%; +} + +.modal-overflow.modal.fade { + top: -100%; +} + +.modal-overflow.modal.fade.in { + top: 5%; +} + +.modal-overflow .modal-body { + overflow: auto; + -webkit-overflow-scrolling: touch; +} + +/* Responsive */ + +@media (min-width: 1200px) { + .modal.container { + width: 1170px; + margin-left: -585px; + } +} + +@media (max-width: 979px) { + .modal, + .modal.container, + .modal.modal-overflow { + top: 1%; + right: 1%; + left: 1%; + bottom: auto; + width: auto !important; + height: auto !important; + margin: 0 !important; + padding: 0 !important; + } + + .modal.fade.in, + .modal.container.fade.in, + .modal.modal-overflow.fade.in { + top: 1%; + bottom: auto; + } + + .modal-body, + .modal-overflow .modal-body { + position: static; + margin: 0; + height: auto !important; + max-height: none !important; + overflow: visible !important; + } + + .modal-footer, + .modal-overflow .modal-footer { + position: static; + } +} + +.loading-spinner { + position: absolute; + top: 50%; + left: 50%; + margin: -12px 0 0 -12px; +} + +/* +Animate.css - http://daneden.me/animate +Licensed under the ☺ license (http://licence.visualidiot.com/) + +Copyright (c) 2012 Dan Eden*/ + +.animated { + -webkit-animation-duration: 1s; + -moz-animation-duration: 1s; + -o-animation-duration: 1s; + animation-duration: 1s; + -webkit-animation-fill-mode: both; + -moz-animation-fill-mode: both; + -o-animation-fill-mode: both; + animation-fill-mode: both; +} + +@-webkit-keyframes shake { + 0%, 100% {-webkit-transform: translateX(0);} + 10%, 30%, 50%, 70%, 90% {-webkit-transform: translateX(-10px);} + 20%, 40%, 60%, 80% {-webkit-transform: translateX(10px);} +} + +@-moz-keyframes shake { + 0%, 100% {-moz-transform: translateX(0);} + 10%, 30%, 50%, 70%, 90% {-moz-transform: translateX(-10px);} + 20%, 40%, 60%, 80% {-moz-transform: translateX(10px);} +} + +@-o-keyframes shake { + 0%, 100% {-o-transform: translateX(0);} + 10%, 30%, 50%, 70%, 90% {-o-transform: translateX(-10px);} + 20%, 40%, 60%, 80% {-o-transform: translateX(10px);} +} + +@keyframes shake { + 0%, 100% {transform: translateX(0);} + 10%, 30%, 50%, 70%, 90% {transform: translateX(-10px);} + 20%, 40%, 60%, 80% {transform: translateX(10px);} +} + +.shake { + -webkit-animation-name: shake; + -moz-animation-name: shake; + -o-animation-name: shake; + animation-name: shake; +} diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-modal/js/bootstrap-modal.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-modal/js/bootstrap-modal.js index 58da13a8..20bb29c8 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-modal/js/bootstrap-modal.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/bootstrap-modal/js/bootstrap-modal.js @@ -1,378 +1,378 @@ -/* =========================================================== - * bootstrap-modal.js v2.2.5 - * =========================================================== - * Copyright 2012 Jordan Schroter - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ========================================================== */ - - -!function ($) { - - "use strict"; // jshint ;_; - - /* MODAL CLASS DEFINITION - * ====================== */ - - var Modal = function (element, options) { - this.init(element, options); - }; - - Modal.prototype = { - - constructor: Modal, - - init: function (element, options) { - var that = this; - - this.options = options; - - this.$element = $(element) - .delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this)); - - this.options.remote && this.$element.find('.modal-body').load(this.options.remote, function () { - var e = $.Event('loaded'); - that.$element.trigger(e); - }); - - var manager = typeof this.options.manager === 'function' ? - this.options.manager.call(this) : this.options.manager; - - manager = manager.appendModal ? - manager : $(manager).modalmanager().data('modalmanager'); - - manager.appendModal(this); - }, - - toggle: function () { - return this[!this.isShown ? 'show' : 'hide'](); - }, - - show: function () { - var e = $.Event('show'); - - if (this.isShown) return; - - this.$element.trigger(e); - - if (e.isDefaultPrevented()) return; - - this.escape(); - - this.tab(); - - this.options.loading && this.loading(); - }, - - hide: function (e) { - e && e.preventDefault(); - - e = $.Event('hide'); - - this.$element.trigger(e); - - if (!this.isShown || e.isDefaultPrevented()) return; - - this.isShown = false; - - this.escape(); - - this.tab(); - - this.isLoading && this.loading(); - - $(document).off('focusin.modal'); - - this.$element - .removeClass('in') - .removeClass('animated') - .removeClass(this.options.attentionAnimation) - .removeClass('modal-overflow') - .attr('aria-hidden', true); - - $.support.transition && this.$element.hasClass('fade') ? - this.hideWithTransition() : - this.hideModal(); - }, - - layout: function () { - var prop = this.options.height ? 'height' : 'max-height', - value = this.options.height || this.options.maxHeight; - - if (this.options.width){ - this.$element.css('width', this.options.width); - - var that = this; - this.$element.css('margin-left', function () { - if (/%/ig.test(that.options.width)){ - return -(parseInt(that.options.width) / 2) + '%'; - } else { - return -($(this).width() / 2) + 'px'; - } - }); - } else { - this.$element.css('width', ''); - this.$element.css('margin-left', ''); - } - - this.$element.find('.modal-body') - .css('overflow', '') - .css(prop, ''); - - if (value){ - this.$element.find('.modal-body') - .css('overflow', 'auto') - .css(prop, value); - } - - var modalOverflow = $(window).height() - 10 < this.$element.height(); - - if (modalOverflow || this.options.modalOverflow) { - this.$element - .css('margin-top', 0) - .addClass('modal-overflow'); - } else { - this.$element - .css('margin-top', 0 - this.$element.height() / 2) - .removeClass('modal-overflow'); - } - }, - - tab: function () { - var that = this; - - if (this.isShown && this.options.consumeTab) { - this.$element.on('keydown.tabindex.modal', '[data-tabindex]', function (e) { - if (e.keyCode && e.keyCode == 9){ - var elements = [], - tabindex = Number($(this).data('tabindex')); - - that.$element.find('[data-tabindex]:enabled:visible:not([readonly])').each(function (ev) { - elements.push(Number($(this).data('tabindex'))); - }); - elements.sort(function(a,b){return a-b}); - - var arrayPos = $.inArray(tabindex, elements); - if (!e.shiftKey){ - arrayPos < elements.length-1 ? - that.$element.find('[data-tabindex='+elements[arrayPos+1]+']').focus() : - that.$element.find('[data-tabindex='+elements[0]+']').focus(); - } else { - arrayPos == 0 ? - that.$element.find('[data-tabindex='+elements[elements.length-1]+']').focus() : - that.$element.find('[data-tabindex='+elements[arrayPos-1]+']').focus(); - } - - e.preventDefault(); - } - }); - } else if (!this.isShown) { - this.$element.off('keydown.tabindex.modal'); - } - }, - - escape: function () { - var that = this; - if (this.isShown && this.options.keyboard) { - if (!this.$element.attr('tabindex')) this.$element.attr('tabindex', -1); - - this.$element.on('keyup.dismiss.modal', function (e) { - e.which == 27 && that.hide(); - }); - } else if (!this.isShown) { - this.$element.off('keyup.dismiss.modal') - } - }, - - hideWithTransition: function () { - var that = this - , timeout = setTimeout(function () { - that.$element.off($.support.transition.end); - that.hideModal(); - }, 500); - - this.$element.one($.support.transition.end, function () { - clearTimeout(timeout); - that.hideModal(); - }); - }, - - hideModal: function () { - var prop = this.options.height ? 'height' : 'max-height'; - var value = this.options.height || this.options.maxHeight; - - if (value){ - this.$element.find('.modal-body') - .css('overflow', '') - .css(prop, ''); - } - - this.$element - .hide() - .trigger('hidden'); - }, - - removeLoading: function () { - this.$loading.remove(); - this.$loading = null; - this.isLoading = false; - }, - - loading: function (callback) { - callback = callback || function () {}; - - var animate = this.$element.hasClass('fade') ? 'fade' : ''; - - if (!this.isLoading) { - var doAnimate = $.support.transition && animate; - - this.$loading = $('
    ') - .append(this.options.spinner) - .appendTo(this.$element); - - if (doAnimate) this.$loading[0].offsetWidth; // force reflow - - this.$loading.addClass('in'); - - this.isLoading = true; - - doAnimate ? - this.$loading.one($.support.transition.end, callback) : - callback(); - - } else if (this.isLoading && this.$loading) { - this.$loading.removeClass('in'); - - var that = this; - $.support.transition && this.$element.hasClass('fade')? - this.$loading.one($.support.transition.end, function () { that.removeLoading() }) : - that.removeLoading(); - - } else if (callback) { - callback(this.isLoading); - } - }, - - focus: function () { - var $focusElem = this.$element.find(this.options.focusOn); - - $focusElem = $focusElem.length ? $focusElem : this.$element; - - $focusElem.focus(); - }, - - attention: function (){ - // NOTE: transitionEnd with keyframes causes odd behaviour - - if (this.options.attentionAnimation){ - this.$element - .removeClass('animated') - .removeClass(this.options.attentionAnimation); - - var that = this; - - setTimeout(function () { - that.$element - .addClass('animated') - .addClass(that.options.attentionAnimation); - }, 0); - } - - - this.focus(); - }, - - - destroy: function () { - var e = $.Event('destroy'); - - this.$element.trigger(e); - - if (e.isDefaultPrevented()) return; - - this.$element - .off('.modal') - .removeData('modal') - .removeClass('in') - .attr('aria-hidden', true); - - if (this.$parent !== this.$element.parent()) { - this.$element.appendTo(this.$parent); - } else if (!this.$parent.length) { - // modal is not part of the DOM so remove it. - this.$element.remove(); - this.$element = null; - } - - this.$element.trigger('destroyed'); - } - }; - - - /* MODAL PLUGIN DEFINITION - * ======================= */ - - $.fn.modal = function (option, args) { - return this.each(function () { - var $this = $(this), - data = $this.data('modal'), - options = $.extend({}, $.fn.modal.defaults, $this.data(), typeof option == 'object' && option); - - if (!data) $this.data('modal', (data = new Modal(this, options))); - if (typeof option == 'string') data[option].apply(data, [].concat(args)); - else if (options.show) data.show() - }) - }; - - $.fn.modal.defaults = { - keyboard: true, - backdrop: true, - loading: false, - show: true, - width: null, - height: null, - maxHeight: null, - modalOverflow: false, - consumeTab: true, - focusOn: null, - replace: false, - resize: false, - attentionAnimation: 'shake', - manager: 'body', - spinner: '
    ', - backdropTemplate: '')[0]; - oSettings.nTable.parentNode.insertBefore( nHolding, oSettings.nTable ); - - /* - * All DataTables are wrapped in a div - */ - oSettings.nTableWrapper = $('
    ')[0]; - oSettings.nTableReinsertBefore = oSettings.nTable.nextSibling; - - /* Track where we want to insert the option */ - var nInsertNode = oSettings.nTableWrapper; - - /* Loop over the user set positioning and place the elements as needed */ - var aDom = oSettings.sDom.split(''); - var nTmp, iPushFeature, cOption, nNewNode, cNext, sAttr, j; - for ( var i=0 ; i
    ')[0]; - - /* Check to see if we should append an id and/or a class name to the container */ - cNext = aDom[i+1]; - if ( cNext == "'" || cNext == '"' ) - { - sAttr = ""; - j = 2; - while ( aDom[i+j] != cNext ) - { - sAttr += aDom[i+j]; - j++; - } - - /* Replace jQuery UI constants */ - if ( sAttr == "H" ) - { - sAttr = oSettings.oClasses.sJUIHeader; - } - else if ( sAttr == "F" ) - { - sAttr = oSettings.oClasses.sJUIFooter; - } - - /* The attribute can be in the format of "#id.class", "#id" or "class" This logic - * breaks the string into parts and applies them as needed - */ - if ( sAttr.indexOf('.') != -1 ) - { - var aSplit = sAttr.split('.'); - nNewNode.id = aSplit[0].substr(1, aSplit[0].length-1); - nNewNode.className = aSplit[1]; - } - else if ( sAttr.charAt(0) == "#" ) - { - nNewNode.id = sAttr.substr(1, sAttr.length-1); - } - else - { - nNewNode.className = sAttr; - } - - i += j; /* Move along the position array */ - } - - nInsertNode.appendChild( nNewNode ); - nInsertNode = nNewNode; - } - else if ( cOption == '>' ) - { - /* End container div */ - nInsertNode = nInsertNode.parentNode; - } - else if ( cOption == 'l' && oSettings.oFeatures.bPaginate && oSettings.oFeatures.bLengthChange ) - { - /* Length */ - nTmp = _fnFeatureHtmlLength( oSettings ); - iPushFeature = 1; - } - else if ( cOption == 'f' && oSettings.oFeatures.bFilter ) - { - /* Filter */ - nTmp = _fnFeatureHtmlFilter( oSettings ); - iPushFeature = 1; - } - else if ( cOption == 'r' && oSettings.oFeatures.bProcessing ) - { - /* pRocessing */ - nTmp = _fnFeatureHtmlProcessing( oSettings ); - iPushFeature = 1; - } - else if ( cOption == 't' ) - { - /* Table */ - nTmp = _fnFeatureHtmlTable( oSettings ); - iPushFeature = 1; - } - else if ( cOption == 'i' && oSettings.oFeatures.bInfo ) - { - /* Info */ - nTmp = _fnFeatureHtmlInfo( oSettings ); - iPushFeature = 1; - } - else if ( cOption == 'p' && oSettings.oFeatures.bPaginate ) - { - /* Pagination */ - nTmp = _fnFeatureHtmlPaginate( oSettings ); - iPushFeature = 1; - } - else if ( DataTable.ext.aoFeatures.length !== 0 ) - { - /* Plug-in features */ - var aoFeatures = DataTable.ext.aoFeatures; - for ( var k=0, kLen=aoFeatures.length ; k') : - sSearchStr==="" ? '' : sSearchStr+' '; - - var nFilter = document.createElement( 'div' ); - nFilter.className = oSettings.oClasses.sFilter; - nFilter.innerHTML = ''; - if ( !oSettings.aanFeatures.f ) - { - nFilter.id = oSettings.sTableId+'_filter'; - } - - var jqFilter = $('input[type="text"]', nFilter); - - // Store a reference to the input element, so other input elements could be - // added to the filter wrapper if needed (submit button for example) - nFilter._DT_Input = jqFilter[0]; - - jqFilter.val( oPreviousSearch.sSearch.replace('"','"') ); - jqFilter.bind( 'keyup.DT', function(e) { - /* Update all other filter input elements for the new display */ - var n = oSettings.aanFeatures.f; - var val = this.value==="" ? "" : this.value; // mental IE8 fix :-( - - for ( var i=0, iLen=n.length ; i=0 ; i-- ) - { - var sData = _fnDataToSearch( _fnGetCellData( oSettings, oSettings.aiDisplay[i], iColumn, 'filter' ), - oSettings.aoColumns[iColumn].sType ); - if ( ! rpSearch.test( sData ) ) - { - oSettings.aiDisplay.splice( i, 1 ); - iIndexCorrector++; - } - } - } - - - /** - * Filter the data table based on user input and draw the table - * @param {object} oSettings dataTables settings object - * @param {string} sInput string to filter on - * @param {int} iForce optional - force a research of the master array (1) or not (undefined or 0) - * @param {bool} bRegex treat as a regular expression or not - * @param {bool} bSmart perform smart filtering or not - * @param {bool} bCaseInsensitive Do case insenstive matching or not - * @memberof DataTable#oApi - */ - function _fnFilter( oSettings, sInput, iForce, bRegex, bSmart, bCaseInsensitive ) - { - var i; - var rpSearch = _fnFilterCreateSearch( sInput, bRegex, bSmart, bCaseInsensitive ); - var oPrevSearch = oSettings.oPreviousSearch; - - /* Check if we are forcing or not - optional parameter */ - if ( !iForce ) - { - iForce = 0; - } - - /* Need to take account of custom filtering functions - always filter */ - if ( DataTable.ext.afnFiltering.length !== 0 ) - { - iForce = 1; - } - - /* - * If the input is blank - we want the full data set - */ - if ( sInput.length <= 0 ) - { - oSettings.aiDisplay.splice( 0, oSettings.aiDisplay.length); - oSettings.aiDisplay = oSettings.aiDisplayMaster.slice(); - } - else - { - /* - * We are starting a new search or the new search string is smaller - * then the old one (i.e. delete). Search from the master array - */ - if ( oSettings.aiDisplay.length == oSettings.aiDisplayMaster.length || - oPrevSearch.sSearch.length > sInput.length || iForce == 1 || - sInput.indexOf(oPrevSearch.sSearch) !== 0 ) - { - /* Nuke the old display array - we are going to rebuild it */ - oSettings.aiDisplay.splice( 0, oSettings.aiDisplay.length); - - /* Force a rebuild of the search array */ - _fnBuildSearchArray( oSettings, 1 ); - - /* Search through all records to populate the search array - * The the oSettings.aiDisplayMaster and asDataSearch arrays have 1 to 1 - * mapping - */ - for ( i=0 ; i').html(sSearch).text(); - } - - // Strip newline characters - return sSearch.replace( /[\n\r]/g, " " ); - } - - /** - * Build a regular expression object suitable for searching a table - * @param {string} sSearch string to search for - * @param {bool} bRegex treat as a regular expression or not - * @param {bool} bSmart perform smart filtering or not - * @param {bool} bCaseInsensitive Do case insensitive matching or not - * @returns {RegExp} constructed object - * @memberof DataTable#oApi - */ - function _fnFilterCreateSearch( sSearch, bRegex, bSmart, bCaseInsensitive ) - { - var asSearch, sRegExpString; - - if ( bSmart ) - { - /* Generate the regular expression to use. Something along the lines of: - * ^(?=.*?\bone\b)(?=.*?\btwo\b)(?=.*?\bthree\b).*$ - */ - asSearch = bRegex ? sSearch.split( ' ' ) : _fnEscapeRegex( sSearch ).split( ' ' ); - sRegExpString = '^(?=.*?'+asSearch.join( ')(?=.*?' )+').*$'; - return new RegExp( sRegExpString, bCaseInsensitive ? "i" : "" ); - } - else - { - sSearch = bRegex ? sSearch : _fnEscapeRegex( sSearch ); - return new RegExp( sSearch, bCaseInsensitive ? "i" : "" ); - } - } - - - /** - * Convert raw data into something that the user can search on - * @param {string} sData data to be modified - * @param {string} sType data type - * @returns {string} search string - * @memberof DataTable#oApi - */ - function _fnDataToSearch ( sData, sType ) - { - if ( typeof DataTable.ext.ofnSearch[sType] === "function" ) - { - return DataTable.ext.ofnSearch[sType]( sData ); - } - else if ( sData === null ) - { - return ''; - } - else if ( sType == "html" ) - { - return sData.replace(/[\r\n]/g," ").replace( /<.*?>/g, "" ); - } - else if ( typeof sData === "string" ) - { - return sData.replace(/[\r\n]/g," "); - } - return sData; - } - - - /** - * scape a string such that it can be used in a regular expression - * @param {string} sVal string to escape - * @returns {string} escaped string - * @memberof DataTable#oApi - */ - function _fnEscapeRegex ( sVal ) - { - var acEscape = [ '/', '.', '*', '+', '?', '|', '(', ')', '[', ']', '{', '}', '\\', '$', '^', '-' ]; - var reReplace = new RegExp( '(\\' + acEscape.join('|\\') + ')', 'g' ); - return sVal.replace(reReplace, '\\$1'); - } - - - /** - * Generate the node required for the info display - * @param {object} oSettings dataTables settings object - * @returns {node} Information element - * @memberof DataTable#oApi - */ - function _fnFeatureHtmlInfo ( oSettings ) - { - var nInfo = document.createElement( 'div' ); - nInfo.className = oSettings.oClasses.sInfo; - - /* Actions that are to be taken once only for this feature */ - if ( !oSettings.aanFeatures.i ) - { - /* Add draw callback */ - oSettings.aoDrawCallback.push( { - "fn": _fnUpdateInfo, - "sName": "information" - } ); - - /* Add id */ - nInfo.id = oSettings.sTableId+'_info'; - } - oSettings.nTable.setAttribute( 'aria-describedby', oSettings.sTableId+'_info' ); - - return nInfo; - } - - - /** - * Update the information elements in the display - * @param {object} oSettings dataTables settings object - * @memberof DataTable#oApi - */ - function _fnUpdateInfo ( oSettings ) - { - /* Show information about the table */ - if ( !oSettings.oFeatures.bInfo || oSettings.aanFeatures.i.length === 0 ) - { - return; - } - - var - oLang = oSettings.oLanguage, - iStart = oSettings._iDisplayStart+1, - iEnd = oSettings.fnDisplayEnd(), - iMax = oSettings.fnRecordsTotal(), - iTotal = oSettings.fnRecordsDisplay(), - sOut; - - if ( iTotal === 0 ) - { - /* Empty record set */ - sOut = oLang.sInfoEmpty; - } - else { - /* Normal record set */ - sOut = oLang.sInfo; - } - - if ( iTotal != iMax ) - { - /* Record set after filtering */ - sOut += ' ' + oLang.sInfoFiltered; - } - - // Convert the macros - sOut += oLang.sInfoPostFix; - sOut = _fnInfoMacros( oSettings, sOut ); - - if ( oLang.fnInfoCallback !== null ) - { - sOut = oLang.fnInfoCallback.call( oSettings.oInstance, - oSettings, iStart, iEnd, iMax, iTotal, sOut ); - } - - var n = oSettings.aanFeatures.i; - for ( var i=0, iLen=n.length ; i'; - var i, iLen; - var aLengthMenu = oSettings.aLengthMenu; - - if ( aLengthMenu.length == 2 && typeof aLengthMenu[0] === 'object' && - typeof aLengthMenu[1] === 'object' ) - { - for ( i=0, iLen=aLengthMenu[0].length ; i'+aLengthMenu[1][i]+''; - } - } - else - { - for ( i=0, iLen=aLengthMenu.length ; i'+aLengthMenu[i]+''; - } - } - sStdMenu += ''; - - var nLength = document.createElement( 'div' ); - if ( !oSettings.aanFeatures.l ) - { - nLength.id = oSettings.sTableId+'_length'; - } - nLength.className = oSettings.oClasses.sLength; - nLength.innerHTML = ''; - - /* - * Set the length to the current display length - thanks to Andrea Pavlovic for this fix, - * and Stefan Skopnik for fixing the fix! - */ - $('select option[value="'+oSettings._iDisplayLength+'"]', nLength).attr("selected", true); - - $('select', nLength).bind( 'change.DT', function(e) { - var iVal = $(this).val(); - - /* Update all other length options for the new display */ - var n = oSettings.aanFeatures.l; - for ( i=0, iLen=n.length ; i oSettings.aiDisplay.length || - oSettings._iDisplayLength == -1 ) - { - oSettings._iDisplayEnd = oSettings.aiDisplay.length; - } - else - { - oSettings._iDisplayEnd = oSettings._iDisplayStart + oSettings._iDisplayLength; - } - } - } - - - - /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * Note that most of the paging logic is done in - * DataTable.ext.oPagination - */ - - /** - * Generate the node required for default pagination - * @param {object} oSettings dataTables settings object - * @returns {node} Pagination feature node - * @memberof DataTable#oApi - */ - function _fnFeatureHtmlPaginate ( oSettings ) - { - if ( oSettings.oScroll.bInfinite ) - { - return null; - } - - var nPaginate = document.createElement( 'div' ); - nPaginate.className = oSettings.oClasses.sPaging+oSettings.sPaginationType; - - DataTable.ext.oPagination[ oSettings.sPaginationType ].fnInit( oSettings, nPaginate, - function( oSettings ) { - _fnCalculateEnd( oSettings ); - _fnDraw( oSettings ); - } - ); - - /* Add a draw callback for the pagination on first instance, to update the paging display */ - if ( !oSettings.aanFeatures.p ) - { - oSettings.aoDrawCallback.push( { - "fn": function( oSettings ) { - DataTable.ext.oPagination[ oSettings.sPaginationType ].fnUpdate( oSettings, function( oSettings ) { - _fnCalculateEnd( oSettings ); - _fnDraw( oSettings ); - } ); - }, - "sName": "pagination" - } ); - } - return nPaginate; - } - - - /** - * Alter the display settings to change the page - * @param {object} oSettings dataTables settings object - * @param {string|int} mAction Paging action to take: "first", "previous", "next" or "last" - * or page number to jump to (integer) - * @returns {bool} true page has changed, false - no change (no effect) eg 'first' on page 1 - * @memberof DataTable#oApi - */ - function _fnPageChange ( oSettings, mAction ) - { - var iOldStart = oSettings._iDisplayStart; - - if ( typeof mAction === "number" ) - { - oSettings._iDisplayStart = mAction * oSettings._iDisplayLength; - if ( oSettings._iDisplayStart > oSettings.fnRecordsDisplay() ) - { - oSettings._iDisplayStart = 0; - } - } - else if ( mAction == "first" ) - { - oSettings._iDisplayStart = 0; - } - else if ( mAction == "previous" ) - { - oSettings._iDisplayStart = oSettings._iDisplayLength>=0 ? - oSettings._iDisplayStart - oSettings._iDisplayLength : - 0; - - /* Correct for under-run */ - if ( oSettings._iDisplayStart < 0 ) - { - oSettings._iDisplayStart = 0; - } - } - else if ( mAction == "next" ) - { - if ( oSettings._iDisplayLength >= 0 ) - { - /* Make sure we are not over running the display array */ - if ( oSettings._iDisplayStart + oSettings._iDisplayLength < oSettings.fnRecordsDisplay() ) - { - oSettings._iDisplayStart += oSettings._iDisplayLength; - } - } - else - { - oSettings._iDisplayStart = 0; - } - } - else if ( mAction == "last" ) - { - if ( oSettings._iDisplayLength >= 0 ) - { - var iPages = parseInt( (oSettings.fnRecordsDisplay()-1) / oSettings._iDisplayLength, 10 ) + 1; - oSettings._iDisplayStart = (iPages-1) * oSettings._iDisplayLength; - } - else - { - oSettings._iDisplayStart = 0; - } - } - else - { - _fnLog( oSettings, 0, "Unknown paging action: "+mAction ); - } - $(oSettings.oInstance).trigger('page', oSettings); - - return iOldStart != oSettings._iDisplayStart; - } - - - - /** - * Generate the node required for the processing node - * @param {object} oSettings dataTables settings object - * @returns {node} Processing element - * @memberof DataTable#oApi - */ - function _fnFeatureHtmlProcessing ( oSettings ) - { - var nProcessing = document.createElement( 'div' ); - - if ( !oSettings.aanFeatures.r ) - { - nProcessing.id = oSettings.sTableId+'_processing'; - } - nProcessing.innerHTML = oSettings.oLanguage.sProcessing; - nProcessing.className = oSettings.oClasses.sProcessing; - oSettings.nTable.parentNode.insertBefore( nProcessing, oSettings.nTable ); - - return nProcessing; - } - - - /** - * Display or hide the processing indicator - * @param {object} oSettings dataTables settings object - * @param {bool} bShow Show the processing indicator (true) or not (false) - * @memberof DataTable#oApi - */ - function _fnProcessingDisplay ( oSettings, bShow ) - { - if ( oSettings.oFeatures.bProcessing ) - { - var an = oSettings.aanFeatures.r; - for ( var i=0, iLen=an.length ; i 0 ) - { - nCaption = nCaption[0]; - if ( nCaption._captionSide === "top" ) - { - nScrollHeadTable.appendChild( nCaption ); - } - else if ( nCaption._captionSide === "bottom" && nTfoot ) - { - nScrollFootTable.appendChild( nCaption ); - } - } - - /* - * Sizing - */ - /* When x-scrolling add the width and a scroller to move the header with the body */ - if ( oSettings.oScroll.sX !== "" ) - { - nScrollHead.style.width = _fnStringToCss( oSettings.oScroll.sX ); - nScrollBody.style.width = _fnStringToCss( oSettings.oScroll.sX ); - - if ( nTfoot !== null ) - { - nScrollFoot.style.width = _fnStringToCss( oSettings.oScroll.sX ); - } - - /* When the body is scrolled, then we also want to scroll the headers */ - $(nScrollBody).scroll( function (e) { - nScrollHead.scrollLeft = this.scrollLeft; - - if ( nTfoot !== null ) - { - nScrollFoot.scrollLeft = this.scrollLeft; - } - } ); - } - - /* When yscrolling, add the height */ - if ( oSettings.oScroll.sY !== "" ) - { - nScrollBody.style.height = _fnStringToCss( oSettings.oScroll.sY ); - } - - /* Redraw - align columns across the tables */ - oSettings.aoDrawCallback.push( { - "fn": _fnScrollDraw, - "sName": "scrolling" - } ); - - /* Infinite scrolling event handlers */ - if ( oSettings.oScroll.bInfinite ) - { - $(nScrollBody).scroll( function() { - /* Use a blocker to stop scrolling from loading more data while other data is still loading */ - if ( !oSettings.bDrawing && $(this).scrollTop() !== 0 ) - { - /* Check if we should load the next data set */ - if ( $(this).scrollTop() + $(this).height() > - $(oSettings.nTable).height() - oSettings.oScroll.iLoadGap ) - { - /* Only do the redraw if we have to - we might be at the end of the data */ - if ( oSettings.fnDisplayEnd() < oSettings.fnRecordsDisplay() ) - { - _fnPageChange( oSettings, 'next' ); - _fnCalculateEnd( oSettings ); - _fnDraw( oSettings ); - } - } - } - } ); - } - - oSettings.nScrollHead = nScrollHead; - oSettings.nScrollFoot = nScrollFoot; - - return nScroller; - } - - - /** - * Update the various tables for resizing. It's a bit of a pig this function, but - * basically the idea to: - * 1. Re-create the table inside the scrolling div - * 2. Take live measurements from the DOM - * 3. Apply the measurements - * 4. Clean up - * @param {object} o dataTables settings object - * @returns {node} Node to add to the DOM - * @memberof DataTable#oApi - */ - function _fnScrollDraw ( o ) - { - var - nScrollHeadInner = o.nScrollHead.getElementsByTagName('div')[0], - nScrollHeadTable = nScrollHeadInner.getElementsByTagName('table')[0], - nScrollBody = o.nTable.parentNode, - i, iLen, j, jLen, anHeadToSize, anHeadSizers, anFootSizers, anFootToSize, oStyle, iVis, - nTheadSize, nTfootSize, - iWidth, aApplied=[], aAppliedFooter=[], iSanityWidth, - nScrollFootInner = (o.nTFoot !== null) ? o.nScrollFoot.getElementsByTagName('div')[0] : null, - nScrollFootTable = (o.nTFoot !== null) ? nScrollFootInner.getElementsByTagName('table')[0] : null, - ie67 = o.oBrowser.bScrollOversize, - zeroOut = function(nSizer) { - oStyle = nSizer.style; - oStyle.paddingTop = "0"; - oStyle.paddingBottom = "0"; - oStyle.borderTopWidth = "0"; - oStyle.borderBottomWidth = "0"; - oStyle.height = 0; - }; - - /* - * 1. Re-create the table inside the scrolling div - */ - - /* Remove the old minimised thead and tfoot elements in the inner table */ - $(o.nTable).children('thead, tfoot').remove(); - - /* Clone the current header and footer elements and then place it into the inner table */ - nTheadSize = $(o.nTHead).clone()[0]; - o.nTable.insertBefore( nTheadSize, o.nTable.childNodes[0] ); - anHeadToSize = o.nTHead.getElementsByTagName('tr'); - anHeadSizers = nTheadSize.getElementsByTagName('tr'); - - if ( o.nTFoot !== null ) - { - nTfootSize = $(o.nTFoot).clone()[0]; - o.nTable.insertBefore( nTfootSize, o.nTable.childNodes[1] ); - anFootToSize = o.nTFoot.getElementsByTagName('tr'); - anFootSizers = nTfootSize.getElementsByTagName('tr'); - } - - /* - * 2. Take live measurements from the DOM - do not alter the DOM itself! - */ - - /* Remove old sizing and apply the calculated column widths - * Get the unique column headers in the newly created (cloned) header. We want to apply the - * calculated sizes to this header - */ - if ( o.oScroll.sX === "" ) - { - nScrollBody.style.width = '100%'; - nScrollHeadInner.parentNode.style.width = '100%'; - } - - var nThs = _fnGetUniqueThs( o, nTheadSize ); - for ( i=0, iLen=nThs.length ; i nScrollBody.offsetHeight || - $(nScrollBody).css('overflow-y') == "scroll") ) - { - o.nTable.style.width = _fnStringToCss( $(o.nTable).outerWidth() - o.oScroll.iBarWidth); - } - } - else - { - if ( o.oScroll.sXInner !== "" ) - { - /* x scroll inner has been given - use it */ - o.nTable.style.width = _fnStringToCss(o.oScroll.sXInner); - } - else if ( iSanityWidth == $(nScrollBody).width() && - $(nScrollBody).height() < $(o.nTable).height() ) - { - /* There is y-scrolling - try to take account of the y scroll bar */ - o.nTable.style.width = _fnStringToCss( iSanityWidth-o.oScroll.iBarWidth ); - if ( $(o.nTable).outerWidth() > iSanityWidth-o.oScroll.iBarWidth ) - { - /* Not possible to take account of it */ - o.nTable.style.width = _fnStringToCss( iSanityWidth ); - } - } - else - { - /* All else fails */ - o.nTable.style.width = _fnStringToCss( iSanityWidth ); - } - } - - /* Recalculate the sanity width - now that we've applied the required width, before it was - * a temporary variable. This is required because the column width calculation is done - * before this table DOM is created. - */ - iSanityWidth = $(o.nTable).outerWidth(); - - /* We want the hidden header to have zero height, so remove padding and borders. Then - * set the width based on the real headers - */ - - // Apply all styles in one pass. Invalidates layout only once because we don't read any - // DOM properties. - _fnApplyToChildren( zeroOut, anHeadSizers ); - - // Read all widths in next pass. Forces layout only once because we do not change - // any DOM properties. - _fnApplyToChildren( function(nSizer) { - aApplied.push( _fnStringToCss( $(nSizer).width() ) ); - }, anHeadSizers ); - - // Apply all widths in final pass. Invalidates layout only once because we do not - // read any DOM properties. - _fnApplyToChildren( function(nToSize, i) { - nToSize.style.width = aApplied[i]; - }, anHeadToSize ); - - $(anHeadSizers).height(0); - - /* Same again with the footer if we have one */ - if ( o.nTFoot !== null ) - { - _fnApplyToChildren( zeroOut, anFootSizers ); - - _fnApplyToChildren( function(nSizer) { - aAppliedFooter.push( _fnStringToCss( $(nSizer).width() ) ); - }, anFootSizers ); - - _fnApplyToChildren( function(nToSize, i) { - nToSize.style.width = aAppliedFooter[i]; - }, anFootToSize ); - - $(anFootSizers).height(0); - } - - /* - * 3. Apply the measurements - */ - - /* "Hide" the header and footer that we used for the sizing. We want to also fix their width - * to what they currently are - */ - _fnApplyToChildren( function(nSizer, i) { - nSizer.innerHTML = ""; - nSizer.style.width = aApplied[i]; - //fix column align - nSizer.style.minWidth =nSizer.style.width; - }, anHeadSizers ); - - if ( o.nTFoot !== null ) - { - _fnApplyToChildren( function(nSizer, i) { - nSizer.innerHTML = ""; - nSizer.style.width = aAppliedFooter[i]; - }, anFootSizers ); - } - - /* Sanity check that the table is of a sensible width. If not then we are going to get - * misalignment - try to prevent this by not allowing the table to shrink below its min width - */ - if ( $(o.nTable).outerWidth() < iSanityWidth ) - { - /* The min width depends upon if we have a vertical scrollbar visible or not */ - var iCorrection = ((nScrollBody.scrollHeight > nScrollBody.offsetHeight || - $(nScrollBody).css('overflow-y') == "scroll")) ? - iSanityWidth+o.oScroll.iBarWidth : iSanityWidth; - - /* IE6/7 are a law unto themselves... */ - if ( ie67 && (nScrollBody.scrollHeight > - nScrollBody.offsetHeight || $(nScrollBody).css('overflow-y') == "scroll") ) - { - o.nTable.style.width = _fnStringToCss( iCorrection-o.oScroll.iBarWidth ); - } - - /* Apply the calculated minimum width to the table wrappers */ - nScrollBody.style.width = _fnStringToCss( iCorrection ); - o.nScrollHead.style.width = _fnStringToCss( iCorrection ); - - if ( o.nTFoot !== null ) - { - o.nScrollFoot.style.width = _fnStringToCss( iCorrection ); - } - - /* And give the user a warning that we've stopped the table getting too small */ - if ( o.oScroll.sX === "" ) - { - _fnLog( o, 1, "The table cannot fit into the current element which will cause column"+ - " misalignment. The table has been drawn at its minimum possible width." ); - } - else if ( o.oScroll.sXInner !== "" ) - { - _fnLog( o, 1, "The table cannot fit into the current element which will cause column"+ - " misalignment. Increase the sScrollXInner value or remove it to allow automatic"+ - " calculation" ); - } - } - else - { - nScrollBody.style.width = _fnStringToCss( '100%' ); - o.nScrollHead.style.width = _fnStringToCss( '100%' ); - - if ( o.nTFoot !== null ) - { - o.nScrollFoot.style.width = _fnStringToCss( '100%' ); - } - } - - - /* - * 4. Clean up - */ - if ( o.oScroll.sY === "" ) - { - /* IE7< puts a vertical scrollbar in place (when it shouldn't be) due to subtracting - * the scrollbar height from the visible display, rather than adding it on. We need to - * set the height in order to sort this. Don't want to do it in any other browsers. - */ - if ( ie67 ) - { - nScrollBody.style.height = _fnStringToCss( o.nTable.offsetHeight+o.oScroll.iBarWidth ); - } - } - - if ( o.oScroll.sY !== "" && o.oScroll.bCollapse ) - { - nScrollBody.style.height = _fnStringToCss( o.oScroll.sY ); - - var iExtra = (o.oScroll.sX !== "" && o.nTable.offsetWidth > nScrollBody.offsetWidth) ? - o.oScroll.iBarWidth : 0; - if ( o.nTable.offsetHeight < nScrollBody.offsetHeight ) - { - nScrollBody.style.height = _fnStringToCss( o.nTable.offsetHeight+iExtra ); - } - } - - /* Finally set the width's of the header and footer tables */ - var iOuterWidth = $(o.nTable).outerWidth(); - nScrollHeadTable.style.width = _fnStringToCss( iOuterWidth ); - nScrollHeadInner.style.width = _fnStringToCss( iOuterWidth ); - - // Figure out if there are scrollbar present - if so then we need a the header and footer to - // provide a bit more space to allow "overflow" scrolling (i.e. past the scrollbar) - var bScrolling = $(o.nTable).height() > nScrollBody.clientHeight || $(nScrollBody).css('overflow-y') == "scroll"; - nScrollHeadInner.style.paddingRight = bScrolling ? o.oScroll.iBarWidth+"px" : "0px"; - - if ( o.nTFoot !== null ) - { - nScrollFootTable.style.width = _fnStringToCss( iOuterWidth ); - nScrollFootInner.style.width = _fnStringToCss( iOuterWidth ); - nScrollFootInner.style.paddingRight = bScrolling ? o.oScroll.iBarWidth+"px" : "0px"; - } - - /* Adjust the position of the header in case we loose the y-scrollbar */ - $(nScrollBody).scroll(); - - /* If sorting or filtering has occurred, jump the scrolling back to the top */ - if ( o.bSorted || o.bFiltered ) - { - nScrollBody.scrollTop = 0; - } - } - - - /** - * Apply a given function to the display child nodes of an element array (typically - * TD children of TR rows - * @param {function} fn Method to apply to the objects - * @param array {nodes} an1 List of elements to look through for display children - * @param array {nodes} an2 Another list (identical structure to the first) - optional - * @memberof DataTable#oApi - */ - function _fnApplyToChildren( fn, an1, an2 ) - { - var index=0, i=0, iLen=an1.length; - var nNode1, nNode2; - - while ( i < iLen ) - { - nNode1 = an1[i].firstChild; - nNode2 = an2 ? an2[i].firstChild : null; - while ( nNode1 ) - { - if ( nNode1.nodeType === 1 ) - { - if ( an2 ) - { - fn( nNode1, nNode2, index ); - } - else - { - fn( nNode1, index ); - } - index++; - } - nNode1 = nNode1.nextSibling; - nNode2 = an2 ? nNode2.nextSibling : null; - } - i++; - } - } - - /** - * Convert a CSS unit width to pixels (e.g. 2em) - * @param {string} sWidth width to be converted - * @param {node} nParent parent to get the with for (required for relative widths) - optional - * @returns {int} iWidth width in pixels - * @memberof DataTable#oApi - */ - function _fnConvertToWidth ( sWidth, nParent ) - { - if ( !sWidth || sWidth === null || sWidth === '' ) - { - return 0; - } - - if ( !nParent ) - { - nParent = document.body; - } - - var iWidth; - var nTmp = document.createElement( "div" ); - nTmp.style.width = _fnStringToCss( sWidth ); - - nParent.appendChild( nTmp ); - iWidth = nTmp.offsetWidth; - nParent.removeChild( nTmp ); - - return ( iWidth ); - } - - - /** - * Calculate the width of columns for the table - * @param {object} oSettings dataTables settings object - * @memberof DataTable#oApi - */ - function _fnCalculateColumnWidths ( oSettings ) - { - var iTableWidth = oSettings.nTable.offsetWidth; - var iUserInputs = 0; - var iTmpWidth; - var iVisibleColumns = 0; - var iColums = oSettings.aoColumns.length; - var i, iIndex, iCorrector, iWidth; - var oHeaders = $('th', oSettings.nTHead); - var widthAttr = oSettings.nTable.getAttribute('width'); - var nWrapper = oSettings.nTable.parentNode; - - /* Convert any user input sizes into pixel sizes */ - for ( i=0 ; itd', nCalcTmp); - } - - /* Apply custom sizing to the cloned header */ - var nThs = _fnGetUniqueThs( oSettings, nTheadClone ); - iCorrector = 0; - for ( i=0 ; i 0 ) - { - oSettings.aoColumns[i].sWidth = _fnStringToCss( iWidth ); - } - iCorrector++; - } - } - - var cssWidth = $(nCalcTmp).css('width'); - oSettings.nTable.style.width = (cssWidth.indexOf('%') !== -1) ? - cssWidth : _fnStringToCss( $(nCalcTmp).outerWidth() ); - nCalcTmp.parentNode.removeChild( nCalcTmp ); - } - - if ( widthAttr ) - { - oSettings.nTable.style.width = _fnStringToCss( widthAttr ); - } - } - - - /** - * Adjust a table's width to take account of scrolling - * @param {object} oSettings dataTables settings object - * @param {node} n table node - * @memberof DataTable#oApi - */ - function _fnScrollingWidthAdjust ( oSettings, n ) - { - if ( oSettings.oScroll.sX === "" && oSettings.oScroll.sY !== "" ) - { - /* When y-scrolling only, we want to remove the width of the scroll bar so the table - * + scroll bar will fit into the area avaialble. - */ - var iOrigWidth = $(n).width(); - n.style.width = _fnStringToCss( $(n).outerWidth()-oSettings.oScroll.iBarWidth ); - } - else if ( oSettings.oScroll.sX !== "" ) - { - /* When x-scrolling both ways, fix the table at it's current size, without adjusting */ - n.style.width = _fnStringToCss( $(n).outerWidth() ); - } - } - - - /** - * Get the widest node - * @param {object} oSettings dataTables settings object - * @param {int} iCol column of interest - * @returns {node} widest table node - * @memberof DataTable#oApi - */ - function _fnGetWidestNode( oSettings, iCol ) - { - var iMaxIndex = _fnGetMaxLenString( oSettings, iCol ); - if ( iMaxIndex < 0 ) - { - return null; - } - - if ( oSettings.aoData[iMaxIndex].nTr === null ) - { - var n = document.createElement('td'); - n.innerHTML = _fnGetCellData( oSettings, iMaxIndex, iCol, '' ); - return n; - } - return _fnGetTdNodes(oSettings, iMaxIndex)[iCol]; - } - - - /** - * Get the maximum strlen for each data column - * @param {object} oSettings dataTables settings object - * @param {int} iCol column of interest - * @returns {string} max string length for each column - * @memberof DataTable#oApi - */ - function _fnGetMaxLenString( oSettings, iCol ) - { - var iMax = -1; - var iMaxIndex = -1; - - for ( var i=0 ; i/g, "" ); - if ( s.length > iMax ) - { - iMax = s.length; - iMaxIndex = i; - } - } - - return iMaxIndex; - } - - - /** - * Append a CSS unit (only if required) to a string - * @param {array} aArray1 first array - * @param {array} aArray2 second array - * @returns {int} 0 if match, 1 if length is different, 2 if no match - * @memberof DataTable#oApi - */ - function _fnStringToCss( s ) - { - if ( s === null ) - { - return "0px"; - } - - if ( typeof s == 'number' ) - { - if ( s < 0 ) - { - return "0px"; - } - return s+"px"; - } - - /* Check if the last character is not 0-9 */ - var c = s.charCodeAt( s.length-1 ); - if (c < 0x30 || c > 0x39) - { - return s; - } - return s+"px"; - } - - - /** - * Get the width of a scroll bar in this browser being used - * @returns {int} width in pixels - * @memberof DataTable#oApi - */ - function _fnScrollBarWidth () - { - var inner = document.createElement('p'); - var style = inner.style; - style.width = "100%"; - style.height = "200px"; - style.padding = "0px"; - - var outer = document.createElement('div'); - style = outer.style; - style.position = "absolute"; - style.top = "0px"; - style.left = "0px"; - style.visibility = "hidden"; - style.width = "200px"; - style.height = "150px"; - style.padding = "0px"; - style.overflow = "hidden"; - outer.appendChild(inner); - - document.body.appendChild(outer); - var w1 = inner.offsetWidth; - outer.style.overflow = 'scroll'; - var w2 = inner.offsetWidth; - if ( w1 == w2 ) - { - w2 = outer.clientWidth; - } - - document.body.removeChild(outer); - return (w1 - w2); - } - - /** - * Change the order of the table - * @param {object} oSettings dataTables settings object - * @param {bool} bApplyClasses optional - should we apply classes or not - * @memberof DataTable#oApi - */ - function _fnSort ( oSettings, bApplyClasses ) - { - var - i, iLen, j, jLen, k, kLen, - sDataType, nTh, - aaSort = [], - aiOrig = [], - oSort = DataTable.ext.oSort, - aoData = oSettings.aoData, - aoColumns = oSettings.aoColumns, - oAria = oSettings.oLanguage.oAria; - - /* No sorting required if server-side or no sorting array */ - if ( !oSettings.oFeatures.bServerSide && - (oSettings.aaSorting.length !== 0 || oSettings.aaSortingFixed !== null) ) - { - aaSort = ( oSettings.aaSortingFixed !== null ) ? - oSettings.aaSortingFixed.concat( oSettings.aaSorting ) : - oSettings.aaSorting.slice(); - - /* If there is a sorting data type, and a function belonging to it, then we need to - * get the data from the developer's function and apply it for this column - */ - for ( i=0 ; i/g, "" ); - nTh = aoColumns[i].nTh; - nTh.removeAttribute('aria-sort'); - nTh.removeAttribute('aria-label'); - - /* In ARIA only the first sorting column can be marked as sorting - no multi-sort option */ - if ( aoColumns[i].bSortable ) - { - if ( aaSort.length > 0 && aaSort[0][0] == i ) - { - nTh.setAttribute('aria-sort', aaSort[0][1]=="asc" ? "ascending" : "descending" ); - - var nextSort = (aoColumns[i].asSorting[ aaSort[0][2]+1 ]) ? - aoColumns[i].asSorting[ aaSort[0][2]+1 ] : aoColumns[i].asSorting[0]; - nTh.setAttribute('aria-label', sTitle+ - (nextSort=="asc" ? oAria.sSortAscending : oAria.sSortDescending) ); - } - else - { - nTh.setAttribute('aria-label', sTitle+ - (aoColumns[i].asSorting[0]=="asc" ? oAria.sSortAscending : oAria.sSortDescending) ); - } - } - else - { - nTh.setAttribute('aria-label', sTitle); - } - } - - /* Tell the draw function that we have sorted the data */ - oSettings.bSorted = true; - $(oSettings.oInstance).trigger('sort', oSettings); - - /* Copy the master data into the draw array and re-draw */ - if ( oSettings.oFeatures.bFilter ) - { - /* _fnFilter() will redraw the table for us */ - _fnFilterComplete( oSettings, oSettings.oPreviousSearch, 1 ); - } - else - { - oSettings.aiDisplay = oSettings.aiDisplayMaster.slice(); - oSettings._iDisplayStart = 0; /* reset display back to page 0 */ - _fnCalculateEnd( oSettings ); - _fnDraw( oSettings ); - } - } - - - /** - * Attach a sort handler (click) to a node - * @param {object} oSettings dataTables settings object - * @param {node} nNode node to attach the handler to - * @param {int} iDataIndex column sorting index - * @param {function} [fnCallback] callback function - * @memberof DataTable#oApi - */ - function _fnSortAttachListener ( oSettings, nNode, iDataIndex, fnCallback ) - { - _fnBindAction( nNode, {}, function (e) { - /* If the column is not sortable - don't to anything */ - if ( oSettings.aoColumns[iDataIndex].bSortable === false ) - { - return; - } - - /* - * This is a little bit odd I admit... I declare a temporary function inside the scope of - * _fnBuildHead and the click handler in order that the code presented here can be used - * twice - once for when bProcessing is enabled, and another time for when it is - * disabled, as we need to perform slightly different actions. - * Basically the issue here is that the Javascript engine in modern browsers don't - * appear to allow the rendering engine to update the display while it is still executing - * it's thread (well - it does but only after long intervals). This means that the - * 'processing' display doesn't appear for a table sort. To break the js thread up a bit - * I force an execution break by using setTimeout - but this breaks the expected - * thread continuation for the end-developer's point of view (their code would execute - * too early), so we only do it when we absolutely have to. - */ - var fnInnerSorting = function () { - var iColumn, iNextSort; - - /* If the shift key is pressed then we are multiple column sorting */ - if ( e.shiftKey ) - { - /* Are we already doing some kind of sort on this column? */ - var bFound = false; - for ( var i=0 ; i 0 && sCurrentClass.indexOf(sNewClass) == -1 ) - { - /* We need to add a class */ - nTds[i].className = sCurrentClass + " " + sNewClass; - } - } - } - } - - - - /** - * Save the state of a table in a cookie such that the page can be reloaded - * @param {object} oSettings dataTables settings object - * @memberof DataTable#oApi - */ - function _fnSaveState ( oSettings ) - { - if ( !oSettings.oFeatures.bStateSave || oSettings.bDestroying ) - { - return; - } - - /* Store the interesting variables */ - var i, iLen, bInfinite=oSettings.oScroll.bInfinite; - var oState = { - "iCreate": new Date().getTime(), - "iStart": (bInfinite ? 0 : oSettings._iDisplayStart), - "iEnd": (bInfinite ? oSettings._iDisplayLength : oSettings._iDisplayEnd), - "iLength": oSettings._iDisplayLength, - "aaSorting": $.extend( true, [], oSettings.aaSorting ), - "oSearch": $.extend( true, {}, oSettings.oPreviousSearch ), - "aoSearchCols": $.extend( true, [], oSettings.aoPreSearchCols ), - "abVisCols": [] - }; - - for ( i=0, iLen=oSettings.aoColumns.length ; i 4096 ) /* Magic 10 for padding */ - { - for ( var i=0, iLen=aCookies.length ; i 4096 ) { - if ( aOldCookies.length === 0 ) { - // Deleted all DT cookies and still not enough space. Can't state save - return; - } - - var old = aOldCookies.pop(); - document.cookie = old.name+"=; expires=Thu, 01-Jan-1970 00:00:01 GMT; path="+ - aParts.join('/') + "/"; - } - } - - document.cookie = sFullCookie; - } - - - /** - * Read an old cookie to get a cookie with an old table state - * @param {string} sName name of the cookie to read - * @returns {string} contents of the cookie - or null if no cookie with that name found - * @memberof DataTable#oApi - */ - function _fnReadCookie ( sName ) - { - var - aParts = window.location.pathname.split('/'), - sNameEQ = sName + '_' + aParts[aParts.length-1].replace(/[\/:]/g,"").toLowerCase() + '=', - sCookieContents = document.cookie.split(';'); - - for( var i=0 ; i=0 ; i-- ) - { - aRet.push( aoStore[i].fn.apply( oSettings.oInstance, aArgs ) ); - } - - if ( sTrigger !== null ) - { - $(oSettings.oInstance).trigger(sTrigger, aArgs); - } - - return aRet; - } - - - /** - * JSON stringify. If JSON.stringify it provided by the browser, json2.js or any other - * library, then we use that as it is fast, safe and accurate. If the function isn't - * available then we need to built it ourselves - the inspiration for this function comes - * from Craig Buckler ( http://www.sitepoint.com/javascript-json-serialization/ ). It is - * not perfect and absolutely should not be used as a replacement to json2.js - but it does - * do what we need, without requiring a dependency for DataTables. - * @param {object} o JSON object to be converted - * @returns {string} JSON string - * @memberof DataTable#oApi - */ - var _fnJsonString = (window.JSON) ? JSON.stringify : function( o ) - { - /* Not an object or array */ - var sType = typeof o; - if (sType !== "object" || o === null) - { - // simple data type - if (sType === "string") - { - o = '"'+o+'"'; - } - return o+""; - } - - /* If object or array, need to recurse over it */ - var - sProp, mValue, - json = [], - bArr = $.isArray(o); - - for (sProp in o) - { - mValue = o[sProp]; - sType = typeof mValue; - - if (sType === "string") - { - mValue = '"'+mValue+'"'; - } - else if (sType === "object" && mValue !== null) - { - mValue = _fnJsonString(mValue); - } - - json.push((bArr ? "" : '"'+sProp+'":') + mValue); - } - - return (bArr ? "[" : "{") + json + (bArr ? "]" : "}"); - }; - - - /** - * From some browsers (specifically IE6/7) we need special handling to work around browser - * bugs - this function is used to detect when these workarounds are needed. - * @param {object} oSettings dataTables settings object - * @memberof DataTable#oApi - */ - function _fnBrowserDetect( oSettings ) - { - /* IE6/7 will oversize a width 100% element inside a scrolling element, to include the - * width of the scrollbar, while other browsers ensure the inner element is contained - * without forcing scrolling - */ - var n = $( - '
    '+ - '
    '+ - '
    '+ - '
    '+ - '
    ')[0]; - - document.body.appendChild( n ); - oSettings.oBrowser.bScrollOversize = $('#DT_BrowserTest', n)[0].offsetWidth === 100 ? true : false; - document.body.removeChild( n ); - } - - - /** - * Perform a jQuery selector action on the table's TR elements (from the tbody) and - * return the resulting jQuery object. - * @param {string|node|jQuery} sSelector jQuery selector or node collection to act on - * @param {object} [oOpts] Optional parameters for modifying the rows to be included - * @param {string} [oOpts.filter=none] Select TR elements that meet the current filter - * criterion ("applied") or all TR elements (i.e. no filter). - * @param {string} [oOpts.order=current] Order of the TR elements in the processed array. - * Can be either 'current', whereby the current sorting of the table is used, or - * 'original' whereby the original order the data was read into the table is used. - * @param {string} [oOpts.page=all] Limit the selection to the currently displayed page - * ("current") or not ("all"). If 'current' is given, then order is assumed to be - * 'current' and filter is 'applied', regardless of what they might be given as. - * @returns {object} jQuery object, filtered by the given selector. - * @dtopt API - * - * @example - * $(document).ready(function() { - * var oTable = $('#example').dataTable(); - * - * // Highlight every second row - * oTable.$('tr:odd').css('backgroundColor', 'blue'); - * } ); - * - * @example - * $(document).ready(function() { - * var oTable = $('#example').dataTable(); - * - * // Filter to rows with 'Webkit' in them, add a background colour and then - * // remove the filter, thus highlighting the 'Webkit' rows only. - * oTable.fnFilter('Webkit'); - * oTable.$('tr', {"filter": "applied"}).css('backgroundColor', 'blue'); - * oTable.fnFilter(''); - * } ); - */ - this.$ = function ( sSelector, oOpts ) - { - var i, iLen, a = [], tr; - var oSettings = _fnSettingsFromNode( this[DataTable.ext.iApiIndex] ); - var aoData = oSettings.aoData; - var aiDisplay = oSettings.aiDisplay; - var aiDisplayMaster = oSettings.aiDisplayMaster; - - if ( !oOpts ) - { - oOpts = {}; - } - - oOpts = $.extend( {}, { - "filter": "none", // applied - "order": "current", // "original" - "page": "all" // current - }, oOpts ); - - // Current page implies that order=current and fitler=applied, since it is fairly - // senseless otherwise - if ( oOpts.page == 'current' ) - { - for ( i=oSettings._iDisplayStart, iLen=oSettings.fnDisplayEnd() ; i - *
  • 1D array of data - add a single row with the data provided
  • - *
  • 2D array of arrays - add multiple rows in a single call
  • - *
  • object - data object when using mData
  • - *
  • array of objects - multiple data objects when using mData
  • - * - * @param {bool} [bRedraw=true] redraw the table or not - * @returns {array} An array of integers, representing the list of indexes in - * aoData ({@link DataTable.models.oSettings}) that have been added to - * the table. - * @dtopt API - * - * @example - * // Global var for counter - * var giCount = 2; - * - * $(document).ready(function() { - * $('#example').dataTable(); - * } ); - * - * function fnClickAddRow() { - * $('#example').dataTable().fnAddData( [ - * giCount+".1", - * giCount+".2", - * giCount+".3", - * giCount+".4" ] - * ); - * - * giCount++; - * } - */ - this.fnAddData = function( mData, bRedraw ) - { - if ( mData.length === 0 ) - { - return []; - } - - var aiReturn = []; - var iTest; - - /* Find settings from table node */ - var oSettings = _fnSettingsFromNode( this[DataTable.ext.iApiIndex] ); - - /* Check if we want to add multiple rows or not */ - if ( typeof mData[0] === "object" && mData[0] !== null ) - { - for ( var i=0 ; i= oSettings.fnRecordsDisplay() ) - { - oSettings._iDisplayStart -= oSettings._iDisplayLength; - if ( oSettings._iDisplayStart < 0 ) - { - oSettings._iDisplayStart = 0; - } - } - - if ( bRedraw === undefined || bRedraw ) - { - _fnCalculateEnd( oSettings ); - _fnDraw( oSettings ); - } - - return oData; - }; - - - /** - * Restore the table to it's original state in the DOM by removing all of DataTables - * enhancements, alterations to the DOM structure of the table and event listeners. - * @param {boolean} [bRemove=false] Completely remove the table from the DOM - * @dtopt API - * - * @example - * $(document).ready(function() { - * // This example is fairly pointless in reality, but shows how fnDestroy can be used - * var oTable = $('#example').dataTable(); - * oTable.fnDestroy(); - * } ); - */ - this.fnDestroy = function ( bRemove ) - { - var oSettings = _fnSettingsFromNode( this[DataTable.ext.iApiIndex] ); - var nOrig = oSettings.nTableWrapper.parentNode; - var nBody = oSettings.nTBody; - var i, iLen; - - bRemove = (bRemove===undefined) ? false : bRemove; - - /* Flag to note that the table is currently being destroyed - no action should be taken */ - oSettings.bDestroying = true; - - /* Fire off the destroy callbacks for plug-ins etc */ - _fnCallbackFire( oSettings, "aoDestroyCallback", "destroy", [oSettings] ); - - /* If the table is not being removed, restore the hidden columns */ - if ( !bRemove ) - { - for ( i=0, iLen=oSettings.aoColumns.length ; itr>td.'+oSettings.oClasses.sRowEmpty, oSettings.nTable).parent().remove(); - - /* When scrolling we had to break the table up - restore it */ - if ( oSettings.nTable != oSettings.nTHead.parentNode ) - { - $(oSettings.nTable).children('thead').remove(); - oSettings.nTable.appendChild( oSettings.nTHead ); - } - - if ( oSettings.nTFoot && oSettings.nTable != oSettings.nTFoot.parentNode ) - { - $(oSettings.nTable).children('tfoot').remove(); - oSettings.nTable.appendChild( oSettings.nTFoot ); - } - - /* Remove the DataTables generated nodes, events and classes */ - oSettings.nTable.parentNode.removeChild( oSettings.nTable ); - $(oSettings.nTableWrapper).remove(); - - oSettings.aaSorting = []; - oSettings.aaSortingFixed = []; - _fnSortingClasses( oSettings ); - - $(_fnGetTrNodes( oSettings )).removeClass( oSettings.asStripeClasses.join(' ') ); - - $('th, td', oSettings.nTHead).removeClass( [ - oSettings.oClasses.sSortable, - oSettings.oClasses.sSortableAsc, - oSettings.oClasses.sSortableDesc, - oSettings.oClasses.sSortableNone ].join(' ') - ); - if ( oSettings.bJUI ) - { - $('th span.'+oSettings.oClasses.sSortIcon - + ', td span.'+oSettings.oClasses.sSortIcon, oSettings.nTHead).remove(); - - $('th, td', oSettings.nTHead).each( function () { - var jqWrapper = $('div.'+oSettings.oClasses.sSortJUIWrapper, this); - var kids = jqWrapper.contents(); - $(this).append( kids ); - jqWrapper.remove(); - } ); - } - - /* Add the TR elements back into the table in their original order */ - if ( !bRemove && oSettings.nTableReinsertBefore ) - { - nOrig.insertBefore( oSettings.nTable, oSettings.nTableReinsertBefore ); - } - else if ( !bRemove ) - { - nOrig.appendChild( oSettings.nTable ); - } - - for ( i=0, iLen=oSettings.aoData.length ; i
    for filtering data. - *
      - *
    • - * Function input parameters: - *
        - *
      • {*} Data from the column cell to be prepared for filtering
      • - *
      - *
    • - *
    • - * Function return: - *
        - *
      • {string|null} Formatted string that will be used for the filtering.
      • - *
      - * - *
    - * - * Note that as of v1.9, it is typically preferable to use mData to prepare data for - * the different uses that DataTables can put the data to. Specifically mData when - * used as a function will give you a 'type' (sorting, filtering etc) that you can use to - * prepare the data as required for the different types. As such, this method is deprecated. - * @type object - * @default {} - * @deprecated - * - * @example - * $.fn.dataTableExt.ofnSearch['title-numeric'] = function ( sData ) { - * return sData.replace(/\n/g," ").replace( /<.*?>/g, "" ); - * } - */ - "ofnSearch": {}, - - - /** - * Container for all private functions in DataTables so they can be exposed externally - * @type object - * @default {} - */ - "oApi": {}, - - - /** - * Storage for the various classes that DataTables uses - * @type object - * @default {} - */ - "oStdClasses": {}, - - - /** - * Storage for the various classes that DataTables uses - jQuery UI suitable - * @type object - * @default {} - */ - "oJUIClasses": {}, - - - /** - * Pagination plug-in methods - The style and controls of the pagination can significantly - * impact on how the end user interacts with the data in your table, and DataTables allows - * the addition of pagination controls by extending this object, which can then be enabled - * through the sPaginationType initialisation parameter. Each pagination type that - * is added is an object (the property name of which is what sPaginationType refers - * to) that has two properties, both methods that are used by DataTables to update the - * control's state. - *
      - *
    • - * fnInit - Initialisation of the paging controls. Called only during initialisation - * of the table. It is expected that this function will add the required DOM elements - * to the page for the paging controls to work. The element pointer - * 'oSettings.aanFeatures.p' array is provided by DataTables to contain the paging - * controls (note that this is a 2D array to allow for multiple instances of each - * DataTables DOM element). It is suggested that you add the controls to this element - * as children - *
        - *
      • - * Function input parameters: - *
          - *
        • {object} DataTables settings object: see {@link DataTable.models.oSettings}.
        • - *
        • {node} Container into which the pagination controls must be inserted
        • - *
        • {function} Draw callback function - whenever the controls cause a page - * change, this method must be called to redraw the table.
        • - *
        - *
      • - *
      • - * Function return: - *
          - *
        • No return required
        • - *
        - * - *
      - * - *
    • - * fnInit - This function is called whenever the paging status of the table changes and is - * typically used to update classes and/or text of the paging controls to reflex the new - * status. - *
        - *
      • - * Function input parameters: - *
          - *
        • {object} DataTables settings object: see {@link DataTable.models.oSettings}.
        • - *
        • {function} Draw callback function - in case you need to redraw the table again - * or attach new event listeners
        • - *
        - *
      • - *
      • - * Function return: - *
          - *
        • No return required
        • - *
        - * - *
      - * - *
    - * @type object - * @default {} - * - * @example - * $.fn.dataTableExt.oPagination.four_button = { - * "fnInit": function ( oSettings, nPaging, fnCallbackDraw ) { - * nFirst = document.createElement( 'span' ); - * nPrevious = document.createElement( 'span' ); - * nNext = document.createElement( 'span' ); - * nLast = document.createElement( 'span' ); - * - * nFirst.appendChild( document.createTextNode( oSettings.oLanguage.oPaginate.sFirst ) ); - * nPrevious.appendChild( document.createTextNode( oSettings.oLanguage.oPaginate.sPrevious ) ); - * nNext.appendChild( document.createTextNode( oSettings.oLanguage.oPaginate.sNext ) ); - * nLast.appendChild( document.createTextNode( oSettings.oLanguage.oPaginate.sLast ) ); - * - * nFirst.className = "paginate_button first"; - * nPrevious.className = "paginate_button previous"; - * nNext.className="paginate_button next"; - * nLast.className = "paginate_button last"; - * - * nPaging.appendChild( nFirst ); - * nPaging.appendChild( nPrevious ); - * nPaging.appendChild( nNext ); - * nPaging.appendChild( nLast ); - * - * $(nFirst).click( function () { - * oSettings.oApi._fnPageChange( oSettings, "first" ); - * fnCallbackDraw( oSettings ); - * } ); - * - * $(nPrevious).click( function() { - * oSettings.oApi._fnPageChange( oSettings, "previous" ); - * fnCallbackDraw( oSettings ); - * } ); - * - * $(nNext).click( function() { - * oSettings.oApi._fnPageChange( oSettings, "next" ); - * fnCallbackDraw( oSettings ); - * } ); - * - * $(nLast).click( function() { - * oSettings.oApi._fnPageChange( oSettings, "last" ); - * fnCallbackDraw( oSettings ); - * } ); - * - * $(nFirst).bind( 'selectstart', function () { return false; } ); - * $(nPrevious).bind( 'selectstart', function () { return false; } ); - * $(nNext).bind( 'selectstart', function () { return false; } ); - * $(nLast).bind( 'selectstart', function () { return false; } ); - * }, - * - * "fnUpdate": function ( oSettings, fnCallbackDraw ) { - * if ( !oSettings.aanFeatures.p ) { - * return; - * } - * - * // Loop over each instance of the pager - * var an = oSettings.aanFeatures.p; - * for ( var i=0, iLen=an.length ; i - *
  • - * Function input parameters: - *
      - *
    • {*} Data to compare to the second parameter
    • - *
    • {*} Data to compare to the first parameter
    • - *
    - *
  • - *
  • - * Function return: - *
      - *
    • {int} Sorting match: <0 if first parameter should be sorted lower than - * the second parameter, ===0 if the two parameters are equal and >0 if - * the first parameter should be sorted height than the second parameter.
    • - *
    - * - * - * @type object - * @default {} - * - * @example - * // Case-sensitive string sorting, with no pre-formatting method - * $.extend( $.fn.dataTableExt.oSort, { - * "string-case-asc": function(x,y) { - * return ((x < y) ? -1 : ((x > y) ? 1 : 0)); - * }, - * "string-case-desc": function(x,y) { - * return ((x < y) ? 1 : ((x > y) ? -1 : 0)); - * } - * } ); - * - * @example - * // Case-insensitive string sorting, with pre-formatting - * $.extend( $.fn.dataTableExt.oSort, { - * "string-pre": function(x) { - * return x.toLowerCase(); - * }, - * "string-asc": function(x,y) { - * return ((x < y) ? -1 : ((x > y) ? 1 : 0)); - * }, - * "string-desc": function(x,y) { - * return ((x < y) ? 1 : ((x > y) ? -1 : 0)); - * } - * } ); - */ - "oSort": {}, - - - /** - * Version string for plug-ins to check compatibility. Allowed format is - * a.b.c.d.e where: a:int, b:int, c:int, d:string(dev|beta), e:int. d and - * e are optional - * @type string - * @default Version number - */ - "sVersion": DataTable.version, - - - /** - * How should DataTables report an error. Can take the value 'alert' or 'throw' - * @type string - * @default alert - */ - "sErrMode": "alert", - - - /** - * Store information for DataTables to access globally about other instances - * @namespace - * @private - */ - "_oExternConfig": { - /* int:iNextUnique - next unique number for an instance */ - "iNextUnique": 0 - } - }; - - - - - /** - * Template object for the way in which DataTables holds information about - * search information for the global filter and individual column filters. - * @namespace - */ - DataTable.models.oSearch = { - /** - * Flag to indicate if the filtering should be case insensitive or not - * @type boolean - * @default true - */ - "bCaseInsensitive": true, - - /** - * Applied search term - * @type string - * @default Empty string - */ - "sSearch": "", - - /** - * Flag to indicate if the search term should be interpreted as a - * regular expression (true) or not (false) and therefore and special - * regex characters escaped. - * @type boolean - * @default false - */ - "bRegex": false, - - /** - * Flag to indicate if DataTables is to use its smart filtering or not. - * @type boolean - * @default true - */ - "bSmart": true - }; - - - - - /** - * Template object for the way in which DataTables holds information about - * each individual row. This is the object format used for the settings - * aoData array. - * @namespace - */ - DataTable.models.oRow = { - /** - * TR element for the row - * @type node - * @default null - */ - "nTr": null, - - /** - * Data object from the original data source for the row. This is either - * an array if using the traditional form of DataTables, or an object if - * using mData options. The exact type will depend on the passed in - * data from the data source, or will be an array if using DOM a data - * source. - * @type array|object - * @default [] - */ - "_aData": [], - - /** - * Sorting data cache - this array is ostensibly the same length as the - * number of columns (although each index is generated only as it is - * needed), and holds the data that is used for sorting each column in the - * row. We do this cache generation at the start of the sort in order that - * the formatting of the sort data need be done only once for each cell - * per sort. This array should not be read from or written to by anything - * other than the master sorting methods. - * @type array - * @default [] - * @private - */ - "_aSortData": [], - - /** - * Array of TD elements that are cached for hidden rows, so they can be - * reinserted into the table if a column is made visible again (or to act - * as a store if a column is made hidden). Only hidden columns have a - * reference in the array. For non-hidden columns the value is either - * undefined or null. - * @type array nodes - * @default [] - * @private - */ - "_anHidden": [], - - /** - * Cache of the class name that DataTables has applied to the row, so we - * can quickly look at this variable rather than needing to do a DOM check - * on className for the nTr property. - * @type string - * @default Empty string - * @private - */ - "_sRowStripe": "" - }; - - - - /** - * Template object for the column information object in DataTables. This object - * is held in the settings aoColumns array and contains all the information that - * DataTables needs about each individual column. - * - * Note that this object is related to {@link DataTable.defaults.columns} - * but this one is the internal data store for DataTables's cache of columns. - * It should NOT be manipulated outside of DataTables. Any configuration should - * be done through the initialisation options. - * @namespace - */ - DataTable.models.oColumn = { - /** - * A list of the columns that sorting should occur on when this column - * is sorted. That this property is an array allows multi-column sorting - * to be defined for a column (for example first name / last name columns - * would benefit from this). The values are integers pointing to the - * columns to be sorted on (typically it will be a single integer pointing - * at itself, but that doesn't need to be the case). - * @type array - */ - "aDataSort": null, - - /** - * Define the sorting directions that are applied to the column, in sequence - * as the column is repeatedly sorted upon - i.e. the first value is used - * as the sorting direction when the column if first sorted (clicked on). - * Sort it again (click again) and it will move on to the next index. - * Repeat until loop. - * @type array - */ - "asSorting": null, - - /** - * Flag to indicate if the column is searchable, and thus should be included - * in the filtering or not. - * @type boolean - */ - "bSearchable": null, - - /** - * Flag to indicate if the column is sortable or not. - * @type boolean - */ - "bSortable": null, - - /** - * Deprecated When using fnRender, you have two options for what - * to do with the data, and this property serves as the switch. Firstly, you - * can have the sorting and filtering use the rendered value (true - default), - * or you can have the sorting and filtering us the original value (false). - * - * Please note that this option has now been deprecated and will be removed - * in the next version of DataTables. Please use mRender / mData rather than - * fnRender. - * @type boolean - * @deprecated - */ - "bUseRendered": null, - - /** - * Flag to indicate if the column is currently visible in the table or not - * @type boolean - */ - "bVisible": null, - - /** - * Flag to indicate to the type detection method if the automatic type - * detection should be used, or if a column type (sType) has been specified - * @type boolean - * @default true - * @private - */ - "_bAutoType": true, - - /** - * Developer definable function that is called whenever a cell is created (Ajax source, - * etc) or processed for input (DOM source). This can be used as a compliment to mRender - * allowing you to modify the DOM element (add background colour for example) when the - * element is available. - * @type function - * @param {element} nTd The TD node that has been created - * @param {*} sData The Data for the cell - * @param {array|object} oData The data for the whole row - * @param {int} iRow The row index for the aoData data store - * @default null - */ - "fnCreatedCell": null, - - /** - * Function to get data from a cell in a column. You should never - * access data directly through _aData internally in DataTables - always use - * the method attached to this property. It allows mData to function as - * required. This function is automatically assigned by the column - * initialisation method - * @type function - * @param {array|object} oData The data array/object for the array - * (i.e. aoData[]._aData) - * @param {string} sSpecific The specific data type you want to get - - * 'display', 'type' 'filter' 'sort' - * @returns {*} The data for the cell from the given row's data - * @default null - */ - "fnGetData": null, - - /** - * Deprecated Custom display function that will be called for the - * display of each cell in this column. - * - * Please note that this option has now been deprecated and will be removed - * in the next version of DataTables. Please use mRender / mData rather than - * fnRender. - * @type function - * @param {object} o Object with the following parameters: - * @param {int} o.iDataRow The row in aoData - * @param {int} o.iDataColumn The column in question - * @param {array} o.aData The data for the row in question - * @param {object} o.oSettings The settings object for this DataTables instance - * @returns {string} The string you which to use in the display - * @default null - * @deprecated - */ - "fnRender": null, - - /** - * Function to set data for a cell in the column. You should never - * set the data directly to _aData internally in DataTables - always use - * this method. It allows mData to function as required. This function - * is automatically assigned by the column initialisation method - * @type function - * @param {array|object} oData The data array/object for the array - * (i.e. aoData[]._aData) - * @param {*} sValue Value to set - * @default null - */ - "fnSetData": null, - - /** - * Property to read the value for the cells in the column from the data - * source array / object. If null, then the default content is used, if a - * function is given then the return from the function is used. - * @type function|int|string|null - * @default null - */ - "mData": null, - - /** - * Partner property to mData which is used (only when defined) to get - * the data - i.e. it is basically the same as mData, but without the - * 'set' option, and also the data fed to it is the result from mData. - * This is the rendering method to match the data method of mData. - * @type function|int|string|null - * @default null - */ - "mRender": null, - - /** - * Unique header TH/TD element for this column - this is what the sorting - * listener is attached to (if sorting is enabled.) - * @type node - * @default null - */ - "nTh": null, - - /** - * Unique footer TH/TD element for this column (if there is one). Not used - * in DataTables as such, but can be used for plug-ins to reference the - * footer for each column. - * @type node - * @default null - */ - "nTf": null, - - /** - * The class to apply to all TD elements in the table's TBODY for the column - * @type string - * @default null - */ - "sClass": null, - - /** - * When DataTables calculates the column widths to assign to each column, - * it finds the longest string in each column and then constructs a - * temporary table and reads the widths from that. The problem with this - * is that "mmm" is much wider then "iiii", but the latter is a longer - * string - thus the calculation can go wrong (doing it properly and putting - * it into an DOM object and measuring that is horribly(!) slow). Thus as - * a "work around" we provide this option. It will append its value to the - * text that is found to be the longest string for the column - i.e. padding. - * @type string - */ - "sContentPadding": null, - - /** - * Allows a default value to be given for a column's data, and will be used - * whenever a null data source is encountered (this can be because mData - * is set to null, or because the data source itself is null). - * @type string - * @default null - */ - "sDefaultContent": null, - - /** - * Name for the column, allowing reference to the column by name as well as - * by index (needs a lookup to work by name). - * @type string - */ - "sName": null, - - /** - * Custom sorting data type - defines which of the available plug-ins in - * afnSortData the custom sorting will use - if any is defined. - * @type string - * @default std - */ - "sSortDataType": 'std', - - /** - * Class to be applied to the header element when sorting on this column - * @type string - * @default null - */ - "sSortingClass": null, - - /** - * Class to be applied to the header element when sorting on this column - - * when jQuery UI theming is used. - * @type string - * @default null - */ - "sSortingClassJUI": null, - - /** - * Title of the column - what is seen in the TH element (nTh). - * @type string - */ - "sTitle": null, - - /** - * Column sorting and filtering type - * @type string - * @default null - */ - "sType": null, - - /** - * Width of the column - * @type string - * @default null - */ - "sWidth": null, - - /** - * Width of the column when it was first "encountered" - * @type string - * @default null - */ - "sWidthOrig": null - }; - - - - /** - * Initialisation options that can be given to DataTables at initialisation - * time. - * @namespace - */ - DataTable.defaults = { - /** - * An array of data to use for the table, passed in at initialisation which - * will be used in preference to any data which is already in the DOM. This is - * particularly useful for constructing tables purely in Javascript, for - * example with a custom Ajax call. - * @type array - * @default null - * @dtopt Option - * - * @example - * // Using a 2D array data source - * $(document).ready( function () { - * $('#example').dataTable( { - * "aaData": [ - * ['Trident', 'Internet Explorer 4.0', 'Win 95+', 4, 'X'], - * ['Trident', 'Internet Explorer 5.0', 'Win 95+', 5, 'C'], - * ], - * "aoColumns": [ - * { "sTitle": "Engine" }, - * { "sTitle": "Browser" }, - * { "sTitle": "Platform" }, - * { "sTitle": "Version" }, - * { "sTitle": "Grade" } - * ] - * } ); - * } ); - * - * @example - * // Using an array of objects as a data source (mData) - * $(document).ready( function () { - * $('#example').dataTable( { - * "aaData": [ - * { - * "engine": "Trident", - * "browser": "Internet Explorer 4.0", - * "platform": "Win 95+", - * "version": 4, - * "grade": "X" - * }, - * { - * "engine": "Trident", - * "browser": "Internet Explorer 5.0", - * "platform": "Win 95+", - * "version": 5, - * "grade": "C" - * } - * ], - * "aoColumns": [ - * { "sTitle": "Engine", "mData": "engine" }, - * { "sTitle": "Browser", "mData": "browser" }, - * { "sTitle": "Platform", "mData": "platform" }, - * { "sTitle": "Version", "mData": "version" }, - * { "sTitle": "Grade", "mData": "grade" } - * ] - * } ); - * } ); - */ - "aaData": null, - - - /** - * If sorting is enabled, then DataTables will perform a first pass sort on - * initialisation. You can define which column(s) the sort is performed upon, - * and the sorting direction, with this variable. The aaSorting array should - * contain an array for each column to be sorted initially containing the - * column's index and a direction string ('asc' or 'desc'). - * @type array - * @default [[0,'asc']] - * @dtopt Option - * - * @example - * // Sort by 3rd column first, and then 4th column - * $(document).ready( function() { - * $('#example').dataTable( { - * "aaSorting": [[2,'asc'], [3,'desc']] - * } ); - * } ); - * - * // No initial sorting - * $(document).ready( function() { - * $('#example').dataTable( { - * "aaSorting": [] - * } ); - * } ); - */ - "aaSorting": [[0,'asc']], - - - /** - * This parameter is basically identical to the aaSorting parameter, but - * cannot be overridden by user interaction with the table. What this means - * is that you could have a column (visible or hidden) which the sorting will - * always be forced on first - any sorting after that (from the user) will - * then be performed as required. This can be useful for grouping rows - * together. - * @type array - * @default null - * @dtopt Option - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "aaSortingFixed": [[0,'asc']] - * } ); - * } ) - */ - "aaSortingFixed": null, - - - /** - * This parameter allows you to readily specify the entries in the length drop - * down menu that DataTables shows when pagination is enabled. It can be - * either a 1D array of options which will be used for both the displayed - * option and the value, or a 2D array which will use the array in the first - * position as the value, and the array in the second position as the - * displayed options (useful for language strings such as 'All'). - * @type array - * @default [ 10, 25, 50, 100 ] - * @dtopt Option - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]] - * } ); - * } ); - * - * @example - * // Setting the default display length as well as length menu - * // This is likely to be wanted if you remove the '10' option which - * // is the iDisplayLength default. - * $(document).ready( function() { - * $('#example').dataTable( { - * "iDisplayLength": 25, - * "aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]] - * } ); - * } ); - */ - "aLengthMenu": [ 10, 25, 50, 100 ], - - - /** - * The aoColumns option in the initialisation parameter allows you to define - * details about the way individual columns behave. For a full list of - * column options that can be set, please see - * {@link DataTable.defaults.columns}. Note that if you use aoColumns to - * define your columns, you must have an entry in the array for every single - * column that you have in your table (these can be null if you don't which - * to specify any options). - * @member - */ - "aoColumns": null, - - /** - * Very similar to aoColumns, aoColumnDefs allows you to target a specific - * column, multiple columns, or all columns, using the aTargets property of - * each object in the array. This allows great flexibility when creating - * tables, as the aoColumnDefs arrays can be of any length, targeting the - * columns you specifically want. aoColumnDefs may use any of the column - * options available: {@link DataTable.defaults.columns}, but it _must_ - * have aTargets defined in each object in the array. Values in the aTargets - * array may be: - *
      - *
    • a string - class name will be matched on the TH for the column
    • - *
    • 0 or a positive integer - column index counting from the left
    • - *
    • a negative integer - column index counting from the right
    • - *
    • the string "_all" - all columns (i.e. assign a default)
    • - *
    - * @member - */ - "aoColumnDefs": null, - - - /** - * Basically the same as oSearch, this parameter defines the individual column - * filtering state at initialisation time. The array must be of the same size - * as the number of columns, and each element be an object with the parameters - * "sSearch" and "bEscapeRegex" (the latter is optional). 'null' is also - * accepted and the default will be used. - * @type array - * @default [] - * @dtopt Option - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoSearchCols": [ - * null, - * { "sSearch": "My filter" }, - * null, - * { "sSearch": "^[0-9]", "bEscapeRegex": false } - * ] - * } ); - * } ) - */ - "aoSearchCols": [], - - - /** - * An array of CSS classes that should be applied to displayed rows. This - * array may be of any length, and DataTables will apply each class - * sequentially, looping when required. - * @type array - * @default null Will take the values determined by the oClasses.sStripe* - * options - * @dtopt Option - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "asStripeClasses": [ 'strip1', 'strip2', 'strip3' ] - * } ); - * } ) - */ - "asStripeClasses": null, - - - /** - * Enable or disable automatic column width calculation. This can be disabled - * as an optimisation (it takes some time to calculate the widths) if the - * tables widths are passed in using aoColumns. - * @type boolean - * @default true - * @dtopt Features - * - * @example - * $(document).ready( function () { - * $('#example').dataTable( { - * "bAutoWidth": false - * } ); - * } ); - */ - "bAutoWidth": true, - - - /** - * Deferred rendering can provide DataTables with a huge speed boost when you - * are using an Ajax or JS data source for the table. This option, when set to - * true, will cause DataTables to defer the creation of the table elements for - * each row until they are needed for a draw - saving a significant amount of - * time. - * @type boolean - * @default false - * @dtopt Features - * - * @example - * $(document).ready( function() { - * var oTable = $('#example').dataTable( { - * "sAjaxSource": "sources/arrays.txt", - * "bDeferRender": true - * } ); - * } ); - */ - "bDeferRender": false, - - - /** - * Replace a DataTable which matches the given selector and replace it with - * one which has the properties of the new initialisation object passed. If no - * table matches the selector, then the new DataTable will be constructed as - * per normal. - * @type boolean - * @default false - * @dtopt Options - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "sScrollY": "200px", - * "bPaginate": false - * } ); - * - * // Some time later.... - * $('#example').dataTable( { - * "bFilter": false, - * "bDestroy": true - * } ); - * } ); - */ - "bDestroy": false, - - - /** - * Enable or disable filtering of data. Filtering in DataTables is "smart" in - * that it allows the end user to input multiple words (space separated) and - * will match a row containing those words, even if not in the order that was - * specified (this allow matching across multiple columns). Note that if you - * wish to use filtering in DataTables this must remain 'true' - to remove the - * default filtering input box and retain filtering abilities, please use - * {@link DataTable.defaults.sDom}. - * @type boolean - * @default true - * @dtopt Features - * - * @example - * $(document).ready( function () { - * $('#example').dataTable( { - * "bFilter": false - * } ); - * } ); - */ - "bFilter": true, - - - /** - * Enable or disable the table information display. This shows information - * about the data that is currently visible on the page, including information - * about filtered data if that action is being performed. - * @type boolean - * @default true - * @dtopt Features - * - * @example - * $(document).ready( function () { - * $('#example').dataTable( { - * "bInfo": false - * } ); - * } ); - */ - "bInfo": true, - - - /** - * Enable jQuery UI ThemeRoller support (required as ThemeRoller requires some - * slightly different and additional mark-up from what DataTables has - * traditionally used). - * @type boolean - * @default false - * @dtopt Features - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "bJQueryUI": true - * } ); - * } ); - */ - "bJQueryUI": false, - - - /** - * Allows the end user to select the size of a formatted page from a select - * menu (sizes are 10, 25, 50 and 100). Requires pagination (bPaginate). - * @type boolean - * @default true - * @dtopt Features - * - * @example - * $(document).ready( function () { - * $('#example').dataTable( { - * "bLengthChange": false - * } ); - * } ); - */ - "bLengthChange": true, - - - /** - * Enable or disable pagination. - * @type boolean - * @default true - * @dtopt Features - * - * @example - * $(document).ready( function () { - * $('#example').dataTable( { - * "bPaginate": false - * } ); - * } ); - */ - "bPaginate": true, - - - /** - * Enable or disable the display of a 'processing' indicator when the table is - * being processed (e.g. a sort). This is particularly useful for tables with - * large amounts of data where it can take a noticeable amount of time to sort - * the entries. - * @type boolean - * @default false - * @dtopt Features - * - * @example - * $(document).ready( function () { - * $('#example').dataTable( { - * "bProcessing": true - * } ); - * } ); - */ - "bProcessing": false, - - - /** - * Retrieve the DataTables object for the given selector. Note that if the - * table has already been initialised, this parameter will cause DataTables - * to simply return the object that has already been set up - it will not take - * account of any changes you might have made to the initialisation object - * passed to DataTables (setting this parameter to true is an acknowledgement - * that you understand this). bDestroy can be used to reinitialise a table if - * you need. - * @type boolean - * @default false - * @dtopt Options - * - * @example - * $(document).ready( function() { - * initTable(); - * tableActions(); - * } ); - * - * function initTable () - * { - * return $('#example').dataTable( { - * "sScrollY": "200px", - * "bPaginate": false, - * "bRetrieve": true - * } ); - * } - * - * function tableActions () - * { - * var oTable = initTable(); - * // perform API operations with oTable - * } - */ - "bRetrieve": false, - - - /** - * Indicate if DataTables should be allowed to set the padding / margin - * etc for the scrolling header elements or not. Typically you will want - * this. - * @type boolean - * @default true - * @dtopt Options - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "bScrollAutoCss": false, - * "sScrollY": "200px" - * } ); - * } ); - */ - "bScrollAutoCss": true, - - - /** - * When vertical (y) scrolling is enabled, DataTables will force the height of - * the table's viewport to the given height at all times (useful for layout). - * However, this can look odd when filtering data down to a small data set, - * and the footer is left "floating" further down. This parameter (when - * enabled) will cause DataTables to collapse the table's viewport down when - * the result set will fit within the given Y height. - * @type boolean - * @default false - * @dtopt Options - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "sScrollY": "200", - * "bScrollCollapse": true - * } ); - * } ); - */ - "bScrollCollapse": false, - - - /** - * Enable infinite scrolling for DataTables (to be used in combination with - * sScrollY). Infinite scrolling means that DataTables will continually load - * data as a user scrolls through a table, which is very useful for large - * dataset. This cannot be used with pagination, which is automatically - * disabled. Note - the Scroller extra for DataTables is recommended in - * in preference to this option. - * @type boolean - * @default false - * @dtopt Features - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "bScrollInfinite": true, - * "bScrollCollapse": true, - * "sScrollY": "200px" - * } ); - * } ); - */ - "bScrollInfinite": false, - - - /** - * Configure DataTables to use server-side processing. Note that the - * sAjaxSource parameter must also be given in order to give DataTables a - * source to obtain the required data for each draw. - * @type boolean - * @default false - * @dtopt Features - * @dtopt Server-side - * - * @example - * $(document).ready( function () { - * $('#example').dataTable( { - * "bServerSide": true, - * "sAjaxSource": "xhr.php" - * } ); - * } ); - */ - "bServerSide": false, - - - /** - * Enable or disable sorting of columns. Sorting of individual columns can be - * disabled by the "bSortable" option for each column. - * @type boolean - * @default true - * @dtopt Features - * - * @example - * $(document).ready( function () { - * $('#example').dataTable( { - * "bSort": false - * } ); - * } ); - */ - "bSort": true, - - - /** - * Allows control over whether DataTables should use the top (true) unique - * cell that is found for a single column, or the bottom (false - default). - * This is useful when using complex headers. - * @type boolean - * @default false - * @dtopt Options - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "bSortCellsTop": true - * } ); - * } ); - */ - "bSortCellsTop": false, - - - /** - * Enable or disable the addition of the classes 'sorting_1', 'sorting_2' and - * 'sorting_3' to the columns which are currently being sorted on. This is - * presented as a feature switch as it can increase processing time (while - * classes are removed and added) so for large data sets you might want to - * turn this off. - * @type boolean - * @default true - * @dtopt Features - * - * @example - * $(document).ready( function () { - * $('#example').dataTable( { - * "bSortClasses": false - * } ); - * } ); - */ - "bSortClasses": true, - - - /** - * Enable or disable state saving. When enabled a cookie will be used to save - * table display information such as pagination information, display length, - * filtering and sorting. As such when the end user reloads the page the - * display display will match what thy had previously set up. - * @type boolean - * @default false - * @dtopt Features - * - * @example - * $(document).ready( function () { - * $('#example').dataTable( { - * "bStateSave": true - * } ); - * } ); - */ - "bStateSave": false, - - - /** - * Customise the cookie and / or the parameters being stored when using - * DataTables with state saving enabled. This function is called whenever - * the cookie is modified, and it expects a fully formed cookie string to be - * returned. Note that the data object passed in is a Javascript object which - * must be converted to a string (JSON.stringify for example). - * @type function - * @param {string} sName Name of the cookie defined by DataTables - * @param {object} oData Data to be stored in the cookie - * @param {string} sExpires Cookie expires string - * @param {string} sPath Path of the cookie to set - * @returns {string} Cookie formatted string (which should be encoded by - * using encodeURIComponent()) - * @dtopt Callbacks - * - * @example - * $(document).ready( function () { - * $('#example').dataTable( { - * "fnCookieCallback": function (sName, oData, sExpires, sPath) { - * // Customise oData or sName or whatever else here - * return sName + "="+JSON.stringify(oData)+"; expires=" + sExpires +"; path=" + sPath; - * } - * } ); - * } ); - */ - "fnCookieCallback": null, - - - /** - * This function is called when a TR element is created (and all TD child - * elements have been inserted), or registered if using a DOM source, allowing - * manipulation of the TR element (adding classes etc). - * @type function - * @param {node} nRow "TR" element for the current row - * @param {array} aData Raw data array for this row - * @param {int} iDataIndex The index of this row in aoData - * @dtopt Callbacks - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "fnCreatedRow": function( nRow, aData, iDataIndex ) { - * // Bold the grade for all 'A' grade browsers - * if ( aData[4] == "A" ) - * { - * $('td:eq(4)', nRow).html( 'A' ); - * } - * } - * } ); - * } ); - */ - "fnCreatedRow": null, - - - /** - * This function is called on every 'draw' event, and allows you to - * dynamically modify any aspect you want about the created DOM. - * @type function - * @param {object} oSettings DataTables settings object - * @dtopt Callbacks - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "fnDrawCallback": function( oSettings ) { - * alert( 'DataTables has redrawn the table' ); - * } - * } ); - * } ); - */ - "fnDrawCallback": null, - - - /** - * Identical to fnHeaderCallback() but for the table footer this function - * allows you to modify the table footer on every 'draw' even. - * @type function - * @param {node} nFoot "TR" element for the footer - * @param {array} aData Full table data (as derived from the original HTML) - * @param {int} iStart Index for the current display starting point in the - * display array - * @param {int} iEnd Index for the current display ending point in the - * display array - * @param {array int} aiDisplay Index array to translate the visual position - * to the full data array - * @dtopt Callbacks - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "fnFooterCallback": function( nFoot, aData, iStart, iEnd, aiDisplay ) { - * nFoot.getElementsByTagName('th')[0].innerHTML = "Starting index is "+iStart; - * } - * } ); - * } ) - */ - "fnFooterCallback": null, - - - /** - * When rendering large numbers in the information element for the table - * (i.e. "Showing 1 to 10 of 57 entries") DataTables will render large numbers - * to have a comma separator for the 'thousands' units (e.g. 1 million is - * rendered as "1,000,000") to help readability for the end user. This - * function will override the default method DataTables uses. - * @type function - * @member - * @param {int} iIn number to be formatted - * @returns {string} formatted string for DataTables to show the number - * @dtopt Callbacks - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "fnFormatNumber": function ( iIn ) { - * if ( iIn < 1000 ) { - * return iIn; - * } else { - * var - * s=(iIn+""), - * a=s.split(""), out="", - * iLen=s.length; - * - * for ( var i=0 ; i<iLen ; i++ ) { - * if ( i%3 === 0 && i !== 0 ) { - * out = "'"+out; - * } - * out = a[iLen-i-1]+out; - * } - * } - * return out; - * }; - * } ); - * } ); - */ - "fnFormatNumber": function ( iIn ) { - if ( iIn < 1000 ) - { - // A small optimisation for what is likely to be the majority of use cases - return iIn; - } - - var s=(iIn+""), a=s.split(""), out="", iLen=s.length; - - for ( var i=0 ; iA' ); - * } - * } - * } ); - * } ); - */ - "fnRowCallback": null, - - - /** - * This parameter allows you to override the default function which obtains - * the data from the server ($.getJSON) so something more suitable for your - * application. For example you could use POST data, or pull information from - * a Gears or AIR database. - * @type function - * @member - * @param {string} sSource HTTP source to obtain the data from (sAjaxSource) - * @param {array} aoData A key/value pair object containing the data to send - * to the server - * @param {function} fnCallback to be called on completion of the data get - * process that will draw the data on the page. - * @param {object} oSettings DataTables settings object - * @dtopt Callbacks - * @dtopt Server-side - * - * @example - * // POST data to server - * $(document).ready( function() { - * $('#example').dataTable( { - * "bProcessing": true, - * "bServerSide": true, - * "sAjaxSource": "xhr.php", - * "fnServerData": function ( sSource, aoData, fnCallback, oSettings ) { - * oSettings.jqXHR = $.ajax( { - * "dataType": 'json', - * "type": "POST", - * "url": sSource, - * "data": aoData, - * "success": fnCallback - * } ); - * } - * } ); - * } ); - */ - "fnServerData": function ( sUrl, aoData, fnCallback, oSettings ) { - oSettings.jqXHR = $.ajax( { - "url": sUrl, - "data": aoData, - "success": function (json) { - if ( json.sError ) { - oSettings.oApi._fnLog( oSettings, 0, json.sError ); - } - - $(oSettings.oInstance).trigger('xhr', [oSettings, json]); - fnCallback( json ); - }, - "dataType": "json", - "cache": false, - "type": oSettings.sServerMethod, - "error": function (xhr, error, thrown) { - if ( error == "parsererror" ) { - oSettings.oApi._fnLog( oSettings, 0, "DataTables warning: JSON data from "+ - "server could not be parsed. This is caused by a JSON formatting error." ); - } - } - } ); - }, - - - /** - * It is often useful to send extra data to the server when making an Ajax - * request - for example custom filtering information, and this callback - * function makes it trivial to send extra information to the server. The - * passed in parameter is the data set that has been constructed by - * DataTables, and you can add to this or modify it as you require. - * @type function - * @param {array} aoData Data array (array of objects which are name/value - * pairs) that has been constructed by DataTables and will be sent to the - * server. In the case of Ajax sourced data with server-side processing - * this will be an empty array, for server-side processing there will be a - * significant number of parameters! - * @returns {undefined} Ensure that you modify the aoData array passed in, - * as this is passed by reference. - * @dtopt Callbacks - * @dtopt Server-side - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "bProcessing": true, - * "bServerSide": true, - * "sAjaxSource": "scripts/server_processing.php", - * "fnServerParams": function ( aoData ) { - * aoData.push( { "name": "more_data", "value": "my_value" } ); - * } - * } ); - * } ); - */ - "fnServerParams": null, - - - /** - * Load the table state. With this function you can define from where, and how, the - * state of a table is loaded. By default DataTables will load from its state saving - * cookie, but you might wish to use local storage (HTML5) or a server-side database. - * @type function - * @member - * @param {object} oSettings DataTables settings object - * @return {object} The DataTables state object to be loaded - * @dtopt Callbacks - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "bStateSave": true, - * "fnStateLoad": function (oSettings) { - * var o; - * - * // Send an Ajax request to the server to get the data. Note that - * // this is a synchronous request. - * $.ajax( { - * "url": "/state_load", - * "async": false, - * "dataType": "json", - * "success": function (json) { - * o = json; - * } - * } ); - * - * return o; - * } - * } ); - * } ); - */ - "fnStateLoad": function ( oSettings ) { - var sData = this.oApi._fnReadCookie( oSettings.sCookiePrefix+oSettings.sInstance ); - var oData; - - try { - oData = (typeof $.parseJSON === 'function') ? - $.parseJSON(sData) : eval( '('+sData+')' ); - } catch (e) { - oData = null; - } - - return oData; - }, - - - /** - * Callback which allows modification of the saved state prior to loading that state. - * This callback is called when the table is loading state from the stored data, but - * prior to the settings object being modified by the saved state. Note that for - * plug-in authors, you should use the 'stateLoadParams' event to load parameters for - * a plug-in. - * @type function - * @param {object} oSettings DataTables settings object - * @param {object} oData The state object that is to be loaded - * @dtopt Callbacks - * - * @example - * // Remove a saved filter, so filtering is never loaded - * $(document).ready( function() { - * $('#example').dataTable( { - * "bStateSave": true, - * "fnStateLoadParams": function (oSettings, oData) { - * oData.oSearch.sSearch = ""; - * } - * } ); - * } ); - * - * @example - * // Disallow state loading by returning false - * $(document).ready( function() { - * $('#example').dataTable( { - * "bStateSave": true, - * "fnStateLoadParams": function (oSettings, oData) { - * return false; - * } - * } ); - * } ); - */ - "fnStateLoadParams": null, - - - /** - * Callback that is called when the state has been loaded from the state saving method - * and the DataTables settings object has been modified as a result of the loaded state. - * @type function - * @param {object} oSettings DataTables settings object - * @param {object} oData The state object that was loaded - * @dtopt Callbacks - * - * @example - * // Show an alert with the filtering value that was saved - * $(document).ready( function() { - * $('#example').dataTable( { - * "bStateSave": true, - * "fnStateLoaded": function (oSettings, oData) { - * alert( 'Saved filter was: '+oData.oSearch.sSearch ); - * } - * } ); - * } ); - */ - "fnStateLoaded": null, - - - /** - * Save the table state. This function allows you to define where and how the state - * information for the table is stored - by default it will use a cookie, but you - * might want to use local storage (HTML5) or a server-side database. - * @type function - * @member - * @param {object} oSettings DataTables settings object - * @param {object} oData The state object to be saved - * @dtopt Callbacks - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "bStateSave": true, - * "fnStateSave": function (oSettings, oData) { - * // Send an Ajax request to the server with the state object - * $.ajax( { - * "url": "/state_save", - * "data": oData, - * "dataType": "json", - * "method": "POST" - * "success": function () {} - * } ); - * } - * } ); - * } ); - */ - "fnStateSave": function ( oSettings, oData ) { - this.oApi._fnCreateCookie( - oSettings.sCookiePrefix+oSettings.sInstance, - this.oApi._fnJsonString(oData), - oSettings.iCookieDuration, - oSettings.sCookiePrefix, - oSettings.fnCookieCallback - ); - }, - - - /** - * Callback which allows modification of the state to be saved. Called when the table - * has changed state a new state save is required. This method allows modification of - * the state saving object prior to actually doing the save, including addition or - * other state properties or modification. Note that for plug-in authors, you should - * use the 'stateSaveParams' event to save parameters for a plug-in. - * @type function - * @param {object} oSettings DataTables settings object - * @param {object} oData The state object to be saved - * @dtopt Callbacks - * - * @example - * // Remove a saved filter, so filtering is never saved - * $(document).ready( function() { - * $('#example').dataTable( { - * "bStateSave": true, - * "fnStateSaveParams": function (oSettings, oData) { - * oData.oSearch.sSearch = ""; - * } - * } ); - * } ); - */ - "fnStateSaveParams": null, - - - /** - * Duration of the cookie which is used for storing session information. This - * value is given in seconds. - * @type int - * @default 7200 (2 hours) - * @dtopt Options - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "iCookieDuration": 60*60*24; // 1 day - * } ); - * } ) - */ - "iCookieDuration": 7200, - - - /** - * When enabled DataTables will not make a request to the server for the first - * page draw - rather it will use the data already on the page (no sorting etc - * will be applied to it), thus saving on an XHR at load time. iDeferLoading - * is used to indicate that deferred loading is required, but it is also used - * to tell DataTables how many records there are in the full table (allowing - * the information element and pagination to be displayed correctly). In the case - * where a filtering is applied to the table on initial load, this can be - * indicated by giving the parameter as an array, where the first element is - * the number of records available after filtering and the second element is the - * number of records without filtering (allowing the table information element - * to be shown correctly). - * @type int | array - * @default null - * @dtopt Options - * - * @example - * // 57 records available in the table, no filtering applied - * $(document).ready( function() { - * $('#example').dataTable( { - * "bServerSide": true, - * "sAjaxSource": "scripts/server_processing.php", - * "iDeferLoading": 57 - * } ); - * } ); - * - * @example - * // 57 records after filtering, 100 without filtering (an initial filter applied) - * $(document).ready( function() { - * $('#example').dataTable( { - * "bServerSide": true, - * "sAjaxSource": "scripts/server_processing.php", - * "iDeferLoading": [ 57, 100 ], - * "oSearch": { - * "sSearch": "my_filter" - * } - * } ); - * } ); - */ - "iDeferLoading": null, - - - /** - * Number of rows to display on a single page when using pagination. If - * feature enabled (bLengthChange) then the end user will be able to override - * this to a custom setting using a pop-up menu. - * @type int - * @default 10 - * @dtopt Options - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "iDisplayLength": 50 - * } ); - * } ) - */ - "iDisplayLength": 10, - - - /** - * Define the starting point for data display when using DataTables with - * pagination. Note that this parameter is the number of records, rather than - * the page number, so if you have 10 records per page and want to start on - * the third page, it should be "20". - * @type int - * @default 0 - * @dtopt Options - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "iDisplayStart": 20 - * } ); - * } ) - */ - "iDisplayStart": 0, - - - /** - * The scroll gap is the amount of scrolling that is left to go before - * DataTables will load the next 'page' of data automatically. You typically - * want a gap which is big enough that the scrolling will be smooth for the - * user, while not so large that it will load more data than need. - * @type int - * @default 100 - * @dtopt Options - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "bScrollInfinite": true, - * "bScrollCollapse": true, - * "sScrollY": "200px", - * "iScrollLoadGap": 50 - * } ); - * } ); - */ - "iScrollLoadGap": 100, - - - /** - * By default DataTables allows keyboard navigation of the table (sorting, paging, - * and filtering) by adding a tabindex attribute to the required elements. This - * allows you to tab through the controls and press the enter key to activate them. - * The tabindex is default 0, meaning that the tab follows the flow of the document. - * You can overrule this using this parameter if you wish. Use a value of -1 to - * disable built-in keyboard navigation. - * @type int - * @default 0 - * @dtopt Options - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "iTabIndex": 1 - * } ); - * } ); - */ - "iTabIndex": 0, - - - /** - * All strings that DataTables uses in the user interface that it creates - * are defined in this object, allowing you to modified them individually or - * completely replace them all as required. - * @namespace - */ - "oLanguage": { - /** - * Strings that are used for WAI-ARIA labels and controls only (these are not - * actually visible on the page, but will be read by screenreaders, and thus - * must be internationalised as well). - * @namespace - */ - "oAria": { - /** - * ARIA label that is added to the table headers when the column may be - * sorted ascending by activing the column (click or return when focused). - * Note that the column header is prefixed to this string. - * @type string - * @default : activate to sort column ascending - * @dtopt Language - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "oAria": { - * "sSortAscending": " - click/return to sort ascending" - * } - * } - * } ); - * } ); - */ - "sSortAscending": ": activate to sort column ascending", - - /** - * ARIA label that is added to the table headers when the column may be - * sorted descending by activing the column (click or return when focused). - * Note that the column header is prefixed to this string. - * @type string - * @default : activate to sort column ascending - * @dtopt Language - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "oAria": { - * "sSortDescending": " - click/return to sort descending" - * } - * } - * } ); - * } ); - */ - "sSortDescending": ": activate to sort column descending" - }, - - /** - * Pagination string used by DataTables for the two built-in pagination - * control types ("two_button" and "full_numbers") - * @namespace - */ - "oPaginate": { - /** - * Text to use when using the 'full_numbers' type of pagination for the - * button to take the user to the first page. - * @type string - * @default First - * @dtopt Language - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "oPaginate": { - * "sFirst": "First page" - * } - * } - * } ); - * } ); - */ - "sFirst": "First", - - - /** - * Text to use when using the 'full_numbers' type of pagination for the - * button to take the user to the last page. - * @type string - * @default Last - * @dtopt Language - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "oPaginate": { - * "sLast": "Last page" - * } - * } - * } ); - * } ); - */ - "sLast": "Last", - - - /** - * Text to use for the 'next' pagination button (to take the user to the - * next page). - * @type string - * @default Next - * @dtopt Language - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "oPaginate": { - * "sNext": "Next page" - * } - * } - * } ); - * } ); - */ - "sNext": "Next", - - - /** - * Text to use for the 'previous' pagination button (to take the user to - * the previous page). - * @type string - * @default Previous - * @dtopt Language - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "oPaginate": { - * "sPrevious": "Previous page" - * } - * } - * } ); - * } ); - */ - "sPrevious": "Previous" - }, - - /** - * This string is shown in preference to sZeroRecords when the table is - * empty of data (regardless of filtering). Note that this is an optional - * parameter - if it is not given, the value of sZeroRecords will be used - * instead (either the default or given value). - * @type string - * @default No data available in table - * @dtopt Language - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "sEmptyTable": "No data available in table" - * } - * } ); - * } ); - */ - "sEmptyTable": "No data available in table", - - - /** - * This string gives information to the end user about the information that - * is current on display on the page. The _START_, _END_ and _TOTAL_ - * variables are all dynamically replaced as the table display updates, and - * can be freely moved or removed as the language requirements change. - * @type string - * @default Showing _START_ to _END_ of _TOTAL_ entries - * @dtopt Language - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "sInfo": "Got a total of _TOTAL_ entries to show (_START_ to _END_)" - * } - * } ); - * } ); - */ - "sInfo": "Showing _START_ to _END_ of _TOTAL_ entries", - - - /** - * Display information string for when the table is empty. Typically the - * format of this string should match sInfo. - * @type string - * @default Showing 0 to 0 of 0 entries - * @dtopt Language - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "sInfoEmpty": "No entries to show" - * } - * } ); - * } ); - */ - "sInfoEmpty": "Showing 0 to 0 of 0 entries", - - - /** - * When a user filters the information in a table, this string is appended - * to the information (sInfo) to give an idea of how strong the filtering - * is. The variable _MAX_ is dynamically updated. - * @type string - * @default (filtered from _MAX_ total entries) - * @dtopt Language - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "sInfoFiltered": " - filtering from _MAX_ records" - * } - * } ); - * } ); - */ - "sInfoFiltered": "(filtered from _MAX_ total entries)", - - - /** - * If can be useful to append extra information to the info string at times, - * and this variable does exactly that. This information will be appended to - * the sInfo (sInfoEmpty and sInfoFiltered in whatever combination they are - * being used) at all times. - * @type string - * @default Empty string - * @dtopt Language - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "sInfoPostFix": "All records shown are derived from real information." - * } - * } ); - * } ); - */ - "sInfoPostFix": "", - - - /** - * DataTables has a build in number formatter (fnFormatNumber) which is used - * to format large numbers that are used in the table information. By - * default a comma is used, but this can be trivially changed to any - * character you wish with this parameter. - * @type string - * @default , - * @dtopt Language - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "sInfoThousands": "'" - * } - * } ); - * } ); - */ - "sInfoThousands": ",", - - - /** - * Detail the action that will be taken when the drop down menu for the - * pagination length option is changed. The '_MENU_' variable is replaced - * with a default select list of 10, 25, 50 and 100, and can be replaced - * with a custom select box if required. - * @type string - * @default Show _MENU_ entries - * @dtopt Language - * - * @example - * // Language change only - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "sLengthMenu": "Display _MENU_ records" - * } - * } ); - * } ); - * - * @example - * // Language and options change - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "sLengthMenu": 'Display records' - * } - * } ); - * } ); - */ - "sLengthMenu": "Show _MENU_ entries", - - - /** - * When using Ajax sourced data and during the first draw when DataTables is - * gathering the data, this message is shown in an empty row in the table to - * indicate to the end user the the data is being loaded. Note that this - * parameter is not used when loading data by server-side processing, just - * Ajax sourced data with client-side processing. - * @type string - * @default Loading... - * @dtopt Language - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "sLoadingRecords": "Please wait - loading..." - * } - * } ); - * } ); - */ - "sLoadingRecords": "Loading...", - - - /** - * Text which is displayed when the table is processing a user action - * (usually a sort command or similar). - * @type string - * @default Processing... - * @dtopt Language - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "sProcessing": "DataTables is currently busy" - * } - * } ); - * } ); - */ - "sProcessing": "Processing...", - - - /** - * Details the actions that will be taken when the user types into the - * filtering input text box. The variable "_INPUT_", if used in the string, - * is replaced with the HTML text box for the filtering input allowing - * control over where it appears in the string. If "_INPUT_" is not given - * then the input box is appended to the string automatically. - * @type string - * @default Search: - * @dtopt Language - * - * @example - * // Input text box will be appended at the end automatically - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "sSearch": "Filter records:" - * } - * } ); - * } ); - * - * @example - * // Specify where the filter should appear - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "sSearch": "Apply filter _INPUT_ to table" - * } - * } ); - * } ); - */ - "sSearch": "Search:", - - - /** - * All of the language information can be stored in a file on the - * server-side, which DataTables will look up if this parameter is passed. - * It must store the URL of the language file, which is in a JSON format, - * and the object has the same properties as the oLanguage object in the - * initialiser object (i.e. the above parameters). Please refer to one of - * the example language files to see how this works in action. - * @type string - * @default Empty string - i.e. disabled - * @dtopt Language - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "sUrl": "http://www.sprymedia.co.uk/dataTables/lang.txt" - * } - * } ); - * } ); - */ - "sUrl": "", - - - /** - * Text shown inside the table records when the is no information to be - * displayed after filtering. sEmptyTable is shown when there is simply no - * information in the table at all (regardless of filtering). - * @type string - * @default No matching records found - * @dtopt Language - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "oLanguage": { - * "sZeroRecords": "No records to display" - * } - * } ); - * } ); - */ - "sZeroRecords": "No matching records found" - }, - - - /** - * This parameter allows you to have define the global filtering state at - * initialisation time. As an object the "sSearch" parameter must be - * defined, but all other parameters are optional. When "bRegex" is true, - * the search string will be treated as a regular expression, when false - * (default) it will be treated as a straight string. When "bSmart" - * DataTables will use it's smart filtering methods (to word match at - * any point in the data), when false this will not be done. - * @namespace - * @extends DataTable.models.oSearch - * @dtopt Options - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "oSearch": {"sSearch": "Initial search"} - * } ); - * } ) - */ - "oSearch": $.extend( {}, DataTable.models.oSearch ), - - - /** - * By default DataTables will look for the property 'aaData' when obtaining - * data from an Ajax source or for server-side processing - this parameter - * allows that property to be changed. You can use Javascript dotted object - * notation to get a data source for multiple levels of nesting. - * @type string - * @default aaData - * @dtopt Options - * @dtopt Server-side - * - * @example - * // Get data from { "data": [...] } - * $(document).ready( function() { - * var oTable = $('#example').dataTable( { - * "sAjaxSource": "sources/data.txt", - * "sAjaxDataProp": "data" - * } ); - * } ); - * - * @example - * // Get data from { "data": { "inner": [...] } } - * $(document).ready( function() { - * var oTable = $('#example').dataTable( { - * "sAjaxSource": "sources/data.txt", - * "sAjaxDataProp": "data.inner" - * } ); - * } ); - */ - "sAjaxDataProp": "aaData", - - - /** - * You can instruct DataTables to load data from an external source using this - * parameter (use aData if you want to pass data in you already have). Simply - * provide a url a JSON object can be obtained from. This object must include - * the parameter 'aaData' which is the data source for the table. - * @type string - * @default null - * @dtopt Options - * @dtopt Server-side - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "sAjaxSource": "http://www.sprymedia.co.uk/dataTables/json.php" - * } ); - * } ) - */ - "sAjaxSource": null, - - - /** - * This parameter can be used to override the default prefix that DataTables - * assigns to a cookie when state saving is enabled. - * @type string - * @default SpryMedia_DataTables_ - * @dtopt Options - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "sCookiePrefix": "my_datatable_", - * } ); - * } ); - */ - "sCookiePrefix": "SpryMedia_DataTables_", - - - /** - * This initialisation variable allows you to specify exactly where in the - * DOM you want DataTables to inject the various controls it adds to the page - * (for example you might want the pagination controls at the top of the - * table). DIV elements (with or without a custom class) can also be added to - * aid styling. The follow syntax is used: - *
      - *
    • The following options are allowed: - *
        - *
      • 'l' - Length changing
      • 'f' - Filtering input - *
      • 't' - The table!
      • - *
      • 'i' - Information
      • - *
      • 'p' - Pagination
      • - *
      • 'r' - pRocessing
      • - *
      - *
    • - *
    • The following constants are allowed: - *
        - *
      • 'H' - jQueryUI theme "header" classes ('fg-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix')
      • - *
      • 'F' - jQueryUI theme "footer" classes ('fg-toolbar ui-widget-header ui-corner-bl ui-corner-br ui-helper-clearfix')
      • - *
      - *
    • - *
    • The following syntax is expected: - *
        - *
      • '<' and '>' - div elements
      • - *
      • '<"class" and '>' - div with a class
      • - *
      • '<"#id" and '>' - div with an ID
      • - *
      - *
    • - *
    • Examples: - *
        - *
      • '<"wrapper"flipt>'
      • - *
      • '<lf<t>ip>'
      • - *
      - *
    • - *
    - * @type string - * @default lfrtip (when bJQueryUI is false) or - * <"H"lfr>t<"F"ip> (when bJQueryUI is true) - * @dtopt Options - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "sDom": '<"top"i>rt<"bottom"flp><"clear">' - * } ); - * } ); - */ - "sDom": "lfrtip", - - - /** - * DataTables features two different built-in pagination interaction methods - * ('two_button' or 'full_numbers') which present different page controls to - * the end user. Further methods can be added using the API (see below). - * @type string - * @default two_button - * @dtopt Options - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "sPaginationType": "full_numbers" - * } ); - * } ) - */ - "sPaginationType": "two_button", - - - /** - * Enable horizontal scrolling. When a table is too wide to fit into a certain - * layout, or you have a large number of columns in the table, you can enable - * x-scrolling to show the table in a viewport, which can be scrolled. This - * property can be any CSS unit, or a number (in which case it will be treated - * as a pixel measurement). - * @type string - * @default blank string - i.e. disabled - * @dtopt Features - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "sScrollX": "100%", - * "bScrollCollapse": true - * } ); - * } ); - */ - "sScrollX": "", - - - /** - * This property can be used to force a DataTable to use more width than it - * might otherwise do when x-scrolling is enabled. For example if you have a - * table which requires to be well spaced, this parameter is useful for - * "over-sizing" the table, and thus forcing scrolling. This property can by - * any CSS unit, or a number (in which case it will be treated as a pixel - * measurement). - * @type string - * @default blank string - i.e. disabled - * @dtopt Options - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "sScrollX": "100%", - * "sScrollXInner": "110%" - * } ); - * } ); - */ - "sScrollXInner": "", - - - /** - * Enable vertical scrolling. Vertical scrolling will constrain the DataTable - * to the given height, and enable scrolling for any data which overflows the - * current viewport. This can be used as an alternative to paging to display - * a lot of data in a small area (although paging and scrolling can both be - * enabled at the same time). This property can be any CSS unit, or a number - * (in which case it will be treated as a pixel measurement). - * @type string - * @default blank string - i.e. disabled - * @dtopt Features - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "sScrollY": "200px", - * "bPaginate": false - * } ); - * } ); - */ - "sScrollY": "", - - - /** - * Set the HTTP method that is used to make the Ajax call for server-side - * processing or Ajax sourced data. - * @type string - * @default GET - * @dtopt Options - * @dtopt Server-side - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "bServerSide": true, - * "sAjaxSource": "scripts/post.php", - * "sServerMethod": "POST" - * } ); - * } ); - */ - "sServerMethod": "GET" - }; - - - - /** - * Column options that can be given to DataTables at initialisation time. - * @namespace - */ - DataTable.defaults.columns = { - /** - * Allows a column's sorting to take multiple columns into account when - * doing a sort. For example first name / last name columns make sense to - * do a multi-column sort over the two columns. - * @type array - * @default null Takes the value of the column index automatically - * @dtopt Columns - * - * @example - * // Using aoColumnDefs - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumnDefs": [ - * { "aDataSort": [ 0, 1 ], "aTargets": [ 0 ] }, - * { "aDataSort": [ 1, 0 ], "aTargets": [ 1 ] }, - * { "aDataSort": [ 2, 3, 4 ], "aTargets": [ 2 ] } - * ] - * } ); - * } ); - * - * @example - * // Using aoColumns - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumns": [ - * { "aDataSort": [ 0, 1 ] }, - * { "aDataSort": [ 1, 0 ] }, - * { "aDataSort": [ 2, 3, 4 ] }, - * null, - * null - * ] - * } ); - * } ); - */ - "aDataSort": null, - - - /** - * You can control the default sorting direction, and even alter the behaviour - * of the sort handler (i.e. only allow ascending sorting etc) using this - * parameter. - * @type array - * @default [ 'asc', 'desc' ] - * @dtopt Columns - * - * @example - * // Using aoColumnDefs - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumnDefs": [ - * { "asSorting": [ "asc" ], "aTargets": [ 1 ] }, - * { "asSorting": [ "desc", "asc", "asc" ], "aTargets": [ 2 ] }, - * { "asSorting": [ "desc" ], "aTargets": [ 3 ] } - * ] - * } ); - * } ); - * - * @example - * // Using aoColumns - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumns": [ - * null, - * { "asSorting": [ "asc" ] }, - * { "asSorting": [ "desc", "asc", "asc" ] }, - * { "asSorting": [ "desc" ] }, - * null - * ] - * } ); - * } ); - */ - "asSorting": [ 'asc', 'desc' ], - - - /** - * Enable or disable filtering on the data in this column. - * @type boolean - * @default true - * @dtopt Columns - * - * @example - * // Using aoColumnDefs - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumnDefs": [ - * { "bSearchable": false, "aTargets": [ 0 ] } - * ] } ); - * } ); - * - * @example - * // Using aoColumns - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumns": [ - * { "bSearchable": false }, - * null, - * null, - * null, - * null - * ] } ); - * } ); - */ - "bSearchable": true, - - - /** - * Enable or disable sorting on this column. - * @type boolean - * @default true - * @dtopt Columns - * - * @example - * // Using aoColumnDefs - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumnDefs": [ - * { "bSortable": false, "aTargets": [ 0 ] } - * ] } ); - * } ); - * - * @example - * // Using aoColumns - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumns": [ - * { "bSortable": false }, - * null, - * null, - * null, - * null - * ] } ); - * } ); - */ - "bSortable": true, - - - /** - * Deprecated When using fnRender() for a column, you may wish - * to use the original data (before rendering) for sorting and filtering - * (the default is to used the rendered data that the user can see). This - * may be useful for dates etc. - * - * Please note that this option has now been deprecated and will be removed - * in the next version of DataTables. Please use mRender / mData rather than - * fnRender. - * @type boolean - * @default true - * @dtopt Columns - * @deprecated - */ - "bUseRendered": true, - - - /** - * Enable or disable the display of this column. - * @type boolean - * @default true - * @dtopt Columns - * - * @example - * // Using aoColumnDefs - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumnDefs": [ - * { "bVisible": false, "aTargets": [ 0 ] } - * ] } ); - * } ); - * - * @example - * // Using aoColumns - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumns": [ - * { "bVisible": false }, - * null, - * null, - * null, - * null - * ] } ); - * } ); - */ - "bVisible": true, - - - /** - * Developer definable function that is called whenever a cell is created (Ajax source, - * etc) or processed for input (DOM source). This can be used as a compliment to mRender - * allowing you to modify the DOM element (add background colour for example) when the - * element is available. - * @type function - * @param {element} nTd The TD node that has been created - * @param {*} sData The Data for the cell - * @param {array|object} oData The data for the whole row - * @param {int} iRow The row index for the aoData data store - * @param {int} iCol The column index for aoColumns - * @dtopt Columns - * - * @example - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumnDefs": [ { - * "aTargets": [3], - * "fnCreatedCell": function (nTd, sData, oData, iRow, iCol) { - * if ( sData == "1.7" ) { - * $(nTd).css('color', 'blue') - * } - * } - * } ] - * }); - * } ); - */ - "fnCreatedCell": null, - - - /** - * Deprecated Custom display function that will be called for the - * display of each cell in this column. - * - * Please note that this option has now been deprecated and will be removed - * in the next version of DataTables. Please use mRender / mData rather than - * fnRender. - * @type function - * @param {object} o Object with the following parameters: - * @param {int} o.iDataRow The row in aoData - * @param {int} o.iDataColumn The column in question - * @param {array} o.aData The data for the row in question - * @param {object} o.oSettings The settings object for this DataTables instance - * @param {object} o.mDataProp The data property used for this column - * @param {*} val The current cell value - * @returns {string} The string you which to use in the display - * @dtopt Columns - * @deprecated - */ - "fnRender": null, - - - /** - * The column index (starting from 0!) that you wish a sort to be performed - * upon when this column is selected for sorting. This can be used for sorting - * on hidden columns for example. - * @type int - * @default -1 Use automatically calculated column index - * @dtopt Columns - * - * @example - * // Using aoColumnDefs - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumnDefs": [ - * { "iDataSort": 1, "aTargets": [ 0 ] } - * ] - * } ); - * } ); - * - * @example - * // Using aoColumns - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumns": [ - * { "iDataSort": 1 }, - * null, - * null, - * null, - * null - * ] - * } ); - * } ); - */ - "iDataSort": -1, - - - /** - * This parameter has been replaced by mData in DataTables to ensure naming - * consistency. mDataProp can still be used, as there is backwards compatibility - * in DataTables for this option, but it is strongly recommended that you use - * mData in preference to mDataProp. - * @name DataTable.defaults.columns.mDataProp - */ - - - /** - * This property can be used to read data from any JSON data source property, - * including deeply nested objects / properties. mData can be given in a - * number of different ways which effect its behaviour: - *
      - *
    • integer - treated as an array index for the data source. This is the - * default that DataTables uses (incrementally increased for each column).
    • - *
    • string - read an object property from the data source. Note that you can - * use Javascript dotted notation to read deep properties / arrays from the - * data source.
    • - *
    • null - the sDefaultContent option will be used for the cell (null - * by default, so you will need to specify the default content you want - - * typically an empty string). This can be useful on generated columns such - * as edit / delete action columns.
    • - *
    • function - the function given will be executed whenever DataTables - * needs to set or get the data for a cell in the column. The function - * takes three parameters: - *
        - *
      • {array|object} The data source for the row
      • - *
      • {string} The type call data requested - this will be 'set' when - * setting data or 'filter', 'display', 'type', 'sort' or undefined when - * gathering data. Note that when undefined is given for the type - * DataTables expects to get the raw data for the object back
      • - *
      • {*} Data to set when the second parameter is 'set'.
      • - *
      - * The return value from the function is not required when 'set' is the type - * of call, but otherwise the return is what will be used for the data - * requested.
    • - *
    - * - * Note that prior to DataTables 1.9.2 mData was called mDataProp. The name change - * reflects the flexibility of this property and is consistent with the naming of - * mRender. If 'mDataProp' is given, then it will still be used by DataTables, as - * it automatically maps the old name to the new if required. - * @type string|int|function|null - * @default null Use automatically calculated column index - * @dtopt Columns - * - * @example - * // Read table data from objects - * $(document).ready( function() { - * var oTable = $('#example').dataTable( { - * "sAjaxSource": "sources/deep.txt", - * "aoColumns": [ - * { "mData": "engine" }, - * { "mData": "browser" }, - * { "mData": "platform.inner" }, - * { "mData": "platform.details.0" }, - * { "mData": "platform.details.1" } - * ] - * } ); - * } ); - * - * @example - * // Using mData as a function to provide different information for - * // sorting, filtering and display. In this case, currency (price) - * $(document).ready( function() { - * var oTable = $('#example').dataTable( { - * "aoColumnDefs": [ { - * "aTargets": [ 0 ], - * "mData": function ( source, type, val ) { - * if (type === 'set') { - * source.price = val; - * // Store the computed dislay and filter values for efficiency - * source.price_display = val=="" ? "" : "$"+numberFormat(val); - * source.price_filter = val=="" ? "" : "$"+numberFormat(val)+" "+val; - * return; - * } - * else if (type === 'display') { - * return source.price_display; - * } - * else if (type === 'filter') { - * return source.price_filter; - * } - * // 'sort', 'type' and undefined all just use the integer - * return source.price; - * } - * } ] - * } ); - * } ); - */ - "mData": null, - - - /** - * This property is the rendering partner to mData and it is suggested that - * when you want to manipulate data for display (including filtering, sorting etc) - * but not altering the underlying data for the table, use this property. mData - * can actually do everything this property can and more, but this parameter is - * easier to use since there is no 'set' option. Like mData is can be given - * in a number of different ways to effect its behaviour, with the addition of - * supporting array syntax for easy outputting of arrays (including arrays of - * objects): - *
      - *
    • integer - treated as an array index for the data source. This is the - * default that DataTables uses (incrementally increased for each column).
    • - *
    • string - read an object property from the data source. Note that you can - * use Javascript dotted notation to read deep properties / arrays from the - * data source and also array brackets to indicate that the data reader should - * loop over the data source array. When characters are given between the array - * brackets, these characters are used to join the data source array together. - * For example: "accounts[, ].name" would result in a comma separated list with - * the 'name' value from the 'accounts' array of objects.
    • - *
    • function - the function given will be executed whenever DataTables - * needs to set or get the data for a cell in the column. The function - * takes three parameters: - *
        - *
      • {array|object} The data source for the row (based on mData)
      • - *
      • {string} The type call data requested - this will be 'filter', 'display', - * 'type' or 'sort'.
      • - *
      • {array|object} The full data source for the row (not based on mData)
      • - *
      - * The return value from the function is what will be used for the data - * requested.
    • - *
    - * @type string|int|function|null - * @default null Use mData - * @dtopt Columns - * - * @example - * // Create a comma separated list from an array of objects - * $(document).ready( function() { - * var oTable = $('#example').dataTable( { - * "sAjaxSource": "sources/deep.txt", - * "aoColumns": [ - * { "mData": "engine" }, - * { "mData": "browser" }, - * { - * "mData": "platform", - * "mRender": "[, ].name" - * } - * ] - * } ); - * } ); - * - * @example - * // Use as a function to create a link from the data source - * $(document).ready( function() { - * var oTable = $('#example').dataTable( { - * "aoColumnDefs": [ - * { - * "aTargets": [ 0 ], - * "mData": "download_link", - * "mRender": function ( data, type, full ) { - * return 'Download'; - * } - * ] - * } ); - * } ); - */ - "mRender": null, - - - /** - * Change the cell type created for the column - either TD cells or TH cells. This - * can be useful as TH cells have semantic meaning in the table body, allowing them - * to act as a header for a row (you may wish to add scope='row' to the TH elements). - * @type string - * @default td - * @dtopt Columns - * - * @example - * // Make the first column use TH cells - * $(document).ready( function() { - * var oTable = $('#example').dataTable( { - * "aoColumnDefs": [ { - * "aTargets": [ 0 ], - * "sCellType": "th" - * } ] - * } ); - * } ); - */ - "sCellType": "td", - - - /** - * Class to give to each cell in this column. - * @type string - * @default Empty string - * @dtopt Columns - * - * @example - * // Using aoColumnDefs - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumnDefs": [ - * { "sClass": "my_class", "aTargets": [ 0 ] } - * ] - * } ); - * } ); - * - * @example - * // Using aoColumns - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumns": [ - * { "sClass": "my_class" }, - * null, - * null, - * null, - * null - * ] - * } ); - * } ); - */ - "sClass": "", - - /** - * When DataTables calculates the column widths to assign to each column, - * it finds the longest string in each column and then constructs a - * temporary table and reads the widths from that. The problem with this - * is that "mmm" is much wider then "iiii", but the latter is a longer - * string - thus the calculation can go wrong (doing it properly and putting - * it into an DOM object and measuring that is horribly(!) slow). Thus as - * a "work around" we provide this option. It will append its value to the - * text that is found to be the longest string for the column - i.e. padding. - * Generally you shouldn't need this, and it is not documented on the - * general DataTables.net documentation - * @type string - * @default Empty string - * @dtopt Columns - * - * @example - * // Using aoColumns - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumns": [ - * null, - * null, - * null, - * { - * "sContentPadding": "mmm" - * } - * ] - * } ); - * } ); - */ - "sContentPadding": "", - - - /** - * Allows a default value to be given for a column's data, and will be used - * whenever a null data source is encountered (this can be because mData - * is set to null, or because the data source itself is null). - * @type string - * @default null - * @dtopt Columns - * - * @example - * // Using aoColumnDefs - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumnDefs": [ - * { - * "mData": null, - * "sDefaultContent": "Edit", - * "aTargets": [ -1 ] - * } - * ] - * } ); - * } ); - * - * @example - * // Using aoColumns - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumns": [ - * null, - * null, - * null, - * { - * "mData": null, - * "sDefaultContent": "Edit" - * } - * ] - * } ); - * } ); - */ - "sDefaultContent": null, - - - /** - * This parameter is only used in DataTables' server-side processing. It can - * be exceptionally useful to know what columns are being displayed on the - * client side, and to map these to database fields. When defined, the names - * also allow DataTables to reorder information from the server if it comes - * back in an unexpected order (i.e. if you switch your columns around on the - * client-side, your server-side code does not also need updating). - * @type string - * @default Empty string - * @dtopt Columns - * - * @example - * // Using aoColumnDefs - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumnDefs": [ - * { "sName": "engine", "aTargets": [ 0 ] }, - * { "sName": "browser", "aTargets": [ 1 ] }, - * { "sName": "platform", "aTargets": [ 2 ] }, - * { "sName": "version", "aTargets": [ 3 ] }, - * { "sName": "grade", "aTargets": [ 4 ] } - * ] - * } ); - * } ); - * - * @example - * // Using aoColumns - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumns": [ - * { "sName": "engine" }, - * { "sName": "browser" }, - * { "sName": "platform" }, - * { "sName": "version" }, - * { "sName": "grade" } - * ] - * } ); - * } ); - */ - "sName": "", - - - /** - * Defines a data source type for the sorting which can be used to read - * real-time information from the table (updating the internally cached - * version) prior to sorting. This allows sorting to occur on user editable - * elements such as form inputs. - * @type string - * @default std - * @dtopt Columns - * - * @example - * // Using aoColumnDefs - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumnDefs": [ - * { "sSortDataType": "dom-text", "aTargets": [ 2, 3 ] }, - * { "sType": "numeric", "aTargets": [ 3 ] }, - * { "sSortDataType": "dom-select", "aTargets": [ 4 ] }, - * { "sSortDataType": "dom-checkbox", "aTargets": [ 5 ] } - * ] - * } ); - * } ); - * - * @example - * // Using aoColumns - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumns": [ - * null, - * null, - * { "sSortDataType": "dom-text" }, - * { "sSortDataType": "dom-text", "sType": "numeric" }, - * { "sSortDataType": "dom-select" }, - * { "sSortDataType": "dom-checkbox" } - * ] - * } ); - * } ); - */ - "sSortDataType": "std", - - - /** - * The title of this column. - * @type string - * @default null Derived from the 'TH' value for this column in the - * original HTML table. - * @dtopt Columns - * - * @example - * // Using aoColumnDefs - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumnDefs": [ - * { "sTitle": "My column title", "aTargets": [ 0 ] } - * ] - * } ); - * } ); - * - * @example - * // Using aoColumns - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumns": [ - * { "sTitle": "My column title" }, - * null, - * null, - * null, - * null - * ] - * } ); - * } ); - */ - "sTitle": null, - - - /** - * The type allows you to specify how the data for this column will be sorted. - * Four types (string, numeric, date and html (which will strip HTML tags - * before sorting)) are currently available. Note that only date formats - * understood by Javascript's Date() object will be accepted as type date. For - * example: "Mar 26, 2008 5:03 PM". May take the values: 'string', 'numeric', - * 'date' or 'html' (by default). Further types can be adding through - * plug-ins. - * @type string - * @default null Auto-detected from raw data - * @dtopt Columns - * - * @example - * // Using aoColumnDefs - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumnDefs": [ - * { "sType": "html", "aTargets": [ 0 ] } - * ] - * } ); - * } ); - * - * @example - * // Using aoColumns - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumns": [ - * { "sType": "html" }, - * null, - * null, - * null, - * null - * ] - * } ); - * } ); - */ - "sType": null, - - - /** - * Defining the width of the column, this parameter may take any CSS value - * (3em, 20px etc). DataTables apples 'smart' widths to columns which have not - * been given a specific width through this interface ensuring that the table - * remains readable. - * @type string - * @default null Automatic - * @dtopt Columns - * - * @example - * // Using aoColumnDefs - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumnDefs": [ - * { "sWidth": "20%", "aTargets": [ 0 ] } - * ] - * } ); - * } ); - * - * @example - * // Using aoColumns - * $(document).ready( function() { - * $('#example').dataTable( { - * "aoColumns": [ - * { "sWidth": "20%" }, - * null, - * null, - * null, - * null - * ] - * } ); - * } ); - */ - "sWidth": null - }; - - - - /** - * DataTables settings object - this holds all the information needed for a - * given table, including configuration, data and current application of the - * table options. DataTables does not have a single instance for each DataTable - * with the settings attached to that instance, but rather instances of the - * DataTable "class" are created on-the-fly as needed (typically by a - * $().dataTable() call) and the settings object is then applied to that - * instance. - * - * Note that this object is related to {@link DataTable.defaults} but this - * one is the internal data store for DataTables's cache of columns. It should - * NOT be manipulated outside of DataTables. Any configuration should be done - * through the initialisation options. - * @namespace - * @todo Really should attach the settings object to individual instances so we - * don't need to create new instances on each $().dataTable() call (if the - * table already exists). It would also save passing oSettings around and - * into every single function. However, this is a very significant - * architecture change for DataTables and will almost certainly break - * backwards compatibility with older installations. This is something that - * will be done in 2.0. - */ - DataTable.models.oSettings = { - /** - * Primary features of DataTables and their enablement state. - * @namespace - */ - "oFeatures": { - - /** - * Flag to say if DataTables should automatically try to calculate the - * optimum table and columns widths (true) or not (false). - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type boolean - */ - "bAutoWidth": null, - - /** - * Delay the creation of TR and TD elements until they are actually - * needed by a driven page draw. This can give a significant speed - * increase for Ajax source and Javascript source data, but makes no - * difference at all fro DOM and server-side processing tables. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type boolean - */ - "bDeferRender": null, - - /** - * Enable filtering on the table or not. Note that if this is disabled - * then there is no filtering at all on the table, including fnFilter. - * To just remove the filtering input use sDom and remove the 'f' option. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type boolean - */ - "bFilter": null, - - /** - * Table information element (the 'Showing x of y records' div) enable - * flag. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type boolean - */ - "bInfo": null, - - /** - * Present a user control allowing the end user to change the page size - * when pagination is enabled. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type boolean - */ - "bLengthChange": null, - - /** - * Pagination enabled or not. Note that if this is disabled then length - * changing must also be disabled. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type boolean - */ - "bPaginate": null, - - /** - * Processing indicator enable flag whenever DataTables is enacting a - * user request - typically an Ajax request for server-side processing. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type boolean - */ - "bProcessing": null, - - /** - * Server-side processing enabled flag - when enabled DataTables will - * get all data from the server for every draw - there is no filtering, - * sorting or paging done on the client-side. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type boolean - */ - "bServerSide": null, - - /** - * Sorting enablement flag. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type boolean - */ - "bSort": null, - - /** - * Apply a class to the columns which are being sorted to provide a - * visual highlight or not. This can slow things down when enabled since - * there is a lot of DOM interaction. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type boolean - */ - "bSortClasses": null, - - /** - * State saving enablement flag. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type boolean - */ - "bStateSave": null - }, - - - /** - * Scrolling settings for a table. - * @namespace - */ - "oScroll": { - /** - * Indicate if DataTables should be allowed to set the padding / margin - * etc for the scrolling header elements or not. Typically you will want - * this. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type boolean - */ - "bAutoCss": null, - - /** - * When the table is shorter in height than sScrollY, collapse the - * table container down to the height of the table (when true). - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type boolean - */ - "bCollapse": null, - - /** - * Infinite scrolling enablement flag. Now deprecated in favour of - * using the Scroller plug-in. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type boolean - */ - "bInfinite": null, - - /** - * Width of the scrollbar for the web-browser's platform. Calculated - * during table initialisation. - * @type int - * @default 0 - */ - "iBarWidth": 0, - - /** - * Space (in pixels) between the bottom of the scrolling container and - * the bottom of the scrolling viewport before the next page is loaded - * when using infinite scrolling. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type int - */ - "iLoadGap": null, - - /** - * Viewport width for horizontal scrolling. Horizontal scrolling is - * disabled if an empty string. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type string - */ - "sX": null, - - /** - * Width to expand the table to when using x-scrolling. Typically you - * should not need to use this. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type string - * @deprecated - */ - "sXInner": null, - - /** - * Viewport height for vertical scrolling. Vertical scrolling is disabled - * if an empty string. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type string - */ - "sY": null - }, - - /** - * Language information for the table. - * @namespace - * @extends DataTable.defaults.oLanguage - */ - "oLanguage": { - /** - * Information callback function. See - * {@link DataTable.defaults.fnInfoCallback} - * @type function - * @default null - */ - "fnInfoCallback": null - }, - - /** - * Browser support parameters - * @namespace - */ - "oBrowser": { - /** - * Indicate if the browser incorrectly calculates width:100% inside a - * scrolling element (IE6/7) - * @type boolean - * @default false - */ - "bScrollOversize": false - }, - - /** - * Array referencing the nodes which are used for the features. The - * parameters of this object match what is allowed by sDom - i.e. - *
      - *
    • 'l' - Length changing
    • - *
    • 'f' - Filtering input
    • - *
    • 't' - The table!
    • - *
    • 'i' - Information
    • - *
    • 'p' - Pagination
    • - *
    • 'r' - pRocessing
    • - *
    - * @type array - * @default [] - */ - "aanFeatures": [], - - /** - * Store data information - see {@link DataTable.models.oRow} for detailed - * information. - * @type array - * @default [] - */ - "aoData": [], - - /** - * Array of indexes which are in the current display (after filtering etc) - * @type array - * @default [] - */ - "aiDisplay": [], - - /** - * Array of indexes for display - no filtering - * @type array - * @default [] - */ - "aiDisplayMaster": [], - - /** - * Store information about each column that is in use - * @type array - * @default [] - */ - "aoColumns": [], - - /** - * Store information about the table's header - * @type array - * @default [] - */ - "aoHeader": [], - - /** - * Store information about the table's footer - * @type array - * @default [] - */ - "aoFooter": [], - - /** - * Search data array for regular expression searching - * @type array - * @default [] - */ - "asDataSearch": [], - - /** - * Store the applied global search information in case we want to force a - * research or compare the old search to a new one. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @namespace - * @extends DataTable.models.oSearch - */ - "oPreviousSearch": {}, - - /** - * Store the applied search for each column - see - * {@link DataTable.models.oSearch} for the format that is used for the - * filtering information for each column. - * @type array - * @default [] - */ - "aoPreSearchCols": [], - - /** - * Sorting that is applied to the table. Note that the inner arrays are - * used in the following manner: - *
      - *
    • Index 0 - column number
    • - *
    • Index 1 - current sorting direction
    • - *
    • Index 2 - index of asSorting for this column
    • - *
    - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type array - * @todo These inner arrays should really be objects - */ - "aaSorting": null, - - /** - * Sorting that is always applied to the table (i.e. prefixed in front of - * aaSorting). - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type array|null - * @default null - */ - "aaSortingFixed": null, - - /** - * Classes to use for the striping of a table. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type array - * @default [] - */ - "asStripeClasses": null, - - /** - * If restoring a table - we should restore its striping classes as well - * @type array - * @default [] - */ - "asDestroyStripes": [], - - /** - * If restoring a table - we should restore its width - * @type int - * @default 0 - */ - "sDestroyWidth": 0, - - /** - * Callback functions array for every time a row is inserted (i.e. on a draw). - * @type array - * @default [] - */ - "aoRowCallback": [], - - /** - * Callback functions for the header on each draw. - * @type array - * @default [] - */ - "aoHeaderCallback": [], - - /** - * Callback function for the footer on each draw. - * @type array - * @default [] - */ - "aoFooterCallback": [], - - /** - * Array of callback functions for draw callback functions - * @type array - * @default [] - */ - "aoDrawCallback": [], - - /** - * Array of callback functions for row created function - * @type array - * @default [] - */ - "aoRowCreatedCallback": [], - - /** - * Callback functions for just before the table is redrawn. A return of - * false will be used to cancel the draw. - * @type array - * @default [] - */ - "aoPreDrawCallback": [], - - /** - * Callback functions for when the table has been initialised. - * @type array - * @default [] - */ - "aoInitComplete": [], - - - /** - * Callbacks for modifying the settings to be stored for state saving, prior to - * saving state. - * @type array - * @default [] - */ - "aoStateSaveParams": [], - - /** - * Callbacks for modifying the settings that have been stored for state saving - * prior to using the stored values to restore the state. - * @type array - * @default [] - */ - "aoStateLoadParams": [], - - /** - * Callbacks for operating on the settings object once the saved state has been - * loaded - * @type array - * @default [] - */ - "aoStateLoaded": [], - - /** - * Cache the table ID for quick access - * @type string - * @default Empty string - */ - "sTableId": "", - - /** - * The TABLE node for the main table - * @type node - * @default null - */ - "nTable": null, - - /** - * Permanent ref to the thead element - * @type node - * @default null - */ - "nTHead": null, - - /** - * Permanent ref to the tfoot element - if it exists - * @type node - * @default null - */ - "nTFoot": null, - - /** - * Permanent ref to the tbody element - * @type node - * @default null - */ - "nTBody": null, - - /** - * Cache the wrapper node (contains all DataTables controlled elements) - * @type node - * @default null - */ - "nTableWrapper": null, - - /** - * Indicate if when using server-side processing the loading of data - * should be deferred until the second draw. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type boolean - * @default false - */ - "bDeferLoading": false, - - /** - * Indicate if all required information has been read in - * @type boolean - * @default false - */ - "bInitialised": false, - - /** - * Information about open rows. Each object in the array has the parameters - * 'nTr' and 'nParent' - * @type array - * @default [] - */ - "aoOpenRows": [], - - /** - * Dictate the positioning of DataTables' control elements - see - * {@link DataTable.model.oInit.sDom}. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type string - * @default null - */ - "sDom": null, - - /** - * Which type of pagination should be used. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type string - * @default two_button - */ - "sPaginationType": "two_button", - - /** - * The cookie duration (for bStateSave) in seconds. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type int - * @default 0 - */ - "iCookieDuration": 0, - - /** - * The cookie name prefix. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type string - * @default Empty string - */ - "sCookiePrefix": "", - - /** - * Callback function for cookie creation. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type function - * @default null - */ - "fnCookieCallback": null, - - /** - * Array of callback functions for state saving. Each array element is an - * object with the following parameters: - *
      - *
    • function:fn - function to call. Takes two parameters, oSettings - * and the JSON string to save that has been thus far created. Returns - * a JSON string to be inserted into a json object - * (i.e. '"param": [ 0, 1, 2]')
    • - *
    • string:sName - name of callback
    • - *
    - * @type array - * @default [] - */ - "aoStateSave": [], - - /** - * Array of callback functions for state loading. Each array element is an - * object with the following parameters: - *
      - *
    • function:fn - function to call. Takes two parameters, oSettings - * and the object stored. May return false to cancel state loading
    • - *
    • string:sName - name of callback
    • - *
    - * @type array - * @default [] - */ - "aoStateLoad": [], - - /** - * State that was loaded from the cookie. Useful for back reference - * @type object - * @default null - */ - "oLoadedState": null, - - /** - * Source url for AJAX data for the table. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type string - * @default null - */ - "sAjaxSource": null, - - /** - * Property from a given object from which to read the table data from. This - * can be an empty string (when not server-side processing), in which case - * it is assumed an an array is given directly. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type string - */ - "sAjaxDataProp": null, - - /** - * Note if draw should be blocked while getting data - * @type boolean - * @default true - */ - "bAjaxDataGet": true, - - /** - * The last jQuery XHR object that was used for server-side data gathering. - * This can be used for working with the XHR information in one of the - * callbacks - * @type object - * @default null - */ - "jqXHR": null, - - /** - * Function to get the server-side data. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type function - */ - "fnServerData": null, - - /** - * Functions which are called prior to sending an Ajax request so extra - * parameters can easily be sent to the server - * @type array - * @default [] - */ - "aoServerParams": [], - - /** - * Send the XHR HTTP method - GET or POST (could be PUT or DELETE if - * required). - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type string - */ - "sServerMethod": null, - - /** - * Format numbers for display. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type function - */ - "fnFormatNumber": null, - - /** - * List of options that can be used for the user selectable length menu. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type array - * @default [] - */ - "aLengthMenu": null, - - /** - * Counter for the draws that the table does. Also used as a tracker for - * server-side processing - * @type int - * @default 0 - */ - "iDraw": 0, - - /** - * Indicate if a redraw is being done - useful for Ajax - * @type boolean - * @default false - */ - "bDrawing": false, - - /** - * Draw index (iDraw) of the last error when parsing the returned data - * @type int - * @default -1 - */ - "iDrawError": -1, - - /** - * Paging display length - * @type int - * @default 10 - */ - "_iDisplayLength": 10, - - /** - * Paging start point - aiDisplay index - * @type int - * @default 0 - */ - "_iDisplayStart": 0, - - /** - * Paging end point - aiDisplay index. Use fnDisplayEnd rather than - * this property to get the end point - * @type int - * @default 10 - * @private - */ - "_iDisplayEnd": 10, - - /** - * Server-side processing - number of records in the result set - * (i.e. before filtering), Use fnRecordsTotal rather than - * this property to get the value of the number of records, regardless of - * the server-side processing setting. - * @type int - * @default 0 - * @private - */ - "_iRecordsTotal": 0, - - /** - * Server-side processing - number of records in the current display set - * (i.e. after filtering). Use fnRecordsDisplay rather than - * this property to get the value of the number of records, regardless of - * the server-side processing setting. - * @type boolean - * @default 0 - * @private - */ - "_iRecordsDisplay": 0, - - /** - * Flag to indicate if jQuery UI marking and classes should be used. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type boolean - */ - "bJUI": null, - - /** - * The classes to use for the table - * @type object - * @default {} - */ - "oClasses": {}, - - /** - * Flag attached to the settings object so you can check in the draw - * callback if filtering has been done in the draw. Deprecated in favour of - * events. - * @type boolean - * @default false - * @deprecated - */ - "bFiltered": false, - - /** - * Flag attached to the settings object so you can check in the draw - * callback if sorting has been done in the draw. Deprecated in favour of - * events. - * @type boolean - * @default false - * @deprecated - */ - "bSorted": false, - - /** - * Indicate that if multiple rows are in the header and there is more than - * one unique cell per column, if the top one (true) or bottom one (false) - * should be used for sorting / title by DataTables. - * Note that this parameter will be set by the initialisation routine. To - * set a default use {@link DataTable.defaults}. - * @type boolean - */ - "bSortCellsTop": null, - - /** - * Initialisation object that is used for the table - * @type object - * @default null - */ - "oInit": null, - - /** - * Destroy callback functions - for plug-ins to attach themselves to the - * destroy so they can clean up markup and events. - * @type array - * @default [] - */ - "aoDestroyCallback": [], - - - /** - * Get the number of records in the current record set, before filtering - * @type function - */ - "fnRecordsTotal": function () - { - if ( this.oFeatures.bServerSide ) { - return parseInt(this._iRecordsTotal, 10); - } else { - return this.aiDisplayMaster.length; - } - }, - - /** - * Get the number of records in the current record set, after filtering - * @type function - */ - "fnRecordsDisplay": function () - { - if ( this.oFeatures.bServerSide ) { - return parseInt(this._iRecordsDisplay, 10); - } else { - return this.aiDisplay.length; - } - }, - - /** - * Set the display end point - aiDisplay index - * @type function - * @todo Should do away with _iDisplayEnd and calculate it on-the-fly here - */ - "fnDisplayEnd": function () - { - if ( this.oFeatures.bServerSide ) { - if ( this.oFeatures.bPaginate === false || this._iDisplayLength == -1 ) { - return this._iDisplayStart+this.aiDisplay.length; - } else { - return Math.min( this._iDisplayStart+this._iDisplayLength, - this._iRecordsDisplay ); - } - } else { - return this._iDisplayEnd; - } - }, - - /** - * The DataTables object for this table - * @type object - * @default null - */ - "oInstance": null, - - /** - * Unique identifier for each instance of the DataTables object. If there - * is an ID on the table node, then it takes that value, otherwise an - * incrementing internal counter is used. - * @type string - * @default null - */ - "sInstance": null, - - /** - * tabindex attribute value that is added to DataTables control elements, allowing - * keyboard navigation of the table and its controls. - */ - "iTabIndex": 0, - - /** - * DIV container for the footer scrolling table if scrolling - */ - "nScrollHead": null, - - /** - * DIV container for the footer scrolling table if scrolling - */ - "nScrollFoot": null - }; - - /** - * Extension object for DataTables that is used to provide all extension options. - * - * Note that the DataTable.ext object is available through - * jQuery.fn.dataTable.ext where it may be accessed and manipulated. It is - * also aliased to jQuery.fn.dataTableExt for historic reasons. - * @namespace - * @extends DataTable.models.ext - */ - DataTable.ext = $.extend( true, {}, DataTable.models.ext ); - - $.extend( DataTable.ext.oStdClasses, { - "sTable": "dataTable", - - /* Two buttons buttons */ - "sPagePrevEnabled": "paginate_enabled_previous", - "sPagePrevDisabled": "paginate_disabled_previous", - "sPageNextEnabled": "paginate_enabled_next", - "sPageNextDisabled": "paginate_disabled_next", - "sPageJUINext": "", - "sPageJUIPrev": "", - - /* Full numbers paging buttons */ - "sPageButton": "paginate_button", - "sPageButtonActive": "paginate_active", - "sPageButtonStaticDisabled": "paginate_button paginate_button_disabled", - "sPageFirst": "first", - "sPagePrevious": "previous", - "sPageNext": "next", - "sPageLast": "last", - - /* Striping classes */ - "sStripeOdd": "odd", - "sStripeEven": "even", - - /* Empty row */ - "sRowEmpty": "dataTables_empty", - - /* Features */ - "sWrapper": "dataTables_wrapper", - "sFilter": "dataTables_filter", - "sInfo": "dataTables_info", - "sPaging": "dataTables_paginate paging_", /* Note that the type is postfixed */ - "sLength": "dataTables_length", - "sProcessing": "dataTables_processing", - - /* Sorting */ - "sSortAsc": "sorting_asc", - "sSortDesc": "sorting_desc", - "sSortable": "sorting", /* Sortable in both directions */ - "sSortableAsc": "sorting_asc_disabled", - "sSortableDesc": "sorting_desc_disabled", - "sSortableNone": "sorting_disabled", - "sSortColumn": "sorting_", /* Note that an int is postfixed for the sorting order */ - "sSortJUIAsc": "", - "sSortJUIDesc": "", - "sSortJUI": "", - "sSortJUIAscAllowed": "", - "sSortJUIDescAllowed": "", - "sSortJUIWrapper": "", - "sSortIcon": "", - - /* Scrolling */ - "sScrollWrapper": "dataTables_scroll", - "sScrollHead": "dataTables_scrollHead", - "sScrollHeadInner": "dataTables_scrollHeadInner", - "sScrollBody": "dataTables_scrollBody", - "sScrollFoot": "dataTables_scrollFoot", - "sScrollFootInner": "dataTables_scrollFootInner", - - /* Misc */ - "sFooterTH": "", - "sJUIHeader": "", - "sJUIFooter": "" - } ); - - - $.extend( DataTable.ext.oJUIClasses, DataTable.ext.oStdClasses, { - /* Two buttons buttons */ - "sPagePrevEnabled": "fg-button ui-button ui-state-default ui-corner-left", - "sPagePrevDisabled": "fg-button ui-button ui-state-default ui-corner-left ui-state-disabled", - "sPageNextEnabled": "fg-button ui-button ui-state-default ui-corner-right", - "sPageNextDisabled": "fg-button ui-button ui-state-default ui-corner-right ui-state-disabled", - "sPageJUINext": "ui-icon ui-icon-circle-arrow-e", - "sPageJUIPrev": "ui-icon ui-icon-circle-arrow-w", - - /* Full numbers paging buttons */ - "sPageButton": "fg-button ui-button ui-state-default", - "sPageButtonActive": "fg-button ui-button ui-state-default ui-state-disabled", - "sPageButtonStaticDisabled": "fg-button ui-button ui-state-default ui-state-disabled", - "sPageFirst": "first ui-corner-tl ui-corner-bl", - "sPageLast": "last ui-corner-tr ui-corner-br", - - /* Features */ - "sPaging": "dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi "+ - "ui-buttonset-multi paging_", /* Note that the type is postfixed */ - - /* Sorting */ - "sSortAsc": "ui-state-default", - "sSortDesc": "ui-state-default", - "sSortable": "ui-state-default", - "sSortableAsc": "ui-state-default", - "sSortableDesc": "ui-state-default", - "sSortableNone": "ui-state-default", - "sSortJUIAsc": "css_right ui-icon ui-icon-triangle-1-n", - "sSortJUIDesc": "css_right ui-icon ui-icon-triangle-1-s", - "sSortJUI": "css_right ui-icon ui-icon-carat-2-n-s", - "sSortJUIAscAllowed": "css_right ui-icon ui-icon-carat-1-n", - "sSortJUIDescAllowed": "css_right ui-icon ui-icon-carat-1-s", - "sSortJUIWrapper": "DataTables_sort_wrapper", - "sSortIcon": "DataTables_sort_icon", - - /* Scrolling */ - "sScrollHead": "dataTables_scrollHead ui-state-default", - "sScrollFoot": "dataTables_scrollFoot ui-state-default", - - /* Misc */ - "sFooterTH": "ui-state-default", - "sJUIHeader": "fg-toolbar ui-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix", - "sJUIFooter": "fg-toolbar ui-toolbar ui-widget-header ui-corner-bl ui-corner-br ui-helper-clearfix" - } ); - - /* - * Variable: oPagination - * Purpose: - * Scope: jQuery.fn.dataTableExt - */ - $.extend( DataTable.ext.oPagination, { - /* - * Variable: two_button - * Purpose: Standard two button (forward/back) pagination - * Scope: jQuery.fn.dataTableExt.oPagination - */ - "two_button": { - /* - * Function: oPagination.two_button.fnInit - * Purpose: Initialise dom elements required for pagination with forward/back buttons only - * Returns: - - * Inputs: object:oSettings - dataTables settings object - * node:nPaging - the DIV which contains this pagination control - * function:fnCallbackDraw - draw function which must be called on update - */ - "fnInit": function ( oSettings, nPaging, fnCallbackDraw ) - { - var oLang = oSettings.oLanguage.oPaginate; - var oClasses = oSettings.oClasses; - var fnClickHandler = function ( e ) { - if ( oSettings.oApi._fnPageChange( oSettings, e.data.action ) ) - { - fnCallbackDraw( oSettings ); - } - }; - - var sAppend = (!oSettings.bJUI) ? - ''+oLang.sPrevious+''+ - ''+oLang.sNext+'' - : - ''+ - ''; - $(nPaging).append( sAppend ); - - var els = $('a', nPaging); - var nPrevious = els[0], - nNext = els[1]; - - oSettings.oApi._fnBindAction( nPrevious, {action: "previous"}, fnClickHandler ); - oSettings.oApi._fnBindAction( nNext, {action: "next"}, fnClickHandler ); - - /* ID the first elements only */ - if ( !oSettings.aanFeatures.p ) - { - nPaging.id = oSettings.sTableId+'_paginate'; - nPrevious.id = oSettings.sTableId+'_previous'; - nNext.id = oSettings.sTableId+'_next'; - - nPrevious.setAttribute('aria-controls', oSettings.sTableId); - nNext.setAttribute('aria-controls', oSettings.sTableId); - } - }, - - /* - * Function: oPagination.two_button.fnUpdate - * Purpose: Update the two button pagination at the end of the draw - * Returns: - - * Inputs: object:oSettings - dataTables settings object - * function:fnCallbackDraw - draw function to call on page change - */ - "fnUpdate": function ( oSettings, fnCallbackDraw ) - { - if ( !oSettings.aanFeatures.p ) - { - return; - } - - var oClasses = oSettings.oClasses; - var an = oSettings.aanFeatures.p; - var nNode; - - /* Loop over each instance of the pager */ - for ( var i=0, iLen=an.length ; i'+oLang.sFirst+''+ - ''+oLang.sPrevious+''+ - ''+ - ''+oLang.sNext+''+ - ''+oLang.sLast+'' - ); - var els = $('a', nPaging); - var nFirst = els[0], - nPrev = els[1], - nNext = els[2], - nLast = els[3]; - - oSettings.oApi._fnBindAction( nFirst, {action: "first"}, fnClickHandler ); - oSettings.oApi._fnBindAction( nPrev, {action: "previous"}, fnClickHandler ); - oSettings.oApi._fnBindAction( nNext, {action: "next"}, fnClickHandler ); - oSettings.oApi._fnBindAction( nLast, {action: "last"}, fnClickHandler ); - - /* ID the first elements only */ - if ( !oSettings.aanFeatures.p ) - { - nPaging.id = oSettings.sTableId+'_paginate'; - nFirst.id =oSettings.sTableId+'_first'; - nPrev.id =oSettings.sTableId+'_previous'; - nNext.id =oSettings.sTableId+'_next'; - nLast.id =oSettings.sTableId+'_last'; - } - }, - - /* - * Function: oPagination.full_numbers.fnUpdate - * Purpose: Update the list of page buttons shows - * Returns: - - * Inputs: object:oSettings - dataTables settings object - * function:fnCallbackDraw - draw function to call on page change - */ - "fnUpdate": function ( oSettings, fnCallbackDraw ) - { - if ( !oSettings.aanFeatures.p ) - { - return; - } - - var iPageCount = DataTable.ext.oPagination.iFullNumbersShowPages; - var iPageCountHalf = Math.floor(iPageCount / 2); - var iPages = Math.ceil((oSettings.fnRecordsDisplay()) / oSettings._iDisplayLength); - var iCurrentPage = Math.ceil(oSettings._iDisplayStart / oSettings._iDisplayLength) + 1; - var sList = ""; - var iStartButton, iEndButton, i, iLen; - var oClasses = oSettings.oClasses; - var anButtons, anStatic, nPaginateList, nNode; - var an = oSettings.aanFeatures.p; - var fnBind = function (j) { - oSettings.oApi._fnBindAction( this, {"page": j+iStartButton-1}, function(e) { - /* Use the information in the element to jump to the required page */ - oSettings.oApi._fnPageChange( oSettings, e.data.page ); - fnCallbackDraw( oSettings ); - e.preventDefault(); - } ); - }; - - /* Pages calculation */ - if ( oSettings._iDisplayLength === -1 ) - { - iStartButton = 1; - iEndButton = 1; - iCurrentPage = 1; - } - else if (iPages < iPageCount) - { - iStartButton = 1; - iEndButton = iPages; - } - else if (iCurrentPage <= iPageCountHalf) - { - iStartButton = 1; - iEndButton = iPageCount; - } - else if (iCurrentPage >= (iPages - iPageCountHalf)) - { - iStartButton = iPages - iPageCount + 1; - iEndButton = iPages; - } - else - { - iStartButton = iCurrentPage - Math.ceil(iPageCount / 2) + 1; - iEndButton = iStartButton + iPageCount - 1; - } - - - /* Build the dynamic list */ - for ( i=iStartButton ; i<=iEndButton ; i++ ) - { - sList += (iCurrentPage !== i) ? - ''+oSettings.fnFormatNumber(i)+'' : - ''+oSettings.fnFormatNumber(i)+''; - } - - /* Loop over each instance of the pager */ - for ( i=0, iLen=an.length ; i y) ? 1 : 0)); - }, - - "string-desc": function ( x, y ) - { - return ((x < y) ? 1 : ((x > y) ? -1 : 0)); - }, - - - /* - * html sorting (ignore html tags) - */ - "html-pre": function ( a ) - { - return a.replace( /<.*?>/g, "" ).toLowerCase(); - }, - - "html-asc": function ( x, y ) - { - return ((x < y) ? -1 : ((x > y) ? 1 : 0)); - }, - - "html-desc": function ( x, y ) - { - return ((x < y) ? 1 : ((x > y) ? -1 : 0)); - }, - - - /* - * date sorting - */ - "date-pre": function ( a ) - { - var x = Date.parse( a ); - - if ( isNaN(x) || x==="" ) - { - x = Date.parse( "01/01/1970 00:00:00" ); - } - return x; - }, - - "date-asc": function ( x, y ) - { - return x - y; - }, - - "date-desc": function ( x, y ) - { - return y - x; - }, - - - /* - * numerical sorting - */ - "numeric-pre": function ( a ) - { - return (a=="-" || a==="") ? 0 : a*1; - }, - - "numeric-asc": function ( x, y ) - { - return x - y; - }, - - "numeric-desc": function ( x, y ) - { - return y - x; - } - } ); - - - $.extend( DataTable.ext.aTypes, [ - /* - * Function: - - * Purpose: Check to see if a string is numeric - * Returns: string:'numeric' or null - * Inputs: mixed:sText - string to check - */ - function ( sData ) - { - /* Allow zero length strings as a number */ - if ( typeof sData === 'number' ) - { - return 'numeric'; - } - else if ( typeof sData !== 'string' ) - { - return null; - } - - var sValidFirstChars = "0123456789-"; - var sValidChars = "0123456789."; - var Char; - var bDecimal = false; - - /* Check for a valid first char (no period and allow negatives) */ - Char = sData.charAt(0); - if (sValidFirstChars.indexOf(Char) == -1) - { - return null; - } - - /* Check all the other characters are valid */ - for ( var i=1 ; i') != -1 ) - { - return 'html'; - } - return null; - } - ] ); - - - // jQuery aliases - $.fn.DataTable = DataTable; - $.fn.dataTable = DataTable; - $.fn.dataTableSettings = DataTable.settings; - $.fn.dataTableExt = DataTable.ext; - - - // Information about events fired by DataTables - for documentation. - /** - * Draw event, fired whenever the table is redrawn on the page, at the same point as - * fnDrawCallback. This may be useful for binding events or performing calculations when - * the table is altered at all. - * @name DataTable#draw - * @event - * @param {event} e jQuery event object - * @param {object} o DataTables settings object {@link DataTable.models.oSettings} - */ - - /** - * Filter event, fired when the filtering applied to the table (using the build in global - * global filter, or column filters) is altered. - * @name DataTable#filter - * @event - * @param {event} e jQuery event object - * @param {object} o DataTables settings object {@link DataTable.models.oSettings} - */ - - /** - * Page change event, fired when the paging of the table is altered. - * @name DataTable#page - * @event - * @param {event} e jQuery event object - * @param {object} o DataTables settings object {@link DataTable.models.oSettings} - */ - - /** - * Sort event, fired when the sorting applied to the table is altered. - * @name DataTable#sort - * @event - * @param {event} e jQuery event object - * @param {object} o DataTables settings object {@link DataTable.models.oSettings} - */ - - /** - * DataTables initialisation complete event, fired when the table is fully drawn, - * including Ajax data loaded, if Ajax data is required. - * @name DataTable#init - * @event - * @param {event} e jQuery event object - * @param {object} oSettings DataTables settings object - * @param {object} json The JSON object request from the server - only - * present if client-side Ajax sourced data is used
  • - */ - - /** - * State save event, fired when the table has changed state a new state save is required. - * This method allows modification of the state saving object prior to actually doing the - * save, including addition or other state properties (for plug-ins) or modification - * of a DataTables core property. - * @name DataTable#stateSaveParams - * @event - * @param {event} e jQuery event object - * @param {object} oSettings DataTables settings object - * @param {object} json The state information to be saved - */ - - /** - * State load event, fired when the table is loading state from the stored data, but - * prior to the settings object being modified by the saved state - allowing modification - * of the saved state is required or loading of state for a plug-in. - * @name DataTable#stateLoadParams - * @event - * @param {event} e jQuery event object - * @param {object} oSettings DataTables settings object - * @param {object} json The saved state information - */ - - /** - * State loaded event, fired when state has been loaded from stored data and the settings - * object has been modified by the loaded data. - * @name DataTable#stateLoaded - * @event - * @param {event} e jQuery event object - * @param {object} oSettings DataTables settings object - * @param {object} json The saved state information - */ - - /** - * Processing event, fired when DataTables is doing some kind of processing (be it, - * sort, filter or anything else). Can be used to indicate to the end user that - * there is something happening, or that something has finished. - * @name DataTable#processing - * @event - * @param {event} e jQuery event object - * @param {object} oSettings DataTables settings object - * @param {boolean} bShow Flag for if DataTables is doing processing or not - */ - - /** - * Ajax (XHR) event, fired whenever an Ajax request is completed from a request to - * made to the server for new data (note that this trigger is called in fnServerData, - * if you override fnServerData and which to use this event, you need to trigger it in - * you success function). - * @name DataTable#xhr - * @event - * @param {event} e jQuery event object - * @param {object} o DataTables settings object {@link DataTable.models.oSettings} - * @param {object} json JSON returned from the server - */ - - /** - * Destroy event, fired when the DataTable is destroyed by calling fnDestroy or passing - * the bDestroy:true parameter in the initialisation object. This can be used to remove - * bound events, added DOM nodes, etc. - * @name DataTable#destroy - * @event - * @param {event} e jQuery event object - * @param {object} o DataTables settings object {@link DataTable.models.oSettings} - */ -})); - -}(window, document)); - +/** + * @summary DataTables + * @description Paginate, search and sort HTML tables + * @version 1.9.4 + * @file jquery.dataTables.js + * @author Allan Jardine (www.sprymedia.co.uk) + * @contact www.sprymedia.co.uk/contact + * + * @copyright Copyright 2008-2012 Allan Jardine, all rights reserved. + * + * This source file is free software, under either the GPL v2 license or a + * BSD style license, available at: + * http://datatables.net/license_gpl2 + * http://datatables.net/license_bsd + * + * This source file is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details. + * + * For details please refer to: http://www.datatables.net + */ + +/*jslint evil: true, undef: true, browser: true */ +/*globals $, jQuery,define,_fnExternApiFunc,_fnInitialise,_fnInitComplete,_fnLanguageCompat,_fnAddColumn,_fnColumnOptions,_fnAddData,_fnCreateTr,_fnGatherData,_fnBuildHead,_fnDrawHead,_fnDraw,_fnReDraw,_fnAjaxUpdate,_fnAjaxParameters,_fnAjaxUpdateDraw,_fnServerParams,_fnAddOptionsHtml,_fnFeatureHtmlTable,_fnScrollDraw,_fnAdjustColumnSizing,_fnFeatureHtmlFilter,_fnFilterComplete,_fnFilterCustom,_fnFilterColumn,_fnFilter,_fnBuildSearchArray,_fnBuildSearchRow,_fnFilterCreateSearch,_fnDataToSearch,_fnSort,_fnSortAttachListener,_fnSortingClasses,_fnFeatureHtmlPaginate,_fnPageChange,_fnFeatureHtmlInfo,_fnUpdateInfo,_fnFeatureHtmlLength,_fnFeatureHtmlProcessing,_fnProcessingDisplay,_fnVisibleToColumnIndex,_fnColumnIndexToVisible,_fnNodeToDataIndex,_fnVisbleColumns,_fnCalculateEnd,_fnConvertToWidth,_fnCalculateColumnWidths,_fnScrollingWidthAdjust,_fnGetWidestNode,_fnGetMaxLenString,_fnStringToCss,_fnDetectType,_fnSettingsFromNode,_fnGetDataMaster,_fnGetTrNodes,_fnGetTdNodes,_fnEscapeRegex,_fnDeleteIndex,_fnReOrderIndex,_fnColumnOrdering,_fnLog,_fnClearTable,_fnSaveState,_fnLoadState,_fnCreateCookie,_fnReadCookie,_fnDetectHeader,_fnGetUniqueThs,_fnScrollBarWidth,_fnApplyToChildren,_fnMap,_fnGetRowData,_fnGetCellData,_fnSetCellData,_fnGetObjectDataFn,_fnSetObjectDataFn,_fnApplyColumnDefs,_fnBindAction,_fnCallbackReg,_fnCallbackFire,_fnJsonString,_fnRender,_fnNodeToColumnIndex,_fnInfoMacros,_fnBrowserDetect,_fnGetColumns*/ + +(/** @lends */function( window, document, undefined ) { + +(function( factory ) { + "use strict"; + + // Define as an AMD module if possible + if ( typeof define === 'function' && define.amd ) + { + define( ['jquery'], factory ); + } + /* Define using browser globals otherwise + * Prevent multiple instantiations if the script is loaded twice + */ + else if ( jQuery && !jQuery.fn.dataTable ) + { + factory( jQuery ); + } +} +(/** @lends */function( $ ) { + "use strict"; + /** + * DataTables is a plug-in for the jQuery Javascript library. It is a + * highly flexible tool, based upon the foundations of progressive + * enhancement, which will add advanced interaction controls to any + * HTML table. For a full list of features please refer to + * DataTables.net. + * + * Note that the DataTable object is not a global variable but is + * aliased to jQuery.fn.DataTable and jQuery.fn.dataTable through which + * it may be accessed. + * + * @class + * @param {object} [oInit={}] Configuration object for DataTables. Options + * are defined by {@link DataTable.defaults} + * @requires jQuery 1.3+ + * + * @example + * // Basic initialisation + * $(document).ready( function { + * $('#example').dataTable(); + * } ); + * + * @example + * // Initialisation with configuration options - in this case, disable + * // pagination and sorting. + * $(document).ready( function { + * $('#example').dataTable( { + * "bPaginate": false, + * "bSort": false + * } ); + * } ); + */ + var DataTable = function( oInit ) + { + + + /** + * Add a column to the list used for the table with default values + * @param {object} oSettings dataTables settings object + * @param {node} nTh The th element for this column + * @memberof DataTable#oApi + */ + function _fnAddColumn( oSettings, nTh ) + { + var oDefaults = DataTable.defaults.columns; + var iCol = oSettings.aoColumns.length; + var oCol = $.extend( {}, DataTable.models.oColumn, oDefaults, { + "sSortingClass": oSettings.oClasses.sSortable, + "sSortingClassJUI": oSettings.oClasses.sSortJUI, + "nTh": nTh ? nTh : document.createElement('th'), + "sTitle": oDefaults.sTitle ? oDefaults.sTitle : nTh ? nTh.innerHTML : '', + "aDataSort": oDefaults.aDataSort ? oDefaults.aDataSort : [iCol], + "mData": oDefaults.mData ? oDefaults.oDefaults : iCol + } ); + oSettings.aoColumns.push( oCol ); + + /* Add a column specific filter */ + if ( oSettings.aoPreSearchCols[ iCol ] === undefined || oSettings.aoPreSearchCols[ iCol ] === null ) + { + oSettings.aoPreSearchCols[ iCol ] = $.extend( {}, DataTable.models.oSearch ); + } + else + { + var oPre = oSettings.aoPreSearchCols[ iCol ]; + + /* Don't require that the user must specify bRegex, bSmart or bCaseInsensitive */ + if ( oPre.bRegex === undefined ) + { + oPre.bRegex = true; + } + + if ( oPre.bSmart === undefined ) + { + oPre.bSmart = true; + } + + if ( oPre.bCaseInsensitive === undefined ) + { + oPre.bCaseInsensitive = true; + } + } + + /* Use the column options function to initialise classes etc */ + _fnColumnOptions( oSettings, iCol, null ); + } + + + /** + * Apply options for a column + * @param {object} oSettings dataTables settings object + * @param {int} iCol column index to consider + * @param {object} oOptions object with sType, bVisible and bSearchable etc + * @memberof DataTable#oApi + */ + function _fnColumnOptions( oSettings, iCol, oOptions ) + { + var oCol = oSettings.aoColumns[ iCol ]; + + /* User specified column options */ + if ( oOptions !== undefined && oOptions !== null ) + { + /* Backwards compatibility for mDataProp */ + if ( oOptions.mDataProp && !oOptions.mData ) + { + oOptions.mData = oOptions.mDataProp; + } + + if ( oOptions.sType !== undefined ) + { + oCol.sType = oOptions.sType; + oCol._bAutoType = false; + } + + $.extend( oCol, oOptions ); + _fnMap( oCol, oOptions, "sWidth", "sWidthOrig" ); + + /* iDataSort to be applied (backwards compatibility), but aDataSort will take + * priority if defined + */ + if ( oOptions.iDataSort !== undefined ) + { + oCol.aDataSort = [ oOptions.iDataSort ]; + } + _fnMap( oCol, oOptions, "aDataSort" ); + } + + /* Cache the data get and set functions for speed */ + var mRender = oCol.mRender ? _fnGetObjectDataFn( oCol.mRender ) : null; + var mData = _fnGetObjectDataFn( oCol.mData ); + + oCol.fnGetData = function (oData, sSpecific) { + var innerData = mData( oData, sSpecific ); + + if ( oCol.mRender && (sSpecific && sSpecific !== '') ) + { + return mRender( innerData, sSpecific, oData ); + } + return innerData; + }; + oCol.fnSetData = _fnSetObjectDataFn( oCol.mData ); + + /* Feature sorting overrides column specific when off */ + if ( !oSettings.oFeatures.bSort ) + { + oCol.bSortable = false; + } + + /* Check that the class assignment is correct for sorting */ + if ( !oCol.bSortable || + ($.inArray('asc', oCol.asSorting) == -1 && $.inArray('desc', oCol.asSorting) == -1) ) + { + oCol.sSortingClass = oSettings.oClasses.sSortableNone; + oCol.sSortingClassJUI = ""; + } + else if ( $.inArray('asc', oCol.asSorting) == -1 && $.inArray('desc', oCol.asSorting) == -1 ) + { + oCol.sSortingClass = oSettings.oClasses.sSortable; + oCol.sSortingClassJUI = oSettings.oClasses.sSortJUI; + } + else if ( $.inArray('asc', oCol.asSorting) != -1 && $.inArray('desc', oCol.asSorting) == -1 ) + { + oCol.sSortingClass = oSettings.oClasses.sSortableAsc; + oCol.sSortingClassJUI = oSettings.oClasses.sSortJUIAscAllowed; + } + else if ( $.inArray('asc', oCol.asSorting) == -1 && $.inArray('desc', oCol.asSorting) != -1 ) + { + oCol.sSortingClass = oSettings.oClasses.sSortableDesc; + oCol.sSortingClassJUI = oSettings.oClasses.sSortJUIDescAllowed; + } + } + + + /** + * Adjust the table column widths for new data. Note: you would probably want to + * do a redraw after calling this function! + * @param {object} oSettings dataTables settings object + * @memberof DataTable#oApi + */ + function _fnAdjustColumnSizing ( oSettings ) + { + /* Not interested in doing column width calculation if auto-width is disabled */ + if ( oSettings.oFeatures.bAutoWidth === false ) + { + return false; + } + + _fnCalculateColumnWidths( oSettings ); + for ( var i=0 , iLen=oSettings.aoColumns.length ; i
    ')[0]; + oSettings.nTable.parentNode.insertBefore( nHolding, oSettings.nTable ); + + /* + * All DataTables are wrapped in a div + */ + oSettings.nTableWrapper = $('
    ')[0]; + oSettings.nTableReinsertBefore = oSettings.nTable.nextSibling; + + /* Track where we want to insert the option */ + var nInsertNode = oSettings.nTableWrapper; + + /* Loop over the user set positioning and place the elements as needed */ + var aDom = oSettings.sDom.split(''); + var nTmp, iPushFeature, cOption, nNewNode, cNext, sAttr, j; + for ( var i=0 ; i
    ')[0]; + + /* Check to see if we should append an id and/or a class name to the container */ + cNext = aDom[i+1]; + if ( cNext == "'" || cNext == '"' ) + { + sAttr = ""; + j = 2; + while ( aDom[i+j] != cNext ) + { + sAttr += aDom[i+j]; + j++; + } + + /* Replace jQuery UI constants */ + if ( sAttr == "H" ) + { + sAttr = oSettings.oClasses.sJUIHeader; + } + else if ( sAttr == "F" ) + { + sAttr = oSettings.oClasses.sJUIFooter; + } + + /* The attribute can be in the format of "#id.class", "#id" or "class" This logic + * breaks the string into parts and applies them as needed + */ + if ( sAttr.indexOf('.') != -1 ) + { + var aSplit = sAttr.split('.'); + nNewNode.id = aSplit[0].substr(1, aSplit[0].length-1); + nNewNode.className = aSplit[1]; + } + else if ( sAttr.charAt(0) == "#" ) + { + nNewNode.id = sAttr.substr(1, sAttr.length-1); + } + else + { + nNewNode.className = sAttr; + } + + i += j; /* Move along the position array */ + } + + nInsertNode.appendChild( nNewNode ); + nInsertNode = nNewNode; + } + else if ( cOption == '>' ) + { + /* End container div */ + nInsertNode = nInsertNode.parentNode; + } + else if ( cOption == 'l' && oSettings.oFeatures.bPaginate && oSettings.oFeatures.bLengthChange ) + { + /* Length */ + nTmp = _fnFeatureHtmlLength( oSettings ); + iPushFeature = 1; + } + else if ( cOption == 'f' && oSettings.oFeatures.bFilter ) + { + /* Filter */ + nTmp = _fnFeatureHtmlFilter( oSettings ); + iPushFeature = 1; + } + else if ( cOption == 'r' && oSettings.oFeatures.bProcessing ) + { + /* pRocessing */ + nTmp = _fnFeatureHtmlProcessing( oSettings ); + iPushFeature = 1; + } + else if ( cOption == 't' ) + { + /* Table */ + nTmp = _fnFeatureHtmlTable( oSettings ); + iPushFeature = 1; + } + else if ( cOption == 'i' && oSettings.oFeatures.bInfo ) + { + /* Info */ + nTmp = _fnFeatureHtmlInfo( oSettings ); + iPushFeature = 1; + } + else if ( cOption == 'p' && oSettings.oFeatures.bPaginate ) + { + /* Pagination */ + nTmp = _fnFeatureHtmlPaginate( oSettings ); + iPushFeature = 1; + } + else if ( DataTable.ext.aoFeatures.length !== 0 ) + { + /* Plug-in features */ + var aoFeatures = DataTable.ext.aoFeatures; + for ( var k=0, kLen=aoFeatures.length ; k') : + sSearchStr==="" ? '' : sSearchStr+' '; + + var nFilter = document.createElement( 'div' ); + nFilter.className = oSettings.oClasses.sFilter; + nFilter.innerHTML = ''; + if ( !oSettings.aanFeatures.f ) + { + nFilter.id = oSettings.sTableId+'_filter'; + } + + var jqFilter = $('input[type="text"]', nFilter); + + // Store a reference to the input element, so other input elements could be + // added to the filter wrapper if needed (submit button for example) + nFilter._DT_Input = jqFilter[0]; + + jqFilter.val( oPreviousSearch.sSearch.replace('"','"') ); + jqFilter.bind( 'keyup.DT', function(e) { + /* Update all other filter input elements for the new display */ + var n = oSettings.aanFeatures.f; + var val = this.value==="" ? "" : this.value; // mental IE8 fix :-( + + for ( var i=0, iLen=n.length ; i=0 ; i-- ) + { + var sData = _fnDataToSearch( _fnGetCellData( oSettings, oSettings.aiDisplay[i], iColumn, 'filter' ), + oSettings.aoColumns[iColumn].sType ); + if ( ! rpSearch.test( sData ) ) + { + oSettings.aiDisplay.splice( i, 1 ); + iIndexCorrector++; + } + } + } + + + /** + * Filter the data table based on user input and draw the table + * @param {object} oSettings dataTables settings object + * @param {string} sInput string to filter on + * @param {int} iForce optional - force a research of the master array (1) or not (undefined or 0) + * @param {bool} bRegex treat as a regular expression or not + * @param {bool} bSmart perform smart filtering or not + * @param {bool} bCaseInsensitive Do case insenstive matching or not + * @memberof DataTable#oApi + */ + function _fnFilter( oSettings, sInput, iForce, bRegex, bSmart, bCaseInsensitive ) + { + var i; + var rpSearch = _fnFilterCreateSearch( sInput, bRegex, bSmart, bCaseInsensitive ); + var oPrevSearch = oSettings.oPreviousSearch; + + /* Check if we are forcing or not - optional parameter */ + if ( !iForce ) + { + iForce = 0; + } + + /* Need to take account of custom filtering functions - always filter */ + if ( DataTable.ext.afnFiltering.length !== 0 ) + { + iForce = 1; + } + + /* + * If the input is blank - we want the full data set + */ + if ( sInput.length <= 0 ) + { + oSettings.aiDisplay.splice( 0, oSettings.aiDisplay.length); + oSettings.aiDisplay = oSettings.aiDisplayMaster.slice(); + } + else + { + /* + * We are starting a new search or the new search string is smaller + * then the old one (i.e. delete). Search from the master array + */ + if ( oSettings.aiDisplay.length == oSettings.aiDisplayMaster.length || + oPrevSearch.sSearch.length > sInput.length || iForce == 1 || + sInput.indexOf(oPrevSearch.sSearch) !== 0 ) + { + /* Nuke the old display array - we are going to rebuild it */ + oSettings.aiDisplay.splice( 0, oSettings.aiDisplay.length); + + /* Force a rebuild of the search array */ + _fnBuildSearchArray( oSettings, 1 ); + + /* Search through all records to populate the search array + * The the oSettings.aiDisplayMaster and asDataSearch arrays have 1 to 1 + * mapping + */ + for ( i=0 ; i').html(sSearch).text(); + } + + // Strip newline characters + return sSearch.replace( /[\n\r]/g, " " ); + } + + /** + * Build a regular expression object suitable for searching a table + * @param {string} sSearch string to search for + * @param {bool} bRegex treat as a regular expression or not + * @param {bool} bSmart perform smart filtering or not + * @param {bool} bCaseInsensitive Do case insensitive matching or not + * @returns {RegExp} constructed object + * @memberof DataTable#oApi + */ + function _fnFilterCreateSearch( sSearch, bRegex, bSmart, bCaseInsensitive ) + { + var asSearch, sRegExpString; + + if ( bSmart ) + { + /* Generate the regular expression to use. Something along the lines of: + * ^(?=.*?\bone\b)(?=.*?\btwo\b)(?=.*?\bthree\b).*$ + */ + asSearch = bRegex ? sSearch.split( ' ' ) : _fnEscapeRegex( sSearch ).split( ' ' ); + sRegExpString = '^(?=.*?'+asSearch.join( ')(?=.*?' )+').*$'; + return new RegExp( sRegExpString, bCaseInsensitive ? "i" : "" ); + } + else + { + sSearch = bRegex ? sSearch : _fnEscapeRegex( sSearch ); + return new RegExp( sSearch, bCaseInsensitive ? "i" : "" ); + } + } + + + /** + * Convert raw data into something that the user can search on + * @param {string} sData data to be modified + * @param {string} sType data type + * @returns {string} search string + * @memberof DataTable#oApi + */ + function _fnDataToSearch ( sData, sType ) + { + if ( typeof DataTable.ext.ofnSearch[sType] === "function" ) + { + return DataTable.ext.ofnSearch[sType]( sData ); + } + else if ( sData === null ) + { + return ''; + } + else if ( sType == "html" ) + { + return sData.replace(/[\r\n]/g," ").replace( /<.*?>/g, "" ); + } + else if ( typeof sData === "string" ) + { + return sData.replace(/[\r\n]/g," "); + } + return sData; + } + + + /** + * scape a string such that it can be used in a regular expression + * @param {string} sVal string to escape + * @returns {string} escaped string + * @memberof DataTable#oApi + */ + function _fnEscapeRegex ( sVal ) + { + var acEscape = [ '/', '.', '*', '+', '?', '|', '(', ')', '[', ']', '{', '}', '\\', '$', '^', '-' ]; + var reReplace = new RegExp( '(\\' + acEscape.join('|\\') + ')', 'g' ); + return sVal.replace(reReplace, '\\$1'); + } + + + /** + * Generate the node required for the info display + * @param {object} oSettings dataTables settings object + * @returns {node} Information element + * @memberof DataTable#oApi + */ + function _fnFeatureHtmlInfo ( oSettings ) + { + var nInfo = document.createElement( 'div' ); + nInfo.className = oSettings.oClasses.sInfo; + + /* Actions that are to be taken once only for this feature */ + if ( !oSettings.aanFeatures.i ) + { + /* Add draw callback */ + oSettings.aoDrawCallback.push( { + "fn": _fnUpdateInfo, + "sName": "information" + } ); + + /* Add id */ + nInfo.id = oSettings.sTableId+'_info'; + } + oSettings.nTable.setAttribute( 'aria-describedby', oSettings.sTableId+'_info' ); + + return nInfo; + } + + + /** + * Update the information elements in the display + * @param {object} oSettings dataTables settings object + * @memberof DataTable#oApi + */ + function _fnUpdateInfo ( oSettings ) + { + /* Show information about the table */ + if ( !oSettings.oFeatures.bInfo || oSettings.aanFeatures.i.length === 0 ) + { + return; + } + + var + oLang = oSettings.oLanguage, + iStart = oSettings._iDisplayStart+1, + iEnd = oSettings.fnDisplayEnd(), + iMax = oSettings.fnRecordsTotal(), + iTotal = oSettings.fnRecordsDisplay(), + sOut; + + if ( iTotal === 0 ) + { + /* Empty record set */ + sOut = oLang.sInfoEmpty; + } + else { + /* Normal record set */ + sOut = oLang.sInfo; + } + + if ( iTotal != iMax ) + { + /* Record set after filtering */ + sOut += ' ' + oLang.sInfoFiltered; + } + + // Convert the macros + sOut += oLang.sInfoPostFix; + sOut = _fnInfoMacros( oSettings, sOut ); + + if ( oLang.fnInfoCallback !== null ) + { + sOut = oLang.fnInfoCallback.call( oSettings.oInstance, + oSettings, iStart, iEnd, iMax, iTotal, sOut ); + } + + var n = oSettings.aanFeatures.i; + for ( var i=0, iLen=n.length ; i'; + var i, iLen; + var aLengthMenu = oSettings.aLengthMenu; + + if ( aLengthMenu.length == 2 && typeof aLengthMenu[0] === 'object' && + typeof aLengthMenu[1] === 'object' ) + { + for ( i=0, iLen=aLengthMenu[0].length ; i'+aLengthMenu[1][i]+''; + } + } + else + { + for ( i=0, iLen=aLengthMenu.length ; i'+aLengthMenu[i]+''; + } + } + sStdMenu += ''; + + var nLength = document.createElement( 'div' ); + if ( !oSettings.aanFeatures.l ) + { + nLength.id = oSettings.sTableId+'_length'; + } + nLength.className = oSettings.oClasses.sLength; + nLength.innerHTML = ''; + + /* + * Set the length to the current display length - thanks to Andrea Pavlovic for this fix, + * and Stefan Skopnik for fixing the fix! + */ + $('select option[value="'+oSettings._iDisplayLength+'"]', nLength).attr("selected", true); + + $('select', nLength).bind( 'change.DT', function(e) { + var iVal = $(this).val(); + + /* Update all other length options for the new display */ + var n = oSettings.aanFeatures.l; + for ( i=0, iLen=n.length ; i oSettings.aiDisplay.length || + oSettings._iDisplayLength == -1 ) + { + oSettings._iDisplayEnd = oSettings.aiDisplay.length; + } + else + { + oSettings._iDisplayEnd = oSettings._iDisplayStart + oSettings._iDisplayLength; + } + } + } + + + + /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * Note that most of the paging logic is done in + * DataTable.ext.oPagination + */ + + /** + * Generate the node required for default pagination + * @param {object} oSettings dataTables settings object + * @returns {node} Pagination feature node + * @memberof DataTable#oApi + */ + function _fnFeatureHtmlPaginate ( oSettings ) + { + if ( oSettings.oScroll.bInfinite ) + { + return null; + } + + var nPaginate = document.createElement( 'div' ); + nPaginate.className = oSettings.oClasses.sPaging+oSettings.sPaginationType; + + DataTable.ext.oPagination[ oSettings.sPaginationType ].fnInit( oSettings, nPaginate, + function( oSettings ) { + _fnCalculateEnd( oSettings ); + _fnDraw( oSettings ); + } + ); + + /* Add a draw callback for the pagination on first instance, to update the paging display */ + if ( !oSettings.aanFeatures.p ) + { + oSettings.aoDrawCallback.push( { + "fn": function( oSettings ) { + DataTable.ext.oPagination[ oSettings.sPaginationType ].fnUpdate( oSettings, function( oSettings ) { + _fnCalculateEnd( oSettings ); + _fnDraw( oSettings ); + } ); + }, + "sName": "pagination" + } ); + } + return nPaginate; + } + + + /** + * Alter the display settings to change the page + * @param {object} oSettings dataTables settings object + * @param {string|int} mAction Paging action to take: "first", "previous", "next" or "last" + * or page number to jump to (integer) + * @returns {bool} true page has changed, false - no change (no effect) eg 'first' on page 1 + * @memberof DataTable#oApi + */ + function _fnPageChange ( oSettings, mAction ) + { + var iOldStart = oSettings._iDisplayStart; + + if ( typeof mAction === "number" ) + { + oSettings._iDisplayStart = mAction * oSettings._iDisplayLength; + if ( oSettings._iDisplayStart > oSettings.fnRecordsDisplay() ) + { + oSettings._iDisplayStart = 0; + } + } + else if ( mAction == "first" ) + { + oSettings._iDisplayStart = 0; + } + else if ( mAction == "previous" ) + { + oSettings._iDisplayStart = oSettings._iDisplayLength>=0 ? + oSettings._iDisplayStart - oSettings._iDisplayLength : + 0; + + /* Correct for under-run */ + if ( oSettings._iDisplayStart < 0 ) + { + oSettings._iDisplayStart = 0; + } + } + else if ( mAction == "next" ) + { + if ( oSettings._iDisplayLength >= 0 ) + { + /* Make sure we are not over running the display array */ + if ( oSettings._iDisplayStart + oSettings._iDisplayLength < oSettings.fnRecordsDisplay() ) + { + oSettings._iDisplayStart += oSettings._iDisplayLength; + } + } + else + { + oSettings._iDisplayStart = 0; + } + } + else if ( mAction == "last" ) + { + if ( oSettings._iDisplayLength >= 0 ) + { + var iPages = parseInt( (oSettings.fnRecordsDisplay()-1) / oSettings._iDisplayLength, 10 ) + 1; + oSettings._iDisplayStart = (iPages-1) * oSettings._iDisplayLength; + } + else + { + oSettings._iDisplayStart = 0; + } + } + else + { + _fnLog( oSettings, 0, "Unknown paging action: "+mAction ); + } + $(oSettings.oInstance).trigger('page', oSettings); + + return iOldStart != oSettings._iDisplayStart; + } + + + + /** + * Generate the node required for the processing node + * @param {object} oSettings dataTables settings object + * @returns {node} Processing element + * @memberof DataTable#oApi + */ + function _fnFeatureHtmlProcessing ( oSettings ) + { + var nProcessing = document.createElement( 'div' ); + + if ( !oSettings.aanFeatures.r ) + { + nProcessing.id = oSettings.sTableId+'_processing'; + } + nProcessing.innerHTML = oSettings.oLanguage.sProcessing; + nProcessing.className = oSettings.oClasses.sProcessing; + oSettings.nTable.parentNode.insertBefore( nProcessing, oSettings.nTable ); + + return nProcessing; + } + + + /** + * Display or hide the processing indicator + * @param {object} oSettings dataTables settings object + * @param {bool} bShow Show the processing indicator (true) or not (false) + * @memberof DataTable#oApi + */ + function _fnProcessingDisplay ( oSettings, bShow ) + { + if ( oSettings.oFeatures.bProcessing ) + { + var an = oSettings.aanFeatures.r; + for ( var i=0, iLen=an.length ; i 0 ) + { + nCaption = nCaption[0]; + if ( nCaption._captionSide === "top" ) + { + nScrollHeadTable.appendChild( nCaption ); + } + else if ( nCaption._captionSide === "bottom" && nTfoot ) + { + nScrollFootTable.appendChild( nCaption ); + } + } + + /* + * Sizing + */ + /* When x-scrolling add the width and a scroller to move the header with the body */ + if ( oSettings.oScroll.sX !== "" ) + { + nScrollHead.style.width = _fnStringToCss( oSettings.oScroll.sX ); + nScrollBody.style.width = _fnStringToCss( oSettings.oScroll.sX ); + + if ( nTfoot !== null ) + { + nScrollFoot.style.width = _fnStringToCss( oSettings.oScroll.sX ); + } + + /* When the body is scrolled, then we also want to scroll the headers */ + $(nScrollBody).scroll( function (e) { + nScrollHead.scrollLeft = this.scrollLeft; + + if ( nTfoot !== null ) + { + nScrollFoot.scrollLeft = this.scrollLeft; + } + } ); + } + + /* When yscrolling, add the height */ + if ( oSettings.oScroll.sY !== "" ) + { + nScrollBody.style.height = _fnStringToCss( oSettings.oScroll.sY ); + } + + /* Redraw - align columns across the tables */ + oSettings.aoDrawCallback.push( { + "fn": _fnScrollDraw, + "sName": "scrolling" + } ); + + /* Infinite scrolling event handlers */ + if ( oSettings.oScroll.bInfinite ) + { + $(nScrollBody).scroll( function() { + /* Use a blocker to stop scrolling from loading more data while other data is still loading */ + if ( !oSettings.bDrawing && $(this).scrollTop() !== 0 ) + { + /* Check if we should load the next data set */ + if ( $(this).scrollTop() + $(this).height() > + $(oSettings.nTable).height() - oSettings.oScroll.iLoadGap ) + { + /* Only do the redraw if we have to - we might be at the end of the data */ + if ( oSettings.fnDisplayEnd() < oSettings.fnRecordsDisplay() ) + { + _fnPageChange( oSettings, 'next' ); + _fnCalculateEnd( oSettings ); + _fnDraw( oSettings ); + } + } + } + } ); + } + + oSettings.nScrollHead = nScrollHead; + oSettings.nScrollFoot = nScrollFoot; + + return nScroller; + } + + + /** + * Update the various tables for resizing. It's a bit of a pig this function, but + * basically the idea to: + * 1. Re-create the table inside the scrolling div + * 2. Take live measurements from the DOM + * 3. Apply the measurements + * 4. Clean up + * @param {object} o dataTables settings object + * @returns {node} Node to add to the DOM + * @memberof DataTable#oApi + */ + function _fnScrollDraw ( o ) + { + var + nScrollHeadInner = o.nScrollHead.getElementsByTagName('div')[0], + nScrollHeadTable = nScrollHeadInner.getElementsByTagName('table')[0], + nScrollBody = o.nTable.parentNode, + i, iLen, j, jLen, anHeadToSize, anHeadSizers, anFootSizers, anFootToSize, oStyle, iVis, + nTheadSize, nTfootSize, + iWidth, aApplied=[], aAppliedFooter=[], iSanityWidth, + nScrollFootInner = (o.nTFoot !== null) ? o.nScrollFoot.getElementsByTagName('div')[0] : null, + nScrollFootTable = (o.nTFoot !== null) ? nScrollFootInner.getElementsByTagName('table')[0] : null, + ie67 = o.oBrowser.bScrollOversize, + zeroOut = function(nSizer) { + oStyle = nSizer.style; + oStyle.paddingTop = "0"; + oStyle.paddingBottom = "0"; + oStyle.borderTopWidth = "0"; + oStyle.borderBottomWidth = "0"; + oStyle.height = 0; + }; + + /* + * 1. Re-create the table inside the scrolling div + */ + + /* Remove the old minimised thead and tfoot elements in the inner table */ + $(o.nTable).children('thead, tfoot').remove(); + + /* Clone the current header and footer elements and then place it into the inner table */ + nTheadSize = $(o.nTHead).clone()[0]; + o.nTable.insertBefore( nTheadSize, o.nTable.childNodes[0] ); + anHeadToSize = o.nTHead.getElementsByTagName('tr'); + anHeadSizers = nTheadSize.getElementsByTagName('tr'); + + if ( o.nTFoot !== null ) + { + nTfootSize = $(o.nTFoot).clone()[0]; + o.nTable.insertBefore( nTfootSize, o.nTable.childNodes[1] ); + anFootToSize = o.nTFoot.getElementsByTagName('tr'); + anFootSizers = nTfootSize.getElementsByTagName('tr'); + } + + /* + * 2. Take live measurements from the DOM - do not alter the DOM itself! + */ + + /* Remove old sizing and apply the calculated column widths + * Get the unique column headers in the newly created (cloned) header. We want to apply the + * calculated sizes to this header + */ + if ( o.oScroll.sX === "" ) + { + nScrollBody.style.width = '100%'; + nScrollHeadInner.parentNode.style.width = '100%'; + } + + var nThs = _fnGetUniqueThs( o, nTheadSize ); + for ( i=0, iLen=nThs.length ; i nScrollBody.offsetHeight || + $(nScrollBody).css('overflow-y') == "scroll") ) + { + o.nTable.style.width = _fnStringToCss( $(o.nTable).outerWidth() - o.oScroll.iBarWidth); + } + } + else + { + if ( o.oScroll.sXInner !== "" ) + { + /* x scroll inner has been given - use it */ + o.nTable.style.width = _fnStringToCss(o.oScroll.sXInner); + } + else if ( iSanityWidth == $(nScrollBody).width() && + $(nScrollBody).height() < $(o.nTable).height() ) + { + /* There is y-scrolling - try to take account of the y scroll bar */ + o.nTable.style.width = _fnStringToCss( iSanityWidth-o.oScroll.iBarWidth ); + if ( $(o.nTable).outerWidth() > iSanityWidth-o.oScroll.iBarWidth ) + { + /* Not possible to take account of it */ + o.nTable.style.width = _fnStringToCss( iSanityWidth ); + } + } + else + { + /* All else fails */ + o.nTable.style.width = _fnStringToCss( iSanityWidth ); + } + } + + /* Recalculate the sanity width - now that we've applied the required width, before it was + * a temporary variable. This is required because the column width calculation is done + * before this table DOM is created. + */ + iSanityWidth = $(o.nTable).outerWidth(); + + /* We want the hidden header to have zero height, so remove padding and borders. Then + * set the width based on the real headers + */ + + // Apply all styles in one pass. Invalidates layout only once because we don't read any + // DOM properties. + _fnApplyToChildren( zeroOut, anHeadSizers ); + + // Read all widths in next pass. Forces layout only once because we do not change + // any DOM properties. + _fnApplyToChildren( function(nSizer) { + aApplied.push( _fnStringToCss( $(nSizer).width() ) ); + }, anHeadSizers ); + + // Apply all widths in final pass. Invalidates layout only once because we do not + // read any DOM properties. + _fnApplyToChildren( function(nToSize, i) { + nToSize.style.width = aApplied[i]; + }, anHeadToSize ); + + $(anHeadSizers).height(0); + + /* Same again with the footer if we have one */ + if ( o.nTFoot !== null ) + { + _fnApplyToChildren( zeroOut, anFootSizers ); + + _fnApplyToChildren( function(nSizer) { + aAppliedFooter.push( _fnStringToCss( $(nSizer).width() ) ); + }, anFootSizers ); + + _fnApplyToChildren( function(nToSize, i) { + nToSize.style.width = aAppliedFooter[i]; + }, anFootToSize ); + + $(anFootSizers).height(0); + } + + /* + * 3. Apply the measurements + */ + + /* "Hide" the header and footer that we used for the sizing. We want to also fix their width + * to what they currently are + */ + _fnApplyToChildren( function(nSizer, i) { + nSizer.innerHTML = ""; + nSizer.style.width = aApplied[i]; + //fix column align + nSizer.style.minWidth =nSizer.style.width; + }, anHeadSizers ); + + if ( o.nTFoot !== null ) + { + _fnApplyToChildren( function(nSizer, i) { + nSizer.innerHTML = ""; + nSizer.style.width = aAppliedFooter[i]; + }, anFootSizers ); + } + + /* Sanity check that the table is of a sensible width. If not then we are going to get + * misalignment - try to prevent this by not allowing the table to shrink below its min width + */ + if ( $(o.nTable).outerWidth() < iSanityWidth ) + { + /* The min width depends upon if we have a vertical scrollbar visible or not */ + var iCorrection = ((nScrollBody.scrollHeight > nScrollBody.offsetHeight || + $(nScrollBody).css('overflow-y') == "scroll")) ? + iSanityWidth+o.oScroll.iBarWidth : iSanityWidth; + + /* IE6/7 are a law unto themselves... */ + if ( ie67 && (nScrollBody.scrollHeight > + nScrollBody.offsetHeight || $(nScrollBody).css('overflow-y') == "scroll") ) + { + o.nTable.style.width = _fnStringToCss( iCorrection-o.oScroll.iBarWidth ); + } + + /* Apply the calculated minimum width to the table wrappers */ + nScrollBody.style.width = _fnStringToCss( iCorrection ); + o.nScrollHead.style.width = _fnStringToCss( iCorrection ); + + if ( o.nTFoot !== null ) + { + o.nScrollFoot.style.width = _fnStringToCss( iCorrection ); + } + + /* And give the user a warning that we've stopped the table getting too small */ + if ( o.oScroll.sX === "" ) + { + _fnLog( o, 1, "The table cannot fit into the current element which will cause column"+ + " misalignment. The table has been drawn at its minimum possible width." ); + } + else if ( o.oScroll.sXInner !== "" ) + { + _fnLog( o, 1, "The table cannot fit into the current element which will cause column"+ + " misalignment. Increase the sScrollXInner value or remove it to allow automatic"+ + " calculation" ); + } + } + else + { + nScrollBody.style.width = _fnStringToCss( '100%' ); + o.nScrollHead.style.width = _fnStringToCss( '100%' ); + + if ( o.nTFoot !== null ) + { + o.nScrollFoot.style.width = _fnStringToCss( '100%' ); + } + } + + + /* + * 4. Clean up + */ + if ( o.oScroll.sY === "" ) + { + /* IE7< puts a vertical scrollbar in place (when it shouldn't be) due to subtracting + * the scrollbar height from the visible display, rather than adding it on. We need to + * set the height in order to sort this. Don't want to do it in any other browsers. + */ + if ( ie67 ) + { + nScrollBody.style.height = _fnStringToCss( o.nTable.offsetHeight+o.oScroll.iBarWidth ); + } + } + + if ( o.oScroll.sY !== "" && o.oScroll.bCollapse ) + { + nScrollBody.style.height = _fnStringToCss( o.oScroll.sY ); + + var iExtra = (o.oScroll.sX !== "" && o.nTable.offsetWidth > nScrollBody.offsetWidth) ? + o.oScroll.iBarWidth : 0; + if ( o.nTable.offsetHeight < nScrollBody.offsetHeight ) + { + nScrollBody.style.height = _fnStringToCss( o.nTable.offsetHeight+iExtra ); + } + } + + /* Finally set the width's of the header and footer tables */ + var iOuterWidth = $(o.nTable).outerWidth(); + nScrollHeadTable.style.width = _fnStringToCss( iOuterWidth ); + nScrollHeadInner.style.width = _fnStringToCss( iOuterWidth ); + + // Figure out if there are scrollbar present - if so then we need a the header and footer to + // provide a bit more space to allow "overflow" scrolling (i.e. past the scrollbar) + var bScrolling = $(o.nTable).height() > nScrollBody.clientHeight || $(nScrollBody).css('overflow-y') == "scroll"; + nScrollHeadInner.style.paddingRight = bScrolling ? o.oScroll.iBarWidth+"px" : "0px"; + + if ( o.nTFoot !== null ) + { + nScrollFootTable.style.width = _fnStringToCss( iOuterWidth ); + nScrollFootInner.style.width = _fnStringToCss( iOuterWidth ); + nScrollFootInner.style.paddingRight = bScrolling ? o.oScroll.iBarWidth+"px" : "0px"; + } + + /* Adjust the position of the header in case we loose the y-scrollbar */ + $(nScrollBody).scroll(); + + /* If sorting or filtering has occurred, jump the scrolling back to the top */ + if ( o.bSorted || o.bFiltered ) + { + nScrollBody.scrollTop = 0; + } + } + + + /** + * Apply a given function to the display child nodes of an element array (typically + * TD children of TR rows + * @param {function} fn Method to apply to the objects + * @param array {nodes} an1 List of elements to look through for display children + * @param array {nodes} an2 Another list (identical structure to the first) - optional + * @memberof DataTable#oApi + */ + function _fnApplyToChildren( fn, an1, an2 ) + { + var index=0, i=0, iLen=an1.length; + var nNode1, nNode2; + + while ( i < iLen ) + { + nNode1 = an1[i].firstChild; + nNode2 = an2 ? an2[i].firstChild : null; + while ( nNode1 ) + { + if ( nNode1.nodeType === 1 ) + { + if ( an2 ) + { + fn( nNode1, nNode2, index ); + } + else + { + fn( nNode1, index ); + } + index++; + } + nNode1 = nNode1.nextSibling; + nNode2 = an2 ? nNode2.nextSibling : null; + } + i++; + } + } + + /** + * Convert a CSS unit width to pixels (e.g. 2em) + * @param {string} sWidth width to be converted + * @param {node} nParent parent to get the with for (required for relative widths) - optional + * @returns {int} iWidth width in pixels + * @memberof DataTable#oApi + */ + function _fnConvertToWidth ( sWidth, nParent ) + { + if ( !sWidth || sWidth === null || sWidth === '' ) + { + return 0; + } + + if ( !nParent ) + { + nParent = document.body; + } + + var iWidth; + var nTmp = document.createElement( "div" ); + nTmp.style.width = _fnStringToCss( sWidth ); + + nParent.appendChild( nTmp ); + iWidth = nTmp.offsetWidth; + nParent.removeChild( nTmp ); + + return ( iWidth ); + } + + + /** + * Calculate the width of columns for the table + * @param {object} oSettings dataTables settings object + * @memberof DataTable#oApi + */ + function _fnCalculateColumnWidths ( oSettings ) + { + var iTableWidth = oSettings.nTable.offsetWidth; + var iUserInputs = 0; + var iTmpWidth; + var iVisibleColumns = 0; + var iColums = oSettings.aoColumns.length; + var i, iIndex, iCorrector, iWidth; + var oHeaders = $('th', oSettings.nTHead); + var widthAttr = oSettings.nTable.getAttribute('width'); + var nWrapper = oSettings.nTable.parentNode; + + /* Convert any user input sizes into pixel sizes */ + for ( i=0 ; itd', nCalcTmp); + } + + /* Apply custom sizing to the cloned header */ + var nThs = _fnGetUniqueThs( oSettings, nTheadClone ); + iCorrector = 0; + for ( i=0 ; i 0 ) + { + oSettings.aoColumns[i].sWidth = _fnStringToCss( iWidth ); + } + iCorrector++; + } + } + + var cssWidth = $(nCalcTmp).css('width'); + oSettings.nTable.style.width = (cssWidth.indexOf('%') !== -1) ? + cssWidth : _fnStringToCss( $(nCalcTmp).outerWidth() ); + nCalcTmp.parentNode.removeChild( nCalcTmp ); + } + + if ( widthAttr ) + { + oSettings.nTable.style.width = _fnStringToCss( widthAttr ); + } + } + + + /** + * Adjust a table's width to take account of scrolling + * @param {object} oSettings dataTables settings object + * @param {node} n table node + * @memberof DataTable#oApi + */ + function _fnScrollingWidthAdjust ( oSettings, n ) + { + if ( oSettings.oScroll.sX === "" && oSettings.oScroll.sY !== "" ) + { + /* When y-scrolling only, we want to remove the width of the scroll bar so the table + * + scroll bar will fit into the area avaialble. + */ + var iOrigWidth = $(n).width(); + n.style.width = _fnStringToCss( $(n).outerWidth()-oSettings.oScroll.iBarWidth ); + } + else if ( oSettings.oScroll.sX !== "" ) + { + /* When x-scrolling both ways, fix the table at it's current size, without adjusting */ + n.style.width = _fnStringToCss( $(n).outerWidth() ); + } + } + + + /** + * Get the widest node + * @param {object} oSettings dataTables settings object + * @param {int} iCol column of interest + * @returns {node} widest table node + * @memberof DataTable#oApi + */ + function _fnGetWidestNode( oSettings, iCol ) + { + var iMaxIndex = _fnGetMaxLenString( oSettings, iCol ); + if ( iMaxIndex < 0 ) + { + return null; + } + + if ( oSettings.aoData[iMaxIndex].nTr === null ) + { + var n = document.createElement('td'); + n.innerHTML = _fnGetCellData( oSettings, iMaxIndex, iCol, '' ); + return n; + } + return _fnGetTdNodes(oSettings, iMaxIndex)[iCol]; + } + + + /** + * Get the maximum strlen for each data column + * @param {object} oSettings dataTables settings object + * @param {int} iCol column of interest + * @returns {string} max string length for each column + * @memberof DataTable#oApi + */ + function _fnGetMaxLenString( oSettings, iCol ) + { + var iMax = -1; + var iMaxIndex = -1; + + for ( var i=0 ; i/g, "" ); + if ( s.length > iMax ) + { + iMax = s.length; + iMaxIndex = i; + } + } + + return iMaxIndex; + } + + + /** + * Append a CSS unit (only if required) to a string + * @param {array} aArray1 first array + * @param {array} aArray2 second array + * @returns {int} 0 if match, 1 if length is different, 2 if no match + * @memberof DataTable#oApi + */ + function _fnStringToCss( s ) + { + if ( s === null ) + { + return "0px"; + } + + if ( typeof s == 'number' ) + { + if ( s < 0 ) + { + return "0px"; + } + return s+"px"; + } + + /* Check if the last character is not 0-9 */ + var c = s.charCodeAt( s.length-1 ); + if (c < 0x30 || c > 0x39) + { + return s; + } + return s+"px"; + } + + + /** + * Get the width of a scroll bar in this browser being used + * @returns {int} width in pixels + * @memberof DataTable#oApi + */ + function _fnScrollBarWidth () + { + var inner = document.createElement('p'); + var style = inner.style; + style.width = "100%"; + style.height = "200px"; + style.padding = "0px"; + + var outer = document.createElement('div'); + style = outer.style; + style.position = "absolute"; + style.top = "0px"; + style.left = "0px"; + style.visibility = "hidden"; + style.width = "200px"; + style.height = "150px"; + style.padding = "0px"; + style.overflow = "hidden"; + outer.appendChild(inner); + + document.body.appendChild(outer); + var w1 = inner.offsetWidth; + outer.style.overflow = 'scroll'; + var w2 = inner.offsetWidth; + if ( w1 == w2 ) + { + w2 = outer.clientWidth; + } + + document.body.removeChild(outer); + return (w1 - w2); + } + + /** + * Change the order of the table + * @param {object} oSettings dataTables settings object + * @param {bool} bApplyClasses optional - should we apply classes or not + * @memberof DataTable#oApi + */ + function _fnSort ( oSettings, bApplyClasses ) + { + var + i, iLen, j, jLen, k, kLen, + sDataType, nTh, + aaSort = [], + aiOrig = [], + oSort = DataTable.ext.oSort, + aoData = oSettings.aoData, + aoColumns = oSettings.aoColumns, + oAria = oSettings.oLanguage.oAria; + + /* No sorting required if server-side or no sorting array */ + if ( !oSettings.oFeatures.bServerSide && + (oSettings.aaSorting.length !== 0 || oSettings.aaSortingFixed !== null) ) + { + aaSort = ( oSettings.aaSortingFixed !== null ) ? + oSettings.aaSortingFixed.concat( oSettings.aaSorting ) : + oSettings.aaSorting.slice(); + + /* If there is a sorting data type, and a function belonging to it, then we need to + * get the data from the developer's function and apply it for this column + */ + for ( i=0 ; i/g, "" ); + nTh = aoColumns[i].nTh; + nTh.removeAttribute('aria-sort'); + nTh.removeAttribute('aria-label'); + + /* In ARIA only the first sorting column can be marked as sorting - no multi-sort option */ + if ( aoColumns[i].bSortable ) + { + if ( aaSort.length > 0 && aaSort[0][0] == i ) + { + nTh.setAttribute('aria-sort', aaSort[0][1]=="asc" ? "ascending" : "descending" ); + + var nextSort = (aoColumns[i].asSorting[ aaSort[0][2]+1 ]) ? + aoColumns[i].asSorting[ aaSort[0][2]+1 ] : aoColumns[i].asSorting[0]; + nTh.setAttribute('aria-label', sTitle+ + (nextSort=="asc" ? oAria.sSortAscending : oAria.sSortDescending) ); + } + else + { + nTh.setAttribute('aria-label', sTitle+ + (aoColumns[i].asSorting[0]=="asc" ? oAria.sSortAscending : oAria.sSortDescending) ); + } + } + else + { + nTh.setAttribute('aria-label', sTitle); + } + } + + /* Tell the draw function that we have sorted the data */ + oSettings.bSorted = true; + $(oSettings.oInstance).trigger('sort', oSettings); + + /* Copy the master data into the draw array and re-draw */ + if ( oSettings.oFeatures.bFilter ) + { + /* _fnFilter() will redraw the table for us */ + _fnFilterComplete( oSettings, oSettings.oPreviousSearch, 1 ); + } + else + { + oSettings.aiDisplay = oSettings.aiDisplayMaster.slice(); + oSettings._iDisplayStart = 0; /* reset display back to page 0 */ + _fnCalculateEnd( oSettings ); + _fnDraw( oSettings ); + } + } + + + /** + * Attach a sort handler (click) to a node + * @param {object} oSettings dataTables settings object + * @param {node} nNode node to attach the handler to + * @param {int} iDataIndex column sorting index + * @param {function} [fnCallback] callback function + * @memberof DataTable#oApi + */ + function _fnSortAttachListener ( oSettings, nNode, iDataIndex, fnCallback ) + { + _fnBindAction( nNode, {}, function (e) { + /* If the column is not sortable - don't to anything */ + if ( oSettings.aoColumns[iDataIndex].bSortable === false ) + { + return; + } + + /* + * This is a little bit odd I admit... I declare a temporary function inside the scope of + * _fnBuildHead and the click handler in order that the code presented here can be used + * twice - once for when bProcessing is enabled, and another time for when it is + * disabled, as we need to perform slightly different actions. + * Basically the issue here is that the Javascript engine in modern browsers don't + * appear to allow the rendering engine to update the display while it is still executing + * it's thread (well - it does but only after long intervals). This means that the + * 'processing' display doesn't appear for a table sort. To break the js thread up a bit + * I force an execution break by using setTimeout - but this breaks the expected + * thread continuation for the end-developer's point of view (their code would execute + * too early), so we only do it when we absolutely have to. + */ + var fnInnerSorting = function () { + var iColumn, iNextSort; + + /* If the shift key is pressed then we are multiple column sorting */ + if ( e.shiftKey ) + { + /* Are we already doing some kind of sort on this column? */ + var bFound = false; + for ( var i=0 ; i 0 && sCurrentClass.indexOf(sNewClass) == -1 ) + { + /* We need to add a class */ + nTds[i].className = sCurrentClass + " " + sNewClass; + } + } + } + } + + + + /** + * Save the state of a table in a cookie such that the page can be reloaded + * @param {object} oSettings dataTables settings object + * @memberof DataTable#oApi + */ + function _fnSaveState ( oSettings ) + { + if ( !oSettings.oFeatures.bStateSave || oSettings.bDestroying ) + { + return; + } + + /* Store the interesting variables */ + var i, iLen, bInfinite=oSettings.oScroll.bInfinite; + var oState = { + "iCreate": new Date().getTime(), + "iStart": (bInfinite ? 0 : oSettings._iDisplayStart), + "iEnd": (bInfinite ? oSettings._iDisplayLength : oSettings._iDisplayEnd), + "iLength": oSettings._iDisplayLength, + "aaSorting": $.extend( true, [], oSettings.aaSorting ), + "oSearch": $.extend( true, {}, oSettings.oPreviousSearch ), + "aoSearchCols": $.extend( true, [], oSettings.aoPreSearchCols ), + "abVisCols": [] + }; + + for ( i=0, iLen=oSettings.aoColumns.length ; i 4096 ) /* Magic 10 for padding */ + { + for ( var i=0, iLen=aCookies.length ; i 4096 ) { + if ( aOldCookies.length === 0 ) { + // Deleted all DT cookies and still not enough space. Can't state save + return; + } + + var old = aOldCookies.pop(); + document.cookie = old.name+"=; expires=Thu, 01-Jan-1970 00:00:01 GMT; path="+ + aParts.join('/') + "/"; + } + } + + document.cookie = sFullCookie; + } + + + /** + * Read an old cookie to get a cookie with an old table state + * @param {string} sName name of the cookie to read + * @returns {string} contents of the cookie - or null if no cookie with that name found + * @memberof DataTable#oApi + */ + function _fnReadCookie ( sName ) + { + var + aParts = window.location.pathname.split('/'), + sNameEQ = sName + '_' + aParts[aParts.length-1].replace(/[\/:]/g,"").toLowerCase() + '=', + sCookieContents = document.cookie.split(';'); + + for( var i=0 ; i=0 ; i-- ) + { + aRet.push( aoStore[i].fn.apply( oSettings.oInstance, aArgs ) ); + } + + if ( sTrigger !== null ) + { + $(oSettings.oInstance).trigger(sTrigger, aArgs); + } + + return aRet; + } + + + /** + * JSON stringify. If JSON.stringify it provided by the browser, json2.js or any other + * library, then we use that as it is fast, safe and accurate. If the function isn't + * available then we need to built it ourselves - the inspiration for this function comes + * from Craig Buckler ( http://www.sitepoint.com/javascript-json-serialization/ ). It is + * not perfect and absolutely should not be used as a replacement to json2.js - but it does + * do what we need, without requiring a dependency for DataTables. + * @param {object} o JSON object to be converted + * @returns {string} JSON string + * @memberof DataTable#oApi + */ + var _fnJsonString = (window.JSON) ? JSON.stringify : function( o ) + { + /* Not an object or array */ + var sType = typeof o; + if (sType !== "object" || o === null) + { + // simple data type + if (sType === "string") + { + o = '"'+o+'"'; + } + return o+""; + } + + /* If object or array, need to recurse over it */ + var + sProp, mValue, + json = [], + bArr = $.isArray(o); + + for (sProp in o) + { + mValue = o[sProp]; + sType = typeof mValue; + + if (sType === "string") + { + mValue = '"'+mValue+'"'; + } + else if (sType === "object" && mValue !== null) + { + mValue = _fnJsonString(mValue); + } + + json.push((bArr ? "" : '"'+sProp+'":') + mValue); + } + + return (bArr ? "[" : "{") + json + (bArr ? "]" : "}"); + }; + + + /** + * From some browsers (specifically IE6/7) we need special handling to work around browser + * bugs - this function is used to detect when these workarounds are needed. + * @param {object} oSettings dataTables settings object + * @memberof DataTable#oApi + */ + function _fnBrowserDetect( oSettings ) + { + /* IE6/7 will oversize a width 100% element inside a scrolling element, to include the + * width of the scrollbar, while other browsers ensure the inner element is contained + * without forcing scrolling + */ + var n = $( + '
    '+ + '
    '+ + '
    '+ + '
    '+ + '
    ')[0]; + + document.body.appendChild( n ); + oSettings.oBrowser.bScrollOversize = $('#DT_BrowserTest', n)[0].offsetWidth === 100 ? true : false; + document.body.removeChild( n ); + } + + + /** + * Perform a jQuery selector action on the table's TR elements (from the tbody) and + * return the resulting jQuery object. + * @param {string|node|jQuery} sSelector jQuery selector or node collection to act on + * @param {object} [oOpts] Optional parameters for modifying the rows to be included + * @param {string} [oOpts.filter=none] Select TR elements that meet the current filter + * criterion ("applied") or all TR elements (i.e. no filter). + * @param {string} [oOpts.order=current] Order of the TR elements in the processed array. + * Can be either 'current', whereby the current sorting of the table is used, or + * 'original' whereby the original order the data was read into the table is used. + * @param {string} [oOpts.page=all] Limit the selection to the currently displayed page + * ("current") or not ("all"). If 'current' is given, then order is assumed to be + * 'current' and filter is 'applied', regardless of what they might be given as. + * @returns {object} jQuery object, filtered by the given selector. + * @dtopt API + * + * @example + * $(document).ready(function() { + * var oTable = $('#example').dataTable(); + * + * // Highlight every second row + * oTable.$('tr:odd').css('backgroundColor', 'blue'); + * } ); + * + * @example + * $(document).ready(function() { + * var oTable = $('#example').dataTable(); + * + * // Filter to rows with 'Webkit' in them, add a background colour and then + * // remove the filter, thus highlighting the 'Webkit' rows only. + * oTable.fnFilter('Webkit'); + * oTable.$('tr', {"filter": "applied"}).css('backgroundColor', 'blue'); + * oTable.fnFilter(''); + * } ); + */ + this.$ = function ( sSelector, oOpts ) + { + var i, iLen, a = [], tr; + var oSettings = _fnSettingsFromNode( this[DataTable.ext.iApiIndex] ); + var aoData = oSettings.aoData; + var aiDisplay = oSettings.aiDisplay; + var aiDisplayMaster = oSettings.aiDisplayMaster; + + if ( !oOpts ) + { + oOpts = {}; + } + + oOpts = $.extend( {}, { + "filter": "none", // applied + "order": "current", // "original" + "page": "all" // current + }, oOpts ); + + // Current page implies that order=current and fitler=applied, since it is fairly + // senseless otherwise + if ( oOpts.page == 'current' ) + { + for ( i=oSettings._iDisplayStart, iLen=oSettings.fnDisplayEnd() ; i + *
  • 1D array of data - add a single row with the data provided
  • + *
  • 2D array of arrays - add multiple rows in a single call
  • + *
  • object - data object when using mData
  • + *
  • array of objects - multiple data objects when using mData
  • + * + * @param {bool} [bRedraw=true] redraw the table or not + * @returns {array} An array of integers, representing the list of indexes in + * aoData ({@link DataTable.models.oSettings}) that have been added to + * the table. + * @dtopt API + * + * @example + * // Global var for counter + * var giCount = 2; + * + * $(document).ready(function() { + * $('#example').dataTable(); + * } ); + * + * function fnClickAddRow() { + * $('#example').dataTable().fnAddData( [ + * giCount+".1", + * giCount+".2", + * giCount+".3", + * giCount+".4" ] + * ); + * + * giCount++; + * } + */ + this.fnAddData = function( mData, bRedraw ) + { + if ( mData.length === 0 ) + { + return []; + } + + var aiReturn = []; + var iTest; + + /* Find settings from table node */ + var oSettings = _fnSettingsFromNode( this[DataTable.ext.iApiIndex] ); + + /* Check if we want to add multiple rows or not */ + if ( typeof mData[0] === "object" && mData[0] !== null ) + { + for ( var i=0 ; i= oSettings.fnRecordsDisplay() ) + { + oSettings._iDisplayStart -= oSettings._iDisplayLength; + if ( oSettings._iDisplayStart < 0 ) + { + oSettings._iDisplayStart = 0; + } + } + + if ( bRedraw === undefined || bRedraw ) + { + _fnCalculateEnd( oSettings ); + _fnDraw( oSettings ); + } + + return oData; + }; + + + /** + * Restore the table to it's original state in the DOM by removing all of DataTables + * enhancements, alterations to the DOM structure of the table and event listeners. + * @param {boolean} [bRemove=false] Completely remove the table from the DOM + * @dtopt API + * + * @example + * $(document).ready(function() { + * // This example is fairly pointless in reality, but shows how fnDestroy can be used + * var oTable = $('#example').dataTable(); + * oTable.fnDestroy(); + * } ); + */ + this.fnDestroy = function ( bRemove ) + { + var oSettings = _fnSettingsFromNode( this[DataTable.ext.iApiIndex] ); + var nOrig = oSettings.nTableWrapper.parentNode; + var nBody = oSettings.nTBody; + var i, iLen; + + bRemove = (bRemove===undefined) ? false : bRemove; + + /* Flag to note that the table is currently being destroyed - no action should be taken */ + oSettings.bDestroying = true; + + /* Fire off the destroy callbacks for plug-ins etc */ + _fnCallbackFire( oSettings, "aoDestroyCallback", "destroy", [oSettings] ); + + /* If the table is not being removed, restore the hidden columns */ + if ( !bRemove ) + { + for ( i=0, iLen=oSettings.aoColumns.length ; itr>td.'+oSettings.oClasses.sRowEmpty, oSettings.nTable).parent().remove(); + + /* When scrolling we had to break the table up - restore it */ + if ( oSettings.nTable != oSettings.nTHead.parentNode ) + { + $(oSettings.nTable).children('thead').remove(); + oSettings.nTable.appendChild( oSettings.nTHead ); + } + + if ( oSettings.nTFoot && oSettings.nTable != oSettings.nTFoot.parentNode ) + { + $(oSettings.nTable).children('tfoot').remove(); + oSettings.nTable.appendChild( oSettings.nTFoot ); + } + + /* Remove the DataTables generated nodes, events and classes */ + oSettings.nTable.parentNode.removeChild( oSettings.nTable ); + $(oSettings.nTableWrapper).remove(); + + oSettings.aaSorting = []; + oSettings.aaSortingFixed = []; + _fnSortingClasses( oSettings ); + + $(_fnGetTrNodes( oSettings )).removeClass( oSettings.asStripeClasses.join(' ') ); + + $('th, td', oSettings.nTHead).removeClass( [ + oSettings.oClasses.sSortable, + oSettings.oClasses.sSortableAsc, + oSettings.oClasses.sSortableDesc, + oSettings.oClasses.sSortableNone ].join(' ') + ); + if ( oSettings.bJUI ) + { + $('th span.'+oSettings.oClasses.sSortIcon + + ', td span.'+oSettings.oClasses.sSortIcon, oSettings.nTHead).remove(); + + $('th, td', oSettings.nTHead).each( function () { + var jqWrapper = $('div.'+oSettings.oClasses.sSortJUIWrapper, this); + var kids = jqWrapper.contents(); + $(this).append( kids ); + jqWrapper.remove(); + } ); + } + + /* Add the TR elements back into the table in their original order */ + if ( !bRemove && oSettings.nTableReinsertBefore ) + { + nOrig.insertBefore( oSettings.nTable, oSettings.nTableReinsertBefore ); + } + else if ( !bRemove ) + { + nOrig.appendChild( oSettings.nTable ); + } + + for ( i=0, iLen=oSettings.aoData.length ; i
    for filtering data. + *
      + *
    • + * Function input parameters: + *
        + *
      • {*} Data from the column cell to be prepared for filtering
      • + *
      + *
    • + *
    • + * Function return: + *
        + *
      • {string|null} Formatted string that will be used for the filtering.
      • + *
      + * + *
    + * + * Note that as of v1.9, it is typically preferable to use mData to prepare data for + * the different uses that DataTables can put the data to. Specifically mData when + * used as a function will give you a 'type' (sorting, filtering etc) that you can use to + * prepare the data as required for the different types. As such, this method is deprecated. + * @type object + * @default {} + * @deprecated + * + * @example + * $.fn.dataTableExt.ofnSearch['title-numeric'] = function ( sData ) { + * return sData.replace(/\n/g," ").replace( /<.*?>/g, "" ); + * } + */ + "ofnSearch": {}, + + + /** + * Container for all private functions in DataTables so they can be exposed externally + * @type object + * @default {} + */ + "oApi": {}, + + + /** + * Storage for the various classes that DataTables uses + * @type object + * @default {} + */ + "oStdClasses": {}, + + + /** + * Storage for the various classes that DataTables uses - jQuery UI suitable + * @type object + * @default {} + */ + "oJUIClasses": {}, + + + /** + * Pagination plug-in methods - The style and controls of the pagination can significantly + * impact on how the end user interacts with the data in your table, and DataTables allows + * the addition of pagination controls by extending this object, which can then be enabled + * through the sPaginationType initialisation parameter. Each pagination type that + * is added is an object (the property name of which is what sPaginationType refers + * to) that has two properties, both methods that are used by DataTables to update the + * control's state. + *
      + *
    • + * fnInit - Initialisation of the paging controls. Called only during initialisation + * of the table. It is expected that this function will add the required DOM elements + * to the page for the paging controls to work. The element pointer + * 'oSettings.aanFeatures.p' array is provided by DataTables to contain the paging + * controls (note that this is a 2D array to allow for multiple instances of each + * DataTables DOM element). It is suggested that you add the controls to this element + * as children + *
        + *
      • + * Function input parameters: + *
          + *
        • {object} DataTables settings object: see {@link DataTable.models.oSettings}.
        • + *
        • {node} Container into which the pagination controls must be inserted
        • + *
        • {function} Draw callback function - whenever the controls cause a page + * change, this method must be called to redraw the table.
        • + *
        + *
      • + *
      • + * Function return: + *
          + *
        • No return required
        • + *
        + * + *
      + * + *
    • + * fnInit - This function is called whenever the paging status of the table changes and is + * typically used to update classes and/or text of the paging controls to reflex the new + * status. + *
        + *
      • + * Function input parameters: + *
          + *
        • {object} DataTables settings object: see {@link DataTable.models.oSettings}.
        • + *
        • {function} Draw callback function - in case you need to redraw the table again + * or attach new event listeners
        • + *
        + *
      • + *
      • + * Function return: + *
          + *
        • No return required
        • + *
        + * + *
      + * + *
    + * @type object + * @default {} + * + * @example + * $.fn.dataTableExt.oPagination.four_button = { + * "fnInit": function ( oSettings, nPaging, fnCallbackDraw ) { + * nFirst = document.createElement( 'span' ); + * nPrevious = document.createElement( 'span' ); + * nNext = document.createElement( 'span' ); + * nLast = document.createElement( 'span' ); + * + * nFirst.appendChild( document.createTextNode( oSettings.oLanguage.oPaginate.sFirst ) ); + * nPrevious.appendChild( document.createTextNode( oSettings.oLanguage.oPaginate.sPrevious ) ); + * nNext.appendChild( document.createTextNode( oSettings.oLanguage.oPaginate.sNext ) ); + * nLast.appendChild( document.createTextNode( oSettings.oLanguage.oPaginate.sLast ) ); + * + * nFirst.className = "paginate_button first"; + * nPrevious.className = "paginate_button previous"; + * nNext.className="paginate_button next"; + * nLast.className = "paginate_button last"; + * + * nPaging.appendChild( nFirst ); + * nPaging.appendChild( nPrevious ); + * nPaging.appendChild( nNext ); + * nPaging.appendChild( nLast ); + * + * $(nFirst).click( function () { + * oSettings.oApi._fnPageChange( oSettings, "first" ); + * fnCallbackDraw( oSettings ); + * } ); + * + * $(nPrevious).click( function() { + * oSettings.oApi._fnPageChange( oSettings, "previous" ); + * fnCallbackDraw( oSettings ); + * } ); + * + * $(nNext).click( function() { + * oSettings.oApi._fnPageChange( oSettings, "next" ); + * fnCallbackDraw( oSettings ); + * } ); + * + * $(nLast).click( function() { + * oSettings.oApi._fnPageChange( oSettings, "last" ); + * fnCallbackDraw( oSettings ); + * } ); + * + * $(nFirst).bind( 'selectstart', function () { return false; } ); + * $(nPrevious).bind( 'selectstart', function () { return false; } ); + * $(nNext).bind( 'selectstart', function () { return false; } ); + * $(nLast).bind( 'selectstart', function () { return false; } ); + * }, + * + * "fnUpdate": function ( oSettings, fnCallbackDraw ) { + * if ( !oSettings.aanFeatures.p ) { + * return; + * } + * + * // Loop over each instance of the pager + * var an = oSettings.aanFeatures.p; + * for ( var i=0, iLen=an.length ; i + *
  • + * Function input parameters: + *
      + *
    • {*} Data to compare to the second parameter
    • + *
    • {*} Data to compare to the first parameter
    • + *
    + *
  • + *
  • + * Function return: + *
      + *
    • {int} Sorting match: <0 if first parameter should be sorted lower than + * the second parameter, ===0 if the two parameters are equal and >0 if + * the first parameter should be sorted height than the second parameter.
    • + *
    + * + * + * @type object + * @default {} + * + * @example + * // Case-sensitive string sorting, with no pre-formatting method + * $.extend( $.fn.dataTableExt.oSort, { + * "string-case-asc": function(x,y) { + * return ((x < y) ? -1 : ((x > y) ? 1 : 0)); + * }, + * "string-case-desc": function(x,y) { + * return ((x < y) ? 1 : ((x > y) ? -1 : 0)); + * } + * } ); + * + * @example + * // Case-insensitive string sorting, with pre-formatting + * $.extend( $.fn.dataTableExt.oSort, { + * "string-pre": function(x) { + * return x.toLowerCase(); + * }, + * "string-asc": function(x,y) { + * return ((x < y) ? -1 : ((x > y) ? 1 : 0)); + * }, + * "string-desc": function(x,y) { + * return ((x < y) ? 1 : ((x > y) ? -1 : 0)); + * } + * } ); + */ + "oSort": {}, + + + /** + * Version string for plug-ins to check compatibility. Allowed format is + * a.b.c.d.e where: a:int, b:int, c:int, d:string(dev|beta), e:int. d and + * e are optional + * @type string + * @default Version number + */ + "sVersion": DataTable.version, + + + /** + * How should DataTables report an error. Can take the value 'alert' or 'throw' + * @type string + * @default alert + */ + "sErrMode": "alert", + + + /** + * Store information for DataTables to access globally about other instances + * @namespace + * @private + */ + "_oExternConfig": { + /* int:iNextUnique - next unique number for an instance */ + "iNextUnique": 0 + } + }; + + + + + /** + * Template object for the way in which DataTables holds information about + * search information for the global filter and individual column filters. + * @namespace + */ + DataTable.models.oSearch = { + /** + * Flag to indicate if the filtering should be case insensitive or not + * @type boolean + * @default true + */ + "bCaseInsensitive": true, + + /** + * Applied search term + * @type string + * @default Empty string + */ + "sSearch": "", + + /** + * Flag to indicate if the search term should be interpreted as a + * regular expression (true) or not (false) and therefore and special + * regex characters escaped. + * @type boolean + * @default false + */ + "bRegex": false, + + /** + * Flag to indicate if DataTables is to use its smart filtering or not. + * @type boolean + * @default true + */ + "bSmart": true + }; + + + + + /** + * Template object for the way in which DataTables holds information about + * each individual row. This is the object format used for the settings + * aoData array. + * @namespace + */ + DataTable.models.oRow = { + /** + * TR element for the row + * @type node + * @default null + */ + "nTr": null, + + /** + * Data object from the original data source for the row. This is either + * an array if using the traditional form of DataTables, or an object if + * using mData options. The exact type will depend on the passed in + * data from the data source, or will be an array if using DOM a data + * source. + * @type array|object + * @default [] + */ + "_aData": [], + + /** + * Sorting data cache - this array is ostensibly the same length as the + * number of columns (although each index is generated only as it is + * needed), and holds the data that is used for sorting each column in the + * row. We do this cache generation at the start of the sort in order that + * the formatting of the sort data need be done only once for each cell + * per sort. This array should not be read from or written to by anything + * other than the master sorting methods. + * @type array + * @default [] + * @private + */ + "_aSortData": [], + + /** + * Array of TD elements that are cached for hidden rows, so they can be + * reinserted into the table if a column is made visible again (or to act + * as a store if a column is made hidden). Only hidden columns have a + * reference in the array. For non-hidden columns the value is either + * undefined or null. + * @type array nodes + * @default [] + * @private + */ + "_anHidden": [], + + /** + * Cache of the class name that DataTables has applied to the row, so we + * can quickly look at this variable rather than needing to do a DOM check + * on className for the nTr property. + * @type string + * @default Empty string + * @private + */ + "_sRowStripe": "" + }; + + + + /** + * Template object for the column information object in DataTables. This object + * is held in the settings aoColumns array and contains all the information that + * DataTables needs about each individual column. + * + * Note that this object is related to {@link DataTable.defaults.columns} + * but this one is the internal data store for DataTables's cache of columns. + * It should NOT be manipulated outside of DataTables. Any configuration should + * be done through the initialisation options. + * @namespace + */ + DataTable.models.oColumn = { + /** + * A list of the columns that sorting should occur on when this column + * is sorted. That this property is an array allows multi-column sorting + * to be defined for a column (for example first name / last name columns + * would benefit from this). The values are integers pointing to the + * columns to be sorted on (typically it will be a single integer pointing + * at itself, but that doesn't need to be the case). + * @type array + */ + "aDataSort": null, + + /** + * Define the sorting directions that are applied to the column, in sequence + * as the column is repeatedly sorted upon - i.e. the first value is used + * as the sorting direction when the column if first sorted (clicked on). + * Sort it again (click again) and it will move on to the next index. + * Repeat until loop. + * @type array + */ + "asSorting": null, + + /** + * Flag to indicate if the column is searchable, and thus should be included + * in the filtering or not. + * @type boolean + */ + "bSearchable": null, + + /** + * Flag to indicate if the column is sortable or not. + * @type boolean + */ + "bSortable": null, + + /** + * Deprecated When using fnRender, you have two options for what + * to do with the data, and this property serves as the switch. Firstly, you + * can have the sorting and filtering use the rendered value (true - default), + * or you can have the sorting and filtering us the original value (false). + * + * Please note that this option has now been deprecated and will be removed + * in the next version of DataTables. Please use mRender / mData rather than + * fnRender. + * @type boolean + * @deprecated + */ + "bUseRendered": null, + + /** + * Flag to indicate if the column is currently visible in the table or not + * @type boolean + */ + "bVisible": null, + + /** + * Flag to indicate to the type detection method if the automatic type + * detection should be used, or if a column type (sType) has been specified + * @type boolean + * @default true + * @private + */ + "_bAutoType": true, + + /** + * Developer definable function that is called whenever a cell is created (Ajax source, + * etc) or processed for input (DOM source). This can be used as a compliment to mRender + * allowing you to modify the DOM element (add background colour for example) when the + * element is available. + * @type function + * @param {element} nTd The TD node that has been created + * @param {*} sData The Data for the cell + * @param {array|object} oData The data for the whole row + * @param {int} iRow The row index for the aoData data store + * @default null + */ + "fnCreatedCell": null, + + /** + * Function to get data from a cell in a column. You should never + * access data directly through _aData internally in DataTables - always use + * the method attached to this property. It allows mData to function as + * required. This function is automatically assigned by the column + * initialisation method + * @type function + * @param {array|object} oData The data array/object for the array + * (i.e. aoData[]._aData) + * @param {string} sSpecific The specific data type you want to get - + * 'display', 'type' 'filter' 'sort' + * @returns {*} The data for the cell from the given row's data + * @default null + */ + "fnGetData": null, + + /** + * Deprecated Custom display function that will be called for the + * display of each cell in this column. + * + * Please note that this option has now been deprecated and will be removed + * in the next version of DataTables. Please use mRender / mData rather than + * fnRender. + * @type function + * @param {object} o Object with the following parameters: + * @param {int} o.iDataRow The row in aoData + * @param {int} o.iDataColumn The column in question + * @param {array} o.aData The data for the row in question + * @param {object} o.oSettings The settings object for this DataTables instance + * @returns {string} The string you which to use in the display + * @default null + * @deprecated + */ + "fnRender": null, + + /** + * Function to set data for a cell in the column. You should never + * set the data directly to _aData internally in DataTables - always use + * this method. It allows mData to function as required. This function + * is automatically assigned by the column initialisation method + * @type function + * @param {array|object} oData The data array/object for the array + * (i.e. aoData[]._aData) + * @param {*} sValue Value to set + * @default null + */ + "fnSetData": null, + + /** + * Property to read the value for the cells in the column from the data + * source array / object. If null, then the default content is used, if a + * function is given then the return from the function is used. + * @type function|int|string|null + * @default null + */ + "mData": null, + + /** + * Partner property to mData which is used (only when defined) to get + * the data - i.e. it is basically the same as mData, but without the + * 'set' option, and also the data fed to it is the result from mData. + * This is the rendering method to match the data method of mData. + * @type function|int|string|null + * @default null + */ + "mRender": null, + + /** + * Unique header TH/TD element for this column - this is what the sorting + * listener is attached to (if sorting is enabled.) + * @type node + * @default null + */ + "nTh": null, + + /** + * Unique footer TH/TD element for this column (if there is one). Not used + * in DataTables as such, but can be used for plug-ins to reference the + * footer for each column. + * @type node + * @default null + */ + "nTf": null, + + /** + * The class to apply to all TD elements in the table's TBODY for the column + * @type string + * @default null + */ + "sClass": null, + + /** + * When DataTables calculates the column widths to assign to each column, + * it finds the longest string in each column and then constructs a + * temporary table and reads the widths from that. The problem with this + * is that "mmm" is much wider then "iiii", but the latter is a longer + * string - thus the calculation can go wrong (doing it properly and putting + * it into an DOM object and measuring that is horribly(!) slow). Thus as + * a "work around" we provide this option. It will append its value to the + * text that is found to be the longest string for the column - i.e. padding. + * @type string + */ + "sContentPadding": null, + + /** + * Allows a default value to be given for a column's data, and will be used + * whenever a null data source is encountered (this can be because mData + * is set to null, or because the data source itself is null). + * @type string + * @default null + */ + "sDefaultContent": null, + + /** + * Name for the column, allowing reference to the column by name as well as + * by index (needs a lookup to work by name). + * @type string + */ + "sName": null, + + /** + * Custom sorting data type - defines which of the available plug-ins in + * afnSortData the custom sorting will use - if any is defined. + * @type string + * @default std + */ + "sSortDataType": 'std', + + /** + * Class to be applied to the header element when sorting on this column + * @type string + * @default null + */ + "sSortingClass": null, + + /** + * Class to be applied to the header element when sorting on this column - + * when jQuery UI theming is used. + * @type string + * @default null + */ + "sSortingClassJUI": null, + + /** + * Title of the column - what is seen in the TH element (nTh). + * @type string + */ + "sTitle": null, + + /** + * Column sorting and filtering type + * @type string + * @default null + */ + "sType": null, + + /** + * Width of the column + * @type string + * @default null + */ + "sWidth": null, + + /** + * Width of the column when it was first "encountered" + * @type string + * @default null + */ + "sWidthOrig": null + }; + + + + /** + * Initialisation options that can be given to DataTables at initialisation + * time. + * @namespace + */ + DataTable.defaults = { + /** + * An array of data to use for the table, passed in at initialisation which + * will be used in preference to any data which is already in the DOM. This is + * particularly useful for constructing tables purely in Javascript, for + * example with a custom Ajax call. + * @type array + * @default null + * @dtopt Option + * + * @example + * // Using a 2D array data source + * $(document).ready( function () { + * $('#example').dataTable( { + * "aaData": [ + * ['Trident', 'Internet Explorer 4.0', 'Win 95+', 4, 'X'], + * ['Trident', 'Internet Explorer 5.0', 'Win 95+', 5, 'C'], + * ], + * "aoColumns": [ + * { "sTitle": "Engine" }, + * { "sTitle": "Browser" }, + * { "sTitle": "Platform" }, + * { "sTitle": "Version" }, + * { "sTitle": "Grade" } + * ] + * } ); + * } ); + * + * @example + * // Using an array of objects as a data source (mData) + * $(document).ready( function () { + * $('#example').dataTable( { + * "aaData": [ + * { + * "engine": "Trident", + * "browser": "Internet Explorer 4.0", + * "platform": "Win 95+", + * "version": 4, + * "grade": "X" + * }, + * { + * "engine": "Trident", + * "browser": "Internet Explorer 5.0", + * "platform": "Win 95+", + * "version": 5, + * "grade": "C" + * } + * ], + * "aoColumns": [ + * { "sTitle": "Engine", "mData": "engine" }, + * { "sTitle": "Browser", "mData": "browser" }, + * { "sTitle": "Platform", "mData": "platform" }, + * { "sTitle": "Version", "mData": "version" }, + * { "sTitle": "Grade", "mData": "grade" } + * ] + * } ); + * } ); + */ + "aaData": null, + + + /** + * If sorting is enabled, then DataTables will perform a first pass sort on + * initialisation. You can define which column(s) the sort is performed upon, + * and the sorting direction, with this variable. The aaSorting array should + * contain an array for each column to be sorted initially containing the + * column's index and a direction string ('asc' or 'desc'). + * @type array + * @default [[0,'asc']] + * @dtopt Option + * + * @example + * // Sort by 3rd column first, and then 4th column + * $(document).ready( function() { + * $('#example').dataTable( { + * "aaSorting": [[2,'asc'], [3,'desc']] + * } ); + * } ); + * + * // No initial sorting + * $(document).ready( function() { + * $('#example').dataTable( { + * "aaSorting": [] + * } ); + * } ); + */ + "aaSorting": [[0,'asc']], + + + /** + * This parameter is basically identical to the aaSorting parameter, but + * cannot be overridden by user interaction with the table. What this means + * is that you could have a column (visible or hidden) which the sorting will + * always be forced on first - any sorting after that (from the user) will + * then be performed as required. This can be useful for grouping rows + * together. + * @type array + * @default null + * @dtopt Option + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "aaSortingFixed": [[0,'asc']] + * } ); + * } ) + */ + "aaSortingFixed": null, + + + /** + * This parameter allows you to readily specify the entries in the length drop + * down menu that DataTables shows when pagination is enabled. It can be + * either a 1D array of options which will be used for both the displayed + * option and the value, or a 2D array which will use the array in the first + * position as the value, and the array in the second position as the + * displayed options (useful for language strings such as 'All'). + * @type array + * @default [ 10, 25, 50, 100 ] + * @dtopt Option + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]] + * } ); + * } ); + * + * @example + * // Setting the default display length as well as length menu + * // This is likely to be wanted if you remove the '10' option which + * // is the iDisplayLength default. + * $(document).ready( function() { + * $('#example').dataTable( { + * "iDisplayLength": 25, + * "aLengthMenu": [[25, 50, 100, -1], [25, 50, 100, "All"]] + * } ); + * } ); + */ + "aLengthMenu": [ 10, 25, 50, 100 ], + + + /** + * The aoColumns option in the initialisation parameter allows you to define + * details about the way individual columns behave. For a full list of + * column options that can be set, please see + * {@link DataTable.defaults.columns}. Note that if you use aoColumns to + * define your columns, you must have an entry in the array for every single + * column that you have in your table (these can be null if you don't which + * to specify any options). + * @member + */ + "aoColumns": null, + + /** + * Very similar to aoColumns, aoColumnDefs allows you to target a specific + * column, multiple columns, or all columns, using the aTargets property of + * each object in the array. This allows great flexibility when creating + * tables, as the aoColumnDefs arrays can be of any length, targeting the + * columns you specifically want. aoColumnDefs may use any of the column + * options available: {@link DataTable.defaults.columns}, but it _must_ + * have aTargets defined in each object in the array. Values in the aTargets + * array may be: + *
      + *
    • a string - class name will be matched on the TH for the column
    • + *
    • 0 or a positive integer - column index counting from the left
    • + *
    • a negative integer - column index counting from the right
    • + *
    • the string "_all" - all columns (i.e. assign a default)
    • + *
    + * @member + */ + "aoColumnDefs": null, + + + /** + * Basically the same as oSearch, this parameter defines the individual column + * filtering state at initialisation time. The array must be of the same size + * as the number of columns, and each element be an object with the parameters + * "sSearch" and "bEscapeRegex" (the latter is optional). 'null' is also + * accepted and the default will be used. + * @type array + * @default [] + * @dtopt Option + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoSearchCols": [ + * null, + * { "sSearch": "My filter" }, + * null, + * { "sSearch": "^[0-9]", "bEscapeRegex": false } + * ] + * } ); + * } ) + */ + "aoSearchCols": [], + + + /** + * An array of CSS classes that should be applied to displayed rows. This + * array may be of any length, and DataTables will apply each class + * sequentially, looping when required. + * @type array + * @default null Will take the values determined by the oClasses.sStripe* + * options + * @dtopt Option + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "asStripeClasses": [ 'strip1', 'strip2', 'strip3' ] + * } ); + * } ) + */ + "asStripeClasses": null, + + + /** + * Enable or disable automatic column width calculation. This can be disabled + * as an optimisation (it takes some time to calculate the widths) if the + * tables widths are passed in using aoColumns. + * @type boolean + * @default true + * @dtopt Features + * + * @example + * $(document).ready( function () { + * $('#example').dataTable( { + * "bAutoWidth": false + * } ); + * } ); + */ + "bAutoWidth": true, + + + /** + * Deferred rendering can provide DataTables with a huge speed boost when you + * are using an Ajax or JS data source for the table. This option, when set to + * true, will cause DataTables to defer the creation of the table elements for + * each row until they are needed for a draw - saving a significant amount of + * time. + * @type boolean + * @default false + * @dtopt Features + * + * @example + * $(document).ready( function() { + * var oTable = $('#example').dataTable( { + * "sAjaxSource": "sources/arrays.txt", + * "bDeferRender": true + * } ); + * } ); + */ + "bDeferRender": false, + + + /** + * Replace a DataTable which matches the given selector and replace it with + * one which has the properties of the new initialisation object passed. If no + * table matches the selector, then the new DataTable will be constructed as + * per normal. + * @type boolean + * @default false + * @dtopt Options + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "sScrollY": "200px", + * "bPaginate": false + * } ); + * + * // Some time later.... + * $('#example').dataTable( { + * "bFilter": false, + * "bDestroy": true + * } ); + * } ); + */ + "bDestroy": false, + + + /** + * Enable or disable filtering of data. Filtering in DataTables is "smart" in + * that it allows the end user to input multiple words (space separated) and + * will match a row containing those words, even if not in the order that was + * specified (this allow matching across multiple columns). Note that if you + * wish to use filtering in DataTables this must remain 'true' - to remove the + * default filtering input box and retain filtering abilities, please use + * {@link DataTable.defaults.sDom}. + * @type boolean + * @default true + * @dtopt Features + * + * @example + * $(document).ready( function () { + * $('#example').dataTable( { + * "bFilter": false + * } ); + * } ); + */ + "bFilter": true, + + + /** + * Enable or disable the table information display. This shows information + * about the data that is currently visible on the page, including information + * about filtered data if that action is being performed. + * @type boolean + * @default true + * @dtopt Features + * + * @example + * $(document).ready( function () { + * $('#example').dataTable( { + * "bInfo": false + * } ); + * } ); + */ + "bInfo": true, + + + /** + * Enable jQuery UI ThemeRoller support (required as ThemeRoller requires some + * slightly different and additional mark-up from what DataTables has + * traditionally used). + * @type boolean + * @default false + * @dtopt Features + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "bJQueryUI": true + * } ); + * } ); + */ + "bJQueryUI": false, + + + /** + * Allows the end user to select the size of a formatted page from a select + * menu (sizes are 10, 25, 50 and 100). Requires pagination (bPaginate). + * @type boolean + * @default true + * @dtopt Features + * + * @example + * $(document).ready( function () { + * $('#example').dataTable( { + * "bLengthChange": false + * } ); + * } ); + */ + "bLengthChange": true, + + + /** + * Enable or disable pagination. + * @type boolean + * @default true + * @dtopt Features + * + * @example + * $(document).ready( function () { + * $('#example').dataTable( { + * "bPaginate": false + * } ); + * } ); + */ + "bPaginate": true, + + + /** + * Enable or disable the display of a 'processing' indicator when the table is + * being processed (e.g. a sort). This is particularly useful for tables with + * large amounts of data where it can take a noticeable amount of time to sort + * the entries. + * @type boolean + * @default false + * @dtopt Features + * + * @example + * $(document).ready( function () { + * $('#example').dataTable( { + * "bProcessing": true + * } ); + * } ); + */ + "bProcessing": false, + + + /** + * Retrieve the DataTables object for the given selector. Note that if the + * table has already been initialised, this parameter will cause DataTables + * to simply return the object that has already been set up - it will not take + * account of any changes you might have made to the initialisation object + * passed to DataTables (setting this parameter to true is an acknowledgement + * that you understand this). bDestroy can be used to reinitialise a table if + * you need. + * @type boolean + * @default false + * @dtopt Options + * + * @example + * $(document).ready( function() { + * initTable(); + * tableActions(); + * } ); + * + * function initTable () + * { + * return $('#example').dataTable( { + * "sScrollY": "200px", + * "bPaginate": false, + * "bRetrieve": true + * } ); + * } + * + * function tableActions () + * { + * var oTable = initTable(); + * // perform API operations with oTable + * } + */ + "bRetrieve": false, + + + /** + * Indicate if DataTables should be allowed to set the padding / margin + * etc for the scrolling header elements or not. Typically you will want + * this. + * @type boolean + * @default true + * @dtopt Options + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "bScrollAutoCss": false, + * "sScrollY": "200px" + * } ); + * } ); + */ + "bScrollAutoCss": true, + + + /** + * When vertical (y) scrolling is enabled, DataTables will force the height of + * the table's viewport to the given height at all times (useful for layout). + * However, this can look odd when filtering data down to a small data set, + * and the footer is left "floating" further down. This parameter (when + * enabled) will cause DataTables to collapse the table's viewport down when + * the result set will fit within the given Y height. + * @type boolean + * @default false + * @dtopt Options + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "sScrollY": "200", + * "bScrollCollapse": true + * } ); + * } ); + */ + "bScrollCollapse": false, + + + /** + * Enable infinite scrolling for DataTables (to be used in combination with + * sScrollY). Infinite scrolling means that DataTables will continually load + * data as a user scrolls through a table, which is very useful for large + * dataset. This cannot be used with pagination, which is automatically + * disabled. Note - the Scroller extra for DataTables is recommended in + * in preference to this option. + * @type boolean + * @default false + * @dtopt Features + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "bScrollInfinite": true, + * "bScrollCollapse": true, + * "sScrollY": "200px" + * } ); + * } ); + */ + "bScrollInfinite": false, + + + /** + * Configure DataTables to use server-side processing. Note that the + * sAjaxSource parameter must also be given in order to give DataTables a + * source to obtain the required data for each draw. + * @type boolean + * @default false + * @dtopt Features + * @dtopt Server-side + * + * @example + * $(document).ready( function () { + * $('#example').dataTable( { + * "bServerSide": true, + * "sAjaxSource": "xhr.php" + * } ); + * } ); + */ + "bServerSide": false, + + + /** + * Enable or disable sorting of columns. Sorting of individual columns can be + * disabled by the "bSortable" option for each column. + * @type boolean + * @default true + * @dtopt Features + * + * @example + * $(document).ready( function () { + * $('#example').dataTable( { + * "bSort": false + * } ); + * } ); + */ + "bSort": true, + + + /** + * Allows control over whether DataTables should use the top (true) unique + * cell that is found for a single column, or the bottom (false - default). + * This is useful when using complex headers. + * @type boolean + * @default false + * @dtopt Options + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "bSortCellsTop": true + * } ); + * } ); + */ + "bSortCellsTop": false, + + + /** + * Enable or disable the addition of the classes 'sorting_1', 'sorting_2' and + * 'sorting_3' to the columns which are currently being sorted on. This is + * presented as a feature switch as it can increase processing time (while + * classes are removed and added) so for large data sets you might want to + * turn this off. + * @type boolean + * @default true + * @dtopt Features + * + * @example + * $(document).ready( function () { + * $('#example').dataTable( { + * "bSortClasses": false + * } ); + * } ); + */ + "bSortClasses": true, + + + /** + * Enable or disable state saving. When enabled a cookie will be used to save + * table display information such as pagination information, display length, + * filtering and sorting. As such when the end user reloads the page the + * display display will match what thy had previously set up. + * @type boolean + * @default false + * @dtopt Features + * + * @example + * $(document).ready( function () { + * $('#example').dataTable( { + * "bStateSave": true + * } ); + * } ); + */ + "bStateSave": false, + + + /** + * Customise the cookie and / or the parameters being stored when using + * DataTables with state saving enabled. This function is called whenever + * the cookie is modified, and it expects a fully formed cookie string to be + * returned. Note that the data object passed in is a Javascript object which + * must be converted to a string (JSON.stringify for example). + * @type function + * @param {string} sName Name of the cookie defined by DataTables + * @param {object} oData Data to be stored in the cookie + * @param {string} sExpires Cookie expires string + * @param {string} sPath Path of the cookie to set + * @returns {string} Cookie formatted string (which should be encoded by + * using encodeURIComponent()) + * @dtopt Callbacks + * + * @example + * $(document).ready( function () { + * $('#example').dataTable( { + * "fnCookieCallback": function (sName, oData, sExpires, sPath) { + * // Customise oData or sName or whatever else here + * return sName + "="+JSON.stringify(oData)+"; expires=" + sExpires +"; path=" + sPath; + * } + * } ); + * } ); + */ + "fnCookieCallback": null, + + + /** + * This function is called when a TR element is created (and all TD child + * elements have been inserted), or registered if using a DOM source, allowing + * manipulation of the TR element (adding classes etc). + * @type function + * @param {node} nRow "TR" element for the current row + * @param {array} aData Raw data array for this row + * @param {int} iDataIndex The index of this row in aoData + * @dtopt Callbacks + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "fnCreatedRow": function( nRow, aData, iDataIndex ) { + * // Bold the grade for all 'A' grade browsers + * if ( aData[4] == "A" ) + * { + * $('td:eq(4)', nRow).html( 'A' ); + * } + * } + * } ); + * } ); + */ + "fnCreatedRow": null, + + + /** + * This function is called on every 'draw' event, and allows you to + * dynamically modify any aspect you want about the created DOM. + * @type function + * @param {object} oSettings DataTables settings object + * @dtopt Callbacks + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "fnDrawCallback": function( oSettings ) { + * alert( 'DataTables has redrawn the table' ); + * } + * } ); + * } ); + */ + "fnDrawCallback": null, + + + /** + * Identical to fnHeaderCallback() but for the table footer this function + * allows you to modify the table footer on every 'draw' even. + * @type function + * @param {node} nFoot "TR" element for the footer + * @param {array} aData Full table data (as derived from the original HTML) + * @param {int} iStart Index for the current display starting point in the + * display array + * @param {int} iEnd Index for the current display ending point in the + * display array + * @param {array int} aiDisplay Index array to translate the visual position + * to the full data array + * @dtopt Callbacks + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "fnFooterCallback": function( nFoot, aData, iStart, iEnd, aiDisplay ) { + * nFoot.getElementsByTagName('th')[0].innerHTML = "Starting index is "+iStart; + * } + * } ); + * } ) + */ + "fnFooterCallback": null, + + + /** + * When rendering large numbers in the information element for the table + * (i.e. "Showing 1 to 10 of 57 entries") DataTables will render large numbers + * to have a comma separator for the 'thousands' units (e.g. 1 million is + * rendered as "1,000,000") to help readability for the end user. This + * function will override the default method DataTables uses. + * @type function + * @member + * @param {int} iIn number to be formatted + * @returns {string} formatted string for DataTables to show the number + * @dtopt Callbacks + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "fnFormatNumber": function ( iIn ) { + * if ( iIn < 1000 ) { + * return iIn; + * } else { + * var + * s=(iIn+""), + * a=s.split(""), out="", + * iLen=s.length; + * + * for ( var i=0 ; i<iLen ; i++ ) { + * if ( i%3 === 0 && i !== 0 ) { + * out = "'"+out; + * } + * out = a[iLen-i-1]+out; + * } + * } + * return out; + * }; + * } ); + * } ); + */ + "fnFormatNumber": function ( iIn ) { + if ( iIn < 1000 ) + { + // A small optimisation for what is likely to be the majority of use cases + return iIn; + } + + var s=(iIn+""), a=s.split(""), out="", iLen=s.length; + + for ( var i=0 ; iA' ); + * } + * } + * } ); + * } ); + */ + "fnRowCallback": null, + + + /** + * This parameter allows you to override the default function which obtains + * the data from the server ($.getJSON) so something more suitable for your + * application. For example you could use POST data, or pull information from + * a Gears or AIR database. + * @type function + * @member + * @param {string} sSource HTTP source to obtain the data from (sAjaxSource) + * @param {array} aoData A key/value pair object containing the data to send + * to the server + * @param {function} fnCallback to be called on completion of the data get + * process that will draw the data on the page. + * @param {object} oSettings DataTables settings object + * @dtopt Callbacks + * @dtopt Server-side + * + * @example + * // POST data to server + * $(document).ready( function() { + * $('#example').dataTable( { + * "bProcessing": true, + * "bServerSide": true, + * "sAjaxSource": "xhr.php", + * "fnServerData": function ( sSource, aoData, fnCallback, oSettings ) { + * oSettings.jqXHR = $.ajax( { + * "dataType": 'json', + * "type": "POST", + * "url": sSource, + * "data": aoData, + * "success": fnCallback + * } ); + * } + * } ); + * } ); + */ + "fnServerData": function ( sUrl, aoData, fnCallback, oSettings ) { + oSettings.jqXHR = $.ajax( { + "url": sUrl, + "data": aoData, + "success": function (json) { + if ( json.sError ) { + oSettings.oApi._fnLog( oSettings, 0, json.sError ); + } + + $(oSettings.oInstance).trigger('xhr', [oSettings, json]); + fnCallback( json ); + }, + "dataType": "json", + "cache": false, + "type": oSettings.sServerMethod, + "error": function (xhr, error, thrown) { + if ( error == "parsererror" ) { + oSettings.oApi._fnLog( oSettings, 0, "DataTables warning: JSON data from "+ + "server could not be parsed. This is caused by a JSON formatting error." ); + } + } + } ); + }, + + + /** + * It is often useful to send extra data to the server when making an Ajax + * request - for example custom filtering information, and this callback + * function makes it trivial to send extra information to the server. The + * passed in parameter is the data set that has been constructed by + * DataTables, and you can add to this or modify it as you require. + * @type function + * @param {array} aoData Data array (array of objects which are name/value + * pairs) that has been constructed by DataTables and will be sent to the + * server. In the case of Ajax sourced data with server-side processing + * this will be an empty array, for server-side processing there will be a + * significant number of parameters! + * @returns {undefined} Ensure that you modify the aoData array passed in, + * as this is passed by reference. + * @dtopt Callbacks + * @dtopt Server-side + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "bProcessing": true, + * "bServerSide": true, + * "sAjaxSource": "scripts/server_processing.php", + * "fnServerParams": function ( aoData ) { + * aoData.push( { "name": "more_data", "value": "my_value" } ); + * } + * } ); + * } ); + */ + "fnServerParams": null, + + + /** + * Load the table state. With this function you can define from where, and how, the + * state of a table is loaded. By default DataTables will load from its state saving + * cookie, but you might wish to use local storage (HTML5) or a server-side database. + * @type function + * @member + * @param {object} oSettings DataTables settings object + * @return {object} The DataTables state object to be loaded + * @dtopt Callbacks + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "bStateSave": true, + * "fnStateLoad": function (oSettings) { + * var o; + * + * // Send an Ajax request to the server to get the data. Note that + * // this is a synchronous request. + * $.ajax( { + * "url": "/state_load", + * "async": false, + * "dataType": "json", + * "success": function (json) { + * o = json; + * } + * } ); + * + * return o; + * } + * } ); + * } ); + */ + "fnStateLoad": function ( oSettings ) { + var sData = this.oApi._fnReadCookie( oSettings.sCookiePrefix+oSettings.sInstance ); + var oData; + + try { + oData = (typeof $.parseJSON === 'function') ? + $.parseJSON(sData) : eval( '('+sData+')' ); + } catch (e) { + oData = null; + } + + return oData; + }, + + + /** + * Callback which allows modification of the saved state prior to loading that state. + * This callback is called when the table is loading state from the stored data, but + * prior to the settings object being modified by the saved state. Note that for + * plug-in authors, you should use the 'stateLoadParams' event to load parameters for + * a plug-in. + * @type function + * @param {object} oSettings DataTables settings object + * @param {object} oData The state object that is to be loaded + * @dtopt Callbacks + * + * @example + * // Remove a saved filter, so filtering is never loaded + * $(document).ready( function() { + * $('#example').dataTable( { + * "bStateSave": true, + * "fnStateLoadParams": function (oSettings, oData) { + * oData.oSearch.sSearch = ""; + * } + * } ); + * } ); + * + * @example + * // Disallow state loading by returning false + * $(document).ready( function() { + * $('#example').dataTable( { + * "bStateSave": true, + * "fnStateLoadParams": function (oSettings, oData) { + * return false; + * } + * } ); + * } ); + */ + "fnStateLoadParams": null, + + + /** + * Callback that is called when the state has been loaded from the state saving method + * and the DataTables settings object has been modified as a result of the loaded state. + * @type function + * @param {object} oSettings DataTables settings object + * @param {object} oData The state object that was loaded + * @dtopt Callbacks + * + * @example + * // Show an alert with the filtering value that was saved + * $(document).ready( function() { + * $('#example').dataTable( { + * "bStateSave": true, + * "fnStateLoaded": function (oSettings, oData) { + * alert( 'Saved filter was: '+oData.oSearch.sSearch ); + * } + * } ); + * } ); + */ + "fnStateLoaded": null, + + + /** + * Save the table state. This function allows you to define where and how the state + * information for the table is stored - by default it will use a cookie, but you + * might want to use local storage (HTML5) or a server-side database. + * @type function + * @member + * @param {object} oSettings DataTables settings object + * @param {object} oData The state object to be saved + * @dtopt Callbacks + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "bStateSave": true, + * "fnStateSave": function (oSettings, oData) { + * // Send an Ajax request to the server with the state object + * $.ajax( { + * "url": "/state_save", + * "data": oData, + * "dataType": "json", + * "method": "POST" + * "success": function () {} + * } ); + * } + * } ); + * } ); + */ + "fnStateSave": function ( oSettings, oData ) { + this.oApi._fnCreateCookie( + oSettings.sCookiePrefix+oSettings.sInstance, + this.oApi._fnJsonString(oData), + oSettings.iCookieDuration, + oSettings.sCookiePrefix, + oSettings.fnCookieCallback + ); + }, + + + /** + * Callback which allows modification of the state to be saved. Called when the table + * has changed state a new state save is required. This method allows modification of + * the state saving object prior to actually doing the save, including addition or + * other state properties or modification. Note that for plug-in authors, you should + * use the 'stateSaveParams' event to save parameters for a plug-in. + * @type function + * @param {object} oSettings DataTables settings object + * @param {object} oData The state object to be saved + * @dtopt Callbacks + * + * @example + * // Remove a saved filter, so filtering is never saved + * $(document).ready( function() { + * $('#example').dataTable( { + * "bStateSave": true, + * "fnStateSaveParams": function (oSettings, oData) { + * oData.oSearch.sSearch = ""; + * } + * } ); + * } ); + */ + "fnStateSaveParams": null, + + + /** + * Duration of the cookie which is used for storing session information. This + * value is given in seconds. + * @type int + * @default 7200 (2 hours) + * @dtopt Options + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "iCookieDuration": 60*60*24; // 1 day + * } ); + * } ) + */ + "iCookieDuration": 7200, + + + /** + * When enabled DataTables will not make a request to the server for the first + * page draw - rather it will use the data already on the page (no sorting etc + * will be applied to it), thus saving on an XHR at load time. iDeferLoading + * is used to indicate that deferred loading is required, but it is also used + * to tell DataTables how many records there are in the full table (allowing + * the information element and pagination to be displayed correctly). In the case + * where a filtering is applied to the table on initial load, this can be + * indicated by giving the parameter as an array, where the first element is + * the number of records available after filtering and the second element is the + * number of records without filtering (allowing the table information element + * to be shown correctly). + * @type int | array + * @default null + * @dtopt Options + * + * @example + * // 57 records available in the table, no filtering applied + * $(document).ready( function() { + * $('#example').dataTable( { + * "bServerSide": true, + * "sAjaxSource": "scripts/server_processing.php", + * "iDeferLoading": 57 + * } ); + * } ); + * + * @example + * // 57 records after filtering, 100 without filtering (an initial filter applied) + * $(document).ready( function() { + * $('#example').dataTable( { + * "bServerSide": true, + * "sAjaxSource": "scripts/server_processing.php", + * "iDeferLoading": [ 57, 100 ], + * "oSearch": { + * "sSearch": "my_filter" + * } + * } ); + * } ); + */ + "iDeferLoading": null, + + + /** + * Number of rows to display on a single page when using pagination. If + * feature enabled (bLengthChange) then the end user will be able to override + * this to a custom setting using a pop-up menu. + * @type int + * @default 10 + * @dtopt Options + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "iDisplayLength": 50 + * } ); + * } ) + */ + "iDisplayLength": 10, + + + /** + * Define the starting point for data display when using DataTables with + * pagination. Note that this parameter is the number of records, rather than + * the page number, so if you have 10 records per page and want to start on + * the third page, it should be "20". + * @type int + * @default 0 + * @dtopt Options + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "iDisplayStart": 20 + * } ); + * } ) + */ + "iDisplayStart": 0, + + + /** + * The scroll gap is the amount of scrolling that is left to go before + * DataTables will load the next 'page' of data automatically. You typically + * want a gap which is big enough that the scrolling will be smooth for the + * user, while not so large that it will load more data than need. + * @type int + * @default 100 + * @dtopt Options + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "bScrollInfinite": true, + * "bScrollCollapse": true, + * "sScrollY": "200px", + * "iScrollLoadGap": 50 + * } ); + * } ); + */ + "iScrollLoadGap": 100, + + + /** + * By default DataTables allows keyboard navigation of the table (sorting, paging, + * and filtering) by adding a tabindex attribute to the required elements. This + * allows you to tab through the controls and press the enter key to activate them. + * The tabindex is default 0, meaning that the tab follows the flow of the document. + * You can overrule this using this parameter if you wish. Use a value of -1 to + * disable built-in keyboard navigation. + * @type int + * @default 0 + * @dtopt Options + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "iTabIndex": 1 + * } ); + * } ); + */ + "iTabIndex": 0, + + + /** + * All strings that DataTables uses in the user interface that it creates + * are defined in this object, allowing you to modified them individually or + * completely replace them all as required. + * @namespace + */ + "oLanguage": { + /** + * Strings that are used for WAI-ARIA labels and controls only (these are not + * actually visible on the page, but will be read by screenreaders, and thus + * must be internationalised as well). + * @namespace + */ + "oAria": { + /** + * ARIA label that is added to the table headers when the column may be + * sorted ascending by activing the column (click or return when focused). + * Note that the column header is prefixed to this string. + * @type string + * @default : activate to sort column ascending + * @dtopt Language + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "oAria": { + * "sSortAscending": " - click/return to sort ascending" + * } + * } + * } ); + * } ); + */ + "sSortAscending": ": activate to sort column ascending", + + /** + * ARIA label that is added to the table headers when the column may be + * sorted descending by activing the column (click or return when focused). + * Note that the column header is prefixed to this string. + * @type string + * @default : activate to sort column ascending + * @dtopt Language + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "oAria": { + * "sSortDescending": " - click/return to sort descending" + * } + * } + * } ); + * } ); + */ + "sSortDescending": ": activate to sort column descending" + }, + + /** + * Pagination string used by DataTables for the two built-in pagination + * control types ("two_button" and "full_numbers") + * @namespace + */ + "oPaginate": { + /** + * Text to use when using the 'full_numbers' type of pagination for the + * button to take the user to the first page. + * @type string + * @default First + * @dtopt Language + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "oPaginate": { + * "sFirst": "First page" + * } + * } + * } ); + * } ); + */ + "sFirst": "First", + + + /** + * Text to use when using the 'full_numbers' type of pagination for the + * button to take the user to the last page. + * @type string + * @default Last + * @dtopt Language + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "oPaginate": { + * "sLast": "Last page" + * } + * } + * } ); + * } ); + */ + "sLast": "Last", + + + /** + * Text to use for the 'next' pagination button (to take the user to the + * next page). + * @type string + * @default Next + * @dtopt Language + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "oPaginate": { + * "sNext": "Next page" + * } + * } + * } ); + * } ); + */ + "sNext": "Next", + + + /** + * Text to use for the 'previous' pagination button (to take the user to + * the previous page). + * @type string + * @default Previous + * @dtopt Language + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "oPaginate": { + * "sPrevious": "Previous page" + * } + * } + * } ); + * } ); + */ + "sPrevious": "Previous" + }, + + /** + * This string is shown in preference to sZeroRecords when the table is + * empty of data (regardless of filtering). Note that this is an optional + * parameter - if it is not given, the value of sZeroRecords will be used + * instead (either the default or given value). + * @type string + * @default No data available in table + * @dtopt Language + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "sEmptyTable": "No data available in table" + * } + * } ); + * } ); + */ + "sEmptyTable": "No data available in table", + + + /** + * This string gives information to the end user about the information that + * is current on display on the page. The _START_, _END_ and _TOTAL_ + * variables are all dynamically replaced as the table display updates, and + * can be freely moved or removed as the language requirements change. + * @type string + * @default Showing _START_ to _END_ of _TOTAL_ entries + * @dtopt Language + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "sInfo": "Got a total of _TOTAL_ entries to show (_START_ to _END_)" + * } + * } ); + * } ); + */ + "sInfo": "Showing _START_ to _END_ of _TOTAL_ entries", + + + /** + * Display information string for when the table is empty. Typically the + * format of this string should match sInfo. + * @type string + * @default Showing 0 to 0 of 0 entries + * @dtopt Language + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "sInfoEmpty": "No entries to show" + * } + * } ); + * } ); + */ + "sInfoEmpty": "Showing 0 to 0 of 0 entries", + + + /** + * When a user filters the information in a table, this string is appended + * to the information (sInfo) to give an idea of how strong the filtering + * is. The variable _MAX_ is dynamically updated. + * @type string + * @default (filtered from _MAX_ total entries) + * @dtopt Language + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "sInfoFiltered": " - filtering from _MAX_ records" + * } + * } ); + * } ); + */ + "sInfoFiltered": "(filtered from _MAX_ total entries)", + + + /** + * If can be useful to append extra information to the info string at times, + * and this variable does exactly that. This information will be appended to + * the sInfo (sInfoEmpty and sInfoFiltered in whatever combination they are + * being used) at all times. + * @type string + * @default Empty string + * @dtopt Language + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "sInfoPostFix": "All records shown are derived from real information." + * } + * } ); + * } ); + */ + "sInfoPostFix": "", + + + /** + * DataTables has a build in number formatter (fnFormatNumber) which is used + * to format large numbers that are used in the table information. By + * default a comma is used, but this can be trivially changed to any + * character you wish with this parameter. + * @type string + * @default , + * @dtopt Language + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "sInfoThousands": "'" + * } + * } ); + * } ); + */ + "sInfoThousands": ",", + + + /** + * Detail the action that will be taken when the drop down menu for the + * pagination length option is changed. The '_MENU_' variable is replaced + * with a default select list of 10, 25, 50 and 100, and can be replaced + * with a custom select box if required. + * @type string + * @default Show _MENU_ entries + * @dtopt Language + * + * @example + * // Language change only + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "sLengthMenu": "Display _MENU_ records" + * } + * } ); + * } ); + * + * @example + * // Language and options change + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "sLengthMenu": 'Display records' + * } + * } ); + * } ); + */ + "sLengthMenu": "Show _MENU_ entries", + + + /** + * When using Ajax sourced data and during the first draw when DataTables is + * gathering the data, this message is shown in an empty row in the table to + * indicate to the end user the the data is being loaded. Note that this + * parameter is not used when loading data by server-side processing, just + * Ajax sourced data with client-side processing. + * @type string + * @default Loading... + * @dtopt Language + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "sLoadingRecords": "Please wait - loading..." + * } + * } ); + * } ); + */ + "sLoadingRecords": "Loading...", + + + /** + * Text which is displayed when the table is processing a user action + * (usually a sort command or similar). + * @type string + * @default Processing... + * @dtopt Language + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "sProcessing": "DataTables is currently busy" + * } + * } ); + * } ); + */ + "sProcessing": "Processing...", + + + /** + * Details the actions that will be taken when the user types into the + * filtering input text box. The variable "_INPUT_", if used in the string, + * is replaced with the HTML text box for the filtering input allowing + * control over where it appears in the string. If "_INPUT_" is not given + * then the input box is appended to the string automatically. + * @type string + * @default Search: + * @dtopt Language + * + * @example + * // Input text box will be appended at the end automatically + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "sSearch": "Filter records:" + * } + * } ); + * } ); + * + * @example + * // Specify where the filter should appear + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "sSearch": "Apply filter _INPUT_ to table" + * } + * } ); + * } ); + */ + "sSearch": "Search:", + + + /** + * All of the language information can be stored in a file on the + * server-side, which DataTables will look up if this parameter is passed. + * It must store the URL of the language file, which is in a JSON format, + * and the object has the same properties as the oLanguage object in the + * initialiser object (i.e. the above parameters). Please refer to one of + * the example language files to see how this works in action. + * @type string + * @default Empty string - i.e. disabled + * @dtopt Language + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "sUrl": "http://www.sprymedia.co.uk/dataTables/lang.txt" + * } + * } ); + * } ); + */ + "sUrl": "", + + + /** + * Text shown inside the table records when the is no information to be + * displayed after filtering. sEmptyTable is shown when there is simply no + * information in the table at all (regardless of filtering). + * @type string + * @default No matching records found + * @dtopt Language + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "oLanguage": { + * "sZeroRecords": "No records to display" + * } + * } ); + * } ); + */ + "sZeroRecords": "No matching records found" + }, + + + /** + * This parameter allows you to have define the global filtering state at + * initialisation time. As an object the "sSearch" parameter must be + * defined, but all other parameters are optional. When "bRegex" is true, + * the search string will be treated as a regular expression, when false + * (default) it will be treated as a straight string. When "bSmart" + * DataTables will use it's smart filtering methods (to word match at + * any point in the data), when false this will not be done. + * @namespace + * @extends DataTable.models.oSearch + * @dtopt Options + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "oSearch": {"sSearch": "Initial search"} + * } ); + * } ) + */ + "oSearch": $.extend( {}, DataTable.models.oSearch ), + + + /** + * By default DataTables will look for the property 'aaData' when obtaining + * data from an Ajax source or for server-side processing - this parameter + * allows that property to be changed. You can use Javascript dotted object + * notation to get a data source for multiple levels of nesting. + * @type string + * @default aaData + * @dtopt Options + * @dtopt Server-side + * + * @example + * // Get data from { "data": [...] } + * $(document).ready( function() { + * var oTable = $('#example').dataTable( { + * "sAjaxSource": "sources/data.txt", + * "sAjaxDataProp": "data" + * } ); + * } ); + * + * @example + * // Get data from { "data": { "inner": [...] } } + * $(document).ready( function() { + * var oTable = $('#example').dataTable( { + * "sAjaxSource": "sources/data.txt", + * "sAjaxDataProp": "data.inner" + * } ); + * } ); + */ + "sAjaxDataProp": "aaData", + + + /** + * You can instruct DataTables to load data from an external source using this + * parameter (use aData if you want to pass data in you already have). Simply + * provide a url a JSON object can be obtained from. This object must include + * the parameter 'aaData' which is the data source for the table. + * @type string + * @default null + * @dtopt Options + * @dtopt Server-side + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "sAjaxSource": "http://www.sprymedia.co.uk/dataTables/json.php" + * } ); + * } ) + */ + "sAjaxSource": null, + + + /** + * This parameter can be used to override the default prefix that DataTables + * assigns to a cookie when state saving is enabled. + * @type string + * @default SpryMedia_DataTables_ + * @dtopt Options + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "sCookiePrefix": "my_datatable_", + * } ); + * } ); + */ + "sCookiePrefix": "SpryMedia_DataTables_", + + + /** + * This initialisation variable allows you to specify exactly where in the + * DOM you want DataTables to inject the various controls it adds to the page + * (for example you might want the pagination controls at the top of the + * table). DIV elements (with or without a custom class) can also be added to + * aid styling. The follow syntax is used: + *
      + *
    • The following options are allowed: + *
        + *
      • 'l' - Length changing
      • 'f' - Filtering input + *
      • 't' - The table!
      • + *
      • 'i' - Information
      • + *
      • 'p' - Pagination
      • + *
      • 'r' - pRocessing
      • + *
      + *
    • + *
    • The following constants are allowed: + *
        + *
      • 'H' - jQueryUI theme "header" classes ('fg-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix')
      • + *
      • 'F' - jQueryUI theme "footer" classes ('fg-toolbar ui-widget-header ui-corner-bl ui-corner-br ui-helper-clearfix')
      • + *
      + *
    • + *
    • The following syntax is expected: + *
        + *
      • '<' and '>' - div elements
      • + *
      • '<"class" and '>' - div with a class
      • + *
      • '<"#id" and '>' - div with an ID
      • + *
      + *
    • + *
    • Examples: + *
        + *
      • '<"wrapper"flipt>'
      • + *
      • '<lf<t>ip>'
      • + *
      + *
    • + *
    + * @type string + * @default lfrtip (when bJQueryUI is false) or + * <"H"lfr>t<"F"ip> (when bJQueryUI is true) + * @dtopt Options + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "sDom": '<"top"i>rt<"bottom"flp><"clear">' + * } ); + * } ); + */ + "sDom": "lfrtip", + + + /** + * DataTables features two different built-in pagination interaction methods + * ('two_button' or 'full_numbers') which present different page controls to + * the end user. Further methods can be added using the API (see below). + * @type string + * @default two_button + * @dtopt Options + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "sPaginationType": "full_numbers" + * } ); + * } ) + */ + "sPaginationType": "two_button", + + + /** + * Enable horizontal scrolling. When a table is too wide to fit into a certain + * layout, or you have a large number of columns in the table, you can enable + * x-scrolling to show the table in a viewport, which can be scrolled. This + * property can be any CSS unit, or a number (in which case it will be treated + * as a pixel measurement). + * @type string + * @default blank string - i.e. disabled + * @dtopt Features + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "sScrollX": "100%", + * "bScrollCollapse": true + * } ); + * } ); + */ + "sScrollX": "", + + + /** + * This property can be used to force a DataTable to use more width than it + * might otherwise do when x-scrolling is enabled. For example if you have a + * table which requires to be well spaced, this parameter is useful for + * "over-sizing" the table, and thus forcing scrolling. This property can by + * any CSS unit, or a number (in which case it will be treated as a pixel + * measurement). + * @type string + * @default blank string - i.e. disabled + * @dtopt Options + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "sScrollX": "100%", + * "sScrollXInner": "110%" + * } ); + * } ); + */ + "sScrollXInner": "", + + + /** + * Enable vertical scrolling. Vertical scrolling will constrain the DataTable + * to the given height, and enable scrolling for any data which overflows the + * current viewport. This can be used as an alternative to paging to display + * a lot of data in a small area (although paging and scrolling can both be + * enabled at the same time). This property can be any CSS unit, or a number + * (in which case it will be treated as a pixel measurement). + * @type string + * @default blank string - i.e. disabled + * @dtopt Features + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "sScrollY": "200px", + * "bPaginate": false + * } ); + * } ); + */ + "sScrollY": "", + + + /** + * Set the HTTP method that is used to make the Ajax call for server-side + * processing or Ajax sourced data. + * @type string + * @default GET + * @dtopt Options + * @dtopt Server-side + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "bServerSide": true, + * "sAjaxSource": "scripts/post.php", + * "sServerMethod": "POST" + * } ); + * } ); + */ + "sServerMethod": "GET" + }; + + + + /** + * Column options that can be given to DataTables at initialisation time. + * @namespace + */ + DataTable.defaults.columns = { + /** + * Allows a column's sorting to take multiple columns into account when + * doing a sort. For example first name / last name columns make sense to + * do a multi-column sort over the two columns. + * @type array + * @default null Takes the value of the column index automatically + * @dtopt Columns + * + * @example + * // Using aoColumnDefs + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumnDefs": [ + * { "aDataSort": [ 0, 1 ], "aTargets": [ 0 ] }, + * { "aDataSort": [ 1, 0 ], "aTargets": [ 1 ] }, + * { "aDataSort": [ 2, 3, 4 ], "aTargets": [ 2 ] } + * ] + * } ); + * } ); + * + * @example + * // Using aoColumns + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumns": [ + * { "aDataSort": [ 0, 1 ] }, + * { "aDataSort": [ 1, 0 ] }, + * { "aDataSort": [ 2, 3, 4 ] }, + * null, + * null + * ] + * } ); + * } ); + */ + "aDataSort": null, + + + /** + * You can control the default sorting direction, and even alter the behaviour + * of the sort handler (i.e. only allow ascending sorting etc) using this + * parameter. + * @type array + * @default [ 'asc', 'desc' ] + * @dtopt Columns + * + * @example + * // Using aoColumnDefs + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumnDefs": [ + * { "asSorting": [ "asc" ], "aTargets": [ 1 ] }, + * { "asSorting": [ "desc", "asc", "asc" ], "aTargets": [ 2 ] }, + * { "asSorting": [ "desc" ], "aTargets": [ 3 ] } + * ] + * } ); + * } ); + * + * @example + * // Using aoColumns + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumns": [ + * null, + * { "asSorting": [ "asc" ] }, + * { "asSorting": [ "desc", "asc", "asc" ] }, + * { "asSorting": [ "desc" ] }, + * null + * ] + * } ); + * } ); + */ + "asSorting": [ 'asc', 'desc' ], + + + /** + * Enable or disable filtering on the data in this column. + * @type boolean + * @default true + * @dtopt Columns + * + * @example + * // Using aoColumnDefs + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumnDefs": [ + * { "bSearchable": false, "aTargets": [ 0 ] } + * ] } ); + * } ); + * + * @example + * // Using aoColumns + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumns": [ + * { "bSearchable": false }, + * null, + * null, + * null, + * null + * ] } ); + * } ); + */ + "bSearchable": true, + + + /** + * Enable or disable sorting on this column. + * @type boolean + * @default true + * @dtopt Columns + * + * @example + * // Using aoColumnDefs + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumnDefs": [ + * { "bSortable": false, "aTargets": [ 0 ] } + * ] } ); + * } ); + * + * @example + * // Using aoColumns + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumns": [ + * { "bSortable": false }, + * null, + * null, + * null, + * null + * ] } ); + * } ); + */ + "bSortable": true, + + + /** + * Deprecated When using fnRender() for a column, you may wish + * to use the original data (before rendering) for sorting and filtering + * (the default is to used the rendered data that the user can see). This + * may be useful for dates etc. + * + * Please note that this option has now been deprecated and will be removed + * in the next version of DataTables. Please use mRender / mData rather than + * fnRender. + * @type boolean + * @default true + * @dtopt Columns + * @deprecated + */ + "bUseRendered": true, + + + /** + * Enable or disable the display of this column. + * @type boolean + * @default true + * @dtopt Columns + * + * @example + * // Using aoColumnDefs + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumnDefs": [ + * { "bVisible": false, "aTargets": [ 0 ] } + * ] } ); + * } ); + * + * @example + * // Using aoColumns + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumns": [ + * { "bVisible": false }, + * null, + * null, + * null, + * null + * ] } ); + * } ); + */ + "bVisible": true, + + + /** + * Developer definable function that is called whenever a cell is created (Ajax source, + * etc) or processed for input (DOM source). This can be used as a compliment to mRender + * allowing you to modify the DOM element (add background colour for example) when the + * element is available. + * @type function + * @param {element} nTd The TD node that has been created + * @param {*} sData The Data for the cell + * @param {array|object} oData The data for the whole row + * @param {int} iRow The row index for the aoData data store + * @param {int} iCol The column index for aoColumns + * @dtopt Columns + * + * @example + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumnDefs": [ { + * "aTargets": [3], + * "fnCreatedCell": function (nTd, sData, oData, iRow, iCol) { + * if ( sData == "1.7" ) { + * $(nTd).css('color', 'blue') + * } + * } + * } ] + * }); + * } ); + */ + "fnCreatedCell": null, + + + /** + * Deprecated Custom display function that will be called for the + * display of each cell in this column. + * + * Please note that this option has now been deprecated and will be removed + * in the next version of DataTables. Please use mRender / mData rather than + * fnRender. + * @type function + * @param {object} o Object with the following parameters: + * @param {int} o.iDataRow The row in aoData + * @param {int} o.iDataColumn The column in question + * @param {array} o.aData The data for the row in question + * @param {object} o.oSettings The settings object for this DataTables instance + * @param {object} o.mDataProp The data property used for this column + * @param {*} val The current cell value + * @returns {string} The string you which to use in the display + * @dtopt Columns + * @deprecated + */ + "fnRender": null, + + + /** + * The column index (starting from 0!) that you wish a sort to be performed + * upon when this column is selected for sorting. This can be used for sorting + * on hidden columns for example. + * @type int + * @default -1 Use automatically calculated column index + * @dtopt Columns + * + * @example + * // Using aoColumnDefs + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumnDefs": [ + * { "iDataSort": 1, "aTargets": [ 0 ] } + * ] + * } ); + * } ); + * + * @example + * // Using aoColumns + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumns": [ + * { "iDataSort": 1 }, + * null, + * null, + * null, + * null + * ] + * } ); + * } ); + */ + "iDataSort": -1, + + + /** + * This parameter has been replaced by mData in DataTables to ensure naming + * consistency. mDataProp can still be used, as there is backwards compatibility + * in DataTables for this option, but it is strongly recommended that you use + * mData in preference to mDataProp. + * @name DataTable.defaults.columns.mDataProp + */ + + + /** + * This property can be used to read data from any JSON data source property, + * including deeply nested objects / properties. mData can be given in a + * number of different ways which effect its behaviour: + *
      + *
    • integer - treated as an array index for the data source. This is the + * default that DataTables uses (incrementally increased for each column).
    • + *
    • string - read an object property from the data source. Note that you can + * use Javascript dotted notation to read deep properties / arrays from the + * data source.
    • + *
    • null - the sDefaultContent option will be used for the cell (null + * by default, so you will need to specify the default content you want - + * typically an empty string). This can be useful on generated columns such + * as edit / delete action columns.
    • + *
    • function - the function given will be executed whenever DataTables + * needs to set or get the data for a cell in the column. The function + * takes three parameters: + *
        + *
      • {array|object} The data source for the row
      • + *
      • {string} The type call data requested - this will be 'set' when + * setting data or 'filter', 'display', 'type', 'sort' or undefined when + * gathering data. Note that when undefined is given for the type + * DataTables expects to get the raw data for the object back
      • + *
      • {*} Data to set when the second parameter is 'set'.
      • + *
      + * The return value from the function is not required when 'set' is the type + * of call, but otherwise the return is what will be used for the data + * requested.
    • + *
    + * + * Note that prior to DataTables 1.9.2 mData was called mDataProp. The name change + * reflects the flexibility of this property and is consistent with the naming of + * mRender. If 'mDataProp' is given, then it will still be used by DataTables, as + * it automatically maps the old name to the new if required. + * @type string|int|function|null + * @default null Use automatically calculated column index + * @dtopt Columns + * + * @example + * // Read table data from objects + * $(document).ready( function() { + * var oTable = $('#example').dataTable( { + * "sAjaxSource": "sources/deep.txt", + * "aoColumns": [ + * { "mData": "engine" }, + * { "mData": "browser" }, + * { "mData": "platform.inner" }, + * { "mData": "platform.details.0" }, + * { "mData": "platform.details.1" } + * ] + * } ); + * } ); + * + * @example + * // Using mData as a function to provide different information for + * // sorting, filtering and display. In this case, currency (price) + * $(document).ready( function() { + * var oTable = $('#example').dataTable( { + * "aoColumnDefs": [ { + * "aTargets": [ 0 ], + * "mData": function ( source, type, val ) { + * if (type === 'set') { + * source.price = val; + * // Store the computed dislay and filter values for efficiency + * source.price_display = val=="" ? "" : "$"+numberFormat(val); + * source.price_filter = val=="" ? "" : "$"+numberFormat(val)+" "+val; + * return; + * } + * else if (type === 'display') { + * return source.price_display; + * } + * else if (type === 'filter') { + * return source.price_filter; + * } + * // 'sort', 'type' and undefined all just use the integer + * return source.price; + * } + * } ] + * } ); + * } ); + */ + "mData": null, + + + /** + * This property is the rendering partner to mData and it is suggested that + * when you want to manipulate data for display (including filtering, sorting etc) + * but not altering the underlying data for the table, use this property. mData + * can actually do everything this property can and more, but this parameter is + * easier to use since there is no 'set' option. Like mData is can be given + * in a number of different ways to effect its behaviour, with the addition of + * supporting array syntax for easy outputting of arrays (including arrays of + * objects): + *
      + *
    • integer - treated as an array index for the data source. This is the + * default that DataTables uses (incrementally increased for each column).
    • + *
    • string - read an object property from the data source. Note that you can + * use Javascript dotted notation to read deep properties / arrays from the + * data source and also array brackets to indicate that the data reader should + * loop over the data source array. When characters are given between the array + * brackets, these characters are used to join the data source array together. + * For example: "accounts[, ].name" would result in a comma separated list with + * the 'name' value from the 'accounts' array of objects.
    • + *
    • function - the function given will be executed whenever DataTables + * needs to set or get the data for a cell in the column. The function + * takes three parameters: + *
        + *
      • {array|object} The data source for the row (based on mData)
      • + *
      • {string} The type call data requested - this will be 'filter', 'display', + * 'type' or 'sort'.
      • + *
      • {array|object} The full data source for the row (not based on mData)
      • + *
      + * The return value from the function is what will be used for the data + * requested.
    • + *
    + * @type string|int|function|null + * @default null Use mData + * @dtopt Columns + * + * @example + * // Create a comma separated list from an array of objects + * $(document).ready( function() { + * var oTable = $('#example').dataTable( { + * "sAjaxSource": "sources/deep.txt", + * "aoColumns": [ + * { "mData": "engine" }, + * { "mData": "browser" }, + * { + * "mData": "platform", + * "mRender": "[, ].name" + * } + * ] + * } ); + * } ); + * + * @example + * // Use as a function to create a link from the data source + * $(document).ready( function() { + * var oTable = $('#example').dataTable( { + * "aoColumnDefs": [ + * { + * "aTargets": [ 0 ], + * "mData": "download_link", + * "mRender": function ( data, type, full ) { + * return 'Download'; + * } + * ] + * } ); + * } ); + */ + "mRender": null, + + + /** + * Change the cell type created for the column - either TD cells or TH cells. This + * can be useful as TH cells have semantic meaning in the table body, allowing them + * to act as a header for a row (you may wish to add scope='row' to the TH elements). + * @type string + * @default td + * @dtopt Columns + * + * @example + * // Make the first column use TH cells + * $(document).ready( function() { + * var oTable = $('#example').dataTable( { + * "aoColumnDefs": [ { + * "aTargets": [ 0 ], + * "sCellType": "th" + * } ] + * } ); + * } ); + */ + "sCellType": "td", + + + /** + * Class to give to each cell in this column. + * @type string + * @default Empty string + * @dtopt Columns + * + * @example + * // Using aoColumnDefs + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumnDefs": [ + * { "sClass": "my_class", "aTargets": [ 0 ] } + * ] + * } ); + * } ); + * + * @example + * // Using aoColumns + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumns": [ + * { "sClass": "my_class" }, + * null, + * null, + * null, + * null + * ] + * } ); + * } ); + */ + "sClass": "", + + /** + * When DataTables calculates the column widths to assign to each column, + * it finds the longest string in each column and then constructs a + * temporary table and reads the widths from that. The problem with this + * is that "mmm" is much wider then "iiii", but the latter is a longer + * string - thus the calculation can go wrong (doing it properly and putting + * it into an DOM object and measuring that is horribly(!) slow). Thus as + * a "work around" we provide this option. It will append its value to the + * text that is found to be the longest string for the column - i.e. padding. + * Generally you shouldn't need this, and it is not documented on the + * general DataTables.net documentation + * @type string + * @default Empty string + * @dtopt Columns + * + * @example + * // Using aoColumns + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumns": [ + * null, + * null, + * null, + * { + * "sContentPadding": "mmm" + * } + * ] + * } ); + * } ); + */ + "sContentPadding": "", + + + /** + * Allows a default value to be given for a column's data, and will be used + * whenever a null data source is encountered (this can be because mData + * is set to null, or because the data source itself is null). + * @type string + * @default null + * @dtopt Columns + * + * @example + * // Using aoColumnDefs + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumnDefs": [ + * { + * "mData": null, + * "sDefaultContent": "Edit", + * "aTargets": [ -1 ] + * } + * ] + * } ); + * } ); + * + * @example + * // Using aoColumns + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumns": [ + * null, + * null, + * null, + * { + * "mData": null, + * "sDefaultContent": "Edit" + * } + * ] + * } ); + * } ); + */ + "sDefaultContent": null, + + + /** + * This parameter is only used in DataTables' server-side processing. It can + * be exceptionally useful to know what columns are being displayed on the + * client side, and to map these to database fields. When defined, the names + * also allow DataTables to reorder information from the server if it comes + * back in an unexpected order (i.e. if you switch your columns around on the + * client-side, your server-side code does not also need updating). + * @type string + * @default Empty string + * @dtopt Columns + * + * @example + * // Using aoColumnDefs + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumnDefs": [ + * { "sName": "engine", "aTargets": [ 0 ] }, + * { "sName": "browser", "aTargets": [ 1 ] }, + * { "sName": "platform", "aTargets": [ 2 ] }, + * { "sName": "version", "aTargets": [ 3 ] }, + * { "sName": "grade", "aTargets": [ 4 ] } + * ] + * } ); + * } ); + * + * @example + * // Using aoColumns + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumns": [ + * { "sName": "engine" }, + * { "sName": "browser" }, + * { "sName": "platform" }, + * { "sName": "version" }, + * { "sName": "grade" } + * ] + * } ); + * } ); + */ + "sName": "", + + + /** + * Defines a data source type for the sorting which can be used to read + * real-time information from the table (updating the internally cached + * version) prior to sorting. This allows sorting to occur on user editable + * elements such as form inputs. + * @type string + * @default std + * @dtopt Columns + * + * @example + * // Using aoColumnDefs + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumnDefs": [ + * { "sSortDataType": "dom-text", "aTargets": [ 2, 3 ] }, + * { "sType": "numeric", "aTargets": [ 3 ] }, + * { "sSortDataType": "dom-select", "aTargets": [ 4 ] }, + * { "sSortDataType": "dom-checkbox", "aTargets": [ 5 ] } + * ] + * } ); + * } ); + * + * @example + * // Using aoColumns + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumns": [ + * null, + * null, + * { "sSortDataType": "dom-text" }, + * { "sSortDataType": "dom-text", "sType": "numeric" }, + * { "sSortDataType": "dom-select" }, + * { "sSortDataType": "dom-checkbox" } + * ] + * } ); + * } ); + */ + "sSortDataType": "std", + + + /** + * The title of this column. + * @type string + * @default null Derived from the 'TH' value for this column in the + * original HTML table. + * @dtopt Columns + * + * @example + * // Using aoColumnDefs + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumnDefs": [ + * { "sTitle": "My column title", "aTargets": [ 0 ] } + * ] + * } ); + * } ); + * + * @example + * // Using aoColumns + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumns": [ + * { "sTitle": "My column title" }, + * null, + * null, + * null, + * null + * ] + * } ); + * } ); + */ + "sTitle": null, + + + /** + * The type allows you to specify how the data for this column will be sorted. + * Four types (string, numeric, date and html (which will strip HTML tags + * before sorting)) are currently available. Note that only date formats + * understood by Javascript's Date() object will be accepted as type date. For + * example: "Mar 26, 2008 5:03 PM". May take the values: 'string', 'numeric', + * 'date' or 'html' (by default). Further types can be adding through + * plug-ins. + * @type string + * @default null Auto-detected from raw data + * @dtopt Columns + * + * @example + * // Using aoColumnDefs + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumnDefs": [ + * { "sType": "html", "aTargets": [ 0 ] } + * ] + * } ); + * } ); + * + * @example + * // Using aoColumns + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumns": [ + * { "sType": "html" }, + * null, + * null, + * null, + * null + * ] + * } ); + * } ); + */ + "sType": null, + + + /** + * Defining the width of the column, this parameter may take any CSS value + * (3em, 20px etc). DataTables apples 'smart' widths to columns which have not + * been given a specific width through this interface ensuring that the table + * remains readable. + * @type string + * @default null Automatic + * @dtopt Columns + * + * @example + * // Using aoColumnDefs + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumnDefs": [ + * { "sWidth": "20%", "aTargets": [ 0 ] } + * ] + * } ); + * } ); + * + * @example + * // Using aoColumns + * $(document).ready( function() { + * $('#example').dataTable( { + * "aoColumns": [ + * { "sWidth": "20%" }, + * null, + * null, + * null, + * null + * ] + * } ); + * } ); + */ + "sWidth": null + }; + + + + /** + * DataTables settings object - this holds all the information needed for a + * given table, including configuration, data and current application of the + * table options. DataTables does not have a single instance for each DataTable + * with the settings attached to that instance, but rather instances of the + * DataTable "class" are created on-the-fly as needed (typically by a + * $().dataTable() call) and the settings object is then applied to that + * instance. + * + * Note that this object is related to {@link DataTable.defaults} but this + * one is the internal data store for DataTables's cache of columns. It should + * NOT be manipulated outside of DataTables. Any configuration should be done + * through the initialisation options. + * @namespace + * @todo Really should attach the settings object to individual instances so we + * don't need to create new instances on each $().dataTable() call (if the + * table already exists). It would also save passing oSettings around and + * into every single function. However, this is a very significant + * architecture change for DataTables and will almost certainly break + * backwards compatibility with older installations. This is something that + * will be done in 2.0. + */ + DataTable.models.oSettings = { + /** + * Primary features of DataTables and their enablement state. + * @namespace + */ + "oFeatures": { + + /** + * Flag to say if DataTables should automatically try to calculate the + * optimum table and columns widths (true) or not (false). + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type boolean + */ + "bAutoWidth": null, + + /** + * Delay the creation of TR and TD elements until they are actually + * needed by a driven page draw. This can give a significant speed + * increase for Ajax source and Javascript source data, but makes no + * difference at all fro DOM and server-side processing tables. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type boolean + */ + "bDeferRender": null, + + /** + * Enable filtering on the table or not. Note that if this is disabled + * then there is no filtering at all on the table, including fnFilter. + * To just remove the filtering input use sDom and remove the 'f' option. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type boolean + */ + "bFilter": null, + + /** + * Table information element (the 'Showing x of y records' div) enable + * flag. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type boolean + */ + "bInfo": null, + + /** + * Present a user control allowing the end user to change the page size + * when pagination is enabled. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type boolean + */ + "bLengthChange": null, + + /** + * Pagination enabled or not. Note that if this is disabled then length + * changing must also be disabled. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type boolean + */ + "bPaginate": null, + + /** + * Processing indicator enable flag whenever DataTables is enacting a + * user request - typically an Ajax request for server-side processing. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type boolean + */ + "bProcessing": null, + + /** + * Server-side processing enabled flag - when enabled DataTables will + * get all data from the server for every draw - there is no filtering, + * sorting or paging done on the client-side. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type boolean + */ + "bServerSide": null, + + /** + * Sorting enablement flag. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type boolean + */ + "bSort": null, + + /** + * Apply a class to the columns which are being sorted to provide a + * visual highlight or not. This can slow things down when enabled since + * there is a lot of DOM interaction. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type boolean + */ + "bSortClasses": null, + + /** + * State saving enablement flag. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type boolean + */ + "bStateSave": null + }, + + + /** + * Scrolling settings for a table. + * @namespace + */ + "oScroll": { + /** + * Indicate if DataTables should be allowed to set the padding / margin + * etc for the scrolling header elements or not. Typically you will want + * this. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type boolean + */ + "bAutoCss": null, + + /** + * When the table is shorter in height than sScrollY, collapse the + * table container down to the height of the table (when true). + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type boolean + */ + "bCollapse": null, + + /** + * Infinite scrolling enablement flag. Now deprecated in favour of + * using the Scroller plug-in. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type boolean + */ + "bInfinite": null, + + /** + * Width of the scrollbar for the web-browser's platform. Calculated + * during table initialisation. + * @type int + * @default 0 + */ + "iBarWidth": 0, + + /** + * Space (in pixels) between the bottom of the scrolling container and + * the bottom of the scrolling viewport before the next page is loaded + * when using infinite scrolling. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type int + */ + "iLoadGap": null, + + /** + * Viewport width for horizontal scrolling. Horizontal scrolling is + * disabled if an empty string. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type string + */ + "sX": null, + + /** + * Width to expand the table to when using x-scrolling. Typically you + * should not need to use this. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type string + * @deprecated + */ + "sXInner": null, + + /** + * Viewport height for vertical scrolling. Vertical scrolling is disabled + * if an empty string. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type string + */ + "sY": null + }, + + /** + * Language information for the table. + * @namespace + * @extends DataTable.defaults.oLanguage + */ + "oLanguage": { + /** + * Information callback function. See + * {@link DataTable.defaults.fnInfoCallback} + * @type function + * @default null + */ + "fnInfoCallback": null + }, + + /** + * Browser support parameters + * @namespace + */ + "oBrowser": { + /** + * Indicate if the browser incorrectly calculates width:100% inside a + * scrolling element (IE6/7) + * @type boolean + * @default false + */ + "bScrollOversize": false + }, + + /** + * Array referencing the nodes which are used for the features. The + * parameters of this object match what is allowed by sDom - i.e. + *
      + *
    • 'l' - Length changing
    • + *
    • 'f' - Filtering input
    • + *
    • 't' - The table!
    • + *
    • 'i' - Information
    • + *
    • 'p' - Pagination
    • + *
    • 'r' - pRocessing
    • + *
    + * @type array + * @default [] + */ + "aanFeatures": [], + + /** + * Store data information - see {@link DataTable.models.oRow} for detailed + * information. + * @type array + * @default [] + */ + "aoData": [], + + /** + * Array of indexes which are in the current display (after filtering etc) + * @type array + * @default [] + */ + "aiDisplay": [], + + /** + * Array of indexes for display - no filtering + * @type array + * @default [] + */ + "aiDisplayMaster": [], + + /** + * Store information about each column that is in use + * @type array + * @default [] + */ + "aoColumns": [], + + /** + * Store information about the table's header + * @type array + * @default [] + */ + "aoHeader": [], + + /** + * Store information about the table's footer + * @type array + * @default [] + */ + "aoFooter": [], + + /** + * Search data array for regular expression searching + * @type array + * @default [] + */ + "asDataSearch": [], + + /** + * Store the applied global search information in case we want to force a + * research or compare the old search to a new one. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @namespace + * @extends DataTable.models.oSearch + */ + "oPreviousSearch": {}, + + /** + * Store the applied search for each column - see + * {@link DataTable.models.oSearch} for the format that is used for the + * filtering information for each column. + * @type array + * @default [] + */ + "aoPreSearchCols": [], + + /** + * Sorting that is applied to the table. Note that the inner arrays are + * used in the following manner: + *
      + *
    • Index 0 - column number
    • + *
    • Index 1 - current sorting direction
    • + *
    • Index 2 - index of asSorting for this column
    • + *
    + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type array + * @todo These inner arrays should really be objects + */ + "aaSorting": null, + + /** + * Sorting that is always applied to the table (i.e. prefixed in front of + * aaSorting). + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type array|null + * @default null + */ + "aaSortingFixed": null, + + /** + * Classes to use for the striping of a table. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type array + * @default [] + */ + "asStripeClasses": null, + + /** + * If restoring a table - we should restore its striping classes as well + * @type array + * @default [] + */ + "asDestroyStripes": [], + + /** + * If restoring a table - we should restore its width + * @type int + * @default 0 + */ + "sDestroyWidth": 0, + + /** + * Callback functions array for every time a row is inserted (i.e. on a draw). + * @type array + * @default [] + */ + "aoRowCallback": [], + + /** + * Callback functions for the header on each draw. + * @type array + * @default [] + */ + "aoHeaderCallback": [], + + /** + * Callback function for the footer on each draw. + * @type array + * @default [] + */ + "aoFooterCallback": [], + + /** + * Array of callback functions for draw callback functions + * @type array + * @default [] + */ + "aoDrawCallback": [], + + /** + * Array of callback functions for row created function + * @type array + * @default [] + */ + "aoRowCreatedCallback": [], + + /** + * Callback functions for just before the table is redrawn. A return of + * false will be used to cancel the draw. + * @type array + * @default [] + */ + "aoPreDrawCallback": [], + + /** + * Callback functions for when the table has been initialised. + * @type array + * @default [] + */ + "aoInitComplete": [], + + + /** + * Callbacks for modifying the settings to be stored for state saving, prior to + * saving state. + * @type array + * @default [] + */ + "aoStateSaveParams": [], + + /** + * Callbacks for modifying the settings that have been stored for state saving + * prior to using the stored values to restore the state. + * @type array + * @default [] + */ + "aoStateLoadParams": [], + + /** + * Callbacks for operating on the settings object once the saved state has been + * loaded + * @type array + * @default [] + */ + "aoStateLoaded": [], + + /** + * Cache the table ID for quick access + * @type string + * @default Empty string + */ + "sTableId": "", + + /** + * The TABLE node for the main table + * @type node + * @default null + */ + "nTable": null, + + /** + * Permanent ref to the thead element + * @type node + * @default null + */ + "nTHead": null, + + /** + * Permanent ref to the tfoot element - if it exists + * @type node + * @default null + */ + "nTFoot": null, + + /** + * Permanent ref to the tbody element + * @type node + * @default null + */ + "nTBody": null, + + /** + * Cache the wrapper node (contains all DataTables controlled elements) + * @type node + * @default null + */ + "nTableWrapper": null, + + /** + * Indicate if when using server-side processing the loading of data + * should be deferred until the second draw. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type boolean + * @default false + */ + "bDeferLoading": false, + + /** + * Indicate if all required information has been read in + * @type boolean + * @default false + */ + "bInitialised": false, + + /** + * Information about open rows. Each object in the array has the parameters + * 'nTr' and 'nParent' + * @type array + * @default [] + */ + "aoOpenRows": [], + + /** + * Dictate the positioning of DataTables' control elements - see + * {@link DataTable.model.oInit.sDom}. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type string + * @default null + */ + "sDom": null, + + /** + * Which type of pagination should be used. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type string + * @default two_button + */ + "sPaginationType": "two_button", + + /** + * The cookie duration (for bStateSave) in seconds. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type int + * @default 0 + */ + "iCookieDuration": 0, + + /** + * The cookie name prefix. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type string + * @default Empty string + */ + "sCookiePrefix": "", + + /** + * Callback function for cookie creation. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type function + * @default null + */ + "fnCookieCallback": null, + + /** + * Array of callback functions for state saving. Each array element is an + * object with the following parameters: + *
      + *
    • function:fn - function to call. Takes two parameters, oSettings + * and the JSON string to save that has been thus far created. Returns + * a JSON string to be inserted into a json object + * (i.e. '"param": [ 0, 1, 2]')
    • + *
    • string:sName - name of callback
    • + *
    + * @type array + * @default [] + */ + "aoStateSave": [], + + /** + * Array of callback functions for state loading. Each array element is an + * object with the following parameters: + *
      + *
    • function:fn - function to call. Takes two parameters, oSettings + * and the object stored. May return false to cancel state loading
    • + *
    • string:sName - name of callback
    • + *
    + * @type array + * @default [] + */ + "aoStateLoad": [], + + /** + * State that was loaded from the cookie. Useful for back reference + * @type object + * @default null + */ + "oLoadedState": null, + + /** + * Source url for AJAX data for the table. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type string + * @default null + */ + "sAjaxSource": null, + + /** + * Property from a given object from which to read the table data from. This + * can be an empty string (when not server-side processing), in which case + * it is assumed an an array is given directly. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type string + */ + "sAjaxDataProp": null, + + /** + * Note if draw should be blocked while getting data + * @type boolean + * @default true + */ + "bAjaxDataGet": true, + + /** + * The last jQuery XHR object that was used for server-side data gathering. + * This can be used for working with the XHR information in one of the + * callbacks + * @type object + * @default null + */ + "jqXHR": null, + + /** + * Function to get the server-side data. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type function + */ + "fnServerData": null, + + /** + * Functions which are called prior to sending an Ajax request so extra + * parameters can easily be sent to the server + * @type array + * @default [] + */ + "aoServerParams": [], + + /** + * Send the XHR HTTP method - GET or POST (could be PUT or DELETE if + * required). + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type string + */ + "sServerMethod": null, + + /** + * Format numbers for display. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type function + */ + "fnFormatNumber": null, + + /** + * List of options that can be used for the user selectable length menu. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type array + * @default [] + */ + "aLengthMenu": null, + + /** + * Counter for the draws that the table does. Also used as a tracker for + * server-side processing + * @type int + * @default 0 + */ + "iDraw": 0, + + /** + * Indicate if a redraw is being done - useful for Ajax + * @type boolean + * @default false + */ + "bDrawing": false, + + /** + * Draw index (iDraw) of the last error when parsing the returned data + * @type int + * @default -1 + */ + "iDrawError": -1, + + /** + * Paging display length + * @type int + * @default 10 + */ + "_iDisplayLength": 10, + + /** + * Paging start point - aiDisplay index + * @type int + * @default 0 + */ + "_iDisplayStart": 0, + + /** + * Paging end point - aiDisplay index. Use fnDisplayEnd rather than + * this property to get the end point + * @type int + * @default 10 + * @private + */ + "_iDisplayEnd": 10, + + /** + * Server-side processing - number of records in the result set + * (i.e. before filtering), Use fnRecordsTotal rather than + * this property to get the value of the number of records, regardless of + * the server-side processing setting. + * @type int + * @default 0 + * @private + */ + "_iRecordsTotal": 0, + + /** + * Server-side processing - number of records in the current display set + * (i.e. after filtering). Use fnRecordsDisplay rather than + * this property to get the value of the number of records, regardless of + * the server-side processing setting. + * @type boolean + * @default 0 + * @private + */ + "_iRecordsDisplay": 0, + + /** + * Flag to indicate if jQuery UI marking and classes should be used. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type boolean + */ + "bJUI": null, + + /** + * The classes to use for the table + * @type object + * @default {} + */ + "oClasses": {}, + + /** + * Flag attached to the settings object so you can check in the draw + * callback if filtering has been done in the draw. Deprecated in favour of + * events. + * @type boolean + * @default false + * @deprecated + */ + "bFiltered": false, + + /** + * Flag attached to the settings object so you can check in the draw + * callback if sorting has been done in the draw. Deprecated in favour of + * events. + * @type boolean + * @default false + * @deprecated + */ + "bSorted": false, + + /** + * Indicate that if multiple rows are in the header and there is more than + * one unique cell per column, if the top one (true) or bottom one (false) + * should be used for sorting / title by DataTables. + * Note that this parameter will be set by the initialisation routine. To + * set a default use {@link DataTable.defaults}. + * @type boolean + */ + "bSortCellsTop": null, + + /** + * Initialisation object that is used for the table + * @type object + * @default null + */ + "oInit": null, + + /** + * Destroy callback functions - for plug-ins to attach themselves to the + * destroy so they can clean up markup and events. + * @type array + * @default [] + */ + "aoDestroyCallback": [], + + + /** + * Get the number of records in the current record set, before filtering + * @type function + */ + "fnRecordsTotal": function () + { + if ( this.oFeatures.bServerSide ) { + return parseInt(this._iRecordsTotal, 10); + } else { + return this.aiDisplayMaster.length; + } + }, + + /** + * Get the number of records in the current record set, after filtering + * @type function + */ + "fnRecordsDisplay": function () + { + if ( this.oFeatures.bServerSide ) { + return parseInt(this._iRecordsDisplay, 10); + } else { + return this.aiDisplay.length; + } + }, + + /** + * Set the display end point - aiDisplay index + * @type function + * @todo Should do away with _iDisplayEnd and calculate it on-the-fly here + */ + "fnDisplayEnd": function () + { + if ( this.oFeatures.bServerSide ) { + if ( this.oFeatures.bPaginate === false || this._iDisplayLength == -1 ) { + return this._iDisplayStart+this.aiDisplay.length; + } else { + return Math.min( this._iDisplayStart+this._iDisplayLength, + this._iRecordsDisplay ); + } + } else { + return this._iDisplayEnd; + } + }, + + /** + * The DataTables object for this table + * @type object + * @default null + */ + "oInstance": null, + + /** + * Unique identifier for each instance of the DataTables object. If there + * is an ID on the table node, then it takes that value, otherwise an + * incrementing internal counter is used. + * @type string + * @default null + */ + "sInstance": null, + + /** + * tabindex attribute value that is added to DataTables control elements, allowing + * keyboard navigation of the table and its controls. + */ + "iTabIndex": 0, + + /** + * DIV container for the footer scrolling table if scrolling + */ + "nScrollHead": null, + + /** + * DIV container for the footer scrolling table if scrolling + */ + "nScrollFoot": null + }; + + /** + * Extension object for DataTables that is used to provide all extension options. + * + * Note that the DataTable.ext object is available through + * jQuery.fn.dataTable.ext where it may be accessed and manipulated. It is + * also aliased to jQuery.fn.dataTableExt for historic reasons. + * @namespace + * @extends DataTable.models.ext + */ + DataTable.ext = $.extend( true, {}, DataTable.models.ext ); + + $.extend( DataTable.ext.oStdClasses, { + "sTable": "dataTable", + + /* Two buttons buttons */ + "sPagePrevEnabled": "paginate_enabled_previous", + "sPagePrevDisabled": "paginate_disabled_previous", + "sPageNextEnabled": "paginate_enabled_next", + "sPageNextDisabled": "paginate_disabled_next", + "sPageJUINext": "", + "sPageJUIPrev": "", + + /* Full numbers paging buttons */ + "sPageButton": "paginate_button", + "sPageButtonActive": "paginate_active", + "sPageButtonStaticDisabled": "paginate_button paginate_button_disabled", + "sPageFirst": "first", + "sPagePrevious": "previous", + "sPageNext": "next", + "sPageLast": "last", + + /* Striping classes */ + "sStripeOdd": "odd", + "sStripeEven": "even", + + /* Empty row */ + "sRowEmpty": "dataTables_empty", + + /* Features */ + "sWrapper": "dataTables_wrapper", + "sFilter": "dataTables_filter", + "sInfo": "dataTables_info", + "sPaging": "dataTables_paginate paging_", /* Note that the type is postfixed */ + "sLength": "dataTables_length", + "sProcessing": "dataTables_processing", + + /* Sorting */ + "sSortAsc": "sorting_asc", + "sSortDesc": "sorting_desc", + "sSortable": "sorting", /* Sortable in both directions */ + "sSortableAsc": "sorting_asc_disabled", + "sSortableDesc": "sorting_desc_disabled", + "sSortableNone": "sorting_disabled", + "sSortColumn": "sorting_", /* Note that an int is postfixed for the sorting order */ + "sSortJUIAsc": "", + "sSortJUIDesc": "", + "sSortJUI": "", + "sSortJUIAscAllowed": "", + "sSortJUIDescAllowed": "", + "sSortJUIWrapper": "", + "sSortIcon": "", + + /* Scrolling */ + "sScrollWrapper": "dataTables_scroll", + "sScrollHead": "dataTables_scrollHead", + "sScrollHeadInner": "dataTables_scrollHeadInner", + "sScrollBody": "dataTables_scrollBody", + "sScrollFoot": "dataTables_scrollFoot", + "sScrollFootInner": "dataTables_scrollFootInner", + + /* Misc */ + "sFooterTH": "", + "sJUIHeader": "", + "sJUIFooter": "" + } ); + + + $.extend( DataTable.ext.oJUIClasses, DataTable.ext.oStdClasses, { + /* Two buttons buttons */ + "sPagePrevEnabled": "fg-button ui-button ui-state-default ui-corner-left", + "sPagePrevDisabled": "fg-button ui-button ui-state-default ui-corner-left ui-state-disabled", + "sPageNextEnabled": "fg-button ui-button ui-state-default ui-corner-right", + "sPageNextDisabled": "fg-button ui-button ui-state-default ui-corner-right ui-state-disabled", + "sPageJUINext": "ui-icon ui-icon-circle-arrow-e", + "sPageJUIPrev": "ui-icon ui-icon-circle-arrow-w", + + /* Full numbers paging buttons */ + "sPageButton": "fg-button ui-button ui-state-default", + "sPageButtonActive": "fg-button ui-button ui-state-default ui-state-disabled", + "sPageButtonStaticDisabled": "fg-button ui-button ui-state-default ui-state-disabled", + "sPageFirst": "first ui-corner-tl ui-corner-bl", + "sPageLast": "last ui-corner-tr ui-corner-br", + + /* Features */ + "sPaging": "dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi "+ + "ui-buttonset-multi paging_", /* Note that the type is postfixed */ + + /* Sorting */ + "sSortAsc": "ui-state-default", + "sSortDesc": "ui-state-default", + "sSortable": "ui-state-default", + "sSortableAsc": "ui-state-default", + "sSortableDesc": "ui-state-default", + "sSortableNone": "ui-state-default", + "sSortJUIAsc": "css_right ui-icon ui-icon-triangle-1-n", + "sSortJUIDesc": "css_right ui-icon ui-icon-triangle-1-s", + "sSortJUI": "css_right ui-icon ui-icon-carat-2-n-s", + "sSortJUIAscAllowed": "css_right ui-icon ui-icon-carat-1-n", + "sSortJUIDescAllowed": "css_right ui-icon ui-icon-carat-1-s", + "sSortJUIWrapper": "DataTables_sort_wrapper", + "sSortIcon": "DataTables_sort_icon", + + /* Scrolling */ + "sScrollHead": "dataTables_scrollHead ui-state-default", + "sScrollFoot": "dataTables_scrollFoot ui-state-default", + + /* Misc */ + "sFooterTH": "ui-state-default", + "sJUIHeader": "fg-toolbar ui-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix", + "sJUIFooter": "fg-toolbar ui-toolbar ui-widget-header ui-corner-bl ui-corner-br ui-helper-clearfix" + } ); + + /* + * Variable: oPagination + * Purpose: + * Scope: jQuery.fn.dataTableExt + */ + $.extend( DataTable.ext.oPagination, { + /* + * Variable: two_button + * Purpose: Standard two button (forward/back) pagination + * Scope: jQuery.fn.dataTableExt.oPagination + */ + "two_button": { + /* + * Function: oPagination.two_button.fnInit + * Purpose: Initialise dom elements required for pagination with forward/back buttons only + * Returns: - + * Inputs: object:oSettings - dataTables settings object + * node:nPaging - the DIV which contains this pagination control + * function:fnCallbackDraw - draw function which must be called on update + */ + "fnInit": function ( oSettings, nPaging, fnCallbackDraw ) + { + var oLang = oSettings.oLanguage.oPaginate; + var oClasses = oSettings.oClasses; + var fnClickHandler = function ( e ) { + if ( oSettings.oApi._fnPageChange( oSettings, e.data.action ) ) + { + fnCallbackDraw( oSettings ); + } + }; + + var sAppend = (!oSettings.bJUI) ? + ''+oLang.sPrevious+''+ + ''+oLang.sNext+'' + : + ''+ + ''; + $(nPaging).append( sAppend ); + + var els = $('a', nPaging); + var nPrevious = els[0], + nNext = els[1]; + + oSettings.oApi._fnBindAction( nPrevious, {action: "previous"}, fnClickHandler ); + oSettings.oApi._fnBindAction( nNext, {action: "next"}, fnClickHandler ); + + /* ID the first elements only */ + if ( !oSettings.aanFeatures.p ) + { + nPaging.id = oSettings.sTableId+'_paginate'; + nPrevious.id = oSettings.sTableId+'_previous'; + nNext.id = oSettings.sTableId+'_next'; + + nPrevious.setAttribute('aria-controls', oSettings.sTableId); + nNext.setAttribute('aria-controls', oSettings.sTableId); + } + }, + + /* + * Function: oPagination.two_button.fnUpdate + * Purpose: Update the two button pagination at the end of the draw + * Returns: - + * Inputs: object:oSettings - dataTables settings object + * function:fnCallbackDraw - draw function to call on page change + */ + "fnUpdate": function ( oSettings, fnCallbackDraw ) + { + if ( !oSettings.aanFeatures.p ) + { + return; + } + + var oClasses = oSettings.oClasses; + var an = oSettings.aanFeatures.p; + var nNode; + + /* Loop over each instance of the pager */ + for ( var i=0, iLen=an.length ; i'+oLang.sFirst+''+ + ''+oLang.sPrevious+''+ + ''+ + ''+oLang.sNext+''+ + ''+oLang.sLast+'' + ); + var els = $('a', nPaging); + var nFirst = els[0], + nPrev = els[1], + nNext = els[2], + nLast = els[3]; + + oSettings.oApi._fnBindAction( nFirst, {action: "first"}, fnClickHandler ); + oSettings.oApi._fnBindAction( nPrev, {action: "previous"}, fnClickHandler ); + oSettings.oApi._fnBindAction( nNext, {action: "next"}, fnClickHandler ); + oSettings.oApi._fnBindAction( nLast, {action: "last"}, fnClickHandler ); + + /* ID the first elements only */ + if ( !oSettings.aanFeatures.p ) + { + nPaging.id = oSettings.sTableId+'_paginate'; + nFirst.id =oSettings.sTableId+'_first'; + nPrev.id =oSettings.sTableId+'_previous'; + nNext.id =oSettings.sTableId+'_next'; + nLast.id =oSettings.sTableId+'_last'; + } + }, + + /* + * Function: oPagination.full_numbers.fnUpdate + * Purpose: Update the list of page buttons shows + * Returns: - + * Inputs: object:oSettings - dataTables settings object + * function:fnCallbackDraw - draw function to call on page change + */ + "fnUpdate": function ( oSettings, fnCallbackDraw ) + { + if ( !oSettings.aanFeatures.p ) + { + return; + } + + var iPageCount = DataTable.ext.oPagination.iFullNumbersShowPages; + var iPageCountHalf = Math.floor(iPageCount / 2); + var iPages = Math.ceil((oSettings.fnRecordsDisplay()) / oSettings._iDisplayLength); + var iCurrentPage = Math.ceil(oSettings._iDisplayStart / oSettings._iDisplayLength) + 1; + var sList = ""; + var iStartButton, iEndButton, i, iLen; + var oClasses = oSettings.oClasses; + var anButtons, anStatic, nPaginateList, nNode; + var an = oSettings.aanFeatures.p; + var fnBind = function (j) { + oSettings.oApi._fnBindAction( this, {"page": j+iStartButton-1}, function(e) { + /* Use the information in the element to jump to the required page */ + oSettings.oApi._fnPageChange( oSettings, e.data.page ); + fnCallbackDraw( oSettings ); + e.preventDefault(); + } ); + }; + + /* Pages calculation */ + if ( oSettings._iDisplayLength === -1 ) + { + iStartButton = 1; + iEndButton = 1; + iCurrentPage = 1; + } + else if (iPages < iPageCount) + { + iStartButton = 1; + iEndButton = iPages; + } + else if (iCurrentPage <= iPageCountHalf) + { + iStartButton = 1; + iEndButton = iPageCount; + } + else if (iCurrentPage >= (iPages - iPageCountHalf)) + { + iStartButton = iPages - iPageCount + 1; + iEndButton = iPages; + } + else + { + iStartButton = iCurrentPage - Math.ceil(iPageCount / 2) + 1; + iEndButton = iStartButton + iPageCount - 1; + } + + + /* Build the dynamic list */ + for ( i=iStartButton ; i<=iEndButton ; i++ ) + { + sList += (iCurrentPage !== i) ? + ''+oSettings.fnFormatNumber(i)+'' : + ''+oSettings.fnFormatNumber(i)+''; + } + + /* Loop over each instance of the pager */ + for ( i=0, iLen=an.length ; i y) ? 1 : 0)); + }, + + "string-desc": function ( x, y ) + { + return ((x < y) ? 1 : ((x > y) ? -1 : 0)); + }, + + + /* + * html sorting (ignore html tags) + */ + "html-pre": function ( a ) + { + return a.replace( /<.*?>/g, "" ).toLowerCase(); + }, + + "html-asc": function ( x, y ) + { + return ((x < y) ? -1 : ((x > y) ? 1 : 0)); + }, + + "html-desc": function ( x, y ) + { + return ((x < y) ? 1 : ((x > y) ? -1 : 0)); + }, + + + /* + * date sorting + */ + "date-pre": function ( a ) + { + var x = Date.parse( a ); + + if ( isNaN(x) || x==="" ) + { + x = Date.parse( "01/01/1970 00:00:00" ); + } + return x; + }, + + "date-asc": function ( x, y ) + { + return x - y; + }, + + "date-desc": function ( x, y ) + { + return y - x; + }, + + + /* + * numerical sorting + */ + "numeric-pre": function ( a ) + { + return (a=="-" || a==="") ? 0 : a*1; + }, + + "numeric-asc": function ( x, y ) + { + return x - y; + }, + + "numeric-desc": function ( x, y ) + { + return y - x; + } + } ); + + + $.extend( DataTable.ext.aTypes, [ + /* + * Function: - + * Purpose: Check to see if a string is numeric + * Returns: string:'numeric' or null + * Inputs: mixed:sText - string to check + */ + function ( sData ) + { + /* Allow zero length strings as a number */ + if ( typeof sData === 'number' ) + { + return 'numeric'; + } + else if ( typeof sData !== 'string' ) + { + return null; + } + + var sValidFirstChars = "0123456789-"; + var sValidChars = "0123456789."; + var Char; + var bDecimal = false; + + /* Check for a valid first char (no period and allow negatives) */ + Char = sData.charAt(0); + if (sValidFirstChars.indexOf(Char) == -1) + { + return null; + } + + /* Check all the other characters are valid */ + for ( var i=1 ; i') != -1 ) + { + return 'html'; + } + return null; + } + ] ); + + + // jQuery aliases + $.fn.DataTable = DataTable; + $.fn.dataTable = DataTable; + $.fn.dataTableSettings = DataTable.settings; + $.fn.dataTableExt = DataTable.ext; + + + // Information about events fired by DataTables - for documentation. + /** + * Draw event, fired whenever the table is redrawn on the page, at the same point as + * fnDrawCallback. This may be useful for binding events or performing calculations when + * the table is altered at all. + * @name DataTable#draw + * @event + * @param {event} e jQuery event object + * @param {object} o DataTables settings object {@link DataTable.models.oSettings} + */ + + /** + * Filter event, fired when the filtering applied to the table (using the build in global + * global filter, or column filters) is altered. + * @name DataTable#filter + * @event + * @param {event} e jQuery event object + * @param {object} o DataTables settings object {@link DataTable.models.oSettings} + */ + + /** + * Page change event, fired when the paging of the table is altered. + * @name DataTable#page + * @event + * @param {event} e jQuery event object + * @param {object} o DataTables settings object {@link DataTable.models.oSettings} + */ + + /** + * Sort event, fired when the sorting applied to the table is altered. + * @name DataTable#sort + * @event + * @param {event} e jQuery event object + * @param {object} o DataTables settings object {@link DataTable.models.oSettings} + */ + + /** + * DataTables initialisation complete event, fired when the table is fully drawn, + * including Ajax data loaded, if Ajax data is required. + * @name DataTable#init + * @event + * @param {event} e jQuery event object + * @param {object} oSettings DataTables settings object + * @param {object} json The JSON object request from the server - only + * present if client-side Ajax sourced data is used
  • + */ + + /** + * State save event, fired when the table has changed state a new state save is required. + * This method allows modification of the state saving object prior to actually doing the + * save, including addition or other state properties (for plug-ins) or modification + * of a DataTables core property. + * @name DataTable#stateSaveParams + * @event + * @param {event} e jQuery event object + * @param {object} oSettings DataTables settings object + * @param {object} json The state information to be saved + */ + + /** + * State load event, fired when the table is loading state from the stored data, but + * prior to the settings object being modified by the saved state - allowing modification + * of the saved state is required or loading of state for a plug-in. + * @name DataTable#stateLoadParams + * @event + * @param {event} e jQuery event object + * @param {object} oSettings DataTables settings object + * @param {object} json The saved state information + */ + + /** + * State loaded event, fired when state has been loaded from stored data and the settings + * object has been modified by the loaded data. + * @name DataTable#stateLoaded + * @event + * @param {event} e jQuery event object + * @param {object} oSettings DataTables settings object + * @param {object} json The saved state information + */ + + /** + * Processing event, fired when DataTables is doing some kind of processing (be it, + * sort, filter or anything else). Can be used to indicate to the end user that + * there is something happening, or that something has finished. + * @name DataTable#processing + * @event + * @param {event} e jQuery event object + * @param {object} oSettings DataTables settings object + * @param {boolean} bShow Flag for if DataTables is doing processing or not + */ + + /** + * Ajax (XHR) event, fired whenever an Ajax request is completed from a request to + * made to the server for new data (note that this trigger is called in fnServerData, + * if you override fnServerData and which to use this event, you need to trigger it in + * you success function). + * @name DataTable#xhr + * @event + * @param {event} e jQuery event object + * @param {object} o DataTables settings object {@link DataTable.models.oSettings} + * @param {object} json JSON returned from the server + */ + + /** + * Destroy event, fired when the DataTable is destroyed by calling fnDestroy or passing + * the bDestroy:true parameter in the initialisation object. This can be used to remove + * bound events, added DOM nodes, etc. + * @name DataTable#destroy + * @event + * @param {event} e jQuery event object + * @param {object} o DataTables settings object {@link DataTable.models.oSettings} + */ +})); + +}(window, document)); + diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/jquery.dataTables-1.9.4.min.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/jquery.dataTables-1.9.4.min.js index 02694a4a..c73ad54c 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/jquery.dataTables-1.9.4.min.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/jquery.dataTables-1.9.4.min.js @@ -1,155 +1,155 @@ -/* - * File: jquery.dataTables.min.js - * Version: 1.9.4 - * Author: Allan Jardine (www.sprymedia.co.uk) - * Info: www.datatables.net - * - * Copyright 2008-2012 Allan Jardine, all rights reserved. - * - * This source file is free software, under either the GPL v2 license or a - * BSD style license, available at: - * http://datatables.net/license_gpl2 - * http://datatables.net/license_bsd - * - * This source file is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details. - */ -(function(X,l,n){var L=function(h){var j=function(e){function o(a,b){var c=j.defaults.columns,d=a.aoColumns.length,c=h.extend({},j.models.oColumn,c,{sSortingClass:a.oClasses.sSortable,sSortingClassJUI:a.oClasses.sSortJUI,nTh:b?b:l.createElement("th"),sTitle:c.sTitle?c.sTitle:b?b.innerHTML:"",aDataSort:c.aDataSort?c.aDataSort:[d],mData:c.mData?c.oDefaults:d});a.aoColumns.push(c);if(a.aoPreSearchCols[d]===n||null===a.aoPreSearchCols[d])a.aoPreSearchCols[d]=h.extend({},j.models.oSearch);else if(c=a.aoPreSearchCols[d], -c.bRegex===n&&(c.bRegex=!0),c.bSmart===n&&(c.bSmart=!0),c.bCaseInsensitive===n)c.bCaseInsensitive=!0;m(a,d,null)}function m(a,b,c){var d=a.aoColumns[b];c!==n&&null!==c&&(c.mDataProp&&!c.mData&&(c.mData=c.mDataProp),c.sType!==n&&(d.sType=c.sType,d._bAutoType=!1),h.extend(d,c),p(d,c,"sWidth","sWidthOrig"),c.iDataSort!==n&&(d.aDataSort=[c.iDataSort]),p(d,c,"aDataSort"));var i=d.mRender?Q(d.mRender):null,f=Q(d.mData);d.fnGetData=function(a,b){var c=f(a,b);return d.mRender&&b&&""!==b?i(c,b,a):c};d.fnSetData= -L(d.mData);a.oFeatures.bSort||(d.bSortable=!1);!d.bSortable||-1==h.inArray("asc",d.asSorting)&&-1==h.inArray("desc",d.asSorting)?(d.sSortingClass=a.oClasses.sSortableNone,d.sSortingClassJUI=""):-1==h.inArray("asc",d.asSorting)&&-1==h.inArray("desc",d.asSorting)?(d.sSortingClass=a.oClasses.sSortable,d.sSortingClassJUI=a.oClasses.sSortJUI):-1!=h.inArray("asc",d.asSorting)&&-1==h.inArray("desc",d.asSorting)?(d.sSortingClass=a.oClasses.sSortableAsc,d.sSortingClassJUI=a.oClasses.sSortJUIAscAllowed):-1== -h.inArray("asc",d.asSorting)&&-1!=h.inArray("desc",d.asSorting)&&(d.sSortingClass=a.oClasses.sSortableDesc,d.sSortingClassJUI=a.oClasses.sSortJUIDescAllowed)}function k(a){if(!1===a.oFeatures.bAutoWidth)return!1;da(a);for(var b=0,c=a.aoColumns.length;bj[f])d(a.aoColumns.length+j[f],b[i]);else if("string"===typeof j[f]){e=0;for(w=a.aoColumns.length;eb&&a[d]--; -1!=c&&a.splice(c,1)}function S(a,b,c){var d=a.aoColumns[c];return d.fnRender({iDataRow:b,iDataColumn:c,oSettings:a,aData:a.aoData[b]._aData,mDataProp:d.mData},v(a,b,c,"display"))}function ea(a,b){var c=a.aoData[b],d;if(null===c.nTr){c.nTr=l.createElement("tr");c.nTr._DT_RowIndex=b;c._aData.DT_RowId&&(c.nTr.id=c._aData.DT_RowId);c._aData.DT_RowClass&& -(c.nTr.className=c._aData.DT_RowClass);for(var i=0,f=a.aoColumns.length;i=a.fnRecordsDisplay()?0:a.iInitDisplayStart,a.iInitDisplayStart=-1,y(a));if(a.bDeferLoading)a.bDeferLoading=!1,a.iDraw++;else if(a.oFeatures.bServerSide){if(!a.bDestroying&&!wa(a))return}else a.iDraw++;if(0!==a.aiDisplay.length){var g= -a._iDisplayStart;d=a._iDisplayEnd;a.oFeatures.bServerSide&&(g=0,d=a.aoData.length);for(;g
    ")[0];a.nTable.parentNode.insertBefore(b,a.nTable);a.nTableWrapper=h('
    ')[0];a.nTableReinsertBefore=a.nTable.nextSibling;for(var c=a.nTableWrapper,d=a.sDom.split(""),i,f,g,e,w,o,k,m=0;m
    ")[0];w=d[m+ -1];if("'"==w||'"'==w){o="";for(k=2;d[m+k]!=w;)o+=d[m+k],k++;"H"==o?o=a.oClasses.sJUIHeader:"F"==o&&(o=a.oClasses.sJUIFooter);-1!=o.indexOf(".")?(w=o.split("."),e.id=w[0].substr(1,w[0].length-1),e.className=w[1]):"#"==o.charAt(0)?e.id=o.substr(1,o.length-1):e.className=o;m+=k}c.appendChild(e);c=e}else if(">"==g)c=c.parentNode;else if("l"==g&&a.oFeatures.bPaginate&&a.oFeatures.bLengthChange)i=ya(a),f=1;else if("f"==g&&a.oFeatures.bFilter)i=za(a),f=1;else if("r"==g&&a.oFeatures.bProcessing)i=Aa(a),f= -1;else if("t"==g)i=Ba(a),f=1;else if("i"==g&&a.oFeatures.bInfo)i=Ca(a),f=1;else if("p"==g&&a.oFeatures.bPaginate)i=Da(a),f=1;else if(0!==j.ext.aoFeatures.length){e=j.ext.aoFeatures;k=0;for(w=e.length;k'):""===c?'':c+' ',d=l.createElement("div");d.className=a.oClasses.sFilter;d.innerHTML="";a.aanFeatures.f||(d.id=a.sTableId+"_filter");c=h('input[type="text"]',d);d._DT_Input=c[0];c.val(b.sSearch.replace('"',"""));c.bind("keyup.DT",function(){for(var c=a.aanFeatures.f,d=this.value===""?"":this.value, -g=0,e=c.length;g=b.length)a.aiDisplay.splice(0,a.aiDisplay.length),a.aiDisplay=a.aiDisplayMaster.slice();else if(a.aiDisplay.length==a.aiDisplayMaster.length||i.sSearch.length>b.length||1==c||0!==b.indexOf(i.sSearch)){a.aiDisplay.splice(0, -a.aiDisplay.length);la(a,1);for(b=0;b").html(c).text()); -return c.replace(/[\n\r]/g," ")}function ma(a,b,c,d){if(c)return a=b?a.split(" "):oa(a).split(" "),a="^(?=.*?"+a.join(")(?=.*?")+").*$",RegExp(a,d?"i":"");a=b?a:oa(a);return RegExp(a,d?"i":"")}function Ja(a,b){return"function"===typeof j.ext.ofnSearch[b]?j.ext.ofnSearch[b](a):null===a?"":"html"==b?a.replace(/[\r\n]/g," ").replace(/<.*?>/g,""):"string"===typeof a?a.replace(/[\r\n]/g," "):a}function oa(a){return a.replace(RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"), -"\\$1")}function Ca(a){var b=l.createElement("div");b.className=a.oClasses.sInfo;a.aanFeatures.i||(a.aoDrawCallback.push({fn:Ka,sName:"information"}),b.id=a.sTableId+"_info");a.nTable.setAttribute("aria-describedby",a.sTableId+"_info");return b}function Ka(a){if(a.oFeatures.bInfo&&0!==a.aanFeatures.i.length){var b=a.oLanguage,c=a._iDisplayStart+1,d=a.fnDisplayEnd(),i=a.fnRecordsTotal(),f=a.fnRecordsDisplay(),g;g=0===f?b.sInfoEmpty:b.sInfo;f!=i&&(g+=" "+b.sInfoFiltered);g+=b.sInfoPostFix;g=ja(a,g); -null!==b.fnInfoCallback&&(g=b.fnInfoCallback.call(a.oInstance,a,c,d,i,f,g));a=a.aanFeatures.i;b=0;for(c=a.length;b",c,d,i=a.aLengthMenu;if(2==i.length&&"object"===typeof i[0]&&"object"===typeof i[1]){c=0;for(d=i[0].length;c'+i[1][c]+""}else{c=0;for(d=i.length;c'+i[c]+""}b+="";i=l.createElement("div");a.aanFeatures.l|| -(i.id=a.sTableId+"_length");i.className=a.oClasses.sLength;i.innerHTML="";h('select option[value="'+a._iDisplayLength+'"]',i).attr("selected",!0);h("select",i).bind("change.DT",function(){var b=h(this).val(),i=a.aanFeatures.l;c=0;for(d=i.length;ca.aiDisplay.length||-1==a._iDisplayLength?a.aiDisplay.length:a._iDisplayStart+a._iDisplayLength}function Da(a){if(a.oScroll.bInfinite)return null;var b=l.createElement("div");b.className=a.oClasses.sPaging+a.sPaginationType;j.ext.oPagination[a.sPaginationType].fnInit(a, -b,function(a){y(a);x(a)});a.aanFeatures.p||a.aoDrawCallback.push({fn:function(a){j.ext.oPagination[a.sPaginationType].fnUpdate(a,function(a){y(a);x(a)})},sName:"pagination"});return b}function qa(a,b){var c=a._iDisplayStart;if("number"===typeof b)a._iDisplayStart=b*a._iDisplayLength,a._iDisplayStart>a.fnRecordsDisplay()&&(a._iDisplayStart=0);else if("first"==b)a._iDisplayStart=0;else if("previous"==b)a._iDisplayStart=0<=a._iDisplayLength?a._iDisplayStart-a._iDisplayLength:0,0>a._iDisplayStart&&(a._iDisplayStart= -0);else if("next"==b)0<=a._iDisplayLength?a._iDisplayStart+a._iDisplayLengthh(a.nTable).height()-a.oScroll.iLoadGap&&a.fnDisplayEnd()d.offsetHeight||"scroll"==h(d).css("overflow-y")))a.nTable.style.width=q(h(a.nTable).outerWidth()-a.oScroll.iBarWidth)}else""!==a.oScroll.sXInner?a.nTable.style.width= -q(a.oScroll.sXInner):i==h(d).width()&&h(d).height()i-a.oScroll.iBarWidth&&(a.nTable.style.width=q(i))):a.nTable.style.width=q(i);i=h(a.nTable).outerWidth();C(s,e);C(function(a){p.push(q(h(a).width()))},e);C(function(a,b){a.style.width=p[b]},g);h(e).height(0);null!==a.nTFoot&&(C(s,j),C(function(a){n.push(q(h(a).width()))},j),C(function(a,b){a.style.width=n[b]},o),h(j).height(0));C(function(a,b){a.innerHTML= -"";a.style.width=p[b]},e);null!==a.nTFoot&&C(function(a,b){a.innerHTML="";a.style.width=n[b]},j);if(h(a.nTable).outerWidth()d.offsetHeight||"scroll"==h(d).css("overflow-y")?i+a.oScroll.iBarWidth:i;if(r&&(d.scrollHeight>d.offsetHeight||"scroll"==h(d).css("overflow-y")))a.nTable.style.width=q(g-a.oScroll.iBarWidth);d.style.width=q(g);a.nScrollHead.style.width=q(g);null!==a.nTFoot&&(a.nScrollFoot.style.width=q(g));""===a.oScroll.sX?D(a,1,"The table cannot fit into the current element which will cause column misalignment. The table has been drawn at its minimum possible width."): -""!==a.oScroll.sXInner&&D(a,1,"The table cannot fit into the current element which will cause column misalignment. Increase the sScrollXInner value or remove it to allow automatic calculation")}else d.style.width=q("100%"),a.nScrollHead.style.width=q("100%"),null!==a.nTFoot&&(a.nScrollFoot.style.width=q("100%"));""===a.oScroll.sY&&r&&(d.style.height=q(a.nTable.offsetHeight+a.oScroll.iBarWidth));""!==a.oScroll.sY&&a.oScroll.bCollapse&&(d.style.height=q(a.oScroll.sY),r=""!==a.oScroll.sX&&a.nTable.offsetWidth> -d.offsetWidth?a.oScroll.iBarWidth:0,a.nTable.offsetHeightd.clientHeight||"scroll"==h(d).css("overflow-y");b.style.paddingRight=c?a.oScroll.iBarWidth+"px":"0px";null!==a.nTFoot&&(R.style.width=q(r),l.style.width=q(r),l.style.paddingRight=c?a.oScroll.iBarWidth+"px":"0px");h(d).scroll();if(a.bSorted||a.bFiltered)d.scrollTop=0}function C(a,b,c){for(var d= -0,i=0,f=b.length,g,e;itd",b));j=N(a,f);for(f=d=0;fc)return null;if(null===a.aoData[c].nTr){var d=l.createElement("td");d.innerHTML=v(a,c,b,"");return d}return J(a,c)[b]}function Pa(a,b){for(var c=-1,d=-1,i=0;i/g,"");e.length>c&&(c=e.length,d=i)}return d}function q(a){if(null===a)return"0px";if("number"==typeof a)return 0>a?"0px":a+"px";var b=a.charCodeAt(a.length-1); -return 48>b||57/g,""),i=q[c].nTh,i.removeAttribute("aria-sort"),i.removeAttribute("aria-label"),q[c].bSortable?0d&&d++;f=RegExp(f+"[123]");var o;b=0;for(c=a.length;b
    ')[0];l.body.appendChild(b);a.oBrowser.bScrollOversize= -100===h("#DT_BrowserTest",b)[0].offsetWidth?!0:!1;l.body.removeChild(b)}function Va(a){return function(){var b=[s(this[j.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return j.ext.oApi[a].apply(this,b)}}var U=/\[.*?\]$/,Wa=X.JSON?JSON.stringify:function(a){var b=typeof a;if("object"!==b||null===a)return"string"===b&&(a='"'+a+'"'),a+"";var c,d,e=[],f=h.isArray(a);for(c in a)d=a[c],b=typeof d,"string"===b?d='"'+d+'"':"object"===b&&null!==d&&(d=Wa(d)),e.push((f?"":'"'+c+'":')+d);return(f? -"[":"{")+e+(f?"]":"}")};this.$=function(a,b){var c,d,e=[],f;d=s(this[j.ext.iApiIndex]);var g=d.aoData,o=d.aiDisplay,k=d.aiDisplayMaster;b||(b={});b=h.extend({},{filter:"none",order:"current",page:"all"},b);if("current"==b.page){c=d._iDisplayStart;for(d=d.fnDisplayEnd();c=d.fnRecordsDisplay()&&(d._iDisplayStart-=d._iDisplayLength,0>d._iDisplayStart&&(d._iDisplayStart=0));if(c===n||c)y(d),x(d);return g};this.fnDestroy=function(a){var b=s(this[j.ext.iApiIndex]),c=b.nTableWrapper.parentNode,d=b.nTBody,i,f,a=a===n?!1:a;b.bDestroying=!0;A(b,"aoDestroyCallback","destroy",[b]);if(!a){i=0;for(f=b.aoColumns.length;itr>td."+b.oClasses.sRowEmpty,b.nTable).parent().remove();b.nTable!=b.nTHead.parentNode&&(h(b.nTable).children("thead").remove(),b.nTable.appendChild(b.nTHead));b.nTFoot&&b.nTable!=b.nTFoot.parentNode&&(h(b.nTable).children("tfoot").remove(),b.nTable.appendChild(b.nTFoot));b.nTable.parentNode.removeChild(b.nTable);h(b.nTableWrapper).remove();b.aaSorting=[];b.aaSortingFixed=[];P(b);h(T(b)).removeClass(b.asStripeClasses.join(" "));h("th, td",b.nTHead).removeClass([b.oClasses.sSortable,b.oClasses.sSortableAsc, -b.oClasses.sSortableDesc,b.oClasses.sSortableNone].join(" "));b.bJUI&&(h("th span."+b.oClasses.sSortIcon+", td span."+b.oClasses.sSortIcon,b.nTHead).remove(),h("th, td",b.nTHead).each(function(){var a=h("div."+b.oClasses.sSortJUIWrapper,this),c=a.contents();h(this).append(c);a.remove()}));!a&&b.nTableReinsertBefore?c.insertBefore(b.nTable,b.nTableReinsertBefore):a||c.appendChild(b.nTable);i=0;for(f=b.aoData.length;i=t(d);if(!m)for(e=a;et<"F"ip>')):h.extend(g.oClasses,j.ext.oStdClasses);h(this).addClass(g.oClasses.sTable);if(""!==g.oScroll.sX||""!==g.oScroll.sY)g.oScroll.iBarWidth=Qa();g.iInitDisplayStart===n&&(g.iInitDisplayStart=e.iDisplayStart, -g._iDisplayStart=e.iDisplayStart);e.bStateSave&&(g.oFeatures.bStateSave=!0,Sa(g,e),z(g,"aoDrawCallback",ra,"state_save"));null!==e.iDeferLoading&&(g.bDeferLoading=!0,a=h.isArray(e.iDeferLoading),g._iRecordsDisplay=a?e.iDeferLoading[0]:e.iDeferLoading,g._iRecordsTotal=a?e.iDeferLoading[1]:e.iDeferLoading);null!==e.aaData&&(f=!0);""!==e.oLanguage.sUrl?(g.oLanguage.sUrl=e.oLanguage.sUrl,h.getJSON(g.oLanguage.sUrl,null,function(a){pa(a);h.extend(true,g.oLanguage,e.oLanguage,a);ba(g)}),i=!0):h.extend(!0, -g.oLanguage,e.oLanguage);null===e.asStripeClasses&&(g.asStripeClasses=[g.oClasses.sStripeOdd,g.oClasses.sStripeEven]);b=g.asStripeClasses.length;g.asDestroyStripes=[];if(b){c=!1;d=h(this).children("tbody").children("tr:lt("+b+")");for(a=0;a=g.aoColumns.length&&(g.aaSorting[a][0]=0);var k=g.aoColumns[g.aaSorting[a][0]];g.aaSorting[a][2]===n&&(g.aaSorting[a][2]=0);e.aaSorting===n&&g.saved_aaSorting===n&&(g.aaSorting[a][1]= -k.asSorting[0]);c=0;for(d=k.asSorting.length;c=parseInt(n,10)};j.fnIsDataTable=function(e){for(var h=j.settings,m=0;me)return e;for(var h=e+"",e=h.split(""),j="",h=h.length,k=0;k'+k.sPrevious+''+k.sNext+"":'';h(j).append(k);var l=h("a",j), -k=l[0],l=l[1];e.oApi._fnBindAction(k,{action:"previous"},n);e.oApi._fnBindAction(l,{action:"next"},n);e.aanFeatures.p||(j.id=e.sTableId+"_paginate",k.id=e.sTableId+"_previous",l.id=e.sTableId+"_next",k.setAttribute("aria-controls",e.sTableId),l.setAttribute("aria-controls",e.sTableId))},fnUpdate:function(e){if(e.aanFeatures.p)for(var h=e.oClasses,j=e.aanFeatures.p,k,l=0,n=j.length;l'+k.sFirst+''+k.sPrevious+''+k.sNext+''+k.sLast+"");var t=h("a",j),k=t[0],l=t[1],r=t[2],t=t[3];e.oApi._fnBindAction(k,{action:"first"},n);e.oApi._fnBindAction(l,{action:"previous"},n);e.oApi._fnBindAction(r,{action:"next"},n);e.oApi._fnBindAction(t,{action:"last"},n);e.aanFeatures.p||(j.id=e.sTableId+"_paginate",k.id=e.sTableId+"_first",l.id=e.sTableId+"_previous",r.id=e.sTableId+"_next",t.id=e.sTableId+"_last")}, -fnUpdate:function(e,o){if(e.aanFeatures.p){var m=j.ext.oPagination.iFullNumbersShowPages,k=Math.floor(m/2),l=Math.ceil(e.fnRecordsDisplay()/e._iDisplayLength),n=Math.ceil(e._iDisplayStart/e._iDisplayLength)+1,t="",r,B=e.oClasses,u,M=e.aanFeatures.p,L=function(h){e.oApi._fnBindAction(this,{page:h+r-1},function(h){e.oApi._fnPageChange(e,h.data.page);o(e);h.preventDefault()})};-1===e._iDisplayLength?n=k=r=1:l=l-k?(r=l-m+1,k=l):(r=n-Math.ceil(m/2)+1,k=r+m-1);for(m=r;m<=k;m++)t+= -n!==m?''+e.fnFormatNumber(m)+"":''+e.fnFormatNumber(m)+"";m=0;for(k=M.length;mh?1:0},"string-desc":function(e,h){return eh?-1:0},"html-pre":function(e){return e.replace(/<.*?>/g,"").toLowerCase()},"html-asc":function(e,h){return eh?1:0},"html-desc":function(e,h){return e< -h?1:e>h?-1:0},"date-pre":function(e){e=Date.parse(e);if(isNaN(e)||""===e)e=Date.parse("01/01/1970 00:00:00");return e},"date-asc":function(e,h){return e-h},"date-desc":function(e,h){return h-e},"numeric-pre":function(e){return"-"==e||""===e?0:1*e},"numeric-asc":function(e,h){return e-h},"numeric-desc":function(e,h){return h-e}});h.extend(j.ext.aTypes,[function(e){if("number"===typeof e)return"numeric";if("string"!==typeof e)return null;var h,j=!1;h=e.charAt(0);if(-1=="0123456789-".indexOf(h))return null; -for(var k=1;k")?"html":null}]);h.fn.DataTable=j;h.fn.dataTable=j;h.fn.dataTableSettings=j.settings;h.fn.dataTableExt=j.ext};"function"===typeof define&&define.amd?define(["jquery"],L):jQuery&&!jQuery.fn.dataTable&& -L(jQuery)})(window,document); +/* + * File: jquery.dataTables.min.js + * Version: 1.9.4 + * Author: Allan Jardine (www.sprymedia.co.uk) + * Info: www.datatables.net + * + * Copyright 2008-2012 Allan Jardine, all rights reserved. + * + * This source file is free software, under either the GPL v2 license or a + * BSD style license, available at: + * http://datatables.net/license_gpl2 + * http://datatables.net/license_bsd + * + * This source file is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details. + */ +(function(X,l,n){var L=function(h){var j=function(e){function o(a,b){var c=j.defaults.columns,d=a.aoColumns.length,c=h.extend({},j.models.oColumn,c,{sSortingClass:a.oClasses.sSortable,sSortingClassJUI:a.oClasses.sSortJUI,nTh:b?b:l.createElement("th"),sTitle:c.sTitle?c.sTitle:b?b.innerHTML:"",aDataSort:c.aDataSort?c.aDataSort:[d],mData:c.mData?c.oDefaults:d});a.aoColumns.push(c);if(a.aoPreSearchCols[d]===n||null===a.aoPreSearchCols[d])a.aoPreSearchCols[d]=h.extend({},j.models.oSearch);else if(c=a.aoPreSearchCols[d], +c.bRegex===n&&(c.bRegex=!0),c.bSmart===n&&(c.bSmart=!0),c.bCaseInsensitive===n)c.bCaseInsensitive=!0;m(a,d,null)}function m(a,b,c){var d=a.aoColumns[b];c!==n&&null!==c&&(c.mDataProp&&!c.mData&&(c.mData=c.mDataProp),c.sType!==n&&(d.sType=c.sType,d._bAutoType=!1),h.extend(d,c),p(d,c,"sWidth","sWidthOrig"),c.iDataSort!==n&&(d.aDataSort=[c.iDataSort]),p(d,c,"aDataSort"));var i=d.mRender?Q(d.mRender):null,f=Q(d.mData);d.fnGetData=function(a,b){var c=f(a,b);return d.mRender&&b&&""!==b?i(c,b,a):c};d.fnSetData= +L(d.mData);a.oFeatures.bSort||(d.bSortable=!1);!d.bSortable||-1==h.inArray("asc",d.asSorting)&&-1==h.inArray("desc",d.asSorting)?(d.sSortingClass=a.oClasses.sSortableNone,d.sSortingClassJUI=""):-1==h.inArray("asc",d.asSorting)&&-1==h.inArray("desc",d.asSorting)?(d.sSortingClass=a.oClasses.sSortable,d.sSortingClassJUI=a.oClasses.sSortJUI):-1!=h.inArray("asc",d.asSorting)&&-1==h.inArray("desc",d.asSorting)?(d.sSortingClass=a.oClasses.sSortableAsc,d.sSortingClassJUI=a.oClasses.sSortJUIAscAllowed):-1== +h.inArray("asc",d.asSorting)&&-1!=h.inArray("desc",d.asSorting)&&(d.sSortingClass=a.oClasses.sSortableDesc,d.sSortingClassJUI=a.oClasses.sSortJUIDescAllowed)}function k(a){if(!1===a.oFeatures.bAutoWidth)return!1;da(a);for(var b=0,c=a.aoColumns.length;bj[f])d(a.aoColumns.length+j[f],b[i]);else if("string"===typeof j[f]){e=0;for(w=a.aoColumns.length;eb&&a[d]--; -1!=c&&a.splice(c,1)}function S(a,b,c){var d=a.aoColumns[c];return d.fnRender({iDataRow:b,iDataColumn:c,oSettings:a,aData:a.aoData[b]._aData,mDataProp:d.mData},v(a,b,c,"display"))}function ea(a,b){var c=a.aoData[b],d;if(null===c.nTr){c.nTr=l.createElement("tr");c.nTr._DT_RowIndex=b;c._aData.DT_RowId&&(c.nTr.id=c._aData.DT_RowId);c._aData.DT_RowClass&& +(c.nTr.className=c._aData.DT_RowClass);for(var i=0,f=a.aoColumns.length;i=a.fnRecordsDisplay()?0:a.iInitDisplayStart,a.iInitDisplayStart=-1,y(a));if(a.bDeferLoading)a.bDeferLoading=!1,a.iDraw++;else if(a.oFeatures.bServerSide){if(!a.bDestroying&&!wa(a))return}else a.iDraw++;if(0!==a.aiDisplay.length){var g= +a._iDisplayStart;d=a._iDisplayEnd;a.oFeatures.bServerSide&&(g=0,d=a.aoData.length);for(;g")[0];a.nTable.parentNode.insertBefore(b,a.nTable);a.nTableWrapper=h('
    ')[0];a.nTableReinsertBefore=a.nTable.nextSibling;for(var c=a.nTableWrapper,d=a.sDom.split(""),i,f,g,e,w,o,k,m=0;m")[0];w=d[m+ +1];if("'"==w||'"'==w){o="";for(k=2;d[m+k]!=w;)o+=d[m+k],k++;"H"==o?o=a.oClasses.sJUIHeader:"F"==o&&(o=a.oClasses.sJUIFooter);-1!=o.indexOf(".")?(w=o.split("."),e.id=w[0].substr(1,w[0].length-1),e.className=w[1]):"#"==o.charAt(0)?e.id=o.substr(1,o.length-1):e.className=o;m+=k}c.appendChild(e);c=e}else if(">"==g)c=c.parentNode;else if("l"==g&&a.oFeatures.bPaginate&&a.oFeatures.bLengthChange)i=ya(a),f=1;else if("f"==g&&a.oFeatures.bFilter)i=za(a),f=1;else if("r"==g&&a.oFeatures.bProcessing)i=Aa(a),f= +1;else if("t"==g)i=Ba(a),f=1;else if("i"==g&&a.oFeatures.bInfo)i=Ca(a),f=1;else if("p"==g&&a.oFeatures.bPaginate)i=Da(a),f=1;else if(0!==j.ext.aoFeatures.length){e=j.ext.aoFeatures;k=0;for(w=e.length;k'):""===c?'':c+' ',d=l.createElement("div");d.className=a.oClasses.sFilter;d.innerHTML="";a.aanFeatures.f||(d.id=a.sTableId+"_filter");c=h('input[type="text"]',d);d._DT_Input=c[0];c.val(b.sSearch.replace('"',"""));c.bind("keyup.DT",function(){for(var c=a.aanFeatures.f,d=this.value===""?"":this.value, +g=0,e=c.length;g=b.length)a.aiDisplay.splice(0,a.aiDisplay.length),a.aiDisplay=a.aiDisplayMaster.slice();else if(a.aiDisplay.length==a.aiDisplayMaster.length||i.sSearch.length>b.length||1==c||0!==b.indexOf(i.sSearch)){a.aiDisplay.splice(0, +a.aiDisplay.length);la(a,1);for(b=0;b").html(c).text()); +return c.replace(/[\n\r]/g," ")}function ma(a,b,c,d){if(c)return a=b?a.split(" "):oa(a).split(" "),a="^(?=.*?"+a.join(")(?=.*?")+").*$",RegExp(a,d?"i":"");a=b?a:oa(a);return RegExp(a,d?"i":"")}function Ja(a,b){return"function"===typeof j.ext.ofnSearch[b]?j.ext.ofnSearch[b](a):null===a?"":"html"==b?a.replace(/[\r\n]/g," ").replace(/<.*?>/g,""):"string"===typeof a?a.replace(/[\r\n]/g," "):a}function oa(a){return a.replace(RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"), +"\\$1")}function Ca(a){var b=l.createElement("div");b.className=a.oClasses.sInfo;a.aanFeatures.i||(a.aoDrawCallback.push({fn:Ka,sName:"information"}),b.id=a.sTableId+"_info");a.nTable.setAttribute("aria-describedby",a.sTableId+"_info");return b}function Ka(a){if(a.oFeatures.bInfo&&0!==a.aanFeatures.i.length){var b=a.oLanguage,c=a._iDisplayStart+1,d=a.fnDisplayEnd(),i=a.fnRecordsTotal(),f=a.fnRecordsDisplay(),g;g=0===f?b.sInfoEmpty:b.sInfo;f!=i&&(g+=" "+b.sInfoFiltered);g+=b.sInfoPostFix;g=ja(a,g); +null!==b.fnInfoCallback&&(g=b.fnInfoCallback.call(a.oInstance,a,c,d,i,f,g));a=a.aanFeatures.i;b=0;for(c=a.length;b",c,d,i=a.aLengthMenu;if(2==i.length&&"object"===typeof i[0]&&"object"===typeof i[1]){c=0;for(d=i[0].length;c'+i[1][c]+""}else{c=0;for(d=i.length;c'+i[c]+""}b+="";i=l.createElement("div");a.aanFeatures.l|| +(i.id=a.sTableId+"_length");i.className=a.oClasses.sLength;i.innerHTML="";h('select option[value="'+a._iDisplayLength+'"]',i).attr("selected",!0);h("select",i).bind("change.DT",function(){var b=h(this).val(),i=a.aanFeatures.l;c=0;for(d=i.length;ca.aiDisplay.length||-1==a._iDisplayLength?a.aiDisplay.length:a._iDisplayStart+a._iDisplayLength}function Da(a){if(a.oScroll.bInfinite)return null;var b=l.createElement("div");b.className=a.oClasses.sPaging+a.sPaginationType;j.ext.oPagination[a.sPaginationType].fnInit(a, +b,function(a){y(a);x(a)});a.aanFeatures.p||a.aoDrawCallback.push({fn:function(a){j.ext.oPagination[a.sPaginationType].fnUpdate(a,function(a){y(a);x(a)})},sName:"pagination"});return b}function qa(a,b){var c=a._iDisplayStart;if("number"===typeof b)a._iDisplayStart=b*a._iDisplayLength,a._iDisplayStart>a.fnRecordsDisplay()&&(a._iDisplayStart=0);else if("first"==b)a._iDisplayStart=0;else if("previous"==b)a._iDisplayStart=0<=a._iDisplayLength?a._iDisplayStart-a._iDisplayLength:0,0>a._iDisplayStart&&(a._iDisplayStart= +0);else if("next"==b)0<=a._iDisplayLength?a._iDisplayStart+a._iDisplayLengthh(a.nTable).height()-a.oScroll.iLoadGap&&a.fnDisplayEnd()d.offsetHeight||"scroll"==h(d).css("overflow-y")))a.nTable.style.width=q(h(a.nTable).outerWidth()-a.oScroll.iBarWidth)}else""!==a.oScroll.sXInner?a.nTable.style.width= +q(a.oScroll.sXInner):i==h(d).width()&&h(d).height()i-a.oScroll.iBarWidth&&(a.nTable.style.width=q(i))):a.nTable.style.width=q(i);i=h(a.nTable).outerWidth();C(s,e);C(function(a){p.push(q(h(a).width()))},e);C(function(a,b){a.style.width=p[b]},g);h(e).height(0);null!==a.nTFoot&&(C(s,j),C(function(a){n.push(q(h(a).width()))},j),C(function(a,b){a.style.width=n[b]},o),h(j).height(0));C(function(a,b){a.innerHTML= +"";a.style.width=p[b]},e);null!==a.nTFoot&&C(function(a,b){a.innerHTML="";a.style.width=n[b]},j);if(h(a.nTable).outerWidth()d.offsetHeight||"scroll"==h(d).css("overflow-y")?i+a.oScroll.iBarWidth:i;if(r&&(d.scrollHeight>d.offsetHeight||"scroll"==h(d).css("overflow-y")))a.nTable.style.width=q(g-a.oScroll.iBarWidth);d.style.width=q(g);a.nScrollHead.style.width=q(g);null!==a.nTFoot&&(a.nScrollFoot.style.width=q(g));""===a.oScroll.sX?D(a,1,"The table cannot fit into the current element which will cause column misalignment. The table has been drawn at its minimum possible width."): +""!==a.oScroll.sXInner&&D(a,1,"The table cannot fit into the current element which will cause column misalignment. Increase the sScrollXInner value or remove it to allow automatic calculation")}else d.style.width=q("100%"),a.nScrollHead.style.width=q("100%"),null!==a.nTFoot&&(a.nScrollFoot.style.width=q("100%"));""===a.oScroll.sY&&r&&(d.style.height=q(a.nTable.offsetHeight+a.oScroll.iBarWidth));""!==a.oScroll.sY&&a.oScroll.bCollapse&&(d.style.height=q(a.oScroll.sY),r=""!==a.oScroll.sX&&a.nTable.offsetWidth> +d.offsetWidth?a.oScroll.iBarWidth:0,a.nTable.offsetHeightd.clientHeight||"scroll"==h(d).css("overflow-y");b.style.paddingRight=c?a.oScroll.iBarWidth+"px":"0px";null!==a.nTFoot&&(R.style.width=q(r),l.style.width=q(r),l.style.paddingRight=c?a.oScroll.iBarWidth+"px":"0px");h(d).scroll();if(a.bSorted||a.bFiltered)d.scrollTop=0}function C(a,b,c){for(var d= +0,i=0,f=b.length,g,e;itd",b));j=N(a,f);for(f=d=0;fc)return null;if(null===a.aoData[c].nTr){var d=l.createElement("td");d.innerHTML=v(a,c,b,"");return d}return J(a,c)[b]}function Pa(a,b){for(var c=-1,d=-1,i=0;i/g,"");e.length>c&&(c=e.length,d=i)}return d}function q(a){if(null===a)return"0px";if("number"==typeof a)return 0>a?"0px":a+"px";var b=a.charCodeAt(a.length-1); +return 48>b||57/g,""),i=q[c].nTh,i.removeAttribute("aria-sort"),i.removeAttribute("aria-label"),q[c].bSortable?0d&&d++;f=RegExp(f+"[123]");var o;b=0;for(c=a.length;b
    ')[0];l.body.appendChild(b);a.oBrowser.bScrollOversize= +100===h("#DT_BrowserTest",b)[0].offsetWidth?!0:!1;l.body.removeChild(b)}function Va(a){return function(){var b=[s(this[j.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return j.ext.oApi[a].apply(this,b)}}var U=/\[.*?\]$/,Wa=X.JSON?JSON.stringify:function(a){var b=typeof a;if("object"!==b||null===a)return"string"===b&&(a='"'+a+'"'),a+"";var c,d,e=[],f=h.isArray(a);for(c in a)d=a[c],b=typeof d,"string"===b?d='"'+d+'"':"object"===b&&null!==d&&(d=Wa(d)),e.push((f?"":'"'+c+'":')+d);return(f? +"[":"{")+e+(f?"]":"}")};this.$=function(a,b){var c,d,e=[],f;d=s(this[j.ext.iApiIndex]);var g=d.aoData,o=d.aiDisplay,k=d.aiDisplayMaster;b||(b={});b=h.extend({},{filter:"none",order:"current",page:"all"},b);if("current"==b.page){c=d._iDisplayStart;for(d=d.fnDisplayEnd();c=d.fnRecordsDisplay()&&(d._iDisplayStart-=d._iDisplayLength,0>d._iDisplayStart&&(d._iDisplayStart=0));if(c===n||c)y(d),x(d);return g};this.fnDestroy=function(a){var b=s(this[j.ext.iApiIndex]),c=b.nTableWrapper.parentNode,d=b.nTBody,i,f,a=a===n?!1:a;b.bDestroying=!0;A(b,"aoDestroyCallback","destroy",[b]);if(!a){i=0;for(f=b.aoColumns.length;itr>td."+b.oClasses.sRowEmpty,b.nTable).parent().remove();b.nTable!=b.nTHead.parentNode&&(h(b.nTable).children("thead").remove(),b.nTable.appendChild(b.nTHead));b.nTFoot&&b.nTable!=b.nTFoot.parentNode&&(h(b.nTable).children("tfoot").remove(),b.nTable.appendChild(b.nTFoot));b.nTable.parentNode.removeChild(b.nTable);h(b.nTableWrapper).remove();b.aaSorting=[];b.aaSortingFixed=[];P(b);h(T(b)).removeClass(b.asStripeClasses.join(" "));h("th, td",b.nTHead).removeClass([b.oClasses.sSortable,b.oClasses.sSortableAsc, +b.oClasses.sSortableDesc,b.oClasses.sSortableNone].join(" "));b.bJUI&&(h("th span."+b.oClasses.sSortIcon+", td span."+b.oClasses.sSortIcon,b.nTHead).remove(),h("th, td",b.nTHead).each(function(){var a=h("div."+b.oClasses.sSortJUIWrapper,this),c=a.contents();h(this).append(c);a.remove()}));!a&&b.nTableReinsertBefore?c.insertBefore(b.nTable,b.nTableReinsertBefore):a||c.appendChild(b.nTable);i=0;for(f=b.aoData.length;i=t(d);if(!m)for(e=a;et<"F"ip>')):h.extend(g.oClasses,j.ext.oStdClasses);h(this).addClass(g.oClasses.sTable);if(""!==g.oScroll.sX||""!==g.oScroll.sY)g.oScroll.iBarWidth=Qa();g.iInitDisplayStart===n&&(g.iInitDisplayStart=e.iDisplayStart, +g._iDisplayStart=e.iDisplayStart);e.bStateSave&&(g.oFeatures.bStateSave=!0,Sa(g,e),z(g,"aoDrawCallback",ra,"state_save"));null!==e.iDeferLoading&&(g.bDeferLoading=!0,a=h.isArray(e.iDeferLoading),g._iRecordsDisplay=a?e.iDeferLoading[0]:e.iDeferLoading,g._iRecordsTotal=a?e.iDeferLoading[1]:e.iDeferLoading);null!==e.aaData&&(f=!0);""!==e.oLanguage.sUrl?(g.oLanguage.sUrl=e.oLanguage.sUrl,h.getJSON(g.oLanguage.sUrl,null,function(a){pa(a);h.extend(true,g.oLanguage,e.oLanguage,a);ba(g)}),i=!0):h.extend(!0, +g.oLanguage,e.oLanguage);null===e.asStripeClasses&&(g.asStripeClasses=[g.oClasses.sStripeOdd,g.oClasses.sStripeEven]);b=g.asStripeClasses.length;g.asDestroyStripes=[];if(b){c=!1;d=h(this).children("tbody").children("tr:lt("+b+")");for(a=0;a=g.aoColumns.length&&(g.aaSorting[a][0]=0);var k=g.aoColumns[g.aaSorting[a][0]];g.aaSorting[a][2]===n&&(g.aaSorting[a][2]=0);e.aaSorting===n&&g.saved_aaSorting===n&&(g.aaSorting[a][1]= +k.asSorting[0]);c=0;for(d=k.asSorting.length;c=parseInt(n,10)};j.fnIsDataTable=function(e){for(var h=j.settings,m=0;me)return e;for(var h=e+"",e=h.split(""),j="",h=h.length,k=0;k'+k.sPrevious+''+k.sNext+"":'';h(j).append(k);var l=h("a",j), +k=l[0],l=l[1];e.oApi._fnBindAction(k,{action:"previous"},n);e.oApi._fnBindAction(l,{action:"next"},n);e.aanFeatures.p||(j.id=e.sTableId+"_paginate",k.id=e.sTableId+"_previous",l.id=e.sTableId+"_next",k.setAttribute("aria-controls",e.sTableId),l.setAttribute("aria-controls",e.sTableId))},fnUpdate:function(e){if(e.aanFeatures.p)for(var h=e.oClasses,j=e.aanFeatures.p,k,l=0,n=j.length;l'+k.sFirst+''+k.sPrevious+''+k.sNext+''+k.sLast+"");var t=h("a",j),k=t[0],l=t[1],r=t[2],t=t[3];e.oApi._fnBindAction(k,{action:"first"},n);e.oApi._fnBindAction(l,{action:"previous"},n);e.oApi._fnBindAction(r,{action:"next"},n);e.oApi._fnBindAction(t,{action:"last"},n);e.aanFeatures.p||(j.id=e.sTableId+"_paginate",k.id=e.sTableId+"_first",l.id=e.sTableId+"_previous",r.id=e.sTableId+"_next",t.id=e.sTableId+"_last")}, +fnUpdate:function(e,o){if(e.aanFeatures.p){var m=j.ext.oPagination.iFullNumbersShowPages,k=Math.floor(m/2),l=Math.ceil(e.fnRecordsDisplay()/e._iDisplayLength),n=Math.ceil(e._iDisplayStart/e._iDisplayLength)+1,t="",r,B=e.oClasses,u,M=e.aanFeatures.p,L=function(h){e.oApi._fnBindAction(this,{page:h+r-1},function(h){e.oApi._fnPageChange(e,h.data.page);o(e);h.preventDefault()})};-1===e._iDisplayLength?n=k=r=1:l=l-k?(r=l-m+1,k=l):(r=n-Math.ceil(m/2)+1,k=r+m-1);for(m=r;m<=k;m++)t+= +n!==m?''+e.fnFormatNumber(m)+"":''+e.fnFormatNumber(m)+"";m=0;for(k=M.length;mh?1:0},"string-desc":function(e,h){return eh?-1:0},"html-pre":function(e){return e.replace(/<.*?>/g,"").toLowerCase()},"html-asc":function(e,h){return eh?1:0},"html-desc":function(e,h){return e< +h?1:e>h?-1:0},"date-pre":function(e){e=Date.parse(e);if(isNaN(e)||""===e)e=Date.parse("01/01/1970 00:00:00");return e},"date-asc":function(e,h){return e-h},"date-desc":function(e,h){return h-e},"numeric-pre":function(e){return"-"==e||""===e?0:1*e},"numeric-asc":function(e,h){return e-h},"numeric-desc":function(e,h){return h-e}});h.extend(j.ext.aTypes,[function(e){if("number"===typeof e)return"numeric";if("string"!==typeof e)return null;var h,j=!1;h=e.charAt(0);if(-1=="0123456789-".indexOf(h))return null; +for(var k=1;k")?"html":null}]);h.fn.DataTable=j;h.fn.dataTable=j;h.fn.dataTableSettings=j.settings;h.fn.dataTableExt=j.ext};"function"===typeof define&&define.amd?define(["jquery"],L):jQuery&&!jQuery.fn.dataTable&& +L(jQuery)})(window,document); diff --git a/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/jquery.dataTables.js b/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/jquery.dataTables.js index 380ab1e4..5e2808c2 100644 --- a/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/jquery.dataTables.js +++ b/openo-portal/portal-common/src/main/webapp/common/thirdparty/data-tables/jquery.dataTables.js @@ -1,15268 +1,15268 @@ -/*! DataTables 1.10.11 - * ©2008-2015 SpryMedia Ltd - datatables.net/license - */ - -/** - * @summary DataTables - * @description Paginate, search and order HTML tables - * @version 1.10.11 - * @file jquery.dataTables.js - * @author SpryMedia Ltd (www.sprymedia.co.uk) - * @contact www.sprymedia.co.uk/contact - * @copyright Copyright 2008-2015 SpryMedia Ltd. - * - * This source file is free software, available under the following license: - * MIT license - http://datatables.net/license - * - * This source file is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - * or FITNESS FOR A PARTICULAR PURPOSE. See the license files for details. - * - * For details please refer to: http://www.datatables.net - */ - -/*jslint evil: true, undef: true, browser: true */ -/*globals $,require,jQuery,define,_selector_run,_selector_opts,_selector_first,_selector_row_indexes,_ext,_Api,_api_register,_api_registerPlural,_re_new_lines,_re_html,_re_formatted_numeric,_re_escape_regex,_empty,_intVal,_numToDecimal,_isNumber,_isHtml,_htmlNumeric,_pluck,_pluck_order,_range,_stripHtml,_unique,_fnBuildAjax,_fnAjaxUpdate,_fnAjaxParameters,_fnAjaxUpdateDraw,_fnAjaxDataSrc,_fnAddColumn,_fnColumnOptions,_fnAdjustColumnSizing,_fnVisibleToColumnIndex,_fnColumnIndexToVisible,_fnVisbleColumns,_fnGetColumns,_fnColumnTypes,_fnApplyColumnDefs,_fnHungarianMap,_fnCamelToHungarian,_fnLanguageCompat,_fnBrowserDetect,_fnAddData,_fnAddTr,_fnNodeToDataIndex,_fnNodeToColumnIndex,_fnGetCellData,_fnSetCellData,_fnSplitObjNotation,_fnGetObjectDataFn,_fnSetObjectDataFn,_fnGetDataMaster,_fnClearTable,_fnDeleteIndex,_fnInvalidate,_fnGetRowElements,_fnCreateTr,_fnBuildHead,_fnDrawHead,_fnDraw,_fnReDraw,_fnAddOptionsHtml,_fnDetectHeader,_fnGetUniqueThs,_fnFeatureHtmlFilter,_fnFilterComplete,_fnFilterCustom,_fnFilterColumn,_fnFilter,_fnFilterCreateSearch,_fnEscapeRegex,_fnFilterData,_fnFeatureHtmlInfo,_fnUpdateInfo,_fnInfoMacros,_fnInitialise,_fnInitComplete,_fnLengthChange,_fnFeatureHtmlLength,_fnFeatureHtmlPaginate,_fnPageChange,_fnFeatureHtmlProcessing,_fnProcessingDisplay,_fnFeatureHtmlTable,_fnScrollDraw,_fnApplyToChildren,_fnCalculateColumnWidths,_fnThrottle,_fnConvertToWidth,_fnGetWidestNode,_fnGetMaxLenString,_fnStringToCss,_fnSortFlatten,_fnSort,_fnSortAria,_fnSortListener,_fnSortAttachListener,_fnSortingClasses,_fnSortData,_fnSaveState,_fnLoadState,_fnSettingsFromNode,_fnLog,_fnMap,_fnBindAction,_fnCallbackReg,_fnCallbackFire,_fnLengthOverflow,_fnRenderer,_fnDataSource,_fnRowAttributes*/ - -(function( factory ) { - "use strict"; - - if ( typeof define === 'function' && define.amd ) { - // AMD - define( ['jquery'], function ( $ ) { - return factory( $, window, document ); - } ); - } - else if ( typeof exports === 'object' ) { - // CommonJS - module.exports = function (root, $) { - if ( ! root ) { - // CommonJS environments without a window global must pass a - // root. This will give an error otherwise - root = window; - } - - if ( ! $ ) { - $ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window - require('jquery') : - require('jquery')( root ); - } - - return factory( $, root, root.document ); - }; - } - else { - // Browser - factory( jQuery, window, document ); - } -} -(function( $, window, document, undefined ) { - "use strict"; - - /** - * DataTables is a plug-in for the jQuery Javascript library. It is a highly - * flexible tool, based upon the foundations of progressive enhancement, - * which will add advanced interaction controls to any HTML table. For a - * full list of features please refer to - * [DataTables.net](href="http://datatables.net). - * - * Note that the `DataTable` object is not a global variable but is aliased - * to `jQuery.fn.DataTable` and `jQuery.fn.dataTable` through which it may - * be accessed. - * - * @class - * @param {object} [init={}] Configuration object for DataTables. Options - * are defined by {@link DataTable.defaults} - * @requires jQuery 1.7+ - * - * @example - * // Basic initialisation - * $(document).ready( function { - * $('#example').dataTable(); - * } ); - * - * @example - * // Initialisation with configuration options - in this case, disable - * // pagination and sorting. - * $(document).ready( function { - * $('#example').dataTable( { - * "paginate": false, - * "sort": false - * } ); - * } ); - */ - var DataTable; - - - /* - * It is useful to have variables which are scoped locally so only the - * DataTables functions can access them and they don't leak into global space. - * At the same time these functions are often useful over multiple files in the - * core and API, so we list, or at least document, all variables which are used - * by DataTables as private variables here. This also ensures that there is no - * clashing of variable names and that they can easily referenced for reuse. - */ - - - // Defined else where - // _selector_run - // _selector_opts - // _selector_first - // _selector_row_indexes - - var _ext; // DataTable.ext - var _Api; // DataTable.Api - var _api_register; // DataTable.Api.register - var _api_registerPlural; // DataTable.Api.registerPlural - - var _re_dic = {}; - var _re_new_lines = /[\r\n]/g; - var _re_html = /<.*?>/g; - var _re_date_start = /^[\w\+\-]/; - var _re_date_end = /[\w\+\-]$/; - - // Escape regular expression special characters - var _re_escape_regex = new RegExp( '(\\' + [ '/', '.', '*', '+', '?', '|', '(', ')', '[', ']', '{', '}', '\\', '$', '^', '-' ].join('|\\') + ')', 'g' ); - - // http://en.wikipedia.org/wiki/Foreign_exchange_market - // - \u20BD - Russian ruble. - // - \u20a9 - South Korean Won - // - \u20BA - Turkish Lira - // - \u20B9 - Indian Rupee - // - R - Brazil (R$) and South Africa - // - fr - Swiss Franc - // - kr - Swedish krona, Norwegian krone and Danish krone - // - \u2009 is thin space and \u202F is narrow no-break space, both used in many - // standards as thousands separators. - var _re_formatted_numeric = /[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfk]/gi; - - - var _empty = function ( d ) { - return !d || d === true || d === '-' ? true : false; - }; - - - var _intVal = function ( s ) { - var integer = parseInt( s, 10 ); - return !isNaN(integer) && isFinite(s) ? integer : null; - }; - - // Convert from a formatted number with characters other than `.` as the - // decimal place, to a Javascript number - var _numToDecimal = function ( num, decimalPoint ) { - // Cache created regular expressions for speed as this function is called often - if ( ! _re_dic[ decimalPoint ] ) { - _re_dic[ decimalPoint ] = new RegExp( _fnEscapeRegex( decimalPoint ), 'g' ); - } - return typeof num === 'string' && decimalPoint !== '.' ? - num.replace( /\./g, '' ).replace( _re_dic[ decimalPoint ], '.' ) : - num; - }; - - - var _isNumber = function ( d, decimalPoint, formatted ) { - var strType = typeof d === 'string'; - - // If empty return immediately so there must be a number if it is a - // formatted string (this stops the string "k", or "kr", etc being detected - // as a formatted number for currency - if ( _empty( d ) ) { - return true; - } - - if ( decimalPoint && strType ) { - d = _numToDecimal( d, decimalPoint ); - } - - if ( formatted && strType ) { - d = d.replace( _re_formatted_numeric, '' ); - } - - return !isNaN( parseFloat(d) ) && isFinite( d ); - }; - - - // A string without HTML in it can be considered to be HTML still - var _isHtml = function ( d ) { - return _empty( d ) || typeof d === 'string'; - }; - - - var _htmlNumeric = function ( d, decimalPoint, formatted ) { - if ( _empty( d ) ) { - return true; - } - - var html = _isHtml( d ); - return ! html ? - null : - _isNumber( _stripHtml( d ), decimalPoint, formatted ) ? - true : - null; - }; - - - var _pluck = function ( a, prop, prop2 ) { - var out = []; - var i=0, ien=a.length; - - // Could have the test in the loop for slightly smaller code, but speed - // is essential here - if ( prop2 !== undefined ) { - for ( ; i') - .css( { - position: 'fixed', - top: 0, - left: 0, - height: 1, - width: 1, - overflow: 'hidden' - } ) - .append( - $('
    ') - .css( { - position: 'absolute', - top: 1, - left: 1, - width: 100, - overflow: 'scroll' - } ) - .append( - $('
    ') - .css( { - width: '100%', - height: 10 - } ) - ) - ) - .appendTo( 'body' ); - - var outer = n.children(); - var inner = outer.children(); - - // Numbers below, in order, are: - // inner.offsetWidth, inner.clientWidth, outer.offsetWidth, outer.clientWidth - // - // IE6 XP: 100 100 100 83 - // IE7 Vista: 100 100 100 83 - // IE 8+ Windows: 83 83 100 83 - // Evergreen Windows: 83 83 100 83 - // Evergreen Mac with scrollbars: 85 85 100 85 - // Evergreen Mac without scrollbars: 100 100 100 100 - - // Get scrollbar width - browser.barWidth = outer[0].offsetWidth - outer[0].clientWidth; - - // IE6/7 will oversize a width 100% element inside a scrolling element, to - // include the width of the scrollbar, while other browsers ensure the inner - // element is contained without forcing scrolling - browser.bScrollOversize = inner[0].offsetWidth === 100 && outer[0].clientWidth !== 100; - - // In rtl text layout, some browsers (most, but not all) will place the - // scrollbar on the left, rather than the right. - browser.bScrollbarLeft = Math.round( inner.offset().left ) !== 1; - - // IE8- don't provide height and width for getBoundingClientRect - browser.bBounding = n[0].getBoundingClientRect().width ? true : false; - - n.remove(); - } - - $.extend( settings.oBrowser, DataTable.__browser ); - settings.oScroll.iBarWidth = DataTable.__browser.barWidth; - } - - - /** - * Array.prototype reduce[Right] method, used for browsers which don't support - * JS 1.6. Done this way to reduce code size, since we iterate either way - * @param {object} settings dataTables settings object - * @memberof DataTable#oApi - */ - function _fnReduce ( that, fn, init, start, end, inc ) - { - var - i = start, - value, - isSet = false; - - if ( init !== undefined ) { - value = init; - isSet = true; - } - - while ( i !== end ) { - if ( ! that.hasOwnProperty(i) ) { - continue; - } - - value = isSet ? - fn( value, that[i], i, that ) : - that[i]; - - isSet = true; - i += inc; - } - - return value; - } - - /** - * Add a column to the list used for the table with default values - * @param {object} oSettings dataTables settings object - * @param {node} nTh The th element for this column - * @memberof DataTable#oApi - */ - function _fnAddColumn( oSettings, nTh ) - { - // Add column to aoColumns array - var oDefaults = DataTable.defaults.column; - var iCol = oSettings.aoColumns.length; - var oCol = $.extend( {}, DataTable.models.oColumn, oDefaults, { - "nTh": nTh ? nTh : document.createElement('th'), - "sTitle": oDefaults.sTitle ? oDefaults.sTitle : nTh ? nTh.innerHTML : '', - "aDataSort": oDefaults.aDataSort ? oDefaults.aDataSort : [iCol], - "mData": oDefaults.mData ? oDefaults.mData : iCol, - idx: iCol - } ); - oSettings.aoColumns.push( oCol ); - - // Add search object for column specific search. Note that the `searchCols[ iCol ]` - // passed into extend can be undefined. This allows the user to give a default - // with only some of the parameters defined, and also not give a default - var searchCols = oSettings.aoPreSearchCols; - searchCols[ iCol ] = $.extend( {}, DataTable.models.oSearch, searchCols[ iCol ] ); - - // Use the default column options function to initialise classes etc - _fnColumnOptions( oSettings, iCol, $(nTh).data() ); - } - - - /** - * Apply options for a column - * @param {object} oSettings dataTables settings object - * @param {int} iCol column index to consider - * @param {object} oOptions object with sType, bVisible and bSearchable etc - * @memberof DataTable#oApi - */ - function _fnColumnOptions( oSettings, iCol, oOptions ) - { - var oCol = oSettings.aoColumns[ iCol ]; - var oClasses = oSettings.oClasses; - var th = $(oCol.nTh); - - // Try to get width information from the DOM. We can't get it from CSS - // as we'd need to parse the CSS stylesheet. `width` option can override - if ( ! oCol.sWidthOrig ) { - // Width attribute - oCol.sWidthOrig = th.attr('width') || null; - - // Style attribute - var t = (th.attr('style') || '').match(/width:\s*(\d+[pxem%]+)/); - if ( t ) { - oCol.sWidthOrig = t[1]; - } - } - - /* User specified column options */ - if ( oOptions !== undefined && oOptions !== null ) - { - // Backwards compatibility - _fnCompatCols( oOptions ); - - // Map camel case parameters to their Hungarian counterparts - _fnCamelToHungarian( DataTable.defaults.column, oOptions ); - - /* Backwards compatibility for mDataProp */ - if ( oOptions.mDataProp !== undefined && !oOptions.mData ) - { - oOptions.mData = oOptions.mDataProp; - } - - if ( oOptions.sType ) - { - oCol._sManualType = oOptions.sType; - } - - // `class` is a reserved word in Javascript, so we need to provide - // the ability to use a valid name for the camel case input - if ( oOptions.className && ! oOptions.sClass ) - { - oOptions.sClass = oOptions.className; - } - - $.extend( oCol, oOptions ); - _fnMap( oCol, oOptions, "sWidth", "sWidthOrig" ); - - /* iDataSort to be applied (backwards compatibility), but aDataSort will take - * priority if defined - */ - if ( oOptions.iDataSort !== undefined ) - { - oCol.aDataSort = [ oOptions.iDataSort ]; - } - _fnMap( oCol, oOptions, "aDataSort" ); - } - - /* Cache the data get and set functions for speed */ - var mDataSrc = oCol.mData; - var mData = _fnGetObjectDataFn( mDataSrc ); - var mRender = oCol.mRender ? _fnGetObjectDataFn( oCol.mRender ) : null; - - var attrTest = function( src ) { - return typeof src === 'string' && src.indexOf('@') !== -1; - }; - oCol._bAttrSrc = $.isPlainObject( mDataSrc ) && ( - attrTest(mDataSrc.sort) || attrTest(mDataSrc.type) || attrTest(mDataSrc.filter) - ); - oCol._setter = null; - - oCol.fnGetData = function (rowData, type, meta) { - var innerData = mData( rowData, type, undefined, meta ); - - return mRender && type ? - mRender( innerData, type, rowData, meta ) : - innerData; - }; - oCol.fnSetData = function ( rowData, val, meta ) { - return _fnSetObjectDataFn( mDataSrc )( rowData, val, meta ); - }; - - // Indicate if DataTables should read DOM data as an object or array - // Used in _fnGetRowElements - if ( typeof mDataSrc !== 'number' ) { - oSettings._rowReadObject = true; - } - - /* Feature sorting overrides column specific when off */ - if ( !oSettings.oFeatures.bSort ) - { - oCol.bSortable = false; - th.addClass( oClasses.sSortableNone ); // Have to add class here as order event isn't called - } - - /* Check that the class assignment is correct for sorting */ - var bAsc = $.inArray('asc', oCol.asSorting) !== -1; - var bDesc = $.inArray('desc', oCol.asSorting) !== -1; - if ( !oCol.bSortable || (!bAsc && !bDesc) ) - { - oCol.sSortingClass = oClasses.sSortableNone; - oCol.sSortingClassJUI = ""; - } - else if ( bAsc && !bDesc ) - { - oCol.sSortingClass = oClasses.sSortableAsc; - oCol.sSortingClassJUI = oClasses.sSortJUIAscAllowed; - } - else if ( !bAsc && bDesc ) - { - oCol.sSortingClass = oClasses.sSortableDesc; - oCol.sSortingClassJUI = oClasses.sSortJUIDescAllowed; - } - else - { - oCol.sSortingClass = oClasses.sSortable; - oCol.sSortingClassJUI = oClasses.sSortJUI; - } - } - - - /** - * Adjust the table column widths for new data. Note: you would probably want to - * do a redraw after calling this function! - * @param {object} settings dataTables settings object - * @memberof DataTable#oApi - */ - function _fnAdjustColumnSizing ( settings ) - { - /* Not interested in doing column width calculation if auto-width is disabled */ - if ( settings.oFeatures.bAutoWidth !== false ) - { - var columns = settings.aoColumns; - - _fnCalculateColumnWidths( settings ); - for ( var i=0 , iLen=columns.length ; i