• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

javascriptを利用してepgrecの見た目、使い勝手を改善します


Commit MetaInfo

Revisãoeb86ef4ceff7c2f2c13be235b41e966609ae3809 (tree)
Hora2012-04-04 02:21:31
Autortrumphouse <trumphouse@user...>
Commitertrumphouse

Mensagem de Log

ver 0.1.1

番組の長さの計算ミス修正
番組表の番組選択後、他の番組をクリックした時はその番組を選択するように変更
番組表の予約カスタマイズが画面からはみ出ないように修正
番組表の長さが24時間以上の時、時間帯選択欄は開始の1時間のみを示すように変更
ディスク残量表示方法を変更。epgrecを改造しなくてもいいように、ディスク残量を取得できるphpスクリプトを同封。番組削除後に残量表示自動更新
録画済一覧同様に、録画予約一覧にも対応
録画予約一覧のディスク残量表示には予約領域も表示
録画一覧、moreで番組内容全表示、全表示状態でテキスト選択可能に
録画済一覧の「「録画ファイルも削除する」のチェックボックス初期値変更
その他もろもろ

Signed-off-by: trumphouse <trumphouse@users.sourceforge.jp>

Mudança Sumário

  • delete: assist/docs/css/bootstrap-responsive.min.css
  • delete: assist/docs/css/bootstrap.min.css
  • delete: assist/docs/img/ext_recorded_diskinfo.jpg
  • delete: assist/docs/img/ext_recorded_filesize.jpg
  • delete: assist/docs/img/glyphicons-halflings-white.png
  • delete: assist/docs/img/glyphicons-halflings.png
  • delete: assist/docs/img/title_bg.png
  • delete: assist/docs/index.html
  • delete: assist/docs/js/bootstrap.min.js
  • delete: assist/docs/js/jquery.min.js
  • delete: assist/docs/js/prettify.css
  • delete: assist/docs/js/prettify.js
  • modified: assist/js/epgrec_assist.js (diff)
  • add: assist/tools/diskinfo.php (diff)
  • modified: readme.txt (diff)

Diff

--- a/assist/docs/css/bootstrap-responsive.min.css
+++ /dev/null
@@ -1,12 +0,0 @@
1-.clearfix{*zoom:1;}.clearfix:before,.clearfix:after{display:table;content:"";}
2-.clearfix:after{clear:both;}
3-.hide-text{overflow:hidden;text-indent:100%;white-space:nowrap;}
4-.input-block-level{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;}
5-.hidden{display:none;visibility:hidden;}
6-.visible-phone{display:none;}
7-.visible-tablet{display:none;}
8-.visible-desktop{display:block;}
9-.hidden-phone{display:block;}
10-.hidden-tablet{display:block;}
11-.hidden-desktop{display:none;}
12-@media (max-width:767px){.visible-phone{display:block;} .hidden-phone{display:none;} .hidden-desktop{display:block;} .visible-desktop{display:none;}}@media (min-width:768px) and (max-width:979px){.visible-tablet{display:block;} .hidden-tablet{display:none;} .hidden-desktop{display:block;} .visible-desktop{display:none;}}@media (max-width:480px){.nav-collapse{-webkit-transform:translate3d(0, 0, 0);} .page-header h1 small{display:block;line-height:18px;} input[type="checkbox"],input[type="radio"]{border:1px solid #ccc;} .form-horizontal .control-group>label{float:none;width:auto;padding-top:0;text-align:left;} .form-horizontal .controls{margin-left:0;} .form-horizontal .control-list{padding-top:0;} .form-horizontal .form-actions{padding-left:10px;padding-right:10px;} .modal{position:absolute;top:10px;left:10px;right:10px;width:auto;margin:0;}.modal.fade.in{top:auto;} .modal-header .close{padding:10px;margin:-10px;} .carousel-caption{position:static;}}@media (max-width:767px){body{padding-left:20px;padding-right:20px;} .navbar-fixed-top{margin-left:-20px;margin-right:-20px;} .container{width:auto;} .row-fluid{width:100%;} .row{margin-left:0;} .row>[class*="span"],.row-fluid>[class*="span"]{float:none;display:block;width:auto;margin:0;} .thumbnails [class*="span"]{width:auto;} input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;} .input-prepend input[class*="span"],.input-append input[class*="span"]{width:auto;}}@media (min-width:768px) and (max-width:979px){.row{margin-left:-20px;*zoom:1;}.row:before,.row:after{display:table;content:"";} .row:after{clear:both;} [class*="span"]{float:left;margin-left:20px;} .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:724px;} .span12{width:724px;} .span11{width:662px;} .span10{width:600px;} .span9{width:538px;} .span8{width:476px;} .span7{width:414px;} .span6{width:352px;} .span5{width:290px;} .span4{width:228px;} .span3{width:166px;} .span2{width:104px;} .span1{width:42px;} .offset12{margin-left:764px;} .offset11{margin-left:702px;} .offset10{margin-left:640px;} .offset9{margin-left:578px;} .offset8{margin-left:516px;} .offset7{margin-left:454px;} .offset6{margin-left:392px;} .offset5{margin-left:330px;} .offset4{margin-left:268px;} .offset3{margin-left:206px;} .offset2{margin-left:144px;} .offset1{margin-left:82px;} .row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:"";} .row-fluid:after{clear:both;} .row-fluid>[class*="span"]{float:left;margin-left:2.762430939%;} .row-fluid>[class*="span"]:first-child{margin-left:0;} .row-fluid > .span12{width:99.999999993%;} .row-fluid > .span11{width:91.436464082%;} .row-fluid > .span10{width:82.87292817100001%;} .row-fluid > .span9{width:74.30939226%;} .row-fluid > .span8{width:65.74585634900001%;} .row-fluid > .span7{width:57.182320438000005%;} .row-fluid > .span6{width:48.618784527%;} .row-fluid > .span5{width:40.055248616%;} .row-fluid > .span4{width:31.491712705%;} .row-fluid > .span3{width:22.928176794%;} .row-fluid > .span2{width:14.364640883%;} .row-fluid > .span1{width:5.801104972%;} input,textarea,.uneditable-input{margin-left:0;} input.span12, textarea.span12, .uneditable-input.span12{width:714px;} input.span11, textarea.span11, .uneditable-input.span11{width:652px;} input.span10, textarea.span10, .uneditable-input.span10{width:590px;} input.span9, textarea.span9, .uneditable-input.span9{width:528px;} input.span8, textarea.span8, .uneditable-input.span8{width:466px;} input.span7, textarea.span7, .uneditable-input.span7{width:404px;} input.span6, textarea.span6, .uneditable-input.span6{width:342px;} input.span5, textarea.span5, .uneditable-input.span5{width:280px;} input.span4, textarea.span4, .uneditable-input.span4{width:218px;} input.span3, textarea.span3, .uneditable-input.span3{width:156px;} input.span2, textarea.span2, .uneditable-input.span2{width:94px;} input.span1, textarea.span1, .uneditable-input.span1{width:32px;}}@media (max-width:979px){body{padding-top:0;} .navbar-fixed-top{position:static;margin-bottom:18px;} .navbar-fixed-top .navbar-inner{padding:5px;} .navbar .container{width:auto;padding:0;} .navbar .brand{padding-left:10px;padding-right:10px;margin:0 0 0 -5px;} .navbar .nav-collapse{clear:left;} .navbar .nav{float:none;margin:0 0 9px;} .navbar .nav>li{float:none;} .navbar .nav>li>a{margin-bottom:2px;} .navbar .nav>.divider-vertical{display:none;} .navbar .nav .nav-header{color:#999999;text-shadow:none;} .navbar .nav>li>a,.navbar .dropdown-menu a{padding:6px 15px;font-weight:bold;color:#999999;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;} .navbar .dropdown-menu li+li a{margin-bottom:2px;} .navbar .nav>li>a:hover,.navbar .dropdown-menu a:hover{background-color:#222222;} .navbar .dropdown-menu{position:static;top:auto;left:auto;float:none;display:block;max-width:none;margin:0 15px;padding:0;background-color:transparent;border:none;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;} .navbar .dropdown-menu:before,.navbar .dropdown-menu:after{display:none;} .navbar .dropdown-menu .divider{display:none;} .navbar-form,.navbar-search{float:none;padding:9px 15px;margin:9px 0;border-top:1px solid #222222;border-bottom:1px solid #222222;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.1);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.1);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.1);} .navbar .nav.pull-right{float:none;margin-left:0;} .navbar-static .navbar-inner{padding-left:10px;padding-right:10px;} .btn-navbar{display:block;} .nav-collapse{overflow:hidden;height:0;}}@media (min-width:980px){.nav-collapse.collapse{height:auto !important;overflow:visible !important;}}@media (min-width:1200px){.row{margin-left:-30px;*zoom:1;}.row:before,.row:after{display:table;content:"";} .row:after{clear:both;} [class*="span"]{float:left;margin-left:30px;} .container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:1170px;} .span12{width:1170px;} .span11{width:1070px;} .span10{width:970px;} .span9{width:870px;} .span8{width:770px;} .span7{width:670px;} .span6{width:570px;} .span5{width:470px;} .span4{width:370px;} .span3{width:270px;} .span2{width:170px;} .span1{width:70px;} .offset12{margin-left:1230px;} .offset11{margin-left:1130px;} .offset10{margin-left:1030px;} .offset9{margin-left:930px;} .offset8{margin-left:830px;} .offset7{margin-left:730px;} .offset6{margin-left:630px;} .offset5{margin-left:530px;} .offset4{margin-left:430px;} .offset3{margin-left:330px;} .offset2{margin-left:230px;} .offset1{margin-left:130px;} .row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:"";} .row-fluid:after{clear:both;} .row-fluid>[class*="span"]{float:left;margin-left:2.564102564%;} .row-fluid>[class*="span"]:first-child{margin-left:0;} .row-fluid > .span12{width:100%;} .row-fluid > .span11{width:91.45299145300001%;} .row-fluid > .span10{width:82.905982906%;} .row-fluid > .span9{width:74.358974359%;} .row-fluid > .span8{width:65.81196581200001%;} .row-fluid > .span7{width:57.264957265%;} .row-fluid > .span6{width:48.717948718%;} .row-fluid > .span5{width:40.170940171000005%;} .row-fluid > .span4{width:31.623931624%;} .row-fluid > .span3{width:23.076923077%;} .row-fluid > .span2{width:14.529914530000001%;} .row-fluid > .span1{width:5.982905983%;} input,textarea,.uneditable-input{margin-left:0;} input.span12, textarea.span12, .uneditable-input.span12{width:1160px;} input.span11, textarea.span11, .uneditable-input.span11{width:1060px;} input.span10, textarea.span10, .uneditable-input.span10{width:960px;} input.span9, textarea.span9, .uneditable-input.span9{width:860px;} input.span8, textarea.span8, .uneditable-input.span8{width:760px;} input.span7, textarea.span7, .uneditable-input.span7{width:660px;} input.span6, textarea.span6, .uneditable-input.span6{width:560px;} input.span5, textarea.span5, .uneditable-input.span5{width:460px;} input.span4, textarea.span4, .uneditable-input.span4{width:360px;} input.span3, textarea.span3, .uneditable-input.span3{width:260px;} input.span2, textarea.span2, .uneditable-input.span2{width:160px;} input.span1, textarea.span1, .uneditable-input.span1{width:60px;} .thumbnails{margin-left:-30px;} .thumbnails>li{margin-left:30px;}}
--- a/assist/docs/css/bootstrap.min.css
+++ /dev/null
@@ -1,689 +0,0 @@
1-article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block;}
2-audio,canvas,video{display:inline-block;*display:inline;*zoom:1;}
3-audio:not([controls]){display:none;}
4-html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}
5-a:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;}
6-a:hover,a:active{outline:0;}
7-sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline;}
8-sup{top:-0.5em;}
9-sub{bottom:-0.25em;}
10-img{height:auto;border:0;-ms-interpolation-mode:bicubic;vertical-align:middle;}
11-button,input,select,textarea{margin:0;font-size:100%;vertical-align:middle;}
12-button,input{*overflow:visible;line-height:normal;}
13-button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0;}
14-button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;}
15-input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;}
16-input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;}
17-textarea{overflow:auto;vertical-align:top;}
18-.clearfix{*zoom:1;}.clearfix:before,.clearfix:after{display:table;content:"";}
19-.clearfix:after{clear:both;}
20-.hide-text{overflow:hidden;text-indent:100%;white-space:nowrap;}
21-.input-block-level{display:block;width:100%;min-height:28px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;}
22-body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;color:#333333;background-color:#ffffff;}
23-a{color:#0088cc;text-decoration:none;}
24-a:hover{color:#005580;text-decoration:underline;}
25-.row{margin-left:-20px;*zoom:1;}.row:before,.row:after{display:table;content:"";}
26-.row:after{clear:both;}
27-[class*="span"]{float:left;margin-left:20px;}
28-.container,.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px;}
29-.span12{width:940px;}
30-.span11{width:860px;}
31-.span10{width:780px;}
32-.span9{width:700px;}
33-.span8{width:620px;}
34-.span7{width:540px;}
35-.span6{width:460px;}
36-.span5{width:380px;}
37-.span4{width:300px;}
38-.span3{width:220px;}
39-.span2{width:140px;}
40-.span1{width:60px;}
41-.offset12{margin-left:980px;}
42-.offset11{margin-left:900px;}
43-.offset10{margin-left:820px;}
44-.offset9{margin-left:740px;}
45-.offset8{margin-left:660px;}
46-.offset7{margin-left:580px;}
47-.offset6{margin-left:500px;}
48-.offset5{margin-left:420px;}
49-.offset4{margin-left:340px;}
50-.offset3{margin-left:260px;}
51-.offset2{margin-left:180px;}
52-.offset1{margin-left:100px;}
53-.row-fluid{width:100%;*zoom:1;}.row-fluid:before,.row-fluid:after{display:table;content:"";}
54-.row-fluid:after{clear:both;}
55-.row-fluid>[class*="span"]{float:left;margin-left:2.127659574%;}
56-.row-fluid>[class*="span"]:first-child{margin-left:0;}
57-.row-fluid > .span12{width:99.99999998999999%;}
58-.row-fluid > .span11{width:91.489361693%;}
59-.row-fluid > .span10{width:82.97872339599999%;}
60-.row-fluid > .span9{width:74.468085099%;}
61-.row-fluid > .span8{width:65.95744680199999%;}
62-.row-fluid > .span7{width:57.446808505%;}
63-.row-fluid > .span6{width:48.93617020799999%;}
64-.row-fluid > .span5{width:40.425531911%;}
65-.row-fluid > .span4{width:31.914893614%;}
66-.row-fluid > .span3{width:23.404255317%;}
67-.row-fluid > .span2{width:14.89361702%;}
68-.row-fluid > .span1{width:6.382978723%;}
69-.container{margin-left:auto;margin-right:auto;*zoom:1;}.container:before,.container:after{display:table;content:"";}
70-.container:after{clear:both;}
71-.container-fluid{padding-left:20px;padding-right:20px;*zoom:1;}.container-fluid:before,.container-fluid:after{display:table;content:"";}
72-.container-fluid:after{clear:both;}
73-p{margin:0 0 9px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;line-height:18px;}p small{font-size:11px;color:#999999;}
74-.lead{margin-bottom:18px;font-size:20px;font-weight:200;line-height:27px;}
75-h1,h2,h3,h4,h5,h6{margin:0;font-family:inherit;font-weight:bold;color:inherit;text-rendering:optimizelegibility;}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{font-weight:normal;color:#999999;}
76-h1{font-size:30px;line-height:36px;}h1 small{font-size:18px;}
77-h2{font-size:24px;line-height:36px;}h2 small{font-size:18px;}
78-h3{line-height:27px;font-size:18px;}h3 small{font-size:14px;}
79-h4,h5,h6{line-height:18px;}
80-h4{font-size:14px;}h4 small{font-size:12px;}
81-h5{font-size:12px;}
82-h6{font-size:11px;color:#999999;text-transform:uppercase;}
83-.page-header{padding-bottom:17px;margin:18px 0;border-bottom:1px solid #eeeeee;}
84-.page-header h1{line-height:1;}
85-ul,ol{padding:0;margin:0 0 9px 25px;}
86-ul ul,ul ol,ol ol,ol ul{margin-bottom:0;}
87-ul{list-style:disc;}
88-ol{list-style:decimal;}
89-li{line-height:18px;}
90-ul.unstyled,ol.unstyled{margin-left:0;list-style:none;}
91-dl{margin-bottom:18px;}
92-dt,dd{line-height:18px;}
93-dt{font-weight:bold;line-height:17px;}
94-dd{margin-left:9px;}
95-.dl-horizontal dt{float:left;clear:left;width:120px;text-align:right;}
96-.dl-horizontal dd{margin-left:130px;}
97-hr{margin:18px 0;border:0;border-top:1px solid #eeeeee;border-bottom:1px solid #ffffff;}
98-strong{font-weight:bold;}
99-em{font-style:italic;}
100-.muted{color:#999999;}
101-abbr[title]{border-bottom:1px dotted #ddd;cursor:help;}
102-abbr.initialism{font-size:90%;text-transform:uppercase;}
103-blockquote{padding:0 0 0 15px;margin:0 0 18px;border-left:5px solid #eeeeee;}blockquote p{margin-bottom:0;font-size:16px;font-weight:300;line-height:22.5px;}
104-blockquote small{display:block;line-height:18px;color:#999999;}blockquote small:before{content:'\2014 \00A0';}
105-blockquote.pull-right{float:right;padding-left:0;padding-right:15px;border-left:0;border-right:5px solid #eeeeee;}blockquote.pull-right p,blockquote.pull-right small{text-align:right;}
106-q:before,q:after,blockquote:before,blockquote:after{content:"";}
107-address{display:block;margin-bottom:18px;line-height:18px;font-style:normal;}
108-small{font-size:100%;}
109-cite{font-style:normal;}
110-code,pre{padding:0 3px 2px;font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;color:#333333;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
111-code{padding:2px 4px;color:#d14;background-color:#f7f7f9;border:1px solid #e1e1e8;}
112-pre{display:block;padding:8.5px;margin:0 0 9px;font-size:12.025px;line-height:18px;background-color:#f5f5f5;border:1px solid #ccc;border:1px solid rgba(0, 0, 0, 0.15);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;white-space:pre;white-space:pre-wrap;word-break:break-all;word-wrap:break-word;}pre.prettyprint{margin-bottom:18px;}
113-pre code{padding:0;color:inherit;background-color:transparent;border:0;}
114-.pre-scrollable{max-height:340px;overflow-y:scroll;}
115-form{margin:0 0 18px;}
116-fieldset{padding:0;margin:0;border:0;}
117-legend{display:block;width:100%;padding:0;margin-bottom:27px;font-size:19.5px;line-height:36px;color:#333333;border:0;border-bottom:1px solid #eee;}legend small{font-size:13.5px;color:#999999;}
118-label,input,button,select,textarea{font-size:13px;font-weight:normal;line-height:18px;}
119-input,button,select,textarea{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;}
120-label{display:block;margin-bottom:5px;color:#333333;}
121-input,textarea,select,.uneditable-input{display:inline-block;width:210px;height:18px;padding:4px;margin-bottom:9px;font-size:13px;line-height:18px;color:#555555;border:1px solid #cccccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
122-.uneditable-textarea{width:auto;height:auto;}
123-label input,label textarea,label select{display:block;}
124-input[type="image"],input[type="checkbox"],input[type="radio"]{width:auto;height:auto;padding:0;margin:3px 0;*margin-top:0;line-height:normal;cursor:pointer;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border:0 \9;}
125-input[type="image"]{border:0;}
126-input[type="file"]{width:auto;padding:initial;line-height:initial;border:initial;background-color:#ffffff;background-color:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
127-input[type="button"],input[type="reset"],input[type="submit"]{width:auto;height:auto;}
128-select,input[type="file"]{height:28px;*margin-top:4px;line-height:28px;}
129-input[type="file"]{line-height:18px \9;}
130-select{width:220px;background-color:#ffffff;}
131-select[multiple],select[size]{height:auto;}
132-input[type="image"]{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
133-textarea{height:auto;}
134-input[type="hidden"]{display:none;}
135-.radio,.checkbox{padding-left:18px;}
136-.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-18px;}
137-.controls>.radio:first-child,.controls>.checkbox:first-child{padding-top:5px;}
138-.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle;}
139-.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px;}
140-input,textarea{-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-webkit-transition:border linear 0.2s,box-shadow linear 0.2s;-moz-transition:border linear 0.2s,box-shadow linear 0.2s;-ms-transition:border linear 0.2s,box-shadow linear 0.2s;-o-transition:border linear 0.2s,box-shadow linear 0.2s;transition:border linear 0.2s,box-shadow linear 0.2s;}
141-input:focus,textarea:focus{border-color:rgba(82, 168, 236, 0.8);-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(82, 168, 236, 0.6);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(82, 168, 236, 0.6);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075),0 0 8px rgba(82, 168, 236, 0.6);outline:0;outline:thin dotted \9;}
142-input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus,select:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;}
143-.input-mini{width:60px;}
144-.input-small{width:90px;}
145-.input-medium{width:150px;}
146-.input-large{width:210px;}
147-.input-xlarge{width:270px;}
148-.input-xxlarge{width:530px;}
149-input[class*="span"],select[class*="span"],textarea[class*="span"],.uneditable-input{float:none;margin-left:0;}
150-input,textarea,.uneditable-input{margin-left:0;}
151-input.span12, textarea.span12, .uneditable-input.span12{width:930px;}
152-input.span11, textarea.span11, .uneditable-input.span11{width:850px;}
153-input.span10, textarea.span10, .uneditable-input.span10{width:770px;}
154-input.span9, textarea.span9, .uneditable-input.span9{width:690px;}
155-input.span8, textarea.span8, .uneditable-input.span8{width:610px;}
156-input.span7, textarea.span7, .uneditable-input.span7{width:530px;}
157-input.span6, textarea.span6, .uneditable-input.span6{width:450px;}
158-input.span5, textarea.span5, .uneditable-input.span5{width:370px;}
159-input.span4, textarea.span4, .uneditable-input.span4{width:290px;}
160-input.span3, textarea.span3, .uneditable-input.span3{width:210px;}
161-input.span2, textarea.span2, .uneditable-input.span2{width:130px;}
162-input.span1, textarea.span1, .uneditable-input.span1{width:50px;}
163-input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{background-color:#eeeeee;border-color:#ddd;cursor:not-allowed;}
164-.control-group.warning>label,.control-group.warning .help-block,.control-group.warning .help-inline{color:#c09853;}
165-.control-group.warning input,.control-group.warning select,.control-group.warning textarea{color:#c09853;border-color:#c09853;}.control-group.warning input:focus,.control-group.warning select:focus,.control-group.warning textarea:focus{border-color:#a47e3c;-webkit-box-shadow:0 0 6px #dbc59e;-moz-box-shadow:0 0 6px #dbc59e;box-shadow:0 0 6px #dbc59e;}
166-.control-group.warning .input-prepend .add-on,.control-group.warning .input-append .add-on{color:#c09853;background-color:#fcf8e3;border-color:#c09853;}
167-.control-group.error>label,.control-group.error .help-block,.control-group.error .help-inline{color:#b94a48;}
168-.control-group.error input,.control-group.error select,.control-group.error textarea{color:#b94a48;border-color:#b94a48;}.control-group.error input:focus,.control-group.error select:focus,.control-group.error textarea:focus{border-color:#953b39;-webkit-box-shadow:0 0 6px #d59392;-moz-box-shadow:0 0 6px #d59392;box-shadow:0 0 6px #d59392;}
169-.control-group.error .input-prepend .add-on,.control-group.error .input-append .add-on{color:#b94a48;background-color:#f2dede;border-color:#b94a48;}
170-.control-group.success>label,.control-group.success .help-block,.control-group.success .help-inline{color:#468847;}
171-.control-group.success input,.control-group.success select,.control-group.success textarea{color:#468847;border-color:#468847;}.control-group.success input:focus,.control-group.success select:focus,.control-group.success textarea:focus{border-color:#356635;-webkit-box-shadow:0 0 6px #7aba7b;-moz-box-shadow:0 0 6px #7aba7b;box-shadow:0 0 6px #7aba7b;}
172-.control-group.success .input-prepend .add-on,.control-group.success .input-append .add-on{color:#468847;background-color:#dff0d8;border-color:#468847;}
173-input:focus:required:invalid,textarea:focus:required:invalid,select:focus:required:invalid{color:#b94a48;border-color:#ee5f5b;}input:focus:required:invalid:focus,textarea:focus:required:invalid:focus,select:focus:required:invalid:focus{border-color:#e9322d;-webkit-box-shadow:0 0 6px #f8b9b7;-moz-box-shadow:0 0 6px #f8b9b7;box-shadow:0 0 6px #f8b9b7;}
174-.form-actions{padding:17px 20px 18px;margin-top:18px;margin-bottom:18px;background-color:#eeeeee;border-top:1px solid #ddd;*zoom:1;}.form-actions:before,.form-actions:after{display:table;content:"";}
175-.form-actions:after{clear:both;}
176-.uneditable-input{display:block;background-color:#ffffff;border-color:#eee;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.025);cursor:not-allowed;}
177-:-moz-placeholder{color:#999999;}
178-::-webkit-input-placeholder{color:#999999;}
179-.help-block,.help-inline{color:#555555;}
180-.help-block{display:block;margin-bottom:9px;}
181-.help-inline{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;padding-left:5px;}
182-.input-prepend,.input-append{margin-bottom:5px;}.input-prepend input,.input-append input,.input-prepend select,.input-append select,.input-prepend .uneditable-input,.input-append .uneditable-input{*margin-left:0;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}.input-prepend input:focus,.input-append input:focus,.input-prepend select:focus,.input-append select:focus,.input-prepend .uneditable-input:focus,.input-append .uneditable-input:focus{position:relative;z-index:2;}
183-.input-prepend .uneditable-input,.input-append .uneditable-input{border-left-color:#ccc;}
184-.input-prepend .add-on,.input-append .add-on{display:inline-block;width:auto;min-width:16px;height:18px;padding:4px 5px;font-weight:normal;line-height:18px;text-align:center;text-shadow:0 1px 0 #ffffff;vertical-align:middle;background-color:#eeeeee;border:1px solid #ccc;}
185-.input-prepend .add-on,.input-append .add-on,.input-prepend .btn,.input-append .btn{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
186-.input-prepend .active,.input-append .active{background-color:#a9dba9;border-color:#46a546;}
187-.input-prepend .add-on,.input-prepend .btn{margin-right:-1px;}
188-.input-append input,.input-append select .uneditable-input{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
189-.input-append .uneditable-input{border-left-color:#eee;border-right-color:#ccc;}
190-.input-append .add-on,.input-append .btn{margin-left:-1px;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}
191-.input-prepend.input-append input,.input-prepend.input-append select,.input-prepend.input-append .uneditable-input{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}
192-.input-prepend.input-append .add-on:first-child,.input-prepend.input-append .btn:first-child{margin-right:-1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
193-.input-prepend.input-append .add-on:last-child,.input-prepend.input-append .btn:last-child{margin-left:-1px;-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}
194-.search-query{padding-left:14px;padding-right:14px;margin-bottom:0;-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px;}
195-.form-search input,.form-inline input,.form-horizontal input,.form-search textarea,.form-inline textarea,.form-horizontal textarea,.form-search select,.form-inline select,.form-horizontal select,.form-search .help-inline,.form-inline .help-inline,.form-horizontal .help-inline,.form-search .uneditable-input,.form-inline .uneditable-input,.form-horizontal .uneditable-input,.form-search .input-prepend,.form-inline .input-prepend,.form-horizontal .input-prepend,.form-search .input-append,.form-inline .input-append,.form-horizontal .input-append{display:inline-block;margin-bottom:0;}
196-.form-search .hide,.form-inline .hide,.form-horizontal .hide{display:none;}
197-.form-search label,.form-inline label{display:inline-block;}
198-.form-search .input-append,.form-inline .input-append,.form-search .input-prepend,.form-inline .input-prepend{margin-bottom:0;}
199-.form-search .radio,.form-search .checkbox,.form-inline .radio,.form-inline .checkbox{padding-left:0;margin-bottom:0;vertical-align:middle;}
200-.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"],.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-left:0;margin-right:3px;}
201-.control-group{margin-bottom:9px;}
202-legend+.control-group{margin-top:18px;-webkit-margin-top-collapse:separate;}
203-.form-horizontal .control-group{margin-bottom:18px;*zoom:1;}.form-horizontal .control-group:before,.form-horizontal .control-group:after{display:table;content:"";}
204-.form-horizontal .control-group:after{clear:both;}
205-.form-horizontal .control-label{float:left;width:140px;padding-top:5px;text-align:right;}
206-.form-horizontal .controls{margin-left:160px;*display:inline-block;*margin-left:0;*padding-left:20px;}
207-.form-horizontal .help-block{margin-top:9px;margin-bottom:0;}
208-.form-horizontal .form-actions{padding-left:160px;}
209-table{max-width:100%;border-collapse:collapse;border-spacing:0;background-color:transparent;}
210-.table{width:100%;margin-bottom:18px;}.table th,.table td{padding:8px;line-height:18px;text-align:left;vertical-align:top;border-top:1px solid #dddddd;}
211-.table th{font-weight:bold;}
212-.table thead th{vertical-align:bottom;}
213-.table colgroup+thead tr:first-child th,.table colgroup+thead tr:first-child td,.table thead:first-child tr:first-child th,.table thead:first-child tr:first-child td{border-top:0;}
214-.table tbody+tbody{border-top:2px solid #dddddd;}
215-.table-condensed th,.table-condensed td{padding:4px 5px;}
216-.table-bordered{border:1px solid #dddddd;border-left:0;border-collapse:separate;*border-collapse:collapsed;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}.table-bordered th,.table-bordered td{border-left:1px solid #dddddd;}
217-.table-bordered thead:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child th,.table-bordered tbody:first-child tr:first-child td{border-top:0;}
218-.table-bordered thead:first-child tr:first-child th:first-child,.table-bordered tbody:first-child tr:first-child td:first-child{-webkit-border-radius:4px 0 0 0;-moz-border-radius:4px 0 0 0;border-radius:4px 0 0 0;}
219-.table-bordered thead:first-child tr:first-child th:last-child,.table-bordered tbody:first-child tr:first-child td:last-child{-webkit-border-radius:0 4px 0 0;-moz-border-radius:0 4px 0 0;border-radius:0 4px 0 0;}
220-.table-bordered thead:last-child tr:last-child th:first-child,.table-bordered tbody:last-child tr:last-child td:first-child{-webkit-border-radius:0 0 0 4px;-moz-border-radius:0 0 0 4px;border-radius:0 0 0 4px;}
221-.table-bordered thead:last-child tr:last-child th:last-child,.table-bordered tbody:last-child tr:last-child td:last-child{-webkit-border-radius:0 0 4px 0;-moz-border-radius:0 0 4px 0;border-radius:0 0 4px 0;}
222-.table-striped tbody tr:nth-child(odd) td,.table-striped tbody tr:nth-child(odd) th{background-color:#f9f9f9;}
223-.table tbody tr:hover td,.table tbody tr:hover th{background-color:#f5f5f5;}
224-table .span1{float:none;width:44px;margin-left:0;}
225-table .span2{float:none;width:124px;margin-left:0;}
226-table .span3{float:none;width:204px;margin-left:0;}
227-table .span4{float:none;width:284px;margin-left:0;}
228-table .span5{float:none;width:364px;margin-left:0;}
229-table .span6{float:none;width:444px;margin-left:0;}
230-table .span7{float:none;width:524px;margin-left:0;}
231-table .span8{float:none;width:604px;margin-left:0;}
232-table .span9{float:none;width:684px;margin-left:0;}
233-table .span10{float:none;width:764px;margin-left:0;}
234-table .span11{float:none;width:844px;margin-left:0;}
235-table .span12{float:none;width:924px;margin-left:0;}
236-table .span13{float:none;width:1004px;margin-left:0;}
237-table .span14{float:none;width:1084px;margin-left:0;}
238-table .span15{float:none;width:1164px;margin-left:0;}
239-table .span16{float:none;width:1244px;margin-left:0;}
240-table .span17{float:none;width:1324px;margin-left:0;}
241-table .span18{float:none;width:1404px;margin-left:0;}
242-table .span19{float:none;width:1484px;margin-left:0;}
243-table .span20{float:none;width:1564px;margin-left:0;}
244-table .span21{float:none;width:1644px;margin-left:0;}
245-table .span22{float:none;width:1724px;margin-left:0;}
246-table .span23{float:none;width:1804px;margin-left:0;}
247-table .span24{float:none;width:1884px;margin-left:0;}
248-[class^="icon-"],[class*=" icon-"]{display:inline-block;width:14px;height:14px;line-height:14px;vertical-align:text-top;background-image:url("../img/glyphicons-halflings.png");background-position:14px 14px;background-repeat:no-repeat;*margin-right:.3em;}[class^="icon-"]:last-child,[class*=" icon-"]:last-child{*margin-left:0;}
249-.icon-white{background-image:url("../img/glyphicons-halflings-white.png");}
250-.icon-glass{background-position:0 0;}
251-.icon-music{background-position:-24px 0;}
252-.icon-search{background-position:-48px 0;}
253-.icon-envelope{background-position:-72px 0;}
254-.icon-heart{background-position:-96px 0;}
255-.icon-star{background-position:-120px 0;}
256-.icon-star-empty{background-position:-144px 0;}
257-.icon-user{background-position:-168px 0;}
258-.icon-film{background-position:-192px 0;}
259-.icon-th-large{background-position:-216px 0;}
260-.icon-th{background-position:-240px 0;}
261-.icon-th-list{background-position:-264px 0;}
262-.icon-ok{background-position:-288px 0;}
263-.icon-remove{background-position:-312px 0;}
264-.icon-zoom-in{background-position:-336px 0;}
265-.icon-zoom-out{background-position:-360px 0;}
266-.icon-off{background-position:-384px 0;}
267-.icon-signal{background-position:-408px 0;}
268-.icon-cog{background-position:-432px 0;}
269-.icon-trash{background-position:-456px 0;}
270-.icon-home{background-position:0 -24px;}
271-.icon-file{background-position:-24px -24px;}
272-.icon-time{background-position:-48px -24px;}
273-.icon-road{background-position:-72px -24px;}
274-.icon-download-alt{background-position:-96px -24px;}
275-.icon-download{background-position:-120px -24px;}
276-.icon-upload{background-position:-144px -24px;}
277-.icon-inbox{background-position:-168px -24px;}
278-.icon-play-circle{background-position:-192px -24px;}
279-.icon-repeat{background-position:-216px -24px;}
280-.icon-refresh{background-position:-240px -24px;}
281-.icon-list-alt{background-position:-264px -24px;}
282-.icon-lock{background-position:-287px -24px;}
283-.icon-flag{background-position:-312px -24px;}
284-.icon-headphones{background-position:-336px -24px;}
285-.icon-volume-off{background-position:-360px -24px;}
286-.icon-volume-down{background-position:-384px -24px;}
287-.icon-volume-up{background-position:-408px -24px;}
288-.icon-qrcode{background-position:-432px -24px;}
289-.icon-barcode{background-position:-456px -24px;}
290-.icon-tag{background-position:0 -48px;}
291-.icon-tags{background-position:-25px -48px;}
292-.icon-book{background-position:-48px -48px;}
293-.icon-bookmark{background-position:-72px -48px;}
294-.icon-print{background-position:-96px -48px;}
295-.icon-camera{background-position:-120px -48px;}
296-.icon-font{background-position:-144px -48px;}
297-.icon-bold{background-position:-167px -48px;}
298-.icon-italic{background-position:-192px -48px;}
299-.icon-text-height{background-position:-216px -48px;}
300-.icon-text-width{background-position:-240px -48px;}
301-.icon-align-left{background-position:-264px -48px;}
302-.icon-align-center{background-position:-288px -48px;}
303-.icon-align-right{background-position:-312px -48px;}
304-.icon-align-justify{background-position:-336px -48px;}
305-.icon-list{background-position:-360px -48px;}
306-.icon-indent-left{background-position:-384px -48px;}
307-.icon-indent-right{background-position:-408px -48px;}
308-.icon-facetime-video{background-position:-432px -48px;}
309-.icon-picture{background-position:-456px -48px;}
310-.icon-pencil{background-position:0 -72px;}
311-.icon-map-marker{background-position:-24px -72px;}
312-.icon-adjust{background-position:-48px -72px;}
313-.icon-tint{background-position:-72px -72px;}
314-.icon-edit{background-position:-96px -72px;}
315-.icon-share{background-position:-120px -72px;}
316-.icon-check{background-position:-144px -72px;}
317-.icon-move{background-position:-168px -72px;}
318-.icon-step-backward{background-position:-192px -72px;}
319-.icon-fast-backward{background-position:-216px -72px;}
320-.icon-backward{background-position:-240px -72px;}
321-.icon-play{background-position:-264px -72px;}
322-.icon-pause{background-position:-288px -72px;}
323-.icon-stop{background-position:-312px -72px;}
324-.icon-forward{background-position:-336px -72px;}
325-.icon-fast-forward{background-position:-360px -72px;}
326-.icon-step-forward{background-position:-384px -72px;}
327-.icon-eject{background-position:-408px -72px;}
328-.icon-chevron-left{background-position:-432px -72px;}
329-.icon-chevron-right{background-position:-456px -72px;}
330-.icon-plus-sign{background-position:0 -96px;}
331-.icon-minus-sign{background-position:-24px -96px;}
332-.icon-remove-sign{background-position:-48px -96px;}
333-.icon-ok-sign{background-position:-72px -96px;}
334-.icon-question-sign{background-position:-96px -96px;}
335-.icon-info-sign{background-position:-120px -96px;}
336-.icon-screenshot{background-position:-144px -96px;}
337-.icon-remove-circle{background-position:-168px -96px;}
338-.icon-ok-circle{background-position:-192px -96px;}
339-.icon-ban-circle{background-position:-216px -96px;}
340-.icon-arrow-left{background-position:-240px -96px;}
341-.icon-arrow-right{background-position:-264px -96px;}
342-.icon-arrow-up{background-position:-289px -96px;}
343-.icon-arrow-down{background-position:-312px -96px;}
344-.icon-share-alt{background-position:-336px -96px;}
345-.icon-resize-full{background-position:-360px -96px;}
346-.icon-resize-small{background-position:-384px -96px;}
347-.icon-plus{background-position:-408px -96px;}
348-.icon-minus{background-position:-433px -96px;}
349-.icon-asterisk{background-position:-456px -96px;}
350-.icon-exclamation-sign{background-position:0 -120px;}
351-.icon-gift{background-position:-24px -120px;}
352-.icon-leaf{background-position:-48px -120px;}
353-.icon-fire{background-position:-72px -120px;}
354-.icon-eye-open{background-position:-96px -120px;}
355-.icon-eye-close{background-position:-120px -120px;}
356-.icon-warning-sign{background-position:-144px -120px;}
357-.icon-plane{background-position:-168px -120px;}
358-.icon-calendar{background-position:-192px -120px;}
359-.icon-random{background-position:-216px -120px;}
360-.icon-comment{background-position:-240px -120px;}
361-.icon-magnet{background-position:-264px -120px;}
362-.icon-chevron-up{background-position:-288px -120px;}
363-.icon-chevron-down{background-position:-313px -119px;}
364-.icon-retweet{background-position:-336px -120px;}
365-.icon-shopping-cart{background-position:-360px -120px;}
366-.icon-folder-close{background-position:-384px -120px;}
367-.icon-folder-open{background-position:-408px -120px;}
368-.icon-resize-vertical{background-position:-432px -119px;}
369-.icon-resize-horizontal{background-position:-456px -118px;}
370-.dropdown{position:relative;}
371-.dropdown-toggle{*margin-bottom:-3px;}
372-.dropdown-toggle:active,.open .dropdown-toggle{outline:0;}
373-.caret{display:inline-block;width:0;height:0;vertical-align:top;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #000000;opacity:0.3;filter:alpha(opacity=30);content:"";}
374-.dropdown .caret{margin-top:8px;margin-left:2px;}
375-.dropdown:hover .caret,.open.dropdown .caret{opacity:1;filter:alpha(opacity=100);}
376-.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;float:left;display:none;min-width:160px;padding:4px 0;margin:0;list-style:none;background-color:#ffffff;border-color:#ccc;border-color:rgba(0, 0, 0, 0.2);border-style:solid;border-width:1px;-webkit-border-radius:0 0 5px 5px;-moz-border-radius:0 0 5px 5px;border-radius:0 0 5px 5px;-webkit-box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);-moz-box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;*border-right-width:2px;*border-bottom-width:2px;}.dropdown-menu.pull-right{right:0;left:auto;}
377-.dropdown-menu .divider{height:1px;margin:8px 1px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff;*width:100%;*margin:-5px 0 5px;}
378-.dropdown-menu a{display:block;padding:3px 15px;clear:both;font-weight:normal;line-height:18px;color:#333333;white-space:nowrap;}
379-.dropdown-menu li>a:hover,.dropdown-menu .active>a,.dropdown-menu .active>a:hover{color:#ffffff;text-decoration:none;background-color:#0088cc;}
380-.dropdown.open{*z-index:1000;}.dropdown.open .dropdown-toggle{color:#ffffff;background:#ccc;background:rgba(0, 0, 0, 0.3);}
381-.dropdown.open .dropdown-menu{display:block;}
382-.pull-right .dropdown-menu{left:auto;right:0;}
383-.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px solid #000000;content:"\2191";}
384-.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:1px;}
385-.typeahead{margin-top:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
386-.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #eee;border:1px solid rgba(0, 0, 0, 0.05);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);}.well blockquote{border-color:#ddd;border-color:rgba(0, 0, 0, 0.15);}
387-.well-large{padding:24px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}
388-.well-small{padding:9px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
389-.fade{-webkit-transition:opacity 0.15s linear;-moz-transition:opacity 0.15s linear;-ms-transition:opacity 0.15s linear;-o-transition:opacity 0.15s linear;transition:opacity 0.15s linear;opacity:0;}.fade.in{opacity:1;}
390-.collapse{-webkit-transition:height 0.35s ease;-moz-transition:height 0.35s ease;-ms-transition:height 0.35s ease;-o-transition:height 0.35s ease;transition:height 0.35s ease;position:relative;overflow:hidden;height:0;}.collapse.in{height:auto;}
391-.close{float:right;font-size:20px;font-weight:bold;line-height:18px;color:#000000;text-shadow:0 1px 0 #ffffff;opacity:0.2;filter:alpha(opacity=20);}.close:hover{color:#000000;text-decoration:none;opacity:0.4;filter:alpha(opacity=40);cursor:pointer;}
392-.btn{display:inline-block;*display:inline;*zoom:1;padding:4px 10px 4px;margin-bottom:0;font-size:13px;line-height:18px;color:#333333;text-align:center;text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);vertical-align:middle;background-color:#f5f5f5;background-image:-moz-linear-gradient(top, #ffffff, #e6e6e6);background-image:-ms-linear-gradient(top, #ffffff, #e6e6e6);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));background-image:-webkit-linear-gradient(top, #ffffff, #e6e6e6);background-image:-o-linear-gradient(top, #ffffff, #e6e6e6);background-image:linear-gradient(top, #ffffff, #e6e6e6);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false);border:1px solid #cccccc;border-bottom-color:#b3b3b3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);cursor:pointer;*margin-left:.3em;}.btn:hover,.btn:active,.btn.active,.btn.disabled,.btn[disabled]{background-color:#e6e6e6;}
393-.btn:active,.btn.active{background-color:#cccccc \9;}
394-.btn:first-child{*margin-left:0;}
395-.btn:hover{color:#333333;text-decoration:none;background-color:#e6e6e6;background-position:0 -15px;-webkit-transition:background-position 0.1s linear;-moz-transition:background-position 0.1s linear;-ms-transition:background-position 0.1s linear;-o-transition:background-position 0.1s linear;transition:background-position 0.1s linear;}
396-.btn:focus{outline:thin dotted #333;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px;}
397-.btn.active,.btn:active{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 2px 4px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);background-color:#e6e6e6;background-color:#d9d9d9 \9;outline:0;}
398-.btn.disabled,.btn[disabled]{cursor:default;background-image:none;background-color:#e6e6e6;opacity:0.65;filter:alpha(opacity=65);-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;}
399-.btn-large{padding:9px 14px;font-size:15px;line-height:normal;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
400-.btn-large [class^="icon-"]{margin-top:1px;}
401-.btn-small{padding:5px 9px;font-size:11px;line-height:16px;}
402-.btn-small [class^="icon-"]{margin-top:-1px;}
403-.btn-mini{padding:2px 6px;font-size:11px;line-height:14px;}
404-.btn-primary,.btn-primary:hover,.btn-warning,.btn-warning:hover,.btn-danger,.btn-danger:hover,.btn-success,.btn-success:hover,.btn-info,.btn-info:hover,.btn-inverse,.btn-inverse:hover{text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);color:#ffffff;}
405-.btn-primary.active,.btn-warning.active,.btn-danger.active,.btn-success.active,.btn-info.active,.btn-inverse.active{color:rgba(255, 255, 255, 0.75);}
406-.btn-primary{background-color:#0074cc;background-image:-moz-linear-gradient(top, #0088cc, #0055cc);background-image:-ms-linear-gradient(top, #0088cc, #0055cc);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0055cc));background-image:-webkit-linear-gradient(top, #0088cc, #0055cc);background-image:-o-linear-gradient(top, #0088cc, #0055cc);background-image:linear-gradient(top, #0088cc, #0055cc);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0055cc', GradientType=0);border-color:#0055cc #0055cc #003580;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false);}.btn-primary:hover,.btn-primary:active,.btn-primary.active,.btn-primary.disabled,.btn-primary[disabled]{background-color:#0055cc;}
407-.btn-primary:active,.btn-primary.active{background-color:#004099 \9;}
408-.btn-warning{background-color:#faa732;background-image:-moz-linear-gradient(top, #fbb450, #f89406);background-image:-ms-linear-gradient(top, #fbb450, #f89406);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));background-image:-webkit-linear-gradient(top, #fbb450, #f89406);background-image:-o-linear-gradient(top, #fbb450, #f89406);background-image:linear-gradient(top, #fbb450, #f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);border-color:#f89406 #f89406 #ad6704;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false);}.btn-warning:hover,.btn-warning:active,.btn-warning.active,.btn-warning.disabled,.btn-warning[disabled]{background-color:#f89406;}
409-.btn-warning:active,.btn-warning.active{background-color:#c67605 \9;}
410-.btn-danger{background-color:#da4f49;background-image:-moz-linear-gradient(top, #ee5f5b, #bd362f);background-image:-ms-linear-gradient(top, #ee5f5b, #bd362f);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));background-image:-webkit-linear-gradient(top, #ee5f5b, #bd362f);background-image:-o-linear-gradient(top, #ee5f5b, #bd362f);background-image:linear-gradient(top, #ee5f5b, #bd362f);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0);border-color:#bd362f #bd362f #802420;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false);}.btn-danger:hover,.btn-danger:active,.btn-danger.active,.btn-danger.disabled,.btn-danger[disabled]{background-color:#bd362f;}
411-.btn-danger:active,.btn-danger.active{background-color:#942a25 \9;}
412-.btn-success{background-color:#5bb75b;background-image:-moz-linear-gradient(top, #62c462, #51a351);background-image:-ms-linear-gradient(top, #62c462, #51a351);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));background-image:-webkit-linear-gradient(top, #62c462, #51a351);background-image:-o-linear-gradient(top, #62c462, #51a351);background-image:linear-gradient(top, #62c462, #51a351);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351', GradientType=0);border-color:#51a351 #51a351 #387038;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false);}.btn-success:hover,.btn-success:active,.btn-success.active,.btn-success.disabled,.btn-success[disabled]{background-color:#51a351;}
413-.btn-success:active,.btn-success.active{background-color:#408140 \9;}
414-.btn-info{background-color:#49afcd;background-image:-moz-linear-gradient(top, #5bc0de, #2f96b4);background-image:-ms-linear-gradient(top, #5bc0de, #2f96b4);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));background-image:-webkit-linear-gradient(top, #5bc0de, #2f96b4);background-image:-o-linear-gradient(top, #5bc0de, #2f96b4);background-image:linear-gradient(top, #5bc0de, #2f96b4);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);border-color:#2f96b4 #2f96b4 #1f6377;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false);}.btn-info:hover,.btn-info:active,.btn-info.active,.btn-info.disabled,.btn-info[disabled]{background-color:#2f96b4;}
415-.btn-info:active,.btn-info.active{background-color:#24748c \9;}
416-.btn-inverse{background-color:#414141;background-image:-moz-linear-gradient(top, #555555, #222222);background-image:-ms-linear-gradient(top, #555555, #222222);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#222222));background-image:-webkit-linear-gradient(top, #555555, #222222);background-image:-o-linear-gradient(top, #555555, #222222);background-image:linear-gradient(top, #555555, #222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#555555', endColorstr='#222222', GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false);}.btn-inverse:hover,.btn-inverse:active,.btn-inverse.active,.btn-inverse.disabled,.btn-inverse[disabled]{background-color:#222222;}
417-.btn-inverse:active,.btn-inverse.active{background-color:#080808 \9;}
418-button.btn,input[type="submit"].btn{*padding-top:2px;*padding-bottom:2px;}button.btn::-moz-focus-inner,input[type="submit"].btn::-moz-focus-inner{padding:0;border:0;}
419-button.btn.btn-large,input[type="submit"].btn.btn-large{*padding-top:7px;*padding-bottom:7px;}
420-button.btn.btn-small,input[type="submit"].btn.btn-small{*padding-top:3px;*padding-bottom:3px;}
421-button.btn.btn-mini,input[type="submit"].btn.btn-mini{*padding-top:1px;*padding-bottom:1px;}
422-.btn-group{position:relative;*zoom:1;*margin-left:.3em;}.btn-group:before,.btn-group:after{display:table;content:"";}
423-.btn-group:after{clear:both;}
424-.btn-group:first-child{*margin-left:0;}
425-.btn-group+.btn-group{margin-left:5px;}
426-.btn-toolbar{margin-top:9px;margin-bottom:9px;}.btn-toolbar .btn-group{display:inline-block;*display:inline;*zoom:1;}
427-.btn-group .btn{position:relative;float:left;margin-left:-1px;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}
428-.btn-group .btn:first-child{margin-left:0;-webkit-border-top-left-radius:4px;-moz-border-radius-topleft:4px;border-top-left-radius:4px;-webkit-border-bottom-left-radius:4px;-moz-border-radius-bottomleft:4px;border-bottom-left-radius:4px;}
429-.btn-group .btn:last-child,.btn-group .dropdown-toggle{-webkit-border-top-right-radius:4px;-moz-border-radius-topright:4px;border-top-right-radius:4px;-webkit-border-bottom-right-radius:4px;-moz-border-radius-bottomright:4px;border-bottom-right-radius:4px;}
430-.btn-group .btn.large:first-child{margin-left:0;-webkit-border-top-left-radius:6px;-moz-border-radius-topleft:6px;border-top-left-radius:6px;-webkit-border-bottom-left-radius:6px;-moz-border-radius-bottomleft:6px;border-bottom-left-radius:6px;}
431-.btn-group .btn.large:last-child,.btn-group .large.dropdown-toggle{-webkit-border-top-right-radius:6px;-moz-border-radius-topright:6px;border-top-right-radius:6px;-webkit-border-bottom-right-radius:6px;-moz-border-radius-bottomright:6px;border-bottom-right-radius:6px;}
432-.btn-group .btn:hover,.btn-group .btn:focus,.btn-group .btn:active,.btn-group .btn.active{z-index:2;}
433-.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0;}
434-.btn-group .dropdown-toggle{padding-left:8px;padding-right:8px;-webkit-box-shadow:inset 1px 0 0 rgba(255, 255, 255, 0.125),inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 1px 0 0 rgba(255, 255, 255, 0.125),inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 1px 0 0 rgba(255, 255, 255, 0.125),inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);*padding-top:3px;*padding-bottom:3px;}
435-.btn-group .btn-mini.dropdown-toggle{padding-left:5px;padding-right:5px;*padding-top:1px;*padding-bottom:1px;}
436-.btn-group .btn-small.dropdown-toggle{*padding-top:4px;*padding-bottom:4px;}
437-.btn-group .btn-large.dropdown-toggle{padding-left:12px;padding-right:12px;}
438-.btn-group.open{*z-index:1000;}.btn-group.open .dropdown-menu{display:block;margin-top:1px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
439-.btn-group.open .dropdown-toggle{background-image:none;-webkit-box-shadow:inset 0 1px 6px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 6px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 6px rgba(0, 0, 0, 0.15),0 1px 2px rgba(0, 0, 0, 0.05);}
440-.btn .caret{margin-top:7px;margin-left:0;}
441-.btn:hover .caret,.open.btn-group .caret{opacity:1;filter:alpha(opacity=100);}
442-.btn-mini .caret{margin-top:5px;}
443-.btn-small .caret{margin-top:6px;}
444-.btn-large .caret{margin-top:6px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000;}
445-.btn-primary .caret,.btn-warning .caret,.btn-danger .caret,.btn-info .caret,.btn-success .caret,.btn-inverse .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:0.75;filter:alpha(opacity=75);}
446-.alert{padding:8px 35px 8px 14px;margin-bottom:18px;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);background-color:#fcf8e3;border:1px solid #fbeed5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;color:#c09853;}
447-.alert-heading{color:inherit;}
448-.alert .close{position:relative;top:-2px;right:-21px;line-height:18px;}
449-.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#468847;}
450-.alert-danger,.alert-error{background-color:#f2dede;border-color:#eed3d7;color:#b94a48;}
451-.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#3a87ad;}
452-.alert-block{padding-top:14px;padding-bottom:14px;}
453-.alert-block>p,.alert-block>ul{margin-bottom:0;}
454-.alert-block p+p{margin-top:5px;}
455-.nav{margin-left:0;margin-bottom:18px;list-style:none;}
456-.nav>li>a{display:block;}
457-.nav>li>a:hover{text-decoration:none;background-color:#eeeeee;}
458-.nav .nav-header{display:block;padding:3px 15px;font-size:11px;font-weight:bold;line-height:18px;color:#999999;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);text-transform:uppercase;}
459-.nav li+.nav-header{margin-top:9px;}
460-.nav-list{padding-left:15px;padding-right:15px;margin-bottom:0;}
461-.nav-list>li>a,.nav-list .nav-header{margin-left:-15px;margin-right:-15px;text-shadow:0 1px 0 rgba(255, 255, 255, 0.5);}
462-.nav-list>li>a{padding:3px 15px;}
463-.nav-list>.active>a,.nav-list>.active>a:hover{color:#ffffff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.2);background-color:#0088cc;}
464-.nav-list [class^="icon-"]{margin-right:2px;}
465-.nav-list .divider{height:1px;margin:8px 1px;overflow:hidden;background-color:#e5e5e5;border-bottom:1px solid #ffffff;*width:100%;*margin:-5px 0 5px;}
466-.nav-tabs,.nav-pills{*zoom:1;}.nav-tabs:before,.nav-pills:before,.nav-tabs:after,.nav-pills:after{display:table;content:"";}
467-.nav-tabs:after,.nav-pills:after{clear:both;}
468-.nav-tabs>li,.nav-pills>li{float:left;}
469-.nav-tabs>li>a,.nav-pills>li>a{padding-right:12px;padding-left:12px;margin-right:2px;line-height:14px;}
470-.nav-tabs{border-bottom:1px solid #ddd;}
471-.nav-tabs>li{margin-bottom:-1px;}
472-.nav-tabs>li>a{padding-top:8px;padding-bottom:8px;line-height:18px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;}.nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #dddddd;}
473-.nav-tabs>.active>a,.nav-tabs>.active>a:hover{color:#555555;background-color:#ffffff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default;}
474-.nav-pills>li>a{padding-top:8px;padding-bottom:8px;margin-top:2px;margin-bottom:2px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
475-.nav-pills>.active>a,.nav-pills>.active>a:hover{color:#ffffff;background-color:#0088cc;}
476-.nav-stacked>li{float:none;}
477-.nav-stacked>li>a{margin-right:0;}
478-.nav-tabs.nav-stacked{border-bottom:0;}
479-.nav-tabs.nav-stacked>li>a{border:1px solid #ddd;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}
480-.nav-tabs.nav-stacked>li:first-child>a{-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;}
481-.nav-tabs.nav-stacked>li:last-child>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;}
482-.nav-tabs.nav-stacked>li>a:hover{border-color:#ddd;z-index:2;}
483-.nav-pills.nav-stacked>li>a{margin-bottom:3px;}
484-.nav-pills.nav-stacked>li:last-child>a{margin-bottom:1px;}
485-.nav-tabs .dropdown-menu,.nav-pills .dropdown-menu{margin-top:1px;border-width:1px;}
486-.nav-pills .dropdown-menu{-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
487-.nav-tabs .dropdown-toggle .caret,.nav-pills .dropdown-toggle .caret{border-top-color:#0088cc;border-bottom-color:#0088cc;margin-top:6px;}
488-.nav-tabs .dropdown-toggle:hover .caret,.nav-pills .dropdown-toggle:hover .caret{border-top-color:#005580;border-bottom-color:#005580;}
489-.nav-tabs .active .dropdown-toggle .caret,.nav-pills .active .dropdown-toggle .caret{border-top-color:#333333;border-bottom-color:#333333;}
490-.nav>.dropdown.active>a:hover{color:#000000;cursor:pointer;}
491-.nav-tabs .open .dropdown-toggle,.nav-pills .open .dropdown-toggle,.nav>.open.active>a:hover{color:#ffffff;background-color:#999999;border-color:#999999;}
492-.nav .open .caret,.nav .open.active .caret,.nav .open a:hover .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;opacity:1;filter:alpha(opacity=100);}
493-.tabs-stacked .open>a:hover{border-color:#999999;}
494-.tabbable{*zoom:1;}.tabbable:before,.tabbable:after{display:table;content:"";}
495-.tabbable:after{clear:both;}
496-.tab-content{display:table;width:100%;}
497-.tabs-below .nav-tabs,.tabs-right .nav-tabs,.tabs-left .nav-tabs{border-bottom:0;}
498-.tab-content>.tab-pane,.pill-content>.pill-pane{display:none;}
499-.tab-content>.active,.pill-content>.active{display:block;}
500-.tabs-below .nav-tabs{border-top:1px solid #ddd;}
501-.tabs-below .nav-tabs>li{margin-top:-1px;margin-bottom:0;}
502-.tabs-below .nav-tabs>li>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;}.tabs-below .nav-tabs>li>a:hover{border-bottom-color:transparent;border-top-color:#ddd;}
503-.tabs-below .nav-tabs .active>a,.tabs-below .nav-tabs .active>a:hover{border-color:transparent #ddd #ddd #ddd;}
504-.tabs-left .nav-tabs>li,.tabs-right .nav-tabs>li{float:none;}
505-.tabs-left .nav-tabs>li>a,.tabs-right .nav-tabs>li>a{min-width:74px;margin-right:0;margin-bottom:3px;}
506-.tabs-left .nav-tabs{float:left;margin-right:19px;border-right:1px solid #ddd;}
507-.tabs-left .nav-tabs>li>a{margin-right:-1px;-webkit-border-radius:4px 0 0 4px;-moz-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px;}
508-.tabs-left .nav-tabs>li>a:hover{border-color:#eeeeee #dddddd #eeeeee #eeeeee;}
509-.tabs-left .nav-tabs .active>a,.tabs-left .nav-tabs .active>a:hover{border-color:#ddd transparent #ddd #ddd;*border-right-color:#ffffff;}
510-.tabs-right .nav-tabs{float:right;margin-left:19px;border-left:1px solid #ddd;}
511-.tabs-right .nav-tabs>li>a{margin-left:-1px;-webkit-border-radius:0 4px 4px 0;-moz-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0;}
512-.tabs-right .nav-tabs>li>a:hover{border-color:#eeeeee #eeeeee #eeeeee #dddddd;}
513-.tabs-right .nav-tabs .active>a,.tabs-right .nav-tabs .active>a:hover{border-color:#ddd #ddd #ddd transparent;*border-left-color:#ffffff;}
514-.navbar{*position:relative;*z-index:2;overflow:visible;margin-bottom:18px;}
515-.navbar-inner{padding-left:20px;padding-right:20px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top, #333333, #222222);background-image:-ms-linear-gradient(top, #333333, #222222);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222));background-image:-webkit-linear-gradient(top, #333333, #222222);background-image:-o-linear-gradient(top, #333333, #222222);background-image:linear-gradient(top, #333333, #222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1);-moz-box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1);box-shadow:0 1px 3px rgba(0, 0, 0, 0.25),inset 0 -1px 0 rgba(0, 0, 0, 0.1);}
516-.navbar .container{width:auto;}
517-.btn-navbar{display:none;float:right;padding:7px 10px;margin-left:5px;margin-right:5px;background-color:#2c2c2c;background-image:-moz-linear-gradient(top, #333333, #222222);background-image:-ms-linear-gradient(top, #333333, #222222);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222));background-image:-webkit-linear-gradient(top, #333333, #222222);background-image:-o-linear-gradient(top, #333333, #222222);background-image:linear-gradient(top, #333333, #222222);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);border-color:#222222 #222222 #000000;border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);filter:progid:dximagetransform.microsoft.gradient(enabled=false);-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.075);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.075);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.1),0 1px 0 rgba(255, 255, 255, 0.075);}.btn-navbar:hover,.btn-navbar:active,.btn-navbar.active,.btn-navbar.disabled,.btn-navbar[disabled]{background-color:#222222;}
518-.btn-navbar:active,.btn-navbar.active{background-color:#080808 \9;}
519-.btn-navbar .icon-bar{display:block;width:18px;height:2px;background-color:#f5f5f5;-webkit-border-radius:1px;-moz-border-radius:1px;border-radius:1px;-webkit-box-shadow:0 1px 0 rgba(0, 0, 0, 0.25);-moz-box-shadow:0 1px 0 rgba(0, 0, 0, 0.25);box-shadow:0 1px 0 rgba(0, 0, 0, 0.25);}
520-.btn-navbar .icon-bar+.icon-bar{margin-top:3px;}
521-.nav-collapse.collapse{height:auto;}
522-.navbar{color:#999999;}.navbar .brand:hover{text-decoration:none;}
523-.navbar .brand{float:left;display:block;padding:8px 20px 12px;margin-left:-20px;font-size:20px;font-weight:200;line-height:1;color:#ffffff;}
524-.navbar .navbar-text{margin-bottom:0;line-height:40px;}
525-.navbar .btn,.navbar .btn-group{margin-top:5px;}
526-.navbar .btn-group .btn{margin-top:0;}
527-.navbar-form{margin-bottom:0;*zoom:1;}.navbar-form:before,.navbar-form:after{display:table;content:"";}
528-.navbar-form:after{clear:both;}
529-.navbar-form input,.navbar-form select,.navbar-form .radio,.navbar-form .checkbox{margin-top:5px;}
530-.navbar-form input,.navbar-form select{display:inline-block;margin-bottom:0;}
531-.navbar-form input[type="image"],.navbar-form input[type="checkbox"],.navbar-form input[type="radio"]{margin-top:3px;}
532-.navbar-form .input-append,.navbar-form .input-prepend{margin-top:6px;white-space:nowrap;}.navbar-form .input-append input,.navbar-form .input-prepend input{margin-top:0;}
533-.navbar-search{position:relative;float:left;margin-top:6px;margin-bottom:0;}.navbar-search .search-query{padding:4px 9px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px;font-weight:normal;line-height:1;color:#ffffff;background-color:#626262;border:1px solid #151515;-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.15);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.15);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1),0 1px 0px rgba(255, 255, 255, 0.15);-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none;}.navbar-search .search-query:-moz-placeholder{color:#cccccc;}
534-.navbar-search .search-query::-webkit-input-placeholder{color:#cccccc;}
535-.navbar-search .search-query:focus,.navbar-search .search-query.focused{padding:5px 10px;color:#333333;text-shadow:0 1px 0 #ffffff;background-color:#ffffff;border:0;-webkit-box-shadow:0 0 3px rgba(0, 0, 0, 0.15);-moz-box-shadow:0 0 3px rgba(0, 0, 0, 0.15);box-shadow:0 0 3px rgba(0, 0, 0, 0.15);outline:0;}
536-.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030;margin-bottom:0;}
537-.navbar-fixed-top .navbar-inner,.navbar-fixed-bottom .navbar-inner{padding-left:0;padding-right:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;}
538-.navbar-fixed-top .container,.navbar-fixed-bottom .container{width:940px;}
539-.navbar-fixed-top{top:0;}
540-.navbar-fixed-bottom{bottom:0;}
541-.navbar .nav{position:relative;left:0;display:block;float:left;margin:0 10px 0 0;}
542-.navbar .nav.pull-right{float:right;}
543-.navbar .nav>li{display:block;float:left;}
544-.navbar .nav>li>a{float:none;padding:10px 10px 11px;line-height:19px;color:#999999;text-decoration:none;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);}
545-.navbar .nav>li>a:hover{background-color:transparent;color:#ffffff;text-decoration:none;}
546-.navbar .nav .active>a,.navbar .nav .active>a:hover{color:#ffffff;text-decoration:none;background-color:#222222;}
547-.navbar .divider-vertical{height:40px;width:1px;margin:0 9px;overflow:hidden;background-color:#222222;border-right:1px solid #333333;}
548-.navbar .nav.pull-right{margin-left:10px;margin-right:0;}
549-.navbar .dropdown-menu{margin-top:1px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}.navbar .dropdown-menu:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0, 0, 0, 0.2);position:absolute;top:-7px;left:9px;}
550-.navbar .dropdown-menu:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #ffffff;position:absolute;top:-6px;left:10px;}
551-.navbar-fixed-bottom .dropdown-menu:before{border-top:7px solid #ccc;border-top-color:rgba(0, 0, 0, 0.2);border-bottom:0;bottom:-7px;top:auto;}
552-.navbar-fixed-bottom .dropdown-menu:after{border-top:6px solid #ffffff;border-bottom:0;bottom:-6px;top:auto;}
553-.navbar .nav .dropdown-toggle .caret,.navbar .nav .open.dropdown .caret{border-top-color:#ffffff;border-bottom-color:#ffffff;}
554-.navbar .nav .active .caret{opacity:1;filter:alpha(opacity=100);}
555-.navbar .nav .open>.dropdown-toggle,.navbar .nav .active>.dropdown-toggle,.navbar .nav .open.active>.dropdown-toggle{background-color:transparent;}
556-.navbar .nav .active>.dropdown-toggle:hover{color:#ffffff;}
557-.navbar .nav.pull-right .dropdown-menu,.navbar .nav .dropdown-menu.pull-right{left:auto;right:0;}.navbar .nav.pull-right .dropdown-menu:before,.navbar .nav .dropdown-menu.pull-right:before{left:auto;right:12px;}
558-.navbar .nav.pull-right .dropdown-menu:after,.navbar .nav .dropdown-menu.pull-right:after{left:auto;right:13px;}
559-.breadcrumb{padding:7px 14px;margin:0 0 18px;list-style:none;background-color:#fbfbfb;background-image:-moz-linear-gradient(top, #ffffff, #f5f5f5);background-image:-ms-linear-gradient(top, #ffffff, #f5f5f5);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f5f5f5));background-image:-webkit-linear-gradient(top, #ffffff, #f5f5f5);background-image:-o-linear-gradient(top, #ffffff, #f5f5f5);background-image:linear-gradient(top, #ffffff, #f5f5f5);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);border:1px solid #ddd;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;}.breadcrumb li{display:inline-block;*display:inline;*zoom:1;text-shadow:0 1px 0 #ffffff;}
560-.breadcrumb .divider{padding:0 5px;color:#999999;}
561-.breadcrumb .active a{color:#333333;}
562-.pagination{height:36px;margin:18px 0;}
563-.pagination ul{display:inline-block;*display:inline;*zoom:1;margin-left:0;margin-bottom:0;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);}
564-.pagination li{display:inline;}
565-.pagination a{float:left;padding:0 14px;line-height:34px;text-decoration:none;border:1px solid #ddd;border-left-width:0;}
566-.pagination a:hover,.pagination .active a{background-color:#f5f5f5;}
567-.pagination .active a{color:#999999;cursor:default;}
568-.pagination .disabled span,.pagination .disabled a,.pagination .disabled a:hover{color:#999999;background-color:transparent;cursor:default;}
569-.pagination li:first-child a{border-left-width:1px;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
570-.pagination li:last-child a{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}
571-.pagination-centered{text-align:center;}
572-.pagination-right{text-align:right;}
573-.pager{margin-left:0;margin-bottom:18px;list-style:none;text-align:center;*zoom:1;}.pager:before,.pager:after{display:table;content:"";}
574-.pager:after{clear:both;}
575-.pager li{display:inline;}
576-.pager a{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;}
577-.pager a:hover{text-decoration:none;background-color:#f5f5f5;}
578-.pager .next a{float:right;}
579-.pager .previous a{float:left;}
580-.pager .disabled a,.pager .disabled a:hover{color:#999999;background-color:#fff;cursor:default;}
581-.modal-open .dropdown-menu{z-index:2050;}
582-.modal-open .dropdown.open{*z-index:2050;}
583-.modal-open .popover{z-index:2060;}
584-.modal-open .tooltip{z-index:2070;}
585-.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000000;}.modal-backdrop.fade{opacity:0;}
586-.modal-backdrop,.modal-backdrop.fade.in{opacity:0.8;filter:alpha(opacity=80);}
587-.modal{position:fixed;top:50%;left:50%;z-index:1050;overflow:auto;width:560px;margin:-250px 0 0 -280px;background-color:#ffffff;border:1px solid #999;border:1px solid rgba(0, 0, 0, 0.3);*border:1px solid #999;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-moz-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;}.modal.fade{-webkit-transition:opacity .3s linear, top .3s ease-out;-moz-transition:opacity .3s linear, top .3s ease-out;-ms-transition:opacity .3s linear, top .3s ease-out;-o-transition:opacity .3s linear, top .3s ease-out;transition:opacity .3s linear, top .3s ease-out;top:-25%;}
588-.modal.fade.in{top:50%;}
589-.modal-header{padding:9px 15px;border-bottom:1px solid #eee;}.modal-header .close{margin-top:2px;}
590-.modal-body{overflow-y:auto;max-height:400px;padding:15px;}
591-.modal-form{margin-bottom:0;}
592-.modal-footer{padding:14px 15px 15px;margin-bottom:0;text-align:right;background-color:#f5f5f5;border-top:1px solid #ddd;-webkit-border-radius:0 0 6px 6px;-moz-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;*zoom:1;}.modal-footer:before,.modal-footer:after{display:table;content:"";}
593-.modal-footer:after{clear:both;}
594-.modal-footer .btn+.btn{margin-left:5px;margin-bottom:0;}
595-.modal-footer .btn-group .btn+.btn{margin-left:-1px;}
596-.tooltip{position:absolute;z-index:1020;display:block;visibility:visible;padding:5px;font-size:11px;opacity:0;filter:alpha(opacity=0);}.tooltip.in{opacity:0.8;filter:alpha(opacity=80);}
597-.tooltip.top{margin-top:-2px;}
598-.tooltip.right{margin-left:2px;}
599-.tooltip.bottom{margin-top:2px;}
600-.tooltip.left{margin-left:-2px;}
601-.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000;}
602-.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000;}
603-.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000;}
604-.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000;}
605-.tooltip-inner{max-width:200px;padding:3px 8px;color:#ffffff;text-align:center;text-decoration:none;background-color:#000000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
606-.tooltip-arrow{position:absolute;width:0;height:0;}
607-.popover{position:absolute;top:0;left:0;z-index:1010;display:none;padding:5px;}.popover.top{margin-top:-5px;}
608-.popover.right{margin-left:5px;}
609-.popover.bottom{margin-top:5px;}
610-.popover.left{margin-left:-5px;}
611-.popover.top .arrow{bottom:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #000000;}
612-.popover.right .arrow{top:50%;left:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-right:5px solid #000000;}
613-.popover.bottom .arrow{top:0;left:50%;margin-left:-5px;border-left:5px solid transparent;border-right:5px solid transparent;border-bottom:5px solid #000000;}
614-.popover.left .arrow{top:50%;right:0;margin-top:-5px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:5px solid #000000;}
615-.popover .arrow{position:absolute;width:0;height:0;}
616-.popover-inner{padding:3px;width:280px;overflow:hidden;background:#000000;background:rgba(0, 0, 0, 0.8);-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);-moz-box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);box-shadow:0 3px 7px rgba(0, 0, 0, 0.3);}
617-.popover-title{padding:9px 15px;line-height:1;background-color:#f5f5f5;border-bottom:1px solid #eee;-webkit-border-radius:3px 3px 0 0;-moz-border-radius:3px 3px 0 0;border-radius:3px 3px 0 0;}
618-.popover-content{padding:14px;background-color:#ffffff;-webkit-border-radius:0 0 3px 3px;-moz-border-radius:0 0 3px 3px;border-radius:0 0 3px 3px;-webkit-background-clip:padding-box;-moz-background-clip:padding-box;background-clip:padding-box;}.popover-content p,.popover-content ul,.popover-content ol{margin-bottom:0;}
619-.thumbnails{margin-left:-20px;list-style:none;*zoom:1;}.thumbnails:before,.thumbnails:after{display:table;content:"";}
620-.thumbnails:after{clear:both;}
621-.thumbnails>li{float:left;margin:0 0 18px 20px;}
622-.thumbnail{display:block;padding:4px;line-height:1;border:1px solid #ddd;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0, 0, 0, 0.075);-moz-box-shadow:0 1px 1px rgba(0, 0, 0, 0.075);box-shadow:0 1px 1px rgba(0, 0, 0, 0.075);}
623-a.thumbnail:hover{border-color:#0088cc;-webkit-box-shadow:0 1px 4px rgba(0, 105, 214, 0.25);-moz-box-shadow:0 1px 4px rgba(0, 105, 214, 0.25);box-shadow:0 1px 4px rgba(0, 105, 214, 0.25);}
624-.thumbnail>img{display:block;max-width:100%;margin-left:auto;margin-right:auto;}
625-.thumbnail .caption{padding:9px;}
626-.label{padding:1px 4px 2px;font-size:10.998px;font-weight:bold;line-height:13px;color:#ffffff;vertical-align:middle;white-space:nowrap;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#999999;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
627-.label:hover{color:#ffffff;text-decoration:none;}
628-.label-important{background-color:#b94a48;}
629-.label-important:hover{background-color:#953b39;}
630-.label-warning{background-color:#f89406;}
631-.label-warning:hover{background-color:#c67605;}
632-.label-success{background-color:#468847;}
633-.label-success:hover{background-color:#356635;}
634-.label-info{background-color:#3a87ad;}
635-.label-info:hover{background-color:#2d6987;}
636-.label-inverse{background-color:#333333;}
637-.label-inverse:hover{background-color:#1a1a1a;}
638-.badge{padding:1px 9px 2px;font-size:12.025px;font-weight:bold;white-space:nowrap;color:#ffffff;background-color:#999999;-webkit-border-radius:9px;-moz-border-radius:9px;border-radius:9px;}
639-.badge:hover{color:#ffffff;text-decoration:none;cursor:pointer;}
640-.badge-error{background-color:#b94a48;}
641-.badge-error:hover{background-color:#953b39;}
642-.badge-warning{background-color:#f89406;}
643-.badge-warning:hover{background-color:#c67605;}
644-.badge-success{background-color:#468847;}
645-.badge-success:hover{background-color:#356635;}
646-.badge-info{background-color:#3a87ad;}
647-.badge-info:hover{background-color:#2d6987;}
648-.badge-inverse{background-color:#333333;}
649-.badge-inverse:hover{background-color:#1a1a1a;}
650-@-webkit-keyframes progress-bar-stripes{from{background-position:0 0;} to{background-position:40px 0;}}@-moz-keyframes progress-bar-stripes{from{background-position:0 0;} to{background-position:40px 0;}}@-ms-keyframes progress-bar-stripes{from{background-position:0 0;} to{background-position:40px 0;}}@keyframes progress-bar-stripes{from{background-position:0 0;} to{background-position:40px 0;}}.progress{overflow:hidden;height:18px;margin-bottom:18px;background-color:#f7f7f7;background-image:-moz-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:-ms-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9));background-image:-webkit-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:-o-linear-gradient(top, #f5f5f5, #f9f9f9);background-image:linear-gradient(top, #f5f5f5, #f9f9f9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#f9f9f9', GradientType=0);-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
651-.progress .bar{width:0%;height:18px;color:#ffffff;font-size:12px;text-align:center;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top, #149bdf, #0480be);background-image:-ms-linear-gradient(top, #149bdf, #0480be);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be));background-image:-webkit-linear-gradient(top, #149bdf, #0480be);background-image:-o-linear-gradient(top, #149bdf, #0480be);background-image:linear-gradient(top, #149bdf, #0480be);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#149bdf', endColorstr='#0480be', GradientType=0);-webkit-box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);-moz-box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width 0.6s ease;-moz-transition:width 0.6s ease;-ms-transition:width 0.6s ease;-o-transition:width 0.6s ease;transition:width 0.6s ease;}
652-.progress-striped .bar{background-color:#149bdf;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);-webkit-background-size:40px 40px;-moz-background-size:40px 40px;-o-background-size:40px 40px;background-size:40px 40px;}
653-.progress.active .bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-moz-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite;}
654-.progress-danger .bar{background-color:#dd514c;background-image:-moz-linear-gradient(top, #ee5f5b, #c43c35);background-image:-ms-linear-gradient(top, #ee5f5b, #c43c35);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35));background-image:-webkit-linear-gradient(top, #ee5f5b, #c43c35);background-image:-o-linear-gradient(top, #ee5f5b, #c43c35);background-image:linear-gradient(top, #ee5f5b, #c43c35);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#c43c35', GradientType=0);}
655-.progress-danger.progress-striped .bar{background-color:#ee5f5b;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);}
656-.progress-success .bar{background-color:#5eb95e;background-image:-moz-linear-gradient(top, #62c462, #57a957);background-image:-ms-linear-gradient(top, #62c462, #57a957);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957));background-image:-webkit-linear-gradient(top, #62c462, #57a957);background-image:-o-linear-gradient(top, #62c462, #57a957);background-image:linear-gradient(top, #62c462, #57a957);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#62c462', endColorstr='#57a957', GradientType=0);}
657-.progress-success.progress-striped .bar{background-color:#62c462;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);}
658-.progress-info .bar{background-color:#4bb1cf;background-image:-moz-linear-gradient(top, #5bc0de, #339bb9);background-image:-ms-linear-gradient(top, #5bc0de, #339bb9);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9));background-image:-webkit-linear-gradient(top, #5bc0de, #339bb9);background-image:-o-linear-gradient(top, #5bc0de, #339bb9);background-image:linear-gradient(top, #5bc0de, #339bb9);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5bc0de', endColorstr='#339bb9', GradientType=0);}
659-.progress-info.progress-striped .bar{background-color:#5bc0de;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);}
660-.progress-warning .bar{background-color:#faa732;background-image:-moz-linear-gradient(top, #fbb450, #f89406);background-image:-ms-linear-gradient(top, #fbb450, #f89406);background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));background-image:-webkit-linear-gradient(top, #fbb450, #f89406);background-image:-o-linear-gradient(top, #fbb450, #f89406);background-image:linear-gradient(top, #fbb450, #f89406);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);}
661-.progress-warning.progress-striped .bar{background-color:#fbb450;background-image:-webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent));background-image:-webkit-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-moz-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-ms-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:-o-linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);background-image:linear-gradient(-45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);}
662-.accordion{margin-bottom:18px;}
663-.accordion-group{margin-bottom:2px;border:1px solid #e5e5e5;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
664-.accordion-heading{border-bottom:0;}
665-.accordion-heading .accordion-toggle{display:block;padding:8px 15px;}
666-.accordion-inner{padding:9px 15px;border-top:1px solid #e5e5e5;}
667-.carousel{position:relative;margin-bottom:18px;line-height:1;}
668-.carousel-inner{overflow:hidden;width:100%;position:relative;}
669-.carousel .item{display:none;position:relative;-webkit-transition:0.6s ease-in-out left;-moz-transition:0.6s ease-in-out left;-ms-transition:0.6s ease-in-out left;-o-transition:0.6s ease-in-out left;transition:0.6s ease-in-out left;}
670-.carousel .item>img{display:block;line-height:1;}
671-.carousel .active,.carousel .next,.carousel .prev{display:block;}
672-.carousel .active{left:0;}
673-.carousel .next,.carousel .prev{position:absolute;top:0;width:100%;}
674-.carousel .next{left:100%;}
675-.carousel .prev{left:-100%;}
676-.carousel .next.left,.carousel .prev.right{left:0;}
677-.carousel .active.left{left:-100%;}
678-.carousel .active.right{left:100%;}
679-.carousel-control{position:absolute;top:40%;left:15px;width:40px;height:40px;margin-top:-20px;font-size:60px;font-weight:100;line-height:30px;color:#ffffff;text-align:center;background:#222222;border:3px solid #ffffff;-webkit-border-radius:23px;-moz-border-radius:23px;border-radius:23px;opacity:0.5;filter:alpha(opacity=50);}.carousel-control.right{left:auto;right:15px;}
680-.carousel-control:hover{color:#ffffff;text-decoration:none;opacity:0.9;filter:alpha(opacity=90);}
681-.carousel-caption{position:absolute;left:0;right:0;bottom:0;padding:10px 15px 5px;background:#333333;background:rgba(0, 0, 0, 0.75);}
682-.carousel-caption h4,.carousel-caption p{color:#ffffff;}
683-.hero-unit{padding:60px;margin-bottom:30px;background-color:#eeeeee;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}.hero-unit h1{margin-bottom:0;font-size:60px;line-height:1;color:inherit;letter-spacing:-1px;}
684-.hero-unit p{font-size:18px;font-weight:200;line-height:27px;color:inherit;}
685-.pull-right{float:right;}
686-.pull-left{float:left;}
687-.hide{display:none;}
688-.show{display:block;}
689-.invisible{visibility:hidden;}
Binary files a/assist/docs/img/ext_recorded_diskinfo.jpg and /dev/null differ
Binary files a/assist/docs/img/ext_recorded_filesize.jpg and /dev/null differ
Binary files a/assist/docs/img/glyphicons-halflings-white.png and /dev/null differ
Binary files a/assist/docs/img/glyphicons-halflings.png and /dev/null differ
Binary files a/assist/docs/img/title_bg.png and /dev/null differ
--- a/assist/docs/index.html
+++ /dev/null
@@ -1,279 +0,0 @@
1-<!DOCTYPE html>
2-<html lang="en">
3- <head>
4- <meta charset="utf-8">
5- <title>epgrec_assist Documents</title>
6- <meta name="viewport" content="width=device-width, initial-scale=1.0">
7- <meta name="author" content="osamu / atelier TRUMPHOUSE">
8-
9- <link href="css/bootstrap.min.css" rel="stylesheet">
10- <link href="css/bootstrap-responsive.min.css" rel="stylesheet">
11- <link href="js/prettify.css" rel="stylesheet">
12- <style>
13- body {
14- background:#EEE;
15- padding-top: 60px;
16- }
17- section {padding-top: 60px;}
18- .page-header {border-bottom: 2px solid #DDD;}
19- .alertB {padding-right:14px;}
20- .bld{font-weight:bold;}
21- .hero-unit{background:#CCC url(img/title_bg.png) bottom right no-repeat;}
22- .footer {margin-top: 45px;padding: 35px 0 36px;border-top:6px solid #BBB;}
23-
24- a.download, a.outLink {font-size:150%;font-weight:bold;letter-spacing:1px;text-align:center;display:inline-block;margin:1em auto;border:4px double #FFF;border-radius:0.8em;background:#48F;color:#FFF;padding:0.8em 1em;}
25- a.outLink {font-size:120%;}
26- a.download:hover, a.outLink:hover {background:#26F;border-color:#8CF;}
27- a.download .sml{display:block;font-size:60%;font-weight:normal;letter-spacing:0;}
28- .dirLabel,.bld_b {display:inline-block;line-height:100%;font-weight:bold;padding:0.2em 0.6em;border-radius:0.3em;}
29- .dirLabel {letter-spacing:1px;background:#FFF;color:#D80;border:1px solid #DDD;}
30- .bld_b {color:#08C;}
31- p.dir {font-size:115%;}
32- p.dir .dt{display:inline-block;width:6em;}
33- h4.warning {color:#B00;}
34- table.ini td{font-size:115%;}
35- table tr.th {background:#DDD;}
36- </style>
37-
38- <!--[if lt IE 9]>
39- <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
40- <![endif]-->
41-
42- </head>
43- <body onload="prettyPrint()">
44- <div class="navbar navbar-fixed-top">
45- <div class="navbar-inner">
46- <div class="container">
47- <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
48- <span class="icon-bar"></span>
49- <span class="icon-bar"></span>
50- <span class="icon-bar"></span>
51- </a>
52- <a class="brand" href="index.html">epgrec assist</a>
53- <div class="nav-collapse">
54- <ul class="nav">
55- <li class="active"><a href="index.html">Home</a></li>
56- <li><a href="#warning">使用上の注意</a></li>
57- <li><a href="#install">インストール</a></li>
58- <li><a href="#config">設定</a></li>
59- <li><a href="#version">更新情報</a></li>
60- </ul>
61- </div><!--/.nav-collapse -->
62- </div>
63- </div>
64- </div>
65- <div class="container">
66- <div class="hero-unit">
67- <h1>epgrec assist</h1>
68- <h2>version 0.1.0</h2>
69- <p style="width:30em;">javascriptを利用してepgrecの見た目、使い勝手を改善します。スマートフォン等、画面が狭くてもそれなりの情報量を表示できるようになります…多分</p>
70- </div>
71- <section id="about">
72- <div class="row">
73- <div class="span4">
74- <h2>About</h2>
75- <p>このスクリプトは実験的に作成したものです。 <span class="bld">epgrec</span> 本体の改造を最小限に、見た目、使い勝手を改善する試みです。現在、<span class="bld">番組表、録画一覧のみ対応しています。</span>残りページに対応するかどうかは未定です。</p>
76- <p style="text-align:right;">epgrec:<a href="http://sourceforge.jp/projects/epgrec/">SourceForge / epgrec</a></p>
77- </div>
78- <div class="span4">
79- <h3>ファイル配布元</h3>
80- <p>最新バージョンは SourceForgeの作業部屋 で配布しています</p>
81- <div style="text-align:center;">
82- <a href="http://sourceforge.jp/users/trumphouse/pf/epgrec_assist/" class="outLink"> SourceForge</a></div>
83- <div style="text-align:center;display:none;"><a href="http://sourceforge.jp/users/trumphouse/pf/epgrec_assist/" class="download">Download<span class="sml">from SourceForge</span></a></div>
84- </div>
85- <div class="span4">
86- <h4>動作確認に使用したブラウザ</h4>
87- <dl>
88- <dt>Google Chrome</dt>
89- <dd>Windows,Linux 17.0.</dd>
90- <dt>Mozilla Firefox</dt>
91- <dd>Windows 11.0.,Linux 10.0.</dd>
92- <dt>Apple Safari</dt>
93- <dd>Windows 5.1.</dd>
94- <dt>Microsogt Internet Explorer</dt>
95- <dd>8.0.6…一応見えるというレベル</dd>
96- </dl>
97- </p>
98- </div>
99- </div>
100- </section>
101- <section id="warning">
102- <div class="page-header">
103- <h2>使用上の注意</h2>
104- </div>
105- <div class="row">
106- <div class="span4">
107- <div class="alert alertB alert-error"><span class="bld">epgrec assist</span> は <span class="bld">epgrec</span> が出力するhtml構造に大きく依存しています。テンプレートをカスタマイズしていたり、 <span class="epgrec">epgrec</span> がバージョンアップした際に不具合が出る可能性があります。</div>
108- </div>
109- <div class="span4">
110- <h4 class="warning">録画一覧の削除</h4>
111- <p>録画一覧で削除ボタンを押すと、ダイアログが出ることなく削除が実行されます。</p>
112- <h4 class="warning">IE6、7は動作対象外</h4>
113- <p>IE6、7は対応していません。IE8は動作だけは確認していますが、描画が怪しい箇所がまだ残っています。IE9はまだテストしていません。</p>
114- </div>
115- <div class="span4">
116- <h4 class="warning">画面の更新に時間がかかるようになります</h4>
117- <p><span class="bld">epgrec assist</span> は <span class="bld">epgrec</span> が出力したhtmlを、javascriptで無理やり書き換えています。ブラウザが一度描画したものを、再度描画しなおすことになり、画面更新に時間がかかるようになります。ページを読み込んだ際に <span class="bld">epgrec</span> のオリジナル画面が一瞬表示されることもあります。</p>
118- </div>
119- </div>
120- </section>
121- <section id="install">
122- <div class="page-header">
123- <h2>インストール</h2>
124- </div>
125- <div class="row">
126- <div class="span4">
127- <h3>1.ファイルを配置</h3>
128- <p>ダウンロードしたファイルを解凍し、できたディレクトリ <span class="dirLabel">/assist</span> を <span class="bld">epgrec</span> のディレクトリ内に配置します。</p>
129- <p class="dir"><span class="dirLabel">/ epgrec / assist</span></p>
130- </div>
131- <div class="span8">
132- <h3>2.テンプレート修正</h3>
133- <p><span class="bld">epgrec assist</span> を有効にしたいページのテンプレートを修正します。修正方法は共通で、<span class="bld">最下行付近の <code>&lt;/body&gt;</code> タグの前にscriptを読み込む1行を挿入します</span></p>
134- <pre class="prettyprint
135- linenums">
136-&lt;script type="text/javascript" src="assist/js/epgrec_assist.js"&gt;&lt;/script&gt;
137-&lt;/body&gt;
138-&lt;/html&gt;</pre>
139- <p>ページ、テンプレート対応表</p>
140- <p class="dir"><span class="dt">番組表 </span><span class="dirLabel">/ epgrec / templates / index.html</span></p>
141- <p class="dir"><span class="dt">録画済一覧 </span><span class="dirLabel">/ epgrec / templates / recordedTable.html</span></p>
142- <hr/>
143- <p>検索ページはまだ手をつけていないのですが、<span class="bld"><a href="http://sourceforge.jp/users/trumphouse/pf/epgrec_chForm_assist/">epgrec chForm assist</a></span> と同等の動作をするようになります</p>
144- <p class="dir"><span class="dt">検索 </span><span class="dirLabel">/ epgrec / templates / programTable.html</span></p>
145- </div>
146- </div>
147- </section>
148- <section id="config">
149- <div class="page-header">
150- <h2>設定</h2>
151- </div>
152- <div class="row">
153- <div class="span3">
154- <p><span class="bld">epgrec assist</span> の動作を抑制したり、設定を変更できます</p>
155- </div>
156- <div class="span9">
157- <p><span class="dirLabel">/ epgrec / assist / js / epgrec_assist.js</span> の先頭部分に設定が列挙してあります</p>
158- <table class="table ini">
159- <thead><tr class="page"><th colspan="3"><h3>共通</h3></th></tr><tr class="th"><th>変数</th><th>初期値</th><th>解説</th></tr></thead>
160- <tbody>
161- <tr><td>ASSIST_INI.use_this</td><td>1</td><td>epgrec_assistを有効にする。<br/>epgrecのバージョンアップ等による<br/>不具合が出た場合は 0 にしてください</td></tr>
162- <tr><td>ASSIST_INI.time_ap</td><td>1</td><td>時間表示を12時間表示<br/>(epgrec assistが書き換えた部分のみ有効)</td></tr>
163- </tbody>
164- <thead><tr class="page"><th colspan="3"><h3>番組表</h3></th></tr><tr class="th"><th>変数</th><th>初期値</th><th>解説</th></tr></thead>
165- <tbody>
166- <tr><td>ASSIST_INI.index</td><td>1</td><td>番組表で有効にする</td></tr>
167- <tr><td>ASSIST_INI.index_nowbar_live</td><td>10</td><td>現在時刻を示す赤線を自動更新<br/>単位は秒、0で更新しない</td></tr>
168- </tbody>
169- <thead><tr class="page"><th colspan="3"><h3>録画済一覧</h3></th></tr><tr class="th"><th>変数</th><th>初期値</th><th>解説</th></tr></thead>
170- <tbody>
171- <tr><td>ASSIST_INI.recorded</td><td>1</td><td>録画済み一覧で有効にする</td></tr>
172- <tr><td>ASSIST_INI.recorded_delete_with_file</td><td>0</td><td>「録画ファイルも削除する」<br/>のチェックボックス初期値</td></tr>
173- </tbody></table>
174-</p>
175- </div>
176- </div>
177- </section>
178- <section id="version">
179- <div class="page-header">
180- <h2>更新情報</h2>
181- </div>
182- <div class="row">
183- <div class="span6">
184- <h3>まだたくさんバグや不具合があります</h3>
185- <ul>
186- <li>画面サイズによってレイアウトが変わる機能はまだ調整不足です</li>
187- <li>IE8だけ他のブラウザと違うデザインに…そういうものです</li>
188- <li>IE8で録画済一覧の「録画ファイルも削除する」のチェックボックスの表示が変</li>
189- <li>IE8で録画済一覧の番組タイトル横の再生ボタンの表示が変</li>
190- <li>録画済一覧で番組内容が途中までしか表示されていない</li>
191- <li>録画済一覧のサムネイルが表示されない</li>
192- <li>録画済一覧の編集ボタンが無い</li>
193- </dl>
194- </div>
195- <div class="span6">
196- <h3>更新履歴</h3>
197- <h4>Version 0.1.0 2012/03/27 6:29</h4>
198- <p>最初の公開バージョン</p>
199- </div>
200- </div>
201- </section>
202- <section id="">
203- <div class="page-header">
204- <h2>独自拡張<small> おまけ</small></h2>
205- </div>
206- <h3>録画済一覧</h3>
207- <hr/>
208- <div class="row">
209- <div class="span4">
210- <h3>番組の長さを表示</h3>
211- <p>番組の列<code>&lt;tr&gt;</code>のアトリビュートに<code>data-dur</code>があると番組の長さとして表示します</p>
212- <p><img src="img/ext_recorded_filesize.jpg" style="width:100%"/></p>
213- </div>
214- <div class="span8">
215- <h4>1.recordedTable.phpを編集</h4>
216- <p><span class="dirLabel">/ epgrec / recordedTable.php</span>の58行目辺りに番組の長さを割り当てる<code>$arr['duration']</code> を追加します</span></p>
217- <pre class="prettyprint
218- linenums:58">$arr['starttime'] = $r-&gt;starttime;
219-$arr['endtime'] = $r-&gt;endtime;
220-$arr['duration'] = strtotime($r-&gt;endtime) - strtotime($r-&gt;starttime);
221-$arr['asf'] = "".$settings-&gt;install_url."/viewer.php?reserve_id=".$r->id;</pre>
222- <h4>2.テンプレートを編集</h4>
223- <p><span class="dirLabel">/ epgrec / templates / recordedTable.html</span>の211行目辺り、番組の長さを番組の列<code>&lt;tr&gt;</code>のアトリビュート<code>data-dur</code>に設定します</p>
224- <pre class="prettyprint
225- linenums:211">{foreach from=$records item=rec }
226- &lt;tr id="resid_{$rec.id}" class="ctg_{$rec.cat}" data-dur="{$rec.duration}"&gt;
227-&lt;td&gt;{$rec.starttime}&lt;/td&gt;
228-&lt;td&gt;{$rec.station_name}&lt;/td&gt;</pre>
229- </div>
230- </div>
231- <hr/>
232- <div class="row">
233- <div class="span4">
234- <h3>ディスクの残量表示</h3>
235- <p>javascriptのオブジェクト <code>INISet</code> に <code> disk_free</code>、<code>disk_total</code> プロパティがあると、ディスク容量を表示します</p>
236- <div class="alert alertB alert-error">削除ボタンでファイルを削除しても残量表示は変化しません、ページをリロードしてください</div>
237- <p><img src="img/ext_recorded_diskinfo.jpg" style="width:100%"/></p>
238- </div>
239- <div class="span8">
240- <h4>1.recordedTable.phpを編集</h4>
241- <p><span class="dirLabel">/ epgrec / recordedTable.php</span>の104行目辺り、<code>$smarty</code>に<code> disk_free</code>、<code>disk_total</code>を設定します</p>
242- <pre class="prettyprint
243- linenums:104">$smarty->assign( "use_thumbs", $settings->use_thumbs );
244-$smarty->assign( "disk_total", disk_total_space(INSTALL_PATH));
245-$smarty->assign( "disk_free", disk_free_space(INSTALL_PATH));
246-$smarty->display("recordedTable.html");</pre>
247- <h4>2.テンプレートを編集</h4>
248- <p><span class="dirLabel">/ epgrec / templates / recordedTable.html</span>の203行目辺り、<code>{literal}</code> に注意して <code>disk_free</code>、<code>disk_total</code>を含む4行を追加します</span></p>
249- <pre class="prettyprint
250- linenums:203">{literal}
251-&lt;script type="text/javascript"&gt;
252-var INISet = {
253-{/literal}
254- disk_total : {$disk_total},
255- disk_free : {$disk_free},
256-{literal}
257- prgRecordURL : 'record.php', // 簡易予約
258- prgRecordPlusURL : 'recordp.php', // 詳細予約
259- prgCancelURL : 'cancelReservation.php' // 予約キャンセル
260-}
261-&lt;/script&gt;
262-{/literal}
263-</pre>
264- </div>
265- </div>
266- </section>
267- <footer class="footer">
268- <h4>epgrec assist</h4>
269- <p>作者:<a href="http://www.mda.or.jp/~trump/">osamu / atelier TRUMPHOUSE</a> twitter : trumphouse<br/>
270- ファイル配布元:<a href="http://sourceforge.jp/users/trumphouse/pf/epgrec_assist/">SourceForgeの作業部屋</a>
271- <h4>epgrec</h4>
272- <a href="http://sourceforge.jp/projects/epgrec/">SourceForge / epgrec</a>
273- </footer>
274- </div>
275- <script src="js/prettify.js"></script>
276- <script src="js/jquery.min.js"></script>
277- <script src="js/bootstrap.min.js"></script>
278- </body>
279- </html>
\ No newline at end of file
--- a/assist/docs/js/bootstrap.min.js
+++ /dev/null
@@ -1,6 +0,0 @@
1-/**
2-* Bootstrap.js by @fat & @mdo
3-* Copyright 2012 Twitter, Inc.
4-* http://www.apache.org/licenses/LICENSE-2.0.txt
5-*/
6-!function(a){a(function(){"use strict",a.support.transition=function(){var b=document.body||document.documentElement,c=b.style,d=c.transition!==undefined||c.WebkitTransition!==undefined||c.MozTransition!==undefined||c.MsTransition!==undefined||c.OTransition!==undefined;return d&&{end:function(){var b="TransitionEnd";return a.browser.webkit?b="webkitTransitionEnd":a.browser.mozilla?b="transitionend":a.browser.opera&&(b="oTransitionEnd"),b}()}}()})}(window.jQuery),!function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype={constructor:c,close:function(b){function f(){e.trigger("closed").remove()}var c=a(this),d=c.attr("data-target"),e;d||(d=c.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),e=a(d),e.trigger("close"),b&&b.preventDefault(),e.length||(e=c.hasClass("alert")?c:c.parent()),e.trigger("close").removeClass("in"),a.support.transition&&e.hasClass("fade")?e.on(a.support.transition.end,f):f()}},a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("alert");e||d.data("alert",e=new c(this)),typeof b=="string"&&e[b].call(d)})},a.fn.alert.Constructor=c,a(function(){a("body").on("click.alert.data-api",b,c.prototype.close)})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.button.defaults,c)};b.prototype={constructor:b,setState:function(a){var b="disabled",c=this.$element,d=c.data(),e=c.is("input")?"val":"html";a+="Text",d.resetText||c.data("resetText",c[e]()),c[e](d[a]||this.options[a]),setTimeout(function(){a=="loadingText"?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},toggle:function(){var a=this.$element.parent('[data-toggle="buttons-radio"]');a&&a.find(".active").removeClass("active"),this.$element.toggleClass("active")}},a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("button"),f=typeof c=="object"&&c;e||d.data("button",e=new b(this,f)),c=="toggle"?e.toggle():c&&e.setState(c)})},a.fn.button.defaults={loadingText:"loading..."},a.fn.button.Constructor=b,a(function(){a("body").on("click.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle")})})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.carousel.defaults,c),this.options.slide&&this.slide(this.options.slide),this.options.pause=="hover"&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.prototype={cycle:function(){return this.interval=setInterval(a.proxy(this.next,this),this.options.interval),this},to:function(b){var c=this.$element.find(".active"),d=c.parent().children(),e=d.index(c),f=this;if(b>d.length-1||b<0)return;return this.sliding?this.$element.one("slid",function(){f.to(b)}):e==b?this.pause().cycle():this.slide(b>e?"next":"prev",a(d[b]))},pause:function(){return clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(b,c){var d=this.$element.find(".active"),e=c||d[b](),f=this.interval,g=b=="next"?"left":"right",h=b=="next"?"first":"last",i=this;this.sliding=!0,f&&this.pause(),e=e.length?e:this.$element.find(".item")[h]();if(e.hasClass("active"))return;return!a.support.transition&&this.$element.hasClass("slide")?(this.$element.trigger("slide"),d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid")):(e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),this.$element.trigger("slide"),this.$element.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid")},0)})),f&&this.cycle(),this}},a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("carousel"),f=typeof c=="object"&&c;e||d.data("carousel",e=new b(this,f)),typeof c=="number"?e.to(c):typeof c=="string"||(c=f.slide)?e[c]():e.cycle()})},a.fn.carousel.defaults={interval:5e3,pause:"hover"},a.fn.carousel.Constructor=b,a(function(){a("body").on("click.carousel.data-api","[data-slide]",function(b){var c=a(this),d,e=a(c.attr("data-target")||(d=c.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,"")),f=!e.data("modal")&&a.extend({},e.data(),c.data());e.carousel(f),b.preventDefault()})})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.collapse.defaults,c),this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.prototype={constructor:b,dimension:function(){var a=this.$element.hasClass("width");return a?"width":"height"},show:function(){var b=this.dimension(),c=a.camelCase(["scroll",b].join("-")),d=this.$parent&&this.$parent.find(".in"),e;d&&d.length&&(e=d.data("collapse"),d.collapse("hide"),e||d.data("collapse",null)),this.$element[b](0),this.transition("addClass","show","shown"),this.$element[b](this.$element[0][c])},hide:function(){var a=this.dimension();this.reset(this.$element[a]()),this.transition("removeClass","hide","hidden"),this.$element[a](0)},reset:function(a){var b=this.dimension();return this.$element.removeClass("collapse")[b](a||"auto")[0].offsetWidth,this.$element[a?"addClass":"removeClass"]("collapse"),this},transition:function(b,c,d){var e=this,f=function(){c=="show"&&e.reset(),e.$element.trigger(d)};this.$element.trigger(c)[b]("in"),a.support.transition&&this.$element.hasClass("collapse")?this.$element.one(a.support.transition.end,f):f()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}},a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("collapse"),f=typeof c=="object"&&c;e||d.data("collapse",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.collapse.defaults={toggle:!0},a.fn.collapse.Constructor=b,a(function(){a("body").on("click.collapse.data-api","[data-toggle=collapse]",function(b){var c=a(this),d,e=c.attr("data-target")||b.preventDefault()||(d=c.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""),f=a(e).data("collapse")?"toggle":c.data();a(e).collapse(f)})})}(window.jQuery),!function(a){function d(){a(b).parent().removeClass("open")}"use strict";var b='[data-toggle="dropdown"]',c=function(b){var c=a(b).on("click.dropdown.data-api",this.toggle);a("html").on("click.dropdown.data-api",function(){c.parent().removeClass("open")})};c.prototype={constructor:c,toggle:function(b){var c=a(this),e=c.attr("data-target"),f,g;return e||(e=c.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,"")),f=a(e),f.length||(f=c.parent()),g=f.hasClass("open"),d(),!g&&f.toggleClass("open"),!1}},a.fn.dropdown=function(b){return this.each(function(){var d=a(this),e=d.data("dropdown");e||d.data("dropdown",e=new c(this)),typeof b=="string"&&e[b].call(d)})},a.fn.dropdown.Constructor=c,a(function(){a("html").on("click.dropdown.data-api",d),a("body").on("click.dropdown.data-api",b,c.prototype.toggle)})}(window.jQuery),!function(a){function c(){var b=this,c=setTimeout(function(){b.$element.off(a.support.transition.end),d.call(b)},500);this.$element.one(a.support.transition.end,function(){clearTimeout(c),d.call(b)})}function d(a){this.$element.hide().trigger("hidden"),e.call(this)}function e(b){var c=this,d=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var e=a.support.transition&&d;this.$backdrop=a('<div class="modal-backdrop '+d+'" />').appendTo(document.body),this.options.backdrop!="static"&&this.$backdrop.click(a.proxy(this.hide,this)),e&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),e?this.$backdrop.one(a.support.transition.end,b):b()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(a.support.transition.end,a.proxy(f,this)):f.call(this)):b&&b()}function f(){this.$backdrop.remove(),this.$backdrop=null}function g(){var b=this;this.isShown&&this.options.keyboard?a(document).on("keyup.dismiss.modal",function(a){a.which==27&&b.hide()}):this.isShown||a(document).off("keyup.dismiss.modal")}"use strict";var b=function(b,c){this.options=c,this.$element=a(b).delegate('[data-dismiss="modal"]',"click.dismiss.modal",a.proxy(this.hide,this))};b.prototype={constructor:b,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var b=this;if(this.isShown)return;a("body").addClass("modal-open"),this.isShown=!0,this.$element.trigger("show"),g.call(this),e.call(this,function(){var c=a.support.transition&&b.$element.hasClass("fade");!b.$element.parent().length&&b.$element.appendTo(document.body),b.$element.show(),c&&b.$element[0].offsetWidth,b.$element.addClass("in"),c?b.$element.one(a.support.transition.end,function(){b.$element.trigger("shown")}):b.$element.trigger("shown")})},hide:function(b){b&&b.preventDefault();if(!this.isShown)return;var e=this;this.isShown=!1,a("body").removeClass("modal-open"),g.call(this),this.$element.trigger("hide").removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?c.call(this):d.call(this)}},a.fn.modal=function(c){return this.each(function(){var d=a(this),e=d.data("modal"),f=a.extend({},a.fn.modal.defaults,d.data(),typeof c=="object"&&c);e||d.data("modal",e=new b(this,f)),typeof c=="string"?e[c]():f.show&&e.show()})},a.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},a.fn.modal.Constructor=b,a(function(){a("body").on("click.modal.data-api",'[data-toggle="modal"]',function(b){var c=a(this),d,e=a(c.attr("data-target")||(d=c.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,"")),f=e.data("modal")?"toggle":a.extend({},e.data(),c.data());b.preventDefault(),e.modal(f)})})}(window.jQuery),!function(a){"use strict";var b=function(a,b){this.init("tooltip",a,b)};b.prototype={constructor:b,init:function(b,c,d){var e,f;this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.enabled=!0,this.options.trigger!="manual"&&(e=this.options.trigger=="hover"?"mouseenter":"focus",f=this.options.trigger=="hover"?"mouseleave":"blur",this.$element.on(e,this.options.selector,a.proxy(this.enter,this)),this.$element.on(f,this.options.selector,a.proxy(this.leave,this))),this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(b){return b=a.extend({},a.fn[this.type].defaults,b,this.$element.data()),b.delay&&typeof b.delay=="number"&&(b.delay={show:b.delay,hide:b.delay}),b},enter:function(b){var c=a(b.currentTarget)[this.type](this._options).data(this.type);!c.options.delay||!c.options.delay.show?c.show():(c.hoverState="in",setTimeout(function(){c.hoverState=="in"&&c.show()},c.options.delay.show))},leave:function(b){var c=a(b.currentTarget)[this.type](this._options).data(this.type);!c.options.delay||!c.options.delay.hide?c.hide():(c.hoverState="out",setTimeout(function(){c.hoverState=="out"&&c.hide()},c.options.delay.hide))},show:function(){var a,b,c,d,e,f,g;if(this.hasContent()&&this.enabled){a=this.tip(),this.setContent(),this.options.animation&&a.addClass("fade"),f=typeof this.options.placement=="function"?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,b=/in/.test(f),a.remove().css({top:0,left:0,display:"block"}).appendTo(b?this.$element:document.body),c=this.getPosition(b),d=a[0].offsetWidth,e=a[0].offsetHeight;switch(b?f.split(" ")[1]:f){case"bottom":g={top:c.top+c.height,left:c.left+c.width/2-d/2};break;case"top":g={top:c.top-e,left:c.left+c.width/2-d/2};break;case"left":g={top:c.top+c.height/2-e/2,left:c.left-d};break;case"right":g={top:c.top+c.height/2-e/2,left:c.left+c.width}}a.css(g).addClass(f).addClass("in")}},setContent:function(){var a=this.tip();a.find(".tooltip-inner").html(this.getTitle()),a.removeClass("fade in top bottom left right")},hide:function(){function d(){var b=setTimeout(function(){c.off(a.support.transition.end).remove()},500);c.one(a.support.transition.end,function(){clearTimeout(b),c.remove()})}var b=this,c=this.tip();c.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?d():c.remove()},fixTitle:function(){var a=this.$element;(a.attr("title")||typeof a.attr("data-original-title")!="string")&&a.attr("data-original-title",a.attr("title")||"").removeAttr("title")},hasContent:function(){return this.getTitle()},getPosition:function(b){return a.extend({},b?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight})},getTitle:function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||(typeof c.title=="function"?c.title.call(b[0]):c.title),a=(a||"").toString().replace(/(^\s*|\s*$)/,""),a},tip:function(){return this.$tip=this.$tip||a(this.options.template)},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(){this[this.tip().hasClass("in")?"hide":"show"]()}},a.fn.tooltip=function(c){return this.each(function(){var d=a(this),e=d.data("tooltip"),f=typeof c=="object"&&c;e||d.data("tooltip",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.tooltip.Constructor=b,a.fn.tooltip.defaults={animation:!0,delay:0,selector:!1,placement:"top",trigger:"hover",title:"",template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'}}(window.jQuery),!function(a){"use strict";var b=function(a,b){this.init("popover",a,b)};b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype,{constructor:b,setContent:function(){var b=this.tip(),c=this.getTitle(),d=this.getContent();b.find(".popover-title")[a.type(c)=="object"?"append":"html"](c),b.find(".popover-content > *")[a.type(d)=="object"?"append":"html"](d),b.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var a,b=this.$element,c=this.options;return a=b.attr("data-content")||(typeof c.content=="function"?c.content.call(b[0]):c.content),a=a.toString().replace(/(^\s*|\s*$)/,""),a},tip:function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip}}),a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("popover"),f=typeof c=="object"&&c;e||d.data("popover",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.defaults=a.extend({},a.fn.tooltip.defaults,{placement:"right",content:"",template:'<div class="popover"><div class="arrow"></div><div class="popover-inner"><h3 class="popover-title"></h3><div class="popover-content"><p></p></div></div></div>'})}(window.jQuery),!function(a){function b(b,c){var d=a.proxy(this.process,this),e=a(b).is("body")?a(window):a(b),f;this.options=a.extend({},a.fn.scrollspy.defaults,c),this.$scrollElement=e.on("scroll.scroll.data-api",d),this.selector=(this.options.target||(f=a(b).attr("href"))&&f.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=a("body").on("click.scroll.data-api",this.selector,d),this.refresh(),this.process()}"use strict",b.prototype={constructor:b,refresh:function(){this.targets=this.$body.find(this.selector).map(function(){var b=a(this).attr("href");return/^#\w/.test(b)&&a(b).length?b:null}),this.offsets=a.map(this.targets,function(b){return a(b).position().top})},process:function(){var a=this.$scrollElement.scrollTop()+this.options.offset,b=this.offsets,c=this.targets,d=this.activeTarget,e;for(e=b.length;e--;)d!=c[e]&&a>=b[e]&&(!b[e+1]||a<=b[e+1])&&this.activate(c[e])},activate:function(a){var b;this.activeTarget=a,this.$body.find(this.selector).parent(".active").removeClass("active"),b=this.$body.find(this.selector+'[href="'+a+'"]').parent("li").addClass("active"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active")}},a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("scrollspy"),f=typeof c=="object"&&c;e||d.data("scrollspy",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.defaults={offset:10},a(function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(window.jQuery),!function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype={constructor:b,show:function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.attr("data-target"),e,f;d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,""));if(b.parent("li").hasClass("active"))return;e=c.find(".active a").last()[0],b.trigger({type:"show",relatedTarget:e}),f=a(d),this.activate(b.parent("li"),c),this.activate(f,f.parent(),function(){b.trigger({type:"shown",relatedTarget:e})})},activate:function(b,c,d){function g(){e.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),f?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var e=c.find("> .active"),f=d&&a.support.transition&&e.hasClass("fade");f?e.one(a.support.transition.end,g):g(),e.removeClass("in")}},a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("tab");e||d.data("tab",e=new b(this)),typeof c=="string"&&e[c]()})},a.fn.tab.Constructor=b,a(function(){a("body").on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.typeahead.defaults,c),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.$menu=a(this.options.menu).appendTo("body"),this.source=this.options.source,this.shown=!1,this.listen()};b.prototype={constructor:b,select:function(){var a=this.$menu.find(".active").attr("data-value");return this.$element.val(a),this.$element.change(),this.hide()},show:function(){var b=a.extend({},this.$element.offset(),{height:this.$element[0].offsetHeight});return this.$menu.css({top:b.top+b.height,left:b.left}),this.$menu.show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(b){var c=this,d,e;return this.query=this.$element.val(),this.query?(d=a.grep(this.source,function(a){if(c.matcher(a))return a}),d=this.sorter(d),d.length?this.render(d.slice(0,this.options.items)).show():this.shown?this.hide():this):this.shown?this.hide():this},matcher:function(a){return~a.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(a){var b=[],c=[],d=[],e;while(e=a.shift())e.toLowerCase().indexOf(this.query.toLowerCase())?~e.indexOf(this.query)?c.push(e):d.push(e):b.push(e);return b.concat(c,d)},highlighter:function(a){return a.replace(new RegExp("("+this.query+")","ig"),function(a,b){return"<strong>"+b+"</strong>"})},render:function(b){var c=this;return b=a(b).map(function(b,d){return b=a(c.options.item).attr("data-value",d),b.find("a").html(c.highlighter(d)),b[0]}),b.first().addClass("active"),this.$menu.html(b),this},next:function(b){var c=this.$menu.find(".active").removeClass("active"),d=c.next();d.length||(d=a(this.$menu.find("li")[0])),d.addClass("active")},prev:function(a){var b=this.$menu.find(".active").removeClass("active"),c=b.prev();c.length||(c=this.$menu.find("li").last()),c.addClass("active")},listen:function(){this.$element.on("blur",a.proxy(this.blur,this)).on("keypress",a.proxy(this.keypress,this)).on("keyup",a.proxy(this.keyup,this)),(a.browser.webkit||a.browser.msie)&&this.$element.on("keydown",a.proxy(this.keypress,this)),this.$menu.on("click",a.proxy(this.click,this)).on("mouseenter","li",a.proxy(this.mouseenter,this))},keyup:function(a){switch(a.keyCode){case 40:case 38:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}a.stopPropagation(),a.preventDefault()},keypress:function(a){if(!this.shown)return;switch(a.keyCode){case 9:case 13:case 27:a.preventDefault();break;case 38:a.preventDefault(),this.prev();break;case 40:a.preventDefault(),this.next()}a.stopPropagation()},blur:function(a){var b=this;setTimeout(function(){b.hide()},150)},click:function(a){a.stopPropagation(),a.preventDefault(),this.select()},mouseenter:function(b){this.$menu.find(".active").removeClass("active"),a(b.currentTarget).addClass("active")}},a.fn.typeahead=function(c){return this.each(function(){var d=a(this),e=d.data("typeahead"),f=typeof c=="object"&&c;e||d.data("typeahead",e=new b(this,f)),typeof c=="string"&&e[c]()})},a.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>'},a.fn.typeahead.Constructor=b,a(function(){a("body").on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(b){var c=a(this);if(c.data("typeahead"))return;b.preventDefault(),c.typeahead(c.data())})})}(window.jQuery);
\ No newline at end of file
--- a/assist/docs/js/jquery.min.js
+++ /dev/null
@@ -1,4 +0,0 @@
1-/*! jQuery v1.7.1 jquery.com | jquery.org/license */
2-(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function cb(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function ca(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bE.test(a)?d(a,e):ca(a+"["+(typeof e=="object"||f.isArray(e)?b:"")+"]",e,c,d)});else if(!c&&b!=null&&typeof b=="object")for(var e in b)ca(a+"["+e+"]",b[e],c,d);else d(a,b)}function b_(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function b$(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bT,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=b$(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=b$(a,c,d,e,"*",g));return l}function bZ(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bP),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bC(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?bx:by,g=0,h=e.length;if(d>0){if(c!=="border")for(;g<h;g++)c||(d-=parseFloat(f.css(a,"padding"+e[g]))||0),c==="margin"?d+=parseFloat(f.css(a,c+e[g]))||0:d-=parseFloat(f.css(a,"border"+e[g]+"Width"))||0;return d+"px"}d=bz(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0;if(c)for(;g<h;g++)d+=parseFloat(f.css(a,"padding"+e[g]))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+e[g]+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+e[g]))||0);return d+"px"}function bp(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bf,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bo(a){var b=c.createElement("div");bh.appendChild(b),b.innerHTML=a.outerHTML;return b.firstChild}function bn(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bm(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bm)}function bm(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bl(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bk(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bj(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c+(i[c][d].namespace?".":"")+i[c][d].namespace,i[c][d],i[c][d].data)}h.data&&(h.data=f.extend({},h.data))}}function bi(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function U(a){var b=V.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function T(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(O.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(H)return H.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c=="object"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())});return e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?m(g):h==="function"&&(!a.unique||!o.has(g))&&c.push(g)},n=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,l=j||0,j=0,k=c.length;for(;c&&l<k;l++)if(c[l].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}i=!1,c&&(a.once?e===!0?o.disable():c=[]:d&&d.length&&(e=d.shift(),o.fireWith(e[0],e[1])))},o={add:function(){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){i&&f<=k&&(k--,f<=l&&l--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){c=[];return this},disable:function(){c=d=e=b;return this},disabled:function(){return!c},lock:function(){d=b,(!e||e===!0)&&o.disable();return this},locked:function(){return!d},fireWith:function(b,c){d&&(i?a.once||d.push([b,c]):(!a.once||!e)&&n(b,c));return this},fire:function(){o.fireWith(this,arguments);return this},fired:function(){return!!e}};return o};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){i.done(a).fail(b).progress(c);return this},always:function(){i.done.apply(i,arguments).fail.apply(i,arguments);return this},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i);return i},when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var b,d,e,g,h,i,j,k,l,m,n,o,p,q=c.createElement("div"),r=c.documentElement;q.setAttribute("className","t"),q.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="<div "+n+"><div></div></div>"+"<table "+n+" cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="<div style='width:4px;'></div>",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d,e,g,h=null;if(typeof a=="undefined"){if(this.length){h=f.data(this[0]);if(this[0].nodeType===1&&!f._data(this[0],"parsedAttrs")){e=this[0].attributes;for(var i=0,j=e.length;i<j;i++)g=e[i].name,g.indexOf("data-")===0&&(g=f.camelCase(g.substring(5)),l(this[0],g,h[g]));f._data(this[0],"parsedAttrs",!0)}}return h}if(typeof a=="object")return this.each(function(){f.data(this,a)});d=a.split("."),d[1]=d[1]?"."+d[1]:"";if(c===b){h=this.triggerHandler("getData"+d[1]+"!",[d[0]]),h===b&&this.length&&(h=f.data(this[0],a),h=l(this[0],a,h));return h===b&&d[1]?this.data(d[0]):h}return this.each(function(){var b=f(this),e=[d[0],c];b.triggerHandler("setData"+d[1]+"!",e),f.data(this,a,c),b.triggerHandler("changeData"+d[1]+"!",e)})},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){typeof a!="string"&&(c=a,a="fx");if(c===b)return f.queue(this[0],a);return this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);m();return d.promise()}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}if(j&&!h.length&&i.length)return f(i[g]).val();return h},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h<g;h++)e=d[h],e&&(c=f.propFix[e]||e,f.attr(a,e,""),a.removeAttribute(v?e:c),u.test(e)&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},value:{get:function(a,b){if(w&&f.nodeName(a,"button"))return w.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e,g,h,i=a.nodeType;if(!!a&&i!==3&&i!==8&&i!==2){h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]);return d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]}},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},v||(y={name:!0,id:!0},w=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);e||(e=c.createAttribute(d),a.setAttributeNode(e));return e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})}),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""&&(b="false"),w.set(a,b,c)}}),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex);return null}})),f.support.enctype||(f.propFix.enctype="encoding"),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};
3-f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k<c.length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,quick:G(g),namespace:n.join(".")},p),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null}},global:{},remove:function(a,b,c,d,e){var g=f.hasData(a)&&f._data(a),h,i,j,k,l,m,n,o,p,q,r,s;if(!!g&&!!(o=g.events)){b=f.trim(I(b||"")).split(" ");for(h=0;h<b.length;h++){i=A.exec(b[h])||[],j=k=i[1],l=i[2];if(!j){for(j in o)f.event.remove(a,j+b[h],c,d,!0);continue}p=f.event.special[j]||{},j=(d?p.delegateType:p.bindType)||j,r=o[j]||[],m=r.length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(n=0;n<r.length;n++)s=r[n],(e||k===s.origType)&&(!c||c.guid===s.guid)&&(!l||l.test(s.namespace))&&(!d||d===s.selector||d==="**"&&s.selector)&&(r.splice(n--,1),s.selector&&r.delegateCount--,p.remove&&p.remove.call(a,s));r.length===0&&m!==r.length&&((!p.teardown||p.teardown.call(a,l)===!1)&&f.removeEvent(a,j,g.handle),delete o[j])}f.isEmptyObject(o)&&(q=g.handle,q&&(q.elem=null),f.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;if(E.test(h+f.event.triggered))return;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length&&!c.isPropagationStopped();l++)m=r[l][0],c.type=r[l][1],q=(f._data(m,"events")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d)===!1&&c.preventDefault();c.type=h,!g&&!c.isDefaultPrevented()&&(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));return c.result}},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=[],j,k,l,m,n,o,p,q,r,s,t;g[0]=c,c.delegateTarget=this;if(e&&!c.target.disabled&&(!c.button||c.type!=="click")){m=f(this),m.context=this.ownerDocument||this;for(l=c.target;l!=this;l=l.parentNode||this){o={},q=[],m[0]=l;for(j=0;j<e;j++)r=d[j],s=r.selector,o[s]===b&&(o[s]=r.quick?H(l,r.quick):m.is(s)),o[s]&&q.push(r);q.length&&i.push({elem:l,matches:q})}}d.length>e&&i.push({elem:this,matches:d.slice(e)});for(j=0;j<i.length&&!c.isPropagationStopped();j++){p=i[j],c.currentTarget=p.elem;for(k=0;k<p.matches.length&&!c.isImmediatePropagationStopped();k++){r=p.matches[k];if(h||!c.namespace&&!r.namespace||c.namespace_re&&c.namespace_re.test(r.namespace))c.data=r.data,c.handleObj=r,n=((f.event.special[r.origType]||{}).handle||r.handler).apply(p.elem,g),n!==b&&(c.result=n,n===!1&&(c.preventDefault(),c.stopPropagation()))}}return c.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0);return a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?K:J):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=K;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K,this.stopPropagation()},isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=this,d=a.relatedTarget,e=a.handleObj,g=e.selector,h;if(!d||d!==c&&!f.contains(c,d))a.type=e.origType,h=e.handler.apply(this,arguments),a.type=b;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){this.parentNode&&!a.isTrigger&&f.event.simulate("submit",this.parentNode,a,!0)}),d._submit_attached=!0)})},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,"._submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(z.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;z.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,"._change");return z.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=J;else if(!e)return this;g===1&&(h=e,e=function(a){f().off(a);return h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++));return this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on.call(this,a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;f(a.delegateTarget).off(e.namespace?e.type+"."+e.namespace:e.type,e.selector,e.handler);return this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function")d=c,c=b;d===!1&&(d=J);return this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){f(this.context).on(a,this.selector,b,c);return this},die:function(a,b){f(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q)if(g==null)m.error(a);else break;q=a}return s},m.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1||d===9){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e+=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}j=a.nodeIndex-e;return c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b){h=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var L=/Until$/,M=/^(?:parents|prevUntil|prevAll)/,N=/,/,O=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,Q=f.expr.match.POS,R={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(T(this,a,!1),"not",a)},filter:function(a){return this.pushStack(T(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?Q.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=Q.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/<tbody/i,_=/<|&#?\w+;/,ba=/<(?:script|style)/i,bb=/<(?:script|object|embed|option|style)/i,bc=new RegExp("<(?:"+V+")","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*<!(?:\[CDATA\[|\-\-)/,bg={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function()
4-{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1></$2>");try{for(var c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName("*")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}}else f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bd.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bi(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,bp)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0];b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!bb.test(j)&&(f.support.checkClone||!bd.test(j))&&(f.support.html5Clone||!bc.test(j))&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1></$2>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]==="<table>"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i<r;i++)bn(k[i]);else bn(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||be.test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],"script")&&(!h[j].type||h[j].type.toLowerCase()==="text/javascript"))e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName("script"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bq=/alpha\([^)]*\)/i,br=/opacity=([^)]*)/,bs=/([A-Z]|^ms)/g,bt=/^-?\d+(?:px)?$/i,bu=/^-?\d/,bv=/^([\-+])=([\-+.\de]+)/,bw={position:"absolute",visibility:"hidden",display:"block"},bx=["Left","Right"],by=["Top","Bottom"],bz,bA,bB;f.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bz(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bv.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(bz)return bz(a,c)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c){if(a.offsetWidth!==0)return bC(a,b,d);f.swap(a,bw,function(){e=bC(a,b,d)});return e}},set:function(a,b){if(!bt.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("<div>").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),e===""&&f.css(d,"display")==="none"&&f._data(d,"olddisplay",cv(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cu("hide",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(cu("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cv(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)j=new f.fx(this,b,i),h=a[i],cn.test(h)?(o=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),o?(f._data(this,"toggle"+i,o==="show"?"hide":"show"),j[o]()):j[h]()):(k=co.exec(h),l=j.cur(),k?(m=parseFloat(k[2]),n=k[3]||(f.cssNumber[i]?"":"px"),n!=="px"&&(f.style(this,i,(m||1)+n),l=(m||1)/j.cur()*l,f.style(this,i,l+n)),k[1]&&(m=(k[1]==="-="?-1:1)*m+l),j.custom(l,m,n)):j.custom(l,h,""));return!0}var e=f.speed(b,c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return e.queue===!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]);return this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b]&&g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b);else g[b=a+".run"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:cu("show",1),slideUp:cu("hide",1),slideToggle:cu("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;this.startTime=cr||cs(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){e.options.hide&&f._data(e.elem,"fxshow"+e.prop)===b&&f._data(e.elem,"fxshow"+e.prop,e.start)},h()&&f.timers.push(h)&&!cp&&(cp=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=cr||cs(),g=!0,h=this.elem,i=this.options;if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||f.fx.stop()},interval:13,stop:function(){clearInterval(cp),cp=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}}),f.each(["width","height"],function(a,b){f.fx.step[b]=function(a){f.style(a.elem,b,Math.max(0,a.now)+a.unit)}}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var cw=/^t(?:able|d|h)$/i,cx=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?f.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(d){}var e=b.ownerDocument,g=e.documentElement;if(!c||!f.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=e.body,i=cy(e),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||f.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||f.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:f.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);var c,d=b.offsetParent,e=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(f.support.fixedPosition&&k.position==="fixed")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===d&&(l+=b.offsetTop,m+=b.offsetLeft,f.support.doesNotAddBorder&&(!f.support.doesAddBorderForTableAndCells||!cw.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),e=d,d=b.offsetParent),f.support.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position==="relative"||k.position==="static")l+=i.offsetTop,m+=i.offsetLeft;f.support.fixedPosition&&k.position==="fixed"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},f.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window);
\ No newline at end of file
--- a/assist/docs/js/prettify.css
+++ /dev/null
@@ -1,27 +0,0 @@
1-.com { color: #93a1a1; }
2-.lit { color: #195f91; }
3-.pun, .opn, .clo { color: #93a1a1; }
4-.fun { color: #dc322f; }
5-.str, .atv { color: #D14; }
6-.kwd, .linenums .tag { color: #1e347b; }
7-.typ, .atn, .dec, .var { color: teal; }
8-.pln { color: #48484c; }
9-
10-.prettyprint {
11- padding: 8px;
12- background-color: #f7f7f9;
13- border: 1px solid #e1e1e8;
14-}
15-.prettyprint.linenums {
16- box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0;
17-}
18-
19-ol.linenums {
20- margin: 0 0 0 33px;
21-}
22-ol.linenums li {
23- padding-left: 12px;
24- color: #bebec5;
25- line-height: 18px;
26- text-shadow: 0 1px 0 #fff;
27-}
\ No newline at end of file
--- a/assist/docs/js/prettify.js
+++ /dev/null
@@ -1,28 +0,0 @@
1-var q=null;window.PR_SHOULD_USE_CONTINUATION=!0;
2-(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a=
3-[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c+1]?(d=m(f[c+2]),c+=2):d=j;b.push([j,d]);d<65||j>122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;c<b.length;++c)i=b[c],i[0]<=j[1]+1?j[1]=Math.max(j[1],i[1]):f.push(j=i);b=["["];o&&b.push("^");b.push.apply(b,a);for(c=0;c<
4-f.length;++c)i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c<b;++c){var j=f[c];j==="("?++i:"\\"===j.charAt(0)&&(j=+j.substring(1))&&j<=i&&(d[j]=-1)}for(c=1;c<d.length;++c)-1===d[c]&&(d[c]=++t);for(i=c=0;c<b;++c)j=f[c],j==="("?(++i,d[i]===void 0&&(f[c]="(?:")):"\\"===j.charAt(0)&&
5-(j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");if(a.ignoreCase&&s)for(c=0;c<b;++c)j=f[c],a=j.charAt(0),j.length>=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p<d;++p){var g=a[p];if(g.ignoreCase)l=!0;else if(/[a-z]/i.test(g.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){s=!0;l=!1;break}}for(var r=
6-{b:8,t:9,n:10,v:11,f:12,r:13},n=[],p=0,d=a.length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}return RegExp(n.join("|"),l?"gi":"g")}function M(a){function m(a){switch(a.nodeType){case 1:if(e.test(a.className))break;for(var g=a.firstChild;g;g=g.nextSibling)m(g);g=a.nodeName;if("BR"===g||"LI"===g)h[s]="\n",t[s<<1]=y++,t[s++<<1|1]=a;break;case 3:case 4:g=a.nodeValue,g.length&&(g=p?g.replace(/\r\n?/g,"\n"):g.replace(/[\t\n\r ]+/g," "),h[s]=g,t[s<<1]=y,y+=g.length,
7-t[s++<<1|1]=a)}}var e=/(?:^|\s)nocode(?:\s|$)/,h=[],y=0,t=[],s=0,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=document.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);m(a);return{a:h.join("").replace(/\n$/,""),c:t}}function B(a,m,e,h){m&&(a={a:m,d:a},e(a),h.push.apply(h,a.e))}function x(a,m){function e(a){for(var l=a.d,p=[l,"pln"],d=0,g=a.a.match(y)||[],r={},n=0,z=g.length;n<z;++n){var f=g[n],b=r[f],o=void 0,c;if(typeof b===
8-"string")c=!1;else{var i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0];break}o||(b="pln")}if((c=b.length>=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m),
9-l=[],p={},d=0,g=e.length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,
10-q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/,
11-q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g,
12-"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a),
13-a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e}
14-for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g<d.length;++g)e(d[g]);m===(m|0)&&d[0].setAttribute("value",
15-m);var r=s.createElement("OL");r.className="linenums";for(var n=Math.max(0,m-1|0)||0,g=0,z=d.length;g<z;++g)l=d[g],l.className="L"+(g+n)%10,l.firstChild||l.appendChild(s.createTextNode("\xa0")),r.appendChild(l);a.appendChild(r)}function k(a,m){for(var e=m.length;--e>=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*</.test(m)?"default-markup":"default-code";return A[a]}function E(a){var m=
16-a.g;try{var e=M(a.h),h=e.a;a.a=h;a.c=e.c;a.d=0;C(m,h)(a);var k=/\bMSIE\b/.test(navigator.userAgent),m=/\n/g,t=a.a,s=t.length,e=0,l=a.c,p=l.length,h=0,d=a.e,g=d.length,a=0;d[g]=s;var r,n;for(n=r=0;n<g;)d[n]!==d[n+2]?(d[r++]=d[n++],d[r++]=d[n++]):n+=2;g=r;for(n=r=0;n<g;){for(var z=d[n],f=d[n+1],b=n+2;b+2<=g&&d[b+1]===f;)b+=2;d[r++]=z;d[r++]=f;n=b}for(d.length=r;h<p;){var o=l[h+2]||s,c=d[a+2]||s,b=Math.min(o,c),i=l[h+1],j;if(i.nodeType!==1&&(j=t.substring(e,b))){k&&(j=j.replace(m,"\r"));i.nodeValue=
17-j;var u=i.ownerDocument,v=u.createElement("SPAN");v.className=d[a+1];var x=i.parentNode;x.replaceChild(v,i);v.appendChild(i);e<o&&(l[h+1]=i=u.createTextNode(t.substring(b,o)),x.insertBefore(i,v.nextSibling))}e=b;e>=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],
18-"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"],
19-H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],
20-J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+
21-I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),
22-["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
23-/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),
24-["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes",
25-hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p<h.length&&l.now()<e;p++){var n=h[p],k=n.className;if(k.indexOf("prettyprint")>=0){var k=k.match(g),f,b;if(b=
26-!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p<h.length?setTimeout(m,
27-250):a&&a()}for(var e=[document.getElementsByTagName("pre"),document.getElementsByTagName("code"),document.getElementsByTagName("xmp")],h=[],k=0;k<e.length;++k)for(var t=0,s=e[k].length;t<s;++t)h.push(e[k][t]);var e=q,l=Date;l.now||(l={now:function(){return+new Date}});var p=0,d,g=/\blang(?:uage)?-([\w.]+)(?!\S)/;m()};window.PR={createSimpleLexer:x,registerLangHandler:k,sourceDecorator:u,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",
28-PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ"}})();
--- a/assist/js/epgrec_assist.js
+++ b/assist/js/epgrec_assist.js
@@ -1,8 +1,8 @@
11 /*
22 * epgrec assist
33 *
4- * version 0.1.0
5- * 9:43 2012/03/26
4+ * version 0.1.1
5+ * 1:32 2012/04/04
66 *
77 * Auther : osamu / atelier TRUMPHOUSE
88 * Twitter : trumphouse
@@ -14,6 +14,8 @@ var ASSIST_INI = ASSIST_INI || {};
1414
1515 $(function(){
1616
17+// ユーザー設定 ================= ここから
18+
1719 // epgrec_assistを有効にする
1820 // epgrecのバージョンアップ等による
1921 // 不具合が出た場合は 0 にしてください
@@ -31,7 +33,19 @@ ASSIST_INI.index_nowbar_live = 10;
3133 // 録画済一覧で有効にする
3234 ASSIST_INI.recorded = 1;
3335 // 録画済一覧、データ削除時ファイルも削除
34-ASSIST_INI.recorded_delete_with_file = 0;
36+ASSIST_INI.recorded_delete_with_file = 1;
37+
38+// ディスク残量を表示(ajax ver)
39+ASSIST_INI.ext_diskinfo = 1;
40+// 残量表示警告色、切り替え割合(%)
41+// HDDの容量に応じて変更してください
42+ASSIST_INI.ext_diskinfo_levels = [50,65,80,90];
43+// 残量表示に予約領域も表示
44+ASSIST_INI.ext_diskinfo_rsvBar = 1;
45+// 予約領域計算用ビットレート
46+ASSIST_INI.ext_diskinfo_rsvBar_bitrates = {GR : 16.85 , BS : 26.1 ,CS : 26.1};
47+
48+// ユーザー設定 ================= ここまで
3549
3650 });
3751
@@ -83,12 +97,13 @@ ER_sub.topMenu = function(tg) {
8397
8498 ER_sub.STYLES = {
8599 basic : 'body {background:#222;color:#EEE;padding:0;}.vsblN {visibility:hidden}.unSel{ -moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select:none;user-select: none;cursor:default;}.btnB{color:#EEE;background:#333;display:inline-block;padding:0.6em 1.2em;margin:0.4em;letter-spacing:2px;line-height:1em;border:1px solid #666;border-radius:0.6em;}.btnB:hover{color:#FFF;background:#222;}'+
86- '.ezBtn{display:inline-block;padding:0.4em 0.8em !important;border-radius:0.6em;}.ezBtn.uTri:after{content:\'\';display:inline-block;overflow:hidden;position:relative;margin:0 0.2em;top:3px;width:0px;height:0px;border:5px solid transparent;border-top-color:#EEE;padding:0;}.ezBtn.selected{background:#27D;color:#FFF !important;}.ezChk{color:#CCC;}.ezChk:hover{color:#FFF;}.ezChk:before{content:\'\';display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:0.5em;background:url(assist/imgs/ic20.png) ;}.checked.ezChk:before{background-position:0px -20px;}',
87- md_screen : '.WD100N,.WD90N,.WD70N{display:none;}@media screen and (max-width:1100px) {.WD110{display:none !important;}}@media screen and (max-width:1000px) { .WD100{display:none !important;}.WD100N{display:inherit;}#jmpTimes .dates a{width:3.4em;}#jmpTimes .dates a.now span{font-size:100%;}#jmpTimes .dates a .num{font-size:160%;}#jmpTimes a.hour{padding:0.1em 0;}#jmpTimes a{width:1.42em;}#float_titles div.ch_title div {font-size:90%;padding:0.5em 0;}table .ch_Box{max-width:5em;color:#CCC;text-align:left;padding:0.15em 0.3em;}table .ctg_Box{color:#CCC;text-transform:capitalize;padding:0.15em;}#twrap0 table td,#twrap0 table td.title span.title{font-size:100% !important;}}@media screen and (max-width:900px) {.WD90{display:none !important;}.WD90N{display:inherit;}}@media screen and (max-width:900px) {table#reservation_table td{padding:3px;}}@media screen and (max-width:700px) {#reservation_table td:first-child{padding-left:1em;}#jmpTimes .dates a{width:2.6em;}#jmpTimes .dates a .num{font-size:140%;}#jmpTimes a.hour{width:1.1em;} #float_titles div.ch_title div {padding:0.3em 0;}.WD70{display:none !important;}.WD70N{display:block;} table .ch_Box {max-width:3em;}}',
100+ '.ezBtn{display:inline-block;padding:0.4em 0.8em !important;border-radius:0.6em;}.ezBtn.uTri:after{content:\'\';display:inline-block;overflow:hidden;position:relative;margin:0 0.2em;top:3px;width:0px;height:0px;border:5px solid transparent;border-top-color:#EEE;padding:0;}.ezBtn.selected{background:#27D;color:#FFF !important;}.ezChk{color:#CCC;}.ezChk:hover{color:#FFF;}.ezChk:before{content:\'\';display:inline-block;width:20px;height:20px;vertical-align:middle;margin-right:0.5em;background:url(assist/imgs/ic20.png) ;}.checked.ezChk:before{background-position:0px -20px;}.spblock {display:inline-block;border-radius:0.4em;font-size:85%;background:#555;padding:0 0.4em;margin:0 0.5em;}',
101+ md_screen : '.WD100N,.WD90N,.WD70N{display:none;}@media screen and (max-width:1100px) {.WD110{display:none !important;}}@media screen and (max-width:1000px) { .WD100{display:none !important;}.WD100N{display:inherit;}#jmpTimes .dates a{width:3.4em;}#jmpTimes .dates a.now span{font-size:100%;}#jmpTimes .dates a .num{font-size:160%;}#jmpTimes a.hour{padding:0.1em 0;}#jmpTimes a{width:1.42em;}#float_titles div.ch_title div {font-size:90%;padding:0.5em 0;}table .ch_Box{max-width:5em;color:#CCC;text-align:left;padding:0.15em 0.3em;}table .ctg_Box{color:#CCC;text-transform:capitalize;padding:0.15em;}#twrap0 table td,#twrap0 table td.title span.title{font-size:100% !important;}}@media screen and (max-width:900px) {.WD90{display:none !important;}.WD90N{display:inherit;}}@media screen and (max-width:900px) {table#reservation_table td{padding:3px;}}@media screen and (max-width:700px) {#reservation_table td:first-child{padding-left:1em;}#jmpTimes .dates a{width:2.6em;}#jmpTimes .dates a .num{font-size:140%;}#jmpTimes a.hour{width:1.1em;} #float_titles div.ch_title div {padding:0.3em 0;}.WD70{display:none !important;}.WD70N{display:block;}span.WD70N{display:inline;} table .ch_Box {max-width:3em;}}',
88102 colorD : '.dotBox.ctg_news, .ctg_Box.ctg_news { background:#992; }.dotBox.ctg_drama, .ctg_Box.ctg_drama { background:#282; }.dotBox.ctg_variety, .ctg_Box.ctg_variety { background:#836; }.dotBox.ctg_etc, .ctg_Box.ctg_etc { background:#444; }.dotBox.ctg_information, .ctg_Box.ctg_information { background:#528; }.dotBox.ctg_anime, .ctg_Box.ctg_anime { background:#962; }.dotBox.ctg_sports, .ctg_Box.ctg_sports { background:#277; }.dotBox.ctg_music, .ctg_Box.ctg_music { background:#258; }.dotBox.ctg_cinema, .ctg_Box.ctg_cinema { background:#933; }',
89- table : function(t){return ' table#'+t+'{width:100%;margin:0;font-size:110%;}table#'+t+',table#'+t+' tr ,table#'+t+',table#'+t+' td ,table#'+t+' th {border:none;color:#AAA;background:#181818;}table#'+t+' th {color:#888;background-color:#222;font-size:85%;font-weight:normal;letter-spacing:2px;padding:0.5em 0 0.8em;overflow:hidden;}#'+t+' td{padding:0.3em;}#'+t+' tbody tr:first-child td{border-top:10px solid #181818;}#'+t+' tbody tr.last td{border-bottom:10px solid #181818;}#'+t+' td:first-child{padding-left:2em;}table#'+t+' td.date span.year{display:block;}table#'+t+' tr:hover td, table#'+t+' tr.selected td {background-color:#12304A;}table#'+t+' tr.error td{background-image:url(assist/imgs/stripe_w3.png);background-color:#400;background-attachment: fixed;}tr:hover .vsblN.hv{visibility:visible;}table#'+t+' tr:hover td,table#'+t+' tr:hover td.title .title {color:#FFF;}#'+t+' td.date,#'+t+' td.time{font-size:120%;font-weight:bold;color:#CCC;text-align:right;white-space:nowrap;} table#'+t+' td.title{position:relative;text-align:left;}table#'+t+' td.title>div{max-height:1.3em;overflow:hidden;} table#'+t+' td.title .desc{color:#478}table#'+t+' tr:hover td.title .desc{color:#ADD}table#'+t+' tr.dSplit td,table#'+t+' tr.mSplit td,table#'+t+' tr.ySplit td{padding:1px;overflow:hidden;border:solid #181818;border-width:4px 0;background:#282828;}table#'+t+' tr.mSplit td{padding:2px;background:#444;}table#'+t+' tr.ySplit td{background:#444;text-align:center;letter-spacing:2px;} table#'+t+' a.title{font-size:110%;font-weight:bold;color:#CCC} table#'+t+' a.title:hover{text-decoration:underline;}td.date,td.time,td.year{font-family:arial,helvetica;}td.date .dString{letter-spacing:2px;}td.date .year .sub,td.date .month .sub,td.date .date .sub{font-size:70%;color:#666;font-weight:normal;}td.date .dNum,td.time .dNum{font-size:110%;} td.date .dw{color:#888;font-size:90%;padding-left:0.2em;}td.date .dw_xx{display:inline-block;padding:0.1em 0.8em;margin:0 0.4em;vertical-align:middle;font-size:70%;background:#666;color:#FFF;border-radius:0.6em;}td.date .dw.dw_0{color:#C44;}td.date .dw.dw_6{color:#46C;}td.time .ap{font-size:80%;color:#888;padding-right:0.4em;}td.time .ap_time .zero{visibility:hidden;}table .ctg_Box,table .ch_Box{color:#DDD;font-size:90%;display:block;overflow:hidden;padding:0.2em 0.4em;white-space:nowrap;border-radius:0.6em;}table .ch_Box{width:8em;background:#2D2D2D;}table .img.play {display:inline-block;position:relative;width:24px;height:18px;vertical-align:-0.2em;margin-right:0.6em;}table a.play{background:#262626;line-height:999px;display:inline-block;width:24px;height:18px;border-radius:0.4em;overflow:hidden;}table tr:hover a.play{background-color:#CCC;}table a.play:after{content:\'\';display:block;width:24px;height:18px;position:absolute;top:50%;left:50%;margin-top:-7px;margin-left:-6px;background:url(assist/imgs/ic_play.png);width:13px;height:13px;}table tr a.play:hover{background:#4DF;}'+
103+ table : function(t){return ' h2 {font-size:140%;margin:0;padding:0.6em 2em;}#fmWrap{text-align:right;} div.fmBox{display:inline-block;color:#444;background:#BBB;margin:0 2em;padding:0.4em 1em;border-radius:0.8em;}div.fmBox form{display:inline;}#tblSel{padding:1em 2em;}#mutiPrgCnt{margin-right:2em;}#selCount{font-size:140%;font-weight:bold;}.btnB{margin:0 2em;}@media screen and (max-width:800px) {h2{font-size:110%;}div.fmBox{display:block;padding:0.2em 0.6em;margin:0;border-radius:0;}#twrap0 table th{padding:0.4em 0;}.btnB{padding:0.4em 1em;margin:0 0.4em;}}@media screen and (max-width:700px) {div.fmBox input{}div.fmBox select{width:5em;}#mutiPrgCnt{margin-right:0.5em;}#selCount{font-size:110%;}#tblSel {padding:0.7em 0.8em;}} table#'+t+'{width:100%;margin:0;font-size:110%;}table#'+t+',table#'+t+' tr ,table#'+t+',table#'+t+' td ,table#'+t+' th {border:none;color:#AAA;background:#181818;}table#'+t+' th {color:#888;background-color:#222;font-size:85%;font-weight:normal;letter-spacing:2px;padding:0.5em 0 0.8em;overflow:hidden;}#'+t+' td{padding:0.3em;}#'+t+' tbody tr:first-child td{border-top:10px solid #181818;}#'+t+' tbody tr.last td{border-bottom:10px solid #181818;}#'+t+' td:first-child{padding-left:2em;}table#'+t+' td.date span.year{display:block;}table#'+t+' tr:hover td, table#'+t+' tr.selected td {background-color:#12304A;}table#'+t+' tr.rsv:hover td, table#'+t+' tr.rsv.selected td {background-color:#341814;}table#'+t+' tr.error td{background-image:url(assist/imgs/stripe_w3.png);background-color:#400;background-attachment: fixed;}tr:hover .vsblN.hv{visibility:visible;}table#'+t+' tr:hover td,table#'+t+' tr:hover td.title .title {color:#FFF;}#'+t+' td.date,#'+t+' td.time{font-size:120%;font-weight:bold;color:#CCC;text-align:right;white-space:nowrap;} table#'+t+' td.title{position:relative;text-align:left;}table#'+t+' td.title>div{max-height:1.4em;-webkit-transition: max-height 0.2s linear;overflow:hidden;} table#'+t+' td.title .desc{color:#478}table#'+t+' tr:hover td.title .desc{color:#ADD}table#'+t+' tr.rsv td.title .desc{color:#952;line-height:1.5em;}table#'+t+' tr:hover.rsv td.title .desc{color:#FA8}table#'+t+' tr.dSplit td,table#'+t+' tr.mSplit td,table#'+t+' tr.ySplit td{padding:1px;overflow:hidden;border:solid #181818;border-width:4px 0;background:#282828;}table#'+t+' tr.mSplit td{padding:2px;background:#444;}table#'+t+' tr.ySplit td{background:#444;text-align:center;letter-spacing:2px;} table#'+t+' td.title .title{font-size:110%;font-weight:bold;color:#CCC} table#'+t+' td.title a.title:hover{text-decoration:underline;}td.date,td.time,td.year{font-family:arial,helvetica;}td.date .dString{letter-spacing:2px;}td.date .year .sub,td.date .month .sub,td.date .date .sub{font-size:70%;color:#666;font-weight:normal;}td.date .dNum,td.time .dNum{font-size:110%;} td.date .dw{color:#888;font-size:90%;padding-left:0.2em;}td.date .dw_xx{display:inline-block;padding:0.1em 0.8em;margin:0 0.4em;vertical-align:middle;font-size:70%;background:#666;color:#FFF;border-radius:0.6em;}td.date .dw.dw_0{color:#C44;}td.date .dw.dw_6{color:#46C;}td.time .ap{font-size:80%;color:#888;padding-right:0.4em;}td.time .ap_time .zero{visibility:hidden;}table td.time .durTxt{color:#666;}table .ctg_Box,table .ch_Box{color:#DDD;font-size:90%;display:block;overflow:hidden;padding:0.2em 0.4em;white-space:nowrap;border-radius:0.6em;}table .ch_Box{width:8em;background:#2D2D2D;}table .img.play,table .img.rsvicon {display:inline-block;position:relative;width:24px;height:18px;vertical-align:-0.2em;margin-right:0.6em;}table a.play{line-height:999px;display:inline-block;width:24px;height:18px;border-radius:0.4em;overflow:hidden;}table tr:hover a.play{background:#066;}table a.play:after{content:\'\';display:block;width:0px;height:0px;position:absolute;top:50%;left:50%;margin-top:-6px;margin-left:-3px;border:6px solid transparent;border-left-color:#2AA}table tr:hover a.play:after{border-left-color:#FFF;}table tr a.play:hover{background:#08B;}table td.title .img.rsvicon{text-align:center;vertical-align:2px;background:transparent;color:#A00;border-radius:0.4em;}table td.title .rsvicon.auto{background:#622;color:#000;}table td.title .rsvicon.auto span{display:inline-block;font-size:80%;font-weight:bold;}.spblock.mode{font-size:80%;font-weight:bold;background:#457;color:#000;vertical-align:2px;margin:0 1em 0 0;}table tr:hover td.time .durTxt,table tr:hover .ctg_Box, table tr:hover .ch_Box, table tr:hover td.title .spblock, table tr:hover td.title .rsvicon.auto{color:#FFF;}'+
104+ 'table .moreBtn{display:none;position:absolute;right:0;top:0;font-size:90%;padding:0.4em;background:#12304A;color:#FFF;}table .moreBtn:hover{text-decoration:underline;}ttable tr.rsv .moreBtn{background:#341814;}table tr.rsv .moreBtn{background:#341814;}table tr:hover .moreBtn{display:block;} table#'+t+' tr.moreOpen td.title>div{max-height:50em;}'+
90105 '#'+t+' tr.reserved:hover td,#'+t+' tr.reserved.selected td{background:#511;}#'+t+' tr.reserved td.title .desc{color:#945;}#'+t+' tr.reserved:hover td.title .desc{color:#D88;}'+
91- '#tblMenu{position:relative;padding:0;} #tblMes{position:absolute;top:0;width:99%;text-align:center;display:none;padding:1em 0;z-index:5000;}#tblSel{padding:1em 2em;}#tblMes .Box{display:inline-block;position:relative;padding:0.3em 2em;text-align:left;border-radius:0.6em;background-color:#DDD;}#tblMes .Box div.title{color:#400;font-size:120%;border-bottom:2px solid #EEE;border-color:rgba(15,15,15,0.4);margin-bottom:0.6em;}#tblMes .Box .title{font-weight:bold;}#tblMes .Box .mesSplit {opacity:0.4;}#tblMes .Box.error{background:#F55;border:2px solid #F77;box-shadow:0 0 16px #000;padding:0.6em 1em 0.4em 34px;}#tblMes .Box.error:after{content:\'\';display:block;width:20px;height:20px;top:50%;left:6px;margin-top:-10px;position:absolute;background:url(assist/imgs/icon20_warning.png) no-repeat;opacity:0.6;}#tblMes .error .title{color:#800;font-size:110%;}#tblMes .Box.green{background:#086;}#tblMes .Box.orange{background:#E90;}.iconW20{display:inline-block;width:20px;height:20px;background:url(assist/imgs/ic20.png);margin:0 0.3em;}.iconW20.ic_chkCnt{background-position:0 20px;}.iconW20.ic_chkCnt.plus{background-positin:0 20;}.iconW20.ic_check{background-position:20px 0px }table tr:hover .iconW20.ic_check {background-position-x:0;}table tr.selected .iconW20.ic_check{background-position:0 60px;}'}
106+ '#tblMenu{position:relative;padding:0;} #tblMes{position:absolute;top:0;width:99%;text-align:center;display:none;padding:1em 0;z-index:5000;}#tblMes .Box{display:inline-block;position:relative;padding:0.3em 2em;text-align:left;border-radius:0.6em;background-color:#DDD;}#tblMes .Box div.title{color:#400;font-size:120%;border-bottom:2px solid #EEE;border-color:rgba(15,15,15,0.4);margin-bottom:0.6em;}#tblMes .Box .title{font-weight:bold;}#tblMes .Box .mesSplit {opacity:0.4;}#tblMes .Box.error{background:#F55;border:2px solid #F77;box-shadow:0 0 16px #000;padding:0.6em 1em 0.4em 34px;}#tblMes .Box.error:after{content:\'\';display:block;width:20px;height:20px;top:50%;left:6px;margin-top:-10px;position:absolute;background:url(assist/imgs/icon20_warning.png) no-repeat;opacity:0.6;}#tblMes .error .title{color:#800;font-size:110%;}#tblMes .Box.green{background:#086;}#tblMes .Box.orange{background:#E90;}.iconW20{display:inline-block;width:20px;height:20px;background:url(assist/imgs/ic20.png);margin:0 0.3em;}.iconW20.ic_chkCnt{background-position:0 20px;}.iconW20.ic_chkCnt.plus{background-positin:0 20;}.iconW20.ic_check{background-position:20px 0px }table tr:hover .iconW20.ic_check {background-position-x:0;}table tr.selected .iconW20.ic_check{background-position:0 60px;}'}
92107 }
93108
94109 // ====================== index.php
@@ -437,7 +452,7 @@ ER_sub.TM = {
437452 },
438453 T_hover : function(st, op) {
439454 op = op || 'hover';
440- var i = 0, iMax = this.LEN, $tg = $('#jmpTimes .times a:eq('+st+')');
455+ var i = 0, iMax = this.LEN>23?1:this.LEN, $tg = $('#jmpTimes .times a:eq('+st+')');
441456 $('#jmpTimes .times a').removeClass(op);
442457 for( i; i < iMax; i++) {
443458 $tg.addClass(op);
@@ -548,8 +563,15 @@ ER_sub.TBLprg = {
548563 that.hideInfo();
549564
550565 }).click(function(ev){
566+ $tg = $(this);
567+ if($tg.hasClass('prg_none')) {return;}
551568 if (!$('#tv_chs .prg_hover').length) {return;}
552- that.select($(this));
569+ if ( that._selected ) {
570+ that._selected.removeClass('prg_hover');
571+ $tg.addClass('prg_hover');
572+ that._makeInfo($tg);
573+ }
574+ that.select($tg);
553575 });
554576 },
555577 select : function($tg, effect) {
@@ -569,10 +591,8 @@ ER_sub.TBLprg = {
569591 t = $tg.offset().top - $(document).scrollTop() - this.$INF.height() - 10;
570592 if ( t < 0 ) {t = t + $tg.height()+this.$INF.height()+20;}
571593 this.$INF.animate({top:t},50);
572- // TODO:
573- if ( $tg != this._selected ) {}
574594 this._selected = $tg;
575- $(document).bind('keyup.prg_select',function(ev){console.log('key',ev);if(ev.keyCode == 27 ){that.unselect();}});
595+ $(document).bind('keyup.prg_select',function(ev){if(ev.keyCode == 27 ){that.unselect();}});
576596 if (effect){ ER_sub.SCRL.toHTML($tg,true);}
577597 },
578598 unselect : function() {
@@ -583,31 +603,7 @@ ER_sub.TBLprg = {
583603 $(document).unbind('keyup.prg_select');
584604 },
585605 showInfo : function($tg,ev) {
586- var ftH, ap, h, $ch = $('#ch_title_bar .ch_title:eq('+$tg.parents('.ch_set').prevAll().length+')'),
587- RSV = false, Will = ER_sub.prgWill($tg),
588- ST = new Date($tg.find('.prg_start').text()), day = ST.getDay(),
589- h = ST.getHours();
590- if (ASSIST_INI.time_ap){
591- if (h>11) { ap = 'PM'; } else { ap = 'AM'; }
592- h = '<span class="ap ap_'+ap.toLowerCase()+'">'+ap+'</span>'+(h % 12);
593- };
594-
595- D = '<span class="date_box" style="display:block;"><span class="month">' + (ST.getMonth()+1) + '<span style="padding:0 0.2em;">/</span></span><span class="date">' + ST.getDate() + '</span>' + '<span class="day dw_' + day + '">' + MDA.Days.dayStr[day] + '</span><span class="time">' + h + ':' + $.N2S(ST.getMinutes(),2) + '<span style="color:#888;font-size:85%;padding-left:0.4em;">+'+ER_sub.DATE.durToHm($tg.attr('data-dur'))+'</span></span></span>',
596- ctg = $tg.attr('class').match(/ctg_([a-z]+)/)[1],
597- CT = '<span class="ctg_BOX ctg_' + ctg +'">' + ER_sub.CTGS[ctg] + '</span>';
598- if ($tg.hasClass('prg_rec')) {RSV = true; }
599- switch (Will) {
600- case 0 :
601- RSV = RSV?'<div class="rec">録画済み</div>':'';
602- break;
603- case 1 :
604- RSV = RSV?'<div class="rsv">録画中</div>':'';
605- break;
606- case 2 : default :
607- RSV = RSV?'<div class="rsv">録画予約</div>':'';
608- break;
609- }
610- this.$IC.html('<div class="leftBox">'+'' + D +'<span class="ch">' +RSV+ ER_sub.STR.toHan($ch.find('.ch_name').text())+'</span>'+CT+ '</div>'+ '<div class="rightBox"><span style="display:inline-block;vertical-align:middle;"><span class="title">'+$tg.find('.prg_title').text() + '</span> <span class="desc">'+$tg.find('.prg_desc').text() +'</span></span></div>');
606+ this._makeInfo($tg);
611607
612608 switch (this._posType) {
613609 case 1 :
@@ -655,6 +651,31 @@ ER_sub.TBLprg = {
655651 break;
656652 }
657653 },
654+ _makeInfo : function($tg) {
655+ var ftH, ap, h, $ch = $('#ch_title_bar .ch_title:eq('+$tg.parents('.ch_set').prevAll().length+')'),
656+ RSV = '', Will = ER_sub.prgWill($tg),
657+ ST = new Date($tg.find('.prg_start').text()), day = ST.getDay(),
658+ h = ST.getHours();
659+ if (ASSIST_INI.time_ap){
660+ if (h>11) { ap = 'PM'; } else { ap = 'AM'; }
661+ h = '<span class="ap ap_'+ap.toLowerCase()+'">'+ap+'</span>'+(h % 12);
662+ };
663+
664+ D = '<span class="date_box" style="display:block;"><span class="month">' + (ST.getMonth()+1) + '<span style="padding:0 0.2em;">/</span></span><span class="date">' + ST.getDate() + '</span>' + '<span class="day dw_' + day + '">' + MDA.Days.dayStr[day] + '</span><span class="time">' + h + ':' + $.N2S(ST.getMinutes(),2) + '<span style="color:#888;font-size:85%;padding-left:0.4em;">+'+ER_sub.DATE.durToHm($tg.attr('data-dur'))+'</span></span></span>',
665+ ctg = $tg.attr('class').match(/ctg_([a-z]+)/)[1],
666+ CT = '<span class="ctg_BOX ctg_' + ctg +'">' + ER_sub.CTGS[ctg] + '</span>';
667+ if ($tg.hasClass('prg_rec')) {
668+ switch (Will) {
669+ case 0 :
670+ RSV = '<div class="rec">録画済み</div>';break;
671+ case 1 :
672+ RSV = '<div class="rsv">録画中</div>';break;
673+ case 2 : default :
674+ RSV = '<div class="rsv">録画予約</div>';break;
675+ }
676+ }
677+ this.$IC.html('<div class="leftBox">'+'' + D +'<span class="ch">' +RSV+ ER_sub.STR.toHan($ch.find('.ch_name').text())+'</span>'+CT+ '</div>'+ '<div class="rightBox"><span style="display:inline-block;vertical-align:middle;"><span class="title">'+$tg.find('.prg_title').text() + '</span> <span class="desc">'+$tg.find('.prg_desc').text() +'</span></span></div>');
678+ },
658679 setConHeight : function(op) {
659680 var Rh, Lh, $R = this.$IC.find('.rightBox'),$L =this.$IC.find('.leftBox'), m = parseInt($R.css('padding-top'),10)+parseInt($R.css('padding-bottom'),10);
660681 Rh = $R.height('auto').height();
@@ -681,6 +702,13 @@ ER_sub.TBLprg = {
681702 $L.height(Lh);
682703 this.$ID.height(h);
683704 },
705+ _intoWindow : function() {
706+ var t = this.$INF.offset().top - $(document).scrollTop() + this.$INF.height() + 10;
707+ if (t > $(window).height()) {
708+ this.$INF.css('top', $(window).height() - this.$INF.height() - 10);
709+ }
710+ return;
711+ },
684712 makeBtns : function(B,Id) {
685713 var btns = this.btns, t = btns['close'];
686714 if (!$.isArray(B)) {B = [B];}
@@ -693,7 +721,6 @@ ER_sub.TBLprg = {
693721 },
694722 doCancel : function(Id) {
695723 var that = this;
696-// $('#floatBox4Dialog').html('予約取り消し中....');
697724 $.get(INISet.prgCancelURL, { program_id: Id } ,function(data){that._rsv(Id, data, false);});
698725 },
699726 customRec : function(Id) {
@@ -707,6 +734,7 @@ ER_sub.TBLprg = {
707734 that.$IB.html(that.makeBtns(['docstm'],Id));
708735 that.$IC.html(str);
709736 }
737+ that._intoWindow();
710738 });
711739 },
712740 doCustomRec : function(Id) {
@@ -766,10 +794,9 @@ ER_sub.TBL_IE = function() {
766794 // ================== recordertable.php
767795
768796 ER_sub.RECORDED = {
769- style : 'h2 {font-size:140%;margin:0;padding:0.6em 2em;}#fmWrap{text-align:right;} div.fmBox{display:inline-block;color:#444;background:#BBB;margin:0 2em;padding:0.4em 1em;border-radius:0.8em;}div.fmBox form{display:inline;}#selCount{font-size:140%;font-weight:bold;}.btnB{margin:0 2em;}@media screen and (max-width:800px) {h2{font-size:110%;}div.fmBox{display:block;padding:0.2em 0.6em;margin:0;border-radius:0;}#tblSel {padding:0.7em 1.8em;}table#reservation_table th{padding:0.4em 0;}.btnB{padding:0.4em 1em;margin:0 0.4em;}}@media screen and (max-width:700px) {div.fmBox input{}div.fmBox select{width:5em;}}',
797+ style : '',
770798 ini : function() {
771799 var tmp, keyword = null, that = this, $tgs = $('#reservation_table tr:not(:eq(0))');
772- $('h2').addClass('unSel');
773800 $('body').append('<style type="text/css"><!-- ' + ER_sub.STYLES.basic + ER_sub.STYLES.colorD + ER_sub.STYLES.table('reservation_table') + ER_sub.STYLES.md_screen + this.style+'</style>');
774801
775802 // タイトル、リンク等を再構成
@@ -795,7 +822,7 @@ ER_sub.RECORDED = {
795822 $('#fmWrap').prepend('<span class="">キーワード:'+tmp[1]+'</span>');
796823 }
797824 }
798- $('#reservation_table').addClass('PRGS_LIST_TABLE unSel').before('<div id="tblMenu"><div id="tblSel" class="vsblN"><a href="javascript:ER_sub.RECORDED.unSel()" title="選択解除" class="iconW20 ic_chkCnt" style="margin-right:2em;">&nbsp;</a><span style="color:#888;"><span id="selCount">0</span>番組選択 </span><a href="javascript:ER_sub.RECORDED.del()" class="btnB del">削除</a><a href="javascript:ER_sub.RECORDED.withF()" class="ezChk'+(ASSIST_INI.recorded_delete_with_file?' checked':'')+'" id="delWithFile" style="margin-left:1em;"><span><span class="WD90">録画</span>ファイルも削除<span class="WD90">する</span></span></a></div><div id="tblMes">&nbsp;</div></div>').wrap('<div id="twrap0" style="position:relative;"><div id="twrap1" style="overflow:auto;background:#181818;"></div></div>');
825+ $('#reservation_table').addClass('PRGS_LIST_TABLE').before(ER_sub.tableMultiFunc('RECORDED')).wrap('<div id="twrap0" style="position:relative;"><div id="twrap1" style="overflow:auto;background:#181818;"></div></div>');
799826
800827 this.reMake($tgs);
801828 var $th = $('#reservation_table>thead'),
@@ -821,27 +848,25 @@ ER_sub.RECORDED = {
821848 that.selC();
822849 return false;
823850 });
824- // disk info
825- var filesize = function(s) {
826- var sizeunit = 0;
827- var units = ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB'];
828- var reSize = function(s) {
829- if (s > 1024) {
830- s = reSize(s / 1024);
831- sizeunit++;
832- }
833- return s;
834- }
835- s = (reSize(s)+'').split('.');
836- return s[0]+'.'+s[1].slice(0,2) + '<span class="unit" style="font-size:60%;color:#DDD">'+units[sizeunit]+'</span>';
837- };
838- if (INISet.disk_total && INISet.disk_free){
839- $('#tblMenu').before('<div style="position:absolute;margin-top:14px;right:2em;width:200px;height:26px;background:#754;border-radius:0.6em;overflow:hidden;border:2px solid #777;"><div style="background:#069;width:'+((INISet.disk_total - INISet.disk_free)*100 / INISet.disk_total)+'%;height:26px;border-radius:0.6em;overflow:hidden;box-sizing: border-box;" >&nbsp;</div><div style="position:absolute;top:0;width:100%;line-height:26px;color:#DDD;font-size:12px;font-weight:bold;font-family: arial,helvetica;text-align:center;">Free : <span style="font-size:18px;color:#FFF;text-shadow:0 0 3px #000;">'+filesize(INISet.disk_free)+'</span></div></div>');
851+ $('#reservation_table td.title a.moreBtn').click(function(){that._more($(this).attr('data-a'));return false;});
852+ if (ASSIST_INI.ext_diskinfo) {
853+ $('#tblMenu').before(ER_sub.DISKINF.html());
854+ ER_sub.DISKINF.reDiskInfo();
855+ } else if (INISet.disk_total && INISet.disk_free){
856+ $('#tblMenu').before(ER_sub.DISKINF.html(INISet.disk_total, INISet.disk_free ));
840857 }
841858 },
842859 withF : function() {
843860 $('#delWithFile').toggleClass('checked');
861+ $('#tblMenuBtn').html(this._rcdDelText());
844862 },
863+ _rcdDelText :function(op) {
864+ if ($('#delWithFile').hasClass('checked') || op){
865+ return 'ファイルと<span class="WD70">共に</span>削除';
866+ } else {
867+ return '<span class="WD70">記録</span>データのみ削除';
868+ }
869+ },
845870 selC : function() {
846871 var $sel = $('#reservation_table .selected');
847872 if ($sel.length){
@@ -881,7 +906,7 @@ ER_sub.RECORDED = {
881906 });
882907 },
883908 reMake : function($tgs) {
884- var $tg, $tds, tg0, d, h, tm, dur, img, Lap, href = DSP = Dstr = LD = cls = '', odd = true, DFn = ER_sub.DATE, Id;
909+ var $tg, $tds, tg0, d, h, tm, dur, img, Lap, href = DSP = Dstr = LD = cls = '', odd = true, DFn = ER_sub.DATE, Id, mode;
885910 ToD = ER_sub.DATE.DateER(ER_sub.D),
886911 YsD = ER_sub.DATE.DateER(new Date((new Date(ER_sub.D)).setDate(ER_sub.D.getDate()-1))),
887912 Tmr = ER_sub.DATE.DateER(new Date((new Date(ER_sub.D)).setDate(ER_sub.D.getDate()+1)));
@@ -891,12 +916,12 @@ ER_sub.RECORDED = {
891916 $(this).addClass(thcl[i]||('th_'+i));
892917 i++;
893918 });
894- var ths = '<thead><tr class="th"><th class="" style="padding:0 5px;text-align:right;">&nbsp;</th><th class="date" colspan="2">日付</th><th class="ch" ></span><span class="WD100">チャンネル</span><span class="WD100N">Ch</span></th><th class="ctg" ><span class="WD100">カテゴリ</span><span class="WD100N">Ctg</span></th><th class="title">番組名/内容</th></tr></thead>';
895919 $('#reservation_table tr:eq(0)').remove();
896- $('#reservation_table').prepend(ths);
920+ $('#reservation_table').prepend(ER_sub.tableMultiHead);
897921 // var T0 = new Date();
898922 $tgs.each(function(){
899923 $tg = $(this);
924+ $tg.addClass('rcd unSel');
900925 $tds = $tg.children();
901926 // サムネイル
902927 img = $tds.eq(3);
@@ -907,6 +932,8 @@ ER_sub.RECORDED = {
907932 } else {
908933 img = '';
909934 }
935+ //番組長
936+ dur = $tg.attr('data-dur') || '';
910937 // 編集、削除ボタンを無効化、隠す
911938 // $tg.find('input').attr('disabled','disabled');
912939 $tds.eq(5).hide().next().hide();
@@ -916,13 +943,14 @@ ER_sub.RECORDED = {
916943 // チャンネル
917944 $tg0.html('<div class="ch_Box">'+ER_sub.STR.toHan($tg0.html())+'</div>');
918945 // モード
919- $tg.attr('data-mode',$tds.eq(2).html());
946+ mode = $tds.eq(2).html();
947+ $tg.attr('data-mode', mode);
920948 // カテゴリー
921949 cls = $tg.attr('class').match(/ctg_([a-z]*)/)[1];
922950 $tds.eq(2).html('<span class="ctg_Box ctg_'+cls+'"><span class="WD100">'+ER_sub.CTGS[cls]+'</span><span class="WD100N">'+cls.slice(0,3)+'</span></span>');
923951 // タイトル
924952 href = $tds.eq(3).find('>a').attr('href');
925- $tds.eq(4).addClass('title').html('<div><span class="img play WD70"><a href="'+href+'" class="play">Play</a></span><a href="'+href+'" class="title">' + $tds.eq(3).text() + '</a><span class="desc">' + $tds.eq(4).text() + '</span></div>');
953+ $tds.eq(4).addClass('title').html('<div><span class="WD70N" style="color:#0BD;">&gt;</span><span class="img play WD70"><a href="'+href+'" class="play">Play</a></span><span class="WD70"><span class="WD90N spblock mode">'+mode.slice(0,3)+'</span><span class="WD90 spblock mode">'+mode+'</span></span><a href="'+href+'" class="title">' + $tds.eq(3).text() + '</a><span class="desc">' + $tds.eq(4).text() + '</span><span class="WD70N" style="color:#EEE;">'+(dur?parseInt((dur/60),10)+'分 ':'')+mode+'</span></div><a href="javascript:ER_sub.RECORDED._more('+Id+');" class="moreBtn" data-a="'+Id+'">more</a>');
926954 $tds.eq(3).remove();
927955 // 日付
928956 $tg0 = $tds.eq(0).addClass('date');
@@ -941,8 +969,7 @@ ER_sub.RECORDED = {
941969 $tg.before('<tr class="dSplit split" data-split="2"><td colspan="7"></td></tr>');
942970 }
943971 }
944- dur = $tg.attr('data-dur') || '';
945- $tg0.after('<td class="time">'+(ASSIST_INI.time_ap?'<span class="WD70"><span class="ap ap_'+tm.ap+((Lap&&tm.ap==Lap)?' vsblN hv':'')+'">'+tm.ap+'</span>'+tm.html+'</span><span class="WD70N">'+tm._24+'</span>':tm._24)+(dur?'<span class="WD70"><span style="color:#555;padding:0 0.4em;">+</span><span style="color:#666;">'+ER_sub.DATE.durToHm(dur)+'</span></span>':'')+'</td>');
972+ $tg0.after('<td class="time">'+(ASSIST_INI.time_ap?'<span class="WD70"><span class="ap ap_'+tm.ap+((Lap&&tm.ap==Lap)?' vsblN hv':'')+'">'+tm.ap+'</span>'+tm.html+'</span><span class="WD70N">'+tm._24+'</span>':tm._24)+(dur?'<span class="WD70"><span style="color:#555;padding:0 0.4em;">+</span><span class="durTxt">'+ER_sub.DATE.durToHm(dur)+'</span></span>':'')+'</td>');
946973 Lap = tm.ap;
947974 DSP = d.slice(0,10);
948975 Dstr = '';
@@ -965,6 +992,10 @@ ER_sub.RECORDED = {
965992 $tg.prepend('<td class="checkbox"><div class="iconW20 ic_check">&nbsp;</div></td>');
966993 });
967994 },
995+ _more : function(Id) {
996+ $tg = $('#reservation_table tr[data-rsvid='+Id+']');
997+ $tg.toggleClass('moreOpen').toggleClass('unSel');
998+ },
968999 __work : null,
9691000 __wmode : '',
9701001 __mes : null,
@@ -985,7 +1016,6 @@ ER_sub.RECORDED = {
9851016 },
9861017 _del : function() {
9871018 var $tgs, that = this, delFile = $('#delWithFile').hasClass('checked')?1:0, er;
988-// console.log(this.__work);
9891019 if(this.__work && this.__work != 'alert'){
9901020 ER_sub.PLST.showM({style:'orange',html:'<span><span style="font-weight:bold;font-size:120%;">'+$('#reservation_table tr.selected').length+'</span> 番組処理中</span>'});
9911021 $.get(INISet.prgCancelURL, { reserve_id: this.__work, delete_file: delFile } ,function(data){
@@ -1000,7 +1030,7 @@ ER_sub.RECORDED = {
10001030 // console.log(data);
10011031 $('#reservation_table tr[data-rsvid='+that.__work+']').addClass('error');
10021032 } else {
1003- that.delReSplit($('#reservation_table tr[data-rsvid='+that.__work+']'));
1033+ ER_sub.tableDelReSplit($('#reservation_table tr[data-rsvid='+that.__work+']'));
10041034 }
10051035 $tgs = $('#reservation_table tr.selected:not(.error)');
10061036 if ( $tgs.length > 0 ) {
@@ -1014,53 +1044,391 @@ ER_sub.RECORDED = {
10141044 $('#reservation_table tr.selected').removeClass('selected');
10151045 ER_sub.PLST.showM({style:'error',title:that.__mes.length+'番組の'+that.__wmode+'中にエラーが発生しました。'+that.__wmode+'処理が終了したかどうか確認できません',html:that.__mes.join('<hr class="mesSplit" />')});
10161046 } else {
1047+ // 正常終了
10171048 ER_sub.PLST.showM({html:that.__wmode+'が正常に終了しました'});
1049+ // ディス残量更新
1050+ ER_sub.DISKINF.reDiskInfo();
10181051 setTimeout( function(){ER_sub.PLST.hideM();},2000)
10191052 }
10201053 }
10211054 });
10221055 }
1056+ }
1057+};
1058+// ================== diskinfo
1059+
1060+ER_sub.DISKINF = {
1061+ _levels : null,
1062+ html : function(total, free) {
1063+ var per, level, loading = null;
1064+ if (!total && !free){
1065+ total = free = 1;
1066+ loading = 'Loading...';
1067+ }
1068+ this._levels = ASSIST_INI.ext_diskinfo_levels;
1069+ while (this._levels.length < 4) {
1070+ this._levels.push(0);
1071+ }
1072+ this._levels.sort();
1073+ per = ((total - free)*100 / total);
1074+ level = this._diskLevel(per);
1075+ return '<style type="text/css"><!-- -->#diskInfoBox {width:200px;height:26px;border-radius:0.6em;overflow:hidden;box-shadow:inset 0 1px 4px #420;background:#555;line-height:26px;}#diskInfoBar {height:26px;overflow:hidden;border-radius:0 0.6em 0.6em 0;box-shadow:inset 0 0 6px #28B,0 0 4px #000;background:#049;background:-webkit-gradient(linear, left top, left bottom, from(#05A),to(#238));background:-moz-linear-gradient(top, #05A, #238)}#diskInfoBox.lv1{background:#662;}#diskInfoBox.lv2{background:#970;}#diskInfoBox.lv3{background:#C60;}#diskInfoBox.lv4{background:#F20;}#diskInfoFreeText{font-size:120%;}@media screen and (max-width:900px) {#diskInfoBox,#diskInfoBar{height:20px;}#diskInfoBox{width:150px;line-height:20px;}#diskInfoFreeText{font-size:110%;}}</style><div style="position:absolute;margin-top:14px;right:2em;"><div id="diskInfoBox" class="lv'+level+'" data-total="'+total+'" data-free="'+free+'"><div id="diskInfoBar" style="width:'+per+'%;" >&nbsp;</div><div style="position:absolute;top:0;width:100%;color:#DDD;font-weight:bold;font-family: arial,helvetica;text-align:right;">Free : <span id="diskInfoFreeText" style="color:#FFF;text-shadow:0 0 3px #000;padding-right:0.5em;">' + (loading?loading:ER_sub.filesize(free))+'</span></div></div></div>';
10231076 },
1024- delReSplit : function($tg) {
1025- var $n = $tg.next(), $p = $tg.prev(), sp = '0';
1026- if (!$p.length){
1027- if ($n.hasClass('split')){
1028- $n.remove();
1077+ reDiskInfo : function(total, free) {
1078+ if (!ASSIST_INI.ext_diskinfo) { return; }
1079+ if (!total && !free)
1080+ this._getDiskInfo();
1081+ else
1082+ this._reDiskInfo(total, free);
1083+ },
1084+ _reDiskInfo : function(total, free) {
1085+ var per = ((total - free)*100 / total);
1086+ $('#diskInfoBox').attr('data-total', total).attr('data-free', free).attr('class','').addClass('lv'+this._diskLevel(per));;
1087+ $('#diskInfoFreeText').html(ER_sub.filesize(free));
1088+ $('#diskInfoBar').animate({width: per +'%'},150);
1089+ if ($('#diskInfo_RSV').length){
1090+ this.rePlusBar(total);
1091+ }
1092+ },
1093+ _diskLevel : function(per) {
1094+ var level = 0, i, iMax;
1095+ for ( i=0,iMax=this._levels.length; i<iMax; i++) {
1096+ if (this._levels[i] <= per) { level = i+1}
1097+ }
1098+ return level;
1099+ },
1100+ _getDiskInfo : function() {
1101+ var that = this;
1102+ $.getJSON('assist/tools/diskinfo.php',{},function(data){
1103+ that._reDiskInfo(data.disk_total, data.disk_free);
1104+ });
1105+ },
1106+ plusBar : function(size, Id) {
1107+ $('#diskInfoBox').attr('data-durtotal', size);
1108+ size = ER_sub.filesize(size);
1109+ if ($('#diskInfo_'+Id).length) {
1110+ $('#diskInfo_'+Id+' .text').html(size);
1111+ } else {
1112+ $('#diskInfoBox').after('<div id="diskInfo_'+Id+'" style="text-align:right;margin-top:4px;position:relative;z-index:300;line-height:14px;color:#888;"><span class="WD90">Reserve:</span><span class="text" style="color:#EEE;">'+size+'</span><span id="plusBar_'+Id+'" style="display:inline-block;width:1px;height:14px;background:#A20;border-radius:0.4em;margin-left:4px;">&nbsp;</span></div>');
1113+ }
1114+ },
1115+ rePlusBar : function(total, durTotal) {
1116+ if (!total) {
1117+ total = parseInt($('#diskInfoBox').attr('data-total'),10);
1118+ }
1119+ if (durTotal==null) {
1120+ // durTotal = parseInt($('#diskInfoBox').attr('data-durtotal'),10);
1121+ durTotal = this.getDurTotal();
1122+ }
1123+ $('#diskInfo_RSV .text').html(ER_sub.filesize(durTotal));
1124+ per = ((durTotal) * 100 / total);
1125+ $('#plusBar_RSV').width(per+'%');
1126+ },
1127+ getDurTotal : function(){
1128+ // 予約容量更新
1129+ var durTotal = 0;
1130+ $('#reservation_table tr.rsv:visible').each(function(){
1131+ durTotal += parseInt($(this).attr('data-dur'), 10)*131072*ASSIST_INI.ext_diskinfo_rsvBar_bitrates[$(this).attr('data-chType')];
1132+ });
1133+ this.rePlusBar(parseInt($('#diskInfoBox').attr('data-total'),10), durTotal);
1134+ return durTotal;
1135+ }
1136+}
1137+// ================== reserved.php
1138+
1139+ER_sub.RESERVED = {
1140+ _durTotal : 0,
1141+ ini : function() {
1142+ var tmp, keyword = null, that = this, $tgs = $('#reservation_table tr:not(:eq(0))');
1143+ $('body').append('<style type="text/css"><!-- ' + ER_sub.STYLES.basic + ER_sub.STYLES.colorD + ER_sub.STYLES.table('reservation_table') + ER_sub.STYLES.md_screen + this.style+'</style>');
1144+
1145+ // タイトル、リンク等を再構成
1146+ $('body>div:eq(0)').hide();
1147+ tmp = $('body>div:eq(0)>form');
1148+ tmp.parent().addClass('fmBox').wrap('<div id="fmWrap"/>');
1149+ ER_sub.topMenu();
1150+
1151+ $('#reservation_table').addClass('PRGS_LIST_TABLE').before(ER_sub.tableMultiFunc('RESERVED')).wrap('<div id="twrap0" style="position:relative;"><div id="twrap1" style="overflow:auto;background:#181818;"></div></div>');
1152+ this.reMake($tgs);
1153+
1154+ var $th = $('#reservation_table>thead'),
1155+ $tb = $('#reservation_table>tbody');
1156+ $('#reservation_table>thead').css({position:'absolute',top:0,left:0});
1157+ $('#reservation_table tr:last-child').addClass('last');
1158+ this.reSize();
1159+ $(window).resize(ER_sub.RECORDED.reSize);
1160+
1161+ $tgs.click(function(ev){
1162+ if (that.__work) { return; }
1163+ if (!ev.shiftKey) {
1164+ $('#reservation_table .selected').removeClass('selected');
1165+ }
1166+ $(this).addClass('selected');
1167+ that.selC();
1168+// return false;
1169+ });
1170+ $('#reservation_table td.checkbox .ic_check').click(function(){
1171+ if (that.__work) { return; }
1172+ $(this).parents('tr').toggleClass('selected');
1173+ that.selC();
1174+ return false;
1175+ });
1176+ $('#reservation_table td.title a.moreBtn').click(function(){that._more($(this).attr('data-a'));return false;});
1177+ if (ASSIST_INI.ext_diskinfo) {
1178+ $('#tblMenu').before(ER_sub.DISKINF.html());
1179+ ER_sub.DISKINF.reDiskInfo();
1180+ } else if (INISet.disk_total && INISet.disk_free){
1181+ $('#tblMenu').before(ER_sub.DISKINF.html(INISet.disk_total, INISet.disk_free ));
1182+ }
1183+ ER_sub.DISKINF.plusBar(this._durTotal, 'RSV');
1184+ },
1185+ selC : function() {
1186+ var $sel = $('#reservation_table .selected');
1187+ if ($sel.length){
1188+ $('#tblSel').removeClass('vsblN')
1189+ $('#selCount').html($sel.length);
1190+ } else {
1191+ $('#tblSel').addClass('vsblN');
1192+ }
1193+ },
1194+ unSel : function() {
1195+ if (this.__work) { return; }
1196+ $('#reservation_table tr.selected').removeClass('selected');
1197+ $('#tblSel').addClass('vsblN')
1198+ },
1199+ reSize : function() {
1200+ var h = i = w = 0, $th = $('#reservation_table>thead'),
1201+ $td = $('#reservation_table>tbody>tr:eq(0)>td:eq(0)');
1202+ $('#twrap0').css({paddingTop:$th.height()});
1203+ h = $(window).height()-$td.offset().top+parseInt($td.css('padding-top'),10)-12;
1204+ if (parseInt($('#twrap1').height(),10) > h ) {
1205+ $('#twrap1').css({height:h});
1206+ }
1207+ $('#reservation_table th').each(function(){
1208+ if ($(this).attr('colspan')){
1209+ var j = $(this).attr('colspan');
1210+ w = 0;
1211+ while(j){
1212+ w += parseInt($td.innerWidth(),10);
1213+ $td = $td.next();
1214+ j--;
1215+ }
10291216 } else {
1030- // all
1031- $n.find('.vsblN.hv').removeClass('vsblN');
1217+ w = $td.innerWidth();
1218+ $td = $td.next();
10321219 }
1033- } else if ($n.length){
1034- if ($p.hasClass('split')){
1035- $n.find('td.time .vsblN.hv').removeClass('vsblN');
1036- sp = $p.attr('data-split');
1037- if ($n.hasClass('split')){
1038- if ($p.attr('data-split') > $n.attr('data-split')) {
1039- $n.remove();
1220+ $(this).width(w-$(this).paddingW());
1221+ });
1222+ },
1223+ reMake : function($tgs) {
1224+ var $tg, $tds, tg0, d, h, tm, dur, img, Lap, href = DSP = Dstr = LD = chn = ctg = '', odd = true, DFn = ER_sub.DATE, Id, mode, keyword, dur, durTotal = 0;
1225+ ToD = ER_sub.DATE.DateER(ER_sub.D),
1226+ YsD = ER_sub.DATE.DateER(new Date((new Date(ER_sub.D)).setDate(ER_sub.D.getDate()-1))),
1227+ Tmr = ER_sub.DATE.DateER(new Date((new Date(ER_sub.D)).setDate(ER_sub.D.getDate()+1)));
1228+
1229+ var i = 0,thcl = ['date','channel','mode','title','pBtns'];
1230+ $('#reservation_table th').each(function(){
1231+ $(this).addClass(thcl[i]||('th_'+i));
1232+ i++;
1233+ });
1234+ $('#reservation_table tr:eq(0)').remove();
1235+ $('#reservation_table').prepend(ER_sub.tableMultiHead);
1236+ $tgs.each(function(){
1237+ $tg = $(this);
1238+ $tg.addClass('rsv unSel');
1239+ $tds = $tg.children();
1240+ // Id
1241+ Id = $tds.eq(0).html();
1242+ $tg.attr('data-rsvid',Id);
1243+ // モード
1244+ mode = $tds.eq(5).html();
1245+ $tg.attr('data-mode',mode);
1246+ // キーワード
1247+ keyword = $tds.eq(8).html();
1248+ $tg.attr('data-keyword', keyword);
1249+ // チャンネル
1250+ $tg0 = $tds.eq(1);
1251+ $tg.attr('data-chtype', $tg0.html());
1252+ chn = $tg.attr('data-chname');
1253+ $tg0.html('<div class="ch_Box">'+ (chn?ER_sub.STR.toHan(chn):ER_sub.STR.toHan($tg0.html())+' '+$tds.eq(2).html())+'</div>');
1254+ // カテゴリー
1255+ ctg = $tg.attr('class').match(/ctg_([a-z]*)/)[1];
1256+ $tds.eq(2).html('<span class="ctg_Box ctg_'+ctg+'"><span class="WD100">'+ER_sub.CTGS[ctg]+'</span><span class="WD100N">'+ctg.slice(0,3)+'</span></span>');
1257+ // 番組長
1258+ dur = parseInt((new Date($tds.eq(4).html().replace(/-/g,'/')) - new Date($tds.eq(3).html().replace(/-/g,'/')))/1000,10);
1259+ $tg.attr('data-dur',dur);
1260+ durTotal += dur;
1261+ // タイトル
1262+ href = $tds.eq(3).find('>a').attr('href');
1263+ $tds.eq(5).addClass('title').html('<div><span class="WD70N" style="color:#A00;">●</span><span class="img WD70 rsvicon'+(keyword?' auto':'')+'"><span>'+(keyword||'●')+'</span></span><span class="WD70"><span class="WD90N spblock mode">'+mode.slice(0,3)+'</span><span class="WD90 spblock mode">'+mode+'</span></span><span class="title">' + $tds.eq(6).text() + '</span><span class="desc">' + $tds.eq(7).text() + '</span><span class="WD70N" style="color:#EEE;">'+(dur?parseInt((dur/60),10)+'分 ':'')+mode+'</span></div><a href="javascript:ER_sub.RESERVED._more('+Id+');" class="moreBtn" data-a="'+Id+'">more</a>');
1264+ $tds.eq(6).remove();
1265+ $tds.eq(7).remove();
1266+ $tds.eq(8).remove();
1267+
1268+ // 日付
1269+ $tg0 = $tds.eq(0).addClass('date');
1270+ d = $tds.eq(3).html().replace(/-/g,'/');
1271+ $tg.attr('data-date', d);
1272+ tm = ER_sub.DATE.AP(d.substr(11,5));
1273+ if ((d.slice(0,10)!=DSP) && DSP) {
1274+ Lap = false;
1275+ if (d.slice(0,7)!=DSP.slice(0,7)) {
1276+ if (d.slice(0,4)!=DSP.slice(0,4)){
1277+ $tg.before('<tr class="ySplit split" data-split="6"><td colspan="2" class="year">'+DFn.Year(d)+'</td><td colspan="5">&nbsp;</td></tr>');
10401278 } else {
1041- $p.remove();
1279+ $tg.before('<tr class="mSplit split" data-split="4"><td colspan="7"></td></tr>');
10421280 }
1281+ } else {
1282+ $tg.before('<tr class="dSplit split" data-split="2"><td colspan="7"></td></tr>');
10431283 }
1044- } else {
1045- if (!$n.hasClass('split')){
1046- if (!$tg.find('td.time .ap').hasClass('vsblN')){
1047- $n.find('td.time .ap').removeClass('vsblN');
1048- }
1284+ }
1285+ $tg0.after('<td class="time">'+(ASSIST_INI.time_ap?'<span class="WD70"><span class="ap ap_'+tm.ap+((Lap&&tm.ap==Lap)?' vsblN hv':'')+'">'+tm.ap+'</span>'+tm.html+'</span><span class="WD70N">'+tm._24+'</span>':tm._24)+(dur?'<span class="WD70"><span style="color:#555;padding:0 0.4em;">+</span><span class="durTxt">'+ER_sub.DATE.durToHm(dur)+'</span></span>':'')+'</td>');
1286+ Lap = tm.ap;
1287+ DSP = d.slice(0,10);
1288+ Dstr = '';
1289+ switch(DSP) {
1290+ case ToD :
1291+ Dstr = '<span class="dString">今日</span>';break;
1292+ case YsD :
1293+ Dstr = '<span class="dString">昨日</span>';break;
1294+ case Tmr :
1295+ Dstr = '<span class="dString">明日</span>';break;
1296+ default :
1297+ if (DSP.slice(0,7) == LD.slice(0,7)) {
1298+ Dstr = '<span class="month vsblN hv">'+DFn.Month(DSP)+'</span>'+DFn.Date(DSP);
1299+ } else {
1300+ Dstr = '<span class="month">'+DFn.Month(DSP) + '</span>' + DFn.Date(DSP);
10491301 }
10501302 }
1303+ $tg0.html((LD==DSP?'<span class="vsblN hv" >':'')+Dstr + DFn.Day(DSP,'<span class="WD70">(</span>', '<span class="WD70">)</span>')+(LD==DSP?'</span>':''));
1304+ LD = DSP;
1305+ $tds.eq(3).remove();
1306+ $tds.eq(4).remove();
1307+ $tds.eq(9).remove();
1308+ $tg.prepend('<td class="checkbox"><div class="iconW20 ic_check">&nbsp;</div></td>');
1309+ });
1310+ this._durTotal = durTotal*1024*1024/8*ASSIST_INI.ext_diskinfo_rsvBar_bitrates['GR'];
1311+ },
1312+ _more : function(Id) {
1313+ $tg = $('#reservation_table tr[data-rsvid='+Id+']');
1314+ $tg.toggleClass('moreOpen').toggleClass('unSel');
1315+ },
1316+ del : function(Id) {
1317+ var that = this;
1318+ $.get(INISet.prgCancelURL, { program_id: Id } ,function(data){that._rsv(Id, data, false);});
1319+ },
1320+ __work : null,
1321+ __wmode : '',
1322+ __mes : null,
1323+ _prginf : function(Id) {
1324+ $tg = $('#reservation_table tr[data-rsvid='+Id+']');
1325+ return $tg.attr('data-date')+' '+$tg.find('>td.title .title').text();
1326+ },
1327+ del : function() {
1328+ if (this.__work) { return; }
1329+ var that = this, $tgs;
1330+ $tgs = $('#reservation_table tr.selected');
1331+ if ($tgs.length > 0 ){
1332+ this.__work = $tgs.eq(0).attr('data-rsvid');
1333+ this.__wmode = '予約キャンセル';
10511334 }
1052- switch(sp){
1053- case '0':
1054- break;
1055- case '2':
1056- $tg.next().find('td.date>span').removeClass('vsblN');break;
1057- case '4':
1058- case '6':
1059- $tg.next().find('td.date .vsblN').removeClass('vsblN');
1335+ this.__mes = [];
1336+ this._del();
1337+ },
1338+ _del : function() {
1339+ var $tgs, that = this, er;
1340+// console.log(this.__work);
1341+ if(this.__work && this.__work != 'alert'){
1342+ ER_sub.PLST.showM({style:'orange',html:'<span><span style="font-weight:bold;font-size:120%;">'+$('#reservation_table tr.selected').length+'</span> 番組処理中</span>'});
1343+ $.get(INISet.prgCancelURL, { reserve_id: this.__work} ,function(data){
1344+ if(data.match(/error/i)){
1345+ if(data.match(/^error/i)){
1346+ er = 'epgrecエラー:';
1347+ } else {
1348+ er = 'phpエラー:';
1349+ data = data.replace(/^<br \/>/,'');
1350+ }
1351+ that.__mes.push('<div>'+that._prginf(that.__work)+'</div><span class="title">'+er+'</span><span class="">'+data+'</span>');
1352+ $('#reservation_table tr[data-rsvid='+that.__work+']').addClass('error');
1353+ } else {
1354+ ER_sub.tableDelReSplit($('#reservation_table tr[data-rsvid='+that.__work+']'));
1355+ }
1356+ $tgs = $('#reservation_table tr.selected:not(.error)');
1357+ if ( $tgs.length > 0 ) {
1358+ that.__work = $tgs.eq(0).attr('data-rsvid');
1359+ that._del();
1360+ } else {
1361+ that.__work = null;
1362+ $('#tblSel').addClass('vsblN');
1363+ if ($('#reservation_table tr.error').length) {
1364+ that.__work = 'alert';
1365+ $('#reservation_table tr.selected').removeClass('selected');
1366+ ER_sub.PLST.showM({style:'error',title:that.__mes.length+'番組の'+that.__wmode+'中にエラーが発生しました。'+that.__wmode+'処理が終了したかどうか確認できません',html:that.__mes.join('<hr class="mesSplit" />')});
1367+ } else {
1368+ // 正常終了
1369+ ER_sub.PLST.showM({html:that.__wmode+'が正常に終了しました'});
1370+ ER_sub.DISKINF.rePlusBar();
1371+ setTimeout( function(){ER_sub.PLST.hideM();},2000)
1372+ }
1373+ }
1374+ });
10601375 }
1061- $tg.remove();
10621376 }
1063-};
1377+}
1378+
1379+ER_sub.tableDelReSplit = function($tg) {
1380+ var $n = $tg.next(), $p = $tg.prev(), sp = '0';
1381+ if (!$p.length){
1382+ if ($n.hasClass('split')){
1383+ $n.remove();
1384+ } else {
1385+ // all
1386+ $n.find('.vsblN.hv').removeClass('vsblN');
1387+ }
1388+ } else if ($n.length){
1389+ if ($p.hasClass('split')){
1390+ $n.find('td.time .vsblN.hv').removeClass('vsblN');
1391+ sp = $p.attr('data-split');
1392+ if ($n.hasClass('split')){
1393+ if ($p.attr('data-split') > $n.attr('data-split')) {
1394+ $n.remove();
1395+ } else {
1396+ $p.remove();
1397+ }
1398+ }
1399+ } else {
1400+ if (!$n.hasClass('split')){
1401+ if (!$tg.find('td.time .ap').hasClass('vsblN')){
1402+ $n.find('td.time .ap').removeClass('vsblN');
1403+ }
1404+ }
1405+ }
1406+ }
1407+ switch(sp){
1408+ case '0':
1409+ break;
1410+ case '2':
1411+ $tg.next().find('td.date>span').removeClass('vsblN');break;
1412+ case '4':
1413+ case '6':
1414+ $tg.next().find('td.date .vsblN').removeClass('vsblN');
1415+ }
1416+ $tg.remove();
1417+}
1418+
1419+ER_sub.tableMultiFunc = function(php) {
1420+ php = php.toUpperCase() || 'RECORDED';
1421+ var btn;
1422+ switch(php) {
1423+ case 'RECORDED':
1424+ btn = ER_sub.RECORDED._rcdDelText(ASSIST_INI.recorded_delete_with_file);
1425+ break;
1426+ case 'RESERVED':
1427+ btn = '予約キャンセル';
1428+ }
1429+ return '<div id="tblMenu"><div id="tblSel" class="vsblN"><a href="javascript:ER_sub.'+php+'.unSel()" title="選択解除" id="mutiPrgCnt" class="iconW20 ic_chkCnt">&nbsp;</a><span style="color:#888;"><span id="selCount">0</span>番組選択 </span><a href="javascript:ER_sub.'+php+'.del()" class="btnB del" id="tblMenuBtn">'+btn+'</a>'+(php=='RECORDED'?'<a href="javascript:ER_sub.RECORDED.withF()" class="ezChk'+(ASSIST_INI.recorded_delete_with_file?' checked':'')+'" id="delWithFile" style="margin-left:1em;"><span><span class="WD90">録画</span>ファイルも削除<span class="WD90">する</span></span></a>':'')+'</div><div id="tblMes">&nbsp;</div></div>';
1430+}
1431+ER_sub.tableMultiHead = '<thead><tr class="th"><th class="" style="padding:0 5px;text-align:right;">&nbsp;</th><th class="date" colspan="2">日付</th><th class="ch" ></span><span class="WD100">チャンネル</span><span class="WD100N">Ch</span></th><th class="ctg" ><span class="WD100">カテゴリ</span><span class="WD100N">Ctg</span></th><th class="title">番組名/内容</th></tr></thead>';
10641432
10651433 ER_sub.PLST = {
10661434 showM : function(op){
@@ -1313,7 +1681,7 @@ ER_sub.DATE = {
13131681 return t+'</span>'+h;
13141682 }
13151683 } else {
1316- return t+':'+('0'+h).substr(h.length-2,2);
1684+ return t+':'+$.N2S('0'+h,2);
13171685 }
13181686 }
13191687 }
@@ -1330,15 +1698,30 @@ ER_sub.MSGBX = {
13301698 return '<div id="msgbx_al_'+this.__uid+'" class="MSGBX redAlert"><span class="icon warning"></span><span class="title">'+(op.title?op.title:'Error')+' : </span>'+(op.mes?op.mes:'')+'<a href="javascript:ER_sub.MSGBX.alClose(\'msgbx_al_'+this.__uid+'\')" class="close">X</a></div>';
13311699 }
13321700 };
1701+
1702+// file,disksize
1703+ER_sub.filesize = function(s,u) {
1704+ var sizeunit = 0;
1705+ var units = u||['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB'];
1706+ var reSize = function(s) {
1707+ if (s > 1024) {
1708+ s = reSize(s / 1024);
1709+ sizeunit++;
1710+ }
1711+ return s;
1712+ }
1713+ s = (reSize(s)+'').split('.');
1714+ return s[0]+(sizeunit?('.'+(s[1]?s[1].slice(0,2):'00')):'') + '<span class="unit" style="font-size:60%;color:#DDD">'+units[sizeunit]+'</span>';
1715+};
1716+
13331717 //==========================
1334-ASSIST_INI.ver = '0.1.0';
1718+ASSIST_INI.ver = '0.1.1';
13351719
13361720 // epgrec_assistを有効にする
13371721 // epgrecのバージョンアップ等による
13381722 // 不具合が出た場合は 0 にしてください
13391723 ASSIST_INI.use_this = 1;
13401724
1341-
13421725 // 時間表示を12時間表示
13431726 ASSIST_INI.time_ap = 1;
13441727
@@ -1359,7 +1742,20 @@ ASSIST_INI.index_nowbar_live = 10;
13591742 // 録画済み一覧で有効にする
13601743 ASSIST_INI.recorded = 1;
13611744 // 録画済み一覧、データ削除時ファイルも削除
1362-ASSIST_INI.recorded_delete_with_file = 0;
1745+ASSIST_INI.recorded_delete_with_file = 1;
1746+
1747+// 録画予約一覧で有効にする
1748+ASSIST_INI.reserved = 1;
1749+
1750+// ディスク残量を表示(ajax ver)
1751+ASSIST_INI.ext_diskinfo = 1;
1752+// 残量表示警告色、切り替え割合(%)
1753+// HDDの容量に応じて変更してください
1754+ASSIST_INI.ext_diskinfo_levels = [50,70,80,90];
1755+// 残量表示に予約領域も表示
1756+ASSIST_INI.ext_diskinfo_rsvBar = 1;
1757+// 予約領域計算用ビットレート
1758+ASSIST_INI.ext_diskinfo_rsvBar_bitrates = {GR:16.85 , BS:26.1, CS:26.1};
13631759
13641760 $(function(){
13651761 if (!ASSIST_INI.use_this ) {return;}
@@ -1377,6 +1773,9 @@ $(function(){
13771773 case 'recordedtable' :
13781774 if ( ASSIST_INI.recorded ) {ER_sub.RECORDED.ini();}
13791775 break;
1776+ case 'reservationtable' :
1777+ if ( ASSIST_INI.reserved ) {ER_sub.RESERVED.ini();}
1778+ break;
13801779 case 'programtable' :
13811780 ER_sub.PROGRAMTBL.ini();break;
13821781 }
--- /dev/null
+++ b/assist/tools/diskinfo.php
@@ -0,0 +1,22 @@
1+<?php
2+/*
3+ * disk info
4+ */
5+
6+// epgrec directory
7+define('EPGREC_DIR', '../../');
8+set_include_path('./');
9+require_once(EPGREC_DIR.'config.php');
10+require_once(EPGREC_DIR.'Settings.class.php');
11+
12+$settings = Settings::factory();
13+$disk = INSTALL_PATH . $settings->spool[0];
14+
15+$disk_total = disk_total_space($disk);
16+$disk_free = disk_free_space($disk);
17+
18+echo <<<END
19+{disk_total:$disk_total,disk_free:$disk_free}
20+END
21+
22+?>
\ No newline at end of file
--- a/readme.txt
+++ b/readme.txt
@@ -1,16 +1,21 @@
11 /*
22 * epgrec assist
33 *
4- * version 0.1.0
5- * 6:29 2012/03/27
4+ * version 0.1.1
5+ * 1:32 2012/04/04
66 *
77 * Auther : osamu / atelier TRUMPHOUSE
88 * Twitter : trumphouse
9+ *
10+ * Project HP : http://w3.quake3.jp/osamu/epgrec_assist/
911 * Download : http://sourceforge.jp/users/trumphouse/pf/epgrec_assist/
1012 *
1113 */
1214
13- 解凍してできたディレクトリ、/assist/docs/にhtml形式のドキュメントを用意しています。
15+
16+ 設定等、詳しい情報は
17+ http://w3.quake3.jp/osamu/epgrec_assist/
18+ をご覧ください
1419
1520
1621 ====================================
@@ -21,26 +26,38 @@
2126 ====================================
2227 使用上の注意
2328 ====================================
24-epgrec assist は epgrec が出力するhtml構造に大きく依存しています。テンプレートをカスタマイズしていたり、 epgrec がバージョンアップした際に不具合が出る可能性があります。
29+epgrec assist は epgrec が出力するhtml構造に大きく依存
30+しています。テンプレートをカスタマイズしていたり、
31+epgrec がバージョンアップした際に不具合が出る可能性があります。
2532 ●録画一覧の削除
26-録画一覧で削除ボタンを押すと、ダイアログが出ることなく削除が実行されます。
33+録画一覧で削除ボタンを押すと、ダイアログが出ることなく
34+削除が実行されます。
2735
28-●IE6、7は動作対象外
29-IE6、7は対応していません。IE8は動作だけは確認していますが、描画が怪しい箇所がまだ残っています。IE9はまだテストしていません。
36+●IE6、7は動作対象外、IE8は一応動く程度
37+IE6、7は対応していません。IE8は動作だけは確認していま
38+すが、CSS3部分は対応してません。IE9はまだテストしてい
39+ません。
3040
3141 ●画面の更新に時間がかかるようになります
32-epgrec assist は epgrec が出力したhtmlを、javascriptで無理やり書き換えています。ブラウザが一度描画したものを、再度描画しなおすことになり、画面更新に時間がかかるようになります。ページを読み込んだ際に epgrec のオリジナル画面が一瞬表示されることもあります。
42+epgrec assist は epgrec が出力したhtmlを、javascriptで無理やり書き換えています。
43+ブラウザが一度描画したものを、再度描画しなおすことになり、
44+画面更新に時間がかかるようになります。ページを読み込ん
45+だ際に epgrec のオリジナル画面が一瞬表示されることもあ
46+ります。
47+
3348
3449 ====================================
3550 インストール方法
3651 ====================================
3752 1.ファイルを配置
38-ダウンロードしたファイルを解凍し、できたディレクトリ /assist を epgrec のディレクトリ内に配置します。
53+ダウンロードしたファイルを解凍し、できたディレクトリ
54+ /assist を epgrec のディレクトリ内に配置します。
3955
4056 / epgrec / assist
4157
4258 2.テンプレート修正
43-epgrec assist を有効にしたいページのテンプレートを修正します。修正方法は共通で、最下行付近の </body> タグの前にscriptを読み込む1行を挿入します
59+epgrec assist を有効にしたいページのテンプレートを修正します。
60+修正方法は共通で、最下行付近の </body> タグの前にscriptを読み込む1行を挿入します
4461
4562 --------------------------------------------------------------------
4663 <script type="text/javascript" src="assist/js/epgrec_assist.js"></script>
@@ -52,6 +69,7 @@ epgrec assist を有効にしたいページのテンプレートを修正しま
5269
5370 番組表 / epgrec / templates / index.html
5471 録画済一覧 / epgrec / templates / recordedTable.html
72+録画予約一覧 / epgrec / templates / reservationTable.html
5573
5674 検索ページはまだ手をつけていないのですが、epgrec chForm assist と同等の動作をするようになります
5775