From 44ea3d9065c891b3a63a179f628a969603ff66be Mon Sep 17 00:00:00 2001 From: David Martel Date: Wed, 25 Mar 2015 22:21:21 -0400 Subject: Fix "Plus" icon size in dashboard --- public/ng/css/gogs.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public') diff --git a/public/ng/css/gogs.css b/public/ng/css/gogs.css index 67bc7bb3..a323612d 100644 --- a/public/ng/css/gogs.css +++ b/public/ng/css/gogs.css @@ -866,7 +866,7 @@ ol.linenums { border-top-right-radius: .3em; } #dashboard-new-repo .octicon { - font-size: 2em; + font-size: 20px; } #dashboard-new-repo-menu { top: 33px; -- cgit v1.2.3 From 93ff2e31e8e5d8de9bf3099aea42a51e846b810b Mon Sep 17 00:00:00 2001 From: David Martel Date: Thu, 26 Mar 2015 19:32:08 -0400 Subject: Fix "Plus" icon size in dashboard (part 2) --- public/ng/less/gogs/dashboard.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public') diff --git a/public/ng/less/gogs/dashboard.less b/public/ng/less/gogs/dashboard.less index 62764c48..f68fb95b 100644 --- a/public/ng/less/gogs/dashboard.less +++ b/public/ng/less/gogs/dashboard.less @@ -159,7 +159,7 @@ padding-top: 6px; margin-right: 1px; .octicon { - font-size: 2em; + font-size: 20px; } border-top-left-radius: .3em; border-top-right-radius: .3em; -- cgit v1.2.3 From 9fb2d49b93022d635147c09bcad7134570979909 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 27 Mar 2015 06:47:02 -0400 Subject: #1073 #1162 issue ID constraint failed --- .gopmfile | 2 +- gogs.go | 2 +- models/issue.go | 4 +++- public/css/gogs.min.css | 2 +- public/less/_home.less | 2 +- templates/.VERSION | 2 +- 6 files changed, 8 insertions(+), 6 deletions(-) (limited to 'public') diff --git a/.gopmfile b/.gopmfile index 6e0f1970..3730ff68 100644 --- a/.gopmfile +++ b/.gopmfile @@ -16,7 +16,7 @@ github.com/gogits/go-gogs-client = commit:92e76d616a github.com/lib/pq = commit:30ed2200d7 github.com/macaron-contrib/binding = commit:548a793679 github.com/macaron-contrib/cache = commit:928d5c35cd -github.com/macaron-contrib/captcha = commit:fbb8b1ebb5 +github.com/macaron-contrib/captcha = github.com/macaron-contrib/csrf = commit:98ddf5a710 github.com/macaron-contrib/i18n = commit:da2b19e90b github.com/macaron-contrib/oauth2 = commit:8f394c3629 diff --git a/gogs.go b/gogs.go index 7fe0a38e..bdc59c87 100644 --- a/gogs.go +++ b/gogs.go @@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.6.1.0325 Beta" +const APP_VER = "0.6.1.0327 Beta" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) diff --git a/models/issue.go b/models/issue.go index 2b80e576..60030447 100644 --- a/models/issue.go +++ b/models/issue.go @@ -282,7 +282,7 @@ type IssueUser struct { } // NewIssueUserPairs adds new issue-user pairs for new issue of repository. -func NewIssueUserPairs(repo *Repository, issueID, orgID, posterID, assigneeID int64) (err error) { +func NewIssueUserPairs(repo *Repository, issueID, orgID, posterID, assigneeID int64) error { users, err := repo.GetCollaborators() if err != nil { return err @@ -295,6 +295,7 @@ func NewIssueUserPairs(repo *Repository, issueID, orgID, posterID, assigneeID in isNeedAddPoster := true for _, u := range users { + iu.Id = 0 iu.Uid = u.Id iu.IsPoster = iu.Uid == posterID if isNeedAddPoster && iu.IsPoster { @@ -306,6 +307,7 @@ func NewIssueUserPairs(repo *Repository, issueID, orgID, posterID, assigneeID in } } if isNeedAddPoster { + iu.Id = 0 iu.Uid = posterID iu.IsPoster = true iu.IsAssigned = iu.Uid == assigneeID diff --git a/public/css/gogs.min.css b/public/css/gogs.min.css index 528d21ad..2492034a 100644 --- a/public/css/gogs.min.css +++ b/public/css/gogs.min.css @@ -1 +1 @@ -@font-face{font-family:octicons;src:url(../fonts/octicons.eot?#iefix&v=345f8bad9c5003db196d08f05e7f030fd2a32ff6) format('embedded-opentype'),url(../fonts/octicons.woff?v=345f8bad9c5003db196d08f05e7f030fd2a32ff6) format('woff'),url(../fonts/octicons.ttf?v=345f8bad9c5003db196d08f05e7f030fd2a32ff6) format('truetype'),url(../fonts/octicons.svg?v=345f8bad9c5003db196d08f05e7f030fd2a32ff6#octicons) format('svg');font-weight:400;font-style:normal}.mega-octicon,.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-git-fork-private:before,.octicon-lock:before,.octicon-mirror-private: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-file-add:before,.octicon-file-directory-create:before,.octicon-gist-new:before,.octicon-plus:before,.octicon-repo-create: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-add:before,.octicon-tag-remove:before,.octicon-tag:before{content:'\f015'}.octicon-telescope:before{content:'\f088'}.octicon-terminal:before{content:'\f0c8'}.octicon-three-bars:before{content:'\f05e'}.octicon-thumbsdown:before{content:'\f0db'}.octicon-thumbsup:before{content:'\f0da'}.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'}body{font-family:'Helvetica Neue',Arial,Helvetica,sans-serif,'微软雅黑';background-color:#FFF}.full.height{padding:0;margin:0 0 -87px 0;min-height:100%}.following.bar{z-index:900;left:0;width:100%;padding:.7em 0}.following.bar.light{background-color:#FFF;border-bottom:1px solid #DDD;box-shadow:0 2px 3px rgba(0,0,0,.04)}.following.bar .column .menu{margin-top:0}.following.bar .brand{float:left;margin-right:5px}.following.bar .searchbox{background-color:#f4f4f4!important}.following.bar .searchbox:focus{background-color:#e9e9e9!important}footer{margin-top:40px!important;background-color:#fff;border-top:1px solid #d6d6d6;clear:both;width:100%;color:#888}footer .ui.left{float:left}footer .ui.right{float:right}footer .fa{width:16px;text-align:center;color:#428bca}footer .links>*{border-left:1px solid #d6d6d6;padding-left:8px;margin-left:5px}footer .links>:first-child{border-left:none}.img-1{width:2px;height:2px}.img-2{width:4px;height:4px}.img-3{width:6px;height:6px}.img-4{width:8px;height:8px}.img-5{width:10px;height:10px}.img-6{width:12px;height:12px}.img-7{width:14px;height:14px}.img-8{width:16px;height:16px}.img-9{width:18px;height:18px}.img-10{width:20px;height:20px}.img-11{width:22px;height:22px}.img-12{width:24px;height:24px}.img-13{width:26px;height:26px}.img-14{width:28px;height:28px}.img-15{width:30px;height:30px}.img-16{width:32px;height:32px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.home{padding-bottom:80px}.home .logo{max-width:250px}.home .hero h1,.home .hero h2{font-family:'PT Sans Narrow',sans-serif}.home .hero h1{font-size:7em}.home .hero h2{font-size:4em}.home .hero .octicon{color:#d9453d;font-size:60px;margin-right:10px}.home .hero.header{font-size:24px}.home p.large{font-size:20px}.home .stackable{padding-top:30px}.home a{color:#d9453d} \ No newline at end of file +@font-face{font-family:octicons;src:url(../fonts/octicons.eot?#iefix&v=345f8bad9c5003db196d08f05e7f030fd2a32ff6) format('embedded-opentype'),url(../fonts/octicons.woff?v=345f8bad9c5003db196d08f05e7f030fd2a32ff6) format('woff'),url(../fonts/octicons.ttf?v=345f8bad9c5003db196d08f05e7f030fd2a32ff6) format('truetype'),url(../fonts/octicons.svg?v=345f8bad9c5003db196d08f05e7f030fd2a32ff6#octicons) format('svg');font-weight:400;font-style:normal}.mega-octicon,.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-git-fork-private:before,.octicon-lock:before,.octicon-mirror-private: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-file-add:before,.octicon-file-directory-create:before,.octicon-gist-new:before,.octicon-plus:before,.octicon-repo-create: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-add:before,.octicon-tag-remove:before,.octicon-tag:before{content:'\f015'}.octicon-telescope:before{content:'\f088'}.octicon-terminal:before{content:'\f0c8'}.octicon-three-bars:before{content:'\f05e'}.octicon-thumbsdown:before{content:'\f0db'}.octicon-thumbsup:before{content:'\f0da'}.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'}body{font-family:'Helvetica Neue',Arial,Helvetica,sans-serif,'微软雅黑';background-color:#FFF}.full.height{padding:0;margin:0 0 -87px 0;min-height:100%}.following.bar{z-index:900;left:0;width:100%;padding:.7em 0}.following.bar.light{background-color:#FFF;border-bottom:1px solid #DDD;box-shadow:0 2px 3px rgba(0,0,0,.04)}.following.bar .column .menu{margin-top:0}.following.bar .brand{float:left;margin-right:5px}.following.bar .searchbox{background-color:#f4f4f4!important}.following.bar .searchbox:focus{background-color:#e9e9e9!important}footer{margin-top:40px!important;background-color:#fff;border-top:1px solid #d6d6d6;clear:both;width:100%;color:#888}footer .ui.left{float:left}footer .ui.right{float:right}footer .fa{width:16px;text-align:center;color:#428bca}footer .links>*{border-left:1px solid #d6d6d6;padding-left:8px;margin-left:5px}footer .links>:first-child{border-left:none}.img-1{width:2px;height:2px}.img-2{width:4px;height:4px}.img-3{width:6px;height:6px}.img-4{width:8px;height:8px}.img-5{width:10px;height:10px}.img-6{width:12px;height:12px}.img-7{width:14px;height:14px}.img-8{width:16px;height:16px}.img-9{width:18px;height:18px}.img-10{width:20px;height:20px}.img-11{width:22px;height:22px}.img-12{width:24px;height:24px}.img-13{width:26px;height:26px}.img-14{width:28px;height:28px}.img-15{width:30px;height:30px}.img-16{width:32px;height:32px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.home{padding-bottom:120px}.home .logo{max-width:250px}.home .hero h1,.home .hero h2{font-family:'PT Sans Narrow',sans-serif}.home .hero h1{font-size:7em}.home .hero h2{font-size:4em}.home .hero .octicon{color:#d9453d;font-size:60px;margin-right:10px}.home .hero.header{font-size:24px}.home p.large{font-size:20px}.home .stackable{padding-top:30px}.home a{color:#d9453d} \ No newline at end of file diff --git a/public/less/_home.less b/public/less/_home.less index 14517fa9..93df7b19 100644 --- a/public/less/_home.less +++ b/public/less/_home.less @@ -1,5 +1,5 @@ .home { - padding-bottom: @footer-margin * 2; + padding-bottom: @footer-margin * 3; .logo { max-width: 250px; } diff --git a/templates/.VERSION b/templates/.VERSION index 36310b56..30ea8dd8 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.6.1.0325 Beta \ No newline at end of file +0.6.1.0327 Beta \ No newline at end of file -- cgit v1.2.3 From b579800e50c73b648dbbbcb54942d12a96ae926a Mon Sep 17 00:00:00 2001 From: Andrew Patton Date: Wed, 15 Apr 2015 21:49:10 -0400 Subject: :lipstick: Style checkbox label in sign in form --- public/ng/less/gogs/sign.less | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'public') diff --git a/public/ng/less/gogs/sign.less b/public/ng/less/gogs/sign.less index 55a9ffbb..3950be03 100644 --- a/public/ng/less/gogs/sign.less +++ b/public/ng/less/gogs/sign.less @@ -25,6 +25,11 @@ The register and sign-in page style .form-label { width: 160px; } + .chk-label { + width: auto; + text-align: left; + margin-left: 176px; + } .alert{ margin:0 30px 24px 30px; } @@ -60,4 +65,4 @@ The register and sign-in page style background-color: #FFF; margin-left: -15px; } -} \ No newline at end of file +} -- cgit v1.2.3 From 182003aa417ba67661c6743e0fabe6e1f67efd1c Mon Sep 17 00:00:00 2001 From: Paolo Borelli Date: Thu, 23 Apr 2015 13:58:57 +0200 Subject: Add PAM authentication --- .travis.yml | 6 +++-- conf/locale/locale_en-US.ini | 1 + models/login.go | 61 ++++++++++++++++++++++++++++++++++++++++++ modules/auth/auth_form.go | 1 + modules/auth/pam/pam.go | 35 ++++++++++++++++++++++++ modules/auth/pam/pam_stub.go | 15 +++++++++++ public/ng/js/gogs.js | 7 +++++ routers/admin/auths.go | 8 ++++++ templates/admin/auth/edit.tmpl | 6 +++++ templates/admin/auth/new.tmpl | 6 +++++ 10 files changed, 144 insertions(+), 2 deletions(-) create mode 100644 modules/auth/pam/pam.go create mode 100644 modules/auth/pam/pam_stub.go (limited to 'public') diff --git a/.travis.yml b/.travis.yml index 4149e173..113773d6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,11 +6,13 @@ go: - 1.4 - tip -sudo: false +before_install: + - sudo apt-get update -qq + - sudo apt-get install -y libpam-dev script: go build -v notifications: email: - u@gogs.io - slack: gophercn:o5pSanyTeNhnfYc3QnG0X7Wx \ No newline at end of file + slack: gophercn:o5pSanyTeNhnfYc3QnG0X7Wx diff --git a/conf/locale/locale_en-US.ini b/conf/locale/locale_en-US.ini index 3fbc71cb..8e768ae6 100644 --- a/conf/locale/locale_en-US.ini +++ b/conf/locale/locale_en-US.ini @@ -619,6 +619,7 @@ auths.smtp_auth = SMTP Authorization Type auths.smtphost = SMTP Host auths.smtpport = SMTP Port auths.enable_tls = Enable TLS Encryption +auths.pam_service_name = PAM Service Name auths.enable_auto_register = Enable Auto Registration auths.tips = Tips auths.edit = Edit Authorization Setting diff --git a/models/login.go b/models/login.go index 916e2731..8b773c13 100644 --- a/models/login.go +++ b/models/login.go @@ -17,6 +17,7 @@ import ( "github.com/go-xorm/xorm" "github.com/gogits/gogs/modules/auth/ldap" + "github.com/gogits/gogs/modules/auth/pam" "github.com/gogits/gogs/modules/log" "github.com/gogits/gogs/modules/uuid" ) @@ -28,6 +29,7 @@ const ( PLAIN LDAP SMTP + PAM ) var ( @@ -39,12 +41,14 @@ var ( var LoginTypes = map[LoginType]string{ LDAP: "LDAP", SMTP: "SMTP", + PAM: "PAM", } // Ensure structs implemented interface. var ( _ core.Conversion = &LDAPConfig{} _ core.Conversion = &SMTPConfig{} + _ core.Conversion = &PAMConfig{} ) type LDAPConfig struct { @@ -74,6 +78,18 @@ func (cfg *SMTPConfig) ToDB() ([]byte, error) { return json.Marshal(cfg) } +type PAMConfig struct { + ServiceName string // pam service (e.g. system-auth) +} + +func (cfg *PAMConfig) FromDB(bs []byte) error { + return json.Unmarshal(bs, &cfg) +} + +func (cfg *PAMConfig) ToDB() ([]byte, error) { + return json.Marshal(cfg) +} + type LoginSource struct { Id int64 Type LoginType @@ -97,6 +113,10 @@ func (source *LoginSource) SMTP() *SMTPConfig { return source.Cfg.(*SMTPConfig) } +func (source *LoginSource) PAM() *PAMConfig { + return source.Cfg.(*PAMConfig) +} + func (source *LoginSource) BeforeSet(colName string, val xorm.Cell) { if colName == "type" { ty := (*val).(int64) @@ -105,6 +125,8 @@ func (source *LoginSource) BeforeSet(colName string, val xorm.Cell) { source.Cfg = new(LDAPConfig) case SMTP: source.Cfg = new(SMTPConfig) + case PAM: + source.Cfg = new(PAMConfig) } } } @@ -197,6 +219,13 @@ func UserSignIn(uname, passwd string) (*User, error) { return u, nil } log.Warn("Fail to login(%s) by SMTP(%s): %v", uname, source.Name, err) + } else if source.Type == PAM { + u, err := LoginUserPAMSource(nil, uname, passwd, + source.Id, source.Cfg.(*PAMConfig), true) + if err == nil { + return u, nil + } + log.Warn("Fail to login(%s) by PAM(%s): %v", uname, source.Name, err) } } @@ -218,6 +247,8 @@ func UserSignIn(uname, passwd string) (*User, error) { return LoginUserLdapSource(u, u.LoginName, passwd, source.Id, source.Cfg.(*LDAPConfig), false) case SMTP: return LoginUserSMTPSource(u, u.LoginName, passwd, source.Id, source.Cfg.(*SMTPConfig), false) + case PAM: + return LoginUserPAMSource(u, u.LoginName, passwd, source.Id, source.Cfg.(*PAMConfig), false) } return nil, ErrUnsupportedLoginType } @@ -359,3 +390,33 @@ func LoginUserSMTPSource(u *User, name, passwd string, sourceId int64, cfg *SMTP err := CreateUser(u) return u, err } + +// Query if name/passwd can login against PAM +// Create a local user if success +// Return the same LoginUserPlain semantic +func LoginUserPAMSource(u *User, name, passwd string, sourceId int64, cfg *PAMConfig, autoRegister bool) (*User, error) { + if err := pam.PAMAuth(cfg.ServiceName, name, passwd); err != nil { + if strings.Contains(err.Error(), "Authentication failure") { + return nil, ErrUserNotExist + } + return nil, err + } + + if !autoRegister { + return u, nil + } + + // fake a local user creation + u = &User{ + LowerName: strings.ToLower(name), + Name: strings.ToLower(name), + LoginType: PAM, + LoginSource: sourceId, + LoginName: name, + IsActive: true, + Passwd: passwd, + Email: name, + } + err := CreateUser(u) + return u, err +} diff --git a/modules/auth/auth_form.go b/modules/auth/auth_form.go index 7d459999..1102dc34 100644 --- a/modules/auth/auth_form.go +++ b/modules/auth/auth_form.go @@ -30,6 +30,7 @@ type AuthenticationForm struct { SMTPPort int `form:"smtp_port"` TLS bool `form:"tls"` AllowAutoRegister bool `form:"allowautoregister"` + PAMServiceName string } func (f *AuthenticationForm) Validate(ctx *macaron.Context, errs binding.Errors) binding.Errors { diff --git a/modules/auth/pam/pam.go b/modules/auth/pam/pam.go new file mode 100644 index 00000000..7d150b1c --- /dev/null +++ b/modules/auth/pam/pam.go @@ -0,0 +1,35 @@ +// +build !windows + +// Copyright 2014 The Gogs Authors. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + +package pam + +import ( + "errors" + + "github.com/msteinert/pam" +) + +func PAMAuth(serviceName, userName, passwd string) error { + t, err := pam.StartFunc(serviceName, userName, func(s pam.Style, msg string) (string, error) { + switch s { + case pam.PromptEchoOff: + return passwd, nil + case pam.PromptEchoOn, pam.ErrorMsg, pam.TextInfo: + return "", nil + } + return "", errors.New("Unrecognized PAM message style") + }) + + if err != nil { + return err + } + + if err = t.Authenticate(0); err != nil { + return err + } + + return nil +} diff --git a/modules/auth/pam/pam_stub.go b/modules/auth/pam/pam_stub.go new file mode 100644 index 00000000..2f210bf6 --- /dev/null +++ b/modules/auth/pam/pam_stub.go @@ -0,0 +1,15 @@ +// +build windows + +// Copyright 2014 The Gogs Authors. All rights reserved. +// Use of this source code is governed by a MIT-style +// license that can be found in the LICENSE file. + +package pam + +import ( + "errors" +) + +func PAMAuth(serviceName, userName, passwd string) error { + return errors.New("PAM not supported") +} diff --git a/public/ng/js/gogs.js b/public/ng/js/gogs.js index c5fd719c..7ffef8af 100644 --- a/public/ng/js/gogs.js +++ b/public/ng/js/gogs.js @@ -753,10 +753,17 @@ function initAdmin() { if (v == 2) { $('.ldap').toggleShow(); $('.smtp').toggleHide(); + $('.pam').toggleHide(); } if (v == 3) { $('.smtp').toggleShow(); $('.ldap').toggleHide(); + $('.pam').toggleHide(); + } + if (v == 4) { + $('.pam').toggleShow(); + $('.smtp').toggleHide(); + $('.ldap').toggleHide(); } }); diff --git a/routers/admin/auths.go b/routers/admin/auths.go index b13b0bd1..2bec7da4 100644 --- a/routers/admin/auths.go +++ b/routers/admin/auths.go @@ -84,6 +84,10 @@ func NewAuthSourcePost(ctx *middleware.Context, form auth.AuthenticationForm) { Port: form.SMTPPort, TLS: form.TLS, } + case models.PAM: + u = &models.PAMConfig{ + ServiceName: form.PAMServiceName, + } default: ctx.Error(400) return @@ -166,6 +170,10 @@ func EditAuthSourcePost(ctx *middleware.Context, form auth.AuthenticationForm) { Port: form.SMTPPort, TLS: form.TLS, } + case models.PAM: + config = &models.PAMConfig{ + ServiceName: form.PAMServiceName, + } default: ctx.Error(400) return diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl index a178b717..12d1d1f8 100644 --- a/templates/admin/auth/edit.tmpl +++ b/templates/admin/auth/edit.tmpl @@ -91,6 +91,12 @@ + + {{else if eq $type 4}} +
+ + +
{{end}}
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl index 0d1f2ab4..36b90cfb 100644 --- a/templates/admin/auth/new.tmpl +++ b/templates/admin/auth/new.tmpl @@ -86,6 +86,12 @@
+
'+ - '
'+ - ''+ - DPGlobal.headTemplate+ - DPGlobal.contTemplate+ - DPGlobal.footTemplate+ - '
'+ - '
'+ - '
'+ - ''+ - DPGlobal.headTemplate+ - DPGlobal.contTemplate+ - DPGlobal.footTemplate+ - '
'+ - '
'+ - '
'; - - $.fn.datepicker.DPGlobal = DPGlobal; - - - /* DATEPICKER NO CONFLICT - * =================== */ - - $.fn.datepicker.noConflict = function(){ - $.fn.datepicker = old; - return this; - }; - - - /* DATEPICKER DATA-API - * ================== */ - - $(document).on( - 'focus.datepicker.data-api click.datepicker.data-api', - '[data-provide="datepicker"]', - function(e){ - var $this = $(this); - if ($this.data('datepicker')) - return; - e.preventDefault(); - // component click requires us to explicitly show it - $this.datepicker('show'); - } - ); - $(function(){ - $('[data-provide="datepicker-inline"]').datepicker(); - }); - -}(window.jQuery)); diff --git a/public/js/gogs.js b/public/js/gogs.js index 200db3e3..dc9537bc 100644 --- a/public/js/gogs.js +++ b/public/js/gogs.js @@ -1,3 +1,5 @@ +'use strict'; + var csrf; function initInstall() { @@ -40,44 +42,62 @@ function initRepository() { } // Labels - if ($('.repository.labels').length == 0) { - return; + if ($('.repository.labels').length > 0) { + $('.color-picker').each(function () { + $(this).minicolors(); + }); + $('.precolors .color').click(function () { + var color_hex = $(this).data('color-hex') + $('.color-picker').val(color_hex); + $('.minicolors-swatch-color').css("background-color", color_hex); + }); + $('.delete-label-button').click(function () { + var $this = $(this); + $('.delete-label.modal').modal({ + closable: false, + onApprove: function () { + $.post($this.data('url'), { + "_csrf": csrf, + "id": $this.data("id") + }).done(function (data) { + window.location.href = data.redirect; + }); + } + }).modal('show'); + return false; + }); + $('.edit-label-button').click(function () { + $('#label-modal-id').val($(this).data('id')); + $('#label-modal-title').val($(this).data('title')); + $('#label-modal-color').val($(this).data('color')) + $('.minicolors-swatch-color').css("background-color", $(this).data('color')); + $('.edit-label.modal').modal({ + onApprove: function () { + $('.edit-label.form').submit(); + } + }).modal('show'); + return false; + }); } - $('.color-picker').each(function () { - $(this).minicolors(); - }); - $('.precolors .color').click(function () { - var color_hex = $(this).data('color-hex') - $('.color-picker').val(color_hex); - $('.minicolors-swatch-color').css("background-color", color_hex); - }); - $('.delete-label-button').click(function () { - var $this = $(this); - $('.delete-label.modal').modal({ - closable: false, - onApprove: function () { - $.post($this.data('url'), { - "_csrf": csrf, - "id": $this.data("id") - }).done(function (data) { - window.location.href = data.redirect; - }); - } - }).modal('show'); - return false; - }); - $('.edit-label-button').click(function () { - $('#label-modal-id').val($(this).data('id')); - $('#label-modal-title').val($(this).data('title')); - $('#label-modal-color').val($(this).data('color')) - $('.minicolors-swatch-color').css("background-color", $(this).data('color')); - $('.edit-label.modal').modal({ - onApprove: function () { - $('.edit-label.form').submit(); + + // Milestones + if ($('.repository.new.milestone').length > 0) { + var $datepicker = $('.milestone.datepicker') + $datepicker.datetimepicker({ + lang: $datepicker.data('lang'), + inline: true, + timepicker: false, + startDate: $datepicker.data('start-date'), + formatDate: 'm/d/Y', + onSelectDate: function (ct) { + $('#deadline').val(ct.dateFormat('m/d/Y')); } - }).modal('show'); - return false; - }); + }); + $('#clear-date').click(function () { + $('#deadline').val(''); + return false; + }); + } }; $(document).ready(function () { diff --git a/public/js/jquery.validate.min.js b/public/js/jquery.validate.min.js deleted file mode 100644 index cbaf5109..00000000 --- a/public/js/jquery.validate.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! jQuery Validation Plugin - v1.11.1 - 3/22/2013\n* https://github.com/jzaefferer/jquery-validation -* Copyright (c) 2013 Jörn Zaefferer; Licensed MIT */(function(t){t.extend(t.fn,{validate:function(e){if(!this.length)return e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."),void 0;var i=t.data(this[0],"validator");return i?i:(this.attr("novalidate","novalidate"),i=new t.validator(e,this[0]),t.data(this[0],"validator",i),i.settings.onsubmit&&(this.validateDelegate(":submit","click",function(e){i.settings.submitHandler&&(i.submitButton=e.target),t(e.target).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==t(e.target).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.submit(function(e){function s(){var s;return i.settings.submitHandler?(i.submitButton&&(s=t("").attr("name",i.submitButton.name).val(t(i.submitButton).val()).appendTo(i.currentForm)),i.settings.submitHandler.call(i,i.currentForm,e),i.submitButton&&s.remove(),!1):!0}return i.settings.debug&&e.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,s()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):s():(i.focusInvalid(),!1)})),i)},valid:function(){if(t(this[0]).is("form"))return this.validate().form();var e=!0,i=t(this[0].form).validate();return this.each(function(){e=e&&i.element(this)}),e},removeAttrs:function(e){var i={},s=this;return t.each(e.split(/\s/),function(t,e){i[e]=s.attr(e),s.removeAttr(e)}),i},rules:function(e,i){var s=this[0];if(e){var r=t.data(s.form,"validator").settings,n=r.rules,a=t.validator.staticRules(s);switch(e){case"add":t.extend(a,t.validator.normalizeRule(i)),delete a.messages,n[s.name]=a,i.messages&&(r.messages[s.name]=t.extend(r.messages[s.name],i.messages));break;case"remove":if(!i)return delete n[s.name],a;var u={};return t.each(i.split(/\s/),function(t,e){u[e]=a[e],delete a[e]}),u}}var o=t.validator.normalizeRules(t.extend({},t.validator.classRules(s),t.validator.attributeRules(s),t.validator.dataRules(s),t.validator.staticRules(s)),s);if(o.required){var l=o.required;delete o.required,o=t.extend({required:l},o)}return o}}),t.extend(t.expr[":"],{blank:function(e){return!t.trim(""+t(e).val())},filled:function(e){return!!t.trim(""+t(e).val())},unchecked:function(e){return!t(e).prop("checked")}}),t.validator=function(e,i){this.settings=t.extend(!0,{},t.validator.defaults,e),this.currentForm=i,this.init()},t.validator.format=function(e,i){return 1===arguments.length?function(){var i=t.makeArray(arguments);return i.unshift(e),t.validator.format.apply(this,i)}:(arguments.length>2&&i.constructor!==Array&&(i=t.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),t.each(i,function(t,i){e=e.replace(RegExp("\\{"+t+"\\}","g"),function(){return i})}),e)},t.extend(t.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:!0,errorContainer:t([]),errorLabelContainer:t([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&!this.blockFocusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.validClass),this.addWrapper(this.errorsFor(t)).hide())},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(t,e){(9!==e.which||""!==this.elementValue(t))&&(t.name in this.submitted||t===this.lastElement)&&this.element(t)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(e,i,s){"radio"===e.type?this.findByName(e.name).addClass(i).removeClass(s):t(e).addClass(i).removeClass(s)},unhighlight:function(e,i,s){"radio"===e.type?this.findByName(e.name).removeClass(i).addClass(s):t(e).removeClass(i).addClass(s)}},setDefaults:function(e){t.extend(t.validator.defaults,e)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:t.validator.format("Please enter no more than {0} characters."),minlength:t.validator.format("Please enter at least {0} characters."),rangelength:t.validator.format("Please enter a value between {0} and {1} characters long."),range:t.validator.format("Please enter a value between {0} and {1}."),max:t.validator.format("Please enter a value less than or equal to {0}."),min:t.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function e(e){var i=t.data(this[0].form,"validator"),s="on"+e.type.replace(/^validate/,"");i.settings[s]&&i.settings[s].call(i,this[0],e)}this.labelContainer=t(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||t(this.currentForm),this.containers=t(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var i=this.groups={};t.each(this.settings.groups,function(e,s){"string"==typeof s&&(s=s.split(/\s/)),t.each(s,function(t,s){i[s]=e})});var s=this.settings.rules;t.each(s,function(e,i){s[e]=t.validator.normalizeRule(i)}),t(this.currentForm).validateDelegate(":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'] ","focusin focusout keyup",e).validateDelegate("[type='radio'], [type='checkbox'], select, option","click",e),this.settings.invalidHandler&&t(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),t.extend(this.submitted,this.errorMap),this.invalid=t.extend({},this.errorMap),this.valid()||t(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(e){e=this.validationTargetFor(this.clean(e)),this.lastElement=e,this.prepareElement(e),this.currentElements=t(e);var i=this.check(e)!==!1;return i?delete this.invalid[e.name]:this.invalid[e.name]=!0,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),i},showErrors:function(e){if(e){t.extend(this.errorMap,e),this.errorList=[];for(var i in e)this.errorList.push({message:e[i],element:this.findByName(i)[0]});this.successList=t.grep(this.successList,function(t){return!(t.name in e)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){t.fn.resetForm&&t(this.currentForm).resetForm(),this.submitted={},this.lastElement=null,this.prepareForm(),this.hideErrors(),this.elements().removeClass(this.settings.errorClass).removeData("previousValue")},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e=0;for(var i in t)e++;return e},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{t(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(e){}},findLastActive:function(){var e=this.lastActive;return e&&1===t.grep(this.errorList,function(t){return t.element.name===e.name}).length&&e},elements:function(){var e=this,i={};return t(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){return!this.name&&e.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.name in i||!e.objectLength(t(this).rules())?!1:(i[this.name]=!0,!0)})},clean:function(e){return t(e)[0]},errors:function(){var e=this.settings.errorClass.replace(" ",".");return t(this.settings.errorElement+"."+e,this.errorContext)},reset:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=t([]),this.toHide=t([]),this.currentElements=t([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(e){var i=t(e).attr("type"),s=t(e).val();return"radio"===i||"checkbox"===i?t("input[name='"+t(e).attr("name")+"']:checked").val():"string"==typeof s?s.replace(/\r/g,""):s},check:function(e){e=this.validationTargetFor(this.clean(e));var i,s=t(e).rules(),r=!1,n=this.elementValue(e);for(var a in s){var u={method:a,parameters:s[a]};try{if(i=t.validator.methods[a].call(this,n,e,u.parameters),"dependency-mismatch"===i){r=!0;continue}if(r=!1,"pending"===i)return this.toHide=this.toHide.not(this.errorsFor(e)),void 0;if(!i)return this.formatAndAdd(e,u),!1}catch(o){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+u.method+"' method.",o),o}}return r?void 0:(this.objectLength(s)&&this.successList.push(e),!0)},customDataMessage:function(e,i){return t(e).data("msg-"+i.toLowerCase())||e.attributes&&t(e).attr("data-msg-"+i.toLowerCase())},customMessage:function(t,e){var i=this.settings.messages[t];return i&&(i.constructor===String?i:i[e])},findDefined:function(){for(var t=0;arguments.length>t;t++)if(void 0!==arguments[t])return arguments[t];return void 0},defaultMessage:function(e,i){return this.findDefined(this.customMessage(e.name,i),this.customDataMessage(e,i),!this.settings.ignoreTitle&&e.title||void 0,t.validator.messages[i],"Warning: No message defined for "+e.name+"")},formatAndAdd:function(e,i){var s=this.defaultMessage(e,i.method),r=/\$?\{(\d+)\}/g;"function"==typeof s?s=s.call(this,i.parameters,e):r.test(s)&&(s=t.validator.format(s.replace(r,"{$1}"),i.parameters)),this.errorList.push({message:s,element:e}),this.errorMap[e.name]=s,this.submitted[e.name]=s},addWrapper:function(t){return this.settings.wrapper&&(t=t.add(t.parent(this.settings.wrapper))),t},defaultShowErrors:function(){var t,e;for(t=0;this.errorList[t];t++){var i=this.errorList[t];this.settings.highlight&&this.settings.highlight.call(this,i.element,this.settings.errorClass,this.settings.validClass),this.showLabel(i.element,i.message)}if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(t=0;this.successList[t];t++)this.showLabel(this.successList[t]);if(this.settings.unhighlight)for(t=0,e=this.validElements();e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return t(this.errorList).map(function(){return this.element})},showLabel:function(e,i){var s=this.errorsFor(e);s.length?(s.removeClass(this.settings.validClass).addClass(this.settings.errorClass),s.html(i)):(s=t("<"+this.settings.errorElement+">").attr("for",this.idOrName(e)).addClass(this.settings.errorClass).html(i||""),this.settings.wrapper&&(s=s.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.append(s).length||(this.settings.errorPlacement?this.settings.errorPlacement(s,t(e)):s.insertAfter(e))),!i&&this.settings.success&&(s.text(""),"string"==typeof this.settings.success?s.addClass(this.settings.success):this.settings.success(s,e)),this.toShow=this.toShow.add(s)},errorsFor:function(e){var i=this.idOrName(e);return this.errors().filter(function(){return t(this).attr("for")===i})},idOrName:function(t){return this.groups[t.name]||(this.checkable(t)?t.name:t.id||t.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name).not(this.settings.ignore)[0]),t},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(e){return t(this.currentForm).find("[name='"+e+"']")},getLength:function(e,i){switch(i.nodeName.toLowerCase()){case"select":return t("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return e.length},depend:function(t,e){return this.dependTypes[typeof t]?this.dependTypes[typeof t](t,e):!0},dependTypes:{"boolean":function(t){return t},string:function(e,i){return!!t(e,i.form).length},"function":function(t,e){return t(e)}},optional:function(e){var i=this.elementValue(e);return!t.validator.methods.required.call(this,i,e)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,this.pending[t.name]=!0)},stopRequest:function(e,i){this.pendingRequest--,0>this.pendingRequest&&(this.pendingRequest=0),delete this.pending[e.name],i&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(t(this.currentForm).submit(),this.formSubmitted=!1):!i&&0===this.pendingRequest&&this.formSubmitted&&(t(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(e){return t.data(e,"previousValue")||t.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,"remote")})}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(e,i){e.constructor===String?this.classRuleSettings[e]=i:t.extend(this.classRuleSettings,e)},classRules:function(e){var i={},s=t(e).attr("class");return s&&t.each(s.split(" "),function(){this in t.validator.classRuleSettings&&t.extend(i,t.validator.classRuleSettings[this])}),i},attributeRules:function(e){var i={},s=t(e),r=s[0].getAttribute("type");for(var n in t.validator.methods){var a;"required"===n?(a=s.get(0).getAttribute(n),""===a&&(a=!0),a=!!a):a=s.attr(n),/min|max/.test(n)&&(null===r||/number|range|text/.test(r))&&(a=Number(a)),a?i[n]=a:r===n&&"range"!==r&&(i[n]=!0)}return i.maxlength&&/-1|2147483647|524288/.test(i.maxlength)&&delete i.maxlength,i},dataRules:function(e){var i,s,r={},n=t(e);for(i in t.validator.methods)s=n.data("rule-"+i.toLowerCase()),void 0!==s&&(r[i]=s);return r},staticRules:function(e){var i={},s=t.data(e.form,"validator");return s.settings.rules&&(i=t.validator.normalizeRule(s.settings.rules[e.name])||{}),i},normalizeRules:function(e,i){return t.each(e,function(s,r){if(r===!1)return delete e[s],void 0;if(r.param||r.depends){var n=!0;switch(typeof r.depends){case"string":n=!!t(r.depends,i.form).length;break;case"function":n=r.depends.call(i,i)}n?e[s]=void 0!==r.param?r.param:!0:delete e[s]}}),t.each(e,function(s,r){e[s]=t.isFunction(r)?r(i):r}),t.each(["minlength","maxlength"],function(){e[this]&&(e[this]=Number(e[this]))}),t.each(["rangelength","range"],function(){var i;e[this]&&(t.isArray(e[this])?e[this]=[Number(e[this][0]),Number(e[this][1])]:"string"==typeof e[this]&&(i=e[this].split(/[\s,]+/),e[this]=[Number(i[0]),Number(i[1])]))}),t.validator.autoCreateRanges&&(e.min&&e.max&&(e.range=[e.min,e.max],delete e.min,delete e.max),e.minlength&&e.maxlength&&(e.rangelength=[e.minlength,e.maxlength],delete e.minlength,delete e.maxlength)),e},normalizeRule:function(e){if("string"==typeof e){var i={};t.each(e.split(/\s/),function(){i[this]=!0}),e=i}return e},addMethod:function(e,i,s){t.validator.methods[e]=i,t.validator.messages[e]=void 0!==s?s:t.validator.messages[e],3>i.length&&t.validator.addClassRules(e,t.validator.normalizeRule(e))},methods:{required:function(e,i,s){if(!this.depend(s,i))return"dependency-mismatch";if("select"===i.nodeName.toLowerCase()){var r=t(i).val();return r&&r.length>0}return this.checkable(i)?this.getLength(e,i)>0:t.trim(e).length>0},email:function(t,e){return this.optional(e)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(t)},url:function(t,e){return this.optional(e)||/^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(t)},date:function(t,e){return this.optional(e)||!/Invalid|NaN/.test(""+new Date(t))},dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/.test(t)},number:function(t,e){return this.optional(e)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},creditcard:function(t,e){if(this.optional(e))return"dependency-mismatch";if(/[^0-9 \-]+/.test(t))return!1;var i=0,s=0,r=!1;t=t.replace(/\D/g,"");for(var n=t.length-1;n>=0;n--){var a=t.charAt(n);s=parseInt(a,10),r&&(s*=2)>9&&(s-=9),i+=s,r=!r}return 0===i%10},minlength:function(e,i,s){var r=t.isArray(e)?e.length:this.getLength(t.trim(e),i);return this.optional(i)||r>=s},maxlength:function(e,i,s){var r=t.isArray(e)?e.length:this.getLength(t.trim(e),i);return this.optional(i)||s>=r},rangelength:function(e,i,s){var r=t.isArray(e)?e.length:this.getLength(t.trim(e),i);return this.optional(i)||r>=s[0]&&s[1]>=r},min:function(t,e,i){return this.optional(e)||t>=i},max:function(t,e,i){return this.optional(e)||i>=t},range:function(t,e,i){return this.optional(e)||t>=i[0]&&i[1]>=t},equalTo:function(e,i,s){var r=t(s);return this.settings.onfocusout&&r.unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){t(i).valid()}),e===r.val()},remote:function(e,i,s){if(this.optional(i))return"dependency-mismatch";var r=this.previousValue(i);if(this.settings.messages[i.name]||(this.settings.messages[i.name]={}),r.originalMessage=this.settings.messages[i.name].remote,this.settings.messages[i.name].remote=r.message,s="string"==typeof s&&{url:s}||s,r.old===e)return r.valid;r.old=e;var n=this;this.startRequest(i);var a={};return a[i.name]=e,t.ajax(t.extend(!0,{url:s,mode:"abort",port:"validate"+i.name,dataType:"json",data:a,success:function(s){n.settings.messages[i.name].remote=r.originalMessage;var a=s===!0||"true"===s;if(a){var u=n.formSubmitted;n.prepareElement(i),n.formSubmitted=u,n.successList.push(i),delete n.invalid[i.name],n.showErrors()}else{var o={},l=s||n.defaultMessage(i,"remote");o[i.name]=r.message=t.isFunction(l)?l(e):l,n.invalid[i.name]=!0,n.showErrors(o)}r.valid=a,n.stopRequest(i,a)}},s)),"pending"}}}),t.format=t.validator.format})(jQuery),function(t){var e={};if(t.ajaxPrefilter)t.ajaxPrefilter(function(t,i,s){var r=t.port;"abort"===t.mode&&(e[r]&&e[r].abort(),e[r]=s)});else{var i=t.ajax;t.ajax=function(s){var r=("mode"in s?s:t.ajaxSettings).mode,n=("port"in s?s:t.ajaxSettings).port;return"abort"===r?(e[n]&&e[n].abort(),e[n]=i.apply(this,arguments),e[n]):i.apply(this,arguments)}}}(jQuery),function(t){t.extend(t.fn,{validateDelegate:function(e,i,s){return this.bind(i,function(i){var r=t(i.target);return r.is(e)?s.apply(r,arguments):void 0})}})}(jQuery); \ No newline at end of file diff --git a/public/js/libs/jquery.datetimepicker.js b/public/js/libs/jquery.datetimepicker.js new file mode 100644 index 00000000..9c00413c --- /dev/null +++ b/public/js/libs/jquery.datetimepicker.js @@ -0,0 +1,2073 @@ +/** + * @preserve jQuery DateTimePicker plugin v2.4.5 + * @homepage http://xdsoft.net/jqplugins/datetimepicker/ + * (c) 2014, Chupurnov Valeriy. + */ +/*global document,window,jQuery,setTimeout,clearTimeout,HighlightedDate,getCurrentValue*/ +(function ($) { + 'use strict'; + var default_options = { + i18n: { + ar: { // Arabic + months: [ + "كانون الثاني", "شباط", "آذار", "نيسان", "مايو", "حزيران", "تموز", "آب", "أيلول", "تشرين الأول", "تشرين الثاني", "كانون الأول" + ], + dayOfWeek: [ + "ن", "ث", "ع", "خ", "ج", "س", "ح" + ] + }, + ro: { // Romanian + months: [ + "ianuarie", "februarie", "martie", "aprilie", "mai", "iunie", "iulie", "august", "septembrie", "octombrie", "noiembrie", "decembrie" + ], + dayOfWeek: [ + "l", "ma", "mi", "j", "v", "s", "d" + ] + }, + id: { // Indonesian + months: [ + "Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember" + ], + dayOfWeek: [ + "Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab" + ] + }, + is: { // Icelandic + months: [ + "Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júní", "Júlí", "Ágúst", "September", "Október", "Nóvember", "Desember" + ], + dayOfWeek: [ + "Sun", "Mán", "Þrið", "Mið", "Fim", "Fös", "Lau" + ] + }, + bg: { // Bulgarian + months: [ + "Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември" + ], + dayOfWeek: [ + "Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб" + ] + }, + fa: { // Persian/Farsi + months: [ + 'فروردین', 'اردیبهشت', 'خرداد', 'تیر', 'مرداد', 'شهریور', 'مهر', 'آبان', 'آذر', 'دی', 'بهمن', 'اسفند' + ], + dayOfWeek: [ + 'یکشنبه', 'دوشنبه', 'سه شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه' + ] + }, + ru: { // Russian + months: [ + 'Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', 'Декабрь' + ], + dayOfWeek: [ + "Вск", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб" + ] + }, + uk: { // Ukrainian + months: [ + 'Січень', 'Лютий', 'Березень', 'Квітень', 'Травень', 'Червень', 'Липень', 'Серпень', 'Вересень', 'Жовтень', 'Листопад', 'Грудень' + ], + dayOfWeek: [ + "Ндл", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Сбт" + ] + }, + en: { // English + months: [ + "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" + ], + dayOfWeek: [ + "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" + ] + }, + el: { // Ελληνικά + months: [ + "Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος" + ], + dayOfWeek: [ + "Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ" + ] + }, + de: { // German + months: [ + 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember' + ], + dayOfWeek: [ + "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa" + ] + }, + nl: { // Dutch + months: [ + "januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december" + ], + dayOfWeek: [ + "zo", "ma", "di", "wo", "do", "vr", "za" + ] + }, + tr: { // Turkish + months: [ + "Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık" + ], + dayOfWeek: [ + "Paz", "Pts", "Sal", "Çar", "Per", "Cum", "Cts" + ] + }, + fr: { //French + months: [ + "Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre" + ], + dayOfWeek: [ + "Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam" + ] + }, + es: { // Spanish + months: [ + "Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre" + ], + dayOfWeek: [ + "Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb" + ] + }, + th: { // Thai + months: [ + 'มกราคม', 'กุมภาพันธ์', 'มีนาคม', 'เมษายน', 'พฤษภาคม', 'มิถุนายน', 'กรกฎาคม', 'สิงหาคม', 'กันยายน', 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม' + ], + dayOfWeek: [ + 'อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.' + ] + }, + pl: { // Polish + months: [ + "styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień" + ], + dayOfWeek: [ + "nd", "pn", "wt", "śr", "cz", "pt", "sb" + ] + }, + pt: { // Portuguese + months: [ + "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro" + ], + dayOfWeek: [ + "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab" + ] + }, + ch: { // Simplified Chinese + months: [ + "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月" + ], + dayOfWeek: [ + "日", "一", "二", "三", "四", "五", "六" + ] + }, + se: { // Swedish + months: [ + "Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December" + ], + dayOfWeek: [ + "Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör" + ] + }, + kr: { // Korean + months: [ + "1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월" + ], + dayOfWeek: [ + "일", "월", "화", "수", "목", "금", "토" + ] + }, + it: { // Italian + months: [ + "Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre" + ], + dayOfWeek: [ + "Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab" + ] + }, + da: { // Dansk + months: [ + "January", "Februar", "Marts", "April", "Maj", "Juni", "July", "August", "September", "Oktober", "November", "December" + ], + dayOfWeek: [ + "Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør" + ] + }, + no: { // Norwegian + months: [ + "Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember" + ], + dayOfWeek: [ + "Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør" + ] + }, + ja: { // Japanese + months: [ + "1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月" + ], + dayOfWeek: [ + "日", "月", "火", "水", "木", "金", "土" + ] + }, + vi: { // Vietnamese + months: [ + "Tháng 1", "Tháng 2", "Tháng 3", "Tháng 4", "Tháng 5", "Tháng 6", "Tháng 7", "Tháng 8", "Tháng 9", "Tháng 10", "Tháng 11", "Tháng 12" + ], + dayOfWeek: [ + "CN", "T2", "T3", "T4", "T5", "T6", "T7" + ] + }, + sl: { // Slovenščina + months: [ + "Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "Avgust", "September", "Oktober", "November", "December" + ], + dayOfWeek: [ + "Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob" + ] + }, + cs: { // Čeština + months: [ + "Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec" + ], + dayOfWeek: [ + "Ne", "Po", "Út", "St", "Čt", "Pá", "So" + ] + }, + hu: { // Hungarian + months: [ + "Január", "Február", "Március", "Április", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December" + ], + dayOfWeek: [ + "Va", "Hé", "Ke", "Sze", "Cs", "Pé", "Szo" + ] + }, + az: { //Azerbaijanian (Azeri) + months: [ + "Yanvar", "Fevral", "Mart", "Aprel", "May", "Iyun", "Iyul", "Avqust", "Sentyabr", "Oktyabr", "Noyabr", "Dekabr" + ], + dayOfWeek: [ + "B", "Be", "Ça", "Ç", "Ca", "C", "Ş" + ] + }, + bs: { //Bosanski + months: [ + "Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar" + ], + dayOfWeek: [ + "Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub" + ] + }, + ca: { //Català + months: [ + "Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre" + ], + dayOfWeek: [ + "Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds" + ] + }, + 'en-GB': { //English (British) + months: [ + "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" + ], + dayOfWeek: [ + "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" + ] + }, + et: { //"Eesti" + months: [ + "Jaanuar", "Veebruar", "Märts", "Aprill", "Mai", "Juuni", "Juuli", "August", "September", "Oktoober", "November", "Detsember" + ], + dayOfWeek: [ + "P", "E", "T", "K", "N", "R", "L" + ] + }, + eu: { //Euskara + months: [ + "Urtarrila", "Otsaila", "Martxoa", "Apirila", "Maiatza", "Ekaina", "Uztaila", "Abuztua", "Iraila", "Urria", "Azaroa", "Abendua" + ], + dayOfWeek: [ + "Ig.", "Al.", "Ar.", "Az.", "Og.", "Or.", "La." + ] + }, + fi: { //Finnish (Suomi) + months: [ + "Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kesäkuu", "Heinäkuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu" + ], + dayOfWeek: [ + "Su", "Ma", "Ti", "Ke", "To", "Pe", "La" + ] + }, + gl: { //Galego + months: [ + "Xan", "Feb", "Maz", "Abr", "Mai", "Xun", "Xul", "Ago", "Set", "Out", "Nov", "Dec" + ], + dayOfWeek: [ + "Dom", "Lun", "Mar", "Mer", "Xov", "Ven", "Sab" + ] + }, + hr: { //Hrvatski + months: [ + "Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac" + ], + dayOfWeek: [ + "Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub" + ] + }, + ko: { //Korean (한국어) + months: [ + "1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월" + ], + dayOfWeek: [ + "일", "월", "화", "수", "목", "금", "토" + ] + }, + lt: { //Lithuanian (lietuvių) + months: [ + "Sausio", "Vasario", "Kovo", "Balandžio", "Gegužės", "Birželio", "Liepos", "Rugpjūčio", "Rugsėjo", "Spalio", "Lapkričio", "Gruodžio" + ], + dayOfWeek: [ + "Sek", "Pir", "Ant", "Tre", "Ket", "Pen", "Šeš" + ] + }, + lv: { //Latvian (Latviešu) + months: [ + "Janvāris", "Februāris", "Marts", "Aprīlis ", "Maijs", "Jūnijs", "Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris" + ], + dayOfWeek: [ + "Sv", "Pr", "Ot", "Tr", "Ct", "Pk", "St" + ] + }, + mk: { //Macedonian (Македонски) + months: [ + "јануари", "февруари", "март", "април", "мај", "јуни", "јули", "август", "септември", "октомври", "ноември", "декември" + ], + dayOfWeek: [ + "нед", "пон", "вто", "сре", "чет", "пет", "саб" + ] + }, + mn: { //Mongolian (Монгол) + months: [ + "1-р сар", "2-р сар", "3-р сар", "4-р сар", "5-р сар", "6-р сар", "7-р сар", "8-р сар", "9-р сар", "10-р сар", "11-р сар", "12-р сар" + ], + dayOfWeek: [ + "Дав", "Мяг", "Лха", "Пүр", "Бсн", "Бям", "Ням" + ] + }, + 'pt-BR': { //Português(Brasil) + months: [ + "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro" + ], + dayOfWeek: [ + "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb" + ] + }, + sk: { //Slovenčina + months: [ + "Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December" + ], + dayOfWeek: [ + "Ne", "Po", "Ut", "St", "Št", "Pi", "So" + ] + }, + sq: { //Albanian (Shqip) + months: [ + "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" + ], + dayOfWeek: [ + "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" + ] + }, + 'sr-YU': { //Serbian (Srpski) + months: [ + "Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar" + ], + dayOfWeek: [ + "Ned", "Pon", "Uto", "Sre", "čet", "Pet", "Sub" + ] + }, + sr: { //Serbian Cyrillic (Српски) + months: [ + "јануар", "фебруар", "март", "април", "мај", "јун", "јул", "август", "септембар", "октобар", "новембар", "децембар" + ], + dayOfWeek: [ + "нед", "пон", "уто", "сре", "чет", "пет", "суб" + ] + }, + sv: { //Svenska + months: [ + "Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December" + ], + dayOfWeek: [ + "Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör" + ] + }, + 'zh-TW': { //Traditional Chinese (繁體中文) + months: [ + "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月" + ], + dayOfWeek: [ + "日", "一", "二", "三", "四", "五", "六" + ] + }, + zh: { //Simplified Chinese (简体中文) + months: [ + "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月" + ], + dayOfWeek: [ + "日", "一", "二", "三", "四", "五", "六" + ] + }, + he: { //Hebrew (עברית) + months: [ + 'ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר' + ], + dayOfWeek: [ + 'א\'', 'ב\'', 'ג\'', 'ד\'', 'ה\'', 'ו\'', 'שבת' + ] + }, + hy: { // Armenian + months: [ + "Հունվար", "Փետրվար", "Մարտ", "Ապրիլ", "Մայիս", "Հունիս", "Հուլիս", "Օգոստոս", "Սեպտեմբեր", "Հոկտեմբեր", "Նոյեմբեր", "Դեկտեմբեր" + ], + dayOfWeek: [ + "Կի", "Երկ", "Երք", "Չոր", "Հնգ", "Ուրբ", "Շբթ" + ] + }, + kg: { // Kyrgyz + months: [ + 'Үчтүн айы', 'Бирдин айы', 'Жалган Куран', 'Чын Куран', 'Бугу', 'Кулжа', 'Теке', 'Баш Оона', 'Аяк Оона', 'Тогуздун айы', 'Жетинин айы', 'Бештин айы' + ], + dayOfWeek: [ + "Жек", "Дүй", "Шей", "Шар", "Бей", "Жум", "Ише" + ] + } + }, + value: '', + lang: 'en', + + format: 'Y/m/d H:i', + formatTime: 'H:i', + formatDate: 'Y/m/d', + + startDate: false, // new Date(), '1986/12/08', '-1970/01/05','-1970/01/05', + step: 60, + monthChangeSpinner: true, + + closeOnDateSelect: false, + closeOnTimeSelect: true, + closeOnWithoutClick: true, + closeOnInputClick: true, + + timepicker: true, + datepicker: true, + weeks: false, + + defaultTime: false, // use formatTime format (ex. '10:00' for formatTime: 'H:i') + defaultDate: false, // use formatDate format (ex new Date() or '1986/12/08' or '-1970/01/05' or '-1970/01/05') + + minDate: false, + maxDate: false, + minTime: false, + maxTime: false, + disabledMinTime: false, + disabledMaxTime: false, + + allowTimes: [], + opened: false, + initTime: true, + inline: false, + theme: '', + + onSelectDate: function () {}, + onSelectTime: function () {}, + onChangeMonth: function () {}, + onChangeYear: function () {}, + onChangeDateTime: function () {}, + onShow: function () {}, + onClose: function () {}, + onGenerate: function () {}, + + withoutCopyright: true, + inverseButton: false, + hours12: false, + next: 'xdsoft_next', + prev : 'xdsoft_prev', + dayOfWeekStart: 0, + parentID: 'body', + timeHeightInTimePicker: 25, + timepickerScrollbar: true, + todayButton: true, + prevButton: true, + nextButton: true, + defaultSelect: true, + + scrollMonth: true, + scrollTime: true, + scrollInput: true, + + lazyInit: false, + mask: false, + validateOnBlur: true, + allowBlank: true, + yearStart: 1950, + yearEnd: 2050, + monthStart: 0, + monthEnd: 11, + style: '', + id: '', + fixed: false, + roundTime: 'round', // ceil, floor + className: '', + weekends: [], + highlightedDates: [], + highlightedPeriods: [], + disabledDates : [], + disabledWeekDays: [], + yearOffset: 0, + beforeShowDay: null, + + enterLikeTab: true, + showApplyButton: false + }; + // fix for ie8 + if (!window.getComputedStyle) { + window.getComputedStyle = function (el, pseudo) { + this.el = el; + this.getPropertyValue = function (prop) { + var re = /(\-([a-z]){1})/g; + if (prop === 'float') { + prop = 'styleFloat'; + } + if (re.test(prop)) { + prop = prop.replace(re, function (a, b, c) { + return c.toUpperCase(); + }); + } + return el.currentStyle[prop] || null; + }; + return this; + }; + } + if (!Array.prototype.indexOf) { + Array.prototype.indexOf = function (obj, start) { + var i, j; + for (i = (start || 0), j = this.length; i < j; i += 1) { + if (this[i] === obj) { return i; } + } + return -1; + }; + } + Date.prototype.countDaysInMonth = function () { + return new Date(this.getFullYear(), this.getMonth() + 1, 0).getDate(); + }; + $.fn.xdsoftScroller = function (percent) { + return this.each(function () { + var timeboxparent = $(this), + pointerEventToXY = function (e) { + var out = {x: 0, y: 0}, + touch; + if (e.type === 'touchstart' || e.type === 'touchmove' || e.type === 'touchend' || e.type === 'touchcancel') { + touch = e.originalEvent.touches[0] || e.originalEvent.changedTouches[0]; + out.x = touch.clientX; + out.y = touch.clientY; + } else if (e.type === 'mousedown' || e.type === 'mouseup' || e.type === 'mousemove' || e.type === 'mouseover' || e.type === 'mouseout' || e.type === 'mouseenter' || e.type === 'mouseleave') { + out.x = e.clientX; + out.y = e.clientY; + } + return out; + }, + move = 0, + timebox, + parentHeight, + height, + scrollbar, + scroller, + maximumOffset = 100, + start = false, + startY = 0, + startTop = 0, + h1 = 0, + touchStart = false, + startTopScroll = 0, + calcOffset = function () {}; + if (percent === 'hide') { + timeboxparent.find('.xdsoft_scrollbar').hide(); + return; + } + if (!$(this).hasClass('xdsoft_scroller_box')) { + timebox = timeboxparent.children().eq(0); + parentHeight = timeboxparent[0].clientHeight; + height = timebox[0].offsetHeight; + scrollbar = $('
'); + scroller = $('
'); + scrollbar.append(scroller); + + timeboxparent.addClass('xdsoft_scroller_box').append(scrollbar); + calcOffset = function calcOffset(event) { + var offset = pointerEventToXY(event).y - startY + startTopScroll; + if (offset < 0) { + offset = 0; + } + if (offset + scroller[0].offsetHeight > h1) { + offset = h1 - scroller[0].offsetHeight; + } + timeboxparent.trigger('scroll_element.xdsoft_scroller', [maximumOffset ? offset / maximumOffset : 0]); + }; + + scroller + .on('touchstart.xdsoft_scroller mousedown.xdsoft_scroller', function (event) { + if (!parentHeight) { + timeboxparent.trigger('resize_scroll.xdsoft_scroller', [percent]); + } + + startY = pointerEventToXY(event).y; + startTopScroll = parseInt(scroller.css('margin-top'), 10); + h1 = scrollbar[0].offsetHeight; + + if (event.type === 'mousedown') { + if (document) { + $(document.body).addClass('xdsoft_noselect'); + } + $([document.body, window]).on('mouseup.xdsoft_scroller', function arguments_callee() { + $([document.body, window]).off('mouseup.xdsoft_scroller', arguments_callee) + .off('mousemove.xdsoft_scroller', calcOffset) + .removeClass('xdsoft_noselect'); + }); + $(document.body).on('mousemove.xdsoft_scroller', calcOffset); + } else { + touchStart = true; + event.stopPropagation(); + event.preventDefault(); + } + }) + .on('touchmove', function (event) { + if (touchStart) { + event.preventDefault(); + calcOffset(event); + } + }) + .on('touchend touchcancel', function (event) { + touchStart = false; + startTopScroll = 0; + }); + + timeboxparent + .on('scroll_element.xdsoft_scroller', function (event, percentage) { + if (!parentHeight) { + timeboxparent.trigger('resize_scroll.xdsoft_scroller', [percentage, true]); + } + percentage = percentage > 1 ? 1 : (percentage < 0 || isNaN(percentage)) ? 0 : percentage; + + scroller.css('margin-top', maximumOffset * percentage); + + setTimeout(function () { + timebox.css('marginTop', -parseInt((timebox[0].offsetHeight - parentHeight) * percentage, 10)); + }, 10); + }) + .on('resize_scroll.xdsoft_scroller', function (event, percentage, noTriggerScroll) { + var percent, sh; + parentHeight = timeboxparent[0].clientHeight; + height = timebox[0].offsetHeight; + percent = parentHeight / height; + sh = percent * scrollbar[0].offsetHeight; + if (percent > 1) { + scroller.hide(); + } else { + scroller.show(); + scroller.css('height', parseInt(sh > 10 ? sh : 10, 10)); + maximumOffset = scrollbar[0].offsetHeight - scroller[0].offsetHeight; + if (noTriggerScroll !== true) { + timeboxparent.trigger('scroll_element.xdsoft_scroller', [percentage || Math.abs(parseInt(timebox.css('marginTop'), 10)) / (height - parentHeight)]); + } + } + }); + + timeboxparent.on('mousewheel', function (event) { + var top = Math.abs(parseInt(timebox.css('marginTop'), 10)); + + top = top - (event.deltaY * 20); + if (top < 0) { + top = 0; + } + + timeboxparent.trigger('scroll_element.xdsoft_scroller', [top / (height - parentHeight)]); + event.stopPropagation(); + return false; + }); + + timeboxparent.on('touchstart', function (event) { + start = pointerEventToXY(event); + startTop = Math.abs(parseInt(timebox.css('marginTop'), 10)); + }); + + timeboxparent.on('touchmove', function (event) { + if (start) { + event.preventDefault(); + var coord = pointerEventToXY(event); + timeboxparent.trigger('scroll_element.xdsoft_scroller', [(startTop - (coord.y - start.y)) / (height - parentHeight)]); + } + }); + + timeboxparent.on('touchend touchcancel', function (event) { + start = false; + startTop = 0; + }); + } + timeboxparent.trigger('resize_scroll.xdsoft_scroller', [percent]); + }); + }; + + $.fn.datetimepicker = function (opt) { + var KEY0 = 48, + KEY9 = 57, + _KEY0 = 96, + _KEY9 = 105, + CTRLKEY = 17, + DEL = 46, + ENTER = 13, + ESC = 27, + BACKSPACE = 8, + ARROWLEFT = 37, + ARROWUP = 38, + ARROWRIGHT = 39, + ARROWDOWN = 40, + TAB = 9, + F5 = 116, + AKEY = 65, + CKEY = 67, + VKEY = 86, + ZKEY = 90, + YKEY = 89, + ctrlDown = false, + options = ($.isPlainObject(opt) || !opt) ? $.extend(true, {}, default_options, opt) : $.extend(true, {}, default_options), + + lazyInitTimer = 0, + createDateTimePicker, + destroyDateTimePicker, + + lazyInit = function (input) { + input + .on('open.xdsoft focusin.xdsoft mousedown.xdsoft', function initOnActionCallback(event) { + if (input.is(':disabled') || input.data('xdsoft_datetimepicker')) { + return; + } + clearTimeout(lazyInitTimer); + lazyInitTimer = setTimeout(function () { + + if (!input.data('xdsoft_datetimepicker')) { + createDateTimePicker(input); + } + input + .off('open.xdsoft focusin.xdsoft mousedown.xdsoft', initOnActionCallback) + .trigger('open.xdsoft'); + }, 100); + }); + }; + + createDateTimePicker = function (input) { + var datetimepicker = $('
'), + xdsoft_copyright = $(''), + datepicker = $('
'), + mounth_picker = $('
' + + '
' + + '
' + + '
'), + calendar = $('
'), + timepicker = $('
'), + timeboxparent = timepicker.find('.xdsoft_time_box').eq(0), + timebox = $('
'), + applyButton = $(''), + /*scrollbar = $('
'), + scroller = $('
'),*/ + monthselect = $('
'), + yearselect = $('
'), + triggerAfterOpen = false, + XDSoft_datetime, + //scroll_element, + xchangeTimer, + timerclick, + current_time_index, + setPos, + timer = 0, + timer1 = 0, + _xdsoft_datetime; + + if (options.id) { + datetimepicker.attr('id', options.id); + } + if (options.style) { + datetimepicker.attr('style', options.style); + } + if (options.weeks) { + datetimepicker.addClass('xdsoft_showweeks'); + } + + datetimepicker.addClass('xdsoft_' + options.theme); + datetimepicker.addClass(options.className); + + mounth_picker + .find('.xdsoft_month span') + .after(monthselect); + mounth_picker + .find('.xdsoft_year span') + .after(yearselect); + + mounth_picker + .find('.xdsoft_month,.xdsoft_year') + .on('mousedown.xdsoft', function (event) { + var select = $(this).find('.xdsoft_select').eq(0), + val = 0, + top = 0, + visible = select.is(':visible'), + items, + i; + + mounth_picker + .find('.xdsoft_select') + .hide(); + if (_xdsoft_datetime.currentTime) { + val = _xdsoft_datetime.currentTime[$(this).hasClass('xdsoft_month') ? 'getMonth' : 'getFullYear'](); + } + + select[visible ? 'hide' : 'show'](); + for (items = select.find('div.xdsoft_option'), i = 0; i < items.length; i += 1) { + if (items.eq(i).data('value') === val) { + break; + } else { + top += items[0].offsetHeight; + } + } + + select.xdsoftScroller(top / (select.children()[0].offsetHeight - (select[0].clientHeight))); + event.stopPropagation(); + return false; + }); + + mounth_picker + .find('.xdsoft_select') + .xdsoftScroller() + .on('mousedown.xdsoft', function (event) { + event.stopPropagation(); + event.preventDefault(); + }) + .on('mousedown.xdsoft', '.xdsoft_option', function (event) { + + if (_xdsoft_datetime.currentTime === undefined || _xdsoft_datetime.currentTime === null) { + _xdsoft_datetime.currentTime = _xdsoft_datetime.now(); + } + + var year = _xdsoft_datetime.currentTime.getFullYear(); + if (_xdsoft_datetime && _xdsoft_datetime.currentTime) { + _xdsoft_datetime.currentTime[$(this).parent().parent().hasClass('xdsoft_monthselect') ? 'setMonth' : 'setFullYear']($(this).data('value')); + } + + $(this).parent().parent().hide(); + + datetimepicker.trigger('xchange.xdsoft'); + if (options.onChangeMonth && $.isFunction(options.onChangeMonth)) { + options.onChangeMonth.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('input')); + } + + if (year !== _xdsoft_datetime.currentTime.getFullYear() && $.isFunction(options.onChangeYear)) { + options.onChangeYear.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('input')); + } + }); + + datetimepicker.setOptions = function (_options) { + var highlightedDates = {}, + getCaretPos = function (input) { + try { + if (document.selection && document.selection.createRange) { + var range = document.selection.createRange(); + return range.getBookmark().charCodeAt(2) - 2; + } + if (input.setSelectionRange) { + return input.selectionStart; + } + } catch (e) { + return 0; + } + }, + setCaretPos = function (node, pos) { + node = (typeof node === "string" || node instanceof String) ? document.getElementById(node) : node; + if (!node) { + return false; + } + if (node.createTextRange) { + var textRange = node.createTextRange(); + textRange.collapse(true); + textRange.moveEnd('character', pos); + textRange.moveStart('character', pos); + textRange.select(); + return true; + } + if (node.setSelectionRange) { + node.setSelectionRange(pos, pos); + return true; + } + return false; + }, + isValidValue = function (mask, value) { + var reg = mask + .replace(/([\[\]\/\{\}\(\)\-\.\+]{1})/g, '\\$1') + .replace(/_/g, '{digit+}') + .replace(/([0-9]{1})/g, '{digit$1}') + .replace(/\{digit([0-9]{1})\}/g, '[0-$1_]{1}') + .replace(/\{digit[\+]\}/g, '[0-9_]{1}'); + return (new RegExp(reg)).test(value); + }; + options = $.extend(true, {}, options, _options); + + if (_options.allowTimes && $.isArray(_options.allowTimes) && _options.allowTimes.length) { + options.allowTimes = $.extend(true, [], _options.allowTimes); + } + + if (_options.weekends && $.isArray(_options.weekends) && _options.weekends.length) { + options.weekends = $.extend(true, [], _options.weekends); + } + + if (_options.highlightedDates && $.isArray(_options.highlightedDates) && _options.highlightedDates.length) { + $.each(_options.highlightedDates, function (index, value) { + var splitData = $.map(value.split(','), $.trim), + exDesc, + hDate = new HighlightedDate(Date.parseDate(splitData[0], options.formatDate), splitData[1], splitData[2]), // date, desc, style + keyDate = hDate.date.dateFormat(options.formatDate); + if (highlightedDates[keyDate] !== undefined) { + exDesc = highlightedDates[keyDate].desc; + if (exDesc && exDesc.length && hDate.desc && hDate.desc.length) { + highlightedDates[keyDate].desc = exDesc + "\n" + hDate.desc; + } + } else { + highlightedDates[keyDate] = hDate; + } + }); + + options.highlightedDates = $.extend(true, [], highlightedDates); + } + + if (_options.highlightedPeriods && $.isArray(_options.highlightedPeriods) && _options.highlightedPeriods.length) { + highlightedDates = $.extend(true, [], options.highlightedDates); + $.each(_options.highlightedPeriods, function (index, value) { + var splitData = $.map(value.split(','), $.trim), + dateTest = Date.parseDate(splitData[0], options.formatDate), // start date + dateEnd = Date.parseDate(splitData[1], options.formatDate), + desc = splitData[2], + hDate, + keyDate, + exDesc, + style = splitData[3]; + + while (dateTest <= dateEnd) { + hDate = new HighlightedDate(dateTest, desc, style); + keyDate = dateTest.dateFormat(options.formatDate); + dateTest.setDate(dateTest.getDate() + 1); + if (highlightedDates[keyDate] !== undefined) { + exDesc = highlightedDates[keyDate].desc; + if (exDesc && exDesc.length && hDate.desc && hDate.desc.length) { + highlightedDates[keyDate].desc = exDesc + "\n" + hDate.desc; + } + } else { + highlightedDates[keyDate] = hDate; + } + } + }); + + options.highlightedDates = $.extend(true, [], highlightedDates); + } + + if (_options.disabledDates && $.isArray(_options.disabledDates) && _options.disabledDates.length) { + options.disabledDates = $.extend(true, [], _options.disabledDates); + } + + if (_options.disabledWeekDays && $.isArray(_options.disabledWeekDays) && _options.disabledWeekDays.length) { + options.disabledWeekDays = $.extend(true, [], _options.disabledWeekDays); + } + + if ((options.open || options.opened) && (!options.inline)) { + input.trigger('open.xdsoft'); + } + + if (options.inline) { + triggerAfterOpen = true; + datetimepicker.addClass('xdsoft_inline'); + input.after(datetimepicker).hide(); + } + + if (options.inverseButton) { + options.next = 'xdsoft_prev'; + options.prev = 'xdsoft_next'; + } + + if (options.datepicker) { + datepicker.addClass('active'); + } else { + datepicker.removeClass('active'); + } + + if (options.timepicker) { + timepicker.addClass('active'); + } else { + timepicker.removeClass('active'); + } + + if (options.value) { + _xdsoft_datetime.setCurrentTime(options.value); + if (input && input.val) { + input.val(_xdsoft_datetime.str); + } + } + + if (isNaN(options.dayOfWeekStart)) { + options.dayOfWeekStart = 0; + } else { + options.dayOfWeekStart = parseInt(options.dayOfWeekStart, 10) % 7; + } + + if (!options.timepickerScrollbar) { + timeboxparent.xdsoftScroller('hide'); + } + + if (options.minDate && /^-(.*)$/.test(options.minDate)) { + options.minDate = _xdsoft_datetime.strToDateTime(options.minDate).dateFormat(options.formatDate); + } + + if (options.maxDate && /^\+(.*)$/.test(options.maxDate)) { + options.maxDate = _xdsoft_datetime.strToDateTime(options.maxDate).dateFormat(options.formatDate); + } + + applyButton.toggle(options.showApplyButton); + + mounth_picker + .find('.xdsoft_today_button') + .css('visibility', !options.todayButton ? 'hidden' : 'visible'); + + mounth_picker + .find('.' + options.prev) + .css('visibility', !options.prevButton ? 'hidden' : 'visible'); + + mounth_picker + .find('.' + options.next) + .css('visibility', !options.nextButton ? 'hidden' : 'visible'); + + if (options.mask) { + input.off('keydown.xdsoft'); + + if (options.mask === true) { + options.mask = options.format + .replace(/Y/g, '9999') + .replace(/F/g, '9999') + .replace(/m/g, '19') + .replace(/d/g, '39') + .replace(/H/g, '29') + .replace(/i/g, '59') + .replace(/s/g, '59'); + } + + if ($.type(options.mask) === 'string') { + if (!isValidValue(options.mask, input.val())) { + input.val(options.mask.replace(/[0-9]/g, '_')); + } + + input.on('keydown.xdsoft', function (event) { + var val = this.value, + key = event.which, + pos, + digit; + + if (((key >= KEY0 && key <= KEY9) || (key >= _KEY0 && key <= _KEY9)) || (key === BACKSPACE || key === DEL)) { + pos = getCaretPos(this); + digit = (key !== BACKSPACE && key !== DEL) ? String.fromCharCode((_KEY0 <= key && key <= _KEY9) ? key - KEY0 : key) : '_'; + + if ((key === BACKSPACE || key === DEL) && pos) { + pos -= 1; + digit = '_'; + } + + while (/[^0-9_]/.test(options.mask.substr(pos, 1)) && pos < options.mask.length && pos > 0) { + pos += (key === BACKSPACE || key === DEL) ? -1 : 1; + } + + val = val.substr(0, pos) + digit + val.substr(pos + 1); + if ($.trim(val) === '') { + val = options.mask.replace(/[0-9]/g, '_'); + } else { + if (pos === options.mask.length) { + event.preventDefault(); + return false; + } + } + + pos += (key === BACKSPACE || key === DEL) ? 0 : 1; + while (/[^0-9_]/.test(options.mask.substr(pos, 1)) && pos < options.mask.length && pos > 0) { + pos += (key === BACKSPACE || key === DEL) ? -1 : 1; + } + + if (isValidValue(options.mask, val)) { + this.value = val; + setCaretPos(this, pos); + } else if ($.trim(val) === '') { + this.value = options.mask.replace(/[0-9]/g, '_'); + } else { + input.trigger('error_input.xdsoft'); + } + } else { + if (([AKEY, CKEY, VKEY, ZKEY, YKEY].indexOf(key) !== -1 && ctrlDown) || [ESC, ARROWUP, ARROWDOWN, ARROWLEFT, ARROWRIGHT, F5, CTRLKEY, TAB, ENTER].indexOf(key) !== -1) { + return true; + } + } + + event.preventDefault(); + return false; + }); + } + } + if (options.validateOnBlur) { + input + .off('blur.xdsoft') + .on('blur.xdsoft', function () { + if (options.allowBlank && !$.trim($(this).val()).length) { + $(this).val(null); + datetimepicker.data('xdsoft_datetime').empty(); + } else if (!Date.parseDate($(this).val(), options.format)) { + var splittedHours = +([$(this).val()[0], $(this).val()[1]].join('')), + splittedMinutes = +([$(this).val()[2], $(this).val()[3]].join('')); + + // parse the numbers as 0312 => 03:12 + if (!options.datepicker && options.timepicker && splittedHours >= 0 && splittedHours < 24 && splittedMinutes >= 0 && splittedMinutes < 60) { + $(this).val([splittedHours, splittedMinutes].map(function (item) { + return item > 9 ? item : '0' + item; + }).join(':')); + } else { + $(this).val((_xdsoft_datetime.now()).dateFormat(options.format)); + } + + datetimepicker.data('xdsoft_datetime').setCurrentTime($(this).val()); + } else { + datetimepicker.data('xdsoft_datetime').setCurrentTime($(this).val()); + } + + datetimepicker.trigger('changedatetime.xdsoft'); + }); + } + options.dayOfWeekStartPrev = (options.dayOfWeekStart === 0) ? 6 : options.dayOfWeekStart - 1; + + datetimepicker + .trigger('xchange.xdsoft') + .trigger('afterOpen.xdsoft'); + }; + + datetimepicker + .data('options', options) + .on('mousedown.xdsoft', function (event) { + event.stopPropagation(); + event.preventDefault(); + yearselect.hide(); + monthselect.hide(); + return false; + }); + + //scroll_element = timepicker.find('.xdsoft_time_box'); + timeboxparent.append(timebox); + timeboxparent.xdsoftScroller(); + + datetimepicker.on('afterOpen.xdsoft', function () { + timeboxparent.xdsoftScroller(); + }); + + datetimepicker + .append(datepicker) + .append(timepicker); + + if (options.withoutCopyright !== true) { + datetimepicker + .append(xdsoft_copyright); + } + + datepicker + .append(mounth_picker) + .append(calendar) + .append(applyButton); + + $(options.parentID) + .append(datetimepicker); + + XDSoft_datetime = function () { + var _this = this; + _this.now = function (norecursion) { + var d = new Date(), + date, + time; + + if (!norecursion && options.defaultDate) { + date = _this.strToDateTime(options.defaultDate); + d.setFullYear(date.getFullYear()); + d.setMonth(date.getMonth()); + d.setDate(date.getDate()); + } + + if (options.yearOffset) { + d.setFullYear(d.getFullYear() + options.yearOffset); + } + + if (!norecursion && options.defaultTime) { + time = _this.strtotime(options.defaultTime); + d.setHours(time.getHours()); + d.setMinutes(time.getMinutes()); + } + return d; + }; + + _this.isValidDate = function (d) { + if (Object.prototype.toString.call(d) !== "[object Date]") { + return false; + } + return !isNaN(d.getTime()); + }; + + _this.setCurrentTime = function (dTime) { + _this.currentTime = (typeof dTime === 'string') ? _this.strToDateTime(dTime) : _this.isValidDate(dTime) ? dTime : _this.now(); + datetimepicker.trigger('xchange.xdsoft'); + }; + + _this.empty = function () { + _this.currentTime = null; + }; + + _this.getCurrentTime = function (dTime) { + return _this.currentTime; + }; + + _this.nextMonth = function () { + + if (_this.currentTime === undefined || _this.currentTime === null) { + _this.currentTime = _this.now(); + } + + var month = _this.currentTime.getMonth() + 1, + year; + if (month === 12) { + _this.currentTime.setFullYear(_this.currentTime.getFullYear() + 1); + month = 0; + } + + year = _this.currentTime.getFullYear(); + + _this.currentTime.setDate( + Math.min( + new Date(_this.currentTime.getFullYear(), month + 1, 0).getDate(), + _this.currentTime.getDate() + ) + ); + _this.currentTime.setMonth(month); + + if (options.onChangeMonth && $.isFunction(options.onChangeMonth)) { + options.onChangeMonth.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('input')); + } + + if (year !== _this.currentTime.getFullYear() && $.isFunction(options.onChangeYear)) { + options.onChangeYear.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('input')); + } + + datetimepicker.trigger('xchange.xdsoft'); + return month; + }; + + _this.prevMonth = function () { + + if (_this.currentTime === undefined || _this.currentTime === null) { + _this.currentTime = _this.now(); + } + + var month = _this.currentTime.getMonth() - 1; + if (month === -1) { + _this.currentTime.setFullYear(_this.currentTime.getFullYear() - 1); + month = 11; + } + _this.currentTime.setDate( + Math.min( + new Date(_this.currentTime.getFullYear(), month + 1, 0).getDate(), + _this.currentTime.getDate() + ) + ); + _this.currentTime.setMonth(month); + if (options.onChangeMonth && $.isFunction(options.onChangeMonth)) { + options.onChangeMonth.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('input')); + } + datetimepicker.trigger('xchange.xdsoft'); + return month; + }; + + _this.getWeekOfYear = function (datetime) { + var onejan = new Date(datetime.getFullYear(), 0, 1); + return Math.ceil((((datetime - onejan) / 86400000) + onejan.getDay() + 1) / 7); + }; + + _this.strToDateTime = function (sDateTime) { + var tmpDate = [], timeOffset, currentTime; + + if (sDateTime && sDateTime instanceof Date && _this.isValidDate(sDateTime)) { + return sDateTime; + } + + tmpDate = /^(\+|\-)(.*)$/.exec(sDateTime); + if (tmpDate) { + tmpDate[2] = Date.parseDate(tmpDate[2], options.formatDate); + } + if (tmpDate && tmpDate[2]) { + timeOffset = tmpDate[2].getTime() - (tmpDate[2].getTimezoneOffset()) * 60000; + currentTime = new Date((_this.now(true)).getTime() + parseInt(tmpDate[1] + '1', 10) * timeOffset); + } else { + currentTime = sDateTime ? Date.parseDate(sDateTime, options.format) : _this.now(); + } + + if (!_this.isValidDate(currentTime)) { + currentTime = _this.now(); + } + + return currentTime; + }; + + _this.strToDate = function (sDate) { + if (sDate && sDate instanceof Date && _this.isValidDate(sDate)) { + return sDate; + } + + var currentTime = sDate ? Date.parseDate(sDate, options.formatDate) : _this.now(true); + if (!_this.isValidDate(currentTime)) { + currentTime = _this.now(true); + } + return currentTime; + }; + + _this.strtotime = function (sTime) { + if (sTime && sTime instanceof Date && _this.isValidDate(sTime)) { + return sTime; + } + var currentTime = sTime ? Date.parseDate(sTime, options.formatTime) : _this.now(true); + if (!_this.isValidDate(currentTime)) { + currentTime = _this.now(true); + } + return currentTime; + }; + + _this.str = function () { + return _this.currentTime.dateFormat(options.format); + }; + _this.currentTime = this.now(); + }; + + _xdsoft_datetime = new XDSoft_datetime(); + + applyButton.on('click', function (e) {//pathbrite + e.preventDefault(); + datetimepicker.data('changed', true); + _xdsoft_datetime.setCurrentTime(getCurrentValue()); + input.val(_xdsoft_datetime.str()); + datetimepicker.trigger('close.xdsoft'); + }); + mounth_picker + .find('.xdsoft_today_button') + .on('mousedown.xdsoft', function () { + datetimepicker.data('changed', true); + _xdsoft_datetime.setCurrentTime(0); + datetimepicker.trigger('afterOpen.xdsoft'); + }).on('dblclick.xdsoft', function () { + var currentDate = _xdsoft_datetime.getCurrentTime(), minDate, maxDate; + currentDate = new Date(currentDate.getFullYear(), currentDate.getMonth(), currentDate.getDate()); + minDate = _xdsoft_datetime.strToDate(options.minDate); + minDate = new Date(minDate.getFullYear(), minDate.getMonth(), minDate.getDate()); + if (currentDate < minDate) { + return; + } + maxDate = _xdsoft_datetime.strToDate(options.maxDate); + maxDate = new Date(maxDate.getFullYear(), maxDate.getMonth(), maxDate.getDate()); + if (currentDate > maxDate) { + return; + } + input.val(_xdsoft_datetime.str()); + datetimepicker.trigger('close.xdsoft'); + }); + mounth_picker + .find('.xdsoft_prev,.xdsoft_next') + .on('mousedown.xdsoft', function () { + var $this = $(this), + timer = 0, + stop = false; + + (function arguments_callee1(v) { + if ($this.hasClass(options.next)) { + _xdsoft_datetime.nextMonth(); + } else if ($this.hasClass(options.prev)) { + _xdsoft_datetime.prevMonth(); + } + if (options.monthChangeSpinner) { + if (!stop) { + timer = setTimeout(arguments_callee1, v || 100); + } + } + }(500)); + + $([document.body, window]).on('mouseup.xdsoft', function arguments_callee2() { + clearTimeout(timer); + stop = true; + $([document.body, window]).off('mouseup.xdsoft', arguments_callee2); + }); + }); + + timepicker + .find('.xdsoft_prev,.xdsoft_next') + .on('mousedown.xdsoft', function () { + var $this = $(this), + timer = 0, + stop = false, + period = 110; + (function arguments_callee4(v) { + var pheight = timeboxparent[0].clientHeight, + height = timebox[0].offsetHeight, + top = Math.abs(parseInt(timebox.css('marginTop'), 10)); + if ($this.hasClass(options.next) && (height - pheight) - options.timeHeightInTimePicker >= top) { + timebox.css('marginTop', '-' + (top + options.timeHeightInTimePicker) + 'px'); + } else if ($this.hasClass(options.prev) && top - options.timeHeightInTimePicker >= 0) { + timebox.css('marginTop', '-' + (top - options.timeHeightInTimePicker) + 'px'); + } + timeboxparent.trigger('scroll_element.xdsoft_scroller', [Math.abs(parseInt(timebox.css('marginTop'), 10) / (height - pheight))]); + period = (period > 10) ? 10 : period - 10; + if (!stop) { + timer = setTimeout(arguments_callee4, v || period); + } + }(500)); + $([document.body, window]).on('mouseup.xdsoft', function arguments_callee5() { + clearTimeout(timer); + stop = true; + $([document.body, window]) + .off('mouseup.xdsoft', arguments_callee5); + }); + }); + + xchangeTimer = 0; + // base handler - generating a calendar and timepicker + datetimepicker + .on('xchange.xdsoft', function (event) { + clearTimeout(xchangeTimer); + xchangeTimer = setTimeout(function () { + + if (_xdsoft_datetime.currentTime === undefined || _xdsoft_datetime.currentTime === null) { + _xdsoft_datetime.currentTime = _xdsoft_datetime.now(); + } + + var table = '', + start = new Date(_xdsoft_datetime.currentTime.getFullYear(), _xdsoft_datetime.currentTime.getMonth(), 1, 12, 0, 0), + i = 0, + j, + today = _xdsoft_datetime.now(), + maxDate = false, + minDate = false, + hDate, + day, + d, + y, + m, + w, + classes = [], + customDateSettings, + newRow = true, + time = '', + h = '', + line_time, + description; + + while (start.getDay() !== options.dayOfWeekStart) { + start.setDate(start.getDate() - 1); + } + + table += ''; + + if (options.weeks) { + table += ''; + } + + for (j = 0; j < 7; j += 1) { + table += ''; + } + + table += ''; + table += ''; + + if (options.maxDate !== false) { + maxDate = _xdsoft_datetime.strToDate(options.maxDate); + maxDate = new Date(maxDate.getFullYear(), maxDate.getMonth(), maxDate.getDate(), 23, 59, 59, 999); + } + + if (options.minDate !== false) { + minDate = _xdsoft_datetime.strToDate(options.minDate); + minDate = new Date(minDate.getFullYear(), minDate.getMonth(), minDate.getDate()); + } + + while (i < _xdsoft_datetime.currentTime.countDaysInMonth() || start.getDay() !== options.dayOfWeekStart || _xdsoft_datetime.currentTime.getMonth() === start.getMonth()) { + classes = []; + i += 1; + + day = start.getDay(); + d = start.getDate(); + y = start.getFullYear(); + m = start.getMonth(); + w = _xdsoft_datetime.getWeekOfYear(start); + description = ''; + + classes.push('xdsoft_date'); + + if (options.beforeShowDay && $.isFunction(options.beforeShowDay.call)) { + customDateSettings = options.beforeShowDay.call(datetimepicker, start); + } else { + customDateSettings = null; + } + + if ((maxDate !== false && start > maxDate) || (minDate !== false && start < minDate) || (customDateSettings && customDateSettings[0] === false)) { + classes.push('xdsoft_disabled'); + } else if (options.disabledDates.indexOf(start.dateFormat(options.formatDate)) !== -1) { + classes.push('xdsoft_disabled'); + } else if (options.disabledWeekDays.indexOf(day) !== -1) { + classes.push('xdsoft_disabled'); + } + + if (customDateSettings && customDateSettings[1] !== "") { + classes.push(customDateSettings[1]); + } + + if (_xdsoft_datetime.currentTime.getMonth() !== m) { + classes.push('xdsoft_other_month'); + } + + if ((options.defaultSelect || datetimepicker.data('changed')) && _xdsoft_datetime.currentTime.dateFormat(options.formatDate) === start.dateFormat(options.formatDate)) { + classes.push('xdsoft_current'); + } + + if (today.dateFormat(options.formatDate) === start.dateFormat(options.formatDate)) { + classes.push('xdsoft_today'); + } + + if (start.getDay() === 0 || start.getDay() === 6 || options.weekends.indexOf(start.dateFormat(options.formatDate)) !== -1) { + classes.push('xdsoft_weekend'); + } + + if (options.highlightedDates[start.dateFormat(options.formatDate)] !== undefined) { + hDate = options.highlightedDates[start.dateFormat(options.formatDate)]; + classes.push(hDate.style === undefined ? 'xdsoft_highlighted_default' : hDate.style); + description = hDate.desc === undefined ? '' : hDate.desc; + } + + if (options.beforeShowDay && $.isFunction(options.beforeShowDay)) { + classes.push(options.beforeShowDay(start)); + } + + if (newRow) { + table += ''; + newRow = false; + if (options.weeks) { + table += ''; + } + } + + table += ''; + + if (start.getDay() === options.dayOfWeekStartPrev) { + table += ''; + newRow = true; + } + + start.setDate(d + 1); + } + table += '
' + options.i18n[options.lang].dayOfWeek[(j + options.dayOfWeekStart) % 7] + '
' + w + '' + + '
' + d + '
' + + '
'; + + calendar.html(table); + + mounth_picker.find('.xdsoft_label span').eq(0).text(options.i18n[options.lang].months[_xdsoft_datetime.currentTime.getMonth()]); + mounth_picker.find('.xdsoft_label span').eq(1).text(_xdsoft_datetime.currentTime.getFullYear()); + + // generate timebox + time = ''; + h = ''; + m = ''; + line_time = function line_time(h, m) { + var now = _xdsoft_datetime.now(), optionDateTime, current_time; + now.setHours(h); + h = parseInt(now.getHours(), 10); + now.setMinutes(m); + m = parseInt(now.getMinutes(), 10); + optionDateTime = new Date(_xdsoft_datetime.currentTime); + optionDateTime.setHours(h); + optionDateTime.setMinutes(m); + classes = []; + if ((options.minDateTime !== false && options.minDateTime > optionDateTime) || (options.maxTime !== false && _xdsoft_datetime.strtotime(options.maxTime).getTime() < now.getTime()) || (options.minTime !== false && _xdsoft_datetime.strtotime(options.minTime).getTime() > now.getTime())) { + classes.push('xdsoft_disabled'); + } + if ((options.minDateTime !== false && options.minDateTime > optionDateTime) || ((options.disabledMinTime !== false && now.getTime() > _xdsoft_datetime.strtotime(options.disabledMinTime).getTime()) && (options.disabledMaxTime !== false && now.getTime() < _xdsoft_datetime.strtotime(options.disabledMaxTime).getTime()))) { + classes.push('xdsoft_disabled'); + } + + current_time = new Date(_xdsoft_datetime.currentTime); + current_time.setHours(parseInt(_xdsoft_datetime.currentTime.getHours(), 10)); + current_time.setMinutes(Math[options.roundTime](_xdsoft_datetime.currentTime.getMinutes() / options.step) * options.step); + + if ((options.initTime || options.defaultSelect || datetimepicker.data('changed')) && current_time.getHours() === parseInt(h, 10) && (options.step > 59 || current_time.getMinutes() === parseInt(m, 10))) { + if (options.defaultSelect || datetimepicker.data('changed')) { + classes.push('xdsoft_current'); + } else if (options.initTime) { + classes.push('xdsoft_init_time'); + } + } + if (parseInt(today.getHours(), 10) === parseInt(h, 10) && parseInt(today.getMinutes(), 10) === parseInt(m, 10)) { + classes.push('xdsoft_today'); + } + time += '
' + now.dateFormat(options.formatTime) + '
'; + }; + + if (!options.allowTimes || !$.isArray(options.allowTimes) || !options.allowTimes.length) { + for (i = 0, j = 0; i < (options.hours12 ? 12 : 24); i += 1) { + for (j = 0; j < 60; j += options.step) { + h = (i < 10 ? '0' : '') + i; + m = (j < 10 ? '0' : '') + j; + line_time(h, m); + } + } + } else { + for (i = 0; i < options.allowTimes.length; i += 1) { + h = _xdsoft_datetime.strtotime(options.allowTimes[i]).getHours(); + m = _xdsoft_datetime.strtotime(options.allowTimes[i]).getMinutes(); + line_time(h, m); + } + } + + timebox.html(time); + + opt = ''; + i = 0; + + for (i = parseInt(options.yearStart, 10) + options.yearOffset; i <= parseInt(options.yearEnd, 10) + options.yearOffset; i += 1) { + opt += '
' + i + '
'; + } + yearselect.children().eq(0) + .html(opt); + + for (i = parseInt(options.monthStart, 10), opt = ''; i <= parseInt(options.monthEnd, 10); i += 1) { + opt += '
' + options.i18n[options.lang].months[i] + '
'; + } + monthselect.children().eq(0).html(opt); + $(datetimepicker) + .trigger('generate.xdsoft'); + }, 10); + event.stopPropagation(); + }) + .on('afterOpen.xdsoft', function () { + if (options.timepicker) { + var classType, pheight, height, top; + if (timebox.find('.xdsoft_current').length) { + classType = '.xdsoft_current'; + } else if (timebox.find('.xdsoft_init_time').length) { + classType = '.xdsoft_init_time'; + } + if (classType) { + pheight = timeboxparent[0].clientHeight; + height = timebox[0].offsetHeight; + top = timebox.find(classType).index() * options.timeHeightInTimePicker + 1; + if ((height - pheight) < top) { + top = height - pheight; + } + timeboxparent.trigger('scroll_element.xdsoft_scroller', [parseInt(top, 10) / (height - pheight)]); + } else { + timeboxparent.trigger('scroll_element.xdsoft_scroller', [0]); + } + } + }); + + timerclick = 0; + calendar + .on('click.xdsoft', 'td', function (xdevent) { + xdevent.stopPropagation(); // Prevents closing of Pop-ups, Modals and Flyouts in Bootstrap + timerclick += 1; + var $this = $(this), + currentTime = _xdsoft_datetime.currentTime; + + if (currentTime === undefined || currentTime === null) { + _xdsoft_datetime.currentTime = _xdsoft_datetime.now(); + currentTime = _xdsoft_datetime.currentTime; + } + + if ($this.hasClass('xdsoft_disabled')) { + return false; + } + + currentTime.setDate(1); + currentTime.setFullYear($this.data('year')); + currentTime.setMonth($this.data('month')); + currentTime.setDate($this.data('date')); + + datetimepicker.trigger('select.xdsoft', [currentTime]); + + input.val(_xdsoft_datetime.str()); + if ((timerclick > 1 || (options.closeOnDateSelect === true || (options.closeOnDateSelect === false && !options.timepicker))) && !options.inline) { + datetimepicker.trigger('close.xdsoft'); + } + + if (options.onSelectDate && $.isFunction(options.onSelectDate)) { + options.onSelectDate.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('input'), xdevent); + } + + datetimepicker.data('changed', true); + datetimepicker.trigger('xchange.xdsoft'); + datetimepicker.trigger('changedatetime.xdsoft'); + setTimeout(function () { + timerclick = 0; + }, 200); + }); + + timebox + .on('click.xdsoft', 'div', function (xdevent) { + xdevent.stopPropagation(); + var $this = $(this), + currentTime = _xdsoft_datetime.currentTime; + + if (currentTime === undefined || currentTime === null) { + _xdsoft_datetime.currentTime = _xdsoft_datetime.now(); + currentTime = _xdsoft_datetime.currentTime; + } + + if ($this.hasClass('xdsoft_disabled')) { + return false; + } + currentTime.setHours($this.data('hour')); + currentTime.setMinutes($this.data('minute')); + datetimepicker.trigger('select.xdsoft', [currentTime]); + + datetimepicker.data('input').val(_xdsoft_datetime.str()); + + if (options.inline !== true && options.closeOnTimeSelect === true) { + datetimepicker.trigger('close.xdsoft'); + } + + if (options.onSelectTime && $.isFunction(options.onSelectTime)) { + options.onSelectTime.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('input'), xdevent); + } + datetimepicker.data('changed', true); + datetimepicker.trigger('xchange.xdsoft'); + datetimepicker.trigger('changedatetime.xdsoft'); + }); + + + datepicker + .on('mousewheel.xdsoft', function (event) { + if (!options.scrollMonth) { + return true; + } + if (event.deltaY < 0) { + _xdsoft_datetime.nextMonth(); + } else { + _xdsoft_datetime.prevMonth(); + } + return false; + }); + + input + .on('mousewheel.xdsoft', function (event) { + if (!options.scrollInput) { + return true; + } + if (!options.datepicker && options.timepicker) { + current_time_index = timebox.find('.xdsoft_current').length ? timebox.find('.xdsoft_current').eq(0).index() : 0; + if (current_time_index + event.deltaY >= 0 && current_time_index + event.deltaY < timebox.children().length) { + current_time_index += event.deltaY; + } + if (timebox.children().eq(current_time_index).length) { + timebox.children().eq(current_time_index).trigger('mousedown'); + } + return false; + } + if (options.datepicker && !options.timepicker) { + datepicker.trigger(event, [event.deltaY, event.deltaX, event.deltaY]); + if (input.val) { + input.val(_xdsoft_datetime.str()); + } + datetimepicker.trigger('changedatetime.xdsoft'); + return false; + } + }); + + datetimepicker + .on('changedatetime.xdsoft', function (event) { + if (options.onChangeDateTime && $.isFunction(options.onChangeDateTime)) { + var $input = datetimepicker.data('input'); + options.onChangeDateTime.call(datetimepicker, _xdsoft_datetime.currentTime, $input, event); + delete options.value; + $input.trigger('change'); + } + }) + .on('generate.xdsoft', function () { + if (options.onGenerate && $.isFunction(options.onGenerate)) { + options.onGenerate.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('input')); + } + if (triggerAfterOpen) { + datetimepicker.trigger('afterOpen.xdsoft'); + triggerAfterOpen = false; + } + }) + .on('click.xdsoft', function (xdevent) { + xdevent.stopPropagation(); + }); + + current_time_index = 0; + + setPos = function () { + var offset = datetimepicker.data('input').offset(), top = offset.top + datetimepicker.data('input')[0].offsetHeight - 1, left = offset.left, position = "absolute", node; + if (options.fixed) { + top -= $(window).scrollTop(); + left -= $(window).scrollLeft(); + position = "fixed"; + } else { + if (top + datetimepicker[0].offsetHeight > $(window).height() + $(window).scrollTop()) { + top = offset.top - datetimepicker[0].offsetHeight + 1; + } + if (top < 0) { + top = 0; + } + if (left + datetimepicker[0].offsetWidth > $(window).width()) { + left = $(window).width() - datetimepicker[0].offsetWidth; + } + } + + node = datetimepicker[0]; + do { + node = node.parentNode; + if (window.getComputedStyle(node).getPropertyValue('position') === 'relative' && $(window).width() >= node.offsetWidth) { + left = left - (($(window).width() - node.offsetWidth) / 2); + break; + } + } while (node.nodeName !== 'HTML'); + datetimepicker.css({ + left: left, + top: top, + position: position + }); + }; + datetimepicker + .on('open.xdsoft', function (event) { + var onShow = true; + if (options.onShow && $.isFunction(options.onShow)) { + onShow = options.onShow.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('input'), event); + } + if (onShow !== false) { + datetimepicker.show(); + setPos(); + $(window) + .off('resize.xdsoft', setPos) + .on('resize.xdsoft', setPos); + + if (options.closeOnWithoutClick) { + $([document.body, window]).on('mousedown.xdsoft', function arguments_callee6() { + datetimepicker.trigger('close.xdsoft'); + $([document.body, window]).off('mousedown.xdsoft', arguments_callee6); + }); + } + } + }) + .on('close.xdsoft', function (event) { + var onClose = true; + mounth_picker + .find('.xdsoft_month,.xdsoft_year') + .find('.xdsoft_select') + .hide(); + if (options.onClose && $.isFunction(options.onClose)) { + onClose = options.onClose.call(datetimepicker, _xdsoft_datetime.currentTime, datetimepicker.data('input'), event); + } + if (onClose !== false && !options.opened && !options.inline) { + datetimepicker.hide(); + } + event.stopPropagation(); + }) + .on('toggle.xdsoft', function (event) { + if (datetimepicker.is(':visible')) { + datetimepicker.trigger('close.xdsoft'); + } else { + datetimepicker.trigger('open.xdsoft'); + } + }) + .data('input', input); + + timer = 0; + timer1 = 0; + + datetimepicker.data('xdsoft_datetime', _xdsoft_datetime); + datetimepicker.setOptions(options); + + function getCurrentValue() { + var ct = false, time; + + if (options.startDate) { + ct = _xdsoft_datetime.strToDate(options.startDate); + } else { + ct = options.value || ((input && input.val && input.val()) ? input.val() : ''); + if (ct) { + ct = _xdsoft_datetime.strToDateTime(ct); + } else if (options.defaultDate) { + ct = _xdsoft_datetime.strToDateTime(options.defaultDate); + if (options.defaultTime) { + time = _xdsoft_datetime.strtotime(options.defaultTime); + ct.setHours(time.getHours()); + ct.setMinutes(time.getMinutes()); + } + } + } + + if (ct && _xdsoft_datetime.isValidDate(ct)) { + datetimepicker.data('changed', true); + } else { + ct = ''; + } + + return ct || 0; + } + + _xdsoft_datetime.setCurrentTime(getCurrentValue()); + + input + .data('xdsoft_datetimepicker', datetimepicker) + .on('open.xdsoft focusin.xdsoft mousedown.xdsoft', function (event) { + if (input.is(':disabled') || (input.data('xdsoft_datetimepicker').is(':visible') && options.closeOnInputClick)) { + return; + } + clearTimeout(timer); + timer = setTimeout(function () { + if (input.is(':disabled')) { + return; + } + + triggerAfterOpen = true; + _xdsoft_datetime.setCurrentTime(getCurrentValue()); + + datetimepicker.trigger('open.xdsoft'); + }, 100); + }) + .on('keydown.xdsoft', function (event) { + var val = this.value, elementSelector, + key = event.which; + if ([ENTER].indexOf(key) !== -1 && options.enterLikeTab) { + elementSelector = $("input:visible,textarea:visible"); + datetimepicker.trigger('close.xdsoft'); + elementSelector.eq(elementSelector.index(this) + 1).focus(); + return false; + } + if ([TAB].indexOf(key) !== -1) { + datetimepicker.trigger('close.xdsoft'); + return true; + } + }); + }; + destroyDateTimePicker = function (input) { + var datetimepicker = input.data('xdsoft_datetimepicker'); + if (datetimepicker) { + datetimepicker.data('xdsoft_datetime', null); + datetimepicker.remove(); + input + .data('xdsoft_datetimepicker', null) + .off('.xdsoft'); + $(window).off('resize.xdsoft'); + $([window, document.body]).off('mousedown.xdsoft'); + if (input.unmousewheel) { + input.unmousewheel(); + } + } + }; + $(document) + .off('keydown.xdsoftctrl keyup.xdsoftctrl') + .on('keydown.xdsoftctrl', function (e) { + if (e.keyCode === CTRLKEY) { + ctrlDown = true; + } + }) + .on('keyup.xdsoftctrl', function (e) { + if (e.keyCode === CTRLKEY) { + ctrlDown = false; + } + }); + return this.each(function () { + var datetimepicker = $(this).data('xdsoft_datetimepicker'), $input; + if (datetimepicker) { + if ($.type(opt) === 'string') { + switch (opt) { + case 'show': + $(this).select().focus(); + datetimepicker.trigger('open.xdsoft'); + break; + case 'hide': + datetimepicker.trigger('close.xdsoft'); + break; + case 'toggle': + datetimepicker.trigger('toggle.xdsoft'); + break; + case 'destroy': + destroyDateTimePicker($(this)); + break; + case 'reset': + this.value = this.defaultValue; + if (!this.value || !datetimepicker.data('xdsoft_datetime').isValidDate(Date.parseDate(this.value, options.format))) { + datetimepicker.data('changed', false); + } + datetimepicker.data('xdsoft_datetime').setCurrentTime(this.value); + break; + case 'validate': + $input = datetimepicker.data('input'); + $input.trigger('blur.xdsoft'); + break; + } + } else { + datetimepicker + .setOptions(opt); + } + return 0; + } + if ($.type(opt) !== 'string') { + if (!options.lazyInit || options.open || options.inline) { + createDateTimePicker($(this)); + } else { + lazyInit($(this)); + } + } + }); + }; + $.fn.datetimepicker.defaults = default_options; +}(jQuery)); + +function HighlightedDate(date, desc, style) { + "use strict"; + this.date = date; + this.desc = desc; + this.style = style; +} + +(function () { + +/*! Copyright (c) 2013 Brandon Aaron (http://brandon.aaron.sh) + * Licensed under the MIT License (LICENSE.txt). + * + * Version: 3.1.12 + * + * Requires: jQuery 1.2.2+ + */ +!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type="mousewheel","detail"in g&&(m=-1*g.detail),"wheelDelta"in g&&(m=g.wheelDelta),"wheelDeltaY"in g&&(m=g.wheelDeltaY),"wheelDeltaX"in g&&(l=-1*g.wheelDeltaX),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(l=-1*m,m=0),j=0===m?l:m,"deltaY"in g&&(m=-1*g.deltaY,j=m),"deltaX"in g&&(l=g.deltaX,0===m&&(j=-1*l)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,"mousewheel-line-height");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,"mousewheel-page-height");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||f>n)&&(f=n,d(g,n)&&(f/=40)),d(g,n)&&(j/=40,l/=40,m/=40),j=Math[j>=1?"floor":"ceil"](j/f),l=Math[l>=1?"floor":"ceil"](l/f),m=Math[m>=1?"floor":"ceil"](m/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&"mousewheel"===a.type&&b%120===0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})}); + +// Parse and Format Library +//http://www.xaprb.com/blog/2005/12/12/javascript-closures-for-runtime-efficiency/ +/* + * Copyright (C) 2004 Baron Schwartz + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by the + * Free Software Foundation, version 2.1. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + */ +Date.parseFunctions={count:0};Date.parseRegexes=[];Date.formatFunctions={count:0};Date.prototype.dateFormat=function(b){if(b=="unixtime"){return parseInt(this.getTime()/1000);}if(Date.formatFunctions[b]==null){Date.createNewFormat(b);}var a=Date.formatFunctions[b];return this[a]();};Date.createNewFormat=function(format){var funcName="format"+Date.formatFunctions.count++;Date.formatFunctions[format]=funcName;var codePrefix="Date.prototype."+funcName+" = function() {return ";var code="";var special=false;var ch="";for(var i=0;i 0) {";var regex="";var special=false;var ch="";for(var i=0;i 0 && z > 0){\nvar doyDate = new Date(y,0);\ndoyDate.setDate(z);\nm = doyDate.getMonth();\nd = doyDate.getDate();\n}";code+="if (y > 0 && m >= 0 && d > 0 && h >= 0 && i >= 0 && s >= 0)\n{return new Date(y, m, d, h, i, s);}\nelse if (y > 0 && m >= 0 && d > 0 && h >= 0 && i >= 0)\n{return new Date(y, m, d, h, i);}\nelse if (y > 0 && m >= 0 && d > 0 && h >= 0)\n{return new Date(y, m, d, h);}\nelse if (y > 0 && m >= 0 && d > 0)\n{return new Date(y, m, d);}\nelse if (y > 0 && m >= 0)\n{return new Date(y, m);}\nelse if (y > 0)\n{return new Date(y);}\n}return null;}";Date.parseRegexes[regexNum]=new RegExp("^"+regex+"$",'i');eval(code);};Date.formatCodeToRegex=function(b,a){switch(b){case"D":return{g:0,c:null,s:"(?:Sun|Mon|Tue|Wed|Thu|Fri|Sat)"};case"j":case"d":return{g:1,c:"d = parseInt(results["+a+"], 10);\n",s:"(\\d{1,2})"};case"l":return{g:0,c:null,s:"(?:"+Date.dayNames.join("|")+")"};case"S":return{g:0,c:null,s:"(?:st|nd|rd|th)"};case"w":return{g:0,c:null,s:"\\d"};case"z":return{g:1,c:"z = parseInt(results["+a+"], 10);\n",s:"(\\d{1,3})"};case"W":return{g:0,c:null,s:"(?:\\d{2})"};case"F":return{g:1,c:"m = parseInt(Date.monthNumbers[results["+a+"].substring(0, 3)], 10);\n",s:"("+Date.monthNames.join("|")+")"};case"M":return{g:1,c:"m = parseInt(Date.monthNumbers[results["+a+"]], 10);\n",s:"(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)"};case"n":case"m":return{g:1,c:"m = parseInt(results["+a+"], 10) - 1;\n",s:"(\\d{1,2})"};case"t":return{g:0,c:null,s:"\\d{1,2}"};case"L":return{g:0,c:null,s:"(?:1|0)"};case"Y":return{g:1,c:"y = parseInt(results["+a+"], 10);\n",s:"(\\d{4})"};case"y":return{g:1,c:"var ty = parseInt(results["+a+"], 10);\ny = ty > Date.y2kYear ? 1900 + ty : 2000 + ty;\n",s:"(\\d{1,2})"};case"a":return{g:1,c:"if (results["+a+"] == 'am') {\nif (h == 12) { h = 0; }\n} else { if (h < 12) { h += 12; }}",s:"(am|pm)"};case"A":return{g:1,c:"if (results["+a+"] == 'AM') {\nif (h == 12) { h = 0; }\n} else { if (h < 12) { h += 12; }}",s:"(AM|PM)"};case"g":case"G":case"h":case"H":return{g:1,c:"h = parseInt(results["+a+"], 10);\n",s:"(\\d{1,2})"};case"i":return{g:1,c:"i = parseInt(results["+a+"], 10);\n",s:"(\\d{2})"};case"s":return{g:1,c:"s = parseInt(results["+a+"], 10);\n",s:"(\\d{2})"};case"O":return{g:0,c:null,s:"[+-]\\d{4}"};case"T":return{g:0,c:null,s:"[A-Z]{3}"};case"Z":return{g:0,c:null,s:"[+-]\\d{1,5}"};default:return{g:0,c:null,s:String.escape(b)};}};Date.prototype.getTimezone=function(){return this.toString().replace(/^.*? ([A-Z]{3}) [0-9]{4}.*$/,"$1").replace(/^.*?\(([A-Z])[a-z]+ ([A-Z])[a-z]+ ([A-Z])[a-z]+\)$/,"$1$2$3");};Date.prototype.getGMTOffset=function(){return(this.getTimezoneOffset()>0?"-":"+")+String.leftPad(Math.floor(Math.abs(this.getTimezoneOffset())/60),2,"0")+String.leftPad(Math.abs(this.getTimezoneOffset())%60,2,"0");};Date.prototype.getDayOfYear=function(){var a=0;Date.daysInMonth[1]=this.isLeapYear()?29:28;for(var b=0;b - */ -;(function($){ - $.fn.datepicker.dates['ar'] = { - days: ["الأحد", "الاثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت", "الأحد"], - daysShort: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت", "أحد"], - daysMin: ["ح", "ن", "ث", "ع", "خ", "ج", "س", "ح"], - months: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"], - monthsShort: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"], - today: "هذا اليوم", - rtl: true - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.az.js b/public/js/locales/bootstrap-datepicker.az.js deleted file mode 100644 index 0285341c..00000000 --- a/public/js/locales/bootstrap-datepicker.az.js +++ /dev/null @@ -1,12 +0,0 @@ -// Azerbaijani -;(function($){ - $.fn.datepicker.dates['az'] = { - days: ["Bazar", "Bazar ertəsi", "Çərşənbə axşamı", "Çərşənbə", "Cümə axşamı", "Cümə", "Şənbə", "Bazar"], - daysShort: ["B.", "B.e", "Ç.a", "Ç.", "C.a", "C.", "Ş.", "B."], - daysMin: ["B.", "B.e", "Ç.a", "Ç.", "C.a", "C.", "Ş.", "B."], - months: ["Yanvar", "Fevral", "Mart", "Aprel", "May", "İyun", "İyul", "Avqust", "Sentyabr", "Oktyabr", "Noyabr", "Dekabr"], - monthsShort: ["Yan", "Fev", "Mar", "Apr", "May", "İyun", "İyul", "Avq", "Sen", "Okt", "Noy", "Dek"], - today: "Bu gün", - weekStart: 1 - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.bg.js b/public/js/locales/bootstrap-datepicker.bg.js deleted file mode 100644 index 6837afd9..00000000 --- a/public/js/locales/bootstrap-datepicker.bg.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Bulgarian translation for bootstrap-datepicker - * Apostol Apostolov - */ -;(function($){ - $.fn.datepicker.dates['bg'] = { - days: ["Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота", "Неделя"], - daysShort: ["Нед", "Пон", "Вто", "Сря", "Чет", "Пет", "Съб", "Нед"], - daysMin: ["Н", "П", "В", "С", "Ч", "П", "С", "Н"], - months: ["Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"], - monthsShort: ["Ян", "Фев", "Мар", "Апр", "Май", "Юни", "Юли", "Авг", "Сеп", "Окт", "Ное", "Дек"], - today: "днес" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.ca.js b/public/js/locales/bootstrap-datepicker.ca.js deleted file mode 100644 index 3fc4d844..00000000 --- a/public/js/locales/bootstrap-datepicker.ca.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Catalan translation for bootstrap-datepicker - * J. Garcia - */ -;(function($){ - $.fn.datepicker.dates['ca'] = { - days: ["Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte", "Diumenge"], - daysShort: ["Diu", "Dil", "Dmt", "Dmc", "Dij", "Div", "Dis", "Diu"], - daysMin: ["dg", "dl", "dt", "dc", "dj", "dv", "ds", "dg"], - months: ["Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"], - monthsShort: ["Gen", "Feb", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Oct", "Nov", "Des"], - today: "Avui" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.cs.js b/public/js/locales/bootstrap-datepicker.cs.js deleted file mode 100644 index f76a2c08..00000000 --- a/public/js/locales/bootstrap-datepicker.cs.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Czech translation for bootstrap-datepicker - * Matěj Koubík - * Fixes by Michal Remiš - */ -;(function($){ - $.fn.datepicker.dates['cs'] = { - days: ["Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota", "Neděle"], - daysShort: ["Ned", "Pon", "Úte", "Stř", "Čtv", "Pát", "Sob", "Ned"], - daysMin: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So", "Ne"], - months: ["Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"], - monthsShort: ["Led", "Úno", "Bře", "Dub", "Kvě", "Čer", "Čnc", "Srp", "Zář", "Říj", "Lis", "Pro"], - today: "Dnes" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.cy.js b/public/js/locales/bootstrap-datepicker.cy.js deleted file mode 100644 index 7e1136ab..00000000 --- a/public/js/locales/bootstrap-datepicker.cy.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Welsh translation for bootstrap-datepicker - * S. Morris - */ -;(function($){ - $.fn.datepicker.dates['cy'] = { - days: ["Sul", "Llun", "Mawrth", "Mercher", "Iau", "Gwener", "Sadwrn", "Sul"], - daysShort: ["Sul", "Llu", "Maw", "Mer", "Iau", "Gwe", "Sad", "Sul"], - daysMin: ["Su", "Ll", "Ma", "Me", "Ia", "Gwe", "Sa", "Su"], - months: ["Ionawr", "Chewfror", "Mawrth", "Ebrill", "Mai", "Mehefin", "Gorfennaf", "Awst", "Medi", "Hydref", "Tachwedd", "Rhagfyr"], - monthsShort: ["Ion", "Chw", "Maw", "Ebr", "Mai", "Meh", "Gor", "Aws", "Med", "Hyd", "Tach", "Rha"], - today: "Heddiw" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.da.js b/public/js/locales/bootstrap-datepicker.da.js deleted file mode 100644 index c3d702d4..00000000 --- a/public/js/locales/bootstrap-datepicker.da.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Danish translation for bootstrap-datepicker - * Christian Pedersen - */ -;(function($){ - $.fn.datepicker.dates['da'] = { - days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"], - daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"], - daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"], - months: ["Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"], - monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], - today: "I Dag", - clear: "Nulstil" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.de.js b/public/js/locales/bootstrap-datepicker.de.js deleted file mode 100644 index a27ba578..00000000 --- a/public/js/locales/bootstrap-datepicker.de.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * German translation for bootstrap-datepicker - * Sam Zurcher - */ -;(function($){ - $.fn.datepicker.dates['de'] = { - days: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag", "Sonntag"], - daysShort: ["Son", "Mon", "Die", "Mit", "Don", "Fre", "Sam", "Son"], - daysMin: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"], - months: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"], - monthsShort: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"], - today: "Heute", - clear: "Löschen", - weekStart: 1, - format: "dd.mm.yyyy" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.el.js b/public/js/locales/bootstrap-datepicker.el.js deleted file mode 100644 index 3b630f38..00000000 --- a/public/js/locales/bootstrap-datepicker.el.js +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Greek translation for bootstrap-datepicker - */ -;(function($){ - $.fn.datepicker.dates['el'] = { - days: ["Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο", "Κυριακή"], - daysShort: ["Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ", "Κυρ"], - daysMin: ["Κυ", "Δε", "Τρ", "Τε", "Πε", "Πα", "Σα", "Κυ"], - months: ["Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"], - monthsShort: ["Ιαν", "Φεβ", "Μαρ", "Απρ", "Μάι", "Ιουν", "Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ"], - today: "Σήμερα" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.es.js b/public/js/locales/bootstrap-datepicker.es.js deleted file mode 100644 index 72176902..00000000 --- a/public/js/locales/bootstrap-datepicker.es.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Spanish translation for bootstrap-datepicker - * Bruno Bonamin - */ -;(function($){ - $.fn.datepicker.dates['es'] = { - days: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado", "Domingo"], - daysShort: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb", "Dom"], - daysMin: ["Do", "Lu", "Ma", "Mi", "Ju", "Vi", "Sa", "Do"], - months: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"], - monthsShort: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"], - today: "Hoy" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.et.js b/public/js/locales/bootstrap-datepicker.et.js deleted file mode 100644 index 87c812ed..00000000 --- a/public/js/locales/bootstrap-datepicker.et.js +++ /dev/null @@ -1,18 +0,0 @@ -/** - * Estonian translation for bootstrap-datepicker - * Ando Roots - * Fixes by Illimar Tambek < - */ -;(function($){ - $.fn.datepicker.dates['et'] = { - days: ["Pühapäev", "Esmaspäev", "Teisipäev", "Kolmapäev", "Neljapäev", "Reede", "Laupäev", "Pühapäev"], - daysShort: ["Pühap", "Esmasp", "Teisip", "Kolmap", "Neljap", "Reede", "Laup", "Pühap"], - daysMin: ["P", "E", "T", "K", "N", "R", "L", "P"], - months: ["Jaanuar", "Veebruar", "Märts", "Aprill", "Mai", "Juuni", "Juuli", "August", "September", "Oktoober", "November", "Detsember"], - monthsShort: ["Jaan", "Veebr", "Märts", "Apr", "Mai", "Juuni", "Juuli", "Aug", "Sept", "Okt", "Nov", "Dets"], - today: "Täna", - clear: "Tühjenda", - weekStart: 1, - format: "dd.mm.yyyy" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.fa.js b/public/js/locales/bootstrap-datepicker.fa.js deleted file mode 100644 index 6503c85d..00000000 --- a/public/js/locales/bootstrap-datepicker.fa.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Persian translation for bootstrap-datepicker - * Mostafa Rokooie - */ -;(function($){ - $.fn.datepicker.dates['fa'] = { - days: ["یک‌شنبه", "دوشنبه", "سه‌شنبه", "چهارشنبه", "پنج‌شنبه", "جمعه", "شنبه", "یک‌شنبه"], - daysShort: ["یک", "دو", "سه", "چهار", "پنج", "جمعه", "شنبه", "یک"], - daysMin: ["ی", "د", "س", "چ", "پ", "ج", "ش", "ی"], - months: ["ژانویه", "فوریه", "مارس", "آوریل", "مه", "ژوئن", "ژوئیه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "دسامبر"], - monthsShort: ["ژان", "فور", "مار", "آور", "مه", "ژون", "ژوی", "اوت", "سپت", "اکت", "نوا", "دسا"], - today: "امروز", - clear: "پاک کن", - weekStart: 1, - format: "yyyy/mm/dd" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.fi.js b/public/js/locales/bootstrap-datepicker.fi.js deleted file mode 100644 index 01f40dc2..00000000 --- a/public/js/locales/bootstrap-datepicker.fi.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Finnish translation for bootstrap-datepicker - * Jaakko Salonen - */ -;(function($){ - $.fn.datepicker.dates['fi'] = { - days: ["sunnuntai", "maanantai", "tiistai", "keskiviikko", "torstai", "perjantai", "lauantai", "sunnuntai"], - daysShort: ["sun", "maa", "tii", "kes", "tor", "per", "lau", "sun"], - daysMin: ["su", "ma", "ti", "ke", "to", "pe", "la", "su"], - months: ["tammikuu", "helmikuu", "maaliskuu", "huhtikuu", "toukokuu", "kesäkuu", "heinäkuu", "elokuu", "syyskuu", "lokakuu", "marraskuu", "joulukuu"], - monthsShort: ["tam", "hel", "maa", "huh", "tou", "kes", "hei", "elo", "syy", "lok", "mar", "jou"], - today: "tänään", - weekStart: 1, - format: "d.m.yyyy" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.fr.js b/public/js/locales/bootstrap-datepicker.fr.js deleted file mode 100644 index eff07aa6..00000000 --- a/public/js/locales/bootstrap-datepicker.fr.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * French translation for bootstrap-datepicker - * Nico Mollet - */ -;(function($){ - $.fn.datepicker.dates['fr'] = { - days: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi", "Dimanche"], - daysShort: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam", "Dim"], - daysMin: ["D", "L", "Ma", "Me", "J", "V", "S", "D"], - months: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"], - monthsShort: ["Jan", "Fév", "Mar", "Avr", "Mai", "Jui", "Jul", "Aou", "Sep", "Oct", "Nov", "Déc"], - today: "Aujourd'hui", - clear: "Effacer", - weekStart: 1, - format: "dd/mm/yyyy" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.gl.js b/public/js/locales/bootstrap-datepicker.gl.js deleted file mode 100644 index 538fd5e3..00000000 --- a/public/js/locales/bootstrap-datepicker.gl.js +++ /dev/null @@ -1,11 +0,0 @@ -;(function($){ - $.fn.datepicker.dates['gl'] = { - days: ["Domingo", "Luns", "Martes", "Mércores", "Xoves", "Venres", "Sábado", "Domingo"], - daysShort: ["Dom", "Lun", "Mar", "Mér", "Xov", "Ven", "Sáb", "Dom"], - daysMin: ["Do", "Lu", "Ma", "Me", "Xo", "Ve", "Sa", "Do"], - months: ["Xaneiro", "Febreiro", "Marzo", "Abril", "Maio", "Xuño", "Xullo", "Agosto", "Setembro", "Outubro", "Novembro", "Decembro"], - monthsShort: ["Xan", "Feb", "Mar", "Abr", "Mai", "Xun", "Xul", "Ago", "Sep", "Out", "Nov", "Dec"], - today: "Hoxe", - clear: "Limpar" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.he.js b/public/js/locales/bootstrap-datepicker.he.js deleted file mode 100644 index 2e17393b..00000000 --- a/public/js/locales/bootstrap-datepicker.he.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Hebrew translation for bootstrap-datepicker - * Sagie Maoz - */ -;(function($){ - $.fn.datepicker.dates['he'] = { - days: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת", "ראשון"], - daysShort: ["א", "ב", "ג", "ד", "ה", "ו", "ש", "א"], - daysMin: ["א", "ב", "ג", "ד", "ה", "ו", "ש", "א"], - months: ["ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר"], - monthsShort: ["ינו", "פבר", "מרץ", "אפר", "מאי", "יונ", "יול", "אוג", "ספט", "אוק", "נוב", "דצמ"], - today: "היום", - rtl: true - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.hr.js b/public/js/locales/bootstrap-datepicker.hr.js deleted file mode 100644 index 655ea54b..00000000 --- a/public/js/locales/bootstrap-datepicker.hr.js +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Croatian localisation - */ -;(function($){ - $.fn.datepicker.dates['hr'] = { - days: ["Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota", "Nedjelja"], - daysShort: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub", "Ned"], - daysMin: ["Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su", "Ne"], - months: ["Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"], - monthsShort: ["Sij", "Velj", "Ožu", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro"], - today: "Danas" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.hu.js b/public/js/locales/bootstrap-datepicker.hu.js deleted file mode 100644 index bf5308a1..00000000 --- a/public/js/locales/bootstrap-datepicker.hu.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Hungarian translation for bootstrap-datepicker - * Sotus László - */ -;(function($){ - $.fn.datepicker.dates['hu'] = { - days: ["Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat", "Vasárnap"], - daysShort: ["Vas", "Hét", "Ked", "Sze", "Csü", "Pén", "Szo", "Vas"], - daysMin: ["Va", "Hé", "Ke", "Sz", "Cs", "Pé", "Sz", "Va"], - months: ["Január", "Február", "Március", "Április", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December"], - monthsShort: ["Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", "Sze", "Okt", "Nov", "Dec"], - today: "Ma", - weekStart: 1, - format: "yyyy.mm.dd" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.id.js b/public/js/locales/bootstrap-datepicker.id.js deleted file mode 100644 index aae6e896..00000000 --- a/public/js/locales/bootstrap-datepicker.id.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Bahasa translation for bootstrap-datepicker - * Azwar Akbar - */ -;(function($){ - $.fn.datepicker.dates['id'] = { - days: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu", "Minggu"], - daysShort: ["Mgu", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab", "Mgu"], - daysMin: ["Mg", "Sn", "Sl", "Ra", "Ka", "Ju", "Sa", "Mg"], - months: ["Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"], - monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ags", "Sep", "Okt", "Nov", "Des"], - today: "Hari Ini", - clear: "Kosongkan" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.is.js b/public/js/locales/bootstrap-datepicker.is.js deleted file mode 100644 index 0e57a916..00000000 --- a/public/js/locales/bootstrap-datepicker.is.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Icelandic translation for bootstrap-datepicker - * Hinrik Örn Sigurðsson - */ -;(function($){ - $.fn.datepicker.dates['is'] = { - days: ["Sunnudagur", "Mánudagur", "Þriðjudagur", "Miðvikudagur", "Fimmtudagur", "Föstudagur", "Laugardagur", "Sunnudagur"], - daysShort: ["Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau", "Sun"], - daysMin: ["Su", "Má", "Þr", "Mi", "Fi", "Fö", "La", "Su"], - months: ["Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júní", "Júlí", "Ágúst", "September", "Október", "Nóvember", "Desember"], - monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maí", "Jún", "Júl", "Ágú", "Sep", "Okt", "Nóv", "Des"], - today: "Í Dag" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.it.js b/public/js/locales/bootstrap-datepicker.it.js deleted file mode 100644 index 9f476fa2..00000000 --- a/public/js/locales/bootstrap-datepicker.it.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Italian translation for bootstrap-datepicker - * Enrico Rubboli - */ -;(function($){ - $.fn.datepicker.dates['it'] = { - days: ["Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato", "Domenica"], - daysShort: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab", "Dom"], - daysMin: ["Do", "Lu", "Ma", "Me", "Gi", "Ve", "Sa", "Do"], - months: ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"], - monthsShort: ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"], - today: "Oggi", - clear: "Cancella", - weekStart: 1, - format: "dd/mm/yyyy" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.ja.js b/public/js/locales/bootstrap-datepicker.ja.js deleted file mode 100644 index ed0bc0f9..00000000 --- a/public/js/locales/bootstrap-datepicker.ja.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Japanese translation for bootstrap-datepicker - * Norio Suzuki - */ -;(function($){ - $.fn.datepicker.dates['ja'] = { - days: ["日曜", "月曜", "火曜", "水曜", "木曜", "金曜", "土曜", "日曜"], - daysShort: ["日", "月", "火", "水", "木", "金", "土", "日"], - daysMin: ["日", "月", "火", "水", "木", "金", "土", "日"], - months: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], - monthsShort: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"], - today: "今日", - format: "yyyy/mm/dd" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.ka.js b/public/js/locales/bootstrap-datepicker.ka.js deleted file mode 100644 index 54344549..00000000 --- a/public/js/locales/bootstrap-datepicker.ka.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Georgian translation for bootstrap-datepicker - * Levan Melikishvili - */ -;(function($){ - $.fn.datepicker.dates['ka'] = { - days: ["კვირა", "ორშაბათი", "სამშაბათი", "ოთხშაბათი", "ხუთშაბათი", "პარასკევი", "შაბათი", "კვირა"], - daysShort: ["კვი", "ორშ", "სამ", "ოთხ", "ხუთ", "პარ", "შაბ", "კვი"], - daysMin: ["კვ", "ორ", "სა", "ოთ", "ხუ", "პა", "შა", "კვ"], - months: ["იანვარი", "თებერვალი", "მარტი", "აპრილი", "მაისი", "ივნისი", "ივლისი", "აგვისტო", "სექტემბერი", "ოქტომები", "ნოემბერი", "დეკემბერი"], - monthsShort: ["იან", "თებ", "მარ", "აპრ", "მაი", "ივნ", "ივლ", "აგვ", "სექ", "ოქტ", "ნოე", "დეკ"], - today: "დღეს", - clear: "გასუფთავება", - weekStart: 1, - format: "dd.mm.yyyy" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.kk.js b/public/js/locales/bootstrap-datepicker.kk.js deleted file mode 100644 index 94dd6b8f..00000000 --- a/public/js/locales/bootstrap-datepicker.kk.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Kazakh translation for bootstrap-datepicker - * Yerzhan Tolekov - */ -;(function($){ - $.fn.datepicker.dates['kk'] = { - days: ["Жексенбі", "Дүйсенбі", "Сейсенбі", "Сәрсенбі", "Бейсенбі", "Жұма", "Сенбі", "Жексенбі"], - daysShort: ["Жек", "Дүй", "Сей", "Сәр", "Бей", "Жұм", "Сен", "Жек"], - daysMin: ["Жк", "Дс", "Сс", "Ср", "Бс", "Жм", "Сн", "Жк"], - months: ["Қаңтар", "Ақпан", "Наурыз", "Сәуір", "Мамыр", "Маусым", "Шілде", "Тамыз", "Қыркүйек", "Қазан", "Қараша", "Желтоқсан"], - monthsShort: ["Қаң", "Ақп", "Нау", "Сәу", "Мамыр", "Мау", "Шлд", "Тмз", "Қыр", "Қзн", "Қар", "Жел"], - today: "Бүгін", - weekStart: 1 - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.kr.js b/public/js/locales/bootstrap-datepicker.kr.js deleted file mode 100644 index 183a88d1..00000000 --- a/public/js/locales/bootstrap-datepicker.kr.js +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Korean translation for bootstrap-datepicker - * Gu Youn - */ -;(function($){ - $.fn.datepicker.dates['kr'] = { - days: ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일", "일요일"], - daysShort: ["일", "월", "화", "수", "목", "금", "토", "일"], - daysMin: ["일", "월", "화", "수", "목", "금", "토", "일"], - months: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"], - monthsShort: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"] - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.lt.js b/public/js/locales/bootstrap-datepicker.lt.js deleted file mode 100644 index 11c1b3ad..00000000 --- a/public/js/locales/bootstrap-datepicker.lt.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Lithuanian translation for bootstrap-datepicker - * Šarūnas Gliebus - */ - -;(function($){ - $.fn.datepicker.dates['lt'] = { - days: ["Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis", "Sekmadienis"], - daysShort: ["S", "Pr", "A", "T", "K", "Pn", "Š", "S"], - daysMin: ["Sk", "Pr", "An", "Tr", "Ke", "Pn", "Št", "Sk"], - months: ["Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis"], - monthsShort: ["Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rugp", "Rugs", "Spa", "Lap", "Gru"], - today: "Šiandien", - weekStart: 1 - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.lv.js b/public/js/locales/bootstrap-datepicker.lv.js deleted file mode 100644 index 76d0f3a6..00000000 --- a/public/js/locales/bootstrap-datepicker.lv.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Latvian translation for bootstrap-datepicker - * Artis Avotins - */ - -;(function($){ - $.fn.datepicker.dates['lv'] = { - days: ["Svētdiena", "Pirmdiena", "Otrdiena", "Trešdiena", "Ceturtdiena", "Piektdiena", "Sestdiena", "Svētdiena"], - daysShort: ["Sv", "P", "O", "T", "C", "Pk", "S", "Sv"], - daysMin: ["Sv", "Pr", "Ot", "Tr", "Ce", "Pk", "Se", "Sv"], - months: ["Janvāris", "Februāris", "Marts", "Aprīlis", "Maijs", "Jūnijs", "Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris"], - monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jūn", "Jūl", "Aug", "Sep", "Okt", "Nov", "Dec"], - today: "Šodien", - weekStart: 1 - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.mk.js b/public/js/locales/bootstrap-datepicker.mk.js deleted file mode 100644 index 0ab8cf68..00000000 --- a/public/js/locales/bootstrap-datepicker.mk.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Macedonian translation for bootstrap-datepicker - * Marko Aleksic - */ -;(function($){ - $.fn.datepicker.dates['mk'] = { - days: ["Недела", "Понеделник", "Вторник", "Среда", "Четврток", "Петок", "Сабота", "Недела"], - daysShort: ["Нед", "Пон", "Вто", "Сре", "Чет", "Пет", "Саб", "Нед"], - daysMin: ["Не", "По", "Вт", "Ср", "Че", "Пе", "Са", "Не"], - months: ["Јануари", "Февруари", "Март", "Април", "Мај", "Јуни", "Јули", "Август", "Септември", "Октомври", "Ноември", "Декември"], - monthsShort: ["Јан", "Фев", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Ное", "Дек"], - today: "Денес", - format: "dd.mm.yyyy" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.ms.js b/public/js/locales/bootstrap-datepicker.ms.js deleted file mode 100644 index fa3a21a5..00000000 --- a/public/js/locales/bootstrap-datepicker.ms.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Malay translation for bootstrap-datepicker - * Ateman Faiz - */ -;(function($){ - $.fn.datepicker.dates['ms'] = { - days: ["Ahad", "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu", "Ahad"], - daysShort: ["Aha", "Isn", "Sel", "Rab", "Kha", "Jum", "Sab", "Aha"], - daysMin: ["Ah", "Is", "Se", "Ra", "Kh", "Ju", "Sa", "Ah"], - months: ["Januari", "Februari", "Mac", "April", "Mei", "Jun", "Julai", "Ogos", "September", "Oktober", "November", "Disember"], - monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Ogo", "Sep", "Okt", "Nov", "Dis"], - today: "Hari Ini" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.nb.js b/public/js/locales/bootstrap-datepicker.nb.js deleted file mode 100644 index 7b28e84f..00000000 --- a/public/js/locales/bootstrap-datepicker.nb.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Norwegian (bokmål) translation for bootstrap-datepicker - * Fredrik Sundmyhr - */ -;(function($){ - $.fn.datepicker.dates['nb'] = { - days: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag", "Søndag"], - daysShort: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør", "Søn"], - daysMin: ["Sø", "Ma", "Ti", "On", "To", "Fr", "Lø", "Sø"], - months: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"], - monthsShort: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"], - today: "I Dag" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.nl-BE.js b/public/js/locales/bootstrap-datepicker.nl-BE.js deleted file mode 100644 index ee4201a6..00000000 --- a/public/js/locales/bootstrap-datepicker.nl-BE.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Belgium-Dutch translation for bootstrap-datepicker - * Julien Poulin - */ -;(function($){ - $.fn.datepicker.dates['nl-BE'] = { - days: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"], - daysShort: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"], - daysMin: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"], - months: ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"], - monthsShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], - today: "Vandaag", - clear: "Leegmaken", - weekStart: 1, - format: "dd/mm/yyyy" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.nl.js b/public/js/locales/bootstrap-datepicker.nl.js deleted file mode 100644 index 13a2f1a3..00000000 --- a/public/js/locales/bootstrap-datepicker.nl.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Dutch translation for bootstrap-datepicker - * Reinier Goltstein - */ -;(function($){ - $.fn.datepicker.dates['nl'] = { - days: ["Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"], - daysShort: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"], - daysMin: ["Zo", "Ma", "Di", "Wo", "Do", "Vr", "Za", "Zo"], - months: ["Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"], - monthsShort: ["Jan", "Feb", "Mrt", "Apr", "Mei", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], - today: "Vandaag" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.no.js b/public/js/locales/bootstrap-datepicker.no.js deleted file mode 100644 index c29ec83b..00000000 --- a/public/js/locales/bootstrap-datepicker.no.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Norwegian translation for bootstrap-datepicker - **/ -;(function($){ - $.fn.datepicker.dates['no'] = { - days: ['Søndag','Mandag','Tirsdag','Onsdag','Torsdag','Fredag','Lørdag'], - daysShort: ['Søn','Man','Tir','Ons','Tor','Fre','Lør'], - daysMin: ['Sø','Ma','Ti','On','To','Fr','Lø'], - months: ['Januar','Februar','Mars','April','Mai','Juni','Juli','August','September','Oktober','November','Desember'], - monthsShort: ['Jan','Feb','Mar','Apr','Mai','Jun','Jul','Aug','Sep','Okt','Nov','Des'], - today: 'I dag', - clear: 'Nullstill', - weekStart: 1, - format: 'dd.mm.yyyy' - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.pl.js b/public/js/locales/bootstrap-datepicker.pl.js deleted file mode 100644 index f3fff8c8..00000000 --- a/public/js/locales/bootstrap-datepicker.pl.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Polish translation for bootstrap-datepicker - * Robert - */ -;(function($){ - $.fn.datepicker.dates['pl'] = { - days: ["Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota", "Niedziela"], - daysShort: ["Nie", "Pn", "Wt", "Śr", "Czw", "Pt", "So", "Nie"], - daysMin: ["N", "Pn", "Wt", "Śr", "Cz", "Pt", "So", "N"], - months: ["Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"], - monthsShort: ["Sty", "Lu", "Mar", "Kw", "Maj", "Cze", "Lip", "Sie", "Wrz", "Pa", "Lis", "Gru"], - today: "Dzisiaj", - weekStart: 1 - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.pt-BR.js b/public/js/locales/bootstrap-datepicker.pt-BR.js deleted file mode 100644 index eb642b7c..00000000 --- a/public/js/locales/bootstrap-datepicker.pt-BR.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Brazilian translation for bootstrap-datepicker - * Cauan Cabral - */ -;(function($){ - $.fn.datepicker.dates['pt-BR'] = { - days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"], - daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"], - daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"], - months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"], - monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"], - today: "Hoje", - clear: "Limpar" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.pt.js b/public/js/locales/bootstrap-datepicker.pt.js deleted file mode 100644 index e54981d3..00000000 --- a/public/js/locales/bootstrap-datepicker.pt.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Portuguese translation for bootstrap-datepicker - * Original code: Cauan Cabral - * Tiago Melo - */ -;(function($){ - $.fn.datepicker.dates['pt'] = { - days: ["Domingo", "Segunda", "Terça", "Quarta", "Quinta", "Sexta", "Sábado", "Domingo"], - daysShort: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb", "Dom"], - daysMin: ["Do", "Se", "Te", "Qu", "Qu", "Se", "Sa", "Do"], - months: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"], - monthsShort: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"], - today: "Hoje", - clear: "Limpar" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.ro.js b/public/js/locales/bootstrap-datepicker.ro.js deleted file mode 100644 index e1e65df2..00000000 --- a/public/js/locales/bootstrap-datepicker.ro.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Romanian translation for bootstrap-datepicker - * Cristian Vasile - */ -;(function($){ - $.fn.datepicker.dates['ro'] = { - days: ["Duminică", "Luni", "Marţi", "Miercuri", "Joi", "Vineri", "Sâmbătă", "Duminică"], - daysShort: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm", "Dum"], - daysMin: ["Du", "Lu", "Ma", "Mi", "Jo", "Vi", "Sâ", "Du"], - months: ["Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"], - monthsShort: ["Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Nov", "Dec"], - today: "Astăzi", - clear: "Șterge", - weekStart: 1 - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.rs-latin.js b/public/js/locales/bootstrap-datepicker.rs-latin.js deleted file mode 100644 index d9424852..00000000 --- a/public/js/locales/bootstrap-datepicker.rs-latin.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Serbian latin translation for bootstrap-datepicker - * Bojan Milosavlević - */ -;(function($){ - $.fn.datepicker.dates['rs-latin'] = { - days: ["Nedelja","Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota", "Nedelja"], - daysShort: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub", "Ned"], - daysMin: ["N", "Po", "U", "Sr", "Č", "Pe", "Su", "N"], - months: ["Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"], - monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"], - today: "Danas" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.rs.js b/public/js/locales/bootstrap-datepicker.rs.js deleted file mode 100644 index 6b657473..00000000 --- a/public/js/locales/bootstrap-datepicker.rs.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Serbian cyrillic translation for bootstrap-datepicker - * Bojan Milosavlević - */ -;(function($){ - $.fn.datepicker.dates['rs'] = { - days: ["Недеља","Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота", "Недеља"], - daysShort: ["Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб", "Нед"], - daysMin: ["Н", "По", "У", "Ср", "Ч", "Пе", "Су", "Н"], - months: ["Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар"], - monthsShort: ["Јан", "Феб", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец"], - today: "Данас" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.ru.js b/public/js/locales/bootstrap-datepicker.ru.js deleted file mode 100644 index e230aa92..00000000 --- a/public/js/locales/bootstrap-datepicker.ru.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Russian translation for bootstrap-datepicker - * Victor Taranenko - */ -;(function($){ - $.fn.datepicker.dates['ru'] = { - days: ["Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота", "Воскресенье"], - daysShort: ["Вск", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Вск"], - daysMin: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Вс"], - months: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"], - monthsShort: ["Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек"], - today: "Сегодня", - weekStart: 1 - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.sk.js b/public/js/locales/bootstrap-datepicker.sk.js deleted file mode 100644 index c48032a5..00000000 --- a/public/js/locales/bootstrap-datepicker.sk.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Slovak translation for bootstrap-datepicker - * Marek Lichtner - * Fixes by Michal Remiš - */ -;(function($){ - $.fn.datepicker.dates["sk"] = { - days: ["Nedeľa", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatok", "Sobota", "Nedeľa"], - daysShort: ["Ned", "Pon", "Uto", "Str", "Štv", "Pia", "Sob", "Ned"], - daysMin: ["Ne", "Po", "Ut", "St", "Št", "Pia", "So", "Ne"], - months: ["Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"], - monthsShort: ["Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec"], - today: "Dnes" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.sl.js b/public/js/locales/bootstrap-datepicker.sl.js deleted file mode 100644 index 41b0e060..00000000 --- a/public/js/locales/bootstrap-datepicker.sl.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Slovene translation for bootstrap-datepicker - * Gregor Rudolf - */ -;(function($){ - $.fn.datepicker.dates['sl'] = { - days: ["Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota", "Nedelja"], - daysShort: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob", "Ned"], - daysMin: ["Ne", "Po", "To", "Sr", "Če", "Pe", "So", "Ne"], - months: ["Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "Avgust", "September", "Oktober", "November", "December"], - monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"], - today: "Danes" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.sq.js b/public/js/locales/bootstrap-datepicker.sq.js deleted file mode 100644 index a045a9d9..00000000 --- a/public/js/locales/bootstrap-datepicker.sq.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Albanian translation for bootstrap-datepicker - * Tomor Pupovci - */ -;(function($){ - $.fn.datepicker.dates['sq'] = { - days: ["E Diel", "E Hënë", "E martē", "E mërkurë", "E Enjte", "E Premte", "E Shtunë", "E Diel"], - daysShort: ["Die", "Hën", "Mar", "Mër", "Enj", "Pre", "Shtu", "Die"], - daysMin: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sht", "Di"], - months: ["Janar", "Shkurt", "Mars", "Prill", "Maj", "Qershor", "Korrik", "Gusht", "Shtator", "Tetor", "Nëntor", "Dhjetor"], - monthsShort: ["Jan", "Shk", "Mar", "Pri", "Maj", "Qer", "Korr", "Gu", "Sht", "Tet", "Nën", "Dhjet"], - today: "Sot" - }; -}(jQuery)); - diff --git a/public/js/locales/bootstrap-datepicker.sv.js b/public/js/locales/bootstrap-datepicker.sv.js deleted file mode 100644 index 029cea00..00000000 --- a/public/js/locales/bootstrap-datepicker.sv.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Swedish translation for bootstrap-datepicker - * Patrik Ragnarsson - */ -;(function($){ - $.fn.datepicker.dates['sv'] = { - days: ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag", "Söndag"], - daysShort: ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör", "Sön"], - daysMin: ["Sö", "Må", "Ti", "On", "To", "Fr", "Lö", "Sö"], - months: ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"], - monthsShort: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"], - today: "Idag", - format: "yyyy-mm-dd", - weekStart: 1 - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.sw.js b/public/js/locales/bootstrap-datepicker.sw.js deleted file mode 100644 index 622e0ef0..00000000 --- a/public/js/locales/bootstrap-datepicker.sw.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Swahili translation for bootstrap-datepicker - * Edwin Mugendi - * Source: http://scriptsource.org/cms/scripts/page.php?item_id=entry_detail&uid=xnfaqyzcku - */ -;(function($){ - $.fn.datepicker.dates['sw'] = { - days: ["Jumapili", "Jumatatu", "Jumanne", "Jumatano", "Alhamisi", "Ijumaa", "Jumamosi", "Jumapili"], - daysShort: ["J2", "J3", "J4", "J5", "Alh", "Ij", "J1", "J2"], - daysMin: ["2", "3", "4", "5", "A", "I", "1", "2"], - months: ["Januari", "Februari", "Machi", "Aprili", "Mei", "Juni", "Julai", "Agosti", "Septemba", "Oktoba", "Novemba", "Desemba"], - monthsShort: ["Jan", "Feb", "Mac", "Apr", "Mei", "Jun", "Jul", "Ago", "Sep", "Okt", "Nov", "Des"], - today: "Leo" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.th.js b/public/js/locales/bootstrap-datepicker.th.js deleted file mode 100644 index 562b063c..00000000 --- a/public/js/locales/bootstrap-datepicker.th.js +++ /dev/null @@ -1,14 +0,0 @@ -/** - * Thai translation for bootstrap-datepicker - * Suchau Jiraprapot - */ -;(function($){ - $.fn.datepicker.dates['th'] = { - days: ["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัส", "ศุกร์", "เสาร์", "อาทิตย์"], - daysShort: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"], - daysMin: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส", "อา"], - months: ["มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"], - monthsShort: ["ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค."], - today: "วันนี้" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.tr.js b/public/js/locales/bootstrap-datepicker.tr.js deleted file mode 100644 index 2be8b6d8..00000000 --- a/public/js/locales/bootstrap-datepicker.tr.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Turkish translation for bootstrap-datepicker - * Serkan Algur - */ -;(function($){ - $.fn.datepicker.dates['tr'] = { - days: ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi", "Pazar"], - daysShort: ["Pz", "Pzt", "Sal", "Çrş", "Prş", "Cu", "Cts", "Pz"], - daysMin: ["Pz", "Pzt", "Sa", "Çr", "Pr", "Cu", "Ct", "Pz"], - months: ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"], - monthsShort: ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara"], - today: "Bugün", - format: "dd.mm.yyyy" - }; -}(jQuery)); - diff --git a/public/js/locales/bootstrap-datepicker.ua.js b/public/js/locales/bootstrap-datepicker.ua.js deleted file mode 100644 index d4bb0f02..00000000 --- a/public/js/locales/bootstrap-datepicker.ua.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Ukrainian translation for bootstrap-datepicker - * Igor Polynets - */ -;(function($){ - $.fn.datepicker.dates['ua'] = { - days: ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятница", "Субота", "Неділя"], - daysShort: ["Нед", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Суб", "Нед"], - daysMin: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Нд"], - months: ["Cічень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень"], - monthsShort: ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"], - today: "Сьогодні", - weekStart: 1 - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.vi.js b/public/js/locales/bootstrap-datepicker.vi.js deleted file mode 100644 index a8cc52ee..00000000 --- a/public/js/locales/bootstrap-datepicker.vi.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Vietnamese translation for bootstrap-datepicker - * An Vo - */ -;(function($){ - $.fn.datepicker.dates['vi'] = { - days: ["Chủ nhật", "Thứ hai", "Thứ ba", "Thứ tư", "Thứ năm", "Thứ sáu", "Thứ bảy", "Chủ nhật"], - daysShort: ["CN", "Thứ 2", "Thứ 3", "Thứ 4", "Thứ 5", "Thứ 6", "Thứ 7", "CN"], - daysMin: ["CN", "T2", "T3", "T4", "T5", "T6", "T7", "CN"], - months: ["Tháng 1", "Tháng 2", "Tháng 3", "Tháng 4", "Tháng 5", "Tháng 6", "Tháng 7", "Tháng 8", "Tháng 9", "Tháng 10", "Tháng 11", "Tháng 12"], - monthsShort: ["Th1", "Th2", "Th3", "Th4", "Th5", "Th6", "Th7", "Th8", "Th9", "Th10", "Th11", "Th12"], - today: "Hôm nay", - clear: "Xóa", - format: "dd/mm/yyyy" - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.zh-CN.js b/public/js/locales/bootstrap-datepicker.zh-CN.js deleted file mode 100644 index d6625ec6..00000000 --- a/public/js/locales/bootstrap-datepicker.zh-CN.js +++ /dev/null @@ -1,16 +0,0 @@ -/** - * Simplified Chinese translation for bootstrap-datepicker - * Yuan Cheung - */ -;(function($){ - $.fn.datepicker.dates['zh-CN'] = { - days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"], - daysShort: ["周日", "周一", "周二", "周三", "周四", "周五", "周六", "周日"], - daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"], - months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], - monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], - today: "今日", - format: "yyyy年mm月dd日", - weekStart: 1 - }; -}(jQuery)); diff --git a/public/js/locales/bootstrap-datepicker.zh-TW.js b/public/js/locales/bootstrap-datepicker.zh-TW.js deleted file mode 100644 index 53337ae0..00000000 --- a/public/js/locales/bootstrap-datepicker.zh-TW.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Traditional Chinese translation for bootstrap-datepicker - * Rung-Sheng Jang - * FrankWu Fix more appropriate use of Traditional Chinese habit - */ -;(function($){ - $.fn.datepicker.dates['zh-TW'] = { - days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"], - daysShort: ["週日", "週一", "週二", "週三", "週四", "週五", "週六", "週日"], - daysMin: ["日", "一", "二", "三", "四", "五", "六", "日"], - months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], - monthsShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], - today: "今天", - format: "yyyy年mm月dd日", - weekStart: 1 - }; -}(jQuery)); diff --git a/public/less/_base.less b/public/less/_base.less index da031f9b..35328069 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -75,6 +75,9 @@ footer { text-align: center; color: #428bca; } + .ui.language.dropdown { + z-index: 10000; + } .links >* { border-left: 1px solid #d6d6d6; padding-left: 8px; diff --git a/public/less/_repository.less b/public/less/_repository.less index 75736de8..e19d995d 100644 --- a/public/less/_repository.less +++ b/public/less/_repository.less @@ -51,6 +51,9 @@ border: 1px solid rgba(0,0,0,.15); } } + &.input { + margin-right: -7px; + } .new-label-input { width: 150px; } @@ -180,6 +183,9 @@ .issue-stats .octicon{ padding-left: 5px; } + .overdue { + color: red; + } } .operate { margin-top: -15px; @@ -198,6 +204,11 @@ } } } + &.new.milestone { + textarea { + height: 200px; + } + } } .edit-label.modal { diff --git a/routers/repo/issue.go b/routers/repo/issue.go index f3afb2cc..f86e03c4 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -33,7 +33,7 @@ const ( LABELS base.TplName = "repo/issue/labels" - MILESTONE base.TplName = "repo/issue/milestone" + MILESTONE base.TplName = "repo/issue/milestones" MILESTONE_NEW base.TplName = "repo/issue/milestone_new" MILESTONE_EDIT base.TplName = "repo/issue/milestone_edit" ) @@ -1010,45 +1010,44 @@ func Milestones(ctx *middleware.Context) { } func NewMilestone(ctx *middleware.Context) { - ctx.Data["Title"] = "New Milestone" - ctx.Data["IsRepoToolbarIssues"] = true - ctx.Data["IsRepoToolbarIssuesList"] = true + ctx.Data["Title"] = ctx.Tr("repo.milestones.new") + ctx.Data["PageIsMilestones"] = true + ctx.Data["DateLang"] = setting.DateLang(ctx.Locale.Language()) ctx.HTML(200, MILESTONE_NEW) } func NewMilestonePost(ctx *middleware.Context, form auth.CreateMilestoneForm) { - ctx.Data["Title"] = "New Milestone" - ctx.Data["IsRepoToolbarIssues"] = true - ctx.Data["IsRepoToolbarIssuesList"] = true + ctx.Data["Title"] = ctx.Tr("repo.milestones.new") + ctx.Data["PageIsMilestones"] = true + ctx.Data["DateLang"] = setting.DateLang(ctx.Locale.Language()) if ctx.HasError() { ctx.HTML(200, MILESTONE_NEW) return } - var deadline time.Time - var err error if len(form.Deadline) == 0 { form.Deadline = "12/31/9999" } - deadline, err = time.Parse("01/02/2006", form.Deadline) + deadline, err := time.Parse("01/02/2006", form.Deadline) if err != nil { - ctx.Handle(500, "time.Parse", err) + ctx.Data["Err_Deadline"] = true + ctx.RenderWithErr(ctx.Tr("repo.milestones.invalid_due_date_format"), MILESTONE_NEW, &form) return } - mile := &models.Milestone{ + if err = models.NewMilestone(&models.Milestone{ RepoID: ctx.Repo.Repository.Id, Index: int64(ctx.Repo.Repository.NumMilestones) + 1, Name: form.Title, Content: form.Content, Deadline: deadline, - } - if err = models.NewMilestone(mile); err != nil { + }); err != nil { ctx.Handle(500, "NewMilestone", err) return } + ctx.Flash.Success(ctx.Tr("repo.milestones.create_success", form.Title)) ctx.Redirect(ctx.Repo.RepoLink + "/milestones") } diff --git a/templates/.VERSION b/templates/.VERSION index a143c676..2d7fe898 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.6.3.0804 Beta \ No newline at end of file +0.6.3.0805 Beta \ No newline at end of file diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 9c05b02a..c5813f73 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -34,6 +34,9 @@ {{if .PageIsLabels}} + {{else if .PageIsMilestones}} + + {{end}} {{if .Title}}{{.Title}} - {{end}}{{AppName}} diff --git a/templates/repo/issue/labels.tmpl b/templates/repo/issue/labels.tmpl index 1d994289..2f3dc25b 100644 --- a/templates/repo/issue/labels.tmpl +++ b/templates/repo/issue/labels.tmpl @@ -8,7 +8,7 @@
{{.CsrfTokenHtml}}
{{if .IsRepositoryAdmin}} - \ No newline at end of file diff --git a/templates/repo/settings/navbar.tmpl b/templates/repo/settings/navbar.tmpl new file mode 100644 index 00000000..cf27980f --- /dev/null +++ b/templates/repo/settings/navbar.tmpl @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/templates/user/settings/sshkeys.tmpl b/templates/user/settings/sshkeys.tmpl index 42b76039..995e6425 100644 --- a/templates/user/settings/sshkeys.tmpl +++ b/templates/user/settings/sshkeys.tmpl @@ -28,7 +28,7 @@
{{$.CsrfTokenHtml}} - +
-- cgit v1.2.3 From 9db4acc62e2d253c21ce9aed2e21003ff235d5b5 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 8 Aug 2015 17:10:34 +0800 Subject: improve fork process --- cmd/web.go | 4 +- conf/locale/locale_en-US.ini | 2 +- models/error.go | 14 +++++ models/repo.go | 129 ++++++++++++++++------------------------- modules/base/template.go | 5 ++ modules/bindata/bindata.go | 8 +-- public/css/gogs.min.css | 2 +- public/less/_base.less | 6 ++ public/less/_form.less | 34 +++++++++++ routers/api/v1/repo.go | 2 +- routers/repo/pull.go | 95 ++++++++++++++++++++++++++++++ routers/repo/repo.go | 113 +----------------------------------- routers/repo/setting.go | 4 +- templates/repo/fork.tmpl | 65 --------------------- templates/repo/header.tmpl | 2 +- templates/repo/header_old.tmpl | 2 +- templates/repo/pulls/fork.tmpl | 69 ++++++++++++++++++++++ 17 files changed, 288 insertions(+), 268 deletions(-) delete mode 100644 templates/repo/fork.tmpl create mode 100644 templates/repo/pulls/fork.tmpl (limited to 'public') diff --git a/cmd/web.go b/cmd/web.go index 708ff59e..850dc84b 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -383,8 +383,8 @@ func runWeb(ctx *cli.Context) { m.Post("/create", bindIgnErr(auth.CreateRepoForm{}), repo.CreatePost) m.Get("/migrate", repo.Migrate) m.Post("/migrate", bindIgnErr(auth.MigrateRepoForm{}), repo.MigratePost) - m.Get("/fork", repo.Fork) - m.Post("/fork", bindIgnErr(auth.CreateRepoForm{}), repo.ForkPost) + m.Combo("/fork/:repoid").Get(repo.Fork). + Post(bindIgnErr(auth.CreateRepoForm{}), repo.ForkPost) }, reqSignIn) m.Group("/:username/:reponame", func() { diff --git a/conf/locale/locale_en-US.ini b/conf/locale/locale_en-US.ini index df9927ef..e93de4aa 100644 --- a/conf/locale/locale_en-US.ini +++ b/conf/locale/locale_en-US.ini @@ -300,7 +300,7 @@ owner = Owner repo_name = Repository Name repo_name_helper = A good repository name is usually composed of short, memorable and unique keywords. visibility = Visibility -visiblity_helper = This repository is Private +visiblity_helper = This repository is Private fork_repo = Fork Repository fork_from = Fork From fork_visiblity_helper = You cannot alter the visibility of a forked repository. diff --git a/models/error.go b/models/error.go index e52d9b16..0e554e52 100644 --- a/models/error.go +++ b/models/error.go @@ -225,6 +225,20 @@ func (err ErrRepoNotExist) Error() string { return fmt.Sprintf("repository does not exist [id: %d, uid: %d, name: %s]", err.ID, err.UID, err.Name) } +type ErrRepoAlreadyExist struct { + Uname string + Name string +} + +func IsErrRepoAlreadyExist(err error) bool { + _, ok := err.(ErrRepoAlreadyExist) + return ok +} + +func (err ErrRepoAlreadyExist) Error() string { + return fmt.Sprintf("repository already exists [uname: %d, name: %s]", err.Uname, err.Name) +} + // _____ .__.__ __ // / \ |__| | ____ _______/ |_ ____ ____ ____ // / \ / \| | | _/ __ \ / ___/\ __\/ _ \ / \_/ __ \ diff --git a/models/repo.go b/models/repo.go index 73807a2f..910ccee3 100644 --- a/models/repo.go +++ b/models/repo.go @@ -21,6 +21,7 @@ import ( "github.com/Unknwon/cae/zip" "github.com/Unknwon/com" + "github.com/go-xorm/xorm" "github.com/gogits/gogs/modules/base" "github.com/gogits/gogs/modules/bindata" @@ -35,7 +36,6 @@ const ( ) var ( - ErrRepoAlreadyExist = errors.New("Repository already exist") ErrRepoFileNotExist = errors.New("Repository file does not exist") ErrRepoFileNotLoaded = errors.New("Repository file not loaded") ErrMirrorNotExist = errors.New("Mirror does not exist") @@ -222,15 +222,19 @@ func (repo *Repository) DescriptionHtml() template.HTML { return template.HTML(DescPattern.ReplaceAllStringFunc(base.Sanitizer.Sanitize(repo.Description), sanitize)) } -// IsRepositoryExist returns true if the repository with given name under user has already existed. -func IsRepositoryExist(u *User, repoName string) (bool, error) { - has, err := x.Get(&Repository{ +func isRepositoryExist(e Engine, u *User, repoName string) (bool, error) { + has, err := e.Get(&Repository{ OwnerId: u.Id, LowerName: strings.ToLower(repoName), }) return has && com.IsDir(RepoPath(u.Name, repoName)), err } +// IsRepositoryExist returns true if the repository with given name under user has already existed. +func IsRepositoryExist(u *User, repoName string) (bool, error) { + return isRepositoryExist(x, u, repoName) +} + // CloneLink represents different types of clone URLs of repository. type CloneLink struct { SSH string @@ -525,19 +529,50 @@ func initRepository(e Engine, repoPath string, u *User, repo *Repository, initRe return initRepoCommit(tmpDir, u.NewGitSig()) } -// CreateRepository creates a repository for given user or organization. -func CreateRepository(u *User, name, desc, lang, license string, isPrivate, isMirror, initReadme bool) (_ *Repository, err error) { - if err = IsUsableName(name); err != nil { - return nil, err +func createRepository(e *xorm.Session, u *User, repo *Repository) (err error) { + if err = IsUsableName(repo.Name); err != nil { + return err } - has, err := IsRepositoryExist(u, name) + has, err := isRepositoryExist(e, u, repo.Name) if err != nil { - return nil, fmt.Errorf("IsRepositoryExist: %v", err) + return fmt.Errorf("IsRepositoryExist: %v", err) } else if has { - return nil, ErrRepoAlreadyExist + return ErrRepoAlreadyExist{u.Name, repo.Name} } + if _, err = e.Insert(repo); err != nil { + return err + } else if _, err = e.Exec("UPDATE `user` SET num_repos=num_repos+1 WHERE id=?", u.Id); err != nil { + return err + } + + // Give access to all members in owner team. + if u.IsOrganization() { + t, err := u.getOwnerTeam(e) + if err != nil { + return fmt.Errorf("getOwnerTeam: %v", err) + } else if err = t.addRepository(e, repo); err != nil { + return fmt.Errorf("addRepository: %v", err) + } + } else { + // Organization automatically called this in addRepository method. + if err = repo.recalculateAccesses(e); err != nil { + return fmt.Errorf("recalculateAccesses: %v", err) + } + } + + if err = watchRepo(e, u.Id, repo.Id, true); err != nil { + return fmt.Errorf("watchRepo: %v", err) + } else if err = newRepoAction(e, u, repo); err != nil { + return fmt.Errorf("newRepoAction: %v", err) + } + + return nil +} + +// CreateRepository creates a repository for given user or organization. +func CreateRepository(u *User, name, desc, lang, license string, isPrivate, isMirror, initReadme bool) (_ *Repository, err error) { repo := &Repository{ OwnerId: u.Id, Owner: u, @@ -553,35 +588,10 @@ func CreateRepository(u *User, name, desc, lang, license string, isPrivate, isMi return nil, err } - if _, err = sess.Insert(repo); err != nil { - return nil, err - } else if _, err = sess.Exec("UPDATE `user` SET num_repos = num_repos + 1 WHERE id = ?", u.Id); err != nil { + if err = createRepository(sess, u, repo); err != nil { return nil, err } - // TODO fix code for mirrors? - - // Give access to all members in owner team. - if u.IsOrganization() { - t, err := u.getOwnerTeam(sess) - if err != nil { - return nil, fmt.Errorf("getOwnerTeam: %v", err) - } else if err = t.addRepository(sess, repo); err != nil { - return nil, fmt.Errorf("addRepository: %v", err) - } - } else { - // Organization called this in addRepository method. - if err = repo.recalculateAccesses(sess); err != nil { - return nil, fmt.Errorf("recalculateAccesses: %v", err) - } - } - - if err = watchRepo(sess, u.Id, repo.Id, true); err != nil { - return nil, fmt.Errorf("watchRepo: %v", err) - } else if err = newRepoAction(sess, u, repo); err != nil { - return nil, fmt.Errorf("newRepoAction: %v", err) - } - // No need for init mirror. if !isMirror { repoPath := RepoPath(u.Name, repo.Name) @@ -649,7 +659,7 @@ func TransferOwnership(u *User, newOwnerName string, repo *Repository) error { if err != nil { return fmt.Errorf("IsRepositoryExist: %v", err) } else if has { - return ErrRepoAlreadyExist + return ErrRepoAlreadyExist{newOwnerName, repo.Name} } sess := x.NewSession() @@ -767,7 +777,7 @@ func ChangeRepositoryName(u *User, oldRepoName, newRepoName string) (err error) if err != nil { return fmt.Errorf("IsRepositoryExist: %v", err) } else if has { - return ErrRepoAlreadyExist + return ErrRepoAlreadyExist{u.Name, newRepoName} } // Change repository directory name. @@ -1412,21 +1422,6 @@ func IsStaring(uid, repoId int64) bool { // \/ \/ func ForkRepository(u *User, oldRepo *Repository, name, desc string) (_ *Repository, err error) { - has, err := IsRepositoryExist(u, name) - if err != nil { - return nil, fmt.Errorf("IsRepositoryExist: %v", err) - } else if has { - return nil, ErrRepoAlreadyExist - } - - // In case the old repository is a fork. - if oldRepo.IsFork { - oldRepo, err = GetRepositoryById(oldRepo.ForkId) - if err != nil { - return nil, err - } - } - repo := &Repository{ OwnerId: u.Id, Owner: u, @@ -1444,34 +1439,10 @@ func ForkRepository(u *User, oldRepo *Repository, name, desc string) (_ *Reposit return nil, err } - if _, err = sess.Insert(repo); err != nil { + if err = createRepository(sess, u, repo); err != nil { return nil, err } - if err = repo.recalculateAccesses(sess); err != nil { - return nil, err - } else if _, err = sess.Exec("UPDATE `user` SET num_repos = num_repos + 1 WHERE id = ?", u.Id); err != nil { - return nil, err - } - - if u.IsOrganization() { - // Update owner team info and count. - t, err := u.getOwnerTeam(sess) - if err != nil { - return nil, fmt.Errorf("getOwnerTeam: %v", err) - } else if err = t.addRepository(sess, repo); err != nil { - return nil, fmt.Errorf("addRepository: %v", err) - } - } else { - if err = watchRepo(sess, u.Id, repo.Id, true); err != nil { - return nil, fmt.Errorf("watchRepo: %v", err) - } - } - - if err = newRepoAction(sess, u, repo); err != nil { - return nil, fmt.Errorf("newRepoAction: %v", err) - } - if _, err = sess.Exec("UPDATE `repository` SET num_forks=num_forks+1 WHERE id=?", oldRepo.Id); err != nil { return nil, err } diff --git a/modules/base/template.go b/modules/base/template.go index 2a81a34d..0d682545 100644 --- a/modules/base/template.go +++ b/modules/base/template.go @@ -20,6 +20,10 @@ import ( "github.com/gogits/gogs/modules/setting" ) +func Safe(raw string) template.HTML { + return template.HTML(raw) +} + func Str2html(raw string) template.HTML { return template.HTML(Sanitizer.Sanitize(raw)) } @@ -128,6 +132,7 @@ var TemplateFuncs template.FuncMap = map[string]interface{}{ return fmt.Sprint(time.Since(startTime).Nanoseconds()/1e6) + "ms" }, "AvatarLink": AvatarLink, + "Safe": Safe, "Str2html": Str2html, "TimeSince": TimeSince, "FileSize": FileSize, diff --git a/modules/bindata/bindata.go b/modules/bindata/bindata.go index 33a3d809..35dab2e8 100644 --- a/modules/bindata/bindata.go +++ b/modules/bindata/bindata.go @@ -127,7 +127,7 @@ func confAppIni() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "conf/app.ini", size: 9185, mode: os.FileMode(420), modTime: time.Unix(1438834795, 0)} + info := bindataFileInfo{name: "conf/app.ini", size: 9185, mode: os.FileMode(420), modTime: time.Unix(1438976559, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -772,7 +772,7 @@ func confLocaleLocale_deDeIni() (*asset, error) { return a, nil } -var _confLocaleLocale_enUsIni = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xc4\x7d\xeb\x72\xdc\x46\xb2\xe6\x7f\x3c\x05\xec\x0d\xad\xec\x08\xaa\x15\xb6\x63\x2f\xe1\x90\xe4\xa5\x49\xeb\x32\x47\x24\x75\x44\x6a\x66\x67\x15\x0a\x0c\xba\x01\x76\x63\xd8\x0d\xb4\x01\x34\xdb\x3d\xbf\xf6\x35\xf6\xf5\xf6\x49\x36\xf3\xcb\xcc\xba\x00\x68\x4a\x9a\x73\x62\xcf\x1f\xb2\xba\x2a\xeb\x96\x95\x95\x95\xb7\x2a\xe4\xdb\x6d\x56\x94\xdd\x22\x7d\x9e\x9e\xa6\xdb\xbc\xaa\xd7\x65\xd7\xa5\x5d\xb9\xbe\x7d\xb2\x6a\xba\xbe\x2c\xd2\x57\x55\x4f\xbf\xdb\xfb\x6a\x51\x26\xc9\xaa\xd9\x94\x04\xfa\x9a\xfe\x25\x45\xde\xad\xe6\x4d\xde\x16\x94\x71\x6e\xe9\xa4\xfc\x63\xbb\x6e\x5a\x06\xfa\x4d\x52\xc9\xaa\x5c\x6f\xb9\x0e\xfd\x4b\xba\x6a\x59\x67\x55\x4d\x3f\xaf\x29\x95\xbe\xa9\x93\xae\x59\x54\xf9\x3a\x0b\x0a\x90\x61\xe5\x3f\xa7\x3f\xd6\x45\x7a\xdd\x97\xdb\xf4\x59\xb7\xc9\xd7\xeb\x17\x79\x87\x2a\x7d\x99\xe6\x8b\x45\xb3\xab\xfb\x67\x4f\xa5\x40\x1a\x6f\x76\xbd\xb5\x7e\xb5\xeb\x25\x6f\xb7\xb5\xac\x0f\xdb\xa4\x2d\x97\x15\x4d\xac\xa5\xac\xf7\x9a\x4c\xf6\xe5\xbc\xab\x7a\x1e\xf4\x5f\x24\x95\xdc\x97\x6d\x57\x35\x3c\x9e\x3f\x4b\x2a\xd9\xe6\x4b\x06\x78\x47\xff\x92\xbe\xdc\x6c\xd7\x39\x2a\xdc\x68\x32\x59\xe7\xf5\x72\x27\x30\x6f\x35\x99\x24\x3b\xc2\x5c\x9d\x03\x67\x1f\x34\x99\x94\x9b\xbc\x5a\x33\x7e\x9e\x70\x82\xda\xed\xba\x7d\x03\x2c\xbe\xd3\x24\x8d\x31\xeb\x0f\xdb\x12\x43\x7c\x72\x43\xa9\x64\x91\x6f\xfb\xc5\x2a\xa7\x9c\x33\x49\x25\x04\xb4\x6d\x68\xac\x4d\x7b\x00\x9c\xfd\x48\x9a\x76\x99\xd7\xd5\x3f\xf2\x5e\xc6\x7f\x15\xfc\x4c\x36\x55\xdb\x36\x3c\xf5\x0b\x24\x92\xba\xdc\x67\xdc\x0e\xe5\x5c\x96\xfb\xb0\x15\x2e\xd9\x54\xcb\x56\x66\xc9\x85\x17\xf8\xc5\xad\x70\xd9\x6d\xd3\xde\x69\xc1\x4b\x4e\x0e\xaa\xd2\x20\xb4\x34\xee\x3f\xaf\x09\x2f\x5a\x7a\x81\x1f\x11\x40\x97\xe4\xc5\xa6\xaa\xb3\x6d\x5e\x97\x8c\xa3\x53\xfe\x45\x78\xa1\x5f\x89\x2e\x77\xd6\x95\x7d\x5f\xd5\xcb\x8e\x8b\x25\x2b\xbd\xd6\xac\x24\x28\x73\x79\x3c\x9e\x2e\xbb\x2d\xcb\x42\x46\xd4\xa5\x2f\x29\x9d\x6c\x77\xeb\x35\xcd\xfd\xf7\x5d\xd9\xf5\x0c\xff\x8e\x7e\xd3\x2c\xe4\x77\x52\x75\x1d\x25\x28\xfb\x0d\x12\x09\x2d\x40\xbd\xc0\x90\xce\x90\x48\x92\x8f\x5d\x99\xb7\x8b\xd5\xa7\x44\xfe\xa3\x47\x4e\xcc\x66\xb3\xa3\x4b\xc3\xe4\xa0\xa4\x20\x3d\x58\x07\xc9\xa2\x29\xf8\xc7\x19\xfd\xa3\xa6\xab\xba\xeb\x89\xa4\x3f\x25\x9a\x60\x30\x49\x09\x1a\xfb\xaa\x5f\x97\x3e\x13\xfb\xa3\xe3\x75\x48\x5f\x56\x6d\xd7\x3f\xe9\x2b\x22\xb9\xf7\xbb\x3a\xe1\xf9\x11\x39\x67\xc5\xdc\x76\xf9\xab\x86\xb0\x83\xec\x96\xe6\x77\x71\xb8\xfe\xd7\xb7\x27\xe9\x3b\xda\xea\xcb\xb6\xa4\x74\x4a\x6d\xd0\x3f\xaa\xf3\xd3\x2c\xa1\x5a\xd6\xd3\x79\xde\xe7\xf3\xbc\x2b\x3d\x5a\xb9\x50\x68\xd4\x95\x81\x52\x99\x6d\x80\x45\x74\x7d\x34\xdf\x29\x3a\xa7\x36\x74\x77\xb8\x36\x2e\x79\x8b\x50\x3e\x73\x0d\x54\x7e\xb7\x2e\x39\x9f\x9a\x4a\xdf\x5c\x5e\x5e\x9d\xff\x9a\x96\xf5\xb2\xaa\xcb\x74\x5f\xf5\xab\x74\xd7\xdf\xfe\xf7\x6c\x59\xd6\x65\x4b\x4c\x64\x51\xa5\xb4\x33\x5a\x22\x82\x94\xc8\x53\x26\x37\x4b\xba\x6e\x9d\x6d\x04\xbd\xd7\xd7\x6f\xd3\x0b\x46\xf1\x36\xef\x57\x18\x48\xbf\x4a\xba\xdf\xd7\x8c\x22\xd7\xe1\xcd\xaa\x4c\x6f\x2b\x9a\x35\x80\x9a\x5b\xc3\x47\x5a\xe8\x18\x67\x49\xd9\xb6\x19\xed\xfb\xfe\x90\x69\x65\x6d\x6f\x08\x29\x4d\x10\xe9\xd4\x4d\x9f\xce\xcb\x14\x75\x66\x49\x62\x03\x36\xec\x9e\x6e\xb7\xeb\x6a\x21\x3b\xf6\x95\x94\x79\x44\x33\x8b\x56\x2c\x85\x70\x40\x94\x95\x05\xe8\x22\xfe\x77\x68\x76\x6d\x1a\xb1\x01\xd4\x5f\x95\xc4\x97\x57\x3b\xda\x72\x39\xf1\xd4\x75\xb3\x2b\xbe\x01\xa5\xda\xe8\x3d\xa1\xa6\xef\x1b\x1a\x30\xb0\xe3\x00\x7c\x17\xa7\x44\x71\x7c\x2a\xb4\xe5\xa6\x21\xee\xe0\x88\xbd\x22\x82\xda\x57\x54\x48\x33\xed\xf2\x7b\xda\x6f\x7d\x93\xf6\xab\xaa\x4b\x0b\x22\xb6\x05\x37\x4c\x5b\x63\x47\xfc\x58\xc8\x82\x08\x54\x48\xc3\xf2\xe2\x35\x00\xd4\x66\x47\xd4\xb4\xa2\xc6\x98\xdb\xf3\xd1\x44\x4d\x4e\x8d\x13\x53\xa2\x76\x40\xdf\x44\xb9\x0d\xf1\x56\xe6\x7e\xe7\x48\xe8\xef\xb0\x7d\x1a\x55\x7e\x7b\x4b\xa3\xea\x88\x2a\x5e\xa7\x8b\x75\x43\x24\xf5\xe1\xfd\x5b\xaa\xbc\xea\xfb\x6d\xb6\x6d\x5a\x90\xf1\xcd\xcd\x3b\xda\x1e\x6d\xef\x73\x03\x5c\x33\x4c\xbd\xdb\xcc\xe9\xd7\x7e\x55\x11\x13\xc8\x83\x05\x02\x2a\xd6\x7c\xc0\xd4\x69\x53\xcf\xb0\x56\xbb\x76\x3d\x58\x46\xea\xd2\x4a\x8e\x0c\x8f\x87\xf0\x94\xff\x5c\xfb\x51\x62\xba\x1d\x9d\xc2\x7b\x2c\x2a\x4d\xb5\xc4\x69\x42\xb4\xd5\x6c\xb9\xdd\x80\xb8\xae\x34\xc3\x53\x14\x4e\x20\x57\x2e\xe7\x10\x95\xe2\x8c\x0f\x78\xe9\x86\x26\xac\xbb\xf9\xfa\x82\xd0\x80\x2d\x8d\xdc\xdb\xb6\xd9\x50\xee\x4b\xfa\xe7\x33\xfc\xf0\x2f\xb8\x3d\xc0\xe4\x45\x41\x6c\xa6\x3b\x49\xdf\xbf\x3c\x4b\xff\xcb\x4f\x3f\xfe\x38\x4b\xdf\xf4\xbc\x21\x98\x46\xfe\xce\x6b\x4b\x49\x39\x10\x1d\x28\xed\xdc\x9e\x96\xff\x5b\x26\xf0\x6f\xd3\x67\x28\xfd\x1f\xe5\x1f\x39\x9d\xb3\xe5\x6c\xd1\x6c\x5e\xf0\xe6\xde\xe4\xfd\x2c\xe1\x12\xa2\x1a\x25\xa7\xeb\xb2\x2e\x28\xa1\xc7\xaa\x96\x05\x5c\x47\xcb\x83\x43\x56\x4e\xff\x6c\xd1\xd4\xb7\x55\xcb\x13\xfa\xad\xce\xe7\x84\x13\x93\x0b\x88\x1d\xa3\xc4\xce\x2e\x42\x1a\x6d\xe4\xea\xf6\xe0\x41\x31\xd5\x4b\xce\xd4\x05\x4d\x58\x56\xa2\x46\x55\x64\x72\x58\xbe\x46\x36\xd6\xed\x8a\xa6\xd7\x1a\xbe\x3b\x8f\xf0\xe6\xf6\x76\x4d\x8c\xcd\x98\x95\xf6\x70\x25\xb9\xc2\xb7\x42\x10\x22\xc6\x2d\x24\x9b\xf3\xaa\x03\xe4\xd9\xf9\x65\x5a\xde\x13\xb5\x11\x39\x6c\xdb\xa6\xd8\x2d\x40\x61\x0c\x7b\x92\xf2\x31\x41\xf8\x25\xce\xb0\x10\xf6\x16\xec\x55\x1e\x1a\x33\x84\x05\x01\xd1\x16\x2d\xa4\xbd\x4c\x10\xd4\x9a\x20\x61\xdd\x5c\xb3\x70\x18\x96\x4d\x56\x18\x8d\x0e\xab\xd4\x0d\xeb\xd2\x72\xd7\xeb\x43\x8a\x53\x1f\x74\xb1\x68\xcb\x40\xb6\xeb\x66\x89\x9e\x55\x26\x21\x66\xf7\x15\x09\x15\xc1\x52\xa1\xd4\xc4\x45\x66\x0f\x7f\x66\x00\x16\xd3\xba\xc9\xba\x6e\x60\x57\xdc\x31\x97\xd0\xdc\xa9\x73\x1e\x5f\x87\x21\xa0\x07\x16\xf7\x88\x18\xef\x2b\x70\x1a\x45\x16\xc6\x4a\x18\x43\xd7\xd4\x55\x57\x96\x68\x81\xea\x3f\xa5\x36\x51\x67\xa6\x22\x8c\x8a\x22\x76\xee\xfe\xb5\xd9\xa5\x45\x93\xf2\x41\x00\x76\x46\xb5\x6d\xaa\xb5\x4e\x5f\xe7\x9c\xb6\xd5\x72\x45\x7c\xa5\xd9\x9f\x08\xd2\xf6\xab\xa6\x64\xda\x79\x73\xfe\xfc\x07\x19\xc7\x92\x99\x9b\xab\xc4\x6c\x31\xdf\xf5\x0d\xd3\xa9\x2e\xa1\x0c\xc1\x1d\x2f\x80\x1c\x09\x4b\x02\x34\x14\x4f\x4d\x00\x1b\x9f\xd6\xba\x4f\xc2\x32\xdd\x20\x1e\x46\x6a\x0f\x44\x5c\x95\x62\xb2\x65\x03\xc9\xcc\xa4\x16\x66\xd5\x24\x4a\x77\x7d\xb6\xac\xfa\xec\x96\x37\x2c\xb7\xf9\x92\xeb\xf2\xc9\x41\x25\xe9\x63\x2a\x7a\x9c\xd2\xae\x27\xc9\xb1\xf8\x39\x7d\x74\xaf\xc7\xf5\x4f\xbc\x13\xb3\xfc\x9e\x60\xb1\x18\x40\x70\x4b\x14\x2e\xd2\x82\x89\xef\x45\x43\x74\xce\x38\xef\x76\x5b\x70\x74\x3d\xa1\x4f\xd2\xad\x00\x16\xcd\xbe\x5e\x37\x79\x01\x96\x43\xbb\xab\x82\xf2\x31\xaf\xea\x9c\x4e\x17\x6b\x05\xac\xec\x11\x51\xc3\xe5\xd5\x0d\x00\x97\xcd\x7c\x57\xad\x0b\x03\x98\xd1\x0c\xef\xf3\x75\x55\xb0\x9c\xa5\xeb\x1e\xca\x34\x96\x55\xc9\x58\x16\x4d\xcb\xc7\x21\x66\x63\x15\x8f\x9c\xc3\x2d\x9f\x6f\xc8\xa6\xba\x0a\x8b\x7a\xee\xc8\x64\x34\xd0\xc2\x43\x00\xe5\x03\x15\x14\x53\x75\xf5\xe3\x1e\x23\x5d\xec\xa8\x2f\x5a\x74\xce\xa6\x8a\x5d\xfa\xe4\x05\xfd\x4d\xf8\x78\x16\xbe\xb7\x1c\x23\x9e\x0b\x53\x29\xdc\xc9\x2e\x8d\x86\x1a\x91\xb7\xa3\x2e\x23\xde\x60\xae\xe1\x78\x8d\x04\xba\x9d\xd0\x2b\x6b\x5a\x6b\x5a\xd6\xf2\x1b\x4a\x3c\xa6\x0d\xbc\x5c\x63\x11\x72\x48\x2f\x24\xc6\x35\x84\x37\x26\x90\x13\xd9\x2e\xb7\x34\x35\xe6\x9d\x7d\x7e\x47\x63\xcb\x5b\x12\xc2\x92\x8f\xac\x8d\x7e\x4a\x76\x22\x00\x35\xeb\xc2\x09\x9b\xa0\xe9\xa6\x1d\xaa\x58\x1e\xc8\xd1\x6b\x47\x52\xe4\x62\x95\x39\x5d\x96\x91\xd2\x97\x7f\xe0\xcc\x43\x91\x57\x6d\x99\xd8\xb9\x28\xd9\x1c\xb0\x5c\x3c\x89\x8b\x83\x5f\x2d\x12\x7f\x68\x8b\x90\x88\x3e\x6f\x18\x6b\xf7\xa5\x83\x3a\x0b\x73\xe3\x0a\xd4\x16\x09\x6a\xda\x54\xac\x09\x51\x91\xa8\x6b\x5a\x2a\x2a\x1b\xa9\x22\x1f\x55\xc7\xfe\x94\x58\x07\x51\x93\xc9\x47\x62\x06\xa4\x97\x08\x7b\xc9\x58\x1b\xb3\xc5\xa1\xa1\x08\xcf\x61\xc5\x4c\xf9\x81\x3f\x07\x57\xe5\x96\x8f\xcc\x4d\x87\x55\x5d\x13\x64\x71\x50\xd9\xcb\xad\xef\x2f\xc2\x69\x69\xc1\x89\x3f\x7d\x63\xda\xfb\x57\x36\xf1\x6b\x45\x2b\x89\xfa\xf1\xc9\xc1\xe7\x35\x6d\xb5\x2d\xb0\x4f\x9b\xe4\x70\x92\x46\x67\xd0\x2a\xef\x88\xfb\xd2\x01\xa7\xd5\x8a\x99\x69\x07\xbc\x6a\xf9\x42\x48\x1e\x9a\x3c\x88\x54\x6a\x36\xed\xf0\x48\xe3\x11\x0a\x83\xd2\x5e\xdc\x81\x8f\xe3\x3c\x3c\xf5\x27\xfa\x24\x84\x6d\x4a\x96\xf9\xb2\x8d\x68\xe8\xf2\x2b\xbd\x28\x13\x12\x4c\x96\xb4\x1f\x8d\xde\x9e\xb3\x4a\xb6\x84\x84\xaa\xe4\xc6\x00\x65\x1f\x72\x50\x85\xb0\x9c\x5f\xcc\x62\x41\x1b\x7b\x0f\x7d\x95\xb6\xe6\x08\xfd\x74\xd6\x50\xf1\xcc\x38\xb2\x1c\xb8\x90\x4f\x3a\xda\xec\x1e\x89\xa7\x29\xad\x7e\x1a\x42\xa9\x9c\xe8\xa7\xc5\x15\x78\xd3\x3f\x9b\xbf\x78\xd4\x3d\x7b\x3a\x7f\xe1\x58\xe3\x62\x55\x2e\xee\x44\x97\xa8\xea\x79\xf3\x07\x14\x2e\x5a\x78\xc6\x71\xcd\x5b\xe4\x51\x91\xae\xa8\x14\x32\x39\x6d\x65\xaa\x46\x88\xe7\xd2\x68\xd1\x68\x30\xbc\xe3\x67\x66\xfb\x71\x87\x83\x11\x12\xd5\x46\x27\x32\x32\x52\xf3\xb1\x77\x38\x2b\xa0\xdb\x53\xce\x65\xca\x05\x9b\xf7\xa4\x8b\xf9\xae\xab\x4d\xd5\x8f\x48\x87\xf9\x48\xae\x24\xa8\x7a\xbe\xe1\x12\x6d\x01\x1b\x18\x0b\x71\x63\x6a\x86\xce\x4d\x23\xa7\x7d\x4e\xea\xcd\x4f\x29\x91\xd0\x8e\x4e\x21\x9e\x13\x0d\x93\xd8\x71\xce\x07\x2f\x29\x08\x79\x97\xed\x6a\x45\x6b\x59\x18\x31\xbd\xae\x70\x48\x70\xbf\x46\xf2\x01\x94\x61\x5e\xe5\xdc\xf4\x3b\x87\xf1\xef\x49\x28\xbe\x75\xd5\x98\x73\xf3\x80\x2a\x96\xc9\xf2\xc9\xc5\x23\xce\x56\x97\xa2\x5e\x01\x03\x0c\xc7\x0b\x4d\xca\x81\x5f\x3d\xd2\x30\xee\x28\x07\x0b\x32\xdf\xf5\x7d\xc3\x32\xf7\x9a\xa9\x46\xea\xd8\xa8\xcf\x00\x08\x35\xc2\xb7\x87\x05\x09\xf1\x24\x6b\x53\x9a\x0c\x9c\x79\x2b\x9c\x6a\x2b\x83\xd9\xe9\x51\xe7\xc0\x0a\x51\xd7\xf3\xfa\x60\xa4\x4c\x04\xc1\xa3\xe0\x0e\xfb\xe9\xb1\x7c\xd7\x96\xdf\xfb\xd1\xb8\x3d\x83\x1a\x36\x22\xa9\x1e\xec\xa7\xf7\x28\x05\x95\xb8\x5d\x67\x27\x97\x1a\x59\x3c\x7d\xb4\x31\x7a\x51\xce\x3b\x83\x18\x2c\x89\x8d\x05\x10\x4d\xb3\x40\xed\xd9\xa0\x2f\xaf\xee\x8c\x31\xd8\xc7\x43\xf6\x07\x50\xdf\x34\x59\xb7\x12\xd5\xd2\x86\x97\xae\xcb\x7a\x19\x99\x09\x60\x83\x05\xd1\xfd\x57\x3e\xe6\x48\x80\xcf\xd7\x9f\x92\x03\xec\x51\x7f\x25\x0e\x5f\xc3\x5e\xd7\x24\x54\x20\xca\xc8\x05\x12\x04\xca\x9a\xd1\xa7\x84\x8f\xc0\xcb\x81\x58\xc7\x47\x84\xe6\x05\xf2\x05\x8a\x7e\x8b\xa4\x35\x5b\xc2\xe4\xdd\x84\x08\xf8\xbe\xf4\x76\x49\xa4\xdc\x14\x49\x89\xbe\x31\x55\x87\xf4\xe9\xbb\x52\x1b\x7f\x4d\x6a\x73\xf7\x01\x6a\xaf\xe8\xb0\xac\xf0\xbe\xcb\x0f\x2c\x74\x49\xb6\xfe\x40\xc1\x4d\x99\x6f\x74\x94\x9c\x94\x26\x4e\xe9\x38\xd3\x4c\x4e\xd2\x29\x17\x58\x35\x12\x88\x1f\x36\x05\x91\x45\xf4\xd8\x77\xe2\x7f\xa9\x46\xcf\xbf\x8d\x4c\x31\x7f\x4b\xf2\xf5\x76\x95\xe3\xfc\x0f\xc0\x60\x75\x20\x20\x2c\x7c\x0a\x10\xd0\xc2\x6e\x53\xb6\xd5\x82\x93\x5c\xe1\xbb\x27\xd9\xf7\x30\x38\xd1\x46\x21\x41\x30\x6e\xac\xa0\x4d\xf2\x4f\x35\xc8\x69\x16\x12\xc3\x76\xbb\xea\x1f\x36\x8b\xa8\x39\xce\x27\x9e\x43\x10\x10\xc9\x3c\x94\x03\xc2\xc1\xc8\xe2\x59\x9f\x32\x5f\xe8\x59\x04\x8c\x9a\xde\xe4\x7f\x7c\xae\xe2\xa6\x99\xa8\x27\xac\xc0\x57\xb2\x0d\xaf\x53\x8c\xd9\x01\xc1\xb3\x7d\xe3\x28\x34\x2d\x3d\x83\xd4\x77\x74\xaa\xd5\x0e\xec\x83\xfc\x4e\xf1\xfb\x67\x33\x81\xd3\x11\xa2\x02\x74\xea\x8c\xe1\x74\x38\x17\xcc\x37\x21\x08\xcf\xfc\x76\x0b\x85\x63\x47\xce\x2c\x46\x9a\xca\xef\x18\x07\x49\x94\xa2\x27\x10\x49\xcd\xbc\xdd\x3e\xe3\x33\x32\x63\xa1\xb3\x0e\x45\x4b\x77\x7a\xda\xf9\x02\x08\xb1\xfb\x66\xe3\x7a\x83\x0d\x77\xb4\x3a\x89\x02\x13\xb5\xaf\xc6\x86\xbc\x23\xf5\x7b\xda\x32\x13\x0d\xb8\x9d\x74\xb4\xa2\x2c\x26\x2a\xd1\xcc\x8b\x11\x2f\x18\x57\x64\x30\x52\x7b\xd6\xeb\x72\xc9\xa6\x26\xeb\x38\xea\x4d\x49\x88\x0e\x03\x01\x0b\x09\xc8\x63\xd8\x2d\x56\xb8\xae\xa1\x10\xef\xd6\x28\x56\x9f\x68\xd4\x24\x8e\x53\x92\x6b\x06\x4a\x94\x0e\x43\x4f\xf2\x0d\xeb\x0b\xdd\x8e\x59\x33\xeb\x16\x22\x9d\xc4\xab\xc1\x07\x2f\x9a\x2a\xd1\xc5\xf1\xe6\x89\x16\x59\xe1\xfa\x5c\xfb\x00\xfb\xca\xa6\x43\x75\x7b\xdc\xb0\x36\xee\x80\x8e\x35\xeb\x14\xc2\xf2\x8f\x0a\x66\xbb\x57\x15\x9b\x83\xa0\x12\x3a\x4d\x18\x65\xb3\x64\x4d\xcc\x80\x55\x0f\x99\x95\xc8\xb1\xcd\x3d\x6b\x6e\xdc\x1f\x97\x4a\x3d\x31\xe3\xe9\xa4\x78\x9d\x55\xb9\x24\x65\xae\xd9\x97\xc5\x09\x1d\xf1\x5c\x83\xc6\x09\xb6\x91\xaf\xf7\xf9\xa1\x83\x8d\xc4\x38\x0e\x9b\x2c\xa5\x3a\xb3\x13\x12\x00\x96\x18\x55\x68\x9f\xa6\x1d\x67\x98\xe8\x88\x77\xf2\xe1\xe1\x8e\xe9\x3d\xd4\x43\x70\x0b\xb5\xba\x90\xd6\xcd\xc7\x1e\x8e\x58\x3d\x6b\x58\xb5\x65\x45\x90\x65\x7c\x29\x0e\x1a\x82\xcb\x43\x39\xff\x44\xdd\x13\x16\x8f\xa8\x1b\x16\x56\x88\x1f\x0b\xae\x49\xfe\x23\xcc\x62\x48\x81\xad\x60\x47\xed\x3f\x11\xb9\xb8\x22\x1c\xb2\x9e\xe5\xd5\x67\x3e\x9b\x68\x55\xcc\xb0\x2b\xf9\x50\x7e\x93\xae\xa7\x2d\xc0\x98\x36\x67\xdb\x5f\x45\xbe\x52\x95\x99\x4b\xb1\xc5\x80\xa6\x6e\x55\x6d\xd3\x06\xc6\xc2\x10\x85\x9e\x6c\x03\x11\x93\xb0\x51\x94\x90\xbb\xd9\x6a\xda\xe6\x75\x77\x5b\xc2\x7c\xba\x49\x6f\xd9\x13\x34\xd3\xae\x59\x62\x15\xa7\xdb\x91\x9e\x45\x87\x41\xd7\xe1\x69\x81\xb5\x0b\x16\x2a\xee\x9a\x60\xee\xd1\xb3\x8e\x01\x58\xf5\x2d\x75\x36\x06\x26\xb3\x11\x0a\x20\x35\x46\x4e\x0a\x1b\xcd\x7d\x19\x22\xe2\xf6\x9f\x9d\x79\x80\x75\xb5\x10\x8b\x59\x3d\x5e\x26\xe9\x14\xd6\x0a\xf8\x98\xe6\x87\x78\xf6\x5c\xd5\x51\x00\x7b\x3c\xee\x4b\xed\x85\x37\x06\xef\x95\x41\x83\xb0\x52\x78\x5d\x21\xe9\x73\xa8\x7c\x73\x1a\xe2\x62\x15\xed\xce\x1b\x94\xa4\x52\x32\xda\xa0\xc9\x47\xee\x9a\xd4\xf8\x55\x5e\x2f\x4b\x36\x75\x51\x4b\x7c\xe4\xe1\xb7\x4a\xe8\x92\x49\x03\x5e\xb6\x92\x66\x03\xb9\x55\x59\xd0\x86\x6c\x36\x0f\xd6\xac\x6a\x33\xd8\x74\xc9\xdf\x1b\x92\x21\x60\xe9\xfd\x13\xa5\x58\xfa\xad\x93\xc8\xb7\x33\xb0\x33\x40\x3d\xa8\xfa\x03\x9c\x4e\x73\x92\x81\x45\x49\xa3\x1c\x52\x73\xc1\x1d\x60\xb9\x78\x69\x69\x5a\x8f\x9c\x99\x1e\x6f\x6d\x49\x29\x9c\x98\x91\x5e\x5a\x3a\x61\x2d\x79\x33\xc3\xe1\xc0\xc2\x34\x8c\xd3\xc1\x91\xf0\xf8\x51\xf7\x98\x17\xcc\xca\x66\x01\xfc\x36\xef\x89\x2d\xd6\xa2\xa2\x08\x87\x0a\xab\x6a\xb1\x6b\x02\x5c\x45\xc0\x66\xf0\xe8\x0a\x2a\x3e\x25\xa4\x4b\xc2\x05\x48\x53\x93\xd4\xa4\xfb\x52\x59\x4c\xa7\x32\xef\xbf\x50\x52\x2d\x22\xa9\x8b\x63\x50\x55\x15\x6e\x3c\x73\xfa\x74\xb1\x0f\xa8\x4b\xd4\x04\x14\xdb\x7f\x94\xbc\x9f\xa7\xe7\x92\x30\xa5\x77\x57\x61\x4e\x55\x91\x24\x5b\xe0\x3d\x0b\x46\x2b\x0b\xe1\x06\x2d\xff\x03\x1b\x74\x3b\x3c\xd9\x09\x0b\xd2\x0a\x08\xd7\x5c\x02\x90\x02\xd8\x87\x1a\x28\x6c\x6c\x5c\x85\x26\x57\x07\xee\x0e\xd2\x77\xb9\x1e\x83\xed\xcb\x79\xca\xe6\x4e\x22\x1c\xd2\x8b\x74\xa2\x9b\x9c\x54\xaa\xfb\x2a\x77\x96\x19\x5a\x2d\x76\xbc\xeb\x29\xfa\x92\x9d\xee\xf0\x64\x8e\x43\x30\xd8\x1f\xa1\xae\x87\xb7\x9a\x4c\x76\xdb\x82\x6d\x5a\x7e\xc2\x1f\x90\xe1\x26\x1c\x97\x07\xd6\x46\x4c\xdd\xaa\x39\x69\x46\xc0\x8b\x54\xe1\x78\x64\x87\x99\x6d\x9f\x89\xd8\x0d\xdd\x42\xc5\x10\x24\x34\xf2\x4b\x91\x2a\xad\x06\x30\x13\xde\x03\xf4\x8a\x5f\x0f\x08\xa1\xb3\x32\x5d\x35\xfb\x74\x5d\xd5\x77\x9d\xe2\xd7\xd9\x43\x4c\x4f\x4e\xcf\x91\x41\xc0\x62\xa9\x61\xb1\xaa\xaa\x77\xe5\x2f\x89\xa5\xc4\x10\x8f\xe4\x38\x4e\xa1\x94\x53\x71\xc8\x0c\xd4\x7f\x72\x86\xec\xf4\x14\xd9\x93\xb0\x5e\xcf\xd5\x2a\xf0\xe8\x32\xfb\x55\xc7\xce\x6d\xc9\x02\x36\xd8\xe1\x2b\xe5\x42\x84\x9f\xa6\xe9\xd4\xf6\xe8\xd9\x0f\xe7\xc1\x50\xa1\x50\xba\x5a\x0e\x42\x17\x53\x06\x63\x7e\x0a\x82\x62\xf5\x90\x84\x25\x1d\x0f\xf6\x76\x56\x6d\x24\xd6\xe6\x83\x96\x8a\xcb\xde\xe9\x15\x28\x9e\x91\xa6\x3c\x98\x4c\xe8\x31\xb8\x24\x5c\xca\xf4\x8d\x8f\x5a\xe1\x89\x89\x0b\x82\x10\x1c\xf6\xd1\x60\x87\x94\xa5\x0d\x98\xf1\xfb\x33\x04\x66\xe4\x13\x3a\x52\x84\x37\x3b\xd6\xd2\xac\x23\xa1\xf0\x4c\xcd\xf8\xae\x9c\x31\x1b\x94\x5f\xc2\xe5\x35\xb4\x36\x44\x9a\x92\xb6\x70\x54\x9a\x1e\x8c\x69\xb4\x77\xac\xde\x9e\xe6\x16\x4e\xc7\x08\x7e\x26\xd4\x9f\xc3\x32\x2c\x5e\xb1\x5d\x27\xf2\x24\x77\x05\x97\x9a\x34\x41\x08\x80\xc2\xd1\x79\x3d\xe3\x54\xb8\x11\x1b\xc4\x25\x42\xc8\x01\x68\x90\x50\xac\x4f\x96\xe6\xc3\x0e\x19\xdb\xb6\xa5\x45\xa7\x83\x77\x60\x89\x1a\xb1\xb4\x88\x7d\x81\x7b\x35\x70\xc8\x7a\xae\x45\x1a\xa4\xb6\xc5\xfc\x1f\x29\xcb\xf1\xd6\xcb\x92\xad\x5b\xd6\xa9\x32\x6b\x57\x2a\x2c\x3b\xa1\x31\x60\x0f\x94\xce\x3c\x51\x00\x13\xf1\x10\x01\x16\x82\x98\x25\xd4\xb2\xb3\xc8\xce\x0b\x8b\xed\x7f\x98\x6d\x37\xea\xd0\xd9\x76\xfd\x50\x07\x64\xc3\x63\x1c\x9c\x38\x23\x02\xa2\x02\x9c\xbf\xba\xf4\xc1\xa9\xaa\x8b\xef\x0e\x57\xee\x46\x64\x7a\x46\x13\x65\xe1\x08\x56\x22\x00\x87\x65\x01\x0f\x41\x17\x08\xdc\x11\x01\xbf\x1b\x99\x21\x63\xfe\x7a\x0a\x0d\x86\xb0\x22\xb0\x2c\x0f\xf0\x81\x26\xd2\x9f\x6a\x44\x1b\x46\x84\xb8\x5d\x5d\x1c\xca\x41\x3c\x8e\x5e\x24\x3a\x51\xb5\x61\x55\x2d\x57\x34\xaf\x6a\xc3\x2e\x47\x70\x6d\xf3\x6b\x79\xad\x8e\x7f\xd1\xc6\x6b\x96\x35\xdb\x70\xb8\x87\x19\x26\xe3\xb8\xed\xb3\xae\x6f\x9b\x7a\xf9\xe2\xbc\x61\x75\x8b\x2d\x21\x7c\x54\xfc\xf2\xec\xa9\xe6\x13\xcb\xe0\x35\xe4\x78\xc7\x57\x55\xff\x7a\x37\x7f\xdc\xa5\x4b\x92\x0d\x70\x80\x3c\xcb\xd3\x55\x5b\xde\x3e\xff\xf6\x51\xf7\xed\x0b\xf5\x33\x4b\x54\xd0\xbe\x76\x68\x79\xf6\x34\x7f\xc1\xd2\x73\xd7\xac\x49\xa8\x8d\xab\x34\x9b\x8d\xac\x2f\xb1\xbf\x8d\x40\x62\xfc\x70\x4d\x97\x35\x30\x57\xb6\x8a\x1f\x6a\x70\xe6\x68\xdd\xaf\x8f\x2e\x9b\x89\x49\x91\x7d\x41\x05\x15\x06\x86\xc7\xad\xee\x03\xa6\xc9\xb6\x85\xd4\x55\xc3\x01\x3b\xae\x86\x85\x64\x73\x8d\x37\x6d\x98\x71\x02\x12\x34\xda\xb0\xfa\x54\x95\x46\x22\x92\x06\xe7\x59\x9f\x72\x70\x52\xca\x48\x2b\xa0\x5f\xe6\xa9\x66\xca\x84\xc0\xe8\x8d\x20\x4c\xb0\x11\x0d\x7f\x63\x0c\x40\x66\x1f\x6c\x7f\xc8\x2f\xa7\xa8\x40\xf2\x0b\xb4\x6e\x9d\xcb\x5b\xd5\xb1\x51\x40\x07\x55\x20\x4f\x5f\x36\xea\x93\x48\x2d\x13\xa3\x26\x01\xba\x2f\x23\x72\xe7\xee\xe8\x1f\x5a\x21\xda\x84\xda\xfe\xdf\xd2\x82\x54\x70\xbf\x9d\x4c\x20\xd5\xcd\x74\xea\xf7\xc2\x50\x44\x55\x6f\xde\xd1\xfd\x14\x6c\x23\x6d\xd5\x85\x69\x88\xf9\xa0\x84\x20\x38\xaf\xea\x42\xb6\x8d\x52\xbd\xc6\x3d\x38\x72\xa7\xc3\xb4\x66\x20\xd8\xf8\x38\xa1\xbf\x03\xe4\x5f\x47\xed\x07\xb4\x41\xdc\x6a\x57\x07\xdc\x42\xb6\x63\xd6\x37\x62\xeb\xd2\x49\xbe\x23\x7d\x03\x31\x4f\xa7\xd2\xe0\x0d\x17\x77\x1a\x77\xa7\x4e\x51\xab\xf2\x4a\x33\xb1\xe0\x00\x4c\x50\xd4\x39\x44\xe0\x97\x57\x3d\xad\x15\xf5\x57\x6b\x34\x13\xd6\x80\xb6\x9e\xf1\x87\x95\xf8\xaf\xd3\xd3\x77\x6f\x66\x89\xeb\xcf\xda\xfc\x2d\x27\x99\x49\x46\xb0\x77\x5a\x2f\x93\xd2\x90\xbf\x38\x6f\x89\x54\x37\x23\x1b\x6a\x82\x9c\xdd\x9c\x46\xf3\x91\xb9\xc4\xe5\x82\xe2\xb2\x0b\x2c\x01\xd2\x1b\x46\x32\xe4\xcc\x6e\xa6\xdf\x10\x62\x9d\x3d\x8a\x4f\x84\xed\x81\x79\x5d\x10\xa9\x92\x0b\x82\xf6\xe0\x56\x83\x10\x19\x82\x84\x36\x9c\xb2\x7c\xdb\xba\xbd\x62\x03\xd6\xdd\x12\xe6\x06\x94\x00\x32\xdc\xda\x7a\x46\xe3\xf5\x07\x5d\x38\x68\x51\xd2\x07\xfb\x33\x15\x36\x2a\xfe\x57\x1e\x97\x48\x66\x8a\xe3\x50\x35\xa3\x36\xf7\xe5\x9a\x23\xe9\x74\x40\xde\x09\xa9\x8a\x58\xe4\x82\x54\x20\xe7\x7c\xe4\xc8\x45\x27\x49\xc8\xda\x86\xd6\x11\x6b\x8c\x20\x88\x80\xe1\x75\x14\x0d\xca\xd8\xfd\xd9\xe9\xe5\xe5\xd5\x8d\xe7\xf2\x4c\x59\x75\x41\x67\xd1\x37\x2e\xfe\x66\x34\x2e\x8b\xc2\xc1\xf8\x10\x90\x15\x41\xf8\x38\x20\xad\x71\x0c\x2e\xdc\xf8\xd6\x3a\x25\x97\x0d\x76\x73\xc3\x63\x91\x1a\x45\x3c\xfe\xe2\x98\x82\x92\x7c\xe4\xe3\xf1\x53\x62\x36\xc6\x2b\xfe\x9f\x84\x66\xda\xc0\x34\x0e\x6a\xf6\x16\x74\x1f\x6e\x4a\x03\x68\x8a\x91\xd9\x16\x6c\x6f\x97\x43\x02\x25\xdc\x37\x60\xa4\xb7\x29\xbc\x6b\x27\x6c\x85\x6a\x5a\xd0\x20\x23\x77\x57\x57\xbf\xef\x70\xbe\xb3\xfc\x49\xf2\x0a\x87\x75\xcd\xab\xb5\x70\xdb\x3f\xbb\x1f\x92\xcf\xa9\x41\x2c\x66\xd0\x39\xfd\x7a\xd6\x6d\x39\x52\x8d\xb8\x6d\xf7\xfc\x5b\x52\x18\x48\xdf\xc2\xdf\x27\x6c\xdd\xd0\x54\x5e\x54\x3b\x3a\x48\x49\x7c\x64\xb7\x35\xad\x27\x55\x79\xc1\x96\x8a\x3b\x33\x80\x0d\xc3\xe6\x51\x66\x91\x95\x5c\x86\xf0\x4a\xe4\x4e\x0c\x4b\x85\x6d\xb1\x60\xf4\x62\xfa\x4a\x83\x69\x31\xbb\x66\x72\xbf\x2b\x43\xd4\xa9\x8b\x42\x17\xfa\x9c\xfe\xb5\x15\xc2\x43\x25\x9f\xef\x30\xa4\xc1\xfd\x05\x97\xe9\xfb\xbd\x26\x02\x58\xb0\x86\x35\x5b\x56\x3d\x09\xf9\x7c\xd7\x03\xaa\x37\xed\x20\xe2\x92\xb8\xfe\x20\x29\xcb\x99\xa8\x6b\xb0\xa8\x58\xd5\x55\x9f\xf1\xc1\xbd\x91\x90\x76\x6a\x36\x5f\x8b\x50\x14\x63\x5e\x3c\xc8\xe9\xfb\xdf\x4e\xcf\x2f\x7e\x9b\x6d\x0a\x8b\x70\x51\x7c\x6a\x68\x4b\x80\xd1\xa2\xbc\xcd\x77\x6b\xb3\xbd\x61\xc2\xc8\x48\x7f\x45\x86\xde\x86\x20\x35\x89\xf0\x77\x2f\x67\xa4\xdc\x8f\x78\x63\x39\xdf\xb1\x10\xfc\xfd\x11\x8b\xd4\xd0\xad\xf3\xf5\x86\xa9\x61\x0b\x0f\xdb\xa7\xd8\xe7\x9f\xb1\xb5\x31\xd5\xb8\x90\xc8\x1b\x9a\xe8\x6d\x0d\x8b\xca\x77\xd7\x35\x24\x2c\x3f\x2c\x3d\x4e\xdc\xa6\x2c\xe5\xc7\x69\x7c\xbe\xde\x95\x03\x22\x17\x3c\x1a\x8d\x5b\x4f\xba\x2c\x17\x7a\x89\x24\x58\x17\x85\x98\x21\x9c\x39\x33\xbd\x80\x1d\xe9\x2c\x73\xab\x2e\xe8\xa0\xcc\x33\x80\xf8\x54\x8b\x91\x7b\x23\x99\x12\xb4\x8a\x08\x39\x08\xdf\xb1\x11\xd5\xfc\xf7\x79\x18\x80\x9e\xc8\xa6\xb0\x9d\xa6\x5b\xe4\xd6\xed\x35\x84\x32\x73\x9c\x6a\xbc\xc9\x70\xdf\x25\xc0\x54\x18\x5d\xc2\xec\xad\x60\xfe\xbc\x3d\x64\x6c\xca\x01\x4b\xde\x1e\x12\xc4\x60\xd0\x81\x96\xe1\xbc\x94\x4c\x30\xc8\x75\xb5\x95\xdb\x52\x54\x50\x95\x12\x48\x89\xc4\xd5\xbf\x24\x82\x14\xb7\x42\x58\x68\x5c\xa1\xe2\x02\x62\xc4\xbf\x80\x5f\xf5\x2c\xaf\x8b\x69\xf9\xf9\xb7\xd9\x9c\xf6\xe8\xdd\xb7\x81\xfc\xce\x97\xad\x58\x68\xff\x86\x24\xab\xbd\x3a\x40\x3f\x48\x2a\xb1\xdf\x7f\xc1\xaf\x1d\x07\xe6\x89\xb7\x95\x13\x89\xfe\x62\x0b\x6d\xa2\x77\x7c\x98\x19\x25\x2c\xa1\x2a\xdb\x20\xe9\x34\xe4\x1c\xbf\xef\x78\x96\xa2\x7a\x3c\x4f\xff\x95\x7f\xa5\xaf\xf8\x97\x4e\x85\xb7\xb1\xdb\xa3\x58\xe1\xc1\xc6\x0e\x23\xd5\xc0\x71\x34\xdc\xd3\xef\x69\x09\x6f\x09\xb0\xaf\x71\x2d\x06\xc8\x31\xd1\xc9\x76\xc7\x3e\x7c\x5e\x77\xeb\xed\x1d\xe5\x20\xc0\x9c\x33\xf9\x0c\x0b\x5a\x70\xe6\xfb\xa8\x8d\xc4\xb1\x0a\x65\x11\x7d\x5b\x42\xde\xa2\x7f\x5a\x96\x11\x70\xd6\xe7\x30\xd8\x0a\x10\x91\xdc\x7f\x4e\x6f\x28\x47\x21\xca\xb0\x28\x51\x50\x94\x0f\x6f\x15\x61\x1b\x75\xe0\xb8\x9c\x20\x92\x5f\x97\x5d\x4f\x28\x82\xf2\xeb\x7e\x24\x3c\xc6\xaa\x97\x50\x42\xa4\x12\x0d\x74\x15\xa3\xbc\x24\x13\x98\x3c\xdb\x9c\xc3\xc6\xde\xe7\x7b\xf9\x49\x98\xd6\x6b\x48\xaf\x25\x25\xd9\x08\x84\x16\x50\x84\x4b\x3b\x78\x9c\xeb\x4a\xc3\xef\x2c\x9d\xd8\x00\x66\xe3\x81\x58\xc9\xe0\x16\x54\xba\x18\x94\xdf\x8a\xbc\xff\x92\xa5\x7d\xcb\xcb\xc1\xbf\x52\x0b\xeb\x70\xf9\x1b\xda\xfe\x62\xdd\xbb\x90\x94\x2b\x29\x24\xe2\xe8\x9c\x2f\xdc\x59\x9e\xc5\x74\x5e\xf1\x7f\x97\x4b\x04\xa3\xfb\x87\xfe\x27\x8a\x79\xce\x55\xcd\x4e\xae\x5d\xf9\xec\x4c\x78\x9c\x14\x62\x39\x46\x85\xd9\x76\x9d\x2f\x4a\x17\x43\x0a\x20\xf0\x6d\xbe\xf2\xa5\xc0\x24\xfa\xb1\xe3\x7d\x4e\xe5\x8f\x68\x3b\xd3\x2f\x2b\xa1\xcd\x40\x67\xa1\x2b\x3a\xe3\x9f\x85\x15\x12\xee\x39\x2a\xd1\xc6\x10\xf5\x1f\x96\xd1\xf9\xc1\xbc\x49\x4c\x7a\x97\x2c\x5d\x73\xda\xa4\x8e\x41\x0d\x47\x4d\x21\x31\x1d\x83\x39\xda\xf2\xe6\x48\x4d\x3a\x18\x38\x76\x1e\x72\xa5\x26\x07\x10\x7a\x10\xe1\xf8\x19\x97\xcc\x38\x1c\xd8\x6d\x88\x53\x38\xe1\xb0\x29\xa6\x40\xa5\x03\x8e\x9f\xe2\xc0\x40\xdf\x65\xa1\x7a\xd2\x54\x25\xe1\x2a\x45\x36\x3f\x68\x1d\x61\x26\x05\xbb\xf8\x8e\x54\xd9\xb0\x1f\x0f\x5c\x56\xab\x5c\xb8\x8c\xb0\x0a\x2f\x32\x1a\x26\x08\x49\xa7\x8f\x3e\xfe\xf0\xa9\xe3\x96\x9d\x19\xe5\xe9\xa3\x8f\x3f\x7e\x22\x56\x8c\x7f\xcc\x8b\xad\xf6\xb6\x2d\xef\xab\x66\x87\x3b\x87\x9a\xf4\xa4\x86\xc8\xe3\x4b\x8e\x32\xd6\x2c\x59\x76\x93\xe0\x3d\xcd\xc5\xe5\x8b\x66\xdd\x78\x9a\xc4\xaf\x21\x80\xa8\x0a\x8f\x94\x54\xba\xb8\x18\x64\xeb\x16\xe3\x11\x5c\x38\xf5\x60\x41\x04\xb2\x2c\x2a\x6e\xe7\x37\xfa\x17\x17\x0c\xdc\x55\x71\xa1\x8b\x54\x93\x01\x22\x5e\xcd\x2e\xcc\x8c\x5b\x51\xa7\x0f\x40\x9d\xae\x32\x09\xe6\x25\x59\x35\x50\xd2\xc1\x22\x9b\x08\x92\x8c\xfa\x6b\x99\x63\x55\xb5\xdc\x1a\xe2\xb6\xd9\x8a\x87\x52\xf1\x67\x69\xcb\xc7\xfd\x2c\xd3\x5d\x7b\x15\x55\x46\xea\x23\x85\x55\x47\x8a\x0d\x44\x01\x73\x0f\xd8\x90\xdf\x97\x41\xf1\x04\x13\x09\x4a\xa7\x19\xc9\x10\xa0\x90\xd3\x96\x13\x8f\xba\xa8\x6f\x3a\xc7\x77\x65\xa6\x9c\x94\x76\x3a\xfd\x4a\xf1\x6b\x38\x04\xe6\xa9\x53\x7d\x5b\xcb\x83\x19\x11\x42\xe6\x2b\x92\x87\x24\x26\x52\x0e\xee\xe0\x40\x23\x8c\xaa\xb7\x5f\x55\x61\xc5\x6a\xd4\xbc\xd4\x72\xd5\x27\xb1\x63\x7b\x01\xe1\x86\x61\xc1\x84\x56\x13\x96\xfa\x49\x9f\xd3\x8c\xf9\x08\x49\xbf\xb3\xcb\x72\xdf\xc7\x93\x2c\xc5\x61\xc5\xff\xc3\x02\x77\xcb\x43\x9b\xca\x84\xa4\xb4\x45\x34\xae\x39\xfe\xf6\xc3\x89\x0b\xd6\x7b\x7c\xa0\xe6\x9e\x6c\x36\x4f\x8a\xe2\xf1\xc4\xac\x03\x7a\x72\xd3\x1e\xd8\x1d\x95\xa3\x0d\x08\x2b\x68\x29\xd8\x9c\xd3\xb8\x63\x80\x68\x9d\x3e\x70\xc8\x43\xc9\x5a\x47\x5a\x78\xbc\xc1\x4f\x12\xac\x5d\xd7\x90\xc2\xdf\x6c\x09\xed\xce\xbe\xc3\xc6\x08\x09\x02\x0b\x67\x32\x70\x3e\x06\x45\x83\x58\xd5\x07\x87\x67\x78\x10\xa7\x58\xc7\xba\xec\xe6\x08\x4a\xe4\x9e\xe9\x51\x84\x04\xec\xc4\x23\xd5\xb1\x94\x09\xc0\x29\x86\xe2\xfb\xfe\xf7\x64\x2a\x53\x9d\x4f\x91\xc0\xe7\xd8\xca\xd4\x95\x77\xcb\x9b\x09\x7d\x23\xb6\x40\x52\xbe\x28\xb8\xaa\x02\xfc\x9c\x85\xbf\x3d\xd8\xaa\x69\xee\xe4\xba\xce\x1c\x49\x5f\x42\xfa\xbf\x15\xf2\x6d\xe0\xd7\x71\xe9\x3c\xef\xaa\x45\x78\x57\xff\x57\xce\x98\x18\x62\xc1\x6b\xdc\x66\xff\x10\x39\xe5\x1c\xbf\xd2\xff\xc5\x84\xe1\x40\x34\x30\xe0\xca\xae\x67\x5d\x73\x78\x80\x2b\x55\xc7\x6c\xd0\x95\xfa\x91\xc7\x7d\xa9\x8f\x93\xd5\x80\x69\xfb\x93\x73\xf0\x1f\xab\x62\xf4\x31\xd4\xdc\xd9\x74\xea\x1c\xa1\x23\x5f\xff\x94\x8f\x3f\x0e\x45\x7c\x80\x50\xdc\x50\x5c\x94\x13\xeb\x23\x9a\xbc\xb2\x40\xa9\x31\x98\x33\xe7\xf9\xe0\xa8\x58\xd9\x67\x63\x75\x2d\xbe\x4f\x04\x48\x71\x20\x15\x67\xc5\x51\x59\x44\xd7\x72\xb7\xd9\xdf\x6b\x40\x90\x35\x6c\xbf\x7c\xad\xc3\xfa\xc5\xb3\x0f\x08\x91\xe4\x68\xb3\x4e\x8c\x25\x1a\xea\x25\x6e\x7f\x31\x03\xe6\xee\x5a\x10\xfb\x16\x86\xf6\x1d\xe7\xd1\xf1\x77\x7b\x24\x6e\xc0\x86\x8a\xb2\x80\x7c\x06\x51\x32\xc0\x7d\x60\x6b\x18\x00\x1a\x52\xae\x88\x3f\x89\x6f\x42\xaa\xe5\x51\x94\x99\x04\x34\xc2\x00\xa3\xd6\xcf\x79\xbe\xb8\x73\x23\x62\xf6\x57\xb6\x3d\xe2\xbb\xc6\x68\x67\xff\xf2\x02\x72\xd4\xb3\xed\x8b\x27\xb0\x21\xc8\x55\x70\xcc\x42\x36\x78\x75\x1b\x20\x04\x3e\x16\xf6\x99\xdc\x57\xc5\x8e\xc8\x9b\x17\x63\xf6\xec\xe9\xf6\x45\x5c\x9f\x28\x02\x76\xa5\xa3\x6d\x0c\x16\x8e\x95\xda\x0a\xf7\x4a\x38\x80\x12\x91\x7c\xb7\x3e\x40\xb5\x43\x0f\x47\x77\x51\xc0\x8a\x02\x52\x37\x76\xf2\x99\xf8\x86\x31\x4e\xcc\x00\x8c\x07\x41\x60\x04\x76\x30\xec\x12\xcd\x02\xd2\x86\xa3\xc1\x68\x76\xa2\x29\x71\x60\x0c\xac\x67\x3e\x5e\xd0\x0d\xcd\x2a\xb4\xc7\x87\x17\x1b\xd4\xd3\x09\x43\xba\x03\x65\x57\x9e\xe7\x98\xa2\xb4\x16\x05\xe6\x73\x16\x64\x1f\xaf\x30\x70\x2c\x46\x6d\xc5\x8e\xc5\x60\x80\x72\xd4\x1c\x6b\xe7\x6c\xb2\x0d\x75\x7f\x04\xad\x20\x2c\xb8\x42\x00\x68\xa6\x77\xd5\x24\xa4\x29\x1d\x46\x60\x6a\xe9\x7e\xd5\x04\x37\x25\xc4\xdb\x89\xcd\x1a\x0e\x64\x16\xcf\x75\x2f\xe7\x83\xe2\x45\x4f\x8b\xc1\x31\x62\x9b\xcf\xce\x12\x44\xdd\x6f\x76\xc4\x5b\xd6\x15\x2d\x3a\x8e\x0c\x7d\x71\xe1\xea\xfa\x06\x77\xd9\x89\x17\x12\xa3\x59\x32\xbd\xa6\x7f\x59\x91\xaa\xc5\x71\xb1\xfc\xf0\x01\x87\x2b\x2c\xd3\x66\xb1\xe0\x20\x85\xaa\xd6\xbb\xa2\xfb\xd2\xdc\x69\x75\xb1\x96\x80\x85\x30\xdc\xc3\xf8\xae\x18\xce\x52\x3c\x6e\xc0\x4c\xa0\xdb\x96\x0b\x12\x4a\x66\xe9\x5b\x12\xd1\xf8\xc6\xbc\xbc\xa9\x00\x86\xf9\xa0\x9d\xcd\xcd\x04\x06\x2f\xd6\xf2\x66\xe3\x03\xd2\x3d\xbd\x62\xa7\x24\xe6\xbd\xe5\xa0\x48\xd1\x46\xb9\x80\xc4\x89\x72\x7d\x2b\x01\xae\xec\x51\x84\x28\x27\xf7\xf4\xd9\xab\x21\xd7\x97\xd9\x14\x88\x06\x34\x54\x03\x8e\x59\xdc\xea\xe2\x99\x6d\xcb\x96\xc5\x11\x0b\x6a\x0a\xe3\x59\x86\x63\x82\x1a\x67\xe3\x7a\x23\x6c\x01\xcb\x07\xc1\x55\xae\xe0\x9d\x30\x2f\x66\x99\xcf\x9c\xe5\x66\x1c\xde\xca\xb5\x3b\x3e\xe9\x08\x5f\x88\x19\x37\x10\x39\x3f\x70\xb7\x86\x83\xa7\x77\xba\x1c\x16\x2a\x06\x84\x72\x3f\x13\x23\xd2\x03\x99\x11\x24\xae\xa0\x11\x84\x77\xda\x03\xc8\x3c\xf7\x43\x16\xa6\xe0\x5e\x0e\x78\x1d\x51\xa2\xee\x29\xb4\x18\xde\x46\x16\xf2\x7d\x60\x1b\x05\x54\x1e\x3d\xa6\x83\x19\xea\x2d\xbc\x67\x7c\x85\xec\x05\x53\xef\xb3\xa7\x48\xda\xcd\x43\xa3\x3c\x7e\xbb\x23\xa0\x38\x7e\x97\xa1\x21\xfc\xe1\xe8\x6b\xcb\x65\xde\x16\x16\x82\xaf\xd4\xcf\x1e\x66\x50\x79\x18\x61\x95\xaf\x49\x22\xd7\x26\x68\xb7\x12\xc8\x1d\x9b\xd7\x88\x50\xf8\xe5\x19\x53\x42\x98\xf3\x17\xb2\xb5\x38\x78\x85\x08\x7e\xb7\xe5\x3d\x20\x1b\xca\xfa\xc1\xb4\xbf\xfb\xd3\xf5\xd5\xe5\x49\xfa\xc7\x93\xfd\x7e\xff\x84\xab\x3f\xd9\xb5\x6b\x0e\xf3\x28\x38\xc4\xff\x7f\x5e\xbc\x3d\x49\xcb\x7e\xf1\xfd\x8c\xa4\x77\x6c\x0d\x2f\xf6\xaa\xf7\xfb\x96\xbd\xf2\x4c\x96\xac\xd9\xfd\xf3\x5b\x66\x2b\x77\xc1\xf4\x9d\x94\xf0\x66\x58\xc8\xb4\x79\xd9\xcd\xba\xa4\x54\x20\x56\x26\x2f\x31\x96\xa4\x2b\xe1\x2e\x28\x12\xbe\x00\x58\xb5\xe5\xfb\xc0\xe8\x10\xe1\x06\xf9\x1d\x7b\x0f\x77\xeb\x42\xe8\xd4\x38\x1a\xcd\x4e\x51\x56\x16\xbf\x0c\x5b\x82\xd1\x19\xcf\x42\x3c\x4f\xff\xc4\x8a\x1e\xa3\x54\xa8\x80\x8b\x8c\x0a\x00\x1c\xd2\x12\x76\x58\xaa\xf7\x5a\xcb\x61\x81\x37\xff\x9f\x97\x3d\x02\xe1\xa6\x68\x43\x46\xee\xc6\xe6\x57\xd3\x36\x2a\x9d\x6b\xd4\x58\x2b\xdc\x5b\x9c\xda\x11\x35\x0f\xf6\x00\x9f\x4b\xfb\xe1\x3e\x18\x1e\x49\xba\xc9\x3c\xbb\xd7\x4d\x36\xe2\xf8\x0a\xf8\xb9\x7d\xa6\x12\xc4\x48\xa2\x0b\x7a\x50\xc9\x6e\xd4\x83\x84\xc8\x64\x3a\x4b\x8b\x50\x47\xd8\xcc\xb9\xcb\x8b\x8f\x20\xa3\x1a\x30\x90\x98\x64\x18\x21\xdd\x9a\xc4\xbc\x2c\xdc\xe1\x7c\x98\x45\x91\x51\xd7\x0c\x82\x78\x28\x76\x1b\x9a\x8b\x6d\x14\x0d\x16\x8a\x19\xd2\xaa\x45\x3b\x48\x54\xc6\xa0\x70\xf8\x5e\xd1\xa0\x98\x35\x0b\x79\x10\xed\x4c\x52\x21\xb6\xb6\xeb\xe6\x60\x01\x73\xe7\xf8\xa5\x91\xe8\xe1\xcc\x3c\x98\x4e\xca\x43\x06\x12\x7c\x93\xc5\xcd\xfd\x35\xb8\x93\xac\x62\x40\x7d\x48\x05\x86\xbd\xe9\xa1\xa8\x17\x59\x65\x26\x86\x37\x11\x73\xe5\xa0\x86\xd1\x61\xe7\xae\x87\x23\xd1\x61\x71\xd5\x30\x42\x2c\xa8\xfa\x05\x11\x62\x31\x92\xc6\xf1\x5f\x7e\xaa\x5f\x10\x02\x36\x35\xe9\xc0\x00\xa1\x64\x3c\x85\xf8\x89\x0a\x53\x86\x88\x22\x9c\x9b\xb7\x44\x84\x66\x07\xd1\x0d\x68\x2b\xdc\x36\x23\x85\xef\x4b\x74\xcc\xa9\x91\x78\x94\x04\xc8\xfd\x9c\x59\xa2\xa8\x6e\x6f\x67\xf3\xb6\xd9\x77\x1c\x82\x86\x57\x87\xd8\x29\xc6\xbf\xd3\x6b\xfc\x16\x90\x6d\xde\x0a\x51\x48\x42\x32\xc5\x89\x43\x99\x92\x90\x4c\x3e\xda\x46\xaf\xbe\x9c\x53\x09\x1e\x5a\xe1\x47\x98\x38\x72\x5c\x4a\x66\x52\x85\xd8\xf9\x3e\xe3\x14\x42\xe7\x60\x22\x61\x55\x1c\x95\xae\x39\x47\xc1\x38\x69\x08\xb7\x40\x1c\xb6\xad\x5a\x2c\x3f\xe4\x30\x1f\x93\x03\xc2\x32\x38\x02\x23\x62\xa8\x20\x68\x79\x90\x30\xa4\x87\x20\x0c\x97\x1e\x42\x11\x84\x4d\xff\xeb\x9b\x4b\xf9\x09\xb7\x9c\xde\x6c\x80\x5f\xee\x25\x07\x48\x98\xb3\x6f\x36\xe5\xf4\xb3\x32\x71\x9e\x8a\x7e\x6a\x8f\x39\xe2\x97\x83\x28\xda\xfc\x16\xb6\x4a\xfe\xef\x72\x49\x98\xf3\xd5\xde\xb5\xe5\x93\x61\x35\x42\x8e\xa0\xfa\x1a\x09\x97\xaf\xb6\x46\xfe\xe7\xf2\x72\xb6\x2b\x06\x38\x7c\x54\x78\x8c\x98\xeb\x90\xe8\xee\x11\x1d\xb4\x15\x2b\xe0\x4a\xa0\x83\x0e\x41\x1d\xfe\xb2\x3e\x68\x07\x0f\x23\x1a\x44\x9f\x2f\x5d\x20\x5c\xbe\x14\x77\x88\x2f\x83\x68\x6f\xb7\xab\xa2\x3a\xfe\xc6\xbe\x99\x14\xbc\x6b\x98\xca\xf1\xf4\xd8\x22\xf4\x38\x53\x26\xbb\x9a\x71\x41\xa6\x5b\xcd\x86\x0b\xe1\xdc\x32\x8a\xb3\x14\xbf\x1d\x94\x49\x2a\x4c\x2e\xd9\xa6\x08\x84\x15\x21\xa0\xf0\x58\xb9\xc8\xdb\x3b\x7e\x8b\x08\x8e\x22\x6b\x60\xdf\xea\x8d\x18\xfe\x1f\xae\x98\xbe\x81\xf5\x4e\x52\xa3\x0e\x63\x3f\x25\x6a\x43\x67\x32\x66\xea\x2a\xb0\x74\x25\xb7\xaf\xde\x4a\x4a\x1e\xaf\x1c\x52\xc6\x38\x22\x94\xca\x9e\x0c\xd7\x2d\x80\x77\x88\xfe\x4b\xf9\x7f\xff\xf7\xff\x21\xf6\xb4\x6d\xe8\xb4\x44\xac\xb2\x5e\x93\xf5\xeb\x6e\x71\x2e\xfe\xc5\xb2\x27\xe0\xd1\xc1\x40\x04\xfd\xa9\x86\xff\x52\x6a\x44\xa3\xfc\x9c\x91\xd1\xf7\x35\xdb\xa8\x62\x22\x87\xb6\xe3\xc9\x1c\xf6\xf1\x61\x1b\x46\x54\x99\x9e\x11\xee\x9a\x9e\x2d\x2e\x16\x4d\x2e\xbf\x28\xd1\x4d\x1f\x29\xc9\x47\xd2\xa9\x3f\xf9\xcb\xdc\x6e\x21\xa2\x8b\xdc\x50\x71\x3c\x8c\x21\xec\x15\x93\xdf\xf8\xed\x46\x51\x19\xe5\xe5\x08\x66\x2d\x2e\xbc\x4d\x2e\x57\x4a\xe8\xbd\x6b\x24\xec\xe8\x71\x67\xf1\xf7\xfa\xa8\x08\x22\xdc\x27\x2e\x41\x84\x81\xfd\xa4\x31\xaa\x53\x42\x2e\x8d\xaa\x3b\x26\x7a\xca\x15\x91\x1a\x66\xff\x31\x31\xb0\x48\xd4\x4f\xc0\xd1\x03\x9c\xe0\x7b\xbd\xfc\x40\x26\x93\x9f\x58\x78\xdf\x20\x83\xf6\x35\x32\x70\x67\x1d\xf1\x11\xfc\x3f\xc1\x4d\x41\x35\x52\x70\xae\xa6\x34\x7f\x70\x1b\xb1\x8d\x5e\x5e\xf2\x31\x24\xb8\xa5\x1c\x3d\x75\xc4\x8d\x03\x51\x13\x2e\xa2\xd1\xdd\x75\xac\x0c\x72\x1f\x82\x8e\x22\xf1\x1e\xaf\x61\xb5\xd3\xab\x2e\xdc\x16\x71\x39\x75\x26\x2b\xc9\xe0\xe6\x34\x3f\x31\x52\xf3\xa3\x61\x86\x65\xd7\x4d\xb0\x65\x56\xe2\x3f\xf2\xd5\x78\xbd\xf2\x39\x6d\x9e\x5f\x04\x9e\x63\x34\xaa\xae\x0b\x84\x04\xd4\xf1\xd9\xe9\x9a\x14\x84\x75\xa4\xcc\xa0\x21\x16\xe5\x7e\x39\x12\xcc\x36\x7e\x65\xe0\xeb\xc3\xd9\xc6\x6d\x3c\x1c\xd0\xf6\xcf\xba\x2e\xa6\x6f\x10\xba\xe2\xf1\x55\x42\x57\x34\x75\xa7\xf0\xdf\xe0\x48\x20\x92\xd2\x61\x8c\xf6\xf6\x51\x4f\x82\xd6\x71\x86\xe8\xe3\xaf\x3b\x7c\xbd\x3f\x21\xba\x53\xff\x05\xd2\x5e\x3c\xe3\x40\xd0\x8b\x46\xe5\x10\xc2\x06\xab\x38\xd6\xfa\x98\xf6\xe6\x05\xd7\x88\x67\x0c\x75\xbc\x51\x68\x35\x66\xfa\x60\x95\x38\xd0\x3a\x1c\xa6\x33\x4f\xf9\xd0\x64\xb3\xe2\x48\x88\xb5\x98\xf3\x3e\x1f\x67\x7d\xc4\x3e\xfc\x50\xc0\xf5\x70\x94\xcc\x6b\xdc\xfb\xab\xe1\x20\x1f\xac\x11\x1e\xb3\xb1\x0f\xe6\xdf\x12\x84\x3d\x6d\x83\x65\x1d\x70\x6f\xa6\x18\x1c\xca\x86\x3f\x6f\x50\x60\x1d\xc2\xf0\x25\x4a\x86\x67\xb8\x1e\x73\x3b\x3c\xab\xda\x0f\x07\xcd\x57\x34\x84\x7b\xcf\xf4\x82\xb1\x5d\xdf\x19\xe4\x7b\xd6\x87\xdb\x51\x5b\x89\x98\xf6\x40\xf2\x1b\xe2\xce\x64\xc9\xb0\x7e\xdc\x47\x1c\x7a\x6e\xb9\xce\x0c\x7e\x81\x84\xcb\x27\xac\x2d\x4a\x44\x02\x9f\x49\xca\x95\xa8\xae\xa5\xef\x64\xf8\x41\xc8\x1b\x08\xcf\x61\x09\xf5\xb9\x7a\xea\x29\xae\x39\x98\x92\x16\xe5\xb0\xe5\x25\xcc\xdd\xa5\x60\x5e\x26\x01\x54\x71\x53\x47\x05\x09\xf9\xe7\x61\x5b\xf2\x1e\x9c\x9e\x9e\x97\xcd\x3e\x91\xa3\x73\xc6\xd7\xf6\x53\xb9\xb3\xaf\x39\xf1\x90\x24\x8f\x65\x14\xbd\x2b\x83\x39\x90\x98\x2e\x57\x63\xc6\xe5\x83\xe8\x60\x9c\x1c\x2e\x2e\xd8\x9e\xe0\x60\x01\x14\x52\x03\x02\x3a\x59\xae\x0f\x89\x63\xa6\xad\x42\x80\xf5\xdd\x8a\x24\x1a\xf5\x1b\x42\x7c\x49\xc7\x3c\xce\x51\x77\x27\x66\xdf\xc2\x8d\x4c\x0e\xfa\x14\x7e\xb8\xb1\x71\xc8\x93\x95\x6e\x1c\xee\x3d\x54\x3f\x8e\x10\xe2\x4b\xc6\xc1\xbd\x3c\xe5\x27\xe4\xb1\x88\x0f\x8d\x87\x94\x43\xbd\x60\x1a\x7a\x4f\xba\xe1\x10\x7d\x78\xed\x4d\x70\x5e\xc3\x03\x59\x0c\xe4\x0f\x36\x6f\x8e\x0f\x4e\x29\x11\x47\xd8\x84\x88\x20\x8e\xe2\xc9\x7b\x46\x9f\xdf\xe2\xbc\xd2\xa8\xe9\x40\x03\x17\xb0\x07\x9b\x3a\x85\x74\x5c\x5e\xa4\x83\x8c\x75\xa1\x72\x9d\x14\x7e\xfe\xe0\x15\x38\xbb\x21\x24\xf2\x5d\x78\x64\x40\xc0\xb3\x95\x2c\xe4\x3d\x22\xb7\xc7\x99\xd5\x05\xbd\x8e\x1b\x73\xac\x1a\x50\x8e\x45\x8f\xe1\x8c\x77\x86\xd2\x59\x60\x6c\x65\xa6\x7c\x62\x32\xab\x78\x5b\x0d\x6a\x93\x1f\x22\x07\x30\xdf\x8c\x62\x8d\x2c\xda\x35\xc7\x4f\xec\xf1\x50\xfc\x59\x2d\x8f\xfc\x38\x82\x39\x6a\x94\x99\x85\x5b\x7d\x4c\x20\x9e\xec\x96\x6d\xce\xb6\x70\x5b\x6b\x66\x16\x01\x29\xa0\xc1\x9f\xdd\x2c\xdd\x83\xc9\x9e\x1b\xc0\xc3\x46\x0d\x3d\x7e\x88\x29\x7c\xc5\x00\xc0\x36\x1e\x1e\x01\xd8\x82\x3c\x55\x44\xc3\x08\x58\xc0\x43\x03\xd1\x97\x8e\xbf\x7c\x20\xe0\x1b\x5f\x38\x90\x13\x1b\x85\x3e\x90\x51\x14\x93\xfb\xff\xa1\xf1\x0d\xd4\x1d\x10\x67\xf4\x02\xcb\x80\xe0\xa3\xaf\x4e\x38\xa2\x0f\x62\x21\xac\x59\x38\xc0\x34\x36\x43\x8f\x33\xdf\x54\x4d\x4b\x08\x55\xb6\xee\xc3\xf8\x8d\xf8\xea\x03\x47\x14\xf4\xed\x41\x45\x12\x9e\x5c\x7c\xf3\xc2\x5f\x34\x17\x25\x0c\xbe\x4c\x79\x95\xe7\x23\xd0\xfe\xe9\xc8\xe7\x63\xe4\x15\x6e\x71\x4f\x77\xd1\xa7\x4c\xc6\x0f\xa4\x3c\xf8\x38\x4d\xfc\x28\xcf\xf0\x75\xa6\x4e\x2e\xd3\x2d\x4d\x96\xb3\x87\x8e\x13\x1f\xbc\x71\x7d\x20\x1c\x6c\xf0\xb6\xfb\x82\xdf\x25\x68\xea\x4a\xfc\xfe\x17\x92\xe2\xa7\x29\xd8\x14\xa3\x76\x18\xbe\xe3\xe9\x83\x77\xfd\xec\x60\x5c\x64\x1b\x93\x0a\x02\x92\x0e\xca\x83\xc7\x52\x10\x6f\xd9\xda\xf3\x2f\xbe\x05\x8c\x04\x26\xcc\x5d\x30\x32\x1d\x07\x1a\xdd\x75\x53\x3d\x66\xec\xa8\x4b\xd5\x4d\xe9\xbe\x49\xc1\x4c\x82\x5f\x04\x28\xf8\x45\x00\x79\xf6\xfc\x24\xc8\x88\x70\x1e\x16\x6c\xdd\xdd\xeb\x28\x3b\x3e\xf8\x7c\x3e\xae\x99\xc4\x59\x7c\xb7\x24\xca\xc8\x17\xa3\x5e\xcc\x80\x1d\xe6\x49\x2c\x5d\x98\xc3\xc6\x44\x76\xd8\x45\xad\xc7\x57\x92\xc3\x22\x79\x67\x28\xca\xd2\xa7\x95\xe3\x99\x88\x4d\x35\xcc\x5b\x37\x4b\x7e\x23\x09\x46\xc8\x78\x7a\x2a\x3b\xc7\x6d\x5a\x48\x5f\xd4\x04\xe2\xad\xc3\x1c\xf8\xb5\xfa\xbc\x8b\x6b\x63\x0b\x86\x19\x7a\x45\x75\x04\x48\x3a\x75\xbe\x58\x61\xfe\xb3\x29\x42\x32\xd5\xd8\x11\x93\x7e\x54\x65\x02\x52\x9e\xbf\x4e\xed\xb1\xeb\x49\x18\xfe\xaa\x06\xde\x16\x0f\x4a\x39\x44\xb6\xce\xf4\xd6\x76\xa3\x77\xd2\x38\x5e\xd6\xdd\xd0\x4e\xaf\xb0\xe3\xba\x07\x2b\x05\xa7\x18\x5f\x00\xd0\x5b\xe1\x5a\x53\x24\x8e\x07\x8e\x33\xdf\xb2\x1e\x8c\x1a\xb9\x90\x7b\x5d\xad\xf3\x72\x02\x4b\x37\x16\xda\xe0\x88\xe4\x8b\xda\x18\x8c\xd2\x43\xb8\x66\xbe\x7e\xa8\xb0\x9e\xf1\x45\x19\x58\xe4\xa2\x41\x46\x6c\xcd\x40\x3e\xd3\xc2\x60\x88\x93\x4d\x7c\xc5\x20\xf9\x3d\xfe\xe5\xc2\xbd\x5f\x7e\xce\x4f\x5f\xb4\x73\xbe\x92\xc3\x67\x58\x29\xdf\x95\x68\xea\xd8\x02\x37\x5d\xfd\xa1\x91\x61\x40\xac\x73\x4f\x35\x7f\x6c\x6c\x6d\xd9\x1d\xea\x45\x86\xc7\xe4\xbb\x95\x3a\x2a\xdf\x97\x62\x2b\x7f\x3c\xa3\xbc\xa7\xb9\xde\x8b\x2c\xe1\xd2\xeb\x1e\xcb\xdb\x40\xdf\x2d\x28\x1f\x8f\xd9\xd3\x11\xf7\x04\x3c\x11\xb5\x4d\x80\x23\xf1\xac\xff\xfe\xc1\x8e\x06\x73\x09\x18\x62\x80\xdb\x16\x43\xe9\xcb\x2f\x9a\x41\xe0\x24\x0f\xa7\xc1\x64\xa0\xbb\x1f\xbc\x22\x7c\x04\x8f\x11\xf7\x1d\x5f\x05\xe5\xc7\x4c\xf8\x8d\x60\x0d\xf7\xd1\x03\xcd\x3e\x16\xa0\xc6\xa3\x23\x13\x0a\xfb\x7d\x60\x85\x1e\x47\xa3\xf8\xfc\x1c\xc3\x43\x48\x3e\x83\xb2\xdb\xe2\x5b\x54\xee\xfb\x27\x1f\xf0\x3b\x64\x0a\xf2\x2e\x51\xb6\x6c\xda\x86\x96\x07\x26\x62\x7b\xab\xe8\x95\xe5\x75\x13\x15\x60\x02\x3f\x64\x3b\xbd\x29\x66\x75\x2e\x90\x4d\xf2\x03\x5f\x1b\xf3\xb5\xfa\xa6\xcf\xd7\x56\x87\x2d\x90\x0b\xb5\x5b\xdf\x70\x81\xd5\x3a\xb5\x82\xa0\xa6\xd6\x69\xe6\x1c\xef\x89\x2a\x0a\x7c\xa5\x39\x01\x2c\xdc\x1c\x7c\x57\x8b\xd0\xb5\xdb\x66\x3c\x55\x5c\xf3\x91\xec\xf4\x2d\xb2\xd3\x1b\xce\x1e\xf7\x60\xa3\x72\xd5\x06\x83\x3a\x56\xef\xb6\x2d\x47\x75\x5e\xf2\xb5\xc5\x21\xbc\x61\x6e\x55\xe6\xdb\x11\xde\x5e\x53\xe6\x08\x6b\x80\x1c\x23\x00\xb0\xc7\xb1\x10\xd6\xaa\x0a\x28\x56\x61\x8d\x37\x94\x75\x0c\x1a\x11\x00\x43\x78\x7c\x25\xea\x48\x0d\x3d\xb3\x87\xa3\x52\x9f\xcd\x68\x54\xcd\xfc\xef\xf8\xa6\x92\x42\x5f\xc9\xcf\x00\x6a\xde\x34\x3d\x3f\x5d\xbf\x65\x71\x6b\x71\xe7\xd0\xf4\xab\xe5\xb3\xb8\xb5\xb8\x1b\x61\x4a\xa0\xc7\xa8\x12\xe8\xe3\xb8\xda\xf0\x9d\x69\xea\xab\xdd\x2d\xfa\x1d\x6d\x50\xd7\xe1\xc5\x35\xdf\xbf\xbe\x76\x05\xa3\x1e\x47\x35\x43\x0a\x1d\x56\x9e\xea\x79\x41\x42\x44\x39\xd9\xf5\x19\x97\x3c\xd8\xf7\xa8\x6e\xd8\xf9\xa8\xfa\xd4\x4e\xc1\x53\x7c\x6c\x74\x9e\xef\x16\x77\x65\xcf\x31\xe3\xab\x0c\x1e\xe6\xb0\xad\x77\x06\x96\xfe\x0a\xb0\xf4\x35\x81\xa5\x37\xf2\x61\xa4\x71\xab\x74\xe8\x6c\xca\x3e\x47\xa4\x40\xd0\xca\xab\x33\x5a\x01\xce\x2e\xf2\xa9\x5a\xb0\xce\x64\x2a\x65\xeb\x2e\x64\xc1\x27\x68\x41\x3f\xd9\x24\x82\xf7\xa9\x03\x99\x6a\x8d\xd5\x00\x39\xfd\x16\x87\x85\xbc\x33\xc7\x8a\x01\x8d\xe1\xbd\xe4\x04\xb0\x78\x0e\x88\x60\x8d\x47\xc2\x29\x8e\x77\x81\x08\xfc\x26\x66\x94\xc2\xc1\x3c\xb0\x30\x2e\x82\x7b\x97\xef\xba\x49\xc0\x6d\x2e\x9b\xe9\x28\xa4\x75\x6f\x80\xd6\xf3\x10\x4e\x3b\xed\x04\x95\xc2\x56\x44\x53\x93\xd8\x62\x7d\x8a\xc7\x3e\xda\x88\xd0\x62\x7b\x88\x07\x9f\x6e\x14\xd8\xcf\x7e\x89\x44\xc1\x44\x7a\x85\xcc\x2a\x39\x26\x6f\xe1\x95\x5d\x4b\x5b\x19\x2c\x51\x6a\xd3\xd3\xbc\xe8\xb3\x28\x9a\x67\x77\xa7\xdc\x35\x50\xcd\x0f\xef\x33\x6a\x8b\x10\x4c\x2d\x64\x25\x7e\x71\x5e\x23\x57\x04\x50\xde\x1e\x10\x4f\xd2\x3a\xac\x0c\xa5\xc1\x7d\xb3\x2f\x6a\xe0\x2d\xf4\x89\x60\x6e\x47\x5f\xac\xb4\xc7\x5a\xbe\xf0\xd1\x4a\x3f\x9b\x00\xc7\x70\x74\xc7\xd8\xad\xba\x2c\x44\xe7\xf0\xad\x97\x7c\x80\x5e\x06\x57\x0c\x47\xa0\xf0\x7c\x87\xdf\x58\x09\xdc\x8f\x86\x72\x38\xfa\xf0\x6d\x27\x0d\xe4\x1b\xb5\x10\xd4\x09\x3e\x88\xc5\xe1\xd0\x72\xd7\x68\x0a\x45\xde\x3a\x68\x18\x72\x8f\x7f\x02\xfa\x41\xd7\x52\x8c\x8b\xe9\x37\x89\xff\xbf\x3c\xcb\x1c\x0e\xc0\x3f\xce\x7c\xa4\xff\x7f\x97\xc7\x99\x87\x96\x59\xf7\x3a\x33\x5e\x9f\x9d\xe1\x72\x40\xbc\x8f\x23\xc7\x55\xb4\x9f\x51\x23\xdc\xa7\xc8\x88\x5d\xf9\xc8\xf2\x66\x5f\xb3\xf8\x8a\xd5\x06\x5b\x74\xd8\x5f\x70\x9f\x23\xea\x4d\x6a\x8c\xdf\x10\x8a\x87\x20\x39\x63\x6f\x91\xe4\xab\x35\x22\xd5\x67\x2f\x4a\xb5\x1e\xcd\x60\x92\x50\x17\x8d\xe5\x8d\xbe\xfd\xca\x9b\x5a\xb7\xf6\x60\xc8\xf1\xe6\x8e\x46\x2d\x95\xe4\xa6\xaf\x5d\x15\x99\x64\x26\x0a\x18\x4c\x45\x72\xc2\xeb\xf3\x92\x23\xaf\x91\xe2\x79\x7e\x49\x69\xfe\x38\x0a\x23\x18\xb1\x36\x13\x77\x1d\x34\x0a\xa0\x49\x5e\x15\x8c\x65\x18\x9f\x2a\xb9\xe1\xa7\x5e\x25\x47\xbf\x9a\x89\x0f\x66\x4a\xce\x1c\xf1\x43\x88\x72\x63\xe3\xd3\xf9\xa5\x75\xdb\xf7\x6d\x35\xdf\xf5\xd3\xef\xec\xba\xd2\x11\xb4\xb9\xfd\x99\x76\xd3\xcf\xc0\x76\x3b\x6b\xf8\x7a\xf7\xb9\x76\x07\xdf\x40\x19\xc0\xc9\x23\x01\xa9\x7b\xdd\xe2\x25\x7e\x6b\xe1\x86\x79\x64\xd6\xf1\xc7\x99\x2f\x88\xc5\x14\xe9\xf5\xa9\x96\xe0\xdb\x98\x6a\x1d\xc1\x27\x34\x8f\xae\x02\x43\x8e\xbe\xb5\xe9\x8b\x14\xaf\x28\x0a\x90\xab\xef\xf5\xf6\xf2\x94\xaa\xbc\x55\x7b\xf3\xf6\x9a\x92\x8b\xf6\x20\x0e\x23\x5d\x17\xf6\x18\xe8\x17\x29\xed\x03\x06\xa7\x17\xee\x9b\x9f\xc1\x4a\x6b\x93\xfc\x3d\xc1\x2c\xf8\x54\xb6\x36\x4e\xe3\x6f\xf4\x6b\x59\x6a\x30\x55\x5a\xe5\xd7\xde\x39\xf8\x77\xdb\x59\x3b\xc1\x55\xe4\x01\xd9\xeb\xbb\xbe\xba\x02\xa3\xc3\x28\xb6\xdc\xe2\xa0\x71\x87\x52\x48\xef\xe1\x59\x19\x75\xf0\x85\xaf\xf0\x86\x6d\x05\x87\xca\x03\x63\x9d\xbc\x6b\x18\x3f\xc2\x14\x02\x66\xb2\xff\xec\xf1\xb5\xa8\x61\xe7\x64\x1a\x57\x88\x5e\x61\x8b\x2a\x4d\x87\x01\x3c\xf4\xfe\x9a\x18\x05\x4c\x19\x77\x36\x6f\x55\xc6\x63\xd3\xb7\xc2\x3e\xf4\xb9\xe1\x00\xe4\x5e\x5c\x6b\x01\x84\x7d\x28\x3d\x00\x9a\xfe\xdc\xad\x02\x0c\x79\x8a\x66\x0f\xbe\x82\x1a\x7d\xfe\xd4\x6a\xda\xd7\xdc\x9a\x9d\x68\xdb\xf8\xda\xa2\xde\x31\x7a\x8f\x4c\x16\xb4\x0c\x7c\xea\x93\xc3\x41\x91\x76\xc4\x45\x61\x27\x38\xa1\xf8\xfb\x8b\x0f\x7e\x1e\xd9\x10\xcc\x26\xf7\x45\x26\x2f\xf0\x04\x75\x60\xf0\x5f\x20\x8c\x77\x5c\x89\xc6\x3d\xae\x41\xe3\x3e\x02\x2e\x4e\x60\xe3\xe7\xd7\xf8\x25\x2c\xc4\x8d\x98\x43\xcb\x94\x8a\x6c\xc2\x92\x37\xfc\x38\x45\x88\x83\x62\xee\x09\xc3\x7d\xb2\x72\x92\x34\xfc\x27\xbf\xc3\x6e\xf9\x63\xdd\xc1\x41\xe0\x73\xc3\x23\xcd\xe7\x86\xdf\x04\xf7\xb9\x53\x1f\xe9\x1e\x97\x7a\xcf\xfc\x77\x1c\x9b\xf2\xed\x56\xbe\x5b\xde\x7d\x8b\x2f\xb3\x7e\x1f\xd4\x08\x3f\xf0\x1d\xe7\x0e\xdb\xd0\xef\x89\x0e\x9a\x30\x66\x19\x6d\x99\x6a\x71\x04\x31\xee\xb3\x82\xd1\x73\xcd\x40\xbf\x7c\x9e\x56\x8f\x95\xe8\x7b\xc2\x43\x62\xf6\xcc\xd6\x91\x72\xc8\x68\x6d\x60\x1c\xd2\x1e\x7d\x68\x57\x3f\xee\xa6\xb1\xed\xee\x53\x86\xbf\x22\xdb\x8f\x70\xf2\x2b\xba\xc3\xcf\xe7\x72\xd0\xb9\x55\x89\xbf\x77\x3c\xfe\xd0\xb1\x82\xd9\x9b\xf1\xb0\x08\x8c\x9e\x97\x87\x29\x40\x5f\x97\x37\xc6\x20\x57\x9c\x38\xbe\x3b\x5b\xab\xf9\x5b\xae\x41\x21\xca\x3b\x7d\x0b\x7b\xb7\x1b\x77\xf4\xcd\xb5\xa8\x92\x7c\xea\xcd\x7d\xd7\x69\x5c\xd9\x6e\xeb\xb9\x45\xb4\xdb\x47\x93\x8b\xf8\xfb\xae\xdc\x51\xe3\xf2\x31\x36\x7e\xc8\x8c\x7e\xa6\x6f\xf1\xd3\xad\x95\x5c\x2b\x82\x36\xcc\xc1\xcc\xcf\xed\xa2\x11\x94\x62\xca\x71\xab\x74\x57\x6d\xf9\x58\xd6\x8f\xd1\xf0\xe2\x50\x0e\xce\xe6\x3f\x23\x27\x44\x72\xc8\x99\x2f\xf0\x7b\x7a\x80\x0a\x3b\x96\x02\xe3\x72\x23\x28\xa2\xf3\x26\x20\xa6\xd7\xbf\xbd\xbd\x1a\x40\x4e\x6c\x50\x2d\x99\xd8\xd0\xf1\xc7\xb6\xc3\xed\x2b\xae\x1c\x37\x05\xb8\x6f\xa6\x67\x20\x90\x47\x27\x20\x34\xe4\x3d\xb3\x20\x9e\xc9\x86\x94\xda\x8a\x7c\x2b\x3b\x46\xe9\x4c\x7e\xc7\x40\xc1\xeb\x8e\x02\x65\x8f\x3b\x8e\x7a\xad\xc3\x3e\x6b\x71\x43\x78\x7e\x20\x21\x02\x01\x3f\x90\x50\xdb\xc9\xe1\x19\x34\xa9\xac\xf7\x55\xa1\x82\xa3\xc0\xbf\xd3\x2c\x03\x35\x10\xdf\xb2\x41\x68\xd3\x6e\x98\x44\xb8\x95\x93\xde\xce\xf0\x2b\x5a\x3a\xdd\x88\xbc\x5f\x04\xd6\x6f\x43\x7e\xac\x5e\x6a\x18\xf0\x72\xe1\x10\x63\x06\xa5\x57\x67\xfe\xdd\x4b\xd8\x9e\x06\x93\x59\x57\xb7\xa5\xb3\x54\xe9\x6c\xde\x52\x5e\x04\xcc\x5f\xc9\xef\xec\x42\xa4\x7c\xf0\x8f\xbf\xb3\x3d\x98\x44\xd8\x94\xce\x64\xd4\xd2\xb6\x82\xf5\x30\xc0\x8b\x64\x4c\x63\xdc\xa0\x95\x6f\x07\xe0\xca\xb8\x87\xec\xd6\x3e\x98\x13\xec\x10\xff\xf5\x0a\x7f\x3e\xbb\xde\xf9\x5c\x9e\xec\x99\xa1\xf4\xe4\x62\x18\x9c\x5c\x16\x2d\x30\x5b\xb4\xf2\xb6\x0a\xff\xbb\x61\x3f\xae\x2b\x09\xf7\x9e\xe5\x75\x44\x7b\xc5\x4e\x2e\xdb\x68\xd2\xc3\xfb\xe8\x02\x41\x93\x15\x4c\x3c\x27\x16\x03\x94\x7f\x94\x8b\x5d\xe0\x56\xf8\x4d\x7e\xab\x1d\xcf\x37\xd3\x58\x70\xe0\xae\xc6\x83\x67\xef\x24\x27\x80\x99\x7a\x60\xc9\x86\x8e\x10\x47\x0b\x75\x3c\xda\xbf\xeb\x1e\xea\x0f\x43\x59\xc4\x85\x45\x39\xc8\xcf\x6c\x2d\x77\x2f\x06\x41\x18\x06\x1b\x4a\x21\x61\x5e\xf6\x43\x24\xa7\xb9\xb2\x89\x81\x5b\x51\x83\x4f\xc1\x6f\x67\x01\x2c\x44\xf1\xe0\x29\x72\x19\x83\x94\x7f\x2e\xc4\x2a\xf9\x28\x31\x0d\x9f\x06\x8f\xd3\x9a\xf9\x31\x08\xa3\x89\xee\xff\x3c\x92\x27\xe2\xe4\x92\x94\x55\xe2\x08\x22\x79\xe2\x2e\x80\x7d\xda\xb5\x8b\xa7\x8f\xc2\x87\xe5\xd8\x22\xe4\x01\xf8\x21\x3a\x2e\xfc\x49\x5f\x9d\xd3\x71\xc0\xa8\x41\x6d\xfe\x4d\x1f\xac\x93\xdf\x61\xbb\x62\xf6\x90\xa6\xbb\xff\xe4\x5a\xff\x5b\xa2\xc1\x16\xbe\x09\xcd\xc0\xcb\xf5\x5f\xd3\x90\x7b\xc3\x43\xe7\x67\xbf\x07\x78\xc1\x95\x69\x46\x88\xdc\x9d\x1e\x7e\xce\x40\x51\x85\x9b\xd7\x7c\x13\xc7\xe3\x89\x7e\x3c\x8c\xa8\xa8\xa9\x11\xa2\x9a\x0d\xdf\x41\xcc\x7e\xcc\xfc\x2b\x97\xb8\x84\x27\x05\x55\xa7\xef\x62\xc9\xb7\x22\x7e\x74\x2f\x5c\x26\x1f\xfb\xa6\x59\x7f\x4a\xf2\x25\xcf\x89\xfe\x26\x78\x42\x56\xe2\x75\x11\x93\x46\xc9\x44\x7e\x72\xea\x07\x6e\xf8\x07\xd2\x52\x89\x81\xe0\x71\xb6\x1f\x36\xc8\x90\xaf\x0d\x23\x63\x85\x0c\x7e\x7b\x18\x3f\x0b\xfc\x2c\xf2\x03\x7e\xed\xf1\x6b\x5f\x96\x77\x52\x19\x1c\x86\xaa\x93\xd6\xb7\x42\xce\x01\xbf\xf9\xb5\x31\x7c\xea\x1d\xfd\xe8\xb3\x7e\xf6\x03\x4f\xc2\xc9\xc7\x8d\x91\x6f\x3f\x28\x5f\x3e\xfb\xf1\xdc\x7f\x01\xe4\x11\xfb\xc7\x0e\x9a\x85\x14\xe5\x70\xf7\x9a\x25\xc9\x47\x60\x13\xa4\xcb\x6a\x83\x92\xa6\x5c\x1e\x87\x66\x4a\x92\xf2\xda\x7c\x9f\xf9\x71\x69\x0a\xb9\x7e\x54\x9a\x4a\xfe\x5f\x00\x00\x00\xff\xff\x61\x73\x28\xd3\xa2\x8c\x00\x00") +var _confLocaleLocale_enUsIni = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xc4\x7d\xeb\x72\xdc\x46\xb2\xe6\x7f\x3c\x05\xac\x0d\xad\xec\x08\xaa\x15\xb6\x63\x2f\xe1\x90\xe4\xa5\x49\xeb\x32\x47\x14\x75\x44\x6a\x66\x67\x15\x0a\x0c\xba\x01\x76\x63\xd4\x0d\xb4\x71\x61\x9b\xf3\x6b\x5f\x63\x5f\x6f\x9f\x64\x33\xbf\xcc\xac\x0b\x80\xa6\xe4\x39\x27\xf6\xfc\x21\xab\xab\xb2\x6e\x59\x59\x59\x79\xab\x42\xbe\xdf\x67\x45\xd9\xad\xd2\x67\xe9\x69\xba\xcf\xab\x7a\x5b\x76\x5d\xda\x95\xdb\x9b\xc7\x9b\xa6\xeb\xcb\x22\x7d\x59\xf5\xf4\xbb\xbd\xad\x56\x65\x92\x6c\x9a\x5d\x49\xa0\xaf\xe8\x5f\x52\xe4\xdd\x66\xd9\xe4\x6d\x41\x19\xe7\x96\x4e\xca\xdf\xf7\xdb\xa6\x65\xa0\x5f\x25\x95\x6c\xca\xed\x9e\xeb\xd0\xbf\xa4\xab\xd6\x75\x56\xd5\xf4\xf3\x8a\x52\xe9\xeb\x3a\xe9\x9a\x55\x95\x6f\xb3\xa0\x00\x19\x56\xfe\x53\xfa\x43\x5d\xa4\x57\x7d\xb9\x4f\x9f\x76\xbb\x7c\xbb\x7d\x9e\x77\xa8\xd2\x97\x69\xbe\x5a\x35\x43\xdd\x3f\x7d\x22\x05\xd2\x78\x33\xf4\xd6\xfa\xe5\xd0\x4b\xde\xb0\xb7\xac\x0f\xfb\xa4\x2d\xd7\x15\x4d\xac\xa5\xac\xf7\x9a\x4c\x0e\xe5\xb2\xab\x7a\x1e\xf4\x5f\x24\x95\xdc\x96\x6d\x57\x35\x3c\x9e\x3f\x4b\x2a\xd9\xe7\x6b\x06\x78\x47\xff\x92\xbe\xdc\xed\xb7\x39\x2a\x5c\x6b\x32\xd9\xe6\xf5\x7a\x10\x98\x37\x9a\x4c\x92\x81\x30\x57\xe7\xc0\xd9\x07\x4d\x26\xe5\x2e\xaf\xb6\x8c\x9f\xc7\x9c\xa0\x76\xbb\xee\xd0\x00\x8b\xef\x34\x49\x63\xcc\xfa\xbb\x7d\x89\x21\x3e\xbe\xa6\x54\xb2\xca\xf7\xfd\x6a\x93\x53\xce\x99\xa4\x12\x02\xda\x37\x34\xd6\xa6\xbd\x03\x9c\xfd\x48\x9a\x76\x9d\xd7\xd5\x3f\xf2\x5e\xc6\x7f\x19\xfc\x4c\x76\x55\xdb\x36\x3c\xf5\x0b\x24\x92\xba\x3c\x64\xdc\x0e\xe5\xbc\x2d\x0f\x61\x2b\x5c\xb2\xab\xd6\xad\xcc\x92\x0b\x2f\xf0\x8b\x5b\xe1\xb2\x9b\xa6\xfd\xac\x05\x2f\x38\x39\xaa\x4a\x83\xd0\xd2\xb8\xff\xbc\x26\xbc\x68\xe9\x05\x7e\x44\x00\x5d\x92\x17\xbb\xaa\xce\xf6\x79\x5d\x32\x8e\x4e\xf9\x17\xe1\x85\x7e\x25\xba\xdc\x59\x57\xf6\x7d\x55\xaf\x3b\x2e\x96\xac\xf4\x4a\xb3\x92\xa0\xcc\xe5\xf1\x78\xba\xec\xa6\x2c\x0b\x19\x51\x97\xbe\xa0\x74\xb2\x1f\xb6\x5b\x9a\xfb\x6f\x43\xd9\xf5\x0c\xff\x8e\x7e\xd3\x2c\xe4\x77\x52\x75\x1d\x25\x28\xfb\x35\x12\x09\x2d\x40\xbd\xc2\x90\xce\x90\x48\x92\x8f\x5d\x99\xb7\xab\xcd\xa7\x44\xfe\xa3\x47\x4e\x2c\x16\x8b\xa3\x4b\xc3\xe4\xa0\xa4\x20\x3d\x58\x07\xc9\xaa\x29\xf8\xc7\x19\xfd\xa3\xa6\xab\xba\xeb\x89\xa4\x3f\x25\x9a\x60\x30\x49\x09\x1a\xfb\xaa\xdf\x96\x3e\x13\xfb\xa3\xe3\x75\x48\x5f\x54\x6d\xd7\x3f\xee\x2b\x22\xb9\xf7\x43\x9d\xf0\xfc\x88\x9c\xb3\x62\x69\xbb\xfc\x65\x43\xd8\x41\x76\x4b\xf3\xbb\xb8\xbb\xfa\xd7\x37\x27\xe9\x3b\xda\xea\xeb\xb6\xa4\x74\x4a\x6d\xd0\x3f\xaa\xf3\xe3\x22\xa1\x5a\xd6\xd3\x79\xde\xe7\xcb\xbc\x2b\x3d\x5a\xb9\x50\x68\xd4\x95\x81\x52\x99\x6d\x80\x45\x74\x7d\x34\xdf\x39\x3a\xa7\x36\x74\x77\xb8\x36\xde\xf2\x16\xa1\x7c\xe6\x1a\xa8\xfc\x6e\x5b\x72\x3e\x35\x95\xbe\x7e\xfb\xf6\xf2\xfc\x97\xb4\xac\xd7\x55\x5d\xa6\x87\xaa\xdf\xa4\x43\x7f\xf3\xdf\xb3\x75\x59\x97\x2d\x31\x91\x55\x95\xd2\xce\x68\x89\x08\x52\x22\x4f\x99\xdc\x22\xe9\xba\x6d\xb6\x13\xf4\x5e\x5d\xbd\x49\x2f\x18\xc5\xfb\xbc\xdf\x60\x20\xfd\x26\xe9\x7e\xdb\x32\x8a\x5c\x87\xd7\x9b\x32\xbd\xa9\x68\xd6\x00\x6a\x6e\x0c\x1f\x69\xa1\x63\x5c\x24\x65\xdb\x66\xb4\xef\xfb\xbb\x4c\x2b\x6b\x7b\x63\x48\x69\x82\x48\xa7\x6e\xfa\x74\x59\xa6\xa8\xb3\x48\x12\x1b\xb0\x61\xf7\x74\xbf\xdf\x56\x2b\xd9\xb1\x2f\xa5\xcc\x23\x9a\x59\xb4\x62\x29\x84\x03\xa2\xac\x2c\x40\x17\xf1\xbf\xbb\x66\x68\xd3\x88\x0d\xa0\xfe\xa6\x24\xbe\xbc\x19\x68\xcb\xe5\xc4\x53\xb7\xcd\x50\x7c\x03\x4a\xb5\xd1\x7b\x42\x4d\xdf\x37\x34\x60\x60\xc7\x01\xf8\x2e\x4e\x89\xe2\xf8\x54\x68\xcb\x5d\x43\xdc\xc1\x11\x7b\x45\x04\x75\xa8\xa8\x90\x66\xda\xe5\xb7\xb4\xdf\xfa\x26\xed\x37\x55\x97\x16\x44\x6c\x2b\x6e\x98\xb6\xc6\x40\xfc\x58\xc8\x82\x08\x54\x48\xc3\xf2\xe2\x35\x00\xd4\x6e\x20\x6a\xda\x50\x63\xcc\xed\xf9\x68\xa2\x26\xe7\xc6\x89\x29\x51\x3b\xa0\x6f\xa2\xdc\x86\x78\x2b\x73\xbf\x73\x24\xf4\x77\xd8\x3e\x8d\x2a\xbf\xb9\xa1\x51\x75\x44\x15\xaf\xd2\xd5\xb6\x21\x92\xfa\xf0\xfe\x0d\x55\xde\xf4\xfd\x3e\xdb\x37\x2d\xc8\xf8\xfa\xfa\x1d\x6d\x8f\xb6\xf7\xb9\x01\xae\x19\xa6\x1e\x76\x4b\xfa\x75\xd8\x54\xc4\x04\xf2\x60\x81\x80\x8a\x2d\x1f\x30\x75\xda\xd4\x0b\xac\xd5\xd0\x6e\x47\xcb\x48\x5d\x5a\xc9\x91\xe1\xf1\x10\x9e\xf0\x9f\x2b\x3f\x4a\x4c\xb7\xa3\x53\xf8\x80\x45\xa5\xa9\x96\x38\x4d\x88\xb6\x9a\x3d\xb7\x1b\x10\xd7\xa5\x66\x78\x8a\xc2\x09\xe4\xca\xe5\x1c\xa2\x52\x9c\xf1\x01\x2f\xdd\xd1\x84\x75\x37\x5f\x5d\x10\x1a\xb0\xa5\x91\x7b\xd3\x36\x3b\xca\x7d\x41\xff\x7c\x86\x1f\xfe\x05\xb7\x07\x98\xbc\x28\x88\xcd\x74\x27\xe9\xfb\x17\x67\xe9\x7f\xf9\xf1\x87\x1f\x16\xe9\xeb\x9e\x37\x04\xd3\xc8\xdf\x79\x6d\x29\x29\x07\xa2\x03\xa5\x9d\xdb\xd3\xf2\x3f\x60\x02\x7f\x90\x3e\x45\xe9\xff\x28\x7f\xcf\xe9\x9c\x2d\x17\xab\x66\xf7\x9c\x37\xf7\x2e\xef\x17\x09\x97\x10\xd5\x28\x39\x5d\x95\x75\x41\x09\x3d\x56\xb5\x2c\xe0\x3a\x5a\x1e\x1c\xb2\x72\xfa\x67\xab\xa6\xbe\xa9\x5a\x9e\xd0\xaf\x75\xbe\x24\x9c\x98\x5c\x40\xec\x18\x25\x76\x76\x11\xd2\x68\x23\x57\x37\x77\x1e\x14\x53\x7d\xcb\x99\xba\xa0\x09\xcb\x4a\xd4\xa8\x8a\x4c\x0e\xcb\x57\xc8\xc6\xba\x5d\xd2\xf4\x5a\xc3\x77\xe7\x11\xde\xdc\xdc\x6c\x89\xb1\x19\xb3\xd2\x1e\x2e\x25\x57\xf8\x56\x08\x42\xc4\xb8\x87\x64\x73\x5e\x75\x80\x3c\x3b\x7f\x9b\x96\xb7\x44\x6d\x44\x0e\xfb\xb6\x29\x86\x15\x28\x8c\x61\x4f\x52\x3e\x26\x08\xbf\xc4\x19\x56\xc2\xde\x82\xbd\xca\x43\x63\x86\xb0\x22\x20\xda\xa2\x85\xb4\x97\x09\x82\x5a\x13\x24\xac\x9b\x2b\x16\x0e\xc3\xb2\xd9\x0a\x93\xd1\x61\x95\xba\x71\x5d\x5a\xee\x7a\x7b\x97\xe2\xd4\x07\x5d\xac\xda\x32\x90\xed\xba\x45\xa2\x67\x95\x49\x88\xd9\x6d\x45\x42\x45\xb0\x54\x28\x35\x71\x91\xd9\xc3\x9f\x19\x80\xc5\xb4\x6e\xb6\xae\x1b\xd8\x25\x77\xcc\x25\x34\x77\xea\x9c\xc7\xd7\x61\x08\xe8\x81\xc5\x3d\x22\xc6\xdb\x0a\x9c\x46\x91\x85\xb1\x12\xc6\xd0\x35\x75\xd5\x95\x25\x5a\xa0\xfa\x4f\xa8\x4d\xd4\x59\xa8\x08\xa3\xa2\x88\x9d\xbb\x7f\x6d\x86\xb4\x68\x52\x3e\x08\xc0\xce\xa8\xb6\x4d\xb5\xd6\xe9\xeb\x9c\xd3\xb6\x5a\x6f\x88\xaf\x34\x87\x13\x41\xda\x61\xd3\x94\x4c\x3b\xaf\xcf\x9f\x7d\x2f\xe3\x58\x33\x73\x73\x95\x98\x2d\xe6\x43\xdf\x30\x9d\xea\x12\xca\x10\xdc\xf1\x02\xc8\x89\xb0\x24\x40\x63\xf1\xd4\x04\xb0\xe9\x69\xad\xfb\x24\x2c\xd3\x0d\xe2\x61\xa4\xf6\x48\xc4\x55\x29\x26\x5b\x37\x90\xcc\x4c\x6a\x61\x56\x4d\xa2\x74\xd7\x67\xeb\xaa\xcf\x6e\x78\xc3\x72\x9b\x2f\xb8\x2e\x9f\x1c\x54\x92\x3e\xa2\xa2\x47\x29\xed\x7a\x92\x1c\x8b\x9f\xd2\x87\xb7\x7a\x5c\xff\xc8\x3b\x31\xcb\x6f\x09\x16\x8b\x01\x04\xb7\x44\xe1\x22\x2d\x98\xf8\x5e\x34\x44\xe7\x8c\xf3\x6e\xd8\x83\xa3\xeb\x09\x7d\x92\xee\x05\xb0\x68\x0e\xf5\xb6\xc9\x0b\xb0\x1c\xda\x5d\x15\x94\x8f\x65\x55\xe7\x74\xba\x58\x2b\x60\x65\x0f\x89\x1a\xde\x5e\x5e\x03\x70\xdd\x2c\x87\x6a\x5b\x18\xc0\x82\x66\x78\x9b\x6f\xab\x82\xe5\x2c\x5d\xf7\x50\xa6\xb1\xac\x4a\xc6\xb2\x6a\x5a\x3e\x0e\x31\x1b\xab\x78\xe4\x1c\x6e\xf9\x7c\x43\x36\xd5\x55\x58\xd4\x73\x47\x26\xa3\x81\x16\x1e\x02\x28\x1f\xa8\xa0\x98\xaa\xab\x1f\xf5\x18\xe9\x6a\xa0\xbe\x68\xd1\x39\x9b\x2a\x76\xe9\xe3\xe7\xf4\x37\xe1\xe3\x59\xf8\xde\x7a\x8a\x78\x2e\x4c\xa5\x70\x90\x5d\x1a\x0d\x35\x22\x6f\x47\x5d\x46\xbc\xc1\x5c\xc3\xf1\x1a\x09\x74\x83\xd0\x2b\x6b\x5a\x5b\x5a\xd6\xf2\x1b\x4a\x3c\xa2\x0d\xbc\xde\x62\x11\x72\x48\x2f\x24\xc6\x35\x84\x37\x26\x90\x13\xd9\x2e\x37\x34\x35\xe6\x9d\x7d\xfe\x99\xc6\x96\xb7\x24\x84\x25\x1f\x59\x1b\xfd\x94\x0c\x22\x00\x35\xdb\xc2\x09\x9b\xa0\xe9\xa6\x1d\xab\x58\x1e\xc8\xd1\x6b\x47\x52\xe4\x6a\x93\x39\x5d\x96\x91\xd2\x97\xbf\xe3\xcc\x43\x91\x57\x6d\x99\xd8\xb9\x28\xd9\xdd\x61\xb9\x78\x12\x17\x77\x7e\xb5\x48\xfc\xa1\x2d\x42\x22\xfa\xb2\x61\xac\xdd\x96\x0e\xea\x2c\xcc\x8d\x2b\x50\x5b\x24\xa8\x69\x53\xb1\x26\x44\x45\xa2\xae\x69\xa9\xa8\x6c\xa4\x8a\x7c\x54\x1d\xfb\x53\x62\x1d\x44\x4d\x26\x1f\x89\x19\x90\x5e\x22\xec\x25\x63\x6d\xcc\x16\x87\x86\x22\x3c\x87\x15\x33\xe5\x07\xfe\x1c\xdc\x94\x7b\x3e\x32\x77\x1d\x56\x75\x4b\x90\xc5\x9d\xca\x5e\x6e\x7d\x7f\x16\x4e\x4b\x0b\x4e\xfc\xe9\x1b\xd3\xde\xff\x60\x13\xbf\x54\xb4\x92\xa8\x1f\x9f\x1c\x7c\x5e\xd3\x56\xdb\x03\xfb\xb4\x49\xee\x4e\xd2\xe8\x0c\xda\xe4\x1d\x71\x5f\x3a\xe0\xb4\x5a\xb1\x30\xed\x80\x57\x2d\x5f\x09\xc9\x43\x93\x07\x91\x4a\xcd\xa6\x1d\x1f\x69\x3c\x42\x61\x50\xda\x8b\x3b\xf0\x71\x9c\x87\xa7\xfe\x4c\x9f\x84\xb0\x5d\xc9\x32\x5f\xb6\x13\x0d\x5d\x7e\xa5\x17\x65\x42\x82\xc9\x9a\xf6\xa3\xd1\xdb\x33\x56\xc9\xd6\x90\x50\x95\xdc\x18\xa0\xec\x43\x0e\xaa\x10\x96\xf3\xb3\x59\x2c\x68\x63\x1f\xa0\xaf\xd2\xd6\x9c\xa0\x9f\xce\x1a\x2a\x5e\x18\x47\x96\x03\x17\xf2\x49\x47\x9b\xdd\x23\xf1\x34\xa5\xd5\x4f\x43\x28\x95\x13\xfd\xb4\xb8\x02\x6f\xfa\xa7\xcb\xe7\x0f\xbb\xa7\x4f\x96\xcf\x1d\x6b\x5c\x6d\xca\xd5\x67\xd1\x25\xaa\x7a\xd9\xfc\x0e\x85\x8b\x16\x9e\x71\x5c\xf3\x16\x79\x58\xa4\x1b\x2a\x85\x4c\x4e\x5b\x99\xaa\x11\xe2\xb9\x34\x5a\x34\x1a\x0c\xef\xf8\x85\xd9\x7e\xdc\xe1\x60\x84\x44\xb5\xd1\x89\x8c\x8c\xd4\x7c\xec\x1d\xce\x0a\xe8\xf6\x94\x73\x99\x72\xc1\xe6\x3d\xe9\x62\xbe\xdb\x6a\x57\xf5\x13\xd2\x61\x3e\x92\x2b\x09\xaa\x9e\x6f\xb8\x44\x5b\xc0\x06\xc6\x42\xdc\x98\x9a\xa1\x73\xd3\xc8\xe9\x90\x93\x7a\xf3\x63\x4a\x24\x34\xd0\x29\xc4\x73\xa2\x61\x12\x3b\xce\xf9\xe0\x25\x05\x21\xef\xb2\xa1\x56\xb4\x96\x85\x11\xd3\xab\x0a\x87\x04\xf7\x6b\x24\x1f\x40\x19\xe6\x55\xce\x4d\xbf\x75\x18\xff\x8e\x84\xe2\x1b\x57\x8d\x39\x37\x0f\xa8\x62\x99\x2c\x9f\x5d\x3c\xe2\x6c\x75\x29\xea\x15\x30\xc0\x70\xbc\xd0\xa4\x1c\xf8\xd5\x23\x0d\xe3\x33\xe5\x60\x41\x96\x43\xdf\x37\x2c\x73\x6f\x99\x6a\xa4\x8e\x8d\xfa\x0c\x80\x50\x23\x7c\x7b\x58\x90\x10\x4f\xb2\x36\xa5\xc9\xc0\x99\xb7\xc2\xa9\xb6\x32\x9a\x9d\x1e\x75\x0e\xac\x10\x75\x3d\xaf\xef\x8c\x94\x89\x20\x78\x14\xdc\x61\x3f\x3f\x96\x6f\xdb\xf2\x3b\x3f\x1a\xb7\x67\x50\xc3\x46\x24\xd5\x83\xfd\xf4\x1e\xa5\xa0\x12\xb7\xeb\xec\xe4\x52\x23\x8b\xa7\x8f\x36\x46\x2f\xca\x79\x67\x10\x83\x25\xb1\xb1\x00\xa2\x69\x16\xa8\xbd\x18\xf5\xe5\xd5\x9d\x29\x06\xfb\x78\xc8\xfe\x00\xea\x9b\x26\xeb\x36\xa2\x5a\xda\xf0\xd2\x6d\x59\xaf\x23\x33\x01\x6c\xb0\x20\xba\xff\xca\xc7\x1c\x09\xf0\xf9\xf6\x53\x72\x07\x7b\xd4\x5f\x89\xc3\xd7\xb0\xd7\x35\x09\x15\x88\x32\x72\x81\x04\x81\xb2\x66\xf4\x29\xe1\x23\xf0\xed\x48\xac\xe3\x23\x42\xf3\x02\xf9\x02\x45\xbf\x46\xd2\x9a\x2d\x61\xf2\x6e\x46\x04\x7c\x5f\x7a\xbb\x24\x52\x6e\x8a\xa4\x44\x5f\x9b\xaa\x43\xfa\xf4\xe7\x52\x1b\x7f\x45\x6a\x73\xf7\x01\x6a\xaf\xe8\xb0\xac\xf0\xbe\xcb\xef\x58\xe8\x92\x6c\xfd\x81\x82\xeb\x32\xdf\xe9\x28\x39\x29\x4d\x9c\xd2\x71\xa6\x99\x9c\xa4\x53\x2e\xb0\x6a\x24\x10\x3f\x6c\x0a\x22\x8b\xe8\xb1\xef\xc4\xff\x52\x8d\x9e\x7f\x9b\x98\x62\xfe\x96\xe4\xdb\xfd\x26\xc7\xf9\x1f\x80\xc1\xea\x40\x40\x58\xf8\x14\x20\xa0\x85\x61\x57\xb6\xd5\x8a\x93\x5c\xe1\xdb\xc7\xd9\x77\x30\x38\xd1\x46\x21\x41\x30\x6e\xac\xa0\x4d\xf2\x4f\x35\xc8\x69\x16\x12\xc3\x76\xbb\xea\x1f\x36\x8b\xa8\x39\xce\x27\x9e\x43\x10\x10\xc9\x3c\x94\x03\xc2\xc1\xc8\xe2\x59\x9f\x32\x5f\xe8\x59\x04\x8c\x9a\xde\xe5\xbf\x7f\xa9\xe2\xae\x99\xa9\x27\xac\xc0\x57\xb2\x0d\xaf\x53\x8c\xd9\x01\xc1\xb3\x7d\xe3\x28\x34\x2d\x3d\x83\xd4\x9f\xe9\x54\xab\x1d\xd8\x07\xf9\x9d\xe2\xf7\x4f\x66\x02\xa7\x23\x44\x05\xe8\xd4\x19\xc3\xe9\x70\x2e\x98\x6f\x42\x10\x5e\xf8\xed\x16\x0a\xc7\x8e\x9c\x59\x8c\x34\x95\xdf\x31\x0e\x92\x28\x45\x4f\x20\x92\x5a\x78\xbb\x7d\xc6\x67\x64\xc6\x42\x67\x1d\x8a\x96\xee\xf4\xb4\xf3\x05\x10\x62\xf7\xcd\xa6\xf5\x46\x1b\xee\x68\x75\x12\x05\x66\x6a\x5f\x4e\x0d\x79\x47\xea\xf7\xb4\x65\x66\x1a\x70\x3b\xe9\x68\x45\x59\x4c\x54\xa2\x99\x17\x13\x5e\x30\xad\xc8\x60\xa4\xf6\x6c\xb7\xe5\x9a\x4d\x4d\xd6\x71\xd4\x9b\x92\x10\x1d\x06\x02\x16\x12\x90\xc7\xb0\x5b\xac\x70\x5d\x43\x21\xde\xad\x51\xac\x3e\xd1\xa8\x49\x1c\xa7\x24\xd7\x0c\x94\x28\x1d\x86\x9e\xe4\x3b\xd6\x17\xba\x81\x59\x33\xeb\x16\x22\x9d\xc4\xab\xc1\x07\x2f\x9a\x2a\xd1\xc5\xf1\xe6\x89\x16\x59\xe1\xfa\x52\xfb\x00\xfb\x83\x4d\x87\xea\xf6\xb4\x61\x6d\xdc\x01\x1d\x6b\xd6\x29\x84\xe5\xef\x15\xcc\x76\x2f\x2b\x36\x07\x41\x25\x74\x9a\x30\xca\x16\xc9\x96\x98\x01\xab\x1e\x32\x2b\x91\x63\x9b\x5b\xd6\xdc\xb8\x3f\x2e\x95\x7a\x62\xc6\xd3\x49\xf1\x3a\xab\x72\x49\xca\x5c\x73\x28\x8b\x13\x3a\xe2\xb9\x06\x8d\x13\x6c\x23\xdf\x1e\xf2\xbb\x0e\x36\x12\xe3\x38\x6c\xb2\x94\xea\xcc\x4e\x48\x00\x58\x63\x54\xa1\x7d\x9a\x76\x9c\x61\xa2\x23\xde\xc9\x87\x87\x3b\xa6\x0f\x50\x0f\xc1\x2d\xd4\xea\x42\x5a\x37\x1f\x7b\x38\x62\xf5\xac\x61\xd5\x96\x15\x41\x96\xf1\xa5\x38\x68\x08\x2e\x0f\xe5\xfc\x33\x75\x4f\x58\x3c\xa2\x6e\x58\x58\x21\x7e\x2c\xb8\x26\xf9\x8f\x30\x8b\x21\x05\xb6\x82\x81\xda\x7f\x2c\x72\x71\x45\x38\x64\x3d\xcb\xab\xcf\x7c\x36\xd1\xaa\x98\x61\x57\xf2\xa1\xfc\x26\x5d\x4f\x5b\x80\x31\x6d\xce\xb6\xbf\x8a\x7c\xa5\x2a\x33\x97\x62\x8b\x01\x4d\xdd\xa6\xda\xa7\x0d\x8c\x85\x21\x0a\x3d\xd9\x06\x22\x26\x61\xa3\x28\x21\x77\xb3\xd5\xb4\xcd\xeb\xee\xa6\x84\xf9\x74\x97\xde\xb0\x27\x68\xa1\x5d\xb3\xc4\x2a\x4e\xb7\x23\x3d\x8b\x0e\x83\xae\xc3\xd3\x02\x6b\x17\x2c\x54\xdc\x35\xc1\xdc\xa2\x67\x1d\x03\xb0\xea\x5b\xea\x6c\x0c\x4c\x66\x13\x14\x40\x6a\x8c\x9c\x14\x36\x9a\xdb\x32\x44\xc4\xcd\x3f\x3b\xf3\x00\xeb\x6a\x21\x16\xb3\x7a\xbc\x4c\xd2\x29\xac\x15\xf0\x31\x2d\xef\xe2\xd9\x73\x55\x47\x01\xec\xf1\xb8\x2d\xb5\x17\xde\x18\xbc\x57\x46\x0d\xc2\x4a\xe1\x75\x85\xa4\xcf\xa1\xf2\x2d\x69\x88\xab\x4d\xb4\x3b\xaf\x51\x92\x4a\xc9\x64\x83\x26\x1f\xb9\x6b\x52\xe3\x37\x79\xbd\x2e\xd9\xd4\x45\x2d\xf1\x91\x87\xdf\x2a\xa1\x4b\x26\x0d\x78\xdd\x4a\x9a\x0d\xe4\x56\x65\x45\x1b\xb2\xd9\xdd\x5b\xb3\xaa\xcd\x60\xd3\x25\x7f\x6f\x48\x86\x80\xa5\xf7\x4f\x94\x62\xe9\xb7\x4e\x22\xdf\xce\xc8\xce\x00\xf5\xa0\xea\xef\xe0\x74\x5a\x92\x0c\x2c\x4a\x1a\xe5\x90\x9a\x0b\xee\x00\xcb\xc5\x0b\x4b\xd3\x7a\xe4\xcc\xf4\x78\x6b\x4b\x4a\xe1\xc4\x8c\xf4\xc2\xd2\x09\x6b\xc9\xbb\x05\x0e\x07\x16\xa6\x61\x9c\x0e\x8e\x84\x47\x0f\xbb\x47\xbc\x60\x56\xb6\x08\xe0\xf7\x79\x4f\x6c\xb1\x16\x15\x45\x38\x54\x58\x55\x8b\x5d\x13\xe0\x2a\x02\xb6\x80\x47\x57\x50\xf1\x29\x21\x5d\x12\x2e\x40\x9a\x9a\xa4\x66\xdd\x97\xca\x62\x3a\x95\x79\xff\x85\x92\x6a\x11\x49\x5d\x1c\x83\xaa\xaa\x70\xe3\x99\xd3\xa7\x8b\x7d\x40\x5d\xa2\x26\xa0\xd8\xfe\xa3\xe4\xfd\x2c\x3d\x97\x84\x29\xbd\x43\x85\x39\x55\x45\x92\xec\x81\xf7\x2c\x18\xad\x2c\x84\x1b\xb4\xfc\x0f\x6c\xd0\xed\xf8\x64\x27\x2c\x48\x2b\x20\x5c\x73\x09\x40\x0a\x60\x1f\x6a\xa0\xb0\xb1\x71\x15\x9a\x5c\x1d\xb8\x3b\x48\xdf\xe5\x7a\x0c\x76\x28\x97\x29\x9b\x3b\x89\x70\x48\x2f\xd2\x89\xee\x72\x52\xa9\x6e\xab\xdc\x59\x66\x68\xb5\xd8\xf1\xae\xa7\xe8\x0b\x76\xba\xc3\x93\x39\x0d\xc1\x60\x7f\x84\xba\x1e\xde\x68\x32\x19\xf6\x05\xdb\xb4\xfc\x84\x3f\x20\xc3\x4d\x38\x2e\x0f\xac\x8d\x98\xba\x55\x73\xd2\x8c\x80\x17\xa9\xc2\xf1\xc8\xee\x16\xb6\x7d\x66\x62\x37\x74\x0b\x15\x63\x90\xd0\xc8\x2f\x45\xaa\xb4\x1a\xc0\x42\x78\x0f\xd0\x2b\x7e\x3d\x20\x84\xce\xca\x74\xd3\x1c\xd2\x6d\x55\x7f\xee\x14\xbf\xce\x1e\x62\x7a\x72\x7a\x8e\x0c\x02\x16\x4b\x0d\x8b\x55\x55\x3d\x94\x3f\x27\x96\x12\x43\x3c\x92\xd3\x38\x85\x52\x4e\xc5\x31\x33\x50\xff\xc9\x19\xb2\xd3\x53\x64\xcf\xc2\x7a\x3d\x57\xab\xc0\xa3\xcb\xec\x57\x1d\x3b\x37\x25\x0b\xd8\x60\x87\x2f\x95\x0b\x11\x7e\x9a\xa6\x53\xdb\xa3\x67\x3f\x9c\x07\x43\x85\x42\xe9\x6a\x39\x08\x5d\x4c\x19\x8c\xf9\x29\x08\x8a\xd5\x43\x12\x96\x74\x3c\xd8\xdb\x59\xb5\x93\x58\x9b\x0f\x5a\x2a\x2e\x7b\xa7\x57\xa0\x78\x41\x9a\xf2\x68\x32\xa1\xc7\xe0\x2d\xe1\x52\xa6\x6f\x7c\xd4\x0a\x4f\x4c\x5c\x10\x84\xe0\xb0\x8f\x06\x3b\xa6\x2c\x6d\xc0\x8c\xdf\x5f\x20\x30\x23\x9f\xd0\x91\x22\xbc\xd9\xb1\x96\x66\x1b\x09\x85\x67\x6a\xc6\x77\xe5\x8c\xd9\xa0\xfc\x2d\x5c\x5e\x63\x6b\x43\xa4\x29\x69\x0b\x47\xa5\xe9\xd1\x98\x26\x7b\xc7\xea\x1d\x68\x6e\xe1\x74\x8c\xe0\x17\x42\xfd\x39\x2c\xc3\xe2\x15\x1b\x3a\x91\x27\xb9\x2b\xb8\xd4\xa4\x09\x42\x00\x14\x8e\xce\xeb\x19\xa7\xc2\x8d\xd8\x20\x2e\x11\x42\x0e\x40\x83\x84\x62\x7d\xb2\x34\x1f\x76\xc8\xd8\xf6\x2d\x2d\x3a\x1d\xbc\x23\x4b\xd4\x84\xa5\x45\xec\x0b\xdc\xab\x81\x43\xd6\x73\x2d\xd2\x20\xb5\x2d\xe6\xff\x48\x59\x8e\xb7\x5e\x96\x6c\xdd\xb2\x4e\x95\x59\xbb\x52\x61\xd9\x09\x8d\x01\x7b\xa0\x74\xe6\x89\x02\x98\x88\x87\x08\xb0\x10\xc4\x2c\xa1\x96\x9d\x45\x76\x5e\x58\x6c\xff\xc3\x6c\xbb\x51\x87\xce\xb6\xeb\x87\x3a\x22\x1b\x1e\xe3\xe8\xc4\x99\x10\x10\x15\xe0\xfc\xd5\xa5\x0f\x4e\x55\x5d\x7c\x77\xb8\x72\x37\x22\xd3\x33\x9a\x28\x0b\x47\xb0\x12\x01\x38\x2c\x0b\x78\x08\xba\x40\xe0\x8e\x08\xf8\xdd\xc4\x0c\x19\xf3\xd7\x53\x68\x30\x84\x15\x81\x65\x79\x80\x0f\x34\x91\xfe\x54\x23\xda\x31\x22\xc4\xed\xea\xe2\x50\xee\xc4\xe3\xe8\x45\xa2\x13\x55\x1b\x36\xd5\x7a\x43\xf3\xaa\x76\xec\x72\x04\xd7\x36\xbf\x96\xd7\xea\xf8\x17\x6d\xbc\x66\x5d\xb3\x0d\x87\x7b\x58\x60\x32\x8e\xdb\x3e\xed\xfa\xb6\xa9\xd7\xcf\xcf\x1b\x56\xb7\xd8\x12\xc2\x47\xc5\xcf\x4f\x9f\x68\x3e\xb1\x0c\x5e\x43\x8e\x77\x7c\x59\xf5\xaf\x86\xe5\xa3\x2e\x5d\x93\x6c\x80\x03\xe4\x69\x9e\x6e\xda\xf2\xe6\xd9\x83\x87\xdd\x83\xe7\xea\x67\x96\xa8\xa0\x43\xed\xd0\xf2\xf4\x49\xfe\x9c\xa5\xe7\xae\xd9\x92\x50\x1b\x57\x69\x76\x3b\x59\x5f\x62\x7f\x3b\x81\xc4\xf8\xe1\x9a\x2e\x6b\x60\xae\x6c\x15\x3f\xd4\xe0\xc2\xd1\xba\x5f\x1f\x5d\x36\x13\x93\x22\xfb\x82\x0a\x2a\x0c\x0c\x8f\x5b\xdd\x07\x4c\x93\x6d\x0b\xa9\xab\x86\x03\x76\x5a\x0d\x0b\xc9\xe6\x1a\x6f\xda\x30\xe3\x04\x24\x68\xb4\x61\xf5\xa9\x2a\x8d\x44\x24\x0d\xce\xb3\x3e\xe5\xe0\xa4\x94\x91\x56\x40\xbf\xcc\x53\xcd\x94\x09\x81\xd1\x1b\x41\x98\x60\x23\x1a\xfe\xc6\x18\x80\xcc\x3e\xd8\xfe\x90\x5f\x4e\x51\x81\xe4\x17\x68\xdd\x3a\x97\x37\xaa\x63\xa3\x80\x0e\xaa\x40\x9e\x7e\xdb\xa8\x4f\x22\xb5\x4c\x8c\x9a\x04\xe8\xbe\x8c\xc8\x9d\xbb\xa3\x7f\x68\x85\x68\x13\x6a\xfb\x7f\x4b\x0b\x52\xc1\xfd\x76\x32\x81\x54\x37\xd3\xa9\xdf\x0b\x63\x11\x55\xbd\x79\x47\xf7\x53\xb0\x8d\xb4\x55\x17\xa6\x21\xe6\x83\x12\x82\xe0\xb2\xaa\x0b\xd9\x36\x4a\xf5\x1a\xf7\xe0\xc8\x9d\x0e\xd3\x9a\x81\x60\xe3\xe3\x84\xfe\x0e\x90\x7f\x15\xb5\x1f\xd0\x06\x71\xab\xa1\x0e\xb8\x85\x6c\xc7\xac\x6f\xc4\xd6\xa5\x93\x7c\x47\xfa\x06\x62\x9e\x4e\xa5\xc1\x6b\x2e\xee\x34\xee\x4e\x9d\xa2\x56\xe5\xa5\x66\x62\xc1\x01\x98\xa0\xa8\x73\x88\xc0\x2f\xaf\x7a\x5a\x2b\xea\xaf\xd6\x68\x26\xac\x01\x6d\x3d\xe3\x0f\x1b\xf1\x5f\xa7\xa7\xef\x5e\x2f\x12\xd7\x9f\xb5\xf9\x6b\x4e\x32\x93\x8c\xe0\xe0\xb4\x5e\x26\xa5\x31\x7f\x71\xde\x12\xa9\x6e\x46\x36\xd4\x04\x39\xbb\x39\x4d\xe6\x23\x73\x89\xcb\x05\xc5\x65\x17\x58\x02\xa4\x37\x8c\x64\xcc\x99\xdd\x4c\xbf\x21\xc4\x3a\x7b\x14\x9f\x08\xfb\x3b\xe6\x75\x41\xa4\x4a\x2e\x08\x3a\x80\x5b\x8d\x42\x64\x08\x12\xda\x70\xca\xf2\x6d\xeb\xf6\x8a\x0d\x58\x77\x4b\x98\x1b\x50\x02\xc8\x70\x6f\xeb\x19\x8d\xd7\x1f\x74\xe1\xa0\x45\x49\x1f\xed\xcf\x54\xd8\xa8\xf8\x5f\x79\x5c\x22\x99\x29\x8e\x43\xd5\x8c\xda\x3c\x94\x5b\x8e\xa4\xd3\x01\x79\x27\xa4\x2a\x62\x91\x0b\x52\x81\x9c\xf3\x91\x23\x17\x9d\x24\x21\x6b\x1b\x5a\x47\xac\x31\x82\x20\x02\x86\xd7\x51\x34\x28\x63\xf7\x67\xa7\x6f\xdf\x5e\x5e\x7b\x2e\xcf\x94\x55\x17\x74\x16\x7d\xe3\xe2\x6f\x26\xe3\xb2\x28\x1c\x8c\x0f\x01\x59\x11\x84\x8f\x03\xd2\x1a\xc7\xe0\xc2\x8d\x6f\xad\x53\x72\xdd\x60\x37\x37\x3c\x16\xa9\x51\xc4\xe3\x2f\x8e\x29\x28\xc9\x47\x3e\x1e\x3f\x25\x66\x63\xbc\xe4\xff\x49\x68\xa6\x0d\x4c\xe3\xa0\x66\x6f\x41\xf7\xe1\xa6\x34\x80\xa6\x98\x98\x6d\xc1\xf6\x86\x1c\x12\x28\xe1\xbe\x01\x23\xbd\x49\xe1\x5d\x3b\x61\x2b\x54\xd3\x82\x06\x19\xb9\x43\x5d\xfd\x36\xe0\x7c\x67\xf9\x93\xe4\x15\x0e\xeb\x5a\x56\x5b\xe1\xb6\x7f\x76\x3f\x24\x9f\x53\xa3\x58\xcc\xa0\x73\xfa\xf5\xb4\xdb\x73\xa4\x1a\x71\xdb\xee\xd9\x83\xa1\x4a\xd9\xa8\xc1\x91\x21\x0f\x9e\x93\xb4\xc8\x5e\x6a\x5a\x3e\x82\x78\xce\x86\x89\xcf\x66\xef\x1a\x47\xc9\xa3\xcc\x02\x29\xb9\x0c\xd1\x94\xc8\x9d\x19\x85\xca\xd6\x62\xb0\xe8\xc5\xd2\x95\x06\xb3\x60\xee\xcc\xd4\xfd\xb9\x0c\x31\xa5\x1e\x09\x5d\xd7\x73\xfa\xd7\x56\x88\x06\x95\x7c\xbe\xb2\x90\x06\xd7\x15\x5c\xa6\xef\xf7\x8a\xd6\x7b\xc5\x0a\xd5\x62\x5d\xf5\x24\xd3\xf3\xd5\x0e\x68\xda\xb4\x61\x88\x29\xe2\xb6\x83\xa4\x2c\x67\xa6\xae\xc1\xa2\x62\x55\x57\x7d\xc6\xe7\xf4\x4e\x22\xd8\xa9\xd9\x7c\x2b\x32\x50\x8c\x68\x71\x18\xa7\xef\x7f\x3d\x3d\xbf\xf8\x75\xb1\x2b\x2c\xa0\x45\xf1\xa9\x91\x2c\x01\x46\x8b\xf2\x26\x1f\xb6\x66\x6a\xc3\x84\x91\x91\xfe\x82\x0c\xbd\xfc\x40\x5a\x11\xe1\xef\x56\x8e\x44\xb9\x0e\xf1\xda\x72\xbe\x65\x99\xf7\xbb\x23\x06\xa8\xb1\x17\xe7\x8f\xdb\xa1\xc6\x2d\xdc\x6f\x8e\x62\x17\x7f\xc6\xc6\xc5\x54\xc3\x40\x22\xe7\x67\xa2\x97\x33\x2c\x08\xdf\xdd\xce\x90\x28\xfc\xb0\xf4\x38\x2d\x9b\x6e\x94\xc7\x24\x4d\x3a\x70\xb9\x4d\xf1\xf7\xf1\x72\x3b\x94\x9a\x6c\xf3\xa2\x1a\x48\x38\x14\x3c\x1a\x8d\x5b\x4f\xba\x2c\x17\x7a\x67\x24\x58\x17\x85\x58\x20\x7a\x39\x33\x35\x80\xfd\xe6\x2c\x62\xab\xea\xe7\xa0\xcc\x11\x80\x70\x54\x0b\x89\x7b\x2d\x99\x12\xa3\x8a\x80\x38\xc8\xda\xb1\xcd\xd4\xdc\xf5\x79\x18\x6f\x9e\xc8\xa6\xb0\x9d\xa6\x5b\xe4\xc6\xed\x35\x44\x2e\x73\x58\x6a\xbc\xc9\x70\xbd\x25\xc0\x54\x18\x4c\xc2\xdc\xac\x60\x76\xbc\xbf\xcb\xd8\x72\x03\x0e\xbc\xbf\x4b\x10\x72\x41\xe7\x57\x86\xe3\x51\x32\xc1\x0f\xb7\xd5\x5e\x2e\x47\x51\x41\x55\x4a\xdc\x24\x12\x97\xff\x92\x08\x52\xdc\x0a\x61\xa1\x71\x63\x8a\x0b\x88\xef\xfe\x0c\xf6\xd4\xb3\x78\x2e\x96\xe4\x67\x0f\xb2\x25\xed\xd1\xcf\x0f\x02\x71\x9d\xef\x56\xb1\x8c\xfe\x0d\x09\x52\x07\xf5\x77\x7e\x90\x54\x62\xbf\xff\x82\x5f\x03\xc7\xe1\x89\x73\x95\x13\x89\xfe\x62\x83\x6c\xa2\x57\x7a\x98\x19\x25\x2c\x90\x2a\xdb\x20\x61\x34\xe4\x1c\xbf\x0d\x3c\x4b\xd1\x34\x9e\xa5\xff\xca\xbf\xd2\x97\xfc\x4b\xa7\xc2\xdb\xd8\xed\x51\xac\xf0\x68\x63\x87\x81\x69\xe0\x38\x1a\xdd\xe9\xf7\xb4\x44\xb3\x04\xd8\xd7\x30\x16\x03\xe4\x10\xe8\x64\x3f\xb0\xcb\x9e\xd7\xdd\x7a\x7b\x47\x39\x88\x27\xe7\x4c\x3e\xb2\x82\x16\x9c\xb5\x3e\x6a\x23\x71\xac\x42\x59\x44\xdf\x96\x10\xaf\xe8\x9f\x96\x65\x04\x9c\xf5\x39\xec\xb3\x02\x44\x24\xf7\x9f\xd3\x6b\xca\x51\x88\x32\x2c\x4a\x14\x14\xe5\xe3\x4b\x44\xd8\x46\x1d\x38\x2e\x27\x88\xe4\xb7\x65\xd7\x13\x8a\xa0\xeb\xba\x1f\x09\x8f\xb1\xea\x25\x72\x10\xa9\x44\xe3\x5a\xc5\x06\x2f\xc9\x04\x16\xce\x36\xe7\x28\xb1\xf7\xf9\x41\x7e\x12\xa6\xf5\xd6\xd1\x2b\x49\x49\x36\xe2\x9e\x05\x14\xd1\xd1\x0e\x1e\xc7\xb8\xd2\xf0\x3b\x4b\x27\x36\x80\xc5\x74\x20\x56\x32\xba\xf4\x94\xae\x46\xe5\x37\x22\xde\xbf\x60\xe1\xde\xf2\x72\xf0\xaf\xd4\xa2\x38\x5c\xfe\x8e\xb6\xbf\x18\xf3\x2e\x24\xe5\x4a\x0a\x09\x30\x3a\xe7\xfb\x75\x96\x67\x21\x9c\x97\xfc\xdf\xe5\x12\xc1\xe8\xfe\xa1\xff\x89\x62\x9e\x73\x55\x91\x93\x5b\x56\x3e\x3b\x13\x1e\x27\x85\x58\x8e\x49\x61\xb6\xdf\xe6\xab\xd2\x85\x8c\x02\x08\x7c\x9b\x6f\x78\x29\x30\x49\x7a\xec\x67\x5f\x52\xf9\x43\xda\xce\xf4\xcb\x4a\x68\x33\xd0\x59\xe8\x8a\xce\xf8\x67\x61\x85\x84\x7b\x0e\x42\xb4\x31\x44\xfd\x87\x65\x74\x7e\x30\x6f\x12\x0b\xde\x5b\x16\xa6\x39\xcd\xb1\xfa\x33\x35\x1c\x35\x85\xc4\x74\x0c\xe6\x68\xcb\xbb\x23\x35\xe9\x60\xe0\x50\x79\x88\x91\x9a\x1c\x41\xe8\x41\x84\xe3\x67\x5a\xb2\xe0\xe8\x5f\xb7\x21\x4e\xe1\x73\xc3\xa6\x98\x03\x95\x0e\x38\x5c\x8a\xe3\x00\x7d\x97\x85\xaa\x45\x73\x95\x84\xab\x14\xd9\xf2\x4e\xeb\x08\x33\x29\xd8\xa3\x77\xa4\xca\x8e\xdd\x76\xe0\xb2\x5a\xe5\xc2\x65\x84\x55\x78\x91\xd1\x30\x41\x48\x3a\x7d\xf8\xf1\xfb\x4f\x1d\xb7\xec\xac\x26\x4f\x1e\x7e\xfc\xe1\x13\xb1\x62\xfc\x63\x5e\x6c\xb5\xf7\x6d\x79\x5b\x35\x03\xae\x18\x6a\xd2\x93\x1a\x02\x8d\xdf\x72\x50\xb1\x66\xc9\xb2\x9b\xc0\xee\x69\x2e\x2e\x5f\x35\xdb\xc6\xd3\x24\x7e\x8d\x01\x44\x33\x78\xa8\xa4\xd2\xc5\xc5\x20\x5b\xb7\x18\x0f\xe1\xb1\xa9\x47\x0b\x22\x90\x65\x51\x71\x3b\xbf\xd2\xbf\xb8\x60\xe4\x9d\x8a\x0b\x5d\x60\x9a\x0c\x10\xe1\x69\x76\x3f\x66\xda\x8a\xfa\x78\x00\xea\x54\x93\x59\x30\x2f\xc9\xaa\x3d\x92\x0e\x16\xd9\x44\x90\x64\xd4\x3d\xcb\x1c\xab\xaa\xe5\x92\x10\xb7\xcd\x46\x3b\x94\x8a\xfb\x4a\x5b\x3e\xee\x56\x99\xef\xda\x6b\xa4\x32\x52\x1f\x18\xac\x2a\x51\x6c\x0f\x0a\x98\x7b\xc0\x86\xfc\xbe\x0c\x8a\x67\x98\x48\x50\x3a\xcf\x48\xc6\x00\x85\x9c\xb6\x9c\x78\xd8\x45\x7d\xd3\x39\x3e\x94\x99\x72\x52\xda\xe9\xf4\x2b\xc5\xaf\xf1\x10\x98\xa7\xce\xf5\x6d\x2d\x8f\x66\x44\x08\x59\x6e\x48\x1e\x92\x10\x48\x39\xb8\x83\x03\x8d\x30\xaa\xce\x7d\xd5\x7c\x15\xab\x51\xf3\x52\xcb\x55\x9f\xc5\x8e\xed\x05\x44\x17\x86\x05\x33\x5a\x4d\x58\xea\x27\x7d\x4e\x33\xe6\x23\x24\xfd\xd6\xee\xc6\x7d\x17\x4f\xb2\x14\xff\x14\xff\x0f\x0b\xdc\xa5\x0e\x6d\x2a\x13\x92\xd2\x16\xd1\xb8\xe6\xf8\xcb\x0e\x27\x2e\x36\xef\xd1\x1d\x35\xf7\x78\xb7\x7b\x5c\x14\x8f\x66\x66\x1d\xd0\x93\x9b\xf6\xc8\xcc\xa8\x1c\x6d\x44\x58\x41\x4b\xc1\xe6\x9c\xc7\x1d\x03\x44\xeb\xf4\x81\x23\x1c\x4a\xd6\x3a\xd2\xc2\xe3\x0d\x6e\x91\x60\xed\xba\x86\xf4\xfb\x66\x4f\x68\x77\xe6\x1c\xb6\x3d\x48\xcc\x57\x38\x93\x91\xaf\x31\x28\x1a\x85\xa6\xde\x3b\x3c\xc3\x83\xf8\xc0\x3a\xd6\x65\x77\x47\x50\x22\xd7\x4a\x8f\x22\x24\x60\x27\x1e\xa9\x8e\xa5\xcc\x00\xce\x31\x14\xdf\xf7\xbf\x27\x53\x99\xeb\x7c\x8e\x04\xbe\xc4\x56\xe6\x6e\xb8\x5b\xde\x42\xe8\x1b\xa1\x04\x92\xf2\x45\xc1\xcd\x14\xe0\xe7\x2c\xfc\xed\xc1\x36\x4d\xf3\x59\x6e\xe7\x2c\x91\xf4\x25\xa4\xff\x5b\x21\x5f\xfe\x7d\x15\x97\x2e\xf3\xae\x5a\x85\x57\xf3\x7f\xe1\x8c\x99\x21\x16\xbc\xc6\x6d\xf6\x0f\x91\x53\xce\xf1\x2b\xfd\x5f\x4c\x18\x0e\x44\xe3\x00\x2e\xed\x36\xd6\x15\x47\x03\xb8\x52\xf5\xc3\x06\x5d\xa9\xdb\x78\xda\x97\xba\x34\x59\x0d\x98\x37\x37\x39\x7f\xfe\xb1\x2a\x46\x1f\x63\xcd\x9d\x2d\xa5\xce\xef\x39\x71\xed\xcf\xb9\xf4\xe3\xc8\xc3\x7b\x08\xc5\x0d\xc5\x05\x35\xb1\x3e\xa2\xc9\x4b\x8b\x8b\x9a\x82\x39\xeb\x9d\x8f\x85\x8a\x95\x7d\xb6\x4d\xd7\xe2\xea\x44\x3c\x14\xc7\x4d\x71\x56\x1c\x84\x45\x74\x2d\x57\x99\xfd\x35\x06\xc4\x54\xc3\xd4\xcb\xb7\x38\xac\x5f\xbc\xf2\x80\x88\x48\x0e\x2e\xeb\xc4\x58\xa2\x91\x5d\xe2\xe5\x17\xab\x5f\xee\x6e\x01\xb1\x2b\x61\x6c\xdf\x71\x0e\x1c\x7f\x95\x47\xc2\x04\x6c\xa8\x28\x0b\xc8\x67\x14\x14\x03\xdc\x07\xb6\x86\x11\xa0\x21\xe5\x92\xf8\x93\xb8\x22\xa4\x5a\x1e\x05\x95\x49\xfc\x22\x0c\x30\x6a\xec\x5c\xe6\xab\xcf\x6e\x44\xcc\xfe\xca\xb6\x47\x38\xd7\x14\xed\xec\x4e\x5e\x41\x8e\x7a\xba\x7f\xfe\x18\x36\x04\xb9\xf9\x8d\x59\xc8\x06\xaf\x6e\x02\x84\xc0\xa5\xc2\x2e\x92\xdb\xaa\x18\x88\xbc\x79\x31\x16\x4f\x9f\xec\x9f\xc7\xf5\x89\x22\x60\x57\x3a\xda\xc6\x68\xe1\x58\xa9\xad\x70\x8d\x84\xe3\x25\x11\xb8\x77\xe3\xe3\x51\x3b\xf4\x70\x74\x17\x05\xac\x28\x20\x75\x63\x27\x5f\x08\x67\x98\xe2\xc4\xec\xbd\x78\xff\x03\x36\x5f\x07\xc3\x1e\xd0\x2c\x20\x6d\xf8\x15\x8c\x66\x67\x9a\x12\x7f\xc5\xc8\x7a\xe6\xc3\x03\xdd\xd0\xac\x42\x7b\x7c\x78\xb1\xfd\x3c\x9d\xb1\x9b\x3b\x50\xf6\xdc\x79\x8e\x29\x4a\x6b\x51\x60\x3e\x67\x41\xf6\xf1\x0a\x23\x3f\x62\xd4\x56\xec\x47\x0c\x06\x28\x47\xcd\xb1\x76\xce\x66\xdb\x50\x6f\x47\xd0\x0a\xa2\x80\x2b\xc4\x7b\x66\x7a\x35\x4d\x22\x98\xd2\x71\xc0\xa5\x96\x1e\x36\x4d\x70\x31\x42\x9c\x9b\xd8\xac\xe1\x40\x16\xf1\x5c\x0f\x72\x3e\x28\x5e\xf4\xb4\x18\x1d\x23\xb6\xf9\xec\x2c\x41\x90\xfd\x6e\x20\xde\xb2\xad\x68\xd1\x71\x64\xe8\x03\x0b\x97\x57\xd7\xb8\xba\x4e\xbc\x90\x18\xcd\x9a\xe9\x35\xfd\xcb\x86\x54\x2d\x0e\x83\xe5\x77\x0e\x38\x3a\x61\x9d\x36\xab\x15\xc7\x24\x54\xb5\x5e\x0d\x3d\x94\xe6\x3d\xab\x8b\xad\xc4\x27\x84\xd1\x1d\xc6\x77\xc5\x70\x96\xe2\x2d\x03\x66\x02\xdd\xbe\x5c\x91\x50\xb2\x48\xdf\x90\x88\xc6\x17\xe4\xe5\x09\x05\x30\xcc\x7b\xed\x6c\x6e\x26\x30\x78\xb1\x96\xb7\x98\x1e\x90\xee\xa5\x15\x3b\x25\x31\xef\x3d\xc7\x40\x8a\x36\xca\x05\x24\x4e\x94\xdb\x1b\x89\x67\x65\x07\x22\x44\x39\xb9\x96\xcf\x4e\x0c\xb9\xad\xcc\xa6\x40\x34\xa0\x91\x19\xf0\xc3\xe2\x12\x17\xcf\x6c\x5f\xb6\x2c\x8e\x58\x0c\x53\x18\xbe\x32\x1e\x13\xd4\x38\x1b\xd7\x6b\x61\x0b\x58\x3e\x08\xae\x72\xe3\xee\x84\x79\x31\xcb\x7c\xe6\x1b\x37\xe3\xf0\x5e\x6e\xd9\xf1\x49\x47\xf8\x42\x88\xb8\x81\xc8\xf9\x81\xab\x34\x1c\x2b\x3d\xe8\x72\x58\x64\x18\x10\xca\xfd\xcc\x8c\x48\x0f\x64\x46\x90\x78\x7e\x26\x10\xde\x47\x0f\x20\x73\xd4\x8f\x59\x98\x82\x7b\x39\xe0\x55\x44\x89\xba\xa7\xd0\x62\x78\xf9\x58\xc8\xf7\x9e\x6d\x14\x50\x79\xf4\x76\x0e\x66\xa8\x97\xee\x9e\xf2\x8d\xb1\xe7\x4c\xbd\x4f\x9f\x20\x69\x17\x0d\x8d\xf2\xf8\xa9\x8e\x80\xe2\xf8\x19\x86\x86\xf0\x87\xa3\xaf\x2d\xd7\x79\x5b\x58\xc4\xbd\x52\x3f\x3b\x94\x41\xe5\x61\x40\x55\xbe\x25\x89\x5c\x9b\xa0\xdd\x4a\x20\x9f\xd9\xbc\x46\x84\xc2\x0f\xcd\x98\x12\xc2\x9c\xbf\x90\xad\xc5\xb1\x2a\x44\xf0\xc3\x9e\xf7\x80\x6c\x28\xeb\x07\xd3\xfe\xf6\x4f\x57\x97\x6f\x4f\xd2\xdf\x1f\x1f\x0e\x87\xc7\x5c\xfd\xf1\xd0\x6e\x39\xaa\xa3\xe0\x88\xfe\xff\x79\xf1\xe6\x24\x2d\xfb\xd5\x77\x0b\x92\xde\xb1\x35\xbc\xd8\xab\xce\xee\x1b\x76\xc2\x33\x59\xb2\x66\xf7\xcf\x6f\x99\xbd\x5c\xfd\xd2\x67\x51\xc2\x8b\x60\x21\xd3\xe6\x65\x37\xeb\x92\x52\x81\x58\x99\xbc\xc4\x58\x92\xae\x84\xab\x9f\x48\xf8\x02\x60\xd5\x96\xef\x03\xa3\x43\x84\x1b\xe4\x77\xec\x2c\x1c\xb6\x85\xd0\xa9\x71\x34\x9a\x9d\xa2\xac\x2c\x7e\x1e\xb7\x04\xa3\x33\x5e\x81\x78\x96\xfe\x89\x15\x3d\x46\xa9\x50\x01\x17\x19\x15\x00\x38\xa4\x25\xec\xb0\x54\xaf\xb1\x96\xe3\x02\x6f\xfe\x3f\x2f\x7b\xc4\xbd\xcd\xd1\x86\x8c\xdc\x8d\xcd\xaf\xa6\x6d\x54\x3a\xd7\xa8\xb1\x56\xb8\xb7\xf8\xb0\x23\x6a\x1e\xed\x01\x3e\x97\x0e\xe3\x7d\x30\x3e\x92\x74\x93\x79\x76\xaf\x9b\x6c\xc2\xf1\x15\xf0\x4b\xfb\x4c\x25\x88\x89\x44\x17\xf4\xa0\x92\xdd\xa4\x07\x89\x88\xc9\x74\x96\x16\x90\x8e\x28\x99\x73\x97\x17\x1f\x41\x46\x35\x60\x20\x31\xc9\x30\x42\xba\x2d\x89\x79\x59\xb8\xc3\xf9\x30\x8b\x02\xa1\xae\x18\x04\xe1\x4f\xec\x36\x34\x17\xdb\x24\xf8\x2b\x14\x33\xa4\x55\x0b\x6e\x90\x20\x8c\x51\xe1\xf8\x79\xa2\x51\x31\x6b\x16\xf2\xfe\xd9\x99\xa4\x42\x6c\xed\xb7\xcd\x9d\xc5\xc7\x9d\xe3\x97\x06\x9e\x87\x33\xf3\x60\x3a\x29\x0f\x19\x48\xf0\x4d\x16\x37\xf7\xd7\xe0\x0a\xb2\x8a\x01\xf5\x5d\x2a\x30\xec\x3c\x0f\x45\xbd\xc8\x2a\x33\x33\xbc\x99\x10\x2b\x07\x35\x0e\x06\x3b\x77\x3d\x1c\x09\x06\x8b\xab\x86\x01\x61\x41\xd5\xaf\x08\x08\x8b\x91\x34\x0d\xf7\xf2\x53\xfd\x8a\x88\xaf\xb9\x49\x07\x06\x08\x25\xe3\x39\xc4\xcf\x54\x98\x33\x44\x14\xe1\xdc\xbc\x25\x22\x34\x3b\x88\x6e\x40\x5b\xe1\xa6\x99\x28\x7c\x5f\xa3\x63\xce\x8d\xc4\xa3\x24\x40\xee\x97\xcc\x12\x45\x75\x73\xb3\x58\xb6\xcd\xa1\xe3\x88\x33\x3c\x32\xc4\x4e\x31\xfe\x9d\x5e\xe1\xb7\x80\xec\xf3\x56\x88\x42\x12\x92\x29\x4e\x1c\xca\x94\x84\x64\xf2\xd1\x36\x79\xe4\xe5\x9c\x4a\xf0\xae\x0a\xbf\xb9\xc4\x81\xe2\x52\xb2\x90\x2a\xc4\xce\x0f\x19\xa7\x10\x29\x07\x13\x09\xab\xe2\xa8\x74\xc5\x39\x0a\xc6\x49\x43\xb8\xc5\xdd\xb0\x6d\xd5\x42\xf7\x21\x87\xf9\x10\x1c\x10\x96\xc1\x11\x18\x11\x43\x05\x41\xcb\x83\x84\x11\x3c\x04\x61\xb8\xf4\x10\x8a\x20\x6c\xfa\x5f\x5e\xbf\x95\x9f\x70\xcb\xe9\x45\x06\xf8\xe5\x5e\x70\x80\x84\x39\xfb\x16\x73\x4e\x3f\x2b\x13\xe7\xa9\xe8\xa7\xf6\x76\x23\x7e\x39\x88\xa2\xcd\x6f\x60\xab\xe4\xff\x2e\x97\x84\x39\x5f\xed\x5d\x5b\x3e\x1e\x57\x23\xe4\x08\xaa\xaf\x90\x70\xf9\x6a\x6b\xe4\x7f\x2e\x2f\x67\xbb\x62\x80\xc3\x87\x85\xc7\x88\xb9\x0e\x89\xee\x1e\xd2\x41\x5b\xb1\x02\xae\x04\x3a\xea\x10\xd4\xe1\xef\xe6\x83\x76\xf0\x0e\xa2\x41\xf4\xf9\xda\xc5\xbd\xe5\x6b\x71\x87\xf8\x32\x88\xf6\x76\x99\x2a\xaa\xe3\x2f\xe8\x9b\x49\xc1\xbb\x86\xa9\x1c\x2f\x8d\xad\x42\x8f\x33\x65\xb2\xab\x19\xf7\x61\xba\xcd\x62\xbc\x10\xce\x2d\xa3\x38\x4b\xf1\xdb\x41\x99\xa4\xc2\xe4\x92\xed\x8a\x40\x58\x11\x02\x0a\x8f\x95\x8b\xbc\xfd\xcc\x4f\x0f\xc1\x51\x64\x0d\x1c\x5a\xbd\x00\xc3\xff\xc3\x15\xd3\x27\xaf\xde\x49\x6a\xd2\x61\xec\xa7\x44\x6d\xe8\x4c\xc6\x4c\x5d\x05\x96\xae\xe4\xb2\xd5\x1b\x49\xc9\x5b\x95\x63\xca\x98\x06\x80\x52\xd9\xe3\xf1\xba\x05\xf0\x0e\xd1\x7f\x29\xff\xef\xff\xfe\x3f\xc4\x9e\xf6\x0d\x9d\x96\x08\x4d\xd6\x5b\xb1\x7e\xdd\x2d\xce\xc5\x3f\x50\xf6\x18\x3c\x3a\x18\x88\xa0\x3f\xd5\x68\x5f\x4a\x4d\x68\x94\x5f\x2f\x32\xfa\xbe\x62\x1b\x55\x4c\xe4\xd0\x76\x3c\x99\xc3\x3e\x3e\x6e\xc3\x88\x2a\xd3\x33\xc2\xdd\xca\xb3\xc5\xc5\xa2\xc9\x5d\x17\x25\xba\xf9\x23\x25\xf9\x48\x3a\xf5\x27\x7f\x77\xdb\x2d\x44\x74\x6f\x1b\x2a\x8e\x87\x31\x84\xbd\x64\xf2\x9b\x3e\xd5\x28\x2a\xa3\x3c\x14\xc1\xac\xc5\x45\xb3\xc9\x5d\x4a\x89\xb4\x77\x8d\x84\x1d\x3d\xea\x2c\xdc\x5e\xdf\x10\x41\x40\xfb\xcc\x9d\x87\x30\x8e\x9f\x34\x46\x75\x4a\xc8\x1d\x51\x75\xc7\x44\x2f\xb7\x22\x52\xc3\xec\x3f\x26\x06\x16\x89\xfa\x09\x38\x7a\x80\x13\x7c\x8d\x97\xdf\xc3\x64\xf2\x13\x0b\xef\x6b\x64\xd0\xbe\x46\x06\xae\xa8\x23\x3e\x82\xff\x27\xb8\x18\xa8\x46\x0a\xce\xd5\x94\xe6\x8f\x2e\x1f\xb6\xd1\x43\x4b\x3e\x86\x04\x97\x92\xa3\x97\x8d\xb8\x71\x20\x6a\xc6\x45\x34\xb9\xaa\x8e\x95\x41\xee\x7d\xd0\x51\x24\xde\xa3\x2d\xac\x76\x7a\xb3\x85\xdb\x22\x2e\xa7\xce\x64\x25\x19\x5c\x94\xe6\x17\x45\x6a\x7e\x23\xcc\xb0\xec\xba\x09\xb6\xcc\x46\xfc\x47\xbe\x1a\xaf\x57\xbe\xa4\xcd\xf3\xb3\xc0\x73\x8c\x46\xd5\x75\x81\x90\x80\x3a\x3e\x3b\xdd\x92\x82\xb0\x8d\x94\x19\x34\xc4\xa2\xdc\xcf\x47\x82\xd9\xa6\x8f\x0a\xfc\xf1\x70\xb6\x69\x1b\xf7\x07\xb4\xfd\xb3\xae\x8b\xf9\x0b\x83\xae\x78\x7a\x73\xd0\x15\xcd\x5d\x21\xfc\x37\x38\x12\x88\xa4\x74\x18\x93\xbd\x7d\xd4\x93\xa0\x75\x9c\x21\xfa\xf8\x63\x0e\x7f\xdc\x9f\x10\x5d\xa1\xff\x0a\x69\x2f\x9e\x71\x20\xe8\x45\xa3\x72\x08\x61\x83\x55\x1c\x5a\x7d\x4c\x7b\xf3\x82\x6b\xc4\x33\xc6\x3a\xde\x24\x92\x1a\x33\xbd\xb7\x4a\x1c\x57\x1d\x0e\xd3\x99\xa7\x7c\x24\xb2\x59\x71\x24\xa2\x5a\xcc\x79\x5f\x0e\xab\x3e\x62\x1f\xbe\x2f\xbe\x7a\x3c\x4a\xe6\x35\xee\xb9\xd5\x70\x90\xf7\xd6\x08\x8f\xd9\xd8\x07\xf3\x6f\x89\xb9\x9e\xb7\xc1\xb2\x0e\x78\x30\x53\x0c\x0e\x65\xc3\x9f\x37\x28\xb0\x0e\x61\xf8\x12\x25\xc3\x33\x5c\x8f\xb9\x01\xaf\xa8\xf6\xe3\x41\xf3\x8d\x0c\xe1\xde\x0b\xbd\x4f\x6c\xb7\x75\x46\xf9\x9e\xf5\xe1\x32\xd4\x5e\x22\xa6\x3d\x90\xfc\x86\xb8\x33\x5b\x32\xae\x1f\xf7\x11\x47\x9a\x5b\xae\x33\x83\x5f\x20\xe1\xf2\x09\x6b\xab\x12\x91\xc0\x67\x92\x72\x25\xaa\x6b\xe9\xb3\x18\x7e\x10\xf2\xe4\xc1\x33\x58\x42\x7d\xae\x9e\x7a\x8a\x6b\x0e\xa6\xa4\x45\xb9\xdb\xf3\x12\xe6\xee\x0e\x30\x2f\x93\x00\xaa\xb8\xa9\xa3\x82\x84\xfc\xd3\xb8\x2d\x79\xfe\x4d\x4f\xcf\xb7\xcd\x21\x91\xa3\x73\xc1\xb7\xf4\x53\xb9\xa2\xaf\x39\xf1\x90\x24\x8f\x65\x14\xbd\x1a\x83\x39\x90\x98\x2e\x37\x61\xa6\xe5\xa3\xe8\x60\x9c\x1c\x2e\x2e\xd8\x5e\xdc\x60\x01\x14\x52\x03\x02\x3a\x59\xae\x0f\x89\x63\xa1\xad\x42\x80\xf5\xdd\x8a\x24\x1a\xf5\x1b\x42\x7c\x4d\xc7\x3c\xce\x49\x77\x27\x66\xdf\xc2\x05\x4c\x0e\xfa\x14\x7e\xb8\xb3\x71\xc8\x0b\x95\x6e\x1c\xee\xf9\x53\x3f\x8e\x10\xe2\x6b\xc6\xc1\xbd\x3c\xe1\x17\xe3\xb1\x88\xf7\x8d\x87\x94\x43\xbd\x4f\x1a\x7a\x4f\xba\xf1\x10\x7d\x78\xed\x75\x70\x5e\xc3\x03\x59\x8c\xe4\x0f\x36\x6f\x4e\x0f\x4e\x29\x11\x47\xd8\x8c\x88\x20\x8e\xe2\xd9\x6b\x45\x5f\xde\xe2\xbc\xd2\xa8\xe9\x40\x03\x17\xb0\x07\x9b\x3b\x85\x74\x5c\x5e\xa4\x83\x8c\x75\xa1\x72\x9d\x14\x7e\xf9\xe0\x15\x38\xbb\x10\x24\xf2\x5d\x78\x64\x40\xc0\xb3\x95\x2c\xe4\xf9\x21\xb7\xc7\x99\xd5\x05\xbd\x4e\x1b\x73\xac\x1a\x50\x8e\x45\x4f\xe1\x8c\x77\x86\xd2\x59\x60\x6c\x65\xa6\x7c\x62\x32\xab\x78\x5b\x0d\x6a\x97\xdf\x45\x0e\x60\xbe\x08\xc5\x1a\x59\xb4\x6b\x8e\x9f\xd8\xd3\xa1\xf8\xb3\x5a\xde\xf4\x71\x04\x73\xd4\x28\xb3\x08\xb7\xfa\x94\x40\x3c\xd9\xad\xdb\x9c\x6d\xe1\xb6\xd6\xcc\x2c\x02\x52\x40\x83\x3f\xb9\x59\xba\xf7\x91\x3d\x37\x80\x87\x8d\x1a\x7a\x74\x1f\x53\xf8\x03\x03\x00\xdb\xb8\x7f\x04\x60\x0b\xf2\x32\x11\x0d\x23\x60\x01\xf7\x0d\x44\x1f\x36\xfe\xfa\x81\x80\x6f\x7c\xe5\x40\x4e\x6c\x14\xfa\x1e\x46\x51\xcc\xee\xff\xfb\xc6\x37\x52\x77\x40\x9c\xd1\x83\x2b\x23\x82\x8f\x3e\x32\xe1\x88\x3e\x88\x85\xb0\x66\xe1\x00\xd3\xd8\x0c\x3d\xce\x7c\x53\x35\x2d\x21\x54\xd9\xba\x0f\xe3\x37\xe2\xab\x0f\x1c\x51\xd0\xb7\x77\x2a\x92\xf0\xe4\xe2\x9b\x17\xfe\x5e\xb9\x28\x61\xf0\x65\xca\x23\x3c\x1f\x81\xf6\x4f\x47\xbe\x16\x23\x8f\x6e\x8b\x7b\xba\x8b\xbe\x5c\x32\x7d\x0f\xe5\xde\xb7\x68\xe2\x37\x78\xc6\x8f\x31\x75\x72\x77\x6e\x6d\xb2\x9c\xbd\x6b\x9c\xf8\xe0\x8d\xab\x3b\xc2\xc1\x0e\x4f\xb9\xaf\xf8\x19\x82\xa6\xae\xc4\xef\x7f\x21\x29\x7e\x89\x82\x4d\x31\x6a\x87\xe1\x2b\x9d\x3e\x78\xd7\xcf\x0e\xc6\x45\xb6\x31\xa9\x20\x20\xe9\xa0\x3c\x78\x1b\x05\xf1\x96\xad\xbd\xf6\xe2\x5b\xc0\x48\x60\xc2\x1c\x82\x91\xe9\x38\xd0\xe8\xd0\xcd\xf5\x98\xb1\xa3\x2e\x55\x37\xa5\xfb\x04\x05\x33\x09\x7e\x00\xa0\xe0\x07\x00\xe4\x95\xf3\x93\x20\x23\xc2\x79\x58\xb0\x77\x57\xad\xa3\xec\xf8\xe0\xf3\xf9\xb8\x66\x12\x67\xf1\xdd\x92\x28\x23\x5f\x4d\x7a\x31\x03\x76\x98\x27\xb1\x74\x61\x0e\x1b\x13\xd9\x61\x17\xb5\x1e\xdf\x40\x0e\x8b\xe4\x59\xa1\x28\x4b\x5f\x52\x8e\x67\x22\x36\xd5\x30\x6f\xdb\xac\xf9\x49\x24\x18\x21\xe3\xe9\xa9\xec\x1c\xb7\x69\x21\x7d\x51\x13\x88\xb7\x0e\x73\xe0\xd7\xea\xf3\x2e\xae\x8d\x2d\x18\x66\xe8\x8d\xd4\x09\x20\xe9\xd4\xf9\x6a\x83\xf9\x2f\xe6\x08\xc9\x54\x63\x47\x4c\xfa\x0d\x95\x19\x48\x79\xed\x3a\xb5\xb7\xad\x67\x61\xf8\x23\x1a\x78\x4a\x3c\x28\xe5\x10\xd9\x3a\xd3\x4b\xda\x8d\xde\x49\xe3\x78\x59\x77\x21\x3b\xbd\xc4\x8e\xeb\xee\xad\x14\x9c\x62\x7c\x01\x40\x2f\x81\x6b\x4d\x91\x38\xee\x39\xce\x7c\xcb\x7a\x30\x6a\xe4\x42\xee\x75\xb5\xce\xcb\x09\x2c\xdd\x58\x68\x83\x23\x92\xaf\x6a\x63\x34\x4a\x0f\xe1\x9a\xf9\xe3\x43\x85\xf5\x8c\x2f\xca\xc0\x22\x17\x0d\x32\x62\x6b\x06\xf2\x85\x16\x46\x43\x9c\x6d\xe2\x0f\x0c\x92\x9f\xdf\x5f\xaf\xdc\x73\xe5\xe7\xfc\xd2\x45\xbb\xe4\x2b\x39\x7c\x86\x95\xf2\x19\x89\xa6\x8e\x2d\x70\xf3\xd5\xef\x1b\x19\x06\xc4\x3a\xf7\x5c\xf3\xc7\xc6\xd6\x96\xdd\x5d\xbd\xca\xf0\x76\x7c\xb7\x51\x47\xe5\xfb\x52\x6c\xe5\x8f\x16\x94\xf7\x24\xd7\x7b\x91\x25\x5c\x7a\xdd\x23\x79\x0a\xe8\xdb\x15\xe5\xe3\xed\x7a\x3a\xe2\x1e\x83\x27\xa2\xb6\x09\x70\x24\x9e\xf5\xdf\xdd\xdb\xd1\x68\x2e\x01\x43\x0c\x70\xdb\x62\x28\x7d\xf9\x55\x33\x08\x9c\xe4\xe1\x34\x98\x0c\x74\xf7\x83\x57\x84\x6f\xde\x31\xe2\xbe\xe5\xab\xa0\xfc\x76\x09\x3f\x09\xac\xe1\x3e\x7a\xa0\xd9\xb7\x01\xd4\x78\x74\x64\x42\x61\xbf\xf7\xac\xd0\xa3\x68\x14\x5f\x9e\x63\x78\x08\xc9\x57\x4f\x86\x3d\x3e\x3d\xe5\x3e\x77\xf2\x01\xbf\x43\xa6\x20\xcf\x10\x65\xeb\xa6\x6d\x68\x79\x60\x22\xb6\xa7\x89\x5e\x5a\x5e\x37\x53\x01\x26\xf0\xbb\x6c\xd0\x9b\x62\x56\xe7\x02\xd9\x24\x3f\xf0\xb5\x31\x5f\xab\x6f\xfa\x7c\x6b\x75\xd8\x02\xb9\x52\xbb\xf5\x35\x17\x58\xad\x53\x2b\x08\x6a\x6a\x9d\x66\xc9\xf1\x9e\xa8\xa2\xc0\x97\x9a\x13\xc0\xc2\xcd\xc1\x77\xb5\x08\x5d\xc3\x3e\xe3\xa9\xe2\x9a\x8f\x64\xa7\x6f\x90\x9d\x5e\x73\xf6\xb4\x07\x1b\x95\xab\x36\x1a\xd4\xb1\x7a\x37\x6d\x39\xa9\xf3\x82\xaf\x2d\x8e\xe1\x0d\x73\x9b\x32\xdf\x4f\xf0\xf6\x8a\x32\x27\x58\x03\xe4\x14\x01\x80\x3d\x8e\x85\xb0\x56\x55\x40\xb1\x0a\x6b\xbc\xa6\xac\x63\xd0\x88\x00\x18\xc3\xe3\xa3\x50\x47\x6a\xe8\x99\x3d\x1e\x95\xfa\x6c\x26\xa3\x6a\x96\x7f\xc7\x27\x94\x14\xfa\x52\x7e\x06\x50\xcb\xa6\xe9\xf9\xa5\xfa\x3d\x8b\x5b\xab\xcf\x0e\x4d\xbf\x58\x3e\x8b\x5b\xab\xcf\x13\x4c\x09\xf4\x14\x55\x02\x7d\x1c\x57\x3b\xbe\x33\x4d\x7d\xb5\xc3\xaa\x1f\x68\x83\xba\x0e\x2f\xae\xf8\xfe\xf5\x95\x2b\x98\xf4\x38\xa9\x19\x52\xe8\xb8\xf2\x5c\xcf\x2b\x12\x22\xca\xd9\xae\xcf\xb8\xe4\xde\xbe\x27\x75\xc3\xce\x27\xd5\xe7\x76\x0a\x5e\xde\x63\xa3\xf3\x72\x58\x7d\x2e\x7b\x8e\x19\xdf\x64\xf0\x30\x87\x6d\xbd\x33\xb0\xf4\x17\x80\xa5\xaf\x08\x2c\xbd\x96\xef\x20\x4d\x5b\xa5\x43\x67\x57\xf6\x39\x22\x05\x82\x56\x5e\x9e\xd1\x0a\x70\x76\x91\xcf\xd5\x82\x75\x26\x53\x29\x5b\x77\x21\x0b\x3e\x41\x0b\xfa\x85\x26\x11\xbc\x4f\x1d\xc8\x5c\x6b\xac\x06\xc8\xe9\xb7\xba\x5b\xc9\xb3\x72\xac\x18\xd0\x18\xde\x4b\x4e\x00\x8b\xd7\x7f\x08\xd6\x78\x24\x9c\xe2\x78\x06\x88\xc0\xaf\x63\x46\x29\x1c\xcc\x03\x0b\xe3\x22\xb8\x77\xf9\xd0\xcd\x02\xee\x73\xd9\x4c\x47\x21\xad\x7b\x03\xb4\x9e\xc7\x70\xda\x69\x27\xa8\x14\xb6\x22\x9a\x9a\xc4\x16\xeb\xcb\x3b\xf6\x8d\x46\x84\x16\xdb\xbb\x3b\xf8\x52\xa3\xc0\x7e\xf1\xc3\x23\x0a\x26\xd2\x2b\x64\x56\xc9\x31\x79\x0b\x8f\xea\x5a\xda\xca\x60\x89\x52\x9b\x9e\xe6\x45\x5f\x41\xd1\x3c\xbb\x3b\xe5\xae\x81\x6a\x7e\x78\x9f\x51\x5b\x84\x60\x6a\x21\x2b\xf1\x03\xf3\x1a\xb9\x22\x80\xf2\xf6\x80\x78\x92\xb6\x61\x65\x28\x0d\xee\x13\x7d\x51\x03\x6f\xa0\x4f\x04\x73\x3b\xfa\x40\xa5\xbd\xcd\xf2\x95\x6f\x54\xfa\xd9\x04\x38\x86\xa3\x3b\xc6\x6e\xd5\x65\x21\x3a\xc7\x4f\xbb\xe4\x23\xf4\x32\xb8\x62\x38\x02\x85\xe7\x3b\xfc\xa4\x4a\xe0\x7e\x34\x94\xc3\xd1\x87\x4f\x39\x69\x20\xdf\xa4\x85\xa0\x4e\xf0\xfd\x2b\x0e\x87\x96\xbb\x46\x73\x28\xf2\xd6\x41\xc3\x90\x7b\xeb\x13\xd0\xf7\xba\x96\x62\x5c\xcc\x3f\x41\xfc\xff\xe5\x15\xe6\x70\x00\xfe\x2d\xe6\x23\xfd\xff\xbb\xbc\xc5\x3c\xb6\xcc\xba\xc7\x98\xf1\xd8\xec\x02\x97\x03\xe2\x7d\x1c\x39\xae\xa2\xfd\x8c\x1a\xe1\x3e\x45\x46\xec\xca\x47\x96\x37\xfb\x9a\xc5\x57\xac\x36\xd8\xa2\xe3\xfe\x82\xfb\x1c\x51\x6f\x52\x63\xfa\x64\x50\x3c\x04\xc9\x99\x7a\x8b\x24\x5f\xad\x11\xa9\x3e\x7b\x51\xaa\xf5\x68\x01\x93\x84\xba\x68\x2c\x6f\xf2\xa9\x57\xde\xd4\xba\xb5\x47\x43\x8e\x37\x77\x34\x6a\xa9\x24\x37\x7d\xed\xaa\xc8\x2c\x33\x51\xc0\x60\x2a\x92\x13\x5e\x9f\x97\x1c\x79\x7c\x14\xaf\xf1\x4b\x4a\xf3\xa7\x51\x18\xc1\x88\xb5\x99\xb8\xeb\xa0\x51\x00\xcd\xf2\xaa\x60\x2c\xe3\xf8\x54\xc9\x0d\xbf\xec\x2a\x39\xfa\x91\x4c\x7c\x1f\x53\x72\x96\x88\x1f\x42\x94\x1b\x1b\x9f\xce\xdf\x5a\xb7\x7d\xdf\x56\xcb\xa1\x9f\x7f\x56\xd7\x95\x4e\xa0\xcd\xed\xcf\xb4\x9b\x7e\x01\xb6\x1b\xac\xe1\xab\xe1\x4b\xed\x8e\x3e\x79\x32\x82\x93\x47\x02\x52\xf7\xba\xc5\x0b\xfc\xd6\xc2\x1d\xf3\xc8\xac\xe3\x6f\x31\x5f\x10\x8b\x29\xd2\xab\x53\x2d\xc1\xa7\x30\xd5\x3a\x82\x2f\x66\x1e\x5d\x05\x86\x9c\x7c\x5a\xd3\x17\x29\x5e\x51\x14\x20\x57\x9f\xe7\xed\xe5\xe5\x54\x79\x9a\xf6\xfa\xcd\x15\x25\x57\xed\x9d\x38\x8c\x74\x5d\xd8\x63\xa0\x1f\xa0\xb4\xef\x15\x9c\x5e\xb8\x4f\x7c\x06\x2b\xad\x4d\xf2\xe7\x03\xb3\xe0\xcb\xd8\xda\x38\x8d\xbf\xd1\x8f\x63\xa9\xc1\x54\x69\x95\x1f\x77\xe7\xe0\xdf\x7d\x67\xed\x04\x57\x91\x47\x64\xaf\xcf\xf8\xea\x0a\x4c\x0e\xa3\xd8\x72\x8b\x83\xc6\x1d\x4a\x21\xbd\x87\x67\x65\xd4\xc1\x57\x3e\xba\x1b\xb6\x15\x1c\x2a\xf7\x8c\x75\xf6\xae\x61\xfc\x08\x53\x08\x98\xc9\xfe\xb3\xb7\xd6\xa2\x86\x9d\x93\x69\x5a\x21\x7a\x74\x2d\xaa\x34\x1f\x06\x70\xdf\x73\x6b\x62\x14\x30\x65\xdc\xd9\xbc\x55\x19\x8f\x4d\xdf\x0a\x7b\xdf\xd7\x85\x03\x90\x5b\x71\xad\x05\x10\xf6\x5d\xf4\x00\x68\xfe\xeb\xb6\x0a\x30\xe6\x29\x9a\x3d\xfa\xe8\x69\xf4\xb5\x53\xab\x69\x1f\x6f\x6b\x06\xd1\xb6\xf1\x71\x45\xbd\x63\xf4\x1e\x99\x2c\x68\x19\xf8\xdc\x17\x86\x83\x22\xed\x88\x8b\xc2\x4e\x70\x42\xf1\xe7\x16\xef\xfd\x1a\xb2\x21\x98\x4d\xee\xab\x4c\x5e\xe0\x09\xea\xc0\xe0\xbf\x42\x18\xef\xb4\x12\x8d\x7b\x5a\x83\xc6\x7d\x04\x5c\x9c\xc0\xc6\xcf\xaf\xf0\x4b\x58\x88\x1b\x31\x87\x96\x29\x15\xd9\x84\x25\x6f\xfc\x2d\x8a\x10\x07\xc5\xd2\x13\x86\xfb\x42\xe5\x2c\x69\xf8\x2f\x7c\x87\xdd\xf2\xb7\xb9\x83\x83\xc0\xe7\x86\x47\x9a\xcf\x0d\x3f\x01\xee\x73\xe7\xbe\xc9\x3d\x2d\xf5\x9e\xf9\x6f\x39\x36\xe5\xc1\x5e\x3e\x53\xde\x3d\xc0\x87\x58\xbf\x0b\x6a\x84\xdf\xf3\x8e\x73\xc7\x6d\xe8\xe7\x43\x47\x4d\x18\xb3\x8c\xb6\x4c\xb5\x3a\x82\x18\xf7\x15\xc1\xe8\x75\x66\xa0\x5f\xbe\x46\xab\xc7\x4a\xf4\xf9\xe0\x31\x31\x7b\x66\xeb\x48\x39\x64\xb4\x36\x30\x0e\x69\x8f\xbe\xab\xab\xdf\x72\xd3\xd8\x76\xf7\xe5\xc2\x5f\x90\xed\x47\x38\xfb\xd1\xdc\xf1\xd7\x72\x39\xe8\xdc\xaa\xc4\x9f\x37\x9e\x7e\xd7\x58\xc1\xec\x89\x78\x58\x04\x26\xaf\xc9\xc3\x14\xa0\x8f\xc9\x1b\x63\x90\x2b\x4e\x1c\xdf\x9d\x6d\xd5\xfc\x2d\xd7\xa0\x10\xe5\x9d\xbe\x81\xbd\xdb\x8d\x3b\xfa\xc4\x5a\x54\x49\xbe\xec\xe6\x3e\xe3\x34\xad\x6c\xb7\xf5\xdc\x22\xda\xed\xa3\xd9\x45\xfc\x6d\x28\x07\x6a\x5c\xbe\xbd\xc6\x0f\x99\xd1\xcf\xf4\x0d\x7e\xba\xb5\x92\x6b\x45\xd0\x86\x39\x98\xf9\x99\x5d\x34\x82\x52\x4c\x39\x6e\x95\x3e\x57\x7b\x3e\x96\xf5\xdb\x33\xbc\x38\x94\x83\xb3\xf9\xcf\xc8\x09\x91\x1c\x72\xe6\x0b\xfc\x9e\x1f\xa0\xc2\x4e\xa5\xc0\xb8\xdc\x08\x8a\xe8\xbc\x09\x88\xe9\xd5\xaf\x6f\x2e\x47\x90\x33\x1b\x54\x4b\x66\x36\x74\xfc\x6d\xed\x70\xfb\x8a\x2b\xc7\x4d\x01\xee\x9b\xf9\x19\x08\xe4\xd1\x09\x08\x0d\x79\xcf\x2c\x88\x67\xb6\x21\xa5\xb6\x22\xdf\xcb\x8e\x51\x3a\x93\xdf\x31\x50\xf0\xba\xa3\x40\xd9\xe3\x8e\x93\x5e\xeb\xb0\xcf\x5a\xdc\x10\x9e\x1f\x48\x88\x40\xc0\x0f\x24\xd4\x76\x76\x78\x06\x4d\x2a\xeb\x6d\x55\xa8\xe0\x28\xf0\xef\x34\xcb\x40\x0d\xc4\xb7\x6c\x10\xda\xb4\x1b\x26\x11\x6e\xe5\xa4\xb7\x33\xfc\x8a\x96\x4e\x37\x22\xef\x17\x81\xf5\xdb\x90\xdf\xa6\x97\x1a\x06\xbc\x5e\x39\xc4\x98\x41\xe9\xe5\x99\x7f\xf7\x12\xb6\xa7\xd1\x64\xb6\xd5\x4d\xe9\x2c\x55\x3a\x9b\x37\x94\x17\x01\xf3\x47\xf1\x3b\xbb\x10\x29\xdf\xf7\xe3\xcf\x6a\x8f\x26\x11\x36\xa5\x33\x99\xb4\xb4\xaf\x60\x3d\x0c\xf0\x22\x19\xf3\x18\x37\x68\xe5\xdb\x01\xb8\x32\xee\x31\xbb\xb5\xef\xe3\x04\x3b\xc4\x7f\xac\xc2\x9f\xcf\xae\x77\x3e\x97\x67\x7b\x66\x28\x3d\xb9\x18\x06\x27\x97\x45\x0b\x2c\x56\xad\xbc\xad\xc2\xff\xae\xd9\x8f\xeb\x4a\xc2\xbd\x67\x79\x1d\xd1\x5e\x31\xc8\x65\x1b\x4d\x7a\x78\x1f\x5d\x20\x68\xb2\x82\x99\xe7\xc4\x62\x80\xf2\xf7\x72\x35\x04\x6e\x85\x5f\xe5\xb7\xda\xf1\x7c\x33\x8d\x05\x07\x0e\x35\x1e\x3c\x7b\x27\x39\x01\xcc\xdc\x03\x4b\x36\x74\x84\x38\x5a\xa8\xe3\xd1\xfe\x5d\xf7\x50\x7f\x18\xca\x22\x2e\x2c\xca\x41\x7e\x66\x5b\xb9\x7b\x31\x0a\xc2\x30\xd8\x50\x0a\x09\xf3\xb2\xef\x23\x39\xcd\x95\xcd\x0c\xdc\x8a\x1a\x7c\xf9\x7d\xbf\x08\x60\x21\x8a\x07\x2f\x8f\xcb\x18\xa4\xfc\x4b\x21\x56\xc9\x47\x89\x69\xf8\x34\x7a\x9c\xd6\xcc\x8f\x41\x18\x4d\x74\xff\xe7\xa1\x3c\x11\x27\x97\xa4\xac\x12\x47\x10\xc9\x13\x77\x01\xec\x93\xae\x5d\x3d\x79\x18\x3e\x2c\xc7\x16\x21\x0f\xc0\x0f\xd1\x71\xe1\x8f\xfa\xea\x9c\x8e\x03\x46\x0d\x6a\xf3\x6f\xfa\x60\x9d\xfc\x0e\xdb\x15\xb3\x87\x34\xdd\xfd\x27\xd7\xfa\xdf\x12\x0d\xb6\xf0\x4d\x68\x06\x1e\xaa\xff\x23\x0d\xb9\x37\x3c\x74\x7e\xf6\x7b\x84\x17\x5c\x99\x66\x84\xc8\xdd\xe9\xf1\xd7\x0b\x14\x55\xb8\x79\xcd\x37\x71\x3c\x9e\xe8\xc7\xfd\x88\x8a\x9a\x9a\x20\xaa\xd9\xf1\x1d\xc4\xec\x87\xcc\xbf\x72\x89\x4b\x78\x52\x50\x75\xfa\x2e\x96\x7c\x1a\xe2\x07\xf7\xc2\x65\xf2\xb1\x6f\x9a\xed\xa7\x24\x5f\xf3\x9c\xe8\x6f\x82\x27\x64\x25\x5e\x17\x31\x69\x94\x4c\xe4\x27\xa7\xbe\xe7\x86\xbf\x27\x2d\x95\x18\x08\x1e\x67\xfb\x7e\x87\x0c\xf9\xb8\x30\x32\x36\xc8\xe0\xb7\x87\xf1\xb3\xc0\xcf\x22\xbf\xc3\xaf\x03\x7e\x1d\xca\xf2\xb3\x54\x06\x87\xa1\xea\xa4\xf5\x6d\x90\x73\x87\xdf\xfc\xda\x18\xbe\xec\x8e\x7e\xf4\x59\x3f\xfb\x81\x27\xe1\xe4\x5b\xc6\xc8\xb7\x1f\x94\x2f\x5f\xf9\x78\xe6\x3f\xf8\xf1\x90\xfd\x63\x77\x9a\x85\x14\xe5\x70\xf7\x9a\x25\xc9\x87\x60\x13\xa4\xcb\x6a\x83\x92\xa6\x5c\x1e\x87\x66\x4a\x92\xf2\xda\xfc\x90\xf9\x71\x69\x0a\xb9\x7e\x54\x9a\x4a\xfe\x5f\x00\x00\x00\xff\xff\x59\x84\xf7\x7d\x91\x8c\x00\x00") func confLocaleLocale_enUsIniBytes() ([]byte, error) { return bindataRead( @@ -787,7 +787,7 @@ func confLocaleLocale_enUsIni() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "conf/locale/locale_en-US.ini", size: 36002, mode: os.FileMode(420), modTime: time.Unix(1438872339, 0)} + info := bindataFileInfo{name: "conf/locale/locale_en-US.ini", size: 35985, mode: os.FileMode(420), modTime: time.Unix(1439021705, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -987,7 +987,7 @@ func confLocaleLocale_zhCnIni() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "conf/locale/locale_zh-CN.ini", size: 35357, mode: os.FileMode(493), modTime: time.Unix(1438846726, 0)} + info := bindataFileInfo{name: "conf/locale/locale_zh-CN.ini", size: 35357, mode: os.FileMode(493), modTime: time.Unix(1439005078, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/public/css/gogs.min.css b/public/css/gogs.min.css index 1690df33..a8ffbe3f 100644 --- a/public/css/gogs.min.css +++ b/public/css/gogs.min.css @@ -1 +1 @@ -@font-face{font-family:octicons;src:url(../fonts/octicons.eot?#iefix&v=345f8bad9c5003db196d08f05e7f030fd2a32ff6)format('embedded-opentype'),url(../fonts/octicons.woff?v=345f8bad9c5003db196d08f05e7f030fd2a32ff6)format('woff'),url(../fonts/octicons.ttf?v=345f8bad9c5003db196d08f05e7f030fd2a32ff6)format('truetype'),url(../fonts/octicons.svg?v=345f8bad9c5003db196d08f05e7f030fd2a32ff6#octicons)format('svg');font-weight:400;font-style:normal}.mega-octicon,.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-git-fork-private:before,.octicon-lock:before,.octicon-mirror-private: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-file-add:before,.octicon-file-directory-create:before,.octicon-gist-new:before,.octicon-plus:before,.octicon-repo-create: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-add:before,.octicon-tag-remove:before,.octicon-tag:before{content:'\f015'}.octicon-telescope:before{content:'\f088'}.octicon-terminal:before{content:'\f0c8'}.octicon-three-bars:before{content:'\f05e'}.octicon-thumbsdown:before{content:'\f0db'}.octicon-thumbsup:before{content:'\f0da'}.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'}body{font-family:'Helvetica Neue',Arial,Helvetica,sans-serif,'微软雅黑';background-color:#FAFAFA}img{border-radius:3px}.full.height{padding:0;margin:0 0 -87px 0;min-height:100%}.following.bar{z-index:900;left:0;width:100%;padding:.7em 0}.following.bar.light{background-color:#fff;border-bottom:1px solid #DDD;box-shadow:0 2px 3px rgba(0,0,0,.04)}.following.bar .ui.secondary.menu{height:30px}.following.bar .column .menu{margin-top:0}.following.bar .brand{float:left;margin-right:5px}.following.bar .head.link.item{padding-right:0!important}.following.bar .head.link.item .dropdown.icon,.following.bar .head.link.item .menu .octicon{margin-right:5px}.following.bar .user.avatar{padding:0;margin-top:1px}.following.bar .searchbox{background-color:#f4f4f4!important}.following.bar .searchbox:focus{background-color:#e9e9e9!important}.following.bar .octicon{width:16px;opacity:1!important;text-align:center}.ui.left{float:left}.ui.right{float:right}footer{margin-top:40px!important;background-color:#fff;border-top:1px solid #d6d6d6;clear:both;width:100%;color:#888}footer .fa{width:16px;text-align:center;color:#428bca}footer .ui.language.dropdown{z-index:10000}footer .links>*{border-left:1px solid #d6d6d6;padding-left:8px;margin-left:5px}footer .links>:first-child{border-left:none}.hide{display:none}.center{text-align:center}.text-error{color:#d95c5c!important}.img-1{width:2px;height:2px}.img-2{width:4px;height:4px}.img-3{width:6px;height:6px}.img-4{width:8px;height:8px}.img-5{width:10px;height:10px}.img-6{width:12px;height:12px}.img-7{width:14px;height:14px}.img-8{width:16px;height:16px}.img-9{width:18px;height:18px}.img-10{width:20px;height:20px}.img-11{width:22px;height:22px}.img-12{width:24px;height:24px}.img-13{width:26px;height:26px}.img-14{width:28px;height:28px}.img-15{width:30px;height:30px}.img-16{width:32px;height:32px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.home{padding-bottom:120px}.home .logo{max-width:250px}.home .hero h1,.home .hero h2{font-family:'PT Sans Narrow',sans-serif}.home .hero h1{font-size:7em}.home .hero h2{font-size:4em}.home .hero .octicon{color:#d9453d;font-size:60px;margin-right:10px}.home .hero.header{font-size:24px}.home p.large{font-size:20px}.home .stackable{padding-top:30px}.home a{color:#d9453d}.install{padding-top:45px;padding-bottom:120px}.install form label{text-align:right;width:40%!important}.install form input{width:35%!important}.install form .field{text-align:left}.install form .field .help{margin-left:41%}.install form .field.optional .title{margin-left:38%}.install .ui .checkbox{margin-left:40%!important}.install .ui .checkbox label{width:auto!important}.form .help{color:#999;padding-top:.6em;padding-bottom:.6em;display:inline-block}.ui.attached.header{background:#f0f0f0}.ui.attached.header .right{margin-top:-5px}.repository{padding-top:15px;padding-bottom:120px}.repository .head{height:75px;padding-top:20px;background-color:#FCFCFC}.repository .head .mega-octicon{width:30px}.repository .head .fork-flag,.repository .head a{font-weight:300}.repository .head .ui.label{margin-top:5px;vertical-align:top}.repository .head .fork-flag{margin-left:38px;display:block;font-size:11px;line-height:10px;white-space:nowrap}.repository .head .button{margin-left:10px}.repository .head .button i{margin-right:5px}.repository .head .num{font-weight:700}.repository .head .octicon{height:5px}.repository .navbar{height:60px;padding-top:20px}.repository .navbar .ui.secondary.menu .item{margin-left:-10px;margin-top:-7px}.repository .navbar .ui.secondary.menu .item>.input .color-picker,.repository .navbar .ui.secondary.menu .item>.input .new-label-input{background-color:#fff;border:1px solid rgba(0,0,0,.15)}.repository .navbar .ui.secondary.menu .item.input{margin-right:-7px}.repository .navbar .ui.secondary.menu .item .new-label-input{width:150px}.repository .navbar .ui.secondary.menu .item .color-picker{height:35px;width:auto;padding-left:30px}.repository .navbar .ui.secondary.menu .item .minicolors-swatch.minicolors-sprite{top:10px;left:10px;width:15px;height:15px}.repository .navbar .ui.secondary.menu .item.precolors{padding-left:0;padding-right:0;margin-right:10px;width:120px}.repository .navbar .ui.secondary.menu .item.precolors .color{float:left;width:15px;height:15px}.repository .filter.menu .label.color{margin-left:17px;padding:0 8px}.repository .filter.menu .octicon{float:left;margin-left:-5px;margin-right:-7px}.repository .filter.menu .menu{max-height:300px;overflow-x:auto;right:0!important;left:auto!important}.repository .filter.menu .menu .clickable .name{padding-left:15px!important}.repository .page.buttons{padding-top:15px}.repository .issue.list{clear:both;list-style:none}.repository .issue.list>.item{padding-top:15px;padding-bottom:10px;border-bottom:1px dashed #AAA}.repository .issue.list>.item .title{color:#444;font-size:15px;font-weight:700;margin:0 6px}.repository .issue.list>.item .title:hover{color:#000}.repository .issue.list>.item .comment{padding-right:10px;color:#666}.repository .issue.list>.item .desc{padding-top:5px;color:#999}.repository .issue.list>.item .desc a.milestone{padding-left:5px;color:#999!important}.repository .issue.list>.item .desc a.milestone:hover{color:#000!important}.repository .label.list{clear:both;list-style:none}.repository .label.list .item{padding-top:10px;padding-bottom:10px;border-bottom:1px dashed #AAA}.repository .label.list .item a{font-size:15px;padding-top:5px;padding-right:10px;color:#666}.repository .label.list .item a:hover{color:#000}.repository .label.list .item a.open-issues{margin-right:30px}.repository .milestone.list{clear:both;list-style:none}.repository .milestone.list>.item{padding-top:10px;padding-bottom:10px;border-bottom:1px dashed #AAA}.repository .milestone.list>.item>a{padding-top:5px;padding-right:10px;color:#000}.repository .milestone.list>.item>a:hover{color:#4078c0}.repository .milestone.list>.item .ui.progress{width:40%;padding:0;border:0;margin:0}.repository .milestone.list>.item .ui.progress .bar{height:20px}.repository .milestone.list>.item .meta{color:#999;padding-top:5px}.repository .milestone.list>.item .meta .issue-stats .octicon{padding-left:5px}.repository .milestone.list>.item .meta .overdue{color:red}.repository .milestone.list>.item .operate{margin-top:-15px}.repository .milestone.list>.item .operate>a{font-size:15px;padding-top:5px;padding-right:10px;color:#666}.repository .milestone.list>.item .operate>a:hover{color:#000}.repository .milestone.list>.item .content{padding-top:10px}.repository.new.milestone textarea{height:200px}.repository.settings .content{padding-left:20px!important}.settings .key.list .item:not(:first-child){border-top:1px solid #eaeaea}.settings .key.list .ssh-key-state-indicator{float:left;color:gray;padding-left:10px;padding-top:10px}.settings .key.list .ssh-key-state-indicator.active{color:#6cc644}.settings .key.list .meta{padding-top:5px}.settings .key.list .print{color:#767676}.settings .key.list .activity{color:#666}.edit-label.modal .color-picker{margin-top:-8px!important;height:35px;width:auto!important;padding-left:30px!important}.edit-label.modal .minicolors-swatch.minicolors-sprite{top:1px;left:10px;width:15px;height:15px}.edit-label.modal .precolors{margin-bottom:-11px!important;padding-left:0!important;padding-right:0!important;margin-right:10px!important;width:120px!important}.edit-label.modal .precolors .color{float:left;margin:0!important;width:15px;height:15px} \ No newline at end of file +@font-face{font-family:octicons;src:url(../fonts/octicons.eot?#iefix&v=345f8bad9c5003db196d08f05e7f030fd2a32ff6)format('embedded-opentype'),url(../fonts/octicons.woff?v=345f8bad9c5003db196d08f05e7f030fd2a32ff6)format('woff'),url(../fonts/octicons.ttf?v=345f8bad9c5003db196d08f05e7f030fd2a32ff6)format('truetype'),url(../fonts/octicons.svg?v=345f8bad9c5003db196d08f05e7f030fd2a32ff6#octicons)format('svg');font-weight:400;font-style:normal}.mega-octicon,.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-git-fork-private:before,.octicon-lock:before,.octicon-mirror-private: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-file-add:before,.octicon-file-directory-create:before,.octicon-gist-new:before,.octicon-plus:before,.octicon-repo-create: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-add:before,.octicon-tag-remove:before,.octicon-tag:before{content:'\f015'}.octicon-telescope:before{content:'\f088'}.octicon-terminal:before{content:'\f0c8'}.octicon-three-bars:before{content:'\f05e'}.octicon-thumbsdown:before{content:'\f0db'}.octicon-thumbsup:before{content:'\f0da'}.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'}body{font-family:'Helvetica Neue',Arial,Helvetica,sans-serif,'微软雅黑';background-color:#FAFAFA}img{border-radius:3px}.full.height{padding:0;margin:0 0 -87px 0;min-height:100%}.following.bar{z-index:900;left:0;width:100%;padding:.7em 0}.following.bar.light{background-color:#fff;border-bottom:1px solid #DDD;box-shadow:0 2px 3px rgba(0,0,0,.04)}.following.bar .ui.secondary.menu{height:30px}.following.bar .column .menu{margin-top:0}.following.bar .brand{float:left;margin-right:5px}.following.bar .head.link.item{padding-right:0!important}.following.bar .head.link.item .dropdown.icon,.following.bar .head.link.item .menu .octicon{margin-right:5px}.following.bar .user.avatar{padding:0;margin-top:1px}.following.bar .searchbox{background-color:#f4f4f4!important}.following.bar .searchbox:focus{background-color:#e9e9e9!important}.following.bar .octicon{width:16px;opacity:1!important;text-align:center}.ui.left{float:left}.ui.right{float:right}.ui .text.red{color:#d95c5c!important}footer{margin-top:40px!important;background-color:#fff;border-top:1px solid #d6d6d6;clear:both;width:100%;color:#888}footer .fa{width:16px;text-align:center;color:#428bca}footer .ui.language.dropdown{z-index:10000}footer .links>*{border-left:1px solid #d6d6d6;padding-left:8px;margin-left:5px}footer .links>:first-child{border-left:none}.hide{display:none}.center{text-align:center}.text-error{color:#d95c5c!important}.img-1{width:2px;height:2px}.img-2{width:4px;height:4px}.img-3{width:6px;height:6px}.img-4{width:8px;height:8px}.img-5{width:10px;height:10px}.img-6{width:12px;height:12px}.img-7{width:14px;height:14px}.img-8{width:16px;height:16px}.img-9{width:18px;height:18px}.img-10{width:20px;height:20px}.img-11{width:22px;height:22px}.img-12{width:24px;height:24px}.img-13{width:26px;height:26px}.img-14{width:28px;height:28px}.img-15{width:30px;height:30px}.img-16{width:32px;height:32px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.home{padding-bottom:120px}.home .logo{max-width:250px}.home .hero h1,.home .hero h2{font-family:'PT Sans Narrow',sans-serif}.home .hero h1{font-size:7em}.home .hero h2{font-size:4em}.home .hero .octicon{color:#d9453d;font-size:60px;margin-right:10px}.home .hero.header{font-size:24px}.home p.large{font-size:20px}.home .stackable{padding-top:30px}.home a{color:#d9453d}.install{padding-top:45px;padding-bottom:120px}.install form label{text-align:right;width:40%!important}.install form input{width:35%!important}.install form .field{text-align:left}.install form .field .help{margin-left:41%}.install form .field.optional .title{margin-left:38%}.install .ui .checkbox{margin-left:40%!important}.install .ui .checkbox label{width:auto!important}.form .help{color:#999;padding-top:.6em;padding-bottom:.6em;display:inline-block}.ui.attached.header{background:#f0f0f0}.ui.attached.header .right{margin-top:-5px}.repository form{margin:auto;width:800px!important}.repository form .ui.message{text-align:center}.repository form .header{padding-left:270px!important}.repository form .inline.field>label{text-align:right;width:250px!important;word-wrap:break-word}.repository form .help{margin-left:260px!important}.repository form .dropdown .dropdown.icon{margin-top:-7px!important}.repository form .dropdown .text{margin-right:0!important}.repository form .dropdown .text i{margin-right:0!important}.repository form input,.repository form textarea{width:50%!important}.repository{padding-top:15px;padding-bottom:120px}.repository .head{height:75px;padding-top:20px;background-color:#FCFCFC}.repository .head .mega-octicon{width:30px}.repository .head .fork-flag,.repository .head a{font-weight:300}.repository .head .ui.label{margin-top:5px;vertical-align:top}.repository .head .fork-flag{margin-left:38px;display:block;font-size:11px;line-height:10px;white-space:nowrap}.repository .head .button{margin-left:10px}.repository .head .button i{margin-right:5px}.repository .head .num{font-weight:700}.repository .head .octicon{height:5px}.repository .navbar{height:60px;padding-top:20px}.repository .navbar .ui.secondary.menu .item{margin-left:-10px;margin-top:-7px}.repository .navbar .ui.secondary.menu .item>.input .color-picker,.repository .navbar .ui.secondary.menu .item>.input .new-label-input{background-color:#fff;border:1px solid rgba(0,0,0,.15)}.repository .navbar .ui.secondary.menu .item.input{margin-right:-7px}.repository .navbar .ui.secondary.menu .item .new-label-input{width:150px}.repository .navbar .ui.secondary.menu .item .color-picker{height:35px;width:auto;padding-left:30px}.repository .navbar .ui.secondary.menu .item .minicolors-swatch.minicolors-sprite{top:10px;left:10px;width:15px;height:15px}.repository .navbar .ui.secondary.menu .item.precolors{padding-left:0;padding-right:0;margin-right:10px;width:120px}.repository .navbar .ui.secondary.menu .item.precolors .color{float:left;width:15px;height:15px}.repository .filter.menu .label.color{margin-left:17px;padding:0 8px}.repository .filter.menu .octicon{float:left;margin-left:-5px;margin-right:-7px}.repository .filter.menu .menu{max-height:300px;overflow-x:auto;right:0!important;left:auto!important}.repository .filter.menu .menu .clickable .name{padding-left:15px!important}.repository .page.buttons{padding-top:15px}.repository .issue.list{clear:both;list-style:none}.repository .issue.list>.item{padding-top:15px;padding-bottom:10px;border-bottom:1px dashed #AAA}.repository .issue.list>.item .title{color:#444;font-size:15px;font-weight:700;margin:0 6px}.repository .issue.list>.item .title:hover{color:#000}.repository .issue.list>.item .comment{padding-right:10px;color:#666}.repository .issue.list>.item .desc{padding-top:5px;color:#999}.repository .issue.list>.item .desc a.milestone{padding-left:5px;color:#999!important}.repository .issue.list>.item .desc a.milestone:hover{color:#000!important}.repository .label.list{clear:both;list-style:none}.repository .label.list .item{padding-top:10px;padding-bottom:10px;border-bottom:1px dashed #AAA}.repository .label.list .item a{font-size:15px;padding-top:5px;padding-right:10px;color:#666}.repository .label.list .item a:hover{color:#000}.repository .label.list .item a.open-issues{margin-right:30px}.repository .milestone.list{clear:both;list-style:none}.repository .milestone.list>.item{padding-top:10px;padding-bottom:10px;border-bottom:1px dashed #AAA}.repository .milestone.list>.item>a{padding-top:5px;padding-right:10px;color:#000}.repository .milestone.list>.item>a:hover{color:#4078c0}.repository .milestone.list>.item .ui.progress{width:40%;padding:0;border:0;margin:0}.repository .milestone.list>.item .ui.progress .bar{height:20px}.repository .milestone.list>.item .meta{color:#999;padding-top:5px}.repository .milestone.list>.item .meta .issue-stats .octicon{padding-left:5px}.repository .milestone.list>.item .meta .overdue{color:red}.repository .milestone.list>.item .operate{margin-top:-15px}.repository .milestone.list>.item .operate>a{font-size:15px;padding-top:5px;padding-right:10px;color:#666}.repository .milestone.list>.item .operate>a:hover{color:#000}.repository .milestone.list>.item .content{padding-top:10px}.repository.new.milestone textarea{height:200px}.repository.settings .content{padding-left:20px!important}.settings .key.list .item:not(:first-child){border-top:1px solid #eaeaea}.settings .key.list .ssh-key-state-indicator{float:left;color:gray;padding-left:10px;padding-top:10px}.settings .key.list .ssh-key-state-indicator.active{color:#6cc644}.settings .key.list .meta{padding-top:5px}.settings .key.list .print{color:#767676}.settings .key.list .activity{color:#666}.edit-label.modal .color-picker{margin-top:-8px!important;height:35px;width:auto!important;padding-left:30px!important}.edit-label.modal .minicolors-swatch.minicolors-sprite{top:1px;left:10px;width:15px;height:15px}.edit-label.modal .precolors{margin-bottom:-11px!important;padding-left:0!important;padding-right:0!important;margin-right:10px!important;width:120px!important}.edit-label.modal .precolors .color{float:left;margin:0!important;width:15px;height:15px} \ No newline at end of file diff --git a/public/less/_base.less b/public/less/_base.less index 35328069..fd0b168b 100644 --- a/public/less/_base.less +++ b/public/less/_base.less @@ -62,6 +62,12 @@ img { &.right { float: right; } + + .text { + &.red { + color: #d95c5c!important; + } + } } footer { margin-top: @footer-margin!important; diff --git a/public/less/_form.less b/public/less/_form.less index 8b2c30b1..048e291f 100644 --- a/public/less/_form.less +++ b/public/less/_form.less @@ -11,4 +11,38 @@ .right { margin-top: -5px; } +} +.repository form { + margin: auto; + width: 800px!important; + .ui.message { + text-align: center; + } + @input-padding: 250px !important; + .header { + padding-left: @input-padding+20px; + } + .inline.field > label { + text-align: right; + width: @input-padding; + word-wrap: break-word; + } + .help { + margin-left: @input-padding+10px; + } + .dropdown { + .dropdown.icon { + margin-top: -7px!important; + } + .text { + margin-right: 0!important; + i { + margin-right: 0!important; + } + } + } + input, + textarea { + width: 50%!important; + } } \ No newline at end of file diff --git a/routers/api/v1/repo.go b/routers/api/v1/repo.go index d683eac3..fdf05c05 100644 --- a/routers/api/v1/repo.go +++ b/routers/api/v1/repo.go @@ -104,7 +104,7 @@ func createRepo(ctx *middleware.Context, owner *models.User, opt api.CreateRepoO repo, err := models.CreateRepository(owner, opt.Name, opt.Description, opt.Gitignore, opt.License, opt.Private, false, opt.AutoInit) if err != nil { - if err == models.ErrRepoAlreadyExist || + if models.IsErrRepoAlreadyExist(err) || models.IsErrNameReserved(err) || models.IsErrNamePatternNotAllowed(err) { ctx.JSON(422, &base.ApiJsonErr{err.Error(), base.DOC_URL}) diff --git a/routers/repo/pull.go b/routers/repo/pull.go index d379a54e..cb516703 100644 --- a/routers/repo/pull.go +++ b/routers/repo/pull.go @@ -5,14 +5,109 @@ package repo import ( + "github.com/gogits/gogs/models" + "github.com/gogits/gogs/modules/auth" "github.com/gogits/gogs/modules/base" + "github.com/gogits/gogs/modules/log" "github.com/gogits/gogs/modules/middleware" + "github.com/gogits/gogs/modules/setting" ) const ( + FORK base.TplName = "repo/pulls/fork" PULLS base.TplName = "repo/pulls" ) +func getForkRepository(ctx *middleware.Context) *models.Repository { + forkRepo, err := models.GetRepositoryById(ctx.ParamsInt64(":repoid")) + if err != nil { + if models.IsErrRepoNotExist(err) { + ctx.Handle(404, "GetRepositoryById", nil) + } else { + ctx.Handle(500, "GetRepositoryById", err) + } + return nil + } + ctx.Data["repo_name"] = forkRepo.Name + ctx.Data["desc"] = forkRepo.Description + ctx.Data["IsPrivate"] = forkRepo.IsPrivate + + if err = forkRepo.GetOwner(); err != nil { + ctx.Handle(500, "GetOwner", err) + return nil + } + ctx.Data["ForkFrom"] = forkRepo.Owner.Name + "/" + forkRepo.Name + + if err := ctx.User.GetOrganizations(); err != nil { + ctx.Handle(500, "GetOrganizations", err) + return nil + } + ctx.Data["Orgs"] = ctx.User.Orgs + + return forkRepo +} + +func Fork(ctx *middleware.Context) { + ctx.Data["Title"] = ctx.Tr("new_fork") + + getForkRepository(ctx) + if ctx.Written() { + return + } + + ctx.Data["ContextUser"] = ctx.User + ctx.HTML(200, FORK) +} + +func ForkPost(ctx *middleware.Context, form auth.CreateRepoForm) { + ctx.Data["Title"] = ctx.Tr("new_fork") + + forkRepo := getForkRepository(ctx) + if ctx.Written() { + return + } + + ctxUser := checkContextUser(ctx, form.Uid) + if ctx.Written() { + return + } + ctx.Data["ContextUser"] = ctxUser + + if ctx.HasError() { + ctx.HTML(200, FORK) + return + } + + // Check ownership of organization. + if ctxUser.IsOrganization() { + if !ctxUser.IsOwnedBy(ctx.User.Id) { + ctx.Error(403) + return + } + } + + repo, err := models.ForkRepository(ctxUser, forkRepo, form.RepoName, form.Description) + if err != nil { + switch { + case models.IsErrRepoAlreadyExist(err): + ctx.Data["Err_RepoName"] = true + ctx.RenderWithErr(ctx.Tr("repo.settings.new_owner_has_same_repo"), FORK, &form) + case models.IsErrNameReserved(err): + ctx.Data["Err_RepoName"] = true + ctx.RenderWithErr(ctx.Tr("repo.form.name_reserved", err.(models.ErrNameReserved).Name), FORK, &form) + case models.IsErrNamePatternNotAllowed(err): + ctx.Data["Err_RepoName"] = true + ctx.RenderWithErr(ctx.Tr("repo.form.name_pattern_not_allowed", err.(models.ErrNamePatternNotAllowed).Pattern), FORK, &form) + default: + ctx.Handle(500, "ForkPost", err) + } + return + } + + log.Trace("Repository forked[%d]: %s/%s", forkRepo.Id, ctxUser.Name, repo.Name) + ctx.Redirect(setting.AppSubUrl + "/" + ctxUser.Name + "/" + repo.Name) +} + func Pulls(ctx *middleware.Context) { ctx.Data["IsRepoToolbarPulls"] = true ctx.HTML(200, PULLS) diff --git a/routers/repo/repo.go b/routers/repo/repo.go index f8df726c..dde8b584 100644 --- a/routers/repo/repo.go +++ b/routers/repo/repo.go @@ -25,7 +25,6 @@ import ( const ( CREATE base.TplName = "repo/create" MIGRATE base.TplName = "repo/migrate" - FORK base.TplName = "repo/fork" ) func checkContextUser(ctx *middleware.Context, uid int64) *models.User { @@ -119,7 +118,7 @@ func CreatePost(ctx *middleware.Context, form auth.CreateRepoForm) { } switch { - case err == models.ErrRepoAlreadyExist: + case models.IsErrRepoAlreadyExist(err): ctx.Data["Err_RepoName"] = true ctx.RenderWithErr(ctx.Tr("form.repo_name_been_taken"), CREATE, &form) case models.IsErrNameReserved(err): @@ -222,7 +221,7 @@ func MigratePost(ctx *middleware.Context, form auth.MigrateRepoForm) { } switch { - case err == models.ErrRepoAlreadyExist: + case models.IsErrRepoAlreadyExist(err): ctx.Data["Err_RepoName"] = true ctx.RenderWithErr(ctx.Tr("form.repo_name_been_taken"), MIGRATE, &form) case models.IsErrNameReserved(err): @@ -236,114 +235,6 @@ func MigratePost(ctx *middleware.Context, form auth.MigrateRepoForm) { } } -func getForkRepository(ctx *middleware.Context) (*models.Repository, error) { - forkId := ctx.QueryInt64("fork_id") - ctx.Data["ForkId"] = forkId - - forkRepo, err := models.GetRepositoryById(forkId) - if err != nil { - return nil, fmt.Errorf("GetRepositoryById: %v", err) - } - ctx.Data["repo_name"] = forkRepo.Name - ctx.Data["desc"] = forkRepo.Description - - if err = forkRepo.GetOwner(); err != nil { - return nil, fmt.Errorf("GetOwner: %v", err) - } - ctx.Data["ForkFrom"] = forkRepo.Owner.Name + "/" + forkRepo.Name - return forkRepo, nil -} - -func Fork(ctx *middleware.Context) { - ctx.Data["Title"] = ctx.Tr("new_fork") - - if _, err := getForkRepository(ctx); err != nil { - if models.IsErrRepoNotExist(err) { - ctx.Redirect(setting.AppSubUrl + "/") - } else { - ctx.Handle(500, "getForkRepository", err) - } - return - } - - // FIXME: maybe sometime can directly fork to organization? - ctx.Data["ContextUser"] = ctx.User - if err := ctx.User.GetOrganizations(); err != nil { - ctx.Handle(500, "GetOrganizations", err) - return - } - ctx.Data["Orgs"] = ctx.User.Orgs - - ctx.HTML(200, FORK) -} - -func ForkPost(ctx *middleware.Context, form auth.CreateRepoForm) { - ctx.Data["Title"] = ctx.Tr("new_fork") - - forkRepo, err := getForkRepository(ctx) - if err != nil { - if models.IsErrRepoNotExist(err) { - ctx.Redirect(setting.AppSubUrl + "/") - } else { - ctx.Handle(500, "getForkRepository", err) - } - return - } - - ctxUser := checkContextUser(ctx, form.Uid) - if ctx.Written() { - return - } - ctx.Data["ContextUser"] = ctxUser - - if err := ctx.User.GetOrganizations(); err != nil { - ctx.Handle(500, "GetOrganizations", err) - return - } - ctx.Data["Orgs"] = ctx.User.Orgs - - if ctx.HasError() { - ctx.HTML(200, CREATE) - return - } - - if ctxUser.IsOrganization() { - // Check ownership of organization. - if !ctxUser.IsOwnedBy(ctx.User.Id) { - ctx.Error(403) - return - } - } - - repo, err := models.ForkRepository(ctxUser, forkRepo, form.RepoName, form.Description) - if err == nil { - log.Trace("Repository forked: %s/%s", ctxUser.Name, repo.Name) - ctx.Redirect(setting.AppSubUrl + "/" + ctxUser.Name + "/" + repo.Name) - return - } - - if repo != nil { - if errDelete := models.DeleteRepository(ctxUser.Id, repo.Id, ctxUser.Name); errDelete != nil { - log.Error(4, "DeleteRepository: %v", errDelete) - } - } - - // FIXME: merge this with other 2 error handling in to one. - switch { - case err == models.ErrRepoAlreadyExist: - ctx.Data["Err_RepoName"] = true - ctx.RenderWithErr(ctx.Tr("form.repo_name_been_taken"), FORK, &form) - case models.IsErrNameReserved(err): - ctx.Data["Err_RepoName"] = true - ctx.RenderWithErr(ctx.Tr("repo.form.name_reserved", err.(models.ErrNameReserved).Name), FORK, &form) - case models.IsErrNamePatternNotAllowed(err): - ctx.Data["Err_RepoName"] = true - ctx.RenderWithErr(ctx.Tr("repo.form.name_pattern_not_allowed", err.(models.ErrNamePatternNotAllowed).Pattern), FORK, &form) - default: - ctx.Handle(500, "ForkPost", err) - } -} - func Action(ctx *middleware.Context) { var err error switch ctx.Params(":action") { diff --git a/routers/repo/setting.go b/routers/repo/setting.go index 05881a67..1d5e0702 100644 --- a/routers/repo/setting.go +++ b/routers/repo/setting.go @@ -56,7 +56,7 @@ func SettingsPost(ctx *middleware.Context, form auth.RepoSettingForm) { if ctx.Repo.Repository.Name != newRepoName { if err := models.ChangeRepositoryName(ctx.Repo.Owner, ctx.Repo.Repository.Name, newRepoName); err != nil { switch { - case err == models.ErrRepoAlreadyExist: + case models.IsErrRepoAlreadyExist(err): ctx.Data["Err_RepoName"] = true ctx.RenderWithErr(ctx.Tr("form.repo_name_been_taken"), SETTINGS_OPTIONS, &form) case models.IsErrNameReserved(err): @@ -128,7 +128,7 @@ func SettingsPost(ctx *middleware.Context, form auth.RepoSettingForm) { } if err = models.TransferOwnership(ctx.User, newOwner, ctx.Repo.Repository); err != nil { - if err == models.ErrRepoAlreadyExist { + if models.IsErrRepoAlreadyExist(err) { ctx.RenderWithErr(ctx.Tr("repo.settings.new_owner_has_same_repo"), SETTINGS_OPTIONS, nil) } else { ctx.Handle(500, "TransferOwnership", err) diff --git a/templates/repo/fork.tmpl b/templates/repo/fork.tmpl deleted file mode 100644 index 1d096a75..00000000 --- a/templates/repo/fork.tmpl +++ /dev/null @@ -1,65 +0,0 @@ -{{template "ng/base/head" .}} -{{template "ng/base/header" .}} -
-
- {{.CsrfTokenHtml}} -
-

{{.i18n.Tr "new_fork"}}

-
-
- {{template "ng/base/alert" .}} -
- - - -
-
- - {{.ForkFrom}} -
-
- - - - {{.i18n.Tr "repo.repo_name_helper" | Str2html}} -
-
- - {{.i18n.Tr "repo.fork_visiblity_helper"}} -
-
- - -
-
- - - {{.i18n.Tr "cancel"}} -
-
-
-
-{{template "ng/base/footer" .}} \ No newline at end of file diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 4e307a09..514fef6b 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -19,7 +19,7 @@ {{if $.IsStaringRepo}}{{$.i18n.Tr "repo.unstar"}}{{else}}{{$.i18n.Tr "repo.star"}}{{end}} {{.NumStars}} - + {{$.i18n.Tr "repo.fork"}} {{.NumForks}} diff --git a/templates/repo/header_old.tmpl b/templates/repo/header_old.tmpl index 21f9cea8..420cd125 100644 --- a/templates/repo/header_old.tmpl +++ b/templates/repo/header_old.tmpl @@ -49,7 +49,7 @@
  • - + + {{.i18n.Tr "cancel"}} + + + + + + +{{template "base/footer" .}} \ No newline at end of file -- cgit v1.2.3 From d015d951bd6959f9585d8a83acfe7bba07b7eaad Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 8 Aug 2015 17:53:38 +0800 Subject: fix css rule --- public/css/gogs.min.css | 2 +- public/less/_form.less | 58 +++++++++++++++++++++++++------------------------ 2 files changed, 31 insertions(+), 29 deletions(-) (limited to 'public') diff --git a/public/css/gogs.min.css b/public/css/gogs.min.css index a8ffbe3f..e7658d42 100644 --- a/public/css/gogs.min.css +++ b/public/css/gogs.min.css @@ -1 +1 @@ -@font-face{font-family:octicons;src:url(../fonts/octicons.eot?#iefix&v=345f8bad9c5003db196d08f05e7f030fd2a32ff6)format('embedded-opentype'),url(../fonts/octicons.woff?v=345f8bad9c5003db196d08f05e7f030fd2a32ff6)format('woff'),url(../fonts/octicons.ttf?v=345f8bad9c5003db196d08f05e7f030fd2a32ff6)format('truetype'),url(../fonts/octicons.svg?v=345f8bad9c5003db196d08f05e7f030fd2a32ff6#octicons)format('svg');font-weight:400;font-style:normal}.mega-octicon,.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-git-fork-private:before,.octicon-lock:before,.octicon-mirror-private: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-file-add:before,.octicon-file-directory-create:before,.octicon-gist-new:before,.octicon-plus:before,.octicon-repo-create: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-add:before,.octicon-tag-remove:before,.octicon-tag:before{content:'\f015'}.octicon-telescope:before{content:'\f088'}.octicon-terminal:before{content:'\f0c8'}.octicon-three-bars:before{content:'\f05e'}.octicon-thumbsdown:before{content:'\f0db'}.octicon-thumbsup:before{content:'\f0da'}.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'}body{font-family:'Helvetica Neue',Arial,Helvetica,sans-serif,'微软雅黑';background-color:#FAFAFA}img{border-radius:3px}.full.height{padding:0;margin:0 0 -87px 0;min-height:100%}.following.bar{z-index:900;left:0;width:100%;padding:.7em 0}.following.bar.light{background-color:#fff;border-bottom:1px solid #DDD;box-shadow:0 2px 3px rgba(0,0,0,.04)}.following.bar .ui.secondary.menu{height:30px}.following.bar .column .menu{margin-top:0}.following.bar .brand{float:left;margin-right:5px}.following.bar .head.link.item{padding-right:0!important}.following.bar .head.link.item .dropdown.icon,.following.bar .head.link.item .menu .octicon{margin-right:5px}.following.bar .user.avatar{padding:0;margin-top:1px}.following.bar .searchbox{background-color:#f4f4f4!important}.following.bar .searchbox:focus{background-color:#e9e9e9!important}.following.bar .octicon{width:16px;opacity:1!important;text-align:center}.ui.left{float:left}.ui.right{float:right}.ui .text.red{color:#d95c5c!important}footer{margin-top:40px!important;background-color:#fff;border-top:1px solid #d6d6d6;clear:both;width:100%;color:#888}footer .fa{width:16px;text-align:center;color:#428bca}footer .ui.language.dropdown{z-index:10000}footer .links>*{border-left:1px solid #d6d6d6;padding-left:8px;margin-left:5px}footer .links>:first-child{border-left:none}.hide{display:none}.center{text-align:center}.text-error{color:#d95c5c!important}.img-1{width:2px;height:2px}.img-2{width:4px;height:4px}.img-3{width:6px;height:6px}.img-4{width:8px;height:8px}.img-5{width:10px;height:10px}.img-6{width:12px;height:12px}.img-7{width:14px;height:14px}.img-8{width:16px;height:16px}.img-9{width:18px;height:18px}.img-10{width:20px;height:20px}.img-11{width:22px;height:22px}.img-12{width:24px;height:24px}.img-13{width:26px;height:26px}.img-14{width:28px;height:28px}.img-15{width:30px;height:30px}.img-16{width:32px;height:32px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.home{padding-bottom:120px}.home .logo{max-width:250px}.home .hero h1,.home .hero h2{font-family:'PT Sans Narrow',sans-serif}.home .hero h1{font-size:7em}.home .hero h2{font-size:4em}.home .hero .octicon{color:#d9453d;font-size:60px;margin-right:10px}.home .hero.header{font-size:24px}.home p.large{font-size:20px}.home .stackable{padding-top:30px}.home a{color:#d9453d}.install{padding-top:45px;padding-bottom:120px}.install form label{text-align:right;width:40%!important}.install form input{width:35%!important}.install form .field{text-align:left}.install form .field .help{margin-left:41%}.install form .field.optional .title{margin-left:38%}.install .ui .checkbox{margin-left:40%!important}.install .ui .checkbox label{width:auto!important}.form .help{color:#999;padding-top:.6em;padding-bottom:.6em;display:inline-block}.ui.attached.header{background:#f0f0f0}.ui.attached.header .right{margin-top:-5px}.repository form{margin:auto;width:800px!important}.repository form .ui.message{text-align:center}.repository form .header{padding-left:270px!important}.repository form .inline.field>label{text-align:right;width:250px!important;word-wrap:break-word}.repository form .help{margin-left:260px!important}.repository form .dropdown .dropdown.icon{margin-top:-7px!important}.repository form .dropdown .text{margin-right:0!important}.repository form .dropdown .text i{margin-right:0!important}.repository form input,.repository form textarea{width:50%!important}.repository{padding-top:15px;padding-bottom:120px}.repository .head{height:75px;padding-top:20px;background-color:#FCFCFC}.repository .head .mega-octicon{width:30px}.repository .head .fork-flag,.repository .head a{font-weight:300}.repository .head .ui.label{margin-top:5px;vertical-align:top}.repository .head .fork-flag{margin-left:38px;display:block;font-size:11px;line-height:10px;white-space:nowrap}.repository .head .button{margin-left:10px}.repository .head .button i{margin-right:5px}.repository .head .num{font-weight:700}.repository .head .octicon{height:5px}.repository .navbar{height:60px;padding-top:20px}.repository .navbar .ui.secondary.menu .item{margin-left:-10px;margin-top:-7px}.repository .navbar .ui.secondary.menu .item>.input .color-picker,.repository .navbar .ui.secondary.menu .item>.input .new-label-input{background-color:#fff;border:1px solid rgba(0,0,0,.15)}.repository .navbar .ui.secondary.menu .item.input{margin-right:-7px}.repository .navbar .ui.secondary.menu .item .new-label-input{width:150px}.repository .navbar .ui.secondary.menu .item .color-picker{height:35px;width:auto;padding-left:30px}.repository .navbar .ui.secondary.menu .item .minicolors-swatch.minicolors-sprite{top:10px;left:10px;width:15px;height:15px}.repository .navbar .ui.secondary.menu .item.precolors{padding-left:0;padding-right:0;margin-right:10px;width:120px}.repository .navbar .ui.secondary.menu .item.precolors .color{float:left;width:15px;height:15px}.repository .filter.menu .label.color{margin-left:17px;padding:0 8px}.repository .filter.menu .octicon{float:left;margin-left:-5px;margin-right:-7px}.repository .filter.menu .menu{max-height:300px;overflow-x:auto;right:0!important;left:auto!important}.repository .filter.menu .menu .clickable .name{padding-left:15px!important}.repository .page.buttons{padding-top:15px}.repository .issue.list{clear:both;list-style:none}.repository .issue.list>.item{padding-top:15px;padding-bottom:10px;border-bottom:1px dashed #AAA}.repository .issue.list>.item .title{color:#444;font-size:15px;font-weight:700;margin:0 6px}.repository .issue.list>.item .title:hover{color:#000}.repository .issue.list>.item .comment{padding-right:10px;color:#666}.repository .issue.list>.item .desc{padding-top:5px;color:#999}.repository .issue.list>.item .desc a.milestone{padding-left:5px;color:#999!important}.repository .issue.list>.item .desc a.milestone:hover{color:#000!important}.repository .label.list{clear:both;list-style:none}.repository .label.list .item{padding-top:10px;padding-bottom:10px;border-bottom:1px dashed #AAA}.repository .label.list .item a{font-size:15px;padding-top:5px;padding-right:10px;color:#666}.repository .label.list .item a:hover{color:#000}.repository .label.list .item a.open-issues{margin-right:30px}.repository .milestone.list{clear:both;list-style:none}.repository .milestone.list>.item{padding-top:10px;padding-bottom:10px;border-bottom:1px dashed #AAA}.repository .milestone.list>.item>a{padding-top:5px;padding-right:10px;color:#000}.repository .milestone.list>.item>a:hover{color:#4078c0}.repository .milestone.list>.item .ui.progress{width:40%;padding:0;border:0;margin:0}.repository .milestone.list>.item .ui.progress .bar{height:20px}.repository .milestone.list>.item .meta{color:#999;padding-top:5px}.repository .milestone.list>.item .meta .issue-stats .octicon{padding-left:5px}.repository .milestone.list>.item .meta .overdue{color:red}.repository .milestone.list>.item .operate{margin-top:-15px}.repository .milestone.list>.item .operate>a{font-size:15px;padding-top:5px;padding-right:10px;color:#666}.repository .milestone.list>.item .operate>a:hover{color:#000}.repository .milestone.list>.item .content{padding-top:10px}.repository.new.milestone textarea{height:200px}.repository.settings .content{padding-left:20px!important}.settings .key.list .item:not(:first-child){border-top:1px solid #eaeaea}.settings .key.list .ssh-key-state-indicator{float:left;color:gray;padding-left:10px;padding-top:10px}.settings .key.list .ssh-key-state-indicator.active{color:#6cc644}.settings .key.list .meta{padding-top:5px}.settings .key.list .print{color:#767676}.settings .key.list .activity{color:#666}.edit-label.modal .color-picker{margin-top:-8px!important;height:35px;width:auto!important;padding-left:30px!important}.edit-label.modal .minicolors-swatch.minicolors-sprite{top:1px;left:10px;width:15px;height:15px}.edit-label.modal .precolors{margin-bottom:-11px!important;padding-left:0!important;padding-right:0!important;margin-right:10px!important;width:120px!important}.edit-label.modal .precolors .color{float:left;margin:0!important;width:15px;height:15px} \ No newline at end of file +@font-face{font-family:octicons;src:url(../fonts/octicons.eot?#iefix&v=345f8bad9c5003db196d08f05e7f030fd2a32ff6)format('embedded-opentype'),url(../fonts/octicons.woff?v=345f8bad9c5003db196d08f05e7f030fd2a32ff6)format('woff'),url(../fonts/octicons.ttf?v=345f8bad9c5003db196d08f05e7f030fd2a32ff6)format('truetype'),url(../fonts/octicons.svg?v=345f8bad9c5003db196d08f05e7f030fd2a32ff6#octicons)format('svg');font-weight:400;font-style:normal}.mega-octicon,.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-git-fork-private:before,.octicon-lock:before,.octicon-mirror-private: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-file-add:before,.octicon-file-directory-create:before,.octicon-gist-new:before,.octicon-plus:before,.octicon-repo-create: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-add:before,.octicon-tag-remove:before,.octicon-tag:before{content:'\f015'}.octicon-telescope:before{content:'\f088'}.octicon-terminal:before{content:'\f0c8'}.octicon-three-bars:before{content:'\f05e'}.octicon-thumbsdown:before{content:'\f0db'}.octicon-thumbsup:before{content:'\f0da'}.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'}body{font-family:'Helvetica Neue',Arial,Helvetica,sans-serif,'微软雅黑';background-color:#FAFAFA}img{border-radius:3px}.full.height{padding:0;margin:0 0 -87px 0;min-height:100%}.following.bar{z-index:900;left:0;width:100%;padding:.7em 0}.following.bar.light{background-color:#fff;border-bottom:1px solid #DDD;box-shadow:0 2px 3px rgba(0,0,0,.04)}.following.bar .ui.secondary.menu{height:30px}.following.bar .column .menu{margin-top:0}.following.bar .brand{float:left;margin-right:5px}.following.bar .head.link.item{padding-right:0!important}.following.bar .head.link.item .dropdown.icon,.following.bar .head.link.item .menu .octicon{margin-right:5px}.following.bar .user.avatar{padding:0;margin-top:1px}.following.bar .searchbox{background-color:#f4f4f4!important}.following.bar .searchbox:focus{background-color:#e9e9e9!important}.following.bar .octicon{width:16px;opacity:1!important;text-align:center}.ui.left{float:left}.ui.right{float:right}.ui .text.red{color:#d95c5c!important}footer{margin-top:40px!important;background-color:#fff;border-top:1px solid #d6d6d6;clear:both;width:100%;color:#888}footer .fa{width:16px;text-align:center;color:#428bca}footer .ui.language.dropdown{z-index:10000}footer .links>*{border-left:1px solid #d6d6d6;padding-left:8px;margin-left:5px}footer .links>:first-child{border-left:none}.hide{display:none}.center{text-align:center}.text-error{color:#d95c5c!important}.img-1{width:2px;height:2px}.img-2{width:4px;height:4px}.img-3{width:6px;height:6px}.img-4{width:8px;height:8px}.img-5{width:10px;height:10px}.img-6{width:12px;height:12px}.img-7{width:14px;height:14px}.img-8{width:16px;height:16px}.img-9{width:18px;height:18px}.img-10{width:20px;height:20px}.img-11{width:22px;height:22px}.img-12{width:24px;height:24px}.img-13{width:26px;height:26px}.img-14{width:28px;height:28px}.img-15{width:30px;height:30px}.img-16{width:32px;height:32px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.home{padding-bottom:120px}.home .logo{max-width:250px}.home .hero h1,.home .hero h2{font-family:'PT Sans Narrow',sans-serif}.home .hero h1{font-size:7em}.home .hero h2{font-size:4em}.home .hero .octicon{color:#d9453d;font-size:60px;margin-right:10px}.home .hero.header{font-size:24px}.home p.large{font-size:20px}.home .stackable{padding-top:30px}.home a{color:#d9453d}.install{padding-top:45px;padding-bottom:120px}.install form label{text-align:right;width:40%!important}.install form input{width:35%!important}.install form .field{text-align:left}.install form .field .help{margin-left:41%}.install form .field.optional .title{margin-left:38%}.install .ui .checkbox{margin-left:40%!important}.install .ui .checkbox label{width:auto!important}.form .help{color:#999;padding-top:.6em;padding-bottom:.6em;display:inline-block}.ui.attached.header{background:#f0f0f0}.ui.attached.header .right{margin-top:-5px}.repository.new.fork form{margin:auto;width:800px!important}.repository.new.fork form .ui.message{text-align:center}.repository.new.fork form .header{padding-left:270px!important}.repository.new.fork form .inline.field>label{text-align:right;width:250px!important;word-wrap:break-word}.repository.new.fork form .help{margin-left:260px!important}.repository.new.fork form .dropdown .dropdown.icon{margin-top:-7px!important}.repository.new.fork form .dropdown .text{margin-right:0!important}.repository.new.fork form .dropdown .text i{margin-right:0!important}.repository.new.fork form input,.repository.new.fork form textarea{width:50%!important}.repository{padding-top:15px;padding-bottom:120px}.repository .head{height:75px;padding-top:20px;background-color:#FCFCFC}.repository .head .mega-octicon{width:30px}.repository .head .fork-flag,.repository .head a{font-weight:300}.repository .head .ui.label{margin-top:5px;vertical-align:top}.repository .head .fork-flag{margin-left:38px;display:block;font-size:11px;line-height:10px;white-space:nowrap}.repository .head .button{margin-left:10px}.repository .head .button i{margin-right:5px}.repository .head .num{font-weight:700}.repository .head .octicon{height:5px}.repository .navbar{height:60px;padding-top:20px}.repository .navbar .ui.secondary.menu .item{margin-left:-10px;margin-top:-7px}.repository .navbar .ui.secondary.menu .item>.input .color-picker,.repository .navbar .ui.secondary.menu .item>.input .new-label-input{background-color:#fff;border:1px solid rgba(0,0,0,.15)}.repository .navbar .ui.secondary.menu .item.input{margin-right:-7px}.repository .navbar .ui.secondary.menu .item .new-label-input{width:150px}.repository .navbar .ui.secondary.menu .item .color-picker{height:35px;width:auto;padding-left:30px}.repository .navbar .ui.secondary.menu .item .minicolors-swatch.minicolors-sprite{top:10px;left:10px;width:15px;height:15px}.repository .navbar .ui.secondary.menu .item.precolors{padding-left:0;padding-right:0;margin-right:10px;width:120px}.repository .navbar .ui.secondary.menu .item.precolors .color{float:left;width:15px;height:15px}.repository .filter.menu .label.color{margin-left:17px;padding:0 8px}.repository .filter.menu .octicon{float:left;margin-left:-5px;margin-right:-7px}.repository .filter.menu .menu{max-height:300px;overflow-x:auto;right:0!important;left:auto!important}.repository .filter.menu .menu .clickable .name{padding-left:15px!important}.repository .page.buttons{padding-top:15px}.repository .issue.list{clear:both;list-style:none}.repository .issue.list>.item{padding-top:15px;padding-bottom:10px;border-bottom:1px dashed #AAA}.repository .issue.list>.item .title{color:#444;font-size:15px;font-weight:700;margin:0 6px}.repository .issue.list>.item .title:hover{color:#000}.repository .issue.list>.item .comment{padding-right:10px;color:#666}.repository .issue.list>.item .desc{padding-top:5px;color:#999}.repository .issue.list>.item .desc a.milestone{padding-left:5px;color:#999!important}.repository .issue.list>.item .desc a.milestone:hover{color:#000!important}.repository .label.list{clear:both;list-style:none}.repository .label.list .item{padding-top:10px;padding-bottom:10px;border-bottom:1px dashed #AAA}.repository .label.list .item a{font-size:15px;padding-top:5px;padding-right:10px;color:#666}.repository .label.list .item a:hover{color:#000}.repository .label.list .item a.open-issues{margin-right:30px}.repository .milestone.list{clear:both;list-style:none}.repository .milestone.list>.item{padding-top:10px;padding-bottom:10px;border-bottom:1px dashed #AAA}.repository .milestone.list>.item>a{padding-top:5px;padding-right:10px;color:#000}.repository .milestone.list>.item>a:hover{color:#4078c0}.repository .milestone.list>.item .ui.progress{width:40%;padding:0;border:0;margin:0}.repository .milestone.list>.item .ui.progress .bar{height:20px}.repository .milestone.list>.item .meta{color:#999;padding-top:5px}.repository .milestone.list>.item .meta .issue-stats .octicon{padding-left:5px}.repository .milestone.list>.item .meta .overdue{color:red}.repository .milestone.list>.item .operate{margin-top:-15px}.repository .milestone.list>.item .operate>a{font-size:15px;padding-top:5px;padding-right:10px;color:#666}.repository .milestone.list>.item .operate>a:hover{color:#000}.repository .milestone.list>.item .content{padding-top:10px}.repository.new.milestone textarea{height:200px}.repository.settings .content{padding-left:20px!important}.settings .key.list .item:not(:first-child){border-top:1px solid #eaeaea}.settings .key.list .ssh-key-state-indicator{float:left;color:gray;padding-left:10px;padding-top:10px}.settings .key.list .ssh-key-state-indicator.active{color:#6cc644}.settings .key.list .meta{padding-top:5px}.settings .key.list .print{color:#767676}.settings .key.list .activity{color:#666}.edit-label.modal .color-picker{margin-top:-8px!important;height:35px;width:auto!important;padding-left:30px!important}.edit-label.modal .minicolors-swatch.minicolors-sprite{top:1px;left:10px;width:15px;height:15px}.edit-label.modal .precolors{margin-bottom:-11px!important;padding-left:0!important;padding-right:0!important;margin-right:10px!important;width:120px!important}.edit-label.modal .precolors .color{float:left;margin:0!important;width:15px;height:15px} \ No newline at end of file diff --git a/public/less/_form.less b/public/less/_form.less index 048e291f..e219637d 100644 --- a/public/less/_form.less +++ b/public/less/_form.less @@ -12,37 +12,39 @@ margin-top: -5px; } } -.repository form { - margin: auto; - width: 800px!important; - .ui.message { - text-align: center; - } - @input-padding: 250px !important; - .header { - padding-left: @input-padding+20px; - } - .inline.field > label { - text-align: right; - width: @input-padding; - word-wrap: break-word; - } - .help { - margin-left: @input-padding+10px; - } - .dropdown { - .dropdown.icon { - margin-top: -7px!important; +.repository.new.fork { + form { + margin: auto; + width: 800px!important; + .ui.message { + text-align: center; + } + @input-padding: 250px !important; + .header { + padding-left: @input-padding+20px; } - .text { - margin-right: 0!important; - i { + .inline.field > label { + text-align: right; + width: @input-padding; + word-wrap: break-word; + } + .help { + margin-left: @input-padding+10px; + } + .dropdown { + .dropdown.icon { + margin-top: -7px!important; + } + .text { margin-right: 0!important; + i { + margin-right: 0!important; + } } } - } - input, - textarea { - width: 50%!important; + input, + textarea { + width: 50%!important; + } } } \ No newline at end of file -- cgit v1.2.3