diff --git a/BAKELITE/README b/BAKELITE/README new file mode 100644 index 0000000..1b89b7f --- /dev/null +++ b/BAKELITE/README @@ -0,0 +1 @@ +This directory contains pdmk libraries which are "in the oven". diff --git a/CREDITS b/CREDITS new file mode 100644 index 0000000..3583d01 --- /dev/null +++ b/CREDITS @@ -0,0 +1,76 @@ +Copyright (c) 2014-2015 CenturyLink, Inc. + + +The Plastic Data Modeling Kit [pdmk] is a 100% JavaScript data modeling toolkit +which leverages many robust JavaScript frameworks and libraries to function. +This file contains a list of these libraries and official project contributors. +Without the support of these libraries and individuals this project [pdmk] +would not be possible. + + + +Support Frameworks and Libraries - + + Plastic - + + jQuery - http://jquery.com/ [MIT License] + jQuery UI - http://jqueryui.com/ [MIT License] + jQuery Context Menu - http://medialize.github.com/jQuery-contextMenu/ [MIT License] + jQuery DynaTree - http://dynatree.googlecode.com/ [MIT License] + jQuery DataTables - http://www.datatables.net/ [BSD License] + jQuery Sparkline - http://omnipotent.net/jquery.sparkline/ [New BSD License] + QUnit - http://qunitjs.com/ [MIT License] + BigInt - http://leemon.com/crypto/BigInt.html [Public Domain] + + Not-Plastic - + + google-code-prettify - https://code.google.com/p/google-code-prettify/ [Apache License 2.0] + + +Core Software Architecture and Plastic Contributors [pdmk] + ___ + _______ / /\ ___ + / ___ \ ___/ / \__ / /\_________ + / /\ ) )__ / / / /__\ / / \ \ + / / \/ / \_\__/__/ / / /\\_ ____ / / _/__ /\ + / /___/ / / ____ / / ___ \/ \ / / _/ _/\ / \ + / _______/ / /\ / / / /\ \___/) /\___ / /_/ _/\\ \ / \ + / /\ \ / / \/ / / / \__\__/ / \ \/ _/\\ \\/ / \ + / / \______/ (__/ / / / / / / / // _ /\\ \\/ / / + / / / (________/ /__/ / /__/ / // / \ \ \\/ / / + /__/ / /\ \ /\ \ / \ \ / //__/ \__\/ / / + \ \ / / /\_______\/ /\__\/ \__\/ / \ \ / \ \ / / + / \__\/ / / /__________________/ / \_\/ \__\ / / + / / \___________/ \= \ /____________ / / + \____________/ \= \ \== \ \= \ / + \= \ \== \ \=== \ \== \ / + \== \ \=== \ \====_____________\/\=== \ / + \=== \ / \====______\/ \====________\/ + \====_______\/ + + Concept - + + Chief Software Architect - John Woodworth + + Design - + + Chief Software Architect - John Woodworth + Software Consultant - Dean Ballew + Graphical Consultant - Shashwath Bindinganaveli Raghavan + + Development - + + Lead Software Developer - John Woodworth + Playbook Consultant - Dean Ballew + + Testing - + + Chief Test Architect - Dean Ballew + Test Architect - Shashwath Bindinganaveli Raghavan + + Official [pdmk] Code Maintainers - + + Chief Software Architect - John Woodworth + Playbook Consultant - Dean Ballew + + diff --git a/LICENSE-MIT b/LICENSE-MIT new file mode 100644 index 0000000..2fd9aed --- /dev/null +++ b/LICENSE-MIT @@ -0,0 +1,23 @@ +Copyright (c) 2014-2015 CenturyLink, Inc. + + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + diff --git a/MINIFY/README b/MINIFY/README new file mode 100644 index 0000000..c0beb07 --- /dev/null +++ b/MINIFY/README @@ -0,0 +1 @@ +This directory will create a "minified" version of pdmk. diff --git a/MINIFY/minify.sh b/MINIFY/minify.sh new file mode 100755 index 0000000..cd0f645 --- /dev/null +++ b/MINIFY/minify.sh @@ -0,0 +1,128 @@ +#!/bin/bash + +##-------------------------------------------------------------------## +##///////////////////////////////////////////////////////////////////## +VERSION=1.0.0b +COPYRIGHT=' +/*! +/ COPYRIGHT (c) 2014 CenturyLink, Inc. +/ SEE LICENSE-MIT FOR LICENSE TERMS +/ SEE CREDITS FOR CONTRIBUTIONS AND CREDITS FOR THIS PROJECT +/ AUTHOR: John R B Woodworth +/ SUPPORT CONTACT: funwithplastic@ctl.io + ___ + _______ / /\ ___ + / ___ \ ___/ / \__ / /\_________ + / /\ ) )__ / / / /__\ / / \ \ + / / \/ / \_\__/__/ / / /\\_ ____ / / _/__ /\ + / /___/ / / ____ / / ___ \/ \ / / _/ _/\ / \ + / _______/ / /\ / / / /\ \___/) /\___ / /_/ _/\\ \ / \ + / /\ \ / / \/ / / / \__\__/ / \ \/ _/\\ \\/ / \ + / / \______/ (__/ / / / / / / / // _ /\\ \\/ / / + / / / (________/ /__/ / /__/ / // / \ \ \\/ / / + /__/ / /\ \ /\ \ / \ \ / //__/ \__\/ / / + \ \ / / /\_______\/ /\__\/ \__\/ / \ \ / \ \ / / + / \__\/ / / /__________________/ / \_\/ \__\ / / + / / \___________/ \= \ /____________ / / + \____________/ \= \ \== \ \= \ / + \= \ \== \ \=== \ \== \ / + \== \ \=== \ \====_____________\/\=== \ / + \=== \ / \====______\/ \====________\/ + \====_______\/ + */ +' +##///////////////////////////////////////////////////////////////////## +##-------------------------------------------------------------------## + +function dieError() { + echo $0 Ver. $VERSION + echo "Usage: $0" + echo "Terminating with exit code ${2-255}:" + echo " ${1-An error has occured}" # Message + exit ${2-255} # Exit Code +} + +function sweepArgsFor() { # Bruteforce Option Matcher + matchTo=$1; shift; + retVal=0 + while [ $# -gt 0 ]; do + [ "$1" = "$matchTo" ] && retVal=1 + shift + done + return $retVal +} + +# Check For Disabling Of Library Inclusion +sweepArgsFor 'nojq' $* # Disable jQuery Libraries ?? +OPT_NOJQ=$? +sweepArgsFor 'nobi' $* # Disable BigInt Libraries ?? +OPT_NOBI=$? +sweepArgsFor 'nora' $* # Disable rangy Libraries ?? +OPT_NORA=$? +sweepArgsFor 'nocm' $* # Disable contextMenu Libraries ?? +OPT_NOCM=$? +sweepArgsFor 'nosl' $* # Disable SparkLine Libraries ?? +OPT_NOSL=$? +sweepArgsFor 'nody' $* # Disable Dynatree Libraries ?? +OPT_NODY=$? +sweepArgsFor 'nodt' $* # Disable DataTables Libraries ?? +OPT_NODT=$? +sweepArgsFor 'enqu' $* # Enable QUinit Libraries ?? +OPT_ENQU=$? + +export COPYRIGHT +[ -e "$(which dirname 2> /dev/null)" ] || dieError "Unable to locate 'dirname' utility" 10 +[ -e "$(which xargs 2> /dev/null)" ] || dieError "Unable to locate 'xargs' utility" 15 +[ -e "$(which echo 2> /dev/null)" ] || dieError "Unable to locate 'echo' utility" 20 +[ -e "$(which java 2> /dev/null)" ] || dieError "Unable to locate 'java' utility" 25 +[ -e "$(which perl 2> /dev/null)" ] || dieError "Unable to locate 'perl' utility" 30 +[ -e "$(which grep 2> /dev/null)" ] || dieError "Unable to locate 'grep' utility" 35 +[ -e "$(which sed 2> /dev/null)" ] || dieError "Unable to locate 'sed' utility" 40 +[ -e "$(which cat 2> /dev/null)" ] || dieError "Unable to locate 'cat' utility" 45 +[ -e "$(which cp 2> /dev/null)" ] || dieError "Unable to locate 'cp' utility" 50 +cd "$(dirname $0)" +rm pdmk-min.js pdmk-min.css 2> /dev/null +echo "Minifying files:" + +( + [ $OPT_NOJQ -gt 0 ] || echo ../scripts/jquery.js + [ $OPT_NOJQ -gt 0 ] || echo ../scripts/jquery-ui.custom.js + [ $OPT_NODY -gt 0 ] || echo ../scripts/jquery.dynatree.js + [ $OPT_NOCM -gt 0 ] || echo ../scripts/jquery.contextMenu.js + [ $OPT_NOBI -gt 0 ] || echo ../scripts/BigInt.js + [ $OPT_NORA -gt 0 ] || echo ../scripts/rangy.js + echo ../scripts/PlasticGlue.js + echo ../scripts/PlasticDatastore.js + echo ../scripts/PlasticStack.js + echo ../scripts/PlasticView.js + echo ../scripts/PlasticWidget.js + [ $OPT_NOSL -gt 0 ] || echo ../scripts/jquery.sparkline.js + [ $OPT_NODT -gt 0 ] || echo ../scripts/jquery.dataTables.js + [ $OPT_NODT -gt 0 ] || echo ../scripts/dataTables.scroller.js + [ $OPT_NODT -gt 0 ] || echo ../scripts/ui.multiselect.js + [ $OPT_ENQU -gt 0 ] && echo ../scripts/qunit.js +) | xargs cat \ + | sed 's#/\*!#/\* #g' \ + | ( [ $OPT_ENQU -gt 0 ] && cat || grep -v -- '-##QUNIT##-' ) \ + | perl -ne 'print $_ unless ($_ =~ /(? +/ SUPPORT CONTACT: funwithplastic@ctl.io + ___ + _______ / /\ ___ + / ___ \ ___/ / \__ / /\_________ + / /\ ) )__ / / / /__\ / / \ \ + / / \/ / \_\__/__/ / / /\\_ ____ / / _/__ /\ + / /___/ / / ____ / / ___ \/ \ / / _/ _/\ / \ + / _______/ / /\ / / / /\ \___/) /\___ / /_/ _/\\ \ / \ + / /\ \ / / \/ / / / \__\__/ / \ \/ _/\\ \\/ / \ + / / \______/ (__/ / / / / / / / // _ /\\ \\/ / / + / / / (________/ /__/ / /__/ / // / \ \ \\/ / / + /__/ / /\ \ /\ \ / \ \ / //__/ \__\/ / / + \ \ / / /\_______\/ /\__\/ \__\/ / \ \ / \ \ / / + / \__\/ / / /__________________/ / \_\/ \__\ / / + / / \___________/ \= \ /____________ / / + \____________/ \= \ \== \ \= \ / + \= \ \== \ \=== \ \== \ / + \== \ \=== \ \====_____________\/\=== \ / + \=== \ / \====______\/ \====________\/ + \====_______\/ + */.plastic-root{position:absolute;top:0;left:0;width:100%;height:100%;background:#fff;overflow:hidden}.plastic-root span[activate]{background-color:#ddf;cursor:pointer}.plastic-root span[activate=""]{display:none}.plastic-root .ui-widget-overlay{cursor:not-allowed}.plastic-width-auto{width:100%}.plastic-height-auto{width:100%}.plastic-checkable-icon{background-color:#efefef;border:solid #6e6e6e 1px}.plastic-checkable-icon:hover{cursor:pointer}.plastic-disabled .plastic-checkable-icon:hover{cursor:not-allowed}.Plastic *[disabled],.Plastic .plastic-disabled{cursor:not-allowed !important}.Plastic input.plastic-disabled{color:#aaa}.plastic-commit-pane{position:absolute;top:0;left:0;width:100%;height:100%;cursor:wait;background-image:url(../images/apng/liquid1_0.png);z-index:1110;display:none}.plastic-commit-pane.apng-level0{background-image:url(../images/apng/liquid1_0.png)}.plastic-commit-pane.apng-level1{background-image:url(../images/apng/liquid1_1.png)}.plastic-commit-pane.apng-level2{background-image:url(../images/apng/liquid1_2.png)}.plastic-commit-pane.apng-level3{background-image:url(../images/apng/liquid1_3.png)}.plastic-commit-pane.apng-level4{background-image:url(../images/apng/liquid1_4.png)}.plastic-commit-pane.apng-level5{background-image:url(../images/apng/liquid1_5.png)}.plastic-commit-pane.apng-level6{background-image:url(../images/apng/liquid1_6.png)}.plastic-commit-pane.apng-level7{background-image:url(../images/apng/liquid1_7.png)}.plastic-commit-pane.apng-level8{background-image:url(../images/apng/liquid1_8.png)}.plastic-commit-pane.apng-level9{background-image:url(../images/apng/liquid1_9.png)}.plastic-commit-pane.apng-level10{background-image:url(../images/apng/liquid1_10.png)}.plastic-commit-pane.apng-level11{background-image:url(../images/apng/liquid1_11.png)}.plastic-commit-pane.apng-level12{background-image:url(../images/apng/liquid1_12.png)}.plastic-commit-pane.apng-level13{background-image:url(../images/apng/liquid1_13.png)}.plastic-commit-pane.apng-level14{background-image:url(../images/apng/liquid1_14.png)}.plastic-commit-pane.apng-level15{background-image:url(../images/apng/liquid1_15.png)}.plastic-commit-pane em{position:absolute;width:100%;height:100%;text-align:center;top:50%;font-size:45px;font-weight:bold;margin-top:-22.5px;color:#cff}.ui-dialog-title,.ui-dialog-buttonset{font-size:87%}.plastic-field-group-gang-conflict{font-size:82%}.plastic-field-group-title{position:relative;min-height:75px;text-align:center;font-weight:bold;padding:15px}.plastic-field-group-gang-dialog{position:relative;clear:left;width:97%;margin-top:6px}.plastic-field-group-gang-dialog tr td{text-align:right}.plastic-field-group-gang-dialog tr td select{width:97%}.plastic-field-group-message{position:relative;margin-top:16px;width:97%;font-size:14px;font-weight:normal}.plastic-message-icon-large{position:relative;width:75px;height:75px;vertical-align:text-bottom;border:0}.plastic-message-icon-medium{position:relative;width:48px;height:48px;vertical-align:text-bottom;border:0}.plastic-message-icon-small{position:relative;width:24px;height:24px;vertical-align:text-bottom;border:0}.plastic-system-cart{position:absolute;z-index:1111;width:16px;height:16px;top:0;right:24px;padding:0;border:solid #fa3 2px}.plastic-system-cart:hover{cursor:pointer;border-style:outset}.plastic-system-cart:active{cursor:pointer;border-style:inset}.plastic-system-cart.plastic-system-cart-empty{padding:1px;border:solid #c0c0c7 1px}.plastic-system-cart-list{position:absolute;top:0;left:0;width:100%;height:100%;overflow:auto;z-index:1112;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#efe;border:3px double #afc}.plastic-system-feedback{position:absolute;z-index:1111;width:600px;height:0;background-color:#3a9996}.plastic-system-feedback.plastic-system-feedback-topleft{top:6px;left:6px}.plastic-system-feedback.plastic-system-feedback-topright{top:6px;right:6px}.plastic-system-feedback.plastic-system-feedback-bottomleft{bottom:6px;left:6px}.plastic-system-feedback.plastic-system-feedback-bottomright{bottom:6px;right:6px}.plastic-system-feedback-icontab{position:absolute;width:24px;height:24px;margin:4px;background-color:#3a9996;display:none}.plastic-system-feedback-icontab.plastic-system-feedback-topleft{bottom:-28px;left:-4px}.plastic-system-feedback-icontab.plastic-system-feedback-topright{bottom:-28px;right:-4px}.plastic-system-feedback-icontab.plastic-system-feedback-bottomleft{top:-28px;left:-4px}.plastic-system-feedback-icontab.plastic-system-feedback-bottomright{top:-28px;right:-4px}.plastic-system-feedback-icontab.plastic-system-feedback-waiting{display:block}.plastic-system-feedback-active .plastic-system-feedback-icontab.plastic-system-feedback-waiting{display:none}.plastic-system-feedback-control{position:absolute;top:5px;left:5px;height:20px;z-index:1112;font-size:10px;font-family:sans-serif;color:#9fc;display:none}.plastic-system-feedback-control span{margin:2px;padding:1px;border:solid #9fc 1px}.plastic-system-feedback-control input{position:relative;top:3px;left:-2;margin-left:0;margin-right:0}.plastic-system-feedback-frame{position:absolute;width:590px;height:88%;top:30px;left:5px;overflow-y:auto;background-color:#6caaa9;display:none}.plastic-system-feedback-timestamp{position:absolute;font-size:10px;top:2px;right:2px}.plastic-system-feedback-title{padding:10px;font-size:15px;font-weight:bold}.plastic-system-feedback-reference{position:relative;font-style:italic;font-weight:bold;text-decoration:none}.plastic-system-feedback-message{position:relative;z-index:1112;font-size:12px;padding:5px;margin:4px;background-color:#fff;border:solid #396 2px}.plastic-system-feedback-message.plastic-system-feedback-success{color:#093;background-color:#9fa;border:solid #093 2px}.plastic-system-feedback-message.plastic-system-feedback-warning{color:#660;background-color:#ff6;border:solid #ffc 2px}.plastic-system-feedback-message.plastic-system-feedback-information{color:#369;background-color:#dff;border:solid #369 2px}.plastic-system-feedback-message.plastic-system-feedback-question{color:#03a;background-color:#ccf;border:solid #03a 2px}.plastic-system-feedback-message.plastic-system-feedback-error{color:#933;background-color:#f9a;border:solid #930 2px}.plastic-system-feedback-success a.plastic-system-feedback-reference{color:#093}.plastic-system-feedback-warning a.plastic-system-feedback-reference{color:#660}.plastic-system-feedback-information a.plastic-system-feedback-reference{color:#369}.plastic-system-feedback-question a.plastic-system-feedback-reference{color:#03a}.plastic-system-feedback-error a.plastic-system-feedback-reference{color:#933}.plastic-system-feedback-buttonbar{position:relative;z-index:1112;text-align:right}.plastic-field-group-editor{position:relative;margin-top:26px;width:97%}.plastic-field-group-editor table{width:98%;margin-left:auto;margin-right:auto;border:solid #acc 1px}.plastic-field-group-editor table th{background-color:#cef;border:solid #369 1px}.plastic-field-group-edit-data{width:96%;font-size:85%;font-weight:bold}.plastic-field-group-edit-label{position:relative;padding-left:6px;padding-right:1px;text-align:right}.plastic-field-group-control{text-align:left}.plastic-field-group-table>thead>tr>th.plastic-grid-flagbox{text-align:left}.plastic-field-group-table>thead>tr>th.plastic-grid-flagbox>span{display:none}.plastic-view-list-base>thead>tr>th.plastic-list-flagbox{text-align:left}.plastic-view-list-base tr:hover td,.plastic-field-group-table tr:hover td{border:solid #99f 2px;padding:1px 7px !important}.plastic-view-list-base tr.plastic-view-list-selected:hover td,.plastic-field-group-table tr.plastic-field-group-selected:hover td{border:solid #36f 2px;padding:1px 7px !important}.plastic-view-list-base>thead>tr>th.plastic-list-flagbox>span{display:none}.plastic-view-list-edit{position:relative;width:100%;height:100%;font-size:11px;margin:0;left:-6px}#qunit{position:absolute;width:100%;height:100%;overflow:auto;z-index:10000;display:none}.green-plastic,green-plastic *{background-color:#9f9 !important}.Plastic{min-width:100px;min-height:100px}.Plastic.pre-init{visibility:hidden}.plastic-loading{background:#197772 url(../images/pdmk-loading1.jpg) repeat left top}.plastic-committing{background:#197772 url(../images/liquid1.gif) repeat left top}.plastic-height-fixed{min-height:0}.plastic-width-fixed{min-width:0}.plastic-ping{background:#ff9;border:solid #fc0 .1px}.plastic-subcomponent{position:relative;width:95%;margin-left:auto;margin-right:auto;padding-bottom:4px;border:solid transparent 2px}.plastic-subcomponent>.Plastic{height:165px;border:none !important}.plastic-dirty{background-color:#ff9 !important}.dynatree-active.plastic-dirty,.dynatree-active.plastic-dirty *{background-color:#ca0 !important}.plastic-deleted{background-color:#9af !important;text-decoration:line-through !important;text-decoration-color:#66f !important}.dynatree-active.plastic-deleted,.dynatree-active.plastic-deleted *{background-color:#00f !important}.plastic-isolated{background-color:#9f9 !important;text-decoration-color:#6f6 !important}.dynatree-active.plastic-isolated,.dynatree-active.plastic-isolated *{background-color:#0a0 !important}.plastic-error{background-color:#f66 !important}.dynatree-active.plastic-error,.dynatree-active.plastic-error *{background-color:#f00 !important}.plastic-dirty .plastic-field-group-edit{background-color:#ff9 !important}.plastic-error .plastic-field-group-edit{background-color:#f66 !important}.plastic-deleted .plastic-field-group-edit{background-color:#9af !important;text-decoration:line-through !important;text-decoration-color:#66f !important}.plastic-deleted a.ui-state-default{background:0}.plastic-field-group-selected td,.plastic-view-list-selected td{border:2px solid #36f;padding:1px 7px !important}.dynatree-node{position:relative}table.dataTable tr td.plastic-dirty{border:solid #ca0 2px !important}table.dataTable tr.odd td.plastic-dirty{background-color:#ff9 !important}table.dataTable tr.even td.plastic-dirty{background-color:#ffffc0 !important}table.dataTable tr.odd td.plastic-dirty.sorting_1{background-color:#ffffa0 !important}table.dataTable tr.odd td.plastic-dirty.sorting_2{background-color:#ffffa9 !important}table.dataTable tr.odd td.plastic-dirty.sorting_3{background-color:#ffffb0 !important}table.dataTable tr.even td.plastic-dirty.sorting_1{background-color:#ffffb9 !important}table.dataTable tr.even td.plastic-dirty.sorting_2{background-color:#ffffc0 !important}table.dataTable tr.even td.plastic-dirty.sorting_3{background-color:#ffffc9 !important}table.dataTable tr td.plastic-error{border:solid #c33 2px !important}table.dataTable tr.odd td.plastic-error{background-color:#ffd9d9 !important;color:red}table.dataTable tr.even td.plastic-error{background-color:#fff0f0 !important;color:red}table.dataTable tr.odd td.plastic-error.sorting_1{background-color:#ffd0d0 !important}table.dataTable tr.odd td.plastic-error.sorting_2{background-color:#ffd9d9 !important}table.dataTable tr.odd td.plastic-error.sorting_3{background-color:#ffe0e0 !important}table.dataTable tr.even td.plastic-error.sorting_1{background-color:#ffe9e9 !important}table.dataTable tr.even td.plastic-error.sorting_2{background-color:#fff0f0 !important}table.dataTable tr.even td.plastic-error.sorting_3{background-color:#fff9f9 !important}table.dataTable tr.plastic-deleted.odd td{background-color:#c0c0ff !important}table.dataTable tr.plastic-deleted.even td{background-color:#d0d0ff !important}table.dataTable tr.plastic-deleted.odd td.sorting_1{background-color:#a0a0ff !important}table.dataTable tr.plastic-deleted.odd td.sorting_2{background-color:#c0c0ff !important}table.dataTable tr.plastic-deleted.odd td.sorting_3{background-color:#e0e0ff !important}table.dataTable tr.plastic-deleted.even td.sorting_1{background-color:#b0b0ff !important}table.dataTable tr.plastic-deleted.even td.sorting_2{background-color:#d0d0ff !important}table.dataTable tr.plastic-deleted.even td.sorting_3{background-color:#f0f0ff !important}.plastic-action-disabled{opacity:.45;cursor:auto !important}.NOPlastic{position:relative;width:150px;height:150px;margin:0;padding:0;border:solid red 1px}.ui-tabs-hide{display:none !important}.ui-datepicker{font-size:80% !important}.ui-datepicker-trigger{position:absolute}.ui-tabs .ui-tabs-panel.plastic-tab-child{padding:4px;border:solid #cfcfcf 1px}.Plastic.view-tree{height:99.9%;overflow:auto}.Plastic.view-tree>.dynatree-container{padding-top:0;overflow:visible;border:none !important;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.plastic-treenode-state{position:absolute;top:0;left:0;width:100%;height:100%}.plastic-treenode-state.plastic-disabled{background-color:rgba(255,255,255,0.4) !important}.plastic-treenode-summary{position:relative;width:16px;height:16px;padding-left:3px}.plastic-stack{width:100%;height:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.plastic-stack-hidden{display:none}.plastic-stack-active{display:block}.plastic-stack-status.plastic-component-loading{background-image:url(../images/loading.gif);background-repeat:no-repeat}.stack-stack .Plastic{overflow:auto}.stack-tab-wrap{position:absolute;width:100%;height:100%;left:0;top:0;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;border-top:solid transparent 45px}.stack-tab-wrap{overflow:visible !important}.stack-tab-wrap>*{overflow:hidden}.stack-tab-wrap>.stack-vsplit{overflow:visible}.stack-tab-wrap>.Plastic{position:absolute;width:100%;height:100%;top:0;left:0;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.stack-tab-sizeframe{position:absolute;width:0;height:100%;top:0;left:0;border:solid transparent 1px}.stack-tab-sizer{position:relative;width:100%;top:-45px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.stack-tab-sizer>ul{position:relative}.stack-tab-sizer>ul>li>a{font-size:70%;font-weight:bold}.plastic-split-horizontal{position:absolute;width:100%;height:100px}.plastic-split-horizontal>.Plastic{position:absolute}.plastic-hsplit{position:absolute;width:0;height:100%;top:-2px !important;left:0;margin-left:-4px;cursor:ew-resize;z-index:100;border:2px inset #696969}.plastic-hsplit:hover{border:2px outset #c0c0c0 !important}.plastic-hsplit-child{position:absolute !important;top:0;left:0;width:100%;height:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.plastic-hsplit-child>.Plastic{position:absolute;top:0;left:0}.Plastic.stack-hsplit:first-child{padding-left:0}.stack-hsplit{position:absolute;height:100%}.plastic-hsplit-wrap{position:absolute;width:0;height:0;top:0;left:0;cursor:move;padding:100px;min-width:inherit;min-height:inherit;background-image:url('about:blank');z-index:-1;border:solid #dfdfdf 1px}.plastic-split-vertical{position:absolute;width:100px;height:100%}.plastic-split-vertical>.Plastic{position:absolute}.plastic-vsplit{position:absolute;width:100%;height:0;top:0;left:-2px !important;margin-top:-4px;cursor:ns-resize;z-index:100;border:2px inset #696969}.plastic-vsplit:hover{border:2px outset #c0c0c0 !important}.plastic-vsplit-child{position:absolute !important;top:0;left:0;width:100%;height:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.plastic-vsplit-child>.Plastic{position:absolute;top:0;left:0}.Plastic.stack-vsplit:first-child{padding-top:0}.stack-vsplit{position:absolute;width:100%}.plastic-vsplit-wrap{position:absolute;width:0;height:0;top:0;left:0;cursor:move;padding:100px;min-width:inherit;min-height:inherit;background-image:url('about:blank');z-index:-1;border:solid #dfdfdf 1px}.plastic-undefined-component{position:relative;font-size:120%;font-weight:bold;color:red;z-index:100000;border:outset #f00 2px}.Plastic.view-list .dataTables_wrapper,.Plastic.view-list .dataTables_scroll{width:100%;height:100%}.Plastic.view-list .dataTables_scrollHeadInner{padding-left:0 !important}.Plastic.view-list .dataTables_scroll{position:relative;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;border-top:solid transparent 1px}.Plastic.view-list .dataTables_scrollBody{position:absolute !important;top:0;left:0}.Plastic.view-list td,.Plastic.view-list th{white-space:nowrap;font-size:11px}.plastic-widget{position:relative;width:100%;height:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}ul.ui-autocomplete{max-height:200px;font-size:12px;overflow:auto;z-index:110}ul.ui-autocomplete a{line-height:1 !important}li.plastic-autofill-empty div{font-style:italic;color:#aaa;cursor:not-allowed}li.plastic-autofill-selected a{font-weight:bold !important}.plastic-form-inlinehelp{position:relative;font-style:italic;line-height:180%;font-size:90%;padding-top:10px;margin:0 30px}.plastic-form-title{position:relative;width:95%;padding:10px;text-align:center;font-size:100%;font-weight:bold}.plastic-form-data{position:relative;width:95%;margin-left:auto;margin-right:auto}.plastic-form-data a{text-decoration:none;font-weight:bold;color:#000}.plastic-field-wrap{position:relative;top:0;left:0;border:0}.plastic-field-label{position:relative;padding-left:6px;padding-right:1px;text-align:right;font-size:80%}.plastic-field-value{position:relative;padding-left:3px;padding-right:3px;font-size:80%}.plastic-field-suffix{position:relative;padding-left:3px;padding-right:3px;font-size:80%}.plastic-field-help{position:relative;padding-left:3px;padding-right:3px;padding-bottom:8px;text-align:center;font-style:italic;line-height:180%;font-size:60%}.plastic-field-text,.plastic-field-select{position:relative;width:100%;font-size:85%;font-weight:bold;border:inset #636363 2px}.plastic-field-dropdown{position:absolute;width:20px;height:106%;top:1px;right:-5px;margin-top:-1px;z-index:100;cursor:pointer;background:url(../images/ui-icons_222222_256x240.png) no-repeat -64px -192px #eee;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:0 0 4px 4px;border:outset #696969 2px}.plastic-field-dropdown-state{position:absolute;width:100%;height:100%}.plastic-field-dropdown-state.plastic-disabled{background-color:rgba(255,255,255,0.6)}.plastic-field-group-wrapper{width:100%;margin:0 -4px -4px -4px}fieldset.plastic-field-group,fieldset.plastic-subcomponent-field{position:relative;width:100%;display:table-column;font-size:80%;overflow:auto;margin-top:5px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}fieldset.plastic-field-group.iefix,fieldset.plastic-subcomponent-field.iefix{display:block}.plastic-subcomponent>fieldset.plastic-subcomponent-field{overflow:hidden;margin:0;font-size:100%;padding:5px}.plastic-subcomponent>fieldset.plastic-subcomponent-field>.view-list{overflow:hidden}.plastic-subcomponent>fieldset.plastic-subcomponent-field>div>*{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.plastic-subcomponent-legend{font-size:80%;padding:6px 11px;background-color:#cef;border-radius:4px;margin-left:2px;margin-top:2px;border:solid #369 1px}.plastic-field-group-legend{padding:6px 11px;background-color:#cef;border-radius:4px;border:solid #369 1px}.plastic-field-group-manage{position:relative:top:2px;left:0;width:16px;height:16px;float:right;border:0}.plastic-field-group-manage:hover{cursor:pointer}.plastic-field-group-create,.plastic-subcomponent-create{background-image:url(../images/add-icon1.png)}.plastic-field-group-delete,.plastic-subcomponent-delete{background-image:url(../images/del-icon1.png)}.plastic-field-group-pressed{top:4px;left:2px}.plastic-field-group-edit{position:relative;width:100%;height:100%;font-size:11px;margin:0;left:-2px}.plastic-field-group-label{position:relative;padding-left:6px;padding-right:1px;text-align:right}.plastic-commitgroup-wrap{position:relative;left:3%;width:95%;padding-top:14px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.plastic-commitgroup-wrap .plastic-field-group{margin-left:0;margin-right:0}.plastic-commitgroup-datastore{position:relative;left:-2%}.plastic-commitgroup th{background-color:#efefef;padding:4px 10px;border:solid #9f9f9f 2px}.plastic-commitgroup-item{margin-top:8px}.plastic-commitgroup-include{position:relative;top:2px}.plastic-commitgroup-title{font-size:14px;font-weight:bold;padding:3px;margin-top:10px;background-color:#cfcfcf}.plastic-commitgroup-title .plastic-deleted{color:red}.plastic-commitgroup-item-name{font-weight:bold;padding:2px 6px 2px 2px;text-align:right;border:solid #cfcfcf 2px}.plastic-commitgroup-item-before{padding:2px 6px;border:solid #f33 2px}.plastic-commitgroup-item-after{padding:2px 6px;border:solid #3f3 2px}textarea.plastic-field-data{resize:none;font-size:100%;height:45px}textarea.plastic-field-data.plastic-field-tall{height:125px}.Plastic.widget-search,.Plastic.widget-breadcrumb,.Plastic.widget-buttonbar{position:absolute;overflow:visible;overflow-x:visible;overflow-y:visible}.plastic-search-help{position:relative;top:24px;left:-90px;width:100%;height:350px;padding-left:90px;display:none;background-color:#f0f6ff;z-index:108;border:inset #cff 2px}.plastic-search-help-active{display:block}.plastic-search-help>div{position:absolute;top:0;left:0;padding:3px;font-size:12px;font-family:sans-serif}.plastic-search-help>.plastic-search-help-title{top:auto;bottom:0;margin:0 4px 0 0;width:100%;height:22px;font-size:14px;font-weight:bold;background-color:#9cf;border:outset #99c 2px}.plastic-search-help>.plastic-search-help-content{top:0;width:99%;height:304px;padding:5px;overflow-y:auto}.plastic-search-help-section{position:relative;float:left;padding:5px;margin:2px;width:250px;height:60px;font-size:11px;font-weight:bold;border:solid #ccc 1px}.plastic-search-help-section.plastic-search-help-section-active{padding:4px;background-color:#aff;color:#36f;border:solid #36f 2px}.plastic-search-help-example{position:relative;font-size:11px;font-weight:bold;font-style:italic;background-color:#aaa;border:inset #999 2px}.plastic-search-help-subdue{color:#ccc;font-style:italic;font-weight:normal}.plastic-search-help-hint{position:relative;font-size:8pt;font-style:italic;color:#3c3}.plastic-search-help-content-interactive{position:relative;width:98%;padding:10px;font-size:11px;background-color:#dfe;border:solid #9f9 1px}.plastic-search-help-content-interactive:empty{display:none}.plastic-search-help-content-interactive span{cursor:pointer;font-weight:bold;color:#229}.plastic-search-help-content-instructions span{cursor:pointer;font-weight:bold;color:#229}.plastic-search-wrap{position:absolute;width:100%;height:100%;top:0;left:0;padding:0 3px 3px 90px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;border:solid transparent 4px}.plastic-search-active{z-index:110}.plastic-search-left{position:relative;width:100%;float:left;margin-left:-90px}.plastic-search-right{position:relative;width:72x;float:left;margin-left:auto;margin-right:auto}.plastic-search-text{position:relative;top:1px;width:100%;height:16px;padding:2px;white-space:nowrap;overflow:hidden;font-size:12px !important;font-weight:bold;color:#606060;background-color:#f6faff;border:inset #fca 2px}.plastic-search-text br{display:none}.plastic-search-text span{background-color:#dfe;border:solid #ddf 1px}.plastic-search-text *{display:inline;white-space:nowrap}.plastic-search-text.plastic-search-text-error{background-color:#f66;border:inset #f00 2px}.plastic-search-text .plastic-search_incomplete{color:#fdd;background-color:red;border:0}.plastic-search-text .plastic-search-selected.plastic-search_incomplete{font-weight:bold;color:#fdd;background-color:red;border:solid #9fa 1px}.plastic-search-text .plastic-search_boolean_sep{cursor:pointer}.plastic-search-text .plastic-search-selected{font-weight:bold;background-color:#cfd;color:#222;border:solid #9fa 1px}.plastic-search-text .plastic-search-selected.plastic-search-unbalanced{font-weight:bold;color:#fdd;background-color:red;border:solid #f9a 1px}.plastic-search-text .plastic-search-balance{font-weight:bold;background-color:#fff;border:solid #f9a 1px}.plastic-search-button{position:relative;width:100%;padding:2px 5px;margin-left:6px;font-size:14px;font-weight:bold;text-align:right;color:#ffc;background-image:url(../images/plastic-search.png);background-repeat:no-repeat;background-position:3px 2px;background-color:#fa6;border:outset #fca 2px}.plastic-search-button:hover{padding:1px 4px;border:outset #fca 3px}.plastic-search-button.plastic-search-pressed{padding:2px 3px 0 5px;border:inset #99c 3px}.plastic-search-button.plastic-disabled,.plastic-search-button.plastic-disabled:hover{background-color:#fca;border:outset #fca 2px;padding:2px 5px}.Plastic.widget-context{display:none}.Plastic.widget-menu ul{postition:relative;height:100%;padding:0;margin:0;background-color:#efefef}.Plastic.widget-menu li{postition:relative;font-family:sans-serif;font-size:12px;list-style-type:none}.plastic-menu-number{margin-right:5px}.plastic-menu-item{background-color:#eee;padding:2px 2px 2px 24px}.plastic-menu-item:hover{background-color:#39f;cursor:pointer}.plastic-menu-separator{border-bottom:1px solid #ddd;padding-bottom:0}.Plastic.widget-buttonbar{font-size:12px;top:auto}.plastic-buttonbar-wrap{position:relative;height:100%;width:100%;overflow:hidden}.plastic-buttonbar-slide-wrap{position:relative;height:100%;width:100%;overflow:hidden;z-index:1}.plastic-buttonbar-horizontal .plastic-buttonbar-slider{position:absolute;top:0;left:0;height:100%;width:3000px}.plastic-buttonbar-horizontal .plastic-buttonbar-child{position:relative;height:100%;float:left;cursor:not-allowed}.plastic-buttonbar-vertical .plastic-buttonbar-slider{position:absolute;top:0;left:0;height:3000px;width:100%}.plastic-buttonbar-vertical .plastic-buttonbar-child{position:relative;width:100%;cursor:not-allowed}.plastic-buttonbar-child .plastic-buttonbar-button{position:relative;height:100%;width:100%}.plastic-buttonbar-before,.plastic-buttonbar-after{position:absolute;top:0;height:100%;width:20px;background-image:url(../images/fuzzx24px.png);background-repeat:repeat-y;z-index:2;display:none}.plastic-buttonbar-before{left:-4px;cursor:e-resize}.plastic-buttonbar-after{right:-4px;cursor:w-resize}.plastic-buttonbar-wrap .ui-button-disabled{z-index:-1}.Plastic.widget-breadcrumb{font-size:10px;font-style:italic;font-weight:bold;color:#039}.plastic-breadcrumb-link{text-decoration:none;color:#039}.plastic-breadcrumb-slide-wrap{position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.plastic-breadcrumb-slider{position:absolute;top:0;left:0;height:100%;white-space:nowrap}.plastic-breadcrumb-before,.plastic-breadcrumb-after{position:absolute;top:0;height:100%;background-color:#fff;padding:0 5px;z-index:1;display:none}.plastic-breadcrumb-before{left:0;cursor:e-resize}.plastic-breadcrumb-after{right:0;text-align:right;cursor:w-resize}.plastic-dialog-content{margin:5px;font-size:87%;text-align:center}.Plastic.widget-dialog{width:100% !important}.widget-dialog .plastic-stack{height:100% !important}.plastic-filterlist-wrap{position:relative;height:100%;margin-left:10px;left:-10px;font-size:75%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;border-top:solid transparent 50px}fieldset.plastic-subcomponent-field>.Plastic.widget-filterlist{height:180px}.plastic-filterlist-top{position:absolute;width:100%;height:50px;top:-50px;left:-1px;background:url(../images/ui-bg_glass_75_e6e6e6_1x400.png) repeat-x scroll 50% 50% #e6e6e6;border:solid #ccc 1px}.plastic-filterlist-title{font-size:12px;font-weight:bold}.plastic-filterlist-bottom{position:absolute;width:100%;height:100%}.plastic-filterlist-left,.plastic-filterlist-right{position:absolute;left:0;top:0;height:100%;background-color:#e6e6e6;border:solid #333 1px}.plastic-filterlist-left{width:60%}.plastic-filterlist-right{left:10px;width:40%;margin-left:60%}.plastic-filterlist-selected,.plastic-filterlist-complete{position:relative;width:100%;height:100%;margin:0;overflow:auto;padding:0;list-style-type:none;-moz-user-select:none}.plastic-filterlist-selected li,.plastic-filterlist-complete li{position:relative;padding-left:28px;white-space:nowrap}.plastic-filterlist-selected li{padding-left:8px}.plastic-filterlist-selected li span.ui-icon,.plastic-filterlist-complete li span.ui-icon{position:absolute;cursor:pointer}.plastic-filterlist-selected li.ui-state-active span.ui-icon,.plastic-filterlist-complete li.ui-state-active span.ui-icon{visibility:visible}.plastic-filterlist-selected li span.ui-icon{left:auto;right:0}.plastic-filterlist-complete li span.ui-icon{left:0;right:auto}.plastic-filterlist-selectall{position:absolute;left:0;bottom:2px;z-index:2;overflow:hidden}.plastic-filterlist-refreshall{position:absolute;left:20px;bottom:2px;z-index:2;overflow:hidden}.plastic-filterlist-undochanges{position:absolute;right:20px;bottom:2px;z-index:2;overflow:hidden}.plastic-filterlist-deselectall{position:absolute;right:0;bottom:2px;z-index:2;overflow:hidden}.plastic-filterlist-selectall span,.plastic-filterlist-deselectall span,.plastic-filterlist-refreshall span,.plastic-filterlist-undochanges span{border:solid #99f 1px}.plastic-filterlist-selectall span:hover,.plastic-filterlist-deselectall span:hover,.plastic-filterlist-refreshall span:hover,.plastic-filterlist-undochanges span:hover{cursor:pointer}.plastic-filterlist-searchwrap{position:absolute;bottom:2px;width:100%;height:24px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;border-left:solid 50px transparent}.plastic-filterlist-search{position:absolute;width:100%;height:20px;right:2px;bottom:0;background-color:#fa6;border:solid #fa6 2px}.plastic-filterlist-search span{position:absolute;right:0;bottom:2px}.plastic-filterlist-search span.ui-icon-cancel{cursor:pointer}.plastic-filterlist-search div{width:100%;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.plastic-filterlist-search input{width:100%;padding-right:14px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;font-size:12px;background-color:#f6faff}.Plastic.widget-filterlist li.plastic-dirty{border:solid #ca0 1px;background-image:none}.Plastic.widget-iframe{overflow:hidden !important}.plastic-iframe-frame{position:relative;top:0;left:0;height:100%;width:100%;border:0}.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-clearfix{min-height:0}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default !important}.ui-icon{display:block;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-accordion .ui-accordion-header{display:block;cursor:pointer;position:relative;margin-top:2px;padding:.5em .5em .5em .7em;min-height:0}.ui-accordion .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-noicons{padding-left:.7em}.ui-accordion .ui-accordion-icons .ui-accordion-icons{padding-left:2.2em}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:.5em;top:50%;margin-top:-8px}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-button{display:inline-block;position:relative;padding:0;line-height:normal;margin-right:.1em;cursor:pointer;vertical-align:middle;text-align:center;overflow:visible}.ui-button,.ui-button:link,.ui-button:visited,.ui-button:hover,.ui-button:active{text-decoration:none}.ui-button-icon-only{width:2.2em}button.ui-button-icon-only{width:2.4em}.ui-button-icons-only{width:3.4em}button.ui-button-icons-only{width:3.7em}.ui-button .ui-button-text{display:block;line-height:normal}.ui-button-text-only .ui-button-text{padding:.4em 1em}.ui-button-icon-only .ui-button-text,.ui-button-icons-only .ui-button-text{padding:.4em;text-indent:-9999999px}.ui-button-text-icon-primary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 1em .4em 2.1em}.ui-button-text-icon-secondary .ui-button-text,.ui-button-text-icons .ui-button-text{padding:.4em 2.1em .4em 1em}.ui-button-text-icons .ui-button-text{padding-left:2.1em;padding-right:2.1em}input.ui-button{padding:.4em 1em}.ui-button-icon-only .ui-icon,.ui-button-text-icon-primary .ui-icon,.ui-button-text-icon-secondary .ui-icon,.ui-button-text-icons .ui-icon,.ui-button-icons-only .ui-icon{position:absolute;top:50%;margin-top:-8px}.ui-button-icon-only .ui-icon{left:50%;margin-left:-8px}.ui-button-text-icon-primary .ui-button-icon-primary,.ui-button-text-icons .ui-button-icon-primary,.ui-button-icons-only .ui-button-icon-primary{left:.5em}.ui-button-text-icon-secondary .ui-button-icon-secondary,.ui-button-text-icons .ui-button-icon-secondary,.ui-button-icons-only .ui-button-icon-secondary{right:.5em}.ui-buttonset{margin-right:7px}.ui-buttonset .ui-button{margin-left:0;margin-right:-.3em}input.ui-button::-moz-focus-inner,button.ui-button::-moz-focus-inner{border:0;padding:0}.ui-datepicker{width:17em;padding:.2em .2em 0;display:none}.ui-datepicker .ui-datepicker-header{position:relative;padding:.2em 0}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{position:absolute;top:2px;width:1.8em;height:1.8em}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:1px}.ui-datepicker .ui-datepicker-prev{left:2px}.ui-datepicker .ui-datepicker-next{right:2px}.ui-datepicker .ui-datepicker-prev-hover{left:1px}.ui-datepicker .ui-datepicker-next-hover{right:1px}.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span{display:block;position:absolute;left:50%;margin-left:-8px;top:50%;margin-top:-8px}.ui-datepicker .ui-datepicker-title{margin:0 2.3em;line-height:1.8em;text-align:center}.ui-datepicker .ui-datepicker-title select{font-size:1em;margin:1px 0}.ui-datepicker select.ui-datepicker-month-year{width:100%}.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%}.ui-datepicker table{width:100%;font-size:.9em;border-collapse:collapse;margin:0 0 .4em}.ui-datepicker th{padding:.7em .3em;text-align:center;font-weight:bold;border:0}.ui-datepicker td{border:0;padding:1px}.ui-datepicker td span,.ui-datepicker td a{display:block;padding:.2em;text-align:right;text-decoration:none}.ui-datepicker .ui-datepicker-buttonpane{background-image:none;margin:.7em 0 0 0;padding:0 .2em;border-left:0;border-right:0;border-bottom:0}.ui-datepicker .ui-datepicker-buttonpane button{float:right;margin:.5em .2em .4em;cursor:pointer;padding:.2em .6em .3em .6em;width:auto;overflow:visible}.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current{float:left}.ui-datepicker.ui-datepicker-multi{width:auto}.ui-datepicker-multi .ui-datepicker-group{float:left}.ui-datepicker-multi .ui-datepicker-group table{width:95%;margin:0 auto .4em}.ui-datepicker-multi-2 .ui-datepicker-group{width:50%}.ui-datepicker-multi-3 .ui-datepicker-group{width:33.3%}.ui-datepicker-multi-4 .ui-datepicker-group{width:25%}.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header{border-left-width:0}.ui-datepicker-multi .ui-datepicker-buttonpane{clear:left}.ui-datepicker-row-break{clear:both;width:100%;font-size:0}.ui-datepicker-rtl{direction:rtl}.ui-datepicker-rtl .ui-datepicker-prev{right:2px;left:auto}.ui-datepicker-rtl .ui-datepicker-next{left:2px;right:auto}.ui-datepicker-rtl .ui-datepicker-prev:hover{right:1px;left:auto}.ui-datepicker-rtl .ui-datepicker-next:hover{left:1px;right:auto}.ui-datepicker-rtl .ui-datepicker-buttonpane{clear:right}.ui-datepicker-rtl .ui-datepicker-buttonpane button{float:left}.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,.ui-datepicker-rtl .ui-datepicker-group{float:right}.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header{border-right-width:0;border-left-width:1px}.ui-dialog{position:absolute;top:0;left:0;padding:.2em;outline:0}.ui-dialog .ui-dialog-titlebar{padding:.4em 1em;position:relative}.ui-dialog .ui-dialog-title{float:left;margin:.1em 0;white-space:nowrap;width:90%;overflow:hidden;text-overflow:ellipsis}.ui-dialog .ui-dialog-titlebar-close{position:absolute;right:.3em;top:50%;width:21px;margin:-10px 0 0 0;padding:1px;height:20px}.ui-dialog .ui-dialog-content{position:relative;border:0;padding:.5em 1em;background:0;overflow:auto}.ui-dialog .ui-dialog-buttonpane{text-align:left;border-width:1px 0 0 0;background-image:none;margin-top:.5em;padding:.3em 1em .5em .4em}.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-dialog .ui-dialog-buttonpane button{margin:.5em .4em .5em 0;cursor:pointer}.ui-dialog .ui-resizable-se{width:12px;height:12px;right:-5px;bottom:-5px;background-position:16px 16px}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-menu{list-style:none;padding:2px;margin:0;display:block;outline:0}.ui-menu .ui-menu{margin-top:-3px;position:absolute}.ui-menu .ui-menu-item{margin:0;padding:0;width:100%;list-style-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)}.ui-menu .ui-menu-divider{margin:5px -2px 5px -2px;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-menu-item a{text-decoration:none;display:block;padding:2px .4em;line-height:1.5;min-height:0;font-weight:normal}.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{font-weight:normal;margin:-1px}.ui-menu .ui-state-disabled{font-weight:normal;margin:.4em 0 .2em;line-height:1.5}.ui-menu .ui-state-disabled a{cursor:default}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item a{position:relative;padding-left:2em}.ui-menu .ui-icon{position:absolute;top:.2em;left:.2em}.ui-menu .ui-menu-icon{position:static;float:right}.ui-progressbar{height:2em;text-align:left;overflow:hidden}.ui-progressbar .ui-progressbar-value{margin:-1px;height:100%}.ui-progressbar .ui-progressbar-overlay{background:rgba(0,0,0,0) url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==") repeat scroll 0 0;height:100%;filter:alpha(opacity=25);opacity:.25}.ui-progressbar-indeterminate .ui-progressbar-value{background-image:none}.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block}.ui-resizable-disabled .ui-resizable-handle,.ui-resizable-autohide .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-selectable-helper{position:absolute;z-index:100;border:1px dotted black}.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider.ui-state-disabled .ui-slider-handle,.ui-slider.ui-state-disabled .ui-slider-range{filter:inherit}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.ui-slider-vertical .ui-slider-range{left:0;width:100%}.ui-slider-vertical .ui-slider-range-min{bottom:0}.ui-slider-vertical .ui-slider-range-max{top:0}.ui-spinner{position:relative;display:inline-block;overflow:hidden;padding:0;vertical-align:middle}.ui-spinner-input{border:0;background:0;color:inherit;padding:0;margin:.2em 0;vertical-align:middle;margin-left:.4em;margin-right:22px}.ui-spinner-button{width:16px;height:50%;font-size:.5em;padding:0;margin:0;text-align:center;position:absolute;cursor:default;display:block;overflow:hidden;right:0}.ui-spinner a.ui-spinner-button{border-top:0;border-bottom:0;border-right:0}.ui-spinner .ui-icon{position:absolute;margin-top:-8px;top:50%;left:0}.ui-spinner-up{top:0}.ui-spinner-down{bottom:0}.ui-spinner .ui-icon-triangle-1-s{background-position:-65px -16px}.ui-tabs{position:relative;padding:.2em}.ui-tabs .ui-tabs-nav{margin:0;padding:.2em .2em 0}.ui-tabs .ui-tabs-nav li{list-style:none;float:left;position:relative;top:0;margin:1px .2em 0 0;border-bottom-width:0;padding:0;white-space:nowrap}.ui-tabs .ui-tabs-nav li a{float:left;padding:.5em 1em;text-decoration:none}.ui-tabs .ui-tabs-nav li.ui-tabs-active{margin-bottom:-1px;padding-bottom:1px}.ui-tabs .ui-tabs-nav li.ui-tabs-active a,.ui-tabs .ui-tabs-nav li.ui-state-disabled a,.ui-tabs .ui-tabs-nav li.ui-tabs-loading a{cursor:text}.ui-tabs .ui-tabs-nav li a,.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a{cursor:pointer}.ui-tabs .ui-tabs-panel{display:block;border-width:0;padding:1em 1.4em;background:0}.ui-tooltip{padding:8px;position:absolute;z-index:9999;max-width:300px;-webkit-box-shadow:0 0 5px #aaa;box-shadow:0 0 5px #aaa}body .ui-tooltip{border-width:2px}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget-content{border:1px solid #aaa;background:#fff url(../images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc url(../images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;color:#222;font-weight:bold}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default{border:1px solid #d3d3d3;background:#e6e6e6 url(../images/ui-bg_glass_75_e6e6e6_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus{border:1px solid #999;background:#dadada url(../images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited{color:#212121;text-decoration:none}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active{border:1px solid #aaa;background:#fff url(../images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url(../images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x;color:#363636}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url(../images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled{opacity:.35;filter:Alpha(Opacity=35);background-image:none}.ui-state-disabled .ui-icon{filter:Alpha(Opacity=35)}.ui-icon{width:16px;height:16px}.ui-icon,.ui-widget-content .ui-icon{background-image:url(../images/ui-icons_222222_256x240.png)}.ui-widget-header .ui-icon{background-image:url(../images/ui-icons_222222_256x240.png)}.ui-state-default .ui-icon{background-image:url(../images/ui-icons_888888_256x240.png)}.ui-state-hover .ui-icon,.ui-state-focus .ui-icon{background-image:url(../images/ui-icons_454545_256x240.png)}.ui-state-active .ui-icon{background-image:url(../images/ui-icons_454545_256x240.png)}.ui-state-highlight .ui-icon{background-image:url(../images/ui-icons_2e83ff_256x240.png)}.ui-state-error .ui-icon,.ui-state-error-text .ui-icon{background-image:url(../images/ui-icons_cd0a0a_256x240.png)}.ui-icon-blank{background-position:16px 16px}.ui-icon-carat-1-n{background-position:0 0}.ui-icon-carat-1-ne{background-position:-16px 0}.ui-icon-carat-1-e{background-position:-32px 0}.ui-icon-carat-1-se{background-position:-48px 0}.ui-icon-carat-1-s{background-position:-64px 0}.ui-icon-carat-1-sw{background-position:-80px 0}.ui-icon-carat-1-w{background-position:-96px 0}.ui-icon-carat-1-nw{background-position:-112px 0}.ui-icon-carat-2-n-s{background-position:-128px 0}.ui-icon-carat-2-e-w{background-position:-144px 0}.ui-icon-triangle-1-n{background-position:0 -16px}.ui-icon-triangle-1-ne{background-position:-16px -16px}.ui-icon-triangle-1-e{background-position:-32px -16px}.ui-icon-triangle-1-se{background-position:-48px -16px}.ui-icon-triangle-1-s{background-position:-64px -16px}.ui-icon-triangle-1-sw{background-position:-80px -16px}.ui-icon-triangle-1-w{background-position:-96px -16px}.ui-icon-triangle-1-nw{background-position:-112px -16px}.ui-icon-triangle-2-n-s{background-position:-128px -16px}.ui-icon-triangle-2-e-w{background-position:-144px -16px}.ui-icon-arrow-1-n{background-position:0 -32px}.ui-icon-arrow-1-ne{background-position:-16px -32px}.ui-icon-arrow-1-e{background-position:-32px -32px}.ui-icon-arrow-1-se{background-position:-48px -32px}.ui-icon-arrow-1-s{background-position:-64px -32px}.ui-icon-arrow-1-sw{background-position:-80px -32px}.ui-icon-arrow-1-w{background-position:-96px -32px}.ui-icon-arrow-1-nw{background-position:-112px -32px}.ui-icon-arrow-2-n-s{background-position:-128px -32px}.ui-icon-arrow-2-ne-sw{background-position:-144px -32px}.ui-icon-arrow-2-e-w{background-position:-160px -32px}.ui-icon-arrow-2-se-nw{background-position:-176px -32px}.ui-icon-arrowstop-1-n{background-position:-192px -32px}.ui-icon-arrowstop-1-e{background-position:-208px -32px}.ui-icon-arrowstop-1-s{background-position:-224px -32px}.ui-icon-arrowstop-1-w{background-position:-240px -32px}.ui-icon-arrowthick-1-n{background-position:0 -48px}.ui-icon-arrowthick-1-ne{background-position:-16px -48px}.ui-icon-arrowthick-1-e{background-position:-32px -48px}.ui-icon-arrowthick-1-se{background-position:-48px -48px}.ui-icon-arrowthick-1-s{background-position:-64px -48px}.ui-icon-arrowthick-1-sw{background-position:-80px -48px}.ui-icon-arrowthick-1-w{background-position:-96px -48px}.ui-icon-arrowthick-1-nw{background-position:-112px -48px}.ui-icon-arrowthick-2-n-s{background-position:-128px -48px}.ui-icon-arrowthick-2-ne-sw{background-position:-144px -48px}.ui-icon-arrowthick-2-e-w{background-position:-160px -48px}.ui-icon-arrowthick-2-se-nw{background-position:-176px -48px}.ui-icon-arrowthickstop-1-n{background-position:-192px -48px}.ui-icon-arrowthickstop-1-e{background-position:-208px -48px}.ui-icon-arrowthickstop-1-s{background-position:-224px -48px}.ui-icon-arrowthickstop-1-w{background-position:-240px -48px}.ui-icon-arrowreturnthick-1-w{background-position:0 -64px}.ui-icon-arrowreturnthick-1-n{background-position:-16px -64px}.ui-icon-arrowreturnthick-1-e{background-position:-32px -64px}.ui-icon-arrowreturnthick-1-s{background-position:-48px -64px}.ui-icon-arrowreturn-1-w{background-position:-64px -64px}.ui-icon-arrowreturn-1-n{background-position:-80px -64px}.ui-icon-arrowreturn-1-e{background-position:-96px -64px}.ui-icon-arrowreturn-1-s{background-position:-112px -64px}.ui-icon-arrowrefresh-1-w{background-position:-128px -64px}.ui-icon-arrowrefresh-1-n{background-position:-144px -64px}.ui-icon-arrowrefresh-1-e{background-position:-160px -64px}.ui-icon-arrowrefresh-1-s{background-position:-176px -64px}.ui-icon-arrow-4{background-position:0 -80px}.ui-icon-arrow-4-diag{background-position:-16px -80px}.ui-icon-extlink{background-position:-32px -80px}.ui-icon-newwin{background-position:-48px -80px}.ui-icon-refresh{background-position:-64px -80px}.ui-icon-shuffle{background-position:-80px -80px}.ui-icon-transfer-e-w{background-position:-96px -80px}.ui-icon-transferthick-e-w{background-position:-112px -80px}.ui-icon-folder-collapsed{background-position:0 -96px}.ui-icon-folder-open{background-position:-16px -96px}.ui-icon-document{background-position:-32px -96px}.ui-icon-document-b{background-position:-48px -96px}.ui-icon-note{background-position:-64px -96px}.ui-icon-mail-closed{background-position:-80px -96px}.ui-icon-mail-open{background-position:-96px -96px}.ui-icon-suitcase{background-position:-112px -96px}.ui-icon-comment{background-position:-128px -96px}.ui-icon-person{background-position:-144px -96px}.ui-icon-print{background-position:-160px -96px}.ui-icon-trash{background-position:-176px -96px}.ui-icon-locked{background-position:-192px -96px}.ui-icon-unlocked{background-position:-208px -96px}.ui-icon-bookmark{background-position:-224px -96px}.ui-icon-tag{background-position:-240px -96px}.ui-icon-home{background-position:0 -112px}.ui-icon-flag{background-position:-16px -112px}.ui-icon-calendar{background-position:-32px -112px}.ui-icon-cart{background-position:-48px -112px}.ui-icon-pencil{background-position:-64px -112px}.ui-icon-clock{background-position:-80px -112px}.ui-icon-disk{background-position:-96px -112px}.ui-icon-calculator{background-position:-112px -112px}.ui-icon-zoomin{background-position:-128px -112px}.ui-icon-zoomout{background-position:-144px -112px}.ui-icon-search{background-position:-160px -112px}.ui-icon-wrench{background-position:-176px -112px}.ui-icon-gear{background-position:-192px -112px}.ui-icon-heart{background-position:-208px -112px}.ui-icon-star{background-position:-224px -112px}.ui-icon-link{background-position:-240px -112px}.ui-icon-cancel{background-position:0 -128px}.ui-icon-plus{background-position:-16px -128px}.ui-icon-plusthick{background-position:-32px -128px}.ui-icon-minus{background-position:-48px -128px}.ui-icon-minusthick{background-position:-64px -128px}.ui-icon-close{background-position:-80px -128px}.ui-icon-closethick{background-position:-96px -128px}.ui-icon-key{background-position:-112px -128px}.ui-icon-lightbulb{background-position:-128px -128px}.ui-icon-scissors{background-position:-144px -128px}.ui-icon-clipboard{background-position:-160px -128px}.ui-icon-copy{background-position:-176px -128px}.ui-icon-contact{background-position:-192px -128px}.ui-icon-image{background-position:-208px -128px}.ui-icon-video{background-position:-224px -128px}.ui-icon-script{background-position:-240px -128px}.ui-icon-alert{background-position:0 -144px}.ui-icon-info{background-position:-16px -144px}.ui-icon-notice{background-position:-32px -144px}.ui-icon-help{background-position:-48px -144px}.ui-icon-check{background-position:-64px -144px}.ui-icon-bullet{background-position:-80px -144px}.ui-icon-radio-on{background-position:-96px -144px}.ui-icon-radio-off{background-position:-112px -144px}.ui-icon-pin-w{background-position:-128px -144px}.ui-icon-pin-s{background-position:-144px -144px}.ui-icon-play{background-position:0 -160px}.ui-icon-pause{background-position:-16px -160px}.ui-icon-seek-next{background-position:-32px -160px}.ui-icon-seek-prev{background-position:-48px -160px}.ui-icon-seek-end{background-position:-64px -160px}.ui-icon-seek-start{background-position:-80px -160px}.ui-icon-seek-first{background-position:-80px -160px}.ui-icon-stop{background-position:-96px -160px}.ui-icon-eject{background-position:-112px -160px}.ui-icon-volume-off{background-position:-128px -160px}.ui-icon-volume-on{background-position:-144px -160px}.ui-icon-power{background-position:0 -176px}.ui-icon-signal-diag{background-position:-16px -176px}.ui-icon-signal{background-position:-32px -176px}.ui-icon-battery-0{background-position:-48px -176px}.ui-icon-battery-1{background-position:-64px -176px}.ui-icon-battery-2{background-position:-80px -176px}.ui-icon-battery-3{background-position:-96px -176px}.ui-icon-circle-plus{background-position:0 -192px}.ui-icon-circle-minus{background-position:-16px -192px}.ui-icon-circle-close{background-position:-32px -192px}.ui-icon-circle-triangle-e{background-position:-48px -192px}.ui-icon-circle-triangle-s{background-position:-64px -192px}.ui-icon-circle-triangle-w{background-position:-80px -192px}.ui-icon-circle-triangle-n{background-position:-96px -192px}.ui-icon-circle-arrow-e{background-position:-112px -192px}.ui-icon-circle-arrow-s{background-position:-128px -192px}.ui-icon-circle-arrow-w{background-position:-144px -192px}.ui-icon-circle-arrow-n{background-position:-160px -192px}.ui-icon-circle-zoomin{background-position:-176px -192px}.ui-icon-circle-zoomout{background-position:-192px -192px}.ui-icon-circle-check{background-position:-208px -192px}.ui-icon-circlesmall-plus{background-position:0 -208px}.ui-icon-circlesmall-minus{background-position:-16px -208px}.ui-icon-circlesmall-close{background-position:-32px -208px}.ui-icon-squaresmall-plus{background-position:-48px -208px}.ui-icon-squaresmall-minus{background-position:-64px -208px}.ui-icon-squaresmall-close{background-position:-80px -208px}.ui-icon-grip-dotted-vertical{background-position:0 -224px}.ui-icon-grip-dotted-horizontal{background-position:-16px -224px}.ui-icon-grip-solid-vertical{background-position:-32px -224px}.ui-icon-grip-solid-horizontal{background-position:-48px -224px}.ui-icon-gripsmall-diagonal-se{background-position:-64px -224px}.ui-icon-grip-diagonal-se{background-position:-80px -224px}.ui-corner-all,.ui-corner-top,.ui-corner-left,.ui-corner-tl{border-top-left-radius:4px}.ui-corner-all,.ui-corner-top,.ui-corner-right,.ui-corner-tr{border-top-right-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-left,.ui-corner-bl{border-bottom-left-radius:4px}.ui-corner-all,.ui-corner-bottom,.ui-corner-right,.ui-corner-br{border-bottom-right-radius:4px}.ui-widget-overlay{background:#aaa url(../images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30)}.ui-widget-shadow{margin:-8px 0 0 -8px;padding:8px;background:#aaa url(../images/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;opacity:.3;filter:Alpha(Opacity=30);border-radius:8px}ul.dynatree-container{font-family:tahoma,arial,helvetica;font-size:10pt;white-space:nowrap;padding:3px;margin:0;background-color:white;border:1px dotted gray;overflow:auto;height:100%}ul.dynatree-container ul{padding:0 0 0 16px;margin:0}ul.dynatree-container li{list-style-image:none;list-style-position:outside;list-style-type:none;-moz-background-clip:border;-moz-background-inline-policy:continuous;-moz-background-origin:padding;background-attachment:scroll;background-color:transparent;background-repeat:repeat-y;background-image:url("../images/vline.gif");background-position:0 0;margin:0;padding:1px 0 0 0}ul.dynatree-container li.dynatree-lastsib{background-image:none}ul.dynatree-no-connector>li{background-image:none}.ui-dynatree-disabled ul.dynatree-container{opacity:.5;background-color:silver}span.dynatree-empty,span.dynatree-vline,span.dynatree-connector,span.dynatree-expander,span.dynatree-icon,span.dynatree-checkbox,span.dynatree-radio,span.dynatree-drag-helper-img,#dynatree-drop-marker{width:16px;height:16px;display:inline-block;vertical-align:top;background-repeat:no-repeat;background-position:left;background-image:url("../images/icons.gif");background-position:0 0}ul.dynatree-container img{width:16px;height:16px;margin-left:3px;vertical-align:top;border-style:none}span.dynatree-connector{background-position:-16px -64px}span.dynatree-expander{background-position:0 -80px;cursor:pointer}.dynatree-exp-cl span.dynatree-expander{background-position:0 -96px}.dynatree-exp-cd span.dynatree-expander{background-position:-64px -80px}.dynatree-exp-cdl span.dynatree-expander{background-position:-64px -96px}.dynatree-exp-e span.dynatree-expander,.dynatree-exp-ed span.dynatree-expander{background-position:-32px -80px}.dynatree-exp-el span.dynatree-expander,.dynatree-exp-edl span.dynatree-expander{background-position:-32px -96px}.dynatree-loading span.dynatree-expander{background-position:0 0;background-image:url("../images/loading.gif")}span.dynatree-checkbox{margin-left:3px;background-position:0 -32px}span.dynatree-checkbox:hover{background-position:-16px -32px}.dynatree-partsel span.dynatree-checkbox{background-position:-64px -32px}.dynatree-partsel span.dynatree-checkbox:hover{background-position:-80px -32px}.dynatree-selected span.dynatree-checkbox{background-position:-32px -32px}.dynatree-selected span.dynatree-checkbox:hover{background-position:-48px -32px}span.dynatree-radio{margin-left:3px;background-position:0 -48px}span.dynatree-radio:hover{background-position:-16px -48px}.dynatree-partsel span.dynatree-radio{background-position:-64px -48px}.dynatree-partsel span.dynatree-radio:hover{background-position:-80px -48px}.dynatree-selected span.dynatree-radio{background-position:-32px -48px}.dynatree-selected span.dynatree-radio:hover{background-position:-48px -48px}span.dynatree-icon{margin-left:3px;background-position:0 0}.dynatree-ico-cf span.dynatree-icon{background-position:0 -16px}.dynatree-ico-ef span.dynatree-icon{background-position:-64px -16px}.dynatree-statusnode-wait span.dynatree-icon{background-image:url("../images/loading.gif")}.dynatree-statusnode-error span.dynatree-icon{background-position:0 -112px}ul.dynatree-container a{color:black;text-decoration:none;vertical-align:top;margin:0;margin-left:3px}ul.dynatree-container a:hover{background-color:#f2f7fd;border-color:#b8d6fb}span.dynatree-node a{font-size:10pt;display:inline-block;padding-left:3px;padding-right:3px}span.dynatree-folder a{font-weight:bold}ul.dynatree-container a:focus,span.dynatree-focused a:link{background-color:#efebde}span.dynatree-selected a{color:green;font-style:italic}span.dynatree-active a{background-color:#3169c6 !important;color:white !important}div.dynatree-drag-helper a{border:1px solid gray;background-color:white;padding-left:5px;padding-right:5px;opacity:.8}div.dynatree-drop-accept span.dynatree-drag-helper-img{background-position:-32px -112px}div.dynatree-drag-helper.dynatree-drop-reject{border-color:red}div.dynatree-drop-reject span.dynatree-drag-helper-img{background-position:-16px -112px}#dynatree-drop-marker{width:24px;position:absolute;background-position:0 -128px;margin:0}#dynatree-drop-marker.dynatree-drop-after,#dynatree-drop-marker.dynatree-drop-before{width:64px;background-position:0 -144px}#dynatree-drop-marker.dynatree-drop-copy{background-position:-64px -128px}#dynatree-drop-marker.dynatree-drop-move{background-position:-64px -128px}span.dynatree-drag-source{background-color:#e0e0e0}span.dynatree-drag-source a{color:gray}span.dynatree-drop-target.dynatree-drop-accept a{background-color:#3169c6 !important;color:white !important;text-decoration:none}span.custom1 a{background-color:maroon;color:yellow}.context-menu-list{margin:0;padding:0;min-width:120px;max-width:250px;display:inline-block;position:absolute;list-style-type:none;border:1px solid #DDD;background:#EEE;-webkit-box-shadow:0 2px 5px rgba(0,0,0,0.5);-moz-box-shadow:0 2px 5px rgba(0,0,0,0.5);-ms-box-shadow:0 2px 5px rgba(0,0,0,0.5);-o-box-shadow:0 2px 5px rgba(0,0,0,0.5);box-shadow:0 2px 5px rgba(0,0,0,0.5);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px}.context-menu-item{padding:2px 2px 2px 24px;background-color:#EEE;position:relative;-webkit-user-select:none;-moz-user-select:-moz-none;-ms-user-select:none;user-select:none}.context-menu-separator{padding-bottom:0;border-bottom:1px solid #DDD}.context-menu-item>label>input,.context-menu-item>label>textarea{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.context-menu-item.hover{cursor:pointer;background-color:#39F}.context-menu-item.disabled{opacity:.35;filter:alpha(opacity=35)}.context-menu-input.hover,.context-menu-item.disabled.hover{cursor:default;background-color:#EEE}.context-menu-submenu:after{content:">";color:#666;position:absolute;top:0;right:3px;z-index:1}.context-menu-item.icon{min-height:18px;background-repeat:no-repeat;background-position:4px 2px}.context-menu-item.icon-edit{background-image:url(../images/page_white_edit.png)}.context-menu-item.icon-cut{background-image:url(../images/cut.png)}.context-menu-item.icon-copy{background-image:url(../images/page_white_copy.png)}.context-menu-item.icon-paste{background-image:url(../images/page_white_paste.png)}.context-menu-item.icon-delete{background-image:url(../images/page_white_delete.png)}.context-menu-item.icon-create{background-image:url(../images/page_white_add.png)}.context-menu-item.icon-add{background-image:url(../images/page_white_add.png)}.context-menu-item.icon-commit{background-image:url(../images/media-floppy-16px.png)}.context-menu-item.icon-clear{background-image:url(../images/edit-clear-16px.png)}.context-menu-item.icon-cancel{background-image:url(../images/edit-clear-16px.png)}.context-menu-item.icon-reload{background-image:url(../images/page_white_reload.png)}.context-menu-item.icon-quit{background-image:url(../images/door.png)}.context-menu-item.icon-about{background-image:url(../images/pdmk_ico.png)}.context-menu-input>label>*{vertical-align:top}.context-menu-input>label>input[type="checkbox"],.context-menu-input>label>input[type="radio"]{margin-left:-17px}.context-menu-input>label>span{margin-left:5px}.context-menu-input>label,.context-menu-input>label>input[type="text"],.context-menu-input>label>textarea,.context-menu-input>label>select{display:block;width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box}.context-menu-input>label>textarea{height:100px}.context-menu-item>.context-menu-list{display:none;right:-5px;top:5px}.context-menu-item.hover>.context-menu-list{display:block}.context-menu-accesskey{text-decoration:underline}table.dataTable{margin:0 auto;clear:both;width:100%}table.dataTable thead th{padding:3px 18px 3px 10px;border-bottom:1px solid black;font-weight:bold;cursor:pointer;*cursor:hand}table.dataTable tfoot th{padding:3px 18px 3px 10px;border-top:1px solid black;font-weight:bold}table.dataTable td{padding:3px 10px}table.dataTable td.center,table.dataTable td.dataTables_empty{text-align:center}table.dataTable tr.odd{background-color:#e0e0e0}table.dataTable tr.even{background-color:#fff}table.dataTable tr.odd td.sorting_1{background-color:#d0d0d0}table.dataTable tr.odd td.sorting_2{background-color:#d9d9d9}table.dataTable tr.odd td.sorting_3{background-color:#e0e0e0}table.dataTable tr.even td.sorting_1{background-color:#e9e9e9}table.dataTable tr.even td.sorting_2{background-color:#f0f0f0}table.dataTable tr.even td.sorting_3{background-color:#f9f9f9}.dataTables_wrapper{position:relative;clear:both;*zoom:1}.dataTables_length{float:left}.dataTables_filter{float:right;text-align:right}.dataTables_info{clear:both;float:left}.dataTables_paginate{float:right;text-align:right}.paginate_disabled_previous,.paginate_enabled_previous,.paginate_disabled_next,.paginate_enabled_next{height:19px;float:left;cursor:pointer;*cursor:hand;color:#111 !important}.paginate_disabled_previous:hover,.paginate_enabled_previous:hover,.paginate_disabled_next:hover,.paginate_enabled_next:hover{text-decoration:none !important}.paginate_disabled_previous:active,.paginate_enabled_previous:active,.paginate_disabled_next:active,.paginate_enabled_next:active{outline:0}.paginate_disabled_previous,.paginate_disabled_next{color:#666 !important}.paginate_disabled_previous,.paginate_enabled_previous{padding-left:23px}.paginate_disabled_next,.paginate_enabled_next{padding-right:23px;margin-left:10px}.paginate_enabled_previous{background:url('../images/back_enabled.png') no-repeat top left}.paginate_enabled_previous:hover{background:url('../images/back_enabled_hover.png') no-repeat top left}.paginate_disabled_previous{background:url('../images/back_disabled.png') no-repeat top left}.paginate_enabled_next{background:url('../images/forward_enabled.png') no-repeat top right}.paginate_enabled_next:hover{background:url('../images/forward_enabled_hover.png') no-repeat top right}.paginate_disabled_next{background:url('../images/forward_disabled.png') no-repeat top right}.paging_full_numbers{height:22px;line-height:22px}.paging_full_numbers a:active{outline:0}.paging_full_numbers a:hover{text-decoration:none}.paging_full_numbers a.paginate_button,.paging_full_numbers a.paginate_active{border:1px solid #aaa;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;padding:2px 5px;margin:0 3px;cursor:pointer;*cursor:hand;color:#333 !important}.paging_full_numbers a.paginate_button{background-color:#ddd}.paging_full_numbers a.paginate_button:hover{background-color:#ccc;text-decoration:none !important}.paging_full_numbers a.paginate_active{background-color:#99b3ff}.dataTables_processing{position:absolute;top:50%;left:50%;width:250px;height:30px;margin-left:-125px;margin-top:-15px;padding:14px 0 2px 0;border:1px solid #ddd;text-align:center;color:#999;font-size:14px;background-color:white}.sorting{background:url('../images/sort_both.png') no-repeat center right}.sorting_asc{background:url('../images/sort_asc.png') no-repeat center right}.sorting_desc{background:url('../images/sort_desc.png') no-repeat center right}.sorting_asc_disabled{background:url('../images/sort_asc_disabled.png') no-repeat center right}.sorting_desc_disabled{background:url('../images/sort_desc_disabled.png') no-repeat center right}table.dataTable thead th:active,table.dataTable thead td:active{outline:0}.dataTables_scroll{clear:both}.dataTables_scrollBody{*margin-top:-1px;-webkit-overflow-scrolling:touch}.ui-multiselect{border:solid 1px;font-size:.8em}.ui-multiselect ul{-moz-user-select:none}.ui-multiselect li{margin:0;padding:0;cursor:default;line-height:20px;height:20px;font-size:11px;list-style:none}.ui-multiselect li a{color:#999;text-decoration:none;padding:0;display:block;float:left;cursor:pointer}.ui-multiselect li.ui-draggable-dragging{padding-left:10px}.ui-multiselect div.selected{position:relative;padding:0;margin:0;border:0;float:left}.ui-multiselect ul.selected{position:relative;padding:0;overflow:auto;overflow-x:hidden;background:#fff;margin:0;list-style:none;border:0;position:relative;width:100%}.ui-multiselect div.available{position:relative;padding:0;margin:0;border:0;float:left;border-left:1px solid}.ui-multiselect ul.available{position:relative;padding:0;overflow:auto;overflow-x:hidden;background:#fff;margin:0;list-style:none;border:0;width:100%}.ui-multiselect ul.available li{padding-left:10px}.ui-multiselect .ui-state-default{border:0;margin-bottom:1px;position:relative;padding-left:20px}.ui-multiselect .ui-state-hover{border:0}.ui-multiselect .ui-widget-header{border:0;font-size:11px;margin-bottom:1px}.ui-multiselect .add-all{float:right;padding:7px}.ui-multiselect .remove-all{float:right;padding:7px}.ui-multiselect .search{float:left;padding:4px}.ui-multiselect .count{float:left;padding:7px}.ui-multiselect li span.ui-icon-arrowthick-2-n-s{position:absolute;left:2px}.ui-multiselect li a.action{position:absolute;right:2px;top:2px}.ui-multiselect input.search{height:14px;padding:1px;opacity:.5;margin:4px;width:100px} \ No newline at end of file diff --git a/MINIFY/pdmk-min.js b/MINIFY/pdmk-min.js new file mode 100644 index 0000000..314ee04 --- /dev/null +++ b/MINIFY/pdmk-min.js @@ -0,0 +1,27 @@ +/*! +/ COPYRIGHT (c) 2014 CenturyLink, Inc. +/ SEE LICENSE-MIT FOR LICENSE TERMS +/ SEE CREDITS FOR CONTRIBUTIONS AND CREDITS FOR THIS PROJECT +/ AUTHOR: John R B Woodworth +/ SUPPORT CONTACT: funwithplastic@ctl.io + ___ + _______ / /\ ___ + / ___ \ ___/ / \__ / /\_________ + / /\ ) )__ / / / /__\ / / \ \ + / / \/ / \_\__/__/ / / /\\_ ____ / / _/__ /\ + / /___/ / / ____ / / ___ \/ \ / / _/ _/\ / \ + / _______/ / /\ / / / /\ \___/) /\___ / /_/ _/\\ \ / \ + / /\ \ / / \/ / / / \__\__/ / \ \/ _/\\ \\/ / \ + / / \______/ (__/ / / / / / / / // _ /\\ \\/ / / + / / / (________/ /__/ / /__/ / // / \ \ \\/ / / + /__/ / /\ \ /\ \ / \ \ / //__/ \__\/ / / + \ \ / / /\_______\/ /\__\/ \__\/ / \ \ / \ \ / / + / \__\/ / / /__________________/ / \_\/ \__\ / / + / / \___________/ \= \ /____________ / / + \____________/ \= \ \== \ \= \ / + \= \ \== \ \=== \ \== \ / + \== \ \=== \ \====_____________\/\=== \ / + \=== \ / \====______\/ \====________\/ + \====_______\/ + */ +(function(a5,aE){var z,ai,q=a5.document,aL=a5.location,f=a5.navigator,bj=a5.jQuery,L=a5.$,ap=Array.prototype.push,a7=Array.prototype.slice,aN=Array.prototype.indexOf,C=Object.prototype.toString,Y=Object.prototype.hasOwnProperty,aR=String.prototype.trim,bJ=function(e,b2){return new bJ.fn.init(e,b2,z)},bA=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,ad=/\S/,aY=/\s+/,F=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,br=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,b=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,bi=/^[\],:{}\s]*$/,bl=/(?:^|:|,)(?:\s*\[)+/g,bG=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,a3=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,bS=/^-ms-/,aX=/-([\da-z])/gi,Q=function(e,b2){return(b2+"").toUpperCase()},aI=function(){if(q.addEventListener){q.removeEventListener("DOMContentLoaded",aI,false);bJ.ready()}else{if(q.readyState==="complete"){q.detachEvent("onreadystatechange",aI);bJ.ready()}}},ac={};bJ.fn=bJ.prototype={constructor:bJ,init:function(e,b5,b4){var b3,b6,b2,b7;if(!e){return this}if(e.nodeType){this.context=this[0]=e;this.length=1;return this}if(typeof e==="string"){if(e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3){b3=[null,e,null]}else{b3=br.exec(e)}if(b3&&(b3[1]||!b5)){if(b3[1]){b5=b5 instanceof bJ?b5[0]:b5;b7=(b5&&b5.nodeType?b5.ownerDocument||b5:q);e=bJ.parseHTML(b3[1],b7,true);if(b.test(b3[1])&&bJ.isPlainObject(b5)){this.attr.call(e,b5,true)}return bJ.merge(this,e)}else{b6=q.getElementById(b3[2]);if(b6&&b6.parentNode){if(b6.id!==b3[2]){return b4.find(e)}this.length=1;this[0]=b6}this.context=q;this.selector=e;return this}}else{if(!b5||b5.jquery){return(b5||b4).find(e)}else{return this.constructor(b5).find(e)}}}else{if(bJ.isFunction(e)){return b4.ready(e)}}if(e.selector!==aE){this.selector=e.selector;this.context=e.context}return bJ.makeArray(e,this)},selector:"",jquery:"1.8.2",length:0,size:function(){return this.length},toArray:function(){return a7.call(this)},get:function(e){return e==null?this.toArray():(e<0?this[this.length+e]:this[e])},pushStack:function(b2,b4,e){var b3=bJ.merge(this.constructor(),b2);b3.prevObject=this;b3.context=this.context;if(b4==="find"){b3.selector=this.selector+(this.selector?" ":"")+e}else{if(b4){b3.selector=this.selector+"."+b4+"("+e+")"}}return b3},each:function(b2,e){return bJ.each(this,b2,e)},ready:function(e){bJ.ready.promise().done(e);return this},eq:function(e){e=+e;return e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(a7.apply(this,arguments),"slice",a7.call(arguments).join(","))},map:function(e){return this.pushStack(bJ.map(this,function(b3,b2){return e.call(b3,b2,b3)}))},end:function(){return this.prevObject||this.constructor(null)},push:ap,sort:[].sort,splice:[].splice};bJ.fn.init.prototype=bJ.fn;bJ.extend=bJ.fn.extend=function(){var ca,b3,e,b2,b7,b8,b6=arguments[0]||{},b5=1,b4=arguments.length,b9=false;if(typeof b6==="boolean"){b9=b6;b6=arguments[1]||{};b5=2}if(typeof b6!=="object"&&!bJ.isFunction(b6)){b6={}}if(b4===b5){b6=this;--b5}for(;b50){return}ai.resolveWith(q,[bJ]);if(bJ.fn.trigger){bJ(q).trigger("ready").off("ready")}},isFunction:function(e){return bJ.type(e)==="function"},isArray:Array.isArray||function(e){return bJ.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return !isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):ac[C.call(e)]||"object"},isPlainObject:function(b4){if(!b4||bJ.type(b4)!=="object"||b4.nodeType||bJ.isWindow(b4)){return false}try{if(b4.constructor&&!Y.call(b4,"constructor")&&!Y.call(b4.constructor.prototype,"isPrototypeOf")){return false}}catch(b3){return false}var b2;for(b2 in b4){}return b2===aE||Y.call(b4,b2)},isEmptyObject:function(b2){var e;for(e in b2){return false}return true},error:function(e){throw new Error(e)},parseHTML:function(b4,b3,e){var b2;if(!b4||typeof b4!=="string"){return null}if(typeof b3==="boolean"){e=b3;b3=0}b3=b3||q;if((b2=b.exec(b4))){return[b3.createElement(b2[1])]}b2=bJ.buildFragment([b4],b3,e?null:[]);return bJ.merge([],(b2.cacheable?bJ.clone(b2.fragment):b2.fragment).childNodes)},parseJSON:function(e){if(!e||typeof e!=="string"){return null}e=bJ.trim(e);if(a5.JSON&&a5.JSON.parse){return a5.JSON.parse(e)}if(bi.test(e.replace(bG,"@").replace(a3,"]").replace(bl,""))){return(new Function("return "+e))()}bJ.error("Invalid JSON: "+e)},parseXML:function(b4){var b2,b3;if(!b4||typeof b4!=="string"){return null}try{if(a5.DOMParser){b3=new DOMParser();b2=b3.parseFromString(b4,"text/xml")}else{b2=new ActiveXObject("Microsoft.XMLDOM");b2.async="false";b2.loadXML(b4)}}catch(b5){b2=aE}if(!b2||!b2.documentElement||b2.getElementsByTagName("parsererror").length){bJ.error("Invalid XML: "+b4)}return b2},noop:function(){},globalEval:function(e){if(e&&ad.test(e)){(a5.execScript||function(b2){a5["eval"].call(a5,b2)})(e)}},camelCase:function(e){return e.replace(bS,"ms-").replace(aX,Q)},nodeName:function(b2,e){return b2.nodeName&&b2.nodeName.toLowerCase()===e.toLowerCase()},each:function(b6,b7,b3){var b2,b4=0,b5=b6.length,e=b5===aE||bJ.isFunction(b6);if(b3){if(e){for(b2 in b6){if(b7.apply(b6[b2],b3)===false){break}}}else{for(;b40&&e[0]&&e[b2-1])||b2===0||bJ.isArray(e));if(b4){for(;b3-1){b8.splice(cd,1);if(b5){if(cd<=b6){b6--}if(cd<=b7){b7--}}}})}return this},has:function(cc){return bJ.inArray(cc,b8)>-1},empty:function(){b8=[];return this},disable:function(){b8=b9=b4=aE;return this},disabled:function(){return !b8},lock:function(){b9=aE;if(!b4){ca.disable()}return this},locked:function(){return !b9},fireWith:function(cd,cc){cc=cc||[];cc=[cd,cc.slice?cc.slice():cc];if(b8&&(!e||b9)){if(b5){b9.push(cc)}else{b2(cc)}}return this},fire:function(){ca.fireWith(this,arguments);return this},fired:function(){return !!e}};return ca};bJ.extend({Deferred:function(b3){var b2=[["resolve","done",bJ.Callbacks("once memory"),"resolved"],["reject","fail",bJ.Callbacks("once memory"),"rejected"],["notify","progress",bJ.Callbacks("memory")]],b4="pending",b5={state:function(){return b4},always:function(){e.done(arguments).fail(arguments);return this},then:function(){var b6=arguments;return bJ.Deferred(function(b7){bJ.each(b2,function(b9,b8){var cb=b8[0],ca=b6[b9];e[b8[1]](bJ.isFunction(ca)?function(){var cc=ca.apply(this,arguments);if(cc&&bJ.isFunction(cc.promise)){cc.promise().done(b7.resolve).fail(b7.reject).progress(b7.notify)}else{b7[cb+"With"](this===e?b7:this,[cc])}}:b7[cb])});b6=null}).promise()},promise:function(b6){return b6!=null?bJ.extend(b6,b5):b5}},e={};b5.pipe=b5.then;bJ.each(b2,function(b7,b6){var b9=b6[2],b8=b6[3];b5[b6[1]]=b9.add;if(b8){b9.add(function(){b4=b8},b2[b7^1][2].disable,b2[2][2].lock)}e[b6[0]]=b9.fire;e[b6[0]+"With"]=b9.fireWith});b5.promise(e);if(b3){b3.call(e,e)}return e},when:function(b5){var b3=0,b7=a7.call(arguments),e=b7.length,b2=e!==1||(b5&&bJ.isFunction(b5.promise))?e:0,ca=b2===1?b5:bJ.Deferred(),b4=function(cc,cd,cb){return function(ce){cd[cc]=this;cb[cc]=arguments.length>1?a7.call(arguments):ce;if(cb===b9){ca.notifyWith(cd,cb)}else{if(!(--b2)){ca.resolveWith(cd,cb)}}}},b9,b6,b8;if(e>1){b9=new Array(e);b6=new Array(e);b8=new Array(e);for(;b3
a";cd=b3.getElementsByTagName("*");cb=b3.getElementsByTagName("a")[0];cb.style.cssText="top:1px;float:left;opacity:.5";if(!cd||!cd.length){return{}}cc=q.createElement("select");b5=cc.appendChild(q.createElement("option"));ca=b3.getElementsByTagName("input")[0];ce={leadingWhitespace:(b3.firstChild.nodeType===3),tbody:!b3.getElementsByTagName("tbody").length,htmlSerialize:!!b3.getElementsByTagName("link").length,style:/top/.test(cb.getAttribute("style")),hrefNormalized:(cb.getAttribute("href")==="/a"),opacity:/^0.5/.test(cb.style.opacity),cssFloat:!!cb.style.cssFloat,checkOn:(ca.value==="on"),optSelected:b5.selected,getSetAttribute:b3.className!=="t",enctype:!!q.createElement("form").enctype,html5Clone:q.createElement("nav").cloneNode(true).outerHTML!=="<:nav>",boxModel:(q.compatMode==="CSS1Compat"),submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true,boxSizingReliable:true,pixelPosition:false};ca.checked=true;ce.noCloneChecked=ca.cloneNode(true).checked;cc.disabled=true;ce.optDisabled=!b5.disabled;try{delete b3.test}catch(b8){ce.deleteExpando=false}if(!b3.addEventListener&&b3.attachEvent&&b3.fireEvent){b3.attachEvent("onclick",b2=function(){ce.noCloneEvent=false});b3.cloneNode(true).fireEvent("onclick");b3.detachEvent("onclick",b2)}ca=q.createElement("input");ca.value="t";ca.setAttribute("type","radio");ce.radioValue=ca.value==="t";ca.setAttribute("checked","checked");ca.setAttribute("name","t");b3.appendChild(ca);b9=q.createDocumentFragment();b9.appendChild(b3.lastChild);ce.checkClone=b9.cloneNode(true).cloneNode(true).lastChild.checked;ce.appendChecked=ca.checked;b9.removeChild(ca);b9.appendChild(b3);if(b3.attachEvent){for(b6 in {submit:true,change:true,focusin:true}){b7="on"+b6;b4=(b7 in b3);if(!b4){b3.setAttribute(b7,"return;");b4=(typeof b3[b7]==="function")}ce[b6+"Bubbles"]=b4}}bJ(function(){var cf,cj,ch,ci,cg="padding:0;margin:0;border:0;display:block;overflow:hidden;",e=q.getElementsByTagName("body")[0];if(!e){return}cf=q.createElement("div");cf.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px";e.insertBefore(cf,e.firstChild);cj=q.createElement("div");cf.appendChild(cj);cj.innerHTML="
t
";ch=cj.getElementsByTagName("td");ch[0].style.cssText="padding:0;margin:0;border:0;display:none";b4=(ch[0].offsetHeight===0);ch[0].style.display="";ch[1].style.display="none";ce.reliableHiddenOffsets=b4&&(ch[0].offsetHeight===0);cj.innerHTML="";cj.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;";ce.boxSizing=(cj.offsetWidth===4);ce.doesNotIncludeMarginInBodyOffset=(e.offsetTop!==1);if(a5.getComputedStyle){ce.pixelPosition=(a5.getComputedStyle(cj,null)||{}).top!=="1%";ce.boxSizingReliable=(a5.getComputedStyle(cj,null)||{width:"4px"}).width==="4px";ci=q.createElement("div");ci.style.cssText=cj.style.cssText=cg;ci.style.marginRight=ci.style.width="0";cj.style.width="1px";cj.appendChild(ci);ce.reliableMarginRight=!parseFloat((a5.getComputedStyle(ci,null)||{}).marginRight)}if(typeof cj.style.zoom!=="undefined"){cj.innerHTML="";cj.style.cssText=cg+"width:1px;padding:1px;display:inline;zoom:1";ce.inlineBlockNeedsLayout=(cj.offsetWidth===3);cj.style.display="block";cj.style.overflow="visible";cj.innerHTML="
";cj.firstChild.style.width="5px";ce.shrinkWrapBlocks=(cj.offsetWidth!==3);cf.style.zoom=1}e.removeChild(cf);cf=cj=ch=ci=null});b9.removeChild(b3);cd=cb=cc=b5=ca=b9=b3=null;return ce})();var bw=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,aO=/([A-Z])/g;bJ.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(bJ.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(e){e=e.nodeType?bJ.cache[e[bJ.expando]]:e[bJ.expando];return !!e&&!R(e)},data:function(b4,b2,b6,b5){if(!bJ.acceptData(b4)){return}var b7,b9,ca=bJ.expando,b8=typeof b2==="string",cb=b4.nodeType,e=cb?bJ.cache:b4,b3=cb?b4[ca]:b4[ca]&&ca;if((!b3||!e[b3]||(!b5&&!e[b3].data))&&b8&&b6===aE){return}if(!b3){if(cb){b4[ca]=b3=bJ.deletedIds.pop()||bJ.guid++}else{b3=ca}}if(!e[b3]){e[b3]={};if(!cb){e[b3].toJSON=bJ.noop}}if(typeof b2==="object"||typeof b2==="function"){if(b5){e[b3]=bJ.extend(e[b3],b2)}else{e[b3].data=bJ.extend(e[b3].data,b2)}}b7=e[b3];if(!b5){if(!b7.data){b7.data={}}b7=b7.data}if(b6!==aE){b7[bJ.camelCase(b2)]=b6}if(b8){b9=b7[b2];if(b9==null){b9=b7[bJ.camelCase(b2)]}}else{b9=b7}return b9},removeData:function(b4,b2,b5){if(!bJ.acceptData(b4)){return}var b8,b7,b6,b9=b4.nodeType,e=b9?bJ.cache:b4,b3=b9?b4[bJ.expando]:bJ.expando;if(!e[b3]){return}if(b2){b8=b5?e[b3]:e[b3].data;if(b8){if(!bJ.isArray(b2)){if(b2 in b8){b2=[b2]}else{b2=bJ.camelCase(b2);if(b2 in b8){b2=[b2]}else{b2=b2.split(" ")}}}for(b7=0,b6=b2.length;b71,null,false)},removeData:function(e){return this.each(function(){bJ.removeData(this,e)})}});function by(b4,b3,b5){if(b5===aE&&b4.nodeType===1){var b2="data-"+b3.replace(aO,"-$1").toLowerCase();b5=b4.getAttribute(b2);if(typeof b5==="string"){try{b5=b5==="true"?true:b5==="false"?false:b5==="null"?null:+b5+""===b5?+b5:bw.test(b5)?bJ.parseJSON(b5):b5}catch(b6){}bJ.data(b4,b3,b5)}else{b5=aE}}return b5}function R(b2){var e;for(e in b2){if(e==="data"&&bJ.isEmptyObject(b2[e])){continue}if(e!=="toJSON"){return false}}return true}bJ.extend({queue:function(b3,b2,b4){var e;if(b3){b2=(b2||"fx")+"queue";e=bJ._data(b3,b2);if(b4){if(!e||bJ.isArray(b4)){e=bJ._data(b3,b2,bJ.makeArray(b4))}else{e.push(b4)}}return e||[]}},dequeue:function(b6,b5){b5=b5||"fx";var b2=bJ.queue(b6,b5),b7=b2.length,b4=b2.shift(),e=bJ._queueHooks(b6,b5),b3=function(){bJ.dequeue(b6,b5)};if(b4==="inprogress"){b4=b2.shift();b7--}if(b4){if(b5==="fx"){b2.unshift("inprogress")}delete e.stop;b4.call(b6,b3,e)}if(!b7&&e){e.empty.fire()}},_queueHooks:function(b3,b2){var e=b2+"queueHooks";return bJ._data(b3,e)||bJ._data(b3,e,{empty:bJ.Callbacks("once memory").add(function(){bJ.removeData(b3,b2+"queue",true);bJ.removeData(b3,e,true)})})}});bJ.fn.extend({queue:function(e,b2){var b3=2;if(typeof e!=="string"){b2=e;e="fx";b3--}if(arguments.length1)},removeAttr:function(e){return this.each(function(){bJ.removeAttr(this,e)})},prop:function(e,b2){return bJ.access(this,bJ.prop,e,b2,arguments.length>1)},removeProp:function(e){e=bJ.propFix[e]||e;return this.each(function(){try{this[e]=aE;delete this[e]}catch(b2){}})},addClass:function(b5){var b7,b3,b2,b4,b6,b8,e;if(bJ.isFunction(b5)){return this.each(function(b9){bJ(this).addClass(b5.call(this,b9,this.className))})}if(b5&&typeof b5==="string"){b7=b5.split(aY);for(b3=0,b2=this.length;b3=0){b5=b5.replace(" "+b4[b8]+" "," ")}}b6.className=b7?bJ.trim(b5):""}}}return this},toggleClass:function(b4,b2){var b3=typeof b4,e=typeof b2==="boolean";if(bJ.isFunction(b4)){return this.each(function(b5){bJ(this).toggleClass(b4.call(this,b5,this.className,b2),b2)})}return this.each(function(){if(b3==="string"){var b7,b6=0,b5=bJ(this),b8=b2,b9=b4.split(aY);while((b7=b9[b6++])){b8=e?b8:!b5.hasClass(b7);b5[b8?"addClass":"removeClass"](b7)}}else{if(b3==="undefined"||b3==="boolean"){if(this.className){bJ._data(this,"__className__",this.className)}this.className=this.className||b4===false?"":bJ._data(this,"__className__")||""}}})},hasClass:function(e){var b4=" "+e+" ",b3=0,b2=this.length;for(;b3=0){return true}}return false},val:function(b4){var e,b2,b5,b3=this[0];if(!arguments.length){if(b3){e=bJ.valHooks[b3.type]||bJ.valHooks[b3.nodeName.toLowerCase()];if(e&&"get" in e&&(b2=e.get(b3,"value"))!==aE){return b2}b2=b3.value;return typeof b2==="string"?b2.replace(al,""):b2==null?"":b2}return}b5=bJ.isFunction(b4);return this.each(function(b7){var b8,b6=bJ(this);if(this.nodeType!==1){return}if(b5){b8=b4.call(this,b7,b6.val())}else{b8=b4}if(b8==null){b8=""}else{if(typeof b8==="number"){b8+=""}else{if(bJ.isArray(b8)){b8=bJ.map(b8,function(b9){return b9==null?"":b9+""})}}}e=bJ.valHooks[this.type]||bJ.valHooks[this.nodeName.toLowerCase()];if(!e||!("set" in e)||e.set(this,b8,"value")===aE){this.value=b8}})}});bJ.extend({valHooks:{option:{get:function(e){var b2=e.attributes.value;return !b2||b2.specified?e.value:e.text}},select:{get:function(e){var b7,b2,b6,b4,b5=e.selectedIndex,b8=[],b9=e.options,b3=e.type==="select-one";if(b5<0){return null}b2=b3?b5:0;b6=b3?b5+1:b9.length;for(;b2=0});if(!e.length){b2.selectedIndex=-1}return e}}},attrFn:{},attr:function(b7,b4,b8,b6){var b3,e,b5,b2=b7.nodeType;if(!b7||b2===3||b2===8||b2===2){return}if(b6&&bJ.isFunction(bJ.fn[b4])){return bJ(b7)[b4](b8)}if(typeof b7.getAttribute==="undefined"){return bJ.prop(b7,b4,b8)}b5=b2!==1||!bJ.isXMLDoc(b7);if(b5){b4=b4.toLowerCase();e=bJ.attrHooks[b4]||(P.test(b4)?bY:ba)}if(b8!==aE){if(b8===null){bJ.removeAttr(b7,b4);return}else{if(e&&"set" in e&&b5&&(b3=e.set(b7,b8,b4))!==aE){return b3}else{b7.setAttribute(b4,b8+"");return b8}}}else{if(e&&"get" in e&&b5&&(b3=e.get(b7,b4))!==null){return b3}else{b3=b7.getAttribute(b4);return b3===null?aE:b3}}},removeAttr:function(b4,b6){var b5,b7,b2,e,b3=0;if(b6&&b4.nodeType===1){b7=b6.split(aY);for(;b3=0)}}})});var bH=/^(?:textarea|input|select)$/i,bu=/^([^\.]*|)(?:\.(.+)|)$/,bd=/(?:^|\s)hover(\.\S+|)\b/,a6=/^key/,bN=/^(?:mouse|contextmenu)|click/,bB=/^(?:focusinfocus|focusoutblur)$/,au=function(e){return bJ.event.special.hover?e:e.replace(bd,"mouseenter$1 mouseleave$1")};bJ.event={add:function(b4,b8,cf,b6,b5){var b9,b7,cg,ce,cd,cb,e,cc,b2,b3,ca;if(b4.nodeType===3||b4.nodeType===8||!b8||!cf||!(b9=bJ._data(b4))){return}if(cf.handler){b2=cf;cf=b2.handler;b5=b2.selector}if(!cf.guid){cf.guid=bJ.guid++}cg=b9.events;if(!cg){b9.events=cg={}}b7=b9.handle;if(!b7){b9.handle=b7=function(ch){return typeof bJ!=="undefined"&&(!ch||bJ.event.triggered!==ch.type)?bJ.event.dispatch.apply(b7.elem,arguments):aE};b7.elem=b4}b8=bJ.trim(au(b8)).split(" ");for(ce=0;ce=0){cd=cd.slice(0,-1);b4=true}if(cd.indexOf(".")>=0){b3=cd.split(".");cd=b3.shift();b3.sort()}if((!b7||bJ.event.customEvent[cd])&&!bJ.event.global[cd]){return}b2=typeof b2==="object"?b2[bJ.expando]?b2:new bJ.Event(cd,b2):new bJ.Event(cd);b2.type=cd;b2.isTrigger=true;b2.exclusive=b4;b2.namespace=b3.join(".");b2.namespace_re=b2.namespace?new RegExp("(^|\\.)"+b3.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;b5=cd.indexOf(":")<0?"on"+cd:"";if(!b7){e=bJ.cache;for(ca in e){if(e[ca].events&&e[ca].events[cd]){bJ.event.trigger(b2,b9,e[ca].handle.elem,true)}}return}b2.result=aE;if(!b2.target){b2.target=b7}b9=b9!=null?bJ.makeArray(b9):[];b9.unshift(b2);cc=bJ.event.special[cd]||{};if(cc.trigger&&cc.trigger.apply(b7,b9)===false){return}b8=[[b7,cc.bindType||cd]];if(!cg&&!cc.noBubble&&!bJ.isWindow(b7)){cf=cc.delegateType||cd;ce=bB.test(cf+cd)?b7:b7.parentNode;for(b6=b7;ce;ce=ce.parentNode){b8.push([ce,cf]);b6=ce}if(b6===(b7.ownerDocument||q)){b8.push([b6.defaultView||b6.parentWindow||a5,cf])}}for(ca=0;ca=0:bJ.find(b4,this,null,[ch]).length}if(ca[b4]){b9.push(cf)}}if(b9.length){ce.push({elem:ch,matches:b9})}}}}if(b5.length>b6){ce.push({elem:this,matches:b5.slice(b6)})}for(b8=0;b80?this.on(e,null,b4,b3):this.trigger(e)};if(a6.test(e)){bJ.event.fixHooks[e]=bJ.event.keyHooks}if(bN.test(e)){bJ.event.fixHooks[e]=bJ.event.mouseHooks}});(function(cV,ck){var c0,cd,cO,b3,cp,cD,cg,cj,cf,cM,cc=true,cx="undefined",c2=("sizcache"+Math.random()).replace(".",""),b7=String,cb=cV.document,ce=cb.documentElement,cu=0,ci=0,cH=[].pop,cZ=[].push,co=[].slice,cr=[].indexOf||function(db){var da=0,e=this.length;for(;dacO.cacheLength){delete e[da.shift()]}return(e[db]=dc)},e)},cX=c8(),cY=c8(),cq=c8(),cB="[\\x20\\t\\r\\n\\f]",cn="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",cl=cn.replace("w","w#"),c7="([*^$|!~]?=)",cS="\\["+cB+"*("+cn+")"+cB+"*(?:"+c7+cB+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+cl+")|)|)"+cB+"*\\]",c9=":("+cn+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+cS+")|[^:]|\\\\.)*|.*))\\)|)",cC=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+cB+"*((?:-\\d)?\\d*)"+cB+"*\\)|)(?=[^-]|$)",cW=new RegExp("^"+cB+"+|((?:^|[^\\\\])(?:\\\\.)*)"+cB+"+$","g"),b8=new RegExp("^"+cB+"*,"+cB+"*"),cK=new RegExp("^"+cB+"*([\\x20\\t\\r\\n\\f>+~])"+cB+"*"),cP=new RegExp(c9),cR=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,cG=/^:not/,cU=/[\x20\t\r\n\f]*[+~]/,c3=/:not\($/,cv=/h\d/i,cQ=/input|select|textarea|button/i,cw=/\\(?!\\)/g,cJ={ID:new RegExp("^#("+cn+")"),CLASS:new RegExp("^\\.("+cn+")"),NAME:new RegExp("^\\[name=['\"]?("+cn+")['\"]?\\]"),TAG:new RegExp("^("+cn.replace("w","w*")+")"),ATTR:new RegExp("^"+cS),PSEUDO:new RegExp("^"+c9),POS:new RegExp(cC,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+cB+"*(even|odd|(([+-]|)(\\d*)n|)"+cB+"*(?:([+-]|)"+cB+"*(\\d+)|))"+cB+"*\\)|)","i"),needsContext:new RegExp("^"+cB+"*[>+~]|"+cC,"i")},cN=function(da){var dc=cb.createElement("div");try{return da(dc)}catch(db){return false}finally{dc=null}},ca=cN(function(e){e.appendChild(cb.createComment(""));return !e.getElementsByTagName("*").length}),cF=cN(function(e){e.innerHTML="";return e.firstChild&&typeof e.firstChild.getAttribute!==cx&&e.firstChild.getAttribute("href")==="#"}),ct=cN(function(da){da.innerHTML="";var e=typeof da.lastChild.getAttribute("multiple");return e!=="boolean"&&e!=="string"}),cE=cN(function(e){e.innerHTML="";if(!e.getElementsByClassName||!e.getElementsByClassName("e").length){return false}e.lastChild.className="e";return e.getElementsByClassName("e").length===2}),b2=cN(function(da){da.id=c2+0;da.innerHTML="
";ce.insertBefore(da,ce.firstChild);var e=cb.getElementsByName&&cb.getElementsByName(c2).length===2+cb.getElementsByName(c2+0).length;cd=!cb.getElementById(c2);ce.removeChild(da);return e});try{co.call(ce.childNodes,0)[0].nodeType}catch(c6){co=function(da){var db,e=[];for(;(db=this[da]);da++){e.push(db)}return e}}function cT(dc,e,de,dh){de=de||[];e=e||cb;var df,da,dg,db,dd=e.nodeType;if(!dc||typeof dc!=="string"){return de}if(dd!==1&&dd!==9){return[]}dg=cp(e);if(!dg&&!dh){if((df=cR.exec(dc))){if((db=df[1])){if(dd===9){da=e.getElementById(db);if(da&&da.parentNode){if(da.id===db){de.push(da);return de}}else{return de}}else{if(e.ownerDocument&&(da=e.ownerDocument.getElementById(db))&&cD(e,da)&&da.id===db){de.push(da);return de}}}else{if(df[2]){cZ.apply(de,co.call(e.getElementsByTagName(dc),0));return de}else{if((db=df[3])&&cE&&e.getElementsByClassName){cZ.apply(de,co.call(e.getElementsByClassName(db),0));return de}}}}}return c1(dc.replace(cW,"$1"),e,de,dh,dg)}cT.matches=function(da,e){return cT(da,null,null,e)};cT.matchesSelector=function(e,da){return cT(da,null,null,[e]).length>0};function cL(e){return function(db){var da=db.nodeName.toLowerCase();return da==="input"&&db.type===e}}function b6(e){return function(db){var da=db.nodeName.toLowerCase();return(da==="input"||da==="button")&&db.type===e}}function cI(e){return c4(function(da){da=+da;return c4(function(db,df){var dd,dc=e([],db.length,da),de=dc.length;while(de--){if(db[(dd=dc[de])]){db[dd]=!(df[dd]=db[dd])}}})})}b3=cT.getText=function(dd){var dc,da="",db=0,e=dd.nodeType;if(e){if(e===1||e===9||e===11){if(typeof dd.textContent==="string"){return dd.textContent}else{for(dd=dd.firstChild;dd;dd=dd.nextSibling){da+=b3(dd)}}}else{if(e===3||e===4){return dd.nodeValue}}}else{for(;(dc=dd[db]);db++){da+=b3(dc)}}return da};cp=cT.isXML=function(e){var da=e&&(e.ownerDocument||e).documentElement;return da?da.nodeName!=="HTML":false};cD=cT.contains=ce.contains?function(da,e){var dc=da.nodeType===9?da.documentElement:da,db=e&&e.parentNode;return da===db||!!(db&&db.nodeType===1&&dc.contains&&dc.contains(db))}:ce.compareDocumentPosition?function(da,e){return e&&!!(da.compareDocumentPosition(e)&16)}:function(da,e){while((e=e.parentNode)){if(e===da){return true}}return false};cT.attr=function(db,da){var dc,e=cp(db);if(!e){da=da.toLowerCase()}if((dc=cO.attrHandle[da])){return dc(db)}if(e||ct){return db.getAttribute(da)}dc=db.getAttributeNode(da);return dc?typeof db[da]==="boolean"?db[da]?da:null:dc.specified?dc.value:null:null};cO=cT.selectors={cacheLength:50,createPseudo:c4,match:cJ,attrHandle:cF?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:cd?function(dc,db,da){if(typeof db.getElementById!==cx&&!da){var e=db.getElementById(dc);return e&&e.parentNode?[e]:[]}}:function(dc,db,da){if(typeof db.getElementById!==cx&&!da){var e=db.getElementById(dc);return e?e.id===dc||typeof e.getAttributeNode!==cx&&e.getAttributeNode("id").value===dc?[e]:ck:[]}},TAG:ca?function(e,da){if(typeof da.getElementsByTagName!==cx){return da.getElementsByTagName(e)}}:function(e,dd){var dc=dd.getElementsByTagName(e);if(e==="*"){var de,db=[],da=0;for(;(de=dc[da]);da++){if(de.nodeType===1){db.push(de)}}return db}return dc},NAME:b2&&function(e,da){if(typeof da.getElementsByName!==cx){return da.getElementsByName(name)}},CLASS:cE&&function(db,da,e){if(typeof da.getElementsByClassName!==cx&&!e){return da.getElementsByClassName(db)}}},relative:{">":{dir:"parentNode",first:true}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:true},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){e[1]=e[1].replace(cw,"");e[3]=(e[4]||e[5]||"").replace(cw,"");if(e[2]==="~="){e[3]=" "+e[3]+" "}return e.slice(0,4)},CHILD:function(e){e[1]=e[1].toLowerCase();if(e[1]==="nth"){if(!e[2]){cT.error(e[0])}e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd"));e[4]=+((e[6]+e[7])||e[2]==="odd")}else{if(e[2]){cT.error(e[0])}}return e},PSEUDO:function(da){var db,e;if(cJ.CHILD.test(da[0])){return null}if(da[3]){da[2]=da[3]}else{if((db=da[4])){if(cP.test(db)&&(e=b4(db,true))&&(e=db.indexOf(")",db.length-e)-db.length)){db=db.slice(0,e);da[0]=da[0].slice(0,e)}da[2]=db}}return da.slice(0,3)}},filter:{ID:cd?function(e){e=e.replace(cw,"");return function(da){return da.getAttribute("id")===e}}:function(e){e=e.replace(cw,"");return function(db){var da=typeof db.getAttributeNode!==cx&&db.getAttributeNode("id");return da&&da.value===e}},TAG:function(e){if(e==="*"){return function(){return true}}e=e.replace(cw,"").toLowerCase();return function(da){return da.nodeName&&da.nodeName.toLowerCase()===e}},CLASS:function(e){var da=cX[c2][e];if(!da){da=cX(e,new RegExp("(^|"+cB+")"+e+"("+cB+"|$)"))}return function(db){return da.test(db.className||(typeof db.getAttribute!==cx&&db.getAttribute("class"))||"")}},ATTR:function(db,da,e){return function(de,dd){var dc=cT.attr(de,db);if(dc==null){return da==="!="}if(!da){return true}dc+="";return da==="="?dc===e:da==="!="?dc!==e:da==="^="?e&&dc.indexOf(e)===0:da==="*="?e&&dc.indexOf(e)>-1:da==="$="?e&&dc.substr(dc.length-e.length)===e:da==="~="?(" "+dc+" ").indexOf(e)>-1:da==="|="?dc===e||dc.substr(0,e.length+1)===e+"-":false}},CHILD:function(e,db,dc,da){if(e==="nth"){return function(df){var de,dg,dd=df.parentNode;if(dc===1&&da===0){return true}if(dd){dg=0;for(de=dd.firstChild;de;de=de.nextSibling){if(de.nodeType===1){dg++;if(df===de){break}}}}dg-=da;return dg===dc||(dg%dc===0&&dg/dc>=0)}}return function(de){var dd=de;switch(e){case"only":case"first":while((dd=dd.previousSibling)){if(dd.nodeType===1){return false}}if(e==="first"){return true}dd=de;case"last":while((dd=dd.nextSibling)){if(dd.nodeType===1){return false}}return true}}},PSEUDO:function(dc,db){var e,da=cO.pseudos[dc]||cO.setFilters[dc.toLowerCase()]||cT.error("unsupported pseudo: "+dc);if(da[c2]){return da(db)}if(da.length>1){e=[dc,dc,"",db];return cO.setFilters.hasOwnProperty(dc.toLowerCase())?c4(function(df,dh){var de,dd=da(df,db),dg=dd.length;while(dg--){de=cr.call(df,dd[dg]);df[de]=!(dh[de]=dd[dg])}}):function(dd){return da(dd,0,e)}}return da}},pseudos:{not:c4(function(e){var da=[],db=[],dc=cg(e.replace(cW,"$1"));return dc[c2]?c4(function(de,dj,dh,df){var di,dd=dc(de,null,df,[]),dg=de.length;while(dg--){if((di=dd[dg])){de[dg]=!(dj[dg]=di)}}}):function(df,de,dd){da[0]=df;dc(da,null,dd,db);return !db.pop()}}),has:c4(function(e){return function(da){return cT(e,da).length>0}}),contains:c4(function(e){return function(da){return(da.textContent||da.innerText||b3(da)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===false},disabled:function(e){return e.disabled===true},checked:function(e){var da=e.nodeName.toLowerCase();return(da==="input"&&!!e.checked)||(da==="option"&&!!e.selected)},selected:function(e){if(e.parentNode){e.parentNode.selectedIndex}return e.selected===true},parent:function(e){return !cO.pseudos.empty(e)},empty:function(da){var e;da=da.firstChild;while(da){if(da.nodeName>"@"||(e=da.nodeType)===3||e===4){return false}da=da.nextSibling}return true},header:function(e){return cv.test(e.nodeName)},text:function(db){var da,e;return db.nodeName.toLowerCase()==="input"&&(da=db.type)==="text"&&((e=db.getAttribute("type"))==null||e.toLowerCase()===da)},radio:cL("radio"),checkbox:cL("checkbox"),file:cL("file"),password:cL("password"),image:cL("image"),submit:b6("submit"),reset:b6("reset"),button:function(da){var e=da.nodeName.toLowerCase();return e==="input"&&da.type==="button"||e==="button"},input:function(e){return cQ.test(e.nodeName)},focus:function(e){var da=e.ownerDocument;return e===da.activeElement&&(!da.hasFocus||da.hasFocus())&&!!(e.type||e.href)},active:function(e){return e===e.ownerDocument.activeElement},first:cI(function(e,db,da){return[0]}),last:cI(function(e,db,da){return[db-1]}),eq:cI(function(e,db,da){return[da<0?da+db:da]}),even:cI(function(e,dc,db){for(var da=0;da=0;){e.push(da)}return e}),gt:cI(function(e,dc,db){for(var da=db<0?db+dc:db;++da1?function(dd,dc,da){var db=e.length;while(db--){if(!e[db](dd,dc,da)){return false}}return true}:e[0]}function cy(e,da,db,dc,df){var dd,di=[],de=0,dg=e.length,dh=da!=null;for(;de-1},dj,true),e=[function(dm,dl,dk){return(!di&&(dk||dl!==cM))||((da=dl).nodeType?dg(dm,dl,dk):dh(dm,dl,dk))}];for(;dc1&&ch(e),dc>1&&df.slice(0,dc-1).join("").replace(cW,"$1"),dd,dc0,dd=dc.length>0,da=function(dn,dh,dm,dl,du){var di,dj,dp,dt=[],ds=0,dk="0",de=dn&&[],dq=du!=null,dr=cM,dg=dn||dd&&cO.find.TAG("*",du&&dh.parentNode||dh),df=(cu+=dr==null?1:Math.E);if(dq){cM=dh!==cb&&dh;c0=da.el}for(;(di=dg[dk])!=null;dk++){if(dd&&di){for(dj=0;(dp=dc[dj]);dj++){if(dp(di,dh,dm)){dl.push(di);break}}if(dq){cu=df;c0=++da.el}}if(e){if((di=!dp&&di)){ds--}if(dn){de.push(di)}}}ds+=dk;if(e&&dk!==ds){for(dj=0;(dp=db[dj]);dj++){dp(de,dt,dh,dm)}if(dn){if(ds>0){while(dk--){if(!(de[dk]||dt[dk])){dt[dk]=cH.call(dl)}}}dt=cy(dt)}cZ.apply(dl,dt);if(dq&&!dn&&dt.length>0&&(ds+db.length)>1){cT.uniqueSort(dl)}}if(dq){cu=df;cM=dr}return de};da.el=0;return e?c4(da):da}cg=cT.compile=function(e,de){var db,da=[],dd=[],dc=cq[c2][e];if(!dc){if(!de){de=b4(e)}db=de.length;while(db--){dc=cA(de[db]);if(dc[c2]){da.push(dc)}else{dd.push(dc)}}dc=cq(e,b9(dd,da))}return dc};function cs(da,de,dd,db){var dc=0,e=de.length;for(;dc2&&(da=dk[0]).type==="ID"&&e.nodeType===9&&!dg&&cO.relative[dk[1].type]){e=cO.find.ID(da.matches[0].replace(cw,""),e,dg)[0];if(!e){return dd}db=db.slice(dk.shift().length)}for(de=cJ.POS.test(db)?-1:dk.length-1;de>=0;de--){da=dk[de];if(cO.relative[(dj=da.type)]){break}if((di=cO.find[dj])){if((dh=di(da.matches[0].replace(cw,""),cU.test(dk[0].type)&&e.parentNode||e,dg))){dk.splice(de,1);db=dh.length&&dk.join("");if(!db){cZ.apply(dd,co.call(dh,0));return dd}break}}}}}cg(db,df)(dh,e,dg,dd,cU.test(db));return dd}if(cb.querySelectorAll){(function(){var de,df=c1,dd=/'|\\/g,db=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,da=[":focus"],e=[":active",":focus"],dc=ce.matchesSelector||ce.mozMatchesSelector||ce.webkitMatchesSelector||ce.oMatchesSelector||ce.msMatchesSelector;cN(function(dg){dg.innerHTML="";if(!dg.querySelectorAll("[selected]").length){da.push("\\["+cB+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)")}if(!dg.querySelectorAll(":checked").length){da.push(":checked")}});cN(function(dg){dg.innerHTML="

";if(dg.querySelectorAll("[test^='']").length){da.push("[*^$]="+cB+"*(?:\"\"|'')")}dg.innerHTML="";if(!dg.querySelectorAll(":enabled").length){da.push(":enabled",":disabled")}});da=new RegExp(da.join("|"));c1=function(dm,dh,dp,ds,dr){if(!ds&&!dr&&(!da||!da.test(dm))){var dk,dq,dj=true,dg=c2,di=dh,dn=dh.nodeType===9&&dm;if(dh.nodeType===1&&dh.nodeName.toLowerCase()!=="object"){dk=b4(dm);if((dj=dh.getAttribute("id"))){dg=dj.replace(dd,"\\$&")}else{dh.setAttribute("id",dg)}dg="[id='"+dg+"'] ";dq=dk.length;while(dq--){dk[dq]=dg+dk[dq].join("")}di=cU.test(dm)&&dh.parentNode||dh;dn=dk.join(",")}if(dn){try{cZ.apply(dp,co.call(di.querySelectorAll(dn),0));return dp}catch(dl){}finally{if(!dj){dh.removeAttribute("id")}}}}return df(dm,dh,dp,ds,dr)};if(dc){cN(function(dh){de=dc.call(dh,"div");try{dc.call(dh,"[test!='']:sizzle");e.push("!=",c9)}catch(dg){}});e=new RegExp(e.join("|"));cT.matchesSelector=function(dh,dj){dj=dj.replace(db,"='$1']");if(!cp(dh)&&!e.test(dj)&&(!da||!da.test(dj))){try{var dg=dc.call(dh,dj);if(dg||de||dh.document&&dh.document.nodeType!==11){return dg}}catch(di){}}return cT(dj,null,null,[dh]).length>0}}})()}cO.pseudos.nth=cO.pseudos.eq;function cm(){}cO.filters=cm.prototype=cO.pseudos;cO.setFilters=new cm();cT.attr=bJ.attr;bJ.find=cT;bJ.expr=cT.selectors;bJ.expr[":"]=bJ.expr.pseudos;bJ.unique=cT.uniqueSort;bJ.text=cT.getText;bJ.isXMLDoc=cT.isXML;bJ.contains=cT.contains})(a5);var aj=/Until$/,bt=/^(?:parents|prev(?:Until|All))/,ao=/^.[^:#\[\.,]*$/,B=bJ.expr.match.needsContext,bx={children:true,contents:true,next:true,prev:true};bJ.fn.extend({find:function(e){var b5,b2,b7,b8,b6,b4,b3=this;if(typeof e!=="string"){return bJ(e).filter(function(){for(b5=0,b2=b3.length;b50){for(b8=b7;b8=0:bJ.filter(e,this).length>0:this.filter(e).length>0)},closest:function(b5,b4){var b6,b3=0,e=this.length,b2=[],b7=B.test(b5)||typeof b5!=="string"?bJ(b5,b4||this.context):0;for(;b3-1:bJ.find.matchesSelector(b6,b5)){b2.push(b6);break}b6=b6.parentNode}}b2=b2.length>1?bJ.unique(b2):b2;return this.pushStack(b2,"closest",b5)},index:function(e){if(!e){return(this[0]&&this[0].parentNode)?this.prevAll().length:-1}if(typeof e==="string"){return bJ.inArray(this[0],bJ(e))}return bJ.inArray(e.jquery?e[0]:e,this)},add:function(e,b2){var b4=typeof e==="string"?bJ(e,b2):bJ.makeArray(e&&e.nodeType?[e]:e),b3=bJ.merge(this.get(),b4);return this.pushStack(aU(b4[0])||aU(b3[0])?b3:bJ.unique(b3))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}});bJ.fn.andSelf=bJ.fn.addBack;function aU(e){return !e||!e.parentNode||e.parentNode.nodeType===11}function a1(b2,e){do{b2=b2[e]}while(b2&&b2.nodeType!==1);return b2}bJ.each({parent:function(b2){var e=b2.parentNode;return e&&e.nodeType!==11?e:null},parents:function(e){return bJ.dir(e,"parentNode")},parentsUntil:function(b2,e,b3){return bJ.dir(b2,"parentNode",b3)},next:function(e){return a1(e,"nextSibling")},prev:function(e){return a1(e,"previousSibling")},nextAll:function(e){return bJ.dir(e,"nextSibling")},prevAll:function(e){return bJ.dir(e,"previousSibling")},nextUntil:function(b2,e,b3){return bJ.dir(b2,"nextSibling",b3)},prevUntil:function(b2,e,b3){return bJ.dir(b2,"previousSibling",b3)},siblings:function(e){return bJ.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return bJ.sibling(e.firstChild)},contents:function(e){return bJ.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:bJ.merge([],e.childNodes)}},function(e,b2){bJ.fn[e]=function(b5,b3){var b4=bJ.map(this,b2,b5);if(!aj.test(e)){b3=b5}if(b3&&typeof b3==="string"){b4=bJ.filter(b3,b4)}b4=this.length>1&&!bx[e]?bJ.unique(b4):b4;if(this.length>1&&bt.test(e)){b4=b4.reverse()}return this.pushStack(b4,e,a7.call(arguments).join(","))}});bJ.extend({filter:function(b3,e,b2){if(b2){b3=":not("+b3+")"}return e.length===1?bJ.find.matchesSelector(e[0],b3)?[e[0]]:[]:bJ.find.matches(b3,e)},dir:function(b3,b2,b5){var e=[],b4=b3[b2];while(b4&&b4.nodeType!==9&&(b5===aE||b4.nodeType!==1||!bJ(b4).is(b5))){if(b4.nodeType===1){e.push(b4)}b4=b4[b2]}return e},sibling:function(b3,b2){var e=[];for(;b3;b3=b3.nextSibling){if(b3.nodeType===1&&b3!==b2){e.push(b3)}}return e}});function aP(b4,b3,e){b3=b3||0;if(bJ.isFunction(b3)){return bJ.grep(b4,function(b6,b5){var b7=!!b3.call(b6,b5,b6);return b7===e})}else{if(b3.nodeType){return bJ.grep(b4,function(b6,b5){return(b6===b3)===e})}else{if(typeof b3==="string"){var b2=bJ.grep(b4,function(b5){return b5.nodeType===1});if(ao.test(b3)){return bJ.filter(b3,b2,!e)}else{b3=bJ.filter(b3,b2)}}}}return bJ.grep(b4,function(b6,b5){return(bJ.inArray(b6,b3)>=0)===e})}function D(e){var b3=d.split("|"),b2=e.createDocumentFragment();if(b2.createElement){while(b3.length){b2.createElement(b3.pop())}}return b2}var d="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ay=/ jQuery\d+="(?:null|\d+)"/g,b1=/^\s+/,aB=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,r=/<([\w:]+)/,bW=/]","i"),aH=/^(?:checkbox|radio)$/,bU=/checked\s*(?:[^=]|=\s*.checked.)/i,bz=/\/(java|ecma)script/i,aK=/^\s*\s*$/g,W={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},aT=D(q),n=aT.appendChild(q.createElement("div"));W.optgroup=W.option;W.tbody=W.tfoot=W.colgroup=W.caption=W.thead;W.th=W.td;if(!bJ.support.htmlSerialize){W._default=[1,"X
","
"]}bJ.fn.extend({text:function(e){return bJ.access(this,function(b2){return b2===aE?bJ.text(this):this.empty().append((this[0]&&this[0].ownerDocument||q).createTextNode(b2))},null,e,arguments.length)},wrapAll:function(e){if(bJ.isFunction(e)){return this.each(function(b3){bJ(this).wrapAll(e.call(this,b3))})}if(this[0]){var b2=bJ(e,this[0].ownerDocument).eq(0).clone(true);if(this[0].parentNode){b2.insertBefore(this[0])}b2.map(function(){var b3=this;while(b3.firstChild&&b3.firstChild.nodeType===1){b3=b3.firstChild}return b3}).append(this)}return this},wrapInner:function(e){if(bJ.isFunction(e)){return this.each(function(b2){bJ(this).wrapInner(e.call(this,b2))})}return this.each(function(){var b2=bJ(this),b3=b2.contents();if(b3.length){b3.wrapAll(e)}else{b2.append(e)}})},wrap:function(e){var b2=bJ.isFunction(e);return this.each(function(b3){bJ(this).wrapAll(b2?e.call(this,b3):e)})},unwrap:function(){return this.parent().each(function(){if(!bJ.nodeName(this,"body")){bJ(this).replaceWith(this.childNodes)}}).end()},append:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1||this.nodeType===11){this.appendChild(e)}})},prepend:function(){return this.domManip(arguments,true,function(e){if(this.nodeType===1||this.nodeType===11){this.insertBefore(e,this.firstChild)}})},before:function(){if(!aU(this[0])){return this.domManip(arguments,false,function(b2){this.parentNode.insertBefore(b2,this)})}if(arguments.length){var e=bJ.clean(arguments);return this.pushStack(bJ.merge(e,this),"before",this.selector)}},after:function(){if(!aU(this[0])){return this.domManip(arguments,false,function(b2){this.parentNode.insertBefore(b2,this.nextSibling)})}if(arguments.length){var e=bJ.clean(arguments);return this.pushStack(bJ.merge(this,e),"after",this.selector)}},remove:function(e,b4){var b3,b2=0;for(;(b3=this[b2])!=null;b2++){if(!e||bJ.filter(e,[b3]).length){if(!b4&&b3.nodeType===1){bJ.cleanData(b3.getElementsByTagName("*"));bJ.cleanData([b3])}if(b3.parentNode){b3.parentNode.removeChild(b3)}}}return this},empty:function(){var b2,e=0;for(;(b2=this[e])!=null;e++){if(b2.nodeType===1){bJ.cleanData(b2.getElementsByTagName("*"))}while(b2.firstChild){b2.removeChild(b2.firstChild)}}return this},clone:function(b2,e){b2=b2==null?false:b2;e=e==null?b2:e;return this.map(function(){return bJ.clone(this,b2,e)})},html:function(e){return bJ.access(this,function(b5){var b4=this[0]||{},b3=0,b2=this.length;if(b5===aE){return b4.nodeType===1?b4.innerHTML.replace(ay,""):aE}if(typeof b5==="string"&&!am.test(b5)&&(bJ.support.htmlSerialize||!N.test(b5))&&(bJ.support.leadingWhitespace||!b1.test(b5))&&!W[(r.exec(b5)||["",""])[1].toLowerCase()]){b5=b5.replace(aB,"<$1>");try{for(;b31&&typeof b8==="string"&&bU.test(b8)){return this.each(function(){bJ(this).domManip(b7,cb,ca)})}if(bJ.isFunction(b8)){return this.each(function(cd){var cc=bJ(this);b7[0]=b8.call(this,cd,cb?cc.html():aE);cc.domManip(b7,cb,ca)})}if(this[0]){b3=bJ.buildFragment(b7,this,b2);b6=b3.fragment;b5=b6.firstChild;if(b6.childNodes.length===1){b6=b5}if(b5){cb=cb&&bJ.nodeName(b5,"tr");for(b9=b3.cacheable||e-1;b40?this.clone(true):this).get();bJ(b9[b7])[b2](b5);b6=b6.concat(b5)}return this.pushStack(b6,e,b9.selector)}}});function o(e){if(typeof e.getElementsByTagName!=="undefined"){return e.getElementsByTagName("*")}else{if(typeof e.querySelectorAll!=="undefined"){return e.querySelectorAll("*")}else{return[]}}}function bV(e){if(aH.test(e.type)){e.defaultChecked=e.checked}}bJ.extend({clone:function(b5,b7,b3){var e,b2,b4,b6;if(bJ.support.html5Clone||bJ.isXMLDoc(b5)||!N.test("<"+b5.nodeName+">")){b6=b5.cloneNode(true)}else{n.innerHTML=b5.outerHTML;n.removeChild(b6=n.firstChild)}if((!bJ.support.noCloneEvent||!bJ.support.noCloneChecked)&&(b5.nodeType===1||b5.nodeType===11)&&!bJ.isXMLDoc(b5)){I(b5,b6);e=o(b5);b2=o(b6);for(b4=0;e[b4];++b4){if(b2[b4]){I(e[b4],b2[b4])}}}if(b7){ar(b5,b6);if(b3){e=o(b5);b2=o(b6);for(b4=0;e[b4];++b4){ar(e[b4],b2[b4])}}}e=b2=null;return b6},clean:function(ce,b3,e,b4){var cb,ca,cd,ci,b7,ch,b8,b5,b2,cc,cg,b9,b6=b3===q&&aT,cf=[];if(!b3||typeof b3.createDocumentFragment==="undefined"){b3=q}for(cb=0;(cd=ce[cb])!=null;cb++){if(typeof cd==="number"){cd+=""}if(!cd){continue}if(typeof cd==="string"){if(!M.test(cd)){cd=b3.createTextNode(cd)}else{b6=b6||D(b3);b8=b3.createElement("div");b6.appendChild(b8);cd=cd.replace(aB,"<$1>");ci=(r.exec(cd)||["",""])[1].toLowerCase();b7=W[ci]||W._default;ch=b7[0];b8.innerHTML=b7[1]+cd+b7[2];while(ch--){b8=b8.lastChild}if(!bJ.support.tbody){b5=bW.test(cd);b2=ci==="table"&&!b5?b8.firstChild&&b8.firstChild.childNodes:b7[1]===""&&!b5?b8.childNodes:[];for(ca=b2.length-1;ca>=0;--ca){if(bJ.nodeName(b2[ca],"tbody")&&!b2[ca].childNodes.length){b2[ca].parentNode.removeChild(b2[ca])}}}if(!bJ.support.leadingWhitespace&&b1.test(cd)){b8.insertBefore(b3.createTextNode(b1.exec(cd)[0]),b8.firstChild)}cd=b8.childNodes;b8.parentNode.removeChild(b8)}}if(cd.nodeType){cf.push(cd)}else{bJ.merge(cf,cd)}}if(b8){cd=b8=b6=null}if(!bJ.support.appendChecked){for(cb=0;(cd=cf[cb])!=null;cb++){if(bJ.nodeName(cd,"input")){bV(cd)}else{if(typeof cd.getElementsByTagName!=="undefined"){bJ.grep(cd.getElementsByTagName("input"),bV)}}}}if(e){cg=function(cj){if(!cj.type||bz.test(cj.type)){return b4?b4.push(cj.parentNode?cj.parentNode.removeChild(cj):cj):e.appendChild(cj)}};for(cb=0;(cd=cf[cb])!=null;cb++){if(!(bJ.nodeName(cd,"script")&&cg(cd))){e.appendChild(cd);if(typeof cd.getElementsByTagName!=="undefined"){b9=bJ.grep(bJ.merge([],cd.getElementsByTagName("script")),cg);cf.splice.apply(cf,[cb+1,0].concat(b9));cb+=b9.length}}}}return cf},cleanData:function(b2,ca){var b5,b3,b4,b9,b6=0,cb=bJ.expando,e=bJ.cache,b7=bJ.support.deleteExpando,b8=bJ.event.special;for(;(b4=b2[b6])!=null;b6++){if(ca||bJ.acceptData(b4)){b3=b4[cb];b5=b3&&e[b3];if(b5){if(b5.events){for(b9 in b5.events){if(b8[b9]){bJ.event.remove(b4,b9)}else{bJ.removeEvent(b4,b9,b5.handle)}}}if(e[b3]){delete e[b3];if(b7){delete b4[cb]}else{if(b4.removeAttribute){b4.removeAttribute(cb)}else{b4[cb]=null}}bJ.deletedIds.push(b3)}}}}}});(function(){var e,b2;bJ.uaMatch=function(b4){b4=b4.toLowerCase();var b3=/(chrome)[ \/]([\w.]+)/.exec(b4)||/(webkit)[ \/]([\w.]+)/.exec(b4)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(b4)||/(msie) ([\w.]+)/.exec(b4)||b4.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(b4)||[];return{browser:b3[1]||"",version:b3[2]||"0"}};e=bJ.uaMatch(f.userAgent);b2={};if(e.browser){b2[e.browser]=true;b2.version=e.version}if(b2.chrome){b2.webkit=true}else{if(b2.webkit){b2.safari=true}}bJ.browser=b2;bJ.sub=function(){function b3(b6,b7){return new b3.fn.init(b6,b7)}bJ.extend(true,b3,this);b3.superclass=this;b3.fn=b3.prototype=this();b3.fn.constructor=b3;b3.sub=this.sub;b3.fn.init=function b5(b6,b7){if(b7&&b7 instanceof bJ&&!(b7 instanceof b3)){b7=b3(b7)}return bJ.fn.init.call(this,b6,b7,b4)};b3.fn.init.prototype=b3.fn;var b4=b3(q);return b3}})();var H,aC,aZ,bh=/alpha\([^)]*\)/i,aV=/opacity=([^)]*)/,bn=/^(top|right|bottom|left)$/,J=/^(none|table(?!-c[ea]).+)/,a2=/^margin/,bb=new RegExp("^("+bA+")(.*)$","i"),Z=new RegExp("^("+bA+")(?!px)[a-z%]+$","i"),V=new RegExp("^([-+])=("+bA+")","i"),bk={},bc={position:"absolute",visibility:"hidden",display:"block"},bD={letterSpacing:0,fontWeight:400},bT=["Top","Right","Bottom","Left"],av=["Webkit","O","Moz","ms"],aM=bJ.fn.toggle;function c(b4,b2){if(b2 in b4){return b2}var b5=b2.charAt(0).toUpperCase()+b2.slice(1),e=b2,b3=av.length;while(b3--){b2=av[b3]+b5;if(b2 in b4){return b2}}return e}function T(b2,e){b2=e||b2;return bJ.css(b2,"display")==="none"||!bJ.contains(b2.ownerDocument,b2)}function u(b6,e){var b5,b7,b2=[],b3=0,b4=b6.length;for(;b31)},show:function(){return u(this,true)},hide:function(){return u(this)},toggle:function(b3,b2){var e=typeof b3==="boolean";if(bJ.isFunction(b3)&&bJ.isFunction(b2)){return aM.apply(this,arguments)}return this.each(function(){if(e?b3:T(this)){bJ(this).show()}else{bJ(this).hide()}})}});bJ.extend({cssHooks:{opacity:{get:function(b3,b2){if(b2){var e=H(b3,"opacity");return e===""?"1":e}}}},cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":bJ.support.cssFloat?"cssFloat":"styleFloat"},style:function(b4,b3,ca,b5){if(!b4||b4.nodeType===3||b4.nodeType===8||!b4.style){return}var b8,b9,cb,b6=bJ.camelCase(b3),b2=b4.style;b3=bJ.cssProps[b6]||(bJ.cssProps[b6]=c(b2,b6));cb=bJ.cssHooks[b3]||bJ.cssHooks[b6];if(ca!==aE){b9=typeof ca;if(b9==="string"&&(b8=V.exec(ca))){ca=(b8[1]+1)*b8[2]+parseFloat(bJ.css(b4,b3));b9="number"}if(ca==null||b9==="number"&&isNaN(ca)){return}if(b9==="number"&&!bJ.cssNumber[b6]){ca+="px"}if(!cb||!("set" in cb)||(ca=cb.set(b4,ca,b5))!==aE){try{b2[b3]=ca}catch(b7){}}}else{if(cb&&"get" in cb&&(b8=cb.get(b4,false,b5))!==aE){return b8}return b2[b3]}},css:function(b7,b5,b6,b2){var b8,b4,e,b3=bJ.camelCase(b5);b5=bJ.cssProps[b3]||(bJ.cssProps[b3]=c(b7.style,b3));e=bJ.cssHooks[b5]||bJ.cssHooks[b3];if(e&&"get" in e){b8=e.get(b7,true,b2)}if(b8===aE){b8=H(b7,b5)}if(b8==="normal"&&b5 in bD){b8=bD[b5]}if(b6||b2!==aE){b4=parseFloat(b8);return b6||bJ.isNumeric(b4)?b4||0:b8}return b8},swap:function(b5,b4,b6){var b3,b2,e={};for(b2 in b4){e[b2]=b5.style[b2];b5.style[b2]=b4[b2]}b3=b6.call(b5);for(b2 in b4){b5.style[b2]=e[b2]}return b3}});if(a5.getComputedStyle){H=function(b8,b2){var e,b5,b4,b7,b6=a5.getComputedStyle(b8,null),b3=b8.style;if(b6){e=b6[b2];if(e===""&&!bJ.contains(b8.ownerDocument,b8)){e=bJ.style(b8,b2)}if(Z.test(e)&&a2.test(b2)){b5=b3.width;b4=b3.minWidth;b7=b3.maxWidth;b3.minWidth=b3.maxWidth=b3.width=e;e=b6.width;b3.width=b5;b3.minWidth=b4;b3.maxWidth=b7}}return e}}else{if(q.documentElement.currentStyle){H=function(b5,b3){var b6,e,b2=b5.currentStyle&&b5.currentStyle[b3],b4=b5.style;if(b2==null&&b4&&b4[b3]){b2=b4[b3]}if(Z.test(b2)&&!bn.test(b3)){b6=b4.left;e=b5.runtimeStyle&&b5.runtimeStyle.left;if(e){b5.runtimeStyle.left=b5.currentStyle.left}b4.left=b3==="fontSize"?"1em":b2;b2=b4.pixelLeft+"px";b4.left=b6;if(e){b5.runtimeStyle.left=e}}return b2===""?"auto":b2}}}function aJ(e,b3,b4){var b2=bb.exec(b3);return b2?Math.max(0,b2[1]-(b4||0))+(b2[2]||"px"):b3}function aw(b4,b2,e,b6){var b3=e===(b6?"border":"content")?4:b2==="width"?1:0,b5=0;for(;b3<4;b3+=2){if(e==="margin"){b5+=bJ.css(b4,e+bT[b3],true)}if(b6){if(e==="content"){b5-=parseFloat(H(b4,"padding"+bT[b3]))||0}if(e!=="margin"){b5-=parseFloat(H(b4,"border"+bT[b3]+"Width"))||0}}else{b5+=parseFloat(H(b4,"padding"+bT[b3]))||0;if(e!=="padding"){b5+=parseFloat(H(b4,"border"+bT[b3]+"Width"))||0}}}return b5}function x(b4,b2,e){var b5=b2==="width"?b4.offsetWidth:b4.offsetHeight,b3=true,b6=bJ.support.boxSizing&&bJ.css(b4,"boxSizing")==="border-box";if(b5<=0||b5==null){b5=H(b4,b2);if(b5<0||b5==null){b5=b4.style[b2]}if(Z.test(b5)){return b5}b3=b6&&(bJ.support.boxSizingReliable||b5===b4.style[b2]);b5=parseFloat(b5)||0}return(b5+aw(b4,b2,e||(b6?"border":"content"),b3))+"px"}function bF(b3){if(bk[b3]){return bk[b3]}var e=bJ("<"+b3+">").appendTo(q.body),b2=e.css("display");e.remove();if(b2==="none"||b2===""){aC=q.body.appendChild(aC||bJ.extend(q.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!aZ||!aC.createElement){aZ=(aC.contentWindow||aC.contentDocument).document;aZ.write("");aZ.close()}e=aZ.body.appendChild(aZ.createElement(b3));b2=H(e,"display");q.body.removeChild(aC)}bk[b3]=b2;return b2}bJ.each(["height","width"],function(b2,e){bJ.cssHooks[e]={get:function(b5,b4,b3){if(b4){if(b5.offsetWidth===0&&J.test(H(b5,"display"))){return bJ.swap(b5,bc,function(){return x(b5,e,b3)})}else{return x(b5,e,b3)}}},set:function(b4,b5,b3){return aJ(b4,b5,b3?aw(b4,e,b3,bJ.support.boxSizing&&bJ.css(b4,"boxSizing")==="border-box"):0)}}});if(!bJ.support.opacity){bJ.cssHooks.opacity={get:function(b2,e){return aV.test((e&&b2.currentStyle?b2.currentStyle.filter:b2.style.filter)||"")?(0.01*parseFloat(RegExp.$1))+"":e?"1":""},set:function(b5,b6){var b4=b5.style,b2=b5.currentStyle,e=bJ.isNumeric(b6)?"alpha(opacity="+b6*100+")":"",b3=b2&&b2.filter||b4.filter||"";b4.zoom=1;if(b6>=1&&bJ.trim(b3.replace(bh,""))===""&&b4.removeAttribute){b4.removeAttribute("filter");if(b2&&!b2.filter){return}}b4.filter=bh.test(b3)?b3.replace(bh,e):b3+" "+e}}}bJ(function(){if(!bJ.support.reliableMarginRight){bJ.cssHooks.marginRight={get:function(b2,e){return bJ.swap(b2,{display:"inline-block"},function(){if(e){return H(b2,"marginRight")}})}}}if(!bJ.support.pixelPosition&&bJ.fn.position){bJ.each(["top","left"],function(e,b2){bJ.cssHooks[b2]={get:function(b5,b4){if(b4){var b3=H(b5,b2);return Z.test(b3)?bJ(b5).position()[b2]+"px":b3}}}})}});if(bJ.expr&&bJ.expr.filters){bJ.expr.filters.hidden=function(e){return(e.offsetWidth===0&&e.offsetHeight===0)||(!bJ.support.reliableHiddenOffsets&&((e.style&&e.style.display)||H(e,"display"))==="none")};bJ.expr.filters.visible=function(e){return !bJ.expr.filters.hidden(e)}}bJ.each({margin:"",padding:"",border:"Width"},function(e,b2){bJ.cssHooks[e+b2]={expand:function(b5){var b4,b6=typeof b5==="string"?b5.split(" "):[b5],b3={};for(b4=0;b4<4;b4++){b3[e+bT[b4]+b2]=b6[b4]||b6[b4-2]||b6[0]}return b3}};if(!a2.test(e)){bJ.cssHooks[e+b2].set=aJ}});var bv=/%20/g,aS=/\[\]$/,X=/\r?\n/g,bC=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,aG=/^(?:select|textarea)/i;bJ.fn.extend({serialize:function(){return bJ.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?bJ.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||aG.test(this.nodeName)||bC.test(this.type))}).map(function(e,b2){var b3=bJ(this).val();return b3==null?null:bJ.isArray(b3)?bJ.map(b3,function(b5,b4){return{name:b2.name,value:b5.replace(X,"\r\n")}}):{name:b2.name,value:b3.replace(X,"\r\n")}}).get()}});bJ.param=function(e,b3){var b4,b2=[],b5=function(b6,b7){b7=bJ.isFunction(b7)?b7():(b7==null?"":b7);b2[b2.length]=encodeURIComponent(b6)+"="+encodeURIComponent(b7)};if(b3===aE){b3=bJ.ajaxSettings&&bJ.ajaxSettings.traditional}if(bJ.isArray(e)||(e.jquery&&!bJ.isPlainObject(e))){bJ.each(e,function(){b5(this.name,this.value)})}else{for(b4 in e){m(b4,e[b4],b3,b5)}}return b2.join("&").replace(bv,"+")};function m(b3,b5,b2,b4){var e;if(bJ.isArray(b5)){bJ.each(b5,function(b7,b6){if(b2||aS.test(b3)){b4(b3,b6)}else{m(b3+"["+(typeof b6==="object"?b7:"")+"]",b6,b2,b4)}})}else{if(!b2&&bJ.type(b5)==="object"){for(e in b5){m(b3+"["+e+"]",b5[e],b2,b4)}}else{b4(b3,b5)}}}var b0,ab,aq=/#.*$/,ag=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,E=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,t=/^(?:GET|HEAD)$/,aF=/^\/\//,bQ=/\?/,h=/)<[^<]*)*<\/script>/gi,S=/([?&])_=[^&]*/,aW=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,bZ=bJ.fn.load,y={},a9={},a0=["*/"]+["*"];try{ab=aL.href}catch(bg){ab=q.createElement("a");ab.href="";ab=ab.href}b0=aW.exec(ab.toLowerCase())||[];function bL(e){return function(b5,b7){if(typeof b5!=="string"){b7=b5;b5="*"}var b2,b8,b9,b4=b5.toLowerCase().split(aY),b3=0,b6=b4.length;if(bJ.isFunction(b7)){for(;b3=0){e=b4.slice(b6,b4.length);b4=b4.slice(0,b6)}if(bJ.isFunction(b7)){b8=b7;b7=aE}else{if(b7&&typeof b7==="object"){b5="POST"}}bJ.ajax({url:b4,type:b5,dataType:"html",data:b7,complete:function(ca,b9){if(b8){b2.each(b8,b3||[ca.responseText,b9,ca])}}}).done(function(b9){b3=arguments;b2.html(e?bJ("
").append(b9.replace(h,"")).find(e):b9)});return this};bJ.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,b2){bJ.fn[b2]=function(b3){return this.on(b2,b3)}});bJ.each(["get","post"],function(e,b2){bJ[b2]=function(b3,b5,b6,b4){if(bJ.isFunction(b5)){b4=b4||b6;b6=b5;b5=aE}return bJ.ajax({type:b2,url:b3,data:b5,success:b6,dataType:b4})}});bJ.extend({getScript:function(e,b2){return bJ.get(e,aE,b2,"script")},getJSON:function(e,b2,b3){return bJ.get(e,b2,b3,"json")},ajaxSetup:function(b2,e){if(e){v(b2,bJ.ajaxSettings)}else{e=b2;b2=bJ.ajaxSettings}v(b2,e);return b2},ajaxSettings:{url:ab,isLocal:E.test(b0[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":a0},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a5.String,"text html":true,"text json":bJ.parseJSON,"text xml":bJ.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:bL(y),ajaxTransport:bL(a9),ajax:function(b7,b4){if(typeof b7==="object"){b4=b7;b7=aE}b4=b4||{};var ca,co,b5,cj,cc,cg,b3,ci,cb=bJ.ajaxSetup({},b4),cq=cb.context||cb,ce=cq!==cb&&(cq.nodeType||cq instanceof bJ)?bJ(cq):bJ.event,cp=bJ.Deferred(),cl=bJ.Callbacks("once memory"),b8=cb.statusCode||{},cf={},cm={},b6=0,b9="canceled",ch={readyState:0,setRequestHeader:function(cr,cs){if(!b6){var e=cr.toLowerCase();cr=cm[e]=cm[e]||cr;cf[cr]=cs}return this},getAllResponseHeaders:function(){return b6===2?co:null},getResponseHeader:function(cr){var e;if(b6===2){if(!b5){b5={};while((e=ag.exec(co))){b5[e[1].toLowerCase()]=e[2]}}e=b5[cr.toLowerCase()]}return e===aE?null:e},overrideMimeType:function(e){if(!b6){cb.mimeType=e}return this},abort:function(e){e=e||b9;if(cj){cj.abort(e)}cd(0,e);return this}};function cd(cv,cr,cw,ct){var e,cz,cx,cu,cy,cs=cr;if(b6===2){return}b6=2;if(cc){clearTimeout(cc)}cj=aE;co=ct||"";ch.readyState=cv>0?4:0;if(cw){cu=i(cb,ch,cw)}if(cv>=200&&cv<300||cv===304){if(cb.ifModified){cy=ch.getResponseHeader("Last-Modified");if(cy){bJ.lastModified[ca]=cy}cy=ch.getResponseHeader("Etag");if(cy){bJ.etag[ca]=cy}}if(cv===304){cs="notmodified";e=true}else{e=ah(cb,cu);cs=e.state;cz=e.data;cx=e.error;e=!cx}}else{cx=cs;if(!cs||cv){cs="error";if(cv<0){cv=0}}}ch.status=cv;ch.statusText=(cr||cs)+"";if(e){cp.resolveWith(cq,[cz,cs,ch])}else{cp.rejectWith(cq,[ch,cs,cx])}ch.statusCode(b8);b8=aE;if(b3){ce.trigger("ajax"+(e?"Success":"Error"),[ch,cb,e?cz:cx])}cl.fireWith(cq,[ch,cs]);if(b3){ce.trigger("ajaxComplete",[ch,cb]);if(!(--bJ.active)){bJ.event.trigger("ajaxStop")}}}cp.promise(ch);ch.success=ch.done;ch.error=ch.fail;ch.complete=cl.add;ch.statusCode=function(cr){if(cr){var e;if(b6<2){for(e in cr){b8[e]=[b8[e],cr[e]]}}else{e=cr[ch.status];ch.always(e)}}return this};cb.url=((b7||cb.url)+"").replace(aq,"").replace(aF,b0[1]+"//");cb.dataTypes=bJ.trim(cb.dataType||"*").toLowerCase().split(aY);if(cb.crossDomain==null){cg=aW.exec(cb.url.toLowerCase())||false;cb.crossDomain=cg&&(cg.join(":")+(cg[3]?"":cg[1]==="http:"?80:443))!==(b0.join(":")+(b0[3]?"":b0[1]==="http:"?80:443))}if(cb.data&&cb.processData&&typeof cb.data!=="string"){cb.data=bJ.param(cb.data,cb.traditional)}s(y,cb,b4,ch);if(b6===2){return ch}b3=cb.global;cb.type=cb.type.toUpperCase();cb.hasContent=!t.test(cb.type);if(b3&&bJ.active++===0){bJ.event.trigger("ajaxStart")}if(!cb.hasContent){if(cb.data){cb.url+=(bQ.test(cb.url)?"&":"?")+cb.data;delete cb.data}ca=cb.url;if(cb.cache===false){var b2=bJ.now(),cn=cb.url.replace(S,"$1_="+b2);cb.url=cn+((cn===cb.url)?(bQ.test(cb.url)?"&":"?")+"_="+b2:"")}}if(cb.data&&cb.hasContent&&cb.contentType!==false||b4.contentType){ch.setRequestHeader("Content-Type",cb.contentType)}if(cb.ifModified){ca=ca||cb.url;if(bJ.lastModified[ca]){ch.setRequestHeader("If-Modified-Since",bJ.lastModified[ca])}if(bJ.etag[ca]){ch.setRequestHeader("If-None-Match",bJ.etag[ca])}}ch.setRequestHeader("Accept",cb.dataTypes[0]&&cb.accepts[cb.dataTypes[0]]?cb.accepts[cb.dataTypes[0]]+(cb.dataTypes[0]!=="*"?", "+a0+"; q=0.01":""):cb.accepts["*"]);for(ci in cb.headers){ch.setRequestHeader(ci,cb.headers[ci])}if(cb.beforeSend&&(cb.beforeSend.call(cq,ch,cb)===false||b6===2)){return ch.abort()}b9="abort";for(ci in {success:1,error:1,complete:1}){ch[ci](cb[ci])}cj=s(a9,cb,b4,ch);if(!cj){cd(-1,"No Transport")}else{ch.readyState=1;if(b3){ce.trigger("ajaxSend",[ch,cb])}if(cb.async&&cb.timeout>0){cc=setTimeout(function(){ch.abort("timeout")},cb.timeout)}try{b6=1;cj.send(cf,cd)}catch(ck){if(b6<2){cd(-1,ck)}else{throw ck}}}return ch},active:0,lastModified:{},etag:{}});function i(ca,b9,b6){var b5,b7,b4,e,b2=ca.contents,b8=ca.dataTypes,b3=ca.responseFields;for(b7 in b3){if(b7 in b6){b9[b3[b7]]=b6[b7]}}while(b8[0]==="*"){b8.shift();if(b5===aE){b5=ca.mimeType||b9.getResponseHeader("content-type")}}if(b5){for(b7 in b2){if(b2[b7]&&b2[b7].test(b5)){b8.unshift(b7);break}}}if(b8[0] in b6){b4=b8[0]}else{for(b7 in b6){if(!b8[0]||ca.converters[b7+" "+b8[0]]){b4=b7;break}if(!e){e=b7}}b4=b4||e}if(b4){if(b4!==b8[0]){b8.unshift(b4)}return b6[b4]}}function ah(cc,b4){var ca,b2,b8,b6,b9=cc.dataTypes.slice(),b3=b9[0],cb={},b5=0;if(cc.dataFilter){b4=cc.dataFilter(b4,cc.dataType)}if(b9[1]){for(ca in cc.converters){cb[ca.toLowerCase()]=cc.converters[ca]}}for(;(b8=b9[++b5]);){if(b8!=="*"){if(b3!=="*"&&b3!==b8){ca=cb[b3+" "+b8]||cb["* "+b8];if(!ca){for(b2 in cb){b6=b2.split(" ");if(b6[1]===b8){ca=cb[b3+" "+b6[0]]||cb["* "+b6[0]];if(ca){if(ca===true){ca=cb[b2]}else{if(cb[b2]!==true){b8=b6[0];b9.splice(b5--,0,b8)}}break}}}}if(ca!==true){if(ca&&cc["throws"]){b4=ca(b4)}else{try{b4=ca(b4)}catch(b7){return{state:"parsererror",error:ca?b7:"No conversion from "+b3+" to "+b8}}}}}b3=b8}}return{state:"success",data:b4}}var bs=[],az=/\?/,a8=/(=)\?(?=&|$)|\?\?/,bo=bJ.now();bJ.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=bs.pop()||(bJ.expando+"_"+(bo++));this[e]=true;return e}});bJ.ajaxPrefilter("json jsonp",function(cb,b6,ca){var b9,e,b8,b4=cb.data,b2=cb.url,b3=cb.jsonp!==false,b7=b3&&a8.test(b2),b5=b3&&!b7&&typeof b4==="string"&&!(cb.contentType||"").indexOf("application/x-www-form-urlencoded")&&a8.test(b4);if(cb.dataTypes[0]==="jsonp"||b7||b5){b9=cb.jsonpCallback=bJ.isFunction(cb.jsonpCallback)?cb.jsonpCallback():cb.jsonpCallback;e=a5[b9];if(b7){cb.url=b2.replace(a8,"$1"+b9)}else{if(b5){cb.data=b4.replace(a8,"$1"+b9)}else{if(b3){cb.url+=(az.test(b2)?"&":"?")+cb.jsonp+"="+b9}}}cb.converters["script json"]=function(){if(!b8){bJ.error(b9+" was not called")}return b8[0]};cb.dataTypes[0]="json";a5[b9]=function(){b8=arguments};ca.always(function(){a5[b9]=e;if(cb[b9]){cb.jsonpCallback=b6.jsonpCallback;bs.push(b9)}if(b8&&bJ.isFunction(e)){e(b8[0])}b8=e=aE});return"script"}});bJ.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){bJ.globalEval(e);return e}}});bJ.ajaxPrefilter("script",function(e){if(e.cache===aE){e.cache=false}if(e.crossDomain){e.type="GET";e.global=false}});bJ.ajaxTransport("script",function(b3){if(b3.crossDomain){var e,b2=q.head||q.getElementsByTagName("head")[0]||q.documentElement;return{send:function(b4,b5){e=q.createElement("script");e.async="async";if(b3.scriptCharset){e.charset=b3.scriptCharset}e.src=b3.url;e.onload=e.onreadystatechange=function(b7,b6){if(b6||!e.readyState||/loaded|complete/.test(e.readyState)){e.onload=e.onreadystatechange=null;if(b2&&e.parentNode){b2.removeChild(e)}e=aE;if(!b6){b5(200,"success")}}};b2.insertBefore(e,b2.firstChild)},abort:function(){if(e){e.onload(0,1)}}}}});var ak,aQ=a5.ActiveXObject?function(){for(var e in ak){ak[e](0,1)}}:false,ax=0;function bE(){try{return new a5.XMLHttpRequest()}catch(b2){}}function be(){try{return new a5.ActiveXObject("Microsoft.XMLHTTP")}catch(b2){}}bJ.ajaxSettings.xhr=a5.ActiveXObject?function(){return !this.isLocal&&bE()||be()}:bE;(function(e){bJ.extend(bJ.support,{ajax:!!e,cors:!!e&&("withCredentials" in e)})})(bJ.ajaxSettings.xhr());if(bJ.support.ajax){bJ.ajaxTransport(function(e){if(!e.crossDomain||bJ.support.cors){var b2;return{send:function(b8,b3){var b6,b5,b7=e.xhr();if(e.username){b7.open(e.type,e.url,e.async,e.username,e.password)}else{b7.open(e.type,e.url,e.async)}if(e.xhrFields){for(b5 in e.xhrFields){b7[b5]=e.xhrFields[b5]}}if(e.mimeType&&b7.overrideMimeType){b7.overrideMimeType(e.mimeType)}if(!e.crossDomain&&!b8["X-Requested-With"]){b8["X-Requested-With"]="XMLHttpRequest"}try{for(b5 in b8){b7.setRequestHeader(b5,b8[b5])}}catch(b4){}b7.send((e.hasContent&&e.data)||null);b2=function(ch,cb){var cc,ca,b9,cf,ce;try{if(b2&&(cb||b7.readyState===4)){b2=aE;if(b6){b7.onreadystatechange=bJ.noop;if(aQ){delete ak[b6]}}if(cb){if(b7.readyState!==4){b7.abort()}}else{cc=b7.status;b9=b7.getAllResponseHeaders();cf={};ce=b7.responseXML;if(ce&&ce.documentElement){cf.xml=ce}try{cf.text=b7.responseText}catch(ch){}try{ca=b7.statusText}catch(cg){ca=""}if(!cc&&e.isLocal&&!e.crossDomain){cc=cf.text?200:404}else{if(cc===1223){cc=204}}}}}catch(cd){if(!cb){b3(-1,cd)}}if(cf){b3(cc,ca,cf,b9)}};if(!e.async){b2()}else{if(b7.readyState===4){setTimeout(b2,0)}else{b6=++ax;if(aQ){if(!ak){ak={};bJ(a5).unload(aQ)}ak[b6]=b2}b7.onreadystatechange=b2}}},abort:function(){if(b2){b2(0,1)}}}}})}var O,ae,bR=/^(?:toggle|show|hide)$/,bK=new RegExp("^(?:([-+])=|)("+bA+")([a-z%]*)$","i"),bP=/queueHooks$/,aA=[j],a4={"*":[function(e,b8){var b4,b9,ca=this.createTween(e,b8),b5=bK.exec(b8),b6=ca.cur(),b2=+b6||0,b3=1,b7=20;if(b5){b4=+b5[2];b9=b5[3]||(bJ.cssNumber[e]?"":"px");if(b9!=="px"&&b2){b2=bJ.css(ca.elem,e,true)||b4||1;do{b3=b3||".5";b2=b2/b3;bJ.style(ca.elem,e,b2+b9)}while(b3!==(b3=ca.cur()/b6)&&b3!==1&&--b7)}ca.unit=b9;ca.start=b2;ca.end=b5[1]?b2+(b5[1]+1)*b4:b4}return ca}]};function bm(){setTimeout(function(){O=aE},0);return(O=bJ.now())}function bf(b2,e){bJ.each(e,function(b7,b5){var b6=(a4[b7]||[]).concat(a4["*"]),b3=0,b4=b6.length;for(;b3-1,ca={},b9={},b3,b5;if(cc){b9=b6.position();b3=b9.top;b5=b9.left}else{b3=parseFloat(e)||0;b5=parseFloat(cb)||0}if(bJ.isFunction(cd)){cd=cd.call(b4,b7,b2)}if(cd.top!=null){ca.top=(cd.top-b2.top)+b3}if(cd.left!=null){ca.left=(cd.left-b2.left)+b5}if("using" in cd){cd.using.call(b4,ca)}else{b6.css(ca)}}};bJ.fn.extend({position:function(){if(!this[0]){return}var b3=this[0],b2=this.offsetParent(),b4=this.offset(),e=bp.test(b2[0].nodeName)?{top:0,left:0}:b2.offset();b4.top-=parseFloat(bJ.css(b3,"marginTop"))||0;b4.left-=parseFloat(bJ.css(b3,"marginLeft"))||0;e.top+=parseFloat(bJ.css(b2[0],"borderTopWidth"))||0;e.left+=parseFloat(bJ.css(b2[0],"borderLeftWidth"))||0;return{top:b4.top-e.top,left:b4.left-e.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||q.body;while(e&&(!bp.test(e.nodeName)&&bJ.css(e,"position")==="static")){e=e.offsetParent}return e||q.body})}});bJ.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(b3,b2){var e=/Y/.test(b2);bJ.fn[b3]=function(b4){return bJ.access(this,function(b5,b8,b7){var b6=bq(b5);if(b7===aE){return b6?(b2 in b6)?b6[b2]:b6.document.documentElement[b8]:b5[b8]}if(b6){b6.scrollTo(!e?b7:bJ(b6).scrollLeft(),e?b7:bJ(b6).scrollTop())}else{b5[b8]=b7}},b3,b4,arguments.length,null)}});function bq(e){return bJ.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:false}bJ.each({Height:"height",Width:"width"},function(e,b2){bJ.each({padding:"inner"+e,content:b2,"":"outer"+e},function(b3,b4){bJ.fn[b4]=function(b8,b7){var b6=arguments.length&&(b3||typeof b8!=="boolean"),b5=b3||(b8===true||b7===true?"margin":"border");return bJ.access(this,function(ca,b9,cb){var cc;if(bJ.isWindow(ca)){return ca.document.documentElement["client"+e]}if(ca.nodeType===9){cc=ca.documentElement;return Math.max(ca.body["scroll"+e],cc["scroll"+e],ca.body["offset"+e],cc["offset"+e],cc["client"+e])}return cb===aE?bJ.css(ca,b9,cb,b5):bJ.style(ca,b9,cb,b5)},b2,b6?b8:aE,b6,null)}})});a5.jQuery=a5.$=bJ;if(typeof define==="function"&&define.amd&&define.amd.jQuery){define("jquery",[],function(){return bJ})}})(window);(function(b,e){b.ui=b.ui||{};if(b.ui.version){return}b.extend(b.ui,{version:"1.8.24",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}});b.fn.extend({propAttr:b.fn.prop||b.fn.attr,_focus:b.fn.focus,focus:function(f,g){return typeof f==="number"?this.each(function(){var h=this;setTimeout(function(){b(h).focus();if(g){g.call(h)}},f)}):this._focus.apply(this,arguments)},scrollParent:function(){var f;if((b.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){f=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(b.curCSS(this,"position",1))&&(/(auto|scroll)/).test(b.curCSS(this,"overflow",1)+b.curCSS(this,"overflow-y",1)+b.curCSS(this,"overflow-x",1))}).eq(0)}else{f=this.parents().filter(function(){return(/(auto|scroll)/).test(b.curCSS(this,"overflow",1)+b.curCSS(this,"overflow-y",1)+b.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!f.length?b(document):f},zIndex:function(i){if(i!==e){return this.css("zIndex",i)}if(this.length){var g=b(this[0]),f,h;while(g.length&&g[0]!==document){f=g.css("position");if(f==="absolute"||f==="relative"||f==="fixed"){h=parseInt(g.css("zIndex"),10);if(!isNaN(h)&&h!==0){return h}}g=g.parent()}}return 0},disableSelection:function(){return this.bind((b.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(f){f.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}});if(!b("").outerWidth(1).jquery){b.each(["Width","Height"],function(h,f){var g=f==="Width"?["Left","Right"]:["Top","Bottom"],j=f.toLowerCase(),m={innerWidth:b.fn.innerWidth,innerHeight:b.fn.innerHeight,outerWidth:b.fn.outerWidth,outerHeight:b.fn.outerHeight};function l(o,n,i,p){b.each(g,function(){n-=parseFloat(b.curCSS(o,"padding"+this,true))||0;if(i){n-=parseFloat(b.curCSS(o,"border"+this+"Width",true))||0}if(p){n-=parseFloat(b.curCSS(o,"margin"+this,true))||0}});return n}b.fn["inner"+f]=function(i){if(i===e){return m["inner"+f].call(this)}return this.each(function(){b(this).css(j,l(this,i)+"px")})};b.fn["outer"+f]=function(i,n){if(typeof i!=="number"){return m["outer"+f].call(this,i)}return this.each(function(){b(this).css(j,l(this,i,true,n)+"px")})}})}function d(h,f){var l=h.nodeName.toLowerCase();if("area"===l){var j=h.parentNode,i=j.name,g;if(!h.href||!i||j.nodeName.toLowerCase()!=="map"){return false}g=b("img[usemap=#"+i+"]")[0];return !!g&&c(g)}return(/input|select|textarea|button|object/.test(l)?!h.disabled:"a"==l?h.href||f:f)&&c(h)}function c(f){return !b(f).parents().andSelf().filter(function(){return b.curCSS(this,"visibility")==="hidden"||b.expr.filters.hidden(this)}).length}b.extend(b.expr[":"],{data:b.expr.createPseudo?b.expr.createPseudo(function(f){return function(g){return !!b.data(g,f)}}):function(h,g,f){return !!b.data(h,f[3])},focusable:function(f){return d(f,!isNaN(b.attr(f,"tabindex")))},tabbable:function(h){var f=b.attr(h,"tabindex"),g=isNaN(f);return(g||f>=0)&&d(h,!g)}});b(function(){var f=document.body,g=f.appendChild(g=document.createElement("div"));g.offsetHeight;b.extend(g.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0});b.support.minHeight=g.offsetHeight===100;b.support.selectstart="onselectstart" in g;f.removeChild(g).style.display="none"});if(!b.curCSS){b.curCSS=b.css}b.extend(b.ui,{plugin:{add:function(g,h,l){var j=b.ui[g].prototype;for(var f in l){j.plugins[f]=j.plugins[f]||[];j.plugins[f].push([h,l[f]])}},call:function(f,h,g){var l=f.plugins[h];if(!l||!f.element[0].parentNode){return}for(var j=0;j0){return true}i[f]=1;h=(i[f]>0);i[f]=0;return h},isOverAxis:function(g,f,h){return(g>f)&&(g<(f+h))},isOver:function(l,g,j,i,f,h){return b.ui.isOverAxis(l,j,f)&&b.ui.isOverAxis(g,i,h)}})})(jQuery);(function(c,e){if(c.cleanData){var d=c.cleanData;c.cleanData=function(f){for(var g=0,h;(h=f[g])!=null;g++){try{c(h).triggerHandler("remove")}catch(j){}}d(f)}}else{var b=c.fn.remove;c.fn.remove=function(f,g){return this.each(function(){if(!g){if(!f||c.filter(f,[this]).length){c("*",this).add([this]).each(function(){try{c(this).triggerHandler("remove")}catch(h){}})}}return b.call(c(this),f,g)})}}c.widget=function(g,i,f){var h=g.split(".")[0],l;g=g.split(".")[1];l=h+"-"+g;if(!f){f=i;i=c.Widget}c.expr[":"][l]=function(m){return !!c.data(m,g)};c[h]=c[h]||{};c[h][g]=function(m,n){if(arguments.length){this._createWidget(m,n)}};var j=new i();j.options=c.extend(true,{},j.options);c[h][g].prototype=c.extend(true,j,{namespace:h,widgetName:g,widgetEventPrefix:c[h][g].prototype.widgetEventPrefix||g,widgetBaseClass:l},f);c.widget.bridge(g,c[h][g])};c.widget.bridge=function(g,f){c.fn[g]=function(j){var h=typeof j==="string",i=Array.prototype.slice.call(arguments,1),l=this;j=!h&&i.length?c.extend.apply(null,[true,j].concat(i)):j;if(h&&j.charAt(0)==="_"){return l}if(h){this.each(function(){var m=c.data(this,g),n=m&&c.isFunction(m[j])?m[j].apply(m,i):m;if(n!==m&&n!==e){l=n;return false}})}else{this.each(function(){var m=c.data(this,g);if(m){m.option(j||{})._init()}else{c.data(this,g,new f(j,this))}})}return l}};c.Widget=function(f,g){if(arguments.length){this._createWidget(f,g)}};c.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(g,h){c.data(h,this.widgetName,this);this.element=c(h);this.options=c.extend(true,{},this.options,this._getCreateOptions(),g);var f=this;this.element.bind("remove."+this.widgetName,function(){f.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){return c.metadata&&c.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled ui-state-disabled")},widget:function(){return this.element},option:function(g,h){var f=g;if(arguments.length===0){return c.extend({},this.options)}if(typeof g==="string"){if(h===e){return this.options[g]}f={};f[g]=h}this._setOptions(f);return this},_setOptions:function(g){var f=this;c.each(g,function(h,i){f._setOption(h,i)});return this},_setOption:function(f,g){this.options[f]=g;if(f==="disabled"){this.widget()[g?"addClass":"removeClass"](this.widgetBaseClass+"-disabled ui-state-disabled").attr("aria-disabled",g)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(f,g,h){var l,j,i=this.options[f];h=h||{};g=c.Event(g);g.type=(f===this.widgetEventPrefix?f:this.widgetEventPrefix+f).toLowerCase();g.target=this.element[0];j=g.originalEvent;if(j){for(l in j){if(!(l in g)){g[l]=j[l]}}}this.element.trigger(g,h);return !(c.isFunction(i)&&i.call(this.element[0],g,h)===false||g.isDefaultPrevented())}}})(jQuery);(function(c,d){var b=false;c(document).mouseup(function(f){b=false});c.widget("ui.mouse",{options:{cancel:":input,option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.bind("mousedown."+this.widgetName,function(f){return e._mouseDown(f)}).bind("click."+this.widgetName,function(f){if(true===c.data(f.target,e.widgetName+".preventClickEvent")){c.removeData(f.target,e.widgetName+".preventClickEvent");f.stopImmediatePropagation();return false}});this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);if(this._mouseMoveDelegate){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate)}},_mouseDown:function(g){if(b){return}(this._mouseStarted&&this._mouseUp(g));this._mouseDownEvent=g;var f=this,h=(g.which==1),e=(typeof this.options.cancel=="string"&&g.target.nodeName?c(g.target).closest(this.options.cancel).length:false);if(!h||e||!this._mouseCapture(g)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){f.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(g)&&this._mouseDelayMet(g)){this._mouseStarted=(this._mouseStart(g)!==false);if(!this._mouseStarted){g.preventDefault();return true}}if(true===c.data(g.target,this.widgetName+".preventClickEvent")){c.removeData(g.target,this.widgetName+".preventClickEvent")}this._mouseMoveDelegate=function(i){return f._mouseMove(i)};this._mouseUpDelegate=function(i){return f._mouseUp(i)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);g.preventDefault();b=true;return true},_mouseMove:function(e){if(c.browser.msie&&!(document.documentMode>=9)&&!e.button){return this._mouseUp(e)}if(this._mouseStarted){this._mouseDrag(e);return e.preventDefault()}if(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,e)!==false);(this._mouseStarted?this._mouseDrag(e):this._mouseUp(e))}return !this._mouseStarted},_mouseUp:function(e){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;if(e.target==this._mouseDownEvent.target){c.data(e.target,this.widgetName+".preventClickEvent",true)}this._mouseStop(e)}return false},_mouseDistanceMet:function(e){return(Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance)},_mouseDelayMet:function(e){return this.mouseDelayMet},_mouseStart:function(e){},_mouseDrag:function(e){},_mouseStop:function(e){},_mouseCapture:function(e){return true}})})(jQuery);(function(h,i){h.ui=h.ui||{};var e=/left|center|right/,f=/top|center|bottom/,b="center",g={},c=h.fn.position,d=h.fn.offset;h.fn.position=function(l){if(!l||!l.of){return c.apply(this,arguments)}l=h.extend({},l);var p=h(l.of),o=p[0],r=(l.collision||"flip").split(" "),q=l.offset?l.offset.split(" "):[0,0],n,j,m;if(o.nodeType===9){n=p.width();j=p.height();m={top:0,left:0}}else{if(o.setTimeout){n=p.width();j=p.height();m={top:p.scrollTop(),left:p.scrollLeft()}}else{if(o.preventDefault){l.at="left top";n=j=0;m={top:l.of.pageY,left:l.of.pageX}}else{n=p.outerWidth();j=p.outerHeight();m=p.offset()}}}h.each(["my","at"],function(){var s=(l[this]||"").split(" ");if(s.length===1){s=e.test(s[0])?s.concat([b]):f.test(s[0])?[b].concat(s):[b,b]}s[0]=e.test(s[0])?s[0]:b;s[1]=f.test(s[1])?s[1]:b;l[this]=s});if(r.length===1){r[1]=r[0]}q[0]=parseInt(q[0],10)||0;if(q.length===1){q[1]=q[0]}q[1]=parseInt(q[1],10)||0;if(l.at[0]==="right"){m.left+=n}else{if(l.at[0]===b){m.left+=n/2}}if(l.at[1]==="bottom"){m.top+=j}else{if(l.at[1]===b){m.top+=j/2}}m.left+=q[0];m.top+=q[1];return this.each(function(){var v=h(this),y=v.outerWidth(),u=v.outerHeight(),x=parseInt(h.curCSS(this,"marginLeft",true))||0,t=parseInt(h.curCSS(this,"marginTop",true))||0,A=y+x+(parseInt(h.curCSS(this,"marginRight",true))||0),B=u+t+(parseInt(h.curCSS(this,"marginBottom",true))||0),z=h.extend({},m),s;if(l.my[0]==="right"){z.left-=y}else{if(l.my[0]===b){z.left-=y/2}}if(l.my[1]==="bottom"){z.top-=u}else{if(l.my[1]===b){z.top-=u/2}}if(!g.fractions){z.left=Math.round(z.left);z.top=Math.round(z.top)}s={left:z.left-x,top:z.top-t};h.each(["left","top"],function(D,C){if(h.ui.position[r[D]]){h.ui.position[r[D]][C](z,{targetWidth:n,targetHeight:j,elemWidth:y,elemHeight:u,collisionPosition:s,collisionWidth:A,collisionHeight:B,offset:q,my:l.my,at:l.at})}});if(h.fn.bgiframe){v.bgiframe()}v.offset(h.extend(z,{using:l.using}))})};h.ui.position={fit:{left:function(j,l){var n=h(window),m=l.collisionPosition.left+l.collisionWidth-n.width()-n.scrollLeft();j.left=m>0?j.left-m:Math.max(j.left-l.collisionPosition.left,j.left)},top:function(j,l){var n=h(window),m=l.collisionPosition.top+l.collisionHeight-n.height()-n.scrollTop();j.top=m>0?j.top-m:Math.max(j.top-l.collisionPosition.top,j.top)}},flip:{left:function(l,n){if(n.at[0]===b){return}var p=h(window),o=n.collisionPosition.left+n.collisionWidth-p.width()-p.scrollLeft(),j=n.my[0]==="left"?-n.elemWidth:n.my[0]==="right"?n.elemWidth:0,m=n.at[0]==="left"?n.targetWidth:-n.targetWidth,q=-2*n.offset[0];l.left+=n.collisionPosition.left<0?j+m+q:o>0?j+m+q:0},top:function(l,n){if(n.at[1]===b){return}var p=h(window),o=n.collisionPosition.top+n.collisionHeight-p.height()-p.scrollTop(),j=n.my[1]==="top"?-n.elemHeight:n.my[1]==="bottom"?n.elemHeight:0,m=n.at[1]==="top"?n.targetHeight:-n.targetHeight,q=-2*n.offset[1];l.top+=n.collisionPosition.top<0?j+m+q:o>0?j+m+q:0}}};if(!h.offset.setOffset){h.offset.setOffset=function(o,l){if(/static/.test(h.curCSS(o,"position"))){o.style.position="relative"}var n=h(o),q=n.offset(),j=parseInt(h.curCSS(o,"top",true),10)||0,p=parseInt(h.curCSS(o,"left",true),10)||0,m={top:(l.top-q.top)+j,left:(l.left-q.left)+p};if("using" in l){l.using.call(o,m)}else{n.css(m)}};h.fn.offset=function(j){var l=this[0];if(!l||!l.ownerDocument){return null}if(j){if(h.isFunction(j)){return this.each(function(m){h(this).offset(j.call(this,m,h(this).offset()))})}return this.each(function(){h.offset.setOffset(this,j)})}return d.call(this)}}if(!h.curCSS){h.curCSS=h.css}(function(){var j=document.getElementsByTagName("body")[0],r=document.createElement("div"),o,q,l,p,n;o=document.createElement(j?"div":"body");l={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};if(j){h.extend(l,{position:"absolute",left:"-1000px",top:"-1000px"})}for(var m in l){o.style[m]=l[m]}o.appendChild(r);q=j||document.documentElement;q.insertBefore(o,q.firstChild);r.style.cssText="position: absolute; left: 10.7432222px; top: 10.432325px; height: 30px; width: 201px;";p=h(r).offset(function(s,t){return t}).offset();o.innerHTML="";q.removeChild(o);n=p.top+p.left+(j?2000:0);g.fractions=n>21&&n<22})()}(jQuery));(function(b,c){b.widget("ui.draggable",b.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:true,appendTo:"parent",axis:false,connectToSortable:false,containment:false,cursor:"auto",cursorAt:false,grid:false,handle:false,helper:"original",iframeFix:false,opacity:false,refreshPositions:false,revert:false,revertDuration:500,scope:"default",scroll:true,scrollSensitivity:20,scrollSpeed:20,snap:false,snapMode:"both",snapTolerance:20,stack:false,zIndex:false},_create:function(){if(this.options.helper=="original"&&!(/^(?: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();return this},_mouseCapture:function(d){var e=this.options;if(this.helper||e.disabled||b(d.target).is(".ui-resizable-handle")){return false}this.handle=this._getHandle(d);if(!this.handle){return false}if(e.iframeFix){b(e.iframeFix===true?"iframe":e.iframeFix).each(function(){b('
').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1000}).css(b(this).offset()).appendTo("body")})}return true},_mouseStart:function(d){var e=this.options;this.helper=this._createHelper(d);this.helper.addClass("ui-draggable-dragging");this._cacheHelperProportions();if(b.ui.ddmanager){b.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};b.extend(this.offset,{click:{left:d.pageX-this.offset.left,top:d.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()});this.originalPosition=this.position=this._generatePosition(d);this.originalPageX=d.pageX;this.originalPageY=d.pageY;(e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt));if(e.containment){this._setContainment()}if(this._trigger("start",d)===false){this._clear();return false}this._cacheHelperProportions();if(b.ui.ddmanager&&!e.dropBehaviour){b.ui.ddmanager.prepareOffsets(this,d)}this._mouseDrag(d,true);if(b.ui.ddmanager){b.ui.ddmanager.dragStart(this,d)}return true},_mouseDrag:function(d,f){this.position=this._generatePosition(d);this.positionAbs=this._convertPositionTo("absolute");if(!f){var e=this._uiHash();if(this._trigger("drag",d,e)===false){this._mouseUp({});return false}this.position=e.position}if(!this.options.axis||this.options.axis!="y"){this.helper[0].style.left=this.position.left+"px"}if(!this.options.axis||this.options.axis!="x"){this.helper[0].style.top=this.position.top+"px"}if(b.ui.ddmanager){b.ui.ddmanager.drag(this,d)}return false},_mouseStop:function(f){var h=false;if(b.ui.ddmanager&&!this.options.dropBehaviour){h=b.ui.ddmanager.drop(this,f)}if(this.dropped){h=this.dropped;this.dropped=false}var e=this.element[0],g=false;while(e&&(e=e.parentNode)){if(e==document){g=true}}if(!g&&this.options.helper==="original"){return false}if((this.options.revert=="invalid"&&!h)||(this.options.revert=="valid"&&h)||this.options.revert===true||(b.isFunction(this.options.revert)&&this.options.revert.call(this.element,h))){var d=this;b(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){if(d._trigger("stop",f)!==false){d._clear()}})}else{if(this._trigger("stop",f)!==false){this._clear()}}return false},_mouseUp:function(d){b("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)});if(b.ui.ddmanager){b.ui.ddmanager.dragStop(this,d)}return b.ui.mouse.prototype._mouseUp.call(this,d)},cancel:function(){if(this.helper.is(".ui-draggable-dragging")){this._mouseUp({})}else{this._clear()}return this},_getHandle:function(d){var e=!this.options.handle||!b(this.options.handle,this.element).length?true:false;b(this.options.handle,this.element).find("*").andSelf().each(function(){if(this==d.target){e=true}});return e},_createHelper:function(e){var f=this.options;var d=b.isFunction(f.helper)?b(f.helper.apply(this.element[0],[e])):(f.helper=="clone"?this.element.clone().removeAttr("id"):this.element);if(!d.parents("body").length){d.appendTo((f.appendTo=="parent"?this.element[0].parentNode:f.appendTo))}if(d[0]!=this.element[0]&&!(/(fixed|absolute)/).test(d.css("position"))){d.css("position","absolute")}return d},_adjustOffsetFromHelper:function(d){if(typeof d=="string"){d=d.split(" ")}if(b.isArray(d)){d={left:+d[0],top:+d[1]||0}}if("left" in d){this.offset.click.left=d.left+this.margins.left}if("right" in d){this.offset.click.left=this.helperProportions.width-d.right+this.margins.left}if("top" in d){this.offset.click.top=d.top+this.margins.top}if("bottom" in d){this.offset.click.top=this.helperProportions.height-d.bottom+this.margins.top}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var d=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&b.ui.contains(this.scrollParent[0],this.offsetParent[0])){d.left+=this.scrollParent.scrollLeft();d.top+=this.scrollParent.scrollTop()}if((this.offsetParent[0]==document.body)||(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&b.browser.msie)){d={top:0,left:0}}return{top:d.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:d.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var d=this.element.position();return{top:d.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:d.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{return{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 g=this.options;if(g.containment=="parent"){g.containment=this.helper[0].parentNode}if(g.containment=="document"||g.containment=="window"){this.containment=[g.containment=="document"?0:b(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,g.containment=="document"?0:b(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,(g.containment=="document"?0:b(window).scrollLeft())+b(g.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(g.containment=="document"?0:b(window).scrollTop())+(b(g.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]}if(!(/^(document|window|parent)$/).test(g.containment)&&g.containment.constructor!=Array){var h=b(g.containment);var e=h[0];if(!e){return}var f=h.offset();var d=(b(e).css("overflow")!="hidden");this.containment=[(parseInt(b(e).css("borderLeftWidth"),10)||0)+(parseInt(b(e).css("paddingLeft"),10)||0),(parseInt(b(e).css("borderTopWidth"),10)||0)+(parseInt(b(e).css("paddingTop"),10)||0),(d?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(b(e).css("borderLeftWidth"),10)||0)-(parseInt(b(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(d?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(b(e).css("borderTopWidth"),10)||0)-(parseInt(b(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom];this.relative_container=h}else{if(g.containment.constructor==Array){this.containment=g.containment}}},_convertPositionTo:function(h,j){if(!j){j=this.position}var f=h=="absolute"?1:-1;var g=this.options,e=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&b.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,i=(/(html|body)/i).test(e[0].tagName);return{top:(j.top+this.offset.relative.top*f+this.offset.parent.top*f-(b.browser.safari&&b.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(i?0:e.scrollTop()))*f)),left:(j.left+this.offset.relative.left*f+this.offset.parent.left*f-(b.browser.safari&&b.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():i?0:e.scrollLeft())*f))}},_generatePosition:function(e){var f=this.options,n=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&b.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,j=(/(html|body)/i).test(n[0].tagName);var i=e.pageX;var h=e.pageY;if(this.originalPosition){var d;if(this.containment){if(this.relative_container){var m=this.relative_container.offset();d=[this.containment[0]+m.left,this.containment[1]+m.top,this.containment[2]+m.left,this.containment[3]+m.top]}else{d=this.containment}if(e.pageX-this.offset.click.leftd[2]){i=d[2]+this.offset.click.left}if(e.pageY-this.offset.click.top>d[3]){h=d[3]+this.offset.click.top}}if(f.grid){var l=f.grid[1]?this.originalPageY+Math.round((h-this.originalPageY)/f.grid[1])*f.grid[1]:this.originalPageY;h=d?(!(l-this.offset.click.topd[3])?l:(!(l-this.offset.click.topd[2])?g:(!(g-this.offset.click.left=0;y--){var v=h.snapElements[y].left,q=v+h.snapElements[y].width,p=h.snapElements[y].top,D=p+h.snapElements[y].height;if(!((v-B=s&&p<=n)||(o>=s&&o<=n)||(pn))&&((f>=h&&f<=d)||(e>=h&&e<=d)||(fd));break;default:return false;break}};b.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(g,l){var d=b.ui.ddmanager.droppables[g.options.scope]||[];var h=l?l.type:null;var n=(g.currentItem||g.element).find(":data(droppable)").andSelf();droppablesLoop:for(var f=0;f
').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=true;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=m.handles||(!d(".ui-resizable-handle",this.element).length?"e,s,se":{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"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var p=this.handles.split(",");this.handles={};for(var h=0;h');j.css({zIndex:m.zIndex});if("se"==l){j.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[l]=".ui-resizable-"+l;this.element.append(j)}}this._renderAxis=function(s){s=s||this.element;for(var o in this.handles){if(this.handles[o].constructor==String){this.handles[o]=d(this.handles[o],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var q=d(this.handles[o],this.element),r=0;r=/sw|ne|nw|se|n|s/.test(o)?q.outerHeight():q.outerWidth();var n=["padding",/ne|nw|n/.test(o)?"Top":/se|sw|s/.test(o)?"Bottom":/^e$/.test(o)?"Right":"Left"].join("");s.css(n,r);this._proportionallyResize()}if(!d(this.handles[o]).length){continue}}};this._renderAxis(this.element);this._handles=d(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!g.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}g.axis=i&&i[1]?i[1]:"se"}});if(m.autoHide){this._handles.hide();d(this.element).addClass("ui-resizable-autohide").hover(function(){if(m.disabled){return}d(this).removeClass("ui-resizable-autohide");g._handles.show()},function(){if(m.disabled){return}if(!g.resizing){d(this).addClass("ui-resizable-autohide");g._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var f=function(h){d(h).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){f(this.element);var g=this.element;g.after(this.originalElement.css({position:g.css("position"),width:g.outerWidth(),height:g.outerHeight(),top:g.css("top"),left:g.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);f(this.originalElement);return this},_mouseCapture:function(g){var h=false;for(var f in this.handles){if(d(this.handles[f])[0]==g.target){h=true}}return !this.options.disabled&&h},_mouseStart:function(h){var l=this.options,g=this.element.position(),f=this.element;this.resizing=true;this.documentScroll={top:d(document).scrollTop(),left:d(document).scrollLeft()};if(f.is(".ui-draggable")||(/absolute/).test(f.css("position"))){f.css({position:"absolute",top:g.top,left:g.left})}this._renderProxy();var m=c(this.helper.css("left")),i=c(this.helper.css("top"));if(l.containment){m+=d(l.containment).scrollLeft()||0;i+=d(l.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:m,top:i};this.size=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.height()};this.originalSize=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.height()};this.originalPosition={left:m,top:i};this.sizeDiff={width:f.outerWidth()-f.width(),height:f.outerHeight()-f.height()};this.originalMousePosition={left:h.pageX,top:h.pageY};this.aspectRatio=(typeof l.aspectRatio=="number")?l.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var j=d(".ui-resizable-"+this.axis).css("cursor");d("body").css("cursor",j=="auto"?this.axis+"-resize":j);f.addClass("ui-resizable-resizing");this._propagate("start",h);return true},_mouseDrag:function(f){var i=this.helper,h=this.options,p={},s=this,l=this.originalMousePosition,q=this.axis;var t=(f.pageX-l.left)||0,r=(f.pageY-l.top)||0;var j=this._change[q];if(!j){return false}var n=j.apply(this,[f,t,r]),m=d.browser.msie&&d.browser.version<7,g=this.sizeDiff;this._updateVirtualBoundaries(f.shiftKey);if(this._aspectRatio||f.shiftKey){n=this._updateRatio(n,f)}n=this._respectSize(n,f);this._propagate("resize",f);i.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(n);this._trigger("resize",f,this.ui());return false},_mouseStop:function(i){this.resizing=false;var j=this.options,p=this;if(this._helper){var h=this._proportionallyResizeElements,f=h.length&&(/textarea/i).test(h[0].nodeName),g=f&&d.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,m=f?0:p.sizeDiff.width;var q={width:(p.helper.width()-m),height:(p.helper.height()-g)},l=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,n=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;if(!j.animate){this.element.css(d.extend(q,{top:n,left:l}))}p.helper.height(p.size.height);p.helper.width(p.size.width);if(this._helper&&!j.animate){this._proportionallyResize()}}d("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",i);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(h){var l=this.options,j,i,g,m,f;f={minWidth:b(l.minWidth)?l.minWidth:0,maxWidth:b(l.maxWidth)?l.maxWidth:Infinity,minHeight:b(l.minHeight)?l.minHeight:0,maxHeight:b(l.maxHeight)?l.maxHeight:Infinity};if(this._aspectRatio||h){j=f.minHeight*this.aspectRatio;g=f.minWidth/this.aspectRatio;i=f.maxHeight*this.aspectRatio;m=f.maxWidth/this.aspectRatio;if(j>f.minWidth){f.minWidth=j}if(g>f.minHeight){f.minHeight=g}if(in.width),u=b(n.height)&&j.minHeight&&(j.minHeight>n.height);if(i){n.width=j.minWidth}if(u){n.height=j.minHeight}if(v){n.width=j.maxWidth}if(p){n.height=j.maxHeight}var g=this.originalPosition.left+this.originalSize.width,r=this.position.top+this.size.height;var m=/sw|nw|w/.test(s),f=/nw|ne|n/.test(s);if(i&&m){n.left=g-j.minWidth}if(v&&m){n.left=g-j.maxWidth}if(u&&f){n.top=r-j.minHeight}if(p&&f){n.top=r-j.maxHeight}var q=!n.width&&!n.height;if(q&&!n.left&&n.top){n.top=null}else{if(q&&!n.top&&n.left){n.left=null}}return n},_proportionallyResize:function(){var m=this.options;if(!this._proportionallyResizeElements.length){return}var h=this.helper||this.element;for(var g=0;g');var f=d.browser.msie&&d.browser.version<7,h=(f?1:0),i=(f?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+i,height:this.element.outerHeight()+i,position:"absolute",left:this.elementOffset.left-h+"px",top:this.elementOffset.top-h+"px",zIndex:++j.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(h,g,f){return{width:this.originalSize.width+g}},w:function(i,g,f){var l=this.options,h=this.originalSize,j=this.originalPosition;return{left:j.left+g,width:h.width-g}},n:function(i,g,f){var l=this.options,h=this.originalSize,j=this.originalPosition;return{top:j.top+f,height:h.height-f}},s:function(h,g,f){return{height:this.originalSize.height+f}},se:function(h,g,f){return d.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[h,g,f]))},sw:function(h,g,f){return d.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[h,g,f]))},ne:function(h,g,f){return d.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[h,g,f]))},nw:function(h,g,f){return d.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[h,g,f]))}},_propagate:function(g,f){d.ui.plugin.call(this,g,[f,this.ui()]);(g!="resize"&&this._trigger(g,f,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}}});d.extend(d.ui.resizable,{version:"1.8.24"});d.ui.plugin.add("resizable","alsoResize",{start:function(g,h){var f=d(this).data("resizable"),j=f.options;var i=function(l){d(l).each(function(){var m=d(this);m.data("resizable-alsoresize",{width:parseInt(m.width(),10),height:parseInt(m.height(),10),left:parseInt(m.css("left"),10),top:parseInt(m.css("top"),10)})})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.parentNode){if(j.alsoResize.length){j.alsoResize=j.alsoResize[0];i(j.alsoResize)}else{d.each(j.alsoResize,function(l){i(l)})}}else{i(j.alsoResize)}},resize:function(h,j){var g=d(this).data("resizable"),l=g.options,i=g.originalSize,n=g.originalPosition;var m={height:(g.size.height-i.height)||0,width:(g.size.width-i.width)||0,top:(g.position.top-n.top)||0,left:(g.position.left-n.left)||0},f=function(o,p){d(o).each(function(){var s=d(this),t=d(this).data("resizable-alsoresize"),r={},q=p&&p.length?p:s.parents(j.originalElement[0]).length?["width","height"]:["width","height","top","left"];d.each(q,function(u,x){var v=(t[x]||0)+(m[x]||0);if(v&&v>=0){r[x]=v||null}});s.css(r)})};if(typeof(l.alsoResize)=="object"&&!l.alsoResize.nodeType){d.each(l.alsoResize,function(o,p){f(o,p)})}else{f(l.alsoResize)}},stop:function(f,g){d(this).removeData("resizable-alsoresize")}});d.ui.plugin.add("resizable","animate",{stop:function(j,q){var r=d(this).data("resizable"),l=r.options;var i=r._proportionallyResizeElements,f=i.length&&(/textarea/i).test(i[0].nodeName),g=f&&d.ui.hasScroll(i[0],"left")?0:r.sizeDiff.height,n=f?0:r.sizeDiff.width;var h={width:(r.size.width-n),height:(r.size.height-g)},m=(parseInt(r.element.css("left"),10)+(r.position.left-r.originalPosition.left))||null,p=(parseInt(r.element.css("top"),10)+(r.position.top-r.originalPosition.top))||null;r.element.animate(d.extend(h,p&&m?{top:p,left:m}:{}),{duration:l.animateDuration,easing:l.animateEasing,step:function(){var o={width:parseInt(r.element.css("width"),10),height:parseInt(r.element.css("height"),10),top:parseInt(r.element.css("top"),10),left:parseInt(r.element.css("left"),10)};if(i&&i.length){d(i[0]).css({width:o.width,height:o.height})}r._updateCache(o);r._propagate("resize",j)}})}});d.ui.plugin.add("resizable","containment",{start:function(g,t){var v=d(this).data("resizable"),l=v.options,n=v.element;var h=l.containment,m=(h instanceof d)?h.get(0):(/parent/.test(h))?n.parent().get(0):h;if(!m){return}v.containerElement=d(m);if(/document/.test(h)||h==document){v.containerOffset={left:0,top:0};v.containerPosition={left:0,top:0};v.parentData={element:d(document),left:0,top:0,width:d(document).width(),height:d(document).height()||document.body.parentNode.scrollHeight}}else{var r=d(m),j=[];d(["Top","Right","Left","Bottom"]).each(function(p,o){j[p]=c(r.css("padding"+o))});v.containerOffset=r.offset();v.containerPosition=r.position();v.containerSize={height:(r.innerHeight()-j[3]),width:(r.innerWidth()-j[1])};var s=v.containerOffset,f=v.containerSize.height,q=v.containerSize.width,i=(d.ui.hasScroll(m,"left")?m.scrollWidth:q),u=(d.ui.hasScroll(m)?m.scrollHeight:f);v.parentData={element:m,left:s.left,top:s.top,width:i,height:u}}},resize:function(h,s){var v=d(this).data("resizable"),j=v.options,g=v.containerSize,r=v.containerOffset,p=v.size,q=v.position,t=v._aspectRatio||h.shiftKey,f={top:0,left:0},i=v.containerElement;if(i[0]!=document&&(/static/).test(i.css("position"))){f=r}if(q.left<(v._helper?r.left:0)){v.size.width=v.size.width+(v._helper?(v.position.left-r.left):(v.position.left-f.left));if(t){v.size.height=v.size.width/v.aspectRatio}v.position.left=j.helper?r.left:0}if(q.top<(v._helper?r.top:0)){v.size.height=v.size.height+(v._helper?(v.position.top-r.top):v.position.top);if(t){v.size.width=v.size.height*v.aspectRatio}v.position.top=v._helper?r.top:0}v.offset.left=v.parentData.left+v.position.left;v.offset.top=v.parentData.top+v.position.top;var n=Math.abs((v._helper?v.offset.left-f.left:(v.offset.left-f.left))+v.sizeDiff.width),u=Math.abs((v._helper?v.offset.top-f.top:(v.offset.top-r.top))+v.sizeDiff.height);var m=v.containerElement.get(0)==v.element.parent().get(0),l=/relative|absolute/.test(v.containerElement.css("position"));if(m&&l){n-=v.parentData.left}if(n+v.size.width>=v.parentData.width){v.size.width=v.parentData.width-n;if(t){v.size.height=v.size.width/v.aspectRatio}}if(u+v.size.height>=v.parentData.height){v.size.height=v.parentData.height-u;if(t){v.size.width=v.size.height*v.aspectRatio}}},stop:function(g,q){var s=d(this).data("resizable"),i=s.options,n=s.position,p=s.containerOffset,f=s.containerPosition,j=s.containerElement;var l=d(s.helper),t=l.offset(),r=l.outerWidth()-s.sizeDiff.width,m=l.outerHeight()-s.sizeDiff.height;if(s._helper&&!i.animate&&(/relative/).test(j.css("position"))){d(this).css({left:t.left-f.left-p.left,width:r,height:m})}if(s._helper&&!i.animate&&(/static/).test(j.css("position"))){d(this).css({left:t.left-f.left-p.left,width:r,height:m})}}});d.ui.plugin.add("resizable","ghost",{start:function(h,i){var f=d(this).data("resizable"),j=f.options,g=f.size;f.ghost=f.originalElement.clone();f.ghost.css({opacity:0.25,display:"block",position:"relative",height:g.height,width:g.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof j.ghost=="string"?j.ghost:"");f.ghost.appendTo(f.helper)},resize:function(g,h){var f=d(this).data("resizable"),i=f.options;if(f.ghost){f.ghost.css({position:"relative",height:f.size.height,width:f.size.width})}},stop:function(g,h){var f=d(this).data("resizable"),i=f.options;if(f.ghost&&f.helper){f.helper.get(0).removeChild(f.ghost.get(0))}}});d.ui.plugin.add("resizable","grid",{resize:function(f,p){var r=d(this).data("resizable"),i=r.options,m=r.size,j=r.originalSize,l=r.originalPosition,q=r.axis,n=i._aspectRatio||f.shiftKey;i.grid=typeof i.grid=="number"?[i.grid,i.grid]:i.grid;var h=Math.round((m.width-j.width)/(i.grid[0]||1))*(i.grid[0]||1),g=Math.round((m.height-j.height)/(i.grid[1]||1))*(i.grid[1]||1);if(/^(se|s|e)$/.test(q)){r.size.width=j.width+h;r.size.height=j.height+g}else{if(/^(ne)$/.test(q)){r.size.width=j.width+h;r.size.height=j.height+g;r.position.top=l.top-g}else{if(/^(sw)$/.test(q)){r.size.width=j.width+h;r.size.height=j.height+g;r.position.left=l.left-h}else{r.size.width=j.width+h;r.size.height=j.height+g;r.position.top=l.top-g;r.position.left=l.left-h}}}}});var c=function(f){return parseInt(f,10)||0};var b=function(f){return !isNaN(parseInt(f,10))}})(jQuery);(function(b,c){b.widget("ui.selectable",b.ui.mouse,{options:{appendTo:"body",autoRefresh:true,distance:0,filter:"*",tolerance:"touch"},_create:function(){var d=this;this.element.addClass("ui-selectable");this.dragged=false;var e;this.refresh=function(){e=b(d.options.filter,d.element[0]);e.addClass("ui-selectee");e.each(function(){var f=b(this);var g=f.offset();b.data(this,"selectable-item",{element:this,$element:f,left:g.left,top:g.top,right:g.left+f.outerWidth(),bottom:g.top+f.outerHeight(),startselected:false,selected:f.hasClass("ui-selected"),selecting:f.hasClass("ui-selecting"),unselecting:f.hasClass("ui-unselecting")})})};this.refresh();this.selectees=e.addClass("ui-selectee");this._mouseInit();this.helper=b("
")},destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item");this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable");this._mouseDestroy();return this},_mouseStart:function(f){var d=this;this.opos=[f.pageX,f.pageY];if(this.options.disabled){return}var e=this.options;this.selectees=b(e.filter,this.element[0]);this._trigger("start",f);b(e.appendTo).append(this.helper);this.helper.css({left:f.clientX,top:f.clientY,width:0,height:0});if(e.autoRefresh){this.refresh()}this.selectees.filter(".ui-selected").each(function(){var g=b.data(this,"selectable-item");g.startselected=true;if(!f.metaKey&&!f.ctrlKey){g.$element.removeClass("ui-selected");g.selected=false;g.$element.addClass("ui-unselecting");g.unselecting=true;d._trigger("unselecting",f,{unselecting:g.element})}});b(f.target).parents().andSelf().each(function(){var h=b.data(this,"selectable-item");if(h){var g=(!f.metaKey&&!f.ctrlKey)||!h.$element.hasClass("ui-selected");h.$element.removeClass(g?"ui-unselecting":"ui-selected").addClass(g?"ui-selecting":"ui-unselecting");h.unselecting=!g;h.selecting=g;h.selected=g;if(g){d._trigger("selecting",f,{selecting:h.element})}else{d._trigger("unselecting",f,{unselecting:h.element})}return false}})},_mouseDrag:function(l){var e=this;this.dragged=true;if(this.options.disabled){return}var g=this.options;var f=this.opos[0],j=this.opos[1],d=l.pageX,i=l.pageY;if(f>d){var h=d;d=f;f=h}if(j>i){var h=i;i=j;j=h}this.helper.css({left:f,top:j,width:d-f,height:i-j});this.selectees.each(function(){var m=b.data(this,"selectable-item");if(!m||m.element==e.element[0]){return}var n=false;if(g.tolerance=="touch"){n=(!(m.left>d||m.righti||m.bottomf&&m.rightj&&m.bottom *",opacity:false,placeholder:false,revert:false,scroll:true,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1000},_create:function(){var d=this.options;this.containerCache={};this.element.addClass("ui-sortable");this.refresh();this.floating=this.items.length?d.axis==="x"||(/left|right/).test(this.items[0].item.css("float"))||(/inline|table-cell/).test(this.items[0].item.css("display")):false;this.offset=this.element.offset();this._mouseInit();this.ready=true},destroy:function(){b.Widget.prototype.destroy.call(this);this.element.removeClass("ui-sortable ui-sortable-disabled");this._mouseDestroy();for(var d=this.items.length-1;d>=0;d--){this.items[d].item.removeData(this.widgetName+"-item")}return this},_setOption:function(d,e){if(d==="disabled"){this.options[d]=e;this.widget()[e?"addClass":"removeClass"]("ui-sortable-disabled")}else{b.Widget.prototype._setOption.apply(this,arguments)}},_mouseCapture:function(h,i){var g=this;if(this.reverting){return false}if(this.options.disabled||this.options.type=="static"){return false}this._refreshItems(h);var f=null,e=this,d=b(h.target).parents().each(function(){if(b.data(this,g.widgetName+"-item")==e){f=b(this);return false}});if(b.data(h.target,g.widgetName+"-item")==e){f=b(h.target)}if(!f){return false}if(this.options.handle&&!i){var j=false;b(this.options.handle,f).find("*").andSelf().each(function(){if(this==h.target){j=true}});if(!j){return false}}this.currentItem=f;this._removeCurrentsFromItems();return true},_mouseStart:function(g,h,d){var j=this.options,e=this;this.currentContainer=this;this.refreshPositions();this.helper=this._createHelper(g);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};b.extend(this.offset,{click:{left:g.pageX-this.offset.left,top:g.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(g);this.originalPageX=g.pageX;this.originalPageY=g.pageY;(j.cursorAt&&this._adjustOffsetFromHelper(j.cursorAt));this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]};if(this.helper[0]!=this.currentItem[0]){this.currentItem.hide()}this._createPlaceholder();if(j.containment){this._setContainment()}if(j.cursor){if(b("body").css("cursor")){this._storedCursor=b("body").css("cursor")}b("body").css("cursor",j.cursor)}if(j.opacity){if(this.helper.css("opacity")){this._storedOpacity=this.helper.css("opacity")}this.helper.css("opacity",j.opacity)}if(j.zIndex){if(this.helper.css("zIndex")){this._storedZIndex=this.helper.css("zIndex")}this.helper.css("zIndex",j.zIndex)}if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){this.overflowOffset=this.scrollParent.offset()}this._trigger("start",g,this._uiHash());if(!this._preserveHelperProportions){this._cacheHelperProportions()}if(!d){for(var f=this.containers.length-1;f>=0;f--){this.containers[f]._trigger("activate",g,e._uiHash(this))}}if(b.ui.ddmanager){b.ui.ddmanager.current=this}if(b.ui.ddmanager&&!j.dropBehaviour){b.ui.ddmanager.prepareOffsets(this,g)}this.dragging=true;this.helper.addClass("ui-sortable-helper");this._mouseDrag(g);return true},_mouseDrag:function(h){this.position=this._generatePosition(h);this.positionAbs=this._convertPositionTo("absolute");if(!this.lastPositionAbs){this.lastPositionAbs=this.positionAbs}if(this.options.scroll){var j=this.options,d=false;if(this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"){if((this.overflowOffset.top+this.scrollParent[0].offsetHeight)-h.pageY=0;f--){var g=this.items[f],e=g.item[0],l=this._intersectsWithPointer(g);if(!l){continue}if(g.instance!==this.currentContainer){continue}if(e!=this.currentItem[0]&&this.placeholder[l==1?"next":"prev"]()[0]!=e&&!b.ui.contains(this.placeholder[0],e)&&(this.options.type=="semi-dynamic"?!b.ui.contains(this.element[0],e):true)){this.direction=l==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(g)){this._rearrange(h,g)}else{break}this._trigger("change",h,this._uiHash());break}}this._contactContainers(h);if(b.ui.ddmanager){b.ui.ddmanager.drag(this,h)}this._trigger("sort",h,this._uiHash());this.lastPositionAbs=this.positionAbs;return false},_mouseStop:function(e,f){if(!e){return}if(b.ui.ddmanager&&!this.options.dropBehaviour){b.ui.ddmanager.drop(this,e)}if(this.options.revert){var d=this;var g=d.placeholder.offset();d.reverting=true;b(this.helper).animate({left:g.left-this.offset.parent.left-d.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:g.top-this.offset.parent.top-d.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){d._clear(e)})}else{this._clear(e,f)}return false},cancel:function(){var d=this;if(this.dragging){this._mouseUp({target:null});if(this.options.helper=="original"){this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper")}else{this.currentItem.show()}for(var e=this.containers.length-1;e>=0;e--){this.containers[e]._trigger("deactivate",null,d._uiHash(this));if(this.containers[e].containerCache.over){this.containers[e]._trigger("out",null,d._uiHash(this));this.containers[e].containerCache.over=0}}}if(this.placeholder){if(this.placeholder[0].parentNode){this.placeholder[0].parentNode.removeChild(this.placeholder[0])}if(this.options.helper!="original"&&this.helper&&this.helper[0].parentNode){this.helper.remove()}b.extend(this,{helper:null,dragging:false,reverting:false,_noFinalSort:null});if(this.domPosition.prev){b(this.domPosition.prev).after(this.currentItem)}else{b(this.domPosition.parent).prepend(this.currentItem)}}return this},serialize:function(f){var d=this._getItemsAsjQuery(f&&f.connected);var e=[];f=f||{};b(d).each(function(){var g=(b(f.item||this).attr(f.attribute||"id")||"").match(f.expression||(/(.+)[-=_](.+)/));if(g){e.push((f.key||g[1]+"[]")+"="+(f.key&&f.expression?g[1]:g[2]))}});if(!e.length&&f.key){e.push(f.key+"=")}return e.join("&")},toArray:function(f){var d=this._getItemsAsjQuery(f&&f.connected);var e=[];f=f||{};d.each(function(){e.push(b(f.item||this).attr(f.attribute||"id")||"")});return e},_intersectsWith:function(o){var f=this.positionAbs.left,e=f+this.helperProportions.width,n=this.positionAbs.top,m=n+this.helperProportions.height;var g=o.left,d=g+o.width,p=o.top,j=p+o.height;var q=this.offset.click.top,i=this.offset.click.left;var h=(n+q)>p&&(n+q)g&&(f+i)o[this.floating?"width":"height"])){return h}else{return(g0?"down":"up")},_getDragHorizontalDirection:function(){var d=this.positionAbs.left-this.lastPositionAbs.left;return d!=0&&(d>0?"right":"left")},refresh:function(d){this._refreshItems(d);this.refreshPositions();return this},_connectWith:function(){var d=this.options;return d.connectWith.constructor==String?[d.connectWith]:d.connectWith},_getItemsAsjQuery:function(d){var o=this;var l=[];var g=[];var m=this._connectWith();if(m&&d){for(var f=m.length-1;f>=0;f--){var n=b(m[f]);for(var e=n.length-1;e>=0;e--){var h=b.data(n[e],this.widgetName);if(h&&h!=this&&!h.options.disabled){g.push([b.isFunction(h.options.items)?h.options.items.call(h.element):b(h.options.items,h.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),h])}}}}g.push([b.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):b(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(var f=g.length-1;f>=0;f--){g[f][0].each(function(){l.push(this)})}return b(l)},_removeCurrentsFromItems:function(){var f=this.currentItem.find(":data("+this.widgetName+"-item)");for(var e=0;e=0;g--){var p=b(o[g]);for(var f=p.length-1;f>=0;f--){var l=b.data(p[f],this.widgetName);if(l&&l!=this&&!l.options.disabled){h.push([b.isFunction(l.options.items)?l.options.items.call(l.element[0],d,{item:this.currentItem}):b(l.options.items,l.element),l]);this.containers.push(l)}}}}for(var g=h.length-1;g>=0;g--){var n=h[g][1];var e=h[g][0];for(var f=0,q=e.length;f=0;f--){var g=this.items[f];if(g.instance!=this.currentContainer&&this.currentContainer&&g.item[0]!=this.currentItem[0]){continue}var e=this.options.toleranceElement?b(this.options.toleranceElement,g.item):g.item;if(!d){g.width=e.outerWidth();g.height=e.outerHeight()}var h=e.offset();g.left=h.left;g.top=h.top}if(this.options.custom&&this.options.custom.refreshContainers){this.options.custom.refreshContainers.call(this)}else{for(var f=this.containers.length-1;f>=0;f--){var h=this.containers[f].element.offset();this.containers[f].containerCache.left=h.left;this.containers[f].containerCache.top=h.top;this.containers[f].containerCache.width=this.containers[f].element.outerWidth();this.containers[f].containerCache.height=this.containers[f].element.outerHeight()}}return this},_createPlaceholder:function(f){var d=f||this,g=d.options;if(!g.placeholder||g.placeholder.constructor==String){var e=g.placeholder;g.placeholder={element:function(){var h=b(document.createElement(d.currentItem[0].nodeName)).addClass(e||d.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];if(!e){h.style.visibility="hidden"}return h},update:function(h,i){if(e&&!g.forcePlaceholderSize){return}if(!i.height()){i.height(d.currentItem.innerHeight()-parseInt(d.currentItem.css("paddingTop")||0,10)-parseInt(d.currentItem.css("paddingBottom")||0,10))}if(!i.width()){i.width(d.currentItem.innerWidth()-parseInt(d.currentItem.css("paddingLeft")||0,10)-parseInt(d.currentItem.css("paddingRight")||0,10))}}}}d.placeholder=b(g.placeholder.element.call(d.element,d.currentItem));d.currentItem.after(d.placeholder);g.placeholder.update(d,d.placeholder)},_contactContainers:function(d){var f=null,n=null;for(var h=this.containers.length-1;h>=0;h--){if(b.ui.contains(this.currentItem[0],this.containers[h].element[0])){continue}if(this._intersectsWith(this.containers[h].containerCache)){if(f&&b.ui.contains(this.containers[h].element[0],f.element[0])){continue}f=this.containers[h];n=h}else{if(this.containers[h].containerCache.over){this.containers[h]._trigger("out",d,this._uiHash(this));this.containers[h].containerCache.over=0}}}if(!f){return}if(this.containers.length===1){this.containers[n]._trigger("over",d,this._uiHash(this));this.containers[n].containerCache.over=1}else{if(this.currentContainer!=this.containers[n]){var m=10000;var l=null;var e=this.positionAbs[this.containers[n].floating?"left":"top"];for(var g=this.items.length-1;g>=0;g--){if(!b.ui.contains(this.containers[n].element[0],this.items[g].item[0])){continue}var o=this.containers[n].floating?this.items[g].item.offset().left:this.items[g].item.offset().top;if(Math.abs(o-e)0)?"down":"up"}}if(!l&&!this.options.dropOnEmpty){return}this.currentContainer=this.containers[n];l?this._rearrange(d,l,null,true):this._rearrange(d,null,this.containers[n].element,true);this._trigger("change",d,this._uiHash());this.containers[n]._trigger("change",d,this._uiHash(this));this.options.placeholder.update(this.currentContainer,this.placeholder);this.containers[n]._trigger("over",d,this._uiHash(this));this.containers[n].containerCache.over=1}}},_createHelper:function(e){var f=this.options;var d=b.isFunction(f.helper)?b(f.helper.apply(this.element[0],[e,this.currentItem])):(f.helper=="clone"?this.currentItem.clone():this.currentItem);if(!d.parents("body").length){b(f.appendTo!="parent"?f.appendTo:this.currentItem[0].parentNode)[0].appendChild(d[0])}if(d[0]==this.currentItem[0]){this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}}if(d[0].style.width==""||f.forceHelperSize){d.width(this.currentItem.width())}if(d[0].style.height==""||f.forceHelperSize){d.height(this.currentItem.height())}return d},_adjustOffsetFromHelper:function(d){if(typeof d=="string"){d=d.split(" ")}if(b.isArray(d)){d={left:+d[0],top:+d[1]||0}}if("left" in d){this.offset.click.left=d.left+this.margins.left}if("right" in d){this.offset.click.left=this.helperProportions.width-d.right+this.margins.left}if("top" in d){this.offset.click.top=d.top+this.margins.top}if("bottom" in d){this.offset.click.top=this.helperProportions.height-d.bottom+this.margins.top}},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var d=this.offsetParent.offset();if(this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&b.ui.contains(this.scrollParent[0],this.offsetParent[0])){d.left+=this.scrollParent.scrollLeft();d.top+=this.scrollParent.scrollTop()}if((this.offsetParent[0]==document.body)||(this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&b.browser.msie)){d={top:0,left:0}}return{top:d.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:d.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var d=this.currentItem.position();return{top:d.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:d.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}else{return{top:0,left:0}}},_cacheMargins:function(){this.margins={left:(parseInt(this.currentItem.css("marginLeft"),10)||0),top:(parseInt(this.currentItem.css("marginTop"),10)||0)}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var g=this.options;if(g.containment=="parent"){g.containment=this.helper[0].parentNode}if(g.containment=="document"||g.containment=="window"){this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,b(g.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(b(g.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]}if(!(/^(document|window|parent)$/).test(g.containment)){var e=b(g.containment)[0];var f=b(g.containment).offset();var d=(b(e).css("overflow")!="hidden");this.containment=[f.left+(parseInt(b(e).css("borderLeftWidth"),10)||0)+(parseInt(b(e).css("paddingLeft"),10)||0)-this.margins.left,f.top+(parseInt(b(e).css("borderTopWidth"),10)||0)+(parseInt(b(e).css("paddingTop"),10)||0)-this.margins.top,f.left+(d?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(b(e).css("borderLeftWidth"),10)||0)-(parseInt(b(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,f.top+(d?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(b(e).css("borderTopWidth"),10)||0)-(parseInt(b(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(h,j){if(!j){j=this.position}var f=h=="absolute"?1:-1;var g=this.options,e=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&b.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,i=(/(html|body)/i).test(e[0].tagName);return{top:(j.top+this.offset.relative.top*f+this.offset.parent.top*f-(b.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():(i?0:e.scrollTop()))*f)),left:(j.left+this.offset.relative.left*f+this.offset.parent.left*f-(b.browser.safari&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():i?0:e.scrollLeft())*f))}},_generatePosition:function(g){var j=this.options,d=this.cssPosition=="absolute"&&!(this.scrollParent[0]!=document&&b.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,l=(/(html|body)/i).test(d[0].tagName);if(this.cssPosition=="relative"&&!(this.scrollParent[0]!=document&&this.scrollParent[0]!=this.offsetParent[0])){this.offset.relative=this._getRelativeOffset()}var f=g.pageX;var e=g.pageY;if(this.originalPosition){if(this.containment){if(g.pageX-this.offset.click.leftthis.containment[2]){f=this.containment[2]+this.offset.click.left}if(g.pageY-this.offset.click.top>this.containment[3]){e=this.containment[3]+this.offset.click.top}}if(j.grid){var i=this.originalPageY+Math.round((e-this.originalPageY)/j.grid[1])*j.grid[1];e=this.containment?(!(i-this.offset.click.topthis.containment[3])?i:(!(i-this.offset.click.topthis.containment[2])?h:(!(h-this.offset.click.left=0;e--){if(!g){h.push((function(i){return function(j){i._trigger("deactivate",j,this._uiHash(this))}}).call(this,this.containers[e]))}if(this.containers[e].containerCache.over){h.push((function(i){return function(j){i._trigger("out",j,this._uiHash(this))}}).call(this,this.containers[e]));this.containers[e].containerCache.over=0}}if(this._storedCursor){b("body").css("cursor",this._storedCursor)}if(this._storedOpacity){this.helper.css("opacity",this._storedOpacity)}if(this._storedZIndex){this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex)}this.dragging=false;if(this.cancelHelperRemoval){if(!g){this._trigger("beforeStop",f,this._uiHash());for(var e=0;e li > :first-child,> :not(li):even",icons:{header:"ui-icon-triangle-1-e",headerSelected:"ui-icon-triangle-1-s"},navigation:false,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var d=this,e=d.options;d.running=0;d.element.addClass("ui-accordion ui-widget ui-helper-reset").children("li").addClass("ui-accordion-li-fix");d.headers=d.element.find(e.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all").bind("mouseenter.accordion",function(){if(e.disabled){return}b(this).addClass("ui-state-hover")}).bind("mouseleave.accordion",function(){if(e.disabled){return}b(this).removeClass("ui-state-hover")}).bind("focus.accordion",function(){if(e.disabled){return}b(this).addClass("ui-state-focus")}).bind("blur.accordion",function(){if(e.disabled){return}b(this).removeClass("ui-state-focus")});d.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom");if(e.navigation){var f=d.element.find("a").filter(e.navigationFilter).eq(0);if(f.length){var g=f.closest(".ui-accordion-header");if(g.length){d.active=g}else{d.active=f.closest(".ui-accordion-content").prev()}}}d.active=d._findActive(d.active||e.active).addClass("ui-state-default ui-state-active").toggleClass("ui-corner-all").toggleClass("ui-corner-top");d.active.next().addClass("ui-accordion-content-active");d._createIcons();d.resize();d.element.attr("role","tablist");d.headers.attr("role","tab").bind("keydown.accordion",function(h){return d._keydown(h)}).next().attr("role","tabpanel");d.headers.not(d.active||"").attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).next().hide();if(!d.active.length){d.headers.eq(0).attr("tabIndex",0)}else{d.active.attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0})}if(!b.browser.safari){d.headers.find("a").attr("tabIndex",-1)}if(e.event){d.headers.bind(e.event.split(" ").join(".accordion ")+".accordion",function(h){d._clickHandler.call(d,h,this);h.preventDefault()})}},_createIcons:function(){var d=this.options;if(d.icons){b("").addClass("ui-icon "+d.icons.header).prependTo(this.headers);this.active.children(".ui-icon").toggleClass(d.icons.header).toggleClass(d.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 d=this.options;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();var e=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");if(d.autoHeight||d.fillHeight){e.css("height","")}return b.Widget.prototype.destroy.call(this)},_setOption:function(d,e){b.Widget.prototype._setOption.apply(this,arguments);if(d=="active"){this.activate(e)}if(d=="icons"){this._destroyIcons();if(e){this._createIcons()}}if(d=="disabled"){this.headers.add(this.headers.next())[e?"addClass":"removeClass"]("ui-accordion-disabled ui-state-disabled")}},_keydown:function(g){if(this.options.disabled||g.altKey||g.ctrlKey){return}var h=b.ui.keyCode,f=this.headers.length,d=this.headers.index(g.target),e=false;switch(g.keyCode){case h.RIGHT:case h.DOWN:e=this.headers[(d+1)%f];break;case h.LEFT:case h.UP:e=this.headers[(d-1+f)%f];break;case h.SPACE:case h.ENTER:this._clickHandler({target:g.target},g.target);g.preventDefault()}if(e){b(g.target).attr("tabIndex",-1);b(e).attr("tabIndex",0);e.focus();return false}return true},resize:function(){var d=this.options,f;if(d.fillSpace){if(b.browser.msie){var e=this.element.parent().css("overflow");this.element.parent().css("overflow","hidden")}f=this.element.parent().height();if(b.browser.msie){this.element.parent().css("overflow",e)}this.headers.each(function(){f-=b(this).outerHeight(true)});this.headers.next().each(function(){b(this).height(Math.max(0,f-b(this).innerHeight()+b(this).height()))}).css("overflow","auto")}else{if(d.autoHeight){f=0;this.headers.next().each(function(){f=Math.max(f,b(this).height("").height())}).height(f)}}return this},activate:function(d){this.options.active=d;var e=this._findActive(d)[0];this._clickHandler({target:e},e);return this},_findActive:function(d){return d?typeof d==="number"?this.headers.filter(":eq("+d+")"):this.headers.not(this.headers.not(d)):d===false?b([]):this.headers.filter(":eq(0)")},_clickHandler:function(d,h){var n=this.options;if(n.disabled){return}if(!d.target){if(!n.collapsible){return}this.active.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(n.icons.headerSelected).addClass(n.icons.header);this.active.next().addClass("ui-accordion-content-active");var j=this.active.next(),g={options:n,newHeader:b([]),oldHeader:n.active,newContent:b([]),oldContent:j},e=(this.active=b([]));this._toggle(e,j,g);return}var i=b(d.currentTarget||h),l=i[0]===this.active[0];n.active=n.collapsible&&l?false:this.headers.index(i);if(this.running||(!n.collapsible&&l)){return}var f=this.active,e=i.next(),j=this.active.next(),g={options:n,newHeader:l&&n.collapsible?b([]):i,oldHeader:this.active,newContent:l&&n.collapsible?b([]):e,oldContent:j},m=this.headers.index(this.active[0])>this.headers.index(i[0]);this.active=l?b([]):i;this._toggle(e,j,g,l,m);f.removeClass("ui-state-active ui-corner-top").addClass("ui-state-default ui-corner-all").children(".ui-icon").removeClass(n.icons.headerSelected).addClass(n.icons.header);if(!l){i.removeClass("ui-state-default ui-corner-all").addClass("ui-state-active ui-corner-top").children(".ui-icon").removeClass(n.icons.header).addClass(n.icons.headerSelected);i.next().addClass("ui-accordion-content-active")}return},_toggle:function(d,j,h,l,m){var o=this,p=o.options;o.toShow=d;o.toHide=j;o.data=h;var e=function(){if(!o){return}return o._completed.apply(o,arguments)};o._trigger("changestart",null,o.data);o.running=j.size()===0?d.size():j.size();if(p.animated){var g={};if(p.collapsible&&l){g={toShow:b([]),toHide:j,complete:e,down:m,autoHeight:p.autoHeight||p.fillSpace}}else{g={toShow:d,toHide:j,complete:e,down:m,autoHeight:p.autoHeight||p.fillSpace}}if(!p.proxied){p.proxied=p.animated}if(!p.proxiedDuration){p.proxiedDuration=p.duration}p.animated=b.isFunction(p.proxied)?p.proxied(g):p.proxied;p.duration=b.isFunction(p.proxiedDuration)?p.proxiedDuration(g):p.proxiedDuration;var n=b.ui.accordion.animations,f=p.duration,i=p.animated;if(i&&!n[i]&&!b.easing[i]){i="slide"}if(!n[i]){n[i]=function(q){this.slide(q,{easing:i,duration:f||700})}}n[i](g)}else{if(p.collapsible&&l){d.toggle()}else{j.hide();d.show()}e(true)}j.prev().attr({"aria-expanded":"false","aria-selected":"false",tabIndex:-1}).blur();d.prev().attr({"aria-expanded":"true","aria-selected":"true",tabIndex:0}).focus()},_completed:function(d){this.running=d?0:--this.running;if(this.running){return}if(this.options.clearStyle){this.toShow.add(this.toHide).css({height:"",overflow:""})}this.toHide.removeClass("ui-accordion-content-active");if(this.toHide.length){this.toHide.parent()[0].className=this.toHide.parent()[0].className}this._trigger("change",null,this.data)}});b.extend(b.ui.accordion,{version:"1.8.24",animations:{slide:function(m,j){m=b.extend({easing:"swing",duration:300},m,j);if(!m.toHide.size()){m.toShow.animate({height:"show",paddingTop:"show",paddingBottom:"show"},m);return}if(!m.toShow.size()){m.toHide.animate({height:"hide",paddingTop:"hide",paddingBottom:"hide"},m);return}var e=m.toShow.css("overflow"),i=0,f={},h={},g=["height","paddingTop","paddingBottom"],d;var l=m.toShow;d=l[0].style.width;l.width(l.parent().width()-parseFloat(l.css("paddingLeft"))-parseFloat(l.css("paddingRight"))-(parseFloat(l.css("borderLeftWidth"))||0)-(parseFloat(l.css("borderRightWidth"))||0));b.each(g,function(n,p){h[p]="hide";var o=(""+b.css(m.toShow[0],p)).match(/^([\d+-.]+)(.*)$/);f[p]={value:o[1],unit:o[2]||"px"}});m.toShow.css({height:0,overflow:"hidden"}).show();m.toHide.filter(":hidden").each(m.complete).end().filter(":visible").animate(h,{step:function(n,o){if(o.prop=="height"){i=(o.end-o.start===0)?0:(o.now-o.start)/(o.end-o.start)}m.toShow[0].style[o.prop]=(i*f[o.prop].value)+f[o.prop].unit},duration:m.duration,easing:m.easing,complete:function(){if(!m.autoHeight){m.toShow.css("height","")}m.toShow.css({width:d,overflow:e});m.complete()}})},bounceslide:function(d){this.slide(d,{easing:d.down?"easeOutBounce":"swing",duration:d.down?1000:200})}}})})(jQuery);(function(b,c){var d=0;b.widget("ui.autocomplete",{options:{appendTo:"body",autoFocus:false,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null},pending:0,_create:function(){var e=this,g=this.element[0].ownerDocument,f;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(h){if(e.options.disabled||e.element.propAttr("readOnly")){return}f=false;var i=b.ui.keyCode;switch(h.keyCode){case i.PAGE_UP:e._move("previousPage",h);break;case i.PAGE_DOWN:e._move("nextPage",h);break;case i.UP:e._keyEvent("previous",h);break;case i.DOWN:e._keyEvent("next",h);break;case i.ENTER:case i.NUMPAD_ENTER:if(e.menu.active){f=true;h.preventDefault()}case i.TAB:if(!e.menu.active){return}e.menu.select(h);break;case i.ESCAPE:e.element.val(e.term);e.close(h);break;default:clearTimeout(e.searching);e.searching=setTimeout(function(){if(e.term!=e.element.val()){e.selectedItem=null;e.search(null,h)}},e.options.delay);break}}).bind("keypress.autocomplete",function(h){if(f){f=false;h.preventDefault()}}).bind("focus.autocomplete",function(){if(e.options.disabled){return}e.selectedItem=null;e.previous=e.element.val()}).bind("blur.autocomplete",function(h){if(e.options.disabled){return}clearTimeout(e.searching);e.closing=setTimeout(function(){e.close(h);e._change(h)},150)});this._initSource();this.menu=b("
    ").addClass("ui-autocomplete").appendTo(b(this.options.appendTo||"body",g)[0]).mousedown(function(h){var i=e.menu.element[0];if(!b(h.target).closest(".ui-menu-item").length){setTimeout(function(){b(document).one("mousedown",function(j){if(j.target!==e.element[0]&&j.target!==i&&!b.ui.contains(i,j.target)){e.close()}})},1)}setTimeout(function(){clearTimeout(e.closing)},13)}).menu({focus:function(i,j){var h=j.item.data("item.autocomplete");if(false!==e._trigger("focus",i,{item:h})){if(/^key/.test(i.originalEvent.type)){e.element.val(h.value)}}},selected:function(j,l){var i=l.item.data("item.autocomplete"),h=e.previous;if(e.element[0]!==g.activeElement){e.element.focus();e.previous=h;setTimeout(function(){e.previous=h;e.selectedItem=i},1)}if(false!==e._trigger("select",j,{item:i})){e.element.val(i.value)}e.term=e.element.val();e.close(j);e.selectedItem=i},blur:function(h,i){if(e.menu.element.is(":visible")&&(e.element.val()!==e.term)){e.element.val(e.term)}}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data("menu");if(b.fn.bgiframe){this.menu.element.bgiframe()}e.beforeunloadHandler=function(){e.element.removeAttr("autocomplete")};b(window).bind("beforeunload",e.beforeunloadHandler)},destroy:function(){this.element.removeClass("ui-autocomplete-input").removeAttr("autocomplete").removeAttr("role").removeAttr("aria-autocomplete").removeAttr("aria-haspopup");this.menu.element.remove();b(window).unbind("beforeunload",this.beforeunloadHandler);b.Widget.prototype.destroy.call(this)},_setOption:function(e,f){b.Widget.prototype._setOption.apply(this,arguments);if(e==="source"){this._initSource()}if(e==="appendTo"){this.menu.element.appendTo(b(f||"body",this.element[0].ownerDocument)[0])}if(e==="disabled"&&f&&this.xhr){this.xhr.abort()}},_initSource:function(){var e=this,g,f;if(b.isArray(this.options.source)){g=this.options.source;this.source=function(i,h){h(b.ui.autocomplete.filter(g,i.term))}}else{if(typeof this.options.source==="string"){f=this.options.source;this.source=function(i,h){if(e.xhr){e.xhr.abort()}e.xhr=b.ajax({url:f,data:i,dataType:"json",success:function(l,j){h(l)},error:function(){h([])}})}}else{this.source=this.options.source}}},search:function(f,e){f=f!=null?f:this.element.val();this.term=this.element.val();if(f.length").data("item.autocomplete",f).append(b("
    ").text(f.label)).appendTo(e)},_move:function(f,e){if(!this.menu.element.is(":visible")){this.search(null,e);return}if(this.menu.first()&&/^previous/.test(f)||this.menu.last()&&/^next/.test(f)){this.element.val(this.term);this.menu.deactivate();return}this.menu[f](e)},widget:function(){return this.menu.element},_keyEvent:function(f,e){if(!this.isMultiLine||this.menu.element.is(":visible")){this._move(f,e);e.preventDefault()}}});b.extend(b.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")},filter:function(g,e){var f=new RegExp(b.ui.autocomplete.escapeRegex(e),"i");return b.grep(g,function(h){return f.test(h.label||h.value||h)})}})}(jQuery));(function(b){b.widget("ui.menu",{_create:function(){var c=this;this.element.addClass("ui-menu ui-widget ui-widget-content ui-corner-all").attr({role:"listbox","aria-activedescendant":"ui-active-menuitem"}).click(function(d){if(!b(d.target).closest(".ui-menu-item a").length){return}d.preventDefault();c.select(d)});this.refresh()},refresh:function(){var d=this;var c=this.element.children("li:not(.ui-menu-item):has(a)").addClass("ui-menu-item").attr("role","menuitem");c.children("a").addClass("ui-corner-all").attr("tabindex",-1).mouseenter(function(e){d.activate(e,b(this).parent())}).mouseleave(function(){d.deactivate()})},activate:function(f,e){this.deactivate();if(this.hasScroll()){var g=e.offset().top-this.element.offset().top,c=this.element.scrollTop(),d=this.element.height();if(g<0){this.element.scrollTop(c+g)}else{if(g>=d){this.element.scrollTop(c+g-d+e.height())}}}this.active=e.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-menuitem").end();this._trigger("focus",f,{item:e})},deactivate:function(){if(!this.active){return}this.active.children("a").removeClass("ui-state-hover").removeAttr("id");this._trigger("blur");this.active=null},next:function(c){this.move("next",".ui-menu-item:first",c)},previous:function(c){this.move("prev",".ui-menu-item:last",c)},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(f,e,d){if(!this.active){this.activate(d,this.element.children(e));return}var c=this.active[f+"All"](".ui-menu-item").eq(0);if(c.length){this.activate(d,c)}else{this.activate(d,this.element.children(e))}},nextPage:function(e){if(this.hasScroll()){if(!this.active||this.last()){this.activate(e,this.element.children(".ui-menu-item:first"));return}var f=this.active.offset().top,d=this.element.height(),c=this.element.children(".ui-menu-item").filter(function(){var g=b(this).offset().top-f-d+b(this).height();return g<10&&g>-10});if(!c.length){c=this.element.children(".ui-menu-item:last")}this.activate(e,c)}else{this.activate(e,this.element.children(".ui-menu-item").filter(!this.active||this.last()?":first":":last"))}},previousPage:function(e){if(this.hasScroll()){if(!this.active||this.first()){this.activate(e,this.element.children(".ui-menu-item:last"));return}var f=this.active.offset().top,d=this.element.height(),c=this.element.children(".ui-menu-item").filter(function(){var g=b(this).offset().top-f+d-b(this).height();return g<10&&g>-10});if(!c.length){c=this.element.children(".ui-menu-item:first")}this.activate(e,c)}else{this.activate(e,this.element.children(".ui-menu-item").filter(!this.active||this.first()?":last":":first"))}},hasScroll:function(){return this.element.height()",this.element[0].ownerDocument).addClass("ui-button-text").html(this.options.label).appendTo(r.empty()).text(),o=this.options.icons,n=o.primary&&o.secondary,q=[];if(o.primary||o.secondary){if(this.options.text){q.push("ui-button-text-icon"+(n?"s":(o.primary?"-primary":"-secondary")))}if(o.primary){r.prepend("")}if(o.secondary){r.append("")}if(!this.options.text){q.push(n?"ui-button-icons-only":"ui-button-icon-only");if(!this.hasTitle){r.attr("title",p)}}}else{q.push("ui-button-text-only")}r.addClass(q.join(" "))}});g.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(n,o){if(n==="disabled"){this.buttons.button("option",n,o)}g.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){var n=this.element.css("direction")==="rtl";this.buttons=this.element.find(this.options.items).filter(":ui-button").button("refresh").end().not(":ui-button").button().end().map(function(){return g(this).button("widget")[0]}).removeClass("ui-corner-all ui-corner-left ui-corner-right").filter(":first").addClass(n?"ui-corner-right":"ui-corner-left").end().filter(":last").addClass(n?"ui-corner-left":"ui-corner-right").end().end()},destroy:function(){this.element.removeClass("ui-buttonset");this.buttons.map(function(){return g(this).button("widget")[0]}).removeClass("ui-corner-left ui-corner-right").end().button("destroy");g.Widget.prototype.destroy.call(this)}})}(jQuery));(function(e,f){var c="ui-dialog ui-widget ui-widget-content ui-corner-all ",b={buttons:true,height:true,maxHeight:true,maxWidth:true,minHeight:true,minWidth:true,width:true},d={maxHeight:true,maxWidth:true,minHeight:true,minWidth:true};e.widget("ui.dialog",{options:{autoOpen:true,buttons:{},closeOnEscape:true,closeText:"close",dialogClass:"",draggable:true,hide:null,height:"auto",maxHeight:false,maxWidth:false,minHeight:150,minWidth:150,modal:false,position:{my:"center",at:"center",collision:"fit",using:function(h){var g=e(this).css(h).offset().top;if(g<0){e(this).css("top",h.top-g)}}},resizable:true,show:null,stack:true,title:"",width:300,zIndex:1000},_create:function(){this.originalTitle=this.element.attr("title");if(typeof this.originalTitle!=="string"){this.originalTitle=""}this.options.title=this.options.title||this.originalTitle;var p=this,q=p.options,n=q.title||" ",h=e.ui.dialog.getTitleId(p.element),o=(p.uiDialog=e("
    ")).appendTo(document.body).hide().addClass(c+q.dialogClass).css({zIndex:q.zIndex}).attr("tabIndex",-1).css("outline",0).keydown(function(r){if(q.closeOnEscape&&!r.isDefaultPrevented()&&r.keyCode&&r.keyCode===e.ui.keyCode.ESCAPE){p.close(r);r.preventDefault()}}).attr({role:"dialog","aria-labelledby":h}).mousedown(function(r){p.moveToTop(false,r)}),j=p.element.show().removeAttr("title").addClass("ui-dialog-content ui-widget-content").appendTo(o),i=(p.uiDialogTitlebar=e("
    ")).addClass("ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix").prependTo(o),m=e('').addClass("ui-dialog-titlebar-close ui-corner-all").attr("role","button").hover(function(){m.addClass("ui-state-hover")},function(){m.removeClass("ui-state-hover")}).focus(function(){m.addClass("ui-state-focus")}).blur(function(){m.removeClass("ui-state-focus")}).click(function(r){p.close(r);return false}).appendTo(i),l=(p.uiDialogTitlebarCloseText=e("")).addClass("ui-icon ui-icon-closethick").text(q.closeText).appendTo(m),g=e("").addClass("ui-dialog-title").attr("id",h).html(n).prependTo(i);if(e.isFunction(q.beforeclose)&&!e.isFunction(q.beforeClose)){q.beforeClose=q.beforeclose}i.find("*").add(i).disableSelection();if(q.draggable&&e.fn.draggable){p._makeDraggable()}if(q.resizable&&e.fn.resizable){p._makeResizable()}p._createButtons(q.buttons);p._isOpen=false;if(e.fn.bgiframe){o.bgiframe()}},_init:function(){if(this.options.autoOpen){this.open()}},destroy:function(){var g=this;if(g.overlay){g.overlay.destroy()}g.uiDialog.hide();g.element.unbind(".dialog").removeData("dialog").removeClass("ui-dialog-content ui-widget-content").hide().appendTo("body");g.uiDialog.remove();if(g.originalTitle){g.element.attr("title",g.originalTitle)}return g},widget:function(){return this.uiDialog},close:function(j){var g=this,i,h;if(false===g._trigger("beforeClose",j)){return}if(g.overlay){g.overlay.destroy()}g.uiDialog.unbind("keypress.ui-dialog");g._isOpen=false;if(g.options.hide){g.uiDialog.hide(g.options.hide,function(){g._trigger("close",j)})}else{g.uiDialog.hide();g._trigger("close",j)}e.ui.dialog.overlay.resize();if(g.options.modal){i=0;e(".ui-dialog").each(function(){if(this!==g.uiDialog[0]){h=e(this).css("z-index");if(!isNaN(h)){i=Math.max(i,h)}}});e.ui.dialog.maxZ=i}return g},isOpen:function(){return this._isOpen},moveToTop:function(l,j){var g=this,i=g.options,h;if((i.modal&&!l)||(!i.stack&&!i.modal)){return g._trigger("focus",j)}if(i.zIndex>e.ui.dialog.maxZ){e.ui.dialog.maxZ=i.zIndex}if(g.overlay){e.ui.dialog.maxZ+=1;g.overlay.$el.css("z-index",e.ui.dialog.overlay.maxZ=e.ui.dialog.maxZ)}h={scrollTop:g.element.scrollTop(),scrollLeft:g.element.scrollLeft()};e.ui.dialog.maxZ+=1;g.uiDialog.css("z-index",e.ui.dialog.maxZ);g.element.attr(h);g._trigger("focus",j);return g},open:function(){if(this._isOpen){return}var h=this,i=h.options,g=h.uiDialog;h.overlay=i.modal?new e.ui.dialog.overlay(h):null;h._size();h._position(i.position);g.show(i.show);h.moveToTop(true);if(i.modal){g.bind("keydown.ui-dialog",function(m){if(m.keyCode!==e.ui.keyCode.TAB){return}var l=e(":tabbable",this),n=l.filter(":first"),j=l.filter(":last");if(m.target===j[0]&&!m.shiftKey){n.focus(1);return false}else{if(m.target===n[0]&&m.shiftKey){j.focus(1);return false}}})}e(h.element.find(":tabbable").get().concat(g.find(".ui-dialog-buttonpane :tabbable").get().concat(g.get()))).eq(0).focus();h._isOpen=true;h._trigger("open");return h},_createButtons:function(j){var i=this,g=false,h=e("
    ").addClass("ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"),l=e("
    ").addClass("ui-dialog-buttonset").appendTo(h);i.uiDialog.find(".ui-dialog-buttonpane").remove();if(typeof j==="object"&&j!==null){e.each(j,function(){return !(g=true)})}if(g){e.each(j,function(m,o){o=e.isFunction(o)?{click:o,text:m}:o;var n=e('').click(function(){o.click.apply(i.element[0],arguments)}).appendTo(l);e.each(o,function(p,q){if(p==="click"){return}if(p in n){n[p](q)}else{n.attr(p,q)}});if(e.fn.button){n.button()}});h.appendTo(i.uiDialog)}},_makeDraggable:function(){var g=this,j=g.options,l=e(document),i;function h(m){return{position:m.position,offset:m.offset}}g.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(m,n){i=j.height==="auto"?"auto":e(this).height();e(this).height(e(this).height()).addClass("ui-dialog-dragging");g._trigger("dragStart",m,h(n))},drag:function(m,n){g._trigger("drag",m,h(n))},stop:function(m,n){j.position=[n.position.left-l.scrollLeft(),n.position.top-l.scrollTop()];e(this).removeClass("ui-dialog-dragging").height(i);g._trigger("dragStop",m,h(n));e.ui.dialog.overlay.resize()}})},_makeResizable:function(m){m=(m===f?this.options.resizable:m);var h=this,l=h.options,g=h.uiDialog.css("position"),j=(typeof m==="string"?m:"n,e,s,w,se,sw,ne,nw");function i(n){return{originalPosition:n.originalPosition,originalSize:n.originalSize,position:n.position,size:n.size}}h.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:h.element,maxWidth:l.maxWidth,maxHeight:l.maxHeight,minWidth:l.minWidth,minHeight:h._minHeight(),handles:j,start:function(n,o){e(this).addClass("ui-dialog-resizing");h._trigger("resizeStart",n,i(o))},resize:function(n,o){h._trigger("resize",n,i(o))},stop:function(n,o){e(this).removeClass("ui-dialog-resizing");l.height=e(this).height();l.width=e(this).width();h._trigger("resizeStop",n,i(o));e.ui.dialog.overlay.resize()}}).css("position",g).find(".ui-resizable-se").addClass("ui-icon ui-icon-grip-diagonal-se")},_minHeight:function(){var g=this.options;if(g.height==="auto"){return g.minHeight}else{return Math.min(g.minHeight,g.height)}},_position:function(h){var i=[],j=[0,0],g;if(h){if(typeof h==="string"||(typeof h==="object"&&"0" in h)){i=h.split?h.split(" "):[h[0],h[1]];if(i.length===1){i[1]=i[0]}e.each(["left","top"],function(m,l){if(+i[m]===i[m]){j[m]=i[m];i[m]=l}});h={my:i.join(" "),at:i.join(" "),offset:j.join(" ")}}h=e.extend({},e.ui.dialog.prototype.options.position,h)}else{h=e.ui.dialog.prototype.options.position}g=this.uiDialog.is(":visible");if(!g){this.uiDialog.show()}this.uiDialog.css({top:0,left:0}).position(e.extend({of:window},h));if(!g){this.uiDialog.hide()}},_setOptions:function(j){var h=this,g={},i=false;e.each(j,function(l,m){h._setOption(l,m);if(l in b){i=true}if(l in d){g[l]=m}});if(i){this._size()}if(this.uiDialog.is(":data(resizable)")){this.uiDialog.resizable("option",g)}},_setOption:function(j,l){var h=this,g=h.uiDialog;switch(j){case"beforeclose":j="beforeClose";break;case"buttons":h._createButtons(l);break;case"closeText":h.uiDialogTitlebarCloseText.text(""+l);break;case"dialogClass":g.removeClass(h.options.dialogClass).addClass(c+l);break;case"disabled":if(l){g.addClass("ui-dialog-disabled")}else{g.removeClass("ui-dialog-disabled")}break;case"draggable":var i=g.is(":data(draggable)");if(i&&!l){g.draggable("destroy")}if(!i&&l){h._makeDraggable()}break;case"position":h._position(l);break;case"resizable":var m=g.is(":data(resizable)");if(m&&!l){g.resizable("destroy")}if(m&&typeof l==="string"){g.resizable("option","handles",l)}if(!m&&l!==false){h._makeResizable(l)}break;case"title":e(".ui-dialog-title",h.uiDialogTitlebar).html(""+(l||" "));break}e.Widget.prototype._setOption.apply(h,arguments)},_size:function(){var l=this.options,h,j,g=this.uiDialog.is(":visible");this.element.show().css({width:"auto",minHeight:0,height:0});if(l.minWidth>l.width){l.width=l.minWidth}h=this.uiDialog.css({height:"auto",width:l.width}).height();j=Math.max(0,l.minHeight-h);if(l.height==="auto"){if(e.support.minHeight){this.element.css({minHeight:j,height:"auto"})}else{this.uiDialog.show();var i=this.element.css("height","auto").height();if(!g){this.uiDialog.hide()}this.element.height(Math.max(i,j))}}else{this.element.height(Math.max(l.height-h,0))}if(this.uiDialog.is(":data(resizable)")){this.uiDialog.resizable("option","minHeight",this._minHeight())}}});e.extend(e.ui.dialog,{version:"1.8.24",uuid:0,maxZ:0,getTitleId:function(g){var h=g.attr("id");if(!h){this.uuid+=1;h=this.uuid}return"ui-dialog-title-"+h},overlay:function(g){this.$el=e.ui.dialog.overlay.create(g)}});e.extend(e.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:e.map("focus,mousedown,mouseup,keydown,keypress,click".split(","),function(g){return g+".dialog-overlay"}).join(" "),create:function(h){if(this.instances.length===0){setTimeout(function(){if(e.ui.dialog.overlay.instances.length){e(document).bind(e.ui.dialog.overlay.events,function(i){if(e(i.target).zIndex()").addClass("ui-widget-overlay")).appendTo(document.body).css({width:this.width(),height:this.height()});if(e.fn.bgiframe){g.bgiframe()}this.instances.push(g);return g},destroy:function(g){var h=e.inArray(g,this.instances);if(h!=-1){this.oldInstances.push(this.instances.splice(h,1)[0])}if(this.instances.length===0){e([document,window]).unbind(".dialog-overlay")}g.remove();var i=0;e.each(this.instances,function(){i=Math.max(i,this.css("z-index"))});this.maxZ=i},height:function(){var h,g;if(e.browser.msie&&e.browser.version<7){h=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);g=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);if(h").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+((m.range==="min"||m.range==="max")?" ui-slider-range-"+m.range:""))}for(var g=l.length;gr){f=r;i=c(this);m=o}});if(h.range===true&&this.values(1)===h.min){m+=1;i=c(this.handles[m])}p=this._start(g,m);if(p===false){return false}this._mouseSliding=true;q._handleIndex=m;i.addClass("ui-state-active").focus();j=i.offset();e=!c(g.target).parents().andSelf().is(".ui-slider-handle");this._clickOffset=e?{left:0,top:0}:{left:g.pageX-j.left-(i.width()/2),top:g.pageY-j.top-(i.height()/2)-(parseInt(i.css("borderTopWidth"),10)||0)-(parseInt(i.css("borderBottomWidth"),10)||0)+(parseInt(i.css("marginTop"),10)||0)};if(!this.handles.hasClass("ui-state-hover")){this._slide(g,m,n)}this._animateOff=true;return true},_mouseStart:function(e){return true},_mouseDrag:function(g){var e={x:g.pageX,y:g.pageY},f=this._normValueFromMouse(e);this._slide(g,this._handleIndex,f);return false},_mouseStop:function(e){this.handles.removeClass("ui-state-active");this._mouseSliding=false;this._stop(e,this._handleIndex);this._change(e,this._handleIndex);this._handleIndex=null;this._clickOffset=null;this._animateOff=false;return false},_detectOrientation:function(){this.orientation=(this.options.orientation==="vertical")?"vertical":"horizontal"},_normValueFromMouse:function(f){var e,i,h,g,j;if(this.orientation==="horizontal"){e=this.elementSize.width;i=f.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{e=this.elementSize.height;i=f.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}h=(i/e);if(h>1){h=1}if(h<0){h=0}if(this.orientation==="vertical"){h=1-h}g=this._valueMax()-this._valueMin();j=this._valueMin()+h*g;return this._trimAlignValue(j)},_start:function(g,f){var e={handle:this.handles[f],value:this.value()};if(this.options.values&&this.options.values.length){e.value=this.values(f);e.values=this.values()}return this._trigger("start",g,e)},_slide:function(i,h,g){var e,f,j;if(this.options.values&&this.options.values.length){e=this.values(h?0:1);if((this.options.values.length===2&&this.options.range===true)&&((h===0&&g>e)||(h===1&&g1){this.options.values[f]=this._trimAlignValue(j);this._refreshValue();this._change(null,f);return}if(arguments.length){if(c.isArray(arguments[0])){h=this.options.values;e=arguments[0];for(g=0;g=this._valueMax()){return this._valueMax()}var e=(this.options.step>0)?this.options.step:1,g=(h-this._valueMin())%e,f=h-g;if(Math.abs(g)*2>=e){f+=(g>0)?e:(-e)}return parseFloat(f.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var h=this.options.range,g=this.options,p=this,f=(!this._animateOff)?g.animate:false,i,e={},j,m,l,n;if(this.options.values&&this.options.values.length){this.handles.each(function(q,o){i=(p.values(q)-p._valueMin())/(p._valueMax()-p._valueMin())*100;e[p.orientation==="horizontal"?"left":"bottom"]=i+"%";c(this).stop(1,1)[f?"animate":"css"](e,g.animate);if(p.options.range===true){if(p.orientation==="horizontal"){if(q===0){p.range.stop(1,1)[f?"animate":"css"]({left:i+"%"},g.animate)}if(q===1){p.range[f?"animate":"css"]({width:(i-j)+"%"},{queue:false,duration:g.animate})}}else{if(q===0){p.range.stop(1,1)[f?"animate":"css"]({bottom:(i)+"%"},g.animate)}if(q===1){p.range[f?"animate":"css"]({height:(i-j)+"%"},{queue:false,duration:g.animate})}}}j=i})}else{m=this.value();l=this._valueMin();n=this._valueMax();i=(n!==l)?(m-l)/(n-l)*100:0;e[p.orientation==="horizontal"?"left":"bottom"]=i+"%";this.handle.stop(1,1)[f?"animate":"css"](e,g.animate);if(h==="min"&&this.orientation==="horizontal"){this.range.stop(1,1)[f?"animate":"css"]({width:i+"%"},g.animate)}if(h==="max"&&this.orientation==="horizontal"){this.range[f?"animate":"css"]({width:(100-i)+"%"},{queue:false,duration:g.animate})}if(h==="min"&&this.orientation==="vertical"){this.range.stop(1,1)[f?"animate":"css"]({height:i+"%"},g.animate)}if(h==="max"&&this.orientation==="vertical"){this.range[f?"animate":"css"]({height:(100-i)+"%"},{queue:false,duration:g.animate})}}}});c.extend(c.ui.slider,{version:"1.8.24"})}(jQuery));(function(e,g){var d=0,c=0;function f(){return ++d}function b(){return ++c}e.widget("ui.tabs",{options:{add:null,ajaxOptions:null,cache:false,cookie:null,collapsible:false,disable:null,disabled:[],enable:null,event:"click",fx:null,idPrefix:"ui-tabs-",load:null,panelTemplate:"
    ",remove:null,select:null,show:null,spinner:"Loading…",tabTemplate:"
  • #{label}
  • "},_create:function(){this._tabify(true)},_setOption:function(h,i){if(h=="selected"){if(this.options.collapsible&&i==this.options.selected){return}this.select(i)}else{this.options[h]=i;this._tabify()}},_tabId:function(h){return h.title&&h.title.replace(/\s/g,"_").replace(/[^\w\u00c0-\uFFFF-]/g,"")||this.options.idPrefix+f()},_sanitizeSelector:function(h){return h.replace(/:/g,"\\:")},_cookie:function(){var h=this.cookie||(this.cookie=this.options.cookie.name||"ui-tabs-"+b());return e.cookie.apply(null,[h].concat(e.makeArray(arguments)))},_ui:function(i,h){return{tab:i,panel:h,index:this.anchors.index(i)}},_cleanup:function(){this.lis.filter(".ui-state-processing").removeClass("ui-state-processing").find("span:data(label.tabs)").each(function(){var h=e(this);h.html(h.data("label.tabs")).removeData("label.tabs")})},_tabify:function(v){var x=this,l=this.options,j=/^#.+/;this.list=this.element.find("ol,ul").eq(0);this.lis=e(" > li:has(a[href])",this.list);this.anchors=this.lis.map(function(){return e("a",this)[0]});this.panels=e([]);this.anchors.each(function(z,o){var y=e(o).attr("href");var A=y.split("#")[0],B;if(A&&(A===location.toString().split("#")[0]||(B=e("base")[0])&&A===B.href)){y=o.hash;o.href=y}if(j.test(y)){x.panels=x.panels.add(x.element.find(x._sanitizeSelector(y)))}else{if(y&&y!=="#"){e.data(o,"href.tabs",y);e.data(o,"load.tabs",y.replace(/#.*$/,""));var D=x._tabId(o);o.href="#"+D;var C=x.element.find("#"+D);if(!C.length){C=e(l.panelTemplate).attr("id",D).addClass("ui-tabs-panel ui-widget-content ui-corner-bottom").insertAfter(x.panels[z-1]||x.list);C.data("destroy.tabs",true)}x.panels=x.panels.add(C)}else{l.disabled.push(z)}}});if(v){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");if(l.selected===g){if(location.hash){this.anchors.each(function(y,o){if(o.hash==location.hash){l.selected=y;return false}})}if(typeof l.selected!=="number"&&l.cookie){l.selected=parseInt(x._cookie(),10)}if(typeof l.selected!=="number"&&this.lis.filter(".ui-tabs-selected").length){l.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))}l.selected=l.selected||(this.lis.length?0:-1)}else{if(l.selected===null){l.selected=-1}}l.selected=((l.selected>=0&&this.anchors[l.selected])||l.selected<0)?l.selected:0;l.disabled=e.unique(l.disabled.concat(e.map(this.lis.filter(".ui-state-disabled"),function(y,o){return x.lis.index(y)}))).sort();if(e.inArray(l.selected,l.disabled)!=-1){l.disabled.splice(e.inArray(l.selected,l.disabled),1)}this.panels.addClass("ui-tabs-hide");this.lis.removeClass("ui-tabs-selected ui-state-active");if(l.selected>=0&&this.anchors.length){x.element.find(x._sanitizeSelector(x.anchors[l.selected].hash)).removeClass("ui-tabs-hide");this.lis.eq(l.selected).addClass("ui-tabs-selected ui-state-active");x.element.queue("tabs",function(){x._trigger("show",null,x._ui(x.anchors[l.selected],x.element.find(x._sanitizeSelector(x.anchors[l.selected].hash))[0]))});this.load(l.selected)}e(window).bind("unload",function(){x.lis.add(x.anchors).unbind(".tabs");x.lis=x.anchors=x.panels=null})}else{l.selected=this.lis.index(this.lis.filter(".ui-tabs-selected"))}this.element[l.collapsible?"addClass":"removeClass"]("ui-tabs-collapsible");if(l.cookie){this._cookie(l.selected,l.cookie)}for(var p=0,u;(u=this.lis[p]);p++){e(u)[e.inArray(p,l.disabled)!=-1&&!e(u).hasClass("ui-tabs-selected")?"addClass":"removeClass"]("ui-state-disabled")}if(l.cache===false){this.anchors.removeData("cache.tabs")}this.lis.add(this.anchors).unbind(".tabs");if(l.event!=="mouseover"){var n=function(o,i){if(i.is(":not(.ui-state-disabled)")){i.addClass("ui-state-"+o)}};var r=function(o,i){i.removeClass("ui-state-"+o)};this.lis.bind("mouseover.tabs",function(){n("hover",e(this))});this.lis.bind("mouseout.tabs",function(){r("hover",e(this))});this.anchors.bind("focus.tabs",function(){n("focus",e(this).closest("li"))});this.anchors.bind("blur.tabs",function(){r("focus",e(this).closest("li"))})}var h,q;if(l.fx){if(e.isArray(l.fx)){h=l.fx[0];q=l.fx[1]}else{h=q=l.fx}}function m(i,o){i.css("display","");if(!e.support.opacity&&o.opacity){i[0].style.removeAttribute("filter")}}var s=q?function(i,o){e(i).closest("li").addClass("ui-tabs-selected ui-state-active");o.hide().removeClass("ui-tabs-hide").animate(q,q.duration||"normal",function(){m(o,q);x._trigger("show",null,x._ui(i,o[0]))})}:function(i,o){e(i).closest("li").addClass("ui-tabs-selected ui-state-active");o.removeClass("ui-tabs-hide");x._trigger("show",null,x._ui(i,o[0]))};var t=h?function(o,i){i.animate(h,h.duration||"normal",function(){x.lis.removeClass("ui-tabs-selected ui-state-active");i.addClass("ui-tabs-hide");m(i,h);x.element.dequeue("tabs")})}:function(o,i,y){x.lis.removeClass("ui-tabs-selected ui-state-active");i.addClass("ui-tabs-hide");x.element.dequeue("tabs")};this.anchors.bind(l.event+".tabs",function(){var o=this,z=e(o).closest("li"),i=x.panels.filter(":not(.ui-tabs-hide)"),y=x.element.find(x._sanitizeSelector(o.hash));if((z.hasClass("ui-tabs-selected")&&!l.collapsible)||z.hasClass("ui-state-disabled")||z.hasClass("ui-state-processing")||x.panels.filter(":animated").length||x._trigger("select",null,x._ui(this,y[0]))===false){this.blur();return false}l.selected=x.anchors.index(this);x.abort();if(l.collapsible){if(z.hasClass("ui-tabs-selected")){l.selected=-1;if(l.cookie){x._cookie(l.selected,l.cookie)}x.element.queue("tabs",function(){t(o,i)}).dequeue("tabs");this.blur();return false}else{if(!i.length){if(l.cookie){x._cookie(l.selected,l.cookie)}x.element.queue("tabs",function(){s(o,y)});x.load(x.anchors.index(this));this.blur();return false}}}if(l.cookie){x._cookie(l.selected,l.cookie)}if(y.length){if(i.length){x.element.queue("tabs",function(){t(o,i)})}x.element.queue("tabs",function(){s(o,y)});x.load(x.anchors.index(this))}else{throw"jQuery UI Tabs: Mismatching fragment identifier."}if(e.browser.msie){this.blur()}});this.anchors.bind("click.tabs",function(){return false})},_getIndex:function(h){if(typeof h=="string"){h=this.anchors.index(this.anchors.filter("[href$='"+h+"']"))}return h},destroy:function(){var h=this.options;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 i=e.data(this,"href.tabs");if(i){this.href=i}var j=e(this).unbind(".tabs");e.each(["href","load","cache"],function(l,m){j.removeData(m+".tabs")})});this.lis.unbind(".tabs").add(this.panels).each(function(){if(e.data(this,"destroy.tabs")){e(this).remove()}else{e(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(" "))}});if(h.cookie){this._cookie(null,h.cookie)}return this},add:function(l,j,i){if(i===g){i=this.anchors.length}var h=this,n=this.options,q=e(n.tabTemplate.replace(/#\{href\}/g,l).replace(/#\{label\}/g,j)),p=!l.indexOf("#")?l.replace("#",""):this._tabId(e("a",q)[0]);q.addClass("ui-state-default ui-corner-top").data("destroy.tabs",true);var m=h.element.find("#"+p);if(!m.length){m=e(n.panelTemplate).attr("id",p).data("destroy.tabs",true)}m.addClass("ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide");if(i>=this.lis.length){q.appendTo(this.list);m.appendTo(this.list[0].parentNode)}else{q.insertBefore(this.lis[i]);m.insertBefore(this.panels[i])}n.disabled=e.map(n.disabled,function(r,o){return r>=i?++r:r});this._tabify();if(this.anchors.length==1){n.selected=0;q.addClass("ui-tabs-selected ui-state-active");m.removeClass("ui-tabs-hide");this.element.queue("tabs",function(){h._trigger("show",null,h._ui(h.anchors[0],h.panels[0]))});this.load(0)}this._trigger("add",null,this._ui(this.anchors[i],this.panels[i]));return this},remove:function(h){h=this._getIndex(h);var j=this.options,l=this.lis.eq(h).remove(),i=this.panels.eq(h).remove();if(l.hasClass("ui-tabs-selected")&&this.anchors.length>1){this.select(h+(h+1=h?--o:o});this._tabify();this._trigger("remove",null,this._ui(l.find("a")[0],i[0]));return this},enable:function(h){h=this._getIndex(h);var i=this.options;if(e.inArray(h,i.disabled)==-1){return}this.lis.eq(h).removeClass("ui-state-disabled");i.disabled=e.grep(i.disabled,function(l,j){return l!=h});this._trigger("enable",null,this._ui(this.anchors[h],this.panels[h]));return this},disable:function(i){i=this._getIndex(i);var h=this,j=this.options;if(i!=j.selected){this.lis.eq(i).addClass("ui-state-disabled");j.disabled.push(i);j.disabled.sort();this._trigger("disable",null,this._ui(this.anchors[i],this.panels[i]))}return this},select:function(h){h=this._getIndex(h);if(h==-1){if(this.options.collapsible&&this.options.selected!=-1){h=this.options.selected}else{return this}}this.anchors.eq(h).trigger(this.options.event+".tabs");return this},load:function(l){l=this._getIndex(l);var i=this,n=this.options,h=this.anchors.eq(l)[0],j=e.data(h,"load.tabs");this.abort();if(!j||this.element.queue("tabs").length!==0&&e.data(h,"cache.tabs")){this.element.dequeue("tabs");return}this.lis.eq(l).addClass("ui-state-processing");if(n.spinner){var m=e("span",h);m.data("label.tabs",m.html()).html(n.spinner)}this.xhr=e.ajax(e.extend({},n.ajaxOptions,{url:j,success:function(p,o){i.element.find(i._sanitizeSelector(h.hash)).html(p);i._cleanup();if(n.cache){e.data(h,"cache.tabs",true)}i._trigger("load",null,i._ui(i.anchors[l],i.panels[l]));try{n.ajaxOptions.success(p,o)}catch(q){}},error:function(q,o,p){i._cleanup();i._trigger("load",null,i._ui(i.anchors[l],i.panels[l]));try{n.ajaxOptions.error(q,o,l,h)}catch(p){}}}));i.element.dequeue("tabs");return this},abort:function(){this.element.queue([]);this.panels.stop(false,true);this.element.queue("tabs",this.element.queue("tabs").splice(-2,2));if(this.xhr){this.xhr.abort();delete this.xhr}this._cleanup();return this},url:function(i,h){this.anchors.eq(i).removeData("cache.tabs").data("load.tabs",h);return this},length:function(){return this.anchors.length}});e.extend(e.ui.tabs,{version:"1.8.24"});e.extend(e.ui.tabs.prototype,{rotation:null,rotate:function(j,m){var h=this,n=this.options;var i=h._rotate||(h._rotate=function(o){clearTimeout(h.rotation);h.rotation=setTimeout(function(){var p=n.selected;h.select(++p'))}$.extend(Datepicker.prototype,{markerClassName:"hasDatepicker",maxRows:4,log:function(){if(this.debug){console.log.apply("",arguments)}},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(settings){extendRemove(this._defaults,settings||{});return this},_attachDatepicker:function(target,settings){var inlineSettings=null;for(var 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();var inline=(nodeName=="div"||nodeName=="span");if(!target.id){this.uuid+=1;target.id="dp"+this.uuid}var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{});if(nodeName=="input"){this._connectDatepicker(target,inst)}else{if(inline){this._inlineDatepicker(target,inst)}}},_newInst:function(target,inline){var id=target[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1");return{id:id,input:target,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:inline,dpDiv:(!inline?this.dpDiv:bindHover($('
    ')))}},_connectDatepicker:function(target,inst){var input=$(target);inst.append=$([]);inst.trigger=$([]);if(input.hasClass(this.markerClassName)){return}this._attachments(input,inst);input.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind("setData.datepicker",function(event,key,value){inst.settings[key]=value}).bind("getData.datepicker",function(event,key){return this._get(inst,key)});this._autoSize(inst);$.data(target,PROP_NAME,inst);if(inst.settings.disabled){this._disableDatepicker(target)}},_attachments:function(input,inst){var appendText=this._get(inst,"appendText");var isRTL=this._get(inst,"isRTL");if(inst.append){inst.append.remove()}if(appendText){inst.append=$(''+appendText+"");input[isRTL?"before":"after"](inst.append)}input.unbind("focus",this._showDatepicker);if(inst.trigger){inst.trigger.remove()}var showOn=this._get(inst,"showOn");if(showOn=="focus"||showOn=="both"){input.focus(this._showDatepicker)}if(showOn=="button"||showOn=="both"){var buttonText=this._get(inst,"buttonText");var buttonImage=this._get(inst,"buttonImage");inst.trigger=$(this._get(inst,"buttonImageOnly")?$("").addClass(this._triggerClass).attr({src:buttonImage,alt:buttonText,title:buttonText}):$('').addClass(this._triggerClass).html(buttonImage==""?buttonText:$("").attr({src:buttonImage,alt:buttonText,title:buttonText})));input[isRTL?"before":"after"](inst.trigger);inst.trigger.click(function(){if($.datepicker._datepickerShowing&&$.datepicker._lastInput==input[0]){$.datepicker._hideDatepicker()}else{if($.datepicker._datepickerShowing&&$.datepicker._lastInput!=input[0]){$.datepicker._hideDatepicker();$.datepicker._showDatepicker(input[0])}else{$.datepicker._showDatepicker(input[0])}}return false})}},_autoSize:function(inst){if(this._get(inst,"autoSize")&&!inst.inline){var date=new Date(2009,12-1,20);var dateFormat=this._get(inst,"dateFormat");if(dateFormat.match(/[DM]/)){var findMax=function(names){var max=0;var maxI=0;for(var i=0;imax){max=names[i].length;maxI=i}}return maxI};date.setMonth(findMax(this._get(inst,(dateFormat.match(/MM/)?"monthNames":"monthNamesShort"))));date.setDate(findMax(this._get(inst,(dateFormat.match(/DD/)?"dayNames":"dayNamesShort")))+20-date.getDay())}inst.input.attr("size",this._formatDate(inst,date).length)}},_inlineDatepicker:function(target,inst){var divSpan=$(target);if(divSpan.hasClass(this.markerClassName)){return}divSpan.addClass(this.markerClassName).append(inst.dpDiv).bind("setData.datepicker",function(event,key,value){inst.settings[key]=value}).bind("getData.datepicker",function(event,key){return this._get(inst,key)});$.data(target,PROP_NAME,inst);this._setDate(inst,this._getDefaultDate(inst),true);this._updateDatepicker(inst);this._updateAlternate(inst);if(inst.settings.disabled){this._disableDatepicker(target)}inst.dpDiv.css("display","block")},_dialogDatepicker:function(input,date,onSelect,settings,pos){var inst=this._dialogInst;if(!inst){this.uuid+=1;var id="dp"+this.uuid;this._dialogInput=$('');this._dialogInput.keydown(this._doKeyDown);$("body").append(this._dialogInput);inst=this._dialogInst=this._newInst(this._dialogInput,false);inst.settings={};$.data(this._dialogInput[0],PROP_NAME,inst)}extendRemove(inst.settings,settings||{});date=(date&&date.constructor==Date?this._formatDate(inst,date):date);this._dialogInput.val(date);this._pos=(pos?(pos.length?pos:[pos.pageX,pos.pageY]):null);if(!this._pos){var browserWidth=document.documentElement.clientWidth;var browserHeight=document.documentElement.clientHeight;var scrollX=document.documentElement.scrollLeft||document.body.scrollLeft;var scrollY=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[(browserWidth/2)-100+scrollX,(browserHeight/2)-150+scrollY]}this._dialogInput.css("left",(this._pos[0]+20)+"px").css("top",this._pos[1]+"px");inst.settings.onSelect=onSelect;this._inDialog=true;this.dpDiv.addClass(this._dialogClass);this._showDatepicker(this._dialogInput[0]);if($.blockUI){$.blockUI(this.dpDiv)}$.data(this._dialogInput[0],PROP_NAME,inst);return this},_destroyDatepicker:function(target){var $target=$(target);var inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return}var nodeName=target.nodeName.toLowerCase();$.removeData(target,PROP_NAME);if(nodeName=="input"){inst.append.remove();inst.trigger.remove();$target.removeClass(this.markerClassName).unbind("focus",this._showDatepicker).unbind("keydown",this._doKeyDown).unbind("keypress",this._doKeyPress).unbind("keyup",this._doKeyUp)}else{if(nodeName=="div"||nodeName=="span"){$target.removeClass(this.markerClassName).empty()}}},_enableDatepicker:function(target){var $target=$(target);var inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return}var nodeName=target.nodeName.toLowerCase();if(nodeName=="input"){target.disabled=false;inst.trigger.filter("button").each(function(){this.disabled=false}).end().filter("img").css({opacity:"1.0",cursor:""})}else{if(nodeName=="div"||nodeName=="span"){var inline=$target.children("."+this._inlineClass);inline.children().removeClass("ui-state-disabled");inline.find("select.ui-datepicker-month, select.ui-datepicker-year").removeAttr("disabled")}}this._disabledInputs=$.map(this._disabledInputs,function(value){return(value==target?null:value)})},_disableDatepicker:function(target){var $target=$(target);var inst=$.data(target,PROP_NAME);if(!$target.hasClass(this.markerClassName)){return}var nodeName=target.nodeName.toLowerCase();if(nodeName=="input"){target.disabled=true;inst.trigger.filter("button").each(function(){this.disabled=true}).end().filter("img").css({opacity:"0.5",cursor:"default"})}else{if(nodeName=="div"||nodeName=="span"){var inline=$target.children("."+this._inlineClass);inline.children().addClass("ui-state-disabled");inline.find("select.ui-datepicker-month, select.ui-datepicker-year").attr("disabled","disabled")}}this._disabledInputs=$.map(this._disabledInputs,function(value){return(value==target?null:value)});this._disabledInputs[this._disabledInputs.length]=target},_isDisabledDatepicker:function(target){if(!target){return false}for(var i=0;i-1)}},_doKeyUp:function(event){var inst=$.datepicker._getInst(event.target);if(inst.input.val()!=inst.lastVal){try{var date=$.datepicker.parseDate($.datepicker._get(inst,"dateFormat"),(inst.input?inst.input.val():null),$.datepicker._getFormatConfig(inst));if(date){$.datepicker._setDateFromField(inst);$.datepicker._updateAlternate(inst);$.datepicker._updateDatepicker(inst)}}catch(err){$.datepicker.log(err)}}return true},_showDatepicker:function(input){input=input.target||input;if(input.nodeName.toLowerCase()!="input"){input=$("input",input.parentNode)[0]}if($.datepicker._isDisabledDatepicker(input)||$.datepicker._lastInput==input){return}var inst=$.datepicker._getInst(input);if($.datepicker._curInst&&$.datepicker._curInst!=inst){$.datepicker._curInst.dpDiv.stop(true,true);if(inst&&$.datepicker._datepickerShowing){$.datepicker._hideDatepicker($.datepicker._curInst.input[0])}}var beforeShow=$.datepicker._get(inst,"beforeShow");var beforeShowSettings=beforeShow?beforeShow.apply(input,[input,inst]):{};if(beforeShowSettings===false){return}extendRemove(inst.settings,beforeShowSettings);inst.lastVal=null;$.datepicker._lastInput=input;$.datepicker._setDateFromField(inst);if($.datepicker._inDialog){input.value=""}if(!$.datepicker._pos){$.datepicker._pos=$.datepicker._findPos(input);$.datepicker._pos[1]+=input.offsetHeight}var isFixed=false;$(input).parents().each(function(){isFixed|=$(this).css("position")=="fixed";return !isFixed});if(isFixed&&$.browser.opera){$.datepicker._pos[0]-=document.documentElement.scrollLeft;$.datepicker._pos[1]-=document.documentElement.scrollTop}var offset={left:$.datepicker._pos[0],top:$.datepicker._pos[1]};$.datepicker._pos=null;inst.dpDiv.empty();inst.dpDiv.css({position:"absolute",display:"block",top:"-1000px"});$.datepicker._updateDatepicker(inst);offset=$.datepicker._checkOffset(inst,offset,isFixed);inst.dpDiv.css({position:($.datepicker._inDialog&&$.blockUI?"static":(isFixed?"fixed":"absolute")),display:"none",left:offset.left+"px",top:offset.top+"px"});if(!inst.inline){var showAnim=$.datepicker._get(inst,"showAnim");var duration=$.datepicker._get(inst,"duration");var postProcess=function(){var cover=inst.dpDiv.find("iframe.ui-datepicker-cover");if(!!cover.length){var borders=$.datepicker._getBorders(inst.dpDiv);cover.css({left:-borders[0],top:-borders[1],width:inst.dpDiv.outerWidth(),height:inst.dpDiv.outerHeight()})}};inst.dpDiv.zIndex($(input).zIndex()+1);$.datepicker._datepickerShowing=true;if($.effects&&$.effects[showAnim]){inst.dpDiv.show(showAnim,$.datepicker._get(inst,"showOptions"),duration,postProcess)}else{inst.dpDiv[showAnim||"show"]((showAnim?duration:null),postProcess)}if(!showAnim||!duration){postProcess()}if(inst.input.is(":visible")&&!inst.input.is(":disabled")){inst.input.focus()}$.datepicker._curInst=inst}},_updateDatepicker:function(inst){var self=this;self.maxRows=4;var borders=$.datepicker._getBorders(inst.dpDiv);instActive=inst;inst.dpDiv.empty().append(this._generateHTML(inst));this._attachHandlers(inst);var cover=inst.dpDiv.find("iframe.ui-datepicker-cover");if(!!cover.length){cover.css({left:-borders[0],top:-borders[1],width:inst.dpDiv.outerWidth(),height:inst.dpDiv.outerHeight()})}inst.dpDiv.find("."+this._dayOverClass+" a").mouseover();var numMonths=this._getNumberOfMonths(inst);var cols=numMonths[1];var width=17;inst.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width("");if(cols>1){inst.dpDiv.addClass("ui-datepicker-multi-"+cols).css("width",(width*cols)+"em")}inst.dpDiv[(numMonths[0]!=1||numMonths[1]!=1?"add":"remove")+"Class"]("ui-datepicker-multi");inst.dpDiv[(this._get(inst,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl");if(inst==$.datepicker._curInst&&$.datepicker._datepickerShowing&&inst.input&&inst.input.is(":visible")&&!inst.input.is(":disabled")&&inst.input[0]!=document.activeElement){inst.input.focus()}if(inst.yearshtml){var origyearshtml=inst.yearshtml;setTimeout(function(){if(origyearshtml===inst.yearshtml&&inst.yearshtml){inst.dpDiv.find("select.ui-datepicker-year:first").replaceWith(inst.yearshtml)}origyearshtml=inst.yearshtml=null},0)}},_getBorders:function(elem){var convert=function(value){return{thin:1,medium:2,thick:3}[value]||value};return[parseFloat(convert(elem.css("border-left-width"))),parseFloat(convert(elem.css("border-top-width")))]},_checkOffset:function(inst,offset,isFixed){var dpWidth=inst.dpDiv.outerWidth();var dpHeight=inst.dpDiv.outerHeight();var inputWidth=inst.input?inst.input.outerWidth():0;var inputHeight=inst.input?inst.input.outerHeight():0;var viewWidth=document.documentElement.clientWidth+(isFixed?0:$(document).scrollLeft());var viewHeight=document.documentElement.clientHeight+(isFixed?0:$(document).scrollTop());offset.left-=(this._get(inst,"isRTL")?(dpWidth-inputWidth):0);offset.left-=(isFixed&&offset.left==inst.input.offset().left)?$(document).scrollLeft():0;offset.top-=(isFixed&&offset.top==(inst.input.offset().top+inputHeight))?$(document).scrollTop():0;offset.left-=Math.min(offset.left,(offset.left+dpWidth>viewWidth&&viewWidth>dpWidth)?Math.abs(offset.left+dpWidth-viewWidth):0);offset.top-=Math.min(offset.top,(offset.top+dpHeight>viewHeight&&viewHeight>dpHeight)?Math.abs(dpHeight+inputHeight):0);return offset},_findPos:function(obj){var inst=this._getInst(obj);var isRTL=this._get(inst,"isRTL");while(obj&&(obj.type=="hidden"||obj.nodeType!=1||$.expr.filters.hidden(obj))){obj=obj[isRTL?"previousSibling":"nextSibling"]}var position=$(obj).offset();return[position.left,position.top]},_hideDatepicker:function(input){var inst=this._curInst;if(!inst||(input&&inst!=$.data(input,PROP_NAME))){return}if(this._datepickerShowing){var showAnim=this._get(inst,"showAnim");var duration=this._get(inst,"duration");var postProcess=function(){$.datepicker._tidyDialog(inst)};if($.effects&&$.effects[showAnim]){inst.dpDiv.hide(showAnim,$.datepicker._get(inst,"showOptions"),duration,postProcess)}else{inst.dpDiv[(showAnim=="slideDown"?"slideUp":(showAnim=="fadeIn"?"fadeOut":"hide"))]((showAnim?duration:null),postProcess)}if(!showAnim){postProcess()}this._datepickerShowing=false;var onClose=this._get(inst,"onClose");if(onClose){onClose.apply((inst.input?inst.input[0]:null),[(inst.input?inst.input.val():""),inst])}this._lastInput=null;if(this._inDialog){this._dialogInput.css({position:"absolute",left:"0",top:"-100px"});if($.blockUI){$.unblockUI();$("body").append(this.dpDiv)}}this._inDialog=false}},_tidyDialog:function(inst){inst.dpDiv.removeClass(this._dialogClass).unbind(".ui-datepicker-calendar")},_checkExternalClick:function(event){if(!$.datepicker._curInst){return}var $target=$(event.target),inst=$.datepicker._getInst($target[0]);if((($target[0].id!=$.datepicker._mainDivId&&$target.parents("#"+$.datepicker._mainDivId).length==0&&!$target.hasClass($.datepicker.markerClassName)&&!$target.closest("."+$.datepicker._triggerClass).length&&$.datepicker._datepickerShowing&&!($.datepicker._inDialog&&$.blockUI)))||($target.hasClass($.datepicker.markerClassName)&&$.datepicker._curInst!=inst)){$.datepicker._hideDatepicker()}},_adjustDate:function(id,offset,period){var target=$(id);var inst=this._getInst(target[0]);if(this._isDisabledDatepicker(target[0])){return}this._adjustInstDate(inst,offset+(period=="M"?this._get(inst,"showCurrentAtPos"):0),period);this._updateDatepicker(inst)},_gotoToday:function(id){var target=$(id);var inst=this._getInst(target[0]);if(this._get(inst,"gotoCurrent")&&inst.currentDay){inst.selectedDay=inst.currentDay;inst.drawMonth=inst.selectedMonth=inst.currentMonth;inst.drawYear=inst.selectedYear=inst.currentYear}else{var date=new Date();inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear()}this._notifyChange(inst);this._adjustDate(target)},_selectMonthYear:function(id,select,period){var target=$(id);var inst=this._getInst(target[0]);inst["selected"+(period=="M"?"Month":"Year")]=inst["draw"+(period=="M"?"Month":"Year")]=parseInt(select.options[select.selectedIndex].value,10);this._notifyChange(inst);this._adjustDate(target)},_selectDay:function(id,month,year,td){var target=$(id);if($(td).hasClass(this._unselectableClass)||this._isDisabledDatepicker(target[0])){return}var inst=this._getInst(target[0]);inst.selectedDay=inst.currentDay=$("a",td).html();inst.selectedMonth=inst.currentMonth=month;inst.selectedYear=inst.currentYear=year;this._selectDate(id,this._formatDate(inst,inst.currentDay,inst.currentMonth,inst.currentYear))},_clearDate:function(id){var target=$(id);var inst=this._getInst(target[0]);this._selectDate(target,"")},_selectDate:function(id,dateStr){var target=$(id);var inst=this._getInst(target[0]);dateStr=(dateStr!=null?dateStr:this._formatDate(inst));if(inst.input){inst.input.val(dateStr)}this._updateAlternate(inst);var onSelect=this._get(inst,"onSelect");if(onSelect){onSelect.apply((inst.input?inst.input[0]:null),[dateStr,inst])}else{if(inst.input){inst.input.trigger("change")}}if(inst.inline){this._updateDatepicker(inst)}else{this._hideDatepicker();this._lastInput=inst.input[0];if(typeof(inst.input[0])!="object"){inst.input.focus()}this._lastInput=null}},_updateAlternate:function(inst){var altField=this._get(inst,"altField");if(altField){var altFormat=this._get(inst,"altFormat")||this._get(inst,"dateFormat");var date=this._getDate(inst);var dateStr=this.formatDate(altFormat,date,this._getFormatConfig(inst));$(altField).each(function(){$(this).val(dateStr)})}},noWeekends:function(date){var day=date.getDay();return[(day>0&&day<6),""]},iso8601Week:function(date){var checkDate=new Date(date.getTime());checkDate.setDate(checkDate.getDate()+4-(checkDate.getDay()||7));var time=checkDate.getTime();checkDate.setMonth(0);checkDate.setDate(1);return Math.floor(Math.round((time-checkDate)/86400000)/7)+1},parseDate:function(format,value,settings){if(format==null||value==null){throw"Invalid arguments"}value=(typeof value=="object"?value.toString():value+"");if(value==""){return null}var shortYearCutoff=(settings?settings.shortYearCutoff:null)||this._defaults.shortYearCutoff;shortYearCutoff=(typeof shortYearCutoff!="string"?shortYearCutoff:new Date().getFullYear()%100+parseInt(shortYearCutoff,10));var dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort;var dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames;var monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort;var monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames;var year=-1;var month=-1;var day=-1;var doy=-1;var literal=false;var lookAhead=function(match){var matches=(iFormat+1-1){month=1;day=doy;do{var dim=this._getDaysInMonth(year,month-1);if(day<=dim){break}month++;day-=dim}while(true)}var date=this._daylightSavingAdjust(new Date(year,month-1,day));if(date.getFullYear()!=year||date.getMonth()+1!=month||date.getDate()!=day){throw"Invalid date"}return date},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:(((1970-1)*365+Math.floor(1970/4)-Math.floor(1970/100)+Math.floor(1970/400))*24*60*60*10000000),formatDate:function(format,date,settings){if(!date){return""}var dayNamesShort=(settings?settings.dayNamesShort:null)||this._defaults.dayNamesShort;var dayNames=(settings?settings.dayNames:null)||this._defaults.dayNames;var monthNamesShort=(settings?settings.monthNamesShort:null)||this._defaults.monthNamesShort;var monthNames=(settings?settings.monthNames:null)||this._defaults.monthNames;var lookAhead=function(match){var matches=(iFormat+112?date.getHours()+2:0);return date},_setDate:function(inst,date,noChange){var clear=!date;var origMonth=inst.selectedMonth;var origYear=inst.selectedYear;var newDate=this._restrictMinMax(inst,this._determineDate(inst,date,new Date()));inst.selectedDay=inst.currentDay=newDate.getDate();inst.drawMonth=inst.selectedMonth=inst.currentMonth=newDate.getMonth();inst.drawYear=inst.selectedYear=inst.currentYear=newDate.getFullYear();if((origMonth!=inst.selectedMonth||origYear!=inst.selectedYear)&&!noChange){this._notifyChange(inst)}this._adjustInstDate(inst);if(inst.input){inst.input.val(clear?"":this._formatDate(inst))}},_getDate:function(inst){var startDate=(!inst.currentYear||(inst.input&&inst.input.val()=="")?null:this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return startDate},_attachHandlers:function(inst){var stepMonths=this._get(inst,"stepMonths");var id="#"+inst.id.replace(/\\\\/g,"\\");inst.dpDiv.find("[data-handler]").map(function(){var handler={prev:function(){window["DP_jQuery_"+dpuuid].datepicker._adjustDate(id,-stepMonths,"M")},next:function(){window["DP_jQuery_"+dpuuid].datepicker._adjustDate(id,+stepMonths,"M")},hide:function(){window["DP_jQuery_"+dpuuid].datepicker._hideDatepicker()},today:function(){window["DP_jQuery_"+dpuuid].datepicker._gotoToday(id)},selectDay:function(){window["DP_jQuery_"+dpuuid].datepicker._selectDay(id,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this);return false},selectMonth:function(){window["DP_jQuery_"+dpuuid].datepicker._selectMonthYear(id,this,"M");return false},selectYear:function(){window["DP_jQuery_"+dpuuid].datepicker._selectMonthYear(id,this,"Y");return false}};$(this).bind(this.getAttribute("data-event"),handler[this.getAttribute("data-handler")])})},_generateHTML:function(inst){var today=new Date();today=this._daylightSavingAdjust(new Date(today.getFullYear(),today.getMonth(),today.getDate()));var isRTL=this._get(inst,"isRTL");var showButtonPanel=this._get(inst,"showButtonPanel");var hideIfNoPrevNext=this._get(inst,"hideIfNoPrevNext");var navigationAsDateFormat=this._get(inst,"navigationAsDateFormat");var numMonths=this._getNumberOfMonths(inst);var showCurrentAtPos=this._get(inst,"showCurrentAtPos");var stepMonths=this._get(inst,"stepMonths");var isMultiMonth=(numMonths[0]!=1||numMonths[1]!=1);var currentDate=this._daylightSavingAdjust((!inst.currentDay?new Date(9999,9,9):new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));var minDate=this._getMinMaxDate(inst,"min");var maxDate=this._getMinMaxDate(inst,"max");var drawMonth=inst.drawMonth-showCurrentAtPos;var drawYear=inst.drawYear;if(drawMonth<0){drawMonth+=12;drawYear--}if(maxDate){var maxDraw=this._daylightSavingAdjust(new Date(maxDate.getFullYear(),maxDate.getMonth()-(numMonths[0]*numMonths[1])+1,maxDate.getDate()));maxDraw=(minDate&&maxDrawmaxDraw){drawMonth--;if(drawMonth<0){drawMonth=11;drawYear--}}}inst.drawMonth=drawMonth;inst.drawYear=drawYear;var prevText=this._get(inst,"prevText");prevText=(!navigationAsDateFormat?prevText:this.formatDate(prevText,this._daylightSavingAdjust(new Date(drawYear,drawMonth-stepMonths,1)),this._getFormatConfig(inst)));var prev=(this._canAdjustMonth(inst,-1,drawYear,drawMonth)?''+prevText+"":(hideIfNoPrevNext?"":''+prevText+""));var nextText=this._get(inst,"nextText");nextText=(!navigationAsDateFormat?nextText:this.formatDate(nextText,this._daylightSavingAdjust(new Date(drawYear,drawMonth+stepMonths,1)),this._getFormatConfig(inst)));var next=(this._canAdjustMonth(inst,+1,drawYear,drawMonth)?''+nextText+"":(hideIfNoPrevNext?"":''+nextText+""));var currentText=this._get(inst,"currentText");var gotoDate=(this._get(inst,"gotoCurrent")&&inst.currentDay?currentDate:today);currentText=(!navigationAsDateFormat?currentText:this.formatDate(currentText,gotoDate,this._getFormatConfig(inst)));var controls=(!inst.inline?'":"");var buttonPanel=(showButtonPanel)?'
    '+(isRTL?controls:"")+(this._isInRange(inst,gotoDate)?'":"")+(isRTL?"":controls)+"
    ":"";var firstDay=parseInt(this._get(inst,"firstDay"),10);firstDay=(isNaN(firstDay)?0:firstDay);var showWeek=this._get(inst,"showWeek");var dayNames=this._get(inst,"dayNames");var dayNamesShort=this._get(inst,"dayNamesShort");var dayNamesMin=this._get(inst,"dayNamesMin");var monthNames=this._get(inst,"monthNames");var monthNamesShort=this._get(inst,"monthNamesShort");var beforeShowDay=this._get(inst,"beforeShowDay");var showOtherMonths=this._get(inst,"showOtherMonths");var selectOtherMonths=this._get(inst,"selectOtherMonths");var calculateWeek=this._get(inst,"calculateWeek")||this.iso8601Week;var defaultDate=this._getDefaultDate(inst);var html="";for(var row=0;row1){switch(col){case 0:calender+=" ui-datepicker-group-first";cornerClass=" ui-corner-"+(isRTL?"right":"left");break;case numMonths[1]-1:calender+=" ui-datepicker-group-last";cornerClass=" ui-corner-"+(isRTL?"left":"right");break;default:calender+=" ui-datepicker-group-middle";cornerClass="";break}}calender+='">'}calender+='
    '+(/all|left/.test(cornerClass)&&row==0?(isRTL?next:prev):"")+(/all|right/.test(cornerClass)&&row==0?(isRTL?prev:next):"")+this._generateMonthYearHeader(inst,drawMonth,drawYear,minDate,maxDate,row>0||col>0,monthNames,monthNamesShort)+'
    ';var thead=(showWeek?'":"");for(var dow=0;dow<7;dow++){var day=(dow+firstDay)%7;thead+="=5?' class="ui-datepicker-week-end"':"")+'>'+dayNamesMin[day]+""}calender+=thead+"";var daysInMonth=this._getDaysInMonth(drawYear,drawMonth);if(drawYear==inst.selectedYear&&drawMonth==inst.selectedMonth){inst.selectedDay=Math.min(inst.selectedDay,daysInMonth)}var leadDays=(this._getFirstDayOfMonth(drawYear,drawMonth)-firstDay+7)%7;var curRows=Math.ceil((leadDays+daysInMonth)/7);var numRows=(isMultiMonth?this.maxRows>curRows?this.maxRows:curRows:curRows);this.maxRows=numRows;var printDate=this._daylightSavingAdjust(new Date(drawYear,drawMonth,1-leadDays));for(var dRow=0;dRow";var tbody=(!showWeek?"":'");for(var dow=0;dow<7;dow++){var daySettings=(beforeShowDay?beforeShowDay.apply((inst.input?inst.input[0]:null),[printDate]):[true,""]);var otherMonth=(printDate.getMonth()!=drawMonth);var unselectable=(otherMonth&&!selectOtherMonths)||!daySettings[0]||(minDate&&printDatemaxDate);tbody+='";printDate.setDate(printDate.getDate()+1);printDate=this._daylightSavingAdjust(printDate)}calender+=tbody+""}drawMonth++;if(drawMonth>11){drawMonth=0;drawYear++}calender+="
    '+this._get(inst,"weekHeader")+"
    '+this._get(inst,"calculateWeek")(printDate)+""+(otherMonth&&!showOtherMonths?" ":(unselectable?''+printDate.getDate()+"":''+printDate.getDate()+""))+"
    "+(isMultiMonth?""+((numMonths[0]>0&&col==numMonths[1]-1)?'
    ':""):"");group+=calender}html+=group}html+=buttonPanel+($.browser.msie&&parseInt($.browser.version,10)<7&&!inst.inline?'':"");inst._keyEvent=false;return html},_generateMonthYearHeader:function(inst,drawMonth,drawYear,minDate,maxDate,secondary,monthNames,monthNamesShort){var changeMonth=this._get(inst,"changeMonth");var changeYear=this._get(inst,"changeYear");var showMonthAfterYear=this._get(inst,"showMonthAfterYear");var html='
    ';var monthHtml="";if(secondary||!changeMonth){monthHtml+=''+monthNames[drawMonth]+""}else{var inMinYear=(minDate&&minDate.getFullYear()==drawYear);var inMaxYear=(maxDate&&maxDate.getFullYear()==drawYear);monthHtml+='"}if(!showMonthAfterYear){html+=monthHtml+(secondary||!(changeMonth&&changeYear)?" ":"")}if(!inst.yearshtml){inst.yearshtml="";if(secondary||!changeYear){html+=''+drawYear+""}else{var years=this._get(inst,"yearRange").split(":");var thisYear=new Date().getFullYear();var determineYear=function(value){var year=(value.match(/c[+-].*/)?drawYear+parseInt(value.substring(1),10):(value.match(/[+-].*/)?thisYear+parseInt(value,10):parseInt(value,10)));return(isNaN(year)?thisYear:year)};var year=determineYear(years[0]);var endYear=Math.max(year,determineYear(years[1]||""));year=(minDate?Math.max(year,minDate.getFullYear()):year);endYear=(maxDate?Math.min(endYear,maxDate.getFullYear()):endYear);inst.yearshtml+='";html+=inst.yearshtml;inst.yearshtml=null}}html+=this._get(inst,"yearSuffix");if(showMonthAfterYear){html+=(secondary||!(changeMonth&&changeYear)?" ":"")+monthHtml}html+="
    ";return html},_adjustInstDate:function(inst,offset,period){var year=inst.drawYear+(period=="Y"?offset:0);var month=inst.drawMonth+(period=="M"?offset:0);var day=Math.min(inst.selectedDay,this._getDaysInMonth(year,month))+(period=="D"?offset:0);var date=this._restrictMinMax(inst,this._daylightSavingAdjust(new Date(year,month,day)));inst.selectedDay=date.getDate();inst.drawMonth=inst.selectedMonth=date.getMonth();inst.drawYear=inst.selectedYear=date.getFullYear();if(period=="M"||period=="Y"){this._notifyChange(inst)}},_restrictMinMax:function(inst,date){var minDate=this._getMinMaxDate(inst,"min");var maxDate=this._getMinMaxDate(inst,"max");var newDate=(minDate&&datemaxDate?maxDate:newDate);return newDate},_notifyChange:function(inst){var onChange=this._get(inst,"onChangeMonthYear");if(onChange){onChange.apply((inst.input?inst.input[0]:null),[inst.selectedYear,inst.selectedMonth+1,inst])}},_getNumberOfMonths:function(inst){var numMonths=this._get(inst,"numberOfMonths");return(numMonths==null?[1,1]:(typeof numMonths=="number"?[1,numMonths]:numMonths))},_getMinMaxDate:function(inst,minMax){return this._determineDate(inst,this._get(inst,minMax+"Date"),null)},_getDaysInMonth:function(year,month){return 32-this._daylightSavingAdjust(new Date(year,month,32)).getDate()},_getFirstDayOfMonth:function(year,month){return new Date(year,month,1).getDay()},_canAdjustMonth:function(inst,offset,curYear,curMonth){var numMonths=this._getNumberOfMonths(inst);var date=this._daylightSavingAdjust(new Date(curYear,curMonth+(offset<0?offset:numMonths[0]*numMonths[1]),1));if(offset<0){date.setDate(this._getDaysInMonth(date.getFullYear(),date.getMonth()))}return this._isInRange(inst,date)},_isInRange:function(inst,date){var minDate=this._getMinMaxDate(inst,"min");var maxDate=this._getMinMaxDate(inst,"max");return((!minDate||date.getTime()>=minDate.getTime())&&(!maxDate||date.getTime()<=maxDate.getTime()))},_getFormatConfig:function(inst){var shortYearCutoff=this._get(inst,"shortYearCutoff");shortYearCutoff=(typeof shortYearCutoff!="string"?shortYearCutoff:new Date().getFullYear()%100+parseInt(shortYearCutoff,10));return{shortYearCutoff:shortYearCutoff,dayNamesShort:this._get(inst,"dayNamesShort"),dayNames:this._get(inst,"dayNames"),monthNamesShort:this._get(inst,"monthNamesShort"),monthNames:this._get(inst,"monthNames")}},_formatDate:function(inst,day,month,year){if(!day){inst.currentDay=inst.selectedDay;inst.currentMonth=inst.selectedMonth;inst.currentYear=inst.selectedYear}var date=(day?(typeof day=="object"?day:this._daylightSavingAdjust(new Date(year,month,day))):this._daylightSavingAdjust(new Date(inst.currentYear,inst.currentMonth,inst.currentDay)));return this.formatDate(this._get(inst,"dateFormat"),date,this._getFormatConfig(inst))}});function bindHover(dpDiv){var selector="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return dpDiv.bind("mouseout",function(event){var elem=$(event.target).closest(selector);if(!elem.length){return}elem.removeClass("ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover")}).bind("mouseover",function(event){var elem=$(event.target).closest(selector);if($.datepicker._isDisabledDatepicker(instActive.inline?dpDiv.parent()[0]:instActive.input[0])||!elem.length){return}elem.parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover");elem.addClass("ui-state-hover");if(elem.hasClass("ui-datepicker-prev")){elem.addClass("ui-datepicker-prev-hover")}if(elem.hasClass("ui-datepicker-next")){elem.addClass("ui-datepicker-next-hover")}})}function extendRemove(target,props){$.extend(target,props);for(var name in props){if(props[name]==null||props[name]==undefined){target[name]=props[name]}}return target}function isArray(a){return(a&&(($.browser.safari&&typeof a=="object"&&a.length)||(a.constructor&&a.constructor.toString().match(/\Array\(\)/))))}$.fn.datepicker=function(options){if(!this.length){return this}if(!$.datepicker.initialized){$(document).mousedown($.datepicker._checkExternalClick).find("body").append($.datepicker.dpDiv);$.datepicker.initialized=true}var otherArgs=Array.prototype.slice.call(arguments,1);if(typeof options=="string"&&(options=="isDisabled"||options=="getDate"||options=="widget")){return $.datepicker["_"+options+"Datepicker"].apply($.datepicker,[this[0]].concat(otherArgs))}if(options=="option"&&arguments.length==2&&typeof arguments[1]=="string"){return $.datepicker["_"+options+"Datepicker"].apply($.datepicker,[this[0]].concat(otherArgs))}return this.each(function(){typeof options=="string"?$.datepicker["_"+options+"Datepicker"].apply($.datepicker,[this].concat(otherArgs)):$.datepicker._attachDatepicker(this,options)})};$.datepicker=new Datepicker();$.datepicker.initialized=false;$.datepicker.uuid=new Date().getTime();$.datepicker.version="1.8.24";window["DP_jQuery_"+dpuuid]=$})(jQuery);(function(b,c){b.widget("ui.progressbar",{options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()});this.valueDiv=b("
    ").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();b.Widget.prototype.destroy.apply(this,arguments)},value:function(d){if(d===c){return this._value()}this._setOption("value",d);return this},_setOption:function(d,e){if(d==="value"){this.options.value=e;this._refreshValue();if(this._value()===this.options.max){this._trigger("complete")}}b.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var d=this.options.value;if(typeof d!=="number"){d=0}return Math.min(this.options.max,Math.max(this.min,d))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var e=this.value();var d=this._percentage();if(this.oldValue!==e){this.oldValue=e;this._trigger("change")}this.valueDiv.toggle(e>this.min).toggleClass("ui-corner-right",e===this.options.max).width(d.toFixed(0)+"%");this.element.attr("aria-valuenow",e)}});b.extend(b.ui.progressbar,{version:"1.8.24"})})(jQuery);jQuery.effects||(function(i,f){i.effects={};i.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","borderColor","color","outlineColor"],function(q,p){i.fx.step[p]=function(r){if(!r.colorInit){r.start=o(r.elem,p);r.end=m(r.end);r.colorInit=true}r.elem.style[p]="rgb("+Math.max(Math.min(parseInt((r.pos*(r.end[0]-r.start[0]))+r.start[0],10),255),0)+","+Math.max(Math.min(parseInt((r.pos*(r.end[1]-r.start[1]))+r.start[1],10),255),0)+","+Math.max(Math.min(parseInt((r.pos*(r.end[2]-r.start[2]))+r.start[2],10),255),0)+")"}});function m(q){var p;if(q&&q.constructor==Array&&q.length==3){return q}if(p=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(q)){return[parseInt(p[1],10),parseInt(p[2],10),parseInt(p[3],10)]}if(p=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(q)){return[parseFloat(p[1])*2.55,parseFloat(p[2])*2.55,parseFloat(p[3])*2.55]}if(p=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(q)){return[parseInt(p[1],16),parseInt(p[2],16),parseInt(p[3],16)]}if(p=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(q)){return[parseInt(p[1]+p[1],16),parseInt(p[2]+p[2],16),parseInt(p[3]+p[3],16)]}if(p=/rgba\(0, 0, 0, 0\)/.exec(q)){return b.transparent}return b[i.trim(q).toLowerCase()]}function o(r,p){var q;do{q=(i.curCSS||i.css)(r,p);if(q!=""&&q!="transparent"||i.nodeName(r,"body")){break}p="backgroundColor"}while(r=r.parentNode);return m(q)}var b={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};var g=["add","remove","toggle"],d={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};function h(){var s=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,t={},q,r;if(s&&s.length&&s[0]&&s[s[0]]){var p=s.length;while(p--){q=s[p];if(typeof s[q]=="string"){r=q.replace(/\-(\w)/g,function(u,v){return v.toUpperCase()});t[r]=s[q]}}}else{for(q in s){if(typeof s[q]==="string"){t[q]=s[q]}}}return t}function c(q){var p,r;for(p in q){r=q[p];if(r==null||i.isFunction(r)||p in d||(/scrollbar/).test(p)||(!(/color/i).test(p)&&isNaN(parseFloat(r)))){delete q[p]}}return q}function j(p,r){var s={_:0},q;for(q in r){if(p[q]!=r[q]){s[q]=r[q]}}return s}i.effects.animateClass=function(p,q,s,r){if(i.isFunction(s)){r=s;s=null}return this.queue(function(){var x=i(this),t=x.attr("style")||" ",y=c(h.call(this)),v,u=x.attr("class")||"";i.each(g,function(z,A){if(p[A]){x[A+"Class"](p[A])}});v=c(h.call(this));x.attr("class",u);x.animate(j(y,v),{queue:false,duration:q,easing:s,complete:function(){i.each(g,function(z,A){if(p[A]){x[A+"Class"](p[A])}});if(typeof x.attr("style")=="object"){x.attr("style").cssText="";x.attr("style").cssText=t}else{x.attr("style",t)}if(r){r.apply(this,arguments)}i.dequeue(this)}})})};i.fn.extend({_addClass:i.fn.addClass,addClass:function(q,p,s,r){return p?i.effects.animateClass.apply(this,[{add:q},p,s,r]):this._addClass(q)},_removeClass:i.fn.removeClass,removeClass:function(q,p,s,r){return p?i.effects.animateClass.apply(this,[{remove:q},p,s,r]):this._removeClass(q)},_toggleClass:i.fn.toggleClass,toggleClass:function(r,q,p,t,s){if(typeof q=="boolean"||q===f){if(!p){return this._toggleClass(r,q)}else{return i.effects.animateClass.apply(this,[(q?{add:r}:{remove:r}),p,t,s])}}else{return i.effects.animateClass.apply(this,[{toggle:r},q,p,t])}},switchClass:function(p,r,q,t,s){return i.effects.animateClass.apply(this,[{add:r,remove:p},q,t,s])}});i.extend(i.effects,{version:"1.8.24",save:function(q,r){for(var p=0;p").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),s=document.activeElement;try{s.id}catch(r){s=document.body}p.wrap(t);if(p[0]===s||i.contains(p[0],s)){i(s).focus()}t=p.parent();if(p.css("position")=="static"){t.css({position:"relative"});p.css({position:"relative"})}else{i.extend(q,{position:p.css("position"),zIndex:p.css("z-index")});i.each(["top","left","bottom","right"],function(u,v){q[v]=p.css(v);if(isNaN(parseInt(q[v],10))){q[v]="auto"}});p.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})}return t.css(q).show()},removeWrapper:function(p){var q,r=document.activeElement;if(p.parent().is(".ui-effects-wrapper")){q=p.parent().replaceWith(p);if(p[0]===r||i.contains(p[0],r)){i(r).focus()}return q}return p},setTransition:function(q,s,p,r){r=r||{};i.each(s,function(u,t){var v=q.cssUnit(t);if(v[0]>0){r[t]=v[0]*p+v[1]}});return r}});function e(q,p,r,s){if(typeof q=="object"){s=p;r=null;p=q;q=p.effect}if(i.isFunction(p)){s=p;r=null;p={}}if(typeof p=="number"||i.fx.speeds[p]){s=r;r=p;p={}}if(i.isFunction(r)){s=r;r=null}p=p||{};r=r||p.duration;r=i.fx.off?0:typeof r=="number"?r:r in i.fx.speeds?i.fx.speeds[r]:i.fx.speeds._default;s=s||p.complete;return[q,p,r,s]}function n(p){if(!p||typeof p==="number"||i.fx.speeds[p]){return true}if(typeof p==="string"&&!i.effects[p]){return true}return false}i.fn.extend({effect:function(s,r,u,x){var q=e.apply(this,arguments),t={options:q[1],duration:q[2],callback:q[3]},v=t.options.mode,p=i.effects[s];if(i.fx.off||!p){if(v){return this[v](t.duration,t.callback)}else{return this.each(function(){if(t.callback){t.callback.call(this)}})}}return p.call(this,t)},_show:i.fn.show,show:function(q){if(n(q)){return this._show.apply(this,arguments)}else{var p=e.apply(this,arguments);p[1].mode="show";return this.effect.apply(this,p)}},_hide:i.fn.hide,hide:function(q){if(n(q)){return this._hide.apply(this,arguments)}else{var p=e.apply(this,arguments);p[1].mode="hide";return this.effect.apply(this,p)}},__toggle:i.fn.toggle,toggle:function(q){if(n(q)||typeof q==="boolean"||i.isFunction(q)){return this.__toggle.apply(this,arguments)}else{var p=e.apply(this,arguments);p[1].mode="toggle";return this.effect.apply(this,p)}},cssUnit:function(p){var q=this.css(p),r=[];i.each(["em","px","%","pt"],function(s,t){if(q.indexOf(t)>0){r=[parseFloat(q),t]}});return r}});var l={};i.each(["Quad","Cubic","Quart","Quint","Expo"],function(q,p){l[p]=function(r){return Math.pow(r,q+2)}});i.extend(l,{Sine:function(q){return 1-Math.cos(q*Math.PI/2)},Circ:function(q){return 1-Math.sqrt(1-q*q)},Elastic:function(q){return q===0||q===1?q:-Math.pow(2,8*(q-1))*Math.sin(((q-1)*80-7.5)*Math.PI/15)},Back:function(q){return q*q*(3*q-2)},Bounce:function(s){var q,r=4;while(s<((q=Math.pow(2,--r))-1)/11){}return 1/Math.pow(4,3-r)-7.5625*Math.pow((q*3-2)/22-s,2)}});i.each(l,function(q,p){i.easing["easeIn"+q]=p;i.easing["easeOut"+q]=function(r){return 1-p(1-r)};i.easing["easeInOut"+q]=function(r){return r<0.5?p(r*2)/2:p(r*-2+2)/-2+1}})})(jQuery);(function(b,c){b.effects.blind=function(d){return this.queue(function(){var f=b(this),e=["position","top","bottom","left","right"];var j=b.effects.setMode(f,d.options.mode||"hide");var i=d.options.direction||"vertical";b.effects.save(f,e);f.show();var m=b.effects.createWrapper(f).css({overflow:"hidden"});var g=(i=="vertical")?"height":"width";var l=(i=="vertical")?m.height():m.width();if(j=="show"){m.css(g,0)}var h={};h[g]=j=="show"?l:0;m.animate(h,d.duration,d.options.easing,function(){if(j=="hide"){f.hide()}b.effects.restore(f,e);b.effects.removeWrapper(f);if(d.callback){d.callback.apply(f[0],arguments)}f.dequeue()})})}})(jQuery);(function(b,c){b.effects.bounce=function(d){return this.queue(function(){var g=b(this),o=["position","top","bottom","left","right"];var n=b.effects.setMode(g,d.options.mode||"effect");var q=d.options.direction||"up";var e=d.options.distance||20;var f=d.options.times||5;var j=d.duration||250;if(/show|hide/.test(n)){o.push("opacity")}b.effects.save(g,o);g.show();b.effects.createWrapper(g);var h=(q=="up"||q=="down")?"top":"left";var s=(q=="up"||q=="left")?"pos":"neg";var e=d.options.distance||(h=="top"?g.outerHeight(true)/3:g.outerWidth(true)/3);if(n=="show"){g.css("opacity",0).css(h,s=="pos"?-e:e)}if(n=="hide"){e=e/(f*2)}if(n!="hide"){f--}if(n=="show"){var l={opacity:1};l[h]=(s=="pos"?"+=":"-=")+e;g.animate(l,j/2,d.options.easing);e=e/2;f--}for(var m=0;m").css({position:"absolute",visibility:"visible",left:-f*(l/g),top:-h*(e/n)}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:l/g,height:e/n,left:o.left+f*(l/g)+(d.options.mode=="show"?(f-Math.floor(g/2))*(l/g):0),top:o.top+h*(e/n)+(d.options.mode=="show"?(h-Math.floor(n/2))*(e/n):0),opacity:d.options.mode=="show"?0:1}).animate({left:o.left+f*(l/g)+(d.options.mode=="show"?0:(f-Math.floor(g/2))*(l/g)),top:o.top+h*(e/n)+(d.options.mode=="show"?0:(h-Math.floor(n/2))*(e/n)),opacity:d.options.mode=="show"?1:0},d.duration||500)}}setTimeout(function(){d.options.mode=="show"?m.css({visibility:"visible"}):m.css({visibility:"visible"}).hide();if(d.callback){d.callback.apply(m[0])}m.dequeue();b("div.ui-effects-explode").remove()},d.duration||500)})}})(jQuery);(function(b,c){b.effects.fade=function(d){return this.queue(function(){var e=b(this),f=b.effects.setMode(e,d.options.mode||"hide");e.animate({opacity:f},{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){(d.callback&&d.callback.apply(this,arguments));e.dequeue()}})})}})(jQuery);(function(b,c){b.effects.fold=function(d){return this.queue(function(){var g=b(this),n=["position","top","bottom","left","right"];var j=b.effects.setMode(g,d.options.mode||"hide");var r=d.options.size||15;var q=!(!d.options.horizFirst);var i=d.duration?d.duration/2:b.fx.speeds._default/2;b.effects.save(g,n);g.show();var f=b.effects.createWrapper(g).css({overflow:"hidden"});var l=((j=="show")!=q);var h=l?["width","height"]:["height","width"];var e=l?[f.width(),f.height()]:[f.height(),f.width()];var m=/([0-9]+)%/.exec(r);if(m){r=parseInt(m[1],10)/100*e[j=="hide"?0:1]}if(j=="show"){f.css(q?{height:0,width:r}:{height:r,width:0})}var p={},o={};p[h[0]]=j=="show"?e[0]:r;o[h[1]]=j=="show"?e[1]:0;f.animate(p,i,d.options.easing).animate(o,i,d.options.easing,function(){if(j=="hide"){g.hide()}b.effects.restore(g,n);b.effects.removeWrapper(g);if(d.callback){d.callback.apply(g[0],arguments)}g.dequeue()})})}})(jQuery);(function(b,c){b.effects.highlight=function(d){return this.queue(function(){var f=b(this),e=["backgroundImage","backgroundColor","opacity"],h=b.effects.setMode(f,d.options.mode||"show"),g={backgroundColor:f.css("backgroundColor")};if(h=="hide"){g.opacity=0}b.effects.save(f,e);f.show().css({backgroundImage:"none",backgroundColor:d.options.color||"#ffff99"}).animate(g,{queue:false,duration:d.duration,easing:d.options.easing,complete:function(){(h=="hide"&&f.hide());b.effects.restore(f,e);(h=="show"&&!b.support.opacity&&this.style.removeAttribute("filter"));(d.callback&&d.callback.apply(this,arguments));f.dequeue()}})})}})(jQuery);(function(b,c){b.effects.pulsate=function(d){return this.queue(function(){var h=b(this),m=b.effects.setMode(h,d.options.mode||"show"),l=((d.options.times||5)*2)-1,j=d.duration?d.duration/2:b.fx.speeds._default/2,e=h.is(":visible"),f=0;if(!e){h.css("opacity",0).show();f=1}if((m=="hide"&&e)||(m=="show"&&!e)){l--}for(var g=0;g').appendTo(document.body).addClass(d.options.className).css({top:f.top,left:f.left,height:h.innerHeight(),width:h.innerWidth(),position:"absolute"}).animate(i,d.duration,d.options.easing,function(){e.remove();(d.callback&&d.callback.apply(h[0],arguments));h.dequeue()})})}})(jQuery);var _canLog=true;function _log(h,g){if(!_canLog){return}var c=Array.prototype.slice.apply(arguments,[1]);var d=new Date();var b=d.getHours()+":"+d.getMinutes()+":"+d.getSeconds()+"."+d.getMilliseconds();c[0]=b+" - "+c[0];try{switch(h){case"info":window.console.info.apply(window.console,c);break;case"warn":window.console.warn.apply(window.console,c);break;default:window.console.log.apply(window.console,c);break}}catch(f){if(!window.console){_canLog=false}else{if(f.number===-2146827850){window.console.log(c.join(", "))}}}}function _checkBrowser(){var b,d;function c(f){f=f.toLowerCase();var e=/(chrome)[ \/]([\w.]+)/.exec(f)||/(webkit)[ \/]([\w.]+)/.exec(f)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(f)||/(msie) ([\w.]+)/.exec(f)||f.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(f)||[];return{browser:e[1]||"",version:e[2]||"0"}}b=c(navigator.userAgent);d={};if(b.browser){d[b.browser]=true;d.version=b.version}if(d.chrome){d.webkit=true}else{if(d.webkit){d.safari=true}}return d}var BROWSER=jQuery.browser||_checkBrowser();function logMsg(b){Array.prototype.unshift.apply(arguments,["debug"]);_log.apply(this,arguments)}var getDynaTreePersistData=null;var DTNodeStatus_Error=-1;var DTNodeStatus_Loading=1;var DTNodeStatus_Ok=0;(function($){var Class={create:function(){return function(){this.initialize.apply(this,arguments)}}};function getDtNodeFromElement(el){alert("getDtNodeFromElement is deprecated");return $.ui.dynatree.getNode(el)}function noop(){}function versionCompare(v1,v2){var v1parts=(""+v1).split("."),v2parts=(""+v2).split("."),minLength=Math.min(v1parts.length,v2parts.length),p1,p2,i;for(i=0;ip2){return 1}else{if(p1: '"+this.data.title+"'"},toDict:function(recursive,callback){var dict=$.extend({},this.data);dict.activate=(this.tree.activeNode===this);dict.focus=(this.tree.focusNode===this);dict.expand=this.bExpanded;dict.select=this.bSelected;if(callback){callback(dict)}if(recursive&&this.childList){dict.children=[];for(var i=0,l=this.childList.length;i1){res+=cache.tagConnector}}else{if(this.hasChildren()!==false){res+=cache.tagExpander}else{res+=cache.tagConnector}}if(opts.checkbox&&data.hideCheckbox!==true&&!data.isStatusNode){res+=cache.tagCheckbox}if(data.icon){if(data.icon.charAt(0)==="/"){imageSrc=data.icon}else{imageSrc=opts.imagePath+data.icon}res+=""}else{if(data.icon===false){}else{if(data.iconClass){res+=""}else{res+=cache.tagNodeIcon}}}var nodeTitle="";if(opts.onCustomRender){nodeTitle=opts.onCustomRender.call(tree,this)||""}if(!nodeTitle){var tooltip=data.tooltip?' title="'+data.tooltip.replace(/\"/g,""")+'"':"",href=data.href||"#";if(opts.noLink||data.noLink){nodeTitle='"+data.title+""}else{nodeTitle='"+data.title+""}}res+=nodeTitle;return res},_fixOrder:function(){var cl=this.childList;if(!cl||!this.ul){return}var childLI=this.ul.firstChild;for(var i=0,l=cl.length-1;i1){this.ul.className=cn.container+" "+cn.noConnector}else{this.ul.className=cn.container}}else{if(parent){if(!this.li){firstTime=true;this.li=document.createElement("li");this.li.dtnode=this;if(data.key&&opts.generateIds){this.li.id=opts.idPrefix+data.key}this.span=document.createElement("span");this.span.className=cn.title;this.li.appendChild(this.span);if(!parent.ul){parent.ul=document.createElement("ul");parent.ul.style.display="none";parent.li.appendChild(parent.ul)}parent.ul.appendChild(this.li)}this.span.innerHTML=this._getInnerHtml();var cnList=[];cnList.push(cn.node);if(data.isFolder){cnList.push(cn.folder)}if(this.bExpanded){cnList.push(cn.expanded)}if(this.hasChildren()!==false){cnList.push(cn.hasChildren)}if(data.isLazy&&this.childList===null){cnList.push(cn.lazy)}if(isLastSib){cnList.push(cn.lastsib)}if(this.bSelected){cnList.push(cn.selected)}if(this.hasSubSel){cnList.push(cn.partsel)}if(tree.activeNode===this){cnList.push(cn.active)}if(data.addClass){cnList.push(data.addClass)}cnList.push(cn.combinedExpanderPrefix+(this.bExpanded?"e":"c")+(data.isLazy&&this.childList===null?"d":"")+(isLastSib?"l":""));cnList.push(cn.combinedIconPrefix+(this.bExpanded?"e":"c")+(data.isFolder?"f":""));this.span.className=cnList.join(" ");this.li.className=isLastSib?cn.lastsib:"";if(firstTime&&opts.onCreate){opts.onCreate.call(tree,this,this.span)}if(opts.onRender){opts.onRender.call(tree,this,this.span)}}}if((this.bExpanded||includeInvisible===true)&&this.childList){for(var i=0,l=this.childList.length;iy?1:-1};cl.sort(cmp);if(deep){for(var i=0,l=cl.length;i0){this.childList[0].focus()}else{this.focus()}}break;case DTNodeStatus_Loading:this._isLoading=true;$(this.span).addClass(this.tree.options.classNames.nodeLoading);if(!this.parent){this._setStatusNode({title:this.tree.options.strings.loading+info,tooltip:tooltip,addClass:this.tree.options.classNames.nodeWait})}break;case DTNodeStatus_Error:this._isLoading=false;this._setStatusNode({title:this.tree.options.strings.loadError+info,tooltip:tooltip,addClass:this.tree.options.classNames.nodeError});break;default:throw"Bad LazyNodeStatus: '"+lts+"'."}},_parentList:function(includeRoot,includeSelf){var l=[];var dtn=includeSelf?this:this.parent;while(dtn){if(includeRoot||dtn.parent){l.unshift(dtn)}dtn=dtn.parent}return l},getLevel:function(){var level=0;var dtn=this.parent;while(dtn){level++;dtn=dtn.parent}return level},_getTypeForOuterNodeEvent:function(event){var cns=this.tree.options.classNames;var target=event.target;if(target.className.indexOf(cns.node)<0){return null}var eventX=event.pageX-target.offsetLeft;var eventY=event.pageY-target.offsetTop;for(var i=0,l=target.childNodes.length;i=x&&eventX<=(x+nx)&&eventY>=y&&eventY<=(y+ny)){if(cn.className==cns.title){return"title"}else{if(cn.className==cns.expander){return"expander"}else{if(cn.className==cns.checkbox){return"checkbox"}else{if(cn.className==cns.nodeIcon){return"icon"}}}}}}return"prefix"},getEventTargetType:function(event){var tcn=event&&event.target?event.target.className:"",cns=this.tree.options.classNames;if(tcn===cns.title){return"title"}else{if(tcn===cns.expander){return"expander"}else{if(tcn===cns.checkbox){return"checkbox"}else{if(tcn===cns.nodeIcon){return"icon"}else{if(tcn===cns.empty||tcn===cns.vline||tcn===cns.connector){return"prefix"}else{if(tcn.indexOf(cns.node)>=0){return this._getTypeForOuterNodeEvent(event)}}}}}}return null},isVisible:function(){var parents=this._parentList(true,false);for(var i=0,l=parents.length;ia").focus()}catch(e){}},isFocused:function(){return(this.tree.tnFocused===this)},_activate:function(flag,fireEvents){this.tree.logDebug("dtnode._activate(%o, fireEvents=%o) - %o",flag,fireEvents,this);var opts=this.tree.options;if(this.data.isStatusNode){return}if(fireEvents&&opts.onQueryActivate&&opts.onQueryActivate.call(this.tree,flag,this)===false){return}if(flag){if(this.tree.activeNode){if(this.tree.activeNode===this){return}this.tree.activeNode.deactivate()}if(opts.activeVisible){this.makeVisible()}this.tree.activeNode=this;if(opts.persist){$.cookie(opts.cookieId+"-active",this.data.key,opts.cookie)}this.tree.persistence.activeKey=this.data.key;$(this.span).addClass(opts.classNames.active);if(fireEvents&&opts.onActivate){opts.onActivate.call(this.tree,this)}}else{if(this.tree.activeNode===this){if(opts.onQueryActivate&&opts.onQueryActivate.call(this.tree,false,this)===false){return}$(this.span).removeClass(opts.classNames.active);if(opts.persist){$.cookie(opts.cookieId+"-active","",opts.cookie)}this.tree.persistence.activeKey=null;this.tree.activeNode=null;if(fireEvents&&opts.onDeactivate){opts.onDeactivate.call(this.tree,this)}}}},activate:function(){this._activate(true,true)},activateSilently:function(){this._activate(true,false)},deactivate:function(){this._activate(false,true)},isActive:function(){return(this.tree.activeNode===this)},_userActivate:function(){var activate=true;var expand=false;if(this.data.isFolder){switch(this.tree.options.clickFolderMode){case 2:activate=false;expand=true;break;case 3:activate=expand=true;break}}if(this.parent===null){expand=false}if(expand){this.toggleExpand();this.focus()}if(activate){this.activate()}},_setSubSel:function(hasSubSel){if(hasSubSel){this.hasSubSel=true;$(this.span).addClass(this.tree.options.classNames.partsel)}else{this.hasSubSel=false;$(this.span).removeClass(this.tree.options.classNames.partsel)}},_updatePartSelectionState:function(){var sel;if(!this.hasChildren()){sel=(this.bSelected&&!this.data.unselectable&&!this.data.isStatusNode);this._setSubSel(false);return sel}var i,l,cl=this.childList,allSelected=true,allDeselected=true;for(i=0,l=cl.length;i=0;i--){sib=parents[i].getNextSibling();if(sib){break}}}if(sib){sib.focus()}break;default:handled=false}if(handled){event.preventDefault()}},_onKeypress:function(event){},_onFocus:function(event){var opts=this.tree.options;if(event.type=="blur"||event.type=="focusout"){if(opts.onBlur){opts.onBlur.call(this.tree,this)}if(this.tree.tnFocused){$(this.tree.tnFocused.span).removeClass(opts.classNames.focused)}this.tree.tnFocused=null;if(opts.persist){$.cookie(opts.cookieId+"-focus","",opts.cookie)}}else{if(event.type=="focus"||event.type=="focusin"){if(this.tree.tnFocused&&this.tree.tnFocused!==this){this.tree.logDebug("dtnode.onFocus: out of sync: curFocus: %o",this.tree.tnFocused);$(this.tree.tnFocused.span).removeClass(opts.classNames.focused)}this.tree.tnFocused=this;if(opts.onFocus){opts.onFocus.call(this.tree,this)}$(this.tree.tnFocused.span).addClass(opts.classNames.focused);if(opts.persist){$.cookie(opts.cookieId+"-focus",this.data.key,opts.cookie)}}}},visit:function(fn,includeSelf){var res=true;if(includeSelf===true){res=fn(this);if(res===false||res=="skip"){return res}}if(this.childList){for(var i=0,l=this.childList.length;i reloading %s...",this,keyPath,child);var self=this;child.reloadChildren(function(node,isOk){if(isOk){tree.logDebug("%s._loadKeyPath(%s) -> reloaded %s.",node,keyPath,node);callback.call(tree,child,"loaded");node._loadKeyPath(segList.join(tree.options.keyPathSeparator),callback)}else{tree.logWarning("%s._loadKeyPath(%s) -> reloadChildren() failed.",self,keyPath);callback.call(tree,child,"error")}})}else{callback.call(tree,child,"loaded");child._loadKeyPath(segList.join(tree.options.keyPathSeparator),callback)}}return}}}callback.call(tree,undefined,"notfound",seg,segList.length===0);tree.logWarning("Node not found: "+seg);return},resetLazy:function(){if(this.parent===null){throw"Use tree.reload() instead"}else{if(!this.data.isLazy){throw"node.resetLazy() requires lazy nodes."}}this.expand(false);this.removeChildren()},_addChildNode:function(dtnode,beforeNode){var tree=this.tree,opts=tree.options,pers=tree.persistence;dtnode.parent=this;if(this.childList===null){this.childList=[]}else{if(!beforeNode){if(this.childList.length>0){$(this.childList[this.childList.length-1].span).removeClass(opts.classNames.lastsib)}}}if(beforeNode){var iBefore=$.inArray(beforeNode,this.childList);if(iBefore<0){throw" must be a child of "}this.childList.splice(iBefore,0,dtnode)}else{this.childList.push(dtnode)}var isInitializing=tree.isInitializing();if(opts.persist&&pers.cookiesFound&&isInitializing){if(pers.activeKey===dtnode.data.key){tree.activeNode=dtnode}if(pers.focusedKey===dtnode.data.key){tree.focusNode=dtnode}dtnode.bExpanded=($.inArray(dtnode.data.key,pers.expandedKeyList)>=0);dtnode.bSelected=($.inArray(dtnode.data.key,pers.selectedKeyList)>=0)}else{if(dtnode.data.activate){tree.activeNode=dtnode;if(opts.persist){pers.activeKey=dtnode.data.key}}if(dtnode.data.focus){tree.focusNode=dtnode;if(opts.persist){pers.focusedKey=dtnode.data.key}}dtnode.bExpanded=(dtnode.data.expand===true);if(dtnode.bExpanded&&opts.persist){pers.addExpand(dtnode.data.key)}dtnode.bSelected=(dtnode.data.select===true);if(dtnode.bSelected&&opts.persist){pers.addSelect(dtnode.data.key)}}if(opts.minExpandLevel>=dtnode.getLevel()){this.bExpanded=true}if(dtnode.bSelected&&opts.selectMode==3){var p=this;while(p){if(!p.hasSubSel){p._setSubSel(true)}p=p.parent}}if(tree.bEnableUpdate){this.render()}return dtnode},addChild:function(obj,beforeNode){if(typeof(obj)=="string"){throw"Invalid data type for "+obj}else{if(!obj||obj.length===0){return}else{if(obj instanceof DynaTreeNode){return this._addChildNode(obj,beforeNode)}}}if(!obj.length){obj=[obj]}var prevFlag=this.tree.enableUpdate(false);var tnFirst=null;for(var i=0,l=obj.length;i=0){this.expandedKeyList.splice(idx,1);$.cookie(this.cookieId+"-expand",this.expandedKeyList.join(","),this.cookieOpts)}},addSelect:function(key){if($.inArray(key,this.selectedKeyList)<0){this.selectedKeyList.push(key);$.cookie(this.cookieId+"-select",this.selectedKeyList.join(","),this.cookieOpts)}},clearSelect:function(key){var idx=$.inArray(key,this.selectedKeyList);if(idx>=0){this.selectedKeyList.splice(idx,1);$.cookie(this.cookieId+"-select",this.selectedKeyList.join(","),this.cookieOpts)}},isReloading:function(){return this.cookiesFound===true},toDict:function(){return{cookiesFound:this.cookiesFound,activeKey:this.activeKey,focusedKey:this.activeKey,expandedKeyList:this.expandedKeyList,selectedKeyList:this.selectedKeyList}},lastentry:undefined};var DynaTree=Class.create();DynaTree.version="$Version: 1.2.4$";DynaTree.prototype={initialize:function($widget){this.phase="init";this.$widget=$widget;this.options=$widget.options;this.$tree=$widget.element;this.timer=null;this.divTree=this.$tree.get(0);_initDragAndDrop(this)},_load:function(callback){var $widget=this.$widget;var opts=this.options,self=this;this.bEnableUpdate=true;this._nodeCount=1;this.activeNode=null;this.focusNode=null;if(opts.rootVisible!==undefined){this.logWarning("Option 'rootVisible' is no longer supported.")}if(opts.minExpandLevel<1){this.logWarning("Option 'minExpandLevel' must be >= 1.");opts.minExpandLevel=1}if(opts.classNames!==$.ui.dynatree.prototype.options.classNames){opts.classNames=$.extend({},$.ui.dynatree.prototype.options.classNames,opts.classNames)}if(opts.ajaxDefaults!==$.ui.dynatree.prototype.options.ajaxDefaults){opts.ajaxDefaults=$.extend({},$.ui.dynatree.prototype.options.ajaxDefaults,opts.ajaxDefaults)}if(opts.dnd!==$.ui.dynatree.prototype.options.dnd){opts.dnd=$.extend({},$.ui.dynatree.prototype.options.dnd,opts.dnd)}if(!opts.imagePath){$("script").each(function(){var _rexDtLibName=/.*dynatree[^\/]*\.js$/i;if(this.src.search(_rexDtLibName)>=0){if(this.src.indexOf("/")>=0){opts.imagePath=this.src.slice(0,this.src.lastIndexOf("/"))+"/skin/"}else{opts.imagePath="skin/"}self.logDebug("Guessing imagePath from '%s': '%s'",this.src,opts.imagePath);return false}})}this.persistence=new DynaTreeStatus(opts.cookieId,opts.cookie);if(opts.persist){if(!$.cookie){_log("warn","Please include jquery.cookie.js to use persistence.")}this.persistence.read()}this.logDebug("DynaTree.persistence: %o",this.persistence.toDict());this.cache={tagEmpty:"",tagVline:"",tagExpander:"",tagConnector:"",tagNodeIcon:"",tagCheckbox:"",lastentry:undefined};if(opts.children||(opts.initAjax&&opts.initAjax.url)||opts.initId){$(this.divTree).empty()}var $ulInitialize=this.$tree.find(">ul:first").hide();this.tnRoot=new DynaTreeNode(null,this,{});this.tnRoot.bExpanded=true;this.tnRoot.render();this.divTree.appendChild(this.tnRoot.ul);var root=this.tnRoot,isReloading=(opts.persist&&this.persistence.isReloading()),isLazy=false,prevFlag=this.enableUpdate(false);this.logDebug("Dynatree._load(): read tree structure...");if(opts.children){root.addChild(opts.children)}else{if(opts.initAjax&&opts.initAjax.url){isLazy=true;root.data.isLazy=true;this._reloadAjax(callback)}else{if(opts.initId){this._createFromTag(root,$("#"+opts.initId))}else{this._createFromTag(root,$ulInitialize);$ulInitialize.remove()}}}this._checkConsistency();if(!isLazy&&opts.selectMode==3){root._updatePartSelectionState()}this.logDebug("Dynatree._load(): render nodes...");this.enableUpdate(prevFlag);this.logDebug("Dynatree._load(): bind events...");this.$widget.bind();this.logDebug("Dynatree._load(): postInit...");this.phase="postInit";if(opts.persist){this.persistence.write()}if(this.focusNode&&this.focusNode.isVisible()){this.logDebug("Focus on init: %o",this.focusNode);this.focusNode.focus()}if(!isLazy){if(opts.onPostInit){opts.onPostInit.call(this,isReloading,false)}if(callback){callback.call(this,"ok")}}this.phase="idle"},_reloadAjax:function(callback){var opts=this.options;if(!opts.initAjax||!opts.initAjax.url){throw"tree.reload() requires 'initAjax' mode."}var pers=this.persistence;var ajaxOpts=$.extend({},opts.initAjax);if(ajaxOpts.addActiveKey){ajaxOpts.data.activeKey=pers.activeKey}if(ajaxOpts.addFocusedKey){ajaxOpts.data.focusedKey=pers.focusedKey}if(ajaxOpts.addExpandedKeyList){ajaxOpts.data.expandedKeyList=pers.expandedKeyList.join(",")}if(ajaxOpts.addSelectedKeyList){ajaxOpts.data.selectedKeyList=pers.selectedKeyList.join(",")}if(ajaxOpts.success){this.logWarning("initAjax: success callback is ignored; use onPostInit instead.")}if(ajaxOpts.error){this.logWarning("initAjax: error callback is ignored; use onPostInit instead.")}var isReloading=pers.isReloading();ajaxOpts.success=function(dtnode,data,textStatus){if(opts.selectMode==3){dtnode.tree.tnRoot._updatePartSelectionState()}if(opts.onPostInit){opts.onPostInit.call(dtnode.tree,isReloading,false)}if(callback){callback.call(dtnode.tree,"ok")}};ajaxOpts.error=function(dtnode,XMLHttpRequest,textStatus,errorThrown){if(opts.onPostInit){opts.onPostInit.call(dtnode.tree,isReloading,true,XMLHttpRequest,textStatus,errorThrown)}if(callback){callback.call(dtnode.tree,"error",XMLHttpRequest,textStatus,errorThrown)}};this.logDebug("Dynatree._init(): send Ajax request...");this.tnRoot.appendAjax(ajaxOpts)},toString:function(){return"Dynatree '"+this.$tree.attr("id")+"'"},toDict:function(){return this.tnRoot.toDict(true)},serializeArray:function(stopOnParents){var nodeList=this.getSelectedNodes(stopOnParents),name=this.$tree.attr("name")||this.$tree.attr("id"),arr=[];for(var i=0,l=nodeList.length;i=2){Array.prototype.unshift.apply(arguments,["debug"]);_log.apply(this,arguments)}},logInfo:function(msg){if(this.options.debugLevel>=1){Array.prototype.unshift.apply(arguments,["info"]);_log.apply(this,arguments)}},logWarning:function(msg){Array.prototype.unshift.apply(arguments,["warn"]);_log.apply(this,arguments)},isInitializing:function(){return(this.phase=="init"||this.phase=="postInit")},isReloading:function(){return(this.phase=="init"||this.phase=="postInit")&&this.options.persist&&this.persistence.cookiesFound},isUserEvent:function(){return(this.phase=="userEvent")},redraw:function(){this.tnRoot.render(false,false)},renderInvisibleNodes:function(){this.tnRoot.render(false,true)},reload:function(callback){this._load(callback)},getRoot:function(){return this.tnRoot},enable:function(){this.$widget.enable()},disable:function(){this.$widget.disable()},getNodeByKey:function(key){var el=document.getElementById(this.options.idPrefix+key);if(el){return el.dtnode?el.dtnode:null}var match=null;this.visit(function(node){if(node.data.key===key){match=node;return false}},true);return match},getActiveNode:function(){return this.activeNode},reactivate:function(setFocus){var node=this.activeNode;if(node){this.activeNode=null;node.activate();if(setFocus){node.focus()}}},getSelectedNodes:function(stopOnParents){var nodeList=[];this.tnRoot.visit(function(node){if(node.bSelected){nodeList.push(node);if(stopOnParents===true){return"skip"}}});return nodeList},activateKey:function(key){var dtnode=(key===null)?null:this.getNodeByKey(key);if(!dtnode){if(this.activeNode){this.activeNode.deactivate()}this.activeNode=null;return null}dtnode.focus();dtnode.activate();return dtnode},loadKeyPath:function(keyPath,callback){var segList=keyPath.split(this.options.keyPathSeparator);if(segList[0]===""){segList.shift()}if(segList[0]==this.tnRoot.data.key){this.logDebug("Removed leading root key.");segList.shift()}keyPath=segList.join(this.options.keyPathSeparator);return this.tnRoot._loadKeyPath(keyPath,callback)},selectKey:function(key,select){var dtnode=this.getNodeByKey(key);if(!dtnode){return null}dtnode.select(select);return dtnode},enableUpdate:function(bEnable){if(this.bEnableUpdate==bEnable){return bEnable}this.bEnableUpdate=bEnable;if(bEnable){this.redraw()}return !bEnable},count:function(){return this.tnRoot.countChildren()},visit:function(fn,includeRoot){return this.tnRoot.visit(fn,includeRoot)},_createFromTag:function(parentTreeNode,$ulParent){var self=this;$ulParent.find(">li").each(function(){var $li=$(this),$liSpan=$li.find(">span:first"),$liA=$li.find(">a:first"),title,href=null,target=null,tooltip;if($liSpan.length){title=$liSpan.html()}else{if($liA.length){title=$liA.html();href=$liA.attr("href");target=$liA.attr("target");tooltip=$liA.attr("title")}else{title=$li.html();var iPos=title.search(/
      =0){title=$.trim(title.substring(0,iPos))}else{title=$.trim(title)}}}var data={title:title,tooltip:tooltip,isFolder:$li.hasClass("folder"),isLazy:$li.hasClass("lazy"),expand:$li.hasClass("expanded"),select:$li.hasClass("selected"),activate:$li.hasClass("active"),focus:$li.hasClass("focused"),noLink:$li.hasClass("noLink")};if(href){data.href=href;data.target=target}if($li.attr("title")){data.tooltip=$li.attr("title")}if($li.attr("id")){data.key=""+$li.attr("id")}if($li.attr("data")){var dataAttr=$.trim($li.attr("data"));if(dataAttr){if(dataAttr.charAt(0)!="{"){dataAttr="{"+dataAttr+"}"}try{$.extend(data,eval("("+dataAttr+")"))}catch(e){throw ("Error parsing node data: "+e+"\ndata:\n'"+dataAttr+"'")}}}var childNode=parentTreeNode.addChild(data);var $ul=$li.find(">ul:first");if($ul.length){self._createFromTag(childNode,$ul)}})},_checkConsistency:function(){},_setDndStatus:function(sourceNode,targetNode,helper,hitMode,accept){var $source=sourceNode?$(sourceNode.span):null,$target=$(targetNode.span);if(!this.$dndMarker){this.$dndMarker=$("
      ").hide().css({"z-index":1000}).prependTo($(this.divTree).parent())}if(hitMode==="after"||hitMode==="before"||hitMode==="over"){var markerOffset="0 0";switch(hitMode){case"before":this.$dndMarker.removeClass("dynatree-drop-after dynatree-drop-over");this.$dndMarker.addClass("dynatree-drop-before");markerOffset="0 -8";break;case"after":this.$dndMarker.removeClass("dynatree-drop-before dynatree-drop-over");this.$dndMarker.addClass("dynatree-drop-after");markerOffset="0 8";break;default:this.$dndMarker.removeClass("dynatree-drop-after dynatree-drop-before");this.$dndMarker.addClass("dynatree-drop-over");$target.addClass("dynatree-drop-target");markerOffset="8 0"}this.$dndMarker.show().position({my:"left top",at:"left top",of:$target,offset:markerOffset})}else{$target.removeClass("dynatree-drop-target");this.$dndMarker.hide()}if(hitMode==="after"){$target.addClass("dynatree-drop-after")}else{$target.removeClass("dynatree-drop-after")}if(hitMode==="before"){$target.addClass("dynatree-drop-before")}else{$target.removeClass("dynatree-drop-before")}if(accept===true){if($source){$source.addClass("dynatree-drop-accept")}$target.addClass("dynatree-drop-accept");helper.addClass("dynatree-drop-accept")}else{if($source){$source.removeClass("dynatree-drop-accept")}$target.removeClass("dynatree-drop-accept");helper.removeClass("dynatree-drop-accept")}if(accept===false){if($source){$source.addClass("dynatree-drop-reject")}$target.addClass("dynatree-drop-reject");helper.addClass("dynatree-drop-reject")}else{if($source){$source.removeClass("dynatree-drop-reject")}$target.removeClass("dynatree-drop-reject");helper.removeClass("dynatree-drop-reject")}},_onDragEvent:function(eventName,node,otherNode,event,ui,draggable){var opts=this.options,dnd=this.options.dnd,res=null,nodeTag=$(node.span),hitMode,enterResponse;switch(eventName){case"helper":var $helper=$("
      ").append($(event.target).closest(".dynatree-title").clone());$("ul.dynatree-container",node.tree.divTree).append($helper);$helper.data("dtSourceNode",node);res=$helper;break;case"start":if(node.isStatusNode()){res=false}else{if(dnd.onDragStart){res=dnd.onDragStart(node)}}if(res===false){this.logDebug("tree.onDragStart() cancelled");ui.helper.trigger("mouseup");ui.helper.hide()}else{nodeTag.addClass("dynatree-drag-source")}break;case"enter":res=dnd.onDragEnter?dnd.onDragEnter(node,otherNode):null;if(!res){res=false}else{res={over:((res===true)||(res==="over")||$.inArray("over",res)>=0),before:((res===true)||(res==="before")||$.inArray("before",res)>=0),after:((res===true)||(res==="after")||$.inArray("after",res)>=0)}}ui.helper.data("enterResponse",res);break;case"over":enterResponse=ui.helper.data("enterResponse");hitMode=null;if(enterResponse===false){}else{if(typeof enterResponse==="string"){hitMode=enterResponse}else{var nodeOfs=nodeTag.offset();var relPos={x:event.pageX-nodeOfs.left,y:event.pageY-nodeOfs.top};var relPos2={x:relPos.x/nodeTag.width(),y:relPos.y/nodeTag.height()};if(enterResponse.after&&relPos2.y>0.75){hitMode="after"}else{if(!enterResponse.over&&enterResponse.after&&relPos2.y>0.5){hitMode="after"}else{if(enterResponse.before&&relPos2.y<=0.25){hitMode="before"}else{if(!enterResponse.over&&enterResponse.before&&relPos2.y<=0.5){hitMode="before"}else{if(enterResponse.over){hitMode="over"}}}}}if(dnd.preventVoidMoves){if(node===otherNode){hitMode=null}else{if(hitMode==="before"&&otherNode&&node===otherNode.getNextSibling()){hitMode=null}else{if(hitMode==="after"&&otherNode&&node===otherNode.getPrevSibling()){hitMode=null}else{if(hitMode==="over"&&otherNode&&otherNode.parent===node&&otherNode.isLastSibling()){hitMode=null}}}}}ui.helper.data("hitMode",hitMode)}}if(hitMode==="over"&&dnd.autoExpandMS&&node.hasChildren()!==false&&!node.bExpanded){node.scheduleAction("expand",dnd.autoExpandMS)}if(hitMode&&dnd.onDragOver){res=dnd.onDragOver(node,otherNode,hitMode);if(res==="over"||res==="before"||res==="after"){hitMode=res}}this._setDndStatus(otherNode,node,ui.helper,hitMode,res!==false&&hitMode!==null);break;case"drop":var isForbidden=ui.helper.hasClass("dynatree-drop-reject");hitMode=ui.helper.data("hitMode");if(hitMode&&dnd.onDrop&&!isForbidden){dnd.onDrop(node,otherNode,hitMode,ui,draggable)}break;case"leave":node.scheduleAction("cancel");ui.helper.data("enterResponse",null);ui.helper.data("hitMode",null);this._setDndStatus(otherNode,node,ui.helper,"out",undefined);if(dnd.onDragLeave){dnd.onDragLeave(node,otherNode)}break;case"stop":nodeTag.removeClass("dynatree-drag-source");if(dnd.onDragStop){dnd.onDragStop(node)}break;default:throw"Unsupported drag event: "+eventName}return res},cancelDrag:function(){var dd=$.ui.ddmanager.current;if(dd){dd.cancel()}},lastentry:undefined};$.widget("ui.dynatree",{_init:function(){if(versionCompare($.ui.version,"1.8")<0){if(this.options.debugLevel>=0){_log("warn","ui.dynatree._init() was called; you should upgrade to jquery.ui.core.js v1.8 or higher.")}return this._create()}if(this.options.debugLevel>=2){_log("debug","ui.dynatree._init() was called; no current default functionality.")}},_create:function(){var opts=this.options;if(opts.debugLevel>=1){logMsg("Dynatree._create(): version='%s', debugLevel=%o.",$.ui.dynatree.version,this.options.debugLevel)}this.options.event+=".dynatree";var divTree=this.element.get(0);this.tree=new DynaTree(this);this.tree._load();this.tree.logDebug("Dynatree._init(): done.")},bind:function(){this.unbind();var eventNames="click.dynatree dblclick.dynatree";if(this.options.keyboard){eventNames+=" keypress.dynatree keydown.dynatree"}this.element.bind(eventNames,function(event,xtra){var dtnode=$.ui.dynatree.getNode(event.target);if(!dtnode){return true}var tree=dtnode.tree;var o=tree.options;tree.logDebug("event(%s): dtnode: %s",event.type,dtnode);var prevPhase=tree.phase;tree.phase="userEvent";try{switch(event.type){case"click":return(o.onClick&&o.onClick.call(tree,dtnode,event,xtra)===false)?false:dtnode._onClick(event);case"dblclick":return(o.onDblClick&&o.onDblClick.call(tree,dtnode,event,xtra)===false)?false:dtnode._onDblClick(event);case"keydown":return(o.onKeydown&&o.onKeydown.call(tree,dtnode,event,xtra)===false)?false:dtnode._onKeydown(event);case"keypress":return(o.onKeypress&&o.onKeypress.call(tree,dtnode,event,xtra)===false)?false:dtnode._onKeypress(event)}}catch(e){var _=null;tree.logWarning("bind(%o): dtnode: %o, error: %o",event,dtnode,e)}finally{tree.phase=prevPhase}});function __focusHandler(event){event=$.event.fix(event||window.event);var dtnode=$.ui.dynatree.getNode(event.target);return dtnode?dtnode._onFocus(event):false}var div=this.tree.divTree;if(div.addEventListener){div.addEventListener("focus",__focusHandler,true);div.addEventListener("blur",__focusHandler,true)}else{div.onfocusin=div.onfocusout=__focusHandler}},unbind:function(){this.element.unbind(".dynatree")},enable:function(){this.bind();$.Widget.prototype.enable.apply(this,arguments)},disable:function(){this.unbind();$.Widget.prototype.disable.apply(this,arguments)},getTree:function(){return this.tree},getRoot:function(){return this.tree.getRoot()},getActiveNode:function(){return this.tree.getActiveNode()},getSelectedNodes:function(){return this.tree.getSelectedNodes()},lastentry:undefined});if(versionCompare($.ui.version,"1.8")<0){$.ui.dynatree.getter="getTree getRoot getActiveNode getSelectedNodes"}$.ui.dynatree.version="$Version: 1.2.4$";$.ui.dynatree.getNode=function(el){if(el instanceof DynaTreeNode){return el}if(el.selector!==undefined){el=el[0]}while(el){if(el.dtnode){return el.dtnode}el=el.parentNode}return null};$.ui.dynatree.getPersistData=DynaTreeStatus._getTreePersistData;$.ui.dynatree.prototype.options={title:"Dynatree",minExpandLevel:1,imagePath:null,children:null,initId:null,initAjax:null,autoFocus:true,keyboard:true,persist:false,autoCollapse:false,clickFolderMode:3,activeVisible:true,checkbox:false,selectMode:2,fx:null,noLink:false,onClick:null,onDblClick:null,onKeydown:null,onKeypress:null,onFocus:null,onBlur:null,onQueryActivate:null,onQuerySelect:null,onQueryExpand:null,onPostInit:null,onActivate:null,onDeactivate:null,onSelect:null,onExpand:null,onLazyRead:null,onCustomRender:null,onCreate:null,onRender:null,postProcess:null,dnd:{onDragStart:null,onDragStop:null,autoExpandMS:1000,preventVoidMoves:true,onDragEnter:null,onDragOver:null,onDrop:null,onDragLeave:null},ajaxDefaults:{cache:false,timeout:0,dataType:"json"},strings:{loading:"Loading…",loadError:"Load error!"},generateIds:false,idPrefix:"dynatree-id-",keyPathSeparator:"/",cookieId:"dynatree",cookie:{expires:null},classNames:{container:"dynatree-container",node:"dynatree-node",folder:"dynatree-folder",empty:"dynatree-empty",vline:"dynatree-vline",expander:"dynatree-expander",connector:"dynatree-connector",checkbox:"dynatree-checkbox",nodeIcon:"dynatree-icon",title:"dynatree-title",noConnector:"dynatree-no-connector",nodeError:"dynatree-statusnode-error",nodeWait:"dynatree-statusnode-wait",hidden:"dynatree-hidden",combinedExpanderPrefix:"dynatree-exp-",combinedIconPrefix:"dynatree-ico-",nodeLoading:"dynatree-loading",hasChildren:"dynatree-has-children",active:"dynatree-active",selected:"dynatree-selected",expanded:"dynatree-expanded",lazy:"dynatree-lazy",focused:"dynatree-focused",partsel:"dynatree-partsel",lastsib:"dynatree-lastsib"},debugLevel:1,lastentry:undefined};if(versionCompare($.ui.version,"1.8")<0){$.ui.dynatree.defaults=$.ui.dynatree.prototype.options}$.ui.dynatree.nodedatadefaults={title:null,key:null,isFolder:false,isLazy:false,tooltip:null,href:null,icon:null,addClass:null,noLink:false,activate:false,focus:false,expand:false,select:false,hideCheckbox:false,unselectable:false,children:null,lastentry:undefined};function _initDragAndDrop(tree){var dnd=tree.options.dnd||null;if(dnd&&(dnd.onDragStart||dnd.onDrop)){_registerDnd()}if(dnd&&dnd.onDragStart){tree.$tree.draggable({addClasses:false,appendTo:"body",containment:false,delay:0,distance:4,revert:false,scroll:true,scrollSpeed:7,scrollSensitivity:10,connectToDynatree:true,helper:function(event){var sourceNode=$.ui.dynatree.getNode(event.target);if(!sourceNode){return"
      "}return sourceNode.tree._onDragEvent("helper",sourceNode,null,event,null,null)},start:function(event,ui){var sourceNode=ui.helper.data("dtSourceNode");return !!sourceNode},_last:null})}if(dnd&&dnd.onDrop){tree.$tree.droppable({addClasses:false,tolerance:"intersect",greedy:false,_last:null})}}var didRegisterDnd=false;var _registerDnd=function(){if(didRegisterDnd){return}$.ui.plugin.add("draggable","connectToDynatree",{start:function(event,ui){var draggable=$(this).data("ui-draggable")||$(this).data("draggable"),sourceNode=ui.helper.data("dtSourceNode")||null;if(sourceNode){draggable.offset.click.top=-2;draggable.offset.click.left=+16;return sourceNode.tree._onDragEvent("start",sourceNode,null,event,ui,draggable)}},drag:function(event,ui){var draggable=$(this).data("ui-draggable")||$(this).data("draggable"),sourceNode=ui.helper.data("dtSourceNode")||null,prevTargetNode=ui.helper.data("dtTargetNode")||null,targetNode=$.ui.dynatree.getNode(event.target);if(event.target&&!targetNode){var isHelper=$(event.target).closest("div.dynatree-drag-helper,#dynatree-drop-marker").length>0;if(isHelper){return}}ui.helper.data("dtTargetNode",targetNode);if(prevTargetNode&&prevTargetNode!==targetNode){prevTargetNode.tree._onDragEvent("leave",prevTargetNode,sourceNode,event,ui,draggable)}if(targetNode){if(!targetNode.tree.options.dnd.onDrop){}else{if(targetNode===prevTargetNode){targetNode.tree._onDragEvent("over",targetNode,sourceNode,event,ui,draggable)}else{targetNode.tree._onDragEvent("enter",targetNode,sourceNode,event,ui,draggable)}}}},stop:function(event,ui){var draggable=$(this).data("ui-draggable")||$(this).data("draggable"),sourceNode=ui.helper.data("dtSourceNode")||null,targetNode=ui.helper.data("dtTargetNode")||null,mouseDownEvent=draggable._mouseDownEvent,eventType=event.type,dropped=(eventType=="mouseup"&&event.which==1);logMsg("draggable-connectToDynatree.stop: targetNode(from event): %s, dtTargetNode: %s",targetNode,ui.helper.data("dtTargetNode"));if(!dropped){logMsg("Drag was cancelled")}if(targetNode){if(dropped){targetNode.tree._onDragEvent("drop",targetNode,sourceNode,event,ui,draggable)}targetNode.tree._onDragEvent("leave",targetNode,sourceNode,event,ui,draggable)}if(sourceNode){sourceNode.tree._onDragEvent("stop",sourceNode,null,event,ui,draggable)}}});didRegisterDnd=true}}(jQuery));(function(d,e){d.support.htmlMenuitem=("HTMLMenuItemElement" in window);d.support.htmlCommand=("HTMLCommandElement" in window);d.support.eventSelectstart=("onselectstart" in document.documentElement);if(!d.ui||!d.ui.widget){var s=d.cleanData;d.cleanData=function(u){for(var v=0,x;(x=u[v])!=null;v++){try{d(x).triggerHandler("remove")}catch(y){}}s(u)}}var r=null,c=false,p=d(window),i=0,h={},n={},m={},j={selector:null,appendTo:null,trigger:"right",autoHide:false,delay:200,reposition:true,determinePosition:function(u){if(d.ui&&d.ui.position){u.css("display","block").position({my:"center top",at:"center bottom",of:this,offset:"0 5",collision:"fit"}).css("display","none")}else{var v=this.offset();v.top+=this.outerHeight();v.left+=this.outerWidth()/2-u.outerWidth()/2;u.css(v)}},position:function(z,D,C){var B=this,A;if(!D&&!C){z.determinePosition.call(this,z.$menu);return}else{if(D==="maintain"&&C==="maintain"){A=z.$menu.position()}else{A={top:C,left:D}}}var u=p.scrollTop()+p.height(),E=p.scrollLeft()+p.width(),F=z.$menu.height(),v=z.$menu.width();if(A.top+F>u){A.top-=F}if(A.left+v>E){A.left-=v}z.$menu.css(A)},positionSubmenu:function(u){if(d.ui&&d.ui.position){u.css("display","block").position({my:"left top",at:"right top",of:this,collision:"flipfit fit"}).css("display","")}else{var v={top:0,left:this.outerWidth()};u.css(v)}},zIndex:101,animation:{duration:50,show:"slideDown",hide:"slideUp"},events:{show:d.noop,hide:d.noop},callback:null,items:{}},l={timer:null,pageX:null,pageY:null},f=function(x){var v=0,u=x;while(true){v=Math.max(v,parseInt(u.css("z-index"),10)||0);u=u.parent();if(!u||!u.length||"html body".indexOf(u.prop("nodeName").toLowerCase())>-1){break}}return v},t={abortevent:function(u){u.preventDefault();u.stopImmediatePropagation()},contextmenu:function(B){var D=d(this);if((B.data.ignore)&&(d(B.target).is(B.data.ignore))){return}var H=(B.data.type)?B.data.type:".*";var F=new RegExp("^"+H+"$");var C=B.target;var G=d(B.target).closest(".Plastic")[0];var E=G["plastic"+G.isplastic];var A=(E.getRowObjectFor)?E.getRowObjectFor(B.target):{type:"root"};if((B.data)&&(B.data.prereq)){var x=new RegExp("^"+B.data.prereq+"$");var z=((A)&&(A["#selected"]!==e))?A["#selected"]:null;var u=((D.attr("id"))&&(d(G).attr("id")))?D.attr("id").replace(new RegExp("^"+d(G).attr("id")+"_"),""):null;if(((z)&&(x.test(z)))||((u)&&(x.test(u)))){if((B.data.type)&&(A)&&(A.type)&&(F.test(A.type))){B.stopImmediatePropagation()}else{return}}else{return}}else{if((B.data.type)&&(A)&&(A.type)&&(F.test(A.type))){B.stopImmediatePropagation()}else{return}}if((E)&&(E.activateRow)){E.activateRow(B.target)}B.preventDefault();if(B.data.trigger!="right"&&B.originalEvent){return}if(D.hasClass("context-menu-active")){return}if(!D.hasClass("context-menu-disabled")){r=D;if((B.data.build)||(B.data.builder)){var y=function(I){if(I===false){return}B.data=d.extend(true,{},j,B.data,I||{});if(!B.data.items||d.isEmptyObject(B.data.items)){if(window.console){(console.error||console.log)("No items specified to show in contextMenu")}throw new Error("No Items specified")}B.data.$trigger=r;g.create(B.data);g.show.call(D,B.data,B.pageX,B.pageY)};var v=B.data.build(r,B,(B.data.builder)?y:false);if(!(B.data.builder)){y(v)}}else{g.show.call(D,B.data,B.pageX,B.pageY)}}},click:function(u){u.preventDefault();u.stopImmediatePropagation();d(this).trigger(d.Event("contextmenu",{data:u.data,pageX:u.pageX,pageY:u.pageY}))},mousedown:function(v){var u=d(this);if(r&&r.length&&!r.is(u)){r.data("contextMenu").$menu.trigger("contextmenu:hide")}if(v.button==2){r=u.data("contextMenuActive",true)}},mouseup:function(v){var u=d(this);if(u.data("contextMenuActive")&&r&&r.length&&r.is(u)&&!u.hasClass("context-menu-disabled")){v.preventDefault();v.stopImmediatePropagation();r=u;u.trigger(d.Event("contextmenu",{data:v.data,pageX:v.pageX,pageY:v.pageY}))}u.removeData("contextMenuActive")},mouseenter:function(x){var v=d(this),u=d(x.relatedTarget),y=d(document);if(u.is(".context-menu-list")||u.closest(".context-menu-list").length){return}if(r&&r.length){return}l.pageX=x.pageX;l.pageY=x.pageY;l.data=x.data;y.on("mousemove.contextMenuShow",t.mousemove);l.timer=setTimeout(function(){l.timer=null;y.off("mousemove.contextMenuShow");r=v;v.trigger(d.Event("contextmenu",{data:l.data,pageX:l.pageX,pageY:l.pageY}))},x.data.delay)},mousemove:function(u){l.pageX=u.pageX;l.pageY=u.pageY},mouseleave:function(v){var u=d(v.relatedTarget);if(u.is(".context-menu-list")||u.closest(".context-menu-list").length){return}try{clearTimeout(l.timer)}catch(v){}l.timer=null},layerClick:function(A){var C=d(this),E=C.data("contextMenuRoot"),v=false,z=A.button,F=A.pageX,D=A.pageY,B,u,G;A.preventDefault();A.stopImmediatePropagation();setTimeout(function(){var I,H,y;var x=((E.trigger=="left"&&z===0)||(E.trigger=="right"&&z===2));if(document.elementFromPoint){E.$layer.hide();B=document.elementFromPoint(F-p.scrollLeft(),D-p.scrollTop());E.$layer.show()}if(E.reposition&&x){if(document.elementFromPoint){if(E.$trigger.is(B)||E.$trigger.has(B).length){E.position.call(E.$trigger,E,F,D);return}}else{u=E.$trigger.offset();I=d(window);u.top+=I.scrollTop();if(u.top<=A.pageY){u.left+=I.scrollLeft();if(u.left<=A.pageX){u.bottom=u.top+E.$trigger.outerHeight();if(u.bottom>=A.pageY){u.right=u.left+E.$trigger.outerWidth();if(u.right>=A.pageX){E.position.call(E.$trigger,E,F,D);return}}}}}}if(B&&x){E.$trigger.one("contextmenu:hidden",function(){d(B).contextMenu({x:F,y:D})})}E.$menu.trigger("contextmenu:hide")},50)},keyStop:function(v,u){if(!u.isInput){v.preventDefault()}v.stopPropagation()},key:function(z){var x=r.data("contextMenu")||{};switch(z.keyCode){case 9:case 38:t.keyStop(z,x);if(x.isInput){if(z.keyCode==9&&z.shiftKey){z.preventDefault();x.$selected&&x.$selected.find("input, textarea, select").blur();x.$menu.trigger("prevcommand");return}else{if(z.keyCode==38&&x.$selected.find("input, textarea, select").prop("type")=="checkbox"){z.preventDefault();return}}}else{if(z.keyCode!=9||z.shiftKey){x.$menu.trigger("prevcommand");return}}case 40:t.keyStop(z,x);if(x.isInput){if(z.keyCode==9){z.preventDefault();x.$selected&&x.$selected.find("input, textarea, select").blur();x.$menu.trigger("nextcommand");return}else{if(z.keyCode==40&&x.$selected.find("input, textarea, select").prop("type")=="checkbox"){z.preventDefault();return}}}else{x.$menu.trigger("nextcommand");return}break;case 37:t.keyStop(z,x);if(x.isInput||!x.$selected||!x.$selected.length){break}if(!x.$selected.parent().hasClass("context-menu-root")){var y=x.$selected.parent().parent();x.$selected.trigger("contextmenu:blur");x.$selected=y;return}break;case 39:t.keyStop(z,x);if(x.isInput||!x.$selected||!x.$selected.length){break}var v=x.$selected.data("contextMenu")||{};if(v.$menu&&x.$selected.hasClass("context-menu-submenu")){x.$selected=null;v.$selected=null;v.$menu.trigger("nextcommand");return}break;case 35:case 36:if(x.$selected&&x.$selected.find("input, textarea, select").length){return}else{(x.$selected&&x.$selected.parent()||x.$menu).children(":not(.disabled, .not-selectable)")[z.keyCode==36?"first":"last"]().trigger("contextmenu:focus");z.preventDefault();return}break;case 13:t.keyStop(z,x);if(x.isInput){if(x.$selected&&!x.$selected.is("textarea, select")){z.preventDefault();return}break}x.$selected&&x.$selected.trigger("mouseup");return;case 32:case 33:case 34:t.keyStop(z,x);return;case 27:t.keyStop(z,x);x.$menu.trigger("contextmenu:hide");return;default:var u=(String.fromCharCode(z.keyCode)).toUpperCase();if(x.accesskeys[u]){x.accesskeys[u].$node.trigger(x.accesskeys[u].$menu?"contextmenu:focus":"mouseup");return}break}z.stopPropagation();x.$selected&&x.$selected.trigger(z)},prevItem:function(z){z.stopPropagation();var y=d(this).data("contextMenu")||{};if(y.$selected){var u=y.$selected;y=y.$selected.parent().data("contextMenu")||{};y.$selected=u}var x=y.$menu.children(),v=!y.$selected||!y.$selected.prev().length?x.last():y.$selected.prev(),B=v;while(v.hasClass("disabled")||v.hasClass("not-selectable")){if(v.prev().length){v=v.prev()}else{v=x.last()}if(v.is(B)){return}}if(y.$selected){t.itemMouseleave.call(y.$selected.get(0),z)}t.itemMouseenter.call(v.get(0),z);var A=v.find("input, textarea, select");if(A.length){A.focus()}},nextItem:function(z){z.stopPropagation();var y=d(this).data("contextMenu")||{};if(y.$selected){var u=y.$selected;y=y.$selected.parent().data("contextMenu")||{};y.$selected=u}var x=y.$menu.children(),v=!y.$selected||!y.$selected.next().length?x.first():y.$selected.next(),B=v;while(v.hasClass("disabled")||v.hasClass("not-selectable")){if(v.next().length){v=v.next()}else{v=x.first()}if(v.is(B)){return}}if(y.$selected){t.itemMouseleave.call(y.$selected.get(0),z)}t.itemMouseenter.call(v.get(0),z);var A=v.find("input, textarea, select");if(A.length){A.focus()}},focusInput:function(z){var y=d(this).closest(".context-menu-item"),x=y.data(),v=x.contextMenu,u=x.contextMenuRoot;u.$selected=v.$selected=y;u.isInput=v.isInput=true},blurInput:function(z){var y=d(this).closest(".context-menu-item"),x=y.data(),v=x.contextMenu,u=x.contextMenuRoot;u.isInput=v.isInput=false},menuMouseenter:function(v){var u=d(this).data().contextMenuRoot;u.hovering=true},menuMouseleave:function(v){var u=d(this).data().contextMenuRoot;if(u.$layer&&u.$layer.is(v.relatedTarget)){u.hovering=false}},itemMouseenter:function(z){var y=d(this),x=y.data(),v=x.contextMenu,u=x.contextMenuRoot;u.hovering=true;if(z&&u.$layer&&u.$layer.is(z.relatedTarget)){z.preventDefault();z.stopImmediatePropagation()}(v.$menu?v:u).$menu.children(".hover").trigger("contextmenu:blur");if(y.hasClass("disabled")||y.hasClass("not-selectable")){v.$selected=null;return}y.trigger("contextmenu:focus")},itemMouseleave:function(z){var y=d(this),x=y.data(),v=x.contextMenu,u=x.contextMenuRoot;if(u!==v&&u.$layer&&u.$layer.is(z.relatedTarget)){u.$selected&&u.$selected.trigger("contextmenu:blur");z.preventDefault();z.stopImmediatePropagation();u.$selected=v.$selected=v.$node;return}y.trigger("contextmenu:blur")},itemClick:function(A){var z=d(this),y=z.data(),x=y.contextMenu,u=y.contextMenuRoot,v=y.contextMenuKey,B;if(!x.items[v]||z.is(".disabled, .context-menu-submenu, .context-menu-separator, .not-selectable")){return}A.preventDefault();A.stopImmediatePropagation();if(d.isFunction(u.callbacks[v])&&Object.prototype.hasOwnProperty.call(u.callbacks,v)){B=u.callbacks[v]}else{if(d.isFunction(u.callback)){B=u.callback}else{return}}if(B.call(u.$trigger,v,u)!==false){u.$menu.trigger("contextmenu:hide")}else{if(u.$menu.parent().length){g.update.call(u.$trigger,u)}}},inputClick:function(u){u.stopImmediatePropagation()},hideMenu:function(x,v){var u=d(this).data("contextMenuRoot");g.hide.call(u.$trigger,u,v&&v.force)},focusItem:function(z){z.stopPropagation();var y=d(this),x=y.data(),v=x.contextMenu,u=x.contextMenuRoot;y.addClass("hover").siblings(".hover").trigger("contextmenu:blur");v.$selected=u.$selected=y;if(v.$node){u.positionSubmenu.call(v.$node,v.$menu)}},blurItem:function(z){z.stopPropagation();var y=d(this),x=y.data(),v=x.contextMenu,u=x.contextMenuRoot;y.removeClass("hover");v.$selected=null}},g={show:function(A,v,C){var u=d(this),B,z={};d("#context-menu-layer").trigger("mousedown");A.$trigger=u;if(A.events.show.call(u,A)===false){r=null;return}g.update.call(u,A);A.position.call(u,A,v,C);if(A.zIndex){z.zIndex=f(u)+A.zIndex}g.layer.call(A.$menu,A,z.zIndex);A.$menu.find("ul").css("zIndex",z.zIndex+1);A.$menu.css(z)[A.animation.show](A.animation.duration,function(){u.trigger("contextmenu:visible")});u.data("contextMenu",A).addClass("context-menu-active");d(document).off("keydown.contextMenu").on("keydown.contextMenu",t.key);if(A.autoHide){d(document).on("mousemove.contextMenuAutoHide",function(x){var y=u.offset();y.right=y.left+u.outerWidth();y.bottom=y.top+u.outerHeight();if(A.$layer&&!A.hovering&&(!(x.pageX>=y.left&&x.pageX<=y.right)||!(x.pageY>=y.top&&x.pageY<=y.bottom))){A.$menu.trigger("contextmenu:hide")}})}},hide:function(v,x){var u=d(this);if(!v){v=u.data("contextMenu")||{}}if(!x&&v.events&&v.events.hide.call(u,v)===false){return}u.removeData("contextMenu").removeClass("context-menu-active");if(v.$layer){setTimeout((function(z){return function(){z.remove()}})(v.$layer),10);try{delete v.$layer}catch(y){v.$layer=null}}r=null;v.$menu.find(".hover").trigger("contextmenu:blur");v.$selected=null;d(document).off(".contextMenuAutoHide").off("keydown.contextMenu");v.$menu&&v.$menu[v.animation.hide](v.animation.duration,function(){if(v.build){v.$menu.remove();d.each(v,function(z,A){switch(z){case"ns":case"selector":case"build":case"trigger":return true;default:v[z]=e;try{delete v[z]}catch(B){}return true}})}setTimeout(function(){u.trigger("contextmenu:hidden")},10)})},create:function(v,u){if(u===e){u=v}v.$menu=d('
        ').addClass(v.className||"").data({contextMenu:v,contextMenuRoot:u});d.each(["callbacks","commands","inputs"],function(y,x){v[x]={};if(!u[x]){u[x]={}}});u.accesskeys||(u.accesskeys={});d.each(v.items,function(z,A){var E=d('
      • ').addClass(A.className||""),x=null,D=null;E.on("click",d.noop);A.$node=E.data({contextMenu:v,contextMenuRoot:u,contextMenuKey:z});if(A.accesskey){var B=o(A.accesskey);for(var y=0,C;C=B[y];y++){if(!u.accesskeys[C]){u.accesskeys[C]=A;A._name=A.name.replace(new RegExp("("+C+")","i"),'$1');break}}}if(typeof A=="string"){E.addClass("context-menu-separator not-selectable")}else{if(A.type&&m[A.type]){m[A.type].call(E,A,v,u);d.each([v,u],function(G,F){F.commands[z]=A;if(d.isFunction(A.callback)){F.callbacks[z]=A.callback}})}else{if(A.type=="html"){E.addClass("context-menu-html not-selectable")}else{if(A.type){x=d("").appendTo(E);d("").html(A._name||A.name).appendTo(x);E.addClass("context-menu-input");v.hasTypes=true;d.each([v,u],function(G,F){F.commands[z]=A;F.inputs[z]=A})}else{if(A.items){A.type="sub"}}}switch(A.type){case"text":D=d('').attr("name","context-menu-input-"+z).val(A.value||"").appendTo(x);break;case"textarea":D=d('').attr("name","context-menu-input-"+z).val(A.value||"").appendTo(x);if(A.height){D.height(A.height)}break;case"checkbox":D=d('').attr("name","context-menu-input-"+z).val(A.value||"").prop("checked",!!A.selected).prependTo(x);break;case"radio":D=d('').attr("name","context-menu-input-"+A.radio).val(A.value||"").prop("checked",!!A.selected).prependTo(x);break;case"select":D=d('
        ';for(var B in C[x]){if(JSON.stringify(C[x][B][0])===undefined){}else{var G=C[x][B][0];var z=C[x][B][1];for(var t in G){var F=(G[t].qualifiedTitle)?G[t].qualifiedTitle:z[t].qualifiedTitle;if(G[t].deleted){E+='
        Deleted Item: '+F+"
        "}else{if((z[t].isolated)||(G[t].isolated)){E+='
        New Item: '+F+"
        "}else{E+='
        Item: '+F+"
        "}E+="";for(var r in G[t].attributes){var v=((H)&&(H[r]))?H[r]:r;var s=z[t].attributes[r];var A=G[t].attributes[r];if(A instanceof Object){if(s===undefined){s={}}for(var y in A){E+='"}}else{E+='"}}for(var r in G[t]){if((r!==undefined)&&(r!=="attributes")){var v=((H)&&(H[r]))?H[r]:r;var s=z[t][r];var A=G[t][r];E+='"}}E+="
        Selection NameOriginal ValueNew Value
        '+v+"["+y+']:'+s[y]+''+A[y]+"
        '+v+':'+s+''+A+"
        '+v+':'+s+''+A+"
        "}}}}E+="
        "}E+=""}}_PlasticRuntime.system.cart.list.html(E);c(".plastic-commitgroup-wrap button").button()}});if(_PlasticRuntime.system.feedback===undefined){_PlasticRuntime.system.feedback=c('