compass-jquery-plugin 0.3.2.3 → 0.3.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +54 -37
- data/VERSION.yml +1 -1
- data/lib/handle_attributes.rb +4 -4
- data/lib/handle_js_files.rb +5 -5
- data/lib/jqtouch_theme.rb +2 -2
- data/lib/jquery/dynatree.rb +2 -2
- data/lib/jquery/emulators.rb +1 -1
- data/lib/jquery/flash_messages.rb +6 -6
- data/lib/jquery/graphics.rb +5 -0
- data/lib/jquery/gridify/assertions.rb +1 -1
- data/lib/jquery/gridify/grid.rb +76 -59
- data/lib/jquery/gridify/grid_column.rb +73 -67
- data/lib/jquery/gridify/grid_finder.rb +79 -79
- data/lib/jquery/gridify/grid_options.rb +154 -149
- data/lib/jquery/gridify/grid_view.rb +143 -143
- data/lib/jquery/gridify.rb +25 -25
- data/lib/jquery/ical/calendar.rb +2 -2
- data/lib/jquery/ical/event.rb +48 -44
- data/lib/jquery/ical/helpers/ui_event_helper.rb +3 -3
- data/lib/jquery/jqgrid/jqgrid.rb +58 -58
- data/lib/jquery/jqgrid.rb +1 -1
- data/lib/jquery/jqtouch.rb +1 -1
- data/lib/jquery/jquery.rb +117 -117
- data/lib/jquery/jquery_auto_complete.rb +9 -9
- data/lib/jquery/jquery_json_response.rb +12 -12
- data/lib/jquery/jquery_selector_assertions.rb +55 -53
- data/lib/jquery/jstree.rb +2 -2
- data/lib/jquery/mobile.rb +1 -1
- data/lib/jquery/ribbon.rb +2 -2
- data/lib/jquery/secret_sauce/controller/ui_dialog_controls.rb +5 -5
- data/lib/jquery/secret_sauce/controller/ui_grid_controls.rb +5 -5
- data/lib/jquery/secret_sauce/helpers/ui_dialog_helper.rb +1 -1
- data/lib/jquery/secret_sauce/helpers/ui_form_helper.rb +39 -39
- data/lib/jquery/secret_sauce/helpers/ui_grid_helper.rb +74 -74
- data/lib/jquery/secret_sauce/model/find_for_grid.rb +21 -21
- data/lib/jquery/secret_sauce.rb +1 -1
- data/lib/jquery/tools.rb +1 -1
- data/lib/jquery_mobile_theme.rb +2 -2
- data/lib/jquery_ui_theme.rb +12 -12
- data/templates/dynatree/config/initializers/dynatree.rb +3 -3
- data/templates/dynatree/jquery/dynatree/aero.scss +16 -16
- data/templates/dynatree/jquery/dynatree/aqua.scss +16 -16
- data/templates/dynatree/jquery/dynatree/crystal.scss +16 -16
- data/templates/dynatree/jquery/dynatree/xp.scss +17 -17
- data/templates/dynatree/jquery.dynatree.js +2926 -2912
- data/templates/emulators/config/initializers/emulators.rb +6 -6
- data/templates/graphics/config/initializers/graphics.rb +5 -0
- data/templates/graphics/jquery/ganttView.scss +89 -0
- data/templates/graphics/jquery.ganttView.js +1669 -0
- data/templates/graphics/jquery.ganttView.min.js +70 -0
- data/templates/{jquery → graphics}/jquery.sparkline.js +466 -438
- data/templates/{jquery → graphics}/jquery.sparkline.min.js +0 -0
- data/templates/graphics/manifest.rb +9 -0
- data/templates/jqgrid/config/initializers/jqgrid.rb +1 -1
- data/templates/jqgrid/i18n/jqgrid/locale-ar.js +131 -125
- data/templates/jqgrid/i18n/jqgrid/locale-bg.js +135 -131
- data/templates/jqgrid/i18n/jqgrid/locale-bg1251.js +135 -131
- data/templates/jqgrid/i18n/jqgrid/locale-cat.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-cn.js +137 -131
- data/templates/jqgrid/i18n/jqgrid/locale-cs.js +133 -127
- data/templates/jqgrid/i18n/jqgrid/locale-da.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-de.js +138 -132
- data/templates/jqgrid/i18n/jqgrid/locale-el.js +131 -125
- data/templates/jqgrid/i18n/jqgrid/locale-en.js +133 -127
- data/templates/jqgrid/i18n/jqgrid/locale-es.js +133 -127
- data/templates/jqgrid/i18n/jqgrid/locale-fa.js +19 -16
- data/templates/jqgrid/i18n/jqgrid/locale-fi.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-fr.js +131 -125
- data/templates/jqgrid/i18n/jqgrid/locale-gl.js +131 -125
- data/templates/jqgrid/i18n/jqgrid/locale-he.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-hu.js +133 -127
- data/templates/jqgrid/i18n/jqgrid/locale-is.js +131 -125
- data/templates/jqgrid/i18n/jqgrid/locale-it.js +8 -1
- data/templates/jqgrid/i18n/jqgrid/locale-ja.js +139 -136
- data/templates/jqgrid/i18n/jqgrid/locale-nl.js +4 -1
- data/templates/jqgrid/i18n/jqgrid/locale-no.js +14 -1
- data/templates/jqgrid/i18n/jqgrid/locale-pl.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-pt-br.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-pt.js +130 -124
- data/templates/jqgrid/i18n/jqgrid/locale-ro.js +144 -138
- data/templates/jqgrid/i18n/jqgrid/locale-ru.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-sk.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-sr.js +133 -127
- data/templates/jqgrid/i18n/jqgrid/locale-sv.js +132 -126
- data/templates/jqgrid/i18n/jqgrid/locale-tr.js +131 -125
- data/templates/jqgrid/i18n/jqgrid/locale-ua.js +132 -126
- data/templates/jqgrid/jquery.jqGrid.js +12735 -10444
- data/templates/jqgrid/jquery.jqGrid.min.js +477 -469
- data/templates/jqgrid/public/stylesheets/ellipsis-xbl.xml +12 -10
- data/templates/jqtouch/config/initializers/jqtouch.rb +3 -3
- data/templates/jqtouch/jquery/touch/jqtouch.scss +1 -1
- data/templates/jqtouch/jquery.jqtouch.js +10025 -10043
- data/templates/jquery/config/initializers/jquery.rb +2 -4
- data/templates/jquery/history.adapter.jquery.js +71 -0
- data/templates/jquery/history.adapter.jquery.min.js +4 -0
- data/templates/jquery/history.html4.js +690 -0
- data/templates/jquery/history.html4.min.js +21 -0
- data/templates/jquery/history.js +1297 -0
- data/templates/jquery/history.min.js +29 -0
- data/templates/jquery/i18n/jquery.ui/datepicker-af.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ar-DZ.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-ar.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-az.js +19 -19
- data/templates/jquery/i18n/jquery.ui/datepicker-bg.js +8 -8
- data/templates/jquery/i18n/jquery.ui/datepicker-bs.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ca.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-cs.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-da.js +14 -14
- data/templates/jquery/i18n/jquery.ui/datepicker-de.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-el.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-en-AU.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-en-GB.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-en-NZ.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-eo.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-es.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-et.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-eu.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-fa.js +18 -18
- data/templates/jquery/i18n/jquery.ui/datepicker-fi.js +15 -15
- data/templates/jquery/i18n/jquery.ui/datepicker-fo.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-fr-CH.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-fr.js +22 -22
- data/templates/jquery/i18n/jquery.ui/datepicker-gl.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-he.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-hr.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-hu.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-hu.min.js +1 -1
- data/templates/jquery/i18n/jquery.ui/datepicker-hy.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-id.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-is.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-it.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ja.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ko.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-kz.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-lt.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-lv.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ml.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ms.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-nl.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-no.js +16 -16
- data/templates/jquery/i18n/jquery.ui/datepicker-no.min.js +2 -2
- data/templates/jquery/i18n/jquery.ui/datepicker-pl.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-pt-BR.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-pt.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-rm.js +18 -18
- data/templates/jquery/i18n/jquery.ui/datepicker-ro.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-ru.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sk.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sl.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sq.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sr-SR.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sr.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-sv.js +14 -14
- data/templates/jquery/i18n/jquery.ui/datepicker-ta.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-th.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-tr.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-uk.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-vi.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-CN.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-HK.js +20 -20
- data/templates/jquery/i18n/jquery.ui/datepicker-zh-TW.js +20 -20
- data/templates/jquery/{partials → jquery/ui}/_flash_messages.scss +0 -0
- data/templates/jquery/jquery/ui/_theme.scss +14 -13
- data/templates/jquery/jquery/ui/contextMenu/configure.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/copy.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/cut.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/delete.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/edit.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/exit.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/new.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/paste.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/rename.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/show.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/trash.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu.scss +16 -10
- data/templates/jquery/jquery-ui.js +11839 -23066
- data/templates/jquery/jquery-ui.min.js +401 -795
- data/templates/jquery/jquery.bgiframe.js +27 -25
- data/templates/jquery/jquery.contextMenu.js +209 -196
- data/templates/jquery/jquery.cookie.js +3 -1
- data/templates/jquery/jquery.dotimeout.js +236 -228
- data/templates/jquery/jquery.dst.js +154 -151
- data/templates/jquery/jquery.farbtastic.js +293 -293
- data/templates/jquery/jquery.flashMessages.js +26 -0
- data/templates/jquery/jquery.flashMessages.min.js +1 -0
- data/templates/jquery/jquery.form.js +803 -786
- data/templates/jquery/jquery.haml.js +248 -247
- data/templates/jquery/jquery.hotkeys.js +89 -89
- data/templates/jquery/jquery.js +8141 -8106
- data/templates/jquery/jquery.layout.js +2451 -2415
- data/templates/jquery/jquery.min.js +167 -166
- data/templates/jquery/jquery.mousewheel.js +62 -54
- data/templates/jquery/jquery.offline.js +171 -171
- data/templates/jquery/jquery.pngFix.js +76 -76
- data/templates/jquery/jquery.replacetext.js +83 -83
- data/templates/jquery/jquery.themeswitchertool.js +202 -177
- data/templates/jquery/jquery.tmpl.js +478 -473
- data/templates/jquery/jquery.tmplPlus.js +82 -81
- data/templates/jquery/jrails.js +178 -175
- data/templates/jquery/json.js +77 -7
- data/templates/jquery/json2.js +480 -0
- data/templates/jquery/json2.min.js +7 -0
- data/templates/jquery/lib/tasks/haml.rake +2 -2
- data/templates/jquery/manifest.rb +21 -17
- data/templates/jstree/jquery.jstree.js +5967 -4536
- data/templates/mobile/config/initializers/mobile.rb +1 -1
- data/templates/mobile/jquery/mobile/_base.scss +944 -927
- data/templates/mobile/jquery/mobile/default.scss +61 -48
- data/templates/mobile/jquery/mobile/valencia.scss +56 -42
- data/templates/mobile/jquery.mobile.js +4461 -4347
- data/templates/mobile/jquery.mobile.min.js +11 -2
- data/templates/mobile/lib/tasks/jquery.mobile.rake +12 -12
- data/templates/ribbon/config/initializers/ribbon.rb +2 -2
- data/templates/ribbon/jquery.ribbon.js +50 -29
- data/templates/secret_sauce/secret_sauce.js +8 -8
- data/templates/tools/flowplayer.js +945 -1
- data/templates/tools/jquery.tools.js +4645 -4335
- data/templates/tools/jquery.tools.min.js +37 -37
- data/templates/tools/lib/tasks/jquery.tools.rake +4 -4
- data/templates/tools/swfobject.js +813 -773
- metadata +33 -21
- data/templates/jquery/haml.js +0 -506
- data/templates/jquery/haml.min.js +0 -5
- data/templates/jquery/jquery/ui/contextMenu/door.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/page_white_copy.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/page_white_delete.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/page_white_edit.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/page_white_new.png +0 -0
- data/templates/jquery/jquery/ui/contextMenu/page_white_paste.png +0 -0
- data/templates/jquery/jquery.compat-1.3.js +0 -291
- data/templates/jquery/jquery.compat-1.3.min.js +0 -6
- data/templates/jquery/jquery.flash_messages.js +0 -5
- data/templates/jquery/jquery.flash_messages.min.js +0 -1
- data/templates/jquery/jquery.history.js +0 -194
- data/templates/jquery/jquery.history.min.js +0 -5
@@ -1,166 +1,167 @@
|
|
1
|
-
(function(P,
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
if(
|
40
|
-
|
41
|
-
this;var
|
42
|
-
h[
|
43
|
-
e,
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
fix:function(
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
D;this.stopPropagation()},isDefaultPrevented:
|
56
|
-
|
57
|
-
|
58
|
-
"
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
c
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
")";return
|
100
|
-
|
101
|
-
"option")
|
102
|
-
|
103
|
-
a.fn.extend({text:function(l){if(a.isFunction(l))return this.each(function(
|
104
|
-
|
105
|
-
true,function(l){this.nodeType===1&&this.appendChild(l)})},prepend:function(){return this.domManip(arguments,true,function(l){this.nodeType===1&&this.insertBefore(l,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(
|
106
|
-
false,function(
|
107
|
-
return this},clone:function(l,
|
108
|
-
l}}catch(
|
109
|
-
l():l),"replaceWith",l)},detach:function(l){return this.remove(l,true)},domManip:function(l,
|
110
|
-
this,
|
111
|
-
l[0].length<512&&
|
112
|
-
|
113
|
-
|
114
|
-
b+
|
115
|
-
"text/javascript"))
|
116
|
-
|
117
|
-
|
118
|
-
opacity:true,zoom:true,lineHeight:true},cssProps:{"float":a.support.cssFloat?"cssFloat":"styleFloat"},style:function(
|
119
|
-
|
120
|
-
l)
|
121
|
-
|
122
|
-
if(!
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
a.ajaxSettings.traditional);
|
127
|
-
|
128
|
-
data:
|
129
|
-
json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":P.String,"text html":true,"text json":a.parseJSON,"text xml":a.parseXML}},ajaxPrefilter:
|
130
|
-
V)
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
if(
|
137
|
-
[
|
138
|
-
"+")}});a.extend({active:0,lastModified:{},etag:{}})})(S);(function(a){var
|
139
|
-
"$1"+
|
140
|
-
contents:{script:/javascript|ecmascript/},converters:{"text script":function(
|
141
|
-
function(
|
142
|
-
u=a.ajaxSettings.xhr();a.support.ajax=!!
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
this.
|
153
|
-
|
154
|
-
true;for(var
|
155
|
-
|
156
|
-
"opacity",
|
157
|
-
H.documentElement?function(
|
158
|
-
a.support.boxModel&&
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
1
|
+
(function(P,J){var H=P.document,S=function(){function a(){if(!n.isReady){try{H.documentElement.doScroll("left")}catch(f){setTimeout(a,1);return}n.ready()}}var n=function(f,r){return new n.fn.init(f,r,s)},D=P.jQuery,G=P.$,s,w=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,u=/\S/,F=/^\s+/,j=/\s+$/,d=/\d/,g=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,p=/^[\],:{}\s]*$/,A=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,l=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,m=/(?:^|:|,)(?:\s*\[)+/g,q=/(webkit)[ \/]([\w.]+)/,
|
2
|
+
v=/(opera)(?:.*version)?[ \/]([\w.]+)/,y=/(msie) ([\w.]+)/,e=/(mozilla)(?:.*? rv:([\w.]+))?/,b=navigator.userAgent,c=false,h,i="then done fail isResolved isRejected promise".split(" "),k,o=Object.prototype.toString,B=Object.prototype.hasOwnProperty,t=Array.prototype.push,z=Array.prototype.slice,I=String.prototype.trim,x=Array.prototype.indexOf,K={};n.fn=n.prototype={constructor:n,init:function(f,r,C){var E;if(!f)return this;if(f.nodeType){this.context=this[0]=f;this.length=1;return this}if(f==="body"&&
|
3
|
+
!r&&H.body){this.context=H;this[0]=H.body;this.selector="body";this.length=1;return this}if(typeof f==="string")if((E=w.exec(f))&&(E[1]||!r))if(E[1]){C=(r=r instanceof n?r[0]:r)?r.ownerDocument||r:H;if(f=g.exec(f))if(n.isPlainObject(r)){f=[H.createElement(f[1])];n.fn.attr.call(f,r,true)}else f=[C.createElement(f[1])];else{f=n.buildFragment([E[1]],[C]);f=(f.cacheable?n.clone(f.fragment):f.fragment).childNodes}return n.merge(this,f)}else{if((r=H.getElementById(E[2]))&&r.parentNode){if(r.id!==E[2])return C.find(f);
|
4
|
+
this.length=1;this[0]=r}this.context=H;this.selector=f;return this}else return!r||r.jquery?(r||C).find(f):this.constructor(r).find(f);else if(n.isFunction(f))return C.ready(f);if(f.selector!==J){this.selector=f.selector;this.context=f.context}return n.makeArray(f,this)},selector:"",jquery:"@VERSION",length:0,size:function(){return this.length},toArray:function(){return z.call(this,0)},get:function(f){return f==null?this.toArray():f<0?this[this.length+f]:this[f]},pushStack:function(f,r,C){var E=this.constructor();
|
5
|
+
n.isArray(f)?t.apply(E,f):n.merge(E,f);E.prevObject=this;E.context=this.context;if(r==="find")E.selector=this.selector+(this.selector?" ":"")+C;else if(r)E.selector=this.selector+"."+r+"("+C+")";return E},each:function(f,r){return n.each(this,f,r)},ready:function(f){n.bindReady();h.done(f);return this},eq:function(f){return f===-1?this.slice(f):this.slice(f,+f+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(z.apply(this,arguments),
|
6
|
+
"slice",z.call(arguments).join(","))},map:function(f){return this.pushStack(n.map(this,function(r,C){return f.call(r,C,r)}))},end:function(){return this.prevObject||this.constructor(null)},push:t,sort:[].sort,splice:[].splice};n.fn.init.prototype=n.fn;n.extend=n.fn.extend=function(){var f,r,C,E,L,M=arguments[0]||{},O=1,T=arguments.length,W=false;if(typeof M==="boolean"){W=M;M=arguments[1]||{};O=2}if(typeof M!=="object"&&!n.isFunction(M))M={};if(T===O){M=this;--O}for(;O<T;O++)if((f=arguments[O])!=
|
7
|
+
null)for(r in f){C=M[r];E=f[r];if(M!==E)if(W&&E&&(n.isPlainObject(E)||(L=n.isArray(E)))){if(L){L=false;C=C&&n.isArray(C)?C:[]}else C=C&&n.isPlainObject(C)?C:{};M[r]=n.extend(W,C,E)}else if(E!==J)M[r]=E}return M};n.extend({noConflict:function(f){P.$=G;if(f)P.jQuery=D;return n},isReady:false,readyWait:1,ready:function(f){f===true&&n.readyWait--;if(!n.readyWait||f!==true&&!n.isReady){if(!H.body)return setTimeout(n.ready,1);n.isReady=true;if(!(f!==true&&--n.readyWait>0)){h.resolveWith(H,[n]);n.fn.trigger&&
|
8
|
+
n(H).trigger("ready").unbind("ready")}}},bindReady:function(){if(!c){c=true;if(H.readyState==="complete")return setTimeout(n.ready,1);if(H.addEventListener){H.addEventListener("DOMContentLoaded",k,false);P.addEventListener("load",n.ready,false)}else if(H.attachEvent){H.attachEvent("onreadystatechange",k);P.attachEvent("onload",n.ready);var f=false;try{f=P.frameElement==null}catch(r){}H.documentElement.doScroll&&f&&a()}}},isFunction:function(f){return n.type(f)==="function"},isArray:Array.isArray||
|
9
|
+
function(f){return n.type(f)==="array"},isWindow:function(f){return f&&typeof f==="object"&&"setInterval"in f},isNaN:function(f){return f==null||!d.test(f)||isNaN(f)},type:function(f){return f==null?String(f):K[o.call(f)]||"object"},isPlainObject:function(f){if(!f||n.type(f)!=="object"||f.nodeType||n.isWindow(f))return false;if(f.constructor&&!B.call(f,"constructor")&&!B.call(f.constructor.prototype,"isPrototypeOf"))return false;for(var r in f);return r===J||B.call(f,r)},isEmptyObject:function(f){for(var r in f)return false;
|
10
|
+
return true},error:function(f){throw f;},parseJSON:function(f){if(typeof f!=="string"||!f)return null;f=n.trim(f);if(p.test(f.replace(A,"@").replace(l,"]").replace(m,"")))return P.JSON&&P.JSON.parse?P.JSON.parse(f):(new Function("return "+f))();else n.error("Invalid JSON: "+f)},parseXML:function(f,r,C){if(P.DOMParser){C=new DOMParser;r=C.parseFromString(f,"text/xml")}else{r=new ActiveXObject("Microsoft.XMLDOM");r.async="false";r.loadXML(f)}C=r.documentElement;if(!C||!C.nodeName||C.nodeName==="parsererror")n.error("Invalid XML: "+
|
11
|
+
f);return r},noop:function(){},globalEval:function(f){if(f&&u.test(f)){var r=H.head||H.getElementsByTagName("head")[0]||H.documentElement,C=H.createElement("script");if(n.support.scriptEval())C.appendChild(H.createTextNode(f));else C.text=f;r.insertBefore(C,r.firstChild);r.removeChild(C)}},nodeName:function(f,r){return f.nodeName&&f.nodeName.toUpperCase()===r.toUpperCase()},each:function(f,r,C){var E,L=0,M=f.length,O=M===J||n.isFunction(f);if(C)if(O)for(E in f){if(r.apply(f[E],C)===false)break}else for(;L<
|
12
|
+
M;){if(r.apply(f[L++],C)===false)break}else if(O)for(E in f){if(r.call(f[E],E,f[E])===false)break}else for(C=f[0];L<M&&r.call(C,L,C)!==false;C=f[++L]);return f},trim:I?function(f){return f==null?"":I.call(f)}:function(f){return f==null?"":f.toString().replace(F,"").replace(j,"")},makeArray:function(f,r){var C=r||[];if(f!=null){var E=n.type(f);f.length==null||E==="string"||E==="function"||E==="regexp"||n.isWindow(f)?t.call(C,f):n.merge(C,f)}return C},inArray:function(f,r){if(r.indexOf)return r.indexOf(f);
|
13
|
+
for(var C=0,E=r.length;C<E;C++)if(r[C]===f)return C;return-1},merge:function(f,r){var C=f.length,E=0;if(typeof r.length==="number")for(var L=r.length;E<L;E++)f[C++]=r[E];else for(;r[E]!==J;)f[C++]=r[E++];f.length=C;return f},grep:function(f,r,C){var E=[],L;C=!!C;for(var M=0,O=f.length;M<O;M++){L=!!r(f[M],M);C!==L&&E.push(f[M])}return E},map:function(f,r,C){for(var E=[],L,M=0,O=f.length;M<O;M++){L=r(f[M],M,C);if(L!=null)E[E.length]=L}return E.concat.apply([],E)},guid:1,proxy:function(f,r,C){if(arguments.length===
|
14
|
+
2)if(typeof r==="string"){C=f;f=C[r];r=J}else if(r&&!n.isFunction(r)){C=r;r=J}if(!r&&f)r=function(){return f.apply(C||this,arguments)};if(f)r.guid=f.guid=f.guid||r.guid||n.guid++;return r},access:function(f,r,C,E,L,M){var O=f.length;if(typeof r==="object"){for(var T in r)n.access(f,T,r[T],E,L,C);return f}if(C!==J){E=!M&&E&&n.isFunction(C);for(T=0;T<O;T++)L(f[T],r,E?C.call(f[T],T,L(f[T],r)):C,M);return f}return O?L(f[0],r):J},now:function(){return(new Date).getTime()},_Deferred:function(){var f=[],
|
15
|
+
r,C,E,L={done:function(){if(!E){var M=arguments,O,T,W,da,Y;if(r){Y=r;r=0}O=0;for(T=M.length;O<T;O++){W=M[O];da=n.type(W);if(da==="array")L.done.apply(L,W);else da==="function"&&f.push(W)}Y&&L.resolveWith(Y[0],Y[1])}return this},resolveWith:function(M,O){if(!E&&!r&&!C){C=1;try{for(;f[0];)f.shift().apply(M,O)}finally{r=[M,O];C=0}}return this},resolve:function(){L.resolveWith(n.isFunction(this.promise)?this.promise():this,arguments);return this},isResolved:function(){return!!(C||r)},cancel:function(){E=
|
16
|
+
1;f=[];return this}};return L},Deferred:function(f){var r=n._Deferred(),C=n._Deferred(),E;n.extend(r,{then:function(L,M){r.done(L).fail(M);return this},fail:C.done,rejectWith:C.resolveWith,reject:C.resolve,isRejected:C.isResolved,promise:function(L,M){if(L==null){if(E)return E;E=L={}}for(M=i.length;M--;)L[i[M]]=r[i[M]];return L}});r.then(C.cancel,r.cancel);delete r.cancel;f&&f.call(r,r);return r},when:function(f){var r=arguments,C=r.length,E=C<=1&&f&&n.isFunction(f.promise)?f:n.Deferred(),L=E.promise(),
|
17
|
+
M;if(C>1){M=Array(C);n.each(r,function(O,T){n.when(T).then(function(W){M[O]=arguments.length>1?z.call(arguments,0):W;--C||E.resolveWith(L,M)},E.reject)})}else E!==f&&E.resolve(f);return L},uaMatch:function(f){f=f.toLowerCase();f=q.exec(f)||v.exec(f)||y.exec(f)||f.indexOf("compatible")<0&&e.exec(f)||[];return{browser:f[1]||"",version:f[2]||"0"}},sub:function(){function f(C,E){return new f.fn.init(C,E)}n.extend(true,f,this);f.superclass=this;f.fn=f.prototype=this();f.fn.constructor=f;f.subclass=this.subclass;
|
18
|
+
f.fn.init=function(C,E){if(E&&E instanceof n&&!(E instanceof f))E=f(E);return n.fn.init.call(this,C,E,r)};f.fn.init.prototype=f.fn;var r=f(H);return f},browser:{}});h=n._Deferred();n.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(f,r){K["[object "+r+"]"]=r.toLowerCase()});b=n.uaMatch(b);if(b.browser){n.browser[b.browser]=true;n.browser.version=b.version}if(n.browser.webkit)n.browser.safari=true;if(x)n.inArray=function(f,r){return x.call(r,f)};if(u.test(" ")){F=
|
19
|
+
/^[\s\xA0]+/;j=/[\s\xA0]+$/}s=n(H);if(H.addEventListener)k=function(){H.removeEventListener("DOMContentLoaded",k,false);n.ready()};else if(H.attachEvent)k=function(){if(H.readyState==="complete"){H.detachEvent("onreadystatechange",k);n.ready()}};return n}();(function(a){(function(){a.support={};var n=H.createElement("div");n.style.display="none";n.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var D=n.getElementsByTagName("*"),
|
20
|
+
G=n.getElementsByTagName("a")[0],s=H.createElement("select"),w=s.appendChild(H.createElement("option"));if(!(!D||!D.length||!G)){a.support={leadingWhitespace:n.firstChild.nodeType===3,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/red/.test(G.getAttribute("style")),hrefNormalized:G.getAttribute("href")==="/a",opacity:/^0.55$/.test(G.style.opacity),cssFloat:!!G.style.cssFloat,checkOn:n.getElementsByTagName("input")[0].value==="on",optSelected:w.selected,
|
21
|
+
deleteExpando:true,optDisabled:false,checkClone:false,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};s.disabled=true;a.support.optDisabled=!w.disabled;var u=null;a.support.scriptEval=function(){if(u===null){var j=H.documentElement,d=H.createElement("script"),g="script"+a.now();try{d.appendChild(H.createTextNode("window."+g+"=1;"))}catch(p){}j.insertBefore(d,j.firstChild);if(P[g]){u=true;delete P[g]}else u=false;j.removeChild(d)}return u};
|
22
|
+
try{delete n.test}catch(F){a.support.deleteExpando=false}if(!n.addEventListener&&n.attachEvent&&n.fireEvent){n.attachEvent("onclick",function j(){a.support.noCloneEvent=false;n.detachEvent("onclick",j)});n.cloneNode(true).fireEvent("onclick")}n=H.createElement("div");n.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";D=H.createDocumentFragment();D.appendChild(n.firstChild);a.support.checkClone=D.cloneNode(true).cloneNode(true).lastChild.checked;a(function(){var j=H.createElement("div"),
|
23
|
+
d=H.getElementsByTagName("body")[0];if(d){j.style.width=j.style.paddingLeft="1px";d.appendChild(j);a.boxModel=a.support.boxModel=j.offsetWidth===2;if("zoom"in j.style){j.style.display="inline";j.style.zoom=1;a.support.inlineBlockNeedsLayout=j.offsetWidth===2;j.style.display="";j.innerHTML="<div style='width:4px;'></div>";a.support.shrinkWrapBlocks=j.offsetWidth!==2}j.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var g=j.getElementsByTagName("td");
|
24
|
+
a.support.reliableHiddenOffsets=g[0].offsetHeight===0;g[0].style.display="";g[1].style.display="none";a.support.reliableHiddenOffsets=a.support.reliableHiddenOffsets&&g[0].offsetHeight===0;j.innerHTML="";d.removeChild(j).style.display="none"}});D=function(j){var d=H.createElement("div");j="on"+j;if(!d.attachEvent)return true;var g=j in d;if(!g){d.setAttribute(j,"return;");g=typeof d[j]==="function"}return g};a.support.submitBubbles=D("submit");a.support.changeBubbles=D("change");n=D=G=null}})()})(S);
|
25
|
+
(function(a){function n(s,w,u){if(u===J&&s.nodeType===1){u=s.getAttribute("data-"+w);if(typeof u==="string"){try{u=u==="true"?true:u==="false"?false:u==="null"?null:!a.isNaN(u)?parseFloat(u):G.test(u)?a.parseJSON(u):u}catch(F){}a.data(s,w,u)}else u=J}return u}function D(s){for(var w in s)if(w!=="toJSON")return false;return true}var G=/^(?:\{.*\}|\[.*\])$/;a.extend({cache:{},uuid:0,expando:"jQuery"+(a.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",
|
26
|
+
applet:true},hasData:function(s){s=s.nodeType?a.cache[s[a.expando]]:s[a.expando];return!!s&&!D(s)},data:function(s,w,u,F){if(a.acceptData(s)){var j=a.expando,d=typeof w==="string",g=s.nodeType,p=g?a.cache:s,A=g?s[a.expando]:s[a.expando]&&a.expando;if(!((!A||F&&A&&!p[A][j])&&d&&u===J)){if(!A)if(g)s[a.expando]=A=++a.uuid;else A=a.expando;if(!p[A]){p[A]={};if(!g)p[A].toJSON=a.noop}if(typeof w==="object"||typeof w==="function")if(F)p[A][j]=a.extend(p[A][j],w);else p[A]=a.extend(p[A],w);s=p[A];if(F){s[j]||
|
27
|
+
(s[j]={});s=s[j]}if(u!==J)s[w]=u;if(w==="events"&&!s[w])return s[j]&&s[j].events;return d?s[w]:s}}},removeData:function(s,w,u){if(a.acceptData(s)){var F=a.expando,j=s.nodeType,d=j?a.cache:s,g=j?s[a.expando]:a.expando;if(d[g]){if(w){var p=u?d[g][F]:d[g];if(p){delete p[w];if(!D(p))return}}if(u){delete d[g][F];if(!D(d[g]))return}w=d[g][F];if(a.support.deleteExpando||d!=P)delete d[g];else d[g]=null;if(w){d[g]={};if(!j)d[g].toJSON=a.noop;d[g][F]=w}else if(j)if(a.support.deleteExpando)delete s[a.expando];
|
28
|
+
else if(s.removeAttribute)s.removeAttribute(a.expando);else s[a.expando]=null}}},_data:function(s,w,u){return a.data(s,w,u,true)},acceptData:function(s){if(s.nodeName){var w=a.noData[s.nodeName.toLowerCase()];if(w)return!(w===true||s.getAttribute("classid")!==w)}return true}});a.fn.extend({data:function(s,w){var u=null;if(typeof s==="undefined"){if(this.length){u=a.data(this[0]);if(this[0].nodeType===1)for(var F=this[0].attributes,j,d=0,g=F.length;d<g;d++){j=F[d].name;if(j.indexOf("data-")===0){j=
|
29
|
+
j.substr(5);n(this[0],j,u[j])}}}return u}else if(typeof s==="object")return this.each(function(){a.data(this,s)});var p=s.split(".");p[1]=p[1]?"."+p[1]:"";if(w===J){u=this.triggerHandler("getData"+p[1]+"!",[p[0]]);if(u===J&&this.length){u=a.data(this[0],s);u=n(this[0],s,u)}return u===J&&p[1]?this.data(p[0]):u}else return this.each(function(){var A=a(this),l=[p[0],w];A.triggerHandler("setData"+p[1]+"!",l);a.data(this,s,w);A.triggerHandler("changeData"+p[1]+"!",l)})},removeData:function(s){return this.each(function(){a.removeData(this,
|
30
|
+
s)})}})})(S);(function(a){a.extend({queue:function(n,D,G){if(n){D=(D||"fx")+"queue";var s=a._data(n,D);if(!G)return s||[];if(!s||a.isArray(G))s=a._data(n,D,a.makeArray(G));else s.push(G);return s}},dequeue:function(n,D){D=D||"fx";var G=a.queue(n,D),s=G.shift();if(s==="inprogress")s=G.shift();if(s){D==="fx"&&G.unshift("inprogress");s.call(n,function(){a.dequeue(n,D)})}G.length||a.removeData(n,D+"queue",true)}});a.fn.extend({queue:function(n,D){if(typeof n!=="string"){D=n;n="fx"}if(D===J)return a.queue(this[0],
|
31
|
+
n);return this.each(function(){var G=a.queue(this,n,D);n==="fx"&&G[0]!=="inprogress"&&a.dequeue(this,n)})},dequeue:function(n){return this.each(function(){a.dequeue(this,n)})},delay:function(n,D){n=a.fx?a.fx.speeds[n]||n:n;D=D||"fx";return this.queue(D,function(){var G=this;setTimeout(function(){a.dequeue(G,D)},n)})},clearQueue:function(n){return this.queue(n||"fx",[])}})})(S);(function(a){var n=/[\n\t\r]/g,D=/\s+/,G=/\r/g,s=/^(?:href|src|style)$/,w=/^(?:button|input)$/i,u=/^(?:button|input|object|select|textarea)$/i,
|
32
|
+
F=/^a(?:rea)?$/i,j=/^(?:radio|checkbox)$/i;a.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};a.fn.extend({attr:function(d,g){return a.access(this,d,g,true,a.attr)},removeAttr:function(d){return this.each(function(){a.attr(this,d,"");this.nodeType===1&&this.removeAttribute(d)})},addClass:function(d){if(a.isFunction(d))return this.each(function(e){var b=
|
33
|
+
a(this);b.addClass(d.call(this,e,b.attr("class")))});if(d&&typeof d==="string")for(var g=(d||"").split(D),p=0,A=this.length;p<A;p++){var l=this[p];if(l.nodeType===1)if(l.className){for(var m=" "+l.className+" ",q=l.className,v=0,y=g.length;v<y;v++)if(m.indexOf(" "+g[v]+" ")<0)q+=" "+g[v];l.className=a.trim(q)}else l.className=d}return this},removeClass:function(d){if(a.isFunction(d))return this.each(function(y){var e=a(this);e.removeClass(d.call(this,y,e.attr("class")))});if(d&&typeof d==="string"||
|
34
|
+
d===J)for(var g=(d||"").split(D),p=0,A=this.length;p<A;p++){var l=this[p];if(l.nodeType===1&&l.className)if(d){for(var m=(" "+l.className+" ").replace(n," "),q=0,v=g.length;q<v;q++)m=m.replace(" "+g[q]+" "," ");l.className=a.trim(m)}else l.className=""}return this},toggleClass:function(d,g){var p=typeof d,A=typeof g==="boolean";if(a.isFunction(d))return this.each(function(l){var m=a(this);m.toggleClass(d.call(this,l,m.attr("class"),g),g)});return this.each(function(){if(p==="string")for(var l,m=0,
|
35
|
+
q=a(this),v=g,y=d.split(D);l=y[m++];){v=A?v:!q.hasClass(l);q[v?"addClass":"removeClass"](l)}else if(p==="undefined"||p==="boolean"){this.className&&a._data(this,"__className__",this.className);this.className=this.className||d===false?"":a._data(this,"__className__")||""}})},hasClass:function(d){d=" "+d+" ";for(var g=0,p=this.length;g<p;g++)if((" "+this[g].className+" ").replace(n," ").indexOf(d)>-1)return true;return false},val:function(d){if(!arguments.length){var g=this[0];if(g){if(a.nodeName(g,
|
36
|
+
"option")){var p=g.attributes.value;return!p||p.specified?g.value:g.text}if(a.nodeName(g,"select")){p=g.selectedIndex;var A=[],l=g.options;g=g.type==="select-one";if(p<0)return null;for(var m=g?p:0,q=g?p+1:l.length;m<q;m++){var v=l[m];if(v.selected&&(a.support.optDisabled?!v.disabled:v.getAttribute("disabled")===null)&&(!v.parentNode.disabled||!a.nodeName(v.parentNode,"optgroup"))){d=a(v).val();if(g)return d;A.push(d)}}if(g&&!A.length&&l.length)return a(l[p]).val();return A}if(j.test(g.type)&&!a.support.checkOn)return g.getAttribute("value")===
|
37
|
+
null?"on":g.value;return(g.value||"").replace(G,"")}return J}var y=a.isFunction(d);return this.each(function(e){var b=a(this),c=d;if(this.nodeType===1){if(y)c=d.call(this,e,b.val());if(c==null)c="";else if(typeof c==="number")c+="";else if(a.isArray(c))c=a.map(c,function(i){return i==null?"":i+""});if(a.isArray(c)&&j.test(this.type))this.checked=a.inArray(b.val(),c)>=0;else if(a.nodeName(this,"select")){var h=a.makeArray(c);a("option",this).each(function(){this.selected=a.inArray(a(this).val(),h)>=
|
38
|
+
0});if(!h.length)this.selectedIndex=-1}else this.value=c}})}});a.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(d,g,p,A){if(!d||d.nodeType===3||d.nodeType===8||d.nodeType===2)return J;if(A&&g in a.attrFn)return a(d)[g](p);A=d.nodeType!==1||!a.isXMLDoc(d);var l=p!==J;g=A&&a.props[g]||g;if(d.nodeType===1){var m=s.test(g);if((g in d||d[g]!==J)&&A&&!m){if(l){g==="type"&&w.test(d.nodeName)&&d.parentNode&&a.error("type property can't be changed");
|
39
|
+
if(p===null)d.nodeType===1&&d.removeAttribute(g);else d[g]=p}if(a.nodeName(d,"form")&&d.getAttributeNode(g))return d.getAttributeNode(g).nodeValue;if(g==="tabIndex")return(g=d.getAttributeNode("tabIndex"))&&g.specified?g.value:u.test(d.nodeName)||F.test(d.nodeName)&&d.href?0:J;return d[g]}if(!a.support.style&&A&&g==="style"){if(l)d.style.cssText=""+p;return d.style.cssText}l&&d.setAttribute(g,""+p);if(!d.attributes[g]&&d.hasAttribute&&!d.hasAttribute(g))return J;d=!a.support.hrefNormalized&&A&&m?
|
40
|
+
d.getAttribute(g,2):d.getAttribute(g);return d===null?J:d}if(l)d[g]=p;return d[g]}})})(S);(function(a){function n(){return false}function D(){return true}function G(e,b,c){var h=a.extend({},c[0]);h.type=e;h.originalEvent={};h.liveFired=J;a.event.handle.call(b,h);h.isDefaultPrevented()&&c[0].preventDefault()}function s(e){var b,c,h,i,k,o,B,t,z,I,x,K=[];i=[];k=a._data(this,"events");if(!(e.liveFired===this||!k||!k.live||e.target.disabled||e.button&&e.type==="click")){if(e.namespace)x=RegExp("(^|\\.)"+
|
41
|
+
e.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");e.liveFired=this;var f=k.live.slice(0);for(B=0;B<f.length;B++){k=f[B];k.origType.replace(u,"")===e.type?i.push(k.selector):f.splice(B--,1)}i=a(e.target).closest(i,e.currentTarget);t=0;for(z=i.length;t<z;t++){I=i[t];for(B=0;B<f.length;B++){k=f[B];if(I.selector===k.selector&&(!x||x.test(k.namespace))&&!I.elem.disabled){o=I.elem;h=null;if(k.preType==="mouseenter"||k.preType==="mouseleave"){e.type=k.preType;h=a(e.relatedTarget).closest(k.selector)[0]}if(!h||
|
42
|
+
h!==o)K.push({elem:o,handleObj:k,level:I.level})}}}t=0;for(z=K.length;t<z;t++){i=K[t];if(c&&i.level>c)break;e.currentTarget=i.elem;e.data=i.handleObj.data;e.handleObj=i.handleObj;x=i.handleObj.origHandler.apply(i.elem,arguments);if(x===false||e.isPropagationStopped()){c=i.level;if(x===false)b=false;if(e.isImmediatePropagationStopped())break}}return b}}function w(e,b){return(e&&e!=="*"?e+".":"")+b.replace(j,"`").replace(d,"&")}var u=/\.(.*)$/,F=/^(?:textarea|input|select)$/i,j=/\./g,d=/ /g,g=/[^\w\s.|`]/g,
|
43
|
+
p=function(e){return e.replace(g,"\\$&")};a.event={add:function(e,b,c,h){if(!(e.nodeType===3||e.nodeType===8)){try{if(a.isWindow(e)&&e!==P&&!e.frameElement)e=P}catch(i){}if(c===false)c=n;else if(!c)return;var k,o;if(c.handler){k=c;c=k.handler}if(!c.guid)c.guid=a.guid++;if(o=a._data(e)){var B=o.events,t=o.handle;if(!B)o.events=B={};if(!t)o.handle=t=function(){return typeof a!=="undefined"&&!a.event.triggered?a.event.handle.apply(t.elem,arguments):J};t.elem=e;b=b.split(" ");for(var z,I=0,x;z=b[I++];){o=
|
44
|
+
k?a.extend({},k):{handler:c,data:h};if(z.indexOf(".")>-1){x=z.split(".");z=x.shift();o.namespace=x.slice(0).sort().join(".")}else{x=[];o.namespace=""}o.type=z;if(!o.guid)o.guid=c.guid;var K=B[z],f=a.event.special[z]||{};if(!K){K=B[z]=[];if(!f.setup||f.setup.call(e,h,x,t)===false)if(e.addEventListener)e.addEventListener(z,t,false);else e.attachEvent&&e.attachEvent("on"+z,t)}if(f.add){f.add.call(e,o);if(!o.handler.guid)o.handler.guid=c.guid}K.push(o);a.event.global[z]=true}e=null}}},global:{},remove:function(e,
|
45
|
+
b,c,h){if(!(e.nodeType===3||e.nodeType===8)){if(c===false)c=n;var i,k,o=0,B,t,z,I,x,K,f=a.hasData(e)&&a._data(e),r=f&&f.events;if(f&&r){if(b&&b.type){c=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(i in r)a.event.remove(e,i+b)}else{for(b=b.split(" ");i=b[o++];){I=i;B=i.indexOf(".")<0;t=[];if(!B){t=i.split(".");i=t.shift();z=RegExp("(^|\\.)"+a.map(t.slice(0).sort(),p).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(x=r[i])if(c){I=a.event.special[i]||{};for(k=h||0;k<x.length;k++){K=
|
46
|
+
x[k];if(c.guid===K.guid){if(B||z.test(K.namespace)){h==null&&x.splice(k--,1);I.remove&&I.remove.call(e,K)}if(h!=null)break}}if(x.length===0||h!=null&&x.length===1){if(!I.teardown||I.teardown.call(e,t)===false)a.removeEvent(e,i,f.handle);delete r[i]}}else for(k=0;k<x.length;k++){K=x[k];if(B||z.test(K.namespace)){a.event.remove(e,I,K.handler,k);x.splice(k--,1)}}}if(a.isEmptyObject(r)){if(b=f.handle)b.elem=null;delete f.events;delete f.handle;a.isEmptyObject(f)&&a.removeData(e,J,true)}}}}},trigger:function(e,
|
47
|
+
b,c,h){var i=e.type||e;if(!h){e=typeof e==="object"?e[a.expando]?e:a.extend(a.Event(i),e):a.Event(i);if(i.indexOf("!")>=0){e.type=i=i.slice(0,-1);e.exclusive=true}if(!c){e.stopPropagation();a.event.global[i]&&a.each(a.cache,function(){var x=this[a.expando];x&&x.events&&x.events[i]&&a.event.trigger(e,b,x.handle.elem)})}if(!c||c.nodeType===3||c.nodeType===8)return J;e.result=J;e.target=c;b=a.makeArray(b);b.unshift(e)}e.currentTarget=c;(h=a._data(c,"handle"))&&h.apply(c,b);h=c.parentNode||c.ownerDocument;
|
48
|
+
try{if(!(c&&c.nodeName&&a.noData[c.nodeName.toLowerCase()]))if(c["on"+i]&&c["on"+i].apply(c,b)===false){e.result=false;e.preventDefault()}}catch(k){}if(!e.isPropagationStopped()&&h)a.event.trigger(e,b,h,true);else if(!e.isDefaultPrevented()){var o;h=e.target;var B=i.replace(u,""),t=a.nodeName(h,"a")&&B==="click",z=a.event.special[B]||{};if((!z._default||z._default.call(c,e)===false)&&!t&&!(h&&h.nodeName&&a.noData[h.nodeName.toLowerCase()])){try{if(h[B]){if(o=h["on"+B])h["on"+B]=null;a.event.triggered=
|
49
|
+
true;h[B]()}}catch(I){}if(o)h["on"+B]=o;a.event.triggered=false}}},handle:function(e){var b,c,h,i;c=[];var k=a.makeArray(arguments);e=k[0]=a.event.fix(e||P.event);e.currentTarget=this;b=e.type.indexOf(".")<0&&!e.exclusive;if(!b){h=e.type.split(".");e.type=h.shift();c=h.slice(0).sort();h=RegExp("(^|\\.)"+c.join("\\.(?:.*\\.)?")+"(\\.|$)")}e.namespace=e.namespace||c.join(".");i=a._data(this,"events");c=(i||{})[e.type];if(i&&c){c=c.slice(0);i=0;for(var o=c.length;i<o;i++){var B=c[i];if(b||h.test(B.namespace)){e.handler=
|
50
|
+
B.handler;e.data=B.data;e.handleObj=B;B=B.handler.apply(this,k);if(B!==J){e.result=B;if(B===false){e.preventDefault();e.stopPropagation()}}if(e.isImmediatePropagationStopped())break}}}return e.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
|
51
|
+
fix:function(e){if(e[a.expando])return e;var b=e;e=a.Event(b);for(var c=this.props.length,h;c;){h=this.props[--c];e[h]=b[h]}if(!e.target)e.target=e.srcElement||H;if(e.target.nodeType===3)e.target=e.target.parentNode;if(!e.relatedTarget&&e.fromElement)e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement;if(e.pageX==null&&e.clientX!=null){b=H.documentElement;c=H.body;e.pageX=e.clientX+(b&&b.scrollLeft||c&&c.scrollLeft||0)-(b&&b.clientLeft||c&&c.clientLeft||0);e.pageY=e.clientY+(b&&b.scrollTop||
|
52
|
+
c&&c.scrollTop||0)-(b&&b.clientTop||c&&c.clientTop||0)}if(e.which==null&&(e.charCode!=null||e.keyCode!=null))e.which=e.charCode!=null?e.charCode:e.keyCode;if(!e.metaKey&&e.ctrlKey)e.metaKey=e.ctrlKey;if(!e.which&&e.button!==J)e.which=e.button&1?1:e.button&2?3:e.button&4?2:0;return e},guid:1E8,proxy:a.proxy,special:{ready:{setup:a.bindReady,teardown:a.noop},live:{add:function(e){a.event.add(this,w(e.origType,e.selector),a.extend({},e,{handler:s,guid:e.handler.guid}))},remove:function(e){a.event.remove(this,
|
53
|
+
w(e.origType,e.selector),e)}},beforeunload:{setup:function(e,b,c){if(a.isWindow(this))this.onbeforeunload=c},teardown:function(e,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};a.removeEvent=H.removeEventListener?function(e,b,c){e.removeEventListener&&e.removeEventListener(b,c,false)}:function(e,b,c){e.detachEvent&&e.detachEvent("on"+b,c)};a.Event=function(e){if(!this.preventDefault)return new a.Event(e);if(e&&e.type){this.originalEvent=e;this.type=e.type;this.isDefaultPrevented=e.defaultPrevented||
|
54
|
+
e.returnValue===false||e.getPreventDefault&&e.getPreventDefault()?D:n}else this.type=e;this.timeStamp=a.now();this[a.expando]=true};a.Event.prototype={preventDefault:function(){this.isDefaultPrevented=D;var e=this.originalEvent;if(e)if(e.preventDefault)e.preventDefault();else e.returnValue=false},stopPropagation:function(){this.isPropagationStopped=D;var e=this.originalEvent;if(e){e.stopPropagation&&e.stopPropagation();e.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=
|
55
|
+
D;this.stopPropagation()},isDefaultPrevented:n,isPropagationStopped:n,isImmediatePropagationStopped:n};var A=function(e){var b=e.relatedTarget;try{if(!(b!==H&&!b.parentNode)){for(;b&&b!==this;)b=b.parentNode;if(b!==this){e.type=e.data;a.event.handle.apply(this,arguments)}}}catch(c){}},l=function(e){e.type=e.data;a.event.handle.apply(this,arguments)};a.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,b){a.event.special[e]={setup:function(c){a.event.add(this,b,c&&c.selector?l:A,e)},teardown:function(c){a.event.remove(this,
|
56
|
+
b,c&&c.selector?l:A)}}});if(!a.support.submitBubbles)a.event.special.submit={setup:function(){if(this.nodeName&&this.nodeName.toLowerCase()!=="form"){a.event.add(this,"click.specialSubmit",function(e){var b=e.target,c=b.type;if((c==="submit"||c==="image")&&a(b).closest("form").length)G("submit",this,arguments)});a.event.add(this,"keypress.specialSubmit",function(e){var b=e.target,c=b.type;if((c==="text"||c==="password")&&a(b).closest("form").length&&e.keyCode===13)G("submit",this,arguments)})}else return false},
|
57
|
+
teardown:function(){a.event.remove(this,".specialSubmit")}};if(!a.support.changeBubbles){var m,q=function(e){var b=e.type,c=e.value;if(b==="radio"||b==="checkbox")c=e.checked;else if(b==="select-multiple")c=e.selectedIndex>-1?a.map(e.options,function(h){return h.selected}).join("-"):"";else if(e.nodeName.toLowerCase()==="select")c=e.selectedIndex;return c},v=function(e,b){var c=e.target,h,i;if(!(!F.test(c.nodeName)||c.readOnly)){h=a._data(c,"_change_data");i=q(c);if(e.type!=="focusout"||c.type!==
|
58
|
+
"radio")a._data(c,"_change_data",i);if(!(h===J||i===h))if(h!=null||i){e.type="change";e.liveFired=J;a.event.trigger(e,b,c)}}};a.event.special.change={filters:{focusout:v,beforedeactivate:v,click:function(e){var b=e.target,c=b.type;if(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")v.call(this,e)},keydown:function(e){var b=e.target,c=b.type;if(e.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||e.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")v.call(this,e)},
|
59
|
+
beforeactivate:function(e){e=e.target;a._data(e,"_change_data",q(e))}},setup:function(){if(this.type==="file")return false;for(var e in m)a.event.add(this,e+".specialChange",m[e]);return F.test(this.nodeName)},teardown:function(){a.event.remove(this,".specialChange");return F.test(this.nodeName)}};m=a.event.special.change.filters;m.focus=m.beforeactivate}H.addEventListener&&a.each({focus:"focusin",blur:"focusout"},function(e,b){function c(h){h=a.event.fix(h);h.type=b;return a.event.handle.call(this,
|
60
|
+
h)}a.event.special[b]={setup:function(){this.addEventListener(e,c,true)},teardown:function(){this.removeEventListener(e,c,true)}}});a.each(["bind","one"],function(e,b){a.fn[b]=function(c,h,i){if(typeof c==="object"){for(var k in c)this[b](k,h,c[k],i);return this}if(a.isFunction(h)||h===false){i=h;h=J}var o=b==="one"?a.proxy(i,function(t){a(this).unbind(t,o);return i.apply(this,arguments)}):i;if(c==="unload"&&b!=="one")this.one(c,h,i);else{k=0;for(var B=this.length;k<B;k++)a.event.add(this[k],c,o,
|
61
|
+
h)}return this}});a.fn.extend({unbind:function(e,b){if(typeof e==="object"&&!e.preventDefault)for(var c in e)this.unbind(c,e[c]);else{c=0;for(var h=this.length;c<h;c++)a.event.remove(this[c],e,b)}return this},delegate:function(e,b,c,h){return this.live(b,c,h,e)},undelegate:function(e,b,c){return arguments.length===0?this.unbind("live"):this.die(b,null,c,e)},trigger:function(e,b){return this.each(function(){a.event.trigger(e,b,this)})},triggerHandler:function(e,b){if(this[0]){var c=a.Event(e);c.preventDefault();
|
62
|
+
c.stopPropagation();a.event.trigger(c,b,this[0]);return c.result}},toggle:function(e){for(var b=arguments,c=1;c<b.length;)a.proxy(e,b[c++]);return this.click(a.proxy(e,function(h){var i=(a._data(this,"lastToggle"+e.guid)||0)%c;a._data(this,"lastToggle"+e.guid,i+1);h.preventDefault();return b[i].apply(this,arguments)||false}))},hover:function(e,b){return this.mouseenter(e).mouseleave(b||e)}});var y={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};a.each(["live","die"],
|
63
|
+
function(e,b){a.fn[b]=function(c,h,i,k){var o,B=0,t,z,I=k||this.selector;k=k?this:a(this.context);if(typeof c==="object"&&!c.preventDefault){for(o in c)k[b](o,h,c[o],I);return this}if(a.isFunction(h)){i=h;h=J}for(c=(c||"").split(" ");(o=c[B++])!=null;){t=u.exec(o);z="";if(t){z=t[0];o=o.replace(u,"")}if(o==="hover")c.push("mouseenter"+z,"mouseleave"+z);else{t=o;if(o==="focus"||o==="blur"){c.push(y[o]+z);o+=z}else o=(y[o]||o)+z;if(b==="live"){z=0;for(var x=k.length;z<x;z++)a.event.add(k[z],"live."+
|
64
|
+
w(o,I),{data:h,selector:I,handler:i,origType:o,origHandler:i,preType:t})}else k.unbind("live."+w(o,I),i)}}return this}});a.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(e,b){a.fn[b]=function(c,h){if(h==null){h=c;c=null}return arguments.length>0?this.bind(b,c,h):this.trigger(b)};if(a.attrFn)a.attrFn[b]=true})})(S);(function(){function a(b,
|
65
|
+
c,h,i,k,o){k=0;for(var B=i.length;k<B;k++){var t=i[k];if(t){var z=false;for(t=t[b];t;){if(t.sizcache===h){z=i[t.sizset];break}if(t.nodeType===1&&!o){t.sizcache=h;t.sizset=k}if(t.nodeName.toLowerCase()===c){z=t;break}t=t[b]}i[k]=z}}}function n(b,c,h,i,k,o){k=0;for(var B=i.length;k<B;k++){var t=i[k];if(t){var z=false;for(t=t[b];t;){if(t.sizcache===h){z=i[t.sizset];break}if(t.nodeType===1){if(!o){t.sizcache=h;t.sizset=k}if(typeof c!=="string"){if(t===c){z=true;break}}else if(d.filter(c,[t]).length>0){z=
|
66
|
+
t;break}}t=t[b]}i[k]=z}}}var D=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,G=0,s=Object.prototype.toString,w=false,u=true,F=/\\/g,j=/\W/;[0,0].sort(function(){u=false;return 0});var d=function(b,c,h,i){h=h||[];var k=c=c||H;if(c.nodeType!==1&&c.nodeType!==9)return[];if(!b||typeof b!=="string")return h;var o,B,t,z,I,x=true,K=d.isXML(c),f=[],r=b;do{D.exec("");if(o=D.exec(r)){r=o[3];f.push(o[1]);if(o[2]){z=o[3];
|
67
|
+
break}}}while(o);if(f.length>1&&p.exec(b))if(f.length===2&&g.relative[f[0]])B=e(f[0]+f[1],c);else for(B=g.relative[f[0]]?[c]:d(f.shift(),c);f.length;){b=f.shift();if(g.relative[b])b+=f.shift();B=e(b,B)}else{if(!i&&f.length>1&&c.nodeType===9&&!K&&g.match.ID.test(f[0])&&!g.match.ID.test(f[f.length-1])){o=d.find(f.shift(),c,K);c=o.expr?d.filter(o.expr,o.set)[0]:o.set[0]}if(c){o=i?{expr:f.pop(),set:m(i)}:d.find(f.pop(),f.length===1&&(f[0]==="~"||f[0]==="+")&&c.parentNode?c.parentNode:c,K);B=o.expr?d.filter(o.expr,
|
68
|
+
o.set):o.set;if(f.length>0)t=m(B);else x=false;for(;f.length;){o=I=f.pop();if(g.relative[I])o=f.pop();else I="";if(o==null)o=c;g.relative[I](t,o,K)}}else t=[]}t||(t=B);t||d.error(I||b);if(s.call(t)==="[object Array]")if(x)if(c&&c.nodeType===1)for(b=0;t[b]!=null;b++){if(t[b]&&(t[b]===true||t[b].nodeType===1&&d.contains(c,t[b])))h.push(B[b])}else for(b=0;t[b]!=null;b++)t[b]&&t[b].nodeType===1&&h.push(B[b]);else h.push.apply(h,t);else m(t,h);if(z){d(z,k,h,i);d.uniqueSort(h)}return h};d.uniqueSort=function(b){if(v){w=
|
69
|
+
u;b.sort(v);if(w)for(var c=1;c<b.length;c++)b[c]===b[c-1]&&b.splice(c--,1)}return b};d.matches=function(b,c){return d(b,null,null,c)};d.matchesSelector=function(b,c){return d(c,null,null,[b]).length>0};d.find=function(b,c,h){var i;if(!b)return[];for(var k=0,o=g.order.length;k<o;k++){var B,t=g.order[k];if(B=g.leftMatch[t].exec(b)){var z=B[1];B.splice(1,1);if(z.substr(z.length-1)!=="\\"){B[1]=(B[1]||"").replace(F,"");i=g.find[t](B,c,h);if(i!=null){b=b.replace(g.match[t],"");break}}}}i||(i=typeof c.getElementsByTagName!==
|
70
|
+
"undefined"?c.getElementsByTagName("*"):[]);return{set:i,expr:b}};d.filter=function(b,c,h,i){for(var k,o,B=b,t=[],z=c,I=c&&c[0]&&d.isXML(c[0]);b&&c.length;){for(var x in g.filter)if((k=g.leftMatch[x].exec(b))!=null&&k[2]){var K,f,r=g.filter[x];f=k[1];o=false;k.splice(1,1);if(f.substr(f.length-1)!=="\\"){if(z===t)t=[];if(g.preFilter[x])if(k=g.preFilter[x](k,z,h,t,i,I)){if(k===true)continue}else o=K=true;if(k)for(var C=0;(f=z[C])!=null;C++)if(f){K=r(f,k,C,z);var E=i^!!K;if(h&&K!=null)if(E)o=true;else z[C]=
|
71
|
+
false;else if(E){t.push(f);o=true}}if(K!==J){h||(z=t);b=b.replace(g.match[x],"");if(!o)return[];break}}}if(b===B)if(o==null)d.error(b);else break;B=b}return z};d.error=function(b){throw"Syntax error, unrecognized expression: "+b;};var g=d.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,
|
72
|
+
TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(b){return b.getAttribute("href")},type:function(b){return b.getAttribute("type")}},relative:{"+":function(b,c){var h=
|
73
|
+
typeof c==="string",i=h&&!j.test(c);h=h&&!i;if(i)c=c.toLowerCase();i=0;for(var k=b.length,o;i<k;i++)if(o=b[i]){for(;(o=o.previousSibling)&&o.nodeType!==1;);b[i]=h||o&&o.nodeName.toLowerCase()===c?o||false:o===c}h&&d.filter(c,b,true)},">":function(b,c){var h,i=typeof c==="string",k=0,o=b.length;if(i&&!j.test(c))for(c=c.toLowerCase();k<o;k++){if(h=b[k]){h=h.parentNode;b[k]=h.nodeName.toLowerCase()===c?h:false}}else{for(;k<o;k++)if(h=b[k])b[k]=i?h.parentNode:h.parentNode===c;i&&d.filter(c,b,true)}},
|
74
|
+
"":function(b,c,h){var i,k=G++,o=n;if(typeof c==="string"&&!j.test(c)){i=c=c.toLowerCase();o=a}o("parentNode",c,k,b,i,h)},"~":function(b,c,h){var i,k=G++,o=n;if(typeof c==="string"&&!j.test(c)){i=c=c.toLowerCase();o=a}o("previousSibling",c,k,b,i,h)}},find:{ID:function(b,c,h){if(typeof c.getElementById!=="undefined"&&!h)return(b=c.getElementById(b[1]))&&b.parentNode?[b]:[]},NAME:function(b,c){if(typeof c.getElementsByName!=="undefined"){for(var h=[],i=c.getElementsByName(b[1]),k=0,o=i.length;k<o;k++)i[k].getAttribute("name")===
|
75
|
+
b[1]&&h.push(i[k]);return h.length===0?null:h}},TAG:function(b,c){if(typeof c.getElementsByTagName!=="undefined")return c.getElementsByTagName(b[1])}},preFilter:{CLASS:function(b,c,h,i,k,o){b=" "+b[1].replace(F,"")+" ";if(o)return b;o=0;for(var B;(B=c[o])!=null;o++)if(B)if(k^(B.className&&(" "+B.className+" ").replace(/[\t\n\r]/g," ").indexOf(b)>=0))h||i.push(B);else if(h)c[o]=false;return false},ID:function(b){return b[1].replace(F,"")},TAG:function(b){return b[1].replace(F,"").toLowerCase()},CHILD:function(b){if(b[1]===
|
76
|
+
"nth"){b[2]||d.error(b[0]);b[2]=b[2].replace(/^\+|\s*/g,"");var c=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(b[2]==="even"&&"2n"||b[2]==="odd"&&"2n+1"||!/\D/.test(b[2])&&"0n+"+b[2]||b[2]);b[2]=c[1]+(c[2]||1)-0;b[3]=c[3]-0}else b[2]&&d.error(b[0]);b[0]=G++;return b},ATTR:function(b,c,h,i,k,o){c=b[1]=b[1].replace(F,"");if(!o&&g.attrMap[c])b[1]=g.attrMap[c];b[4]=(b[4]||b[5]||"").replace(F,"");if(b[2]==="~=")b[4]=" "+b[4]+" ";return b},PSEUDO:function(b,c,h,i,k){if(b[1]==="not")if((D.exec(b[3])||"").length>1||
|
77
|
+
/^\w/.test(b[3]))b[3]=d(b[3],null,null,c);else{b=d.filter(b[3],c,h,true^k);h||i.push.apply(i,b);return false}else if(g.match.POS.test(b[0])||g.match.CHILD.test(b[0]))return true;return b},POS:function(b){b.unshift(true);return b}},filters:{enabled:function(b){return b.disabled===false&&b.type!=="hidden"},disabled:function(b){return b.disabled===true},checked:function(b){return b.checked===true},selected:function(b){return b.selected===true},parent:function(b){return!!b.firstChild},empty:function(b){return!b.firstChild},
|
78
|
+
has:function(b,c,h){return!!d(h[3],b).length},header:function(b){return/h\d/i.test(b.nodeName)},text:function(b){return"text"===b.getAttribute("type")},radio:function(b){return"radio"===b.type},checkbox:function(b){return"checkbox"===b.type},file:function(b){return"file"===b.type},password:function(b){return"password"===b.type},submit:function(b){return"submit"===b.type},image:function(b){return"image"===b.type},reset:function(b){return"reset"===b.type},button:function(b){return"button"===b.type||
|
79
|
+
b.nodeName.toLowerCase()==="button"},input:function(b){return/input|select|textarea|button/i.test(b.nodeName)}},setFilters:{first:function(b,c){return c===0},last:function(b,c,h,i){return c===i.length-1},even:function(b,c){return c%2===0},odd:function(b,c){return c%2===1},lt:function(b,c,h){return c<h[3]-0},gt:function(b,c,h){return c>h[3]-0},nth:function(b,c,h){return h[3]-0===c},eq:function(b,c,h){return h[3]-0===c}},filter:{PSEUDO:function(b,c,h,i){var k=c[1],o=g.filters[k];if(o)return o(b,h,c,
|
80
|
+
i);else if(k==="contains")return(b.textContent||b.innerText||d.getText([b])||"").indexOf(c[3])>=0;else if(k==="not"){c=c[3];h=0;for(i=c.length;h<i;h++)if(c[h]===b)return false;return true}else d.error(k)},CHILD:function(b,c){var h=c[1],i=b;switch(h){case "only":case "first":for(;i=i.previousSibling;)if(i.nodeType===1)return false;if(h==="first")return true;i=b;case "last":for(;i=i.nextSibling;)if(i.nodeType===1)return false;return true;case "nth":h=c[2];var k=c[3];if(h===1&&k===0)return true;var o=
|
81
|
+
c[0],B=b.parentNode;if(B&&(B.sizcache!==o||!b.nodeIndex)){var t=0;for(i=B.firstChild;i;i=i.nextSibling)if(i.nodeType===1)i.nodeIndex=++t;B.sizcache=o}i=b.nodeIndex-k;return h===0?i===0:i%h===0&&i/h>=0}},ID:function(b,c){return b.nodeType===1&&b.getAttribute("id")===c},TAG:function(b,c){return c==="*"&&b.nodeType===1||b.nodeName.toLowerCase()===c},CLASS:function(b,c){return(" "+(b.className||b.getAttribute("class"))+" ").indexOf(c)>-1},ATTR:function(b,c){var h=c[1];h=g.attrHandle[h]?g.attrHandle[h](b):
|
82
|
+
b[h]!=null?b[h]:b.getAttribute(h);var i=h+"",k=c[2],o=c[4];return h==null?k==="!=":k==="="?i===o:k==="*="?i.indexOf(o)>=0:k==="~="?(" "+i+" ").indexOf(o)>=0:!o?i&&h!==false:k==="!="?i!==o:k==="^="?i.indexOf(o)===0:k==="$="?i.substr(i.length-o.length)===o:k==="|="?i===o||i.substr(0,o.length+1)===o+"-":false},POS:function(b,c,h,i){var k=g.setFilters[c[2]];if(k)return k(b,h,c,i)}}},p=g.match.POS,A=function(b,c){return"\\"+(c-0+1)},l;for(l in g.match){g.match[l]=RegExp(g.match[l].source+/(?![^\[]*\])(?![^\(]*\))/.source);
|
83
|
+
g.leftMatch[l]=RegExp(/(^(?:.|\r|\n)*?)/.source+g.match[l].source.replace(/\\(\d+)/g,A))}var m=function(b,c){b=Array.prototype.slice.call(b,0);if(c){c.push.apply(c,b);return c}return b};try{Array.prototype.slice.call(H.documentElement.childNodes,0)}catch(q){m=function(b,c){var h=0,i=c||[];if(s.call(b)==="[object Array]")Array.prototype.push.apply(i,b);else if(typeof b.length==="number")for(var k=b.length;h<k;h++)i.push(b[h]);else for(;b[h];h++)i.push(b[h]);return i}}var v,y;if(H.documentElement.compareDocumentPosition)v=
|
84
|
+
function(b,c){if(b===c){w=true;return 0}if(!b.compareDocumentPosition||!c.compareDocumentPosition)return b.compareDocumentPosition?-1:1;return b.compareDocumentPosition(c)&4?-1:1};else{v=function(b,c){var h,i,k=[],o=[];h=b.parentNode;i=c.parentNode;var B=h;if(b===c){w=true;return 0}else if(h===i)return y(b,c);else if(h){if(!i)return 1}else return-1;for(;B;){k.unshift(B);B=B.parentNode}for(B=i;B;){o.unshift(B);B=B.parentNode}h=k.length;i=o.length;for(B=0;B<h&&B<i;B++)if(k[B]!==o[B])return y(k[B],o[B]);
|
85
|
+
return B===h?y(b,o[B],-1):y(k[B],c,1)};y=function(b,c,h){if(b===c)return h;for(b=b.nextSibling;b;){if(b===c)return-1;b=b.nextSibling}return 1}}d.getText=function(b){for(var c="",h,i=0;b[i];i++){h=b[i];if(h.nodeType===3||h.nodeType===4)c+=h.nodeValue;else if(h.nodeType!==8)c+=d.getText(h.childNodes)}return c};(function(){var b=H.createElement("div"),c="script"+(new Date).getTime(),h=H.documentElement;b.innerHTML="<a name='"+c+"'/>";h.insertBefore(b,h.firstChild);if(H.getElementById(c)){g.find.ID=function(i,
|
86
|
+
k,o){if(typeof k.getElementById!=="undefined"&&!o)return(k=k.getElementById(i[1]))?k.id===i[1]||typeof k.getAttributeNode!=="undefined"&&k.getAttributeNode("id").nodeValue===i[1]?[k]:J:[]};g.filter.ID=function(i,k){var o=typeof i.getAttributeNode!=="undefined"&&i.getAttributeNode("id");return i.nodeType===1&&o&&o.nodeValue===k}}h.removeChild(b);h=b=null})();(function(){var b=H.createElement("div");b.appendChild(H.createComment(""));if(b.getElementsByTagName("*").length>0)g.find.TAG=function(c,h){var i=
|
87
|
+
h.getElementsByTagName(c[1]);if(c[1]==="*"){for(var k=[],o=0;i[o];o++)i[o].nodeType===1&&k.push(i[o]);i=k}return i};b.innerHTML="<a href='#'></a>";if(b.firstChild&&typeof b.firstChild.getAttribute!=="undefined"&&b.firstChild.getAttribute("href")!=="#")g.attrHandle.href=function(c){return c.getAttribute("href",2)};b=null})();H.querySelectorAll&&function(){var b=d,c=H.createElement("div");c.innerHTML="<p class='TEST'></p>";if(!(c.querySelectorAll&&c.querySelectorAll(".TEST").length===0)){d=function(i,
|
88
|
+
k,o,B){k=k||H;if(!B&&!d.isXML(k)){var t=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(i);if(t&&(k.nodeType===1||k.nodeType===9))if(t[1])return m(k.getElementsByTagName(i),o);else if(t[2]&&g.find.CLASS&&k.getElementsByClassName)return m(k.getElementsByClassName(t[2]),o);if(k.nodeType===9){if(i==="body"&&k.body)return m([k.body],o);else if(t&&t[3]){var z=k.getElementById(t[3]);if(z&&z.parentNode){if(z.id===t[3])return m([z],o)}else return m([],o)}try{return m(k.querySelectorAll(i),o)}catch(I){}}else if(k.nodeType===
|
89
|
+
1&&k.nodeName.toLowerCase()!=="object"){t=k;var x=(z=k.getAttribute("id"))||"__sizzle__",K=k.parentNode,f=/^\s*[+~]/.test(i);if(z)x=x.replace(/'/g,"\\$&");else k.setAttribute("id",x);if(f&&K)k=k.parentNode;try{if(!f||K)return m(k.querySelectorAll("[id='"+x+"'] "+i),o)}catch(r){}finally{z||t.removeAttribute("id")}}}return b(i,k,o,B)};for(var h in b)d[h]=b[h];c=null}}();(function(){var b=H.documentElement,c=b.matchesSelector||b.mozMatchesSelector||b.webkitMatchesSelector||b.msMatchesSelector,h=false;
|
90
|
+
try{c.call(H.documentElement,"[test!='']:sizzle")}catch(i){h=true}if(c)d.matchesSelector=function(k,o){o=o.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!d.isXML(k))try{if(h||!g.match.PSEUDO.test(o)&&!/!=/.test(o))return c.call(k,o)}catch(B){}return d(o,null,null,[k]).length>0}})();(function(){var b=H.createElement("div");b.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!b.getElementsByClassName||b.getElementsByClassName("e").length===0)){b.lastChild.className="e";if(b.getElementsByClassName("e").length!==
|
91
|
+
1){g.order.splice(1,0,"CLASS");g.find.CLASS=function(c,h,i){if(typeof h.getElementsByClassName!=="undefined"&&!i)return h.getElementsByClassName(c[1])};b=null}}})();d.contains=H.documentElement.contains?function(b,c){return b!==c&&(b.contains?b.contains(c):true)}:H.documentElement.compareDocumentPosition?function(b,c){return!!(b.compareDocumentPosition(c)&16)}:function(){return false};d.isXML=function(b){return(b=(b?b.ownerDocument||b:0).documentElement)?b.nodeName!=="HTML":false};var e=function(b,
|
92
|
+
c){for(var h,i=[],k="",o=c.nodeType?[c]:c;h=g.match.PSEUDO.exec(b);){k+=h[0];b=b.replace(g.match.PSEUDO,"")}b=g.relative[b]?b+"*":b;h=0;for(var B=o.length;h<B;h++)d(b,o[h],i);return d.filter(k,i)};S.find=d;S.expr=d.selectors;S.expr[":"]=S.expr.filters;S.unique=d.uniqueSort;S.text=d.getText;S.isXMLDoc=d.isXML;S.contains=d.contains})();(function(a){function n(d,g,p){if(a.isFunction(g))return a.grep(d,function(l,m){return!!g.call(l,m,l)===p});else if(g.nodeType)return a.grep(d,function(l){return l===
|
93
|
+
g===p});else if(typeof g==="string"){var A=a.grep(d,function(l){return l.nodeType===1});if(w.test(g))return a.filter(g,A,!p);else g=a.filter(g,A)}return a.grep(d,function(l){return a.inArray(l,g)>=0===p})}var D=/Until$/,G=/^(?:parents|prevUntil|prevAll)/,s=/,/,w=/^.[^:#\[\.,]*$/,u=Array.prototype.slice,F=a.expr.match.POS,j={children:true,contents:true,next:true,prev:true};a.fn.extend({find:function(d){for(var g=this.pushStack("","find",d),p=0,A=0,l=this.length;A<l;A++){p=g.length;a.find(d,this[A],
|
94
|
+
g);if(A>0)for(var m=p;m<g.length;m++)for(var q=0;q<p;q++)if(g[q]===g[m]){g.splice(m--,1);break}}return g},has:function(d){var g=a(d);return this.filter(function(){for(var p=0,A=g.length;p<A;p++)if(a.contains(this,g[p]))return true})},not:function(d){return this.pushStack(n(this,d,false),"not",d)},filter:function(d){return this.pushStack(n(this,d,true),"filter",d)},is:function(d){return!!d&&a.filter(d,this).length>0},closest:function(d,g){var p=[],A,l,m=this[0];if(a.isArray(d)){var q,v={},y=1;if(m&&
|
95
|
+
d.length){A=0;for(l=d.length;A<l;A++){q=d[A];v[q]||(v[q]=a.expr.match.POS.test(q)?a(q,g||this.context):q)}for(;m&&m.ownerDocument&&m!==g;){for(q in v){A=v[q];if(A.jquery?A.index(m)>-1:a(m).is(A))p.push({selector:q,elem:m,level:y})}m=m.parentNode;y++}}return p}q=F.test(d)?a(d,g||this.context):null;A=0;for(l=this.length;A<l;A++)for(m=this[A];m;)if(q?q.index(m)>-1:a.find.matchesSelector(m,d)){p.push(m);break}else{m=m.parentNode;if(!m||!m.ownerDocument||m===g)break}p=p.length>1?a.unique(p):p;return this.pushStack(p,
|
96
|
+
"closest",d)},index:function(d){if(!d||typeof d==="string")return a.inArray(this[0],d?a(d):this.parent().children());return a.inArray(d.jquery?d[0]:d,this)},add:function(d,g){var p=typeof d==="string"?a(d,g):a.makeArray(d),A=a.merge(this.get(),p);return this.pushStack(!p[0]||!p[0].parentNode||p[0].parentNode.nodeType===11||!A[0]||!A[0].parentNode||A[0].parentNode.nodeType===11?A:a.unique(A))},andSelf:function(){return this.add(this.prevObject)}});a.each({parent:function(d){return(d=d.parentNode)&&
|
97
|
+
d.nodeType!==11?d:null},parents:function(d){return a.dir(d,"parentNode")},parentsUntil:function(d,g,p){return a.dir(d,"parentNode",p)},next:function(d){return a.nth(d,2,"nextSibling")},prev:function(d){return a.nth(d,2,"previousSibling")},nextAll:function(d){return a.dir(d,"nextSibling")},prevAll:function(d){return a.dir(d,"previousSibling")},nextUntil:function(d,g,p){return a.dir(d,"nextSibling",p)},prevUntil:function(d,g,p){return a.dir(d,"previousSibling",p)},siblings:function(d){return a.sibling(d.parentNode.firstChild,
|
98
|
+
d)},children:function(d){return a.sibling(d.firstChild)},contents:function(d){return a.nodeName(d,"iframe")?d.contentDocument||d.contentWindow.document:a.makeArray(d.childNodes)}},function(d,g){a.fn[d]=function(p,A){var l=a.map(this,g,p),m=u.call(arguments);D.test(d)||(A=p);if(A&&typeof A==="string")l=a.filter(A,l);l=this.length>1&&!j[d]?a.unique(l):l;if((this.length>1||s.test(A))&&G.test(d))l=l.reverse();return this.pushStack(l,d,m.join(","))}});a.extend({filter:function(d,g,p){if(p)d=":not("+d+
|
99
|
+
")";return g.length===1?a.find.matchesSelector(g[0],d)?[g[0]]:[]:a.find.matches(d,g)},dir:function(d,g,p){var A=[];for(d=d[g];d&&d.nodeType!==9&&(p===J||d.nodeType!==1||!a(d).is(p));){d.nodeType===1&&A.push(d);d=d[g]}return A},nth:function(d,g,p){g=g||1;for(var A=0;d;d=d[p])if(d.nodeType===1&&++A===g)break;return d},sibling:function(d,g){for(var p=[];d;d=d.nextSibling)d.nodeType===1&&d!==g&&p.push(d);return p}})})(S);(function(a){function n(l,m){if(!(m.nodeType!==1||!a.hasData(l))){var q=a.expando,
|
100
|
+
v=a.data(l),y=a.data(m,v);if(v=v[q]){var e=v.events;y=y[q]=a.extend({},v);if(e){delete y.handle;y.events={};for(var b in e){q=0;for(v=e[b].length;q<v;q++)a.event.add(m,b+(e[b][q].namespace?".":"")+e[b][q].namespace,e[b][q],e[b][q].data)}}}}}function D(l,m){if(m.nodeType===1){var q=m.nodeName.toLowerCase();m.clearAttributes();m.mergeAttributes(l);if(q==="object")m.outerHTML=l.outerHTML;else if(q==="input"&&(l.type==="checkbox"||l.type==="radio")){if(l.checked)m.defaultChecked=m.checked=l.checked;if(m.value!==
|
101
|
+
l.value)m.value=l.value}else if(q==="option")m.selected=l.defaultSelected;else if(q==="input"||q==="textarea")m.defaultValue=l.defaultValue;m.removeAttribute(a.expando)}}function G(l,m){m.src?a.ajax({url:m.src,async:false,dataType:"script"}):a.globalEval(m.text||m.textContent||m.innerHTML||"");m.parentNode&&m.parentNode.removeChild(m)}var s=/ jQuery\d+="(?:\d+|null)"/g,w=/^\s+/,u=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,F=/<([\w:]+)/,j=/<tbody/i,d=/<|&#?\w+;/,g=/<(?:script|object|embed|option|style)/i,
|
102
|
+
p=/checked\s*(?:[^=]|=\s*.checked.)/i,A={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};A.optgroup=A.option;A.tbody=A.tfoot=A.colgroup=A.caption=A.thead;A.th=A.td;if(!a.support.htmlSerialize)A._default=[1,"div<div>","</div>"];
|
103
|
+
a.fn.extend({text:function(l){if(a.isFunction(l))return this.each(function(m){var q=a(this);q.text(l.call(this,m,q.text()))});if(typeof l!=="object"&&l!==J)return this.empty().append((this[0]&&this[0].ownerDocument||H).createTextNode(l));return a.text(this)},wrapAll:function(l){if(a.isFunction(l))return this.each(function(q){a(this).wrapAll(l.call(this,q))});if(this[0]){var m=a(l,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&m.insertBefore(this[0]);m.map(function(){for(var q=this;q.firstChild&&
|
104
|
+
q.firstChild.nodeType===1;)q=q.firstChild;return q}).append(this)}return this},wrapInner:function(l){if(a.isFunction(l))return this.each(function(m){a(this).wrapInner(l.call(this,m))});return this.each(function(){var m=a(this),q=m.contents();q.length?q.wrapAll(l):m.append(l)})},wrap:function(l){return this.each(function(){a(this).wrapAll(l)})},unwrap:function(){return this.parent().each(function(){a.nodeName(this,"body")||a(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,
|
105
|
+
true,function(l){this.nodeType===1&&this.appendChild(l)})},prepend:function(){return this.domManip(arguments,true,function(l){this.nodeType===1&&this.insertBefore(l,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(m){this.parentNode.insertBefore(m,this)});else if(arguments.length){var l=a(arguments[0]);l.push.apply(l,this.toArray());return this.pushStack(l,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,
|
106
|
+
false,function(m){this.parentNode.insertBefore(m,this.nextSibling)});else if(arguments.length){var l=this.pushStack(this,"after",arguments);l.push.apply(l,a(arguments[0]).toArray());return l}},remove:function(l,m){for(var q=0,v;(v=this[q])!=null;q++)if(!l||a.filter(l,[v]).length){if(!m&&v.nodeType===1){a.cleanData(v.getElementsByTagName("*"));a.cleanData([v])}v.parentNode&&v.parentNode.removeChild(v)}return this},empty:function(){for(var l=0,m;(m=this[l])!=null;l++)for(m.nodeType===1&&a.cleanData(m.getElementsByTagName("*"));m.firstChild;)m.removeChild(m.firstChild);
|
107
|
+
return this},clone:function(l,m){l=l==null?false:l;m=m==null?l:m;return this.map(function(){return a.clone(this,l,m)})},html:function(l){if(l===J)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(s,""):null;else if(typeof l==="string"&&!g.test(l)&&(a.support.leadingWhitespace||!w.test(l))&&!A[(F.exec(l)||["",""])[1].toLowerCase()]){l=l.replace(u,"<$1></$2>");try{for(var m=0,q=this.length;m<q;m++)if(this[m].nodeType===1){a.cleanData(this[m].getElementsByTagName("*"));this[m].innerHTML=
|
108
|
+
l}}catch(v){this.empty().append(l)}}else a.isFunction(l)?this.each(function(y){var e=a(this);e.html(l.call(this,y,e.html()))}):this.empty().append(l);return this},replaceWith:function(l){if(this[0]&&this[0].parentNode){if(a.isFunction(l))return this.each(function(m){var q=a(this),v=q.html();q.replaceWith(l.call(this,m,v))});if(typeof l!=="string")l=a(l).detach();return this.each(function(){var m=this.nextSibling,q=this.parentNode;a(this).remove();m?a(m).before(l):a(q).append(l)})}else return this.pushStack(a(a.isFunction(l)?
|
109
|
+
l():l),"replaceWith",l)},detach:function(l){return this.remove(l,true)},domManip:function(l,m,q){var v,y,e,b=l[0],c=[];if(!a.support.checkClone&&arguments.length===3&&typeof b==="string"&&p.test(b))return this.each(function(){a(this).domManip(l,m,q,true)});if(a.isFunction(b))return this.each(function(k){var o=a(this);l[0]=b.call(this,k,m?o.html():J);o.domManip(l,m,q)});if(this[0]){v=b&&b.parentNode;v=a.support.parentNode&&v&&v.nodeType===11&&v.childNodes.length===this.length?{fragment:v}:a.buildFragment(l,
|
110
|
+
this,c);e=v.fragment;if(y=e.childNodes.length===1?e=e.firstChild:e.firstChild){m=m&&a.nodeName(y,"tr");y=0;for(var h=this.length,i=h-1;y<h;y++)q.call(m?a.nodeName(this[y],"table")?this[y].getElementsByTagName("tbody")[0]||this[y].appendChild(this[y].ownerDocument.createElement("tbody")):this[y]:this[y],v.cacheable||h>1&&y<i?a.clone(e,true,true):e)}c.length&&a.each(c,G)}return this}});a.buildFragment=function(l,m,q){var v,y,e;m=m&&m[0]?m[0].ownerDocument||m[0]:H;if(l.length===1&&typeof l[0]==="string"&&
|
111
|
+
l[0].length<512&&m===H&&l[0].charAt(0)==="<"&&!g.test(l[0])&&(a.support.checkClone||!p.test(l[0]))){y=true;if(e=a.fragments[l[0]])if(e!==1)v=e}if(!v){v=m.createDocumentFragment();a.clean(l,m,v,q)}if(y)a.fragments[l[0]]=e?v:1;return{fragment:v,cacheable:y}};a.fragments={};a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(l,m){a.fn[l]=function(q){var v=[];q=a(q);var y=this.length===1&&this[0].parentNode;if(y&&y.nodeType===11&&
|
112
|
+
y.childNodes.length===1&&q.length===1){q[m](this[0]);return this}else{y=0;for(var e=q.length;y<e;y++){var b=(y>0?this.clone(true):this).get();a(q[y])[m](b);v=v.concat(b)}return this.pushStack(v,l,q.selector)}}});a.extend({clone:function(l,m,q){var v=l.cloneNode(true),y,e,b;if(!a.support.noCloneEvent&&(l.nodeType===1||l.nodeType===11)&&!a.isXMLDoc(l)){D(l,v);y=l.getElementsByTagName("*");e=v.getElementsByTagName("*");for(b=0;y[b];++b)D(y[b],e[b])}if(m){n(l,v);if(q&&"getElementsByTagName"in l){y=l.getElementsByTagName("*");
|
113
|
+
e=v.getElementsByTagName("*");if(y.length)for(b=0;y[b];++b)n(y[b],e[b])}}return v},clean:function(l,m,q,v){m=m||H;if(typeof m.createElement==="undefined")m=m.ownerDocument||m[0]&&m[0].ownerDocument||H;for(var y=[],e=0,b;(b=l[e])!=null;e++){if(typeof b==="number")b+="";if(b){if(typeof b==="string"&&!d.test(b))b=m.createTextNode(b);else if(typeof b==="string"){b=b.replace(u,"<$1></$2>");var c=(F.exec(b)||["",""])[1].toLowerCase(),h=A[c]||A._default,i=h[0],k=m.createElement("div");for(k.innerHTML=h[1]+
|
114
|
+
b+h[2];i--;)k=k.lastChild;if(!a.support.tbody){i=j.test(b);c=c==="table"&&!i?k.firstChild&&k.firstChild.childNodes:h[1]==="<table>"&&!i?k.childNodes:[];for(h=c.length-1;h>=0;--h)a.nodeName(c[h],"tbody")&&!c[h].childNodes.length&&c[h].parentNode.removeChild(c[h])}!a.support.leadingWhitespace&&w.test(b)&&k.insertBefore(m.createTextNode(w.exec(b)[0]),k.firstChild);b=k.childNodes}if(b.nodeType)y.push(b);else y=a.merge(y,b)}}if(q)for(e=0;y[e];e++)if(v&&a.nodeName(y[e],"script")&&(!y[e].type||y[e].type.toLowerCase()===
|
115
|
+
"text/javascript"))v.push(y[e].parentNode?y[e].parentNode.removeChild(y[e]):y[e]);else{y[e].nodeType===1&&y.splice.apply(y,[e+1,0].concat(a.makeArray(y[e].getElementsByTagName("script"))));q.appendChild(y[e])}return y},cleanData:function(l){for(var m,q,v=a.cache,y=a.expando,e=a.event.special,b=a.support.deleteExpando,c=0,h;(h=l[c])!=null;c++)if(!(h.nodeName&&a.noData[h.nodeName.toLowerCase()]))if(q=h[a.expando]){if((m=v[q]&&v[q][y])&&m.events){for(var i in m.events)e[i]?a.event.remove(h,i):a.removeEvent(h,
|
116
|
+
i,m.handle);if(m.handle)m.handle.elem=null}if(b)delete h[a.expando];else h.removeAttribute&&h.removeAttribute(a.expando);delete v[q]}}})})(S);(function(a){function n(q,v,y){var e=v==="width"?q.offsetWidth:q.offsetHeight;if(y==="border")return e;a.each(v==="width"?d:g,function(){y||(e-=parseFloat(a.css(q,"padding"+this))||0);if(y==="margin")e+=parseFloat(a.css(q,"margin"+this))||0;else e-=parseFloat(a.css(q,"border"+this+"Width"))||0});return e}var D=/alpha\([^)]*\)/i,G=/opacity=([^)]*)/,s=/-([a-z])/ig,
|
117
|
+
w=/([A-Z])/g,u=/^-?\d+(?:px)?$/i,F=/^-?\d/,j={position:"absolute",visibility:"hidden",display:"block"},d=["Left","Right"],g=["Top","Bottom"],p,A,l,m=function(q,v){return v.toUpperCase()};a.fn.css=function(q,v){if(arguments.length===2&&v===J)return this;return a.access(this,q,v,true,function(y,e,b){return b!==J?a.style(y,e,b):a.css(y,e)})};a.extend({cssHooks:{opacity:{get:function(q,v){if(v){var y=p(q,"opacity","opacity");return y===""?"1":y}else return q.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,
|
118
|
+
opacity:true,zoom:true,lineHeight:true},cssProps:{"float":a.support.cssFloat?"cssFloat":"styleFloat"},style:function(q,v,y,e){if(!(!q||q.nodeType===3||q.nodeType===8||!q.style)){var b,c=a.camelCase(v),h=q.style,i=a.cssHooks[c];v=a.cssProps[c]||c;if(y!==J){if(!(typeof y==="number"&&isNaN(y)||y==null)){if(typeof y==="number"&&!a.cssNumber[c])y+="px";if(!i||!("set"in i)||(y=i.set(q,y))!==J)try{h[v]=y}catch(k){}}}else{if(i&&"get"in i&&(b=i.get(q,false,e))!==J)return b;return h[v]}}},css:function(q,v,
|
119
|
+
y){var e,b=a.camelCase(v),c=a.cssHooks[b];v=a.cssProps[b]||b;if(c&&"get"in c&&(e=c.get(q,true,y))!==J)return e;else if(p)return p(q,v,b)},swap:function(q,v,y){var e={},b;for(b in v){e[b]=q.style[b];q.style[b]=v[b]}y.call(q);for(b in v)q.style[b]=e[b]},camelCase:function(q){return q.replace(s,m)}});a.curCSS=a.css;a.each(["height","width"],function(q,v){a.cssHooks[v]={get:function(y,e,b){var c;if(e){if(y.offsetWidth!==0)c=n(y,v,b);else a.swap(y,j,function(){c=n(y,v,b)});if(c<=0){c=p(y,v,v);if(c==="0px"&&
|
120
|
+
l)c=l(y,v,v);if(c!=null)return c===""||c==="auto"?"0px":c}if(c<0||c==null){c=y.style[v];return c===""||c==="auto"?"0px":c}return typeof c==="string"?c:c+"px"}},set:function(y,e){if(u.test(e)){e=parseFloat(e);if(e>=0)return e+"px"}else return e}}});if(!a.support.opacity)a.cssHooks.opacity={get:function(q,v){return G.test((v&&q.currentStyle?q.currentStyle.filter:q.style.filter)||"")?parseFloat(RegExp.$1)/100+"":v?"1":""},set:function(q,v){var y=q.style;y.zoom=1;var e=a.isNaN(v)?"":"alpha(opacity="+
|
121
|
+
v*100+")",b=y.filter||"";y.filter=D.test(b)?b.replace(D,e):y.filter+" "+e}};if(H.defaultView&&H.defaultView.getComputedStyle)A=function(q,v,y){var e;y=y.replace(w,"-$1").toLowerCase();if(!(v=q.ownerDocument.defaultView))return J;if(v=v.getComputedStyle(q,null)){e=v.getPropertyValue(y);if(e===""&&!a.contains(q.ownerDocument.documentElement,q))e=a.style(q,y)}return e};if(H.documentElement.currentStyle)l=function(q,v){var y,e=q.currentStyle&&q.currentStyle[v],b=q.runtimeStyle&&q.runtimeStyle[v],c=q.style;
|
122
|
+
if(!u.test(e)&&F.test(e)){y=c.left;if(b)q.runtimeStyle.left=q.currentStyle.left;c.left=v==="fontSize"?"1em":e||0;e=c.pixelLeft+"px";c.left=y;if(b)q.runtimeStyle.left=b}return e===""?"auto":e};p=A||l;if(a.expr&&a.expr.filters){a.expr.filters.hidden=function(q){var v=q.offsetHeight;return q.offsetWidth===0&&v===0||!a.support.reliableHiddenOffsets&&(q.style.display||a.css(q,"display"))==="none"};a.expr.filters.visible=function(q){return!a.expr.filters.hidden(q)}}})(S);(function(a){function n(t){return function(z,
|
123
|
+
I){if(typeof z!=="string"){I=z;z="*"}if(a.isFunction(I))for(var x=z.toLowerCase().split(q),K=0,f=x.length,r,C;K<f;K++){r=x[K];if(C=/^\+/.test(r))r=r.substr(1)||"*";r=t[r]=t[r]||[];r[C?"unshift":"push"](I)}}}function D(t,z,I,x,K,f){K=K||z.dataTypes[0];f=f||{};f[K]=true;K=t[K];for(var r=0,C=K?K.length:0,E=t===h,L;r<C&&(E||!L);r++){L=K[r](z,I,x);if(typeof L==="string")if(!E||f[L])L=J;else{z.dataTypes.unshift(L);L=D(t,z,I,x,L,f)}}if((E||!L)&&!f["*"])L=D(t,z,I,x,"*",f);return L}function G(t,z,I,x){if(a.isArray(z)&&
|
124
|
+
z.length)a.each(z,function(f,r){I||w.test(t)?x(t,r):G(t+"["+(typeof r==="object"||a.isArray(r)?f:"")+"]",r,I,x)});else if(!I&&z!=null&&typeof z==="object")if(a.isArray(z)||a.isEmptyObject(z))x(t,"");else for(var K in z)G(t+"["+K+"]",z[K],I,x);else x(t,z)}var s=/%20/g,w=/\[\]$/,u=/\r?\n/g,F=/#.*$/,j=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,d=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,g=/^(?:GET|HEAD)$/,p=/^\/\//,A=/\?/,l=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
|
125
|
+
m=/^(?:select|textarea)/i,q=/\s+/,v=/([?&])_=[^&]*/,y=/(^|\-)([a-z])/g,e=function(t,z,I){return z+I.toUpperCase()},b=/^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/,c=a.fn.load,h={},i={},k,o;try{k=H.location.href}catch(B){k=H.createElement("a");k.href="";k=k.href}o=b.exec(k.toLowerCase());a.fn.extend({load:function(t,z,I){if(typeof t!=="string"&&c)return c.apply(this,arguments);else if(!this.length)return this;var x=t.indexOf(" ");if(x>=0){var K=t.slice(x,t.length);t=t.slice(0,x)}x="GET";if(z)if(a.isFunction(z)){I=
|
126
|
+
z;z=J}else if(typeof z==="object"){z=a.param(z,a.ajaxSettings.traditional);x="POST"}var f=this;a.ajax({url:t,type:x,dataType:"html",data:z,complete:function(r,C,E){E=r.responseText;if(r.isResolved()){r.done(function(L){E=L});f.html(K?a("<div>").append(E.replace(l,"")).find(K):E)}I&&f.each(I,[E,C,r])}});return this},serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?a.makeArray(this.elements):this}).filter(function(){return this.name&&
|
127
|
+
!this.disabled&&(this.checked||m.test(this.nodeName)||d.test(this.type))}).map(function(t,z){var I=a(this).val();return I==null?null:a.isArray(I)?a.map(I,function(x){return{name:z.name,value:x.replace(u,"\r\n")}}):{name:z.name,value:I.replace(u,"\r\n")}}).get()}});a.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(t,z){a.fn[z]=function(I){return this.bind(z,I)}});a.each(["get","post"],function(t,z){a[z]=function(I,x,K,f){if(a.isFunction(x)){f=f||K;K=x;x=J}return a.ajax({type:z,
|
128
|
+
url:I,data:x,success:K,dataType:f})}});a.extend({getScript:function(t,z){return a.get(t,J,z,"script")},getJSON:function(t,z,I){return a.get(t,z,I,"json")},ajaxSetup:function(t,z){if(z)a.extend(true,t,a.ajaxSettings,z);else{z=t;t=a.extend(true,a.ajaxSettings,z)}for(var I in{context:1,url:1})if(I in z)t[I]=z[I];else if(I in a.ajaxSettings)t[I]=a.ajaxSettings[I];return t},ajaxSettings:{url:k,isLocal:/(?:^file|^widget|\-extension):$/.test(o[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",
|
129
|
+
processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":P.String,"text html":true,"text json":a.parseJSON,"text xml":a.parseXML}},ajaxPrefilter:n(h),ajaxTransport:n(i),ajax:function(t,z){function I(R,Q,U,ea){if(Z!==2){Z=2;da&&clearTimeout(da);W=J;O=ea||"";N.readyState=R?4:0;var ja,
|
130
|
+
pa,ma;if(U){ea=x;var ua=N,qa=ea.contents,$=ea.dataTypes,va=ea.responseFields,X,V,aa,ra;for(V in va)if(V in U)ua[va[V]]=U[V];for(;$[0]==="*";){$.shift();if(X===J)X=ea.mimeType||ua.getResponseHeader("content-type")}if(X)for(V in qa)if(qa[V]&&qa[V].test(X)){$.unshift(V);break}if($[0]in U)aa=$[0];else{for(V in U){if(!$[0]||ea.converters[V+" "+$[0]]){aa=V;break}ra||(ra=V)}aa=aa||ra}if(aa){aa!==$[0]&&$.unshift(aa);U=U[aa]}else U=void 0}else U=J;U=U;if(R>=200&&R<300||R===304){if(x.ifModified){if(X=N.getResponseHeader("Last-Modified"))a.lastModified[L]=
|
131
|
+
X;if(X=N.getResponseHeader("Etag"))a.etag[L]=X}if(R===304){Q="notmodified";ja=true}else try{X=x;U=U;if(X.dataFilter)U=X.dataFilter(U,X.dataType);var sa=X.dataTypes;V={};var ka,na,ya=sa.length,oa,ba=sa[0],ga,ta,ca,fa,ha;for(ka=1;ka<ya;ka++){if(ka===1)for(na in X.converters)if(typeof na==="string")V[na.toLowerCase()]=X.converters[na];ga=ba;ba=sa[ka];if(ba==="*")ba=ga;else if(ga!=="*"&&ga!==ba){ta=ga+" "+ba;ca=V[ta]||V["* "+ba];if(!ca){ha=J;for(fa in V){oa=fa.split(" ");if(oa[0]===ga||oa[0]==="*")if(ha=
|
132
|
+
V[oa[1]+" "+ba]){fa=V[fa];if(fa===true)ca=ha;else if(ha===true)ca=fa;break}}}ca||ha||a.error("No conversion from "+ta.replace(" "," to "));if(ca!==true)U=ca?ca(U):ha(fa(U))}}pa=U;Q="success";ja=true}catch(za){Q="parsererror";ma=za}}else{ma=Q;if(!Q||R){Q="error";if(R<0)R=0}}N.status=R;N.statusText=Q;ja?r.resolveWith(K,[pa,Q,N]):r.rejectWith(K,[N,Q,ma]);N.statusCode(E);E=J;if(la)f.trigger("ajax"+(ja?"Success":"Error"),[N,x,ja?pa:ma]);C.resolveWith(K,[N,Q]);if(la){f.trigger("ajaxComplete",[N,x]);--a.active||
|
133
|
+
a.event.trigger("ajaxStop")}}}if(typeof t==="object"){z=t;t=J}z=z||{};var x=a.ajaxSetup({},z),K=x.context||x,f=K!==x&&(K.nodeType||K instanceof a)?a(K):a.event,r=a.Deferred(),C=a._Deferred(),E=x.statusCode||{},L,M={},O,T,W,da,Y,Z=0,la,ia,N={readyState:0,setRequestHeader:function(R,Q){Z||(M[R.toLowerCase().replace(y,e)]=Q);return this},getAllResponseHeaders:function(){return Z===2?O:null},getResponseHeader:function(R){var Q;if(Z===2){if(!T)for(T={};Q=j.exec(O);)T[Q[1].toLowerCase()]=Q[2];Q=T[R.toLowerCase()]}return Q===
|
134
|
+
J?null:Q},overrideMimeType:function(R){if(!Z)x.mimeType=R;return this},abort:function(R){R=R||"abort";W&&W.abort(R);I(0,R);return this}};r.promise(N);N.success=N.done;N.error=N.fail;N.complete=C.done;N.statusCode=function(R){if(R){var Q;if(Z<2)for(Q in R)E[Q]=[E[Q],R[Q]];else{Q=R[N.status];N.then(Q,Q)}}return this};x.url=((t||x.url)+"").replace(F,"").replace(p,o[1]+"//");x.dataTypes=a.trim(x.dataType||"*").toLowerCase().split(q);if(!x.crossDomain){Y=b.exec(x.url.toLowerCase());x.crossDomain=!!(Y&&
|
135
|
+
(Y[1]!=o[1]||Y[2]!=o[2]||(Y[3]||(Y[1]==="http:"?80:443))!=(o[3]||(o[1]==="http:"?80:443))))}if(x.data&&x.processData&&typeof x.data!=="string")x.data=a.param(x.data,x.traditional);D(h,x,z,N);if(Z===2)return false;la=x.global;x.type=x.type.toUpperCase();x.hasContent=!g.test(x.type);la&&a.active++===0&&a.event.trigger("ajaxStart");if(!x.hasContent){if(x.data)x.url+=(A.test(x.url)?"&":"?")+x.data;L=x.url;if(x.cache===false){Y=a.now();var wa=x.url.replace(v,"$1_="+Y);x.url=wa+(wa===x.url?(A.test(x.url)?
|
136
|
+
"&":"?")+"_="+Y:"")}}if(x.data&&x.hasContent&&x.contentType!==false||z.contentType)M["Content-Type"]=x.contentType;if(x.ifModified){L=L||x.url;if(a.lastModified[L])M["If-Modified-Since"]=a.lastModified[L];if(a.etag[L])M["If-None-Match"]=a.etag[L]}M.Accept=x.dataTypes[0]&&x.accepts[x.dataTypes[0]]?x.accepts[x.dataTypes[0]]+(x.dataTypes[0]!=="*"?", */*; q=0.01":""):x.accepts["*"];for(ia in x.headers)N.setRequestHeader(ia,x.headers[ia]);if(x.beforeSend&&(x.beforeSend.call(K,N,x)===false||Z===2)){N.abort();
|
137
|
+
return false}for(ia in{success:1,error:1,complete:1})N[ia](x[ia]);if(W=D(i,x,z,N)){N.readyState=1;la&&f.trigger("ajaxSend",[N,x]);if(x.async&&x.timeout>0)da=setTimeout(function(){N.abort("timeout")},x.timeout);try{Z=1;W.send(M,I)}catch(xa){status<2?I(-1,xa):a.error(xa)}}else I(-1,"No Transport");return N},param:function(t,z){var I=[],x=function(f,r){r=a.isFunction(r)?r():r;I[I.length]=encodeURIComponent(f)+"="+encodeURIComponent(r)};if(z===J)z=a.ajaxSettings.traditional;if(a.isArray(t)||t.jquery&&
|
138
|
+
!a.isPlainObject(t))a.each(t,function(){x(this.name,this.value)});else for(var K in t)G(K,t[K],z,x);return I.join("&").replace(s,"+")}});a.extend({active:0,lastModified:{},etag:{}})})(S);(function(a){var n=a.now(),D=/(\=)\?(&|$)|()\?\?()/i;a.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return a.expando+"_"+n++}});a.ajaxPrefilter("json jsonp",function(G,s,w){var u=typeof G.data==="string";if(G.dataTypes[0]==="jsonp"||s.jsonpCallback||s.jsonp!=null||G.jsonp!==false&&(D.test(G.url)||u&&D.test(G.data))){var F,
|
139
|
+
j=G.jsonpCallback=a.isFunction(G.jsonpCallback)?G.jsonpCallback():G.jsonpCallback,d=P[j];s=G.url;var g=G.data,p="$1"+j+"$2",A=function(){P[j]=d;F&&a.isFunction(d)&&P[j](F[0])};if(G.jsonp!==false){s=s.replace(D,p);if(G.url===s){if(u)g=g.replace(D,p);if(G.data===g)s+=(/\?/.test(s)?"&":"?")+G.jsonp+"="+j}}G.url=s;G.data=g;P[j]=function(l){F=[l]};w.then(A,A);G.converters["script json"]=function(){F||a.error(j+" was not called");return F[0]};G.dataTypes[0]="json";return"script"}})})(S);(function(a){a.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
|
140
|
+
contents:{script:/javascript|ecmascript/},converters:{"text script":function(n){a.globalEval(n);return n}}});a.ajaxPrefilter("script",function(n){if(n.cache===J)n.cache=false;if(n.crossDomain){n.type="GET";n.global=false}});a.ajaxTransport("script",function(n){if(n.crossDomain){var D,G=H.head||H.getElementsByTagName("head")[0]||H.documentElement;return{send:function(s,w){D=H.createElement("script");D.async="async";if(n.scriptCharset)D.charset=n.scriptCharset;D.src=n.url;D.onload=D.onreadystatechange=
|
141
|
+
function(u,F){if(!D.readyState||/loaded|complete/.test(D.readyState)){D.onload=D.onreadystatechange=null;G&&D.parentNode&&G.removeChild(D);D=J;F||w(200,"success")}};G.insertBefore(D,G.firstChild)},abort:function(){D&&D.onload(0,1)}}}})})(S);(function(a){function n(){a(P).unload(function(){for(var u in s)s[u](0,1)})}function D(){try{return new P.XMLHttpRequest}catch(u){}}var G=a.now(),s,w;a.ajaxSettings.xhr=P.ActiveXObject?function(){var u;if(!(u=!this.isLocal&&D()))a:{try{u=new P.ActiveXObject("Microsoft.XMLHTTP");
|
142
|
+
break a}catch(F){}u=void 0}return u}:D;w=a.ajaxSettings.xhr();a.support.ajax=!!w;a.support.cors=w&&"withCredentials"in w;w=J;a.support.ajax&&a.ajaxTransport(function(u){if(!u.crossDomain||a.support.cors){var F;return{send:function(j,d){var g=u.xhr(),p,A;u.username?g.open(u.type,u.url,u.async,u.username,u.password):g.open(u.type,u.url,u.async);if(u.xhrFields)for(A in u.xhrFields)g[A]=u.xhrFields[A];u.mimeType&&g.overrideMimeType&&g.overrideMimeType(u.mimeType);if(!(u.crossDomain&&!u.hasContent)&&!j["X-Requested-With"])j["X-Requested-With"]=
|
143
|
+
"XMLHttpRequest";try{for(A in j)g.setRequestHeader(A,j[A])}catch(l){}g.send(u.hasContent&&u.data||null);F=function(m,q){var v,y,e,b,c;try{if(F&&(q||g.readyState===4)){F=J;if(p){g.onreadystatechange=a.noop;delete s[p]}if(q)g.readyState!==4&&g.abort();else{v=g.status;e=g.getAllResponseHeaders();b={};if((c=g.responseXML)&&c.documentElement)b.xml=c;b.text=g.responseText;try{y=g.statusText}catch(h){y=""}if(!v&&u.isLocal&&!u.crossDomain)v=b.text?200:404;else if(v===1223)v=204}}}catch(i){q||d(-1,i)}b&&d(v,
|
144
|
+
y,b,e)};if(!u.async||g.readyState===4)F();else{if(!s){s={};n()}p=G++;g.onreadystatechange=s[p]=F}},abort:function(){F&&F(0,1)}}}})})(S);(function(a){function n(j,d){var g={};a.each(F.concat.apply([],F.slice(0,d)),function(){g[this]=j});return g}function D(j){if(!G[j]){var d=a("<"+j+">").appendTo("body"),g=d.css("display");d.remove();if(g==="none"||g==="")g="block";G[j]=g}return G[j]}var G={},s=/^(?:toggle|show|hide)$/,w=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,u,F=[["height","marginTop","marginBottom",
|
145
|
+
"paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];a.fn.extend({show:function(j,d,g){if(j||j===0)return this.animate(n("show",3),j,d,g);else{g=0;for(var p=this.length;g<p;g++){j=this[g];d=j.style.display;if(!a._data(j,"olddisplay")&&d==="none")d=j.style.display="";d===""&&a.css(j,"display")==="none"&&a._data(j,"olddisplay",D(j.nodeName))}for(g=0;g<p;g++){j=this[g];d=j.style.display;if(d===""||d==="none")j.style.display=a._data(j,"olddisplay")||
|
146
|
+
""}return this}},hide:function(j,d,g){if(j||j===0)return this.animate(n("hide",3),j,d,g);else{j=0;for(d=this.length;j<d;j++){g=a.css(this[j],"display");g!=="none"&&!a._data(this[j],"olddisplay")&&a._data(this[j],"olddisplay",g)}for(j=0;j<d;j++)this[j].style.display="none";return this}},_toggle:a.fn.toggle,toggle:function(j,d,g){var p=typeof j==="boolean";if(a.isFunction(j)&&a.isFunction(d))this._toggle.apply(this,arguments);else j==null||p?this.each(function(){var A=p?j:a(this).is(":hidden");a(this)[A?
|
147
|
+
"show":"hide"]()}):this.animate(n("toggle",3),j,d,g);return this},fadeTo:function(j,d,g,p){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:d},j,g,p)},animate:function(j,d,g,p){var A=a.speed(d,g,p);if(a.isEmptyObject(j))return this.each(A.complete);return this[A.queue===false?"each":"queue"](function(){var l=a.extend({},A),m,q=this.nodeType===1,v=q&&a(this).is(":hidden"),y=this;for(m in j){var e=a.camelCase(m);if(m!==e){j[e]=j[m];delete j[m];m=e}if(j[m]==="hide"&&v||j[m]===
|
148
|
+
"show"&&!v)return l.complete.call(this);if(q&&(m==="height"||m==="width")){l.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(a.css(this,"display")==="inline"&&a.css(this,"float")==="none")if(a.support.inlineBlockNeedsLayout)if(D(this.nodeName)==="inline")this.style.display="inline-block";else{this.style.display="inline";this.style.zoom=1}else this.style.display="inline-block"}if(a.isArray(j[m])){(l.specialEasing=l.specialEasing||{})[m]=j[m][1];j[m]=j[m][0]}}if(l.overflow!=
|
149
|
+
null)this.style.overflow="hidden";l.curAnim=a.extend({},j);a.each(j,function(b,c){var h=new a.fx(y,l,b);if(s.test(c))h[c==="toggle"?v?"show":"hide":c](j);else{var i=w.exec(c),k=h.cur();if(i){var o=parseFloat(i[2]),B=i[3]||(a.cssNumber[b]?"":"px");if(B!=="px"){a.style(y,b,(o||1)+B);k=(o||1)/h.cur()*k;a.style(y,b,k+B)}if(i[1])o=(i[1]==="-="?-1:1)*o+k;h.custom(k,o,B)}else h.custom(k,c,"")}});return true})},stop:function(j,d){var g=a.timers;j&&this.queue([]);this.each(function(){for(var p=g.length-1;p>=
|
150
|
+
0;p--)if(g[p].elem===this){d&&g[p](true);g.splice(p,1)}});d||this.dequeue();return this}});a.each({slideDown:n("show",1),slideUp:n("hide",1),slideToggle:n("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(j,d){a.fn[j]=function(g,p,A){return this.animate(d,g,p,A)}});a.extend({speed:function(j,d,g){var p=j&&typeof j==="object"?a.extend({},j):{complete:g||!g&&d||a.isFunction(j)&&j,duration:j,easing:g&&d||d&&!a.isFunction(d)&&d};p.duration=a.fx.off?0:
|
151
|
+
typeof p.duration==="number"?p.duration:p.duration in a.fx.speeds?a.fx.speeds[p.duration]:a.fx.speeds._default;p.old=p.complete;p.complete=function(){p.queue!==false&&a(this).dequeue();a.isFunction(p.old)&&p.old.call(this)};return p},easing:{linear:function(j,d,g,p){return g+p*j},swing:function(j,d,g,p){return(-Math.cos(j*Math.PI)/2+0.5)*p+g}},timers:[],fx:function(j,d,g){this.options=d;this.elem=j;this.prop=g;if(!d.orig)d.orig={}}});a.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,
|
152
|
+
this.now,this);(a.fx.step[this.prop]||a.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var j,d=a.css(this.elem,this.prop);return isNaN(j=parseFloat(d))?!d||d==="auto"?0:d:j},custom:function(j,d,g){function p(m){return A.step(m)}var A=this,l=a.fx;this.startTime=a.now();this.start=j;this.end=d;this.unit=g||this.unit||(a.cssNumber[this.prop]?"":"px");this.now=this.start;this.pos=this.state=0;p.elem=
|
153
|
+
this.elem;if(p()&&a.timers.push(p)&&!u)u=setInterval(l.tick,l.interval)},show:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());a(this.elem).show()},hide:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(j){var d=a.now(),g=true;if(j||d>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=
|
154
|
+
1;this.update();this.options.curAnim[this.prop]=true;for(var p in this.options.curAnim)if(this.options.curAnim[p]!==true)g=false;if(g){if(this.options.overflow!=null&&!a.support.shrinkWrapBlocks){var A=this.elem,l=this.options;a.each(["","X","Y"],function(q,v){A.style["overflow"+v]=l.overflow[q]})}this.options.hide&&a(this.elem).hide();if(this.options.hide||this.options.show)for(var m in this.options.curAnim)a.style(this.elem,m,this.options.orig[m]);this.options.complete.call(this.elem)}return false}else{j=
|
155
|
+
d-this.startTime;this.state=j/this.options.duration;d=this.options.easing||(a.easing.swing?"swing":"linear");this.pos=a.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||d](this.state,j,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};a.extend(a.fx,{tick:function(){for(var j=a.timers,d=0;d<j.length;d++)j[d]()||j.splice(d--,1);j.length||a.fx.stop()},interval:13,stop:function(){clearInterval(u);u=null},speeds:{slow:600,
|
156
|
+
fast:200,_default:400},step:{opacity:function(j){a.style(j.elem,"opacity",j.now)},_default:function(j){if(j.elem.style&&j.elem.style[j.prop]!=null)j.elem.style[j.prop]=(j.prop==="width"||j.prop==="height"?Math.max(0,j.now):j.now)+j.unit;else j.elem[j.prop]=j.now}}});if(a.expr&&a.expr.filters)a.expr.filters.animated=function(j){return a.grep(a.timers,function(d){return j===d.elem}).length}})(S);(function(a){function n(s){return a.isWindow(s)?s:s.nodeType===9?s.defaultView||s.parentWindow:false}var D=
|
157
|
+
/^t(?:able|d|h)$/i,G=/^(?:body|html)$/i;a.fn.offset="getBoundingClientRect"in H.documentElement?function(s){var w=this[0],u;if(s)return this.each(function(g){a.offset.setOffset(this,s,g)});if(!w||!w.ownerDocument)return null;if(w===w.ownerDocument.body)return a.offset.bodyOffset(w);try{u=w.getBoundingClientRect()}catch(F){}var j=w.ownerDocument,d=j.documentElement;if(!u||!a.contains(d,w))return u?{top:u.top,left:u.left}:{top:0,left:0};w=j.body;j=n(j);return{top:u.top+(j.pageYOffset||a.support.boxModel&&
|
158
|
+
d.scrollTop||w.scrollTop)-(d.clientTop||w.clientTop||0),left:u.left+(j.pageXOffset||a.support.boxModel&&d.scrollLeft||w.scrollLeft)-(d.clientLeft||w.clientLeft||0)}}:function(s){var w=this[0];if(s)return this.each(function(l){a.offset.setOffset(this,s,l)});if(!w||!w.ownerDocument)return null;if(w===w.ownerDocument.body)return a.offset.bodyOffset(w);a.offset.initialize();var u,F=w.offsetParent,j=w.ownerDocument,d=j.documentElement,g=j.body;u=(j=j.defaultView)?j.getComputedStyle(w,null):w.currentStyle;
|
159
|
+
for(var p=w.offsetTop,A=w.offsetLeft;(w=w.parentNode)&&w!==g&&w!==d;){if(a.offset.supportsFixedPosition&&u.position==="fixed")break;u=j?j.getComputedStyle(w,null):w.currentStyle;p-=w.scrollTop;A-=w.scrollLeft;if(w===F){p+=w.offsetTop;A+=w.offsetLeft;if(a.offset.doesNotAddBorder&&!(a.offset.doesAddBorderForTableAndCells&&D.test(w.nodeName))){p+=parseFloat(u.borderTopWidth)||0;A+=parseFloat(u.borderLeftWidth)||0}F=w.offsetParent}if(a.offset.subtractsBorderForOverflowNotVisible&&u.overflow!=="visible"){p+=
|
160
|
+
parseFloat(u.borderTopWidth)||0;A+=parseFloat(u.borderLeftWidth)||0}u=u}if(u.position==="relative"||u.position==="static"){p+=g.offsetTop;A+=g.offsetLeft}if(a.offset.supportsFixedPosition&&u.position==="fixed"){p+=Math.max(d.scrollTop,g.scrollTop);A+=Math.max(d.scrollLeft,g.scrollLeft)}return{top:p,left:A}};a.offset={initialize:function(){var s=H.body,w=H.createElement("div"),u,F,j,d=parseFloat(a.css(s,"marginTop"))||0;a.extend(w.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",
|
161
|
+
height:"1px",visibility:"hidden"});w.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";s.insertBefore(w,s.firstChild);u=w.firstChild;F=u.firstChild;j=u.nextSibling.firstChild.firstChild;this.doesNotAddBorder=F.offsetTop!==5;this.doesAddBorderForTableAndCells=
|
162
|
+
j.offsetTop===5;F.style.position="fixed";F.style.top="20px";this.supportsFixedPosition=F.offsetTop===20||F.offsetTop===15;F.style.position=F.style.top="";u.style.overflow="hidden";u.style.position="relative";this.subtractsBorderForOverflowNotVisible=F.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=s.offsetTop!==d;s.removeChild(w);a.offset.initialize=a.noop},bodyOffset:function(s){var w=s.offsetTop,u=s.offsetLeft;a.offset.initialize();if(a.offset.doesNotIncludeMarginInBodyOffset){w+=parseFloat(a.css(s,
|
163
|
+
"marginTop"))||0;u+=parseFloat(a.css(s,"marginLeft"))||0}return{top:w,left:u}},setOffset:function(s,w,u){var F=a.css(s,"position");if(F==="static")s.style.position="relative";var j=a(s),d=j.offset(),g=a.css(s,"top"),p=a.css(s,"left"),A=F==="absolute"&&a.inArray("auto",[g,p])>-1;F={};var l={};if(A)l=j.position();g=A?l.top:parseInt(g,10)||0;p=A?l.left:parseInt(p,10)||0;if(a.isFunction(w))w=w.call(s,u,d);if(w.top!=null)F.top=w.top-d.top+g;if(w.left!=null)F.left=w.left-d.left+p;"using"in w?w.using.call(s,
|
164
|
+
F):j.css(F)}};a.fn.extend({position:function(){if(!this[0])return null;var s=this[0],w=this.offsetParent(),u=this.offset(),F=G.test(w[0].nodeName)?{top:0,left:0}:w.offset();u.top-=parseFloat(a.css(s,"marginTop"))||0;u.left-=parseFloat(a.css(s,"marginLeft"))||0;F.top+=parseFloat(a.css(w[0],"borderTopWidth"))||0;F.left+=parseFloat(a.css(w[0],"borderLeftWidth"))||0;return{top:u.top-F.top,left:u.left-F.left}},offsetParent:function(){return this.map(function(){for(var s=this.offsetParent||H.body;s&&!G.test(s.nodeName)&&
|
165
|
+
a.css(s,"position")==="static";)s=s.offsetParent;return s})}});a.each(["Left","Top"],function(s,w){var u="scroll"+w;a.fn[u]=function(F){var j=this[0],d;if(!j)return null;if(F!==J)return this.each(function(){if(d=n(this))d.scrollTo(!s?F:a(d).scrollLeft(),s?F:a(d).scrollTop());else this[u]=F});else return(d=n(j))?"pageXOffset"in d?d[s?"pageYOffset":"pageXOffset"]:a.support.boxModel&&d.document.documentElement[u]||d.document.body[u]:j[u]}})})(S);(function(a){a.each(["Height","Width"],function(n,D){var G=
|
166
|
+
D.toLowerCase();a.fn["inner"+D]=function(){return this[0]?parseFloat(a.css(this[0],G,"padding")):null};a.fn["outer"+D]=function(s){return this[0]?parseFloat(a.css(this[0],G,s?"margin":"border")):null};a.fn[G]=function(s){var w=this[0];if(!w)return s==null?null:this;if(a.isFunction(s))return this.each(function(F){var j=a(this);j[G](s.call(this,F,j[G]()))});if(a.isWindow(w)){var u=w.document.documentElement["client"+D];return w.document.compatMode==="CSS1Compat"&&u||w.document.body["client"+D]||u}else if(w.nodeType===
|
167
|
+
9)return Math.max(w.documentElement["client"+D],w.body["scroll"+D],w.documentElement["scroll"+D],w.body["offset"+D],w.documentElement["offset"+D]);else if(s===J){w=a.css(w,G);u=parseFloat(w);return a.isNaN(u)?w:u}else return this.css(G,typeof s==="string"?s:s+"px")}})})(S);P.jQuery=P.$=S})(window);
|
@@ -12,67 +12,75 @@
|
|
12
12
|
|
13
13
|
(function($) {
|
14
14
|
|
15
|
-
var types = ['DOMMouseScroll', 'mousewheel'];
|
15
|
+
var types = ['DOMMouseScroll', 'mousewheel'];
|
16
16
|
|
17
|
-
$.event.special.mousewheel = {
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
17
|
+
$.event.special.mousewheel = {
|
18
|
+
setup: function() {
|
19
|
+
if (this.addEventListener) {
|
20
|
+
for (var i = types.length; i;) {
|
21
|
+
this.addEventListener(types[--i], handler, false);
|
22
|
+
}
|
23
|
+
} else {
|
24
|
+
this.onmousewheel = handler;
|
22
25
|
}
|
23
|
-
}
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
this.
|
26
|
+
},
|
27
|
+
|
28
|
+
teardown: function() {
|
29
|
+
if (this.removeEventListener) {
|
30
|
+
for (var i = types.length; i;) {
|
31
|
+
this.removeEventListener(types[--i], handler, false);
|
32
|
+
}
|
33
|
+
} else {
|
34
|
+
this.onmousewheel = null;
|
32
35
|
}
|
33
|
-
} else {
|
34
|
-
this.onmousewheel = null;
|
35
36
|
}
|
36
|
-
}
|
37
|
-
};
|
37
|
+
};
|
38
38
|
|
39
|
-
$.fn.extend({
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
});
|
39
|
+
$.fn.extend({
|
40
|
+
mousewheel: function(fn) {
|
41
|
+
return fn ? this.bind("mousewheel", fn) : this.trigger("mousewheel");
|
42
|
+
},
|
43
|
+
|
44
|
+
unmousewheel: function(fn) {
|
45
|
+
return this.unbind("mousewheel", fn);
|
46
|
+
}
|
47
|
+
});
|
48
|
+
|
49
|
+
|
50
|
+
function handler(event) {
|
51
|
+
var orgEvent = event || window.event, args = [].slice.call(arguments, 1), delta = 0, returnValue = true, deltaX = 0, deltaY = 0;
|
52
|
+
event = $.event.fix(orgEvent);
|
53
|
+
event.type = "mousewheel";
|
54
|
+
|
55
|
+
// Old school scrollwheel delta
|
56
|
+
if (event.wheelDelta) {
|
57
|
+
delta = event.wheelDelta / 120;
|
58
|
+
}
|
59
|
+
if (event.detail) {
|
60
|
+
delta = -event.detail / 3;
|
61
|
+
}
|
62
|
+
|
63
|
+
// New school multidimensional scroll (touchpads) deltas
|
64
|
+
deltaY = delta;
|
65
|
+
|
66
|
+
// Gecko
|
67
|
+
if (orgEvent.axis !== undefined && orgEvent.axis === orgEvent.HORIZONTAL_AXIS) {
|
68
|
+
deltaY = 0;
|
69
|
+
deltaX = -1 * delta;
|
70
|
+
}
|
71
|
+
|
72
|
+
// Webkit
|
73
|
+
if (orgEvent.wheelDeltaY !== undefined) {
|
74
|
+
deltaY = orgEvent.wheelDeltaY / 120;
|
75
|
+
}
|
76
|
+
if (orgEvent.wheelDeltaX !== undefined) {
|
77
|
+
deltaX = -1 * orgEvent.wheelDeltaX / 120;
|
78
|
+
}
|
48
79
|
|
80
|
+
// Add event and delta to the front of the arguments
|
81
|
+
args.unshift(event, delta, deltaX, deltaY);
|
49
82
|
|
50
|
-
|
51
|
-
var orgEvent = event || window.event, args = [].slice.call( arguments, 1 ), delta = 0, returnValue = true, deltaX = 0, deltaY = 0;
|
52
|
-
event = $.event.fix(orgEvent);
|
53
|
-
event.type = "mousewheel";
|
54
|
-
|
55
|
-
// Old school scrollwheel delta
|
56
|
-
if ( event.wheelDelta ) { delta = event.wheelDelta/120; }
|
57
|
-
if ( event.detail ) { delta = -event.detail/3; }
|
58
|
-
|
59
|
-
// New school multidimensional scroll (touchpads) deltas
|
60
|
-
deltaY = delta;
|
61
|
-
|
62
|
-
// Gecko
|
63
|
-
if ( orgEvent.axis !== undefined && orgEvent.axis === orgEvent.HORIZONTAL_AXIS ) {
|
64
|
-
deltaY = 0;
|
65
|
-
deltaX = -1*delta;
|
83
|
+
return $.event.handle.apply(this, args);
|
66
84
|
}
|
67
|
-
|
68
|
-
// Webkit
|
69
|
-
if ( orgEvent.wheelDeltaY !== undefined ) { deltaY = orgEvent.wheelDeltaY/120; }
|
70
|
-
if ( orgEvent.wheelDeltaX !== undefined ) { deltaX = -1*orgEvent.wheelDeltaX/120; }
|
71
|
-
|
72
|
-
// Add event and delta to the front of the arguments
|
73
|
-
args.unshift(event, delta, deltaX, deltaY);
|
74
|
-
|
75
|
-
return $.event.handle.apply(this, args);
|
76
|
-
}
|
77
85
|
|
78
86
|
})(jQuery);
|