diff --git a/.circleci/config.yml b/.circleci/config.yml index a413abbaf05..5cc7c1056d4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -30,29 +30,6 @@ jobs: - run: tox -e py312 - codecov/upload - tests-ext-theme: - docker: - - image: 'cimg/python:3.12' - environment: - # Don't skip search tests. - TOX_POSARGS: '' - - image: 'docker.elastic.co/elasticsearch/elasticsearch:8.10.2' - name: search - environment: - discovery.type: single-node - ES_JAVA_OPTS: -Xms750m -Xmx750m - ELASTIC_PASSWORD: password - # Disabled SSL for testing. - xpack.security.transport.ssl.enabled: 'false' - steps: - - checkout - - run: git submodule sync - - run: git submodule update --init - - run: sudo apt update - - run: sudo apt install -y rclone - - run: pip install --user tox - - run: tox -e ext-theme - tests-embedapi: docker: - image: 'cimg/python:3.12' @@ -99,7 +76,6 @@ workflows: jobs: - checks - tests - - tests-ext-theme - tests-embedapi: requires: - checks diff --git a/media/css/autocomplete.css b/media/css/autocomplete.css deleted file mode 100644 index b3af92af772..00000000000 --- a/media/css/autocomplete.css +++ /dev/null @@ -1,5 +0,0 @@ - -.ui-autocomplete-input { width: 225px; } -.ui-autocomplete { background: #fff; text-align: left; } -.ui-state-hover { background: #eee; } -.ui-menu-item a { display: block; padding: 5px 10px; } diff --git a/media/css/badge_only.css b/media/css/badge_only.css deleted file mode 120000 index 12c15c72a6b..00000000000 --- a/media/css/badge_only.css +++ /dev/null @@ -1 +0,0 @@ -../../readthedocs/core/static/core/css/badge_only.css \ No newline at end of file diff --git a/media/css/core.css b/media/css/core.css deleted file mode 100644 index c66ebb2ef29..00000000000 --- a/media/css/core.css +++ /dev/null @@ -1,1400 +0,0 @@ -@charset "utf-8"; - -/* reset */ - -html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section { margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; } -article, aside, dialog, figure, footer, header, hgroup, nav, section { display: block !important; } -table { border-collapse: separate; border-spacing: 0; vertical-align: top; } -caption, th, td { text-align: left; font-weight: normal; } -table, td, th { border-spacing: 0; width: 100%; } -blockquote:before, blockquote:after, q:before, q:after {content:"";} -blockquote, q {quotes:"" "";} -a img {border:none;} -ol,ul{list-style:none} -hr { height: 1px; border: 0; border: none; width: 100%; background: #bfbfbf; color: #bfbfbf; margin: 15px 0; padding: 0; } - -/* general layout */ - -body { position: relative; text-align: center; z-index: 0; background: #fafafa url(../images/body-bg.svg) top left repeat; } -.wrapper { position: relative; text-align: left; margin: 0 auto; padding: 0 10px; width: 800px; } - -div.wrapper > div.col-major { - display: block; - float: left; - width: 65%; - margin-right: 20px; -} - -div.wrapper > div.col-minor { - overflow: auto; -} - -/* typography */ - -body { font: 16px/24px Lato, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; color: #444; } -h1, h2, h3, h4, h5, h6 { color: #222; font-weight: bold; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7); } -h1 { font-size: 28px; line-height: 36px; margin-bottom: 40px; } -h2 { font-size: 24px; line-height: 28px; margin-bottom: 10px; } -h3 { font-size: 20px; line-height: 24px; margin-bottom: 10px; } -h4, h5, h6 { font-size: 16px; line-height: 20px; margin-bottom: 10px; } -.aside, .quiet { font-weight: normal; color: #999; } -.error, .errornote, .errorlist li { color: #EB3800; } -.errornote { margin-bottom: 15px; } -.edit, -a { color: #444; } -.edit, -a:hover { color: #111; } -table { margin-bottom: 15px; } -p { margin-bottom: 15px; } -pre { margin: 15px 0; white-space: pre; overflow: auto; } -pre, code, tt { font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", Courier, monospace; line-height: 20px; } -textarea, input, select { font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", Courier, monospace; font-size: 16px; line-height: 20px; } - -@font-face { - font-family: 'Lato'; - src: url('../fonts/lato/Lato-Bold.eot'); /* IE9 Compat Modes */ - src: url('../fonts/lato/Lato-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('../fonts/lato/Lato-Bold.woff2') format('woff2'), /* Modern Browsers */ - url('../fonts/lato/Lato-Bold.woff') format('woff'), /* Modern Browsers */ - url('../fonts/lato/Lato-Bold.ttf') format('truetype'); - font-weight: bold; - font-style: normal; -} -@font-face { - font-family: 'Lato'; - src: url('../fonts/lato/Lato-Italic.eot'); /* IE9 Compat Modes */ - src: url('../fonts/lato/Lato-Italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('../fonts/lato/Lato-Italic.woff2') format('woff2'), /* Modern Browsers */ - url('../fonts/lato/Lato-Italic.woff') format('woff'), /* Modern Browsers */ - url('../fonts/lato/Lato-Italic.ttf') format('truetype'); - font-weight: normal; - font-style: italic; -} -@font-face { - font-family: 'Lato'; - src: url('../fonts/lato/Lato-Regular.eot'); /* IE9 Compat Modes */ - src: url('../fonts/lato/Lato-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('../fonts/lato/Lato-Regular.woff2') format('woff2'), /* Modern Browsers */ - url('../fonts/lato/Lato-Regular.woff') format('woff'), /* Modern Browsers */ - url('../fonts/lato/Lato-Regular.ttf') format('truetype'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: 'FontAwesome'; - src: url('../fonts/fontawesome-webfont.eot'); - src: url('../fonts/fontawesome-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff') format('woff'), url('../fonts/fontawesome-webfont.ttf') format('truetype'), url('../fonts/fontawesome-webfont.svg') format('svg'); - font-weight: normal; - font-style: normal; -} - -/* tables */ - -table, td, th { vertical-align: top; border-top: 1px solid #bfbfbf; border-left: 1px solid #bfbfbf; } -td, th { padding: 5px; border-right: 1px solid #bfbfbf; border-bottom: 1px solid #bfbfbf; } -thead { background: #f2f2f2; } - - -/* forms */ -small input[type=text] { font-size:0.8em; padding:2px; } - -form p { color: #999; } -form p label { font-weight: normal; } -form p.required label { font-weight: bold; } -textarea, input, button, .button, select { display: block; padding: 5px; color: #444; background-color: #fff; border: 1px solid #BFBFBF; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; } -textarea, input, .button { box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset; -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset; -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset; } -input[type="text"], input[type="password"], input[type="email"] { width: 250px; height: 20px; margin-bottom: 5px; background: #fff; } -input::-webkit-input-placeholder { color: #ccc; } -input:-moz-placeholder { color: #ccc; opacity: 1; } -input::-moz-placeholder { color: #ccc; opacity: 1; } -input:-ms-input-placeholder { color: #ccc; } - -input[type="radio"] + span.helptext, -input[type="checkbox"] + span.helptext { - color: #444; -} - -textarea.field-error, -input[type="text"].field-error { - border: 1px solid red; -} - -.navigable select { width: 150px;} -select { display: block; max-height: 300px; width: 250px; margin-bottom: 10px; font-size: 16px; line-height: 20px; font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", Courier, monospace; } -textarea { background: #fff; width: 435px; height: 150px; } -input[type="submit"], input[type="button"], button, .button { font-family: Lato, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; color: #666; font-weight: bold; padding: 8px 15px; border: none; background: #e6e6e6 url(../images/gradient.png) repeat-x bottom left; margin: 30px 5px 20px 0; text-shadow: 0 1px 0 rgba(255, 255, 255, 1); border: 1px solid #bfbfbf; display: block; text-decoration: none; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset; -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset; -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset; cursor: pointer;} -.button { padding: 6px 10px; float: left; cursor: pointer; } -input[type="submit"]:hover, input[type="button"]:hover, button:hover, .button:hover { background-color: #8ECC4C; color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); border-color: #6B9939; border-bottom-color: #50732B; } -input[type="submit"]:active, input[type="button"]:active, button:active, .button:active { box-shadow: none; -moz-box-shadow: none; -webkit-box-shadow: none; } -fieldset { border: 1px solid #bfbfbf; padding: 15px; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; margin-bottom: 15px; } -input[type="hidden"] { display: none; } -input[type="checkbox"], input[type="radio"] { display: inline; } -label { display: block; margin-bottom: 4px; font-weight: bold; color: #444; } - -input[type="submit"].inline, input[type="button"].inline, button.inline, .button.inline { display: inline; } - -h2 > span.link-help, -h3 > span.link-help, -label > span.link-help { - color: #999; - font-size: 16px; - font-weight: normal; -} - -h2 > span.link-help, -h3 > span.link-help { - float: right; -} - -form.form-wide input[type='text'], -form.form-wide select, -form.form-wide textarea { - width: 100%; -} - -/* content */ - -#content { padding: 50px 0; } -#content ul { margin-bottom: 20px; } - -#project_description { margin-top: 20px; } -/* Commenting this for now. Want to figure out how to make it look sane with small amounts of text. */ -/* #content p { background-color: #eee; } */ - -/* icons */ - -i { display: inline-block; padding:0; margin:0; padding-right:6px; position: relative; bottom:-2px; width: 15px; height: 15px; background:no-repeat url(../images/gear.png); } - -/* header */ - -#rtfd-header { - height: 50px; - background: url(../images/header-bg.png) bottom left repeat-x #465158; - text-align: left; - border-bottom: 1px solid #000; - position: relative; - overflow: visible; -} - -/* header title */ -.rtfd-header-title { - display: block; - float: left; - margin: 0; - padding: 0; - height: 50px; - width: 180px; -} - .rtfd-header-title h1 { background: url(../images/logo.png) top left no-repeat; position: absolute; top: 0; left: -30px; margin: 0; padding: 0; font-size: 20px; line-height: 20px; color: #fff; text-indent: -9999em; } - .rtfd-header-title h1 a { display: block; color: #fff; text-decoration: none; height: 50px; width: 200px; } - - /* header search */ - .rtfd-header-search { position: absolute; top: 12px; left: 190px; width: 320px; } - .rtfd-header-search input { padding: 0 5px; margin: 0; height: 25px; font-size: 14px; float: left; -moz-border-radius: 0; -webkit-border-radius: 0; border: none; } - .rtfd-header-search input[type="text"] { -moz-border-radius-topleft: 3px; -moz-border-radius-bottomleft: 3px; -webkit-border-top-left-radius: 3px; -webkit-border-bottom-left-radius: 3px; width: 225px; } - .rtfd-header-search input[type="submit"] { font-family: Lato, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; -moz-border-radius-topright: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-top-right-radius: 3px; -webkit-border-bottom-right-radius: 3px; padding: 0 12px; background: #e6e6e6 url(../images/gradient.png) repeat-x bottom left; font-weight: bold; color: #666; } - .rtfd-header-search input[type="submit"]:hover { text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); background-color: #8ECC4C; color: #fff; } - - /* header nav */ - .rtfd-header-nav { position: absolute; top: 0; right: 10px; } - .rtfd-header-nav ul li { float: left; } - .rtfd-header-nav ul li a { font-size: 14px; font-weight: bold; display: block; text-decoration: none; padding: 4px 10px; margin: 10px 0 0 10px; color: #fff; text-shadow: 0 1px 0px rgba(0, 0, 0, 0.5); background: #7C8F99 url(../images/gradient-light.png) bottom left repeat-x; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2); } - .rtfd-header-nav ul li a:hover { background-color: #8CA1AF; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2); } - .rtfd-header-nav ul li.active a, .header-nav ul li.active a:hover { background-color: #BAC7CF; } - -/* User drop down menu */ -div.menu-user { - display: inline-block; - position: relative; - float: right; - line-height: 32px; -} - -div.menu-user div.menu-button { - height: 24px; - line-height: 24px; - margin-top: 8px; -} - -div.menu-user div.menu-button > a { - display: block; - float: left; - height: 24px; - padding: 4px 1em 4px 4px; - line-height: 24px; - - background: #7C8F99 url(../images/gradient-light.png) bottom left repeat-x; - color: #fff; - text-decoration: none; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5); -} - -div.menu-user div.menu-button > a img { - display: block; - margin-right: .6em; - float: left; -} - -div.menu-user div.menu-button button.menu-drop { - display: block; - float: right; - width: 32px; - height: 32px; - margin: 0px; - padding-left: 8px; - padding-right: 8px; - border: none; - border-left: 1px solid #465158; - line-height: 16px; - vertical-align: top; - - background: #7C8F99 url(../images/gradient-light.png) bottom left repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5); - border-radius: 0em .3em .3em 0em; -} - -div.menu-user div.menu-dropdown { - display: block; - position: absolute; - min-width: 7em; - height: 0em; - right: 0em; - top: 32px; - padding: .6em 1em; - z-index: 100; - - background: #7C8F99 url(../images/gradient-light.png) bottom left repeat-x; - visibility: hidden; - opacity: 0; - transition: visibility 0.05s, opacity 0.05s; - -webkit-transition: visibility 0.05s, opacity 0.05s; - -moz-transition: visibility 0.05s, opacity 0.05s; - -ms-transition: visibility 0.05s, opacity 0.05s; - -o-transition: visibility 0.05s, opacity 0.05s; - - font-size: 1.1em; -} - -div.menu-user div.menu-dropdown ul + ul { - border-top: 1px solid #465158; -} - -div.menu-user div.menu-dropdown li { - line-height: 1.75em; - margin: .3em 0em; -} - -div.menu-user div.menu-dropdown li a { - display: block; - padding: 4px 8px; - font-size: 15px; - line-height: 1.5; - text-decoration: none; - font-weight: bold; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5); - color: #fff; -} - -div.menu-user div.menu-dropdown li a:hover { - background: #465158; -} - -div.menu-user div.menu-dropdown.menu-dropped { - height: auto; - visibility: visible; - opacity: 1; -} - -/* home */ - -#home-header { background: url(../images/header-home-bg.svg) top left repeat #465158; border-bottom: 1px solid #333; padding: 65px 0 35px 0; color: #fff; } -.home.splash #content { padding-top: 80px; } - - /* title */ - .home-header-title { padding: 15px 0 30px 110px; margin-left: -25px; background: url(../images/home-logo.png) top left no-repeat; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.3); } - .home-header-title h1 { color: #fff; padding: 0; margin: 0; text-shadow: 0 2px 0 rgba(0, 0, 0, 0.3); } - .home-header-title .tagline { color: #BCC1C3; } - - /* title */ - .home-header-links { position: absolute; top: 22px; right: 10px; width: 180px; } - .home-header-links a.reg { color: #fff; display: block; padding: 10px 20px; background: #7C8F99 url(../images/gradient-light.png) bottom left repeat-x; font-weight: bold; text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.7); text-decoration: none; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; margin-bottom: 10px; text-align: center; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2); } - .home-header-links a.reg:hover { background-color: #8CA1AF; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2); -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2); } - .home-header-links .login-box { text-align: center; } - .home-header-links .login-box p { margin-bottom: 0; color: #BCC1C3; } - .home-header-links .login { font-weight: bold; color: #e3e3e3; text-shadow: 0px 1px 0 rgba(0, 0, 0, 0.5); } - .home-header-links .login:hover { text-align: center; color: #fff; } - -section { - margin-bottom: 60px; -} -.home .lead { - font-size: 20px; - line-height: 30px; -} -.home .feature { - float: left; - width: 48%; - margin-left: 1%; - margin-right: 1%; -} - -a.cta-btn { - /* Make this link look like a button */ - width: 300px; - font-weight: bold; - text-align: center; - display: inline-block; - margin: .3em 0em; - font-size: 1.1em; - color: #fff; - text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); - background: #e6e6e6 url(../images/gradient.png) repeat-x bottom left; - background-color: #8ECC4C; - border: 1px solid #bfbfbf; - border-color: #6B9939; - border-bottom-color: #50732B; - padding: 8px 15px; - border-radius: 3px; - text-decoration: none; - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset; - -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset; - -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset; -} -a.cta-btn:hover, a.cta-btn:active { - color: #fff; -} - -/* wide search bar */ - -.wide-search-bar { width: 100%; margin-bottom: 60px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; background: #e6e6e6; background: rgba(0, 0, 0, 0.1); } -.wide-search-bar-wrapper { padding: 8px; } -.wide-search-bar input { margin: 0; height: 25px; padding: 10px; border-radius: 0; -moz-border-radius: 0; -webkit-border-radius: 0; } -.wide-search-bar .text-input-wrapper { width: 70%; float: left; } -.wide-search-bar input[type="text"] { border-top-left-radius: 3px; border-bottom-left-radius: 3px; -moz-border-radius-topleft: 3px; -moz-border-radius-bottomleft: 3px; -webkit-border-top-left-radius: 3px; -webkit-border-bottom-left-radius: 3px; width: 513px; } -.wide-search-bar .submit-input-wrapper { width: 30%; float: left; } -.wide-search-bar input[type="submit"] { border-top-right-radius: 3px; border-bottom-right-radius: 3px; -moz-border-radius-topright: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-top-right-radius: 3px; -webkit-border-bottom-right-radius: 3px; height: 47px; width: 100%; text-align: center; } - - -/* search */ - -.search { border-bottom: solid 1px #bfbfbf; margin-bottom: 24px; } -.search input[type=text] { float: left; margin-right: 10px; padding: 8px 10px; } -.search input[type=submit] { margin-top: 0; } -/* this is same as the css class ".highlighted" */ -.search-result-item span { background-color: #ee9; padding: 0 1px; margin: 0 1px; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; } - -.filter { margin-bottom: 1em; } -.filter dd { display: inline-block; margin-right: 0.75em; } -.filter dd small { opacity: 0.7; } - -div.search-sponsored { margin-top: 50px; } - -#search_module .pagination { float: right; margin-top: 1em; } - - -/* module */ - -.module { margin-bottom: 60px; } -#content .module ul { margin-bottom: 0; } -.module-header .small_head { padding: 0 10px; font-size: 14px; } - - /* module list*/ - .module-list { padding: 8px; background: #E6E6E6; background: rgba(0, 0, 0, 0.1); border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; } - .module-list-wrapper { border: 1px solid #bfbfbf; border: 1px solid #bfbfbf; border-bottom: none; } - .module-list .count { float: right; font-size: .9em; color: #aaa; } - .module-item { position: relative; border-bottom: 1px solid #bfbfbf; padding: 10px; position:relative; } - .module-item p { margin: 0; } - - /* module item title */ - .module-item .module-item-title { font-weight: bold; font-size: 16px; text-decoration: none; } - .module-item a.module-item-title:hover { text-decoration: underline; } - - /* module item */ - .module-item { background: #fff; } - - /* right module menu */ - .module-item .module-item-menu { position: absolute; right: 0; top: 0; z-index: 5; } - .module-item .module-item-menu li { display: block; float: left; } - .module-item .module-item-menu li a { display: block; padding: 6px 10px 4px; margin: 7px 7px 0 0; font-weight: bold; font-size: 14px; height: 20px; line-height: 17px; text-decoration: none; color: #fff; background: #8CA1AF url(../images/gradient-light.png) bottom left repeat-x; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); box-shadow: 0 1px 1px #465158; -moz-box-shadow: 0 1px 1px #465158; -webkit-box-shadow: 0 1px 1px #465158; } - .module-item .module-item-menu li a:hover { background-color: #697983; box-shadow: 0 1px 0px #465158; -moz-box-shadow: 0 1px 0px #465158; -webkit-box-shadow: 0 1px 0px #465158; } - - li.module-item ul.module-item-menu li input[type="submit"] { - font-size: 16px; - line-height: 16px; - margin: 4px; - } - - li.module-item > img { - height: 24px; - width: 24px; - vertical-align: middle; - } - - li.module-item > p.error { - padding-top: .75em; - font-size: .8em; - line-height: 1.5em; - } - - /* for links that span the column */ - .module-item.col-span { border-bottom: 1px solid #bfbfbf; padding: 0; font-weight: bold; font-size: 16px; text-decoration: none; } - .module-item.col-span a { text-decoration: none; display: block; padding: 10px; } - .module-item.col-span a:hover { background: #f3f3f3 url(../images/gradient-light.png) bottom left repeat-x; } - - /* call out */ - .module-list .module-item.call { padding: 0; } - .module-list .module-item.call a { display: block; padding: 30px; text-align: center; text-decoration: none; font-weight: bold; font-size: 18px; } - .module-list .module-item.call a:hover { background: #f3f3f3 url(../images/gradient-light.png) bottom left repeat-x; background-color: #8ECC4C; color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); border-color: #8ECC4C; } - - /* Success Model Item */ - .module-item .success { float: right; } - -/* dashboard */ -div.module.search-dashboard { - overflow: auto; - border: 0px; - margin-bottom: 24px; -} - -div.module.search-dashboard div.search { - border: 0px; -} - -div.module.search-dashboard input { - display: block; - padding-left: 40px; - height: 2.5em; - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - background-image: url('../images/search.png'); - background-repeat: no-repeat; - background-position: 8px center; - background-size: 24px 24px; -} - -/* Admin project Translation */ -.module-translation { padding-bottom: 25px; } - -/* Accounts Gold Projects */ -.module-gold-projects { padding-bottom: 25px; } - -/* project bar */ - -#project_bar { background: #E8ECEF url(../images/project-bar-bg.png) top left repeat; border-bottom: 1px solid #DAE1E5; overflow:hidden; position:relative; } -#project_bar a { text-decoration: none; } - -#project_bar > .wrapper { padding: 40px 0 50px; } - - body.project-edit #project_bar > .wrapper { background: url(../images/project-bar-bg-admin.svg) scroll 100% 1.1em no-repeat; } - /* editing dashboard toolbar */ - div.project-bar div.project-view-docs { - float: right; - padding: .7em; - } - - #project_bar div.project-view-docs > a { - display: block; - padding: 8px 15px; - border: 1px solid #bfbfbf; - - background-color: #8ECC4C; - color: #fff; - border-color: #6B9939; - border-bottom-color: #50732B; - border-radius: 3px; - -moz-border-radius: 3px; - -webkit-border-radius: 3px; - box-shadow: none; - -moz-box-shadow: none; - -webkit-box-shadow: none; - - font-family: Lato, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; - font-weight: bold; - text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); - text-decoration: none; - } - - #project_bar .project-title { padding: 0; } - #project_bar .project-title h1 { margin: 0 0 5px; padding: 0; } - #project_bar .project-title span.project-breadcrumb { - display: block; - font-size: .6em; - line-height: 1em; - } - - /* options */ - #project_bar .options { padding: 20px 0 0 0; } - #project_bar .options ul li { float: left; display: block; margin-right: 10px; } - #project_bar .options ul li.active a { background-color: #465158; } - #project_bar .options ul li a { display: block; padding: 8px 12px 6px; font-weight: bold; font-size: 15px; height: 20px; line-height: 20px; text-decoration: none; color: #fff; background: #8CA1AF url(../images/gradient-light.png) bottom left repeat-x; box-shadow: 0 1px 1px #465158; -moz-box-shadow: 0 1px 1px #465158; -webkit-box-shadow: 0 1px 1px #465158; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); } - #project_bar .options ul li a:hover { background-color: #697983; box-shadow: 0 1px 0px #465158; -moz-box-shadow: 0 1px 0px #465158; -webkit-box-shadow: 0 1px 0px #465158; } - - /* text editor */ - .editor { width: 500px; height: 600px; } - - /* file tree */ - li.depth-1 { padding-left: 0px; } - li.depth-2 { padding-left: 20px; } - li.depth-3 { padding-left: 40px; } - li.depth-4 { padding-left: 60px; } - li.depth-5 { padding-left: 80px; } - li.depth-6 { padding-left: 100px; } - li.depth-7 { padding-left: 120px; } - li.depth-8 { padding-left: 140px; } - li.depth-9 { padding-left: 160px; } - li.depth-10 { padding-left: 180px; } - -p.build-success { font-size: .8em; color: #108830; margin: 0 0 3px; } -p.build-failure { font-size: .8em; color: #dc1020; margin: 0 0 3px; } -p.build-missing { font-size: .8em; color: #9d9a55; margin: 0 0 3px; } - -.navigable .profile_image { position:relative; left:-8px; top:-1px; width:184px; overflow:hidden; } -.navigable .profile_image img { border-radius:5px; } - -.profile #content { padding-top:8px; } - -/* login & signup pages */ -.login-page h3, .signup-page h3 { - margin: 40px 0; -} -.login-page .socialaccount_providers .button, -.signup-page .socialaccount_providers .button { - display: inline-block; - float: none; - margin: 10px 0; -} - -/* build page */ - -#build_list select { width: 10em; } - - -/* dashboard bar */ - -#dashboard_bar { background: #E8ECEF url(../images/project-bar-bg.png) top left repeat; border-bottom: 1px solid #DAE1E5; padding: 10px 0; } -#dashboard_bar ul { display: block; float: left; margin-right: 10px; } -#dashboard_bar ul li { display: block; float: left; } -#dashboard_bar ul li a { padding: 5px 10px; border: 1px solid #BAC7CF; border-bottom-color: #8C959B; border-right: none; background: url(../images/gradient-light.png) bottom left repeat-x #fff; text-decoration: none; display: block; text-shadow: 0 1px rgba(255, 255, 255, 0.4); } -#dashboard_bar ul li.first a { border-top-left-radius: 5px; border-bottom-left-radius: 5px; -moz-border-radius-topleft: 5px; -moz-border-radius-bottomleft: 5px; -webkit-border-top-left-radius: 5px; -webkit-border-bottom-left-radius: 5px; } -#dashboard_bar ul li.last a { border-right: 1px solid #BAC7CF; border-bottom-right-radius: 5px; border-top-right-radius: 5px;-moz-border-radius-bottomright: 5px; -moz-border-radius-topright: 5px; -webkit-border-bottom-right-radius: 5px; -webkit-border-top-right-radius: 5px; } - - /* states */ - #dashboard_bar ul li a:hover { background-color: #D1D9DF; color: #444; } - #dashboard_bar ul li.active a { background-color: #8CA1AF; color: #fff; border-bottom-color: #465158; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4); } - - -/* pagination */ - -.pagination { float: left; background: #e6e6e6; padding: 8px; border-radius: 5px; -moz-border-radius: 5px; webkit-border-radius: 5px; } -.pagination a, .pagination span { background: #fff; display: block; color: #444; text-decoration: none; float: left; padding: 8px 10px; border: 1px solid #bfbfbf; border-right: none; } -.pagination a.disabled, .pagination span.disabled, -.pagination a.disabled:hover, .pagination span.disabled:hover { color: #999; background: #fff; } -.pagination a:hover { background: url("../images/gradient-light.png") repeat-x scroll left bottom #f6f6f6; } -.pagination .next { border-right: 1px solid #bfbfbf; } -.pagination .current.page, .pagination .current.page:hover { color: #444; background: url("../images/gradient-light.png") repeat-x scroll left bottom #d9d9d9; } - - -/* call out */ - -.call-out { display: block; float: right; padding: 8px 12px 6px; font-weight: bold; font-size: 15px; height: 20px; line-height: 20px; text-decoration: none; color: #fff; background: #8CA1AF url(../images/gradient-light.png) bottom left repeat-x; border-bottom: 1px solid #465158; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); } -.call-out:hover { color: #fff; background-color: #697983; } - - -/* history page */ - -.content-panel { float: left; width: 45%; height: 400px; padding: 10px; overflow: auto; } -.content-panel .original { border-right: 1px solid #ccc; } -.content-panel h3.panel-text { border-bottom: 6px solid #ccc; height: 32px; } -.content-panel select.revision-select { display: inline; max-width: 250px; } -.content-panel input[type="submit"].revision-revert { display: inline; margin: 0 0 0 5px; padding: 0px 3px; font-size: .75em; } - - -/* notification box */ -.notification { - padding: 5px 0; - color: #a55; - max-width: max-content; -} -.notification-20, -.notification-25, -.notification-26, -.notification-101, -.notification-102 { - color: #5a5; -} - -a.notification-action { - text-decoration: none; - float: right; - padding-left: 5px; -} - -.notification-action > .icon.close:before { - font-family: FontAwesome; - content: "\f057"; -} - -/* warning banner */ - -.banner { padding: 5px; } - -/* sidebar + main content */ - -.navigable { width: 100%; } -.navigable:after { content:' '; display:block; visibility:visible; clear:both; } -.navigable > ul { width:184px; margin-right:16px; float: left; } -.navigable > ul > li { border-bottom: 1px solid #bfbfbf; position:relative; word-break:break-all; } -.navigable > ul > li > * { padding-left:8px; padding-bottom:4px; padding-top:5px; text-decoration: none; display: block; } -.navigable > ul > li:last-child { border-bottom: none; } -.navigable > ul > li.active { background:#DAE1E5; } -.navigable > ul > li.active:after { content:"•"; position:absolute; right:8px; top:6px; font-size:1.2em; color:#465158; } - -.navigable > ul > li > a:hover { background:#E8ECEF; } -.navigable > div { width:600px; float: left; padding-top:4px; } - -/* autocomplete */ - -.ui-autocomplete { background: #fff; text-align: left; border: 1px solid #bfbfbf; } -.ui-state-hover { background: #eee; } -.ui-menu-item a { display: block; padding: 3px 10px; } - - -/* footer */ - -#footer { background: url(../images/header-home-bg.svg) top left repeat #465158; border-bottom: 1px solid #333; padding: 65px 0; color: #BCC1C3; } -#footer .column-rtd, #footer .column-about, #footer .column-logo { float: left; width: 33.33%; } -#footer .column-copyright, #footer .column-setlang { float: left; width: 50%; } -#footer .footerlogo { width: 64px; height: 64px; background: url(../images/logo.png) top left no-repeat; } -#footer h4 { font-size: 18px; color: #e3e3e3; text-shadow: none; } -#footer li { margin-bottom: 5px; } -#footer a, #footer a:visited { color: #e3e3e3; text-decoration: none; } -#footer a:hover, #footer a:active { color: white; text-decoration: underline; } - -/* Sponsors */ -#footer .sponsors { - margin-top: 30px; - text-align: center; -} -#footer .sponsors .sponsor { - display: inline-block; - text-align: center; - text-decoration: none; - padding: 10px; -} -#footer .sponsors .sponsor img { - width: 90px; - height: auto; -} -#footer .sponsors .sponsor-name { - font-size: 12px; -} -#footer .sponsors .sponsor-description { - font-size: 10px; - color: #BCC1C3; -} -#footer .sponsors .sponsor-name, #footer .sponsors .sponsor-description { - text-align: center; - line-height: 1.4; -} - -/* Social icons */ -#footer .social { font-family: FontAwesome; text-align: center; } -#footer .social:after { clear: both; content: ''; display: table; } -#footer .social li { width: 50px; display: inline-block; } -#footer .social a { text-decoration: none; opacity: 0.5; } -#footer .social a:hover, #footer .social a:visited { opacity: 1; } -#footer .social .icon { display: inline-block; width: 36px; height: 36px; font-size: 24px;} -#footer .social .github:before { content: "\f09b"; } -#footer .social .twitter:before { content: "\f099"; } - -/* Change language form */ -#footer .footer-bottom { margin-top: 30px; } -#footer select { float: left; width: 175px; padding: 2px; height: 24px; font-size: 12px; margin-right: 10px; } -#footer input[type="submit"], #footer button[type="submit"] { margin-top: 0; padding: 4px; height: 24px; font-size: 12px; line-height: 16px; } - -/* Other footer forms */ -#footer #email-signup { margin-bottom: 20px; } -#footer #email-signup:after { clear: both; content:''; display: table; } -#footer #email-signup p { padding-right: 10px; font-size: 14px; color: #BCC1C3; } -#footer label { color: #BCC1C3; font-weight: normal; } -#footer input[type="text"], #footer input[type="email"] { padding: 4px; font-size: 12px; line-height: 16px; margin-bottom: 5px } - -/* Warning Icon for Build List triggered */ -.module-item.col-span a span.icon-warning:before { - font-family: FontAwesome; - font-size: .9em; - padding-right: .3em; - font-weight: normal; - content: "\f071"; -} - -/* utils */ - -.clear { clear: both; } -.hide { display: none; } -.left { float: left; } -.right { float: right; } -.right-menu { float: right; margin-right: 132px; } -.help_text { color: #999; } -.highlighted { background-color: #ee9; padding: 0 1px; margin: 0 1px; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; } -.first { margin-left: 0; padding-left: 0; } -.last { margin-right: 0; padding-right: 0; } -.top { margin-top: 0; padding-top: 0; } -.bottom { margin-bottom: 0; padding-bottom: 0; } -.empty { padding: 30px; background: #E6E6E6; background: rgba(0, 0, 0, 0.1); border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; margin-bottom: 60px; } -.clearfix:after, .wrapper:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; overflow: hidden; } -.clearfix, .wrapper { display: block; } -.long-list-overflow { max-height: 400px; overflow-y: scroll} - -/* project detail */ -.project_detail .module { - float: left; - width: 500px; -} - -.project_detail .module .help_text { - font-size: 14px; -} - -.project_detail .help_text em { - color: #666; -} - -.project_detail .build_a_version { - margin-top: 40px; -} - -.project_detail .project_details { - float: right; - width: 250px; - margin-top: 34px; -} - -.project_detail .project_details h3 { - margin-bottom: 0; - font-size: 16px; -} - -div.project-version-list span.version-branch { - font-size: .9em; -} - -/* Project import */ -div.project-import-remote h1 { - margin: 0em 0em .5em 0em; -} - -div.project-import-remote li.remote-repo a.remote-repo-view { - background: none; - color: #443; - box-shadow: none; - -moz-box-shadow: none; - -ms-box-shadow: none; - -webkit-box-shadow: none; - text-shadow: none; -} - -div.project-import-remote li.remote-repo a.remote-repo-import, -div.project-import-remote li.remote-repo a.remote-repo-view, -div.project-import-remote li.remote-repo span.remote-repo-locked { - display: block; - margin: .25em 0em; - height: 1em; - padding: .5em .75em; - font-size: 1em; - font-weight: normal; -} - -div.project-import-remote li.remote-repo a.remote-repo-import span, -div.project-import-remote li.remote-repo a.remote-repo-view span, -div.project-import-remote li.remote-repo span.remote-repo-locked span, -div.project-import-remote button.remote-sync span { - display: none; -} - -div.project-import-remote li.remote-repo a.remote-repo-import:before { - font-family: FontAwesome; - font-weight: normal; - content: "\f067"; -} -div.project-import-remote li.remote-repo a.remote-repo-view:before { - font-family: FontAwesome; - font-weight: normal; - content: "\f08e"; -} -div.project-import-remote li.remote-repo span.remote-repo-locked:before { - font-family: FontAwesome; - font-weight: normal; - content: "\f023"; -} -div.project-import-remote button.remote-sync:before { - font-family: FontAwesome; - content: "\f021"; -} - -button.socialaccount-provider { - padding: 6px 10px 6px 10px; - font-size: 16px; - margin: 10px 5px 10px 0px; - line-height: 24px; -} - -button.socialaccount-provider.github:before { - font-family: FontAwesome; - content: "\f09b"; -} - -button.socialaccount-provider.gitlab:before { - font-family: FontAwesome; - content: "\f296"; -} - -button.socialaccount-provider.bitbucket:before, -button.socialaccount-provider.bitbucket_oauth2:before { - font-family: FontAwesome; - content: "\f171"; -} - -div.project-import-remote li.remote-repo span.remote-repo-extra-url:before { - padding-right: .5em; - font-family: FontAwesome; - font-size: 1.2em; - content: '\f126'; -} -div.project-import-remote li.remote-repo span.remote-repo-extra-locked:before { - padding-right: .5em; - font-family: FontAwesome; - font-size: 1.2em; - content: '\f071'; -} - -div.project-import-sidebar form.import-manual input { - margin: .5em 0em 1.5em 0em; -} - -/* Donate */ -div.donate-stats { - padding: 2em; - margin-bottom: 2em; - overflow: auto; - - border: 1px solid #999; - border-radius: 6px; - -moz-border-radius: 6px; - -webkit-border-radius: 6px; - background: #e0e0e0; -} - -div.donate-stats li { - text-align: right; -} - -div.donate-stats h2 { - text-align: center; - margin: .5em 0em 1.5em 0em; -} - -#content ul.donate-about { - margin-bottom: 1em; -} -ul.donate-about li { - margin-left: 1.5em; - list-style: initial; -} - -div.donate-stats-sm form { - text-align: center; -} - -div.donate-stats div.donate-stats-sm, -div.donate-stats div.donate-stats-lg { - float: left; -} - -div.donate-stats div.donate-stats-sm { width: 40%; } -div.donate-stats div.donate-stats-lg { width: 60%; } - -div.donate-stats div.donate-stats-lg p { - padding-right: 2em; -} - -form.donate-form { - margin: 2em 0em 1em 0em; - clear: both; -} - -form.donate-form select { - display: inline-block; - width: 200px; -} - -form.donate-form button { - display: inline-block; - margin: .3em 0em; - font-size: 1.1em; - color: #fff; - text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); - background-color: #8ECC4C; - border-color: #6B9939; - border-bottom-color: #50732B; -} -form.donate-form button:hover { - background-color: #9EdC5C; -} - -form#donate-payment p label { font-weight: bold; } - -div.donate-progress { - height: 24px; - margin: .3em 0em .3em 0em; - padding: 4px; - position: relative; - overflow: hidden; - - background-color: #ccc; - border: 1px solid; - border-color: #bbb; - border-bottom-color: #aaa; - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; -} - -div.donate-progress-inner { - height: 24px; - - box-sizing: border-box; - -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; - - background-color: #8ECC4C; - border: 1px solid; - border-color: #6B9939; - border-bottom-color: #50732B; - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; -} - - -ul.donate-supporters { - overflow: auto; - clear: both; -} - -ul.donate-supporters.donate-supporters-small > li, -ul.donate-supporters.donate-supporters-large > li { - float: left; - position: relative; -} - -ul.donate-supporters.donate-supporters-small { - width: 100%; - text-align: center; -} - -ul.donate-supporters.donate-supporters-small > li { - width: 20%; - height: 64px; -} - -ul.donate-supporters.donate-supporters-large > li { - width: 20%; - height: 195px; - text-align: center; - overflow: hidden; -} - -ul.donate-supporters div.supporter-logo { - height: 128px; - overflow: hidden; - line-height: 64px; - text-align: center; -} - -ul.donate-supporters div.supporter-logo img { - display: inline; - width: 128px; - max-height: 128px; - vertical-align: bottom; -} - -ul.donate-supporters div.supporter-name { - padding: 4px; - overflow: hidden; - font-color: #999; -} - -ul.donate-supporters.donate-supporters-large div.supporter-name { - height: 48px; - font-style: italic; - font-size: .9em; -} - -/* Gold */ -div.gold-subscription p.subscription-detail, -div.gold-subscription p.subscription-projects { - margin: 0em; -} - -div.gold-subscription p.subscription-detail label { - display: inline-block; -} - -div.gold-subscription p.subscription-detail-card > span { - font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", Courier, monospace; -} - -div.gold-subscription > form { - display: inline-block; -} - -div.gold-subscription > form button { - margin: 1em .3em 1.5em 0em; -} - -/* Support Page */ - -#support_page li { - margin-left: 1em; - list-style: inside; -} - -/* Form Wizards */ -div.actions.wizard-actions button.action-primary, -div.actions.wizard-actions input.action-primary { - display: inline-block; -} - -div.actions.wizard-actions button.action-secondary, -div.actions.wizard-actions input.action-secondary { - float: left; - font-size: 100%; -} - -/* Build state */ -span.build-state { - padding: .2em .4em; - margin-left: .3em; - border-radius: .3em; - border: 1px solid #e4e4e4; - color: #fff; -} - -span.build-state.build-state-passing { color: #5a5; } -span.build-state.build-state-failing { color: #a55; } - -.when-editing { opacity: 0; -webkit-transition:opacity 0.2s ease-in-out; -moz-transition:opacity 0.2s ease-in-out; -ms-transition:opacity 0.2s ease-in-out; -o-transition:opacity 0.2s ease-in-out; transition:opacity 0.2s ease-in-out; pointer-events:none; -webkit-user-select:none; } -.editing .when-editing { opacity: 1; } - -.edit { cursor: pointer; -webkit-user-select: none; overflow:hidden; position:relative; } -.edit { background:url(../images/edit.png) no-repeat; display:block; width:16px; height:16px; background-size:100% 100%; } -.edit > span {text-indent:-9999em; text-direction:ltr; display:block; } -body .edit-toggle { display: none; } - -.edit-input { display: none; } - -.edit-toggle + .editable .edit-input { display: none; } -.edit-toggle + .editable .edit-target { display: auto; } -.edit-toggle:checked + .editable .edit-input { display: inline; } -.edit-toggle:checked + .editable .edit-target { display: none; } - -.navigable ul .edit { position:absolute; top:8px; left:-16px; opacity:0.25; -webkit-transition:opacity 0.2s ease-in-out; -moz-transition:opacity 0.2s ease-in-out; -ms-transition:opacity 0.2s ease-in-out; -o-transition:opacity 0.2s ease-in-out; transition:opacity 0.2s ease-in-out; text-transform:uppercase; text-decoration: underline; } -.navigable ul li:hover .edit { opacity:1; } - -.navigable ul input[type=text] { width: 164px; } - -div.button-bar ul { - list-style: none; - text-align: right; -} - -div.button-bar ul li { - display: inline-block; -} - -div.button-bar li a.button, -div.button-bar li input[type="submit"], -div.button-bar li input[type="button"], -div.button-bar li button { - margin-top: .5em; - margin-bottom: .5em; -} - -select.dropdown { display: none; } -.dropdown > a { font-family: Lato, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; color: #666; font-weight: bold; padding: 8px 15px; border: none; background: #e6e6e6 url(../images/gradient.png) repeat-x bottom left; margin: 30px 5px 20px 0; text-shadow: 0 1px 0 rgba(255, 255, 255, 1); border: 1px solid #bfbfbf; display: block; text-decoration: none; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset; -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset; -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1), 0 1px 0 rgba(255, 255, 255, 0.5) inset; } - - -.dropdown { position: relative; display: inline-block; height: 32px; min-width:128px; } -.dropdown > span { position:relative; display: block; } -.dropdown > span a:first-child { display: block; padding: 6px 10px 4px; padding-right:42px; margin: 7px 7px 0 0; font-weight: bold; font-size: 14px; height: 20px; line-height: 17px; text-decoration: none; color: #fff; background: #7C8F99 url(../images/gradient-light.png) bottom left repeat-x; border-radius: 3px; -moz-border-radius: 3px; -webkit-border-radius: 3px; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); box-shadow: 0 1px 1px #465158; -moz-box-shadow: 0 1px 1px #465158; -webkit-box-shadow: 0 1px 1px #465158; } -.dropdown > span a:first-child:hover { background: #8CA1AF; } - -.dropdown > span a + a { display: block; overflow: hidden; position:absolute; padding:3px 0px; right:7px; top:0px; width:32px; border-left:1px solid #465158; border-radius:0px 2px 2px 0px; color:white; text-decoration:none; font-size:12px; text-align:center; } -.dropdown > span a + a:hover { background: #8CA1AF; } - -.dropdown > ul { display: none; margin-top:16px; position:absolute; top:100%; left:-8px; background:#465158; padding:4px; border-radius:4px; z-index:1005; min-width:128px; box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.2); } -.dropdown > ul > li { background: white; padding:8px 10px; border-bottom:1px solid #EEE; } - -.dropdown > ul.js-open { display:block; } - -.dropdown > ul:before { content:' '; visibility: visible; border:8px solid transparent; border-bottom-color: #465158; position:absolute; top:-16px; left:104px; } - - -.badge { position: absolute; left: 0; top: 0; z-index: 20; } -.badge > ul:before { visibility: visible; border:8px solid transparent; border-bottom-color: #465158; position:absolute; top:-16px; } -.badge > ul { margin-top: 3px; position:absolute; top:100%; background:#465158; padding:4px; border-radius:4px; z-index:1005; min-width:500px; box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.2); width: 500px; } -.badge > ul > li { background: white; padding:8px 10px; border-bottom:1px solid #EEE; } -.badge pre { font-size: 12px; } -.badge-info:after { font-family: "FontAwesome"; content: "\f05a"; font-size: 23px; vertical-align: text-bottom; } - -/* Modals */ -.modal { - position: fixed; - display: none; - top: 15%; - bottom: 15%; - left: 20%; - right: 20%; - padding: 1.5em; - - border: 1px solid #999; - background: white; - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - box-shadow: 0 0 0 3px rgba(0,0,0,.1); - -moz-box-shadow: 0 0 0 3px rgba(0,0,0,.1); - -webkit-box-shadow: 0 0 0 3px rgba(0,0,0,.1); -} - -.modal > iframe { - width: 100%; - height: 100%; -} - - /* CHART LISTS */ - .chartlist { - float: left; - border-top: 1px solid #EEE; - width: 15em; - } - .chartlist li { - position: relative; - display: block; - border-bottom: 1px solid #EEE; - _zoom: 1; - } - .chartlist li a { - display: block; - padding: 0.4em 4.5em 0.4em 0.5em; - position: relative; - z-index: 2; - } - .chartlist .count { - display: block; - position: absolute; - top: 0; - right: 0; - margin: 0 0.3em; - text-align: right; - color: #999; - font-weight: bold; - font-size: 0.875em; - line-height: 2em; - z-index: 5; - } - .chartlist .index { - display: block; - position: absolute; - top: 0; - left: 0; - height: 100%; - background: #B8E4F5; - text-indent: -9999px; - overflow: hidden; - line-height: 2em; - z-index: 1; - } - .chartlist li:hover { - background: #EFEFEF; - } - - -/* Table lists */ -div.module div.module-title { - height: 2.625em; - overflow: hidden; -} - -div.module div.module-list ul li.module-item div.module-title .module-name { - line-height: 1.5em; -} -div.module div.module-list ul li.module-item div.module-title a.module-name { - text-decoration: none; -} - -div.module div.module-list ul li.module-item div.module-title .module-info { - display: block; - font-size: .75em; - line-height: 1.5em; - color: #999; -} -div.module div.module-list ul li.module-item div.module-title a.module-info { - text-decoration: none; -} - -div.module div.module-title ul.module-item-menu { - top: 10px; - right: 10px; -} - -div.module div.module-list ul.module-item-menu a.module-action { - display: block; - height: 1em; - padding: .5em .75em; - font-size: 1em; - font-weight: normal; -} - - -/* Domain Pages */ - -.domain-machine { color: #999; } -.domain-canonical { font-weight: bold; } - -/* Integrations */ -div.module-list-wrapper.httpexchanges li span.status { - padding: .2em .4em; - margin-right: .3em; - border-radius: .3em; - color: #fff; -} -div.module-list-wrapper.httpexchanges li span.status.status-pass { - background: #5a5; -} -div.module-list-wrapper.httpexchanges li span.status.status-fail { - background: #a55; -} - -div.integration-details { - margin: 1em; -} - -div.integration-details dl dt, -div.httpexchange dl dt { - display: inline-block; - font-weight: bold; -} -div.httpexchange dl dt { - font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", Courier, monospace; - font-size: .9em; -} - -div.integration-details dl dd, -div.httpexchange dl dd { - display: inline; - font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", Courier, monospace; -} -div.httpexchange dl dd { - font-size: .9em; -} - -div.integration-details dl dd:after, -div.httpexchange dl dd:after { - display: block; - content: ''; -} - -div.httpexchange div.highlight pre, -div.highlight > pre { - padding: 1em; - background: #f4f4f4; - border: 1px solid #ccc; - font-size: .9em; -} - - -/* Subprojects */ -div.module.project-subprojects li.subproject a.subproject-url:before { - padding-right: .5em; - font-family: FontAwesome; - font-size: 1.2em; - content: "\f0c1"; -} - -div.module.project-subprojects li.subproject a.subproject-edit:before { - font-family: FontAwesome; - font-weight: normal; - content: "\f044"; -} - -#content ul.normal_list {list-style: disc; margin-left: 20px;} -#content code {background: #eee; border: 1px solid #ccc; padding: 3px; display: inline-block;} - -/* Pygments */ -div.highlight pre .hll { background-color: #ffffcc } -div.highlight pre .c { color: #60a0b0; font-style: italic } /* Comment */ -div.highlight pre .err { border: 1px solid #FF0000 } /* Error */ -div.highlight pre .k { color: #007020; font-weight: bold } /* Keyword */ -div.highlight pre .o { color: #666666 } /* Operator */ -div.highlight pre .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */ -div.highlight pre .cp { color: #007020 } /* Comment.Preproc */ -div.highlight pre .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */ -div.highlight pre .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */ -div.highlight pre .gd { color: #A00000 } /* Generic.Deleted */ -div.highlight pre .ge { font-style: italic } /* Generic.Emph */ -div.highlight pre .gr { color: #FF0000 } /* Generic.Error */ -div.highlight pre .gh { color: #000080; font-weight: bold } /* Generic.Heading */ -div.highlight pre .gi { color: #00A000 } /* Generic.Inserted */ -div.highlight pre .go { color: #888888 } /* Generic.Output */ -div.highlight pre .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ -div.highlight pre .gs { font-weight: bold } /* Generic.Strong */ -div.highlight pre .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ -div.highlight pre .gt { color: #0044DD } /* Generic.Traceback */ -div.highlight pre .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ -div.highlight pre .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ -div.highlight pre .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ -div.highlight pre .kp { color: #007020 } /* Keyword.Pseudo */ -div.highlight pre .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ -div.highlight pre .kt { color: #902000 } /* Keyword.Type */ -div.highlight pre .m { color: #40a070 } /* Literal.Number */ -div.highlight pre .s { color: #4070a0 } /* Literal.String */ -div.highlight pre .na { color: #4070a0 } /* Name.Attribute */ -div.highlight pre .nb { color: #007020 } /* Name.Builtin */ -div.highlight pre .nc { color: #0e84b5; font-weight: bold } /* Name.Class */ -div.highlight pre .no { color: #60add5 } /* Name.Constant */ -div.highlight pre .nd { color: #555555; font-weight: bold } /* Name.Decorator */ -div.highlight pre .ni { color: #d55537; font-weight: bold } /* Name.Entity */ -div.highlight pre .ne { color: #007020 } /* Name.Exception */ -div.highlight pre .nf { color: #06287e } /* Name.Function */ -div.highlight pre .nl { color: #002070; font-weight: bold } /* Name.Label */ -div.highlight pre .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ -div.highlight pre .nt { color: #062873; font-weight: bold } /* Name.Tag */ -div.highlight pre .nv { color: #bb60d5 } /* Name.Variable */ -div.highlight pre .ow { color: #007020; font-weight: bold } /* Operator.Word */ -div.highlight pre .w { color: #bbbbbb } /* Text.Whitespace */ -div.highlight pre .mb { color: #40a070 } /* Literal.Number.Bin */ -div.highlight pre .mf { color: #40a070 } /* Literal.Number.Float */ -div.highlight pre .mh { color: #40a070 } /* Literal.Number.Hex */ -div.highlight pre .mi { color: #40a070 } /* Literal.Number.Integer */ -div.highlight pre .mo { color: #40a070 } /* Literal.Number.Oct */ -div.highlight pre .sb { color: #4070a0 } /* Literal.String.Backtick */ -div.highlight pre .sc { color: #4070a0 } /* Literal.String.Char */ -div.highlight pre .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ -div.highlight pre .s2 { color: #4070a0 } /* Literal.String.Double */ -div.highlight pre .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ -div.highlight pre .sh { color: #4070a0 } /* Literal.String.Heredoc */ -div.highlight pre .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ -div.highlight pre .sx { color: #c65d09 } /* Literal.String.Other */ -div.highlight pre .sr { color: #235388 } /* Literal.String.Regex */ -div.highlight pre .s1 { color: #4070a0 } /* Literal.String.Single */ -div.highlight pre .ss { color: #517918 } /* Literal.String.Symbol */ -div.highlight pre .bp { color: #007020 } /* Name.Builtin.Pseudo */ -div.highlight pre .vc { color: #bb60d5 } /* Name.Variable.Class */ -div.highlight pre .vg { color: #bb60d5 } /* Name.Variable.Global */ -div.highlight pre .vi { color: #bb60d5 } /* Name.Variable.Instance */ -div.highlight pre .il { color: #40a070 } /* Literal.Number.Integer.Long */ diff --git a/media/css/header.css b/media/css/header.css deleted file mode 100644 index 9b68d12628b..00000000000 --- a/media/css/header.css +++ /dev/null @@ -1,42 +0,0 @@ - -#rtfd-header *:focus { outline: none; } - -/* header */ - -#rtfd-header { font: 16px/20px "ff-meta-web-pro-1", "ff-meta-web-pro-2", Arial, "Helvetica Neue", sans-serif; height: 50px; min-width: 780px; background: url(../images/header-bg.png) bottom left repeat-x #465158; overflow: hidden; text-align: left; border-bottom: 1px solid #000; } -#rtfd-header ul { margin: 0; padding: 0; list-style: none; } -#rtfd-header ul li { margin: 0; padding: 0; list-style: none; } - - /* header title */ - .rtfd-header-title { position: relative; margin: 0; padding: 0; height: 50px; width: 180px; } - .rtfd-header-title h1 { background: url(../images/logo.png) top left no-repeat; position: absolute; top: 0; left: -30px; margin: 0; padding: 0; font-size: 20px; line-height: 20px; color: #fff; text-indent: -9999em; } - .rtfd-header-title h1 a { display: block; color: #fff; text-decoration: none; height: 50px; width: 200px; } - - /* header search */ - .rtfd-header-search { position: absolute; top: 12px; left: 190px; width: 300px; } - .rtfd-header-search input { padding: 0 5px; margin: 0; height: 25px; font-size: 14px; float: left; -moz-border-radius: 0; -webkit-border-radius: 0; border: none; } - .rtfd-header-search input[type="text"] { -moz-border-radius-topleft: 3px; -moz-border-radius-bottomleft: 3px; -webkit-border-top-left-radius: 3px; -webkit-border-bottom-left-radius: 3px; width: 225px; } - .rtfd-header-search input[type="submit"] { font-family: "ff-meta-web-pro-1", "ff-meta-web-pro-2", Arial, "Helvetica Neue", sans-serif; -moz-border-radius-topright: 3px; -moz-border-radius-bottomright: 3px; -webkit-border-top-right-radius: 3px; -webkit-border-bottom-right-radius: 3px; padding: 0 12px; background: #e6e6e6 url(../images/gradient.png) repeat-x bottom left; font-weight: bold; color: #666; } - .rtfd-header-search input[type="submit"]:hover { text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5); background-color: #8ECC4C; color: #fff; } - - /* bookmarking */ - .rtfd-header-bookmark { position: absolute; top: 10px; left: 500px; } - .rtfd-header-bookmark-icon { display: block; text-indent: -99999em; height: 25px; width: 25px; background: url(../images/bookmark-icon-default.png) 50% 50% no-repeat #697983; -moz-border-radius: 3px; -webkit-border-radius: 3px; } - .rtfd-header-bookmark-icon.active { background-image: url(../images/bookmark-icon-active.png); } - .rtfd-header-bookmark-icon:hover { background-image: url(../images/bookmark-icon-hover.png); } - - /* header nav */ - .rtfd-header-nav { position: absolute; top: 0; right: 10px; } - .rtfd-header-nav ul li { float: left; } - .rtfd-header-nav ul li a { font-size: 14px; font-weight: bold; display: block; text-decoration: none; padding: 5px 10px; margin: 10px 0 0 10px; color: #fff; text-shadow: 0 1px 0px rgba(0, 0, 0, 0.5); background: #7C8F99 url(../images/gradient-light.png) bottom left repeat-x; border-bottom: 1px solid #465158; -moz-border-radius: 3px; -webkit-border-radius: 3px;} - .rtfd-header-nav ul li a:hover { background-color: #8CA1AF; } - .rtfd-header-nav ul li.active a, .header-nav ul li.active a:hover { background-color: #BAC7CF; } - .rtfd-header-nav .overview-link a { padding: 4px 10px; margin: 10px 15px; line-height: 20px; height: 22px; -moz-border-radius: 3px; -webkit-border-radius: 3px; } - #rtfd-header + div { position:relative; } - - -/* autocomplete */ - -.ui-autocomplete { background: #fff; text-align: left; border: 1px solid #bfbfbf; } -.ui-state-hover { background: #eee; } -.ui-menu-item a { display: block; padding: 3px 10px; } diff --git a/media/css/sphinx_rtd_theme.css b/media/css/sphinx_rtd_theme.css deleted file mode 120000 index d8b2a0137ff..00000000000 --- a/media/css/sphinx_rtd_theme.css +++ /dev/null @@ -1 +0,0 @@ -../../readthedocs/core/static/core/css/theme.css \ No newline at end of file diff --git a/media/font/fontawesome_webfont.eot b/media/font/fontawesome_webfont.eot deleted file mode 120000 index 0692b78ab30..00000000000 --- a/media/font/fontawesome_webfont.eot +++ /dev/null @@ -1 +0,0 @@ -../../readthedocs/core/static/core/font/fontawesome-webfont.eot \ No newline at end of file diff --git a/media/font/fontawesome_webfont.svg b/media/font/fontawesome_webfont.svg deleted file mode 120000 index 4f3efa81d26..00000000000 --- a/media/font/fontawesome_webfont.svg +++ /dev/null @@ -1 +0,0 @@ -../../readthedocs/core/static/core/font/fontawesome-webfont.svg \ No newline at end of file diff --git a/media/font/fontawesome_webfont.ttf b/media/font/fontawesome_webfont.ttf deleted file mode 120000 index 79ce9444c0c..00000000000 --- a/media/font/fontawesome_webfont.ttf +++ /dev/null @@ -1 +0,0 @@ -../../readthedocs/core/static/core/font/fontawesome-webfont.ttf \ No newline at end of file diff --git a/media/font/fontawesome_webfont.woff b/media/font/fontawesome_webfont.woff deleted file mode 120000 index 84464078e31..00000000000 --- a/media/font/fontawesome_webfont.woff +++ /dev/null @@ -1 +0,0 @@ -../../readthedocs/core/static/core/font/fontawesome-webfont.woff \ No newline at end of file diff --git a/media/font/fontawesome_webfont.woff2 b/media/font/fontawesome_webfont.woff2 deleted file mode 120000 index d8b851262b1..00000000000 --- a/media/font/fontawesome_webfont.woff2 +++ /dev/null @@ -1 +0,0 @@ -../../readthedocs/core/static/core/font/fontawesome-webfont.woff2 \ No newline at end of file diff --git a/media/fonts b/media/fonts deleted file mode 120000 index fb346f06d29..00000000000 --- a/media/fonts +++ /dev/null @@ -1 +0,0 @@ -../readthedocs/core/static/core/font \ No newline at end of file diff --git a/media/images/badge-revsys-sm.png b/media/images/badge-revsys-sm.png deleted file mode 100644 index 6177feae142..00000000000 Binary files a/media/images/badge-revsys-sm.png and /dev/null differ diff --git a/media/images/badge-revsys.png b/media/images/badge-revsys.png deleted file mode 100644 index defed73739b..00000000000 Binary files a/media/images/badge-revsys.png and /dev/null differ diff --git a/media/images/badge-rtd-sm.png b/media/images/badge-rtd-sm.png deleted file mode 100644 index 4712d643ea2..00000000000 Binary files a/media/images/badge-rtd-sm.png and /dev/null differ diff --git a/media/images/badge-rtd.png b/media/images/badge-rtd.png deleted file mode 100644 index caa126ffaaa..00000000000 Binary files a/media/images/badge-rtd.png and /dev/null differ diff --git a/media/images/body-bg.svg b/media/images/body-bg.svg deleted file mode 100644 index 404b5bb8f87..00000000000 --- a/media/images/body-bg.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/media/images/bookmark-delete.png b/media/images/bookmark-delete.png deleted file mode 100644 index c01c9a437d2..00000000000 Binary files a/media/images/bookmark-delete.png and /dev/null differ diff --git a/media/images/bookmark-icon-active.png b/media/images/bookmark-icon-active.png deleted file mode 100644 index fca7bbbb375..00000000000 Binary files a/media/images/bookmark-icon-active.png and /dev/null differ diff --git a/media/images/bookmark-icon-default.png b/media/images/bookmark-icon-default.png deleted file mode 100644 index 2a59ce5dfd6..00000000000 Binary files a/media/images/bookmark-icon-default.png and /dev/null differ diff --git a/media/images/bookmark-icon-hover.png b/media/images/bookmark-icon-hover.png deleted file mode 100644 index 01f2be0b955..00000000000 Binary files a/media/images/bookmark-icon-hover.png and /dev/null differ diff --git a/media/images/bookmark-icon-wait.png b/media/images/bookmark-icon-wait.png deleted file mode 100644 index a412b8d1051..00000000000 Binary files a/media/images/bookmark-icon-wait.png and /dev/null differ diff --git a/media/images/build.png b/media/images/build.png deleted file mode 100644 index a0ec7d00f10..00000000000 Binary files a/media/images/build.png and /dev/null differ diff --git a/media/images/close-window.png b/media/images/close-window.png deleted file mode 100644 index d574e2b3b23..00000000000 Binary files a/media/images/close-window.png and /dev/null differ diff --git a/media/images/gear.png b/media/images/gear.png deleted file mode 100644 index 9c2c2622a49..00000000000 Binary files a/media/images/gear.png and /dev/null differ diff --git a/media/images/gradient-light.png b/media/images/gradient-light.png deleted file mode 100644 index 27ed5588062..00000000000 Binary files a/media/images/gradient-light.png and /dev/null differ diff --git a/media/images/gradient.png b/media/images/gradient.png deleted file mode 100644 index 8e9d931f451..00000000000 Binary files a/media/images/gradient.png and /dev/null differ diff --git a/media/images/header-bg.png b/media/images/header-bg.png deleted file mode 100644 index d5c7fb73d91..00000000000 Binary files a/media/images/header-bg.png and /dev/null differ diff --git a/media/images/header-home-bg.svg b/media/images/header-home-bg.svg deleted file mode 100644 index 40a19bc0313..00000000000 --- a/media/images/header-home-bg.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/media/images/home-logo.png b/media/images/home-logo.png deleted file mode 100644 index 112b5e92e64..00000000000 Binary files a/media/images/home-logo.png and /dev/null differ diff --git a/media/images/project-bar-bg-admin.svg b/media/images/project-bar-bg-admin.svg deleted file mode 100644 index 8840a902dd4..00000000000 --- a/media/images/project-bar-bg-admin.svg +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/media/images/project-bar-bg.png b/media/images/project-bar-bg.png deleted file mode 100644 index 8bfdfd608c1..00000000000 Binary files a/media/images/project-bar-bg.png and /dev/null differ diff --git a/media/images/search.png b/media/images/search.png deleted file mode 100644 index c53d9aa4e20..00000000000 Binary files a/media/images/search.png and /dev/null differ diff --git a/media/images/switch-grid-icon.png b/media/images/switch-grid-icon.png deleted file mode 100644 index 4e3583cdfa3..00000000000 Binary files a/media/images/switch-grid-icon.png and /dev/null differ diff --git a/media/images/switch-list-icon.png b/media/images/switch-list-icon.png deleted file mode 100644 index 30ed0c92ff3..00000000000 Binary files a/media/images/switch-list-icon.png and /dev/null differ diff --git a/media/javascript/base.js b/media/javascript/base.js deleted file mode 100644 index 127b9aaaaeb..00000000000 --- a/media/javascript/base.js +++ /dev/null @@ -1,129 +0,0 @@ -$(function() { - $('body') - .on('click', '.dropdown > span > a:last-child', open_dropdown) - .on('keyup', '.dropdown input[type=search]', filter_dropdown_results) - .click(hide_dropdown) - - $('select.dropdown').each(function(i, e) { build_dropdown_from_select($(e)) }) - - function open_dropdown(ev) { - console.log('open_dropdown') - ev.preventDefault() - $('.dropdown > ul').removeClass('js-open') - var el = $(ev.target) - , dropdown = el.parents('.dropdown') - - dropdown.find('li').show() - dropdown.find('ul').addClass('js-open') - dropdown.find('input[type=search]').val('').focus() - } - - function filter_dropdown_results(ev) { - console.log('is this getting called') - - var el = $(ev.target) - , dropdown = el.parents('.dropdown') - , value = this.value - - dropdown.find('li').show() - - if(value.length) { - dropdown.find('li').hide() - dropdown.find('li').filter(function(i, el) { - return ($(el).text().indexOf(value) === 0) - }).show() - el.parent().show() - } - - if(ev.keyCode === 13) { - ev.preventDefault() - var anchor = dropdown.find('li:visible > a').eq(0) - - setTimeout(function() { - anchor.click() - }) - } else if(ev.keyCode === 27) { - el.val('') - dropdown.find('li').show() - } - } - - function hide_dropdown(ev) { - if(!$(ev.target).parents('.dropdown').length) { - $('.dropdown > ul').removeClass('js-open') - } - } - - - function build_dropdown_from_select(select) { - var options = {} - , selected = null - , option_ul - , framing - - - framing = $(''+ - ''+ - '' - ) - option_ul = framing.find('ul') - - select.find('option').each(function(idx, el) { - el = $(el) - var value = el.attr('value') - - options[value] = el.text() - selected = selected === null ? value : selected - - option_ul.append( - $('
  • ').append( - $('') - .text(options[value]) - .attr('data-value', value) - ) - ) - - }) - - console.log('norp', select, select.find('option'), options, selected) - selected = options[select.val() || selected] - - - framing.find('span > a:first-child').text(selected) - - framing.on('click', '[data-value]', function(ev) { - ev.preventDefault() - framing.find('span > a:first-child').text($(this).text()) - select.val($(this).attr('data-value')) - - option_ul.removeClass('js-open') - }) - - select.after(framing) - - } - - // Install events handlers user menu button the window, to open the menu and - // close it if it loses click focus. - (function () { - var menu = $('.menu-user'), - menu_button = menu.find('button.menu-drop'), - menu_dropdown = menu.find('div.menu-dropdown'); - - menu_button.on('click', function (ev) { - ev.stopPropagation(); - if (menu_dropdown.hasClass('menu-dropped')) { - menu_dropdown.removeClass('menu-dropped'); - } - else { - $('html').on('click', function () { - menu_dropdown.removeClass('menu-dropped'); - }); - menu_dropdown.on('click', function (ev) { - ev.stopPropagation(); - }); - menu_dropdown.addClass('menu-dropped'); - } - }); - })(); -}) diff --git a/media/javascript/build_updater.js b/media/javascript/build_updater.js deleted file mode 100644 index 45fac0f1f81..00000000000 --- a/media/javascript/build_updater.js +++ /dev/null @@ -1,141 +0,0 @@ -(function () { - - // An updater that renders details about a build. - this.BuildUpdater = function(buildId) { - this.buildId = buildId; - this.buildUrl = '/api/v1/build/' + this.buildId + '/'; - this.buildDiv = 'div#build-' + this.buildId; - this.buildLoadingImg = this.buildDiv + ' img.build-loading'; - this.intervalId = null; - return this; - }; - - BuildUpdater.prototype.stopPolling = function() { - $(this.buildLoadingImg).addClass('hide'); - clearInterval(this.intervalId); - }; - - // Show an animated 'loading' gif while we get the current details of the build - // with `buildId` from the server. - // - // If the build was successful, hide the loading gif, populate any - // nodes that have ids matching the pattern "build-" and clear `this.intervalId`. - BuildUpdater.prototype.render = function(data) { - var _this = this; - - for (var prop in data) { - if (data.hasOwnProperty(prop)) { - var val = data[prop]; - var el = $(this.buildDiv + ' span#build-' + prop); - - if (prop == 'success') { - if (data.hasOwnProperty('state') && data['state'] != 'finished') && data['state'] != 'cancelled' { - val = "Not yet finished"; - } - else { - // TODO: I'm not sure what to do with these. We are - // adding a third option here ("Cancelled") that's not - // "Passed" nor "Failed". There are many other places in - // the code where we are assuming only two possible - // options. - val = val ? "Passed" : "Failed"; - } - } - - if (prop == 'state') { - val = val.charAt(0).toUpperCase() + val.slice(1); - - if (val == 'Finished' || val == 'Cancelled') { - _this.stopPolling(); - } - } - - if (el) { - el.text(val); - } - } - } - }; - - BuildUpdater.prototype.getBuild = function() { - _this = this; - - $.get(this.buildUrl, function(data) { - _this.render(data); - }); - }; - - // If the build with ID `this.buildId` has a state other than finished or - // cancelled, poll the server every 5 seconds for the current status. Update - // the details page with the latest values from the server, to keep the user - // informed of progress. - // - // If we haven't received a 'finished'/'cancelled' state back the server in 10 minutes, - // stop polling. - BuildUpdater.prototype.startPolling = function() { - var stateSpan = $(this.buildDiv + ' span#build-state'); - var _this = this; - - // If the build is already finished, or it isn't displayed on the page, - // ignore it. - if (stateSpan.text() == 'Finished' || stateSpan.text() == 'Cancelled' || stateSpan.length === 0) { - return; - } - - $(this.buildLoadingImg).removeClass('hide'); - - // Get build data and render. - this.getBuild(); - - // Get build data and render every 5 seconds until finished. - var intervalId = setInterval(function () { - _this.getBuild(); - }, 5000); - - // Stop polling after 10 minutes, in case the build never finishes. - setTimeout(function() { - _this.stopPolling(); - }, 600000); - }; - - - // An updater that renders builds in a list of builds. - this.BuildListUpdater = function(buildId) { - BuildUpdater.call(this, buildId); - return this; - }; - - BuildListUpdater.prototype = new BuildUpdater(); - - BuildListUpdater.prototype.render = function(data) { - var _this = this; - - data['success'] = data['success'] ? "Passed" : "Failed"; - data['state'] = data['state'].charAt(0).toUpperCase() + data['state'].slice(1); - - for (var prop in data) { - if (data.hasOwnProperty(prop)) { - var val = data[prop]; - var el = $(this.buildDiv + ' span#build-' + prop); - - if (prop == 'state') { - // Show the success value ("Passed" or "Failed") if the build - // finished. Otherwise, show the state value. - if (val == 'Finished' || val == 'Cancelled') { - val = data['success']; - _this.stopPolling(); - } else { - data['success'] = ''; - } - } - - if (el) { - el.text(val); - } - } - } - }; - - -}).call(this); diff --git a/media/javascript/doctools.js b/media/javascript/doctools.js deleted file mode 100644 index 227ad837263..00000000000 --- a/media/javascript/doctools.js +++ /dev/null @@ -1,238 +0,0 @@ -/* - * doctools.js - * ~~~~~~~~~~~ - * - * Sphinx JavaScript utilities for all documentation. - * - * :copyright: Copyright 2007-2013 by the Sphinx team, see AUTHORS. - * :license: BSD, see LICENSE for details. - * - */ - -/** - * select a different prefix for underscore - */ -$u = _.noConflict(); - -/** - * make the code below compatible with browsers without - * an installed firebug like debugger -if (!window.console || !console.firebug) { - var names = ["log", "debug", "info", "warn", "error", "assert", "dir", - "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", - "profile", "profileEnd"]; - window.console = {}; - for (var i = 0; i < names.length; ++i) - window.console[names[i]] = function() {}; -} - */ - -/** - * small helper function to urldecode strings - */ -jQuery.urldecode = function(x) { - return decodeURIComponent(x).replace(/\+/g, ' '); -}; - -/** - * small helper function to urlencode strings - */ -jQuery.urlencode = encodeURIComponent; - -/** - * This function returns the parsed url parameters of the - * current request. Multiple values per key are supported, - * it will always return arrays of strings for the value parts. - */ -jQuery.getQueryParameters = function(s) { - if (typeof s == 'undefined') - s = document.location.search; - var parts = s.substr(s.indexOf('?') + 1).split('&'); - var result = {}; - for (var i = 0; i < parts.length; i++) { - var tmp = parts[i].split('=', 2); - var key = jQuery.urldecode(tmp[0]); - var value = jQuery.urldecode(tmp[1]); - if (key in result) - result[key].push(value); - else - result[key] = [value]; - } - return result; -}; - -/** - * highlight a given string on a jquery object by wrapping it in - * span elements with the given class name. - */ -jQuery.fn.highlightText = function(text, className) { - function highlight(node) { - if (node.nodeType == 3) { - var val = node.nodeValue; - var pos = val.toLowerCase().indexOf(text); - if (pos >= 0 && !jQuery(node.parentNode).hasClass(className)) { - var span = document.createElement("span"); - span.className = className; - span.appendChild(document.createTextNode(val.substr(pos, text.length))); - node.parentNode.insertBefore(span, node.parentNode.insertBefore( - document.createTextNode(val.substr(pos + text.length)), - node.nextSibling)); - node.nodeValue = val.substr(0, pos); - } - } - else if (!jQuery(node).is("button, select, textarea")) { - jQuery.each(node.childNodes, function() { - highlight(this); - }); - } - } - return this.each(function() { - highlight(this); - }); -}; - -/** - * Small JavaScript module for the documentation. - */ -var Documentation = { - - init : function() { - this.fixFirefoxAnchorBug(); - this.highlightSearchWords(); - this.initIndexTable(); - }, - - /** - * i18n support - */ - TRANSLATIONS : {}, - PLURAL_EXPR : function(n) { return n == 1 ? 0 : 1; }, - LOCALE : 'unknown', - - // gettext and ngettext don't access this so that the functions - // can safely bound to a different name (_ = Documentation.gettext) - gettext : function(string) { - var translated = Documentation.TRANSLATIONS[string]; - if (typeof translated == 'undefined') - return string; - return (typeof translated == 'string') ? translated : translated[0]; - }, - - ngettext : function(singular, plural, n) { - var translated = Documentation.TRANSLATIONS[singular]; - if (typeof translated == 'undefined') - return (n == 1) ? singular : plural; - return translated[Documentation.PLURALEXPR(n)]; - }, - - addTranslations : function(catalog) { - for (var key in catalog.messages) - this.TRANSLATIONS[key] = catalog.messages[key]; - this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); - this.LOCALE = catalog.locale; - }, - - /** - * add context elements like header anchor links - */ - addContextElements : function() { - $('div[id] > :header:first').each(function() { - $('\u00B6'). - attr('href', '#' + this.id). - attr('title', _('Permalink to this headline')). - appendTo(this); - }); - $('dt[id]').each(function() { - $('\u00B6'). - attr('href', '#' + this.id). - attr('title', _('Permalink to this definition')). - appendTo(this); - }); - }, - - /** - * workaround a firefox stupidity - */ - fixFirefoxAnchorBug : function() { - if (document.location.hash && $.browser.mozilla) - window.setTimeout(function() { - document.location.href += ''; - }, 10); - }, - - /** - * highlight the search words provided in the url in the text - */ - highlightSearchWords : function() { - var params = $.getQueryParameters(); - var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; - if (terms.length) { - var body = $('div.body'); - if (!body.length) { - var body = $('body'); - } - window.setTimeout(function() { - $.each(terms, function() { - body.highlightText(this.toLowerCase(), 'highlighted'); - }); - }, 10); - $('') - .appendTo($('#searchbox')); - } - }, - - /** - * init the domain index toggle buttons - */ - initIndexTable : function() { - var togglers = $('img.toggler').click(function() { - var src = $(this).attr('src'); - var idnum = $(this).attr('id').substr(7); - $('tr.cg-' + idnum).toggle(); - if (src.substr(-9) == 'minus.png') - $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); - else - $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); - }).css('display', ''); - if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { - togglers.click(); - } - }, - - /** - * helper function to hide the search marks again - */ - hideSearchWords : function() { - $('#searchbox .highlight-link').fadeOut(300); - $('span.highlighted').removeClass('highlighted'); - }, - - /** - * make the url absolute - */ - makeURL : function(relativeURL) { - return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; - }, - - /** - * get the current relative url - */ - getCurrentURL : function() { - var path = document.location.pathname; - var parts = path.split(/\//); - $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { - if (this == '..') - parts.pop(); - }); - var url = parts.join('/'); - return path.substring(url.lastIndexOf('/') + 1, path.length - 1); - } -}; - -// quick alias for translations -_ = Documentation.gettext; - -$(document).ready(function() { - Documentation.init(); -}); diff --git a/media/javascript/jquery/jquery-2.0.3.min.js b/media/javascript/jquery/jquery-2.0.3.min.js deleted file mode 100644 index 6d8a9c0c3be..00000000000 --- a/media/javascript/jquery/jquery-2.0.3.min.js +++ /dev/null @@ -1,24 +0,0 @@ -/*! - * jQuery JavaScript Library v2.0.3 - * http://jquery.com/ - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * - * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: 2013-07-03T13:30Z - * - * This is a modified version of jQuery v2.0.3 - * with a backported fix for https://github.com/jquery/jquery/issues/2432 - * It was generated as follows (after backporting): - * - * ./node_modules/.bin/uglifyjs -cm --comments -- ./bower_components/jquery/jquery.js - * - * @preserve - */ -!function(e,t){function n(e){var t=e.length,n=ot.type(e);return ot.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e){var t=ht[e]={};return ot.each(e.match(at)||[],function(e,n){t[n]=!0}),t}function i(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=ot.expando+Math.random()}function o(e,n,r){var i;if(r===t&&1===e.nodeType)if(i="data-"+n.replace(vt,"-$1").toLowerCase(),r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:yt.test(r)?JSON.parse(r):r}catch(o){}gt.set(e,n,r)}else r=t;return r}function s(){return!0}function a(){return!1}function u(){try{return X.activeElement}catch(e){}}function l(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function c(e,t,n){if(ot.isFunction(t))return ot.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return ot.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(jt.test(t))return ot.filter(t,e,n);t=ot.filter(t,e)}return ot.grep(e,function(e){return tt.call(t,e)>=0!==n})}function f(e,t){return ot.nodeName(e,"table")&&ot.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function p(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function d(e){var t=Wt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function h(e,t){for(var n=e.length,r=0;n>r;r++)mt.set(e[r],"globalEval",!t||mt.get(t[r],"globalEval"))}function g(e,t){var n,r,i,o,s,a,u,l;if(1===t.nodeType){if(mt.hasData(e)&&(o=mt.access(e),s=mt.set(t,o),l=o.events)){delete s.handle,s.events={};for(i in l)for(n=0,r=l[i].length;r>n;n++)ot.event.add(t,i,l[i][n])}gt.hasData(e)&&(a=gt.access(e),u=ot.extend({},a),gt.set(t,u))}}function m(e,n){var r=e.getElementsByTagName?e.getElementsByTagName(n||"*"):e.querySelectorAll?e.querySelectorAll(n||"*"):[];return n===t||n&&ot.nodeName(e,n)?ot.merge([e],r):r}function y(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Pt.test(e.type)?t.checked=e.checked:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}function v(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Zt.length;i--;)if(t=Zt[i]+n,t in e)return t;return r}function x(e,t){return e=t||e,"none"===ot.css(e,"display")||!ot.contains(e.ownerDocument,e)}function b(t){return e.getComputedStyle(t,null)}function w(e,t){for(var n,r,i,o=[],s=0,a=e.length;a>s;s++)r=e[s],r.style&&(o[s]=mt.get(r,"olddisplay"),n=r.style.display,t?(o[s]||"none"!==n||(r.style.display=""),""===r.style.display&&x(r)&&(o[s]=mt.access(r,"olddisplay",k(r.nodeName)))):o[s]||(i=x(r),(n&&"none"!==n||!i)&&mt.set(r,"olddisplay",i?n:ot.css(r,"display"))));for(s=0;a>s;s++)r=e[s],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[s]||"":"none"));return e}function T(e,t,n){var r=Ut.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function C(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,s=0;4>o;o+=2)"margin"===n&&(s+=ot.css(e,n+Kt[o],!0,i)),r?("content"===n&&(s-=ot.css(e,"padding"+Kt[o],!0,i)),"margin"!==n&&(s-=ot.css(e,"border"+Kt[o]+"Width",!0,i))):(s+=ot.css(e,"padding"+Kt[o],!0,i),"padding"!==n&&(s+=ot.css(e,"border"+Kt[o]+"Width",!0,i)));return s}function N(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=b(e),s=ot.support.boxSizing&&"border-box"===ot.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=It(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=s&&(ot.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+C(e,t,n||(s?"border":"content"),r,o)+"px"}function k(e){var t=X,n=Gt[e];return n||(n=E(e,t),"none"!==n&&n||(zt=(zt||ot("':""),t._keyEvent=!1,k},_generateMonthYearHeader:function(t,e,i,s,n,o,a,r){var l=this._get(t,"changeMonth"),h=this._get(t,"changeYear"),c=this._get(t,"showMonthAfterYear"),d='
    ',u="";if(o||!l)u+=''+a[e]+"";else{var p=s&&s.getFullYear()==i,f=n&&n.getFullYear()==i;u+='"}if(c||(d+=u+(!o&&l&&h?"":" ")),!t.yearshtml)if(t.yearshtml="",o||!h)d+=''+i+"";else{function m(t){t=t.match(/c[+-].*/)?i+parseInt(t.substring(1),10):t.match(/[+-].*/)?v+parseInt(t,10):parseInt(t,10);return isNaN(t)?v:t}var a=this._get(t,"yearRange").split(":"),v=(new Date).getFullYear(),b=m(a[0]),_=Math.max(b,m(a[1]||"")),b=s?Math.max(b,s.getFullYear()):b,_=n?Math.min(_,n.getFullYear()):_;for(t.yearshtml+='",d+=t.yearshtml,t.yearshtml=null}return d+=this._get(t,"yearSuffix"),c&&(d+=(!o&&l&&h?"":" ")+u),d+="
    "},_adjustInstDate:function(t,e,i){var s=t.drawYear+("Y"==i?e:0),n=t.drawMonth+("M"==i?e:0),e=Math.min(t.selectedDay,this._getDaysInMonth(s,n))+("D"==i?e:0),s=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(s,n,e)));t.selectedDay=s.getDate(),t.drawMonth=t.selectedMonth=s.getMonth(),t.drawYear=t.selectedYear=s.getFullYear(),"M"!=i&&"Y"!=i||this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),t=this._getMinMaxDate(t,"max"),i=i&&e=i.getTime())&&(!t||e.getTime()<=t.getTime())},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,s){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);s=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(s,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),s,this._getFormatConfig(t))}}),$.fn.datepicker=function(t){if(!this.length)return this;$.datepicker.initialized||($(document).mousedown($.datepicker._checkExternalClick).find("body").append($.datepicker.dpDiv),$.datepicker.initialized=!0);var e=Array.prototype.slice.call(arguments,1);return"string"==typeof t&&("isDisabled"==t||"getDate"==t||"widget"==t)||"option"==t&&2==arguments.length&&"string"==typeof arguments[1]?$.datepicker["_"+t+"Datepicker"].apply($.datepicker,[this[0]].concat(e)):this.each(function(){"string"==typeof t?$.datepicker["_"+t+"Datepicker"].apply($.datepicker,[this].concat(e)):$.datepicker._attachDatepicker(this,t)})},$.datepicker=new Datepicker,$.datepicker.initialized=!1,$.datepicker.uuid=(new Date).getTime(),$.datepicker.version="1.8.23",window["DP_jQuery_"+dpuuid]=$}(jQuery),!function(r){var l="ui-dialog ui-widget ui-widget-content ui-corner-all ",o={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},a={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};r.widget("ui.dialog",{options:{autoOpen:!0,buttons:{},closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:!1,maxWidth:!1,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",collision:"fit",using:function(t){var e=r(this).css(t).offset().top;e<0&&r(this).css("top",t.top-e)}},resizable:!0,show:null,stack:!0,title:"",width:300,zIndex:1e3},_create:function(){this.originalTitle=this.element.attr("title"),"string"!=typeof this.originalTitle&&(this.originalTitle=""),this.options.title=this.options.title||this.originalTitle;var e=this,i=e.options,t=i.title||" ",s=r.ui.dialog.getTitleId(e.element),n=(e.uiDialog=r("
    ")).appendTo(document.body).hide().addClass(l+i.dialogClass).css({zIndex:i.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(t){i.closeOnEscape&&!t.isDefaultPrevented()&&t.keyCode&&t.keyCode===r.ui.keyCode.ESCAPE&&(e.close(t),t.preventDefault())}).attr({role:"dialog","aria-labelledby":s}).mousedown(function(t){e.moveToTop(!1,t)}),o=(e.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(n),(e.uiDialogTitlebar=r("
    ")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(n)),a=r('').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){a.addClass("ui-state-hover")},function(){a.removeClass("ui-state-hover")}).focus(function(){a.addClass("ui-state-focus")}).blur(function(){a.removeClass("ui-state-focus")}).click(function(t){return e.close(t),!1}).appendTo(o);(e.uiDialogTitlebarCloseText=r("")).addClass("ui-icon ui-icon-closethick").text(i.closeText).appendTo(a),r("").addClass("ui-dialog-title").attr("id",s).html(t).prependTo(o);r.isFunction(i.beforeclose)&&!r.isFunction(i.beforeClose)&&(i.beforeClose=i.beforeclose),o.find("*").add(o).disableSelection(),i.draggable&&r.fn.draggable&&e._makeDraggable(),i.resizable&&r.fn.resizable&&e._makeResizable(),e._createButtons(i.buttons),e._isOpen=!1,r.fn.bgiframe&&n.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){var t=this;return t.overlay&&t.overlay.destroy(),t.uiDialog.hide(),t.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body"),t.uiDialog.remove(),t.originalTitle&&t.element.attr("title",t.originalTitle),t},widget:function(){return this.uiDialog},close:function(t){var e,i,s=this;if(!1!==s._trigger("beforeClose",t))return s.overlay&&s.overlay.destroy(),s.uiDialog.unbind("keypress.ui-dialog"),s._isOpen=!1,s.options.hide?s.uiDialog.hide(s.options.hide,function(){s._trigger("close",t)}):(s.uiDialog.hide(),s._trigger("close",t)),r.ui.dialog.overlay.resize(),s.options.modal&&(e=0,r(".ui-dialog").each(function(){this!==s.uiDialog[0]&&(i=r(this).css("z-index"),isNaN(i)||(e=Math.max(e,i)))}),r.ui.dialog.maxZ=e),s},isOpen:function(){return this._isOpen},moveToTop:function(t,e){var i=this,s=i.options;return s.modal&&!t||!s.stack&&!s.modal?i._trigger("focus",e):(s.zIndex>r.ui.dialog.maxZ&&(r.ui.dialog.maxZ=s.zIndex),i.overlay&&(r.ui.dialog.maxZ+=1,i.overlay.$el.css("z-index",r.ui.dialog.overlay.maxZ=r.ui.dialog.maxZ)),t={scrollTop:i.element.scrollTop(),scrollLeft:i.element.scrollLeft()},r.ui.dialog.maxZ+=1,i.uiDialog.css("z-index",r.ui.dialog.maxZ),i.element.attr(t),i._trigger("focus",e),i)},open:function(){var t,e,i;if(!this._isOpen)return t=this,e=t.options,i=t.uiDialog,t.overlay=e.modal?new r.ui.dialog.overlay(t):null,t._size(),t._position(e.position),i.show(e.show),t.moveToTop(!0),e.modal&&i.bind("keydown.ui-dialog",function(t){var e,i;if(t.keyCode===r.ui.keyCode.TAB)return i=r(":tabbable",this),e=i.filter(":first"),i=i.filter(":last"),t.target!==i[0]||t.shiftKey?t.target===e[0]&&t.shiftKey?(i.focus(1),!1):void 0:(e.focus(1),!1)}),r(t.element.find(":tabbable").get().concat(i.find(".ui-dialog-buttonpane :tabbable").get().concat(i.get()))).eq(0).focus(),t._isOpen=!0,t._trigger("open"),t},_createButtons:function(t){var s=this,e=!1,i=r("
    ").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),n=r("
    ").addClass("ui-dialog-buttonset").appendTo(i);s.uiDialog.find(".ui-dialog-buttonpane").remove(),"object"==typeof t&&null!==t&&r.each(t,function(){return!(e=!0)}),e&&(r.each(t,function(t,e){e=r.isFunction(e)?{click:e,text:t}:e;var i=r('').click(function(){e.click.apply(s.element[0],arguments)}).appendTo(n);r.each(e,function(t,e){"click"!==t&&(t in i?i[t](e):i.attr(t,e))}),r.fn.button&&i.button()}),i.appendTo(s.uiDialog))},_makeDraggable:function(){var i,s=this,n=s.options,o=r(document);function a(t){return{position:t.position,offset:t.offset}}s.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(t,e){i="auto"===n.height?"auto":r(this).height(),r(this).height(r(this).height()).addClass("ui-dialog-dragging"),s._trigger("dragStart",t,a(e))},drag:function(t,e){s._trigger("drag",t,a(e))},stop:function(t,e){n.position=[e.position.left-o.scrollLeft(),e.position.top-o.scrollTop()],r(this).removeClass("ui-dialog-dragging").height(i),s._trigger("dragStop",t,a(e)),r.ui.dialog.overlay.resize()}})},_makeResizable:function(t){t=void 0===t?this.options.resizable:t;var i=this,s=i.options,e=i.uiDialog.css("position"),t="string"==typeof t?t:"n,e,s,w,se,sw,ne,nw";function n(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}i.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:i.element,maxWidth:s.maxWidth,maxHeight:s.maxHeight,minWidth:s.minWidth,minHeight:i._minHeight(),handles:t,start:function(t,e){r(this).addClass("ui-dialog-resizing"),i._trigger("resizeStart",t,n(e))},resize:function(t,e){i._trigger("resize",t,n(e))},stop:function(t,e){r(this).removeClass("ui-dialog-resizing"),s.height=r(this).height(),s.width=r(this).width(),i._trigger("resizeStop",t,n(e)),r.ui.dialog.overlay.resize()}}).css("position",e).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(t){var e,i=[],s=[0,0];t=t?(("string"==typeof t||"object"==typeof t&&"0"in t)&&(1===(i=t.split?t.split(" "):[t[0],t[1]]).length&&(i[1]=i[0]),r.each(["left","top"],function(t,e){+i[t]===i[t]&&(s[t]=i[t],i[t]=e)}),t={my:i.join(" "),at:i.join(" "),offset:s.join(" ")}),r.extend({},r.ui.dialog.prototype.options.position,t)):r.ui.dialog.prototype.options.position,(e=this.uiDialog.is(":visible"))||this.uiDialog.show(),this.uiDialog.css({top:0,left:0}).position(r.extend({of:window},t)),e||this.uiDialog.hide()},_setOptions:function(t){var i=this,s={},n=!1;r.each(t,function(t,e){i._setOption(t,e),t in o&&(n=!0),t in a&&(s[t]=e)}),n&&this._size(),this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",s)},_setOption:function(t,e){var i=this,s=i.uiDialog;switch(t){case"beforeclose":t="beforeClose";break;case"buttons":i._createButtons(e);break;case"closeText":i.uiDialogTitlebarCloseText.text(""+e);break;case"dialogClass":s.removeClass(i.options.dialogClass).addClass(l+e);break;case"disabled":e?s.addClass("ui-dialog-disabled"):s.removeClass("ui-dialog-disabled");break;case"draggable":var n=s.is(":data(draggable)");n&&!e&&s.draggable("destroy"),!n&&e&&i._makeDraggable();break;case"position":i._position(e);break;case"resizable":n=s.is(":data(resizable)");n&&!e&&s.resizable("destroy"),n&&"string"==typeof e&&s.resizable("option","handles",e),n||!1===e||i._makeResizable(e);break;case"title":r(".ui-dialog-title",i.uiDialogTitlebar).html(""+(e||" "))}r.Widget.prototype._setOption.apply(i,arguments)},_size:function(){var t,e,i,s=this.options,n=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0}),s.minWidth>s.width&&(s.width=s.minWidth),t=this.uiDialog.css({height:"auto",width:s.width}).height(),e=Math.max(0,s.minHeight-t),"auto"===s.height?r.support.minHeight?this.element.css({minHeight:e,height:"auto"}):(this.uiDialog.show(),i=this.element.css("height","auto").height(),n||this.uiDialog.hide(),this.element.height(Math.max(i,e))):this.element.height(Math.max(s.height-t,0)),this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())}}),r.extend(r.ui.dialog,{version:"1.8.23",uuid:0,maxZ:0,getTitleId:function(t){t=t.attr("id");return t||(this.uuid+=1,t=this.uuid),"ui-dialog-title-"+t},overlay:function(t){this.$el=r.ui.dialog.overlay.create(t)}}),r.extend(r.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:r.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(t){return t+".dialog-overlay"}).join(" "),create:function(e){0===this.instances.length&&(setTimeout(function(){r.ui.dialog.overlay.instances.length&&r(document).bind(r.ui.dialog.overlay.events,function(t){if(r(t.target).zIndex()").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),height:this.height()});return r.fn.bgiframe&&t.bgiframe(),this.instances.push(t),t},destroy:function(t){var e=r.inArray(t,this.instances),i=(-1!=e&&this.oldInstances.push(this.instances.splice(e,1)[0]),0===this.instances.length&&r([document,window]).unbind(".dialog-overlay"),t.remove(),0);r.each(this.instances,function(){i=Math.max(i,this.css("z-index"))}),this.maxZ=i},height:function(){var t;return r.browser.msie&&r.browser.version<7?(t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight))").appendTo(this.element),this.oldValue=this._value(),this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove(),i.Widget.prototype.destroy.apply(this,arguments)},value:function(t){return void 0===t?this._value():(this._setOption("value",t),this)},_setOption:function(t,e){"value"===t&&(this.options.value=e,this._refreshValue(),this._value()===this.options.max&&this._trigger("complete")),i.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var t=this.options.value;return"number"!=typeof t&&(t=0),Math.min(this.options.max,Math.max(this.min,t))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var t=this.value(),e=this._percentage();this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),this.valueDiv.toggle(t>this.min).toggleClass("ui-corner-right",t===this.options.max).width(e.toFixed(0)+"%"),this.element.attr("aria-valuenow",t)}}),i.extend(i.ui.progressbar,{version:"1.8.23"})}(jQuery),!function(c){c.widget("ui.slider",c.ui.mouse,{widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null},_create:function(){var o=this,t=this.options,e=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),i=t.values&&t.values.length||1,s=[];this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"+(t.disabled?" ui-slider-disabled ui-disabled":"")),this.range=c([]),t.range&&(!0===t.range&&(t.values||(t.values=[this._valueMin(),this._valueMin()]),t.values.length&&2!==t.values.length&&(t.values=[t.values[0],t.values[0]])),this.range=c("
    ").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+("min"===t.range||"max"===t.range?" ui-slider-range-"+t.range:"")));for(var n=e.length;n");this.handles=e.add(c(s.join("")).appendTo(o.element)),this.handle=this.handles.eq(0),this.handles.add(this.range).filter("a").click(function(t){t.preventDefault()}).hover(function(){t.disabled||c(this).addClass("ui-state-hover")},function(){c(this).removeClass("ui-state-hover")}).focus(function(){t.disabled?c(this).blur():(c(".ui-slider .ui-state-focus").removeClass("ui-state-focus"),c(this).addClass("ui-state-focus"))}).blur(function(){c(this).removeClass("ui-state-focus")}),this.handles.each(function(t){c(this).data("index.ui-slider-handle",t)}),this.handles.keydown(function(t){var e,i,s,n=c(this).data("index.ui-slider-handle");if(!o.options.disabled){switch(t.keyCode){case c.ui.keyCode.HOME:case c.ui.keyCode.END:case c.ui.keyCode.PAGE_UP:case c.ui.keyCode.PAGE_DOWN:case c.ui.keyCode.UP:case c.ui.keyCode.RIGHT:case c.ui.keyCode.DOWN:case c.ui.keyCode.LEFT:if(t.preventDefault(),o._keySliding||(o._keySliding=!0,c(this).addClass("ui-state-active"),!1!==o._start(t,n)))break;return}switch(s=o.options.step,e=i=o.options.values&&o.options.values.length?o.values(n):o.value(),t.keyCode){case c.ui.keyCode.HOME:i=o._valueMin();break;case c.ui.keyCode.END:i=o._valueMax();break;case c.ui.keyCode.PAGE_UP:i=o._trimAlignValue(e+(o._valueMax()-o._valueMin())/5);break;case c.ui.keyCode.PAGE_DOWN:i=o._trimAlignValue(e-(o._valueMax()-o._valueMin())/5);break;case c.ui.keyCode.UP:case c.ui.keyCode.RIGHT:if(e===o._valueMax())return;i=o._trimAlignValue(e+s);break;case c.ui.keyCode.DOWN:case c.ui.keyCode.LEFT:if(e===o._valueMin())return;i=o._trimAlignValue(e-s)}o._slide(t,n,i)}}).keyup(function(t){var e=c(this).data("index.ui-slider-handle");o._keySliding&&(o._keySliding=!1,o._stop(t,e),o._change(t,e),c(this).removeClass("ui-state-active"))}),this._refreshValue(),this._animateOff=!1},destroy:function(){return this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider"),this._mouseDestroy(),this},_mouseCapture:function(t){var i,s,n,o,a,e,r=this.options;return!r.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e),s=this._valueMax()-this._valueMin()+1,(o=this).handles.each(function(t){var e=Math.abs(i-o.values(t));e=this._valueMax())return this._valueMax();var e=0=e&&(t+=0",remove:null,select:null,show:null,spinner:"Loading…",tabTemplate:"
  • #{label}
  • "},_create:function(){this._tabify(!0)},_setOption:function(t,e){"selected"==t?this.options.collapsible&&e==this.options.selected||this.select(e):(this.options[t]=e,this._tabify())},_tabId:function(t){return t.title&&t.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+ ++e},_sanitizeSelector:function(t){return t.replace(/:/g,"\\:")},_cookie:function(){var t=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+ ++i);return p.cookie.apply(null,[t].concat(p.makeArray(arguments)))},_ui:function(t,e){return{tab:t,panel:e,index:this.anchors.index(t)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var t=p(this);t.html(t.data("label.tabs")).removeData("label.tabs")})},_tabify:function(t){var o=this,a=this.options,r=/^#.+/;this.list=this.element.find("ol,ul").eq(0),this.lis=p(" > li:has(a[href])",this.list),this.anchors=this.lis.map(function(){return p("a",this)[0]}),this.panels=p([]),this.anchors.each(function(t,e){var i,s=p(e).attr("href"),n=s.split("#")[0];n&&(n===location.toString().split("#")[0]||(i=p("base")[0])&&n===i.href)&&(s=e.hash,e.href=s),r.test(s)?o.panels=o.panels.add(o.element.find(o._sanitizeSelector(s))):s&&"#"!==s?(p.data(e,"href.tabs",s),p.data(e,"load.tabs",s.replace(/#.*$/,"")),n=o._tabId(e),e.href="#"+n,(i=o.element.find("#"+n)).length||(i=p(a.panelTemplate).attr("id",n).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(o.panels[t-1]||o.list)).data("destroy.tabs",!0),o.panels=o.panels.add(i)):a.disabled.push(t)}),t?(this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all"),this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"),this.lis.addClass("ui-state-default ui-corner-top"),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom"),void 0===a.selected?(location.hash&&this.anchors.each(function(t,e){if(e.hash==location.hash)return a.selected=t,!1}),"number"!=typeof a.selected&&a.cookie&&(a.selected=parseInt(o._cookie(),10)),"number"!=typeof a.selected&&this.lis.filter(".ui-tabs-selected").length&&(a.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))),a.selected=a.selected||(this.lis.length?0:-1)):null===a.selected&&(a.selected=-1),a.selected=0<=a.selected&&this.anchors[a.selected]||a.selected<0?a.selected:0,a.disabled=p.unique(a.disabled.concat(p.map(this.lis.filter(".ui-state-disabled"),function(t,e){return o.lis.index(t)}))).sort(),-1!=p.inArray(a.selected,a.disabled)&&a.disabled.splice(p.inArray(a.selected,a.disabled),1),this.panels.addClass("ui-tabs-hide"),this.lis.removeClass("ui-tabs-selected ui-state-active"),0<=a.selected&&this.anchors.length&&(o.element.find(o._sanitizeSelector(o.anchors[a.selected].hash)).removeClass("ui-tabs-hide"),this.lis.eq(a.selected).addClass("ui-tabs-selected ui-state-active"),o.element.queue("tabs",function(){o._trigger("show",null,o._ui(o.anchors[a.selected],o.element.find(o._sanitizeSelector(o.anchors[a.selected].hash))[0]))}),this.load(a.selected)),p(window).bind("unload",function(){o.lis.add(o.anchors).unbind(".tabs"),o.lis=o.anchors=o.panels=null})):a.selected=this.lis.index(this.lis.filter(".ui-tabs-selected")),this.element[a.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible"),a.cookie&&this._cookie(a.selected,a.cookie);for(var e,i,s,n,l,h=0;e=this.lis[h];h++)p(e)[-1==p.inArray(h,a.disabled)||p(e).hasClass("ui-tabs-selected")?"removeClass":"addClass"]("ui-state-disabled");function c(t,e){t.css("display",""),!p.support.opacity&&e.opacity&&t[0].style.removeAttribute("filter")}!1===a.cache&&this.anchors.removeData("cache.tabs"),this.lis.add(this.anchors).unbind(".tabs"),"mouseover"!==a.event&&(i=function(t,e){e.is(":not(.ui-state-disabled)")&&e.addClass("ui-state-"+t)},s=function(t,e){e.removeClass("ui-state-"+t)},this.lis.bind("mouseover.tabs",function(){i("hover",p(this))}),this.lis.bind("mouseout.tabs",function(){s("hover",p(this))}),this.anchors.bind("focus.tabs",function(){i("focus",p(this).closest("li"))}),this.anchors.bind("blur.tabs",function(){s("focus",p(this).closest("li"))})),a.fx&&(p.isArray(a.fx)?(n=a.fx[0],l=a.fx[1]):n=l=a.fx);var d=l?function(t,e){p(t).closest("li").addClass("ui-tabs-selected ui-state-active"),e.hide().removeClass("ui-tabs-hide").animate(l,l.duration||"normal",function(){c(e,l),o._trigger("show",null,o._ui(t,e[0]))})}:function(t,e){p(t).closest("li").addClass("ui-tabs-selected ui-state-active"),e.removeClass("ui-tabs-hide"),o._trigger("show",null,o._ui(t,e[0]))},u=n?function(t,e){e.animate(n,n.duration||"normal",function(){o.lis.removeClass("ui-tabs-selected ui-state-active"),e.addClass("ui-tabs-hide"),c(e,n),o.element.dequeue("tabs")})}:function(t,e,i){o.lis.removeClass("ui-tabs-selected ui-state-active"),e.addClass("ui-tabs-hide"),o.element.dequeue("tabs")};this.anchors.bind(a.event+".tabs",function(){var t=this,e=p(t).closest("li"),i=o.panels.filter(":not(.ui-tabs-hide)"),s=o.element.find(o._sanitizeSelector(t.hash));if(e.hasClass("ui-tabs-selected")&&!a.collapsible||e.hasClass("ui-state-disabled")||e.hasClass("ui-state-processing")||o.panels.filter(":animated").length||!1===o._trigger("select",null,o._ui(this,s[0])))return this.blur(),!1;if(a.selected=o.anchors.index(this),o.abort(),a.collapsible){if(e.hasClass("ui-tabs-selected"))return a.selected=-1,a.cookie&&o._cookie(a.selected,a.cookie),o.element.queue("tabs",function(){u(t,i)}).dequeue("tabs"),this.blur(),!1;if(!i.length)return a.cookie&&o._cookie(a.selected,a.cookie),o.element.queue("tabs",function(){d(t,s)}),o.load(o.anchors.index(this)),this.blur(),!1}if(a.cookie&&o._cookie(a.selected,a.cookie),!s.length)throw"jQuery UI Tabs: Mismatching fragment identifier.";i.length&&o.element.queue("tabs",function(){u(t,i)}),o.element.queue("tabs",function(){d(t,s)}),o.load(o.anchors.index(this)),p.browser.msie&&this.blur()}),this.anchors.bind("click.tabs",function(){return!1})},_getIndex:function(t){return t="string"==typeof t?this.anchors.index(this.anchors.filter("[href$='"+t+"']")):t},destroy:function(){var t=this.options;return this.abort(),this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs"),this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"),this.anchors.each(function(){var t=p.data(this,"href.tabs"),i=(t&&(this.href=t),p(this).unbind(".tabs"));p.each(["href","load","cache"],function(t,e){i.removeData(e+".tabs")})}),this.lis.unbind(".tabs").add(this.panels).each(function(){p.data(this,"destroy.tabs")?p(this).remove():p(this).removeClass(["ui-state-default","ui-corner-top","ui-tabs-selected","ui-state-active","ui-state-hover","ui-state-focus","ui-state-disabled","ui-tabs-panel","ui-widget-content","ui-corner-bottom","ui-tabs-hide"].join(" "))}),t.cookie&&this._cookie(null,t.cookie),this},add:function(t,e,i){void 0===i&&(i=this.anchors.length);var s=this,n=this.options,e=p(n.tabTemplate.replace(/#\{href\}/g,t).replace(/#\{label\}/g,e)),t=t.indexOf("#")?this._tabId(p("a",e)[0]):t.replace("#",""),o=(e.addClass("ui-state-default ui-corner-top").data("destroy.tabs",!0),s.element.find("#"+t));return(o=o.length?o:p(n.panelTemplate).attr("id",t).data("destroy.tabs",!0)).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide"),i>=this.lis.length?(e.appendTo(this.list),o.appendTo(this.list[0].parentNode)):(e.insertBefore(this.lis[i]),o.insertBefore(this.panels[i])),n.disabled=p.map(n.disabled,function(t,e){return i<=t?++t:t}),this._tabify(),1==this.anchors.length&&(n.selected=0,e.addClass("ui-tabs-selected ui-state-active"),o.removeClass("ui-tabs-hide"),this.element.queue("tabs",function(){s._trigger("show",null,s._ui(s.anchors[0],s.panels[0]))}),this.load(0)),this._trigger("add",null,this._ui(this.anchors[i],this.panels[i])),this},remove:function(i){i=this._getIndex(i);var t=this.options,e=this.lis.eq(i).remove(),s=this.panels.eq(i).remove();return e.hasClass("ui-tabs-selected")&&1").outerWidth(1).jquery||r.each(["Width","Height"],function(t,i){var n="Width"===i?["Left","Right"]:["Top","Bottom"],s=i.toLowerCase(),o={innerWidth:r.fn.innerWidth,innerHeight:r.fn.innerHeight,outerWidth:r.fn.outerWidth,outerHeight:r.fn.outerHeight};function a(t,e,i,s){return r.each(n,function(){e-=parseFloat(r.curCSS(t,"padding"+this,!0))||0,i&&(e-=parseFloat(r.curCSS(t,"border"+this+"Width",!0))||0),s&&(e-=parseFloat(r.curCSS(t,"margin"+this,!0))||0)}),e}r.fn["inner"+i]=function(t){return t===l?o["inner"+i].call(this):this.each(function(){r(this).css(s,a(this,t)+"px")})},r.fn["outer"+i]=function(t,e){return"number"!=typeof t?o["outer"+i].call(this,t):this.each(function(){r(this).css(s,a(this,t,!0,e)+"px")})}}),r.extend(r.expr[":"],{data:r.expr.createPseudo?r.expr.createPseudo(function(e){return function(t){return!!r.data(t,e)}}):function(t,e,i){return!!r.data(t,i[3])},focusable:function(t){return s(t,!isNaN(r.attr(t,"tabindex")))},tabbable:function(t){var e=r.attr(t,"tabindex"),i=isNaN(e);return(i||0<=e)&&s(t,!i)}}),r(function(){var t=document.body,e=t.appendChild(document.createElement("div"));e.offsetHeight,r.extend(e.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),r.support.minHeight=100===e.offsetHeight,r.support.selectstart="onselectstart"in e,t.removeChild(e).style.display="none"}),r.curCSS||(r.curCSS=r.css),r.extend(r.ui,{plugin:{add:function(t,e,i){var s,n=r.ui[t].prototype;for(s in i)n.plugins[s]=n.plugins[s]||[],n.plugins[s].push([e,i[s]])},call:function(t,e,i){var s=t.plugins[e];if(s&&t.element[0].parentNode)for(var n=0;n=this.options.distance},_mouseDelayMet:function(t){return this.mouseDelayMet},_mouseStart:function(t){},_mouseDrag:function(t){},_mouseStop:function(t){},_mouseCapture:function(t){return!0}})}(jQuery),!function(_){_.widget("ui.draggable",_.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1},_create:function(){"original"!=this.options.helper||/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},destroy:function(){if(this.element.data("draggable"))return this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy(),this},_mouseCapture:function(t){var e=this.options;return!(this.helper||e.disabled||_(t.target).is(".ui-resizable-handle"))&&(this.handle=this._getHandle(t),!!this.handle&&(e.iframeFix&&_(!0===e.iframeFix?"iframe":e.iframeFix).each(function(){_('
    ').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(_(this).offset()).appendTo("body")}),!0))},_mouseStart:function(t){var e=this.options;return this.helper=this._createHelper(t),this.helper.addClass("ui-draggable-dragging"),this._cacheHelperProportions(),_.ui.ddmanager&&(_.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},_.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),e.containment&&this._setContainment(),!1===this._trigger("start",t)?(this._clear(),!1):(this._cacheHelperProportions(),_.ui.ddmanager&&!e.dropBehaviour&&_.ui.ddmanager.prepareOffsets(this,t),this._mouseDrag(t,!0),_.ui.ddmanager&&_.ui.ddmanager.dragStart(this,t),!0)},_mouseDrag:function(t,e){if(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),!e){e=this._uiHash();if(!1===this._trigger("drag",t,e))return this._mouseUp({}),!1;this.position=e.position}return this.options.axis&&"y"==this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"==this.options.axis||(this.helper[0].style.top=this.position.top+"px"),_.ui.ddmanager&&_.ui.ddmanager.drag(this,t),!1},_mouseStop:function(t){for(var e,i=!1,s=(_.ui.ddmanager&&!this.options.dropBehaviour&&(i=_.ui.ddmanager.drop(this,t)),this.dropped&&(i=this.dropped,this.dropped=!1),this.element[0]),n=!1;s=s&&s.parentNode;)s==document&&(n=!0);return(n||"original"!==this.options.helper)&&("invalid"==this.options.revert&&!i||"valid"==this.options.revert&&i||!0===this.options.revert||_.isFunction(this.options.revert)&&this.options.revert.call(this.element,i)?_((e=this).helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==e._trigger("stop",t)&&e._clear()}):!1!==this._trigger("stop",t)&&this._clear()),!1},_mouseUp:function(t){return!0===this.options.iframeFix&&_("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),_.ui.ddmanager&&_.ui.ddmanager.dragStop(this,t),_.ui.mouse.prototype._mouseUp.call(this,t)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear(),this},_getHandle:function(t){var e=!this.options.handle||!_(this.options.handle,this.element).length;return _(this.options.handle,this.element).find("*").andSelf().each(function(){this==t.target&&(e=!0)}),e},_createHelper:function(t){var e=this.options,t=_.isFunction(e.helper)?_(e.helper.apply(this.element[0],[t])):"clone"==e.helper?this.element.clone().removeAttr("id"):this.element;return t.parents("body").length||t.appendTo("parent"==e.appendTo?this.element[0].parentNode:e.appendTo),t[0]==this.element[0]||/(fixed|absolute)/.test(t.css("position"))||t.css("position","absolute"),t},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),"left"in(t=_.isArray(t)?{left:+t[0],top:+t[1]||0}:t)&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var t=this.offsetParent.offset();return"absolute"==this.cssPosition&&this.scrollParent[0]!=document&&_.ui.contains(this.scrollParent[0],this.offsetParent[0])&&(t.left+=this.scrollParent.scrollLeft(),t.top+=this.scrollParent.scrollTop()),{top:(t=this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&"html"==this.offsetParent[0].tagName.toLowerCase()&&_.browser.msie?{top:0,left:0}:t).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:t.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){var t;return"relative"==this.cssPosition?{top:(t=this.element.position()).top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}:{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var t,e,i=this.options;"parent"==i.containment&&(i.containment=this.helper[0].parentNode),"document"!=i.containment&&"window"!=i.containment||(this.containment=["document"==i.containment?0:_(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,"document"==i.containment?0:_(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,("document"==i.containment?0:_(window).scrollLeft())+_("document"==i.containment?document:window).width()-this.helperProportions.width-this.margins.left,("document"==i.containment?0:_(window).scrollTop())+(_("document"==i.containment?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||i.containment.constructor==Array?i.containment.constructor==Array&&(this.containment=i.containment):(t=(i=_(i.containment))[0])&&(i.offset(),e="hidden"!=_(t).css("overflow"),this.containment=[(parseInt(_(t).css("borderLeftWidth"),10)||0)+(parseInt(_(t).css("paddingLeft"),10)||0),(parseInt(_(t).css("borderTopWidth"),10)||0)+(parseInt(_(t).css("paddingTop"),10)||0),(e?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(_(t).css("borderLeftWidth"),10)||0)-(parseInt(_(t).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(_(t).css("borderTopWidth"),10)||0)-(parseInt(_(t).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=i)},_convertPositionTo:function(t,e){e=e||this.position;var t="absolute"==t?1:-1,i=(this.options,"absolute"!=this.cssPosition||this.scrollParent[0]!=document&&_.ui.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent),s=/(html|body)/i.test(i[0].tagName);return{top:e.top+this.offset.relative.top*t+this.offset.parent.top*t-(_.browser.safari&&_.browser.version<526&&"fixed"==this.cssPosition?0:("fixed"==this.cssPosition?-this.scrollParent.scrollTop():s?0:i.scrollTop())*t),left:e.left+this.offset.relative.left*t+this.offset.parent.left*t-(_.browser.safari&&_.browser.version<526&&"fixed"==this.cssPosition?0:("fixed"==this.cssPosition?-this.scrollParent.scrollLeft():s?0:i.scrollLeft())*t)}},_generatePosition:function(t){var e,i=this.options,s="absolute"!=this.cssPosition||this.scrollParent[0]!=document&&_.ui.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,n=/(html|body)/i.test(s[0].tagName),o=t.pageX,a=t.pageY;return this.originalPosition&&(this.containment&&(e=this.relative_container?(e=this.relative_container.offset(),[this.containment[0]+e.left,this.containment[1]+e.top,this.containment[2]+e.left,this.containment[3]+e.top]):this.containment,t.pageX-this.offset.click.lefte[2]&&(o=e[2]+this.offset.click.left),t.pageY-this.offset.click.top>e[3]&&(a=e[3]+this.offset.click.top)),i.grid&&(t=i.grid[1]?this.originalPageY+Math.round((a-this.originalPageY)/i.grid[1])*i.grid[1]:this.originalPageY,a=e&&(t-this.offset.click.tope[3])?t-this.offset.click.tope[2])?t-this.offset.click.left').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=t.handles||(c(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this.handles.constructor==String){"all"==this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw");var i=this.handles.split(",");this.handles={};for(var s=0;s');o.css({zIndex:t.zIndex}),"se"==n&&o.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[n]=".ui-resizable-"+n,this.element.append(o)}}this._renderAxis=function(t){for(var e in t=t||this.element,this.handles){var i,s;this.handles[e].constructor==String&&(this.handles[e]=c(this.handles[e],this.element).show()),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)&&(s=c(this.handles[e],this.element),i=0,i=/sw|ne|nw|se|n|s/.test(e)?s.outerHeight():s.outerWidth(),s=["padding",/ne|nw|n/.test(e)?"Top":/se|sw|s/.test(e)?"Bottom":/^e$/.test(e)?"Right":"Left"].join(""),t.css(s,i),this._proportionallyResize()),c(this.handles[e]).length}},this._renderAxis(this.element),this._handles=c(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){var t;e.resizing||(this.className&&(t=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),e.axis=t&&t[1]?t[1]:"se")}),t.autoHide&&(this._handles.hide(),c(this.element).addClass("ui-resizable-autohide").hover(function(){t.disabled||(c(this).removeClass("ui-resizable-autohide"),e._handles.show())},function(){t.disabled||e.resizing||(c(this).addClass("ui-resizable-autohide"),e._handles.hide())})),this._mouseInit()},destroy:function(){this._mouseDestroy();function t(t){c(t).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()}var e;return this.elementIsWrapper&&(t(this.element),(e=this.element).after(this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")})).remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_mouseCapture:function(t){var e,i=!1;for(e in this.handles)c(this.handles[e])[0]==t.target&&(i=!0);return!this.options.disabled&&i},_mouseStart:function(t){var e=this.options,i=this.element.position(),s=this.element,i=(this.resizing=!0,this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()},(s.is(".ui-draggable")||/absolute/.test(s.css("position")))&&s.css({position:"absolute",top:i.top,left:i.left}),this._renderProxy(),h(this.helper.css("left"))),n=h(this.helper.css("top")),i=(e.containment&&(i+=c(e.containment).scrollLeft()||0,n+=c(e.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:n},this.size=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:s.width(),height:s.height()},this.originalPosition={left:i,top:n},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof e.aspectRatio?e.aspectRatio:this.originalSize.width/this.originalSize.height||1,c(".ui-resizable-"+this.axis).css("cursor"));return c("body").css("cursor","auto"==i?this.axis+"-resize":i),s.addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var e=this.helper,i=(this.options,this.originalMousePosition),s=this.axis,n=t.pageX-i.left||0,i=t.pageY-i.top||0,s=this._change[s];if(!s)return!1;s=s.apply(this,[t,n,i]);c.browser.msie&&c.browser.version,this.sizeDiff;return this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(s=this._updateRatio(s,t)),s=this._respectSize(s,t),this._propagate("resize",t),e.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"}),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),this._updateCache(s),this._trigger("resize",t,this.ui()),!1},_mouseStop:function(t){this.resizing=!1;var e,i,s,n=this.options,o=this;return this._helper&&(i=(e=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&c.ui.hasScroll(i[0],"left")?0:o.sizeDiff.height,e=e?0:o.sizeDiff.width,e={width:o.helper.width()-e,height:o.helper.height()-i},i=parseInt(o.element.css("left"),10)+(o.position.left-o.originalPosition.left)||null,s=parseInt(o.element.css("top"),10)+(o.position.top-o.originalPosition.top)||null,n.animate||this.element.css(c.extend(e,{top:s,left:i})),o.helper.height(o.size.height),o.helper.width(o.size.width),this._helper&&!n.animate&&this._proportionallyResize()),c("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updateVirtualBoundaries:function(t){var e,i,s,n=this.options,n={minWidth:d(n.minWidth)?n.minWidth:0,maxWidth:d(n.maxWidth)?n.maxWidth:1/0,minHeight:d(n.minHeight)?n.minHeight:0,maxHeight:d(n.maxHeight)?n.maxHeight:1/0};(this._aspectRatio||t)&&(t=n.minHeight*this.aspectRatio,i=n.minWidth/this.aspectRatio,e=n.maxHeight*this.aspectRatio,s=n.maxWidth/this.aspectRatio,t>n.minWidth&&(n.minWidth=t),i>n.minHeight&&(n.minHeight=i),et.width,a=d(t.height)&&i.minHeight&&i.minHeight>t.height,r=(o&&(t.width=i.minWidth),a&&(t.height=i.minHeight),s&&(t.width=i.maxWidth),n&&(t.height=i.maxHeight),this.originalPosition.left+this.originalSize.width),l=this.position.top+this.size.height,h=/sw|nw|w/.test(e),e=/nw|ne|n/.test(e),o=(o&&h&&(t.left=r-i.minWidth),s&&h&&(t.left=r-i.maxWidth),a&&e&&(t.top=l-i.minHeight),n&&e&&(t.top=l-i.maxHeight),!t.width&&!t.height);return o&&!t.left&&t.top?t.top=null:o&&!t.top&&t.left&&(t.left=null),t},_proportionallyResize:function(){this.options;if(this._proportionallyResizeElements.length)for(var t=this.helper||this.element,e=0;e'),t=(e=c.browser.msie&&c.browser.version<7)?1:0,e=e?2:-1,this.helper.addClass(this._helper).css({width:this.element.outerWidth()+e,height:this.element.outerHeight()+e,position:"absolute",left:this.elementOffset.left-t+"px",top:this.elementOffset.top-t+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e,i){return{width:this.originalSize.width+e}},w:function(t,e,i){this.options;var s=this.originalSize;return{left:this.originalPosition.left+e,width:s.width-e}},n:function(t,e,i){this.options;var s=this.originalSize;return{top:this.originalPosition.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(t,e,i){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function(t,e,i){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function(t,e,i){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function(t,e,i){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function(t,e){c.ui.plugin.call(this,t,[e,this.ui()]),"resize"!=t&&this._trigger(t,e,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),c.extend(c.ui.resizable,{version:"1.8.23"}),c.ui.plugin.add("resizable","alsoResize",{start:function(t,e){function i(t){c(t).each(function(){var t=c(this);t.data("resizable-alsoresize",{width:parseInt(t.width(),10),height:parseInt(t.height(),10),left:parseInt(t.css("left"),10),top:parseInt(t.css("top"),10)})})}var s=c(this).data("resizable").options;"object"!=typeof s.alsoResize||s.alsoResize.parentNode?i(s.alsoResize):s.alsoResize.length?(s.alsoResize=s.alsoResize[0],i(s.alsoResize)):c.each(s.alsoResize,function(t){i(t)})},resize:function(t,o){function i(t,i){c(t).each(function(){var t=c(this),s=c(this).data("resizable-alsoresize"),n={},e=i&&i.length?i:t.parents(o.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(e,function(t,e){var i=(s[e]||0)+(r[e]||0);i&&0<=i&&(n[e]=i||null)}),t.css(n)})}var e=c(this).data("resizable"),s=e.options,n=e.originalSize,a=e.originalPosition,r={height:e.size.height-n.height||0,width:e.size.width-n.width||0,top:e.position.top-a.top||0,left:e.position.left-a.left||0};"object"!=typeof s.alsoResize||s.alsoResize.nodeType?i(s.alsoResize):c.each(s.alsoResize,function(t,e){i(t,e)})},stop:function(t,e){c(this).removeData("resizable-alsoresize")}}),c.ui.plugin.add("resizable","animate",{stop:function(e,t){var i=c(this).data("resizable"),s=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&c.ui.hasScroll(n[0],"left")?0:i.sizeDiff.height,o=o?0:i.sizeDiff.width,o={width:i.size.width-o,height:i.size.height-a},a=parseInt(i.element.css("left"),10)+(i.position.left-i.originalPosition.left)||null,r=parseInt(i.element.css("top"),10)+(i.position.top-i.originalPosition.top)||null;i.element.animate(c.extend(o,r&&a?{top:r,left:a}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var t={width:parseInt(i.element.css("width"),10),height:parseInt(i.element.css("height"),10),top:parseInt(i.element.css("top"),10),left:parseInt(i.element.css("left"),10)};n&&n.length&&c(n[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate("resize",e)}})}}),c.ui.plugin.add("resizable","containment",{start:function(t,e){var i,s,n,o,a=c(this).data("resizable"),r=a.options,l=a.element,r=r.containment,l=r instanceof c?r.get(0):/parent/.test(r)?l.parent().get(0):r;l&&(a.containerElement=c(l),/document/.test(r)||r==document?(a.containerOffset={left:0,top:0},a.containerPosition={left:0,top:0},a.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}):(i=c(l),s=[],c(["Top","Right","Left","Bottom"]).each(function(t,e){s[t]=h(i.css("padding"+e))}),a.containerOffset=i.offset(),a.containerPosition=i.position(),a.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},r=a.containerOffset,o=a.containerSize.height,n=a.containerSize.width,n=c.ui.hasScroll(l,"left")?l.scrollWidth:n,o=c.ui.hasScroll(l)?l.scrollHeight:o,a.parentData={element:l,left:r.left,top:r.top,width:n,height:o}))},resize:function(t,e){var i=c(this).data("resizable"),s=i.options,n=(i.containerSize,i.containerOffset),o=(i.size,i.position),t=i._aspectRatio||t.shiftKey,a={top:0,left:0},r=i.containerElement,r=(r[0]!=document&&/static/.test(r.css("position"))&&(a=n),o.left<(i._helper?n.left:0)&&(i.size.width=i.size.width+(i._helper?i.position.left-n.left:i.position.left-a.left),t&&(i.size.height=i.size.width/i.aspectRatio),i.position.left=s.helper?n.left:0),o.top<(i._helper?n.top:0)&&(i.size.height=i.size.height+(i._helper?i.position.top-n.top:i.position.top),t&&(i.size.width=i.size.height*i.aspectRatio),i.position.top=i._helper?n.top:0),i.offset.left=i.parentData.left+i.position.left,i.offset.top=i.parentData.top+i.position.top,Math.abs((i._helper,i.offset.left-a.left+i.sizeDiff.width))),s=Math.abs((i._helper?i.offset.top-a.top:i.offset.top-n.top)+i.sizeDiff.height),o=i.containerElement.get(0)==i.element.parent().get(0),a=/relative|absolute/.test(i.containerElement.css("position"));o&&a&&(r-=i.parentData.left),r+i.size.width>=i.parentData.width&&(i.size.width=i.parentData.width-r,t&&(i.size.height=i.size.width/i.aspectRatio)),s+i.size.height>=i.parentData.height&&(i.size.height=i.parentData.height-s,t&&(i.size.width=i.size.height*i.aspectRatio))},stop:function(t,e){var i=c(this).data("resizable"),s=i.options,n=(i.position,i.containerOffset),o=i.containerPosition,a=i.containerElement,r=c(i.helper),l=r.offset(),h=r.outerWidth()-i.sizeDiff.width,r=r.outerHeight()-i.sizeDiff.height;i._helper&&!s.animate&&/relative/.test(a.css("position"))&&c(this).css({left:l.left-o.left-n.left,width:h,height:r}),i._helper&&!s.animate&&/static/.test(a.css("position"))&&c(this).css({left:l.left-o.left-n.left,width:h,height:r})}}),c.ui.plugin.add("resizable","ghost",{start:function(t,e){var i=c(this).data("resizable"),s=i.options,n=i.size;i.ghost=i.originalElement.clone(),i.ghost.css({opacity:.25,display:"block",position:"relative",height:n.height,width:n.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass("string"==typeof s.ghost?s.ghost:""),i.ghost.appendTo(i.helper)},resize:function(t,e){var i=c(this).data("resizable");i.options;i.ghost&&i.ghost.css({position:"relative",height:i.size.height,width:i.size.width})},stop:function(t,e){var i=c(this).data("resizable");i.options;i.ghost&&i.helper&&i.helper.get(0).removeChild(i.ghost.get(0))}}),c.ui.plugin.add("resizable","grid",{resize:function(t,e){var i=c(this).data("resizable"),s=i.options,n=i.size,o=i.originalSize,a=i.originalPosition,r=i.axis,t=(s._aspectRatio||t.shiftKey,s.grid="number"==typeof s.grid?[s.grid,s.grid]:s.grid,Math.round((n.width-o.width)/(s.grid[0]||1))*(s.grid[0]||1)),n=Math.round((n.height-o.height)/(s.grid[1]||1))*(s.grid[1]||1);/^(se|s|e)$/.test(r)?(i.size.width=o.width+t,i.size.height=o.height+n):/^(ne)$/.test(r)?(i.size.width=o.width+t,i.size.height=o.height+n,i.position.top=a.top-n):(/^(sw)$/.test(r)?(i.size.width=o.width+t,i.size.height=o.height+n):(i.size.width=o.width+t,i.size.height=o.height+n,i.position.top=a.top-n),i.position.left=a.left-t)}});var h=function(t){return parseInt(t,10)||0},d=function(t){return!isNaN(parseInt(t,10))}}(jQuery),!function(h){h.widget("ui.selectable",h.ui.mouse,{options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch"},_create:function(){var t,e=this;this.element.addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){(t=h(e.options.filter,e.element[0])).addClass("ui-selectee"),t.each(function(){var t=h(this),e=t.offset();h.data(this,"selectable-item",{element:this,$element:t,left:e.left,top:e.top,right:e.left+t.outerWidth(),bottom:e.top+t.outerHeight(),startselected:!1,selected:t.hasClass("ui-selected"),selecting:t.hasClass("ui-selecting"),unselecting:t.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=t.addClass("ui-selectee"),this._mouseInit(),this.helper=h("
    ")},destroy:function(){return this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable"),this._mouseDestroy(),this},_mouseStart:function(i){var t,s=this;this.opos=[i.pageX,i.pageY],this.options.disabled||(t=this.options,this.selectees=h(t.filter,this.element[0]),this._trigger("start",i),h(t.appendTo).append(this.helper),this.helper.css({left:i.clientX,top:i.clientY,width:0,height:0}),t.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var t=h.data(this,"selectable-item");t.startselected=!0,i.metaKey||i.ctrlKey||(t.$element.removeClass("ui-selected"),t.selected=!1,t.$element.addClass("ui-unselecting"),t.unselecting=!0,s._trigger("unselecting",i,{unselecting:t.element}))}),h(i.target).parents().andSelf().each(function(){var t,e=h.data(this,"selectable-item");if(e)return t=!i.metaKey&&!i.ctrlKey||!e.$element.hasClass("ui-selected"),e.$element.removeClass(t?"ui-unselecting":"ui-selected").addClass(t?"ui-selecting":"ui-unselecting"),e.unselecting=!t,e.selecting=t,(e.selected=t)?s._trigger("selecting",i,{selecting:e.element}):s._trigger("unselecting",i,{unselecting:e.element}),!1}))},_mouseDrag:function(i){var s,n,o,t,a,r,l=this;if(this.dragged=!0,!this.options.disabled)return s=this.options,o=this.opos[0],r=this.opos[1],n=i.pageX,a=i.pageY,nn||e.righta||e.bottomo&&e.rightr&&e.bottom *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3},_create:function(){var t=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=!!this.items.length&&("x"===t.axis||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display"))),this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},destroy:function(){u.Widget.prototype.destroy.call(this),this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var t=this.items.length-1;0<=t;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_setOption:function(t,e){"disabled"===t?(this.options[t]=e,this.widget()[e?"addClass":"removeClass"]("ui-sortable-disabled")):u.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(t,e){var i=this;if(this.reverting)return!1;if(this.options.disabled||"static"==this.options.type)return!1;this._refreshItems(t);var s=null,n=this;u(t.target).parents().each(function(){if(u.data(this,i.widgetName+"-item")==n)return s=u(this),!1});if(!(s=u.data(t.target,i.widgetName+"-item")==n?u(t.target):s))return!1;if(this.options.handle&&!e){var o=!1;if(u(this.options.handle,s).find("*").andSelf().each(function(){this==t.target&&(o=!0)}),!o)return!1}return this.currentItem=s,this._removeCurrentsFromItems(),!0},_mouseStart:function(t,e,i){var s=this.options;if((this.currentContainer=this).refreshPositions(),this.helper=this._createHelper(t),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},u.extend(this.offset,{click:{left:t.pageX-this.offset.left,top:t.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(t),this.originalPageX=t.pageX,this.originalPageY=t.pageY,s.cursorAt&&this._adjustOffsetFromHelper(s.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!=this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),s.containment&&this._setContainment(),s.cursor&&(u("body").css("cursor")&&(this._storedCursor=u("body").css("cursor")),u("body").css("cursor",s.cursor)),s.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",s.opacity)),s.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",s.zIndex)),this.scrollParent[0]!=document&&"HTML"!=this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(var n=this.containers.length-1;0<=n;n--)this.containers[n]._trigger("activate",t,this._uiHash(this));return u.ui.ddmanager&&(u.ui.ddmanager.current=this),u.ui.ddmanager&&!s.dropBehaviour&&u.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(t),!0},_mouseDrag:function(t){var e,i;this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(e=this.options,i=!1,this.scrollParent[0]!=document&&"HTML"!=this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageYt[this.floating?"width":"height"]?rthis.containment[2]&&(n=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(o=this.containment[3]+this.offset.click.top)),e.grid&&(t=this.originalPageY+Math.round((o-this.originalPageY)/e.grid[1])*e.grid[1],o=this.containment&&(t-this.offset.click.topthis.containment[3])?t-this.offset.click.topthis.containment[2])?t-this.offset.click.left").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),e=document.activeElement;try{e.id}catch(t){e=document.body}return i.wrap(t),i[0]!==e&&!h.contains(i[0],e)||h(e).focus(),t=i.parent(),"static"==i.css("position")?(t.css({position:"relative"}),i.css({position:"relative"})):(h.extend(s,{position:i.css("position"),zIndex:i.css("z-index")}),h.each(["top","left","bottom","right"],function(t,e){s[e]=i.css(e),isNaN(parseInt(s[e],10))&&(s[e]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(s).show()},removeWrapper:function(t){var e,i=document.activeElement;return t.parent().is(".ui-effects-wrapper")?(e=t.parent().replaceWith(t),t[0]!==i&&!h.contains(t[0],i)||h(i).focus(),e):t},setTransition:function(s,t,n,o){return o=o||{},h.each(t,function(t,e){var i=s.cssUnit(e);0").css({position:"absolute",visibility:"visible",left:n/e*-r,top:o/t*-a}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:n/e,height:o/t,left:s.left+r*(n/e)+("show"==l.options.mode?(r-Math.floor(e/2))*(n/e):0),top:s.top+a*(o/t)+("show"==l.options.mode?(a-Math.floor(t/2))*(o/t):0),opacity:"show"==l.options.mode?0:1}).animate({left:s.left+r*(n/e)+("show"==l.options.mode?0:(r-Math.floor(e/2))*(n/e)),top:s.top+a*(o/t)+("show"==l.options.mode?0:(a-Math.floor(t/2))*(o/t)),opacity:"show"==l.options.mode?1:0},l.duration||500);setTimeout(function(){"show"==l.options.mode?i.css({visibility:"visible"}):i.css({visibility:"visible"}).hide(),l.callback&&l.callback.apply(i[0]),i.dequeue(),h("div.ui-effects-explode").remove()},l.duration||500)})}}(jQuery),!function(s){s.effects.fade=function(i){return this.queue(function(){var t=s(this),e=s.effects.setMode(t,i.options.mode||"hide");t.animate({opacity:e},{queue:!1,duration:i.duration,easing:i.options.easing,complete:function(){i.callback&&i.callback.apply(this,arguments),t.dequeue()}})})}}(jQuery),!function(d){d.effects.fold=function(c){return this.queue(function(){var t=d(this),e=["position","top","bottom","left","right"],i=d.effects.setMode(t,c.options.mode||"hide"),s=c.options.size||15,n=!!c.options.horizFirst,o=c.duration?c.duration/2:d.fx.speeds._default/2,a=(d.effects.save(t,e),t.show(),d.effects.createWrapper(t).css({overflow:"hidden"})),r="show"==i!=n,l=r?["width","height"]:["height","width"],r=r?[a.width(),a.height()]:[a.height(),a.width()],h=/([0-9]+)%/.exec(s),h=(h&&(s=parseInt(h[1],10)/100*r["hide"==i?0:1]),"show"==i&&a.css(n?{height:0,width:s}:{height:s,width:0}),{}),n={};h[l[0]]="show"==i?r[0]:s,n[l[1]]="show"==i?r[1]:0,a.animate(h,o,c.options.easing).animate(n,o,c.options.easing,function(){"hide"==i&&t.hide(),d.effects.restore(t,e),d.effects.removeWrapper(t),c.callback&&c.callback.apply(t[0],arguments),t.dequeue()})})}}(jQuery),!function(o){o.effects.highlight=function(n){return this.queue(function(){var t=o(this),e=["backgroundImage","backgroundColor","opacity"],i=o.effects.setMode(t,n.options.mode||"show"),s={backgroundColor:t.css("backgroundColor")};"hide"==i&&(s.opacity=0),o.effects.save(t,e),t.show().css({backgroundImage:"none",backgroundColor:n.options.color||"#ffff99"}).animate(s,{queue:!1,duration:n.duration,easing:n.options.easing,complete:function(){"hide"==i&&t.hide(),o.effects.restore(t,e),"show"!=i||o.support.opacity||this.style.removeAttribute("filter"),n.callback&&n.callback.apply(this,arguments),t.dequeue()}})})}}(jQuery),!function(l){l.effects.pulsate=function(r){return this.queue(function(){var t=l(this),e=l.effects.setMode(t,r.options.mode||"show"),i=2*(r.options.times||5)-1,s=r.duration?r.duration/2:l.fx.speeds._default/2,n=t.is(":visible"),o=0;n||(t.css("opacity",0).show(),o=1),("hide"==e&&n||"show"==e&&!n)&&i--;for(var a=0;a').appendTo(document.body).addClass(n.options.className).css({top:e.top,left:e.left,height:t.innerHeight(),width:t.innerWidth(),position:"absolute"}).animate(i,n.duration,n.options.easing,function(){s.remove(),n.callback&&n.callback.apply(t[0],arguments),t.dequeue()})})}}(jQuery),!function(c){c.widget("ui.accordion",{options:{active:0,animated:"slide",autoHeight:!0,clearStyle:!1,collapsible:!1,event:"click",fillSpace:!1,header:"> li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:!1,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var t,e,i=this,s=i.options;i.running=0,i.element.addClass("ui-accordion ui-widget ui-helper-reset").children("li").addClass("ui-accordion-li-fix"),i.headers=i.element.find(s.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){s.disabled||c(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){s.disabled||c(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){s.disabled||c(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){s.disabled||c(this).removeClass("ui-state-focus")}),i.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom"),s.navigation&&(t=i.element.find("a").filter(s.navigationFilter).eq(0)).length&&((e=t.closest(".ui-accordion-header")).length?i.active=e:i.active=t.closest(".ui-accordion-content").prev()),i.active=i._findActive(i.active||s.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top"),i.active.next().addClass("ui-accordion-content-active"),i._createIcons(),i.resize(),i.element.attr("role","tablist"),i.headers.attr("role","tab").bind("keydown.accordion",function(t){return i._keydown(t)}).next().attr("role","tabpanel"),i.headers.not(i.active||"").attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).next().hide(),i.active.length?i.active.attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}):i.headers.eq(0).attr("tabIndex",0),c.browser.safari||i.headers.find("a").attr("tabIndex",-1),s.event&&i.headers.bind(s.event.split(" ").join(".accordion ")+".accordion",function(t){i._clickHandler.call(i,t,this),t.preventDefault()})},_createIcons:function(){var t=this.options;t.icons&&(c("").addClass("ui-icon "+t.icons.header).prependTo(this.headers),this.active.children(".ui-icon").toggleClass(t.icons.header).toggleClass(t.icons.headerSelected),this.element.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.children(".ui-icon").remove(),this.element.removeClass("ui-accordion-icons")},destroy:function(){var t=this.options,e=(this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role"),this.headers.unbind(".accordion").removeClass("ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-selected").removeAttr("tabIndex"),this.headers.find("a").removeAttr("tabIndex"),this._destroyIcons(),this.headers.next().css("display","").removeAttr("role").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled"));return(t.autoHeight||t.fillHeight)&&e.css("height",""),c.Widget.prototype.destroy.call(this)},_setOption:function(t,e){c.Widget.prototype._setOption.apply(this,arguments),"active"==t&&this.activate(e),"icons"==t&&(this._destroyIcons(),e&&this._createIcons()),"disabled"==t&&this.headers.add(this.headers.next())[e?"addClass":"removeClass"]("ui-accordion-disabled ui-state-disabled")},_keydown:function(t){if(!(this.options.disabled||t.altKey||t.ctrlKey)){var e=c.ui.keyCode,i=this.headers.length,s=this.headers.index(t.target),n=!1;switch(t.keyCode){case e.RIGHT:case e.DOWN:n=this.headers[(s+1)%i];break;case e.LEFT:case e.UP:n=this.headers[(s-1+i)%i];break;case e.SPACE:case e.ENTER:this._clickHandler({target:t.target},t.target),t.preventDefault()}return!n||(c(t.target).attr("tabIndex",-1),c(n).attr("tabIndex",0),n.focus(),!1)}},resize:function(){var t,e,i=this.options;return i.fillSpace?(c.browser.msie&&(e=this.element.parent().css("overflow"),this.element.parent().css("overflow","hidden")),t=this.element.parent().height(),c.browser.msie&&this.element.parent().css("overflow",e),this.headers.each(function(){t-=c(this).outerHeight(!0)}),this.headers.next().each(function(){c(this).height(Math.max(0,t-c(this).innerHeight()+c(this).height()))}).css("overflow","auto")):i.autoHeight&&(t=0,this.headers.next().each(function(){t=Math.max(t,c(this).height("").height())}).height(t)),this},activate:function(t){this.options.active=t;t=this._findActive(t)[0];return this._clickHandler({target:t},t),this},_findActive:function(t){return t?"number"==typeof t?this.headers.filter(":eq("+t+")"):this.headers.not(this.headers.not(t)):!1===t?c([]):this.headers.filter(":eq(0)")},_clickHandler:function(t,e){var i,s,n,o,a,r=this.options;r.disabled||(t.target?(e=(t=c(t.currentTarget||e))[0]===this.active[0],r.active=(!r.collapsible||!e)&&this.headers.index(t),this.running||!r.collapsible&&e||(i=this.active,a=t.next(),n=this.active.next(),o={options:r,newHeader:e&&r.collapsible?c([]):t,oldHeader:this.active,newContent:e&&r.collapsible?c([]):a,oldContent:n},s=this.headers.index(this.active[0])>this.headers.index(t[0]),this.active=e?c([]):t,this._toggle(a,n,o,e,s),i.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(r.icons.headerSelected).addClass(r.icons.header),e||(t.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").children(".ui-icon").removeClass(r.icons.header).addClass(r.icons.headerSelected),t.next().addClass("ui-accordion-content-active")))):r.collapsible&&(this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(r.icons.headerSelected).addClass(r.icons.header),this.active.next().addClass("ui-accordion-content-active"),n=this.active.next(),o={options:r,newHeader:c([]),oldHeader:r.active,newContent:c([]),oldContent:n},a=this.active=c([]),this._toggle(a,n,o)))},_toggle:function(t,e,i,s,n){function o(){if(l)return l._completed.apply(l,arguments)}var a,r,l=this,h=l.options;l.toShow=t,l.toHide=e,l.data=i;l._trigger("changestart",null,l.data),l.running=(0===e.size()?t:e).size(),h.animated?(i={},i=h.collapsible&&s?{toShow:c([]),toHide:e,complete:o,down:n,autoHeight:h.autoHeight||h.fillSpace}:{toShow:t,toHide:e,complete:o,down:n,autoHeight:h.autoHeight||h.fillSpace},h.proxied||(h.proxied=h.animated),h.proxiedDuration||(h.proxiedDuration=h.duration),h.animated=c.isFunction(h.proxied)?h.proxied(i):h.proxied,h.duration=c.isFunction(h.proxiedDuration)?h.proxiedDuration(i):h.proxiedDuration,n=c.ui.accordion.animations,a=h.duration,n[r=!(r=h.animated)||n[r]||c.easing[r]?r:"slide"]||(n[r]=function(t){this.slide(t,{easing:r,duration:a||700})}),n[r](i)):(h.collapsible&&s?t.toggle():(e.hide(),t.show()),o(!0)),e.prev().attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).blur(),t.prev().attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}).focus()},_completed:function(t){this.running=t?0:--this.running,this.running||(this.options.clearStyle&&this.toShow.add(this.toHide).css({height:"",overflow:""}),this.toHide.removeClass("ui-accordion-content-active"),this.toHide.length&&(this.toHide.parent()[0].className=this.toHide.parent()[0].className),this._trigger("change",null,this.data))}}),c.extend(c.ui.accordion,{version:"1.8.23",animations:{slide:function(s,t){var e,i,n,o,a;(s=c.extend({easing:"swing",duration:300},s,t)).toHide.size()?s.toShow.size()?(e=s.toShow.css("overflow"),i=0,n={},o={},t=s.toShow,a=t[0].style.width,t.width(t.parent().width()-parseFloat(t.css("paddingLeft"))-parseFloat(t.css("paddingRight"))-(parseFloat(t.css("borderLeftWidth"))||0)-(parseFloat(t.css("borderRightWidth"))||0)),c.each(["height","paddingTop","paddingBottom"],function(t,e){o[e]="hide";var i=(""+c.css(s.toShow[0],e)).match(/^([\d+-.]+)(.*)$/);n[e]={value:i[1],unit:i[2]||"px"}}),s.toShow.css({height:0,overflow:"hidden"}).show(),s.toHide.filter(":hidden").each(s.complete).end().filter(":visible").animate(o,{step:function(t,e){"height"==e.prop&&(i=e.end-e.start==0?0:(e.now-e.start)/(e.end-e.start)),s.toShow[0].style[e.prop]=i*n[e.prop].value+n[e.prop].unit},duration:s.duration,easing:s.easing,complete:function(){s.autoHeight||s.toShow.css("height",""),s.toShow.css({width:a,overflow:e}),s.complete()}})):s.toHide.animate({height:"hide",paddingTop:"hide",paddingBottom:"hide"},s):s.toShow.animate({height:"show",paddingTop:"show",paddingBottom:"show"},s)},bounceslide:function(t){this.slide(t,{easing:t.down?"easeOutBounce":"swing",duration:t.down?1e3:200})}}})}(jQuery),!function(a){var s=0;a.widget("ui.autocomplete",{options:{appendTo:"body",autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var i,n=this,o=this.element[0].ownerDocument;this.isMultiLine=this.element.is("textarea"),this.element.addClass("ui-autocomplete-input").attr("autocomplete","off").attr({role:"textbox","aria-autocomplete":"list","aria-haspopup":"true"}).bind("keydown.autocomplete",function(t){if(!n.options.disabled&&!n.element.propAttr("readOnly")){i=!1;var e=a.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:n._move("previousPage",t);break;case e.PAGE_DOWN:n._move("nextPage",t);break;case e.UP:n._keyEvent("previous",t);break;case e.DOWN:n._keyEvent("next",t);break;case e.ENTER:case e.NUMPAD_ENTER:n.menu.active&&(i=!0,t.preventDefault());case e.TAB:if(!n.menu.active)return;n.menu.select(t);break;case e.ESCAPE:n.element.val(n.term),n.close(t);break;default:clearTimeout(n.searching),n.searching=setTimeout(function(){n.term!=n.element.val()&&(n.selectedItem=null,n.search(null,t))},n.options.delay)}}}).bind("keypress.autocomplete",function(t){i&&(i=!1,t.preventDefault())}).bind("focus.autocomplete",function(){n.options.disabled||(n.selectedItem=null,n.previous=n.element.val())}).bind("blur.autocomplete",function(t){n.options.disabled||(clearTimeout(n.searching),n.closing=setTimeout(function(){n.close(t),n._change(t)},150))}),this._initSource(),this.menu=a("
      ").addClass("ui-autocomplete").appendTo(a(this.options.appendTo||"body",o)[0]).mousedown(function(t){var e=n.menu.element[0];a(t.target).closest(".ui-menu-item").length||setTimeout(function(){a(document).one("mousedown",function(t){t.target===n.element[0]||t.target===e||a.ui.contains(e,t.target)||n.close()})},1),setTimeout(function(){clearTimeout(n.closing)},13)}).menu({focus:function(t,e){e=e.item.data("item.autocomplete");!1!==n._trigger("focus",t,{item:e})&&/^key/.test(t.originalEvent.type)&&n.element.val(e.value)},selected:function(t,e){var i=e.item.data("item.autocomplete"),s=n.previous;n.element[0]!==o.activeElement&&(n.element.focus(),n.previous=s,setTimeout(function(){n.previous=s,n.selectedItem=i},1)),!1!==n._trigger("select",t,{item:i})&&n.element.val(i.value),n.term=n.element.val(),n.close(t),n.selectedItem=i},blur:function(t,e){n.menu.element.is(":visible")&&n.element.val()!==n.term&&n.element.val(n.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu"),a.fn.bgiframe&&this.menu.element.bgiframe(),n.beforeunloadHandler=function(){n.element.removeAttr("autocomplete")},a(window).bind("beforeunload",n.beforeunloadHandler)},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup"),this.menu.element.remove(),a(window).unbind("beforeunload",this.beforeunloadHandler),a.Widget.prototype.destroy.call(this)},_setOption:function(t,e){a.Widget.prototype._setOption.apply(this,arguments),"source"===t&&this._initSource(),"appendTo"===t&&this.menu.element.appendTo(a(e||"body",this.element[0].ownerDocument)[0]),"disabled"===t&&e&&this.xhr&&this.xhr.abort()},_initSource:function(){var i,e,s=this;a.isArray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(a.ui.autocomplete.filter(i,t.term))}):"string"==typeof this.options.source?(e=this.options.source,this.source=function(t,i){s.xhr&&s.xhr.abort(),s.xhr=a.ajax({url:e,data:t,dataType:"json",success:function(t,e){i(t)},error:function(){i([])}})}):this.source=this.options.source},search:function(t,e){return t=null!=t?t:this.element.val(),this.term=this.element.val(),t.length").data("item.autocomplete",e).append(a("").text(e.label)).appendTo(t)},_move:function(t,e){if(this.menu.element.is(":visible"))return this.menu.first()&&/^previous/.test(t)||this.menu.last()&&/^next/.test(t)?(this.element.val(this.term),void this.menu.deactivate()):void this.menu[t](e);this.search(null,e)},widget:function(){return this.menu.element},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())}}),a.extend(a.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},filter:function(t,e){var i=new RegExp(a.ui.autocomplete.escapeRegex(e),"i");return a.grep(t,function(t){return i.test(t.label||t.value||t)})}})}(jQuery),!function(n){n.widget("ui.menu",{_create:function(){var e=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(t){n(t.target).closest(".ui-menu-item a").length&&(t.preventDefault(),e.select(t))}),this.refresh()},refresh:function(){var e=this;this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem").children("a").addClass("ui-corner-all").attr("tabindex",-1).mouseenter(function(t){e.activate(t,n(this).parent())}).mouseleave(function(){e.deactivate()})},activate:function(t,e){var i,s,n;this.deactivate(),this.hasScroll()&&(i=e.offset().top-this.element.offset().top,s=this.element.scrollTop(),n=this.element.height(),i<0?this.element.scrollTop(s+i):n<=i&&this.element.scrollTop(s+i-n+e.height())),this.active=e.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end(),this._trigger("focus",t,{item:e})},deactivate:function(){this.active&&(this.active.children("a").removeClass("ui-state-hover").removeAttr("id"),this._trigger("blur"),this.active=null)},next:function(t){this.move("next",".ui-menu-item:first",t)},previous:function(t){this.move("prev",".ui-menu-item:last",t)},first:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},last:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},move:function(t,e,i){this.active&&(t=this.active[t+"All"](".ui-menu-item").eq(0)).length?this.activate(i,t):this.activate(i,this.element.children(e))},nextPage:function(t){var e,i,s;this.hasScroll()?!this.active||this.last()?this.activate(t,this.element.children(".ui-menu-item:first")):(e=this.active.offset().top,i=this.element.height(),(s=this.element.children(".ui-menu-item").filter(function(){var t=n(this).offset().top-e-i+n(this).height();return t<10&&-10
      ",this.element[0].ownerDocument).addClass("ui-button-text").html(this.options.label).appendTo(t.empty()).text(),s=(i=this.options.icons).primary&&i.secondary,n=[],i.primary||i.secondary?(this.options.text&&n.push("ui-button-text-icon"+(s?"s":i.primary?"-primary":"-secondary")),i.primary&&t.prepend(""),i.secondary&&t.append(""),this.options.text||(n.push(s?"ui-button-icons-only":"ui-button-icon-only"),this.hasTitle||t.attr("title",e))):n.push("ui-button-text-only"),t.addClass(n.join(" ")))}}),o.widget("ui.buttonset",{options:{items:":button, :submit, :reset, :checkbox, :radio, a, :data(button)"},_create:function(){this.element.addClass("ui-buttonset")},_init:function(){this.refresh()},_setOption:function(t,e){"disabled"===t&&this.buttons.button("option",t,e),o.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){var t="rtl"===this.element.css("direction");this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return o(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(t?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(t?"ui-corner-left":"ui-corner-right").end().end()},destroy:function(){this.element.removeClass("ui-buttonset"),this.buttons.map(function(){return o(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy"),o.Widget.prototype.destroy.call(this)}})}(jQuery),!function($,undefined){$.extend($.ui,{datepicker:{version:"1.8.23"}});var PROP_NAME="datepicker",dpuuid=(new Date).getTime(),instActive;function Datepicker(){this.debug=!1,this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},$.extend(this._defaults,this.regional[""]),this.dpDiv=bindHover($('
      '))}function bindHover(e){var i="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.bind("mouseout",function(t){t=$(t.target).closest(i);t.length&&t.removeClass("ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover")}).bind("mouseover",function(t){t=$(t.target).closest(i);!$.datepicker._isDisabledDatepicker((instActive.inline?e.parent():instActive.input)[0])&&t.length&&(t.parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),t.addClass("ui-state-hover"),t.hasClass("ui-datepicker-prev")&&t.addClass("ui-datepicker-prev-hover"),t.hasClass("ui-datepicker-next")&&t.addClass("ui-datepicker-next-hover"))})}function extendRemove(t,e){for(var i in $.extend(t,e),e)null!=e[i]&&e[i]!=undefined||(t[i]=e[i])}function isArray(t){!t||$.browser.safari&&"object"==typeof t&&t.length||t.constructor&&t.constructor.toString().match(/\Array\(\)/)}$.extend(Datepicker.prototype,{markerClassName:"hasDatepicker",maxRows:4,log:function(){this.debug&&console.log.apply("",arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(t){return extendRemove(this._defaults,t||{}),this},_attachDatepicker:function(target,settings){var inlineSettings=null,attrName;for(attrName in this._defaults){var attrValue=target.getAttribute("date:"+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase(),inline="div"==nodeName||"span"==nodeName,inst=(target.id||(this.uuid+=1,target.id="dp"+this.uuid),this._newInst($(target),inline));inst.settings=$.extend({},settings||{},inlineSettings||{}),"input"==nodeName?this._connectDatepicker(target,inst):inline&&this._inlineDatepicker(target,inst)},_newInst:function(t,e){return{id:t[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1"),input:t,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:e,dpDiv:e?bindHover($('
      ')):this.dpDiv}},_connectDatepicker:function(t,s){var e=$(t);s.append=$([]),s.trigger=$([]),e.hasClass(this.markerClassName)||(this._attachments(e,s),e.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(t,e,i){s.settings[e]=i}).bind("getData.datepicker",function(t,e){return this._get(s,e)}),this._autoSize(s),$.data(t,PROP_NAME,s),s.settings.disabled&&this._disableDatepicker(t))},_attachments:function(t,e){var i,s=this._get(e,"appendText"),n=this._get(e,"isRTL"),s=(e.append&&e.append.remove(),s&&(e.append=$(''+s+""),t[n?"before":"after"](e.append)),t.unbind("focus",this._showDatepicker),e.trigger&&e.trigger.remove(),this._get(e,"showOn"));"focus"!=s&&"both"!=s||t.focus(this._showDatepicker),"button"!=s&&"both"!=s||(s=this._get(e,"buttonText"),i=this._get(e,"buttonImage"),e.trigger=$(this._get(e,"buttonImageOnly")?$("").addClass(this._triggerClass).attr({src:i,alt:s,title:s}):$('').addClass(this._triggerClass).html(""==i?s:$("").attr({src:i,alt:s,title:s}))),t[n?"before":"after"](e.trigger),e.trigger.click(function(){return $.datepicker._datepickerShowing&&$.datepicker._lastInput==t[0]?$.datepicker._hideDatepicker():($.datepicker._datepickerShowing&&$.datepicker._lastInput!=t[0]&&$.datepicker._hideDatepicker(),$.datepicker._showDatepicker(t[0])),!1}))},_autoSize:function(t){var e,i,s;this._get(t,"autoSize")&&!t.inline&&(e=new Date(2009,11,20),(i=this._get(t,"dateFormat")).match(/[DM]/)&&(e.setMonth((s=function(t){for(var e=0,i=0,s=0;se&&(e=t[s].length,i=s);return i})(this._get(t,i.match(/MM/)?"monthNames":"monthNamesShort"))),e.setDate(s(this._get(t,i.match(/DD/)?"dayNames":"dayNamesShort"))+20-e.getDay())),t.input.attr("size",this._formatDate(t,e).length))},_inlineDatepicker:function(t,s){var e=$(t);e.hasClass(this.markerClassName)||(e.addClass(this.markerClassName).append(s.dpDiv).bind("setData.datepicker",function(t,e,i){s.settings[e]=i}).bind("getData.datepicker",function(t,e){return this._get(s,e)}),$.data(t,PROP_NAME,s),this._setDate(s,this._getDefaultDate(s),!0),this._updateDatepicker(s),this._updateAlternate(s),s.settings.disabled&&this._disableDatepicker(t),s.dpDiv.css("display","block"))},_dialogDatepicker:function(t,e,i,s,n){var o,a=this._dialogInst;return a||(this.uuid+=1,o="dp"+this.uuid,this._dialogInput=$(''),this._dialogInput.keydown(this._doKeyDown),$("body").append(this._dialogInput),(a=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},$.data(this._dialogInput[0],PROP_NAME,a)),extendRemove(a.settings,s||{}),e=e&&e.constructor==Date?this._formatDate(a,e):e,this._dialogInput.val(e),this._pos=n?n.length?n:[n.pageX,n.pageY]:null,this._pos||(o=document.documentElement.clientWidth,s=document.documentElement.clientHeight,e=document.documentElement.scrollLeft||document.body.scrollLeft,n=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[o/2-100+e,s/2-150+n]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),a.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),$.blockUI&&$.blockUI(this.dpDiv),$.data(this._dialogInput[0],PROP_NAME,a),this},_destroyDatepicker:function(t){var e,i=$(t),s=$.data(t,PROP_NAME);i.hasClass(this.markerClassName)&&(e=t.nodeName.toLowerCase(),$.removeData(t,PROP_NAME),"input"==e?(s.append.remove(),s.trigger.remove(),i.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)):"div"!=e&&"span"!=e||i.removeClass(this.markerClassName).empty())},_enableDatepicker:function(e){var t,i=$(e),s=$.data(e,PROP_NAME);i.hasClass(this.markerClassName)&&("input"==(t=e.nodeName.toLowerCase())?(e.disabled=!1,s.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!=t&&"span"!=t||((s=i.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").removeAttr("disabled")),this._disabledInputs=$.map(this._disabledInputs,function(t){return t==e?null:t}))},_disableDatepicker:function(e){var t,i=$(e),s=$.data(e,PROP_NAME);i.hasClass(this.markerClassName)&&("input"==(t=e.nodeName.toLowerCase())?(e.disabled=!0,s.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!=t&&"span"!=t||((s=i.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),s.find("select.ui-datepicker-month, select.ui-datepicker-year").attr("disabled","disabled")),this._disabledInputs=$.map(this._disabledInputs,function(t){return t==e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;er&&sl&&nf;)--u<0&&(u=11,p--);t.drawMonth=u,t.drawYear=p;for(var a=this._get(t,"prevText"),a=n?this.formatDate(a,this._daylightSavingAdjust(new Date(p,u-r,1)),this._getFormatConfig(t)):a,g=this._canAdjustMonth(t,-1,p,u)?''+a+"":s?"":''+a+"",a=this._get(t,"nextText"),a=n?this.formatDate(a,this._daylightSavingAdjust(new Date(p,u+r,1)),this._getFormatConfig(t)):a,m=this._canAdjustMonth(t,1,p,u)?''+a+"":s?"":''+a+"",r=this._get(t,"currentText"),s=this._get(t,"gotoCurrent")&&t.currentDay?h:e,r=n?this.formatDate(r,s,this._getFormatConfig(t)):r,a=t.inline?"":'",n=O?'
      '+(i?a:"")+(this._isInRange(t,s)?'":"")+(i?"":a)+"
      ":"",v=parseInt(this._get(t,"firstDay"),10),v=isNaN(v)?0:v,b=this._get(t,"showWeek"),E=this._get(t,"dayNames"),F=(this._get(t,"dayNamesShort"),this._get(t,"dayNamesMin")),R=this._get(t,"monthNames"),L=this._get(t,"monthNamesShort"),_=this._get(t,"beforeShowDay"),y=this._get(t,"showOtherMonths"),Y=this._get(t,"selectOtherMonths"),w=(this._get(t,"calculateWeek")||this.iso8601Week,this._getDefaultDate(t)),k="",x=0;x'+(/all|left/.test(P)&&0==x?i?m:g:"")+(/all|right/.test(P)&&0==x?i?g:m:"")+this._generateMonthYearHeader(t,u,p,c,d,0';for(var S=b?'":"",z=0;z<7;z++){var j=(z+v)%7;S+="'+F[j]+""}M+=S+"";for(var T=this._getDaysInMonth(p,u),q=(p==t.selectedYear&&u==t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,T)),(this._getFirstDayOfMonth(p,u)-v+7)%7),T=Math.ceil((q+T)/7),B=l&&this.maxRows>T?this.maxRows:T,A=(this.maxRows=B,this._daylightSavingAdjust(new Date(p,u,1-q))),K=0;K";for(var U=b?'":"",z=0;z<7;z++){var H=_?_.apply(t.input?t.input[0]:null,[A]):[!0,""],N=A.getMonth()!=u,W=N&&!Y||!H[0]||c&&A"+(N&&!y?" ":W?''+A.getDate()+"":''+A.getDate()+"")+"",A.setDate(A.getDate()+1),A=this._daylightSavingAdjust(A)}M+=U+""}11<++u&&(u=0,p++),C+=M+="
      '+this._get(t,"weekHeader")+"
      '+this._get(t,"calculateWeek")(A)+"
      "+(l?""+(0':""):"")}k+=C}return k+=n+($.browser.msie&&parseInt($.browser.version,10)<7&&!t.inline?'':""),t._keyEvent=!1,k},_generateMonthYearHeader:function(t,e,i,s,n,o,a,r){var l=this._get(t,"changeMonth"),h=this._get(t,"changeYear"),c=this._get(t,"showMonthAfterYear"),d='
      ',u="";if(o||!l)u+=''+a[e]+"";else{var p=s&&s.getFullYear()==i,f=n&&n.getFullYear()==i;u+='"}if(c||(d+=u+(!o&&l&&h?"":" ")),!t.yearshtml)if(t.yearshtml="",o||!h)d+=''+i+"";else{function m(t){t=t.match(/c[+-].*/)?i+parseInt(t.substring(1),10):t.match(/[+-].*/)?v+parseInt(t,10):parseInt(t,10);return isNaN(t)?v:t}var a=this._get(t,"yearRange").split(":"),v=(new Date).getFullYear(),b=m(a[0]),_=Math.max(b,m(a[1]||"")),b=s?Math.max(b,s.getFullYear()):b,_=n?Math.min(_,n.getFullYear()):_;for(t.yearshtml+='",d+=t.yearshtml,t.yearshtml=null}return d+=this._get(t,"yearSuffix"),c&&(d+=(!o&&l&&h?"":" ")+u),d+="
      "},_adjustInstDate:function(t,e,i){var s=t.drawYear+("Y"==i?e:0),n=t.drawMonth+("M"==i?e:0),e=Math.min(t.selectedDay,this._getDaysInMonth(s,n))+("D"==i?e:0),s=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(s,n,e)));t.selectedDay=s.getDate(),t.drawMonth=t.selectedMonth=s.getMonth(),t.drawYear=t.selectedYear=s.getFullYear(),"M"!=i&&"Y"!=i||this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,"min"),t=this._getMinMaxDate(t,"max"),i=i&&e=i.getTime())&&(!t||e.getTime()<=t.getTime())},_getFormatConfig:function(t){var e=this._get(t,"shortYearCutoff");return{shortYearCutoff:e="string"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,"dayNamesShort"),dayNames:this._get(t,"dayNames"),monthNamesShort:this._get(t,"monthNamesShort"),monthNames:this._get(t,"monthNames")}},_formatDate:function(t,e,i,s){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);s=e?"object"==typeof e?e:this._daylightSavingAdjust(new Date(s,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,"dateFormat"),s,this._getFormatConfig(t))}}),$.fn.datepicker=function(t){if(!this.length)return this;$.datepicker.initialized||($(document).mousedown($.datepicker._checkExternalClick).find("body").append($.datepicker.dpDiv),$.datepicker.initialized=!0);var e=Array.prototype.slice.call(arguments,1);return"string"==typeof t&&("isDisabled"==t||"getDate"==t||"widget"==t)||"option"==t&&2==arguments.length&&"string"==typeof arguments[1]?$.datepicker["_"+t+"Datepicker"].apply($.datepicker,[this[0]].concat(e)):this.each(function(){"string"==typeof t?$.datepicker["_"+t+"Datepicker"].apply($.datepicker,[this].concat(e)):$.datepicker._attachDatepicker(this,t)})},$.datepicker=new Datepicker,$.datepicker.initialized=!1,$.datepicker.uuid=(new Date).getTime(),$.datepicker.version="1.8.23",window["DP_jQuery_"+dpuuid]=$}(jQuery),!function(r){var l="ui-dialog ui-widget ui-widget-content ui-corner-all ",o={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},a={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0};r.widget("ui.dialog",{options:{autoOpen:!0,buttons:{},closeOnEscape:!0,closeText:"close",dialogClass:"",draggable:!0,hide:null,height:"auto",maxHeight:!1,maxWidth:!1,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",collision:"fit",using:function(t){var e=r(this).css(t).offset().top;e<0&&r(this).css("top",t.top-e)}},resizable:!0,show:null,stack:!0,title:"",width:300,zIndex:1e3},_create:function(){this.originalTitle=this.element.attr("title"),"string"!=typeof this.originalTitle&&(this.originalTitle=""),this.options.title=this.options.title||this.originalTitle;var e=this,i=e.options,t=i.title||" ",s=r.ui.dialog.getTitleId(e.element),n=(e.uiDialog=r("
      ")).appendTo(document.body).hide().addClass(l+i.dialogClass).css({zIndex:i.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(t){i.closeOnEscape&&!t.isDefaultPrevented()&&t.keyCode&&t.keyCode===r.ui.keyCode.ESCAPE&&(e.close(t),t.preventDefault())}).attr({role:"dialog","aria-labelledby":s}).mousedown(function(t){e.moveToTop(!1,t)}),o=(e.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(n),(e.uiDialogTitlebar=r("
      ")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(n)),a=r('').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){a.addClass("ui-state-hover")},function(){a.removeClass("ui-state-hover")}).focus(function(){a.addClass("ui-state-focus")}).blur(function(){a.removeClass("ui-state-focus")}).click(function(t){return e.close(t),!1}).appendTo(o);(e.uiDialogTitlebarCloseText=r("")).addClass("ui-icon ui-icon-closethick").text(i.closeText).appendTo(a),r("").addClass("ui-dialog-title").attr("id",s).html(t).prependTo(o);r.isFunction(i.beforeclose)&&!r.isFunction(i.beforeClose)&&(i.beforeClose=i.beforeclose),o.find("*").add(o).disableSelection(),i.draggable&&r.fn.draggable&&e._makeDraggable(),i.resizable&&r.fn.resizable&&e._makeResizable(),e._createButtons(i.buttons),e._isOpen=!1,r.fn.bgiframe&&n.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){var t=this;return t.overlay&&t.overlay.destroy(),t.uiDialog.hide(),t.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body"),t.uiDialog.remove(),t.originalTitle&&t.element.attr("title",t.originalTitle),t},widget:function(){return this.uiDialog},close:function(t){var e,i,s=this;if(!1!==s._trigger("beforeClose",t))return s.overlay&&s.overlay.destroy(),s.uiDialog.unbind("keypress.ui-dialog"),s._isOpen=!1,s.options.hide?s.uiDialog.hide(s.options.hide,function(){s._trigger("close",t)}):(s.uiDialog.hide(),s._trigger("close",t)),r.ui.dialog.overlay.resize(),s.options.modal&&(e=0,r(".ui-dialog").each(function(){this!==s.uiDialog[0]&&(i=r(this).css("z-index"),isNaN(i)||(e=Math.max(e,i)))}),r.ui.dialog.maxZ=e),s},isOpen:function(){return this._isOpen},moveToTop:function(t,e){var i=this,s=i.options;return s.modal&&!t||!s.stack&&!s.modal?i._trigger("focus",e):(s.zIndex>r.ui.dialog.maxZ&&(r.ui.dialog.maxZ=s.zIndex),i.overlay&&(r.ui.dialog.maxZ+=1,i.overlay.$el.css("z-index",r.ui.dialog.overlay.maxZ=r.ui.dialog.maxZ)),t={scrollTop:i.element.scrollTop(),scrollLeft:i.element.scrollLeft()},r.ui.dialog.maxZ+=1,i.uiDialog.css("z-index",r.ui.dialog.maxZ),i.element.attr(t),i._trigger("focus",e),i)},open:function(){var t,e,i;if(!this._isOpen)return t=this,e=t.options,i=t.uiDialog,t.overlay=e.modal?new r.ui.dialog.overlay(t):null,t._size(),t._position(e.position),i.show(e.show),t.moveToTop(!0),e.modal&&i.bind("keydown.ui-dialog",function(t){var e,i;if(t.keyCode===r.ui.keyCode.TAB)return i=r(":tabbable",this),e=i.filter(":first"),i=i.filter(":last"),t.target!==i[0]||t.shiftKey?t.target===e[0]&&t.shiftKey?(i.focus(1),!1):void 0:(e.focus(1),!1)}),r(t.element.find(":tabbable").get().concat(i.find(".ui-dialog-buttonpane :tabbable").get().concat(i.get()))).eq(0).focus(),t._isOpen=!0,t._trigger("open"),t},_createButtons:function(t){var s=this,e=!1,i=r("
      ").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),n=r("
      ").addClass("ui-dialog-buttonset").appendTo(i);s.uiDialog.find(".ui-dialog-buttonpane").remove(),"object"==typeof t&&null!==t&&r.each(t,function(){return!(e=!0)}),e&&(r.each(t,function(t,e){e=r.isFunction(e)?{click:e,text:t}:e;var i=r('').click(function(){e.click.apply(s.element[0],arguments)}).appendTo(n);r.each(e,function(t,e){"click"!==t&&(t in i?i[t](e):i.attr(t,e))}),r.fn.button&&i.button()}),i.appendTo(s.uiDialog))},_makeDraggable:function(){var i,s=this,n=s.options,o=r(document);function a(t){return{position:t.position,offset:t.offset}}s.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(t,e){i="auto"===n.height?"auto":r(this).height(),r(this).height(r(this).height()).addClass("ui-dialog-dragging"),s._trigger("dragStart",t,a(e))},drag:function(t,e){s._trigger("drag",t,a(e))},stop:function(t,e){n.position=[e.position.left-o.scrollLeft(),e.position.top-o.scrollTop()],r(this).removeClass("ui-dialog-dragging").height(i),s._trigger("dragStop",t,a(e)),r.ui.dialog.overlay.resize()}})},_makeResizable:function(t){t=void 0===t?this.options.resizable:t;var i=this,s=i.options,e=i.uiDialog.css("position"),t="string"==typeof t?t:"n,e,s,w,se,sw,ne,nw";function n(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}i.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:i.element,maxWidth:s.maxWidth,maxHeight:s.maxHeight,minWidth:s.minWidth,minHeight:i._minHeight(),handles:t,start:function(t,e){r(this).addClass("ui-dialog-resizing"),i._trigger("resizeStart",t,n(e))},resize:function(t,e){i._trigger("resize",t,n(e))},stop:function(t,e){r(this).removeClass("ui-dialog-resizing"),s.height=r(this).height(),s.width=r(this).width(),i._trigger("resizeStop",t,n(e)),r.ui.dialog.overlay.resize()}}).css("position",e).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var t=this.options;return"auto"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(t){var e,i=[],s=[0,0];t=t?(("string"==typeof t||"object"==typeof t&&"0"in t)&&(1===(i=t.split?t.split(" "):[t[0],t[1]]).length&&(i[1]=i[0]),r.each(["left","top"],function(t,e){+i[t]===i[t]&&(s[t]=i[t],i[t]=e)}),t={my:i.join(" "),at:i.join(" "),offset:s.join(" ")}),r.extend({},r.ui.dialog.prototype.options.position,t)):r.ui.dialog.prototype.options.position,(e=this.uiDialog.is(":visible"))||this.uiDialog.show(),this.uiDialog.css({top:0,left:0}).position(r.extend({of:window},t)),e||this.uiDialog.hide()},_setOptions:function(t){var i=this,s={},n=!1;r.each(t,function(t,e){i._setOption(t,e),t in o&&(n=!0),t in a&&(s[t]=e)}),n&&this._size(),this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option",s)},_setOption:function(t,e){var i=this,s=i.uiDialog;switch(t){case"beforeclose":t="beforeClose";break;case"buttons":i._createButtons(e);break;case"closeText":i.uiDialogTitlebarCloseText.text(""+e);break;case"dialogClass":s.removeClass(i.options.dialogClass).addClass(l+e);break;case"disabled":e?s.addClass("ui-dialog-disabled"):s.removeClass("ui-dialog-disabled");break;case"draggable":var n=s.is(":data(draggable)");n&&!e&&s.draggable("destroy"),!n&&e&&i._makeDraggable();break;case"position":i._position(e);break;case"resizable":n=s.is(":data(resizable)");n&&!e&&s.resizable("destroy"),n&&"string"==typeof e&&s.resizable("option","handles",e),n||!1===e||i._makeResizable(e);break;case"title":r(".ui-dialog-title",i.uiDialogTitlebar).html(""+(e||" "))}r.Widget.prototype._setOption.apply(i,arguments)},_size:function(){var t,e,i,s=this.options,n=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0}),s.minWidth>s.width&&(s.width=s.minWidth),t=this.uiDialog.css({height:"auto",width:s.width}).height(),e=Math.max(0,s.minHeight-t),"auto"===s.height?r.support.minHeight?this.element.css({minHeight:e,height:"auto"}):(this.uiDialog.show(),i=this.element.css("height","auto").height(),n||this.uiDialog.hide(),this.element.height(Math.max(i,e))):this.element.height(Math.max(s.height-t,0)),this.uiDialog.is(":data(resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())}}),r.extend(r.ui.dialog,{version:"1.8.23",uuid:0,maxZ:0,getTitleId:function(t){t=t.attr("id");return t||(this.uuid+=1,t=this.uuid),"ui-dialog-title-"+t},overlay:function(t){this.$el=r.ui.dialog.overlay.create(t)}}),r.extend(r.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:r.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(t){return t+".dialog-overlay"}).join(" "),create:function(e){0===this.instances.length&&(setTimeout(function(){r.ui.dialog.overlay.instances.length&&r(document).bind(r.ui.dialog.overlay.events,function(t){if(r(t.target).zIndex()").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),height:this.height()});return r.fn.bgiframe&&t.bgiframe(),this.instances.push(t),t},destroy:function(t){var e=r.inArray(t,this.instances),i=(-1!=e&&this.oldInstances.push(this.instances.splice(e,1)[0]),0===this.instances.length&&r([document,window]).unbind(".dialog-overlay"),t.remove(),0);r.each(this.instances,function(){i=Math.max(i,this.css("z-index"))}),this.maxZ=i},height:function(){var t;return r.browser.msie&&r.browser.version<7?(t=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight))").appendTo(this.element),this.oldValue=this._value(),this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove(),i.Widget.prototype.destroy.apply(this,arguments)},value:function(t){return void 0===t?this._value():(this._setOption("value",t),this)},_setOption:function(t,e){"value"===t&&(this.options.value=e,this._refreshValue(),this._value()===this.options.max&&this._trigger("complete")),i.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var t=this.options.value;return"number"!=typeof t&&(t=0),Math.min(this.options.max,Math.max(this.min,t))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var t=this.value(),e=this._percentage();this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),this.valueDiv.toggle(t>this.min).toggleClass("ui-corner-right",t===this.options.max).width(e.toFixed(0)+"%"),this.element.attr("aria-valuenow",t)}}),i.extend(i.ui.progressbar,{version:"1.8.23"})}(jQuery),!function(c){c.widget("ui.slider",c.ui.mouse,{widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null},_create:function(){var o=this,t=this.options,e=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),i=t.values&&t.values.length||1,s=[];this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget ui-widget-content ui-corner-all"+(t.disabled?" ui-slider-disabled ui-disabled":"")),this.range=c([]),t.range&&(!0===t.range&&(t.values||(t.values=[this._valueMin(),this._valueMin()]),t.values.length&&2!==t.values.length&&(t.values=[t.values[0],t.values[0]])),this.range=c("
      ").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+("min"===t.range||"max"===t.range?" ui-slider-range-"+t.range:"")));for(var n=e.length;n");this.handles=e.add(c(s.join("")).appendTo(o.element)),this.handle=this.handles.eq(0),this.handles.add(this.range).filter("a").click(function(t){t.preventDefault()}).hover(function(){t.disabled||c(this).addClass("ui-state-hover")},function(){c(this).removeClass("ui-state-hover")}).focus(function(){t.disabled?c(this).blur():(c(".ui-slider .ui-state-focus").removeClass("ui-state-focus"),c(this).addClass("ui-state-focus"))}).blur(function(){c(this).removeClass("ui-state-focus")}),this.handles.each(function(t){c(this).data("index.ui-slider-handle",t)}),this.handles.keydown(function(t){var e,i,s,n=c(this).data("index.ui-slider-handle");if(!o.options.disabled){switch(t.keyCode){case c.ui.keyCode.HOME:case c.ui.keyCode.END:case c.ui.keyCode.PAGE_UP:case c.ui.keyCode.PAGE_DOWN:case c.ui.keyCode.UP:case c.ui.keyCode.RIGHT:case c.ui.keyCode.DOWN:case c.ui.keyCode.LEFT:if(t.preventDefault(),o._keySliding||(o._keySliding=!0,c(this).addClass("ui-state-active"),!1!==o._start(t,n)))break;return}switch(s=o.options.step,e=i=o.options.values&&o.options.values.length?o.values(n):o.value(),t.keyCode){case c.ui.keyCode.HOME:i=o._valueMin();break;case c.ui.keyCode.END:i=o._valueMax();break;case c.ui.keyCode.PAGE_UP:i=o._trimAlignValue(e+(o._valueMax()-o._valueMin())/5);break;case c.ui.keyCode.PAGE_DOWN:i=o._trimAlignValue(e-(o._valueMax()-o._valueMin())/5);break;case c.ui.keyCode.UP:case c.ui.keyCode.RIGHT:if(e===o._valueMax())return;i=o._trimAlignValue(e+s);break;case c.ui.keyCode.DOWN:case c.ui.keyCode.LEFT:if(e===o._valueMin())return;i=o._trimAlignValue(e-s)}o._slide(t,n,i)}}).keyup(function(t){var e=c(this).data("index.ui-slider-handle");o._keySliding&&(o._keySliding=!1,o._stop(t,e),o._change(t,e),c(this).removeClass("ui-state-active"))}),this._refreshValue(),this._animateOff=!1},destroy:function(){return this.handles.remove(),this.range.remove(),this.element.removeClass("ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all").removeData("slider").unbind(".slider"),this._mouseDestroy(),this},_mouseCapture:function(t){var i,s,n,o,a,e,r=this.options;return!r.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e),s=this._valueMax()-this._valueMin()+1,(o=this).handles.each(function(t){var e=Math.abs(i-o.values(t));e=this._valueMax())return this._valueMax();var e=0=e&&(t+=0",remove:null,select:null,show:null,spinner:"Loading…",tabTemplate:"
    • #{label}
    • "},_create:function(){this._tabify(!0)},_setOption:function(t,e){"selected"==t?this.options.collapsible&&e==this.options.selected||this.select(e):(this.options[t]=e,this._tabify())},_tabId:function(t){return t.title&&t.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+ ++e},_sanitizeSelector:function(t){return t.replace(/:/g,"\\:")},_cookie:function(){var t=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+ ++i);return p.cookie.apply(null,[t].concat(p.makeArray(arguments)))},_ui:function(t,e){return{tab:t,panel:e,index:this.anchors.index(t)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var t=p(this);t.html(t.data("label.tabs")).removeData("label.tabs")})},_tabify:function(t){var o=this,a=this.options,r=/^#.+/;this.list=this.element.find("ol,ul").eq(0),this.lis=p(" > li:has(a[href])",this.list),this.anchors=this.lis.map(function(){return p("a",this)[0]}),this.panels=p([]),this.anchors.each(function(t,e){var i,s=p(e).attr("href"),n=s.split("#")[0];n&&(n===location.toString().split("#")[0]||(i=p("base")[0])&&n===i.href)&&(s=e.hash,e.href=s),r.test(s)?o.panels=o.panels.add(o.element.find(o._sanitizeSelector(s))):s&&"#"!==s?(p.data(e,"href.tabs",s),p.data(e,"load.tabs",s.replace(/#.*$/,"")),n=o._tabId(e),e.href="#"+n,(i=o.element.find("#"+n)).length||(i=p(a.panelTemplate).attr("id",n).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(o.panels[t-1]||o.list)).data("destroy.tabs",!0),o.panels=o.panels.add(i)):a.disabled.push(t)}),t?(this.element.addClass("ui-tabs ui-widget ui-widget-content ui-corner-all"),this.list.addClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"),this.lis.addClass("ui-state-default ui-corner-top"),this.panels.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom"),void 0===a.selected?(location.hash&&this.anchors.each(function(t,e){if(e.hash==location.hash)return a.selected=t,!1}),"number"!=typeof a.selected&&a.cookie&&(a.selected=parseInt(o._cookie(),10)),"number"!=typeof a.selected&&this.lis.filter(".ui-tabs-selected").length&&(a.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))),a.selected=a.selected||(this.lis.length?0:-1)):null===a.selected&&(a.selected=-1),a.selected=0<=a.selected&&this.anchors[a.selected]||a.selected<0?a.selected:0,a.disabled=p.unique(a.disabled.concat(p.map(this.lis.filter(".ui-state-disabled"),function(t,e){return o.lis.index(t)}))).sort(),-1!=p.inArray(a.selected,a.disabled)&&a.disabled.splice(p.inArray(a.selected,a.disabled),1),this.panels.addClass("ui-tabs-hide"),this.lis.removeClass("ui-tabs-selected ui-state-active"),0<=a.selected&&this.anchors.length&&(o.element.find(o._sanitizeSelector(o.anchors[a.selected].hash)).removeClass("ui-tabs-hide"),this.lis.eq(a.selected).addClass("ui-tabs-selected ui-state-active"),o.element.queue("tabs",function(){o._trigger("show",null,o._ui(o.anchors[a.selected],o.element.find(o._sanitizeSelector(o.anchors[a.selected].hash))[0]))}),this.load(a.selected)),p(window).bind("unload",function(){o.lis.add(o.anchors).unbind(".tabs"),o.lis=o.anchors=o.panels=null})):a.selected=this.lis.index(this.lis.filter(".ui-tabs-selected")),this.element[a.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible"),a.cookie&&this._cookie(a.selected,a.cookie);for(var e,i,s,n,l,h=0;e=this.lis[h];h++)p(e)[-1==p.inArray(h,a.disabled)||p(e).hasClass("ui-tabs-selected")?"removeClass":"addClass"]("ui-state-disabled");function c(t,e){t.css("display",""),!p.support.opacity&&e.opacity&&t[0].style.removeAttribute("filter")}!1===a.cache&&this.anchors.removeData("cache.tabs"),this.lis.add(this.anchors).unbind(".tabs"),"mouseover"!==a.event&&(i=function(t,e){e.is(":not(.ui-state-disabled)")&&e.addClass("ui-state-"+t)},s=function(t,e){e.removeClass("ui-state-"+t)},this.lis.bind("mouseover.tabs",function(){i("hover",p(this))}),this.lis.bind("mouseout.tabs",function(){s("hover",p(this))}),this.anchors.bind("focus.tabs",function(){i("focus",p(this).closest("li"))}),this.anchors.bind("blur.tabs",function(){s("focus",p(this).closest("li"))})),a.fx&&(p.isArray(a.fx)?(n=a.fx[0],l=a.fx[1]):n=l=a.fx);var d=l?function(t,e){p(t).closest("li").addClass("ui-tabs-selected ui-state-active"),e.hide().removeClass("ui-tabs-hide").animate(l,l.duration||"normal",function(){c(e,l),o._trigger("show",null,o._ui(t,e[0]))})}:function(t,e){p(t).closest("li").addClass("ui-tabs-selected ui-state-active"),e.removeClass("ui-tabs-hide"),o._trigger("show",null,o._ui(t,e[0]))},u=n?function(t,e){e.animate(n,n.duration||"normal",function(){o.lis.removeClass("ui-tabs-selected ui-state-active"),e.addClass("ui-tabs-hide"),c(e,n),o.element.dequeue("tabs")})}:function(t,e,i){o.lis.removeClass("ui-tabs-selected ui-state-active"),e.addClass("ui-tabs-hide"),o.element.dequeue("tabs")};this.anchors.bind(a.event+".tabs",function(){var t=this,e=p(t).closest("li"),i=o.panels.filter(":not(.ui-tabs-hide)"),s=o.element.find(o._sanitizeSelector(t.hash));if(e.hasClass("ui-tabs-selected")&&!a.collapsible||e.hasClass("ui-state-disabled")||e.hasClass("ui-state-processing")||o.panels.filter(":animated").length||!1===o._trigger("select",null,o._ui(this,s[0])))return this.blur(),!1;if(a.selected=o.anchors.index(this),o.abort(),a.collapsible){if(e.hasClass("ui-tabs-selected"))return a.selected=-1,a.cookie&&o._cookie(a.selected,a.cookie),o.element.queue("tabs",function(){u(t,i)}).dequeue("tabs"),this.blur(),!1;if(!i.length)return a.cookie&&o._cookie(a.selected,a.cookie),o.element.queue("tabs",function(){d(t,s)}),o.load(o.anchors.index(this)),this.blur(),!1}if(a.cookie&&o._cookie(a.selected,a.cookie),!s.length)throw"jQuery UI Tabs: Mismatching fragment identifier.";i.length&&o.element.queue("tabs",function(){u(t,i)}),o.element.queue("tabs",function(){d(t,s)}),o.load(o.anchors.index(this)),p.browser.msie&&this.blur()}),this.anchors.bind("click.tabs",function(){return!1})},_getIndex:function(t){return t="string"==typeof t?this.anchors.index(this.anchors.filter("[href$='"+t+"']")):t},destroy:function(){var t=this.options;return this.abort(),this.element.unbind(".tabs").removeClass("ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible").removeData("tabs"),this.list.removeClass("ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"),this.anchors.each(function(){var t=p.data(this,"href.tabs"),i=(t&&(this.href=t),p(this).unbind(".tabs"));p.each(["href","load","cache"],function(t,e){i.removeData(e+".tabs")})}),this.lis.unbind(".tabs").add(this.panels).each(function(){p.data(this,"destroy.tabs")?p(this).remove():p(this).removeClass(["ui-state-default","ui-corner-top","ui-tabs-selected","ui-state-active","ui-state-hover","ui-state-focus","ui-state-disabled","ui-tabs-panel","ui-widget-content","ui-corner-bottom","ui-tabs-hide"].join(" "))}),t.cookie&&this._cookie(null,t.cookie),this},add:function(t,e,i){void 0===i&&(i=this.anchors.length);var s=this,n=this.options,e=p(n.tabTemplate.replace(/#\{href\}/g,t).replace(/#\{label\}/g,e)),t=t.indexOf("#")?this._tabId(p("a",e)[0]):t.replace("#",""),o=(e.addClass("ui-state-default ui-corner-top").data("destroy.tabs",!0),s.element.find("#"+t));return(o=o.length?o:p(n.panelTemplate).attr("id",t).data("destroy.tabs",!0)).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide"),i>=this.lis.length?(e.appendTo(this.list),o.appendTo(this.list[0].parentNode)):(e.insertBefore(this.lis[i]),o.insertBefore(this.panels[i])),n.disabled=p.map(n.disabled,function(t,e){return i<=t?++t:t}),this._tabify(),1==this.anchors.length&&(n.selected=0,e.addClass("ui-tabs-selected ui-state-active"),o.removeClass("ui-tabs-hide"),this.element.queue("tabs",function(){s._trigger("show",null,s._ui(s.anchors[0],s.panels[0]))}),this.load(0)),this._trigger("add",null,this._ui(this.anchors[i],this.panels[i])),this},remove:function(i){i=this._getIndex(i);var t=this.options,e=this.lis.eq(i).remove(),s=this.panels.eq(i).remove();return e.hasClass("ui-tabs-selected")&&1>10|55296,1023&e|56320))}function M(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}function I(){T()}var e,p,b,o,F,d,W,$,w,u,l,T,C,n,S,h,r,i,g,E="sizzle"+ +new Date,c=R.document,k=0,B=0,_=q(),z=q(),U=q(),y=q(),X=function(e,t){return e===t&&(l=!0),0},V={}.hasOwnProperty,t=[],G=t.pop,Y=t.push,A=t.push,Q=t.slice,v=function(e,t){for(var n=0,r=e.length;n+~]|"+s+")"+s+"*"),re=new RegExp(s+"|>"),ie=new RegExp(Z),oe=new RegExp("^"+a+"$"),x={ID:new RegExp("^#("+a+")"),CLASS:new RegExp("^\\.("+a+")"),TAG:new RegExp("^("+a+"|[*])"),ATTR:new RegExp("^"+K),PSEUDO:new RegExp("^"+Z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+s+"*(even|odd|(([+-]|)(\\d*)n|)"+s+"*(?:([+-]|)"+s+"*(\\d+)|))"+s+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+s+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+s+"*((?:-\\d)?\\d*)"+s+"*\\)|)(?=[^-]|$)","i")},se=/HTML$/i,ae=/^(?:input|select|textarea|button)$/i,ue=/^h\d$/i,N=/^[^{]+\{\s*\[native \w/,le=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ce=/[+~]/,j=new RegExp("\\\\[\\da-fA-F]{1,6}"+s+"?|\\\\([^\\r\\n\\f])","g"),fe=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,pe=ve(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{A.apply(t=Q.call(c.childNodes),c.childNodes),t[c.childNodes.length].nodeType}catch(e){A={apply:t.length?function(e,t){Y.apply(e,Q.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function D(t,e,n,r){var i,o,s,a,u,l,c=e&&e.ownerDocument,f=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==f&&9!==f&&11!==f)return n;if(!r&&(T(e),e=e||C,S)){if(11!==f&&(a=le.exec(t)))if(i=a[1]){if(9===f){if(!(l=e.getElementById(i)))return n;if(l.id===i)return n.push(l),n}else if(c&&(l=c.getElementById(i))&&g(e,l)&&l.id===i)return n.push(l),n}else{if(a[2])return A.apply(n,e.getElementsByTagName(t)),n;if((i=a[3])&&p.getElementsByClassName&&e.getElementsByClassName)return A.apply(n,e.getElementsByClassName(i)),n}if(p.qsa&&!y[t+" "]&&(!h||!h.test(t))&&(1!==f||"object"!==e.nodeName.toLowerCase())){if(l=t,c=e,1===f&&(re.test(t)||ne.test(t))){for((c=ce.test(t)&&ye(e.parentNode)||e)===e&&p.scope||((s=e.getAttribute("id"))?s=s.replace(fe,M):e.setAttribute("id",s=E)),o=(u=d(t)).length;o--;)u[o]=(s?"#"+s:":scope")+" "+P(u[o]);l=u.join(",")}try{if(p.cssSupportsSelector&&!CSS.supports("selector(:is("+l+"))"))throw new Error;return A.apply(n,c.querySelectorAll(l)),n}catch(e){y(t,!0)}finally{s===E&&e.removeAttribute("id")}}}return $(t.replace(m,"$1"),e,n,r)}function q(){var n=[];function r(e,t){return n.push(e+" ")>b.cacheLength&&delete r[n.shift()],r[e+" "]=t}return r}function L(e){return e[E]=!0,e}function H(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function de(e,t){for(var n=e.split("|"),r=n.length;r--;)b.attrHandle[n[r]]=t}function he(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&pe(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function O(s){return L(function(o){return o=+o,L(function(e,t){for(var n,r=s([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in p=D.support={},F=D.isXML=function(e){var t=e&&e.namespaceURI,e=e&&(e.ownerDocument||e).documentElement;return!se.test(t||e&&e.nodeName||"HTML")},T=D.setDocument=function(e){var e=e?e.ownerDocument||e:c;return e!=C&&9===e.nodeType&&e.documentElement&&(n=(C=e).documentElement,S=!F(C),c!=C&&(e=C.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",I,!1):e.attachEvent&&e.attachEvent("onunload",I)),p.scope=H(function(e){return n.appendChild(e).appendChild(C.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),p.cssSupportsSelector=H(function(){return CSS.supports("selector(*)")&&C.querySelectorAll(":is(:jqfake)")&&!CSS.supports("selector(:is(*,:jqfake))")}),p.attributes=H(function(e){return e.className="i",!e.getAttribute("className")}),p.getElementsByTagName=H(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),p.getElementsByClassName=N.test(C.getElementsByClassName),p.getById=H(function(e){return n.appendChild(e).id=E,!C.getElementsByName||!C.getElementsByName(E).length}),p.getById?(b.filter.ID=function(e){var t=e.replace(j,f);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&S)return(t=t.getElementById(e))?[t]:[]}):(b.filter.ID=function(e){var t=e.replace(j,f);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&S){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=p.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):p.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},b.find.CLASS=p.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&S)return t.getElementsByClassName(e)},r=[],h=[],(p.qsa=N.test(C.querySelectorAll))&&(H(function(e){var t;n.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&h.push("[*^$]="+s+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||h.push("\\["+s+"*(?:value|"+J+")"),e.querySelectorAll("[id~="+E+"-]").length||h.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||h.push("\\["+s+"*name"+s+"*="+s+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||h.push(":checked"),e.querySelectorAll("a#"+E+"+*").length||h.push(".#.+[+~]"),e.querySelectorAll("\\\f"),h.push("[\\r\\n\\f]")}),H(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&h.push("name"+s+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&h.push(":enabled",":disabled"),n.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&h.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),h.push(",.*:")})),(p.matchesSelector=N.test(i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.oMatchesSelector||n.msMatchesSelector))&&H(function(e){p.disconnectedMatch=i.call(e,"*"),i.call(e,"[s!='']:x"),r.push("!=",Z)}),p.cssSupportsSelector||h.push(":has"),h=h.length&&new RegExp(h.join("|")),r=r.length&&new RegExp(r.join("|")),e=N.test(n.compareDocumentPosition),g=e||N.test(n.contains)?function(e,t){var n=9===e.nodeType&&e.documentElement||e,t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(n.contains?n.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},X=e?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==c&&g(c,e)?-1:t==C||t.ownerDocument==c&&g(c,t)?1:u?v(u,e)-v(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?v(u,e)-v(u,t):0;if(i===o)return he(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?he(s[r],a[r]):s[r]==c?-1:a[r]==c?1:0}),C},D.matches=function(e,t){return D(e,null,null,t)},D.matchesSelector=function(e,t){if(T(e),p.matchesSelector&&S&&!y[t+" "]&&(!r||!r.test(t))&&(!h||!h.test(t)))try{var n=i.call(e,t);if(n||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){y(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(j,f),e[3]=(e[3]||e[4]||e[5]||"").replace(j,f),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||D.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&D.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return x.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ie.test(n)&&(t=d(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(j,f).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=_[e+" "];return t||(t=new RegExp("(^|"+s+")"+e+"("+s+"|$)"))&&_(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,n,r){return function(e){e=D.attr(e,t);return null==e?"!="===n:!n||(e+="","="===n?e===r:"!="===n?e!==r:"^="===n?r&&0===e.indexOf(r):"*="===n?r&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function K(e,n,r){return v(n)?C.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?C.grep(e,function(e){return e===n!==r}):"string"!=typeof n?C.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/,te=((C.fn.init=function(e,t,n){if(!e)return this;if(n=n||Z,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this);if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:ee.exec(e))||!r[1]&&t)return(!t||t.jquery?t||n:this.constructor(t)).find(e);if(r[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:T,!0)),J.test(r[1])&&C.isPlainObject(t))for(var r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(n=T.getElementById(r[2]))&&(this[0]=n,this.length=1),this}).prototype=C.fn,Z=C(T),/^(?:parents|prev(?:Until|All))/),ne={children:!0,contents:!0,next:!0,prev:!0};function re(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i,N=(L=T.createDocumentFragment().appendChild(T.createElement("div")),(o=T.createElement("input")).setAttribute("type","radio"),o.setAttribute("checked","checked"),o.setAttribute("name","t"),L.appendChild(o),y.checkClone=L.cloneNode(!0).cloneNode(!0).lastChild.checked,L.innerHTML="",y.noCloneChecked=!!L.cloneNode(!0).lastChild.defaultValue,L.innerHTML="",y.option=!!L.lastChild,{thead:[1,"","
      "],col:[2,"","
      "],tr:[2,"","
      "],td:[3,"","
      "],_default:[0,"",""]});function j(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&u(e,t)?C.merge([e],n):n}function Se(e,t){for(var n=0,r=e.length;n",""]);var Ee=/<|&#?\w+;/;function ke(e,t,n,r,i){for(var o,s,a,u,l,c=t.createDocumentFragment(),f=[],p=0,d=e.length;p\s*$/g;function Oe(e,t){return u(e,"table")&&u(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o;if(1===t.nodeType){if(b.hasData(e)&&(o=b.get(e).events))for(i in b.remove(t,"handle events"),o)for(n=0,r=o[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),T.head.appendChild(r[0])},abort:function(){i&&i()}}}),[]),Qt=/(=)\?(?=&|$)|\?\?/,Jt=(C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Yt.pop()||C.expando+"_"+Nt.guid++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,s=!1!==e.jsonp&&(Qt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Qt,"$1"+r):!1!==e.jsonp&&(e.url+=(jt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||C.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=w[r],w[r]=function(){o=arguments},n.always(function(){void 0===i?C(w).removeProp(r):w[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Yt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((o=T.implementation.createHTMLDocument("").body).innerHTML="
      ",2===o.childNodes.length),C.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=T.implementation.createHTMLDocument("")).createElement("base")).href=T.location.href,t.head.appendChild(r)):t=T),r=!n&&[],(n=J.exec(e))?[t.createElement(n[1])]:(n=ke([e],t,r),r&&r.length&&C(r).remove(),C.merge([],n.childNodes)));var r},C.fn.load=function(e,t,n){var r,i,o,s=this,a=e.indexOf(" ");return-1").append(C.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},C.expr.pseudos.animated=function(t){return C.grep(C.timers,function(e){return t===e.elem}).length},C.offset={setOffset:function(e,t,n){var r,i,o,s,a=C.css(e,"position"),u=C(e),l={};"static"===a&&(e.style.position="relative"),o=u.offset(),r=C.css(e,"top"),s=C.css(e,"left"),a=("absolute"===a||"fixed"===a)&&-1<(r+s).indexOf("auto")?(i=(a=u.position()).top,a.left):(i=parseFloat(r)||0,parseFloat(s)||0),null!=(t=v(t)?t.call(e,n,C.extend({},o)):t).top&&(l.top=t.top-o.top+i),null!=t.left&&(l.left=t.left-o.left+a),"using"in t?t.using.call(e,l):u.css(l)}},C.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){C.offset.setOffset(this,t,e)});var e,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),n=n.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===C.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===C.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=C(e).offset()).top+=C.css(e,"borderTopWidth",!0),i.left+=C.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-C.css(r,"marginTop",!0),left:t.left-i.left-C.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||E})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;C.fn[t]=function(e){return f(this,function(e,t,n){var r;if(g(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),C.each(["top","left"],function(e,n){C.cssHooks[n]=tt(y.pixelPosition,function(e,t){if(t)return t=et(e,n),Ge.test(t)?C(e).position()[n]+"px":t})}),C.each({Height:"height",Width:"width"},function(s,a){C.each({padding:"inner"+s,content:a,"":"outer"+s},function(r,o){C.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return f(this,function(e,t,n){var r;return g(e)?0===o.indexOf("outer")?e["inner"+s]:e.document.documentElement["client"+s]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+s],r["scroll"+s],e.body["offset"+s],r["offset"+s],r["client"+s])):void 0===n?C.css(e,t,i):C.style(e,t,n,i)},a,n?e:void 0,n)}})}),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){C.fn[t]=function(e){return this.on(t,e)}}),C.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){C.fn[n]=function(e,t){return 0(e=e||"").length)&&e.substring(0,n.length)===n},jc:function(e,n){if(e===n)return!0;if(11===e.nodeType)return!1;if(n.contains)return n.contains(3===e.nodeType?e.parentNode:e);if(n.compareDocumentPosition)return 16==(16&n.compareDocumentPosition(e));for(;e&&e!=n;)e=e.parentNode;return!!e},Qa:function(e){return D.a.jc(e,e.ownerDocument.documentElement)},tb:function(e){return!!D.a.vb(e,D.a.Qa)},v:function(e){return e&&e.tagName&&e.tagName.toLowerCase()},n:function(n,e,t){var a=i&&q[e];if(!a&&Re)Re(n).bind(e,t);else if(a||"function"!=typeof n.addEventListener){if(void 0===n.attachEvent)throw Error("Browser doesn't support addEventListener or attachEvent");function r(e){t.call(n,e)}var o="on"+e;n.attachEvent(o,r),D.a.C.fa(n,function(){n.detachEvent(o,r)})}else n.addEventListener(e,t,!1)},qa:function(e,n){if(!e||!e.nodeType)throw Error("element must be a DOM node when calling triggerEvent");var t=!("input"!==D.a.v(e)||!e.type||"click"!=n.toLowerCase())&&("checkbox"==(t=e.type)||"radio"==t);if(Re&&!t)Re(e).trigger(n);else if("function"==typeof Le.createEvent){if("function"!=typeof e.dispatchEvent)throw Error("The supplied element doesn't support dispatchEvent");(t=Le.createEvent(r[n]||"HTMLEvents")).initEvent(n,!0,!0,Ie,0,0,0,0,0,!1,!1,!1,!1,0,e),e.dispatchEvent(t)}else if(t&&e.click)e.click();else{if(void 0===e.fireEvent)throw Error("Browser doesn't support triggering events");e.fireEvent("on"+n)}},c:function(e){return D.F(e)?e():e},cb:function(e){return D.F(e)?e.B():e},Ia:function(n,e,t){var a;e&&("object"==typeof n.classList?(a=n.classList[t?"add":"remove"],D.a.o(e.match(o),function(e){a.call(n.classList,e)})):"string"==typeof n.className.baseVal?H(n.className,"baseVal",e,t):H(n,"className",e,t))},Ha:function(e,n){var n=D.a.c(n),t=(null!==n&&n!==Fe||(n=""),D.e.firstChild(e));!t||3!=t.nodeType||D.e.nextSibling(t)?D.e.T(e,[e.ownerDocument.createTextNode(n)]):t.data=n,D.a.mc(e)},Rb:function(e,n){if(e.name=n,i<=7)try{e.mergeAttributes(Le.createElement(""),!1)}catch(e){}},mc:function(e){9<=i&&((e=1==e.nodeType?e:e.parentNode).style&&(e.style.zoom=e.style.zoom))},kc:function(e){var n;i&&(n=e.style.width,e.style.width=0,e.style.width=n)},Bc:function(e,n){e=D.a.c(e),n=D.a.c(n);for(var t=[],a=e;a<=n;a++)t.push(a);return t},O:function(e){for(var n=[],t=0,a=e.length;t"+(r=(r.match(/^<(thead|tbody|tfoot)/)?[1,"","
      "]:!r.indexOf("",""])||(!r.indexOf("",""]||[0,"",""])[1]+e+r[2]+"";for("function"==typeof a.innerShiv?t.appendChild(a.innerShiv(n)):t.innerHTML=n;r[0]--;)t=t.lastChild;a=D.a.O(t.lastChild.childNodes)}return a},D.a.gb=function(e,n){if(D.a.Ra(e),null!==(n=D.a.c(n))&&n!==Fe)if("string"!=typeof n&&(n=n.toString()),Re)Re(e).html(n);else for(var t=D.a.ca(n,e.ownerDocument),a=0;a]*))?)*\s+)data-bind\s*=\s*(["'])([\s\S]*?)\3/gi,Ne=/\x3c!--\s*ko\b\s*([\s\S]*?)\s*--\x3e/g,{lc:function(e,n,t){n.isTemplateRewritten(e,t)||n.rewriteTemplate(e,function(e){return D.kb.xc(e,n)},t)},xc:function(e,o){return e.replace(Ce,function(e,n,t,a,r){return De(r,n,t,o)}).replace(Ne,function(e,n){return De(n,"\x3c!-- ko --\x3e","#comment",o)})},dc:function(t,a){return D.H.$a(function(e,n){e=e.nextSibling;e&&e.nodeName.toLowerCase()===a&&D.va(e,t,n)})}}),D.b("__tr_ambtns",D.kb.dc),D.t={},D.t.l=function(e){this.l=e},D.t.l.prototype.text=function(){var e="script"===(e=D.a.v(this.l))?"text":"textarea"===e?"value":"innerHTML";if(0==arguments.length)return this.l[e];var n=arguments[0];"innerHTML"===e?D.a.gb(this.l,n):this.l[e]=n},A=D.a.f.I()+"_",D.t.l.prototype.data=function(e){if(1===arguments.length)return D.a.f.get(this.l,A+e);D.a.f.set(this.l,A+e,arguments[1])},O=D.a.f.I(),D.t.ha=function(e){this.l=e},D.t.ha.prototype=new D.t.l,D.t.ha.prototype.text=function(){var e;if(0==arguments.length)return(e=D.a.f.get(this.l,O)||{}).lb===Fe&&e.Na&&(e.lb=e.Na.innerHTML),e.lb;D.a.f.set(this.l,O,{lb:arguments[0]})},D.t.l.prototype.nodes=function(){if(0==arguments.length)return(D.a.f.get(this.l,O)||{}).Na;D.a.f.set(this.l,O,{Na:arguments[0]})},D.b("templateSources",D.t),D.b("templateSources.domElement",D.t.l),D.b("templateSources.anonymousTemplate",D.t.ha),D.hb=function(e){if(e!=Fe&&!(e instanceof D.J))throw Error("templateEngine must inherit from ko.templateEngine");M=e},D.eb=function(t,a,r,o,i){if(((r=r||{}).templateEngine||M)==Fe)throw Error("Set a template engine before calling renderTemplate");var u;return i=i||"replaceChildren",o?(u=Oe(o),D.j(function(){var e=a&&a instanceof D.N?a:new D.N(D.a.c(a)),n=je(t,e.$data,e),e=Me(o,i,n,e,r);"replaceNode"==i&&(u=Oe(o=e))},null,{Pa:function(){return!u||!D.a.Qa(u)},q:u&&"replaceNode"==i?u.parentNode:u})):D.H.$a(function(e){D.eb(t,a,r,e,"replaceNode")})},D.Cc=function(t,n,a,r,o){function i(e,n){Ae(n,c),a.afterRender&&a.afterRender(n,e),c=null}function u(e,n){return c=o.createChildContext(e,a.as,function(e){e.$index=n}),Me(null,"ignoreTargetNode",je(t,e,c),c,a)}var c;return D.j(function(){var e=D.a.c(n)||[];void 0===e.length&&(e=[e]),e=D.a.xa(e,function(e){return a.includeDestroyed||e===Fe||null===e||!D.a.c(e._destroy)}),D.k.u(D.a.fb,null,[r,e,u,a,i])},null,{q:r})},j=D.a.f.I(),D.d.template={init:function(e,n){n=D.a.c(n());if("string"==typeof n||n.name)D.e.ma(e);else{if("nodes"in n){if(n=n.nodes||[],D.F(n))throw Error('The "nodes" option must be a plain, non-observable array.')}else n=D.e.childNodes(e);n=D.a.Jb(n),new D.t.ha(e).nodes(n)}return{controlsDescendantBindings:!0}},update:function(e,n,t,a,r){var o,i=n();t=!0,a=null,"string"==typeof(n=D.a.c(i))?n={}:(i=n.name,(t="if"in n?D.a.c(n.if):t)&&"ifnot"in n&&(t=!D.a.c(n.ifnot)),o=D.a.c(n.data)),"foreach"in n?a=D.Cc(i||e,t&&n.foreach||[],n,e,r):t?(r="data"in n?r.createChildContext(o,n.as):r,a=D.eb(i||e,r,n,e)):D.e.ma(e),r=a,(o=D.a.f.get(e,j))&&"function"==typeof o.p&&o.p(),D.a.f.set(e,j,r&&r.$()?r:Fe)}},D.h.ka.template=function(e){return 1==(e=D.h.bb(e)).length&&e[0].unknown||D.h.vc(e,"name")?null:"This template engine does not support anonymous templates nested within its templates"},D.e.R.template=!0,D.b("setTemplateEngine",D.hb),D.b("renderTemplate",D.eb),D.a.Cb=function(e,n,t){if(e.length&&n.length)for(var a,r,o,i,u=a=0;(!t||u"+n+"<\/script>")},0>>1;r(n[l])":">",'"':""","'":"'","`":"`"}),f=b.invert(s),j=(b.escape=t(s),b.unescape=t(f),b.result=function(n,t){var r;if(null!=n)return r=n[t],b.isFunction(r)?n[t]():r},0),x=(b.uniqueId=function(n){var t=++j+"";return n?n+t:t},b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},/(.)^/),A={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},k=/\\|'|\r|\n|\u2028|\u2029/g;b.template=function(i,n,t){n=b.defaults({},n=!n&&t?t:n,b.templateSettings);var t=RegExp([(n.escape||x).source,(n.interpolate||x).source,(n.evaluate||x).source].join("|")+"|$","g"),o=0,l="__p+='";i.replace(t,function(n,t,r,e,u){return l+=i.slice(o,u).replace(k,a),o=u+n.length,t?l+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":r?l+="'+\n((__t=("+r+"))==null?'':__t)+\n'":e&&(l+="';\n"+e+"\n__p+='"),n}),l+="';\n",l="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+(l=n.variable?l:"with(obj||{}){\n"+l+"}\n")+"return __p;\n";try{var r=new Function(n.variable||"obj","_",l)}catch(n){throw n.source=l,n}function e(n){return r.call(this,n,b)}t=n.variable||"obj";return e.source="function("+t+"){\n"+l+"}",e},b.chain=function(n){n=b(n);return n._chain=!0,n};b.mixin=function(r){b.each(b.functions(r),function(n){var t=b[n]=r[n];b.prototype[n]=function(){var n=[this._wrapped];return p.apply(n,arguments),e.call(this,t.apply(b,n))}})},b.mixin(b),b.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var r=i[t];b.prototype[t]=function(){var n=this._wrapped;return r.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],e.call(this,n)}}),b.each(["concat","join","slice"],function(n){var t=i[n];b.prototype[n]=function(){return e.call(this,t.apply(this._wrapped,arguments))}}),b.prototype.value=function(){return this._wrapped}}.call(this)},{}]},{},[])("/usr/src/app/readthedocs.org/bower_components/underscore/underscore.js")}); \ No newline at end of file diff --git a/readthedocs/static/vendor/underscore.js b/readthedocs/static/vendor/underscore.js deleted file mode 100644 index 0d265ac6c7d..00000000000 --- a/readthedocs/static/vendor/underscore.js +++ /dev/null @@ -1 +0,0 @@ -require=function e(u,i,o){function l(t,n){if(!i[t]){if(!u[t]){var r="function"==typeof require&&require;if(!n&&r)return r(t,!0);if(a)return a(t,!0);throw(n=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",n}r=i[t]={exports:{}},u[t][0].call(r.exports,function(n){return l(u[t][1][n]||n)},r,r.exports,e,u,i,o)}return i[t].exports}for(var a="function"==typeof require&&require,n=0;n>>1;r(n[l])":">",'"':""","'":"'","`":"`"}),f=b.invert(s),x=(b.escape=t(s),b.unescape=t(f),b.result=function(n,t){var r;if(null!=n)return r=n[t],b.isFunction(r)?n[t]():r},0),j=(b.uniqueId=function(n){var t=++x+"";return n?n+t:t},b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},/(.)^/),A={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},k=/\\|'|\r|\n|\u2028|\u2029/g;b.template=function(i,n,t){n=b.defaults({},n=!n&&t?t:n,b.templateSettings);var t=RegExp([(n.escape||j).source,(n.interpolate||j).source,(n.evaluate||j).source].join("|")+"|$","g"),o=0,l="__p+='";i.replace(t,function(n,t,r,e,u){return l+=i.slice(o,u).replace(k,a),o=u+n.length,t?l+="'+\n((__t=("+t+"))==null?'':_.escape(__t))+\n'":r?l+="'+\n((__t=("+r+"))==null?'':__t)+\n'":e&&(l+="';\n"+e+"\n__p+='"),n}),l+="';\n",l="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+(l=n.variable?l:"with(obj||{}){\n"+l+"}\n")+"return __p;\n";try{var r=new Function(n.variable||"obj","_",l)}catch(n){throw n.source=l,n}function e(n){return r.call(this,n,b)}t=n.variable||"obj";return e.source="function("+t+"){\n"+l+"}",e},b.chain=function(n){n=b(n);return n._chain=!0,n};b.mixin=function(r){b.each(b.functions(r),function(n){var t=b[n]=r[n];b.prototype[n]=function(){var n=[this._wrapped];return p.apply(n,arguments),e.call(this,t.apply(b,n))}})},b.mixin(b),b.each(["pop","push","reverse","shift","sort","splice","unshift"],function(t){var r=i[t];b.prototype[t]=function(){var n=this._wrapped;return r.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0],e.call(this,n)}}),b.each(["concat","join","slice"],function(n){var t=i[n];b.prototype[n]=function(){return e.call(this,t.apply(this._wrapped,arguments))}}),b.prototype.value=function(){return this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return b})}.call(this)},{}]},{},[]); \ No newline at end of file diff --git a/tox.ini b/tox.ini index a9e9d8daf01..5c2ac0e07f0 100644 --- a/tox.ini +++ b/tox.ini @@ -14,6 +14,7 @@ setenv = passenv = CI,TRAVIS,TRAVIS_*,HOME deps = -r requirements/testing.txt + readthedocsext-theme@git+https://github.com/readthedocs/ext-theme.git@main basepython = python3.12 # https://pytest-cov.readthedocs.io/en/latest/debuggers.html @@ -30,19 +31,6 @@ allowlist_externals = sh git -[testenv:ext-theme] -setenv = - PYTHONPATH={toxinidir}/readthedocs:{toxinidir}:{envdir}/ - DJANGO_SETTINGS_MODULE=readthedocs.settings.test - LANG=en_US.UTF-8 - LC_ALL=en_US.UTF-8 - DJANGO_SETTINGS_SKIP_LOCAL=True - RTD_EXT_THEME_ENABLED=True -deps = - -r requirements/testing.txt - readthedocsext-theme@git+https://github.com/readthedocs/ext-theme.git@main - - # This is NOT run in CI builds, it can be used locally for convenience [testenv:docs] description = Build readthedocs user documentation