From 52c8f691630548fe091d30bcfe8164545a05d3d5 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 22 Nov 2015 01:32:09 -0500 Subject: fix #650 --- public/ng/css/font-awesome.min.css | 4 - public/ng/css/gogs.css | 3015 ------------------------- public/ng/css/magnific-popup.css | 368 --- public/ng/css/tipsy.css | 25 - public/ng/css/ui.css | 945 -------- public/ng/fonts/FontAwesome.otf | Bin 106260 -> 0 bytes public/ng/fonts/fontawesome-webfont.eot | Bin 68875 -> 0 bytes public/ng/fonts/fontawesome-webfont.svg | 640 ------ public/ng/fonts/fontawesome-webfont.ttf | Bin 138204 -> 0 bytes public/ng/fonts/fontawesome-webfont.woff | Bin 81284 -> 0 bytes public/ng/fonts/fontawesome-webfont.woff2 | Bin 64464 -> 0 bytes public/ng/fonts/octicons.css | 235 -- public/ng/fonts/octicons.eot | Bin 31440 -> 0 bytes public/ng/fonts/octicons.svg | 198 -- public/ng/fonts/octicons.ttf | Bin 31272 -> 0 bytes public/ng/fonts/octicons.woff | Bin 17492 -> 0 bytes public/ng/js/gogs.js | 970 -------- public/ng/js/gogs/issue_label.js | 97 - public/ng/js/lib/jquery-1.11.1.min.js | 4 - public/ng/js/lib/jquery.magnific-popup.min.js | 4 - public/ng/js/lib/jquery.tipsy.js | 258 --- public/ng/js/lib/lib.js | 168 -- public/ng/js/min/gogs-min.js | 6 - public/ng/js/utils/preview.js | 53 - public/ng/js/utils/tabs.js | 45 - public/ng/less/gogs.less | 11 - public/ng/less/gogs/admin.less | 26 - public/ng/less/gogs/base.less | 306 --- public/ng/less/gogs/dashboard.less | 260 --- public/ng/less/gogs/external.less | 105 - public/ng/less/gogs/issue.less | 540 ----- public/ng/less/gogs/markdown.less | 595 ----- public/ng/less/gogs/organization.less | 232 -- public/ng/less/gogs/profile.less | 59 - public/ng/less/gogs/repository.less | 878 ------- public/ng/less/gogs/settings.less | 131 -- public/ng/less/gogs/sign.less | 68 - public/ng/less/ui.less | 11 - public/ng/less/ui/alert.less | 55 - public/ng/less/ui/bread.less | 18 - public/ng/less/ui/form.less | 230 -- public/ng/less/ui/grid.less | 99 - public/ng/less/ui/label.less | 43 - public/ng/less/ui/menu.less | 170 -- public/ng/less/ui/pager.less | 28 - public/ng/less/ui/panel.less | 54 - public/ng/less/ui/reset.less | 368 --- public/ng/less/ui/table.less | 63 - public/ng/less/ui/var.less | 96 - 49 files changed, 11481 deletions(-) delete mode 100644 public/ng/css/font-awesome.min.css delete mode 100644 public/ng/css/gogs.css delete mode 100644 public/ng/css/magnific-popup.css delete mode 100644 public/ng/css/tipsy.css delete mode 100644 public/ng/css/ui.css delete mode 100644 public/ng/fonts/FontAwesome.otf delete mode 100644 public/ng/fonts/fontawesome-webfont.eot delete mode 100644 public/ng/fonts/fontawesome-webfont.svg delete mode 100644 public/ng/fonts/fontawesome-webfont.ttf delete mode 100644 public/ng/fonts/fontawesome-webfont.woff delete mode 100644 public/ng/fonts/fontawesome-webfont.woff2 delete mode 100755 public/ng/fonts/octicons.css delete mode 100755 public/ng/fonts/octicons.eot delete mode 100755 public/ng/fonts/octicons.svg delete mode 100755 public/ng/fonts/octicons.ttf delete mode 100755 public/ng/fonts/octicons.woff delete mode 100644 public/ng/js/gogs.js delete mode 100644 public/ng/js/gogs/issue_label.js delete mode 100644 public/ng/js/lib/jquery-1.11.1.min.js delete mode 100644 public/ng/js/lib/jquery.magnific-popup.min.js delete mode 100644 public/ng/js/lib/jquery.tipsy.js delete mode 100644 public/ng/js/lib/lib.js delete mode 100644 public/ng/js/min/gogs-min.js delete mode 100644 public/ng/js/utils/preview.js delete mode 100644 public/ng/js/utils/tabs.js delete mode 100644 public/ng/less/gogs.less delete mode 100644 public/ng/less/gogs/admin.less delete mode 100644 public/ng/less/gogs/base.less delete mode 100644 public/ng/less/gogs/dashboard.less delete mode 100644 public/ng/less/gogs/external.less delete mode 100644 public/ng/less/gogs/issue.less delete mode 100644 public/ng/less/gogs/markdown.less delete mode 100644 public/ng/less/gogs/organization.less delete mode 100644 public/ng/less/gogs/profile.less delete mode 100644 public/ng/less/gogs/repository.less delete mode 100644 public/ng/less/gogs/settings.less delete mode 100644 public/ng/less/gogs/sign.less delete mode 100644 public/ng/less/ui.less delete mode 100644 public/ng/less/ui/alert.less delete mode 100644 public/ng/less/ui/bread.less delete mode 100644 public/ng/less/ui/form.less delete mode 100644 public/ng/less/ui/grid.less delete mode 100644 public/ng/less/ui/label.less delete mode 100644 public/ng/less/ui/menu.less delete mode 100644 public/ng/less/ui/pager.less delete mode 100644 public/ng/less/ui/panel.less delete mode 100644 public/ng/less/ui/reset.less delete mode 100644 public/ng/less/ui/table.less delete mode 100644 public/ng/less/ui/var.less (limited to 'public/ng') diff --git a/public/ng/css/font-awesome.min.css b/public/ng/css/font-awesome.min.css deleted file mode 100644 index ee4e9782..00000000 --- a/public/ng/css/font-awesome.min.css +++ /dev/null @@ -1,4 +0,0 @@ -/*! - * Font Awesome 4.4.0 by @davegandy - http://fontawesome.io - @fontawesome - * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.4.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.4.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.4.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.4.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.4.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.4.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"} diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css deleted file mode 100644 index caecfe25..00000000 --- a/public/ng/css/gogs.css +++ /dev/null @@ -1,3015 +0,0 @@ -html, -body { - height: 100%; -} -.octicon, -.fa { - width: 16px; - text-align: center; -} -.container { - max-width: 1170px; - padding: 0 1.5em; - margin: auto; -} -img.avatar-16 { - width: 16px; - height: 16px; - vertical-align: middle; -} -img.avatar-20 { - width: 20px; - height: 20px; - vertical-align: middle; -} -img.avatar-24 { - width: 24px; - height: 24px; - vertical-align: middle; -} -img.avatar-30 { - width: 30px; - height: 30px; - vertical-align: middle; -} -img.avatar-40 { - width: 40px; - height: 40px; - vertical-align: middle; -} -img.avatar-48 { - width: 48px; - height: 48px; - vertical-align: middle; -} -img.avatar-100 { - width: 100px; - height: 100px; - vertical-align: middle; -} -.drop-down .panel-header { - font-size: 14px; -} -#wrapper { - padding: 0; - margin: 0 0 -55px 0; - min-height: 100%; -} -#footer { - background-color: white; - border-top: 1px solid #d6d6d6; - clear: both; - width: 100%; - color: #888888; -} -#footer .container { - padding: 15px; -} -#footer .official, -#footer .version { - color: #888888; -} -#footer-links > * { - border-left: 1px solid #d6d6d6; - padding-left: 8px; - margin-left: 5px; -} -#footer-links > *:first-child { - border-left: none; -} -#footer-lang { - position: relative; -} -#footer-lang .drop-down { - top: -64px; - left: -2px; - position: absolute; - height: 59px; - z-index: 100; - font-size: 12px; - width: 170%; - min-width: 140px; -} -#footer-lang .drop-down li > a { - padding: 3px 9px; -} -#header { - background-color: #428bca; - height: 45px; -} -#header > .menu-line > li > a { - display: inline-block; - color: #ffffff; -} -#header > .menu-line > li > a:hover { - background-color: transparent; - color: #fff65f; -} -#header > .menu-line > li.head { - color: #ffffff; -} -#header > .menu-line > li.hover a:after { - bottom: -9px; - color: #ffffff; -} -#header > .menu-line > li.current > a { - color: #fff65f; - font-weight: bold; -} -#header-nav-user { - height: 44px; -} -#header-nav-user img { - margin: -2px 10px 0 0; - border-radius: 3px; -} -#header-nav-sign-out > a:hover { - color: #ff908b !important; -} -#header-nav-logo { - padding: 6px 1.2em 6px 0; -} -#header-nav-explore, -#header-nav-help { - font-size: 14px; -} -#header-new-repo-menu { - width: 180px; - background-color: #FFF; - top: 44px; - border-top: none; - left: -66px; -} -#header-new-repo-menu .octicon { - margin-right: 6px; - font-size: 1.1em; -} -.switching-list { - width: 100%; - list-style: none; -} -.switching-list > li { - border-bottom: 1px solid #eaeaea; -} -.switching-list > li:last-child { - border-bottom: none; -} -.switching-list > li > a { - padding: .4em 1.2em; - display: block; - color: #444; -} -.switching-list > li > a:hover { - background-color: #428bca !important; - color: #fff !important; -} -.social-buttons .btn { - border: none; - font-size: 16px; - border-radius: 4px; - margin-right: 12px; - font-family: 'PT Sans Narrow', sans-serif; - padding: 5px 12px; - color: #FFF; -} -.social-buttons .btn .fa { - margin-right: 6px; - font-size: 16px; -} -.social-buttons .twitter { - background-color: #1c6399; -} -.social-buttons .twitter:hover { - background-color: #1c5487; -} -.social-buttons .github { - background-color: #444; -} -.social-buttons .github:hover { - background-color: #333; -} -.social-buttons .google { - background-color: #C03D20; -} -.social-buttons .google:hover { - background-color: #D56060; -} -.social-buttons .weibo { - background-color: #bf1324; -} -.social-buttons .weibo:hover { - background-color: #b94c4a; -} -.social-buttons .qq { - background-color: #03a2ef; -} -.social-buttons .qq:hover { - background-color: #3cb3ff; -} -.main-wrapper { - padding: 20px 0 40px; -} -.user-list { - width: auto; - min-width: 180px; - max-width: 300px; -} -.user-list img { - width: 28px; - height: 28px; - margin-right: 1em; - margin-top: 1px; - vertical-align: middle; -} -.user-list li { - cursor: pointer; - font-weight: bold; -} -.text-success { - color: #3c763d; -} -.text-blue { - color: #15c; -} -.text-red { - color: #DD4B39; -} -.text-grey { - color: #999999; -} -.text-black { - color: #444444; -} -.text-gold { - color: #a1882b; -} -.table { - width: 100%; - max-width: 100%; -} -.table > thead > tr > th, -.table > tbody > tr > th, -.table > tfoot > tr > th, -.table > thead > tr > td, -.table > tbody > tr > td, -.table > tfoot > tr > td { - border-top: 1px solid #e7eaec; - line-height: 1.42857; - padding: 8px; - vertical-align: top; -} -.table th { - text-align: left; -} -.table-striped > tbody > tr:nth-child(odd) > td, -.table-striped > tbody > tr:nth-child(odd) > th { - background-color: #f9f9f9; -} -.pagination { - display: inline-block; - padding-left: 0; - margin: 20px 0; - border-radius: 4px; -} -.pagination li { - display: inline; -} -.list-unstyled { - padding-left: 0; - list-style: none; -} -.emoji { - width: 1.5em; - height: 1.5em; - display: inline-block; -} -.markdown { - overflow: hidden; - font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif; - font-size: 16px; - line-height: 1.6; - word-wrap: break-word; - padding: 5px 2em 2em !important; -} -.markdown > *:first-child { - margin-top: 0 !important; -} -.markdown > *:last-child { - margin-bottom: 0 !important; -} -.markdown a:not([href]) { - color: inherit; - text-decoration: none; -} -.markdown .absent { - color: #c00; -} -.markdown .anchor { - position: absolute; - top: 0; - left: 0; - display: block; - padding-right: 6px; - padding-left: 30px; - margin-left: -30px; -} -.markdown .anchor:focus { - outline: none; -} -.markdown h1, -.markdown h2, -.markdown h3, -.markdown h4, -.markdown h5, -.markdown h6 { - position: relative; - margin-top: 1em; - margin-bottom: 16px; - font-weight: bold; - line-height: 1.4; -} -.markdown h1 .octicon-link, -.markdown h2 .octicon-link, -.markdown h3 .octicon-link, -.markdown h4 .octicon-link, -.markdown h5 .octicon-link, -.markdown h6 .octicon-link { - display: none; - color: #000; - vertical-align: middle; -} -.markdown h1:hover .anchor, -.markdown h2:hover .anchor, -.markdown h3:hover .anchor, -.markdown h4:hover .anchor, -.markdown h5:hover .anchor, -.markdown h6:hover .anchor { - padding-left: 8px; - margin-left: -30px; - text-decoration: none; -} -.markdown h1:hover .anchor .octicon-link, -.markdown h2:hover .anchor .octicon-link, -.markdown h3:hover .anchor .octicon-link, -.markdown h4:hover .anchor .octicon-link, -.markdown h5:hover .anchor .octicon-link, -.markdown h6:hover .anchor .octicon-link { - display: inline-block; -} -.markdown h1 tt, -.markdown h1 code, -.markdown h2 tt, -.markdown h2 code, -.markdown h3 tt, -.markdown h3 code, -.markdown h4 tt, -.markdown h4 code, -.markdown h5 tt, -.markdown h5 code, -.markdown h6 tt, -.markdown h6 code { - font-size: inherit; -} -.markdown h1 { - padding-bottom: 0.3em; - font-size: 2.25em; - line-height: 1.2; - border-bottom: 1px solid #eee; -} -.markdown h1 .anchor { - line-height: 1; -} -.markdown h2 { - padding-bottom: 0.3em; - font-size: 1.75em; - line-height: 1.225; - border-bottom: 1px solid #eee; -} -.markdown h2 .anchor { - line-height: 1; -} -.markdown h3 { - font-size: 1.5em; - line-height: 1.43; -} -.markdown h3 .anchor { - line-height: 1.2; -} -.markdown h4 { - font-size: 1.25em; -} -.markdown h4 .anchor { - line-height: 1.2; -} -.markdown h5 { - font-size: 1em; -} -.markdown h5 .anchor { - line-height: 1.1; -} -.markdown h6 { - font-size: 1em; - color: #777; -} -.markdown h6 .anchor { - line-height: 1.1; -} -.markdown p, -.markdown blockquote, -.markdown ul, -.markdown ol, -.markdown dl, -.markdown table, -.markdown pre { - margin-top: 0; - margin-bottom: 16px; -} -.markdown hr { - height: 4px; - padding: 0; - margin: 16px 0; - background-color: #e7e7e7; - border: 0 none; -} -.markdown ul, -.markdown ol { - padding-left: 2em; -} -.markdown ul.no-list, -.markdown ol.no-list { - padding: 0; - list-style-type: none; -} -.markdown ul ul, -.markdown ul ol, -.markdown ol ol, -.markdown ol ul { - margin-top: 0; - margin-bottom: 0; -} -.markdown ol ol, -.markdown ul ol { - list-style-type: lower-roman; -} -.markdown li > p { - margin-top: 16px; -} -.markdown dl { - padding: 0; -} -.markdown dl dt { - padding: 0; - margin-top: 16px; - font-size: 1em; - font-style: italic; - font-weight: bold; -} -.markdown dl dd { - padding: 0 16px; - margin-bottom: 16px; -} -.markdown blockquote { - padding: 0 15px; - color: #777; - border-left: 4px solid #ddd; -} -.markdown blockquote > :first-child { - margin-top: 0; -} -.markdown blockquote > :last-child { - margin-bottom: 0; -} -.markdown table { - display: block; - width: 100%; - overflow: auto; - word-break: normal; - word-break: keep-all; -} -.markdown table th { - font-weight: bold; -} -.markdown table th, -.markdown table td { - padding: 6px 13px !important; - border: 1px solid #ddd; -} -.markdown table tr { - background-color: #fff; - border-top: 1px solid #ccc; -} -.markdown table tr:nth-child(2n) { - background-color: #f8f8f8; -} -.markdown img { - max-width: 100%; - box-sizing: border-box; -} -.markdown .emoji { - max-width: none; -} -.markdown span.frame { - display: block; - overflow: hidden; -} -.markdown span.frame > span { - display: block; - float: left; - width: auto; - padding: 7px; - margin: 13px 0 0; - overflow: hidden; - border: 1px solid #ddd; -} -.markdown span.frame span img { - display: block; - float: left; -} -.markdown span.frame span span { - display: block; - padding: 5px 0 0; - clear: both; - color: #333; -} -.markdown span.align-center { - display: block; - overflow: hidden; - clear: both; -} -.markdown span.align-center > span { - display: block; - margin: 13px auto 0; - overflow: hidden; - text-align: center; -} -.markdown span.align-center span img { - margin: 0 auto; - text-align: center; -} -.markdown span.align-right { - display: block; - overflow: hidden; - clear: both; -} -.markdown span.align-right > span { - display: block; - margin: 13px 0 0; - overflow: hidden; - text-align: right; -} -.markdown span.align-right span img { - margin: 0; - text-align: right; -} -.markdown span.float-left { - display: block; - float: left; - margin-right: 13px; - overflow: hidden; -} -.markdown span.float-left span { - margin: 13px 0 0; -} -.markdown span.float-right { - display: block; - float: right; - margin-left: 13px; - overflow: hidden; -} -.markdown span.float-right > span { - display: block; - margin: 13px auto 0; - overflow: hidden; - text-align: right; -} -.markdown code, -.markdown tt { - padding: 0; - padding-top: 0.2em; - padding-bottom: 0.2em; - margin: 0; - font-size: 85%; - background-color: rgba(0, 0, 0, 0.04); - border-radius: 3px; -} -.markdown code:before, -.markdown code:after, -.markdown tt:before, -.markdown tt:after { - letter-spacing: -0.2em; - content: "\00a0"; -} -.markdown code br, -.markdown tt br { - display: none; -} -.markdown del code { - text-decoration: inherit; -} -.markdown pre > code { - padding: 0; - margin: 0; - font-size: 100%; - word-break: normal; - white-space: pre; - background: transparent; - border: 0; -} -.markdown .highlight { - margin-bottom: 16px; -} -.markdown .highlight pre, -.markdown pre { - padding: 16px; - overflow: auto; - font-size: 85%; - line-height: 1.45; - background-color: #f7f7f7; - border-radius: 3px; -} -.markdown .highlight pre { - margin-bottom: 0; - word-break: normal; -} -.markdown pre { - word-wrap: normal; -} -.markdown pre code, -.markdown pre tt { - display: inline; - max-width: initial; - padding: 0; - margin: 0; - overflow: initial; - line-height: inherit; - word-wrap: normal; - background-color: transparent; - border: 0; -} -.markdown pre code:before, -.markdown pre code:after, -.markdown pre tt:before, -.markdown pre tt:after { - content: normal; -} -.markdown kbd { - display: inline-block; - padding: 3px 5px; - font-size: 11px; - line-height: 10px; - color: #555; - vertical-align: middle; - background-color: #fcfcfc; - border: solid 1px #ccc; - border-bottom-color: #bbb; - border-radius: 3px; - box-shadow: inset 0 -1px 0 #bbbbbb; -} -.markdown .csv-data td, -.markdown .csv-data th { - padding: 5px; - overflow: hidden; - font-size: 12px; - line-height: 1; - text-align: left; - white-space: nowrap; -} -.markdown .csv-data .blob-num { - padding: 10px 8px 9px; - text-align: right; - background: #fff; - border: 0; -} -.markdown .csv-data tr { - border-top: 0; -} -.markdown .csv-data th { - font-weight: bold; - background: #f8f8f8; - border-top: 0; -} -/* Author: jmblog */ -/* Project: https://github.com/jmblog/color-themes-for-google-code-prettify */ -/* GitHub Theme */ -/* Pretty printing styles. Used with prettify.js. */ -/* SPAN elements with the classes below are added by prettyprint. */ -/* plain text */ -.pln { - color: #333333; -} -@media screen { - /* string content */ - .str { - color: #dd1144; - } - /* a keyword */ - .kwd { - color: #333333; - } - /* a comment */ - .com { - color: #999988; - font-style: italic; - } - /* a type name */ - .typ { - color: #445588; - } - /* a literal value */ - .lit { - color: #445588; - } - /* punctuation */ - .pun { - color: #333333; - } - /* lisp open bracket */ - .opn { - color: #333333; - } - /* lisp close bracket */ - .clo { - color: #333333; - } - /* a markup tag name */ - .tag { - color: navy; - } - /* a markup attribute name */ - .atn { - color: teal; - } - /* a markup attribute value */ - .atv { - color: #dd1144; - } - /* a declaration */ - .dec { - color: #333333; - } - /* a variable name */ - .var { - color: teal; - } - /* a function name */ - .fun { - color: #990000; - } -} -/* Use higher contrast and text-weight for printable form. */ -@media print, projection { - .str { - color: #006600; - } - .kwd { - color: #006; - font-weight: bold; - } - .com { - color: #600; - font-style: italic; - } - .typ { - color: #404; - font-weight: bold; - } - .lit { - color: #004444; - } - .pun, - .opn, - .clo { - color: #444400; - } - .tag { - color: #006; - font-weight: bold; - } - .atn { - color: #440044; - } - .atv { - color: #006600; - } -} -/* Specify class=linenums on a pre to get line numbering */ -ol.linenums { - margin-top: 0; - margin-bottom: 0; -} -#promo-wrapper { - padding-top: 50px; - background-color: #428bca; -} -#promo-logo { - margin-right: 50px; - padding-bottom: 50px; -} -#promo-logo img { - max-width: 250px; -} -#promo-content { - color: #FFF; - margin-left: 300px; -} -#promo-content h1, -#promo-content h2 { - font-family: 'PT Sans Narrow', sans-serif; - line-height: 60px; - margin-bottom: 0; - text-shadow: 0 2px 1px rgba(0, 0, 0, 0.5); -} -#promo-content h1 { - font-size: 96px; - line-height: 96px; - margin-bottom: 30px; -} -#promo-content h2 { - font-size: 52px; - line-height: 70px; - font-weight: normal; -} -#promo-form { - padding: 40px 0; -} -#promo-form .ipt-large { - border: none; - border-radius: 4px; - font-size: 18px; - margin-right: 12px; -} -#promo-form .ipt-large:focus { - box-shadow: 0 0 3px #FFF; -} -#promo-form .btn-large { - border-radius: 4px; - font-size: 18px; - margin-right: 12px; -} -#promo-social { - padding-bottom: 60px; -} -#promo-social .qq { - box-shadow: 0 0 1px #1c6399; -} -#feature-wrapper { - font-family: Lato, sans-serif; - font-size: 18px; - padding: 50px 0 100px 0; -} -#feature-wrapper .octicon { - color: #d9453d; - font-size: 60px; - height: 60px; - width: 60px; - line-height: 60px; - margin-right: 12px; - vertical-align: middle; - display: inline-block; -} -#feature-wrapper b { - color: #000; - font-size: 24px; - display: inline-block; - line-height: 60px; -} -#feature-wrapper p { - margin: 1em 0; - line-height: 40px; - padding-right: 30px; -} -#feature-wrapper a { - color: #d9453d; -} -#feature-wrapper a:hover { - color: #ff635a; -} -#feature-wrapper .grid-1-2 { - margin-bottom: 30px; -} -#install-form { - padding: 15px; -} -#install-form label { - width: 35%; -} -#install-form input { - width: 30%; -} -#install-form input[type="checkbox"], -#install-form input[type="radio"] { - width: auto; -} -/* - The dashboard page style -*/ -#dashboard-header { - border-bottom: 1px solid #d6d6d6; - height: 69px; - background-color: #FFF; -} -#dashboard-header > .menu-line > li { - padding: 12px 6px; -} -#dashboard-header > .menu-line > li.drop { - margin-left: -22px; -} -#dashboard-header > .menu-line > li.drop:hover a { - background-color: transparent; -} -#dashboard-header > .menu-line > li.right > a { - font-size: 1.2em; - color: #444444; - margin: -12px 0px; - padding: 22px 0.8em; -} -#dashboard-header > .menu-line > li.right > a:hover { - background-color: transparent; - color: #d9453d; -} -#dashboard-header > .menu-line > li.right > a .octicon { - margin-right: 6px; -} -#dashboard-header > .menu-line > li.right .current { - border-bottom: 2px solid #D26911; -} -#dashboard-selection-menu a img { - margin: -4px 10px 0 0; -} -#dashboard { - padding: 1.5em; -} -#dashboard-sidebar .panel-header h4 { - margin: 0; -} -#dashboard-sidebar > .panel { - margin-bottom: 24px; - border-bottom-left-radius: .3em; - border-bottom-right-radius: .3em; -} -#dashboard-sidebar-menu { - border-top-left-radius: .3em; - border-top-right-radius: .3em; - width: 100%; - height: 32px; -} -#dashboard-sidebar-menu > li { - border: 1px solid #d6d6d6; - float: left; - margin-right: -1px; - border-bottom: none; -} -#dashboard-sidebar-menu > li > a { - padding-top: .3em; - padding-bottom: .3em; -} -#dashboard-sidebar-menu > li.first { - border-top-left-radius: .3em; -} -#dashboard-sidebar-menu > li.first > a { - border-top-left-radius: .3em; -} -#dashboard-sidebar-menu > li.drop { - border: none; - float: right; -} -#dashboard-sidebar-menu > li.js-tab-nav-show { - background-color: #EEEEEE; -} -#dashboard-sidebar-menu > li.last { - border-top-right-radius: .3em; -} -#dashboard-sidebar-menu > li.last > a { - border-top-right-radius: .3em; -} -#dashboard-my-mirror li, -#dashboard-my-org li, -#dashboard-my-repo li { - border-bottom: 1px solid #EAEAEA; -} -#dashboard-my-mirror li.private, -#dashboard-my-org li.private, -#dashboard-my-repo li.private { - background-color: #fcf8e9; -} -#dashboard-my-mirror li:last-child, -#dashboard-my-org li:last-child, -#dashboard-my-repo li:last-child { - border-bottom: none; -} -#dashboard-my-mirror li a, -#dashboard-my-org li a, -#dashboard-my-repo li a { - padding: 6px 1.2em; - display: block; -} -#dashboard-my-mirror li a .octicon, -#dashboard-my-org li a .octicon, -#dashboard-my-repo li a .octicon { - margin-right: 6px; - color: #888; -} -#dashboard-my-mirror li a:hover .repo-name, -#dashboard-my-org li a:hover .repo-name, -#dashboard-my-repo li a:hover .repo-name { - text-decoration: underline; -} -#dashboard-my-mirror .repo-name, -#dashboard-my-org .repo-name, -#dashboard-my-repo .repo-name { - font-size: 1.1em; -} -#dashboard-my-mirror .repo-star, -#dashboard-my-org .repo-star, -#dashboard-my-repo .repo-star { - color: #888; -} -#dashboard-my-mirror .repo-contrib-header, -#dashboard-my-org .repo-contrib-header, -#dashboard-my-repo .repo-contrib-header { - border-top: 1px solid #d6d6d6; -} -#dashboard-my-mirror .panel-header, -#dashboard-my-org .panel-header, -#dashboard-my-repo .panel-header { - font-size: 14px; -} -#dashboard-my-repo .panel-header .octicon { - margin-right: 6px; - font-size: 12px; -} -#dashboard-my-repo .repo-count { - margin-left: 4px; -} -#dashboard-my-org, -#dashboard-my-mirror { - display: none; -} -#dashboard-new-repo { - width: 50px; - height: 33px; - padding-top: 6px; - margin-right: 1px; - border-top-left-radius: .3em; - border-top-right-radius: .3em; -} -#dashboard-new-repo .octicon { - font-size: 20px; -} -#dashboard-new-repo-menu { - top: 33px; - width: 180px; - background-color: #FFF; - left: -132px; -} -#dashboard-new-repo-menu .octicon { - margin-right: 6px; - font-size: 1.1em; -} -#dashboard-selection-menu { - width: auto; - max-width: 300px; -} -#dashboard-selection-menu > .drop-down { - top: 56px; - left: 22px; -} -#dashboard-selection-menu li { - white-space: nowrap; -} -#dashboard-selection-menu li.checked .octicon { - opacity: 1; -} -#dashboard-selection-menu li a { - text-overflow: ellipsis; - -o-text-overflow: ellipsis; - overflow: hidden; -} -#dashboard-switch-menu { - border-bottom-left-radius: .3em; - border-bottom-right-radius: .3em; -} -#dashboard-switch-menu > li > a img { - margin-top: 0; -} -#dashboard-switch-menu > li > a .octicon { - margin-right: 12px; -} -#dashboard-switch-menu > li:last-child > a { - border-bottom-left-radius: .3em; - border-bottom-right-radius: .3em; -} -#dashboard-switch-menu > li.org > a .octicon { - opacity: 0; -} -#dashboard-switch-menu > li.checked > a { - font-weight: bold; -} -#dashboard-switch-menu > li.checked > a .octicon { - opacity: 1; -} -#dashboard-news { - padding-bottom: 60px; -} -#dashboard-news .news { - margin-right: 2.4em; - padding-bottom: 1em; - margin-bottom: 1em; - border-bottom: 1px solid #E6E6E6; - min-height: 30px; -} -#dashboard-news .news .mega-octicon { - color: #CCC; -} -#dashboard-news .news .avatar { - margin-right: 1.2em; -} -#dashboard-news .news .news-content, -#dashboard-news .news .news-time { - color: #888; -} -#dashboard-news .push-news .news-content li { - margin-left: 1em; -} -#dashboard-news .push-news .news-content li img { - vertical-align: inherit; - margin-bottom: -2px; -} -/* -The register and sign-in page style -*/ -#sign-wrapper { - padding: 60px 0; -} -.sign-panel { - background-color: #ffffff; -} -.sign-form.form-align .field { - margin: 1.2em 0 2em 0; -} -.sign-form.form-align .ipt-large { - width: 300px; -} -.sign-form.form-align label, -.sign-form.form-align .form-label { - width: 160px; -} -.sign-form.form-align .chk-label { - width: auto; - text-align: left; - margin-left: 176px; -} -.sign-form.form-align .alert { - margin: 0 30px 24px 30px; -} -.sign-form.form-align:hover { - box-shadow: 0 0 6px #CCC; -} -.sign-form.container { - padding: 0; - width: 600px; - margin-bottom: 80px; -} -#sign-up-form .panel-content { - margin-top: 1.2em; -} -#sign-up-form h2 { - margin: .5em 1em; -} -#sign-social { - position: relative; - margin: 40px 0; -} -#sign-social .or { - position: absolute; - width: 30px; - top: -52px; - left: 50%; - background-color: #FFF; - margin-left: -15px; -} -#repo-wrapper { - padding-bottom: 100px; -} -#repo-header { - height: 69px; - border-bottom: 1px solid #d6d6d6; - background-color: #ffffff; -} -#repo-header-name { - line-height: 66px; - color: #888888; - font-size: 1.6em; - font-weight: normal; - margin-bottom: 0; -} -#repo-header-name i { - margin-right: 12px; - vertical-align: middle; -} -#repo-header-name .divider { - margin: 0 4px; -} -#repo-header-meta { - line-height: 66px; -} -#repo-header-meta li > a { - padding: 0; -} -#repo-header-meta li > a:hover { - background-color: transparent; -} -#repo-header-meta a > .btn { - line-height: 16px; - margin-left: 16px; - font-size: 13px; -} -#repo-header-meta a > .btn i { - margin-right: 6px; -} -#repo-header-meta a > .btn .num { - margin-left: 6px; -} -#repo-header-download-btn > .btn > i { - margin-right: 0 !important; -} -#repo-header-download-btn:hover:after, -#repo-header-download-btn:hover .btn { - background-color: #383838; - color: #FFF; -} -#repo-header-download-btn:after { - background-color: #444444; - padding: 9px 16px 8px 0; - margin-left: -8px !important; - color: #FFF; - border-top: 1px solid #444444; - border-bottom: 1px solid #444444; - border-top-right-radius: .25em; - border-bottom-right-radius: .25em; -} -#repo-header-download-drop { - line-height: 24px; - width: 460px; - top: 50px; - left: -390px; - padding: 20px; - box-sizing: border-box; - z-index: 1; -} -#repo-header-download-drop .btn > i { - margin-right: 6px; -} -#repo-header-download-drop button, -#repo-header-download-drop input { - font-size: 11px; -} -#repo-header-download-drop #repo-clone-copy { - width: 85px; - text-overflow: clip; -} -#repo-content { - padding-top: 18px; - padding-bottom: 18px; -} -.repo-wide-wrapper { - padding: 18px; - position: relative; -} -#repo-clone-url { - border-right: none; - width: 190px; - border-left: none; - cursor: default; -} -#repo-clone-help { - clear: both; - line-height: 48px; -} -#repo-clone-zip { - line-height: 48px; -} -#repo-clone-zip a { - cursor: pointer; - color: white; - overflow: visible; - padding: .6em 1.2em; -} -#repo-clone-zip .btn { - margin: 0 6px; -} -#repo-desc { - font-size: 1.2em; -} -#repo-desc .no-description { - color: #999; -} -#repo-sidebar-nav .label { - font-size: 12px; - line-height: 1.4em; - margin-top: 2px; -} -#repo-sidebar-nav i { - margin-right: 6px; -} -#repo-sidebar-mini { - margin-top: 6px; - width: 60px; -} -#repo-sidebar-mini li { - margin-bottom: 4px; -} -#repo-sidebar-mini li > a { - position: relative; - padding-left: 12px; - width: 24px; - text-align: center; -} -#repo-sidebar-mini li > a > i.octicon { - font-size: 21px; -} -#repo-sidebar-mini .num { - position: absolute; - font-size: 12px; - top: 0; - left: 36px; - padding: 0 2px; - min-width: 16px; - height: 16px; - text-align: center; - line-height: 16px; - border-radius: 4px; - opacity: 0.7; - -webkit-transform: scale(0.9); - font-weight: bold; -} -#repo-file-nav { - padding: .6em 0 1em 0; -} -#repo-file-nav > li > a { - padding-left: 0; -} -#repo-file-nav > li > a:hover { - background-color: transparent; -} -#repo-file-nav li.repo-jump > a { - padding-right: 0; -} -#repo-file-nav li.repo-jump > a .btn { - margin-left: -1px; -} -#repo-branch-switch > a .btn { - padding-right: 30px; -} -#repo-branch-switch > a:after { - position: absolute; - top: 12px; - right: 30px; - margin-left: 0; - color: #444444; -} -#repo-branch-switch > .drop-down { - top: 40px; - left: 0; -} -#repo-branch-filter-ipt { - width: 100%; - border-left: none; - border-right: none; - box-sizing: border-box; -} -#repo-branch-tag .tab-nav { - border-bottom: 1px solid #EAEAEA; -} -#repo-branch-tag .tab-nav a { - padding: .3em .8em; -} -#repo-branch-tag .tab-nav .js-tab-nav-show { - background-color: #EEE; - font-weight: bold; -} -#repo-branch-tag .switching-list { - max-height: 300px; - overflow-y: auto; -} -#repo-branch-list li i, -#repo-tag-list li i { - margin-right: 12px; - opacity: 0; -} -#repo-branch-list li.checked i, -#repo-tag-list li.checked i { - opacity: 1; -} -#repo-bread .bread { - padding-right: 0; - font-size: 16px; - font-weight: bold; -} -#repo-main { - padding-right: 40px; - box-sizing: border-box; -} -#repo-files-table { - margin-bottom: 20px; -} -#repo-files-table .sha .label { - font-family: Monaco, Menlo, Consolas, "Courier New", monospace; -} -#repo-files-table th, -#repo-files-table td { - text-align: left; - line-height: 32px; -} -#repo-files-table td.icon { - width: 16px; - padding-right: .1em; - padding-left: 1em; -} -#repo-files-table td.name { - max-width: 120px; -} -#repo-files-table td.name .text-truncate { - max-width: 100%; -} -#repo-files-table td.age { - max-width: 120px; - text-align: right; -} -#repo-files-table td.msg { - max-width: 440px; -} -#repo-files-table td.msg .text-truncate { - max-width: 100%; -} -#repo-files-table td.age, -#repo-files-table td.size, -#repo-files-table td.msg a { - color: #888; -} -#repo-files-table td.msg a:hover { - color: #428BCA; - text-decoration: underline; -} -#repo-files-table td.message .text-truncate { - max-width: 360px; -} -#repo-files-table tbody { - background-color: #FFF; -} -#repo-files-table tbody tr:hover { - background-color: #ffffEE; -} -#repo-files-table thead { - background-color: #F0F0F0; -} -#repo-files-table thead .author a { - margin: 0 .4em; -} -#repo-files-table thead .last-commit strong { - color: #444; -} -#repo-files-table thead .last-commit .text-truncate { - max-width: 440px; - margin-left: .4em; -} -#repo-files-table thead .last-commit .text-truncate, -#repo-files-table thead .age { - font-weight: normal; - color: #888; -} -#repo-readme, -#repo-read-file { - margin-bottom: 80px; -} -#repo-bare-start { - margin-bottom: 100px; -} -#repo-bare-start .panel-content { - background-color: #FFF; -} -#repo-bare-start pre { - margin: 0 40px; - padding: 6px 10px; - border: 1px solid #ddd; - background: #f8f8f8; -} -.repo-bare #repo-bare-start h2 { - margin-top: 30px; - margin-bottom: 24px; -} -.repo-bare #repo-header-meta { - display: none; -} -.repo-bare .btn-first { - margin-left: 200px; -} -.repo-bare #repo-clone-copy { - margin-right: 200px; -} -.repo-bare #repo-clone-help { - clear: both; - width: 100%; -} -.repo-bare #repo-clone-url { - width: 520px; -} -/* repository create */ -#team-create-form, -#repo-migrate-form, -#repo-create-form { - width: 800px; - margin: 60px auto auto auto; - background: white; -} -#team-create-form h2, -#repo-migrate-form h2, -#repo-create-form h2 { - margin: .5em 1em; -} -#team-create-form .field, -#repo-migrate-form .field, -#repo-create-form .field { - margin: 1.2em 0 2em 0; -} -#team-create-form .ipt, -#repo-migrate-form .ipt, -#repo-create-form .ipt { - width: 540px; -} -#team-create-form textarea, -#repo-migrate-form textarea, -#repo-create-form textarea { - height: 120px; -} -#team-create-form .avatar, -#repo-migrate-form .avatar, -#repo-create-form .avatar { - vertical-align: middle; - margin-right: .6em; - width: 28px; - height: 28px; -} -#team-create-form:hover, -#repo-migrate-form:hover, -#repo-create-form:hover { - box-shadow: 0px 0px 6px #CCC; -} -#repo-create-cancel { - margin-left: 4em; -} -#release-new-target-branch-list, -#repo-create-owner-list { - top: 30px; - left: 0; - width: auto; - max-width: 300px; -} -#release-new-target-branch-list .octicon, -#repo-create-owner-list .octicon { - margin-right: 12px; - opacity: 0; -} -#release-new-target-branch-list .avatar, -#repo-create-owner-list .avatar { - width: 20px; - height: 20px; -} -#release-new-target-branch-list li, -#repo-create-owner-list li { - white-space: nowrap; -} -#release-new-target-branch-list li.checked .octicon, -#repo-create-owner-list li.checked .octicon { - opacity: 1; -} -#release-new-target-branch-list li a, -#repo-create-owner-list li a { - text-overflow: ellipsis; - -o-text-overflow: ellipsis; - overflow: hidden; -} -#release-new-target-branch-list { - margin-top: -1px; - min-width: 150px; -} -#release-new-title { - margin-top: 10px; -} -#release-new-content { - width: 100%; -} -#release-preview-btn .btn { - border-left: 0; -} -#release-preview.markdown { - margin-top: 5px; - background-color: transparent; -} -.file-name { - margin-left: 1em; -} -.file-size { - font-size: 13px; - color: #888; - margin-left: 1em; -} -.code-view { - overflow: auto; - overflow-x: auto; - overflow-y: hidden; - background: white; -} -.code-view .view-raw { - min-height: 40px; - text-align: center; - padding-top: 20px; -} -.code-view .view-raw .btn { - font-size: 1.05em; - line-height: 16px; - padding: 6px 8px; -} -.code-view table { - width: 100%; -} -.code-view table td { - padding: 0; -} -.code-view .lines-num { - vertical-align: top; - text-align: right; - color: #999; - background: #f5f5f5; - width: 1%; -} -.code-view .lines-num span { - font-family: Monaco, Menlo, Consolas, "Courier New", monospace; - line-height: 20px; - padding: 0 10px; - cursor: pointer; - display: block; -} -.code-view .lines-code > pre { - border: none; - border-left: 1px solid #ddd; -} -.code-view .lines-code > pre > ol.linenums > li { - padding: 0 10px; - line-height: 20px; -} -.code-view .lines-code > pre > ol.linenums > li.active { - background: #ffffdd; -} -.repo-setting-zone { - padding: 30px; -} -#team-repositories-list, -#team-members-list, -#repo-collab-list { - list-style: none; - padding: 10px 0 5px 0; -} -#team-repositories-list li.collab, -#team-members-list li.collab, -#repo-collab-list li.collab { - clear: both; - height: 50px; - padding: 0 15px 0 15px; -} -#team-repositories-list a.member, -#team-members-list a.member, -#repo-collab-list a.member { - color: #444; - height: 50px; - line-height: 50px; -} -#team-repositories-list a.member:hover, -#team-members-list a.member:hover, -#repo-collab-list a.member:hover { - color: #4183C4; -} -#team-repositories-list .avatar, -#team-members-list .avatar, -#repo-collab-list .avatar { - margin-right: 1em; - width: 40px; -} -#team-repositories-list .remove-collab, -#team-members-list .remove-collab, -#repo-collab-list .remove-collab { - color: #DD4B39; -} -.repo-user-list-block { - position: relative; - top: 5px; -} -.setting-list { - width: 100%; - list-style: none; -} -#commits-list { - padding-top: 20px; -} -#commits-list h4 { - line-height: 30px; - margin-bottom: 0; -} -.commit-list th { - background-color: #FFF; - line-height: 28px !important; -} -.commit-list .date { - width: 120px; -} -.commit-list .author { - padding-left: 20px; - min-width: 180px; -} -.commit-list .author img { - margin-top: -4px; -} -.commit-list .sha a { - font-family: Consolas, Menlo, Monaco, "Lucida Console", monospace; - font-size: 14px; -} -.commit-list .message { - width: 60%; -} -.commit-list .message span { - max-width: 500px; -} -.commit-message { - white-space: pre-wrap; -} -.diff-head-box { - margin-top: 10px; -} -.diff-head-box .panel-body { - padding: 10px 15px 5px 10px; -} -.diff-head-box .author img { - margin-top: -7px; -} -.diff-detail-box { - margin: 15px 0; - line-height: 30px; -} -.diff-detail-box ol { - clear: both; - padding-left: 0; - margin-bottom: 28px; -} -.diff-detail-box ol li { - list-style: none; - padding-bottom: 4px; - margin-bottom: 4px; - border-bottom: 1px dashed #DDD; - padding-left: 6px; -} -.diff-detail-box span.status { - display: inline-block; - width: 12px; - height: 12px; - margin-right: 8px; - vertical-align: middle; -} -.diff-detail-box span.status.modify { - background-color: #f0db88; -} -.diff-detail-box span.status.add { - background-color: #b4e2b4; -} -.diff-detail-box span.status.del { - background-color: #e9aeae; -} -.diff-detail-box span.status.rename { - background-color: #dad8ff; -} -.diff-box .count { - margin-right: 12px; -} -.diff-box .count .bar { - background-color: #e75316; - height: 12px; - width: 40px; - display: inline-block; - margin: 2px 4px 0 4px; - vertical-align: text-top; -} -.diff-box .count .bar .add { - background-color: #77c64a; - height: 12px; -} -.diff-box .file { - color: #888; -} -.diff-box .panel-header { - font-size: 14px; -} -.diff-file-box .file-body.file-code .lines-num { - text-align: right; - color: #999; - background: #fafafa; - width: 1%; -} -.diff-file-box .file-body.file-code .lines-num-old { - border-right: 1px solid #DDD; -} -.diff-file-box .code-diff tbody tr.tag-code td, -.diff-file-box .code-diff tbody tr.tag-code pre { - background-color: #E0E0E0 !important; - border-color: #ADADAD !important; -} -.diff-file-box .code-diff tbody tr.tag-code td.selected-line, -.diff-file-box .code-diff tbody tr.tag-code td.selected-line pre { - background-color: #ffffdd !important; -} -.diff-file-box .code-diff tbody tr.same-code td.selected-line, -.diff-file-box .code-diff tbody tr.same-code td.selected-line pre { - background-color: #ffffdd !important; -} -.diff-file-box .code-diff tbody tr.del-code td, -.diff-file-box .code-diff tbody tr.del-code pre { - background-color: #ffe2dd !important; - border-color: #e9aeae !important; -} -.diff-file-box .code-diff tbody tr.del-code td.selected-line, -.diff-file-box .code-diff tbody tr.del-code td.selected-line pre { - background-color: #ffffdd !important; -} -.diff-file-box .code-diff tbody tr.add-code td, -.diff-file-box .code-diff tbody tr.add-code pre { - background-color: #d1ffd6 !important; - border-color: #b4e2b4 !important; -} -.diff-file-box .code-diff tbody tr.add-code td.selected-line, -.diff-file-box .code-diff tbody tr.add-code td.selected-line pre { - background-color: #ffffdd !important; -} -.diff-file-box .code-diff tbody tr:hover td, -.diff-file-box .code-diff tbody tr:hover pre { - background-color: #FFF8D2 !important; - border-color: #F0DB88 !important; -} -.compare-head-box { - margin-top: 10px; -} -.compare-head-box .compare { - padding: 0 15px 15px 15px; -} -.fork-flag { - display: block; - font-size: 11px; - line-height: 10px; - white-space: nowrap; - margin-left: 44px; - margin-top: -15px; -} -#release h4 { - font-size: 18px; -} -#release h4 small { - font-weight: 400; - line-height: 1; - color: #999; -} -#release #release-head { - margin-top: 0; - margin-bottom: 0; - padding-bottom: 20px; - border-bottom: 1px solid #DDD; -} -#release #release-head .btn { - margin-left: 10px; -} -#release .release-item > div { - padding-top: 20px; - padding-bottom: 20px; -} -#release .release-item .label-green:hover { - background-color: #65ad4e; -} -#release .release-item .release-meta { - position: relative; - float: left; - padding-right: 15px; -} -#release .release-item .tag, -#release .release-item .commit { - display: block; - margin-top: 12px; - line-height: 20px; -} -#release .release-item .release-detail { - margin-top: -1px; - border-left: 1px solid #DDD; - position: relative; - float: left; - padding-left: 15px; -} -#release .release-item .title { - line-height: 25px; - margin-top: 0; -} -#release .release-item p.info { - line-height: 20px; - color: #666; - margin-bottom: 15px; -} -#release .release-item p.info > * { - margin-right: 10px; -} -#release .release-item .author img { - margin-top: -3px; -} -#release .release-item div.desc { - margin-bottom: 25px; -} -#release .release-item div.desc.markdown { - background-color: transparent; -} -#release .release-item .download a { - margin-right: 10px; -} -#release .release-item .dot { - width: 9px; - height: 9px; - background-color: #ccc; - z-index: 999; - position: absolute; - display: block; - left: -6px; - top: 27px; - border-radius: 6px; - border: 1px solid #FFF; -} -#release #release-new-form { - padding-top: 15px; -} -#stars h4, -#watchers h4, -#forks h4 { - font-size: 18px; - padding-bottom: 20px; - text-transform: capitalize; - border-bottom: 1px solid #DDD; -} -#stars h3, -#watchers h3, -#forks h3 { - margin: -4px 0 0 0; - padding: 0; -} -#stars .avatar, -#watchers .avatar, -#forks .avatar { - width: 75px; - height: 75px; - float: left; - display: block; - margin-right: 10px; -} -#stars .avatar-small, -#watchers .avatar-small, -#forks .avatar-small { - width: 24px; - height: 24px; - float: left; - display: block; - margin-right: 10px; -} -#stars ol, -#watchers ol, -#forks ol { - margin-top: 10px; - list-style: none; - width: 100%; - overflow: hidden; -} -#stars li, -#watchers li, -#forks li { - width: 32.25%; - margin: 10px 10px 10px 0; - border-bottom: 1px solid #DDD; - float: left; - padding-bottom: 10px; -} -#stars .pagination, -#watchers .pagination, -#forks .pagination { - width: 100%; - text-align: center; - text-transform: capitalize; -} -#stars .pagination a, -#watchers .pagination a, -#forks .pagination a { - border-radius: 3px; - border: 1px solid #399ADE; - padding: 8px; - margin: 0; -} -#stars .pagination .active, -#watchers .pagination .active, -#forks .pagination .active { - border-radius: 3px; - border: 1px solid #399ADE; - background: #399ADE; - cursor: default; - padding: 8px; - margin: 0; - color: #FFFFFF; -} -#stars .pagination .disabled, -#watchers .pagination .disabled, -#forks .pagination .disabled { - border-radius: 3px; - border: 1px solid #DDD; - color: #D3D3D3; - cursor: default; - padding: 8px; - margin: 0; -} -#forks p { - padding: 5px 0; -} -#admin-wrapper, -#setting-wrapper { - padding-bottom: 100px; -} -#setting-menu { - box-sizing: border-box; -} -#setting-menu li > a { - border-left: 2px solid #FFF; - background-color: #FFF; -} -#setting-menu li:hover { - border-color: #EAEAEA; -} -#setting-menu li:hover a { - border-left: 2px solid #EFEFEF; - background-color: #EFEFEF !important; - color: #000 !important; -} -#setting-menu li.current a { - color: #000 !important; - font-weight: bold; - border-left: 2px solid #d26911; -} -.setting-content { - margin-left: 32px; -} -#auth-setting-form, -#org-setting-form, -#repo-setting-form, -#user-profile-form, -#add-email-form, -.repo-setting-form { - background-color: #FFF; - padding: 30px 0; -} -#auth-setting-form textarea, -#org-setting-form textarea, -#repo-setting-form textarea, -#user-profile-form textarea, -#add-email-form textarea, -.repo-setting-form textarea { - margin-left: 4px; - height: 100px; -} -#auth-setting-form label, -#org-setting-form label, -#repo-setting-form label, -#user-profile-form label, -#add-email-form label, -.repo-setting-form label, -#auth-setting-form .form-label, -#org-setting-form .form-label, -#repo-setting-form .form-label, -#user-profile-form .form-label, -#add-email-form .form-label, -.repo-setting-form .form-label { - width: 240px; -} -#auth-setting-form .ipt, -#org-setting-form .ipt, -#repo-setting-form .ipt, -#user-profile-form .ipt, -#add-email-form .ipt, -.repo-setting-form .ipt { - width: 360px; -} -#auth-setting-form .field, -#org-setting-form .field, -#repo-setting-form .field, -#user-profile-form .field, -#add-email-form .field, -.repo-setting-form .field { - margin-bottom: 24px; -} -#hook-type { - padding: 10px 0 0 0; - background-color: #fff; -} -#hook-type .field { - margin-bottom: 24px; -} -#hook-type label { - width: 240px; -} -#repo-hooks-panel, -#repo-hooks-history-panel, -#user-social-panel, -#user-applications-panel, -#user-email-panel, -#user-ssh-panel { - margin-bottom: 20px; -} -#repo-hooks-panel .setting-list, -#repo-hooks-history-panel .setting-list, -#user-social-panel .setting-list, -#user-applications-panel .setting-list, -#user-email-panel .setting-list, -#user-ssh-panel .setting-list { - background-color: #FFF; -} -#repo-hooks-panel .setting-list li, -#repo-hooks-history-panel .setting-list li, -#user-social-panel .setting-list li, -#user-applications-panel .setting-list li, -#user-email-panel .setting-list li, -#user-ssh-panel .setting-list li { - padding: 8px 20px; - border-bottom: 1px solid #eaeaea; -} -#repo-hooks-panel .setting-list li.ssh:hover, -#repo-hooks-history-panel .setting-list li.ssh:hover, -#user-social-panel .setting-list li.ssh:hover, -#user-applications-panel .setting-list li.ssh:hover, -#user-email-panel .setting-list li.ssh:hover, -#user-ssh-panel .setting-list li.ssh:hover { - background-color: #ffffEE; -} -#repo-hooks-panel .setting-list li i, -#repo-hooks-history-panel .setting-list li i, -#user-social-panel .setting-list li i, -#user-applications-panel .setting-list li i, -#user-email-panel .setting-list li i, -#user-ssh-panel .setting-list li i { - padding-right: 5px; -} -#repo-hooks-panel .active-icon, -#repo-hooks-history-panel .active-icon, -#user-social-panel .active-icon, -#user-applications-panel .active-icon, -#user-email-panel .active-icon, -#user-ssh-panel .active-icon { - width: 10px; - height: 10px; - border-radius: 6px; - padding: 0; - margin-right: 20px; - margin-top: 10px; -} -#repo-hooks-panel .ssh-content, -#repo-hooks-history-panel .ssh-content, -#user-social-panel .ssh-content, -#user-applications-panel .ssh-content, -#user-email-panel .ssh-content, -#user-ssh-panel .ssh-content { - margin-left: 24px; -} -#repo-hooks-panel .ssh-content .octicon, -#repo-hooks-history-panel .ssh-content .octicon, -#user-social-panel .ssh-content .octicon, -#user-applications-panel .ssh-content .octicon, -#user-email-panel .ssh-content .octicon, -#user-ssh-panel .ssh-content .octicon { - margin-right: 4px; -} -#repo-hooks-panel .ssh-content .print, -#repo-hooks-history-panel .ssh-content .print, -#user-social-panel .ssh-content .print, -#user-applications-panel .ssh-content .print, -#user-email-panel .ssh-content .print, -#user-ssh-panel .ssh-content .print, -#repo-hooks-panel .ssh-content .access, -#repo-hooks-history-panel .ssh-content .access, -#user-social-panel .ssh-content .access, -#user-applications-panel .ssh-content .access, -#user-email-panel .ssh-content .access, -#user-ssh-panel .ssh-content .access, -#repo-hooks-panel .ssh-content .activity, -#repo-hooks-history-panel .ssh-content .activity, -#user-social-panel .ssh-content .activity, -#user-applications-panel .ssh-content .activity, -#user-email-panel .ssh-content .activity, -#user-ssh-panel .ssh-content .activity { - color: #888; -} -#repo-hooks-panel .ssh-content .access, -#repo-hooks-history-panel .ssh-content .access, -#user-social-panel .ssh-content .access, -#user-applications-panel .ssh-content .access, -#user-email-panel .ssh-content .access, -#user-ssh-panel .ssh-content .access { - max-width: 500px; -} -#repo-hooks-panel .ssh-btn, -#repo-hooks-history-panel .ssh-btn, -#user-social-panel .ssh-btn, -#user-applications-panel .ssh-btn, -#user-email-panel .ssh-btn, -#user-ssh-panel .ssh-btn { - margin-top: 6px; -} -.form-settings-add .panel-body { - background-color: #FFF; - padding: 30px 0; -} -.form-settings-add .ipt { - width: 500px; -} -.form-settings-add textarea { - height: 120px; - margin-left: 3px; -} -.form-settings-add .field { - margin-bottom: 24px; -} -.pr-main { - margin-right: 100px; -} -.pr-sidebar { - border-left: 1px solid #DDD; - box-sizing: border-box; - position: absolute; - right: 0; - top: 12px; -} -.pr-title { - padding: 4px 0; -} -.pr-title .pr-num { - font-weight: normal; - color: #888; -} -.pr-meta { - color: #888; - padding: 4px 0 8px 0; -} -.pr-meta .pr-author { - margin: 0 8px; - color: #444; -} -.pr-meta .pr-author:hover { - text-decoration: underline; -} -.pr-meta .pr-branch { - margin: 0 4px; - font-size: 12px; - padding: 4px 6px; -} -.pr-nav { - border-bottom: 1px solid #DDD; - margin-top: 16px; - margin-bottom: 16px; -} -.pr-nav .octicon { - margin-right: 4px; -} -.pr-nav li > a { - padding: 3px 9px !important; - border: 1px solid transparent; - border-bottom: none; - border-top-left-radius: .2em; - border-top-right-radius: .2em; -} -.pr-nav li > a .label { - padding: 1px 5px; - font-size: 12px; - margin-left: 4px; -} -.pr-nav li.js-tab-nav-show > a { - background-color: #FFF; - border-color: #E6E6E6; -} -.diff-bar .diff-add { - color: #65ad4e; -} -.diff-bar .diff-delete { - color: #d9453d; -} -.diff-bar .diff-status { - width: 50px; - background-color: #d9453d; - height: 10px; - margin-top: 7px; - margin-left: 4px; - margin-right: 4px; - border-radius: .2em; -} -.diff-bar .diff-status-inner { - width: 45%; - background-color: #65ad4e; - height: 10px; - border-top-left-radius: .2em; - border-bottom-left-radius: .2em; -} -#pr-commit, -#pr-file-diff, -#issue-add-comment-preview { - display: none; -} -#pr-conversation-list { - padding-right: 30px; - box-sizing: border-box; -} -.issue-comment, -.issue-commit, -.issue-line, -.issue-merge, -.issue-add-comment { - margin-bottom: 24px; -} -.issue-comment .author-avatar img { - margin-right: 12px; -} -.issue-comment .panel { - margin-left: 60px; - margin-top: -40px; -} -.issue-comment .panel-header { - font-size: 13px; -} -.issue-comment .author-name { - font-weight: bold; -} -.issue-comment .date { - margin-left: 4px; - font-style: italic; - color: #888; -} -.issue-comment .action > * { - margin-left: 4px; - font-size: 12px; -} -.issue-comment .action i { - font-size: 13px; -} -.issue-commit { - line-height: 32px; -} -.issue-commit i, -.issue-commit .author-avatar img { - margin-right: 16px; -} -.issue-commit .sha { - margin-left: 24px; -} -.issue-commit .message { - display: block; - margin-left: 88px; - padding-top: 4px; - line-height: 24px; -} -.issue-merge .ico { - width: 40px; - height: 40px; - text-align: center; - color: #FFF; - margin-right: 12px; -} -.issue-merge .ico i { - margin-top: 8px; - font-size: 24px; -} -.issue-merge .panel { - margin-left: 60px; - margin-top: -40px; -} -.issue-merge .panel-header { - font-size: 13px; -} -.issue-merge-ok .ico { - background-color: #65AD4E; -} -.issue-merge-ok .panel, -.issue-merge-ok .panel-content, -.issue-merge-ok .panel-header { - border-color: #65AD4E; - background-color: #FFF; -} -.issue-merge-ok .panel-header { - color: #508a3e; -} -.issue-line { - height: 4px; - background-color: #E6E6E6; -} -.issue-add-comment .panel { - margin-left: 60px; - margin-top: -40px; -} -.issue-add-comment .panel-header { - font-size: 13px; - padding-bottom: 0; -} -.issue-add-comment .add-nav > li > a { - padding: 4px 12px; - color: #444; - border: 1px solid #CCC; - margin-bottom: -1px; - font-size: 14px; - border-top-left-radius: .3em; - border-top-right-radius: .3em; -} -.issue-add-comment .add-nav > li > a:hover { - background-color: #FFF; -} -.issue-add-comment .add-nav > li.js-tab-nav-show > a { - background-color: #FFF; -} -textarea#issue-add-content { - width: 100%; - box-sizing: border-box; - height: 120px; - resize: vertical; -} -#issue-list-nav { - border-bottom: 1px solid #DDD; - padding-bottom: 12px; -} -#issue-list-nav li > a { - font-size: 13px; - font-weight: bold; - padding: .2em .8em; -} -#issue-list-nav li.current > a { - background-color: #0079bc; - color: #FAFAFA; -} -#issue-list-nav li.right { - margin-left: 4px; -} -#issue-new > a, -#label-new > a, -#milestone-new > a { - padding: 0 !important; -} -#issue-new > a button, -#label-new > a button, -#milestone-new > a button { - height: 29px; -} -#issue-list-menu { - padding: 16px 0 12px 0; - border-bottom: 1px solid #BBB; - margin-bottom: 12px; -} -#issue-list-menu .mark a { - color: #AAA; -} -#issue-list-menu .mark a:hover { - color: #444; -} -#issue-list-menu .mark.hover a { - color: #222; - font-weight: bold; -} -#issue-list-menu > .left .mark { - margin-right: 12px; -} -#issue-list-menu > .right .mark { - margin-left: 12px; -} -#issue-list .item, -#pull-list .item { - position: relative; - padding-bottom: 12px; - margin-bottom: 12px; - border-bottom: 1px dashed #AAA; -} -#issue-list .item .title > .title-text, -#pull-list .item .title > .title-text { - color: #444; - font-size: 15px; - margin: 0 6px; -} -#issue-list .comment, -#pull-list .comment { - color: #666; - position: absolute; - top: 6px; - right: 0; -} -#issue-list .issue-label a, -#pull-list .issue-label a { - color: #FFF; -} -#issue-list .desc, -#pull-list .desc { - color: #999; -} -#issue-list .desc a, -#pull-list .desc a { - color: #999; -} -#issue-list .desc a:hover, -#pull-list .desc a:hover { - color: #03a2ef; -} -#issue-list-filter .drop > a { - width: 90px; - padding: 0; - margin-left: 12px; - text-align: center; -} -#issue-list-filter .drop-down { - z-index: 999; - width: 236px; - left: -158px; - top: 22px; - padding: 0 12px; -} -#issue-list-filter .drop-down h4 { - line-height: 40px; - border-bottom: 1px solid #CCC; - margin-bottom: 0; -} -#issue-list-filter .drop-down li { - line-height: 30px; - border-bottom: 1px dashed #EEE; - padding-left: 9px; -} -#issue-list-filter .drop-down li:hover { - background-color: #fcffec; -} -#issue-list-filter .drop-down > ul > li > a { - display: block; -} -#issue-list-filter .labels .color { - margin-top: 8px; - display: inline-block; - width: 12px; - height: 12px; - background-color: red; - margin-right: 9px; - margin-left: 9px; -} -#issue-list-filter .labels .name { - vertical-align: top; - display: inline-block; - color: #444; -} -#issue-list-filter .milestones a { - color: #444; - font-weight: bold; -} -#issue-list-pager { - margin: 18px 0 24px 0; - font-size: 14px; - line-height: 24px; -} -#labels-num { - margin-right: 1em; -} -#label-list a.right { - margin-left: 1em; - color: #999; - line-height: 30px; -} -#label-list a.right i { - margin-right: 3px; -} -#label-list a.right:hover { - color: #444444; -} -#label-list .num { - margin-right: 3px; -} -#label-list .issue-num { - margin-right: 4em; -} -#label-list .label:hover { - color: #FFF; -} -#label-list .label i { - margin-right: 6px; -} -#label-list .item { - height: 30px; - padding-bottom: 12px; - margin-bottom: 12px; - border-bottom: 1px dashed #AAA; -} -#label-add-form .ipt, -#label-edit-form .ipt, -#label-delete-form .ipt { - font-size: 14px; -} -#label-add-form .ipt[name=name], -#label-edit-form .ipt[name=name], -#label-delete-form .ipt[name=name] { - width: 300px; -} -#label-add-form .btn, -#label-edit-form .btn, -#label-delete-form .btn { - height: 33px; - font-size: 14px; - margin-left: 12px; -} -#label-add-form { - padding: 18px 0; - border-bottom: 1px solid #DDD; -} -#label-delete-form span { - line-height: 33px; -} -.label-color-drop .ipt { - width: 100px; -} -.label-color-drop .drop-down { - width: 128px !important; - top: 22px !important; - left: 50px !important; - padding: 12px; - line-height: 16px; -} -.label-color-drop .drop-down a.color { - width: 16px; - height: 16px; - display: inline-block; -} -.label-color-drop label { - width: 24px; - height: 24px; - display: inline-block; - margin: 0 1em; - vertical-align: middle; -} -#milestone-list { - padding-top: 6px; -} -#milestone-list .title-text { - font-size: 16px; -} -#milestone-list .desc { - color: #999; - line-height: 30px; -} -#milestone-list .content { - width: 400px; -} -#milestone-list .item { - padding-bottom: 18px; - margin-bottom: 18px; - border-bottom: 1px dashed #AAA; - position: relative; -} -#milestone-list .action { - position: absolute; - top: 0; - right: 0; -} -#milestone-list .status-bar > .bar { - margin: -2px 8px 0 8px; - width: 360px; - background-color: #DDD; - height: 14px; - vertical-align: middle; -} -#milestone-list .status-bar .opening { - background-color: #65ad4e; - width: 40%; - height: 14px; - vertical-align: top; -} -#milestone-list .action-bar { - margin-top: 8px; -} -#milestone-list .action-bar a { - margin-left: 12px; -} -.issues.list-group { - margin: 10px 0 20px 0; -} -.issues.list-group > .list-group-item { - background-color: #FFF; - border: 1px solid #e5e5e5; - display: block; - padding: 10px 15px; - margin-bottom: -1px; -} -.issues.list-group > .list-group-item:hover { - background-color: rgba(19, 95, 215, 0.03); -} -.issues.list-group > .list-group-item > .title { - margin-bottom: 16px; - font-weight: bold; - font-size: 1.2em; -} -.issues.list-group > .list-group-item > .title > a { - color: #444; -} -.issues.list-group > .list-group-item > .info span { - margin-right: 12px; - color: #888; - line-height: 20px; -} -.issues.list-group > .list-group-item > .info span > a { - color: #444; -} -.org-header-alert .alert { - margin-top: 10px; -} -.org-header { - padding: 16px 0; - background-color: #FFF; - border-bottom: 1px solid #DDD; -} -.org-header img { - padding-right: 10px; -} -#org-home-header { - min-height: 100px; -} -#org-header { - height: 48px; -} -#org-header .org-name { - padding-left: 10px; - font-size: 1.4em; - height: 50px; - line-height: 50px; - margin-bottom: 0; -} -#org-header > div > .menu-line > li.right > a { - font-size: 1.2em; - color: #444444; -} -#org-header > div > .menu-line > li.right > a:hover { - background-color: transparent; - color: #d9453d; -} -#org-header > div > .menu-line > li.right > a .octicon { - margin-right: 4px; -} -#org-header > div > .menu-line > li.right > a .label { - margin-left: 4px; -} -#org-header > div > .menu-line > li.right .current { - border-bottom: 2px solid #D26911; -} -#org-home-header-info { - padding-top: 10px; -} -#org-home-header-info h2 { - font-size: 30px; -} -#org-home-header-info ul { - list-style: none; -} -#org-home-header-info ul li { - float: left; - padding-right: 5px; -} -#org-home-repo-list { - padding: 10px 0; -} -#org-repo-list { - padding: 10px 0; -} -#org-repo-list .org-repo-item { - border-top: 1px solid #eee; - padding: 30px 20px; -} -#org-repo-list .org-repo-item .org-repo-status { - list-style: none; - color: #888; -} -#org-repo-list .org-repo-item .org-repo-status li { - float: left; - margin-right: 6px; -} -#org-repo-list .org-repo-item h2 { - margin-bottom: 5px; -} -#org-repo-list .org-repo-item .org-repo-description { - margin: 0; - font-size: 14px; - color: #666; -} -#org-repo-list .org-repo-item .org-repo-updated { - font-size: 12px; - display: block; - margin: 5px 0 0; - color: #808080; -} -.org-sidebar { - margin: -80px 0 0 20px; -} -.org-sidebar .panel-footer { - padding: .8em 1.2em; -} -.org-sidebar .member-avatar-group { - padding: 15px; -} -.org-sidebar .member-avatar-group img { - width: 59px; - height: 59px; - border-radius: 3px; -} -#org-home-team-list { - padding: 0 15px; -} -#org-home-team-list ul { - list-style: none; - padding-top: 10px; -} -#org-home-team-list ul li { - padding: 10px 0; - border-bottom: 1px solid #eee; -} -#org-home-team-list ul li:last-child { - border-bottom: 0; -} -.team-name { - display: block; - font-size: 14px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -.team-meta { - margin-top: 0; - margin-bottom: 0; - color: #777; -} -.org-toolbar { - padding: 10px 0; - border-bottom: 1px solid #eee; -} -#org-member-list .org-member-item { - height: 50px; - line-height: 50px; - border-bottom: 1px solid #eee; - padding: 15px 20px; -} -#org-member-list .org-member-item .member-name { - padding-left: 15px; -} -#org-member-list .org-member-item ul { - list-style: none; -} -#org-member-list .org-member-item ul li { - text-align: center; - display: inline-block; -} -.invite-box { - padding: 50px 0; - min-height: 130px; - margin: 0 auto; - width: 50%; -} -.invite-box input { - width: 300px; -} -#org-member-list-block { - padding-top: 2px; -} -.org-team-list .org-team-list-item { - float: left; - padding: 15px; - width: 555px; -} -.org-team-list .org-team-list-item .member-avatar-group { - padding: 5px 15px; -} -.org-team-list .org-team-list-item .member-avatar-group img { - width: 38px; - height: 38px; - border-radius: 3px; -} -#team-create-form .note { - margin-left: 153px; -} -#org-team-card .desc { - font-size: 14px; - padding: 10px 20px; -} -#org-team-card .team-stats { - padding: 0 20px 10px 20px; - text-transform: uppercase; - border-bottom: 1px solid #dddddd; -} -#org-team-card .panel-footer { - padding: 10px 20px; -} -#team-repositories-list .panel-body .search, -#team-members-list .panel-body .search { - padding: 4px 0 10px 10px; - border-bottom: 1px solid #dddddd; -} -#team-repositories-list li.collab, -#team-members-list li.collab { - padding-top: 10px !important; - border-bottom: 1px solid #dddddd; -} -#team-repositories-list li:last-child, -#team-members-list li:last-child { - border-bottom: 0 !important; -} -#team-repositories-list li a .octicon { - color: #888; -} -#team-repositories-list li .member { - color: #428bca; - font-size: 14px; - height: 40px; - line-height: 40px; -} -.admin-panel { - padding: 10px 20px; -} -.admin-desc { - padding: 10px 20px; -} -.admin-table { - padding: 15px 0 5px 0; -} -.dl-horizontal dt { - float: left; - width: 160px; - clear: left; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -.admin-dl-horizontal { - padding: 20px; -} -.admin-dl-horizontal > dt { - width: 250px; -} -.admin-dl-horizontal > dd { - margin-left: 240px; -} -.profile-avatar { - width: 100%; - border-radius: 6px; -} -#profile-name { - padding: 10px 0; -} -#profile-fullname { - font-size: 1.6em; -} -#profile-username { - font-size: 1.6em; - font-weight: bold; -} -.profile-info { - font-size: 14px; -} -.profile-info ul { - padding-bottom: 10px; -} -.profile-info ul .list-group-item { - background-color: transparent; - padding-top: 5px; - color: #666; -} -.profile-info ul .profile-rel { - width: 31%; - text-align: center; - display: inline-block; -} -.profile-info ul .profile-rel strong { - display: block; - font-size: 28px; - font-weight: bold; - line-height: 1; -} -.profile-info ul .profile-rel p { - font-size: 12px; -} -#profile-header li a { - font-size: 1.2em; - color: #444444; - padding: .4em .8em; -} -#profile-header li a:hover { - background-color: transparent; - color: #d9453d; -} -#profile-header li .current { - border-bottom: 2px solid #D26911; -} -#profile-body { - margin-left: 20px; -} diff --git a/public/ng/css/magnific-popup.css b/public/ng/css/magnific-popup.css deleted file mode 100644 index 798ac9d8..00000000 --- a/public/ng/css/magnific-popup.css +++ /dev/null @@ -1,368 +0,0 @@ -/* Magnific Popup CSS */ -.mfp-bg { - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 1042; - overflow: hidden; - position: fixed; - background: #0b0b0b; - opacity: 0.8; - filter: alpha(opacity=80); } - -.mfp-wrap { - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 1043; - position: fixed; - outline: none !important; - -webkit-backface-visibility: hidden; } - -.mfp-container { - text-align: center; - position: absolute; - width: 100%; - height: 100%; - left: 0; - top: 0; - padding: 0 8px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; } - -.mfp-container:before { - content: ''; - display: inline-block; - height: 100%; - vertical-align: middle; } - -.mfp-align-top .mfp-container:before { - display: none; } - -.mfp-content { - position: relative; - display: inline-block; - vertical-align: middle; - margin: 0 auto; - text-align: left; - z-index: 1045; } - -.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content { - width: 100%; - cursor: auto; } - -.mfp-ajax-cur { - cursor: progress; } - -.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close { - cursor: -moz-zoom-out; - cursor: -webkit-zoom-out; - cursor: zoom-out; } - -.mfp-zoom { - cursor: pointer; - cursor: -webkit-zoom-in; - cursor: -moz-zoom-in; - cursor: zoom-in; } - -.mfp-auto-cursor .mfp-content { - cursor: auto; } - -.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter { - -webkit-user-select: none; - -moz-user-select: none; - user-select: none; } - -.mfp-loading.mfp-figure { - display: none; } - -.mfp-hide { - display: none !important; } - -.mfp-preloader { - color: #cccccc; - position: absolute; - top: 50%; - width: auto; - text-align: center; - margin-top: -0.8em; - left: 8px; - right: 8px; - z-index: 1044; } - .mfp-preloader a { - color: #cccccc; } - .mfp-preloader a:hover { - color: white; } - -.mfp-s-ready .mfp-preloader { - display: none; } - -.mfp-s-error .mfp-content { - display: none; } - -button.mfp-close, button.mfp-arrow { - overflow: visible; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; - display: block; - outline: none; - padding: 0; - z-index: 1046; - -webkit-box-shadow: none; - box-shadow: none; } -button::-moz-focus-inner { - padding: 0; - border: 0; } - -.mfp-close { - width: 44px; - height: 44px; - line-height: 44px; - position: absolute; - right: 0; - top: 0; - text-decoration: none; - text-align: center; - opacity: 0.65; - filter: alpha(opacity=65); - padding: 0 0 18px 10px; - color: white; - font-style: normal; - font-size: 28px; - font-family: Arial, Baskerville, monospace; } - .mfp-close:hover, .mfp-close:focus { - opacity: 1; - filter: alpha(opacity=100); } - .mfp-close:active { - top: 1px; } - -.mfp-close-btn-in .mfp-close { - color: #333333; } - -.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close { - color: white; - right: -6px; - text-align: right; - padding-right: 6px; - width: 100%; } - -.mfp-counter { - position: absolute; - top: 0; - right: 0; - color: #cccccc; - font-size: 12px; - line-height: 18px; } - -.mfp-arrow { - position: absolute; - opacity: 0.65; - filter: alpha(opacity=65); - margin: 0; - top: 50%; - margin-top: -55px; - padding: 0; - width: 90px; - height: 110px; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } - .mfp-arrow:active { - margin-top: -54px; } - .mfp-arrow:hover, .mfp-arrow:focus { - opacity: 1; - filter: alpha(opacity=100); } - .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a { - content: ''; - display: block; - width: 0; - height: 0; - position: absolute; - left: 0; - top: 0; - margin-top: 35px; - margin-left: 35px; - border: medium inset transparent; } - .mfp-arrow:after, .mfp-arrow .mfp-a { - border-top-width: 13px; - border-bottom-width: 13px; - top: 8px; } - .mfp-arrow:before, .mfp-arrow .mfp-b { - border-top-width: 21px; - border-bottom-width: 21px; - opacity: 0.7; } - -.mfp-arrow-left { - left: 0; } - .mfp-arrow-left:after, .mfp-arrow-left .mfp-a { - border-right: 17px solid white; - margin-left: 31px; } - .mfp-arrow-left:before, .mfp-arrow-left .mfp-b { - margin-left: 25px; - border-right: 27px solid #3f3f3f; } - -.mfp-arrow-right { - right: 0; } - .mfp-arrow-right:after, .mfp-arrow-right .mfp-a { - border-left: 17px solid white; - margin-left: 39px; } - .mfp-arrow-right:before, .mfp-arrow-right .mfp-b { - border-left: 27px solid #3f3f3f; } - -.mfp-iframe-holder { - padding-top: 40px; - padding-bottom: 40px; } - .mfp-iframe-holder .mfp-content { - line-height: 0; - width: 100%; - max-width: 900px; } - .mfp-iframe-holder .mfp-close { - top: -40px; } - -.mfp-iframe-scaler { - width: 100%; - height: 0; - overflow: hidden; - padding-top: 56.25%; } - .mfp-iframe-scaler iframe { - position: absolute; - display: block; - top: 0; - left: 0; - width: 100%; - height: 100%; - box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); - background: black; } - -/* Main image in popup */ -img.mfp-img { - width: auto; - max-width: 100%; - height: auto; - display: block; - line-height: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - padding: 40px 0 40px; - margin: 0 auto; } - -/* The shadow behind the image */ -.mfp-figure { - line-height: 0; } - .mfp-figure:after { - content: ''; - position: absolute; - left: 0; - top: 40px; - bottom: 40px; - display: block; - right: 0; - width: auto; - height: auto; - z-index: -1; - box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); - background: #444444; } - .mfp-figure small { - color: #bdbdbd; - display: block; - font-size: 12px; - line-height: 14px; } - .mfp-figure figure { - margin: 0; } - -.mfp-bottom-bar { - margin-top: -36px; - position: absolute; - top: 100%; - left: 0; - width: 100%; - cursor: auto; } - -.mfp-title { - text-align: left; - line-height: 18px; - color: #f3f3f3; - word-wrap: break-word; - padding-right: 36px; } - -.mfp-image-holder .mfp-content { - max-width: 100%; } - -.mfp-gallery .mfp-image-holder .mfp-figure { - cursor: pointer; } - -@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) { - /** - * Remove all paddings around the image on small screen - */ - .mfp-img-mobile .mfp-image-holder { - padding-left: 0; - padding-right: 0; } - .mfp-img-mobile img.mfp-img { - padding: 0; } - .mfp-img-mobile .mfp-figure:after { - top: 0; - bottom: 0; } - .mfp-img-mobile .mfp-figure small { - display: inline; - margin-left: 5px; } - .mfp-img-mobile .mfp-bottom-bar { - background: rgba(0, 0, 0, 0.6); - bottom: 0; - margin: 0; - top: auto; - padding: 3px 5px; - position: fixed; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; } - .mfp-img-mobile .mfp-bottom-bar:empty { - padding: 0; } - .mfp-img-mobile .mfp-counter { - right: 5px; - top: 3px; } - .mfp-img-mobile .mfp-close { - top: 0; - right: 0; - width: 35px; - height: 35px; - line-height: 35px; - background: rgba(0, 0, 0, 0.6); - position: fixed; - text-align: center; - padding: 0; } } - -@media all and (max-width: 900px) { - .mfp-arrow { - -webkit-transform: scale(0.75); - transform: scale(0.75); } - .mfp-arrow-left { - -webkit-transform-origin: 0; - transform-origin: 0; } - .mfp-arrow-right { - -webkit-transform-origin: 100%; - transform-origin: 100%; } - .mfp-container { - padding-left: 6px; - padding-right: 6px; } } - -.mfp-ie7 .mfp-img { - padding: 0; } -.mfp-ie7 .mfp-bottom-bar { - width: 600px; - left: 50%; - margin-left: -300px; - margin-top: 5px; - padding-bottom: 5px; } -.mfp-ie7 .mfp-container { - padding: 0; } -.mfp-ie7 .mfp-content { - padding-top: 44px; } -.mfp-ie7 .mfp-close { - top: 0; - right: 0; - padding-top: 0; } diff --git a/public/ng/css/tipsy.css b/public/ng/css/tipsy.css deleted file mode 100644 index f170fb71..00000000 --- a/public/ng/css/tipsy.css +++ /dev/null @@ -1,25 +0,0 @@ -.tipsy { font-size: 10px; position: absolute; padding: 5px; z-index: 100000; } - .tipsy-inner { background-color: #000; color: #FFF; max-width: 200px; padding: 5px 8px 4px 8px; text-align: center; } - - /* Rounded corners */ - .tipsy-inner { border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; } - - /* Uncomment for shadow */ - /*.tipsy-inner { box-shadow: 0 0 5px #000000; -webkit-box-shadow: 0 0 5px #000000; -moz-box-shadow: 0 0 5px #000000; }*/ - - .tipsy-arrow { position: absolute; width: 0; height: 0; line-height: 0; border: 5px dashed #000; } - - /* Rules to colour arrows */ - .tipsy-arrow-n { border-bottom-color: #000; } - .tipsy-arrow-s { border-top-color: #000; } - .tipsy-arrow-e { border-left-color: #000; } - .tipsy-arrow-w { border-right-color: #000; } - - .tipsy-n .tipsy-arrow { top: 0px; left: 50%; margin-left: -5px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent; } - .tipsy-nw .tipsy-arrow { top: 0; left: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;} - .tipsy-ne .tipsy-arrow { top: 0; right: 10px; border-bottom-style: solid; border-top: none; border-left-color: transparent; border-right-color: transparent;} - .tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -5px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; } - .tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; } - .tipsy-se .tipsy-arrow { bottom: 0; right: 10px; border-top-style: solid; border-bottom: none; border-left-color: transparent; border-right-color: transparent; } - .tipsy-e .tipsy-arrow { right: 0; top: 50%; margin-top: -5px; border-left-style: solid; border-right: none; border-top-color: transparent; border-bottom-color: transparent; } - .tipsy-w .tipsy-arrow { left: 0; top: 50%; margin-top: -5px; border-right-style: solid; border-left: none; border-top-color: transparent; border-bottom-color: transparent; } diff --git a/public/ng/css/ui.css b/public/ng/css/ui.css deleted file mode 100644 index fc128ff7..00000000 --- a/public/ng/css/ui.css +++ /dev/null @@ -1,945 +0,0 @@ -* { - padding: 0; - margin: 0; -} -html { - font-size: 13px; - font-family: Helvetica, "Microsoft Yahei", Arial, sans-serif; - -ms-text-size-adjust: 100%; - -webkit-text-size-adjust: 100%; - line-height: 24px; - color: #444444; - background-color: #fafafa; -} -input, -textarea, -select, -option, -button { - font-family: Helvetica, "Microsoft Yahei", Arial, sans-serif; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -main, -nav, -section, -summary, -.block { - display: block; -} -.inline { - display: inline; -} -.inline-block { - display: inline-block; -} -.dis-table { - display: table; -} -.dis-table-cell { - display: table-cell; -} -.dis-flex { - display: flex; -} -audio, -canvas, -progress, -video { - display: inline-block; - vertical-align: baseline; -} -audio:not([controls]) { - display: none; - height: 0; -} -[hidden], -template, -.hidden { - display: none; -} -.opacity { - opacity: 0; -} -.opacity-half { - opacity: .5; -} -a, -.text-link { - color: #428bca; - text-decoration: none; - cursor: pointer; -} -a:hover, -.text-link:hover { - color: #399ade; - text-decoration: none; -} -a:focus, -.text-link:focus { - outline: none; -} -b, -strong, -.text-bold { - font-weight: bold; -} -dfn, -.text-italic { - font-style: italic; -} -h1, -.text-h1 { - font-size: 2em; - margin-bottom: 0.67em; -} -h2, -.text-h2 { - font-size: 1.6em; - margin-bottom: 0.625em; -} -h3, -.text-h3 { - font: 1.2em; - margin-bottom: 0.5em; -} -h4, -h5, -h6, -.text-h4, -.text-h5, -.text-h6 { - font-size: 1em; - margin-bottom: .3em; -} -small, -.text-small { - font-size: .8em; -} -sub, -sup, -.text-sup, -.text-sub { - font-size: .7em; - line-height: 0; - position: relative; - vertical-align: baseline; -} -sup, -.text-sup { - top: -0.5em; -} -sub, -.text-sub { - bottom: -0.25em; -} -.figure, -.blockquote { - margin: 1em 1.5em; -} -pre { - overflow: auto; - margin: 0; - padding: .4em 1em; -} -code, -kbd, -pre, -samp { - font-family: monospace; - font-size: 1em; -} -.text-left { - text-align: left; -} -.text-right { - text-align: right; -} -.text-center { - text-align: center; -} -.list-no-style { - list-style: none; -} -img { - border: none; -} -svg:not(:root) { - overflow: hidden; -} -label { - font-weight: bold; -} -textarea, -input, -.ipt { - padding: .6em; - line-height: normal; - border: 1px solid #bbbbbb; -} -textarea:focus, -input:focus, -.ipt:focus { - background-color: #f2fffc; - outline: none; -} -button, -.btn { - overflow: visible; - padding: .6em 1.2em; -} -button, -select { - text-transform: none; -} -button:focus, -select:focus { - outline: none; -} -button, -input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - -moz-appearance: button; - cursor: pointer; - background-color: #888888; - color: #fafafa; - border: none; -} -button:hover, -input[type="button"]:hover, -input[type="reset"]:hover, -input[type="submit"]:hover { - background-color: #444444; - color: #ffffff; -} -button[disabled], -html input[disabled] { - cursor: default; -} -button::-moz-focus-inner, -input::-moz-focus-inner { - border: 0; - padding: 0; -} -input[type="checkbox"], -input[type="radio"] { - box-sizing: border-box; - padding: 0; -} -input[type="search"] { - -webkit-appearance: textfield; - -moz-appearance: textfield; - -moz-box-sizing: content-box; - -webkit-box-sizing: content-box; - box-sizing: content-box; -} -fieldset { - border: 1px solid #bbbbbb; - margin: 0 2px; - padding: 0.4em 0.8em 0.8em; -} -legend { - border: 0; - padding: 0; -} -textarea { - overflow: auto; - border: 1px solid #bbbbbb; - padding: .6em; -} -textarea:focus { - background-color: #f2fffc; - outline: none; -} -optgroup { - font-weight: bold; -} -table { - background-color: transparent; - border-collapse: collapse; - border-spacing: 0; -} -td, -th { - padding: 0; -} -hr { - -moz-box-sizing: content-box; - box-sizing: content-box; - height: 0; - border: none; - border-bottom: 1px solid #dddddd; - margin-bottom: .75em; -} -.radius { - border-radius: .25em; -} -.text-truncate { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - display: inline-block; - vertical-align: top; -} -pre { - line-height: 1.6; - overflow: auto; - padding: 0; -} -dt { - font-weight: bold; -} -.left { - float: left; -} -.right { - float: right; -} -.clear::after { - clear: both; - content: " "; - width: 0; - height: 0; - display: block; -} -.hide { - display: none; -} -.grid-1-12 { - width: 8.33%; -} -.grid-2-12, -.grid-1-6 { - width: 16.67%; -} -.grid-3-12, -.grid-1-4 { - width: 25%; -} -.grid-4-12, -.grid-1-3 { - width: 33%; -} -.grid-5-12 { - width: 41.67%; -} -.grid-6-12, -.grid-1-2 { - width: 50%; -} -.grid-7-12 { - width: 58.33%; -} -.grid-8-12, -.grid-2-3 { - width: 66.67%; -} -.grid-9-12, -.grid-3-4 { - width: 75%; -} -.grid-10-12, -.grid-5-6 { - width: 83.33%; -} -.grid-11-12 { - width: 91.67%; -} -*[class*="grid-"] { - box-sizing: content-box; -} -.grid-1-5 { - width: 20%; -} -.grid-2-5 { - width: 40%; -} -.grid-3-5 { - width: 60%; -} -.grid-4-5 { - width: 80%; -} -.btn { - white-space: nowrap; -} -.btn-small { - font-size: 10.8px; - padding: .4em .9em; -} -.btn-medium { - font-size: 12px; - padding: .4em .9em; -} -.btn-large { - font-size: 14.4px; - padding: .4em .9em; -} -.btn-green { - background-color: #65ad4e; - border: 1px solid #65ad4e; -} -.btn-green:hover { - background-color: #71bf57; - color: #FFF; -} -.btn-blue { - background-color: #428bca; - border: 1px solid #428bca; -} -.btn-blue:hover { - background-color: #539cdb; - color: #FFF; -} -.btn-red { - color: #FFF; - background-color: #d9453d; - border: 1px solid #d9453d; -} -.btn-red:hover { - background-color: #ff635a; - color: #FFF; -} -.btn-orange { - background-color: #df7514; - border: 1px solid #df7514; -} -.btn-orange:hover { - background-color: #df8229; - color: #FFF; -} -.btn-black { - background-color: #444444; - border: 1px solid #444444; -} -.btn-black:hover { - background-color: #383838; - color: #FFF; -} -.btn-gray { - background-color: #f0f0f0; - color: #444444; - border: 1px solid #d0d0d0; -} -.btn-gray:hover { - background-color: #fafafa; - color: #444444; -} -.btn-white { - background-color: #ffffff; - color: #444444; - border: 1px solid #c6c6c6; -} -.btn-white:hover { - background-color: #e8e8e8; - color: #444444; -} -.btn-white.active { - background-color: #e8e8e8; - color: #444444; -} -.btn-active { - box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset, 0 0 4px rgba(0, 0, 0, 0.15) inset; -} -.btn-header { - margin-top: -1px; - color: white; - padding: 0 10px; -} -.btn-link { - overflow: visible; - color: white; - padding: .6em 1.2em; -} -.btn-radius { - border-radius: .25em; -} -.btn-left-radius { - border-top-left-radius: .25em; - border-bottom-left-radius: .25em; -} -.btn-right-radius { - border-top-right-radius: .25em; - border-bottom-right-radius: .25em; -} -.btn-block { - display: block; - width: 100%; - box-sizing: content-box; - text-align: center; -} -.btn-comb { - margin-left: -1px; -} -.btn-disabled { - opacity: .6; - cursor: not-allowed; - box-shadow: none; - background-image: none !important; - border: none; -} -.btn-disabled:hover { - background-image: none !important; - color: #ffffff; -} -.btn-group { - display: inline-block; -} -.btn-group > .btn { - position: relative; - float: left; - margin-right: -1px; -} -.btn-group > .btn:first-child { - border-bottom-left-radius: .25em; - border-top-left-radius: .25em; -} -.btn-group > .btn:last-child { - border-bottom-right-radius: .25em; - border-top-right-radius: .25em; -} -.ipt:focus { - border-color: #428bca; -} -.ipt-radius { - border-radius: .25em; -} -.ipt-small { - font-size: 9.6px; -} -.ipt-large { - font-size: 14.4px; -} -.ipt-textarea { - height: auto !important; - width: auto; -} -.ipt-disabled, -input[disabled] { - background-color: #f2f2f2 !important; - color: #888; - cursor: not-allowed; -} -.ipt-disabled:focus, -input[disabled]:focus { - background-color: #f2f2f2 !important; -} -.ipt-readonly:focus, -input[readonly]:focus { - background-color: #f2f2f2 !important; -} -.ipt-error { - border-color: #b63b2c !important; - background-color: #fff0f0 !important; -} -.form label { - margin-right: 1em; -} -.form .help { - color: #999999; - padding-top: .6em; - display: inline-block; -} -.form-stack label { - display: block; -} -.form-stack .field { - margin-bottom: 1em; -} -.form-align label, -.form-align .form-label { - display: inline-block; - width: 120px; - text-align: right; - margin-right: 1em; -} -.form-align .field { - margin-bottom: 1em; -} -label.text-left { - text-align: left; -} -label.req:after { - content: "*"; - color: #d9453d; -} -ul.menu > li { - list-style: none; -} -ul.menu > li > a { - padding: .8em 1.2em; -} -ul.menu > li > a:hover { - background-color: #eaeaea; - color: #444444; -} -ul.menu > li > a.active { - background-color: #4183c4; - color: #FFF; -} -ul.menu > li.current > a, -ul.menu > li.hover > a { - color: #444444; -} -ul.menu > li.head { - font-weight: bold; - padding: .8em 1.2em; -} -ul.menu > li.down:hover > ul.menu-down { - display: block; -} -ul.menu > li.border-bottom { - border-bottom: 1px solid #bbbbbb; - height: 0; - margin: .5em 0; -} -ul.menu-line > li, -ul.menu-line > li > a { - display: inline-block; -} -ul.menu-line > li.down { - position: relative; -} -ul.menu-line > li.down > a:after { - content: "\25BE"; - margin-left: .4em; -} -ul.menu-line > li.down > ul.menu-down { - top: 2.1em; - width: 150%; -} -ul.menu-line > li.hover { - position: relative; -} -ul.menu-line > li.hover > a:after { - position: absolute; - content: "\25B4"; - left: 50%; - bottom: -1.1em; - margin-left: -4px; -} -ul.menu-vertical > li > a, -ul.menu-down > li > a, -ul.menu-vertical > li.head, -ul.menu-down > li.head { - display: block; - padding: .4em 1.2em; -} -ul.menu-vertical > li.down, -ul.menu-down > li.down { - position: relative; -} -ul.menu-vertical > li.down > a:after, -ul.menu-down > li.down > a:after { - content: "\25B8"; - position: absolute; - right: .6em; -} -ul.menu-vertical > li.hover, -ul.menu-down > li.hover { - position: relative; -} -ul.menu-vertical > li.hover > a:after, -ul.menu-down > li.hover > a:after { - content: "\25B8"; - position: absolute; - left: .5em; -} -ul.menu-border, -ul.menu-down { - border: 1px solid #bbbbbb; -} -ul.menu-border > li.head, -ul.menu-down > li.head { - border-bottom: 1px solid #bbbbbb; -} -ul.menu-down { - position: absolute; - display: none; - z-index: 99; - box-shadow: 0 0 2px #666666; - background-color: #ffffff; -} -ul.menu-down-show { - position: absolute; - z-index: 99; - box-shadow: 0 0 2px #666666; - background-color: #ffffff; -} -ul.menu-radius { - border-radius: .3em; -} -ul.menu-radius > li:first-child { - border-top-left-radius: .3em; - border-top-right-radius: .3em; -} -ul.menu-radius > li:first-child > a { - border-top-left-radius: .2em; - border-top-right-radius: .2em; -} -ul.menu-radius > li:last-child { - border-bottom-left-radius: .3em; - border-bottom-right-radius: .3em; -} -ul.menu-radius > li:last-child > a { - border-bottom-left-radius: .2em; - border-bottom-right-radius: .2em; -} -.drop { - position: relative; -} -.drop:hover > .drop-down { - position: absolute; - top: 0; - left: 0; - width: 200%; - display: block; -} -.drop > .drop-down { - display: none; - border: 1px solid #bbbbbb; - box-shadow: 0 0 3px #666666; - background-color: #ffffff; -} -.drop-bottom:after { - content: "\25BE"; - margin-left: .4em; -} -.drop-top:after { - content: "\25B4"; - margin-left: .4em; -} -.panel { - border: 1px solid #cccccc; -} -.panel .panel-header { - font-size: 16px; - padding: .6em 1.2em; - background-color: #eeeeee; - border-bottom: 1px solid #cccccc; -} -.panel .panel-body { - background-color: white; -} -.panel .panel-body .panel-desc { - padding: 0 40px 20px 40px; -} -.panel .panel-content { - padding: 1em 1.2em; -} -.panel .panel-footer { - padding: .6em 1.2em; - background-color: #eeeeee; - border-top: 1px solid #cccccc; -} -.panel.panel-radius { - border-radius: .3em; -} -.panel.panel-radius .panel-header { - border-top-left-radius: .3em; - border-top-right-radius: .3em; -} -.panel.panel-radius .panel-footer { - border-bottom-left-radius: .3em; - border-bottom-right-radius: .3em; -} -.panel.panel-radius .panel-content { - border-bottom-left-radius: .3em; - border-bottom-right-radius: .3em; -} -.panel.panel-info { - border-color: #85c5e5; -} -.panel.panel-info > .panel-header { - color: #31708f; - background-color: #d9edf7; - border-color: #85c5e5; -} -.panel.panel-warning { - border-color: #F0C36D; -} -.panel.panel-warning > .panel-header { - background-color: #F9EDBE; - border-color: #F0C36D; -} -.label { - padding: .3em .6em .2em .6em; - color: #ffffff; -} -.label-red { - background-color: #d9453d; -} -.label-blue { - background-color: #428bca; -} -.label-gray { - background-color: #999999; -} -.label-green { - background-color: #65ad4e; -} -.label-green:hover { - background-color: #71bf57; - color: #FFF; -} -.label-orange { - background-color: #df7514; -} -.label-black { - background-color: #444444; -} -.label-radius { - border-radius: .2em; -} -.label-link { - color: #ffffff; -} -.label-link:hover { - color: #ffffff; -} -.breads .bread:after { - content: "/"; - font-weight: bold; - margin: 0 4px 0 7px; - color: #444444; -} -.breads .bread:last-child:after { - content: ""; - margin: 0; -} -.alert { - padding: .6em 1.5em; - margin-bottom: 10px; -} -.alert i { - margin-right: 8px; -} -.alert-radius { - border-radius: .25em; -} -.alert-red { - color: #d9453d; - border: 1px solid #be2d25; - background-color: #fae9e8; -} -.alert-blue { - color: #428bca; - border: 1px solid #3071a9; - background-color: #f5f9fc; -} -.alert-green { - color: #65ad4e; - border: 1px solid #508a3e; - background-color: #edf6eb; -} -.alert-gray { - color: #999999; - border: 1px solid #808080; - background-color: #f2f2f2; -} -.alert-orange { - color: #df7514; - border: 1px solid #b05c10; - background-color: #fcecdd; -} -.white-popup-block { - background: #FFF; - padding: 20px 30px; - text-align: left; - max-width: 650px; - margin: 40px auto; - position: relative; -} -.white-popup-block p { - font-size: 14px; -} -table th, -table td { - padding: .3em .6em; - line-height: 30px; -} -.table-border { - border: 1px solid #d6d6d6; -} -.table-border tr { - border-top: 1px solid #eaeaea; -} -.table-border tr th, -.table-border tr td { - border-top: 1px solid #eaeaea; -} -.table-border tr:first-child { - border-top: none; -} -.table-border thead { - border-bottom: 1px solid #d6d6d6; -} -.table-block { - width: 100%; - box-sizing: border-box; -} -.table-radius { - border-collapse: separate !important; - border-radius: .3em; -} -.table-radius thead:first-child { - border-top-left-radius: .3em; - border-top-right-radius: .3em; -} -.table-radius thead:first-child tr:first-child { - border-top-left-radius: .3em; -} -.table-radius thead:first-child tr:first-child > th:first-child { - border-top-left-radius: .3em; -} -.table-radius thead:first-child tr:first-child > th:last-child { - border-top-right-radius: .3em; -} -.table-radius tbody { - border-bottom-left-radius: .3em; - border-bottom-right-radius: .3em; -} -.table-radius tbody tr:last-child { - border-bottom-left-radius: .3em; - border-bottom-right-radius: .3em; -} -.table-radius tbody tr:last-child > td:first-child { - border-bottom-left-radius: .3em; -} -.table-radius tbody tr:last-child > td:last-child { - border-bottom-right-radius: .3em; -} -.pager .page { - padding: .3em .5em .2em .5em; - margin: 0 .3em; - background-color: #cccccc; - color: #444444; -} -.pager .page:hover, -.pager .page.hover { - background-color: #428bca; - color: #ffffff; -} -.pager .prev, -.pager .next { - padding: .4em .6em; - margin: 0 .3em; - background-color: #505050; - color: #fafafa; -} -.pager .prev.invalid, -.pager .next.invalid { - background-color: #eeeeee; - color: #aaaaaa; - cursor: not-allowed; -} -.pager .page-radius { - border-radius: .2em; -} diff --git a/public/ng/fonts/FontAwesome.otf b/public/ng/fonts/FontAwesome.otf deleted file mode 100644 index 681bdd4d..00000000 Binary files a/public/ng/fonts/FontAwesome.otf and /dev/null differ diff --git a/public/ng/fonts/fontawesome-webfont.eot b/public/ng/fonts/fontawesome-webfont.eot deleted file mode 100644 index a30335d7..00000000 Binary files a/public/ng/fonts/fontawesome-webfont.eot and /dev/null differ diff --git a/public/ng/fonts/fontawesome-webfont.svg b/public/ng/fonts/fontawesome-webfont.svg deleted file mode 100644 index 6fd19abc..00000000 --- a/public/ng/fonts/fontawesome-webfont.svg +++ /dev/null @@ -1,640 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/public/ng/fonts/fontawesome-webfont.ttf b/public/ng/fonts/fontawesome-webfont.ttf deleted file mode 100644 index d7994e13..00000000 Binary files a/public/ng/fonts/fontawesome-webfont.ttf and /dev/null differ diff --git a/public/ng/fonts/fontawesome-webfont.woff b/public/ng/fonts/fontawesome-webfont.woff deleted file mode 100644 index 6fd4ede0..00000000 Binary files a/public/ng/fonts/fontawesome-webfont.woff and /dev/null differ diff --git a/public/ng/fonts/fontawesome-webfont.woff2 b/public/ng/fonts/fontawesome-webfont.woff2 deleted file mode 100644 index 5560193c..00000000 Binary files a/public/ng/fonts/fontawesome-webfont.woff2 and /dev/null differ diff --git a/public/ng/fonts/octicons.css b/public/ng/fonts/octicons.css deleted file mode 100755 index a5dcd153..00000000 --- a/public/ng/fonts/octicons.css +++ /dev/null @@ -1,235 +0,0 @@ -@font-face { - font-family: 'octicons'; - src: url('octicons.eot?#iefix') format('embedded-opentype'), - url('octicons.woff') format('woff'), - url('octicons.ttf') format('truetype'), - url('octicons.svg#octicons') format('svg'); - font-weight: normal; - font-style: normal; -} - -/* - -.octicon is optimized for 16px. -.mega-octicon is optimized for 32px but can be used larger. - -*/ -.octicon, .mega-octicon { - font: normal normal normal 16px/1 octicons; - display: inline-block; - text-decoration: none; - text-rendering: auto; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} -.mega-octicon { font-size: 32px; } - - -.octicon-alert:before { content: '\f02d'} /*  */ -.octicon-alignment-align:before { content: '\f08a'} /*  */ -.octicon-alignment-aligned-to:before { content: '\f08e'} /*  */ -.octicon-alignment-unalign:before { content: '\f08b'} /*  */ -.octicon-arrow-down:before { content: '\f03f'} /*  */ -.octicon-arrow-left:before { content: '\f040'} /*  */ -.octicon-arrow-right:before { content: '\f03e'} /*  */ -.octicon-arrow-small-down:before { content: '\f0a0'} /*  */ -.octicon-arrow-small-left:before { content: '\f0a1'} /*  */ -.octicon-arrow-small-right:before { content: '\f071'} /*  */ -.octicon-arrow-small-up:before { content: '\f09f'} /*  */ -.octicon-arrow-up:before { content: '\f03d'} /*  */ -.octicon-beer:before { content: '\f069'} /*  */ -.octicon-book:before { content: '\f007'} /*  */ -.octicon-bookmark:before { content: '\f07b'} /*  */ -.octicon-briefcase:before { content: '\f0d3'} /*  */ -.octicon-broadcast:before { content: '\f048'} /*  */ -.octicon-browser:before { content: '\f0c5'} /*  */ -.octicon-bug:before { content: '\f091'} /*  */ -.octicon-calendar:before { content: '\f068'} /*  */ -.octicon-check:before { content: '\f03a'} /*  */ -.octicon-checklist:before { content: '\f076'} /*  */ -.octicon-chevron-down:before { content: '\f0a3'} /*  */ -.octicon-chevron-left:before { content: '\f0a4'} /*  */ -.octicon-chevron-right:before { content: '\f078'} /*  */ -.octicon-chevron-up:before { content: '\f0a2'} /*  */ -.octicon-circle-slash:before { content: '\f084'} /*  */ -.octicon-circuit-board:before { content: '\f0d6'} /*  */ -.octicon-clippy:before { content: '\f035'} /*  */ -.octicon-clock:before { content: '\f046'} /*  */ -.octicon-cloud-download:before { content: '\f00b'} /*  */ -.octicon-cloud-upload:before { content: '\f00c'} /*  */ -.octicon-code:before { content: '\f05f'} /*  */ -.octicon-color-mode:before { content: '\f065'} /*  */ -.octicon-comment-add:before, -.octicon-comment:before { content: '\f02b'} /*  */ -.octicon-comment-discussion:before { content: '\f04f'} /*  */ -.octicon-credit-card:before { content: '\f045'} /*  */ -.octicon-dash:before { content: '\f0ca'} /*  */ -.octicon-dashboard:before { content: '\f07d'} /*  */ -.octicon-database:before { content: '\f096'} /*  */ -.octicon-device-camera:before { content: '\f056'} /*  */ -.octicon-device-camera-video:before { content: '\f057'} /*  */ -.octicon-device-desktop:before { content: '\f27c'} /*  */ -.octicon-device-mobile:before { content: '\f038'} /*  */ -.octicon-diff:before { content: '\f04d'} /*  */ -.octicon-diff-added:before { content: '\f06b'} /*  */ -.octicon-diff-ignored:before { content: '\f099'} /*  */ -.octicon-diff-modified:before { content: '\f06d'} /*  */ -.octicon-diff-removed:before { content: '\f06c'} /*  */ -.octicon-diff-renamed:before { content: '\f06e'} /*  */ -.octicon-ellipsis:before { content: '\f09a'} /*  */ -.octicon-eye-unwatch:before, -.octicon-eye-watch:before, -.octicon-eye:before { content: '\f04e'} /*  */ -.octicon-file-binary:before { content: '\f094'} /*  */ -.octicon-file-code:before { content: '\f010'} /*  */ -.octicon-file-directory:before { content: '\f016'} /*  */ -.octicon-file-media:before { content: '\f012'} /*  */ -.octicon-file-pdf:before { content: '\f014'} /*  */ -.octicon-file-submodule:before { content: '\f017'} /*  */ -.octicon-file-symlink-directory:before { content: '\f0b1'} /*  */ -.octicon-file-symlink-file:before { content: '\f0b0'} /*  */ -.octicon-file-text:before { content: '\f011'} /*  */ -.octicon-file-zip:before { content: '\f013'} /*  */ -.octicon-flame:before { content: '\f0d2'} /*  */ -.octicon-fold:before { content: '\f0cc'} /*  */ -.octicon-gear:before { content: '\f02f'} /*  */ -.octicon-gift:before { content: '\f042'} /*  */ -.octicon-gist:before { content: '\f00e'} /*  */ -.octicon-gist-secret:before { content: '\f08c'} /*  */ -.octicon-git-branch-create:before, -.octicon-git-branch-delete:before, -.octicon-git-branch:before { content: '\f020'} /*  */ -.octicon-git-commit:before { content: '\f01f'} /*  */ -.octicon-git-compare:before { content: '\f0ac'} /*  */ -.octicon-git-merge:before { content: '\f023'} /*  */ -.octicon-git-pull-request-abandoned:before, -.octicon-git-pull-request:before { content: '\f009'} /*  */ -.octicon-globe:before { content: '\f0b6'} /*  */ -.octicon-graph:before { content: '\f043'} /*  */ -.octicon-heart:before { content: '\2665'} /* ♥ */ -.octicon-history:before { content: '\f07e'} /*  */ -.octicon-home:before { content: '\f08d'} /*  */ -.octicon-horizontal-rule:before { content: '\f070'} /*  */ -.octicon-hourglass:before { content: '\f09e'} /*  */ -.octicon-hubot:before { content: '\f09d'} /*  */ -.octicon-inbox:before { content: '\f0cf'} /*  */ -.octicon-info:before { content: '\f059'} /*  */ -.octicon-issue-closed:before { content: '\f028'} /*  */ -.octicon-issue-opened:before { content: '\f026'} /*  */ -.octicon-issue-reopened:before { content: '\f027'} /*  */ -.octicon-jersey:before { content: '\f019'} /*  */ -.octicon-jump-down:before { content: '\f072'} /*  */ -.octicon-jump-left:before { content: '\f0a5'} /*  */ -.octicon-jump-right:before { content: '\f0a6'} /*  */ -.octicon-jump-up:before { content: '\f073'} /*  */ -.octicon-key:before { content: '\f049'} /*  */ -.octicon-keyboard:before { content: '\f00d'} /*  */ -.octicon-law:before { content: '\f0d8'} /* */ -.octicon-light-bulb:before { content: '\f000'} /*  */ -.octicon-link:before { content: '\f05c'} /*  */ -.octicon-link-external:before { content: '\f07f'} /*  */ -.octicon-list-ordered:before { content: '\f062'} /*  */ -.octicon-list-unordered:before { content: '\f061'} /*  */ -.octicon-location:before { content: '\f060'} /*  */ -.octicon-gist-private:before, -.octicon-mirror-private:before, -.octicon-git-fork-private:before, -.octicon-lock:before { content: '\f06a'} /*  */ -.octicon-logo-github:before { content: '\f092'} /*  */ -.octicon-mail:before { content: '\f03b'} /*  */ -.octicon-mail-read:before { content: '\f03c'} /*  */ -.octicon-mail-reply:before { content: '\f051'} /*  */ -.octicon-mark-github:before { content: '\f00a'} /*  */ -.octicon-markdown:before { content: '\f0c9'} /*  */ -.octicon-megaphone:before { content: '\f077'} /*  */ -.octicon-mention:before { content: '\f0be'} /*  */ -.octicon-microscope:before { content: '\f089'} /*  */ -.octicon-milestone:before { content: '\f075'} /*  */ -.octicon-mirror-public:before, -.octicon-mirror:before { content: '\f024'} /*  */ -.octicon-mortar-board:before { content: '\f0d7'} /* */ -.octicon-move-down:before { content: '\f0a8'} /*  */ -.octicon-move-left:before { content: '\f074'} /*  */ -.octicon-move-right:before { content: '\f0a9'} /*  */ -.octicon-move-up:before { content: '\f0a7'} /*  */ -.octicon-mute:before { content: '\f080'} /*  */ -.octicon-no-newline:before { content: '\f09c'} /*  */ -.octicon-octoface:before { content: '\f008'} /*  */ -.octicon-organization:before { content: '\f037'} /*  */ -.octicon-package:before { content: '\f0c4'} /*  */ -.octicon-paintcan:before { content: '\f0d1'} /*  */ -.octicon-pencil:before { content: '\f058'} /*  */ -.octicon-person-add:before, -.octicon-person-follow:before, -.octicon-person:before { content: '\f018'} /*  */ -.octicon-pin:before { content: '\f041'} /*  */ -.octicon-playback-fast-forward:before { content: '\f0bd'} /*  */ -.octicon-playback-pause:before { content: '\f0bb'} /*  */ -.octicon-playback-play:before { content: '\f0bf'} /*  */ -.octicon-playback-rewind:before { content: '\f0bc'} /*  */ -.octicon-plug:before { content: '\f0d4'} /*  */ -.octicon-repo-create:before, -.octicon-gist-new:before, -.octicon-file-directory-create:before, -.octicon-file-add:before, -.octicon-plus:before { content: '\f05d'} /*  */ -.octicon-podium:before { content: '\f0af'} /*  */ -.octicon-primitive-dot:before { content: '\f052'} /*  */ -.octicon-primitive-square:before { content: '\f053'} /*  */ -.octicon-pulse:before { content: '\f085'} /*  */ -.octicon-puzzle:before { content: '\f0c0'} /*  */ -.octicon-question:before { content: '\f02c'} /*  */ -.octicon-quote:before { content: '\f063'} /*  */ -.octicon-radio-tower:before { content: '\f030'} /*  */ -.octicon-repo-delete:before, -.octicon-repo:before { content: '\f001'} /*  */ -.octicon-repo-clone:before { content: '\f04c'} /*  */ -.octicon-repo-force-push:before { content: '\f04a'} /*  */ -.octicon-gist-fork:before, -.octicon-repo-forked:before { content: '\f002'} /*  */ -.octicon-repo-pull:before { content: '\f006'} /*  */ -.octicon-repo-push:before { content: '\f005'} /*  */ -.octicon-rocket:before { content: '\f033'} /*  */ -.octicon-rss:before { content: '\f034'} /*  */ -.octicon-ruby:before { content: '\f047'} /*  */ -.octicon-screen-full:before { content: '\f066'} /*  */ -.octicon-screen-normal:before { content: '\f067'} /*  */ -.octicon-search-save:before, -.octicon-search:before { content: '\f02e'} /*  */ -.octicon-server:before { content: '\f097'} /*  */ -.octicon-settings:before { content: '\f07c'} /*  */ -.octicon-log-in:before, -.octicon-sign-in:before { content: '\f036'} /*  */ -.octicon-log-out:before, -.octicon-sign-out:before { content: '\f032'} /*  */ -.octicon-split:before { content: '\f0c6'} /*  */ -.octicon-squirrel:before { content: '\f0b2'} /*  */ -.octicon-star-add:before, -.octicon-star-delete:before, -.octicon-star:before { content: '\f02a'} /*  */ -.octicon-steps:before { content: '\f0c7'} /*  */ -.octicon-stop:before { content: '\f08f'} /*  */ -.octicon-repo-sync:before, -.octicon-sync:before { content: '\f087'} /*  */ -.octicon-tag-remove:before, -.octicon-tag-add:before, -.octicon-tag:before { content: '\f015'} /*  */ -.octicon-telescope:before { content: '\f088'} /*  */ -.octicon-terminal:before { content: '\f0c8'} /*  */ -.octicon-three-bars:before { content: '\f05e'} /*  */ -.octicon-tools:before { content: '\f031'} /*  */ -.octicon-trashcan:before { content: '\f0d0'} /*  */ -.octicon-triangle-down:before { content: '\f05b'} /*  */ -.octicon-triangle-left:before { content: '\f044'} /*  */ -.octicon-triangle-right:before { content: '\f05a'} /*  */ -.octicon-triangle-up:before { content: '\f0aa'} /*  */ -.octicon-unfold:before { content: '\f039'} /*  */ -.octicon-unmute:before { content: '\f0ba'} /*  */ -.octicon-versions:before { content: '\f064'} /*  */ -.octicon-remove-close:before, -.octicon-x:before { content: '\f081'} /*  */ -.octicon-zap:before { content: '\26A1'} /* ⚡ */ diff --git a/public/ng/fonts/octicons.eot b/public/ng/fonts/octicons.eot deleted file mode 100755 index 22881a8b..00000000 Binary files a/public/ng/fonts/octicons.eot and /dev/null differ diff --git a/public/ng/fonts/octicons.svg b/public/ng/fonts/octicons.svg deleted file mode 100755 index ea3e0f16..00000000 --- a/public/ng/fonts/octicons.svg +++ /dev/null @@ -1,198 +0,0 @@ - - - - -(c) 2012-2014 GitHub - -When using the GitHub logos, be sure to follow the GitHub logo guidelines (https://github.com/logos) - -Font License: SIL OFL 1.1 (http://scripts.sil.org/OFL) -Applies to all font files - -Code License: MIT (http://choosealicense.com/licenses/mit/) -Applies to all other files - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/ng/fonts/octicons.ttf b/public/ng/fonts/octicons.ttf deleted file mode 100755 index 189ca281..00000000 Binary files a/public/ng/fonts/octicons.ttf and /dev/null differ diff --git a/public/ng/fonts/octicons.woff b/public/ng/fonts/octicons.woff deleted file mode 100755 index 2b770e42..00000000 Binary files a/public/ng/fonts/octicons.woff and /dev/null differ diff --git a/public/ng/js/gogs.js b/public/ng/js/gogs.js deleted file mode 100644 index f8048162..00000000 --- a/public/ng/js/gogs.js +++ /dev/null @@ -1,970 +0,0 @@ -// @codekit-prepend "lib/jquery-1.11.1.min.js" -// @codekit-prepend "lib/lib.js" -// @codekit-prepend "utils/tabs.js" -// @codekit-prepend "utils/preview.js" -// @codekit-prepend "gogs/issue_label.js" -// @codekit-prepend "lib/jquery.tipsy.js" - -var Gogs = {}; - -(function ($) { - // Extend jQuery ajax, set CSRF token value. - var ajax = $.ajax; - $.extend({ - ajax: function (url, options) { - if (typeof url === 'object') { - options = url; - url = undefined; - } - options = options || {}; - url = options.url; - var csrftoken = $('meta[name=_csrf]').attr('content'); - var headers = options.headers || {}; - var domain = document.domain.replace(/\./ig, '\\.'); - if (!/^(http:|https:).*/.test(url) || eval('/^(http:|https:)\\/\\/(.+\\.)*' + domain + '.*/').test(url)) { - headers = $.extend(headers, {'X-Csrf-Token': csrftoken}); - } - options.headers = headers; - var callback = options.success; - options.success = function (data) { - if (data.once) { - // change all _once value if ajax data.once exist - $('[name=_once]').val(data.once); - } - if (callback) { - callback.apply(this, arguments); - } - }; - return ajax(url, options); - }, - - changeHash: function (hash) { - if (history.pushState) { - history.pushState(null, null, hash); - } - else { - location.hash = hash; - } - }, - - deSelect: function () { - if (window.getSelection) { - window.getSelection().removeAllRanges(); - } else { - document.selection.empty(); - } - } - }); - $.fn.extend({ - toggleHide: function () { - $(this).each(function(n, v) { $(v).addClass("hidden"); }); - }, - toggleShow: function () { - $(this).each(function(n, v) { $(v).removeClass("hidden"); }); - }, - toggleAjax: function (successCallback, errorCallback) { - var url = $(this).data("ajax"); - var method = $(this).data('ajax-method') || 'get'; - var ajaxName = $(this).data('ajax-name'); - var data = {}; - - if (ajaxName.endsWith("preview")) { - data["mode"] = "gfm"; - data["context"] = $(this).data('ajax-context'); - } - - $('[data-ajax-rel=' + ajaxName + ']').each(function () { - var field = $(this).data("ajax-field"); - var t = $(this).data("ajax-val"); - if (t == "val") { - data[field] = $(this).val(); - return true; - } - if (t == "txt") { - data[field] = $(this).text(); - return true; - } - if (t == "html") { - data[field] = $(this).html(); - return true; - } - if (t == "data") { - data[field] = $(this).data("ajax-data"); - return true; - } - return true; - }); - console.log("toggleAjax:", method, url, data); - $.ajax({ - url: url, - method: method.toUpperCase(), - data: data, - error: errorCallback, - success: function (d) { - if (successCallback) { - successCallback(d); - } - } - }) - } - }); -}(jQuery)); - -(function ($) { - // Render markdown. - Gogs.renderMarkdown = function () { - var $md = $('.markdown'); - var $pre = $md.find('pre > code').parent(); - $pre.addClass('prettyprint'); - prettyPrint(); - - // Set anchor. - var headers = {}; - $md.find('h1, h2, h3, h4, h5, h6').each(function () { - var node = $(this); - var val = encodeURIComponent(node.text().toLowerCase().replace(/[^\w\- ]/g, '').replace(/[ ]/g, '-')); - var name = val; - if (headers[val] > 0) { - name = val + '-' + headers[val]; - } - if (headers[val] == undefined) { - headers[val] = 1; - } else { - headers[val] += 1; - } - node = node.wrap('
'); - node.append(''); - }); - }; - - // Render code view. - Gogs.renderCodeView = function () { - function selectRange($list, $select, $from) { - $list.removeClass('active'); - if ($from) { - var a = parseInt($select.attr('rel').substr(1)); - var b = parseInt($from.attr('rel').substr(1)); - var c; - if (a != b) { - if (a > b) { - c = a; - a = b; - b = c; - } - var classes = []; - for (i = a; i <= b; i++) { - classes.push('.L' + i); - } - $list.filter(classes.join(',')).addClass('active'); - $.changeHash('#L' + a + '-' + 'L' + b); - return - } - } - $select.addClass('active'); - $.changeHash('#' + $select.attr('rel')); - } - - $(document).on('click', '.lines-num span', function (e) { - var $select = $(this); - var $list = $select.parent().siblings('.lines-code').find('ol.linenums > li'); - selectRange($list, $list.filter('[rel=' + $select.attr('rel') + ']'), (e.shiftKey ? $list.filter('.active').eq(0) : null)); - $.deSelect(); - }); - - $('.code-view .lines-code > pre').each(function () { - var $pre = $(this); - var $lineCode = $pre.parent(); - var $lineNums = $lineCode.siblings('.lines-num'); - if ($lineNums.length > 0) { - var nums = $pre.find('ol.linenums > li').length; - for (var i = 1; i <= nums; i++) { - $lineNums.append('' + i + ''); - } - } - }); - - $(window).on('hashchange', function (e) { - var m = window.location.hash.match(/^#(L\d+)\-(L\d+)$/); - var $list = $('.code-view ol.linenums > li'); - var $first; - if (m) { - $first = $list.filter('.' + m[1]); - selectRange($list, $first, $list.filter('.' + m[2])); - $("html, body").scrollTop($first.offset().top - 200); - return; - } - m = window.location.hash.match(/^#(L\d+)$/); - if (m) { - $first = $list.filter('.' + m[1]); - selectRange($list, $first); - $("html, body").scrollTop($first.offset().top - 200); - } - }).trigger('hashchange'); - }; - - // Render diff view. - Gogs.renderDiffView = function () { - function selectRange($list, $select, $from) { - $list.removeClass('active'); - $list.parents('tr').removeClass('end-selected-line'); - $list.parents('tr').find('td').removeClass('selected-line'); - if ($from) { - var expr = new RegExp(/diff-(\w+)([LR]\d+)/); - var selectMatches = $select.attr('rel').match(expr) - var fromMatches = $from.attr('rel').match(expr) - var selectTop = $select.offset().top; - var fromTop = $from.offset().top; - var hash; - - if (selectMatches[2] != fromMatches[2]) { - if ((selectTop > fromTop)) { - $startElem = $from; - $endElem = $select; - hash = fromMatches[1]+fromMatches[2] + '-' + selectMatches[2]; - } else { - $startElem = $select; - $endElem = $from; - hash = selectMatches[1]+selectMatches[2] + '-' + fromMatches[2]; - } - $endElem.parents('tr').next().addClass('end-selected-line'); - var $selectedLines = $startElem.parents('tr').nextUntil('.end-selected-line').andSelf(); - $selectedLines.find('td.lines-num > span').addClass('active') - $selectedLines.find('td').addClass('selected-line'); - $.changeHash('#diff-'+hash); - return - } - } - $select.addClass('active'); - $select.parents('tr').find('td').addClass('selected-line'); - $.changeHash('#' + $select.attr('rel')); - } - - $(document).on('click', '.code-diff .lines-num span', function (e) { - var $select = $(this); - var $list = $select.parent().siblings('.lines-code').parents().find('td.lines-num > span'); - selectRange( - $list, - $list.filter('[rel=' + $select.attr('rel') + ']'), - (e.shiftKey && $list.filter('.active').length ? $list.filter('.active').eq(0) : null) - ); - $.deSelect(); - }); - - $('.code-diff .lines-code > pre').each(function () { - var $pre = $(this); - var $lineCode = $pre.parent(); - var $lineNums = $lineCode.siblings('.lines-num'); - if ($lineNums.length > 0) { - var nums = $pre.find('ol.linenums > li').length; - for (var i = 1; i <= nums; i++) { - $lineNums.append('' + i + ''); - } - } - }); - - $(window).on('hashchange', function (e) { - var m = window.location.hash.match(/^#diff-(\w+)([LR]\d+)\-([LR]\d+)$/); - var $list = $('.code-diff td.lines-num > span'); - var $first; - if (m) { - $first = $list.filter('[rel=diff-' + m[1] + m[2] + ']'); - selectRange($list, $first, $list.filter('[rel=diff-' + m[1] + m[3] + ']')); - $("html, body").scrollTop($first.offset().top - 200); - return; - } - m = window.location.hash.match(/^#diff-(\w+)([LR]\d+)$/); - if (m) { - $first = $list.filter('[rel=diff-' + m[1] + m[2] + ']'); - selectRange($list, $first); - $("html, body").scrollTop($first.offset().top - 200); - } - }).trigger('hashchange'); - }; - - // Search users by keyword. - Gogs.searchUsers = function (val, $target) { - var notEmpty = function (str) { - return str && str.length > 0; - } - $.ajax({ - url: Gogs.AppSubUrl + '/api/v1/users/search?q=' + val, - dataType: "json", - success: function (json) { - if (json.ok && json.data.length) { - var html = ''; - $.each(json.data, function (i, item) { - html += '
  • ' + item.username + ''; - if (notEmpty(item.full_name)) { - html += ' (' + item.full_name + ')'; - } - html += '
  • '; - }); - $target.html(html); - $target.toggleShow(); - } else { - $target.toggleHide(); - } - } - }); - } - - // Search repositories by keyword. - Gogs.searchRepos = function (val, $target, $param) { - $.ajax({ - url: Gogs.AppSubUrl + '/api/v1/repos/search?q=' + val + '&' + $param, - dataType: "json", - success: function (json) { - if (json.ok && json.data.length) { - var html = ''; - $.each(json.data, function (i, item) { - html += '
  • ' + item.full_name + '
  • '; - }); - $target.html(html); - $target.toggleShow(); - } else { - $target.toggleHide(); - } - } - }); - } - - // Copy util. - Gogs.bindCopy = function (selector) { - if ($(selector).hasClass('js-copy-bind')) { - return; - } - - if ( document.documentElement.classList.contains("is-copy-enabled") ) { - - $(selector).click(function(event) { - var $this = $(this); - - var cfrom = $this.attr('data-copy-from'); - $(cfrom).select(); - document.execCommand('copy'); - getSelection().removeAllRanges(); - - $this.tipsy("hide").attr('original-title', $this.data('after-title')); - setTimeout(function () { - $this.tipsy("show"); - }, 200); - setTimeout(function () { - $this.tipsy('hide').attr('original-title', $this.data('original-title')); - }, 2000); - - this.blur(); - return; - }); - - $(selector).addClass("js-copy-bind"); - - } else { - - $(selector).zclip({ - path: Gogs.AppSubUrl + "/js/ZeroClipboard.swf", - copy: function () { - var t = $(this).data("copy-val"); - var to = $($(this).data("copy-from")); - var str = ""; - if (t == "txt") { - str = to.text(); - } - if (t == 'val') { - str = to.val(); - } - if (t == 'html') { - str = to.html(); - } - return str; - }, - afterCopy: function () { - var $this = $(this); - $this.tipsy("hide").attr('original-title', $this.data('after-title')); - setTimeout(function () { - $this.tipsy("show"); - }, 200); - setTimeout(function () { - $this.tipsy('hide').attr('original-title', $this.data('original-title')); - }, 2000); - } - }).addClass("js-copy-bind"); - } - } -})(jQuery); - -function initCore() { - Gogs.renderMarkdown(); - - if ($('.code-diff').length == 0) { - Gogs.renderCodeView(); - } else { - Gogs.renderDiffView(); - } - - // Switch list. - $('.js-tab-nav').click(function (e) { - if (!$(this).hasClass('js-tab-nav-show')) { - $(this).parent().find('.js-tab-nav-show').each(function () { - $(this).removeClass('js-tab-nav-show'); - $($(this).data('tab-target')).hide(); - }); - $(this).addClass('js-tab-nav-show'); - $($(this).data('tab-target')).show(); - } - e.preventDefault(); - }); - - // Popup. - $(document).on('click', '.popup-modal-dismiss', function (e) { - e.preventDefault(); - $.magnificPopup.close(); - }); - - // Plugins. - $('.collapse').hide(); - $('.tipsy-tooltip').tipsy({ - fade: true - }); -} - -function initUserSetting() { - // Confirmation of change username in user profile page. - var $username = $('#username'); - var $profile_form = $('#user-profile-form'); - $('#change-username-btn').magnificPopup({ - modal: true, - callbacks: { - open: function () { - if (($username.data('uname') == $username.val())) { - $.magnificPopup.close(); - $profile_form.submit(); - } - } - } - }).click(function () { - if (($username.data('uname') != $username.val())) { - e.preventDefault(); - return true; - } - }); - $('#change-username-submit').click(function () { - $.magnificPopup.close(); - $profile_form.submit(); - }); - - // Show panels. - $('.show-form-btn').click(function () { - $($(this).data('target-form')).removeClass("hide"); - }); - - // Confirmation of delete account. - $('#delete-account-btn').magnificPopup({ - modal: true - }).click(function (e) { - e.preventDefault(); - return true; - }); - $('#delete-account-submit').click(function () { - $.magnificPopup.close(); - $('#delete-account-form').submit(); - }); -} - -function initRepoCreate() { - // Owner switch menu click. - $('#repo-create-owner-list').on('click', 'li', function () { - if (!$(this).hasClass('checked')) { - var uid = $(this).data('uid'); - $('#repo-owner-id').val(uid); - $('#repo-owner-avatar').attr("src", $(this).find('img').attr("src")); - $('#repo-owner-name').text($(this).text().trim()); - - $(this).parent().find('.checked').removeClass('checked'); - $(this).addClass('checked'); - console.log("set repo owner to uid :", uid, $(this).text().trim()); - } - }); - - $('#auth-button').click(function (e) { - $('#repo-migrate-auth').slideToggle('fast'); - e.preventDefault(); - }) - console.log('initRepoCreate'); -} - -function initRepo() { - // Clone link switch button. - $('#repo-clone-ssh').click(function () { - $(this).removeClass('btn-gray').addClass('btn-blue'); - $('#repo-clone-https').removeClass('btn-blue').addClass('btn-gray'); - $('#repo-clone-url').val($(this).data('link')); - $('.clone-url').text($(this).data('link')) - }); - $('#repo-clone-https').click(function () { - $(this).removeClass('btn-gray').addClass('btn-blue'); - $('#repo-clone-ssh').removeClass('btn-blue').addClass('btn-gray'); - $('#repo-clone-url').val($(this).data('link')); - $('.clone-url').text($(this).data('link')) - }); - - // Copy URL. - var $clone_btn = $('#repo-clone-copy'); - $clone_btn.hover(function () { - Gogs.bindCopy($(this)); - }) - $clone_btn.tipsy({ - fade: true - }); - - // Markdown preview. - $('.markdown-preview').click(function() { - var $this = $(this); - $this.toggleAjax(function (resp) { - $($this.data("preview")).html(resp); - }, function () { - $($this.data("preview")).html("no content"); - }) - }); -} - -// when user changes hook type, hide/show proper divs -function initHookTypeChange() { - // web hook type change - $('select#hook-type').on("change", function () { - hookTypes = ['Gogs', 'Slack']; - - var curHook = $(this).val(); - hookTypes.forEach(function (hookType) { - if (curHook === hookType) { - $('div#' + hookType.toLowerCase()).toggleShow(); - } - else { - $('div#' + hookType.toLowerCase()).toggleHide(); - } - }); - }); -} - -function initRepoRelease() { - $('#release-new-target-branch-list li').click(function() { - if (!$(this).hasClass('checked')) { - $('#repo-branch-current').text($(this).text()); - $('#tag-target').val($(this).text()); - - $(this).parent().find('.checked').removeClass('checked'); - $(this).addClass('checked'); - } - }) -} - -function initRepoSetting() { - // Options. - // Confirmation of changing repository name. - var $reponame = $('#repo_name'); - var $setting_form = $('#repo-setting-form'); - $('#change-reponame-btn').magnificPopup({ - modal: true, - callbacks: { - open: function () { - if (($reponame.data('repo-name') == $reponame.val())) { - $.magnificPopup.close(); - $setting_form.submit(); - } - } - } - }).click(function () { - if (($reponame.data('repo-name') != $reponame.val())) { - e.preventDefault(); - return true; - } - }); - $('#change-reponame-submit').click(function () { - $.magnificPopup.close(); - $setting_form.submit(); - }); - - initHookTypeChange(); - - // Transfer repository. - $('#transfer-repo-btn').magnificPopup({ - modal: true - }); - $('#transfer-repo-submit').click(function () { - $.magnificPopup.close(); - $('#transfer-repo-form').submit(); - }); - - // Delete repository. - $('#delete-repo-btn').magnificPopup({ - modal: true - }); - $('#delete-repo-submit').click(function () { - $.magnificPopup.close(); - $('#delete-repo-form').submit(); - }); - - // Collaboration. - $('#repo-collab-list hr:last-child').remove(); - var $ul = $('#repo-collaborator').next().next().find('ul'); - $('#repo-collaborator').on('keyup', function () { - var $this = $(this); - if (!$this.val()) { - $ul.toggleHide(); - return; - } - Gogs.searchUsers($this.val(), $ul); - }).on('focus', function () { - if (!$(this).val()) { - $ul.toggleHide(); - } else { - $ul.toggleShow(); - } - }).next().next().find('ul').on("click", 'li', function () { - $('#repo-collaborator').val($(this).find('.username').text()); - $ul.toggleHide(); - }); -} - -function initOrgSetting() { - // Options. - // Confirmation of changing organization name. - var $orgname = $('#orgname'); - var $setting_form = $('#org-setting-form'); - $('#change-orgname-btn').magnificPopup({ - modal: true, - callbacks: { - open: function () { - if (($orgname.data('orgname') == $orgname.val())) { - $.magnificPopup.close(); - $setting_form.submit(); - } - } - } - }).click(function () { - if (($orgname.data('orgname') != $orgname.val())) { - e.preventDefault(); - return true; - } - }); - $('#change-orgname-submit').click(function () { - $.magnificPopup.close(); - $setting_form.submit(); - }); - - // Confirmation of delete organization. - $('#delete-org-btn').magnificPopup({ - modal: true - }).click(function (e) { - e.preventDefault(); - return true; - }); - $('#delete-org-submit').click(function () { - $.magnificPopup.close(); - $('#delete-org-form').submit(); - }); - - initHookTypeChange(); -} - -function initInvite() { - // Invitation. - var $ul = $('#org-member-invite-list'); - $('#org-member-invite').on('keyup', function () { - var $this = $(this); - if (!$this.val()) { - $ul.toggleHide(); - return; - } - Gogs.searchUsers($this.val(), $ul); - }).on('focus', function () { - if (!$(this).val()) { - $ul.toggleHide(); - } else { - $ul.toggleShow(); - } - }).next().next().find('ul').on("click", 'li', function () { - $('#org-member-invite').val($(this).find('.username').text()); - $ul.toggleHide(); - }); -} - -function initOrgTeamCreate() { - // Delete team. - $('#org-team-delete').magnificPopup({ - modal: true - }).click(function (e) { - e.preventDefault(); - return true; - }); - $('#delete-team-submit').click(function () { - $.magnificPopup.close(); - var $form = $('#team-create-form'); - $form.attr('action', $form.data('delete-url')); - }); -} - -function initTeamMembersList() { - // Add team member. - var $ul = $('#org-team-members-list'); - $('#org-team-members-add').on('keyup', function () { - var $this = $(this); - if (!$this.val()) { - $ul.toggleHide(); - return; - } - Gogs.searchUsers($this.val(), $ul); - }).on('focus', function () { - if (!$(this).val()) { - $ul.toggleHide(); - } else { - $ul.toggleShow(); - } - }).next().next().find('ul').on("click", 'li', function () { - $('#org-team-members-add').val($(this).find('.username').text()); - $ul.toggleHide(); - }); -} - -function initTeamRepositoriesList() { - // Add team repository. - var $ul = $('#org-team-repositories-list'); - $('#org-team-repositories-add').on('keyup', function () { - var $this = $(this); - if (!$this.val()) { - $ul.toggleHide(); - return; - } - Gogs.searchRepos($this.val(), $ul, 'uid=' + $this.data('uid')); - }).on('focus', function () { - if (!$(this).val()) { - $ul.toggleHide(); - } else { - $ul.toggleShow(); - } - }).next().next().find('ul').on("click", 'li', function () { - $('#org-team-repositories-add').val($(this).text()); - $ul.toggleHide(); - }); -} - -function initAdmin() { - // Create account. - $('#login-type').on("change", function () { - var v = $(this).val(); - if (v.indexOf("0-") + 1) { - $('.auth-name').toggleHide(); - $(".pwd").find("input").attr("required", "required") - .end().toggleShow(); - } else { - $(".pwd").find("input").removeAttr("required") - .end().toggleHide(); - $('.auth-name').toggleShow(); - } - }); - - // Delete account. - $('#delete-account-btn').magnificPopup({ - modal: true - }).click(function (e) { - e.preventDefault(); - return true; - }); - $('#delete-account-submit').click(function () { - $.magnificPopup.close(); - var $form = $('#user-profile-form'); - $form.attr('action', $form.data('delete-url')); - }); - - // Create authorization. Keep list in sync with models/login.go. - var all_auths = ['none', 'plain', 'ldap', 'dldap', 'smtp', 'pam']; - $('#auth-type').on("change", function () { - var v = $(this).val(); - if (v >= all_auths.length) return; - - // Hide all through their class names. - $.each(all_auths, function(i, type) { - $('.' + type).toggleHide(); - }); - - // Show the selected one. - var selected = all_auths[v]; - $('.' + selected).toggleShow(); - }); - - // Delete authorization. - $('#delete-auth-btn').magnificPopup({ - modal: true - }).click(function (e) { - e.preventDefault(); - return true; - }); - $('#delete-auth-submit').click(function () { - $.magnificPopup.close(); - var $form = $('#auth-setting-form'); - $form.attr('action', $form.data('delete-url')); - }); -} - -function initInstall() { - // Change database type. - (function () { - var mysql_default = '127.0.0.1:3306'; - var postgres_default = '127.0.0.1:5432'; - - $('#install-database').on("change", function () { - var val = $(this).val(); - if (val != "SQLite3") { - $('.server-sql').show(); - $('.sqlite-setting').addClass("hide"); - if (val == "PostgreSQL") { - $('.pgsql-setting').removeClass("hide"); - - // Change the host value to the Postgres default, but only - // if the user hasn't already changed it from the MySQL - // default. - if ($('#database-host').val() == mysql_default) { - $('#database-host').val(postgres_default); - } - } else if (val == 'MySQL') { - $('.pgsql-setting').addClass("hide"); - if ($('#database-host').val() == postgres_default) { - $('#database-host').val(mysql_default); - } - } else { - $('.pgsql-setting').addClass("hide"); - } - } else { - $('.server-sql').hide(); - $('.pgsql-setting').hide(); - $('.sqlite-setting').removeClass("hide"); - } - }); - }()); -} - -function initProfile() { - // Avatar. - $('#profile-avatar').tipsy({ - fade: true - }); -} - -function initTimeSwitch() { - // Time switch. - $(".time-since[title]").on("click", function () { - var $this = $(this); - - var title = $this.attr("title"); - var text = $this.text(); - - $this.text(title); - $this.attr("title", text); - }); -} - -function initDiff() { - $('.diff-detail-box>a').click(function () { - $($(this).data('target')).slideToggle(100); - }) - - var $counter = $('.diff-counter'); - if ($counter.length < 1) { - return; - } - $counter.each(function (i, item) { - var $item = $(item); - var addLine = $item.find('span[data-line].add').data("line"); - var delLine = $item.find('span[data-line].del').data("line"); - var addPercent = parseFloat(addLine) / (parseFloat(addLine) + parseFloat(delLine)) * 100; - $item.find(".bar .add").css("width", addPercent + "%"); - }); -} - -$(document).ready(function () { - Gogs.AppSubUrl = $('head').data('suburl') || ''; - initCore(); - if ($('#user-profile-setting').length) { - initUserSetting(); - } - if ($('#repo-create-form').length || $('#repo-migrate-form').length) { - initRepoCreate(); - } - if ($('#repo-header').length) { - initTimeSwitch(); - initRepo(); - } - if ($('#release').length) { - initRepoRelease(); - } - if ($('#repo-setting').length) { - initRepoSetting(); - } - if ($('#org-setting').length) { - initOrgSetting(); - } - if ($('#invite-box').length) { - initInvite(); - } - if ($('#team-create-form').length) { - initOrgTeamCreate(); - } - if ($('#team-members-list').length) { - initTeamMembersList(); - } - if ($('#team-repositories-list').length) { - initTeamRepositoriesList(); - } - if ($('#admin-setting').length) { - initAdmin(); - } - if ($('#install-form').length) { - initInstall(); - } - if ($('#user-profile-page').length) { - initProfile(); - } - if ($('#diff-page').length) { - initTimeSwitch(); - initDiff(); - } - - $('#dashboard-sidebar-menu').tabs(); - $('#pull-issue-preview').markdown_preview(".issue-add-comment"); - - homepage(); - emojify.setConfig({ - img_dir: Gogs.AppSubUrl + '/img/emoji' - }); - emojify.run(); - - // Fix language drop-down menu height. - var l = $('#footer-lang li').length; - $('#footer-lang .drop-down').css({ - "top": (-31 * l) + "px", - "height": (31 * l - 3) + "px" - }); -}); - -function homepage() { - // Change method to GET if no username input. - $('#promo-form').submit(function (e) { - if ($('#username').val() === "") { - e.preventDefault(); - window.location.href = Gogs.AppSubUrl + '/user/login'; - return true - } - }); - // Redirect to register page. - $('#register-button').click(function (e) { - if ($('#username').val() === "") { - e.preventDefault(); - window.location.href = Gogs.AppSubUrl + '/user/sign_up'; - return true - } - $('#promo-form').attr('action', Gogs.AppSubUrl + '/user/sign_up'); - }); -} - -String.prototype.endsWith = function (suffix) { - return this.indexOf(suffix, this.length - suffix.length) !== -1; -}; diff --git a/public/ng/js/gogs/issue_label.js b/public/ng/js/gogs/issue_label.js deleted file mode 100644 index 31aebdd4..00000000 --- a/public/ng/js/gogs/issue_label.js +++ /dev/null @@ -1,97 +0,0 @@ -// when dom ready, init issue label events -$(document).ready(function(){ - var labelColors = ["#e11d21","#EB6420","#FBCA04","#009800", - "#006B75","#207DE5","#0052cc","#53E917", - "#F6C6C7","#FAD8C7","#FEF2C0","#BFE5BF", - "#BFDADC","#C7DEF8","#BFD4F2","#D4C5F9"]; - - var colorDropHtml = ""; - labelColors.forEach(function(item){ - colorDropHtml += ''; - }); - - - - // render label color input - var color_input = $('#label-add-color'); - var color_label = $('#label-add-form .label-color-drop label'); - color_label.css("background-color",labelColors[0]); - color_input.val(labelColors[0]); - - - // render label color drop - function render_color_drop($e){ - $e.find('.label-color-drop .drop-down') - .html(colorDropHtml) - .on("click","a",function(){ - var $form = $(this).parents(".form"); - var color_label = $form.find(".label-color-drop label"); - var color_input = $form.find("input[name=color]"); - var color = $(this).data("color-hex"); - color_label.css("background-color",color); - color_input.val(color); - }); - } - - - // color drop visible - var form = $('#label-add-form'); - render_color_drop(form); - $('#label-new-btn').on("click",function(){ - if(form.hasClass("hidden")){ - form.removeClass("hidden"); - } - }); - $('#label-cancel-btn').on("click",function(){ - form.addClass("hidden"); - }); - - // label edit form render - var $edit_form_tpl = $("#label-edit-form-tpl"); - $("#label-list").on("click","a.edit",function(){ - var $label_item = $(this).parents(".item"); - var $clone_form = $edit_form_tpl.clone(); - render_color_drop($clone_form); - - // add default color - var color_label = $clone_form.find(".label-color-drop label"); - var color_input = $clone_form.find("input[name=color]"); - var color = $label_item.find(".label").data("color-hex"); - color_label.css("background-color",color); - color_input.val(color); - - // add label name - $clone_form.find("input[name=name]").val($label_item.find(".label").text()); - - // add label id - $clone_form.find("input[name=id]").val($label_item.attr("id").replace("label-","")); - - // append form - $label_item.after($clone_form.show()); - - // add cancel button event - $('#label-edit-cancel-btn').on("click",function(){ - $clone_form.remove(); - }); - - }); - - // label delete form render - var $del_form_tpl = $('#label-delete-form-tpl'); - $("#label-list").on("click","a.delete",function(){ - var $label_item = $(this).parents(".item"); - var $clone_form = $del_form_tpl.clone(); - - // add label id - $clone_form.find("input[name=id]").val($label_item.attr("id").replace("label-","")); - - // append form - $label_item.after($clone_form.show()); - - // add cancel button event - $('#label-del-cancel-btn').on("click",function(){ - $clone_form.remove(); - }); - }); - -}); diff --git a/public/ng/js/lib/jquery-1.11.1.min.js b/public/ng/js/lib/jquery-1.11.1.min.js deleted file mode 100644 index ab28a247..00000000 --- a/public/ng/js/lib/jquery-1.11.1.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ -!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l="1.11.1",m=function(a,b){return new m.fn.init(a,b)},n=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,o=/^-ms-/,p=/-([\da-z])/gi,q=function(a,b){return b.toUpperCase()};m.fn=m.prototype={jquery:l,constructor:m,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=m.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return m.each(this,a,b)},map:function(a){return this.pushStack(m.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},m.extend=m.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||m.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(e=arguments[h]))for(d in e)a=g[d],c=e[d],g!==c&&(j&&c&&(m.isPlainObject(c)||(b=m.isArray(c)))?(b?(b=!1,f=a&&m.isArray(a)?a:[]):f=a&&m.isPlainObject(a)?a:{},g[d]=m.extend(j,f,c)):void 0!==c&&(g[d]=c));return g},m.extend({expando:"jQuery"+(l+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===m.type(a)},isArray:Array.isArray||function(a){return"array"===m.type(a)},isWindow:function(a){return null!=a&&a==a.window},isNumeric:function(a){return!m.isArray(a)&&a-parseFloat(a)>=0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},isPlainObject:function(a){var b;if(!a||"object"!==m.type(a)||a.nodeType||m.isWindow(a))return!1;try{if(a.constructor&&!j.call(a,"constructor")&&!j.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}if(k.ownLast)for(b in a)return j.call(a,b);for(b in a);return void 0===b||j.call(a,b)},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(b){b&&m.trim(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(o,"ms-").replace(p,q)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=r(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(n,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(r(Object(a))?m.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){var d;if(b){if(g)return g.call(b,a,c);for(d=b.length,c=c?0>c?Math.max(0,d+c):c:0;d>c;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,b){var c=+b.length,d=0,e=a.length;while(c>d)a[e++]=b[d++];if(c!==c)while(void 0!==b[d])a[e++]=b[d++];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=r(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(f=a[b],b=a,a=f),m.isFunction(a)?(c=d.call(arguments,2),e=function(){return a.apply(b||this,c.concat(d.call(arguments)))},e.guid=a.guid=a.guid||m.guid++,e):void 0},now:function(){return+new Date},support:k}),m.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function r(a){var b=a.length,c=m.type(a);return"function"===c||m.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var s=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+-new Date,v=a.document,w=0,x=0,y=gb(),z=gb(),A=gb(),B=function(a,b){return a===b&&(l=!0),0},C="undefined",D=1<<31,E={}.hasOwnProperty,F=[],G=F.pop,H=F.push,I=F.push,J=F.slice,K=F.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",N="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=N.replace("w","w#"),P="\\["+M+"*("+N+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+M+"*\\]",Q=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+P+")*)|.*)\\)|)",R=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),S=new RegExp("^"+M+"*,"+M+"*"),T=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),V=new RegExp(Q),W=new RegExp("^"+O+"$"),X={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)};try{I.apply(F=J.call(v.childNodes),v.childNodes),F[v.childNodes.length].nodeType}catch(eb){I={apply:F.length?function(a,b){H.apply(a,J.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],!a||"string"!=typeof a)return d;if(1!==(k=b.nodeType)&&9!==k)return[];if(p&&!e){if(f=_.exec(a))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return I.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName&&b.getElementsByClassName)return I.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=9===k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+qb(o[l]);w=ab.test(a)&&ob(b.parentNode)||b,x=o.join(",")}if(x)try{return I.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function gb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function hb(a){return a[u]=!0,a}function ib(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function jb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function kb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||D)-(~a.sourceIndex||D);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function lb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function nb(a){return hb(function(b){return b=+b,hb(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function ob(a){return a&&typeof a.getElementsByTagName!==C&&a}c=fb.support={},f=fb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fb.setDocument=function(a){var b,e=a?a.ownerDocument||a:v,g=e.defaultView;return e!==n&&9===e.nodeType&&e.documentElement?(n=e,o=e.documentElement,p=!f(e),g&&g!==g.top&&(g.addEventListener?g.addEventListener("unload",function(){m()},!1):g.attachEvent&&g.attachEvent("onunload",function(){m()})),c.attributes=ib(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ib(function(a){return a.appendChild(e.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(e.getElementsByClassName)&&ib(function(a){return a.innerHTML="
    ",a.firstChild.className="i",2===a.getElementsByClassName("i").length}),c.getById=ib(function(a){return o.appendChild(a).id=u,!e.getElementsByName||!e.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if(typeof b.getElementById!==C&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c=typeof a.getAttributeNode!==C&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return typeof b.getElementsByTagName!==C?b.getElementsByTagName(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return typeof b.getElementsByClassName!==C&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(e.querySelectorAll))&&(ib(function(a){a.innerHTML="",a.querySelectorAll("[msallowclip^='']").length&&q.push("[*^$]="+M+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+M+"*(?:value|"+L+")"),a.querySelectorAll(":checked").length||q.push(":checked")}),ib(function(a){var b=e.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+M+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ib(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",Q)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===e||a.ownerDocument===v&&t(v,a)?-1:b===e||b.ownerDocument===v&&t(v,b)?1:k?K.call(k,a)-K.call(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,f=a.parentNode,g=b.parentNode,h=[a],i=[b];if(!f||!g)return a===e?-1:b===e?1:f?-1:g?1:k?K.call(k,a)-K.call(k,b):0;if(f===g)return kb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?kb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},e):n},fb.matches=function(a,b){return fb(a,null,null,b)},fb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fb(b,n,null,[a]).length>0},fb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&E.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fb.selectors={cacheLength:50,createPseudo:hb,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+M+")"+a+"("+M+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||typeof a.getAttribute!==C&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?hb(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=K.call(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:hb(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?hb(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),!c.pop()}}),has:hb(function(a){return function(b){return fb(a,b).length>0}}),contains:hb(function(a){return function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:hb(function(a){return W.test(a||"")||fb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:nb(function(){return[0]}),last:nb(function(a,b){return[b-1]}),eq:nb(function(a,b,c){return[0>c?c+b:c]}),even:nb(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:nb(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:nb(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:nb(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function rb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function sb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function tb(a,b,c){for(var d=0,e=b.length;e>d;d++)fb(a,b[d],c);return c}function ub(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function vb(a,b,c,d,e,f){return d&&!d[u]&&(d=vb(d)),e&&!e[u]&&(e=vb(e,f)),hb(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||tb(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ub(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ub(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?K.call(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ub(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):I.apply(g,r)})}function wb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=rb(function(a){return a===b},h,!0),l=rb(function(a){return K.call(b,a)>-1},h,!0),m=[function(a,c,d){return!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d))}];f>i;i++)if(c=d.relative[a[i].type])m=[rb(sb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return vb(i>1&&sb(m),i>1&&qb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&wb(a.slice(i,e)),f>e&&wb(a=a.slice(e)),f>e&&qb(a))}m.push(c)}return sb(m)}function xb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=G.call(i));s=ub(s)}I.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&fb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?hb(f):f}return h=fb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xb(e,d)),f.selector=a}return f},i=fb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&ob(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qb(j),!a)return I.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&ob(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ib(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ib(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||jb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ib(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||jb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ib(function(a){return null==a.getAttribute("disabled")})||jb(L,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fb}(a);m.find=s,m.expr=s.selectors,m.expr[":"]=m.expr.pseudos,m.unique=s.uniqueSort,m.text=s.getText,m.isXMLDoc=s.isXML,m.contains=s.contains;var t=m.expr.match.needsContext,u=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/^.[^:#\[\.,]*$/;function w(a,b,c){if(m.isFunction(b))return m.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return m.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(v.test(b))return m.filter(b,a,c);b=m.filter(b,a)}return m.grep(a,function(a){return m.inArray(a,b)>=0!==c})}m.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?m.find.matchesSelector(d,a)?[d]:[]:m.find.matches(a,m.grep(b,function(a){return 1===a.nodeType}))},m.fn.extend({find:function(a){var b,c=[],d=this,e=d.length;if("string"!=typeof a)return this.pushStack(m(a).filter(function(){for(b=0;e>b;b++)if(m.contains(d[b],this))return!0}));for(b=0;e>b;b++)m.find(a,d[b],c);return c=this.pushStack(e>1?m.unique(c):c),c.selector=this.selector?this.selector+" "+a:a,c},filter:function(a){return this.pushStack(w(this,a||[],!1))},not:function(a){return this.pushStack(w(this,a||[],!0))},is:function(a){return!!w(this,"string"==typeof a&&t.test(a)?m(a):a||[],!1).length}});var x,y=a.document,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=m.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a.charAt(0)&&">"===a.charAt(a.length-1)&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||x).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof m?b[0]:b,m.merge(this,m.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:y,!0)),u.test(c[1])&&m.isPlainObject(b))for(c in b)m.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}if(d=y.getElementById(c[2]),d&&d.parentNode){if(d.id!==c[2])return x.find(a);this.length=1,this[0]=d}return this.context=y,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):m.isFunction(a)?"undefined"!=typeof x.ready?x.ready(a):a(m):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),m.makeArray(a,this))};A.prototype=m.fn,x=m(y);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};m.extend({dir:function(a,b,c){var d=[],e=a[b];while(e&&9!==e.nodeType&&(void 0===c||1!==e.nodeType||!m(e).is(c)))1===e.nodeType&&d.push(e),e=e[b];return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),m.fn.extend({has:function(a){var b,c=m(a,this),d=c.length;return this.filter(function(){for(b=0;d>b;b++)if(m.contains(this,c[b]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=t.test(a)||"string"!=typeof a?m(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&m.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?m.unique(f):f)},index:function(a){return a?"string"==typeof a?m.inArray(this[0],m(a)):m.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(m.unique(m.merge(this.get(),m(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){do a=a[b];while(a&&1!==a.nodeType);return a}m.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return m.dir(a,"parentNode")},parentsUntil:function(a,b,c){return m.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return m.dir(a,"nextSibling")},prevAll:function(a){return m.dir(a,"previousSibling")},nextUntil:function(a,b,c){return m.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return m.dir(a,"previousSibling",c)},siblings:function(a){return m.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return m.sibling(a.firstChild)},contents:function(a){return m.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:m.merge([],a.childNodes)}},function(a,b){m.fn[a]=function(c,d){var e=m.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=m.filter(d,e)),this.length>1&&(C[a]||(e=m.unique(e)),B.test(a)&&(e=e.reverse())),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return m.each(a.match(E)||[],function(a,c){b[c]=!0}),b}m.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):m.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(c=a.memory&&l,d=!0,f=g||0,g=0,e=h.length,b=!0;h&&e>f;f++)if(h[f].apply(l[0],l[1])===!1&&a.stopOnFalse){c=!1;break}b=!1,h&&(i?i.length&&j(i.shift()):c?h=[]:k.disable())},k={add:function(){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this},remove:function(){return h&&m.each(arguments,function(a,c){var d;while((d=m.inArray(c,h,d))>-1)h.splice(d,1),b&&(e>=d&&e--,f>=d&&f--)}),this},has:function(a){return a?m.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],e=0,this},disable:function(){return h=i=c=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,c||k.disable(),this},locked:function(){return!i},fireWith:function(a,c){return!h||d&&!i||(c=c||[],c=[a,c.slice?c.slice():c],b?i.push(c):j(c)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!d}};return k},m.extend({Deferred:function(a){var b=[["resolve","done",m.Callbacks("once memory"),"resolved"],["reject","fail",m.Callbacks("once memory"),"rejected"],["notify","progress",m.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return m.Deferred(function(c){m.each(b,function(b,f){var g=m.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&m.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?m.extend(a,d):d}},e={};return d.pipe=d.then,m.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&m.isFunction(a.promise)?e:0,g=1===f?a:m.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&m.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;m.fn.ready=function(a){return m.ready.promise().done(a),this},m.extend({isReady:!1,readyWait:1,holdReady:function(a){a?m.readyWait++:m.ready(!0)},ready:function(a){if(a===!0?!--m.readyWait:!m.isReady){if(!y.body)return setTimeout(m.ready);m.isReady=!0,a!==!0&&--m.readyWait>0||(H.resolveWith(y,[m]),m.fn.triggerHandler&&(m(y).triggerHandler("ready"),m(y).off("ready")))}}});function I(){y.addEventListener?(y.removeEventListener("DOMContentLoaded",J,!1),a.removeEventListener("load",J,!1)):(y.detachEvent("onreadystatechange",J),a.detachEvent("onload",J))}function J(){(y.addEventListener||"load"===event.type||"complete"===y.readyState)&&(I(),m.ready())}m.ready.promise=function(b){if(!H)if(H=m.Deferred(),"complete"===y.readyState)setTimeout(m.ready);else if(y.addEventListener)y.addEventListener("DOMContentLoaded",J,!1),a.addEventListener("load",J,!1);else{y.attachEvent("onreadystatechange",J),a.attachEvent("onload",J);var c=!1;try{c=null==a.frameElement&&y.documentElement}catch(d){}c&&c.doScroll&&!function e(){if(!m.isReady){try{c.doScroll("left")}catch(a){return setTimeout(e,50)}I(),m.ready()}}()}return H.promise(b)};var K="undefined",L;for(L in m(k))break;k.ownLast="0"!==L,k.inlineBlockNeedsLayout=!1,m(function(){var a,b,c,d;c=y.getElementsByTagName("body")[0],c&&c.style&&(b=y.createElement("div"),d=y.createElement("div"),d.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",c.appendChild(d).appendChild(b),typeof b.style.zoom!==K&&(b.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",k.inlineBlockNeedsLayout=a=3===b.offsetWidth,a&&(c.style.zoom=1)),c.removeChild(d))}),function(){var a=y.createElement("div");if(null==k.deleteExpando){k.deleteExpando=!0;try{delete a.test}catch(b){k.deleteExpando=!1}}a=null}(),m.acceptData=function(a){var b=m.noData[(a.nodeName+" ").toLowerCase()],c=+a.nodeType||1;return 1!==c&&9!==c?!1:!b||b!==!0&&a.getAttribute("classid")===b};var M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,N=/([A-Z])/g;function O(a,b,c){if(void 0===c&&1===a.nodeType){var d="data-"+b.replace(N,"-$1").toLowerCase();if(c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:M.test(c)?m.parseJSON(c):c}catch(e){}m.data(a,b,c)}else c=void 0}return c}function P(a){var b;for(b in a)if(("data"!==b||!m.isEmptyObject(a[b]))&&"toJSON"!==b)return!1;return!0}function Q(a,b,d,e){if(m.acceptData(a)){var f,g,h=m.expando,i=a.nodeType,j=i?m.cache:a,k=i?a[h]:a[h]&&h; -if(k&&j[k]&&(e||j[k].data)||void 0!==d||"string"!=typeof b)return k||(k=i?a[h]=c.pop()||m.guid++:h),j[k]||(j[k]=i?{}:{toJSON:m.noop}),("object"==typeof b||"function"==typeof b)&&(e?j[k]=m.extend(j[k],b):j[k].data=m.extend(j[k].data,b)),g=j[k],e||(g.data||(g.data={}),g=g.data),void 0!==d&&(g[m.camelCase(b)]=d),"string"==typeof b?(f=g[b],null==f&&(f=g[m.camelCase(b)])):f=g,f}}function R(a,b,c){if(m.acceptData(a)){var d,e,f=a.nodeType,g=f?m.cache:a,h=f?a[m.expando]:m.expando;if(g[h]){if(b&&(d=c?g[h]:g[h].data)){m.isArray(b)?b=b.concat(m.map(b,m.camelCase)):b in d?b=[b]:(b=m.camelCase(b),b=b in d?[b]:b.split(" ")),e=b.length;while(e--)delete d[b[e]];if(c?!P(d):!m.isEmptyObject(d))return}(c||(delete g[h].data,P(g[h])))&&(f?m.cleanData([a],!0):k.deleteExpando||g!=g.window?delete g[h]:g[h]=null)}}}m.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(a){return a=a.nodeType?m.cache[a[m.expando]]:a[m.expando],!!a&&!P(a)},data:function(a,b,c){return Q(a,b,c)},removeData:function(a,b){return R(a,b)},_data:function(a,b,c){return Q(a,b,c,!0)},_removeData:function(a,b){return R(a,b,!0)}}),m.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=m.data(f),1===f.nodeType&&!m._data(f,"parsedAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=m.camelCase(d.slice(5)),O(f,d,e[d])));m._data(f,"parsedAttrs",!0)}return e}return"object"==typeof a?this.each(function(){m.data(this,a)}):arguments.length>1?this.each(function(){m.data(this,a,b)}):f?O(f,a,m.data(f,a)):void 0},removeData:function(a){return this.each(function(){m.removeData(this,a)})}}),m.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=m._data(a,b),c&&(!d||m.isArray(c)?d=m._data(a,b,m.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=m.queue(a,b),d=c.length,e=c.shift(),f=m._queueHooks(a,b),g=function(){m.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return m._data(a,c)||m._data(a,c,{empty:m.Callbacks("once memory").add(function(){m._removeData(a,b+"queue"),m._removeData(a,c)})})}}),m.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthh;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},W=/^(?:checkbox|radio)$/i;!function(){var a=y.createElement("input"),b=y.createElement("div"),c=y.createDocumentFragment();if(b.innerHTML="
    a",k.leadingWhitespace=3===b.firstChild.nodeType,k.tbody=!b.getElementsByTagName("tbody").length,k.htmlSerialize=!!b.getElementsByTagName("link").length,k.html5Clone="<:nav>"!==y.createElement("nav").cloneNode(!0).outerHTML,a.type="checkbox",a.checked=!0,c.appendChild(a),k.appendChecked=a.checked,b.innerHTML="",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue,c.appendChild(b),b.innerHTML="",k.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,k.noCloneEvent=!0,b.attachEvent&&(b.attachEvent("onclick",function(){k.noCloneEvent=!1}),b.cloneNode(!0).click()),null==k.deleteExpando){k.deleteExpando=!0;try{delete b.test}catch(d){k.deleteExpando=!1}}}(),function(){var b,c,d=y.createElement("div");for(b in{submit:!0,change:!0,focusin:!0})c="on"+b,(k[b+"Bubbles"]=c in a)||(d.setAttribute(c,"t"),k[b+"Bubbles"]=d.attributes[c].expando===!1);d=null}();var X=/^(?:input|select|textarea)$/i,Y=/^key/,Z=/^(?:mouse|pointer|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=/^([^.]*)(?:\.(.+)|)$/;function ab(){return!0}function bb(){return!1}function cb(){try{return y.activeElement}catch(a){}}m.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m._data(a);if(r){c.handler&&(i=c,c=i.handler,e=i.selector),c.guid||(c.guid=m.guid++),(g=r.events)||(g=r.events={}),(k=r.handle)||(k=r.handle=function(a){return typeof m===K||a&&m.event.triggered===a.type?void 0:m.event.dispatch.apply(k.elem,arguments)},k.elem=a),b=(b||"").match(E)||[""],h=b.length;while(h--)f=_.exec(b[h])||[],o=q=f[1],p=(f[2]||"").split(".").sort(),o&&(j=m.event.special[o]||{},o=(e?j.delegateType:j.bindType)||o,j=m.event.special[o]||{},l=m.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&m.expr.match.needsContext.test(e),namespace:p.join(".")},i),(n=g[o])||(n=g[o]=[],n.delegateCount=0,j.setup&&j.setup.call(a,d,p,k)!==!1||(a.addEventListener?a.addEventListener(o,k,!1):a.attachEvent&&a.attachEvent("on"+o,k))),j.add&&(j.add.call(a,l),l.handler.guid||(l.handler.guid=c.guid)),e?n.splice(n.delegateCount++,0,l):n.push(l),m.event.global[o]=!0);a=null}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,n,o,p,q,r=m.hasData(a)&&m._data(a);if(r&&(k=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=_.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=m.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,n=k[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=f=n.length;while(f--)g=n[f],!e&&q!==g.origType||c&&c.guid!==g.guid||h&&!h.test(g.namespace)||d&&d!==g.selector&&("**"!==d||!g.selector)||(n.splice(f,1),g.selector&&n.delegateCount--,l.remove&&l.remove.call(a,g));i&&!n.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||m.removeEvent(a,o,r.handle),delete k[o])}else for(o in k)m.event.remove(a,o+b[j],c,d,!0);m.isEmptyObject(k)&&(delete r.handle,m._removeData(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,l,n,o=[d||y],p=j.call(b,"type")?b.type:b,q=j.call(b,"namespace")?b.namespace.split("."):[];if(h=l=d=d||y,3!==d.nodeType&&8!==d.nodeType&&!$.test(p+m.event.triggered)&&(p.indexOf(".")>=0&&(q=p.split("."),p=q.shift(),q.sort()),g=p.indexOf(":")<0&&"on"+p,b=b[m.expando]?b:new m.Event(p,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=q.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:m.makeArray(c,[b]),k=m.event.special[p]||{},e||!k.trigger||k.trigger.apply(d,c)!==!1)){if(!e&&!k.noBubble&&!m.isWindow(d)){for(i=k.delegateType||p,$.test(i+p)||(h=h.parentNode);h;h=h.parentNode)o.push(h),l=h;l===(d.ownerDocument||y)&&o.push(l.defaultView||l.parentWindow||a)}n=0;while((h=o[n++])&&!b.isPropagationStopped())b.type=n>1?i:k.bindType||p,f=(m._data(h,"events")||{})[b.type]&&m._data(h,"handle"),f&&f.apply(h,c),f=g&&h[g],f&&f.apply&&m.acceptData(h)&&(b.result=f.apply(h,c),b.result===!1&&b.preventDefault());if(b.type=p,!e&&!b.isDefaultPrevented()&&(!k._default||k._default.apply(o.pop(),c)===!1)&&m.acceptData(d)&&g&&d[p]&&!m.isWindow(d)){l=d[g],l&&(d[g]=null),m.event.triggered=p;try{d[p]()}catch(r){}m.event.triggered=void 0,l&&(d[g]=l)}return b.result}},dispatch:function(a){a=m.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(m._data(this,"events")||{})[a.type]||[],k=m.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=m.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,g=0;while((e=f.handlers[g++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(e.namespace))&&(a.handleObj=e,a.data=e.data,c=((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i),void 0!==c&&(a.result=c)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!=this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(e=[],f=0;h>f;f++)d=b[f],c=d.selector+" ",void 0===e[c]&&(e[c]=d.needsContext?m(c,this).index(i)>=0:m.find(c,this,null,[i]).length),e[c]&&e.push(d);e.length&&g.push({elem:i,handlers:e})}return h]","i"),hb=/^\s+/,ib=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,jb=/<([\w:]+)/,kb=/\s*$/g,rb={option:[1,""],legend:[1,"
    ","
    "],area:[1,"",""],param:[1,"",""],thead:[1,"","
    "],tr:[2,"","
    "],col:[2,"","
    "],td:[3,"","
    "],_default:k.htmlSerialize?[0,"",""]:[1,"X
    ","
    "]},sb=db(y),tb=sb.appendChild(y.createElement("div"));rb.optgroup=rb.option,rb.tbody=rb.tfoot=rb.colgroup=rb.caption=rb.thead,rb.th=rb.td;function ub(a,b){var c,d,e=0,f=typeof a.getElementsByTagName!==K?a.getElementsByTagName(b||"*"):typeof a.querySelectorAll!==K?a.querySelectorAll(b||"*"):void 0;if(!f)for(f=[],c=a.childNodes||a;null!=(d=c[e]);e++)!b||m.nodeName(d,b)?f.push(d):m.merge(f,ub(d,b));return void 0===b||b&&m.nodeName(a,b)?m.merge([a],f):f}function vb(a){W.test(a.type)&&(a.defaultChecked=a.checked)}function wb(a,b){return m.nodeName(a,"table")&&m.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function xb(a){return a.type=(null!==m.find.attr(a,"type"))+"/"+a.type,a}function yb(a){var b=pb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function zb(a,b){for(var c,d=0;null!=(c=a[d]);d++)m._data(c,"globalEval",!b||m._data(b[d],"globalEval"))}function Ab(a,b){if(1===b.nodeType&&m.hasData(a)){var c,d,e,f=m._data(a),g=m._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;e>d;d++)m.event.add(b,c,h[c][d])}g.data&&(g.data=m.extend({},g.data))}}function Bb(a,b){var c,d,e;if(1===b.nodeType){if(c=b.nodeName.toLowerCase(),!k.noCloneEvent&&b[m.expando]){e=m._data(b);for(d in e.events)m.removeEvent(b,d,e.handle);b.removeAttribute(m.expando)}"script"===c&&b.text!==a.text?(xb(b).text=a.text,yb(b)):"object"===c?(b.parentNode&&(b.outerHTML=a.outerHTML),k.html5Clone&&a.innerHTML&&!m.trim(b.innerHTML)&&(b.innerHTML=a.innerHTML)):"input"===c&&W.test(a.type)?(b.defaultChecked=b.checked=a.checked,b.value!==a.value&&(b.value=a.value)):"option"===c?b.defaultSelected=b.selected=a.defaultSelected:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}}m.extend({clone:function(a,b,c){var d,e,f,g,h,i=m.contains(a.ownerDocument,a);if(k.html5Clone||m.isXMLDoc(a)||!gb.test("<"+a.nodeName+">")?f=a.cloneNode(!0):(tb.innerHTML=a.outerHTML,tb.removeChild(f=tb.firstChild)),!(k.noCloneEvent&&k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||m.isXMLDoc(a)))for(d=ub(f),h=ub(a),g=0;null!=(e=h[g]);++g)d[g]&&Bb(e,d[g]);if(b)if(c)for(h=h||ub(a),d=d||ub(f),g=0;null!=(e=h[g]);g++)Ab(e,d[g]);else Ab(a,f);return d=ub(f,"script"),d.length>0&&zb(d,!i&&ub(a,"script")),d=h=e=null,f},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,l,n=a.length,o=db(b),p=[],q=0;n>q;q++)if(f=a[q],f||0===f)if("object"===m.type(f))m.merge(p,f.nodeType?[f]:f);else if(lb.test(f)){h=h||o.appendChild(b.createElement("div")),i=(jb.exec(f)||["",""])[1].toLowerCase(),l=rb[i]||rb._default,h.innerHTML=l[1]+f.replace(ib,"<$1>")+l[2],e=l[0];while(e--)h=h.lastChild;if(!k.leadingWhitespace&&hb.test(f)&&p.push(b.createTextNode(hb.exec(f)[0])),!k.tbody){f="table"!==i||kb.test(f)?""!==l[1]||kb.test(f)?0:h:h.firstChild,e=f&&f.childNodes.length;while(e--)m.nodeName(j=f.childNodes[e],"tbody")&&!j.childNodes.length&&f.removeChild(j)}m.merge(p,h.childNodes),h.textContent="";while(h.firstChild)h.removeChild(h.firstChild);h=o.lastChild}else p.push(b.createTextNode(f));h&&o.removeChild(h),k.appendChecked||m.grep(ub(p,"input"),vb),q=0;while(f=p[q++])if((!d||-1===m.inArray(f,d))&&(g=m.contains(f.ownerDocument,f),h=ub(o.appendChild(f),"script"),g&&zb(h),c)){e=0;while(f=h[e++])ob.test(f.type||"")&&c.push(f)}return h=null,o},cleanData:function(a,b){for(var d,e,f,g,h=0,i=m.expando,j=m.cache,l=k.deleteExpando,n=m.event.special;null!=(d=a[h]);h++)if((b||m.acceptData(d))&&(f=d[i],g=f&&j[f])){if(g.events)for(e in g.events)n[e]?m.event.remove(d,e):m.removeEvent(d,e,g.handle);j[f]&&(delete j[f],l?delete d[i]:typeof d.removeAttribute!==K?d.removeAttribute(i):d[i]=null,c.push(f))}}}),m.fn.extend({text:function(a){return V(this,function(a){return void 0===a?m.text(this):this.empty().append((this[0]&&this[0].ownerDocument||y).createTextNode(a))},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=wb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?m.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||m.cleanData(ub(c)),c.parentNode&&(b&&m.contains(c.ownerDocument,c)&&zb(ub(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++){1===a.nodeType&&m.cleanData(ub(a,!1));while(a.firstChild)a.removeChild(a.firstChild);a.options&&m.nodeName(a,"select")&&(a.options.length=0)}return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return m.clone(this,a,b)})},html:function(a){return V(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a)return 1===b.nodeType?b.innerHTML.replace(fb,""):void 0;if(!("string"!=typeof a||mb.test(a)||!k.htmlSerialize&&gb.test(a)||!k.leadingWhitespace&&hb.test(a)||rb[(jb.exec(a)||["",""])[1].toLowerCase()])){a=a.replace(ib,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(m.cleanData(ub(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,m.cleanData(ub(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,n=this,o=l-1,p=a[0],q=m.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&nb.test(p))return this.each(function(c){var d=n.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(i=m.buildFragment(a,this[0].ownerDocument,!1,this),c=i.firstChild,1===i.childNodes.length&&(i=c),c)){for(g=m.map(ub(i,"script"),xb),f=g.length;l>j;j++)d=i,j!==o&&(d=m.clone(d,!0,!0),f&&m.merge(g,ub(d,"script"))),b.call(this[j],d,j);if(f)for(h=g[g.length-1].ownerDocument,m.map(g,yb),j=0;f>j;j++)d=g[j],ob.test(d.type||"")&&!m._data(d,"globalEval")&&m.contains(h,d)&&(d.src?m._evalUrl&&m._evalUrl(d.src):m.globalEval((d.text||d.textContent||d.innerHTML||"").replace(qb,"")));i=c=null}return this}}),m.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){m.fn[a]=function(a){for(var c,d=0,e=[],g=m(a),h=g.length-1;h>=d;d++)c=d===h?this:this.clone(!0),m(g[d])[b](c),f.apply(e,c.get());return this.pushStack(e)}});var Cb,Db={};function Eb(b,c){var d,e=m(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:m.css(e[0],"display");return e.detach(),f}function Fb(a){var b=y,c=Db[a];return c||(c=Eb(a,b),"none"!==c&&c||(Cb=(Cb||m("',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(Z),x("BeforeChange",function(e,t,n){t!==n&&(t===Z?D():n===Z&&D(!0))}),x(l+"."+Z,function(){D()})},getIframe:function(n,i){var o=n.src,r=t.st.iframe;e.each(r.patterns,function(){return o.indexOf(this.index)>-1?(this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1):void 0});var a={};return r.srcAction&&(a[r.srcAction]=o),t._parseMarkup(i,a,n),t.updateStatus("ready"),i}}});var K=function(e){var n=t.items.length;return e>n-1?e-n:0>e?n+e:e},Y=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=t.st.gallery,i=".mfp-gallery",r=Boolean(e.fn.mfpFastClick);return t.direction=!0,n&&n.enabled?(a+=" mfp-gallery",x(f+i,function(){n.navigateByImgClick&&t.wrap.on("click"+i,".mfp-img",function(){return t.items.length>1?(t.next(),!1):void 0}),o.on("keydown"+i,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),x("UpdateStatus"+i,function(e,n){n.text&&(n.text=Y(n.text,t.currItem.index,t.items.length))}),x(p+i,function(e,i,o,r){var a=t.items.length;o.counter=a>1?Y(n.tCounter,r.index,a):""}),x("BuildControls"+i,function(){if(t.items.length>1&&n.arrows&&!t.arrowLeft){var i=n.arrowMarkup,o=t.arrowLeft=e(i.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass(y),a=t.arrowRight=e(i.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass(y),s=r?"mfpFastClick":"click";o[s](function(){t.prev()}),a[s](function(){t.next()}),t.isIE7&&(k("b",o[0],!1,!0),k("a",o[0],!1,!0),k("b",a[0],!1,!0),k("a",a[0],!1,!0)),t.container.append(o.add(a))}}),x(m+i,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),x(l+i,function(){o.off(i),t.wrap.off("click"+i),t.arrowLeft&&r&&t.arrowLeft.add(t.arrowRight).destroyMfpFastClick(),t.arrowRight=t.arrowLeft=null}),void 0):!1},next:function(){t.direction=!0,t.index=K(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=K(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,i=Math.min(n[0],t.items.length),o=Math.min(n[1],t.items.length);for(e=1;(t.direction?o:i)>=e;e++)t._preloadItem(t.index+e);for(e=1;(t.direction?i:o)>=e;e++)t._preloadItem(t.index-e)},_preloadItem:function(n){if(n=K(n),!t.items[n].preloaded){var i=t.items[n];i.parsed||(i=t.parseEl(n)),T("LazyLoad",i),"image"===i.type&&(i.img=e('').on("load.mfploader",function(){i.hasSize=!0}).on("error.mfploader",function(){i.hasSize=!0,i.loadError=!0,T("LazyLoadError",i)}).attr("src",i.src)),i.preloaded=!0}}}});var U="retina";e.magnificPopup.registerModule(U,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,n=e.ratio;n=isNaN(n)?n():n,n>1&&(x("ImageHasSize."+U,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})}),x("ElementParse."+U,function(t,i){i.src=e.replaceSrc(i,n)}))}}}}),function(){var t=1e3,n="ontouchstart"in window,i=function(){I.off("touchmove"+r+" touchend"+r)},o="mfpFastClick",r="."+o;e.fn.mfpFastClick=function(o){return e(this).each(function(){var a,s=e(this);if(n){var l,c,d,u,p,f;s.on("touchstart"+r,function(e){u=!1,f=1,p=e.originalEvent?e.originalEvent.touches[0]:e.touches[0],c=p.clientX,d=p.clientY,I.on("touchmove"+r,function(e){p=e.originalEvent?e.originalEvent.touches:e.touches,f=p.length,p=p[0],(Math.abs(p.clientX-c)>10||Math.abs(p.clientY-d)>10)&&(u=!0,i())}).on("touchend"+r,function(e){i(),u||f>1||(a=!0,e.preventDefault(),clearTimeout(l),l=setTimeout(function(){a=!1},t),o())})})}s.on("click"+r,function(){a||o()})})},e.fn.destroyMfpFastClick=function(){e(this).off("touchstart"+r+" click"+r),n&&I.off("touchmove"+r+" touchend"+r)}}(),_()})(window.jQuery||window.Zepto); \ No newline at end of file diff --git a/public/ng/js/lib/jquery.tipsy.js b/public/ng/js/lib/jquery.tipsy.js deleted file mode 100644 index f95c063f..00000000 --- a/public/ng/js/lib/jquery.tipsy.js +++ /dev/null @@ -1,258 +0,0 @@ -// tipsy, facebook style tooltips for jquery -// version 1.0.0a -// (c) 2008-2010 jason frame [jason@onehackoranother.com] -// released under the MIT license - -(function($) { - - function maybeCall(thing, ctx) { - return (typeof thing == 'function') ? (thing.call(ctx)) : thing; - }; - - function isElementInDOM(ele) { - while (ele = ele.parentNode) { - if (ele == document) return true; - } - return false; - }; - - function Tipsy(element, options) { - this.$element = $(element); - this.options = options; - this.enabled = true; - this.fixTitle(); - }; - - Tipsy.prototype = { - show: function() { - var title = this.getTitle(); - if (title && this.enabled) { - var $tip = this.tip(); - - $tip.find('.tipsy-inner')[this.options.html ? 'html' : 'text'](title); - $tip[0].className = 'tipsy'; // reset classname in case of dynamic gravity - $tip.remove().css({top: 0, left: 0, visibility: 'hidden', display: 'block'}).prependTo(document.body); - - var pos = $.extend({}, this.$element.offset(), { - width: this.$element[0].offsetWidth, - height: this.$element[0].offsetHeight - }); - - var actualWidth = $tip[0].offsetWidth, - actualHeight = $tip[0].offsetHeight, - gravity = maybeCall(this.options.gravity, this.$element[0]); - - var tp; - switch (gravity.charAt(0)) { - case 'n': - tp = {top: pos.top + pos.height + this.options.offset, left: pos.left + pos.width / 2 - actualWidth / 2}; - break; - case 's': - tp = {top: pos.top - actualHeight - this.options.offset, left: pos.left + pos.width / 2 - actualWidth / 2}; - break; - case 'e': - tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth - this.options.offset}; - break; - case 'w': - tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width + this.options.offset}; - break; - } - - if (gravity.length == 2) { - if (gravity.charAt(1) == 'w') { - tp.left = pos.left + pos.width / 2 - 15; - } else { - tp.left = pos.left + pos.width / 2 - actualWidth + 15; - } - } - - $tip.css(tp).addClass('tipsy-' + gravity); - $tip.find('.tipsy-arrow')[0].className = 'tipsy-arrow tipsy-arrow-' + gravity.charAt(0); - if (this.options.className) { - $tip.addClass(maybeCall(this.options.className, this.$element[0])); - } - - if (this.options.fade) { - $tip.stop().css({opacity: 0, display: 'block', visibility: 'visible'}).animate({opacity: this.options.opacity}); - } else { - $tip.css({visibility: 'visible', opacity: this.options.opacity}); - } - } - }, - - hide: function() { - if (this.options.fade) { - this.tip().stop().fadeOut(function() { $(this).remove(); }); - } else { - this.tip().remove(); - } - }, - - fixTitle: function() { - var $e = this.$element; - if ($e.attr('title') || typeof($e.attr('original-title')) != 'string') { - $e.attr('original-title', $e.attr('title') || '').removeAttr('title'); - } - }, - - getTitle: function() { - var title, $e = this.$element, o = this.options; - this.fixTitle(); - var title, o = this.options; - if (typeof o.title == 'string') { - title = $e.attr(o.title == 'title' ? 'original-title' : o.title); - } else if (typeof o.title == 'function') { - title = o.title.call($e[0]); - } - title = ('' + title).replace(/(^\s*|\s*$)/, ""); - return title || o.fallback; - }, - - tip: function() { - if (!this.$tip) { - this.$tip = $('
    ').html('
    '); - this.$tip.data('tipsy-pointee', this.$element[0]); - } - return this.$tip; - }, - - validate: function() { - if (!this.$element[0].parentNode) { - this.hide(); - this.$element = null; - this.options = null; - } - }, - - enable: function() { this.enabled = true; }, - disable: function() { this.enabled = false; }, - toggleEnabled: function() { this.enabled = !this.enabled; } - }; - - $.fn.tipsy = function(options) { - - if (options === true) { - return this.data('tipsy'); - } else if (typeof options == 'string') { - var tipsy = this.data('tipsy'); - if (tipsy) tipsy[options](); - return this; - } - - options = $.extend({}, $.fn.tipsy.defaults, options); - - function get(ele) { - var tipsy = $.data(ele, 'tipsy'); - if (!tipsy) { - tipsy = new Tipsy(ele, $.fn.tipsy.elementOptions(ele, options)); - $.data(ele, 'tipsy', tipsy); - } - return tipsy; - } - - function enter() { - var tipsy = get(this); - tipsy.hoverState = 'in'; - if (options.delayIn == 0) { - tipsy.show(); - } else { - tipsy.fixTitle(); - setTimeout(function() { if (tipsy.hoverState == 'in') tipsy.show(); }, options.delayIn); - } - }; - - function leave() { - var tipsy = get(this); - tipsy.hoverState = 'out'; - if (options.delayOut == 0) { - tipsy.hide(); - } else { - setTimeout(function() { if (tipsy.hoverState == 'out') tipsy.hide(); }, options.delayOut); - } - }; - - if (!options.live) this.each(function() { get(this); }); - - if (options.trigger != 'manual') { - var binder = options.live ? 'live' : 'bind', - eventIn = options.trigger == 'hover' ? 'mouseenter' : 'focus', - eventOut = options.trigger == 'hover' ? 'mouseleave' : 'blur'; - this[binder](eventIn, enter)[binder](eventOut, leave); - } - - return this; - - }; - - $.fn.tipsy.defaults = { - className: null, - delayIn: 0, - delayOut: 0, - fade: false, - fallback: '', - gravity: 'n', - html: false, - live: false, - offset: 0, - opacity: 0.8, - title: 'title', - trigger: 'hover' - }; - - $.fn.tipsy.revalidate = function() { - $('.tipsy').each(function() { - var pointee = $.data(this, 'tipsy-pointee'); - if (!pointee || !isElementInDOM(pointee)) { - $(this).remove(); - } - }); - }; - - // Overwrite this method to provide options on a per-element basis. - // For example, you could store the gravity in a 'tipsy-gravity' attribute: - // return $.extend({}, options, {gravity: $(ele).attr('tipsy-gravity') || 'n' }); - // (remember - do not modify 'options' in place!) - $.fn.tipsy.elementOptions = function(ele, options) { - return $.metadata ? $.extend({}, options, $(ele).metadata()) : options; - }; - - $.fn.tipsy.autoNS = function() { - return $(this).offset().top > ($(document).scrollTop() + $(window).height() / 2) ? 's' : 'n'; - }; - - $.fn.tipsy.autoWE = function() { - return $(this).offset().left > ($(document).scrollLeft() + $(window).width() / 2) ? 'e' : 'w'; - }; - - /** - * yields a closure of the supplied parameters, producing a function that takes - * no arguments and is suitable for use as an autogravity function like so: - * - * @param margin (int) - distance from the viewable region edge that an - * element should be before setting its tooltip's gravity to be away - * from that edge. - * @param prefer (string, e.g. 'n', 'sw', 'w') - the direction to prefer - * if there are no viewable region edges effecting the tooltip's - * gravity. It will try to vary from this minimally, for example, - * if 'sw' is preferred and an element is near the right viewable - * region edge, but not the top edge, it will set the gravity for - * that element's tooltip to be 'se', preserving the southern - * component. - */ - $.fn.tipsy.autoBounds = function(margin, prefer) { - return function() { - var dir = {ns: prefer[0], ew: (prefer.length > 1 ? prefer[1] : false)}, - boundTop = $(document).scrollTop() + margin, - boundLeft = $(document).scrollLeft() + margin, - $this = $(this); - - if ($this.offset().top < boundTop) dir.ns = 'n'; - if ($this.offset().left < boundLeft) dir.ew = 'w'; - if ($(window).width() + $(document).scrollLeft() - $this.offset().left < margin) dir.ew = 'e'; - if ($(window).height() + $(document).scrollTop() - $this.offset().top < margin) dir.ns = 's'; - - return dir.ns + (dir.ew ? dir.ew : ''); - } - }; - -})(jQuery); diff --git a/public/ng/js/lib/lib.js b/public/ng/js/lib/lib.js deleted file mode 100644 index 5e95433d..00000000 --- a/public/ng/js/lib/lib.js +++ /dev/null @@ -1,168 +0,0 @@ -// pretty print -!function(){var q=null;window.PR_SHOULD_USE_CONTINUATION=!0; -(function(){function S(a){function d(e){var b=e.charCodeAt(0);if(b!==92)return b;var a=e.charAt(1);return(b=r[a])?b:"0"<=a&&a<="7"?parseInt(e.substring(1),8):a==="u"||a==="x"?parseInt(e.substring(2),16):e.charCodeAt(1)}function g(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);e=String.fromCharCode(e);return e==="\\"||e==="-"||e==="]"||e==="^"?"\\"+e:e}function b(e){var b=e.substring(1,e.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),e=[],a= -b[0]==="^",c=["["];a&&c.push("^");for(var a=a?1:0,f=b.length;a122||(l<65||h>90||e.push([Math.max(65,h)|32,Math.min(l,90)|32]),l<97||h>122||e.push([Math.max(97,h)&-33,Math.min(l,122)&-33]))}}e.sort(function(e,a){return e[0]-a[0]||a[1]-e[1]});b=[];f=[];for(a=0;ah[0]&&(h[1]+1>h[0]&&c.push("-"),c.push(g(h[1])));c.push("]");return c.join("")}function s(e){for(var a=e.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),c=a.length,d=[],f=0,h=0;f=2&&e==="["?a[f]=b(l):e!=="\\"&&(a[f]=l.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return a.join("")}for(var x=0,m=!1,j=!1,k=0,c=a.length;k=5&&"lang-"===w.substring(0,5))&&!(t&&typeof t[1]==="string"))f=!1,w="src";f||(r[z]=w)}h=c;c+=z.length;if(f){f=t[1];var l=z.indexOf(f),B=l+f.length;t[2]&&(B=z.length-t[2].length,l=B-f.length);w=w.substring(5);H(j+h,z.substring(0,l),g,k);H(j+h+l,f,I(w,f),k);H(j+h+B,z.substring(B),g,k)}else k.push(j+h,w)}a.g=k}var b={},s;(function(){for(var g=a.concat(d),j=[],k={},c=0,i=g.length;c=0;)b[n.charAt(e)]=r;r=r[1];n=""+r;k.hasOwnProperty(n)||(j.push(r),k[n]=q)}j.push(/[\S\s]/);s=S(j)})();var x=d.length;return g}function v(a){var d=[],g=[];a.tripleQuotedStrings?d.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?d.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/, -q,"'\"`"]):d.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&g.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var b=a.hashComments;b&&(a.cStyleComments?(b>1?d.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):d.push(["com",/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),g.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,q])):d.push(["com", -/^#[^\n\r]*/,q,"#"]));a.cStyleComments&&(g.push(["com",/^\/\/[^\n\r]*/,q]),g.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));if(b=a.regexLiterals){var s=(b=b>1?"":"\n\r")?".":"[\\S\\s]";g.push(["lang-regex",RegExp("^(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*("+("/(?=[^/*"+b+"])(?:[^/\\x5B\\x5C"+b+"]|\\x5C"+s+"|\\x5B(?:[^\\x5C\\x5D"+b+"]|\\x5C"+ -s+")*(?:\\x5D|$))+/")+")")])}(b=a.types)&&g.push(["typ",b]);b=(""+a.keywords).replace(/^ | $/g,"");b.length&&g.push(["kwd",RegExp("^(?:"+b.replace(/[\s,]+/g,"|")+")\\b"),q]);d.push(["pln",/^\s+/,q," \r\n\t\u00a0"]);b="^.[^\\s\\w.$@'\"`/\\\\]*";a.regexLiterals&&(b+="(?!s*/)");g.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/, -q],["pun",RegExp(b),q]);return C(d,g)}function J(a,d,g){function b(a){var c=a.nodeType;if(c==1&&!x.test(a.className))if("br"===a.nodeName)s(a),a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)b(a);else if((c==3||c==4)&&g){var d=a.nodeValue,i=d.match(m);if(i)c=d.substring(0,i.index),a.nodeValue=c,(d=d.substring(i.index+i[0].length))&&a.parentNode.insertBefore(j.createTextNode(d),a.nextSibling),s(a),c||a.parentNode.removeChild(a)}}function s(a){function b(a,c){var d= -c?a.cloneNode(!1):a,e=a.parentNode;if(e){var e=b(e,1),g=a.nextSibling;e.appendChild(d);for(var i=g;i;i=g)g=i.nextSibling,e.appendChild(i)}return d}for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),d;(d=a.parentNode)&&d.nodeType===1;)a=d;c.push(a)}for(var x=/(?:^|\s)nocode(?:\s|$)/,m=/\r\n?|\n/,j=a.ownerDocument,k=j.createElement("li");a.firstChild;)k.appendChild(a.firstChild);for(var c=[k],i=0;i=0;){var b=d[g];F.hasOwnProperty(b)?D.console&&console.warn("cannot override language handler %s",b):F[b]=a}}function I(a,d){if(!a||!F.hasOwnProperty(a))a=/^\s*=l&&(b+=2);g>=B&&(r+=2)}}finally{if(f)f.style.display=h}}catch(u){D.console&&console.log(u&&u.stack||u)}}var D=window,y=["break,continue,do,else,for,if,return,while"],E=[[y,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"], -"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],M=[E,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],N=[E,"abstract,assert,boolean,byte,extends,final,finally,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"], -O=[N,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,internal,into,is,let,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var,virtual,where"],E=[E,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],P=[y,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"], -Q=[y,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],W=[y,"as,assert,const,copy,drop,enum,extern,fail,false,fn,impl,let,log,loop,match,mod,move,mut,priv,pub,pure,ref,self,static,struct,true,trait,type,unsafe,use"],y=[y,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],R=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/, -V=/\S/,X=v({keywords:[M,O,E,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",P,Q,y],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),F={};p(X,["default-code"]);p(C([],[["pln",/^[^]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-", -/^]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]);p(C([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/], -["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);p(C([],[["atv",/^[\S\s]+/]]),["uq.val"]);p(v({keywords:M,hashComments:!0,cStyleComments:!0,types:R}),["c","cc","cpp","cxx","cyc","m"]);p(v({keywords:"null,true,false"}),["json"]);p(v({keywords:O,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:R}), -["cs"]);p(v({keywords:N,cStyleComments:!0}),["java"]);p(v({keywords:y,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]);p(v({keywords:P,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]);p(v({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]);p(v({keywords:Q, -hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]);p(v({keywords:E,cStyleComments:!0,regexLiterals:!0}),["javascript","js"]);p(v({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);p(v({keywords:W,cStyleComments:!0,multilineStrings:!0}),["rc","rs","rust"]); -p(C([],[["str",/^[\S\s]+/]]),["regex"]);var Y=D.PR={createSimpleLexer:C,registerLangHandler:p,sourceDecorator:v,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ",prettyPrintOne:D.prettyPrintOne=function(a,d,g){var b=document.createElement("div");b.innerHTML="
    "+a+"
    ";b=b.firstChild;g&&J(b,g,!0);K({h:d,j:g,c:b,i:1}); -return b.innerHTML},prettyPrint:D.prettyPrint=function(a,d){function g(){for(var b=D.PR_SHOULD_USE_CONTINUATION?c.now()+250:Infinity;i)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}\b/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]); - -// lang-dart.js -PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \u00a0"]],[["com",/^#!.*/],["kwd",/^\b(?:import|library|part of|part|as|show|hide)\b/i],["com",/^\/\/.*/],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["kwd",/^\b(?:class|interface)\b/i],["kwd",/^\b(?:assert|break|case|catch|continue|default|do|else|finally|for|if|in|is|new|return|super|switch|this|throw|try|while)\b/i],["kwd",/^\b(?:abstract|const|extends|factory|final|get|implements|native|operator|set|static|typedef|var)\b/i], -["typ",/^\b(?:bool|double|dynamic|int|num|object|string|void)\b/i],["kwd",/^\b(?:false|null|true)\b/i],["str",/^r?'''[\S\s]*?[^\\]'''/],["str",/^r?"""[\S\s]*?[^\\]"""/],["str",/^r?'('|[^\n\f\r]*?[^\\]')/],["str",/^r?"("|[^\n\f\r]*?[^\\]")/],["pln",/^[$_a-z]\w*/i],["pun",/^[!%&*+/:<-?^|~-]/],["lit",/^\b0x[\da-f]+/i],["lit",/^\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i],["lit",/^\b\.\d+(?:e[+-]?\d+)?/i],["pun",/^[(),.;[\]{}]/]]), -["dart"]); - -// lang-erlang.js -PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t-\r ]+/,null,"\t\n\u000b\u000c\r "],["str",/^"(?:[^\n\f\r"\\]|\\[\S\s])*(?:"|$)/,null,'"'],["lit",/^[a-z]\w*/],["lit",/^'(?:[^\n\f\r'\\]|\\[^&])+'?/,null,"'"],["lit",/^\?[^\t\n ({]+/,null,"?"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)/i,null,"0123456789"]],[["com",/^%[^\n]*/],["kwd",/^(?:module|attributes|do|let|in|letrec|apply|call|primop|case|of|end|when|fun|try|catch|receive|after|char|integer|float,atom,string,var)\b/], -["kwd",/^-[_a-z]+/],["typ",/^[A-Z_]\w*/],["pun",/^[,.;]/]]),["erlang","erl"]); - -// lang-go.js -// PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \u00a0"],["pln",/^(?:"(?:[^"\\]|\\[\S\s])*(?:"|$)|'(?:[^'\\]|\\[\S\s])+(?:'|$)|`[^`]*(?:`|$))/,null,"\"'"]],[["com",/^(?:\/\/[^\n\r]*|\/\*[\S\s]*?\*\/)/],["pln",/^(?:[^"'/`]|\/(?![*/]))+/]]),["go"]); - -// lang-hs.js -PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t-\r ]+/,null,"\t\n\u000b\u000c\r "],["str",/^"(?:[^\n\f\r"\\]|\\[\S\s])*(?:"|$)/,null,'"'],["str",/^'(?:[^\n\f\r'\\]|\\[^&])'?/,null,"'"],["lit",/^(?:0o[0-7]+|0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)/i,null,"0123456789"]],[["com",/^(?:--+[^\n\f\r]*|{-(?:[^-]|-+[^}-])*-})/],["kwd",/^(?:case|class|data|default|deriving|do|else|if|import|in|infix|infixl|infixr|instance|let|module|newtype|of|then|type|where|_)(?=[^\d'A-Za-z]|$)/, -null],["pln",/^(?:[A-Z][\w']*\.)*[A-Za-z][\w']*/],["pun",/^[^\d\t-\r "'A-Za-z]+/]]),["hs"]); - -// lang-lisp.js -var a=null; -PR.registerLangHandler(PR.createSimpleLexer([["opn",/^\(+/,a,"("],["clo",/^\)+/,a,")"],["com",/^;[^\n\r]*/,a,";"],["pln",/^[\t\n\r \xa0]+/,a,"\t\n\r \u00a0"],["str",/^"(?:[^"\\]|\\[\S\s])*(?:"|$)/,a,'"']],[["kwd",/^(?:block|c[ad]+r|catch|con[ds]|def(?:ine|un)|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind)\b/,a], -["lit",/^[+-]?(?:[#0]x[\da-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[de][+-]?\d+)?)/i],["lit",/^'(?:-*(?:\w|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?)?/],["pln",/^-*(?:[_a-z]|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?/i],["pun",/^[^\w\t\n\r "'-);\\\xa0]+/]]),["cl","el","lisp","lsp","scm","ss","rkt"]); - -// lang-llvm.js -PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \u00a0"],["str",/^!?"(?:[^"\\]|\\[\S\s])*(?:"|$)/,null,'"'],["com",/^;[^\n\r]*/,null,";"]],[["pln",/^[!%@](?:[$\-.A-Z_a-z][\w$\-.]*|\d+)/],["kwd",/^[^\W\d]\w*/,null],["lit",/^\d+\.\d+/],["lit",/^(?:\d+|0[Xx][\dA-Fa-f]+)/],["pun",/^[(-*,:<->[\]{}]|\.\.\.$/]]),["llvm","ll"]); - -// lang-lua.js -PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \u00a0"],["str",/^(?:"(?:[^"\\]|\\[\S\s])*(?:"|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$))/,null,"\"'"]],[["com",/^--(?:\[(=*)\[[\S\s]*?(?:]\1]|$)|[^\n\r]*)/],["str",/^\[(=*)\[[\S\s]*?(?:]\1]|$)/],["kwd",/^(?:and|break|do|else|elseif|end|false|for|function|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,null],["lit",/^[+-]?(?:0x[\da-f]+|(?:\.\d+|\d+(?:\.\d*)?)(?:e[+-]?\d+)?)/i], -["pln",/^[_a-z]\w*/i],["pun",/^[^\w\t\n\r \xa0][^\w\t\n\r "'+=\xa0-]*/]]),["lua"]); - -// lang-ml.js -PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \u00a0"],["com",/^#(?:if[\t\n\r \xa0]+(?:[$_a-z][\w']*|``[^\t\n\r`]*(?:``|$))|else|endif|light)/i,null,"#"],["str",/^(?:"(?:[^"\\]|\\[\S\s])*(?:"|$)|'(?:[^'\\]|\\[\S\s])(?:'|$))/,null,"\"'"]],[["com",/^(?:\/\/[^\n\r]*|\(\*[\S\s]*?\*\))/],["kwd",/^(?:abstract|and|as|assert|begin|class|default|delegate|do|done|downcast|downto|elif|else|end|exception|extern|false|finally|for|fun|function|if|in|inherit|inline|interface|internal|lazy|let|match|member|module|mutable|namespace|new|null|of|open|or|override|private|public|rec|return|static|struct|then|to|true|try|type|upcast|use|val|void|when|while|with|yield|asr|land|lor|lsl|lsr|lxor|mod|sig|atomic|break|checked|component|const|constraint|constructor|continue|eager|event|external|fixed|functor|global|include|method|mixin|object|parallel|process|protected|pure|sealed|trait|virtual|volatile)\b/], -["lit",/^[+-]?(?:0x[\da-f]+|(?:\.\d+|\d+(?:\.\d*)?)(?:e[+-]?\d+)?)/i],["pln",/^(?:[_a-z][\w']*[!#?]?|``[^\t\n\r`]*(?:``|$))/i],["pun",/^[^\w\t\n\r "'\xa0]+/]]),["fs","ml"]); - -// lang-mumps.js -PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \u00a0"],["str",/^"(?:[^"]|\\.)*"/,null,'"']],[["com",/^;[^\n\r]*/,null,";"],["dec",/^\$(?:d|device|ec|ecode|es|estack|et|etrap|h|horolog|i|io|j|job|k|key|p|principal|q|quit|st|stack|s|storage|sy|system|t|test|tl|tlevel|tr|trestart|x|y|z[a-z]*|a|ascii|c|char|d|data|e|extract|f|find|fn|fnumber|g|get|j|justify|l|length|na|name|o|order|p|piece|ql|qlength|qs|qsubscript|q|query|r|random|re|reverse|s|select|st|stack|t|text|tr|translate|nan)\b/i, -null],["kwd",/^(?:[^$]b|break|c|close|d|do|e|else|f|for|g|goto|h|halt|h|hang|i|if|j|job|k|kill|l|lock|m|merge|n|new|o|open|q|quit|r|read|s|set|tc|tcommit|tre|trestart|tro|trollback|ts|tstart|u|use|v|view|w|write|x|xecute)\b/i,null],["lit",/^[+-]?(?:\.\d+|\d+(?:\.\d*)?)(?:e[+-]?\d+)?/i],["pln",/^[a-z][^\W_]*/i],["pun",/^[^\w\t\n\r"$%;^\xa0]|_/]]),["mumps"]); - -// lang-n.js -var a=null; -PR.registerLangHandler(PR.createSimpleLexer([["str",/^(?:'(?:[^\n\r'\\]|\\.)*'|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,a,'"'],["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,a,"#"],["pln",/^\s+/,a," \r\n\t\u00a0"]],[["str",/^@"(?:[^"]|"")*(?:"|$)/,a],["str",/^<#[^#>]*(?:#>|$)/,a],["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,a],["com",/^\/\/[^\n\r]*/,a],["com",/^\/\*[\S\s]*?(?:\*\/|$)/, -a],["kwd",/^(?:abstract|and|as|base|catch|class|def|delegate|enum|event|extern|false|finally|fun|implements|interface|internal|is|macro|match|matches|module|mutable|namespace|new|null|out|override|params|partial|private|protected|public|ref|sealed|static|struct|syntax|this|throw|true|try|type|typeof|using|variant|virtual|volatile|when|where|with|assert|assert2|async|break|checked|continue|do|else|ensures|for|foreach|if|late|lock|new|nolate|otherwise|regexp|repeat|requires|return|surroundwith|unchecked|unless|using|while|yield)\b/, -a],["typ",/^(?:array|bool|byte|char|decimal|double|float|int|list|long|object|sbyte|short|string|ulong|uint|ufloat|ulong|ushort|void)\b/,a],["lit",/^@[$_a-z][\w$@]*/i,a],["typ",/^@[A-Z]+[a-z][\w$@]*/,a],["pln",/^'?[$_a-z][\w$@]*/i,a],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,a,"0123456789"],["pun",/^.[^\s\w"-$'./@`]*/,a]]),["n","nemerle"]); - -// lang-pascal.js -var a=null; -PR.registerLangHandler(PR.createSimpleLexer([["str",/^'(?:[^\n\r'\\]|\\.)*(?:'|$)/,a,"'"],["pln",/^\s+/,a," \r\n\t\u00a0"]],[["com",/^\(\*[\S\s]*?(?:\*\)|$)|^{[\S\s]*?(?:}|$)/,a],["kwd",/^(?:absolute|and|array|asm|assembler|begin|case|const|constructor|destructor|div|do|downto|else|end|external|for|forward|function|goto|if|implementation|in|inline|interface|interrupt|label|mod|not|object|of|or|packed|procedure|program|record|repeat|set|shl|shr|then|to|type|unit|until|uses|var|virtual|while|with|xor)\b/i,a], -["lit",/^(?:true|false|self|nil)/i,a],["pln",/^[a-z][^\W_]*/i,a],["lit",/^(?:\$[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)/i,a,"0123456789"],["pun",/^.[^\s\w$'./@]*/,a]]),["pascal"]); - -// lang-proto.js -PR.registerLangHandler(PR.sourceDecorator({keywords:"bytes,default,double,enum,extend,extensions,false,group,import,max,message,option,optional,package,repeated,required,returns,rpc,service,syntax,to,true",types:/^(bool|(double|s?fixed|[su]?int)(32|64)|float|string)\b/,cStyleComments:!0}),["proto"]); - -// lang-r.js -PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \u00a0"],["str",/^"(?:[^"\\]|\\[\S\s])*(?:"|$)/,null,'"'],["str",/^'(?:[^'\\]|\\[\S\s])*(?:'|$)/,null,"'"]],[["com",/^#.*/],["kwd",/^(?:if|else|for|while|repeat|in|next|break|return|switch|function)(?![\w.])/],["lit",/^0[Xx][\dA-Fa-f]+([Pp]\d+)?[Li]?/],["lit",/^[+-]?(\d+(\.\d+)?|\.\d+)([Ee][+-]?\d+)?[Li]?/],["lit",/^(?:NULL|NA(?:_(?:integer|real|complex|character)_)?|Inf|TRUE|FALSE|NaN|\.\.(?:\.|\d+))(?![\w.])/], -["pun",/^(?:<>?|-|==|<=|>=|<|>|&&?|!=|\|\|?|[!*+/^]|%.*?%|[$=@~]|:{1,3}|[(),;?[\]{}])/],["pln",/^(?:[A-Za-z]+[\w.]*|\.[^\W\d][\w.]*)(?![\w.])/],["str",/^`.+`/]]),["r","s","R","S","Splus"]); - -// lang-rd.js -PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \u00a0"],["com",/^%[^\n\r]*/,null,"%"]],[["lit",/^\\(?:cr|l?dots|R|tab)\b/],["kwd",/^\\[@-Za-z]+/],["kwd",/^#(?:ifn?def|endif)/],["pln",/^\\[{}]/],["pun",/^[()[\]{}]+/]]),["Rd","rd"]); - -// lang-scala.js -PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \u00a0"],["str",/^"(?:""(?:""?(?!")|[^"\\]|\\.)*"{0,3}|(?:[^\n\r"\\]|\\.)*"?)/,null,'"'],["lit",/^`(?:[^\n\r\\`]|\\.)*`?/,null,"`"],["pun",/^[!#%&(--:-@[-^{-~]+/,null,"!#%&()*+,-:;<=>?@[\\]^{|}~"]],[["str",/^'(?:[^\n\r'\\]|\\(?:'|[^\n\r']+))'/],["lit",/^'[$A-Z_a-z][\w$]*(?![\w$'])/],["kwd",/^(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|object|override|package|private|protected|requires|return|sealed|super|throw|trait|try|type|val|var|while|with|yield)\b/], -["lit",/^(?:true|false|null|this)\b/],["lit",/^(?:0(?:[0-7]+|x[\da-f]+)l?|(?:0|[1-9]\d*)(?:(?:\.\d+)?(?:e[+-]?\d+)?f?|l?)|\\.\d+(?:e[+-]?\d+)?f?)/i],["typ",/^[$_]*[A-Z][\d$A-Z_]*[a-z][\w$]*/],["pln",/^[$A-Z_a-z][\w$]*/],["com",/^\/(?:\/.*|\*(?:\/|\**[^*/])*(?:\*+\/?)?)/],["pun",/^(?:\.+|\/)/]]),["scala"]); - -// lang-sql.js -PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \u00a0"],["str",/^(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,null,"\"'"]],[["com",/^(?:--[^\n\r]*|\/\*[\S\s]*?(?:\*\/|$))/],["kwd",/^(?:add|all|alter|and|any|apply|as|asc|authorization|backup|begin|between|break|browse|bulk|by|cascade|case|check|checkpoint|close|clustered|coalesce|collate|column|commit|compute|connect|constraint|contains|containstable|continue|convert|create|cross|current|current_date|current_time|current_timestamp|current_user|cursor|database|dbcc|deallocate|declare|default|delete|deny|desc|disk|distinct|distributed|double|drop|dummy|dump|else|end|errlvl|escape|except|exec|execute|exists|exit|fetch|file|fillfactor|following|for|foreign|freetext|freetexttable|from|full|function|goto|grant|group|having|holdlock|identity|identitycol|identity_insert|if|in|index|inner|insert|intersect|into|is|join|key|kill|left|like|lineno|load|match|matched|merge|natural|national|nocheck|nonclustered|nocycle|not|null|nullif|of|off|offsets|on|open|opendatasource|openquery|openrowset|openxml|option|or|order|outer|over|partition|percent|pivot|plan|preceding|precision|primary|print|proc|procedure|public|raiserror|read|readtext|reconfigure|references|replication|restore|restrict|return|revoke|right|rollback|rowcount|rowguidcol|rows?|rule|save|schema|select|session_user|set|setuser|shutdown|some|start|statistics|system_user|table|textsize|then|to|top|tran|transaction|trigger|truncate|tsequal|unbounded|union|unique|unpivot|update|updatetext|use|user|using|values|varying|view|waitfor|when|where|while|with|within|writetext|xml)(?=[^\w-]|$)/i, -null],["lit",/^[+-]?(?:0x[\da-f]+|(?:\.\d+|\d+(?:\.\d*)?)(?:e[+-]?\d+)?)/i],["pln",/^[_a-z][\w-]*/i],["pun",/^[^\w\t\n\r "'\xa0][^\w\t\n\r "'+\xa0-]*/]]),["sql"]); - -// lang-tcl.js -var a=null; -PR.registerLangHandler(PR.createSimpleLexer([["opn",/^{+/,a,"{"],["clo",/^}+/,a,"}"],["com",/^#[^\n\r]*/,a,"#"],["pln",/^[\t\n\r \xa0]+/,a,"\t\n\r \u00a0"],["str",/^"(?:[^"\\]|\\[\S\s])*(?:"|$)/,a,'"']],[["kwd",/^(?:after|append|apply|array|break|case|catch|continue|error|eval|exec|exit|expr|for|foreach|if|incr|info|proc|return|set|switch|trace|uplevel|upvar|while)\b/,a],["lit",/^[+-]?(?:[#0]x[\da-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[de][+-]?\d+)?)/i],["lit", -/^'(?:-*(?:\w|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?)?/],["pln",/^-*(?:[_a-z]|\\[!-~])(?:[\w-]*|\\[!-~])[!=?]?/i],["pun",/^[^\w\t\n\r "'-);\\\xa0]+/]]),["tcl"]); - -// lang-tex.js -PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \u00a0"],["com",/^%[^\n\r]*/,null,"%"]],[["kwd",/^\\[@-Za-z]+/],["kwd",/^\\./],["typ",/^[$&]/],["lit",/[+-]?(?:\.\d+|\d+(?:\.\d*)?)(cm|em|ex|in|pc|pt|bp|mm)/i],["pun",/^[()=[\]{}]+/]]),["latex","tex"]); - -// lang-vb.js -PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0\u2028\u2029]+/,null,"\t\n\r \u00a0\u2028\u2029"],["str",/^(?:["\u201c\u201d](?:[^"\u201c\u201d]|["\u201c\u201d]{2})(?:["\u201c\u201d]c|$)|["\u201c\u201d](?:[^"\u201c\u201d]|["\u201c\u201d]{2})*(?:["\u201c\u201d]|$))/i,null,'"\u201c\u201d'],["com",/^['\u2018\u2019](?:_(?:\r\n?|[^\r]?)|[^\n\r_\u2028\u2029])*/,null,"'\u2018\u2019"]],[["kwd",/^(?:addhandler|addressof|alias|and|andalso|ansi|as|assembly|auto|boolean|byref|byte|byval|call|case|catch|cbool|cbyte|cchar|cdate|cdbl|cdec|char|cint|class|clng|cobj|const|cshort|csng|cstr|ctype|date|decimal|declare|default|delegate|dim|directcast|do|double|each|else|elseif|end|endif|enum|erase|error|event|exit|finally|for|friend|function|get|gettype|gosub|goto|handles|if|implements|imports|in|inherits|integer|interface|is|let|lib|like|long|loop|me|mod|module|mustinherit|mustoverride|mybase|myclass|namespace|new|next|not|notinheritable|notoverridable|object|on|option|optional|or|orelse|overloads|overridable|overrides|paramarray|preserve|private|property|protected|public|raiseevent|readonly|redim|removehandler|resume|return|select|set|shadows|shared|short|single|static|step|stop|string|structure|sub|synclock|then|throw|to|try|typeof|unicode|until|variant|wend|when|while|with|withevents|writeonly|xor|endif|gosub|let|variant|wend)\b/i, -null],["com",/^rem\b.*/i],["lit",/^(?:true\b|false\b|nothing\b|\d+(?:e[+-]?\d+[dfr]?|[dfilrs])?|(?:&h[\da-f]+|&o[0-7]+)[ils]?|\d*\.\d+(?:e[+-]?\d+)?[dfr]?|#\s+(?:\d+[/-]\d+[/-]\d+(?:\s+\d+:\d+(?::\d+)?(\s*(?:am|pm))?)?|\d+:\d+(?::\d+)?(\s*(?:am|pm))?)\s+#)/i],["pln",/^(?:(?:[a-z]|_\w)\w*(?:\[[!#%&@]+])?|\[(?:[a-z]|_\w)\w*])/i],["pun",/^[^\w\t\n\r "'[\]\xa0\u2018\u2019\u201c\u201d\u2028\u2029]+/],["pun",/^(?:\[|])/]]),["vb","vbs"]); - -// lang-vhdl.js -PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \u00a0"]],[["str",/^(?:[box]?"(?:[^"]|"")*"|'.')/i],["com",/^--[^\n\r]*/],["kwd",/^(?:abs|access|after|alias|all|and|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|mod|nand|new|next|nor|not|null|of|on|open|or|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|rem|report|return|rol|ror|select|severity|shared|signal|sla|sll|sra|srl|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with|xnor|xor)(?=[^\w-]|$)/i, -null],["typ",/^(?:bit|bit_vector|character|boolean|integer|real|time|string|severity_level|positive|natural|signed|unsigned|line|text|std_u?logic(?:_vector)?)(?=[^\w-]|$)/i,null],["typ",/^'(?:active|ascending|base|delayed|driving|driving_value|event|high|image|instance_name|last_active|last_event|last_value|left|leftof|length|low|path_name|pos|pred|quiet|range|reverse_range|right|rightof|simple_name|stable|succ|transaction|val|value)(?=[^\w-]|$)/i,null],["lit",/^\d+(?:_\d+)*(?:#[\w.\\]+#(?:[+-]?\d+(?:_\d+)*)?|(?:\.\d+(?:_\d+)*)?(?:e[+-]?\d+(?:_\d+)*)?)/i], -["pln",/^(?:[a-z]\w*|\\[^\\]*\\)/i],["pun",/^[^\w\t\n\r "'\xa0][^\w\t\n\r "'\xa0-]*/]]),["vhdl","vhd"]); - -// lang-wiki.js -PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\d\t a-gi-z\xa0]+/,null,"\t \u00a0abcdefgijklmnopqrstuvwxyz0123456789"],["pun",/^[*=[\]^~]+/,null,"=*~^[]"]],[["lang-wiki.meta",/(?:^^|\r\n?|\n)(#[a-z]+)\b/],["lit",/^[A-Z][a-z][\da-z]+[A-Z][a-z][^\W_]+\b/],["lang-",/^{{{([\S\s]+?)}}}/],["lang-",/^`([^\n\r`]+)`/],["str",/^https?:\/\/[^\s#/?]*(?:\/[^\s#?]*)?(?:\?[^\s#]*)?(?:#\S*)?/i],["pln",/^(?:\r\n|[\S\s])[^\n\r#*=A-[^`h{~]*/]]),["wiki"]); -PR.registerLangHandler(PR.createSimpleLexer([["kwd",/^#[a-z]+/i,null,"#"]],[]),["wiki.meta"]); - -// lang-yaml.js -var a=null; -var a=null; -PR.registerLangHandler(PR.createSimpleLexer([["pun",/^[:>?|]+/,a,":|>?"],["dec",/^%(?:YAML|TAG)[^\n\r#]+/,a,"%"],["typ",/^&\S+/,a,"&"],["typ",/^!\S*/,a,"!"],["str",/^"(?:[^"\\]|\\.)*(?:"|$)/,a,'"'],["str",/^'(?:[^']|'')*(?:'|$)/,a,"'"],["com",/^#[^\n\r]*/,a,"#"],["pln",/^\s+/,a," \t\r\n"]],[["dec",/^(?:---|\.\.\.)(?:[\n\r]|$)/],["pun",/^-/],["kwd",/^\w+:[\n\r ]/],["pln",/^\w+/]]),["yaml","yml"]); - -/* - * zClip :: jQuery ZeroClipboard v1.1.1 - * http://steamdev.com/zclip - * - * Copyright 2011, SteamDev - * Released under the MIT license. - * http://www.opensource.org/licenses/mit-license.php - * - * Date: Wed Jun 01, 2011 - */ - -(function(a){a.fn.zclip=function(c){if(typeof c=="object"&&!c.length){var b=a.extend({path:"ZeroClipboard.swf",copy:null,beforeCopy:null,afterCopy:null,clickAfter:true,setHandCursor:true,setCSSEffects:true},c);return this.each(function(){var e=a(this);if(e.is(":visible")&&(typeof b.copy=="string"||a.isFunction(b.copy))){ZeroClipboard.setMoviePath(b.path);var d=new ZeroClipboard.Client();if(a.isFunction(b.copy)){e.bind("zClip_copy",b.copy)}if(a.isFunction(b.beforeCopy)){e.bind("zClip_beforeCopy",b.beforeCopy)}if(a.isFunction(b.afterCopy)){e.bind("zClip_afterCopy",b.afterCopy)}d.setHandCursor(b.setHandCursor);d.setCSSEffects(b.setCSSEffects);d.addEventListener("mouseOver",function(f){e.trigger("mouseenter")});d.addEventListener("mouseOut",function(f){e.trigger("mouseleave")});d.addEventListener("mouseDown",function(f){e.trigger("mousedown");if(!a.isFunction(b.copy)){d.setText(b.copy)}else{d.setText(e.triggerHandler("zClip_copy"))}if(a.isFunction(b.beforeCopy)){e.trigger("zClip_beforeCopy")}});d.addEventListener("complete",function(f,g){if(a.isFunction(b.afterCopy)){e.trigger("zClip_afterCopy")}else{if(g.length>500){g=g.substr(0,500)+"...\n\n("+(g.length-500)+" characters not shown)"}e.removeClass("hover");alert("Copied text to clipboard:\n\n "+g)}if(b.clickAfter){e.trigger("click")}});d.glue(e[0],e.parent()[0]);a(window).bind("load resize",function(){d.reposition()})}})}else{if(typeof c=="string"){return this.each(function(){var f=a(this);c=c.toLowerCase();var e=f.data("zclipId");var d=a("#"+e+".zclip");if(c=="remove"){d.remove();f.removeClass("active hover")}else{if(c=="hide"){d.hide();f.removeClass("active hover")}else{if(c=="show"){d.show()}}}})}}}})(jQuery);var ZeroClipboard={version:"1.0.7",clients:{},moviePath:"ZeroClipboard.swf",nextId:1,$:function(a){if(typeof(a)=="string"){a=document.getElementById(a)}if(!a.addClass){a.hide=function(){/*this.style.display="none"*/};a.show=function(){this.style.display=""};a.addClass=function(b){this.removeClass(b);this.className+=" "+b};a.removeClass=function(d){var e=this.className.split(/\s+/);var b=-1;for(var c=0;c-1){e.splice(b,1);this.className=e.join(" ")}return this};a.hasClass=function(b){return !!this.className.match(new RegExp("\\s*"+b+"\\s*"))}}return a},setMoviePath:function(a){this.moviePath=a},dispatch:function(d,b,c){var a=this.clients[d];if(a){a.receiveEvent(b,c)}},register:function(b,a){this.clients[b]=a},getDOMObjectPosition:function(c,a){var b={left:0,top:0,width:c.width?c.width:c.offsetWidth,height:c.height?c.height:c.offsetHeight};if(c&&(c!=a)){b.left+=c.offsetLeft;b.top+=c.offsetTop}return b},Client:function(a){this.handlers={};this.id=ZeroClipboard.nextId++;this.movieId="ZeroClipboardMovie_"+this.id;ZeroClipboard.register(this.id,this);if(a){this.glue(a)}}};ZeroClipboard.Client.prototype={id:0,ready:false,movie:null,clipText:"",handCursorEnabled:true,cssEffects:true,handlers:null,glue:function(d,b,e){this.domElement=ZeroClipboard.$(d);var f=99;if(this.domElement.style.zIndex){f=parseInt(this.domElement.style.zIndex,10)+1}if(typeof(b)=="string"){b=ZeroClipboard.$(b)}else{if(typeof(b)=="undefined"){b=document.getElementsByTagName("body")[0]}}var c=ZeroClipboard.getDOMObjectPosition(this.domElement,b);this.div=document.createElement("div");this.div.className="zclip";this.div.id="zclip-"+this.movieId;$(this.domElement).data("zclipId","zclip-"+this.movieId);var a=this.div.style;a.position="absolute";a.left=""+c.left+"px";a.top=""+c.top+"px";a.width=""+c.width+"px";a.height=""+c.height+"px";a.zIndex=f;if(typeof(e)=="object"){for(addedStyle in e){a[addedStyle]=e[addedStyle]}}b.appendChild(this.div);this.div.innerHTML=this.getHTML(c.width,c.height)},getHTML:function(d,a){var c="";var b="id="+this.id+"&width="+d+"&height="+a;if(navigator.userAgent.match(/MSIE/)){var e=location.href.match(/^https/i)?"https://":"http://";c+=''}else{c+=''}return c},hide:function(){if(this.div){this.div.style.left="-2000px"}},show:function(){this.reposition()},destroy:function(){if(this.domElement&&this.div){this.hide();this.div.innerHTML="";var a=document.getElementsByTagName("body")[0];try{a.removeChild(this.div)}catch(b){}this.domElement=null;this.div=null}},reposition:function(c){if(c){this.domElement=ZeroClipboard.$(c);if(!this.domElement){this.hide()}}if(this.domElement&&this.div){var b=ZeroClipboard.getDOMObjectPosition(this.domElement);var a=this.div.style;a.left=""+b.left+"px";a.top=""+b.top+"px"}},setText:function(a){this.clipText=a;if(this.ready){this.movie.setText(a)}},addEventListener:function(a,b){a=a.toString().toLowerCase().replace(/^on/,"");if(!this.handlers[a]){this.handlers[a]=[]}this.handlers[a].push(b)},setHandCursor:function(a){this.handCursorEnabled=a;if(this.ready){this.movie.setHandCursor(a)}},setCSSEffects:function(a){this.cssEffects=!!a},receiveEvent:function(d,f){d=d.toString().toLowerCase().replace(/^on/,"");switch(d){case"load":this.movie=document.getElementById(this.movieId);if(!this.movie){var c=this;setTimeout(function(){c.receiveEvent("load",null)},1);return}if(!this.ready&&navigator.userAgent.match(/Firefox/)&&navigator.userAgent.match(/Windows/)){var c=this;setTimeout(function(){c.receiveEvent("load",null)},100);this.ready=true;return}this.ready=true;try{this.movie.setText(this.clipText)}catch(h){}try{this.movie.setHandCursor(this.handCursorEnabled)}catch(h){}break;case"mouseover":if(this.domElement&&this.cssEffects){this.domElement.addClass("hover");if(this.recoverActive){this.domElement.addClass("active")}}break;case"mouseout":if(this.domElement&&this.cssEffects){this.recoverActive=false;if(this.domElement.hasClass("active")){this.domElement.removeClass("active");this.recoverActive=true}this.domElement.removeClass("hover")}break;case"mousedown":if(this.domElement&&this.cssEffects){this.domElement.addClass("active")}break;case"mouseup":if(this.domElement&&this.cssEffects){this.domElement.removeClass("active");this.recoverActive=false}break}if(this.handlers[d]){for(var b=0,a=this.handlers[d].length;ba").click(function(){$($(this).data("target")).slideToggle(100)});var e=$(".diff-counter");e.length<1||e.each(function(e,t){var n=$(t),i=n.find("span[data-line].add").data("line"),r=n.find("span[data-line].del").data("line"),o=parseFloat(i)/(parseFloat(i)+parseFloat(r))*100;n.find(".bar .add").css("width",o+"%")})}function homepage(){$("#promo-form").submit(function(e){return""===$("#username").val()?(e.preventDefault(),window.location.href=Gogs.AppSubUrl+"/user/login",!0):void 0}),$("#register-button").click(function(e){return""===$("#username").val()?(e.preventDefault(),window.location.href=Gogs.AppSubUrl+"/user/sign_up",!0):void $("#promo-form").attr("action",Gogs.AppSubUrl+"/user/sign_up")})}!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=e.length,n=oe.type(e);return"function"===n||oe.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}function i(e,t,n){if(oe.isFunction(t))return oe.grep(e,function(e,i){return!!t.call(e,i,e)!==n});if(t.nodeType)return oe.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(pe.test(t))return oe.filter(t,e,n);t=oe.filter(t,e)}return oe.grep(e,function(e){return oe.inArray(e,t)>=0!==n})}function r(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function o(e){var t=we[e]={};return oe.each(e.match(xe)||[],function(e,n){t[n]=!0}),t}function a(){me.addEventListener?(me.removeEventListener("DOMContentLoaded",s,!1),e.removeEventListener("load",s,!1)):(me.detachEvent("onreadystatechange",s),e.detachEvent("onload",s))}function s(){(me.addEventListener||"load"===event.type||"complete"===me.readyState)&&(a(),oe.ready())}function l(e,t,n){if(void 0===n&&1===e.nodeType){var i="data-"+t.replace(Te,"-$1").toLowerCase();if(n=e.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Se.test(n)?oe.parseJSON(n):n}catch(r){}oe.data(e,t,n)}else n=void 0}return n}function c(e){var t;for(t in e)if(("data"!==t||!oe.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function u(e,t,n,i){if(oe.acceptData(e)){var r,o,a=oe.expando,s=e.nodeType,l=s?oe.cache:e,c=s?e[a]:e[a]&&a;if(c&&l[c]&&(i||l[c].data)||void 0!==n||"string"!=typeof t)return c||(c=s?e[a]=V.pop()||oe.guid++:a),l[c]||(l[c]=s?{}:{toJSON:oe.noop}),("object"==typeof t||"function"==typeof t)&&(i?l[c]=oe.extend(l[c],t):l[c].data=oe.extend(l[c].data,t)),o=l[c],i||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[oe.camelCase(t)]=n),"string"==typeof t?(r=o[t],null==r&&(r=o[oe.camelCase(t)])):r=o,r}}function d(e,t,n){if(oe.acceptData(e)){var i,r,o=e.nodeType,a=o?oe.cache:e,s=o?e[oe.expando]:oe.expando;if(a[s]){if(t&&(i=n?a[s]:a[s].data)){oe.isArray(t)?t=t.concat(oe.map(t,oe.camelCase)):t in i?t=[t]:(t=oe.camelCase(t),t=t in i?[t]:t.split(" ")),r=t.length;for(;r--;)delete i[t[r]];if(n?!c(i):!oe.isEmptyObject(i))return}(n||(delete a[s].data,c(a[s])))&&(o?oe.cleanData([e],!0):ie.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function f(){return!0}function p(){return!1}function h(){try{return me.activeElement}catch(e){}}function m(e){var t=Pe.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function g(e,t){var n,i,r=0,o=typeof e.getElementsByTagName!==$e?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==$e?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(i=n[r]);r++)!t||oe.nodeName(i,t)?o.push(i):oe.merge(o,g(i,t));return void 0===t||t&&oe.nodeName(e,t)?oe.merge([e],o):o}function v(e){De.test(e.type)&&(e.defaultChecked=e.checked)}function y(e,t){return oe.nodeName(e,"table")&&oe.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function b(e){return e.type=(null!==oe.find.attr(e,"type"))+"/"+e.type,e}function x(e){var t=Ze.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function w(e,t){for(var n,i=0;null!=(n=e[i]);i++)oe._data(n,"globalEval",!t||oe._data(t[i],"globalEval"))}function C(e,t){if(1===t.nodeType&&oe.hasData(e)){var n,i,r,o=oe._data(e),a=oe._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(i=0,r=s[n].length;r>i;i++)oe.event.add(t,n,s[n][i])}a.data&&(a.data=oe.extend({},a.data))}}function k(e,t){var n,i,r;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!ie.noCloneEvent&&t[oe.expando]){r=oe._data(t);for(i in r.events)oe.removeEvent(t,i,r.handle);t.removeAttribute(oe.expando)}"script"===n&&t.text!==e.text?(b(t).text=e.text,x(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),ie.html5Clone&&e.innerHTML&&!oe.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&De.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}function S(t,n){var i,r=oe(n.createElement(t)).appendTo(n.body),o=e.getDefaultComputedStyle&&(i=e.getDefaultComputedStyle(r[0]))?i.display:oe.css(r[0],"display");return r.detach(),o}function T(e){var t=me,n=Je[e];return n||(n=S(e,t),"none"!==n&&n||(Ke=(Ke||oe("