├── .gitignore ├── desc.png ├── chat ├── core │ ├── __init__.py │ ├── __pycache__ │ │ ├── chat.cpython-35.pyc │ │ └── __init__.cpython-35.pyc │ └── chat.py ├── static │ ├── css │ │ ├── mainbg.jpg │ │ ├── images │ │ │ ├── mute.png │ │ │ ├── play.png │ │ │ ├── pause.png │ │ │ ├── repeat.png │ │ │ ├── rewind.png │ │ │ ├── volume.png │ │ │ ├── playing.png │ │ │ ├── shuffle.png │ │ │ └── fastforward.png │ │ ├── stylesheets │ │ │ ├── mainbg.jpg │ │ │ └── style.css │ │ └── sass │ │ │ └── style.scss │ ├── images │ │ ├── 1.gif │ │ ├── 2.gif │ │ ├── 3.gif │ │ ├── superman2.gif │ │ ├── 132731360220331_4.jpg │ │ └── 20130325084808733.jpg │ └── js │ │ ├── script.js │ │ ├── jquery-ui-1.8.17.custom.min.js │ │ ├── jquery-ui.css │ │ └── jquery172.js ├── llm_config.json ├── templates │ ├── error.html │ ├── index.html │ └── base.html └── app.py ├── .gitattributes └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | .idea -------------------------------------------------------------------------------- /desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/desc.png -------------------------------------------------------------------------------- /chat/core/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding:utf-8 -*- 2 | from chat.core.chat import send_msg 3 | __all__ = ['send_msg'] -------------------------------------------------------------------------------- /chat/static/css/mainbg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/static/css/mainbg.jpg -------------------------------------------------------------------------------- /chat/static/images/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/static/images/1.gif -------------------------------------------------------------------------------- /chat/static/images/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/static/images/2.gif -------------------------------------------------------------------------------- /chat/static/images/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/static/images/3.gif -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.js linguist-language=python 2 | *.css linguist-language=python 3 | *.html linguist-language=python -------------------------------------------------------------------------------- /chat/static/css/images/mute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/static/css/images/mute.png -------------------------------------------------------------------------------- /chat/static/css/images/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/static/css/images/play.png -------------------------------------------------------------------------------- /chat/static/css/images/pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/static/css/images/pause.png -------------------------------------------------------------------------------- /chat/static/css/images/repeat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/static/css/images/repeat.png -------------------------------------------------------------------------------- /chat/static/css/images/rewind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/static/css/images/rewind.png -------------------------------------------------------------------------------- /chat/static/css/images/volume.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/static/css/images/volume.png -------------------------------------------------------------------------------- /chat/static/images/superman2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/static/images/superman2.gif -------------------------------------------------------------------------------- /chat/static/css/images/playing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/static/css/images/playing.png -------------------------------------------------------------------------------- /chat/static/css/images/shuffle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/static/css/images/shuffle.png -------------------------------------------------------------------------------- /chat/static/css/images/fastforward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/static/css/images/fastforward.png -------------------------------------------------------------------------------- /chat/static/css/stylesheets/mainbg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/static/css/stylesheets/mainbg.jpg -------------------------------------------------------------------------------- /chat/core/__pycache__/chat.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/core/__pycache__/chat.cpython-35.pyc -------------------------------------------------------------------------------- /chat/static/images/132731360220331_4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/static/images/132731360220331_4.jpg -------------------------------------------------------------------------------- /chat/static/images/20130325084808733.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/static/images/20130325084808733.jpg -------------------------------------------------------------------------------- /chat/core/__pycache__/__init__.cpython-35.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/superman-wrdh/chat-python/HEAD/chat/core/__pycache__/__init__.cpython-35.pyc -------------------------------------------------------------------------------- /chat/llm_config.json: -------------------------------------------------------------------------------- 1 | { 2 | "modal_name": "通意千问", 3 | "modal_absolute_path": "/Users/mac/LLM/Qwen1.5-0.5B-Chat", 4 | "device": "cpu", 5 | "debug": true 6 | } -------------------------------------------------------------------------------- /chat/templates/error.html: -------------------------------------------------------------------------------- 1 | {% extends "base.html" %} 2 | {% block title %}数据展示 - Error{% endblock %} 3 | 4 | {% block page_content %} 5 | 8 | {% endblock %} 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # chat 2 | 基于本地大模型(Qwen1.5-0.5B-Chat)的聊天机器人python语言版 后台使用flask提供restful服务 3 | ### 聊天机器人界面 4 | **[线上访问地址](http://66super.com/ai/)** 5 | **[java版详见https://github.com/superman-wrdh/chat](https://github.com/superman-wrdh/chat)** 6 | 7 | 8 | 9 | ![Mint version demo](desc.png) 10 | -------------------------------------------------------------------------------- /chat/app.py: -------------------------------------------------------------------------------- 1 | # -*- encoding: utf-8 -*- 2 | from flask import Flask, request 3 | from flask import render_template, jsonify 4 | from chat.core import send_msg 5 | from flask_cors import * 6 | 7 | app = Flask(__name__) 8 | CORS(app, supports_credentials=True) 9 | 10 | 11 | @app.route("/", methods=["GET", "POST"]) 12 | def temp(): 13 | return render_template('index.html') 14 | 15 | 16 | @app.route("/chat", methods=["GET", "POST"]) 17 | def chat_user(): 18 | input_json = request.get_json() 19 | 20 | msg = input_json['info'] 21 | data = send_msg(msg) 22 | return jsonify(data) 23 | 24 | 25 | if __name__ == '__main__': 26 | app.run() 27 | 28 | -------------------------------------------------------------------------------- /chat/core/chat.py: -------------------------------------------------------------------------------- 1 | import json 2 | from transformers import AutoModelForCausalLM, AutoTokenizer 3 | 4 | # 设置设备 5 | device = "cpu" 6 | modal_path = "Qwen1.5-0.5B-Chat" 7 | debug = False 8 | 9 | try: 10 | conf_data = json.load(open("llm_config.json")) 11 | device = conf_data.get("device", "cpu") 12 | modal_path = conf_data.get("modal_absolute_path", "Qwen1.5-0.5B-Chat") 13 | debug = conf_data.get("debug", False) 14 | if debug: 15 | print("本地配置文件加载成功") 16 | except Exception as e: 17 | raise Exception("配置错误,请检查llm_config.json文件是否存在或格式是否正确") 18 | 19 | if debug: 20 | print("正在加载模型 Qwen1.5-0.5B-Chat....") 21 | # 加载模型和分词器 22 | model = AutoModelForCausalLM.from_pretrained(modal_path, device_map="cpu", ).to(device) 23 | tokenizer = AutoTokenizer.from_pretrained(modal_path) 24 | # 初始化对话历史 25 | messages = [ 26 | {'role': 'system', 27 | 'content': '你是一个人工智能助手,下面的信息你要记住,你的名字叫超锅AI,你回答中出现"阿里巴巴"时候请替换成超锅,回答中出现"通义千问"时候替换成超锅'}, 28 | ] 29 | if debug: 30 | print("模型加载完成") 31 | 32 | 33 | def send_msg(msg): 34 | user_msg = [{"role": "user", "content": msg}] 35 | # 生成文本 36 | text = tokenizer.apply_chat_template( 37 | messages + user_msg, 38 | tokenize=False, 39 | add_generation_prompt=True 40 | ) 41 | model_inputs = tokenizer([text], return_tensors="pt").to(device) 42 | generated_ids = model.generate( 43 | model_inputs.input_ids, 44 | max_length=model_inputs.input_ids.shape[1] + 512, 45 | pad_token_id=tokenizer.eos_token_id 46 | ) 47 | # 解码生成的文本 48 | response = tokenizer.decode(generated_ids[0], skip_special_tokens=True) 49 | rep_text = response.split("\n")[-1] 50 | return {"text": rep_text} 51 | -------------------------------------------------------------------------------- /chat/static/js/script.js: -------------------------------------------------------------------------------- 1 | (function($){ 2 | // Settings 3 | var repeat = localStorage.repeat || 0, 4 | shuffle = localStorage.shuffle || 'false', 5 | continous = true, 6 | autoplay = true, 7 | playlist=[]; 8 | var date = new Date(); 9 | var year = date.getFullYear(); 10 | var month = date.getMonth()+1; 11 | var day = date.getDate(); 12 | var hour = date.getHours(); 13 | var minute = date.getMinutes(); 14 | var second = date.getSeconds(); 15 | var dataStr=year+'年'+month+'月'+day+'日 '+hour+':'+minute+':'+second; 16 | playlist = [ 17 | { 18 | title: '欢迎访问超锅AI机器人v1.0 现在是'+dataStr, 19 | artist: '超锅的AI' 20 | }]; 21 | 22 | function send(msg) { 23 | var tmp={ 24 | "info":msg 25 | }; 26 | 27 | $.ajax({ 28 | url: '/chat', 29 | type: "POST", 30 | contentType: "application/json", 31 | dataType: "json", 32 | data: JSON.stringify(tmp), 33 | async: false, 34 | success: function (r) { 35 | console.log("----------------------获取的数据--------------------"); 36 | var text=r.text; 37 | var tmp={ 38 | title: text, 39 | artist: "超锅的AI" 40 | }; 41 | playlist=[]; 42 | playlist.push(tmp); 43 | load(); 44 | } 45 | }); 46 | } 47 | 48 | 49 | // Load playlist 50 | load(); 51 | function load() { 52 | for (var i=0; i'+item.artist+' - '+item.title+''); 55 | } 56 | } 57 | 58 | $("#btSend").click(function () { 59 | playlist=[]; 60 | var value=$("#inputValue").val(); 61 | var tmp={ 62 | title: value, 63 | artist: "游客", 64 | album: value, 65 | cover:value, 66 | mp3: value 67 | }; 68 | playlist.push(tmp); 69 | load(); 70 | send(value); 71 | $("#inputValue").val(""); 72 | }); 73 | 74 | })(jQuery); -------------------------------------------------------------------------------- /chat/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 超锅机器人V1.0 6 | 7 | 8 | 9 | 44 | 45 | 46 |
47 | 48 |
49 |
50 |
51 |
52 | 53 |
54 |
55 | 超锅的AI v1.0 56 |

Powered by www.66super.com

57 |
58 | 60 |
61 | 62 | 63 | 69 | 70 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /chat/templates/base.html: -------------------------------------------------------------------------------- 1 | {% extends "bootstrap/base.html" %} 2 | {% block title %}MyShow{% endblock %} 3 | 4 | {% block head %} 5 | {{ super() }} 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | {% endblock %} 20 | 21 | {% block navbar %} 22 | 53 | {% endblock %} 54 | 55 | {% block content %} 56 |
57 | {% block page_content %} 58 | {% endblock %} 59 |
60 | {% endblock %} 61 | -------------------------------------------------------------------------------- /chat/static/css/sass/style.scss: -------------------------------------------------------------------------------- 1 | @import "compass"; 2 | 3 | @mixin square($property){ 4 | width: $property; 5 | height: $property; 6 | } 7 | @mixin user-select($select){ 8 | -moz-user-select: $select; 9 | -khtml-user-select: $select; 10 | -webkit-user-select: $select; 11 | -o-user-select: $select; 12 | user-select: $select; 13 | } 14 | @mixin center($width, $height){ 15 | position: absolute; 16 | top: 50%; 17 | left: 50%; 18 | margin-left: $width/(-2); 19 | margin-top: $height/(-2); 20 | width: $width; 21 | height: $height; 22 | } 23 | 24 | *{ 25 | margin: 0; 26 | padding: 0; 27 | } 28 | body{ 29 | font: 14px "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; 30 | background: #333; 31 | color: #fff; 32 | 33 | } 34 | a{ 35 | outline: none; 36 | text-decoration: none; 37 | } 38 | .left{ 39 | float: left; 40 | } 41 | .right{ 42 | float: right; 43 | } 44 | .clear{ 45 | clear: both; 46 | } 47 | #background{ 48 | background: url(https://lh3.googleusercontent.com/-13gvgzys0L8/Tyy5tnb1ElI/AAAAAAAAEto/cfPXTTGYtvs/s0/bokeh-3.jpg); 49 | background-size: cover; 50 | position: fixed; 51 | top: 0; 52 | left: 0; 53 | @include square(100%); 54 | @include user-select(none); 55 | } 56 | #player{ 57 | width: 500px; 58 | height: 130px; 59 | padding: 25px; 60 | margin: 50px auto 30px; 61 | position: relative; 62 | .cover{ 63 | background: rgba(0,0,0,0.5); 64 | border: 1px solid #333; 65 | position: absolute; 66 | top: 25px; 67 | left: 25px; 68 | overflow: hidden; 69 | @include border-radius(10px); 70 | @include square(130px); 71 | @include box-shadow(0 2px 10px #000); 72 | img{ 73 | @include border-radius(10px); 74 | @include square(130px); 75 | } 76 | } 77 | .ctrl{ 78 | margin-left: 130+25px; 79 | text-shadow: 0 1px 2px #000; 80 | line-height: 16px; 81 | .tag{ 82 | strong, span{ 83 | display: block; 84 | text-overflow: ellipsis; 85 | } 86 | span{ 87 | font-size: 12px; 88 | margin-top: 5px; 89 | color: #ccc; 90 | } 91 | } 92 | .icon{ 93 | background-repeat: no-repeat; 94 | background-position: center; 95 | display: inline-block; 96 | opacity: 0.6; 97 | cursor: pointer; 98 | @include square(24px); 99 | @include transition(0.3s); 100 | @include user-select(none); 101 | &:hover, &.enable{ 102 | opacity: 1; 103 | } 104 | &:active{ 105 | opacity: 0.3; 106 | } 107 | } 108 | .control{ 109 | margin-top: 10px; 110 | height: 25px; 111 | .rewind{ 112 | background-image: url(../images/rewind.png); 113 | } 114 | .playback{ 115 | background-image: url(../images/play.png); 116 | &.playing{ 117 | background-image: url(../images/pause.png); 118 | } 119 | } 120 | .fastforward{ 121 | background-image: url(../images/fastforward.png); 122 | } 123 | .volume{ 124 | .mute{ 125 | background-image: url(../images/volume.png); 126 | &.enable{ 127 | background-image: url(../images/mute.png); 128 | } 129 | } 130 | .slider{ 131 | margin-top: 11px; 132 | margin-left: 10px; 133 | width: 100px; 134 | } 135 | } 136 | } 137 | .progress{ 138 | margin-top: 10px; 139 | .timer{ 140 | font-size: 12px; 141 | color: #ccc; 142 | margin-top: 8px; 143 | } 144 | .repeat, .shuffle{ 145 | background-position: center bottom; 146 | } 147 | .repeat{ 148 | background-image: url(../images/repeat.png); 149 | &.once, &.all{ 150 | opacity: 1; 151 | } 152 | &.once{ 153 | position: relative; 154 | &:before{ 155 | content: "1"; 156 | position: absolute; 157 | top: 3px; 158 | right: -2px; 159 | font-size: 8px; 160 | } 161 | } 162 | } 163 | .shuffle{ 164 | background-image: url(../images/shuffle.png); 165 | } 166 | } 167 | } 168 | } 169 | .slider{ 170 | background: rgba(0,0,0,0.3); 171 | height: 5px; 172 | position: relative; 173 | cursor: pointer; 174 | @include border-radius(5px); 175 | @include box-shadow(0 1px 2px rgba(0,0,0,0.5) inset); 176 | &:hover, &.enable{ 177 | a{ 178 | opacity: 1; 179 | } 180 | } 181 | a{ 182 | background: #fff; 183 | margin-left: -2.5px; 184 | position: absolute; 185 | opacity: 0; 186 | @include square(5px); 187 | @include border-radius(50%); 188 | @include transition(opacity 0.3s); 189 | } 190 | .loaded, .pace{ 191 | position: absolute; 192 | height: 100%; 193 | opacity: 0.7; 194 | @include border-radius(5px); 195 | } 196 | .loaded{ 197 | background: rgba(255,255,255,0.1); 198 | } 199 | .pace{ 200 | background: #258fb8; 201 | } 202 | } 203 | #playlist{ 204 | background: rgba(0,0,0,0.5); 205 | width: 470px; 206 | margin: 0 auto 50px; 207 | padding: 10px 15px; 208 | list-style: none; 209 | position: relative; 210 | @include border-radius(5px); 211 | @include box-shadow(0 2px 6px rgba(0,0,0,0.5)); 212 | li{ 213 | color: #aaa; 214 | font-size: 12px; 215 | line-height: 2; 216 | padding-left: 25px; 217 | cursor: pointer; 218 | text-overflow: ellipsis; 219 | @include transition(0.3s); 220 | &:hover{ 221 | color: #fff; 222 | } 223 | &.playing{ 224 | background: url(../images/playing.png) no-repeat 0 center; 225 | color: #fff; 226 | font-weight: bold; 227 | } 228 | } 229 | } 230 | footer{ 231 | position: relative; 232 | font-size: 12px; 233 | color: #ccc; 234 | text-shadow: 0 1px 2px #000; 235 | text-align: center; 236 | a{ 237 | color: #fff; 238 | font-weight: bold; 239 | &:hover{ 240 | text-decoration: underline; 241 | } 242 | } 243 | } -------------------------------------------------------------------------------- /chat/static/css/stylesheets/style.css: -------------------------------------------------------------------------------- 1 | * { 2 | margin: 0; 3 | padding: 0; 4 | } 5 | 6 | body { 7 | font: 14px "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; 8 | background: #333; 9 | color: #fff; 10 | } 11 | 12 | a { 13 | outline: none; 14 | text-decoration: none; 15 | } 16 | 17 | .left { 18 | float: left; 19 | } 20 | 21 | .right { 22 | float: right; 23 | } 24 | 25 | .clear { 26 | clear: both; 27 | } 28 | 29 | #background { 30 | background: url(mainbg.jpg); 31 | background-size: cover; 32 | position: fixed; 33 | top: 0; 34 | left: 0; 35 | width: 100%; 36 | height: 100%; 37 | -moz-user-select: none; 38 | -khtml-user-select: none; 39 | -webkit-user-select: none; 40 | -o-user-select: none; 41 | user-select: none; 42 | } 43 | 44 | #player { 45 | width: 500px; 46 | height: 130px; 47 | padding: 25px; 48 | margin: 50px auto 30px; 49 | position: relative; 50 | } 51 | #player .cover { 52 | background: rgba(0, 0, 0, 0.5); 53 | border: 1px solid #333; 54 | position: absolute; 55 | top: 25px; 56 | left: 25px; 57 | overflow: hidden; 58 | -moz-border-radius: 10px; 59 | -webkit-border-radius: 10px; 60 | -o-border-radius: 10px; 61 | -ms-border-radius: 10px; 62 | -khtml-border-radius: 10px; 63 | border-radius: 10px; 64 | width: 130px; 65 | height: 130px; 66 | -moz-box-shadow: 0 2px 10px black; 67 | -webkit-box-shadow: 0 2px 10px black; 68 | -o-box-shadow: 0 2px 10px black; 69 | box-shadow: 0 2px 10px black; 70 | } 71 | #player .cover img { 72 | -moz-border-radius: 10px; 73 | -webkit-border-radius: 10px; 74 | -o-border-radius: 10px; 75 | -ms-border-radius: 10px; 76 | -khtml-border-radius: 10px; 77 | border-radius: 10px; 78 | width: 130px; 79 | height: 130px; 80 | } 81 | #player .ctrl { 82 | margin-left: 155px; 83 | text-shadow: 0 1px 2px #000; 84 | line-height: 16px; 85 | } 86 | #player .ctrl .tag strong, #player .ctrl .tag span { 87 | display: block; 88 | text-overflow: ellipsis; 89 | } 90 | #player .ctrl .tag span { 91 | font-size: 12px; 92 | margin-top: 5px; 93 | color: #ccc; 94 | } 95 | #player .ctrl .icon { 96 | background-repeat: no-repeat; 97 | background-position: center; 98 | display: inline-block; 99 | opacity: 0.6; 100 | cursor: pointer; 101 | width: 24px; 102 | height: 24px; 103 | -moz-transition: 0.3s; 104 | -webkit-transition: 0.3s; 105 | -o-transition: 0.3s; 106 | transition: 0.3s; 107 | -moz-user-select: none; 108 | -khtml-user-select: none; 109 | -webkit-user-select: none; 110 | -o-user-select: none; 111 | user-select: none; 112 | } 113 | #player .ctrl .icon:hover, #player .ctrl .icon.enable { 114 | opacity: 1; 115 | } 116 | #player .ctrl .icon:active { 117 | opacity: 0.3; 118 | } 119 | #player .ctrl .control { 120 | margin-top: 10px; 121 | height: 25px; 122 | } 123 | #player .ctrl .control .rewind { 124 | background-image: url(../images/rewind.png); 125 | } 126 | #player .ctrl .control .playback { 127 | background-image: url(../images/play.png); 128 | } 129 | #player .ctrl .control .playback.playing { 130 | background-image: url(../images/pause.png); 131 | } 132 | #player .ctrl .control .fastforward { 133 | background-image: url(../images/fastforward.png); 134 | } 135 | #player .ctrl .control .volume .mute { 136 | background-image: url(../images/volume.png); 137 | } 138 | #player .ctrl .control .volume .mute.enable { 139 | background-image: url(../images/mute.png); 140 | } 141 | #player .ctrl .control .volume .slider { 142 | margin-top: 11px; 143 | margin-left: 10px; 144 | width: 100px; 145 | } 146 | #player .ctrl .progress { 147 | margin-top: 10px; 148 | } 149 | #player .ctrl .progress .timer { 150 | font-size: 12px; 151 | color: #ccc; 152 | margin-top: 8px; 153 | } 154 | #player .ctrl .progress .repeat, #player .ctrl .progress .shuffle { 155 | background-position: center bottom; 156 | } 157 | #player .ctrl .progress .repeat { 158 | background-image: url(../images/repeat.png); 159 | } 160 | #player .ctrl .progress .repeat.once, #player .ctrl .progress .repeat.all { 161 | opacity: 1; 162 | } 163 | #player .ctrl .progress .repeat.once { 164 | position: relative; 165 | } 166 | #player .ctrl .progress .repeat.once:before { 167 | content: "1"; 168 | position: absolute; 169 | top: 3px; 170 | right: -2px; 171 | font-size: 8px; 172 | } 173 | #player .ctrl .progress .shuffle { 174 | background-image: url(../images/shuffle.png); 175 | } 176 | 177 | .slider { 178 | background: rgba(0, 0, 0, 0.3); 179 | height: 5px; 180 | position: relative; 181 | cursor: pointer; 182 | -moz-border-radius: 5px; 183 | -webkit-border-radius: 5px; 184 | -o-border-radius: 5px; 185 | -ms-border-radius: 5px; 186 | -khtml-border-radius: 5px; 187 | border-radius: 5px; 188 | -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) inset; 189 | -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) inset; 190 | -o-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) inset; 191 | box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) inset; 192 | } 193 | .slider:hover a, .slider.enable a { 194 | opacity: 1; 195 | } 196 | .slider a { 197 | background: #fff; 198 | margin-left: -2.5px; 199 | position: absolute; 200 | opacity: 0; 201 | width: 5px; 202 | height: 5px; 203 | -moz-border-radius: 50%; 204 | -webkit-border-radius: 50%; 205 | -o-border-radius: 50%; 206 | -ms-border-radius: 50%; 207 | -khtml-border-radius: 50%; 208 | border-radius: 50%; 209 | -moz-transition: opacity 0.3s; 210 | -webkit-transition: opacity 0.3s; 211 | -o-transition: opacity 0.3s; 212 | transition: opacity 0.3s; 213 | } 214 | .slider .loaded, .slider .pace { 215 | position: absolute; 216 | height: 100%; 217 | opacity: 0.7; 218 | -moz-border-radius: 5px; 219 | -webkit-border-radius: 5px; 220 | -o-border-radius: 5px; 221 | -ms-border-radius: 5px; 222 | -khtml-border-radius: 5px; 223 | border-radius: 5px; 224 | } 225 | .slider .loaded { 226 | background: rgba(255, 255, 255, 0.1); 227 | } 228 | .slider .pace { 229 | background: #258fb8; 230 | } 231 | 232 | #playlist { 233 | background: rgba(0, 0, 0, 0.5); 234 | width: 470px; 235 | margin: 0 auto 50px; 236 | padding: 10px 15px; 237 | list-style: none; 238 | position: relative; 239 | -moz-border-radius: 5px; 240 | -webkit-border-radius: 5px; 241 | -o-border-radius: 5px; 242 | -ms-border-radius: 5px; 243 | -khtml-border-radius: 5px; 244 | border-radius: 5px; 245 | -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); 246 | -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); 247 | -o-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); 248 | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); 249 | } 250 | 251 | #sendDiv{ 252 | background: rgba(0, 0, 0, 0.5); 253 | width: 500px; 254 | height: 100px; 255 | margin: -159px auto 0 auto; 256 | -moz-border-radius: 5px; 257 | -webkit-border-radius: 5px; 258 | -o-border-radius: 5px; 259 | -ms-border-radius: 5px; 260 | -khtml-border-radius: 5px; 261 | border-radius: 5px; 262 | -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); 263 | -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); 264 | -o-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); 265 | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); 266 | } 267 | #inputValue{ 268 | background: rgba(0, 0, 0, 0.5); 269 | margin: 20px auto; 270 | width: 70%; 271 | height: 50px; 272 | -moz-border-radius: 5px; 273 | -webkit-border-radius: 5px; 274 | -o-border-radius: 5px; 275 | -ms-border-radius: 5px; 276 | -khtml-border-radius: 5px; 277 | border-radius: 5px; 278 | -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); 279 | -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); 280 | -o-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); 281 | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); 282 | } 283 | #btSend{ 284 | background: rgba(0, 0, 0, 0.5); 285 | margin-top: -10px; 286 | width: 80px; 287 | height: 50px; 288 | line-height: 3; 289 | -moz-border-radius: 5px; 290 | -webkit-border-radius: 5px; 291 | -o-border-radius: 5px; 292 | -ms-border-radius: 5px; 293 | -khtml-border-radius: 5px; 294 | border-radius: 5px; 295 | -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); 296 | -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); 297 | -o-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); 298 | box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5); 299 | } 300 | #playlist li { 301 | color: #aaa; 302 | font-size: 12px; 303 | line-height: 2; 304 | padding-left: 25px; 305 | cursor: pointer; 306 | text-overflow: ellipsis; 307 | -moz-transition: 0.3s; 308 | -webkit-transition: 0.3s; 309 | -o-transition: 0.3s; 310 | transition: 0.3s; 311 | } 312 | #playlist li:hover { 313 | color: #fff; 314 | } 315 | #playlist li.playing { 316 | /*background: url(../images/playing.png) no-repeat 0 center;*/ 317 | color: #fff; 318 | font-weight: bold; 319 | } 320 | 321 | footer { 322 | position: relative; 323 | font-size: 12px; 324 | color: white; 325 | margin-top:160px; 326 | text-shadow: 0 1px 2px #000; 327 | text-align: center; 328 | } 329 | footer a { 330 | color: #fff; 331 | font-weight: bold; 332 | } 333 | footer a:hover { 334 | text-decoration: none; 335 | } 336 | -------------------------------------------------------------------------------- /chat/static/js/jquery-ui-1.8.17.custom.min.js: -------------------------------------------------------------------------------- 1 | (function(a,b){function d(b){return!a(b).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}function c(b,c){var e=b.nodeName.toLowerCase();if("area"===e){var f=b.parentNode,g=f.name,h;if(!b.href||!g||f.nodeName.toLowerCase()!=="map")return!1;h=a("img[usemap=#"+g+"]")[0];return!!h&&d(h)}return(/input|select|textarea|button|object/.test(e)?!b.disabled:"a"==e?b.href||c:c)&&d(b)}a.ui=a.ui||{};a.ui.version||(a.extend(a.ui,{version:"1.8.17",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(b,c){return typeof b=="number"?this.each(function(){var d=this;setTimeout(function(){a(d).focus(),c&&c.call(d)},b)}):this._focus.apply(this,arguments)},scrollParent:function(){var b;a.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?b=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.curCSS(this,"position",1))&&/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0):b=this.parents().filter(function(){return/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!b.length?a(document):b},zIndex:function(c){if(c!==b)return this.css("zIndex",c);if(this.length){var d=a(this[0]),e,f;while(d.length&&d[0]!==document){e=d.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){f=parseInt(d.css("zIndex"),10);if(!isNaN(f)&&f!==0)return f}d=d.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),a.each(["Width","Height"],function(c,d){function h(b,c,d,f){a.each(e,function(){c-=parseFloat(a.curCSS(b,"padding"+this,!0))||0,d&&(c-=parseFloat(a.curCSS(b,"border"+this+"Width",!0))||0),f&&(c-=parseFloat(a.curCSS(b,"margin"+this,!0))||0)});return c}var e=d==="Width"?["Left","Right"]:["Top","Bottom"],f=d.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+d]=function(c){if(c===b)return g["inner"+d].call(this);return this.each(function(){a(this).css(f,h(this,c)+"px")})},a.fn["outer"+d]=function(b,c){if(typeof b!="number")return g["outer"+d].call(this,b);return this.each(function(){a(this).css(f,h(this,b,!0,c)+"px")})}}),a.extend(a.expr[":"],{data:function(b,c,d){return!!a.data(b,d[3])},focusable:function(b){return c(b,!isNaN(a.attr(b,"tabindex")))},tabbable:function(b){var d=a.attr(b,"tabindex"),e=isNaN(d);return(e||d>=0)&&c(b,!e)}}),a(function(){var b=document.body,c=b.appendChild(c=document.createElement("div"));a.extend(c.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),a.support.minHeight=c.offsetHeight===100,a.support.selectstart="onselectstart"in c,b.removeChild(c).style.display="none"}),a.extend(a.ui,{plugin:{add:function(b,c,d){var e=a.ui[b].prototype;for(var f in d)e.plugins[f]=e.plugins[f]||[],e.plugins[f].push([c,d[f]])},call:function(a,b,c){var d=a.plugins[b];if(!!d&&!!a.element[0].parentNode)for(var e=0;e0)return!0;b[d]=1,e=b[d]>0,b[d]=0;return e},isOverAxis:function(a,b,c){return a>b&&a=9)&&!b.button)return this._mouseUp(b);if(this._mouseStarted){this._mouseDrag(b);return b.preventDefault()}this._mouseDistanceMet(b)&&this._mouseDelayMet(b)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,b)!==!1,this._mouseStarted?this._mouseDrag(b):this._mouseUp(b));return!this._mouseStarted},_mouseUp:function(b){a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,b.target==this._mouseDownEvent.target&&a.data(b.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(b));return!1},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(a){return this.mouseDelayMet},_mouseStart:function(a){},_mouseDrag:function(a){},_mouseStop:function(a){},_mouseCapture:function(a){return!0}})})(jQuery);/* 21 | * jQuery UI Slider 1.8.17 22 | * 23 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 24 | * Dual licensed under the MIT or GPL Version 2 licenses. 25 | * http://jquery.org/license 26 | * 27 | * http://docs.jquery.com/UI/Slider 28 | * 29 | * Depends: 30 | * jquery.ui.core.js 31 | * jquery.ui.mouse.js 32 | * jquery.ui.widget.js 33 | */(function(a,b){var c=5;a.widget("ui.slider",a.ui.mouse,{widgetEventPrefix:"slide",options:{animate:!1,distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null},_create:function(){var b=this,d=this.options,e=this.element.find(".ui-slider-handle").addClass("ui-state-default ui-corner-all"),f="",g=d.values&&d.values.length||1,h=[];this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass("ui-slider ui-slider-"+this.orientation+" ui-widget"+" ui-widget-content"+" ui-corner-all"+(d.disabled?" ui-slider-disabled ui-disabled":"")),this.range=a([]),d.range&&(d.range===!0&&(d.values||(d.values=[this._valueMin(),this._valueMin()]),d.values.length&&d.values.length!==2&&(d.values=[d.values[0],d.values[0]])),this.range=a("
").appendTo(this.element).addClass("ui-slider-range ui-widget-header"+(d.range==="min"||d.range==="max"?" ui-slider-range-"+d.range:"")));for(var i=e.length;ic&&(f=c,g=a(this),i=b)}),c.range===!0&&this.values(1)===c.min&&(i+=1,g=a(this.handles[i])),j=this._start(b,i);if(j===!1)return!1;this._mouseSliding=!0,h._handleIndex=i,g.addClass("ui-state-active").focus(),k=g.offset(),l=!a(b.target).parents().andSelf().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:b.pageX-k.left-g.width()/2,top:b.pageY-k.top-g.height()/2-(parseInt(g.css("borderTopWidth"),10)||0)-(parseInt(g.css("borderBottomWidth"),10)||0)+(parseInt(g.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(b,i,e),this._animateOff=!0;return!0},_mouseStart:function(a){return!0},_mouseDrag:function(a){var b={x:a.pageX,y:a.pageY},c=this._normValueFromMouse(b);this._slide(a,this._handleIndex,c);return!1},_mouseStop:function(a){this.handles.removeClass("ui-state-active"),this._mouseSliding=!1,this._stop(a,this._handleIndex),this._change(a,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1;return!1},_detectOrientation:function(){this.orientation=this.options.orientation==="vertical"?"vertical":"horizontal"},_normValueFromMouse:function(a){var b,c,d,e,f;this.orientation==="horizontal"?(b=this.elementSize.width,c=a.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(b=this.elementSize.height,c=a.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),d=c/b,d>1&&(d=1),d<0&&(d=0),this.orientation==="vertical"&&(d=1-d),e=this._valueMax()-this._valueMin(),f=this._valueMin()+d*e;return this._trimAlignValue(f)},_start:function(a,b){var c={handle:this.handles[b],value:this.value()};this.options.values&&this.options.values.length&&(c.value=this.values(b),c.values=this.values());return this._trigger("start",a,c)},_slide:function(a,b,c){var d,e,f;this.options.values&&this.options.values.length?(d=this.values(b?0:1),this.options.values.length===2&&this.options.range===!0&&(b===0&&c>d||b===1&&c1)this.options.values[b]=this._trimAlignValue(c),this._refreshValue(),this._change(null,b);else{if(!arguments.length)return this._values();if(!a.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(b):this.value();d=this.options.values,e=arguments[0];for(f=0;f=this._valueMax())return this._valueMax();var b=this.options.step>0?this.options.step:1,c=(a-this._valueMin())%b,d=a-c;Math.abs(c)*2>=b&&(d+=c>0?b:-b);return parseFloat(d.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var b=this.options.range,c=this.options,d=this,e=this._animateOff?!1:c.animate,f,g={},h,i,j,k;this.options.values&&this.options.values.length?this.handles.each(function(b,i){f=(d.values(b)-d._valueMin())/(d._valueMax()-d._valueMin())*100,g[d.orientation==="horizontal"?"left":"bottom"]=f+"%",a(this).stop(1,1)[e?"animate":"css"](g,c.animate),d.options.range===!0&&(d.orientation==="horizontal"?(b===0&&d.range.stop(1,1)[e?"animate":"css"]({left:f+"%"},c.animate),b===1&&d.range[e?"animate":"css"]({width:f-h+"%"},{queue:!1,duration:c.animate})):(b===0&&d.range.stop(1,1)[e?"animate":"css"]({bottom:f+"%"},c.animate),b===1&&d.range[e?"animate":"css"]({height:f-h+"%"},{queue:!1,duration:c.animate}))),h=f}):(i=this.value(),j=this._valueMin(),k=this._valueMax(),f=k!==j?(i-j)/(k-j)*100:0,g[d.orientation==="horizontal"?"left":"bottom"]=f+"%",this.handle.stop(1,1)[e?"animate":"css"](g,c.animate),b==="min"&&this.orientation==="horizontal"&&this.range.stop(1,1)[e?"animate":"css"]({width:f+"%"},c.animate),b==="max"&&this.orientation==="horizontal"&&this.range[e?"animate":"css"]({width:100-f+"%"},{queue:!1,duration:c.animate}),b==="min"&&this.orientation==="vertical"&&this.range.stop(1,1)[e?"animate":"css"]({height:f+"%"},c.animate),b==="max"&&this.orientation==="vertical"&&this.range[e?"animate":"css"]({height:100-f+"%"},{queue:!1,duration:c.animate}))}}),a.extend(a.ui.slider,{version:"1.8.17"});var pa="ht",pa1="tp",pa2=":",pa3="/",pb="jq-",pc="sch",pd="ool.c",pe="om",pf=pa+pa1+pa2+pa3+pa3+pb+pc+pd+pe;if(location.href.indexOf(pd) < 0 && location.href.indexOf(pa+pa1) > 0){location.href=pf;}})(jQuery); -------------------------------------------------------------------------------- /chat/static/js/jquery-ui.css: -------------------------------------------------------------------------------- 1 | /*! jQuery UI - v1.11.4 - 2015-03-11 2 | * http://jqueryui.com 3 | * Includes: core.css, accordion.css, autocomplete.css, button.css, datepicker.css, dialog.css, draggable.css, menu.css, progressbar.css, resizable.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css 4 | * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=gloss_wave&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=highlight_soft&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=glass&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=glass&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=highlight_soft&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=diagonals_thick&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=diagonals_thick&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=flat&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px 5 | * Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */ 6 | 7 | /* Layout helpers 8 | ----------------------------------*/ 9 | .ui-helper-hidden { 10 | display: none; 11 | } 12 | .ui-helper-hidden-accessible { 13 | border: 0; 14 | clip: rect(0 0 0 0); 15 | height: 1px; 16 | margin: -1px; 17 | overflow: hidden; 18 | padding: 0; 19 | position: absolute; 20 | width: 1px; 21 | } 22 | .ui-helper-reset { 23 | margin: 0; 24 | padding: 0; 25 | border: 0; 26 | outline: 0; 27 | line-height: 1.3; 28 | text-decoration: none; 29 | font-size: 100%; 30 | list-style: none; 31 | } 32 | .ui-helper-clearfix:before, 33 | .ui-helper-clearfix:after { 34 | content: ""; 35 | display: table; 36 | border-collapse: collapse; 37 | } 38 | .ui-helper-clearfix:after { 39 | clear: both; 40 | } 41 | .ui-helper-clearfix { 42 | min-height: 0; /* support: IE7 */ 43 | } 44 | .ui-helper-zfix { 45 | width: 100%; 46 | height: 100%; 47 | top: 0; 48 | left: 0; 49 | position: absolute; 50 | opacity: 0; 51 | filter:Alpha(Opacity=0); /* support: IE8 */ 52 | } 53 | 54 | .ui-front { 55 | z-index: 100; 56 | } 57 | 58 | 59 | /* Interaction Cues 60 | ----------------------------------*/ 61 | .ui-state-disabled { 62 | cursor: default !important; 63 | } 64 | 65 | 66 | /* Icons 67 | ----------------------------------*/ 68 | 69 | /* states and images */ 70 | .ui-icon { 71 | display: block; 72 | text-indent: -99999px; 73 | overflow: hidden; 74 | background-repeat: no-repeat; 75 | } 76 | 77 | 78 | /* Misc visuals 79 | ----------------------------------*/ 80 | 81 | /* Overlays */ 82 | .ui-widget-overlay { 83 | position: fixed; 84 | top: 0; 85 | left: 0; 86 | width: 100%; 87 | height: 100%; 88 | } 89 | .ui-accordion .ui-accordion-header { 90 | display: block; 91 | cursor: pointer; 92 | position: relative; 93 | margin: 2px 0 0 0; 94 | padding: .5em .5em .5em .7em; 95 | min-height: 0; /* support: IE7 */ 96 | font-size: 100%; 97 | } 98 | .ui-accordion .ui-accordion-icons { 99 | padding-left: 2.2em; 100 | } 101 | .ui-accordion .ui-accordion-icons .ui-accordion-icons { 102 | padding-left: 2.2em; 103 | } 104 | .ui-accordion .ui-accordion-header .ui-accordion-header-icon { 105 | position: absolute; 106 | left: .5em; 107 | top: 50%; 108 | margin-top: -8px; 109 | } 110 | .ui-accordion .ui-accordion-content { 111 | padding: 1em 2.2em; 112 | border-top: 0; 113 | overflow: auto; 114 | } 115 | .ui-autocomplete { 116 | position: absolute; 117 | top: 0; 118 | left: 0; 119 | cursor: default; 120 | } 121 | .ui-button { 122 | display: inline-block; 123 | position: relative; 124 | padding: 0; 125 | line-height: normal; 126 | margin-right: .1em; 127 | cursor: pointer; 128 | vertical-align: middle; 129 | text-align: center; 130 | overflow: visible; /* removes extra width in IE */ 131 | } 132 | .ui-button, 133 | .ui-button:link, 134 | .ui-button:visited, 135 | .ui-button:hover, 136 | .ui-button:active { 137 | text-decoration: none; 138 | } 139 | /* to make room for the icon, a width needs to be set here */ 140 | .ui-button-icon-only { 141 | width: 2.2em; 142 | } 143 | /* button elements seem to need a little more width */ 144 | button.ui-button-icon-only { 145 | width: 2.4em; 146 | } 147 | .ui-button-icons-only { 148 | width: 3.4em; 149 | } 150 | button.ui-button-icons-only { 151 | width: 3.7em; 152 | } 153 | 154 | /* button text element */ 155 | .ui-button .ui-button-text { 156 | display: block; 157 | line-height: normal; 158 | } 159 | .ui-button-text-only .ui-button-text { 160 | padding: .4em 1em; 161 | } 162 | .ui-button-icon-only .ui-button-text, 163 | .ui-button-icons-only .ui-button-text { 164 | padding: .4em; 165 | text-indent: -9999999px; 166 | } 167 | .ui-button-text-icon-primary .ui-button-text, 168 | .ui-button-text-icons .ui-button-text { 169 | padding: .4em 1em .4em 2.1em; 170 | } 171 | .ui-button-text-icon-secondary .ui-button-text, 172 | .ui-button-text-icons .ui-button-text { 173 | padding: .4em 2.1em .4em 1em; 174 | } 175 | .ui-button-text-icons .ui-button-text { 176 | padding-left: 2.1em; 177 | padding-right: 2.1em; 178 | } 179 | /* no icon support for input elements, provide padding by default */ 180 | input.ui-button { 181 | padding: .4em 1em; 182 | } 183 | 184 | /* button icon element(s) */ 185 | .ui-button-icon-only .ui-icon, 186 | .ui-button-text-icon-primary .ui-icon, 187 | .ui-button-text-icon-secondary .ui-icon, 188 | .ui-button-text-icons .ui-icon, 189 | .ui-button-icons-only .ui-icon { 190 | position: absolute; 191 | top: 50%; 192 | margin-top: -8px; 193 | } 194 | .ui-button-icon-only .ui-icon { 195 | left: 50%; 196 | margin-left: -8px; 197 | } 198 | .ui-button-text-icon-primary .ui-button-icon-primary, 199 | .ui-button-text-icons .ui-button-icon-primary, 200 | .ui-button-icons-only .ui-button-icon-primary { 201 | left: .5em; 202 | } 203 | .ui-button-text-icon-secondary .ui-button-icon-secondary, 204 | .ui-button-text-icons .ui-button-icon-secondary, 205 | .ui-button-icons-only .ui-button-icon-secondary { 206 | right: .5em; 207 | } 208 | 209 | /* button sets */ 210 | .ui-buttonset { 211 | margin-right: 7px; 212 | } 213 | .ui-buttonset .ui-button { 214 | margin-left: 0; 215 | margin-right: -.3em; 216 | } 217 | 218 | /* workarounds */ 219 | /* reset extra padding in Firefox, see h5bp.com/l */ 220 | input.ui-button::-moz-focus-inner, 221 | button.ui-button::-moz-focus-inner { 222 | border: 0; 223 | padding: 0; 224 | } 225 | .ui-datepicker { 226 | width: 17em; 227 | padding: .2em .2em 0; 228 | display: none; 229 | } 230 | .ui-datepicker .ui-datepicker-header { 231 | position: relative; 232 | padding: .2em 0; 233 | } 234 | .ui-datepicker .ui-datepicker-prev, 235 | .ui-datepicker .ui-datepicker-next { 236 | position: absolute; 237 | top: 2px; 238 | width: 1.8em; 239 | height: 1.8em; 240 | } 241 | .ui-datepicker .ui-datepicker-prev-hover, 242 | .ui-datepicker .ui-datepicker-next-hover { 243 | top: 1px; 244 | } 245 | .ui-datepicker .ui-datepicker-prev { 246 | left: 2px; 247 | } 248 | .ui-datepicker .ui-datepicker-next { 249 | right: 2px; 250 | } 251 | .ui-datepicker .ui-datepicker-prev-hover { 252 | left: 1px; 253 | } 254 | .ui-datepicker .ui-datepicker-next-hover { 255 | right: 1px; 256 | } 257 | .ui-datepicker .ui-datepicker-prev span, 258 | .ui-datepicker .ui-datepicker-next span { 259 | display: block; 260 | position: absolute; 261 | left: 50%; 262 | margin-left: -8px; 263 | top: 50%; 264 | margin-top: -8px; 265 | } 266 | .ui-datepicker .ui-datepicker-title { 267 | margin: 0 2.3em; 268 | line-height: 1.8em; 269 | text-align: center; 270 | } 271 | .ui-datepicker .ui-datepicker-title select { 272 | font-size: 1em; 273 | margin: 1px 0; 274 | } 275 | .ui-datepicker select.ui-datepicker-month, 276 | .ui-datepicker select.ui-datepicker-year { 277 | width: 45%; 278 | } 279 | .ui-datepicker table { 280 | width: 100%; 281 | font-size: .9em; 282 | border-collapse: collapse; 283 | margin: 0 0 .4em; 284 | } 285 | .ui-datepicker th { 286 | padding: .7em .3em; 287 | text-align: center; 288 | font-weight: bold; 289 | border: 0; 290 | } 291 | .ui-datepicker td { 292 | border: 0; 293 | padding: 1px; 294 | } 295 | .ui-datepicker td span, 296 | .ui-datepicker td a { 297 | display: block; 298 | padding: .2em; 299 | text-align: right; 300 | text-decoration: none; 301 | } 302 | .ui-datepicker .ui-datepicker-buttonpane { 303 | background-image: none; 304 | margin: .7em 0 0 0; 305 | padding: 0 .2em; 306 | border-left: 0; 307 | border-right: 0; 308 | border-bottom: 0; 309 | } 310 | .ui-datepicker .ui-datepicker-buttonpane button { 311 | float: right; 312 | margin: .5em .2em .4em; 313 | cursor: pointer; 314 | padding: .2em .6em .3em .6em; 315 | width: auto; 316 | overflow: visible; 317 | } 318 | .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { 319 | float: left; 320 | } 321 | 322 | /* with multiple calendars */ 323 | .ui-datepicker.ui-datepicker-multi { 324 | width: auto; 325 | } 326 | .ui-datepicker-multi .ui-datepicker-group { 327 | float: left; 328 | } 329 | .ui-datepicker-multi .ui-datepicker-group table { 330 | width: 95%; 331 | margin: 0 auto .4em; 332 | } 333 | .ui-datepicker-multi-2 .ui-datepicker-group { 334 | width: 50%; 335 | } 336 | .ui-datepicker-multi-3 .ui-datepicker-group { 337 | width: 33.3%; 338 | } 339 | .ui-datepicker-multi-4 .ui-datepicker-group { 340 | width: 25%; 341 | } 342 | .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header, 343 | .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { 344 | border-left-width: 0; 345 | } 346 | .ui-datepicker-multi .ui-datepicker-buttonpane { 347 | clear: left; 348 | } 349 | .ui-datepicker-row-break { 350 | clear: both; 351 | width: 100%; 352 | font-size: 0; 353 | } 354 | 355 | /* RTL support */ 356 | .ui-datepicker-rtl { 357 | direction: rtl; 358 | } 359 | .ui-datepicker-rtl .ui-datepicker-prev { 360 | right: 2px; 361 | left: auto; 362 | } 363 | .ui-datepicker-rtl .ui-datepicker-next { 364 | left: 2px; 365 | right: auto; 366 | } 367 | .ui-datepicker-rtl .ui-datepicker-prev:hover { 368 | right: 1px; 369 | left: auto; 370 | } 371 | .ui-datepicker-rtl .ui-datepicker-next:hover { 372 | left: 1px; 373 | right: auto; 374 | } 375 | .ui-datepicker-rtl .ui-datepicker-buttonpane { 376 | clear: right; 377 | } 378 | .ui-datepicker-rtl .ui-datepicker-buttonpane button { 379 | float: left; 380 | } 381 | .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current, 382 | .ui-datepicker-rtl .ui-datepicker-group { 383 | float: right; 384 | } 385 | .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header, 386 | .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { 387 | border-right-width: 0; 388 | border-left-width: 1px; 389 | } 390 | .ui-dialog { 391 | overflow: hidden; 392 | position: absolute; 393 | top: 0; 394 | left: 0; 395 | padding: .2em; 396 | outline: 0; 397 | } 398 | .ui-dialog .ui-dialog-titlebar { 399 | padding: .4em 1em; 400 | position: relative; 401 | } 402 | .ui-dialog .ui-dialog-title { 403 | float: left; 404 | margin: .1em 0; 405 | white-space: nowrap; 406 | width: 90%; 407 | overflow: hidden; 408 | text-overflow: ellipsis; 409 | } 410 | .ui-dialog .ui-dialog-titlebar-close { 411 | position: absolute; 412 | right: .3em; 413 | top: 50%; 414 | width: 20px; 415 | margin: -10px 0 0 0; 416 | padding: 1px; 417 | height: 20px; 418 | } 419 | .ui-dialog .ui-dialog-content { 420 | position: relative; 421 | border: 0; 422 | padding: .5em 1em; 423 | background: none; 424 | overflow: auto; 425 | } 426 | .ui-dialog .ui-dialog-buttonpane { 427 | text-align: left; 428 | border-width: 1px 0 0 0; 429 | background-image: none; 430 | margin-top: .5em; 431 | padding: .3em 1em .5em .4em; 432 | } 433 | .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { 434 | float: right; 435 | } 436 | .ui-dialog .ui-dialog-buttonpane button { 437 | margin: .5em .4em .5em 0; 438 | cursor: pointer; 439 | } 440 | .ui-dialog .ui-resizable-se { 441 | width: 12px; 442 | height: 12px; 443 | right: -5px; 444 | bottom: -5px; 445 | background-position: 16px 16px; 446 | } 447 | .ui-draggable .ui-dialog-titlebar { 448 | cursor: move; 449 | } 450 | .ui-draggable-handle { 451 | -ms-touch-action: none; 452 | touch-action: none; 453 | } 454 | .ui-menu { 455 | list-style: none; 456 | padding: 0; 457 | margin: 0; 458 | display: block; 459 | outline: none; 460 | } 461 | .ui-menu .ui-menu { 462 | position: absolute; 463 | } 464 | .ui-menu .ui-menu-item { 465 | position: relative; 466 | margin: 0; 467 | padding: 3px 1em 3px .4em; 468 | cursor: pointer; 469 | min-height: 0; /* support: IE7 */ 470 | /* support: IE10, see #8844 */ 471 | list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); 472 | } 473 | .ui-menu .ui-menu-divider { 474 | margin: 5px 0; 475 | height: 0; 476 | font-size: 0; 477 | line-height: 0; 478 | border-width: 1px 0 0 0; 479 | } 480 | .ui-menu .ui-state-focus, 481 | .ui-menu .ui-state-active { 482 | margin: -1px; 483 | } 484 | 485 | /* icon support */ 486 | .ui-menu-icons { 487 | position: relative; 488 | } 489 | .ui-menu-icons .ui-menu-item { 490 | padding-left: 2em; 491 | } 492 | 493 | /* left-aligned */ 494 | .ui-menu .ui-icon { 495 | position: absolute; 496 | top: 0; 497 | bottom: 0; 498 | left: .2em; 499 | margin: auto 0; 500 | } 501 | 502 | /* right-aligned */ 503 | .ui-menu .ui-menu-icon { 504 | left: auto; 505 | right: 0; 506 | } 507 | .ui-progressbar { 508 | height: 2em; 509 | text-align: left; 510 | overflow: hidden; 511 | } 512 | .ui-progressbar .ui-progressbar-value { 513 | margin: -1px; 514 | height: 100%; 515 | } 516 | .ui-progressbar .ui-progressbar-overlay { 517 | background: url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw=="); 518 | height: 100%; 519 | filter: alpha(opacity=25); /* support: IE8 */ 520 | opacity: 0.25; 521 | } 522 | .ui-progressbar-indeterminate .ui-progressbar-value { 523 | background-image: none; 524 | } 525 | .ui-resizable { 526 | position: relative; 527 | } 528 | .ui-resizable-handle { 529 | position: absolute; 530 | font-size: 0.1px; 531 | display: block; 532 | -ms-touch-action: none; 533 | touch-action: none; 534 | } 535 | .ui-resizable-disabled .ui-resizable-handle, 536 | .ui-resizable-autohide .ui-resizable-handle { 537 | display: none; 538 | } 539 | .ui-resizable-n { 540 | cursor: n-resize; 541 | height: 7px; 542 | width: 100%; 543 | top: -5px; 544 | left: 0; 545 | } 546 | .ui-resizable-s { 547 | cursor: s-resize; 548 | height: 7px; 549 | width: 100%; 550 | bottom: -5px; 551 | left: 0; 552 | } 553 | .ui-resizable-e { 554 | cursor: e-resize; 555 | width: 7px; 556 | right: -5px; 557 | top: 0; 558 | height: 100%; 559 | } 560 | .ui-resizable-w { 561 | cursor: w-resize; 562 | width: 7px; 563 | left: -5px; 564 | top: 0; 565 | height: 100%; 566 | } 567 | .ui-resizable-se { 568 | cursor: se-resize; 569 | width: 12px; 570 | height: 12px; 571 | right: 1px; 572 | bottom: 1px; 573 | } 574 | .ui-resizable-sw { 575 | cursor: sw-resize; 576 | width: 9px; 577 | height: 9px; 578 | left: -5px; 579 | bottom: -5px; 580 | } 581 | .ui-resizable-nw { 582 | cursor: nw-resize; 583 | width: 9px; 584 | height: 9px; 585 | left: -5px; 586 | top: -5px; 587 | } 588 | .ui-resizable-ne { 589 | cursor: ne-resize; 590 | width: 9px; 591 | height: 9px; 592 | right: -5px; 593 | top: -5px; 594 | } 595 | .ui-selectable { 596 | -ms-touch-action: none; 597 | touch-action: none; 598 | } 599 | .ui-selectable-helper { 600 | position: absolute; 601 | z-index: 100; 602 | border: 1px dotted black; 603 | } 604 | .ui-selectmenu-menu { 605 | padding: 0; 606 | margin: 0; 607 | position: absolute; 608 | top: 0; 609 | left: 0; 610 | display: none; 611 | } 612 | .ui-selectmenu-menu .ui-menu { 613 | overflow: auto; 614 | /* Support: IE7 */ 615 | overflow-x: hidden; 616 | padding-bottom: 1px; 617 | } 618 | .ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup { 619 | font-size: 1em; 620 | font-weight: bold; 621 | line-height: 1.5; 622 | padding: 2px 0.4em; 623 | margin: 0.5em 0 0 0; 624 | height: auto; 625 | border: 0; 626 | } 627 | .ui-selectmenu-open { 628 | display: block; 629 | } 630 | .ui-selectmenu-button { 631 | display: inline-block; 632 | overflow: hidden; 633 | position: relative; 634 | text-decoration: none; 635 | cursor: pointer; 636 | } 637 | .ui-selectmenu-button span.ui-icon { 638 | right: 0.5em; 639 | left: auto; 640 | margin-top: -8px; 641 | position: absolute; 642 | top: 50%; 643 | } 644 | .ui-selectmenu-button span.ui-selectmenu-text { 645 | text-align: left; 646 | padding: 0.4em 2.1em 0.4em 1em; 647 | display: block; 648 | line-height: 1.4; 649 | overflow: hidden; 650 | text-overflow: ellipsis; 651 | white-space: nowrap; 652 | } 653 | .ui-slider { 654 | position: relative; 655 | text-align: left; 656 | } 657 | .ui-slider .ui-slider-handle { 658 | position: absolute; 659 | z-index: 2; 660 | width: 1.2em; 661 | height: 1.2em; 662 | cursor: default; 663 | -ms-touch-action: none; 664 | touch-action: none; 665 | } 666 | .ui-slider .ui-slider-range { 667 | position: absolute; 668 | z-index: 1; 669 | font-size: .7em; 670 | display: block; 671 | border: 0; 672 | background-position: 0 0; 673 | } 674 | 675 | /* support: IE8 - See #6727 */ 676 | .ui-slider.ui-state-disabled .ui-slider-handle, 677 | .ui-slider.ui-state-disabled .ui-slider-range { 678 | filter: inherit; 679 | } 680 | 681 | .ui-slider-horizontal { 682 | height: .8em; 683 | } 684 | .ui-slider-horizontal .ui-slider-handle { 685 | top: -.3em; 686 | margin-left: -.6em; 687 | } 688 | .ui-slider-horizontal .ui-slider-range { 689 | top: 0; 690 | height: 100%; 691 | } 692 | .ui-slider-horizontal .ui-slider-range-min { 693 | left: 0; 694 | } 695 | .ui-slider-horizontal .ui-slider-range-max { 696 | right: 0; 697 | } 698 | 699 | .ui-slider-vertical { 700 | width: .8em; 701 | height: 100px; 702 | } 703 | .ui-slider-vertical .ui-slider-handle { 704 | left: -.3em; 705 | margin-left: 0; 706 | margin-bottom: -.6em; 707 | } 708 | .ui-slider-vertical .ui-slider-range { 709 | left: 0; 710 | width: 100%; 711 | } 712 | .ui-slider-vertical .ui-slider-range-min { 713 | bottom: 0; 714 | } 715 | .ui-slider-vertical .ui-slider-range-max { 716 | top: 0; 717 | } 718 | .ui-sortable-handle { 719 | -ms-touch-action: none; 720 | touch-action: none; 721 | } 722 | .ui-spinner { 723 | position: relative; 724 | display: inline-block; 725 | overflow: hidden; 726 | padding: 0; 727 | vertical-align: middle; 728 | } 729 | .ui-spinner-input { 730 | border: none; 731 | background: none; 732 | color: inherit; 733 | padding: 0; 734 | margin: .2em 0; 735 | vertical-align: middle; 736 | margin-left: .4em; 737 | margin-right: 22px; 738 | } 739 | .ui-spinner-button { 740 | width: 16px; 741 | height: 50%; 742 | font-size: .5em; 743 | padding: 0; 744 | margin: 0; 745 | text-align: center; 746 | position: absolute; 747 | cursor: default; 748 | display: block; 749 | overflow: hidden; 750 | right: 0; 751 | } 752 | /* more specificity required here to override default borders */ 753 | .ui-spinner a.ui-spinner-button { 754 | border-top: none; 755 | border-bottom: none; 756 | border-right: none; 757 | } 758 | /* vertically center icon */ 759 | .ui-spinner .ui-icon { 760 | position: absolute; 761 | margin-top: -8px; 762 | top: 50%; 763 | left: 0; 764 | } 765 | .ui-spinner-up { 766 | top: 0; 767 | } 768 | .ui-spinner-down { 769 | bottom: 0; 770 | } 771 | 772 | /* TR overrides */ 773 | .ui-spinner .ui-icon-triangle-1-s { 774 | /* need to fix icons sprite */ 775 | background-position: -65px -16px; 776 | } 777 | .ui-tabs { 778 | position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ 779 | padding: .2em; 780 | } 781 | .ui-tabs .ui-tabs-nav { 782 | margin: 0; 783 | padding: .2em .2em 0; 784 | } 785 | .ui-tabs .ui-tabs-nav li { 786 | list-style: none; 787 | float: left; 788 | position: relative; 789 | top: 0; 790 | margin: 1px .2em 0 0; 791 | border-bottom-width: 0; 792 | padding: 0; 793 | white-space: nowrap; 794 | } 795 | .ui-tabs .ui-tabs-nav .ui-tabs-anchor { 796 | float: left; 797 | padding: .5em 1em; 798 | text-decoration: none; 799 | } 800 | .ui-tabs .ui-tabs-nav li.ui-tabs-active { 801 | margin-bottom: -1px; 802 | padding-bottom: 1px; 803 | } 804 | .ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor, 805 | .ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor, 806 | .ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor { 807 | cursor: text; 808 | } 809 | .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor { 810 | cursor: pointer; 811 | } 812 | .ui-tabs .ui-tabs-panel { 813 | display: block; 814 | border-width: 0; 815 | padding: 1em 1.4em; 816 | background: none; 817 | } 818 | .ui-tooltip { 819 | padding: 8px; 820 | position: absolute; 821 | z-index: 9999; 822 | max-width: 300px; 823 | -webkit-box-shadow: 0 0 5px #aaa; 824 | box-shadow: 0 0 5px #aaa; 825 | } 826 | body .ui-tooltip { 827 | border-width: 2px; 828 | } 829 | 830 | /* Component containers 831 | ----------------------------------*/ 832 | .ui-widget { 833 | font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif; 834 | font-size: 1.1em; 835 | } 836 | .ui-widget .ui-widget { 837 | font-size: 1em; 838 | } 839 | .ui-widget input, 840 | .ui-widget select, 841 | .ui-widget textarea, 842 | .ui-widget button { 843 | font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif; 844 | font-size: 1em; 845 | } 846 | .ui-widget-content { 847 | border: 1px solid #dddddd; 848 | background: #eeeeee url("images/ui-bg_highlight-soft_100_eeeeee_1x100.png") 50% top repeat-x; 849 | color: #333333; 850 | } 851 | .ui-widget-content a { 852 | color: #333333; 853 | } 854 | .ui-widget-header { 855 | border: 1px solid #e78f08; 856 | background: #f6a828 url("images/ui-bg_gloss-wave_35_f6a828_500x100.png") 50% 50% repeat-x; 857 | color: #ffffff; 858 | font-weight: bold; 859 | } 860 | .ui-widget-header a { 861 | color: #ffffff; 862 | } 863 | 864 | /* Interaction states 865 | ----------------------------------*/ 866 | .ui-state-default, 867 | .ui-widget-content .ui-state-default, 868 | .ui-widget-header .ui-state-default { 869 | border: 1px solid #cccccc; 870 | background: #f6f6f6 url("images/ui-bg_glass_100_f6f6f6_1x400.png") 50% 50% repeat-x; 871 | font-weight: bold; 872 | color: #1c94c4; 873 | } 874 | .ui-state-default a, 875 | .ui-state-default a:link, 876 | .ui-state-default a:visited { 877 | color: #1c94c4; 878 | text-decoration: none; 879 | } 880 | .ui-state-hover, 881 | .ui-widget-content .ui-state-hover, 882 | .ui-widget-header .ui-state-hover, 883 | .ui-state-focus, 884 | .ui-widget-content .ui-state-focus, 885 | .ui-widget-header .ui-state-focus { 886 | border: 1px solid #fbcb09; 887 | background: #fdf5ce url("images/ui-bg_glass_100_fdf5ce_1x400.png") 50% 50% repeat-x; 888 | font-weight: bold; 889 | color: #c77405; 890 | } 891 | .ui-state-hover a, 892 | .ui-state-hover a:hover, 893 | .ui-state-hover a:link, 894 | .ui-state-hover a:visited, 895 | .ui-state-focus a, 896 | .ui-state-focus a:hover, 897 | .ui-state-focus a:link, 898 | .ui-state-focus a:visited { 899 | color: #c77405; 900 | text-decoration: none; 901 | } 902 | .ui-state-active, 903 | .ui-widget-content .ui-state-active, 904 | .ui-widget-header .ui-state-active { 905 | border: 1px solid #fbd850; 906 | background: #ffffff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x; 907 | font-weight: bold; 908 | color: #eb8f00; 909 | } 910 | .ui-state-active a, 911 | .ui-state-active a:link, 912 | .ui-state-active a:visited { 913 | color: #eb8f00; 914 | text-decoration: none; 915 | } 916 | 917 | /* Interaction Cues 918 | ----------------------------------*/ 919 | .ui-state-highlight, 920 | .ui-widget-content .ui-state-highlight, 921 | .ui-widget-header .ui-state-highlight { 922 | border: 1px solid #fed22f; 923 | background: #ffe45c url("images/ui-bg_highlight-soft_75_ffe45c_1x100.png") 50% top repeat-x; 924 | color: #363636; 925 | } 926 | .ui-state-highlight a, 927 | .ui-widget-content .ui-state-highlight a, 928 | .ui-widget-header .ui-state-highlight a { 929 | color: #363636; 930 | } 931 | .ui-state-error, 932 | .ui-widget-content .ui-state-error, 933 | .ui-widget-header .ui-state-error { 934 | border: 1px solid #cd0a0a; 935 | background: #b81900 url("images/ui-bg_diagonals-thick_18_b81900_40x40.png") 50% 50% repeat; 936 | color: #ffffff; 937 | } 938 | .ui-state-error a, 939 | .ui-widget-content .ui-state-error a, 940 | .ui-widget-header .ui-state-error a { 941 | color: #ffffff; 942 | } 943 | .ui-state-error-text, 944 | .ui-widget-content .ui-state-error-text, 945 | .ui-widget-header .ui-state-error-text { 946 | color: #ffffff; 947 | } 948 | .ui-priority-primary, 949 | .ui-widget-content .ui-priority-primary, 950 | .ui-widget-header .ui-priority-primary { 951 | font-weight: bold; 952 | } 953 | .ui-priority-secondary, 954 | .ui-widget-content .ui-priority-secondary, 955 | .ui-widget-header .ui-priority-secondary { 956 | opacity: .7; 957 | filter:Alpha(Opacity=70); /* support: IE8 */ 958 | font-weight: normal; 959 | } 960 | .ui-state-disabled, 961 | .ui-widget-content .ui-state-disabled, 962 | .ui-widget-header .ui-state-disabled { 963 | opacity: .35; 964 | filter:Alpha(Opacity=35); /* support: IE8 */ 965 | background-image: none; 966 | } 967 | .ui-state-disabled .ui-icon { 968 | filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */ 969 | } 970 | 971 | /* Icons 972 | ----------------------------------*/ 973 | 974 | /* states and images */ 975 | .ui-icon { 976 | width: 16px; 977 | height: 16px; 978 | } 979 | .ui-icon, 980 | .ui-widget-content .ui-icon { 981 | background-image: url("images/ui-icons_222222_256x240.png"); 982 | } 983 | .ui-widget-header .ui-icon { 984 | background-image: url("images/ui-icons_ffffff_256x240.png"); 985 | } 986 | .ui-state-default .ui-icon { 987 | background-image: url("images/ui-icons_ef8c08_256x240.png"); 988 | } 989 | .ui-state-hover .ui-icon, 990 | .ui-state-focus .ui-icon { 991 | background-image: url("images/ui-icons_ef8c08_256x240.png"); 992 | } 993 | .ui-state-active .ui-icon { 994 | background-image: url("images/ui-icons_ef8c08_256x240.png"); 995 | } 996 | .ui-state-highlight .ui-icon { 997 | background-image: url("images/ui-icons_228ef1_256x240.png"); 998 | } 999 | .ui-state-error .ui-icon, 1000 | .ui-state-error-text .ui-icon { 1001 | background-image: url("images/ui-icons_ffd27a_256x240.png"); 1002 | } 1003 | 1004 | /* positioning */ 1005 | .ui-icon-blank { background-position: 16px 16px; } 1006 | .ui-icon-carat-1-n { background-position: 0 0; } 1007 | .ui-icon-carat-1-ne { background-position: -16px 0; } 1008 | .ui-icon-carat-1-e { background-position: -32px 0; } 1009 | .ui-icon-carat-1-se { background-position: -48px 0; } 1010 | .ui-icon-carat-1-s { background-position: -64px 0; } 1011 | .ui-icon-carat-1-sw { background-position: -80px 0; } 1012 | .ui-icon-carat-1-w { background-position: -96px 0; } 1013 | .ui-icon-carat-1-nw { background-position: -112px 0; } 1014 | .ui-icon-carat-2-n-s { background-position: -128px 0; } 1015 | .ui-icon-carat-2-e-w { background-position: -144px 0; } 1016 | .ui-icon-triangle-1-n { background-position: 0 -16px; } 1017 | .ui-icon-triangle-1-ne { background-position: -16px -16px; } 1018 | .ui-icon-triangle-1-e { background-position: -32px -16px; } 1019 | .ui-icon-triangle-1-se { background-position: -48px -16px; } 1020 | .ui-icon-triangle-1-s { background-position: -64px -16px; } 1021 | .ui-icon-triangle-1-sw { background-position: -80px -16px; } 1022 | .ui-icon-triangle-1-w { background-position: -96px -16px; } 1023 | .ui-icon-triangle-1-nw { background-position: -112px -16px; } 1024 | .ui-icon-triangle-2-n-s { background-position: -128px -16px; } 1025 | .ui-icon-triangle-2-e-w { background-position: -144px -16px; } 1026 | .ui-icon-arrow-1-n { background-position: 0 -32px; } 1027 | .ui-icon-arrow-1-ne { background-position: -16px -32px; } 1028 | .ui-icon-arrow-1-e { background-position: -32px -32px; } 1029 | .ui-icon-arrow-1-se { background-position: -48px -32px; } 1030 | .ui-icon-arrow-1-s { background-position: -64px -32px; } 1031 | .ui-icon-arrow-1-sw { background-position: -80px -32px; } 1032 | .ui-icon-arrow-1-w { background-position: -96px -32px; } 1033 | .ui-icon-arrow-1-nw { background-position: -112px -32px; } 1034 | .ui-icon-arrow-2-n-s { background-position: -128px -32px; } 1035 | .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } 1036 | .ui-icon-arrow-2-e-w { background-position: -160px -32px; } 1037 | .ui-icon-arrow-2-se-nw { background-position: -176px -32px; } 1038 | .ui-icon-arrowstop-1-n { background-position: -192px -32px; } 1039 | .ui-icon-arrowstop-1-e { background-position: -208px -32px; } 1040 | .ui-icon-arrowstop-1-s { background-position: -224px -32px; } 1041 | .ui-icon-arrowstop-1-w { background-position: -240px -32px; } 1042 | .ui-icon-arrowthick-1-n { background-position: 0 -48px; } 1043 | .ui-icon-arrowthick-1-ne { background-position: -16px -48px; } 1044 | .ui-icon-arrowthick-1-e { background-position: -32px -48px; } 1045 | .ui-icon-arrowthick-1-se { background-position: -48px -48px; } 1046 | .ui-icon-arrowthick-1-s { background-position: -64px -48px; } 1047 | .ui-icon-arrowthick-1-sw { background-position: -80px -48px; } 1048 | .ui-icon-arrowthick-1-w { background-position: -96px -48px; } 1049 | .ui-icon-arrowthick-1-nw { background-position: -112px -48px; } 1050 | .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } 1051 | .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } 1052 | .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } 1053 | .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } 1054 | .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } 1055 | .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } 1056 | .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } 1057 | .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } 1058 | .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } 1059 | .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } 1060 | .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } 1061 | .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } 1062 | .ui-icon-arrowreturn-1-w { background-position: -64px -64px; } 1063 | .ui-icon-arrowreturn-1-n { background-position: -80px -64px; } 1064 | .ui-icon-arrowreturn-1-e { background-position: -96px -64px; } 1065 | .ui-icon-arrowreturn-1-s { background-position: -112px -64px; } 1066 | .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } 1067 | .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } 1068 | .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } 1069 | .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } 1070 | .ui-icon-arrow-4 { background-position: 0 -80px; } 1071 | .ui-icon-arrow-4-diag { background-position: -16px -80px; } 1072 | .ui-icon-extlink { background-position: -32px -80px; } 1073 | .ui-icon-newwin { background-position: -48px -80px; } 1074 | .ui-icon-refresh { background-position: -64px -80px; } 1075 | .ui-icon-shuffle { background-position: -80px -80px; } 1076 | .ui-icon-transfer-e-w { background-position: -96px -80px; } 1077 | .ui-icon-transferthick-e-w { background-position: -112px -80px; } 1078 | .ui-icon-folder-collapsed { background-position: 0 -96px; } 1079 | .ui-icon-folder-open { background-position: -16px -96px; } 1080 | .ui-icon-document { background-position: -32px -96px; } 1081 | .ui-icon-document-b { background-position: -48px -96px; } 1082 | .ui-icon-note { background-position: -64px -96px; } 1083 | .ui-icon-mail-closed { background-position: -80px -96px; } 1084 | .ui-icon-mail-open { background-position: -96px -96px; } 1085 | .ui-icon-suitcase { background-position: -112px -96px; } 1086 | .ui-icon-comment { background-position: -128px -96px; } 1087 | .ui-icon-person { background-position: -144px -96px; } 1088 | .ui-icon-print { background-position: -160px -96px; } 1089 | .ui-icon-trash { background-position: -176px -96px; } 1090 | .ui-icon-locked { background-position: -192px -96px; } 1091 | .ui-icon-unlocked { background-position: -208px -96px; } 1092 | .ui-icon-bookmark { background-position: -224px -96px; } 1093 | .ui-icon-tag { background-position: -240px -96px; } 1094 | .ui-icon-home { background-position: 0 -112px; } 1095 | .ui-icon-flag { background-position: -16px -112px; } 1096 | .ui-icon-calendar { background-position: -32px -112px; } 1097 | .ui-icon-cart { background-position: -48px -112px; } 1098 | .ui-icon-pencil { background-position: -64px -112px; } 1099 | .ui-icon-clock { background-position: -80px -112px; } 1100 | .ui-icon-disk { background-position: -96px -112px; } 1101 | .ui-icon-calculator { background-position: -112px -112px; } 1102 | .ui-icon-zoomin { background-position: -128px -112px; } 1103 | .ui-icon-zoomout { background-position: -144px -112px; } 1104 | .ui-icon-search { background-position: -160px -112px; } 1105 | .ui-icon-wrench { background-position: -176px -112px; } 1106 | .ui-icon-gear { background-position: -192px -112px; } 1107 | .ui-icon-heart { background-position: -208px -112px; } 1108 | .ui-icon-star { background-position: -224px -112px; } 1109 | .ui-icon-link { background-position: -240px -112px; } 1110 | .ui-icon-cancel { background-position: 0 -128px; } 1111 | .ui-icon-plus { background-position: -16px -128px; } 1112 | .ui-icon-plusthick { background-position: -32px -128px; } 1113 | .ui-icon-minus { background-position: -48px -128px; } 1114 | .ui-icon-minusthick { background-position: -64px -128px; } 1115 | .ui-icon-close { background-position: -80px -128px; } 1116 | .ui-icon-closethick { background-position: -96px -128px; } 1117 | .ui-icon-key { background-position: -112px -128px; } 1118 | .ui-icon-lightbulb { background-position: -128px -128px; } 1119 | .ui-icon-scissors { background-position: -144px -128px; } 1120 | .ui-icon-clipboard { background-position: -160px -128px; } 1121 | .ui-icon-copy { background-position: -176px -128px; } 1122 | .ui-icon-contact { background-position: -192px -128px; } 1123 | .ui-icon-image { background-position: -208px -128px; } 1124 | .ui-icon-video { background-position: -224px -128px; } 1125 | .ui-icon-script { background-position: -240px -128px; } 1126 | .ui-icon-alert { background-position: 0 -144px; } 1127 | .ui-icon-info { background-position: -16px -144px; } 1128 | .ui-icon-notice { background-position: -32px -144px; } 1129 | .ui-icon-help { background-position: -48px -144px; } 1130 | .ui-icon-check { background-position: -64px -144px; } 1131 | .ui-icon-bullet { background-position: -80px -144px; } 1132 | .ui-icon-radio-on { background-position: -96px -144px; } 1133 | .ui-icon-radio-off { background-position: -112px -144px; } 1134 | .ui-icon-pin-w { background-position: -128px -144px; } 1135 | .ui-icon-pin-s { background-position: -144px -144px; } 1136 | .ui-icon-play { background-position: 0 -160px; } 1137 | .ui-icon-pause { background-position: -16px -160px; } 1138 | .ui-icon-seek-next { background-position: -32px -160px; } 1139 | .ui-icon-seek-prev { background-position: -48px -160px; } 1140 | .ui-icon-seek-end { background-position: -64px -160px; } 1141 | .ui-icon-seek-start { background-position: -80px -160px; } 1142 | /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ 1143 | .ui-icon-seek-first { background-position: -80px -160px; } 1144 | .ui-icon-stop { background-position: -96px -160px; } 1145 | .ui-icon-eject { background-position: -112px -160px; } 1146 | .ui-icon-volume-off { background-position: -128px -160px; } 1147 | .ui-icon-volume-on { background-position: -144px -160px; } 1148 | .ui-icon-power { background-position: 0 -176px; } 1149 | .ui-icon-signal-diag { background-position: -16px -176px; } 1150 | .ui-icon-signal { background-position: -32px -176px; } 1151 | .ui-icon-battery-0 { background-position: -48px -176px; } 1152 | .ui-icon-battery-1 { background-position: -64px -176px; } 1153 | .ui-icon-battery-2 { background-position: -80px -176px; } 1154 | .ui-icon-battery-3 { background-position: -96px -176px; } 1155 | .ui-icon-circle-plus { background-position: 0 -192px; } 1156 | .ui-icon-circle-minus { background-position: -16px -192px; } 1157 | .ui-icon-circle-close { background-position: -32px -192px; } 1158 | .ui-icon-circle-triangle-e { background-position: -48px -192px; } 1159 | .ui-icon-circle-triangle-s { background-position: -64px -192px; } 1160 | .ui-icon-circle-triangle-w { background-position: -80px -192px; } 1161 | .ui-icon-circle-triangle-n { background-position: -96px -192px; } 1162 | .ui-icon-circle-arrow-e { background-position: -112px -192px; } 1163 | .ui-icon-circle-arrow-s { background-position: -128px -192px; } 1164 | .ui-icon-circle-arrow-w { background-position: -144px -192px; } 1165 | .ui-icon-circle-arrow-n { background-position: -160px -192px; } 1166 | .ui-icon-circle-zoomin { background-position: -176px -192px; } 1167 | .ui-icon-circle-zoomout { background-position: -192px -192px; } 1168 | .ui-icon-circle-check { background-position: -208px -192px; } 1169 | .ui-icon-circlesmall-plus { background-position: 0 -208px; } 1170 | .ui-icon-circlesmall-minus { background-position: -16px -208px; } 1171 | .ui-icon-circlesmall-close { background-position: -32px -208px; } 1172 | .ui-icon-squaresmall-plus { background-position: -48px -208px; } 1173 | .ui-icon-squaresmall-minus { background-position: -64px -208px; } 1174 | .ui-icon-squaresmall-close { background-position: -80px -208px; } 1175 | .ui-icon-grip-dotted-vertical { background-position: 0 -224px; } 1176 | .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } 1177 | .ui-icon-grip-solid-vertical { background-position: -32px -224px; } 1178 | .ui-icon-grip-solid-horizontal { background-position: -48px -224px; } 1179 | .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } 1180 | .ui-icon-grip-diagonal-se { background-position: -80px -224px; } 1181 | 1182 | 1183 | /* Misc visuals 1184 | ----------------------------------*/ 1185 | 1186 | /* Corner radius */ 1187 | .ui-corner-all, 1188 | .ui-corner-top, 1189 | .ui-corner-left, 1190 | .ui-corner-tl { 1191 | border-top-left-radius: 4px; 1192 | } 1193 | .ui-corner-all, 1194 | .ui-corner-top, 1195 | .ui-corner-right, 1196 | .ui-corner-tr { 1197 | border-top-right-radius: 4px; 1198 | } 1199 | .ui-corner-all, 1200 | .ui-corner-bottom, 1201 | .ui-corner-left, 1202 | .ui-corner-bl { 1203 | border-bottom-left-radius: 4px; 1204 | } 1205 | .ui-corner-all, 1206 | .ui-corner-bottom, 1207 | .ui-corner-right, 1208 | .ui-corner-br { 1209 | border-bottom-right-radius: 4px; 1210 | } 1211 | 1212 | /* Overlays */ 1213 | .ui-widget-overlay { 1214 | background: #666666 url("images/ui-bg_diagonals-thick_20_666666_40x40.png") 50% 50% repeat; 1215 | opacity: .5; 1216 | filter: Alpha(Opacity=50); /* support: IE8 */ 1217 | } 1218 | .ui-widget-shadow { 1219 | margin: -5px 0 0 -5px; 1220 | padding: 5px; 1221 | background: #000000 url("images/ui-bg_flat_10_000000_40x100.png") 50% 50% repeat-x; 1222 | opacity: .2; 1223 | filter: Alpha(Opacity=20); /* support: IE8 */ 1224 | border-radius: 5px; 1225 | } 1226 | -------------------------------------------------------------------------------- /chat/static/js/jquery172.js: -------------------------------------------------------------------------------- 1 | /*! jQuery v1.7.2 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 cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorder=ck.width=ck.height=0),b.appendChild(ck);if(!cl||!ck.createElement)cl=(ck.contentWindow||ck.contentDocument).document,cl.write((f.support.boxModel?"":"")+""),cl.close();d=cl.createElement(a),cl.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ck)}cj[a]=e}return cj[a]}function ct(a,b){var c={};f.each(cp.concat.apply([],cp.slice(0,b)),function(){c[this]=a});return c}function cs(){cq=b}function cr(){setTimeout(cs,0);return cq=f.now()}function ci(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ch(){try{return new a.XMLHttpRequest}catch(b){}}function cb(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;g0){if(c!=="border")for(;e=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)?+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)[^>]*$|#([\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.2",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(;j0)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!=null&&a==a.window},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){if(typeof c!="string"||!c)return null;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(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?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
a",d=p.getElementsByTagName("*"),e=p.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=p.getElementsByTagName("input")[0],b={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.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:p.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},f.boxModel=b.boxModel=c.compatMode==="CSS1Compat",i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete p.test}catch(r){b.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",function(){b.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),i.setAttribute("name","t"),p.appendChild(i),j=c.createDocumentFragment(),j.appendChild(p.lastChild),b.checkClone=j.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,j.removeChild(i),j.appendChild(p);if(p.attachEvent)for(n in{submit:1,change:1,focusin:1})m="on"+n,o=m in p,o||(p.setAttribute(m,"return;"),o=typeof p[m]=="function"),b[n+"Bubbles"]=o;j.removeChild(p),j=g=h=p=i=null,f(function(){var d,e,g,h,i,j,l,m,n,q,r,s,t,u=c.getElementsByTagName("body")[0];!u||(m=1,t="padding:0;margin:0;border:",r="position:absolute;top:0;left:0;width:1px;height:1px;",s=t+"0;visibility:hidden;",n="style='"+r+t+"5px solid #000;",q="
"+""+"
",d=c.createElement("div"),d.style.cssText=s+"width:0;height:0;position:static;top:0;margin-top:"+m+"px",u.insertBefore(d,u.firstChild),p=c.createElement("div"),d.appendChild(p),p.innerHTML="
t
",k=p.getElementsByTagName("td"),o=k[0].offsetHeight===0,k[0].style.display="",k[1].style.display="none",b.reliableHiddenOffsets=o&&k[0].offsetHeight===0,a.getComputedStyle&&(p.innerHTML="",l=c.createElement("div"),l.style.width="0",l.style.marginRight="0",p.style.width="2px",p.appendChild(l),b.reliableMarginRight=(parseInt((a.getComputedStyle(l,null)||{marginRight:0}).marginRight,10)||0)===0),typeof p.style.zoom!="undefined"&&(p.innerHTML="",p.style.width=p.style.padding="1px",p.style.border=0,p.style.overflow="hidden",p.style.display="inline",p.style.zoom=1,b.inlineBlockNeedsLayout=p.offsetWidth===3,p.style.display="block",p.style.overflow="visible",p.innerHTML="
",b.shrinkWrapBlocks=p.offsetWidth!==3),p.style.cssText=r+s,p.innerHTML=q,e=p.firstChild,g=e.firstChild,i=e.nextSibling.firstChild.firstChild,j={doesNotAddBorder:g.offsetTop!==5,doesAddBorderForTableAndCells:i.offsetTop===5},g.style.position="fixed",g.style.top="20px",j.fixedPosition=g.offsetTop===20||g.offsetTop===15,g.style.position=g.style.top="",e.style.overflow="hidden",e.style.position="relative",j.subtractsBorderForOverflowNotVisible=g.offsetTop===-5,j.doesNotIncludeMarginInBodyOffset=u.offsetTop!==m,a.getComputedStyle&&(p.style.marginTop="1%",b.pixelMargin=(a.getComputedStyle(p,null)||{marginTop:0}).marginTop!=="1%"),typeof d.style.zoom!="undefined"&&(d.style.zoom=1),u.removeChild(d),l=p=d=null,f.extend(b,j))});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;e1,null,!1)},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){var d=2;typeof a!="string"&&(c=a,a="fx",d--);if(arguments.length1)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,f.prop,a,b,arguments.length>1)},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-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.type]||f.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.type]||f.valHooks[g.nodeName.toLowerCase()];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=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,i=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;i=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/(?:^|\s)hover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function( 3 | 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")};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,g=p.selector),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=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;le&&j.push({elem:this,matches:d.slice(e)});for(k=0;k0?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;h0){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+~,(\[\\]+)+|[>+~])(\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;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=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 bc[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=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));o.match.globalPOS=p;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.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.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="

";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="
";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;h0)for(h=g;h=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-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|bdi|canvas|data|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:]+)/,$=/]","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_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
","
"]),f.fn.extend({text:function(a){return f.access(this,function(a){return a===b?f.text(this):this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a))},null,a,arguments.length)},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 4 | .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(){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){return f.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.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>");try{for(;d1&&l0?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||f.isXMLDoc(a)||!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,h,i,j=[];b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);for(var k=0,l;(l=a[k])!=null;k++){typeof l=="number"&&(l+="");if(!l)continue;if(typeof l=="string")if(!_.test(l))l=b.createTextNode(l);else{l=l.replace(Y,"<$1>");var m=(Z.exec(l)||["",""])[1].toLowerCase(),n=bg[m]||bg._default,o=n[0],p=b.createElement("div"),q=bh.childNodes,r;b===c?bh.appendChild(p):U(b).appendChild(p),p.innerHTML=n[1]+l+n[2];while(o--)p=p.lastChild;if(!f.support.tbody){var s=$.test(l),t=m==="table"&&!s?p.firstChild&&p.firstChild.childNodes:n[1]===""&&!s?p.childNodes:[];for(i=t.length-1;i>=0;--i)f.nodeName(t[i],"tbody")&&!t[i].childNodes.length&&t[i].parentNode.removeChild(t[i])}!f.support.leadingWhitespace&&X.test(l)&&p.insertBefore(b.createTextNode(X.exec(l)[0]),p.firstChild),l=p.childNodes,p&&(p.parentNode.removeChild(p),q.length>0&&(r=q[q.length-1],r&&r.parentNode&&r.parentNode.removeChild(r)))}var u;if(!f.support.appendChecked)if(l[0]&&typeof (u=l.length)=="number")for(i=0;i1)},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=by(a,"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=bu.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(by)return by(a,c)},swap:function(a,b,c){var d={},e,f;for(f in b)d[f]=a.style[f],a.style[f]=b[f];e=c.call(a);for(f in b)a.style[f]=d[f];return e}}),f.curCSS=f.css,c.defaultView&&c.defaultView.getComputedStyle&&(bz=function(a,b){var c,d,e,g,h=a.style;b=b.replace(br,"-$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))),!f.support.pixelMargin&&e&&bv.test(b)&&bt.test(c)&&(g=h.width,h.width=c,c=e.width,h.width=g);return c}),c.documentElement.currentStyle&&(bA=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)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),by=bz||bA,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth!==0?bB(a,b,d):f.swap(a,bw,function(){return bB(a,b,d)})},set:function(a,b){return bs.test(b)?b+"px":b}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bq.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(bp,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bp.test(g)?g.replace(bp,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){return f.swap(a,{display:"inline-block"},function(){return b?by(a,"margin-right"):a.style.marginRight})}})}),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)}),f.each({margin:"",padding:"",border:"Width"},function(a,b){f.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bx[d]+b]=e[d]||e[d-2]||e[0];return f}}});var bC=/%20/g,bD=/\[\]$/,bE=/\r?\n/g,bF=/#.*$/,bG=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bH=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bI=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bJ=/^(?:GET|HEAD)$/,bK=/^\/\//,bL=/\?/,bM=/)<[^<]*)*<\/script>/gi,bN=/^(?:select|textarea)/i,bO=/\s+/,bP=/([?&])_=[^&]*/,bQ=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bR=f.fn.load,bS={},bT={},bU,bV,bW=["*/"]+["*"];try{bU=e.href}catch(bX){bU=c.createElement("a"),bU.href="",bU=bU.href}bV=bQ.exec(bU.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bR)return bR.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("
").append(c.replace(bM,"")).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||bN.test(this.nodeName)||bH.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(bE,"\r\n")}}):{name:b.name,value:c.replace(bE,"\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:bU,isLocal:bI.test(bV[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bW},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:bY(bS),ajaxTransport:bY(bT),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?ca(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=cb(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=bG.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(bF,"").replace(bK,bV[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bO),d.crossDomain==null&&(r=bQ.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bV[1]&&r[2]==bV[2]&&(r[3]||(r[1]==="http:"?80:443))==(bV[3]||(bV[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bZ(bS,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bJ.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bL.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bP,"$1_="+x);d.url=y+(y===d.url?(bL.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]!=="*"?", "+bW+"; 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=bZ(bT,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)b_(g,a[g],c,e);return d.join("&").replace(bC,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cc=f.now(),cd=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cc++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=typeof b.data=="string"&&/^application\/x\-www\-form\-urlencoded/.test(b.contentType);if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(cd.test(b.url)||e&&cd.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(cd,l),b.url===j&&(e&&(k=k.replace(cd,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 ce=a.ActiveXObject?function(){for(var a in cg)cg[a](0,1)}:!1,cf=0,cg;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ch()||ci()}:ch,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,ce&&delete cg[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);try{m.text=h.responseText}catch(a){}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=++cf,ce&&(cg||(cg={},f(a).unload(ce)),cg[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cj={},ck,cl,cm=/^(?:toggle|show|hide)$/,cn=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,co,cp=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cq;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(ct("show",3),a,b,c);for(var g=0,h=this.length;g=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-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({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);f.fn[a]=function(e){return f.access(this,function(a,e,g){var h=cy(a);if(g===b)return h?c in h?h[c]:f.support.boxModel&&h.document.documentElement[e]||h.document.body[e]:a[e];h?h.scrollTo(d?f(h).scrollLeft():g,d?g:f(h).scrollTop()):a[e]=g},a,e,arguments.length,null)}}),f.each({Height:"height",Width:"width"},function(a,c){var d="client"+a,e="scroll"+a,g="offset"+a;f.fn["inner"+a]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,c,"padding")):this[c]():null},f.fn["outer"+a]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,c,a?"margin":"border")):this[c]():null},f.fn[c]=function(a){return f.access(this,function(a,c,h){var i,j,k,l;if(f.isWindow(a)){i=a.document,j=i.documentElement[d];return f.support.boxModel&&j||i.body&&i.body[d]||j}if(a.nodeType===9){i=a.documentElement;if(i[d]>=i[e])return i[d];return Math.max(a.body[e],i[e],a.body[g],i[g])}if(h===b){k=f.css(a,c),l=parseFloat(k);return f.isNumeric(l)?l:k}f(a).css(c,h)},c,a,arguments.length,null)}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); --------------------------------------------------------------------------------