-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathproduction.js
325 lines (325 loc) · 156 KB
/
production.js
1
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
steal.loading('jmvcdoc/jmvcdoc.js','jmvcdoc/content/content.js','jmvcdoc/nav/nav.js','jmvcdoc/search/search.js','jquery/dom/route/route.js','steal/html/client.js','jquery/controller/controller.js','jquery/lang/observe/delegate/delegate.js','jquery/view/ejs/ejs.js','jmvcdoc/highlight/highlight.js','jmvcdoc/resources/helpers.js','jmvcdoc/models/search.js','jmvcdoc/content/doc_updated.js','jquery/class/class.js','jquery/lang/string/string.js','jquery/event/destroyed/destroyed.js','jquery/jquery.js','jquery/event/event.js','jquery/lang/observe/observe.js','jquery/view/view.js','jquery/lang/string/rsplit/rsplit.js','jmvcdoc/highlight/languages/www.js','jmvcdoc/highlight/languages/javascript.js','jmvcdoc/models/favorites.js','jquery/dom/cookie/cookie.js','jquery/lang/json/json.js','jmvcdoc/demo/demo.js','jmvcdoc/demo/demo.ejs','jmvcdoc/content/views/attribute.ejs','jmvcdoc/content/views/class.ejs','jmvcdoc/content/views/constructor.ejs','jmvcdoc/content/views/favorite.ejs','jmvcdoc/content/views/function.ejs','jmvcdoc/content/views/page.ejs','jmvcdoc/content/views/results.ejs','jmvcdoc/content/views/top.ejs','jmvcdoc/nav/views/results.ejs','jquery/event/hashchange/hashchange.js','jquery/lang/string/deparam/deparam.js');
steal.loadedProductionCSS=true;steal("jmvcdoc/content","jmvcdoc/nav","jmvcdoc/search","jquery/dom/route","steal/html/client.js").then(function(){var j=window.location.href.match(/docs\/(.*)\.html/);if((j=j&&j[1])&&location.hash=="")window.location.hash="&who="+j;$.route.ready(false)(":who",{who:"index"})("/search/:search");$("#nav").jmvcdoc_nav();$("#doc").jmvcdoc_content({clientState:$.route.data});$("#search").jmvcdoc_search({clientState:$.route.data});$.route.ready(false);Doc.load(function(){$.route.ready(true)})});
steal.loaded("jmvcdoc/jmvcdoc.js");
steal("jquery/controller","jquery/lang/observe/delegate","jquery/view/ejs","jmvcdoc/highlight","jmvcdoc/resources/helpers.js","jmvcdoc/models/search.js","../style.css","./doc_updated.js").then("./views/attribute.ejs","./views/class.ejs","./views/constructor.ejs","./views/favorite.ejs","./views/function.ejs","./views/page.ejs","./views/results.ejs","./views/top.ejs",function(j){j.Controller("Jmvcdoc.Content",{defaults:{}},{init:function(){},"{clientState} who set":function(c,q,m){this._currentPage=
m;this.element.html("Loading ...").scrollTop(0);Doc.findOne({name:m},this.callback("show"))},show:function(c){this.element.html("//jmvcdoc/content/views/"+c.type.toLowerCase()+".ejs",c,DocumentationHelpers).trigger("docUpdated",[c]);j("#results a.open").removeClass("open");j('#results a[href="'+location.hash+'"]').addClass("open")}})});steal.loaded("jmvcdoc/content/content.js");
steal("jquery/controller","jquery/lang/observe/delegate","jquery/view/ejs","jmvcdoc/models/search.js","jmvcdoc/resources/helpers.js","../style.css",function(j){j.Controller("Jmvcdoc.Nav",{defaults:{}},{"{$.route} who set":function(c,q,m){for(q=Doc.findOne({name:m});q.parents&&(!q.childDocs||!q.childDocs.length||/static|prototype/i.test(q.type));)q=Doc.findOne({name:q.parents[0]});c=[q];for(m=q;m.parents&&m.parents.length;){m=Doc.findOne({name:m.parents[0]});c.unshift(m)}q=q.children().slice(0);m=
0;for(var u,A;m<q.length;)if(/static|prototype/.test(q[m].type)){u=[m+1,0];A=q[m].children();u.push.apply(u,A);q.splice.apply(q,u);m=m+A.length+1}else m++;this.element.html("//jmvcdoc/nav/views/results.ejs",{list:q,selected:c,hide:false},DocumentationHelpers);steal.html.ready()},".remove click":function(c,q){q.preventDefault();c=c.closest(".content").prevAll(".content").eq(0);if(c.length)window.location.href=c.find("a").attr("href");else window.location.hash=""},"{$.route} search set":function(c,
q,m){this.element.html("//jmvcdoc/nav/views/results.ejs",{list:Doc.findAll({search:m}),selected:[],hide:false},DocumentationHelpers)},"a mouseover":function(c){this._highlight(c)},"a mouseout":function(c){c.removeClass("highlight")},_highlight:function(c){this._isInvalidMenuItem(c)||c.addClass("highlight")},_isInvalidMenuItem:function(c){return c.hasClass("prototype")||c.hasClass("static")}})},"./views/results.ejs");steal.loaded("jmvcdoc/nav/nav.js");
steal("jquery/controller","jquery/lang/observe/delegate","jmvcdoc/models/search.js",function(j){j.Controller("Jmvcdoc.Search",{defaults:{}},{setup:function(c,q){this.input=j(c);this.input.wrap("<div>");c=this.input.parent();this.remove=j("<span title='clear term' class='remove'></span>").appendTo(c);this._super(c,q)},init:function(){this.input.attr("disabled",false)},"input keyup":function(c,q){if(q.keyCode!=9){clearTimeout(this.searchTimer);this.searchTimer=setTimeout(this.callback("search"),200)}},
search:function(){j.route.attrs({search:this.input.val()},true)},"{clientState} search set":function(c,q,m){this.input.val(m);m&&m!=""?this.remove.show():this.remove.hide()},".remove click":function(){j.route.attrs({search:""},true)},focusin:function(){this.focused=true},focusout:function(){this.focused=false}})});steal.loaded("jmvcdoc/search/search.js");
steal("jquery/lang/observe","jquery/event/hashchange","jquery/lang/string/deparam","jquery/lang/observe/delegate",function(j){var c=/\:([\w\.]+)/g,q=/^(?:&[^=]+=[^&]*)+/,m=function(w){var C=[],k,x;for(k in w){x=w[k];if(k==="className")k="class";x&&C.push(u(k),'="',u(x),'" ')}return C.join("")},u=function(w){return w.replace(/"/g,""").replace(/'/g,"'")},A=function(w,C){for(var k=0,x=0;x<w.names.length;x++){if(!C.hasOwnProperty(w.names[x]))return-1;k++}return k},F=true,P=window.location,K=j.route=
function(w,C){var k=[],x=w.replace(c,function(B,J){k.push(J);return"([\\w\\.]*)"});K.routes[w]={test:new RegExp("^"+x),route:w,names:k,defaults:C||{},length:w.split("/").length};return K};j.extend(K,{param:function(w){var C,k=-1,x,B;for(var J in K.routes){x=K.routes[J];B=A(x,w);if(B>k){C=x;k=B}}if(C){var t=j.extend({},w);k=C.route.replace(c,function(O,S){delete t[S];return w[S]===C.defaults[S]?"":w[S]});for(J in C.defaults)t[J]===C.defaults[J]&&delete t[J];J=j.param(t);return k+(J?"&"+J:"")}return j.isEmptyObject(w)?
"":"&"+j.param(w)},deparam:function(w){var C={length:-1};for(var k in K.routes){var x=K.routes[k];if(x.test.test(w)&&x.length>C.length)C=x}if(C.length>-1){k=w.match(C.test);x=k.shift();w=(w=w.substr(x.length))&&q.test(w)?j.String.deparam(w.slice(1)):{};w=j.extend(true,{},C.defaults,w);for(x=0;x<k.length;x++)if(k[x])w[C.names[x]]=k[x];return w}return q.test(w)?j.String.deparam(w.slice(1)):{}},data:new j.Observe({}),routes:{},ready:function(w){if(w===false)F=false;if(w===true||F===true)E();return K},
url:function(w,C){return C?"#!"+K.param(j.extend({},Q,w)):"#!"+K.param(w)},link:function(w,C,k,x){return"<a "+m(j.extend({href:K.url(C,x)},k))+">"+w+"</a>"},current:function(w){return P.hash=="#!"+K.param(w)},set:function(w,C){if(typeof w=="string")P.hash="#!"+w;else if(j.isPlainObject(w))K.attrs(w,typeof C=="undefined"?true:C)}});j(function(){j.route.ready()});j.each(["bind","unbind","delegate","undelegate","attr","attrs","serialize","removeAttr"],function(w,C){K[C]=function(){return K.data[C].apply(K.data,
arguments)}});var Q,E=function(){var w=P.hash[1]==="!"?P.hash.slice(2):P.hash.slice(1);Q=K.deparam(w);K.attrs(Q,true)};j(window).bind("hashchange",E);K.data.bind("change",function(w,C){var k;return function(){clearTimeout(k);k=setTimeout(w,C||1)}}(function(){window.location.hash="#!"+K.param(K.data.serialize())}))});steal.loaded("jquery/dom/route/route.js");
steal(function(){steal.html={};var j=0;steal.html.wait=function(){j++};steal.html.ready=function(){j--;j<=0&&steal.client&&steal.client.trigger("pageready",window.location.hash)}});steal.loaded("steal/html/client.js");
steal("jquery/class","jquery/lang/string","jquery/event/destroyed",function(j){var c=function(H,N,Y){var aa,ia=H.bind&&H.unbind?H:j(u(H)?[H]:H);if(N.indexOf(">")===0){N=N.substr(1);aa=function(qa){qa.target===H&&Y.apply(this,arguments)}}ia.bind(N,aa||Y);return function(){ia.unbind(N,aa||Y);H=N=Y=aa=null}},q=j.makeArray,m=j.isArray,u=j.isFunction,A=j.extend,F=j.String,P=j.each,K=Array.prototype.slice,Q=function(H,N,Y,aa){var ia=H.delegate&&H.undelegate?H:j(u(H)?[H]:H);ia.delegate(N,Y,aa);return function(){ia.undelegate(N,
Y,aa);ia=H=Y=aa=N=null}},E=function(H,N,Y,aa){return aa?Q(H,aa,N,Y):c(H,N,Y)},w=function(H,N){var Y=typeof N=="string"?H[N]:N;return function(){H.called=N;return Y.apply(H,[this.nodeName?j(this):this].concat(K.call(arguments,0)))}},C=/\./g,k=/_?controllers?/ig,x=function(H){return F.underscore(H.replace("jQuery.","").replace(C,"_").replace(k,""))},B=/[^\w]/,J=/\{([^\}]+)\}/g,t=/^(?:(.*?)\s)?([\w\.\:>]+)$/,O,S=function(H,N){return j.data(H,"controllers",N)};j.Class("jQuery.Controller",{setup:function(){this._super.apply(this,
arguments);if(!(!this.shortName||this.fullName=="jQuery.Controller")){this._fullName=x(this.fullName);this._shortName=x(this.shortName);var H=this,N=this.pluginName||this._fullName,Y;j.fn[N]||(j.fn[N]=function(aa){var ia=q(arguments),qa=typeof aa=="string"&&u(H.prototype[aa]),Ha=ia[0];return this.each(function(){var va=S(this);if(va=va&&va[N])qa?va[Ha].apply(va,ia.slice(1)):va.update.apply(va,ia);else H.newInstance.apply(H,[this].concat(ia))})});this.actions={};for(Y in this.prototype)if(!(Y=="constructor"||
!u(this.prototype[Y])))if(this._isAction(Y))this.actions[Y]=this._action(Y)}},hookup:function(H){return new this(H)},_isAction:function(H){return B.test(H)?true:j.inArray(H,this.listensTo)>-1||j.event.special[H]||ba[H]},_action:function(H,N){J.lastIndex=0;if(!N&&J.test(H))return null;H=N?F.sub(H,[N,window]):H;N=m(H);var Y=(N?H[1]:H).match(t);return{processor:ba[Y[2]]||O,parts:Y,delegate:N?H[0]:undefined}},processors:{},listensTo:[],defaults:{}},{setup:function(H,N){var Y,aa=this.Class;H=H.jquery?
H[0]:H;var ia=aa.pluginName||aa._fullName;this.element=j(H).addClass(ia);(S(H)||S(H,{}))[ia]=this;this._bindings=[];this.options=A(A(true,{},aa.defaults),N);for(Y in aa.actions)if(aa.actions.hasOwnProperty(Y)){N=aa.actions[Y]||aa._action(Y,this.options);this._bindings.push(N.processor(N.delegate||H,N.parts[2],N.parts[1],Y,this))}this.called="init";var qa=w(this,"destroy");this.element.bind("destroyed",qa);this._bindings.push(function(){j(H).unbind("destroyed",qa)});return this.element},bind:function(H,
N,Y){if(typeof H=="string"){Y=N;N=H;H=this.element}return this._binder(H,N,Y)},_binder:function(H,N,Y,aa){if(typeof Y=="string")Y=w(this,Y);this._bindings.push(E(H,N,Y,aa));return this._bindings.length},delegate:function(H,N,Y,aa){if(typeof H=="string"){aa=Y;Y=N;N=H;H=this.element}return this._binder(H,Y,aa,N)},update:function(H){A(this.options,H)},destroy:function(){if(this._destroyed)throw this.constructor.shortName+" controller already deleted";var H=this,N=this.constructor.pluginName||this.constructor._fullName;
this._destroyed=true;this.element.removeClass(N);P(this._bindings,function(Y,aa){aa(H.element[0])});delete this._actions;delete this.element.data("controllers")[N];j(this).triggerHandler("destroyed");this.element=null},find:function(H){return this.element.find(H)},_set_called:true});var ba=j.Controller.processors;O=function(H,N,Y,aa,ia){return E(H,N,w(ia,aa),Y)};P("change click contextmenu dblclick keydown keyup keypress mousedown mousemove mouseout mouseover mouseup reset resize scroll select submit focusin focusout mouseenter mouseleave".split(" "),
function(H,N){ba[N]=O});var ea,ga=function(H,N){for(ea=0;ea<N.length;ea++)if(typeof N[ea]=="string"?H.constructor._shortName==N[ea]:H instanceof N[ea])return true;return false};j.fn.extend({controllers:function(){var H=q(arguments),N=[],Y,aa,ia;this.each(function(){Y=j.data(this,"controllers");for(ia in Y)if(Y.hasOwnProperty(ia)){aa=Y[ia];if(!H.length||ga(aa,H))N.push(aa)}});return N},controller:function(){return this.controllers.apply(this,arguments)[0]}})});steal.loaded("jquery/controller/controller.js");
steal("jquery/lang/observe",function(){var j=function(q,m){q=q.parts;for(var u=q.length,A=0;A<u;A++)if(q[A]=="**")return true;else if(!(typeof m[A]=="string"&&(m[A]===q[A]||q[A]==="*")))return false;return u===m.length},c=function(q,m,u,A,F){var P=m.split("."),K=$.data(this,"_observe_delegates")||[],Q;q.attr=m;q.lastAttr=P[P.length-1];for(var E=0;E<K.length;E++){Q=K[E];if(Q.event==="change"&&j(Q,P))Q.callback.apply(this.attr(m),arguments);else if(Q.event===u&&j(Q,P))Q.callback.apply(this.attr(m),
[q,A,F]);else Q.event==="set"&&u=="add"&&j(K[E],P)&&Q.callback.apply(this.attr(m),[q,A,F])}};$.extend($.Observe.prototype,{delegate:function(q,m,u){q=$.trim(q);var A=$.data(this,"_observe_delegates")||$.data(this,"_observe_delegates",[]);q=$.trim(q);A.push({attr:q,parts:q.split("."),callback:u,event:m});A.length===1&&this.bind("change",c);return this},undelegate:function(q,m,u){q=$.trim(q);m=0;var A=$.data(this,"_observe_delegates")||[],F;if(q)for(;m<A.length;){F=A[m];if(F.callback===u||!u&&F.attr===
q)A.splice(m,1);else m++}else A=[];if(!A.length){$.removeData(this,"_observe_delegates");this.unbind("change",F)}return this}})});steal.loaded("jquery/lang/observe/delegate/delegate.js");
steal("jquery/view","jquery/lang/string/rsplit").then(function(j){var c=function(k){eval(k)},q=function(k){return k.substr(0,k.length-1)},m=j.String.rsplit,u=j.extend,A=j.isArray,F=function(k){return k.replace(/\\/g,"\\\\").replace(/\n/g,"\\n").replace(/"/g,'\\"').replace(/\t/g,"\\t")},P=function(k){return k.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},K=function(k){if(this.constructor!=K){var x=new K(k);return function(B,J){return x.render(B,
J)}}if(typeof k=="function"){this.template={};this.template.process=k}else{u(this,K.options,k);this.template=C(this.text,this.type,this.name)}};j.EJS=K;K.prototype={constructor:K,render:function(k,x){k=k||{};this._extra_helpers=x;x=new K.Helpers(k,x||{});return this.template.process.call(k,k,x)}};K.text=function(k){if(typeof k=="string")return k;if(k===null||k===undefined)return"";var x=k.hookup&&function(B,J){k.hookup.call(k,B,J)}||typeof k=="function"&&k||A(k)&&function(B,J){for(var t=0;t<k.length;t++)k[t].hookup?
k[t].hookup(B,J):k[t](B,J)};if(x)return"data-view-id='"+j.View.hookup(x)+"'";return k.toString?k.toString():""};K.clean=function(k){return typeof k=="string"?P(k):typeof k=="number"?k:K.text(k)};var Q=function(k,x,B){x=m(x,/\n/);for(var J=0;J<x.length;J++)E(k,x[J],B)},E=function(k,x,B){k.lines++;x=m(x,k.splitter);for(var J,t=0;t<x.length;t++){J=x[t];J!==null&&B(J,k)}},w=function(k,x){var B={};u(B,{left:k+"%",right:"%"+x,dLeft:k+"%%",dRight:"%%"+x,eeLeft:k+"%==",eLeft:k+"%=",cmnt:k+"%#",scan:Q,lines:0});
B.splitter=new RegExp("("+[B.dLeft,B.dRight,B.eeLeft,B.eLeft,B.cmnt,B.left,B.right+"\n",B.right,"\n"].join(")|(").replace(/\[/g,"\\[").replace(/\]/g,"\\]")+")");return B},C=function(k,x,B){k=k.replace(/\r\n/g,"\n").replace(/\r/g,"\n");x=x||"<";var J=new K.Buffer(["var ___v1ew = [];"],[]),t="",O=function(ea){J.push("___v1ew.push(",'"',F(ea),'");')},S=null,ba=function(){t=""};Q(w(x,x==="["?"]":">"),k||"",function(ea,ga){if(S===null)switch(ea){case "\n":t+="\n";O(t);J.cr();ba();break;case ga.left:case ga.eLeft:case ga.eeLeft:case ga.cmnt:S=
ea;t.length>0&&O(t);ba();break;case ga.dLeft:t+=ga.left;break;default:t+=ea;break}else switch(ea){case ga.right:switch(S){case ga.left:if(t[t.length-1]=="\n"){t=q(t);J.push(t,";");J.cr()}else J.push(t,";");break;case ga.eLeft:J.push("___v1ew.push(","(jQuery.EJS.clean(",t,")));");break;case ga.eeLeft:J.push("___v1ew.push(","(jQuery.EJS.text(",t,")));");break}S=null;ba();break;case ga.dRight:t+=ga.right;break;default:t+=ea;break}});t.length>0&&J.push("___v1ew.push(",'"',F(t)+'");');k={out:"try { with(_VIEW) { with (_CONTEXT) {"+
J.close()+" return ___v1ew.join('');}}}catch(e){e.lineNumber=null;throw e;}"};c.call(k,"this.process = (function(_CONTEXT,_VIEW){"+k.out+"});\r\n//@ sourceURL="+B+".js");return k};K.Buffer=function(k,x){this.line=[];this.script=[];this.post=x;this.push.apply(this,k)};K.Buffer.prototype={push:function(){this.line.push.apply(this.line,arguments)},cr:function(){this.script.push(this.line.join(""),"\n");this.line=[]},close:function(){if(this.line.length>0){this.script.push(this.line.join(""));this.line=
[]}this.post.length&&this.push.apply(this,this.post);this.script.push(";");return this.script.join("")}};K.options={type:"<",ext:".ejs"};K.Helpers=function(k,x){this._data=k;this._extras=x;u(this,x)};K.Helpers.prototype={plugin:function(){var k=j.makeArray(arguments),x=k.shift();return function(B){B=j(B);B[x].apply(B,k)}},view:function(k,x,B){B=B||this._extras;x=x||this._data;return j.View(k,x,B)}};j.View.register({suffix:"ejs",script:function(k,x){return"jQuery.EJS(function(_CONTEXT,_VIEW) { "+(new K({text:x,
name:k})).template.out+" })"},renderer:function(k,x){var B=new K({text:x,name:k});return function(J,t){return B.render.call(B,J,t)}}})});steal.loaded("jquery/view/ejs/ejs.js");
steal("jquery",function(){hljs=new (function(){function j(w){for(var C="",k=0;k<w.childNodes.length;k++)if(w.childNodes[k].nodeType==3)C+=w.childNodes[k].nodeValue;else if(w.childNodes[k].nodeName=="BR")C+="\n";else throw"No highlight";return C}function c(w){w=w.className.split(/\s+/);for(var C=0;C<w.length;C++){if(w[C]=="no-highlight")throw"No highlight";if(K[w[C]])return w[C]}return"javascript"}function q(w,C){if($(w).parent()[0].nodeName.toLowerCase()=="pre"){try{var k=j(w),x=c(w)}catch(B){if(B==
"No highlight")return}if(x)var J=E.highlight(x,k).value;else{var t=0;for(var O in Q)if(Q.hasOwnProperty(O)){var S=E.highlight(O,k),ba=S.keyword_count+S.relevance;if(ba>t){t=ba;J=S.value;x=O}}}if(J){if(C)J=J.replace(/^(\t+)/gm,function(ea,ga){return ga.replace(/\t/g,C)});k=w.className;k.match(x)||(k+=" "+x);x=document.createElement("div");x.innerHTML='<pre><code class="'+k+'">'+J+"</code></pre>";w.parentNode.parentNode.replaceChild(x.firstChild,w.parentNode)}}}function m(){for(var w in K)if(K.hasOwnProperty(w))for(var C=
K[w],k=0;k<C.modes.length;k++){if(C.modes[k].begin)C.modes[k].beginRe=E.langRe(C,"^"+C.modes[k].begin);if(C.modes[k].end)C.modes[k].endRe=E.langRe(C,"^"+C.modes[k].end);if(C.modes[k].illegal)C.modes[k].illegalRe=E.langRe(C,"^(?:"+C.modes[k].illegal+")");C.defaultMode.illegalRe=E.langRe(C,"^(?:"+C.defaultMode.illegal+")");if(C.modes[k].relevance==undefined)C.modes[k].relevance=1}}function u(){function w(B){if(!B.keywordGroups)for(var J in B.keywords)if(B.keywords.hasOwnProperty(J)){B.keywordGroups=
B.keywords[J]instanceof Object?B.keywords:{keyword:B.keywords};break}}for(var C in K)if(K.hasOwnProperty(C)){var k=K[C];w(k.defaultMode);for(var x=0;x<k.modes.length;x++)w(k.modes[x])}}function A(w){for(var C=0;C<w.childNodes.length;C++){node=w.childNodes[C];if(node.nodeName=="CODE")return node;if(!(node.nodeType==3&&node.nodeValue.match(/\s+/)))return null}}function F(){if(!F.called){F.called=true;m();u();if(arguments.length)for(var w=0;w<arguments.length;w++){if(K[arguments[w]])Q[arguments[w]]=
K[arguments[w]]}else Q=K;var C=document.getElementsByTagName("pre");for(w=0;w<C.length;w++){var k=A(C[w]);k&&q(k,hljs.tabReplace)}}}function P(){var w=arguments,C=function(){F.apply(null,w)};if(window.addEventListener){window.addEventListener("DOMContentLoaded",C,false);window.addEventListener("load",C,false)}else if(window.attachEvent)window.attachEvent("onload",C);else window.onload=C}var K={},Q={},E={};E.escape=function(w){return w.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">")};
E.contains=function(w,C){if(!w)return false;for(var k=0;k<w.length;k++)if(w[k]==C)return true;return false};E.highlight=function(w,C){function k(U,W){U.sub_modes=[];for(var G=0;G<U.contains.length;G++)for(var da=0;da<W.modes.length;da++)if(W.modes[da].className==U.contains[G])U.sub_modes[U.sub_modes.length]=W.modes[da]}function x(U,W){if(N[U].end&&N[U].endRe.test(W))return 1;if(N[U].endsWithParent)return(U=x(U-1,W))?U+1:0;return 0}function B(U,W){return W.illegalRe&&W.illegalRe.test(U)}function J(U,
W){function G(d){E.contains(da,d)||(da[da.length]=d)}var da=[];if(U.contains)for(var la=0;la<W.modes.length;la++)E.contains(U.contains,W.modes[la].className)&&G(W.modes[la].begin);la=N.length-1;do{N[la].end&&G(N[la].end);la--}while(N[la+1].endsWithParent);U.illegal&&G(U.illegal);U="("+da[0];for(la=0;la<da.length;la++)U+="|"+da[la];U+=")";return E.langRe(W,U)}function t(U,W){var G=N[N.length-1];if(!G.terminators)G.terminators=J(G,H);U=U.substr(W);W=G.terminators.exec(U);if(!W)return[U,"",true];return W.index==
0?["",W[0],false]:[U.substr(0,W.index),W[0],false]}function O(U,W){W=H.case_insensitive?W[0].toLowerCase():W[0];for(var G in U.keywordGroups)if(U.keywordGroups.hasOwnProperty(G)){var da=U.keywordGroups[G].hasOwnProperty(W);if(da)return[G,da]}return false}function S(U,W){if(!W.keywords||!W.lexems)return E.escape(U);if(!W.lexemsRe){for(var G="("+W.lexems[0],da=1;da<W.lexems.length;da++)G+="|"+W.lexems[da];G+=")";W.lexemsRe=E.langRe(H,G,true)}G="";var la=0;W.lexemsRe.lastIndex=0;for(da=W.lexemsRe.exec(U);da;){G+=
E.escape(U.substr(la,da.index-la));if(la=O(W,da)){aa+=la[1];G+='<span class="'+la[0]+'">'+E.escape(da[0])+"</span>"}else G+=E.escape(da[0]);la=W.lexemsRe.lastIndex;da=W.lexemsRe.exec(U)}G+=E.escape(U.substr(la,U.length-la));return G}function ba(U,W){if(W.subLanguage&&Q[W.subLanguage]){U=E.highlight(W.subLanguage,U);aa+=U.keyword_count;Y+=U.relevance;return U.value}else return S(U,W)}function ea(U,W){var G=U.noMarkup?"":'<span class="'+U.className+'">';if(U.returnBegin){ia+=G;U.buffer=""}else if(U.excludeBegin){ia+=
E.escape(W)+G;U.buffer=""}else{ia+=G;U.buffer=W}N[N.length]=U}function ga(U,W,G){var da=N[N.length-1];if(G){ia+=ba(da.buffer+U,da);return false}if(G=E.subMode(W,da)){ia+=ba(da.buffer+U,da);ea(G,W);Y+=G.relevance;return G.returnBegin}if(G=x(N.length-1,W)){var la=da.noMarkup?"":"</span>";for(ia+=da.returnEnd?ba(da.buffer+U,da)+la:da.excludeEnd?ba(da.buffer+U,da)+la+E.escape(W):ba(da.buffer+U+W,da)+la;G>1;){la=N[N.length-2].noMarkup?"":"</span>";ia+=la;G--;N.length--}N.length--;N[N.length-1].buffer=
"";if(da.starts)for(U=0;U<H.modes.length;U++)if(H.modes[U].className==da.starts){ea(H.modes[U],"");break}return da.returnEnd}if(B(W,da))throw"Illegal";}E.subMode=function(U,W){if(!W.contains)return null;W.sub_modes||k(W,H);for(var G=0;G<W.sub_modes.length;G++)if(W.sub_modes[G].beginRe.test(U))return W.sub_modes[G];return null};var H=K[w],N=[H.defaultMode],Y=0,aa=0,ia="";try{w=0;H.defaultMode.buffer="";do{var qa=t(C,w),Ha=ga(qa[0],qa[1],qa[2]);w+=qa[0].length;Ha||(w+=qa[1].length)}while(!qa[2]);if(N.length>
1)throw"Illegal";return{relevance:Y,keyword_count:aa,value:ia}}catch(va){if(va=="Illegal")return{relevance:0,keyword_count:0,value:E.escape(C)};else throw va;}};E.langRe=function(w,C,k){return new RegExp(C,"m"+(w.case_insensitive?"i":"")+(k?"g":""))};this.LANGUAGES=K;this.initHighlightingOnLoad=P;this.highlightBlock=q;this.initHighlighting=F;this.IDENT_RE="[a-zA-Z][a-zA-Z0-9_]*";this.UNDERSCORE_IDENT_RE="[a-zA-Z_][a-zA-Z0-9_]*";this.NUMBER_RE="\\b\\d+(\\.\\d+)?";this.C_NUMBER_RE="\\b(0x[A-Za-z0-9]+|\\d+(\\.\\d+)?)";
this.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|\\.|-|-=|/|/=|:|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";this.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:["escape"],relevance:0};this.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:["escape"],relevance:0};this.BACKSLASH_ESCAPE={className:"escape",begin:"\\\\.",end:"^",noMarkup:true,relevance:0};this.C_LINE_COMMENT_MODE={className:"comment",
begin:"//",end:"$",relevance:0};this.C_BLOCK_COMMENT_MODE={className:"comment",begin:"/\\*",end:"\\*/|\\*\\|"};this.HASH_COMMENT_MODE={className:"comment",begin:"#",end:"$"};this.C_NUMBER_MODE={className:"number",begin:this.C_NUMBER_RE,end:"^",relevance:0};this.start=function(){m();u()}});$.fn.highlight=function(){this.each(function(){hljs.highlightBlock(this)});return this}}).then("./languages/www.js","./languages/javascript.js",function(){hljs.start()});steal.loaded("jmvcdoc/highlight/highlight.js");
var orderedParams=function(j){var c=[];for(var q in j)c[j[q].order]=j[q];return c};
DocumentationHelpers={previousIndent:0,calculateDisplay:function(j,c){var q=c.split(/\./);j=j.split(/\./);for(var m=[],u=[],A=0;A<q.length;A++)if(j[A]&&j[A]==q[A])m.push(q[A]);else{u=q.slice(A);break}if(m.length==1&&(m[0]=="jQuery"||m[0]=="steal"))return{length:1,name:c};if(this.indentAdjust===undefined)this.indentAdjust=m.length?0:1;return{length:m.length<2?m.length+this.indentAdjust:m.length,name:u.join(".")}},normalizeName:function(j){return j.replace(/>/,"_gt_").replace(/\*/g,"_star_")},linkTags:function(j){for(var c=
[],q=0;q<j.length;q++)c.push("<a href='#&search="+j[q]+"'>"+j[q]+"</a>");return c.join(" ")},linkOpen:function(j){return"<a href='#&who="+j+"'>"+j+"</a>"},signiture:function(){var j=[],c=this._data.name;c=c.replace("jQuery.","$.");var q=c.lastIndexOf(".static."),m=c.lastIndexOf(".prototype.");if(q!=-1)c=c.substring(0,q)+"."+c.substring(q+8);else if(m!=-1)c=jQuery.String.underscore(c.substring(0,m).replace("$.",""))+"."+c.substring(m+11);if(this._data.construct)c="new "+c;q=orderedParams(this._data.params);
for(m=0;m<q.length;m++)j.push(q[m].name);return c+"("+j.join(", ")+")"+(this._data.ret?" -> "+this._data.ret.type:"")},link:function(j,c){return j.replace(/\[\s*((?:['"][^"']*["'])|[^\|\]\s]*)\s*\|?\s*([^\]]*)\s*\]/g,function(q,m,u){if(/^["']/.test(m))m=m.substr(1,m.length-2);var A=Doc.findOne({name:m})||null;if(A){u||(u=c?m:m.replace(/\.prototype|\.static/,""));return"<a href='"+$.route.url({who:A.name})+"'>"+u+"</a>"}else if(typeof m=="string"&&m.match(/^https?|www\.|#/))return"<a href='"+m+"'>"+
(u||m)+"</a>";return q})},shortenUrl:function(j){j=j.href?j.href:j;var c=j.match(/(https?:\/\/|file:\/\/)[^\/]*\/(.*)/);return c[2]?c[2]:j}};steal.loaded("jmvcdoc/resources/helpers.js");
steal("jquery/class").then("./favorites.js",function(){$.ajaxSetup({converters:{"json addFavorites":function(j){j.isFavorite=Favorites.isFavorite(j);return j}}});$.Class("Doc",{location:null,load:function(j){if(window.localStorage&&window.JMVCDOC_TIMESTAMP){var c=window.localStorage["jmvcDoc"+JMVCDOC_TIMESTAMP];if(c){this._data=c=$.parseJSON(c);j(c);return}else for(var q in localStorage)q.indexOf("jmvcDoc")==0&&localStorage.removeItem(q)}return $.ajax({url:(this.location||DOCS_LOCATION)+"searchData.json",
success:this.callback(["setData",j]),jsonpCallback:"C",dataType:"jsonp",cache:true})},setData:function(j){this._data=j;var c,q,m,u,A,F;for(c in this._data){q=this._data[c];m=q.parents||[];A=m.length;for(u=0;u<A;u++){F=j[m[u]];if(!F.childDocs)F.childDocs=[];F.childDocs.push(q.name)}}window.localStorage&&window.JMVCDOC_TIMESTAMP&&setTimeout(function(){window.localStorage["jmvcDoc"+JMVCDOC_TIMESTAMP]=$.toJSON(j)},1E3);return arguments},findOne:function(j,c,q){if(c){if(window.localStorage&&window.JMVCDOC_TIMESTAMP){var m=
window.localStorage["jmvcDoc"+j.name];if(m){m=$.parseJSON(m);if(m.timestamp==JMVCDOC_TIMESTAMP){c(m);return}}}return $.ajax({url:(this.location||DOCS_LOCATION)+j.name.replace(/ /g,"_").replace(/./g,".")+".json",success:function(u){c(u);if(window.localStorage&&window.JMVCDOC_TIMESTAMP){u.timestamp=JMVCDOC_TIMESTAMP;setTimeout(function(){window.localStorage["jmvcDoc"+j.name]=$.toJSON(u)},1E3)}},error:q,jsonpCallback:"C",dataType:"jsonp addFavorites"})}if(j.name)m=this._data[j.name];if(m)return new this(m)},
findAll:function(j){var c;j=j.search.toLowerCase();if(!j||j==="*"){j="home";c=true}if(j=="favorites")return Favorites.findAll();for(var q=this.searchData(),m=0;m<2;m++){if(j.length<=m||!q)break;var u=j.substring(m,m+1);q=q[u]}u=[];if(q&&j.length>2){q=this.lookup(q.list);for(m=0;m<q.length;m++)this.matches(q[m],j,c)&&u.push(q[m])}else if(q)u=this.lookup(q.list);return u.sort(Search.sortFn)},searchData:function(){if(this._searchData)return this._searchData;if(window.localStorage&&window.JMVCDOC_TIMESTAMP){var j=
window.localStorage["jmvcDocSearch"+window.JMVCDOC_TIMESTAMP];if(j)return this._searchData=$.parseJSON(j)}var c=this._searchData={},q,m=function(A,F){var P,K,Q=c;for(K=0;K<3;K++){P=F.substring(K,K+1);if(!Q[P]){Q[P]={};Q[P].list=[]}$.inArray(Q[P].list,A)==-1&&Q[P].list.push(A);Q=Q[P]}};for(var u in this._data){j=this._data[u];q=u.split(".");for(p=0;p<q.length;p++){part=q[p].toLowerCase();part!="jquery"&&m(u,part)}if(j.tags)for(q=0;q<j.tags.length;q++)m(u,j.tags[q])}return this._searchData},matches:function(j,
c,q){if(!q&&j.name.toLowerCase().indexOf(c)>-1)return true;if(j.tags)for(q=0;q<j.tags.length;q++)if(j.tags[q].toLowerCase().indexOf(c)>-1)return true;return false},lookup:function(j){for(var c=[],q=0;q<j.length;q++)this._data[j[q]]&&c.push(this._data[j[q]]);return c}},{init:function(j){$.extend(this,j)},children:function(){var j=this.Class._data;return $.map(this.childDocs||[],function(c){return new Doc(j[c])}).sort(Search.sortFn)}});$.Class("Search",{sortFn:function(j,c){var q=j.order!==undefined,
m=c.order!==undefined;if(q&&m)return j.order-c.order;if(q)return-1;if(m)return 1;j=(j.title&&j.name.indexOf(".")==-1?j.title:j.name).replace(".prototype",".zzzaprototype").replace(".static",".zzzbstatic").toLowerCase();c=(c.title&&c.name.indexOf(".")==-1?c.title:c.name).replace(".prototype",".zzzaprototype").replace(".static",".zzzbstatic").toLowerCase();if(j<c)return-1;return 1},sortJustStrings:function(j,c){j=j.replace(".prototype",".000AAAprototype").replace(".static",".111BBBstatic");c=c.replace(".prototype",
".000AAAprototype").replace(".static",".111BBBstatic");if(j<c)return-1;return 1}},{})});steal.loaded("jmvcdoc/models/search.js");
steal("jquery","jmvcdoc/demo",function(j){j(document).bind("docUpdated",function(c,q){c=j(c.target);c.find("h1.addFavorite").append(' <span class="favorite favorite'+(q.isFavorite?"on":"off")+'"> </span>');c.find("code").highlight();if(j("#api").length){q=[];for(var m in Search._data.list)q.push(m);j("#api").html(DocumentationHelpers.link("["+q.sort(Search.sortJustStrings).join("]<br/>[")+"]",true))}j(".iframe_menu_wrapper").remove();j(".demo_wrapper").demo();j(".image_tag").each(function(){var u=
j(this),A=u.attr("src");A=steal.root.join(A);u.attr("src",A)})})});steal.loaded("jmvcdoc/content/doc_updated.js");
steal("jquery","jquery/lang/string",function(j){var c=false,q=j.makeArray,m=j.isFunction,u=j.isArray,A=j.extend,F=j.String.getObject,P=function(E,w){return E.concat(q(w))},K=/xyz/.test(function(){})?/\b_super\b/:/.*/,Q=function(E,w,C){C=C||E;for(var k in E)C[k]=m(E[k])&&m(w[k])&&K.test(E[k])?function(x,B){return function(){var J=this._super,t;this._super=w[x];t=B.apply(this,arguments);this._super=J;return t}}(k,E[k]):E[k]};clss=j.Class=function(){arguments.length&&clss.extend.apply(clss,arguments)};
A(clss,{proxy:function(E){var w=q(arguments),C;E=w.shift();u(E)||(E=[E]);C=this;return function(){for(var k=P(w,arguments),x,B=E.length,J=0,t;J<B;J++)if(t=E[J]){if((x=typeof t=="string")&&C._set_called)C.called=t;k=(x?C[t]:t).apply(C,k||[]);if(J<B-1)k=!u(k)||k._use_call?[k]:k}return k}},newInstance:function(){var E=this.rawInstance(),w;if(E.setup)w=E.setup.apply(E,arguments);if(E.init)E.init.apply(E,u(w)?w:arguments);return E},setup:function(E){this.defaults=A(true,{},E.defaults,this.defaults);return arguments},
rawInstance:function(){c=true;var E=new this;c=false;return E},extend:function(E,w,C){function k(){if(!c)return this.constructor!==k&&arguments.length?arguments.callee.extend.apply(arguments.callee,arguments):this.Class.newInstance.apply(this.Class,arguments)}if(typeof E!="string"){C=w;w=E;E=null}if(!C){C=w;w=null}C=C||{};var x=this,B=this.prototype,J,t,O,S;c=true;S=new this;c=false;Q(C,B,S);for(J in this)if(this.hasOwnProperty(J))k[J]=this[J];Q(w,this,k);if(E){O=E.split(/\./);t=O.pop();O=B=F(O.join("."),
window,true);B[t]=k}A(k,{prototype:S,namespace:O,shortName:t,constructor:k,fullName:E});k.prototype.Class=k.prototype.constructor=k;x=k.setup.apply(k,P([x],arguments));if(k.init)k.init.apply(k,x||[]);return k}});clss.callback=clss.prototype.callback=clss.prototype.proxy=clss.proxy})();steal.loaded("jquery/class/class.js");
steal("jquery").then(function(j){var c={undHash:/_|-/,colons:/::/,words:/([A-Z]+)([A-Z][a-z])/g,lowUp:/([a-z\d])([A-Z])/g,dash:/([a-z\d])([A-Z])/g,replacer:/\{([^\}]+)\}/g,dot:/\./},q=function(F,P,K){return F[P]!==undefined?F[P]:K&&(F[P]={})},m=function(F){return(F=typeof F)&&(F=="function"||F=="object")},u=function(F,P,K){F=F?F.split(c.dot):[];var Q=F.length;P=j.isArray(P)?P:[P||window];var E,w,C,k=0;if(Q==0)return P[0];for(;E=P[k++];){for(C=0;C<Q-1&&m(E);C++)E=q(E,F[C],K);if(m(E)){w=q(E,F[C],K);
if(w!==undefined){K===false&&delete E[F[C]];return w}}}},A=j.String=j.extend(j.String||{},{getObject:u,capitalize:function(F){return F.charAt(0).toUpperCase()+F.substr(1)},camelize:function(F){F=A.classize(F);return F.charAt(0).toLowerCase()+F.substr(1)},classize:function(F,P){F=F.split(c.undHash);for(var K=0;K<F.length;K++)F[K]=A.capitalize(F[K]);return F.join(P||"")},niceName:function(F){return A.classize(F," ")},underscore:function(F){return F.replace(c.colons,"/").replace(c.words,"$1_$2").replace(c.lowUp,
"$1_$2").replace(c.dash,"_").toLowerCase()},sub:function(F,P,K){var Q=[];Q.push(F.replace(c.replacer,function(E,w){E=u(w,P,typeof K=="boolean"?!K:K);w=typeof E;if((w==="object"||w==="function")&&w!==null){Q.push(E);return""}else return""+E}));return Q.length<=1?Q[0]:Q},_regs:c})});steal.loaded("jquery/lang/string/string.js");steal("jquery/event").then(function(j){var c=jQuery.cleanData;j.cleanData=function(q){for(var m=0,u;(u=q[m])!==undefined;m++)j(u).triggerHandler("destroyed");c(q)}});steal.loaded("jquery/event/destroyed/destroyed.js");
(function(j,c){function q(a,b,e){if(e===c&&a.nodeType===1){e="data-"+b.replace(vb,"-$1").toLowerCase();e=a.getAttribute(e);if(typeof e==="string"){try{e=e==="true"?true:e==="false"?false:e==="null"?null:!d.isNaN(e)?parseFloat(e):wb.test(e)?d.parseJSON(e):e}catch(f){}d.data(a,b,e)}else e=c}return e}function m(a){for(var b in a)if(b!=="toJSON")return false;return true}function u(a,b,e){var f=b+"defer",g=b+"queue",h=b+"mark",l=d.data(a,f,c,true);if(l&&(e==="queue"||!d.data(a,g,c,true))&&(e==="mark"||
!d.data(a,h,c,true)))setTimeout(function(){if(!d.data(a,g,c,true)&&!d.data(a,h,c,true)){d.removeData(a,f,true);l.resolve()}},0)}function A(){return false}function F(){return true}function P(a,b,e){var f=d.extend({},e[0]);f.type=a;f.originalEvent={};f.liveFired=c;d.event.handle.call(b,f);f.isDefaultPrevented()&&e[0].preventDefault()}function K(a){var b,e,f,g,h,l,r,s,v,I,Z,ca=[];g=[];h=d._data(this,"events");if(!(a.liveFired===this||!h||!h.live||a.target.disabled||a.button&&a.type==="click")){if(a.namespace)Z=
new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");a.liveFired=this;var fa=h.live.slice(0);for(r=0;r<fa.length;r++){h=fa[r];h.origType.replace(Na,"")===a.type?g.push(h.selector):fa.splice(r--,1)}g=d(a.target).closest(g,a.currentTarget);s=0;for(v=g.length;s<v;s++){I=g[s];for(r=0;r<fa.length;r++){h=fa[r];if(I.selector===h.selector&&(!Z||Z.test(h.namespace))&&!I.elem.disabled){l=I.elem;f=null;if(h.preType==="mouseenter"||h.preType==="mouseleave"){a.type=h.preType;if((f=d(a.relatedTarget).closest(h.selector)[0])&&
d.contains(l,f))f=l}if(!f||f!==l)ca.push({elem:l,handleObj:h,level:I.level})}}}s=0;for(v=ca.length;s<v;s++){g=ca[s];if(e&&g.level>e)break;a.currentTarget=g.elem;a.data=g.handleObj.data;a.handleObj=g.handleObj;Z=g.handleObj.origHandler.apply(g.elem,arguments);if(Z===false||a.isPropagationStopped()){e=g.level;if(Z===false)b=false;if(a.isImmediatePropagationStopped())break}}return b}}function Q(a,b){return(a&&a!=="*"?a+".":"")+b.replace(xb,"`").replace(yb,"&")}function E(a){return!a||!a.parentNode||
a.parentNode.nodeType===11}function w(a,b,e){b=b||0;if(d.isFunction(b))return d.grep(a,function(g,h){return!!b.call(g,h,g)===e});else if(b.nodeType)return d.grep(a,function(g){return g===b===e});else if(typeof b==="string"){var f=d.grep(a,function(g){return g.nodeType===1});if(zb.test(b))return d.filter(b,f,!e);else b=d.filter(b,f)}return d.grep(a,function(g){return d.inArray(g,b)>=0===e})}function C(a){return d.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):
a}function k(a,b){if(!(b.nodeType!==1||!d.hasData(a))){var e=d.expando,f=d.data(a),g=d.data(b,f);if(f=f[e]){a=f.events;g=g[e]=d.extend({},f);if(a){delete g.handle;g.events={};for(var h in a){e=0;for(f=a[h].length;e<f;e++)d.event.add(b,h+(a[h][e].namespace?".":"")+a[h][e].namespace,a[h][e],a[h][e].data)}}}}}function x(a,b){var e;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes();b.mergeAttributes&&b.mergeAttributes(a);e=b.nodeName.toLowerCase();if(e==="object")b.outerHTML=a.outerHTML;else if(e===
"input"&&(a.type==="checkbox"||a.type==="radio")){if(a.checked)b.defaultChecked=b.checked=a.checked;if(b.value!==a.value)b.value=a.value}else if(e==="option")b.selected=a.defaultSelected;else if(e==="input"||e==="textarea")b.defaultValue=a.defaultValue;b.removeAttribute(d.expando)}}function B(a){return"getElementsByTagName"in a?a.getElementsByTagName("*"):"querySelectorAll"in a?a.querySelectorAll("*"):[]}function J(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function t(a){if(d.nodeName(a,
"input"))J(a);else"getElementsByTagName"in a&&d.grep(a.getElementsByTagName("input"),J)}function O(a,b){b.src?d.ajax({url:b.src,async:false,dataType:"script"}):d.globalEval((b.text||b.textContent||b.innerHTML||"").replace(Ab,"/*$0*/"));b.parentNode&&b.parentNode.removeChild(b)}function S(a,b,e){var f=b==="width"?a.offsetWidth:a.offsetHeight,g=b==="width"?Bb:Cb;if(f>0){e!=="border"&&d.each(g,function(){e||(f-=parseFloat(d.css(a,"padding"+this))||0);if(e==="margin")f+=parseFloat(d.css(a,e+this))||0;
else f-=parseFloat(d.css(a,"border"+this+"Width"))||0});return f+"px"}f=Ea(a,b,b);if(f<0||f==null)f=a.style[b]||0;f=parseFloat(f)||0;e&&d.each(g,function(){f+=parseFloat(d.css(a,"padding"+this))||0;if(e!=="padding")f+=parseFloat(d.css(a,"border"+this+"Width"))||0;if(e==="margin")f+=parseFloat(d.css(a,e+this))||0});return f+"px"}function ba(a){return function(b,e){if(typeof b!=="string"){e=b;b="*"}if(d.isFunction(e)){b=b.toLowerCase().split(Ya);for(var f=0,g=b.length,h,l;f<g;f++){h=b[f];if(l=/^\+/.test(h))h=
h.substr(1)||"*";h=a[h]=a[h]||[];h[l?"unshift":"push"](e)}}}}function ea(a,b,e,f,g,h){g=g||b.dataTypes[0];h=h||{};h[g]=true;g=a[g];for(var l=0,r=g?g.length:0,s=a===Oa,v;l<r&&(s||!v);l++){v=g[l](b,e,f);if(typeof v==="string")if(!s||h[v])v=c;else{b.dataTypes.unshift(v);v=ea(a,b,e,f,v,h)}}if((s||!v)&&!h["*"])v=ea(a,b,e,f,"*",h);return v}function ga(a,b){var e,f,g=d.ajaxSettings.flatOptions||{};for(e in b)if(b[e]!==c)(g[e]?a:f||(f={}))[e]=b[e];f&&d.extend(true,a,f)}function H(a,b,e,f){if(d.isArray(b))d.each(b,
function(h,l){e||Db.test(a)?f(a,l):H(a+"["+(typeof l==="object"||d.isArray(l)?h:"")+"]",l,e,f)});else if(!e&&b!=null&&typeof b==="object")for(var g in b)H(a+"["+g+"]",b[g],e,f);else f(a,b)}function N(a,b,e){var f=a.contents,g=a.dataTypes,h=a.responseFields,l,r,s,v;for(r in h)if(r in e)b[h[r]]=e[r];for(;g[0]==="*";){g.shift();if(l===c)l=a.mimeType||b.getResponseHeader("content-type")}if(l)for(r in f)if(f[r]&&f[r].test(l)){g.unshift(r);break}if(g[0]in e)s=g[0];else{for(r in e){if(!g[0]||a.converters[r+
" "+g[0]]){s=r;break}v||(v=r)}s=s||v}if(s){s!==g[0]&&g.unshift(s);return e[s]}}function Y(a,b){if(a.dataFilter)b=a.dataFilter(b,a.dataType);var e=a.dataTypes,f={},g,h,l=e.length,r,s=e[0],v,I,Z,ca,fa;for(g=1;g<l;g++){if(g===1)for(h in a.converters)if(typeof h==="string")f[h.toLowerCase()]=a.converters[h];v=s;s=e[g];if(s==="*")s=v;else if(v!=="*"&&v!==s){I=v+" "+s;Z=f[I]||f["* "+s];if(!Z){fa=c;for(ca in f){r=ca.split(" ");if(r[0]===v||r[0]==="*")if(fa=f[r[1]+" "+s]){ca=f[ca];if(ca===true)Z=fa;else if(fa===
true)Z=ca;break}}}Z||fa||d.error("No conversion from "+I.replace(" "," to "));if(Z!==true)b=Z?Z(b):fa(ca(b))}}return b}function aa(){try{return new j.XMLHttpRequest}catch(a){}}function ia(){try{return new j.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}function qa(){setTimeout(Ha,0);return Ja=d.now()}function Ha(){Ja=c}function va(a,b){var e={};d.each(Za.concat.apply([],Za.slice(0,b)),function(){e[this]=a});return e}function U(a){if(!Pa[a]){var b=G.body,e=d("<"+a+">").appendTo(b),f=e.css("display");
e.remove();if(f==="none"||f===""){if(!za){za=G.createElement("iframe");za.frameBorder=za.width=za.height=0}b.appendChild(za);if(!Fa||!za.createElement){Fa=(za.contentWindow||za.contentDocument).document;Fa.write((G.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>");Fa.close()}e=Fa.createElement(a);Fa.body.appendChild(e);f=d.css(e,"display");b.removeChild(za)}Pa[a]=f}return Pa[a]}function W(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var G=j.document,da=
j.navigator,la=j.location,d=function(){function a(){if(!b.isReady){try{G.documentElement.doScroll("left")}catch(o){setTimeout(a,1);return}b.ready()}}var b=function(o,M){return new b.fn.init(o,M,g)},e=j.jQuery,f=j.$,g,h=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,l=/\S/,r=/^\s+/,s=/\s+$/,v=/\d/,I=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,Z=/^[\],:{}\s]*$/,ca=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,fa=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ma=/(?:^|:|,)(?:\s*\[)+/g,Aa=/(webkit)[ \/]([\w.]+)/,
pa=/(opera)(?:.*version)?[ \/]([\w.]+)/,wa=/(msie) ([\w.]+)/,ya=/(mozilla)(?:.*? rv:([\w.]+))?/,i=/-([a-z]|[0-9])/ig,n=/^-ms-/,z=function(o,M){return(M+"").toUpperCase()},y=da.userAgent,D,L,T=Object.prototype.toString,R=Object.prototype.hasOwnProperty,ha=Array.prototype.push,ra=Array.prototype.slice,oa=String.prototype.trim,ua=Array.prototype.indexOf,ja={};b.fn=b.prototype={constructor:b,init:function(o,M,V){var X;if(!o)return this;if(o.nodeType){this.context=this[0]=o;this.length=1;return this}if(o===
"body"&&!M&&G.body){this.context=G;this[0]=G.body;this.selector=o;this.length=1;return this}if(typeof o==="string")if((X=o.charAt(0)==="<"&&o.charAt(o.length-1)===">"&&o.length>=3?[null,o,null]:h.exec(o))&&(X[1]||!M))if(X[1]){V=(M=M instanceof b?M[0]:M)?M.ownerDocument||M:G;if(o=I.exec(o))if(b.isPlainObject(M)){o=[G.createElement(o[1])];b.fn.attr.call(o,M,true)}else o=[V.createElement(o[1])];else{o=b.buildFragment([X[1]],[V]);o=(o.cacheable?b.clone(o.fragment):o.fragment).childNodes}return b.merge(this,
o)}else{if((M=G.getElementById(X[2]))&&M.parentNode){if(M.id!==X[2])return V.find(o);this.length=1;this[0]=M}this.context=G;this.selector=o;return this}else return!M||M.jquery?(M||V).find(o):this.constructor(M).find(o);else if(b.isFunction(o))return V.ready(o);if(o.selector!==c){this.selector=o.selector;this.context=o.context}return b.makeArray(o,this)},selector:"",jquery:"1.6.4",length:0,size:function(){return this.length},toArray:function(){return ra.call(this,0)},get:function(o){return o==null?
this.toArray():o<0?this[this.length+o]:this[o]},pushStack:function(o,M,V){var X=this.constructor();b.isArray(o)?ha.apply(X,o):b.merge(X,o);X.prevObject=this;X.context=this.context;if(M==="find")X.selector=this.selector+(this.selector?" ":"")+V;else if(M)X.selector=this.selector+"."+M+"("+V+")";return X},each:function(o,M){return b.each(this,o,M)},ready:function(o){b.bindReady();D.done(o);return this},eq:function(o){return o===-1?this.slice(o):this.slice(o,+o+1)},first:function(){return this.eq(0)},
last:function(){return this.eq(-1)},slice:function(){return this.pushStack(ra.apply(this,arguments),"slice",ra.call(arguments).join(","))},map:function(o){return this.pushStack(b.map(this,function(M,V){return o.call(M,V,M)}))},end:function(){return this.prevObject||this.constructor(null)},push:ha,sort:[].sort,splice:[].splice};b.fn.init.prototype=b.fn;b.extend=b.fn.extend=function(){var o,M,V,X,na,ka=arguments[0]||{},sa=1,ta=arguments.length,Qa=false;if(typeof ka==="boolean"){Qa=ka;ka=arguments[1]||
{};sa=2}if(typeof ka!=="object"&&!b.isFunction(ka))ka={};if(ta===sa){ka=this;--sa}for(;sa<ta;sa++)if((o=arguments[sa])!=null)for(M in o){V=ka[M];X=o[M];if(ka!==X)if(Qa&&X&&(b.isPlainObject(X)||(na=b.isArray(X)))){if(na){na=false;V=V&&b.isArray(V)?V:[]}else V=V&&b.isPlainObject(V)?V:{};ka[M]=b.extend(Qa,V,X)}else if(X!==c)ka[M]=X}return ka};b.extend({noConflict:function(o){if(j.$===b)j.$=f;if(o&&j.jQuery===b)j.jQuery=e;return b},isReady:false,readyWait:1,holdReady:function(o){if(o)b.readyWait++;else b.ready(true)},
ready:function(o){if(o===true&&!--b.readyWait||o!==true&&!b.isReady){if(!G.body)return setTimeout(b.ready,1);b.isReady=true;if(!(o!==true&&--b.readyWait>0)){D.resolveWith(G,[b]);b.fn.trigger&&b(G).trigger("ready").unbind("ready")}}},bindReady:function(){if(!D){D=b._Deferred();if(G.readyState==="complete")return setTimeout(b.ready,1);if(G.addEventListener){G.addEventListener("DOMContentLoaded",L,false);j.addEventListener("load",b.ready,false)}else if(G.attachEvent){G.attachEvent("onreadystatechange",
L);j.attachEvent("onload",b.ready);var o=false;try{o=j.frameElement==null}catch(M){}G.documentElement.doScroll&&o&&a()}}},isFunction:function(o){return b.type(o)==="function"},isArray:Array.isArray||function(o){return b.type(o)==="array"},isWindow:function(o){return o&&typeof o==="object"&&"setInterval"in o},isNaN:function(o){return o==null||!v.test(o)||isNaN(o)},type:function(o){return o==null?String(o):ja[T.call(o)]||"object"},isPlainObject:function(o){if(!o||b.type(o)!=="object"||o.nodeType||b.isWindow(o))return false;
try{if(o.constructor&&!R.call(o,"constructor")&&!R.call(o.constructor.prototype,"isPrototypeOf"))return false}catch(M){return false}var V;for(V in o);return V===c||R.call(o,V)},isEmptyObject:function(o){for(var M in o)return false;return true},error:function(o){throw o;},parseJSON:function(o){if(typeof o!=="string"||!o)return null;o=b.trim(o);if(j.JSON&&j.JSON.parse)return j.JSON.parse(o);if(Z.test(o.replace(ca,"@").replace(fa,"]").replace(ma,"")))return(new Function("return "+o))();b.error("Invalid JSON: "+
o)},parseXML:function(o){var M,V;try{if(j.DOMParser){V=new DOMParser;M=V.parseFromString(o,"text/xml")}else{M=new ActiveXObject("Microsoft.XMLDOM");M.async="false";M.loadXML(o)}}catch(X){M=c}if(!M||!M.documentElement||M.getElementsByTagName("parsererror").length)b.error("Invalid XML: "+o);return M},noop:function(){},globalEval:function(o){if(o&&l.test(o))(j.execScript||function(M){j.eval.call(j,M)})(o)},camelCase:function(o){return o.replace(n,"ms-").replace(i,z)},nodeName:function(o,M){return o.nodeName&&
o.nodeName.toUpperCase()===M.toUpperCase()},each:function(o,M,V){var X,na=0,ka=o.length,sa=ka===c||b.isFunction(o);if(V)if(sa)for(X in o){if(M.apply(o[X],V)===false)break}else for(;na<ka;){if(M.apply(o[na++],V)===false)break}else if(sa)for(X in o){if(M.call(o[X],X,o[X])===false)break}else for(;na<ka;)if(M.call(o[na],na,o[na++])===false)break;return o},trim:oa?function(o){return o==null?"":oa.call(o)}:function(o){return o==null?"":o.toString().replace(r,"").replace(s,"")},makeArray:function(o,M){M=
M||[];if(o!=null){var V=b.type(o);o.length==null||V==="string"||V==="function"||V==="regexp"||b.isWindow(o)?ha.call(M,o):b.merge(M,o)}return M},inArray:function(o,M){if(!M)return-1;if(ua)return ua.call(M,o);for(var V=0,X=M.length;V<X;V++)if(M[V]===o)return V;return-1},merge:function(o,M){var V=o.length,X=0;if(typeof M.length==="number")for(var na=M.length;X<na;X++)o[V++]=M[X];else for(;M[X]!==c;)o[V++]=M[X++];o.length=V;return o},grep:function(o,M,V){var X=[],na;V=!!V;for(var ka=0,sa=o.length;ka<
sa;ka++){na=!!M(o[ka],ka);V!==na&&X.push(o[ka])}return X},map:function(o,M,V){var X,na,ka=[],sa=0,ta=o.length;if(o instanceof b||ta!==c&&typeof ta==="number"&&(ta>0&&o[0]&&o[ta-1]||ta===0||b.isArray(o)))for(;sa<ta;sa++){X=M(o[sa],sa,V);if(X!=null)ka[ka.length]=X}else for(na in o){X=M(o[na],na,V);if(X!=null)ka[ka.length]=X}return ka.concat.apply([],ka)},guid:1,proxy:function(o,M){if(typeof M==="string"){var V=o[M];M=o;o=V}if(!b.isFunction(o))return c;var X=ra.call(arguments,2);V=function(){return o.apply(M,
X.concat(ra.call(arguments)))};V.guid=o.guid=o.guid||V.guid||b.guid++;return V},access:function(o,M,V,X,na,ka){var sa=o.length;if(typeof M==="object"){for(var ta in M)b.access(o,ta,M[ta],X,na,V);return o}if(V!==c){X=!ka&&X&&b.isFunction(V);for(ta=0;ta<sa;ta++)na(o[ta],M,X?V.call(o[ta],ta,na(o[ta],M)):V,ka);return o}return sa?na(o[0],M):c},now:function(){return(new Date).getTime()},uaMatch:function(o){o=o.toLowerCase();o=Aa.exec(o)||pa.exec(o)||wa.exec(o)||o.indexOf("compatible")<0&&ya.exec(o)||[];
return{browser:o[1]||"",version:o[2]||"0"}},sub:function(){function o(V,X){return new o.fn.init(V,X)}b.extend(true,o,this);o.superclass=this;o.fn=o.prototype=this();o.fn.constructor=o;o.sub=this.sub;o.fn.init=function(V,X){if(X&&X instanceof b&&!(X instanceof o))X=o(X);return b.fn.init.call(this,V,X,M)};o.fn.init.prototype=o.fn;var M=o(G);return o},browser:{}});b.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(o,M){ja["[object "+M+"]"]=M.toLowerCase()});y=b.uaMatch(y);
if(y.browser){b.browser[y.browser]=true;b.browser.version=y.version}if(b.browser.webkit)b.browser.safari=true;if(l.test("\u00a0")){r=/^[\s\xA0]+/;s=/[\s\xA0]+$/}g=b(G);if(G.addEventListener)L=function(){G.removeEventListener("DOMContentLoaded",L,false);b.ready()};else if(G.attachEvent)L=function(){if(G.readyState==="complete"){G.detachEvent("onreadystatechange",L);b.ready()}};return b}(),Ra="done fail isResolved isRejected promise then always pipe".split(" "),$a=[].slice;d.extend({_Deferred:function(){var a=
[],b,e,f,g={done:function(){if(!f){var h=arguments,l,r,s,v,I;if(b){I=b;b=0}l=0;for(r=h.length;l<r;l++){s=h[l];v=d.type(s);if(v==="array")g.done.apply(g,s);else v==="function"&&a.push(s)}I&&g.resolveWith(I[0],I[1])}return this},resolveWith:function(h,l){if(!f&&!b&&!e){l=l||[];e=1;try{for(;a[0];)a.shift().apply(h,l)}finally{b=[h,l];e=0}}return this},resolve:function(){g.resolveWith(this,arguments);return this},isResolved:function(){return!!(e||b)},cancel:function(){f=1;a=[];return this}};return g},
Deferred:function(a){var b=d._Deferred(),e=d._Deferred(),f;d.extend(b,{then:function(g,h){b.done(g).fail(h);return this},always:function(){return b.done.apply(b,arguments).fail.apply(this,arguments)},fail:e.done,rejectWith:e.resolveWith,reject:e.resolve,isRejected:e.isResolved,pipe:function(g,h){return d.Deferred(function(l){d.each({done:[g,"resolve"],fail:[h,"reject"]},function(r,s){var v=s[0],I=s[1],Z;d.isFunction(v)?b[r](function(){(Z=v.apply(this,arguments))&&d.isFunction(Z.promise)?Z.promise().then(l.resolve,
l.reject):l[I+"With"](this===b?l:this,[Z])}):b[r](l[I])})}).promise()},promise:function(g){if(g==null){if(f)return f;f=g={}}for(var h=Ra.length;h--;)g[Ra[h]]=b[Ra[h]];return g}});b.done(e.cancel).fail(b.cancel);delete b.cancel;a&&a.call(b,b);return b},when:function(a){function b(r){return function(s){e[r]=arguments.length>1?$a.call(arguments,0):s;--h||l.resolveWith(l,$a.call(e,0))}}var e=arguments,f=0,g=e.length,h=g,l=g<=1&&a&&d.isFunction(a.promise)?a:d.Deferred();if(g>1){for(;f<g;f++)if(e[f]&&d.isFunction(e[f].promise))e[f].promise().then(b(f),
l.reject);else--h;h||l.resolveWith(l,e)}else if(l!==a)l.resolveWith(l,g?[a]:[]);return l.promise()}});d.support=function(){var a=G.createElement("div"),b=G.documentElement,e,f,g,h,l,r;a.setAttribute("className","t");a.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";e=a.getElementsByTagName("*");f=a.getElementsByTagName("a")[0];if(!e||!e.length||!f)return{};g=G.createElement("select");h=g.appendChild(G.createElement("option"));
e=a.getElementsByTagName("input")[0];l={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(f.getAttribute("style")),hrefNormalized:f.getAttribute("href")==="/a",opacity:/^0.55$/.test(f.style.opacity),cssFloat:!!f.style.cssFloat,checkOn:e.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",submitBubbles:true,changeBubbles:true,focusinBubbles:false,deleteExpando:true,noCloneEvent:true,
inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableMarginRight:true};e.checked=true;l.noCloneChecked=e.cloneNode(true).checked;g.disabled=true;l.optDisabled=!h.disabled;try{delete a.test}catch(s){l.deleteExpando=false}if(!a.addEventListener&&a.attachEvent&&a.fireEvent){a.attachEvent("onclick",function(){l.noCloneEvent=false});a.cloneNode(true).fireEvent("onclick")}e=G.createElement("input");e.value="t";e.setAttribute("type","radio");l.radioValue=e.value==="t";e.setAttribute("checked","checked");
a.appendChild(e);f=G.createDocumentFragment();f.appendChild(a.firstChild);l.checkClone=f.cloneNode(true).cloneNode(true).lastChild.checked;a.innerHTML="";a.style.width=a.style.paddingLeft="1px";g=G.getElementsByTagName("body")[0];f=G.createElement(g?"div":"body");h={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};g&&d.extend(h,{position:"absolute",left:"-1000px",top:"-1000px"});for(r in h)f.style[r]=h[r];f.appendChild(a);b=g||b;b.insertBefore(f,b.firstChild);l.appendChecked=
e.checked;l.boxModel=a.offsetWidth===2;if("zoom"in a.style){a.style.display="inline";a.style.zoom=1;l.inlineBlockNeedsLayout=a.offsetWidth===2;a.style.display="";a.innerHTML="<div style='width:4px;'></div>";l.shrinkWrapBlocks=a.offsetWidth!==2}a.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";g=a.getElementsByTagName("td");e=g[0].offsetHeight===0;g[0].style.display="";g[1].style.display="none";l.reliableHiddenOffsets=e&&g[0].offsetHeight===0;a.innerHTML=
"";if(G.defaultView&&G.defaultView.getComputedStyle){e=G.createElement("div");e.style.width="0";e.style.marginRight="0";a.appendChild(e);l.reliableMarginRight=(parseInt((G.defaultView.getComputedStyle(e,null)||{marginRight:0}).marginRight,10)||0)===0}f.innerHTML="";b.removeChild(f);if(a.attachEvent)for(r in{submit:1,change:1,focusin:1}){b="on"+r;e=b in a;if(!e){a.setAttribute(b,"return;");e=typeof a[b]==="function"}l[r+"Bubbles"]=e}f=f=g=h=g=e=a=e=null;return l}();d.boxModel=d.support.boxModel;var wb=
/^(?:\{.*\}|\[.*\])$/,vb=/([A-Z])/g;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(a){a=a.nodeType?d.cache[a[d.expando]]:a[d.expando];return!!a&&!m(a)},data:function(a,b,e,f){if(d.acceptData(a)){var g=d.expando,h=typeof b==="string",l=a.nodeType,r=l?d.cache:a,s=l?a[d.expando]:a[d.expando]&&d.expando;if(!((!s||f&&s&&r[s]&&!r[s][g])&&h&&e===c)){if(!s)if(l)a[d.expando]=
s=++d.uuid;else s=d.expando;if(!r[s]){r[s]={};if(!l)r[s].toJSON=d.noop}if(typeof b==="object"||typeof b==="function")if(f)r[s][g]=d.extend(r[s][g],b);else r[s]=d.extend(r[s],b);a=r[s];if(f){a[g]||(a[g]={});a=a[g]}if(e!==c)a[d.camelCase(b)]=e;if(b==="events"&&!a[b])return a[g]&&a[g].events;if(h){e=a[b];if(e==null)e=a[d.camelCase(b)]}else e=a;return e}}},removeData:function(a,b,e){if(d.acceptData(a)){var f,g=d.expando,h=a.nodeType,l=h?d.cache:a,r=h?a[d.expando]:d.expando;if(l[r]){if(b)if(f=e?l[r][g]:
l[r]){f[b]||(b=d.camelCase(b));delete f[b];if(!m(f))return}if(e){delete l[r][g];if(!m(l[r]))return}b=l[r][g];if(d.support.deleteExpando||!l.setInterval)delete l[r];else l[r]=null;if(b){l[r]={};if(!h)l[r].toJSON=d.noop;l[r][g]=b}else if(h)if(d.support.deleteExpando)delete a[d.expando];else if(a.removeAttribute)a.removeAttribute(d.expando);else a[d.expando]=null}}},_data:function(a,b,e){return d.data(a,b,e,true)},acceptData:function(a){if(a.nodeName){var b=d.noData[a.nodeName.toLowerCase()];if(b)return!(b===
true||a.getAttribute("classid")!==b)}return true}});d.fn.extend({data:function(a,b){var e=null;if(typeof a==="undefined"){if(this.length){e=d.data(this[0]);if(this[0].nodeType===1)for(var f=this[0].attributes,g,h=0,l=f.length;h<l;h++){g=f[h].name;if(g.indexOf("data-")===0){g=d.camelCase(g.substring(5));q(this[0],g,e[g])}}}return e}else if(typeof a==="object")return this.each(function(){d.data(this,a)});var r=a.split(".");r[1]=r[1]?"."+r[1]:"";if(b===c){e=this.triggerHandler("getData"+r[1]+"!",[r[0]]);
if(e===c&&this.length){e=d.data(this[0],a);e=q(this[0],a,e)}return e===c&&r[1]?this.data(r[0]):e}else return this.each(function(){var s=d(this),v=[r[0],b];s.triggerHandler("setData"+r[1]+"!",v);d.data(this,a,b);s.triggerHandler("changeData"+r[1]+"!",v)})},removeData:function(a){return this.each(function(){d.removeData(this,a)})}});d.extend({_mark:function(a,b){if(a){b=(b||"fx")+"mark";d.data(a,b,(d.data(a,b,c,true)||0)+1,true)}},_unmark:function(a,b,e){if(a!==true){e=b;b=a;a=false}if(b){e=e||"fx";
var f=e+"mark";if(a=a?0:(d.data(b,f,c,true)||1)-1)d.data(b,f,a,true);else{d.removeData(b,f,true);u(b,e,"mark")}}},queue:function(a,b,e){if(a){b=(b||"fx")+"queue";var f=d.data(a,b,c,true);if(e)if(!f||d.isArray(e))f=d.data(a,b,d.makeArray(e),true);else f.push(e);return f||[]}},dequeue:function(a,b){b=b||"fx";var e=d.queue(a,b),f=e.shift();if(f==="inprogress")f=e.shift();if(f){b==="fx"&&e.unshift("inprogress");f.call(a,function(){d.dequeue(a,b)})}if(!e.length){d.removeData(a,b+"queue",true);u(a,b,"queue")}}});
d.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===c)return d.queue(this[0],a);return this.each(function(){var e=d.queue(this,a,b);a==="fx"&&e[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},delay:function(a,b){a=d.fx?d.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var e=this;setTimeout(function(){d.dequeue(e,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){function e(){--h||
f.resolveWith(g,[g])}if(typeof a!=="string"){b=a;a=c}a=a||"fx";var f=d.Deferred(),g=this;b=g.length;var h=1,l=a+"defer",r=a+"queue";a=a+"mark";for(var s;b--;)if(s=d.data(g[b],l,c,true)||(d.data(g[b],r,c,true)||d.data(g[b],a,c,true))&&d.data(g[b],l,d._Deferred(),true)){h++;s.done(e)}e();return f.promise()}});var ab=/[\n\t\r]/g,Sa=/\s+/,Eb=/\r/g,Fb=/^(?:button|input)$/i,Gb=/^(?:button|input|object|select|textarea)$/i,Hb=/^a(?:rea)?$/i,bb=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,
Ba,cb;d.fn.extend({attr:function(a,b){return d.access(this,a,b,true,d.attr)},removeAttr:function(a){return this.each(function(){d.removeAttr(this,a)})},prop:function(a,b){return d.access(this,a,b,true,d.prop)},removeProp:function(a){a=d.propFix[a]||a;return this.each(function(){try{this[a]=c;delete this[a]}catch(b){}})},addClass:function(a){var b,e,f,g,h,l,r;if(d.isFunction(a))return this.each(function(s){d(this).addClass(a.call(this,s,this.className))});if(a&&typeof a==="string"){b=a.split(Sa);e=
0;for(f=this.length;e<f;e++){g=this[e];if(g.nodeType===1)if(!g.className&&b.length===1)g.className=a;else{h=" "+g.className+" ";l=0;for(r=b.length;l<r;l++)~h.indexOf(" "+b[l]+" ")||(h+=b[l]+" ");g.className=d.trim(h)}}}return this},removeClass:function(a){var b,e,f,g,h,l,r;if(d.isFunction(a))return this.each(function(s){d(this).removeClass(a.call(this,s,this.className))});if(a&&typeof a==="string"||a===c){b=(a||"").split(Sa);e=0;for(f=this.length;e<f;e++){g=this[e];if(g.nodeType===1&&g.className)if(a){h=
(" "+g.className+" ").replace(ab," ");l=0;for(r=b.length;l<r;l++)h=h.replace(" "+b[l]+" "," ");g.className=d.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var e=typeof a,f=typeof b==="boolean";if(d.isFunction(a))return this.each(function(g){d(this).toggleClass(a.call(this,g,this.className,b),b)});return this.each(function(){if(e==="string")for(var g,h=0,l=d(this),r=b,s=a.split(Sa);g=s[h++];){r=f?r:!l.hasClass(g);l[r?"addClass":"removeClass"](g)}else if(e==="undefined"||e==="boolean"){this.className&&
d._data(this,"__className__",this.className);this.className=this.className||a===false?"":d._data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,e=this.length;b<e;b++)if(this[b].nodeType===1&&(" "+this[b].className+" ").replace(ab," ").indexOf(a)>-1)return true;return false},val:function(a){var b,e,f=this[0];if(!arguments.length){if(f){if((b=d.valHooks[f.nodeName.toLowerCase()]||d.valHooks[f.type])&&"get"in b&&(e=b.get(f,"value"))!==c)return e;e=f.value;return typeof e===
"string"?e.replace(Eb,""):e==null?"":e}return c}var g=d.isFunction(a);return this.each(function(h){var l=d(this);if(this.nodeType===1){h=g?a.call(this,h,l.val()):a;if(h==null)h="";else if(typeof h==="number")h+="";else if(d.isArray(h))h=d.map(h,function(r){return r==null?"":r+""});b=d.valHooks[this.nodeName.toLowerCase()]||d.valHooks[this.type];if(!b||!("set"in b)||b.set(this,h,"value")===c)this.value=h}})}});d.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?
a.value:a.text}},select:{get:function(a){var b,e=a.selectedIndex,f=[],g=a.options;a=a.type==="select-one";if(e<0)return null;for(var h=a?e:0,l=a?e+1:g.length;h<l;h++){b=g[h];if(b.selected&&(d.support.optDisabled?!b.disabled:b.getAttribute("disabled")===null)&&(!b.parentNode.disabled||!d.nodeName(b.parentNode,"optgroup"))){b=d(b).val();if(a)return b;f.push(b)}}if(a&&!f.length&&g.length)return d(g[e]).val();return f},set:function(a,b){var e=d.makeArray(b);d(a).find("option").each(function(){this.selected=
d.inArray(d(this).val(),e)>=0});if(!e.length)a.selectedIndex=-1;return e}}},attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attrFix:{tabindex:"tabIndex"},attr:function(a,b,e,f){var g=a.nodeType;if(!a||g===3||g===8||g===2)return c;if(f&&b in d.attrFn)return d(a)[b](e);if(!("getAttribute"in a))return d.prop(a,b,e);var h,l;if(f=g!==1||!d.isXMLDoc(a)){b=d.attrFix[b]||b;l=d.attrHooks[b];if(!l)if(bb.test(b))l=cb;else if(Ba)l=Ba}if(e!==c)if(e===null){d.removeAttr(a,
b);return c}else if(l&&"set"in l&&f&&(h=l.set(a,e,b))!==c)return h;else{a.setAttribute(b,""+e);return e}else if(l&&"get"in l&&f&&(h=l.get(a,b))!==null)return h;else{h=a.getAttribute(b);return h===null?c:h}},removeAttr:function(a,b){var e;if(a.nodeType===1){b=d.attrFix[b]||b;d.attr(a,b,"");a.removeAttribute(b);if(bb.test(b)&&(e=d.propFix[b]||b)in a)a[e]=false}},attrHooks:{type:{set:function(a,b){if(Fb.test(a.nodeName)&&a.parentNode)d.error("type property can't be changed");else if(!d.support.radioValue&&
b==="radio"&&d.nodeName(a,"input")){var e=a.value;a.setAttribute("type",b);if(e)a.value=e;return b}}},value:{get:function(a,b){if(Ba&&d.nodeName(a,"button"))return Ba.get(a,b);return b in a?a.value:null},set:function(a,b,e){if(Ba&&d.nodeName(a,"button"))return Ba.set(a,b,e);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",
contenteditable:"contentEditable"},prop:function(a,b,e){var f=a.nodeType;if(!a||f===3||f===8||f===2)return c;var g,h;if(f!==1||!d.isXMLDoc(a)){b=d.propFix[b]||b;h=d.propHooks[b]}return e!==c?h&&"set"in h&&(g=h.set(a,e,b))!==c?g:(a[b]=e):h&&"get"in h&&(g=h.get(a,b))!==null?g:a[b]},propHooks:{tabIndex:{get:function(a){var b=a.getAttributeNode("tabindex");return b&&b.specified?parseInt(b.value,10):Gb.test(a.nodeName)||Hb.test(a.nodeName)&&a.href?0:c}}}});d.attrHooks.tabIndex=d.propHooks.tabIndex;cb=
{get:function(a,b){var e;return d.prop(a,b)===true||(e=a.getAttributeNode(b))&&e.nodeValue!==false?b.toLowerCase():c},set:function(a,b,e){if(b===false)d.removeAttr(a,e);else{b=d.propFix[e]||e;if(b in a)a[b]=true;a.setAttribute(e,e.toLowerCase())}return e}};if(!d.support.getSetAttribute){Ba=d.valHooks.button={get:function(a,b){return(a=a.getAttributeNode(b))&&a.nodeValue!==""?a.nodeValue:c},set:function(a,b,e){var f=a.getAttributeNode(e);if(!f){f=G.createAttribute(e);a.setAttributeNode(f)}return f.nodeValue=
b+""}};d.each(["width","height"],function(a,b){d.attrHooks[b]=d.extend(d.attrHooks[b],{set:function(e,f){if(f===""){e.setAttribute(b,"auto");return f}}})})}d.support.hrefNormalized||d.each(["href","src","width","height"],function(a,b){d.attrHooks[b]=d.extend(d.attrHooks[b],{get:function(e){e=e.getAttribute(b,2);return e===null?c:e}})});if(!d.support.style)d.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||c},set:function(a,b){return a.style.cssText=""+b}};if(!d.support.optSelected)d.propHooks.selected=
d.extend(d.propHooks.selected,{get:function(){return null}});d.support.checkOn||d.each(["radio","checkbox"],function(){d.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}});d.each(["radio","checkbox"],function(){d.valHooks[this]=d.extend(d.valHooks[this],{set:function(a,b){if(d.isArray(b))return a.checked=d.inArray(d(a).val(),b)>=0}})});var Na=/\.(.*)$/,Ta=/^(?:textarea|input|select)$/i,xb=/\./g,yb=/ /g,Ib=/[^\w\s.|`]/g,Jb=function(a){return a.replace(Ib,"\\$&")};
d.event={add:function(a,b,e,f){if(!(a.nodeType===3||a.nodeType===8)){if(e===false)e=A;else if(!e)return;var g,h;if(e.handler){g=e;e=g.handler}if(!e.guid)e.guid=d.guid++;if(h=d._data(a)){var l=h.events,r=h.handle;if(!l)h.events=l={};if(!r)h.handle=r=function(fa){return typeof d!=="undefined"&&(!fa||d.event.triggered!==fa.type)?d.event.handle.apply(r.elem,arguments):c};r.elem=a;b=b.split(" ");for(var s,v=0,I;s=b[v++];){h=g?d.extend({},g):{handler:e,data:f};if(s.indexOf(".")>-1){I=s.split(".");s=I.shift();
h.namespace=I.slice(0).sort().join(".")}else{I=[];h.namespace=""}h.type=s;if(!h.guid)h.guid=e.guid;var Z=l[s],ca=d.event.special[s]||{};if(!Z){Z=l[s]=[];if(!ca.setup||ca.setup.call(a,f,I,r)===false)if(a.addEventListener)a.addEventListener(s,r,false);else a.attachEvent&&a.attachEvent("on"+s,r)}if(ca.add){ca.add.call(a,h);if(!h.handler.guid)h.handler.guid=e.guid}Z.push(h);d.event.global[s]=true}a=null}}},global:{},remove:function(a,b,e,f){if(!(a.nodeType===3||a.nodeType===8)){if(e===false)e=A;var g,
h,l=0,r,s,v,I,Z,ca,fa=d.hasData(a)&&d._data(a),ma=fa&&fa.events;if(fa&&ma){if(b&&b.type){e=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(g in ma)d.event.remove(a,g+b)}else{for(b=b.split(" ");g=b[l++];){I=g;r=g.indexOf(".")<0;s=[];if(!r){s=g.split(".");g=s.shift();v=new RegExp("(^|\\.)"+d.map(s.slice(0).sort(),Jb).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(Z=ma[g])if(e){I=d.event.special[g]||{};for(h=f||0;h<Z.length;h++){ca=Z[h];if(e.guid===ca.guid){if(r||v.test(ca.namespace)){f==
null&&Z.splice(h--,1);I.remove&&I.remove.call(a,ca)}if(f!=null)break}}if(Z.length===0||f!=null&&Z.length===1){if(!I.teardown||I.teardown.call(a,s)===false)d.removeEvent(a,g,fa.handle);delete ma[g]}}else for(h=0;h<Z.length;h++){ca=Z[h];if(r||v.test(ca.namespace)){d.event.remove(a,I,ca.handler,h);Z.splice(h--,1)}}}if(d.isEmptyObject(ma)){if(b=fa.handle)b.elem=null;delete fa.events;delete fa.handle;d.isEmptyObject(fa)&&d.removeData(a,c,true)}}}}},customEvent:{getData:true,setData:true,changeData:true},
trigger:function(a,b,e,f){var g=a.type||a,h=[],l;if(g.indexOf("!")>=0){g=g.slice(0,-1);l=true}if(g.indexOf(".")>=0){h=g.split(".");g=h.shift();h.sort()}if(!((!e||d.event.customEvent[g])&&!d.event.global[g])){a=typeof a==="object"?a[d.expando]?a:new d.Event(g,a):new d.Event(g);a.type=g;a.exclusive=l;a.namespace=h.join(".");a.namespace_re=new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.)?")+"(\\.|$)");if(f||!e){a.preventDefault();a.stopPropagation()}if(e){if(!(e.nodeType===3||e.nodeType===8)){a.result=c;a.target=
e;b=b!=null?d.makeArray(b):[];b.unshift(a);h=e;f=g.indexOf(":")<0?"on"+g:"";do{l=d._data(h,"handle");a.currentTarget=h;l&&l.apply(h,b);if(f&&d.acceptData(h)&&h[f]&&h[f].apply(h,b)===false){a.result=false;a.preventDefault()}h=h.parentNode||h.ownerDocument||h===a.target.ownerDocument&&j}while(h&&!a.isPropagationStopped());if(!a.isDefaultPrevented()){var r;h=d.event.special[g]||{};if((!h._default||h._default.call(e.ownerDocument,a)===false)&&!(g==="click"&&d.nodeName(e,"a"))&&d.acceptData(e)){try{if(f&&
e[g]){if(r=e[f])e[f]=null;d.event.triggered=g;e[g]()}}catch(s){}if(r)e[f]=r;d.event.triggered=c}}return a.result}}else d.each(d.cache,function(){var v=this[d.expando];v&&v.events&&v.events[g]&&d.event.trigger(a,b,v.handle.elem)})}},handle:function(a){a=d.event.fix(a||j.event);var b=((d._data(this,"events")||{})[a.type]||[]).slice(0),e=!a.exclusive&&!a.namespace,f=Array.prototype.slice.call(arguments,0);f[0]=a;a.currentTarget=this;for(var g=0,h=b.length;g<h;g++){var l=b[g];if(e||a.namespace_re.test(l.namespace)){a.handler=
l.handler;a.data=l.data;a.handleObj=l;l=l.handler.apply(this,f);if(l!==c){a.result=l;if(l===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}return a.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(" "),
fix:function(a){if(a[d.expando])return a;var b=a;a=d.Event(b);for(var e=this.props.length,f;e;){f=this.props[--e];a[f]=b[f]}if(!a.target)a.target=a.srcElement||G;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){e=a.target.ownerDocument||G;b=e.documentElement;e=e.body;a.pageX=a.clientX+(b&&b.scrollLeft||e&&e.scrollLeft||0)-(b&&b.clientLeft||e&&e.clientLeft||
0);a.pageY=a.clientY+(b&&b.scrollTop||e&&e.scrollTop||0)-(b&&b.clientTop||e&&e.clientTop||0)}if(a.which==null&&(a.charCode!=null||a.keyCode!=null))a.which=a.charCode!=null?a.charCode:a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==c)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:d.proxy,special:{ready:{setup:d.bindReady,teardown:d.noop},live:{add:function(a){d.event.add(this,Q(a.origType,a.selector),d.extend({},a,{handler:K,guid:a.handler.guid}))},
remove:function(a){d.event.remove(this,Q(a.origType,a.selector),a)}},beforeunload:{setup:function(a,b,e){if(d.isWindow(this))this.onbeforeunload=e},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};d.removeEvent=G.removeEventListener?function(a,b,e){a.removeEventListener&&a.removeEventListener(b,e,false)}:function(a,b,e){a.detachEvent&&a.detachEvent("on"+b,e)};d.Event=function(a,b){if(!this.preventDefault)return new d.Event(a,b);if(a&&a.type){this.originalEvent=a;this.type=
a.type;this.isDefaultPrevented=a.defaultPrevented||a.returnValue===false||a.getPreventDefault&&a.getPreventDefault()?F:A}else this.type=a;b&&d.extend(this,b);this.timeStamp=d.now();this[d.expando]=true};d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=F;var a=this.originalEvent;if(a)if(a.preventDefault)a.preventDefault();else a.returnValue=false},stopPropagation:function(){this.isPropagationStopped=F;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=
true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=F;this.stopPropagation()},isDefaultPrevented:A,isPropagationStopped:A,isImmediatePropagationStopped:A};var db=function(a){var b=a.relatedTarget,e=false,f=a.type;a.type=a.data;if(b!==this){if(b)e=d.contains(this,b);if(!e){d.event.handle.apply(this,arguments);a.type=f}}},eb=function(a){a.type=a.data;d.event.handle.apply(this,arguments)};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){d.event.special[a]=
{setup:function(e){d.event.add(this,b,e&&e.selector?eb:db,a)},teardown:function(e){d.event.remove(this,b,e&&e.selector?eb:db)}}});if(!d.support.submitBubbles)d.event.special.submit={setup:function(){if(d.nodeName(this,"form"))return false;else{d.event.add(this,"click.specialSubmit",function(a){var b=a.target,e=d.nodeName(b,"input")||d.nodeName(b,"button")?b.type:"";if((e==="submit"||e==="image")&&d(b).closest("form").length)P("submit",this,arguments)});d.event.add(this,"keypress.specialSubmit",function(a){var b=
a.target,e=d.nodeName(b,"input")||d.nodeName(b,"button")?b.type:"";if((e==="text"||e==="password")&&d(b).closest("form").length&&a.keyCode===13)P("submit",this,arguments)})}},teardown:function(){d.event.remove(this,".specialSubmit")}};if(!d.support.changeBubbles){var Ia,fb=function(a){var b=d.nodeName(a,"input")?a.type:"",e=a.value;if(b==="radio"||b==="checkbox")e=a.checked;else if(b==="select-multiple")e=a.selectedIndex>-1?d.map(a.options,function(f){return f.selected}).join("-"):"";else if(d.nodeName(a,
"select"))e=a.selectedIndex;return e},Ka=function(a,b){var e=a.target,f,g;if(!(!Ta.test(e.nodeName)||e.readOnly)){f=d._data(e,"_change_data");g=fb(e);if(a.type!=="focusout"||e.type!=="radio")d._data(e,"_change_data",g);if(!(f===c||g===f))if(f!=null||g){a.type="change";a.liveFired=c;d.event.trigger(a,b,e)}}};d.event.special.change={filters:{focusout:Ka,beforedeactivate:Ka,click:function(a){var b=a.target,e=d.nodeName(b,"input")?b.type:"";if(e==="radio"||e==="checkbox"||d.nodeName(b,"select"))Ka.call(this,
a)},keydown:function(a){var b=a.target,e=d.nodeName(b,"input")?b.type:"";if(a.keyCode===13&&!d.nodeName(b,"textarea")||a.keyCode===32&&(e==="checkbox"||e==="radio")||e==="select-multiple")Ka.call(this,a)},beforeactivate:function(a){a=a.target;d._data(a,"_change_data",fb(a))}},setup:function(){if(this.type==="file")return false;for(var a in Ia)d.event.add(this,a+".specialChange",Ia[a]);return Ta.test(this.nodeName)},teardown:function(){d.event.remove(this,".specialChange");return Ta.test(this.nodeName)}};
Ia=d.event.special.change.filters;Ia.focus=Ia.beforeactivate}d.support.focusinBubbles||d.each({focus:"focusin",blur:"focusout"},function(a,b){function e(g){var h=d.event.fix(g);h.type=b;h.originalEvent={};d.event.trigger(h,null,h.target);h.isDefaultPrevented()&&g.preventDefault()}var f=0;d.event.special[b]={setup:function(){f++===0&&G.addEventListener(a,e,true)},teardown:function(){--f===0&&G.removeEventListener(a,e,true)}}});d.each(["bind","one"],function(a,b){d.fn[b]=function(e,f,g){var h;if(typeof e===
"object"){for(var l in e)this[b](l,f,e[l],g);return this}if(arguments.length===2||f===false){g=f;f=c}if(b==="one"){h=function(s){d(this).unbind(s,h);return g.apply(this,arguments)};h.guid=g.guid||d.guid++}else h=g;if(e==="unload"&&b!=="one")this.one(e,f,g);else{l=0;for(var r=this.length;l<r;l++)d.event.add(this[l],e,h,f)}return this}});d.fn.extend({unbind:function(a,b){if(typeof a==="object"&&!a.preventDefault)for(var e in a)this.unbind(e,a[e]);else{e=0;for(var f=this.length;e<f;e++)d.event.remove(this[e],
a,b)}return this},delegate:function(a,b,e,f){return this.live(b,e,f,a)},undelegate:function(a,b,e){return arguments.length===0?this.unbind("live"):this.die(b,null,e,a)},trigger:function(a,b){return this.each(function(){d.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return d.event.trigger(a,b,this[0],true)},toggle:function(a){var b=arguments,e=a.guid||d.guid++,f=0,g=function(h){var l=(d.data(this,"lastToggle"+a.guid)||0)%f;d.data(this,"lastToggle"+a.guid,l+1);h.preventDefault();
return b[l].apply(this,arguments)||false};for(g.guid=e;f<b.length;)b[f++].guid=e;return this.click(g)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Ua={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};d.each(["live","die"],function(a,b){d.fn[b]=function(e,f,g,h){var l=0,r,s,v=h||this.selector,I=h?this:d(this.context);if(typeof e==="object"&&!e.preventDefault){for(r in e)I[b](r,f,e[r],v);return this}if(b==="die"&&!e&&h&&h.charAt(0)==="."){I.unbind(h);
return this}if(f===false||d.isFunction(f)){g=f||A;f=c}for(e=(e||"").split(" ");(h=e[l++])!=null;){r=Na.exec(h);s="";if(r){s=r[0];h=h.replace(Na,"")}if(h==="hover")e.push("mouseenter"+s,"mouseleave"+s);else{r=h;if(Ua[h]){e.push(Ua[h]+s);h+=s}else h=(Ua[h]||h)+s;if(b==="live"){s=0;for(var Z=I.length;s<Z;s++)d.event.add(I[s],"live."+Q(h,v),{data:f,selector:v,handler:g,origType:h,origHandler:g,preType:r})}else I.unbind("live."+Q(h,v),g)}}return this}});d.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(a,b){d.fn[b]=function(e,f){if(f==null){f=e;e=null}return arguments.length>0?this.bind(b,e,f):this.trigger(b)};if(d.attrFn)d.attrFn[b]=true});(function(){function a(i,n,z,y,D,L){D=0;for(var T=y.length;D<T;D++){var R=y[D];if(R){var ha=false;for(R=R[i];R;){if(R.sizcache===z){ha=y[R.sizset];break}if(R.nodeType===1&&!L){R.sizcache=z;R.sizset=D}if(R.nodeName.toLowerCase()===n){ha=R;break}R=R[i]}y[D]=ha}}}function b(i,n,z,y,D,L){D=0;for(var T=y.length;D<T;D++){var R=y[D];if(R){var ha=false;for(R=
R[i];R;){if(R.sizcache===z){ha=y[R.sizset];break}if(R.nodeType===1){if(!L){R.sizcache=z;R.sizset=D}if(typeof n!=="string"){if(R===n){ha=true;break}}else if(v.filter(n,[R]).length>0){ha=R;break}}R=R[i]}y[D]=ha}}}var e=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,f=0,g=Object.prototype.toString,h=false,l=true,r=/\\/g,s=/\W/;[0,0].sort(function(){l=false;return 0});var v=function(i,n,z,y){z=z||[];var D=n=n||G;if(n.nodeType!==
1&&n.nodeType!==9)return[];if(!i||typeof i!=="string")return z;var L,T,R,ha,ra,oa=true,ua=v.isXML(n),ja=[],o=i;do{e.exec("");if(L=e.exec(o)){o=L[3];ja.push(L[1]);if(L[2]){ha=L[3];break}}}while(L);if(ja.length>1&&Z.exec(i))if(ja.length===2&&I.relative[ja[0]])T=ya(ja[0]+ja[1],n);else for(T=I.relative[ja[0]]?[n]:v(ja.shift(),n);ja.length;){i=ja.shift();if(I.relative[i])i+=ja.shift();T=ya(i,T)}else{if(!y&&ja.length>1&&n.nodeType===9&&!ua&&I.match.ID.test(ja[0])&&!I.match.ID.test(ja[ja.length-1])){L=v.find(ja.shift(),
n,ua);n=L.expr?v.filter(L.expr,L.set)[0]:L.set[0]}if(n){L=y?{expr:ja.pop(),set:ma(y)}:v.find(ja.pop(),ja.length===1&&(ja[0]==="~"||ja[0]==="+")&&n.parentNode?n.parentNode:n,ua);T=L.expr?v.filter(L.expr,L.set):L.set;if(ja.length>0)R=ma(T);else oa=false;for(;ja.length;){L=ra=ja.pop();if(I.relative[ra])L=ja.pop();else ra="";if(L==null)L=n;I.relative[ra](R,L,ua)}}else R=[]}R||(R=T);R||v.error(ra||i);if(g.call(R)==="[object Array]")if(oa)if(n&&n.nodeType===1)for(i=0;R[i]!=null;i++){if(R[i]&&(R[i]===true||
R[i].nodeType===1&&v.contains(n,R[i])))z.push(T[i])}else for(i=0;R[i]!=null;i++)R[i]&&R[i].nodeType===1&&z.push(T[i]);else z.push.apply(z,R);else ma(R,z);if(ha){v(ha,D,z,y);v.uniqueSort(z)}return z};v.uniqueSort=function(i){if(pa){h=l;i.sort(pa);if(h)for(var n=1;n<i.length;n++)i[n]===i[n-1]&&i.splice(n--,1)}return i};v.matches=function(i,n){return v(i,null,null,n)};v.matchesSelector=function(i,n){return v(n,null,null,[i]).length>0};v.find=function(i,n,z){var y;if(!i)return[];for(var D=0,L=I.order.length;D<
L;D++){var T,R=I.order[D];if(T=I.leftMatch[R].exec(i)){var ha=T[1];T.splice(1,1);if(ha.substr(ha.length-1)!=="\\"){T[1]=(T[1]||"").replace(r,"");y=I.find[R](T,n,z);if(y!=null){i=i.replace(I.match[R],"");break}}}}y||(y=typeof n.getElementsByTagName!=="undefined"?n.getElementsByTagName("*"):[]);return{set:y,expr:i}};v.filter=function(i,n,z,y){for(var D,L,T=i,R=[],ha=n,ra=n&&n[0]&&v.isXML(n[0]);i&&n.length;){for(var oa in I.filter)if((D=I.leftMatch[oa].exec(i))!=null&&D[2]){var ua,ja,o=I.filter[oa];
ja=D[1];L=false;D.splice(1,1);if(ja.substr(ja.length-1)!=="\\"){if(ha===R)R=[];if(I.preFilter[oa])if(D=I.preFilter[oa](D,ha,z,R,y,ra)){if(D===true)continue}else L=ua=true;if(D)for(var M=0;(ja=ha[M])!=null;M++)if(ja){ua=o(ja,D,M,ha);var V=y^!!ua;if(z&&ua!=null)if(V)L=true;else ha[M]=false;else if(V){R.push(ja);L=true}}if(ua!==c){z||(ha=R);i=i.replace(I.match[oa],"");if(!L)return[];break}}}if(i===T)if(L==null)v.error(i);else break;T=i}return ha};v.error=function(i){throw"Syntax error, unrecognized expression: "+
i;};var I=v.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,
PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(i){return i.getAttribute("href")},type:function(i){return i.getAttribute("type")}},relative:{"+":function(i,n){var z=typeof n==="string",y=z&&!s.test(n);z=z&&!y;if(y)n=n.toLowerCase();y=0;for(var D=i.length,L;y<D;y++)if(L=i[y]){for(;(L=L.previousSibling)&&L.nodeType!==1;);i[y]=z||L&&L.nodeName.toLowerCase()===n?L||false:L===n}z&&
v.filter(n,i,true)},">":function(i,n){var z,y=typeof n==="string",D=0,L=i.length;if(y&&!s.test(n))for(n=n.toLowerCase();D<L;D++){if(z=i[D]){z=z.parentNode;i[D]=z.nodeName.toLowerCase()===n?z:false}}else{for(;D<L;D++)if(z=i[D])i[D]=y?z.parentNode:z.parentNode===n;y&&v.filter(n,i,true)}},"":function(i,n,z){var y,D=f++,L=b;if(typeof n==="string"&&!s.test(n)){y=n=n.toLowerCase();L=a}L("parentNode",n,D,i,y,z)},"~":function(i,n,z){var y,D=f++,L=b;if(typeof n==="string"&&!s.test(n)){y=n=n.toLowerCase();
L=a}L("previousSibling",n,D,i,y,z)}},find:{ID:function(i,n,z){if(typeof n.getElementById!=="undefined"&&!z)return(i=n.getElementById(i[1]))&&i.parentNode?[i]:[]},NAME:function(i,n){if(typeof n.getElementsByName!=="undefined"){var z=[];n=n.getElementsByName(i[1]);for(var y=0,D=n.length;y<D;y++)n[y].getAttribute("name")===i[1]&&z.push(n[y]);return z.length===0?null:z}},TAG:function(i,n){if(typeof n.getElementsByTagName!=="undefined")return n.getElementsByTagName(i[1])}},preFilter:{CLASS:function(i,
n,z,y,D,L){i=" "+i[1].replace(r,"")+" ";if(L)return i;L=0;for(var T;(T=n[L])!=null;L++)if(T)if(D^(T.className&&(" "+T.className+" ").replace(/[\t\n\r]/g," ").indexOf(i)>=0))z||y.push(T);else if(z)n[L]=false;return false},ID:function(i){return i[1].replace(r,"")},TAG:function(i){return i[1].replace(r,"").toLowerCase()},CHILD:function(i){if(i[1]==="nth"){i[2]||v.error(i[0]);i[2]=i[2].replace(/^\+|\s*/g,"");var n=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(i[2]==="even"&&"2n"||i[2]==="odd"&&"2n+1"||!/\D/.test(i[2])&&
"0n+"+i[2]||i[2]);i[2]=n[1]+(n[2]||1)-0;i[3]=n[3]-0}else i[2]&&v.error(i[0]);i[0]=f++;return i},ATTR:function(i,n,z,y,D,L){n=i[1]=i[1].replace(r,"");if(!L&&I.attrMap[n])i[1]=I.attrMap[n];i[4]=(i[4]||i[5]||"").replace(r,"");if(i[2]==="~=")i[4]=" "+i[4]+" ";return i},PSEUDO:function(i,n,z,y,D){if(i[1]==="not")if((e.exec(i[3])||"").length>1||/^\w/.test(i[3]))i[3]=v(i[3],null,null,n);else{i=v.filter(i[3],n,z,true^D);z||y.push.apply(y,i);return false}else if(I.match.POS.test(i[0])||I.match.CHILD.test(i[0]))return true;
return i},POS:function(i){i.unshift(true);return i}},filters:{enabled:function(i){return i.disabled===false&&i.type!=="hidden"},disabled:function(i){return i.disabled===true},checked:function(i){return i.checked===true},selected:function(i){return i.selected===true},parent:function(i){return!!i.firstChild},empty:function(i){return!i.firstChild},has:function(i,n,z){return!!v(z[3],i).length},header:function(i){return/h\d/i.test(i.nodeName)},text:function(i){var n=i.getAttribute("type"),z=i.type;return i.nodeName.toLowerCase()===
"input"&&"text"===z&&(n===z||n===null)},radio:function(i){return i.nodeName.toLowerCase()==="input"&&"radio"===i.type},checkbox:function(i){return i.nodeName.toLowerCase()==="input"&&"checkbox"===i.type},file:function(i){return i.nodeName.toLowerCase()==="input"&&"file"===i.type},password:function(i){return i.nodeName.toLowerCase()==="input"&&"password"===i.type},submit:function(i){var n=i.nodeName.toLowerCase();return(n==="input"||n==="button")&&"submit"===i.type},image:function(i){return i.nodeName.toLowerCase()===
"input"&&"image"===i.type},reset:function(i){var n=i.nodeName.toLowerCase();return(n==="input"||n==="button")&&"reset"===i.type},button:function(i){var n=i.nodeName.toLowerCase();return n==="input"&&"button"===i.type||n==="button"},input:function(i){return/input|select|textarea|button/i.test(i.nodeName)},focus:function(i){return i===i.ownerDocument.activeElement}},setFilters:{first:function(i,n){return n===0},last:function(i,n,z,y){return n===y.length-1},even:function(i,n){return n%2===0},odd:function(i,
n){return n%2===1},lt:function(i,n,z){return n<z[3]-0},gt:function(i,n,z){return n>z[3]-0},nth:function(i,n,z){return z[3]-0===n},eq:function(i,n,z){return z[3]-0===n}},filter:{PSEUDO:function(i,n,z,y){var D=n[1],L=I.filters[D];if(L)return L(i,z,n,y);else if(D==="contains")return(i.textContent||i.innerText||v.getText([i])||"").indexOf(n[3])>=0;else if(D==="not"){n=n[3];z=0;for(y=n.length;z<y;z++)if(n[z]===i)return false;return true}else v.error(D)},CHILD:function(i,n){var z=n[1],y=i;switch(z){case "only":case "first":for(;y=
y.previousSibling;)if(y.nodeType===1)return false;if(z==="first")return true;y=i;case "last":for(;y=y.nextSibling;)if(y.nodeType===1)return false;return true;case "nth":z=n[2];var D=n[3];if(z===1&&D===0)return true;n=n[0];var L=i.parentNode;if(L&&(L.sizcache!==n||!i.nodeIndex)){var T=0;for(y=L.firstChild;y;y=y.nextSibling)if(y.nodeType===1)y.nodeIndex=++T;L.sizcache=n}i=i.nodeIndex-D;return z===0?i===0:i%z===0&&i/z>=0}},ID:function(i,n){return i.nodeType===1&&i.getAttribute("id")===n},TAG:function(i,
n){return n==="*"&&i.nodeType===1||i.nodeName.toLowerCase()===n},CLASS:function(i,n){return(" "+(i.className||i.getAttribute("class"))+" ").indexOf(n)>-1},ATTR:function(i,n){var z=n[1];i=I.attrHandle[z]?I.attrHandle[z](i):i[z]!=null?i[z]:i.getAttribute(z);z=i+"";var y=n[2];n=n[4];return i==null?y==="!=":y==="="?z===n:y==="*="?z.indexOf(n)>=0:y==="~="?(" "+z+" ").indexOf(n)>=0:!n?z&&i!==false:y==="!="?z!==n:y==="^="?z.indexOf(n)===0:y==="$="?z.substr(z.length-n.length)===n:y==="|="?z===n||z.substr(0,
n.length+1)===n+"-":false},POS:function(i,n,z,y){var D=I.setFilters[n[2]];if(D)return D(i,z,n,y)}}},Z=I.match.POS,ca=function(i,n){return"\\"+(n-0+1)};for(var fa in I.match){I.match[fa]=new RegExp(I.match[fa].source+/(?![^\[]*\])(?![^\(]*\))/.source);I.leftMatch[fa]=new RegExp(/(^(?:.|\r|\n)*?)/.source+I.match[fa].source.replace(/\\(\d+)/g,ca))}var ma=function(i,n){i=Array.prototype.slice.call(i,0);if(n){n.push.apply(n,i);return n}return i};try{Array.prototype.slice.call(G.documentElement.childNodes,
0)}catch(Aa){ma=function(i,n){var z=0;n=n||[];if(g.call(i)==="[object Array]")Array.prototype.push.apply(n,i);else if(typeof i.length==="number")for(var y=i.length;z<y;z++)n.push(i[z]);else for(;i[z];z++)n.push(i[z]);return n}}var pa,wa;if(G.documentElement.compareDocumentPosition)pa=function(i,n){if(i===n){h=true;return 0}if(!i.compareDocumentPosition||!n.compareDocumentPosition)return i.compareDocumentPosition?-1:1;return i.compareDocumentPosition(n)&4?-1:1};else{pa=function(i,n){if(i===n){h=true;
return 0}else if(i.sourceIndex&&n.sourceIndex)return i.sourceIndex-n.sourceIndex;var z,y,D=[],L=[];z=i.parentNode;y=n.parentNode;var T=z;if(z===y)return wa(i,n);else if(z){if(!y)return 1}else return-1;for(;T;){D.unshift(T);T=T.parentNode}for(T=y;T;){L.unshift(T);T=T.parentNode}z=D.length;y=L.length;for(T=0;T<z&&T<y;T++)if(D[T]!==L[T])return wa(D[T],L[T]);return T===z?wa(i,L[T],-1):wa(D[T],n,1)};wa=function(i,n,z){if(i===n)return z;for(i=i.nextSibling;i;){if(i===n)return-1;i=i.nextSibling}return 1}}v.getText=
function(i){for(var n="",z,y=0;i[y];y++){z=i[y];if(z.nodeType===3||z.nodeType===4)n+=z.nodeValue;else if(z.nodeType!==8)n+=v.getText(z.childNodes)}return n};(function(){var i=G.createElement("div"),n="script"+(new Date).getTime(),z=G.documentElement;i.innerHTML="<a name='"+n+"'/>";z.insertBefore(i,z.firstChild);if(G.getElementById(n)){I.find.ID=function(y,D,L){if(typeof D.getElementById!=="undefined"&&!L)return(D=D.getElementById(y[1]))?D.id===y[1]||typeof D.getAttributeNode!=="undefined"&&D.getAttributeNode("id").nodeValue===
y[1]?[D]:c:[]};I.filter.ID=function(y,D){var L=typeof y.getAttributeNode!=="undefined"&&y.getAttributeNode("id");return y.nodeType===1&&L&&L.nodeValue===D}}z.removeChild(i);z=i=null})();(function(){var i=G.createElement("div");i.appendChild(G.createComment(""));if(i.getElementsByTagName("*").length>0)I.find.TAG=function(n,z){z=z.getElementsByTagName(n[1]);if(n[1]==="*"){n=[];for(var y=0;z[y];y++)z[y].nodeType===1&&n.push(z[y]);z=n}return z};i.innerHTML="<a href='#'></a>";if(i.firstChild&&typeof i.firstChild.getAttribute!==
"undefined"&&i.firstChild.getAttribute("href")!=="#")I.attrHandle.href=function(n){return n.getAttribute("href",2)};i=null})();G.querySelectorAll&&function(){var i=v,n=G.createElement("div");n.innerHTML="<p class='TEST'></p>";if(!(n.querySelectorAll&&n.querySelectorAll(".TEST").length===0)){v=function(y,D,L,T){D=D||G;if(!T&&!v.isXML(D)){var R=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(y);if(R&&(D.nodeType===1||D.nodeType===9))if(R[1])return ma(D.getElementsByTagName(y),L);else if(R[2]&&I.find.CLASS&&
D.getElementsByClassName)return ma(D.getElementsByClassName(R[2]),L);if(D.nodeType===9){if(y==="body"&&D.body)return ma([D.body],L);else if(R&&R[3]){var ha=D.getElementById(R[3]);if(ha&&ha.parentNode){if(ha.id===R[3])return ma([ha],L)}else return ma([],L)}try{return ma(D.querySelectorAll(y),L)}catch(ra){}}else if(D.nodeType===1&&D.nodeName.toLowerCase()!=="object"){R=D;var oa=(ha=D.getAttribute("id"))||"__sizzle__",ua=D.parentNode,ja=/^\s*[+~]/.test(y);if(ha)oa=oa.replace(/'/g,"\\$&");else D.setAttribute("id",
oa);if(ja&&ua)D=D.parentNode;try{if(!ja||ua)return ma(D.querySelectorAll("[id='"+oa+"'] "+y),L)}catch(o){}finally{ha||R.removeAttribute("id")}}}return i(y,D,L,T)};for(var z in i)v[z]=i[z];n=null}}();(function(){var i=G.documentElement,n=i.matchesSelector||i.mozMatchesSelector||i.webkitMatchesSelector||i.msMatchesSelector;if(n){var z=!n.call(G.createElement("div"),"div"),y=false;try{n.call(G.documentElement,"[test!='']:sizzle")}catch(D){y=true}v.matchesSelector=function(L,T){T=T.replace(/\=\s*([^'"\]]*)\s*\]/g,
"='$1']");if(!v.isXML(L))try{if(y||!I.match.PSEUDO.test(T)&&!/!=/.test(T)){var R=n.call(L,T);if(R||!z||L.document&&L.document.nodeType!==11)return R}}catch(ha){}return v(T,null,null,[L]).length>0}}})();(function(){var i=G.createElement("div");i.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!i.getElementsByClassName||i.getElementsByClassName("e").length===0)){i.lastChild.className="e";if(i.getElementsByClassName("e").length!==1){I.order.splice(1,0,"CLASS");I.find.CLASS=function(n,
z,y){if(typeof z.getElementsByClassName!=="undefined"&&!y)return z.getElementsByClassName(n[1])};i=null}}})();v.contains=G.documentElement.contains?function(i,n){return i!==n&&(i.contains?i.contains(n):true)}:G.documentElement.compareDocumentPosition?function(i,n){return!!(i.compareDocumentPosition(n)&16)}:function(){return false};v.isXML=function(i){return(i=(i?i.ownerDocument||i:0).documentElement)?i.nodeName!=="HTML":false};var ya=function(i,n){var z,y=[],D="";for(n=n.nodeType?[n]:n;z=I.match.PSEUDO.exec(i);){D+=
z[0];i=i.replace(I.match.PSEUDO,"")}i=I.relative[i]?i+"*":i;z=0;for(var L=n.length;z<L;z++)v(i,n[z],y);return v.filter(D,y)};d.find=v;d.expr=v.selectors;d.expr[":"]=d.expr.filters;d.unique=v.uniqueSort;d.text=v.getText;d.isXMLDoc=v.isXML;d.contains=v.contains})();var Kb=/Until$/,Lb=/^(?:parents|prevUntil|prevAll)/,Mb=/,/,zb=/^.[^:#\[\.,]*$/,Nb=Array.prototype.slice,gb=d.expr.match.POS,Ob={children:true,contents:true,next:true,prev:true};d.fn.extend({find:function(a){var b=this,e,f;if(typeof a!=="string")return d(a).filter(function(){e=
0;for(f=b.length;e<f;e++)if(d.contains(b[e],this))return true});var g=this.pushStack("","find",a),h,l,r;e=0;for(f=this.length;e<f;e++){h=g.length;d.find(a,this[e],g);if(e>0)for(l=h;l<g.length;l++)for(r=0;r<h;r++)if(g[r]===g[l]){g.splice(l--,1);break}}return g},has:function(a){var b=d(a);return this.filter(function(){for(var e=0,f=b.length;e<f;e++)if(d.contains(this,b[e]))return true})},not:function(a){return this.pushStack(w(this,a,false),"not",a)},filter:function(a){return this.pushStack(w(this,
a,true),"filter",a)},is:function(a){return!!a&&(typeof a==="string"?d.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var e=[],f,g,h=this[0];if(d.isArray(a)){var l,r={},s=1;if(h&&a.length){f=0;for(g=a.length;f<g;f++){l=a[f];r[l]||(r[l]=gb.test(l)?d(l,b||this.context):l)}for(;h&&h.ownerDocument&&h!==b;){for(l in r){a=r[l];if(a.jquery?a.index(h)>-1:d(h).is(a))e.push({selector:l,elem:h,level:s})}h=h.parentNode;s++}}return e}l=gb.test(a)||typeof a!=="string"?d(a,b||this.context):
0;f=0;for(g=this.length;f<g;f++)for(h=this[f];h;)if(l?l.index(h)>-1:d.find.matchesSelector(h,a)){e.push(h);break}else{h=h.parentNode;if(!h||!h.ownerDocument||h===b||h.nodeType===11)break}e=e.length>1?d.unique(e):e;return this.pushStack(e,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a==="string")return d.inArray(this[0],d(a));return d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?d(a,b):d.makeArray(a&&a.nodeType?
[a]:a);b=d.merge(this.get(),a);return this.pushStack(E(a[0])||E(b[0])?b:d.unique(b))},andSelf:function(){return this.add(this.prevObject)}});d.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,e){return d.dir(a,"parentNode",e)},next:function(a){return d.nth(a,2,"nextSibling")},prev:function(a){return d.nth(a,2,"previousSibling")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,
"previousSibling")},nextUntil:function(a,b,e){return d.dir(a,"nextSibling",e)},prevUntil:function(a,b,e){return d.dir(a,"previousSibling",e)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(e,f){var g=d.map(this,b,e),h=Nb.call(arguments);Kb.test(a)||(f=e);if(f&&typeof f==="string")g=
d.filter(f,g);g=this.length>1&&!Ob[a]?d.unique(g):g;if((this.length>1||Mb.test(f))&&Lb.test(a))g=g.reverse();return this.pushStack(g,a,h.join(","))}});d.extend({filter:function(a,b,e){if(e)a=":not("+a+")";return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,b,e){var f=[];for(a=a[b];a&&a.nodeType!==9&&(e===c||a.nodeType!==1||!d(a).is(e));){a.nodeType===1&&f.push(a);a=a[b]}return f},nth:function(a,b,e){b=b||1;for(var f=0;a;a=a[e])if(a.nodeType===1&&++f===
b)break;return a},sibling:function(a,b){for(var e=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&e.push(a);return e}});var Pb=/ jQuery\d+="(?:\d+|null)"/g,Va=/^\s+/,hb=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,ib=/<([\w:]+)/,Qb=/<tbody/i,Rb=/<|&#?\w+;/,jb=/<(?:script|object|embed|option|style)/i,kb=/checked\s*(?:[^=]|=\s*.checked.)/i,Sb=/\/(java|ecma)script/i,Ab=/^\s*<!(?:\[CDATA\[|\-\-)/,xa={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,"",""]};xa.optgroup=xa.option;xa.tbody=xa.tfoot=xa.colgroup=xa.caption=xa.thead;xa.th=xa.td;if(!d.support.htmlSerialize)xa._default=[1,"div<div>","</div>"];d.fn.extend({text:function(a){if(d.isFunction(a))return this.each(function(b){var e=d(this);e.text(a.call(this,
b,e.text()))});if(typeof a!=="object"&&a!==c)return this.empty().append((this[0]&&this[0].ownerDocument||G).createTextNode(a));return d.text(this)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(e){d(this).wrapAll(a.call(this,e))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var e=this;e.firstChild&&e.firstChild.nodeType===1;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapInner(a.call(this,
b))});return this.each(function(){var b=d(this),e=b.contents();e.length?e.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){d(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,
this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=d(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);
a.push.apply(a,d(arguments[0]).toArray());return a}},remove:function(a,b){for(var e=0,f;(f=this[e])!=null;e++)if(!a||d.filter(a,[f]).length){if(!b&&f.nodeType===1){d.cleanData(f.getElementsByTagName("*"));d.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&d.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a,b){a=a==null?false:a;b=b==null?a:b;return this.map(function(){return d.clone(this,
a,b)})},html:function(a){if(a===c)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Pb,""):null;else if(typeof a==="string"&&!jb.test(a)&&(d.support.leadingWhitespace||!Va.test(a))&&!xa[(ib.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(hb,"<$1></$2>");try{for(var b=0,e=this.length;b<e;b++)if(this[b].nodeType===1){d.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}}else d.isFunction(a)?this.each(function(g){var h=d(this);h.html(a.call(this,
g,h.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(d.isFunction(a))return this.each(function(b){var e=d(this),f=e.html();e.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=d(a).detach();return this.each(function(){var b=this.nextSibling,e=this.parentNode;d(this).remove();b?d(b).before(a):d(e).append(a)})}else return this.length?this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,true)},
domManip:function(a,b,e){var f,g,h,l=a[0],r=[];if(!d.support.checkClone&&arguments.length===3&&typeof l==="string"&&kb.test(l))return this.each(function(){d(this).domManip(a,b,e,true)});if(d.isFunction(l))return this.each(function(Z){var ca=d(this);a[0]=l.call(this,Z,b?ca.html():c);ca.domManip(a,b,e)});if(this[0]){f=l&&l.parentNode;f=d.support.parentNode&&f&&f.nodeType===11&&f.childNodes.length===this.length?{fragment:f}:d.buildFragment(a,this,r);h=f.fragment;if(g=h.childNodes.length===1?(h=h.firstChild):
h.firstChild){b=b&&d.nodeName(g,"tr");for(var s=0,v=this.length,I=v-1;s<v;s++)e.call(b?C(this[s],g):this[s],f.cacheable||v>1&&s<I?d.clone(h,true,true):h)}r.length&&d.each(r,O)}return this}});d.buildFragment=function(a,b,e){var f,g,h,l;if(b&&b[0])l=b[0].ownerDocument||b[0];l.createDocumentFragment||(l=G);if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&l===G&&a[0].charAt(0)==="<"&&!jb.test(a[0])&&(d.support.checkClone||!kb.test(a[0]))){g=true;if((h=d.fragments[a[0]])&&h!==1)f=h}if(!f){f=l.createDocumentFragment();
d.clean(a,l,f,e)}if(g)d.fragments[a[0]]=h?f:1;return{fragment:f,cacheable:g}};d.fragments={};d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(e){var f=[];e=d(e);var g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}else{g=0;for(var h=e.length;g<h;g++){var l=(g>0?this.clone(true):this).get();d(e[g])[b](l);f=f.concat(l)}return this.pushStack(f,
a,e.selector)}}});d.extend({clone:function(a,b,e){var f=a.cloneNode(true),g,h,l;if((!d.support.noCloneEvent||!d.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){x(a,f);g=B(a);h=B(f);for(l=0;g[l];++l)h[l]&&x(g[l],h[l])}if(b){k(a,f);if(e){g=B(a);h=B(f);for(l=0;g[l];++l)k(g[l],h[l])}}return f},clean:function(a,b,e,f){b=b||G;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||G;for(var g=[],h,l=0,r;(r=a[l])!=null;l++){if(typeof r==="number")r+=
"";if(r){if(typeof r==="string")if(Rb.test(r)){r=r.replace(hb,"<$1></$2>");h=(ib.exec(r)||["",""])[1].toLowerCase();var s=xa[h]||xa._default,v=s[0],I=b.createElement("div");for(I.innerHTML=s[1]+r+s[2];v--;)I=I.lastChild;if(!d.support.tbody){v=Qb.test(r);s=h==="table"&&!v?I.firstChild&&I.firstChild.childNodes:s[1]==="<table>"&&!v?I.childNodes:[];for(h=s.length-1;h>=0;--h)d.nodeName(s[h],"tbody")&&!s[h].childNodes.length&&s[h].parentNode.removeChild(s[h])}!d.support.leadingWhitespace&&Va.test(r)&&I.insertBefore(b.createTextNode(Va.exec(r)[0]),
I.firstChild);r=I.childNodes}else r=b.createTextNode(r);var Z;if(!d.support.appendChecked)if(r[0]&&typeof(Z=r.length)==="number")for(h=0;h<Z;h++)t(r[h]);else t(r);if(r.nodeType)g.push(r);else g=d.merge(g,r)}}if(e){a=function(ca){return!ca.type||Sb.test(ca.type)};for(l=0;g[l];l++)if(f&&d.nodeName(g[l],"script")&&(!g[l].type||g[l].type.toLowerCase()==="text/javascript"))f.push(g[l].parentNode?g[l].parentNode.removeChild(g[l]):g[l]);else{if(g[l].nodeType===1){b=d.grep(g[l].getElementsByTagName("script"),
a);g.splice.apply(g,[l+1,0].concat(b))}e.appendChild(g[l])}}return g},cleanData:function(a){for(var b,e,f=d.cache,g=d.expando,h=d.event.special,l=d.support.deleteExpando,r=0,s;(s=a[r])!=null;r++)if(!(s.nodeName&&d.noData[s.nodeName.toLowerCase()]))if(e=s[d.expando]){if((b=f[e]&&f[e][g])&&b.events){for(var v in b.events)h[v]?d.event.remove(s,v):d.removeEvent(s,v,b.handle);if(b.handle)b.handle.elem=null}if(l)delete s[d.expando];else s.removeAttribute&&s.removeAttribute(d.expando);delete f[e]}}});var Wa=
/alpha\([^)]*\)/i,Tb=/opacity=([^)]*)/,Ub=/([A-Z]|^ms)/g,lb=/^-?\d+(?:px)?$/i,Vb=/^-?\d/,Wb=/^([\-+])=([\-+.\de]+)/,Xb={position:"absolute",visibility:"hidden",display:"block"},Bb=["Left","Right"],Cb=["Top","Bottom"],Ea,mb,nb;d.fn.css=function(a,b){if(arguments.length===2&&b===c)return this;return d.access(this,a,b,true,function(e,f,g){return g!==c?d.style(e,f,g):d.css(e,f)})};d.extend({cssHooks:{opacity:{get:function(a,b){if(b){a=Ea(a,"opacity","opacity");return a===""?"1":a}else return a.style.opacity}}},
cssNumber:{fillOpacity:true,fontWeight:true,lineHeight:true,opacity:true,orphans:true,widows:true,zIndex:true,zoom:true},cssProps:{"float":d.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,e,f){if(!(!a||a.nodeType===3||a.nodeType===8||!a.style)){var g,h=d.camelCase(b),l=a.style,r=d.cssHooks[h];b=d.cssProps[h]||h;if(e!==c){f=typeof e;if(f==="string"&&(g=Wb.exec(e))){e=+(g[1]+1)*+g[2]+parseFloat(d.css(a,b));f="number"}if(!(e==null||f==="number"&&isNaN(e))){if(f==="number"&&!d.cssNumber[h])e+=
"px";if(!r||!("set"in r)||(e=r.set(a,e))!==c)try{l[b]=e}catch(s){}}}else{if(r&&"get"in r&&(g=r.get(a,false,f))!==c)return g;return l[b]}}},css:function(a,b,e){var f,g;b=d.camelCase(b);g=d.cssHooks[b];b=d.cssProps[b]||b;if(b==="cssFloat")b="float";if(g&&"get"in g&&(f=g.get(a,true,e))!==c)return f;else if(Ea)return Ea(a,b)},swap:function(a,b,e){var f={};for(var g in b){f[g]=a.style[g];a.style[g]=b[g]}e.call(a);for(g in b)a.style[g]=f[g]}});d.curCSS=d.css;d.each(["height","width"],function(a,b){d.cssHooks[b]=
{get:function(e,f,g){var h;if(f){if(e.offsetWidth!==0)return S(e,b,g);else d.swap(e,Xb,function(){h=S(e,b,g)});return h}},set:function(e,f){if(lb.test(f)){f=parseFloat(f);if(f>=0)return f+"px"}else return f}}});if(!d.support.opacity)d.cssHooks.opacity={get:function(a,b){return Tb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var e=a.style;a=a.currentStyle;var f=d.isNaN(b)?"":"alpha(opacity="+b*100+")",g=a&&a.filter||e.filter||
"";e.zoom=1;if(b>=1&&d.trim(g.replace(Wa,""))===""){e.removeAttribute("filter");if(a&&!a.filter)return}e.filter=Wa.test(g)?g.replace(Wa,f):g+" "+f}};d(function(){if(!d.support.reliableMarginRight)d.cssHooks.marginRight={get:function(a,b){var e;d.swap(a,{display:"inline-block"},function(){e=b?Ea(a,"margin-right","marginRight"):a.style.marginRight});return e}}});if(G.defaultView&&G.defaultView.getComputedStyle)mb=function(a,b){var e,f;b=b.replace(Ub,"-$1").toLowerCase();if(!(f=a.ownerDocument.defaultView))return c;
if(f=f.getComputedStyle(a,null)){e=f.getPropertyValue(b);if(e===""&&!d.contains(a.ownerDocument.documentElement,a))e=d.style(a,b)}return e};if(G.documentElement.currentStyle)nb=function(a,b){var e,f=a.currentStyle&&a.currentStyle[b],g=a.runtimeStyle&&a.runtimeStyle[b],h=a.style;if(!lb.test(f)&&Vb.test(f)){e=h.left;if(g)a.runtimeStyle.left=a.currentStyle.left;h.left=b==="fontSize"?"1em":f||0;f=h.pixelLeft+"px";h.left=e;if(g)a.runtimeStyle.left=g}return f===""?"auto":f};Ea=mb||nb;if(d.expr&&d.expr.filters){d.expr.filters.hidden=
function(a){var b=a.offsetHeight;return a.offsetWidth===0&&b===0||!d.support.reliableHiddenOffsets&&(a.style.display||d.css(a,"display"))==="none"};d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)}}var Yb=/%20/g,Db=/\[\]$/,ob=/\r?\n/g,Zb=/#.*$/,$b=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,ac=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bc=/^(?:GET|HEAD)$/,cc=/^\/\//,pb=/\?/,dc=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
ec=/^(?:select|textarea)/i,Ya=/\s+/,fc=/([?&])_=[^&]*/,qb=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,rb=d.fn.load,Oa={},sb={},Ca,Da,tb=["*/"]+["*"];try{Ca=la.href}catch(lc){Ca=G.createElement("a");Ca.href="";Ca=Ca.href}Da=qb.exec(Ca.toLowerCase())||[];d.fn.extend({load:function(a,b,e){if(typeof a!=="string"&&rb)return rb.apply(this,arguments);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var g=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(d.isFunction(b)){e=b;b=c}else if(typeof b===
"object"){b=d.param(b,d.ajaxSettings.traditional);f="POST"}var h=this;d.ajax({url:a,type:f,dataType:"html",data:b,complete:function(l,r,s){s=l.responseText;if(l.isResolved()){l.done(function(v){s=v});h.html(g?d("<div>").append(s.replace(dc,"")).find(g):s)}e&&h.each(e,[s,r,l])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&
(this.checked||ec.test(this.nodeName)||ac.test(this.type))}).map(function(a,b){a=d(this).val();return a==null?null:d.isArray(a)?d.map(a,function(e){return{name:b.name,value:e.replace(ob,"\r\n")}}):{name:b.name,value:a.replace(ob,"\r\n")}}).get()}});d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){d.fn[b]=function(e){return this.bind(b,e)}});d.each(["get","post"],function(a,b){d[b]=function(e,f,g,h){if(d.isFunction(f)){h=h||g;g=f;f=c}return d.ajax({type:b,
url:e,data:f,success:g,dataType:h})}});d.extend({getScript:function(a,b){return d.get(a,c,b,"script")},getJSON:function(a,b,e){return d.get(a,b,e,"json")},ajaxSetup:function(a,b){if(b)ga(a,d.ajaxSettings);else{b=a;a=d.ajaxSettings}ga(a,b);return a},ajaxSettings:{url:Ca,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(Da[1]),global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,accepts:{xml:"application/xml, text/xml",html:"text/html",
text:"text/plain",json:"application/json, text/javascript","*":tb},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":j.String,"text html":true,"text json":d.parseJSON,"text xml":d.parseXML},flatOptions:{context:true,url:true}},ajaxPrefilter:ba(Oa),ajaxTransport:ba(sb),ajax:function(a,b){function e(y,D,L,T){if(pa!==2){pa=2;Aa&&clearTimeout(Aa);ma=c;ca=T||"";i.readyState=y>0?4:0;var R,ha,ra;T=D;L=L?N(f,i,L):c;var oa;if(y>=200&&y<
300||y===304){if(f.ifModified){if(oa=i.getResponseHeader("Last-Modified"))d.lastModified[v]=oa;if(oa=i.getResponseHeader("Etag"))d.etag[v]=oa}if(y===304){T="notmodified";R=true}else try{ha=Y(f,L);T="success";R=true}catch(ua){T="parsererror";ra=ua}}else{ra=T;if(!T||y){T="error";if(y<0)y=0}}i.status=y;i.statusText=""+(D||T);R?l.resolveWith(g,[ha,T,i]):l.rejectWith(g,[i,T,ra]);i.statusCode(s);s=c;if(wa)h.trigger("ajax"+(R?"Success":"Error"),[i,f,R?ha:ra]);r.resolveWith(g,[i,T]);if(wa){h.trigger("ajaxComplete",
[i,f]);--d.active||d.event.trigger("ajaxStop")}}}if(typeof a==="object"){b=a;a=c}b=b||{};var f=d.ajaxSetup({},b),g=f.context||f,h=g!==f&&(g.nodeType||g instanceof d)?d(g):d.event,l=d.Deferred(),r=d._Deferred(),s=f.statusCode||{},v,I={},Z={},ca,fa,ma,Aa,pa=0,wa,ya,i={readyState:0,setRequestHeader:function(y,D){if(!pa){var L=y.toLowerCase();y=Z[L]=Z[L]||y;I[y]=D}return this},getAllResponseHeaders:function(){return pa===2?ca:null},getResponseHeader:function(y){var D;if(pa===2){if(!fa)for(fa={};D=$b.exec(ca);)fa[D[1].toLowerCase()]=
D[2];D=fa[y.toLowerCase()]}return D===c?null:D},overrideMimeType:function(y){if(!pa)f.mimeType=y;return this},abort:function(y){y=y||"abort";ma&&ma.abort(y);e(0,y);return this}};l.promise(i);i.success=i.done;i.error=i.fail;i.complete=r.done;i.statusCode=function(y){if(y){var D;if(pa<2)for(D in y)s[D]=[s[D],y[D]];else{D=y[i.status];i.then(D,D)}}return this};f.url=((a||f.url)+"").replace(Zb,"").replace(cc,Da[1]+"//");f.dataTypes=d.trim(f.dataType||"*").toLowerCase().split(Ya);if(f.crossDomain==null){a=
qb.exec(f.url.toLowerCase());f.crossDomain=!!(a&&(a[1]!=Da[1]||a[2]!=Da[2]||(a[3]||(a[1]==="http:"?80:443))!=(Da[3]||(Da[1]==="http:"?80:443))))}if(f.data&&f.processData&&typeof f.data!=="string")f.data=d.param(f.data,f.traditional);ea(Oa,f,b,i);if(pa===2)return false;wa=f.global;f.type=f.type.toUpperCase();f.hasContent=!bc.test(f.type);wa&&d.active++===0&&d.event.trigger("ajaxStart");if(!f.hasContent){if(f.data){f.url+=(pb.test(f.url)?"&":"?")+f.data;delete f.data}v=f.url;if(f.cache===false){a=d.now();
var n=f.url.replace(fc,"$1_="+a);f.url=n+(n===f.url?(pb.test(f.url)?"&":"?")+"_="+a:"")}}if(f.data&&f.hasContent&&f.contentType!==false||b.contentType)i.setRequestHeader("Content-Type",f.contentType);if(f.ifModified){v=v||f.url;d.lastModified[v]&&i.setRequestHeader("If-Modified-Since",d.lastModified[v]);d.etag[v]&&i.setRequestHeader("If-None-Match",d.etag[v])}i.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+(f.dataTypes[0]!=="*"?", "+tb+"; q=0.01":""):
f.accepts["*"]);for(ya in f.headers)i.setRequestHeader(ya,f.headers[ya]);if(f.beforeSend&&(f.beforeSend.call(g,i,f)===false||pa===2)){i.abort();return false}for(ya in{success:1,error:1,complete:1})i[ya](f[ya]);if(ma=ea(sb,f,b,i)){i.readyState=1;wa&&h.trigger("ajaxSend",[i,f]);if(f.async&&f.timeout>0)Aa=setTimeout(function(){i.abort("timeout")},f.timeout);try{pa=1;ma.send(I,e)}catch(z){pa<2?e(-1,z):d.error(z)}}else e(-1,"No Transport");return i},param:function(a,b){var e=[],f=function(h,l){l=d.isFunction(l)?
l():l;e[e.length]=encodeURIComponent(h)+"="+encodeURIComponent(l)};if(b===c)b=d.ajaxSettings.traditional;if(d.isArray(a)||a.jquery&&!d.isPlainObject(a))d.each(a,function(){f(this.name,this.value)});else for(var g in a)H(g,a[g],b,f);return e.join("&").replace(Yb,"+")}});d.extend({active:0,lastModified:{},etag:{}});var gc=d.now(),La=/(\=)\?(&|$)|\?\?/i;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return d.expando+"_"+gc++}});d.ajaxPrefilter("json jsonp",function(a,b,e){b=a.contentType==="application/x-www-form-urlencoded"&&
typeof a.data==="string";if(a.dataTypes[0]==="jsonp"||a.jsonp!==false&&(La.test(a.url)||b&&La.test(a.data))){var f,g=a.jsonpCallback=d.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,h=j[g],l=a.url,r=a.data,s="$1"+g+"$2";if(a.jsonp!==false){l=l.replace(La,s);if(a.url===l){if(b)r=r.replace(La,s);if(a.data===r)l+=(/\?/.test(l)?"&":"?")+a.jsonp+"="+g}}a.url=l;a.data=r;j[g]=function(v){f=[v]};e.always(function(){j[g]=h;f&&d.isFunction(h)&&j[g](f[0])});a.converters["script json"]=function(){f||
d.error(g+" was not called");return f[0]};a.dataTypes[0]="json";return"script"}});d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){d.globalEval(a);return a}}});d.ajaxPrefilter("script",function(a){if(a.cache===c)a.cache=false;if(a.crossDomain){a.type="GET";a.global=false}});d.ajaxTransport("script",function(a){if(a.crossDomain){var b,e=G.head||G.getElementsByTagName("head")[0]||
G.documentElement;return{send:function(f,g){b=G.createElement("script");b.async="async";if(a.scriptCharset)b.charset=a.scriptCharset;b.src=a.url;b.onload=b.onreadystatechange=function(h,l){if(l||!b.readyState||/loaded|complete/.test(b.readyState)){b.onload=b.onreadystatechange=null;e&&b.parentNode&&e.removeChild(b);b=c;l||g(200,"success")}};e.insertBefore(b,e.firstChild)},abort:function(){b&&b.onload(0,1)}}}});var Xa=j.ActiveXObject?function(){for(var a in Ga)Ga[a](0,1)}:false,hc=0,Ga;d.ajaxSettings.xhr=
j.ActiveXObject?function(){return!this.isLocal&&aa()||ia()}:aa;(function(a){d.extend(d.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})})(d.ajaxSettings.xhr());d.support.ajax&&d.ajaxTransport(function(a){if(!a.crossDomain||d.support.cors){var b;return{send:function(e,f){var g=a.xhr(),h,l;a.username?g.open(a.type,a.url,a.async,a.username,a.password):g.open(a.type,a.url,a.async);if(a.xhrFields)for(l in a.xhrFields)g[l]=a.xhrFields[l];a.mimeType&&g.overrideMimeType&&g.overrideMimeType(a.mimeType);
if(!a.crossDomain&&!e["X-Requested-With"])e["X-Requested-With"]="XMLHttpRequest";try{for(l in e)g.setRequestHeader(l,e[l])}catch(r){}g.send(a.hasContent&&a.data||null);b=function(s,v){var I,Z,ca,fa,ma;try{if(b&&(v||g.readyState===4)){b=c;if(h){g.onreadystatechange=d.noop;Xa&&delete Ga[h]}if(v)g.readyState!==4&&g.abort();else{I=g.status;ca=g.getAllResponseHeaders();fa={};if((ma=g.responseXML)&&ma.documentElement)fa.xml=ma;fa.text=g.responseText;try{Z=g.statusText}catch(Aa){Z=""}if(!I&&a.isLocal&&!a.crossDomain)I=
fa.text?200:404;else if(I===1223)I=204}}}catch(pa){v||f(-1,pa)}fa&&f(I,Z,fa,ca)};if(!a.async||g.readyState===4)b();else{h=++hc;if(Xa){if(!Ga){Ga={};d(j).unload(Xa)}Ga[h]=b}g.onreadystatechange=b}},abort:function(){b&&b(0,1)}}}});var Pa={},za,Fa,ic=/^(?:toggle|show|hide)$/,jc=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,Ma,Za=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],Ja;d.fn.extend({show:function(a,b,e){if(a||
a===0)return this.animate(va("show",3),a,b,e);else{e=0;for(var f=this.length;e<f;e++){a=this[e];if(a.style){b=a.style.display;if(!d._data(a,"olddisplay")&&b==="none")b=a.style.display="";b===""&&d.css(a,"display")==="none"&&d._data(a,"olddisplay",U(a.nodeName))}}for(e=0;e<f;e++){a=this[e];if(a.style){b=a.style.display;if(b===""||b==="none")a.style.display=d._data(a,"olddisplay")||""}}return this}},hide:function(a,b,e){if(a||a===0)return this.animate(va("hide",3),a,b,e);else{a=0;for(b=this.length;a<
b;a++)if(this[a].style){e=d.css(this[a],"display");e!=="none"&&!d._data(this[a],"olddisplay")&&d._data(this[a],"olddisplay",e)}for(a=0;a<b;a++)if(this[a].style)this[a].style.display="none";return this}},_toggle:d.fn.toggle,toggle:function(a,b,e){var f=typeof a==="boolean";if(d.isFunction(a)&&d.isFunction(b))this._toggle.apply(this,arguments);else a==null||f?this.each(function(){var g=f?a:d(this).is(":hidden");d(this)[g?"show":"hide"]()}):this.animate(va("toggle",3),a,b,e);return this},fadeTo:function(a,
b,e,f){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,e,f)},animate:function(a,b,e,f){var g=d.speed(b,e,f);if(d.isEmptyObject(a))return this.each(g.complete,[false]);a=d.extend({},a);return this[g.queue===false?"each":"queue"](function(){g.queue===false&&d._mark(this);var h=d.extend({},g),l=this.nodeType===1,r=l&&d(this).is(":hidden"),s,v,I,Z,ca;h.animatedProperties={};for(I in a){s=d.camelCase(I);if(I!==s){a[s]=a[I];delete a[I]}v=a[s];if(d.isArray(v)){h.animatedProperties[s]=
v[1];v=a[s]=v[0]}else h.animatedProperties[s]=h.specialEasing&&h.specialEasing[s]||h.easing||"swing";if(v==="hide"&&r||v==="show"&&!r)return h.complete.call(this);if(l&&(s==="height"||s==="width")){h.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(d.css(this,"display")==="inline"&&d.css(this,"float")==="none")if(d.support.inlineBlockNeedsLayout){v=U(this.nodeName);if(v==="inline")this.style.display="inline-block";else{this.style.display="inline";this.style.zoom=1}}else this.style.display=
"inline-block"}}if(h.overflow!=null)this.style.overflow="hidden";for(I in a){l=new d.fx(this,h,I);v=a[I];if(ic.test(v))l[v==="toggle"?r?"show":"hide":v]();else{s=jc.exec(v);Z=l.cur();if(s){v=parseFloat(s[2]);ca=s[3]||(d.cssNumber[I]?"":"px");if(ca!=="px"){d.style(this,I,(v||1)+ca);Z=(v||1)/l.cur()*Z;d.style(this,I,Z+ca)}if(s[1])v=(s[1]==="-="?-1:1)*v+Z;l.custom(Z,v,ca)}else l.custom(Z,v,"")}}return true})},stop:function(a,b){a&&this.queue([]);this.each(function(){var e=d.timers,f=e.length;for(b||
d._unmark(true,this);f--;)if(e[f].elem===this){b&&e[f](true);e.splice(f,1)}});b||this.dequeue();return this}});d.each({slideDown:va("show",1),slideUp:va("hide",1),slideToggle:va("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(e,f,g){return this.animate(b,e,f,g)}});d.extend({speed:function(a,b,e){var f=a&&typeof a==="object"?d.extend({},a):{complete:e||!e&&b||d.isFunction(a)&&a,duration:a,easing:e&&b||b&&!d.isFunction(b)&&b};
f.duration=d.fx.off?0:typeof f.duration==="number"?f.duration:f.duration in d.fx.speeds?d.fx.speeds[f.duration]:d.fx.speeds._default;f.old=f.complete;f.complete=function(g){d.isFunction(f.old)&&f.old.call(this);if(f.queue!==false)d.dequeue(this);else g!==false&&d._unmark(this)};return f},easing:{linear:function(a,b,e,f){return e+f*a},swing:function(a,b,e,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+e}},timers:[],fx:function(a,b,e){this.options=b;this.elem=a;this.prop=e;b.orig=b.orig||{}}});d.fx.prototype=
{update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(d.fx.step[this.prop]||d.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=d.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,b,e){function f(l){return g.step(l)}var g=this,h=d.fx;this.startTime=Ja||qa();this.start=a;this.end=b;this.unit=e||this.unit||(d.cssNumber[this.prop]?
"":"px");this.now=this.start;this.pos=this.state=0;f.elem=this.elem;if(f()&&d.timers.push(f)&&!Ma)Ma=setInterval(h.tick,h.interval)},show:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=Ja||qa(),e=true,f=this.elem,g=this.options,
h;if(a||b>=g.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();g.animatedProperties[this.prop]=true;for(h in g.animatedProperties)if(g.animatedProperties[h]!==true)e=false;if(e){g.overflow!=null&&!d.support.shrinkWrapBlocks&&d.each(["","X","Y"],function(r,s){f.style["overflow"+s]=g.overflow[r]});g.hide&&d(f).hide();if(g.hide||g.show)for(var l in g.animatedProperties)d.style(f,l,g.orig[l]);g.complete.call(f)}return false}else{if(g.duration==Infinity)this.now=b;else{a=b-
this.startTime;this.state=a/g.duration;this.pos=d.easing[g.animatedProperties[this.prop]](this.state,a,0,1,g.duration);this.now=this.start+(this.end-this.start)*this.pos}this.update()}return true}};d.extend(d.fx,{tick:function(){for(var a=d.timers,b=0;b<a.length;++b)a[b]()||a.splice(b--,1);a.length||d.fx.stop()},interval:13,stop:function(){clearInterval(Ma);Ma=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){d.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&
a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(d.expr&&d.expr.filters)d.expr.filters.animated=function(a){return d.grep(d.timers,function(b){return a===b.elem}).length};var kc=/^t(?:able|d|h)$/i,ub=/^(?:body|html)$/i;d.fn.offset="getBoundingClientRect"in G.documentElement?function(a){var b=this[0],e;if(a)return this.each(function(l){d.offset.setOffset(this,a,l)});if(!b||!b.ownerDocument)return null;
if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);try{e=b.getBoundingClientRect()}catch(f){}var g=b.ownerDocument,h=g.documentElement;if(!e||!d.contains(h,b))return e?{top:e.top,left:e.left}:{top:0,left:0};b=g.body;g=W(g);return{top:e.top+(g.pageYOffset||d.support.boxModel&&h.scrollTop||b.scrollTop)-(h.clientTop||b.clientTop||0),left:e.left+(g.pageXOffset||d.support.boxModel&&h.scrollLeft||b.scrollLeft)-(h.clientLeft||b.clientLeft||0)}}:function(a){var b=this[0];if(a)return this.each(function(I){d.offset.setOffset(this,
a,I)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);d.offset.initialize();var e,f=b.offsetParent,g=b,h=b.ownerDocument,l=h.documentElement,r=h.body;e=(h=h.defaultView)?h.getComputedStyle(b,null):b.currentStyle;for(var s=b.offsetTop,v=b.offsetLeft;(b=b.parentNode)&&b!==r&&b!==l;){if(d.offset.supportsFixedPosition&&e.position==="fixed")break;e=h?h.getComputedStyle(b,null):b.currentStyle;s-=b.scrollTop;v-=b.scrollLeft;if(b===f){s+=b.offsetTop;v+=b.offsetLeft;
if(d.offset.doesNotAddBorder&&!(d.offset.doesAddBorderForTableAndCells&&kc.test(b.nodeName))){s+=parseFloat(e.borderTopWidth)||0;v+=parseFloat(e.borderLeftWidth)||0}g=f;f=b.offsetParent}if(d.offset.subtractsBorderForOverflowNotVisible&&e.overflow!=="visible"){s+=parseFloat(e.borderTopWidth)||0;v+=parseFloat(e.borderLeftWidth)||0}e=e}if(e.position==="relative"||e.position==="static"){s+=r.offsetTop;v+=r.offsetLeft}if(d.offset.supportsFixedPosition&&e.position==="fixed"){s+=Math.max(l.scrollTop,r.scrollTop);
v+=Math.max(l.scrollLeft,r.scrollLeft)}return{top:s,left:v}};d.offset={initialize:function(){var a=G.body,b=G.createElement("div"),e,f,g,h=parseFloat(d.css(a,"marginTop"))||0;d.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.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>";
a.insertBefore(b,a.firstChild);e=b.firstChild;f=e.firstChild;g=e.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=g.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";e.style.overflow="hidden";e.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==h;a.removeChild(b);
d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,e=a.offsetLeft;d.offset.initialize();if(d.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(d.css(a,"marginTop"))||0;e+=parseFloat(d.css(a,"marginLeft"))||0}return{top:b,left:e}},setOffset:function(a,b,e){var f=d.css(a,"position");if(f==="static")a.style.position="relative";var g=d(a),h=g.offset(),l=d.css(a,"top"),r=d.css(a,"left"),s={},v={};if((f==="absolute"||f==="fixed")&&d.inArray("auto",[l,r])>-1){v=g.position();f=v.top;
r=v.left}else{f=parseFloat(l)||0;r=parseFloat(r)||0}if(d.isFunction(b))b=b.call(a,e,h);if(b.top!=null)s.top=b.top-h.top+f;if(b.left!=null)s.left=b.left-h.left+r;"using"in b?b.using.call(a,s):g.css(s)}};d.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),e=this.offset(),f=ub.test(b[0].nodeName)?{top:0,left:0}:b.offset();e.top-=parseFloat(d.css(a,"marginTop"))||0;e.left-=parseFloat(d.css(a,"marginLeft"))||0;f.top+=parseFloat(d.css(b[0],"borderTopWidth"))||0;
f.left+=parseFloat(d.css(b[0],"borderLeftWidth"))||0;return{top:e.top-f.top,left:e.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||G.body;a&&!ub.test(a.nodeName)&&d.css(a,"position")==="static";)a=a.offsetParent;return a})}});d.each(["Left","Top"],function(a,b){var e="scroll"+b;d.fn[e]=function(f){var g,h;if(f===c){g=this[0];if(!g)return null;return(h=W(g))?"pageXOffset"in h?h[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&h.document.documentElement[e]||
h.document.body[e]:g[e]}return this.each(function(){if(h=W(this))h.scrollTo(!a?f:d(h).scrollLeft(),a?f:d(h).scrollTop());else this[e]=f})}});d.each(["Height","Width"],function(a,b){var e=b.toLowerCase();d.fn["inner"+b]=function(){var f=this[0];return f&&f.style?parseFloat(d.css(f,e,"padding")):null};d.fn["outer"+b]=function(f){var g=this[0];return g&&g.style?parseFloat(d.css(g,e,f?"margin":"border")):null};d.fn[e]=function(f){var g=this[0];if(!g)return f==null?null:this;if(d.isFunction(f))return this.each(function(r){var s=
d(this);s[e](f.call(this,r,s[e]()))});if(d.isWindow(g)){var h=g.document.documentElement["client"+b],l=g.document.body;return g.document.compatMode==="CSS1Compat"&&h||l&&l["client"+b]||h}else if(g.nodeType===9)return Math.max(g.documentElement["client"+b],g.body["scroll"+b],g.documentElement["scroll"+b],g.body["offset"+b],g.documentElement["offset"+b]);else if(f===c){g=d.css(g,e);h=parseFloat(g);return d.isNaN(h)?g:h}else return this.css(e,typeof f==="string"?f:f+"px")}});j.jQuery=j.$=d})(window);
steal.loaded("jquery/jquery.js");steal("jquery");steal.loaded("jquery/event/event.js");
steal("jquery/class").then(function(){var j=$.isArray,c=function(k){return typeof k==="object"&&k!==null&&k},q=$.makeArray,m=$.each,u=function(k,x,B){k=j(k)?new $.Observe.List(k):new $.Observe(k);k.bind("change"+B._namespace,function(J){var t=$.makeArray(arguments);J=t.shift();t[0]=x+(t[0]!="*"?"."+t[0]:"");$([B]).trigger(J,t)});return k},A=0,F=null,P=function(){if(!F){F=[];return true}},K=function(k,x,B){k=$([k]);if(F)F.push({t:k,ev:x,args:B});else return k.trigger(x,B)},Q=function(){var k=F.length,
x=F.slice(0),B;F=null;for(var J=0;J<k;J++){B=x[J];$(B.t).trigger(B.ev,B.args)}},E=function(k,x,B){k.each(function(J,t){B[J]=c(t)&&typeof t[x]=="function"?t[x]():t});return B};$.Class("jQuery.Observe",{init:function(k){this._namespace=".observe"+ ++A;for(var x in k)if(k.hasOwnProperty(x)){var B=k[x];if(c(B))k[x]=u(B,x,this)}this._data=k||{}},attr:function(k,x){if(x===undefined)return this._get(k);else{this._set(k,x);return this}},each:function(){return m.apply(null,[this._data].concat(q(arguments)))},
removeAttr:function(k){k=j(k)?k:k.split(".");var x=k.shift();current=this._data[x];if(k.length)return current.removeAttr(k);else{delete this._data[x];K(this,"change",[x,"remove",current]);return current}},_get:function(k){k=j(k)?k:k.split(".");var x=this._data[k.shift()];return k.length?x?x._get(k):undefined:x},_set:function(k,x){var B=j(k)?k:(""+k).split(".");k=B.shift();var J=this._data[k];if(c(J)&&B.length)J._set(B,x);else if(B.length)throw"jQuery.Observe: set a property on an object that does not exist";
else if(x!==J){B=this._data.hasOwnProperty(k)?"set":"add";this._data[k]=c(x)?u(x,k,this):x;K(this,"change",[k,B,x,J]);J&&J.unbind&&J.unbind("change"+this._namespace)}},bind:function(){$.fn.bind.apply($([this]),arguments);return this},unbind:function(){$.fn.unbind.apply($([this]),arguments);return this},serialize:function(){return E(this,"serialize",{})},attrs:function(k,x){if(k===undefined)return E(this,"attrs",{});k=$.extend(true,{},k);var B,J=P();for(B in this._data){var t=this._data[B],O=k[B];
if(O===undefined)x&&this.removeAttr(B);else{if(c(t)&&c(O))t.attrs(O,x);else t!=O&&this._set(B,O);delete k[B]}}for(B in k){O=k[B];this._set(B,O)}J&&Q()}});var w=jQuery.Observe("jQuery.Observe.List",{init:function(k){this.length=0;this._namespace=".list"+ ++A;this.push.apply(this,q(k||[]));this._data=this},serialize:function(){return E(this,"serialize",[])},each:function(){return m.apply(null,[this].concat(q(arguments)))},splice:function(k,x){for(var B=q(arguments),J=0;J<B.length;J++){var t=B[J];if(c(t))B[J]=
u(t,k+J,this)}if(x===undefined)x=B[1]=this.length-k;J=[].splice.apply(this,B);x>0&&K(this,"change",["*","remove",undefined,J,k]);B.length>2&&K(this,"change",["*","add",B.slice(2),J,k]);return J},attrs:function(k,x){if(k===undefined)return E(this,"attrs",[]);k=k.slice(0);for(var B=Math.min(k.length,this.length),J=P(),t=0;t<B;t++){var O=this[t],S=k[t];if(c(O)&&c(S))O.attrs(S,x);else O!=S&&this._set(t,S)}if(k.length>this.length)this.push(k.slice(this.length));else k.length<this.length&&x&&this.splice(k.length);
J&&Q()}}),C=function(k){return k[0]&&$.isArray(k[0])?k[0]:q(k)};$.each({push:"length",unshift:0},function(k,x){w.prototype[k]=function(){for(var B=C(arguments),J=x?this.length:0,t=0;t<B.length;t++){var O=B[t];if(c(O))B[t]=u(O,t,this)}t=[][k].apply(this,B);K(this,"change",["*","add",B,undefined,J]);return t}});$.each({pop:"length",shift:0},function(k,x){w.prototype[k]=function(){var B=C(arguments),J=x&&this.length?this.length-1:0;B=[][k].apply(this,B);K(this,"change",["*","remove",undefined,[B],J]);
return B}})});steal.loaded("jquery/lang/observe/observe.js");
steal("jquery").then(function(j){var c=function(t){return t.replace(/^\/\//,"").replace(/[\/\.]/g,"_")},q=1,m,u,A,F=function(t){return t&&j.isFunction(t.always)},P=function(t){var O=[];if(F(t))return[t];else for(var S in t)F(t[S])&&O.push(t[S]);return O},K=function(t){return j.isArray(t)&&t.length===3&&t[1]==="success"?t[0]:t};m=j.View=function(t,O,S,ba){if(typeof S==="function"){ba=S;S=undefined}var ea=P(O);if(ea.length){var ga=j.Deferred();ea.push(A(t,true));j.when.apply(j,ea).then(function(N){var Y=
j.makeArray(arguments),aa=Y.pop()[0];if(F(O))O=K(N);else for(var ia in O)if(F(O[ia]))O[ia]=K(Y.shift());Y=aa(O,S);ga.resolve(Y);ba&&ba(Y)});return ga.promise()}else{var H;ea=typeof ba==="function";ga=A(t,ea);if(ea){H=ga;ga.done(function(N){ba(N(O,S))})}else ga.done(function(N){H=N(O,S)});return H}};u=function(t,O){if(!t.match(/[^\s]/))throw"$.View ERROR: There is no template or an empty template at "+O;};A=function(t,O){return j.ajax({url:t,dataType:"view",async:O})};j.ajaxTransport("view",function(t,
O){t=O.url;var S=t.match(/\.[\w\d]+$/),ba,ea,ga,H=t,N,Y=function(aa){aa=ba.renderer(ga,aa);if(m.cache)m.cached[ga]=aa;return{view:aa}};if(ea=document.getElementById(t))S=ea.type.match(/\/[\d\w]+$/)[0].replace(/^\//,".");if(!S){S=m.ext;H+=m.ext}ga=c(H);if(H.match(/^\/\//))H=typeof steal==="undefined"?"/"+H.substr(2):steal.root.mapJoin(H.substr(2));ba=m.types[S];return{send:function(aa,ia){if(m.cached[ga])return ia(200,"success",{view:m.cached[ga]});else if(ea)ia(200,"success",Y(ea.innerHTML));else N=
j.ajax({async:O.async,url:H,dataType:"text",error:function(){u("",H);ia(404)},success:function(qa){u(qa,H);ia(200,"success",Y(qa))}})},abort:function(){N&&N.abort()}}});j.extend(m,{hookups:{},hookup:function(t){var O=++q;m.hookups[O]=t;return O},cached:{},cache:true,register:function(t){this.types["."+t.suffix]=t;window.steal&&steal.type(t.suffix+" view js",function(O,S,ba){S=m.types["."+O.type];var ea=c(O.rootSrc);O.text=S.script(ea,O.text);ba()})},types:{},ext:".ejs",registerScript:function(t,O,
S){return"$.View.preload('"+O+"',"+m.types["."+t].script(O,S)+");"},preload:function(t,O){m.cached[t]=function(S,ba){return O.call(S,S,ba)}}});window.steal&&steal.type("view js",function(t,O,S){O=m.types["."+t.type];var ba=c(t.rootSrc);t.text="steal('"+(O.plugin||"jquery/view/"+t.type)+"').then(function($){$.View.preload('"+ba+"',"+t.text+");\n})";S()});var Q,E,w,C,k,x,B;Q=function(t){var O=j.fn[t];j.fn[t]=function(){var S=j.makeArray(arguments),ba,ea,ga=this;if(F(S[0])){S[0].done(function(H){E.call(ga,
[H],O)});return this}else if(w(S)){if(ba=k(S)){ea=S[ba];S[ba]=function(H){E.call(ga,[H],O);ea.call(ga,H)};m.apply(m,S);return this}S=m.apply(m,S);if(F(S)){S.done(function(H){E.call(ga,[H],O)});return this}else S=[S]}return E.call(this,S,O)}};E=function(t,O){var S;for(var ba in m.hookups)break;if(ba&&t[0]&&C(t[0])){S=m.hookups;m.hookups={};t[0]=j(t[0])}O=O.apply(this,t);S&&x(t[0],S);return O};w=function(t){var O=typeof t[1];return typeof t[0]=="string"&&(O=="object"||O=="function")&&!t[1].nodeType&&
!t[1].jquery};C=function(t){if(t.jquery||t.nodeType===1)return true;else if(typeof t==="string"){t=j.trim(t);return t.substr(0,1)==="<"&&t.substr(t.length-1,1)===">"&&t.length>=3}else return false};k=function(t){return typeof t[3]==="function"?3:typeof t[2]==="function"&&2};x=function(t,O){var S,ba=0,ea,ga;t=t.filter(function(){return this.nodeType!=3});t=t.add("[data-view-id]",t);for(S=t.length;ba<S;ba++)if(t[ba].getAttribute&&(ea=t[ba].getAttribute("data-view-id"))&&(ga=O[ea])){ga(t[ba],ea);delete O[ea];
t[ba].removeAttribute("data-view-id")}j.extend(m.hookups,O)};j.fn.hookup=function(){var t=m.hookups;m.hookups={};x(this,t);return this};B=["prepend","append","after","before","text","html","replaceWith","val"];for(var J=0;J<B.length;J++)Q(B[J])});steal.loaded("jquery/view/view.js");
steal("jquery/lang/string",function(j){j.String.rsplit=function(c,q){for(var m=q.exec(c),u=[],A;m!==null;){A=m.index;if(A!==0){u.push(c.substring(0,A));c=c.slice(A)}u.push(m[0]);c=c.slice(m[0].length);m=q.exec(c)}c!==""&&u.push(c);return u}});steal.loaded("jquery/lang/string/rsplit/rsplit.js");hljs.XML_COMMENT={className:"comment",begin:"<!--",end:"--\>"};hljs.XML_ATTR={className:"attribute",begin:"\\s[a-zA-Z\\:-]+=",end:"^",contains:["value"]};hljs.XML_VALUE_QUOT={className:"value",begin:'"',end:'"'};
hljs.XML_VALUE_APOS={className:"value",begin:"'",end:"'"};
hljs.LANGUAGES.xml={defaultMode:{contains:["pi","comment","cdata","tag"]},case_insensitive:true,modes:[{className:"pi",begin:"<\\?",end:"\\?>",relevance:10},hljs.XML_COMMENT,{className:"cdata",begin:"<\\!\\[CDATA\\[",end:"\\]\\]>"},{className:"tag",begin:"</?",end:">",contains:["title","tag_internal"],relevance:1.5},{className:"title",begin:"[A-Za-z:_][A-Za-z0-9\\._:-]+",end:"^",relevance:0},{className:"tag_internal",begin:"^",endsWithParent:true,noMarkup:true,contains:["attribute"],relevance:0,illegal:"[\\+\\.]"},
hljs.XML_ATTR,hljs.XML_VALUE_QUOT,hljs.XML_VALUE_APOS]};
hljs.HTML_TAGS={code:1,kbd:1,font:1,noscript:1,style:1,img:1,title:1,menu:1,tt:1,tr:1,param:1,li:1,tfoot:1,th:1,input:1,td:1,dl:1,blockquote:1,fieldset:1,big:1,dd:1,abbr:1,optgroup:1,dt:1,button:1,isindex:1,p:1,small:1,div:1,dir:1,em:1,frame:1,meta:1,sub:1,bdo:1,label:1,acronym:1,sup:1,body:1,xml:1,basefont:1,base:1,br:1,address:1,strong:1,legend:1,ol:1,script:1,caption:1,s:1,col:1,h2:1,h3:1,h1:1,h6:1,h4:1,h5:1,table:1,select:1,noframes:1,span:1,area:1,dfn:1,strike:1,cite:1,thead:1,head:1,option:1,
form:1,hr:1,"var":1,link:1,b:1,colgroup:1,ul:1,applet:1,del:1,iframe:1,pre:1,frameset:1,ins:1,tbody:1,html:1,samp:1,map:1,object:1,a:1,xmlns:1,center:1,textarea:1,i:1,q:1,u:1};hljs.HTML_DOCTYPE={className:"doctype",begin:"<!DOCTYPE",end:">",relevance:10};hljs.HTML_ATTR={className:"attribute",begin:"\\s[a-zA-Z\\:-]+=",end:"^",contains:["value"]};hljs.HTML_SHORT_ATTR={className:"attribute",begin:" [a-zA-Z]+",end:"^"};hljs.HTML_VALUE={className:"value",begin:"[a-zA-Z0-9]+",end:"^"};
hljs.LANGUAGES.html={defaultMode:{contains:["tag","comment","doctype","vbscript"]},case_insensitive:true,modes:[hljs.XML_COMMENT,hljs.HTML_DOCTYPE,{className:"tag",lexems:[hljs.IDENT_RE],keywords:hljs.HTML_TAGS,begin:"<style",end:">",contains:["attribute"],illegal:"[\\+\\.]",starts:"css"},{className:"tag",lexems:[hljs.IDENT_RE],keywords:hljs.HTML_TAGS,begin:"<script",end:">",contains:["attribute"],illegal:"[\\+\\.]",starts:"javascript"},{className:"tag",lexems:[hljs.IDENT_RE],keywords:hljs.HTML_TAGS,
begin:"<[A-Za-z/]",end:">",contains:["attribute"],illegal:"[\\+\\.]"},{className:"css",end:"</style>",returnEnd:true,subLanguage:"css"},{className:"javascript",end:"<\/script>",returnEnd:true,subLanguage:"javascript"},hljs.HTML_ATTR,hljs.HTML_SHORT_ATTR,hljs.XML_VALUE_QUOT,hljs.XML_VALUE_APOS,hljs.HTML_VALUE,{className:"vbscript",begin:"<%",end:"%>",subLanguage:"vbscript"}]};steal.loaded("jmvcdoc/highlight/languages/www.js");
hljs.LANGUAGES.javascript={defaultMode:{lexems:[hljs.UNDERSCORE_IDENT_RE],contains:["string","comment","number","regexp_container","function"],keywords:{keyword:{"in":1,"if":1,"for":1,"while":1,"finally":1,"var":1,"new":1,"function":1,"do":1,"return":1,"void":1,"else":1,"break":1,"catch":1,"instanceof":1,"with":1,"throw":1,"case":1,"default":1,"try":1,"this":1,"switch":1,"continue":1,"typeof":1,"delete":1},literal:{"true":1,"false":1,"null":1}}},modes:[hljs.C_LINE_COMMENT_MODE,hljs.C_BLOCK_COMMENT_MODE,
hljs.C_NUMBER_MODE,hljs.APOS_STRING_MODE,hljs.QUOTE_STRING_MODE,hljs.BACKSLASH_ESCAPE,{className:"regexp_container",begin:"("+hljs.RE_STARTERS_RE+"|case|return|throw)\\s*",end:"^",noMarkup:true,lexems:[hljs.IDENT_RE],keywords:{"return":1,"throw":1,"case":1},contains:["comment","regexp"],relevance:0},{className:"regexp",begin:"/.*?[^\\\\/]/[gim]*",end:"^"},{className:"function",begin:"\\bfunction\\b",end:"{",lexems:[hljs.UNDERSCORE_IDENT_RE],keywords:{"function":1},contains:["title","params"]},{className:"title",
begin:"[A-Za-z$_][0-9A-Za-z$_]*",end:"^"},{className:"params",begin:"\\(",end:"\\)",contains:["string","comment"]}]};steal.loaded("jmvcdoc/highlight/languages/javascript.js");
steal("jquery/dom/cookie",function(){Favorites={toggle:function(j){var c=this.findAll(),q=Favorites.isFavorite(j);if(q)for(var m=0;m<c.length;m++){if(c[m].name==j.name){c.splice(m,1);break}}else c.push(j);fav=$.toJSON(c);$.cookie("favorites",fav,{expires:364});return!q},findAll:function(){var j=$.cookie("favorites");return j?eval("("+j+")"):[]},isFavorite:function(j){for(var c=Favorites.findAll(),q=0;q<c.length;q++)if(c[q].name==j.name)return true;return false}}});steal.loaded("jmvcdoc/models/favorites.js");
steal("jquery/lang/json",function(){jQuery.cookie=function(j,c,q){if(typeof c!="undefined"){q=q||{};if(c===null){c="";q.expires=-1}if(typeof c=="object"&&jQuery.toJSON)c=jQuery.toJSON(c);var m="";if(q.expires&&(typeof q.expires=="number"||q.expires.toUTCString)){if(typeof q.expires=="number"){m=new Date;m.setTime(m.getTime()+q.expires*24*60*60*1E3)}else m=q.expires;m="; expires="+m.toUTCString()}var u=q.path?"; path="+q.path:"",A=q.domain?"; domain="+q.domain:"";q=q.secure?"; secure":"";document.cookie=
[j,"=",encodeURIComponent(c),m,u,A,q].join("")}else{c=null;if(document.cookie&&document.cookie!=""){q=document.cookie.split(";");for(m=0;m<q.length;m++){u=jQuery.trim(q[m]);if(u.substring(0,j.length+1)==j+"="){c=decodeURIComponent(u.substring(j.length+1));break}}}if(jQuery.evalJSON&&c&&c.match(/^\s*\{/))try{c=jQuery.evalJSON(c)}catch(F){}return c}}});steal.loaded("jquery/dom/cookie/cookie.js");
steal("jquery",function(j){j.toJSON=function(m,u,A,F){if(typeof JSON=="object"&&JSON.stringify)return JSON.stringify(m,u,A);if(!F&&j.isFunction(u))m=u("",m);if(typeof A=="number")A=" ".substring(0,A);A=typeof A=="string"?A.substring(0,10):"";var P=typeof m;if(m===null)return"null";if(!(P=="undefined"||P=="function")){if(P=="number"||P=="boolean")return m+"";if(P=="string")return j.quoteString(m);if(P=="object"){if(typeof m.toJSON=="function")return j.toJSON(m.toJSON(),u,A,true);if(m.constructor===
Date){A=m.getUTCMonth()+1;if(A<10)A="0"+A;F=m.getUTCDate();if(F<10)F="0"+F;var K=m.getUTCFullYear(),Q=m.getUTCHours();if(Q<10)Q="0"+Q;var E=m.getUTCMinutes();if(E<10)E="0"+E;var w=m.getUTCSeconds();if(w<10)w="0"+w;m=m.getUTCMilliseconds();if(m<100)m="0"+m;if(m<10)m="0"+m;return'"'+K+"-"+A+"-"+F+"T"+Q+":"+E+":"+w+"."+m+'Z"'}F=j.isFunction(u)?function(x,B){return u(x,B)}:function(x,B){return B};K=A?"\n":"";w=A?" ":"";if(m.constructor===Array){Q=[];for(E=0;E<m.length;E++)Q.push((j.toJSON(F(E,m[E]),u,
A,true)||"null").replace(/^/gm,A));return"["+K+Q.join(","+K)+K+"]"}var C=[];if(j.isArray(u))Q=j.map(u,function(x){return typeof x=="string"||typeof x=="number"?x+"":null});for(E in m){var k;P=typeof E;if(!(Q&&j.inArray(E+"",Q)==-1)){if(P=="number")P='"'+E+'"';else if(P=="string")P=j.quoteString(E);else continue;k=j.toJSON(F(E,m[E]),u,A,true);typeof k!="undefined"&&C.push((P+":"+w+k).replace(/^/gm,A))}}return"{"+K+C.join(","+K)+K+"}"}}};j.evalJSON=function(m){if(typeof JSON=="object"&&JSON.parse)return JSON.parse(m);
return eval("("+m+")")};j.secureEvalJSON=function(m){if(typeof JSON=="object"&&JSON.parse)return JSON.parse(m);var u=m;u=u.replace(/\\["\\\/bfnrtu]/g,"@");u=u.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]");u=u.replace(/(?:^|:|,)(?:\s*\[)+/g,"");if(/^[\],:{}\s]*$/.test(u))return eval("("+m+")");else throw new SyntaxError("Error parsing JSON, source is not valid.");};j.quoteString=function(m){if(m.match(c))return'"'+m.replace(c,function(u){var A=q[u];if(typeof A==="string")return A;
A=u.charCodeAt();return"\\u00"+Math.floor(A/16).toString(16)+(A%16).toString(16)})+'"';return'"'+m+'"'};var c=/["\\\x00-\x1f\x7f-\x9f]/g,q={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"}});steal.loaded("jquery/lang/json/json.js");
steal("jquery/controller","jquery/view/ejs").then("./demo.ejs",function(){jQuery.Controller("DemoController",{},{init:function(){var j=this,c=320,q="",m="",u;this.element.html("//jmvcdoc/demo/demo.ejs",{});var A=steal.root.join(this.element.attr("data-demo-src")),F=this.find("iframe");F.bind("load",function(){var P=$(this.contentWindow.document.body);j.find(".demo_content").css({padding:"5px"});q=this.contentWindow.DEMO_HTML||P.find("#demo-html").html();j.find(".html_content").html('<pre><code class="html"></code></pre>').find("code").text($.trim(q)).highlight();
P.find("#demo-instructions").hide();m=P.find("#demo-source").html();j.find(".source_content").html('<pre><code class="javascript"></code></pre>').find("code").text($.trim(m)).highlight();if(!m){$("script",F[0].contentWindow.document).each(function(K,Q){if(!Q.text.match(/steal.end()/)){u=Q.text;if(!Q.src.match(/steal.js/))return false}});j.find(".source_content").html('<pre><code class="javascript"></code></pre>').find("code").text($.trim(u)).highlight()}setTimeout(function(){c=P.outerHeight();F.height(c+
50);j.find(".demo_content").height(c+55)},200)});F.attr("src",A)},".header click":function(j){j.next().toggle("slow");j.find("span").toggleClass("ui-icon-triangle-1-s").toggleClass("ui-icon-triangle-1-e")}})});steal.loaded("jmvcdoc/demo/demo.js");
steal("jquery/view/ejs").then(function(j){j.View.preload("jmvcdoc_demo_demo_ejs",jQuery.EJS(function(c,q){try{with(q)with(c){c=[];c.push('<div class="demo">\n');c.push(' <h3 class="demo_header header reset">\n');c.push(' <span class="ui-icon ui-icon-triangle-1-s"/>\n');c.push(' <a href="javascript://">Demo</a>\n');c.push(" </h3>\n");c.push(' <div class="demo_content content">\n');c.push(' <iframe height="100%" frameborder=0></iframe>\n');c.push(" </div>\n");c.push(' <h3 class="html_header header reset">\n');
c.push(' <span class="ui-icon ui-icon-triangle-1-e"/>\n');c.push(' <a href="javascript://">HTML</a>\n');c.push(" </h3>\n");c.push(' <div class="html_content content" style="display: none">\n');c.push(" HTML content\n");c.push(" </div>\n");c.push(' <h3 class="source_header header reset">\n');c.push(' <span class="ui-icon ui-icon-triangle-1-e"/>\n');c.push(' <a href="javascript://">Source</a>\n');c.push(" </h3>\n");c.push(' <div class="source_content content" style="display: none">\n');
c.push(" Source content\n");c.push(" </div>\n");c.push("</div>\n");c.push("\n");return c.join("")}}catch(m){m.lineNumber=null;throw m;}}))});steal.loaded("jmvcdoc/demo/demo.ejs");
steal("jquery/view/ejs").then(function(j){j.View.preload("jmvcdoc_content_views_attribute_ejs",jQuery.EJS(function(c,q){try{with(q)with(c){c=[];c.push(jQuery.EJS.text(view("//jmvcdoc/content/views/top.ejs",this)));c.push("\n");c.push(jQuery.EJS.text(link(comment)));return c.join("")}}catch(m){m.lineNumber=null;throw m;}}))});steal.loaded("jmvcdoc/content/views/attribute.ejs");
steal("jquery/view/ejs").then(function(j){j.View.preload("jmvcdoc_content_views_class_ejs",jQuery.EJS(function(c,q){try{with(q)with(c){c=[];c.push(jQuery.EJS.text(view("//jmvcdoc/content/views/top.ejs",this)));c.push("\n");c.push("\n");c.push(jQuery.EJS.text(link(this.comment)));c.push("\n");if(this.construct){c.push("\n");c.push("\t<h2>Constructor</h2>\n");c.push("\t");c.push(jQuery.EJS.text(link(this.construct)));c.push("\n")}else if(this.params||this.ret){c.push("\n");c.push("\t<h2>API</h2>\n")}c.push("\n");
if(this.params||this.ret){c.push("\n");c.push("<pre class='signiture'><code>");c.push(jQuery.EJS.clean(signiture()));c.push("</code></pre>\n")}c.push("\n");c.push("\n");c.push(" <div class='params'>\n");c.push(" ");if(this.params){c.push("\n");c.push("\t ");for(var m in this.params){var u=this.params[m];c.push(" \n");c.push("\t <div class='param ");c.push(jQuery.EJS.clean(u.optional?"optional":""));c.push("'>\n");c.push("\t <label>");c.push(jQuery.EJS.clean(u.name));c.push("</label>\n");
c.push("\t <code>{");c.push(jQuery.EJS.clean((u.optional?"optional:":"")+""+u.type));c.push("}</code>\n");c.push("\t\t\t ");c.push(jQuery.EJS.text(u.description));c.push("\n");c.push("\t </div>\n");c.push("\t ")}c.push("\n");c.push(" ")}c.push("\n");c.push(" ");if(this.ret&&this.ret.type!="undefined"){c.push("\n");c.push(" <div class='return'>\n");c.push(" <label>returns</label> \n");c.push(" <code>{");c.push(jQuery.EJS.clean(this.ret.type));c.push("}</code>\n");
c.push("\t\t ");c.push(jQuery.EJS.text(this.ret.description));c.push("\n");c.push(" </div>\n");c.push(" ")}c.push(" \n");c.push(" \n");c.push(" </div>\n");c.push("\n");return c.join("")}}catch(A){A.lineNumber=null;throw A;}}))});steal.loaded("jmvcdoc/content/views/class.ejs");
steal("jquery/view/ejs").then(function(j){j.View.preload("jmvcdoc_content_views_constructor_ejs",jQuery.EJS(function(c,q){try{with(q)with(c){c=[];c.push(jQuery.EJS.text(view("//jmvcdoc/content/views/top.ejs",this)));c.push("\n");c.push("\n");c.push(jQuery.EJS.text(link(comment)));c.push("\n");c.push("<h2>Constructor</h2>\n");c.push(jQuery.EJS.text(this.init));c.push("\n");c.push("<pre class='signiture'><code>");c.push(jQuery.EJS.clean(signiture()));c.push("</code></pre>\n");c.push("\n");c.push(" <div class='params'>\n");
c.push(" \n");c.push(" ");for(var m in this.params){var u=this.params[m];c.push(" \n");c.push(" <div class='param ");c.push(jQuery.EJS.clean(u.optional?"optional":""));c.push("'>\n");c.push(" <label>");c.push(jQuery.EJS.clean(u.name));c.push("</label>\n");c.push(" <code>{");c.push(jQuery.EJS.clean((u.optional?"optional:":"")+""+u.type));c.push("}</code> - ");c.push(jQuery.EJS.clean(link(u.description)));c.push("\n");c.push(" </div>\n");c.push(" ")}c.push("\n");c.push("\n");
c.push(" ");if(this.ret&&this.ret.type!="undefined"){c.push("\n");c.push(" <div class='return'>\n");c.push(" <label>returns</label> \n");c.push(" <code>{");c.push(jQuery.EJS.clean(this.ret.type));c.push("}</code> - ");c.push(jQuery.EJS.text(link(this.ret.description)));c.push("\n");c.push(" </div>\n");c.push(" ")}c.push(" \n");c.push(" \n");c.push(" </div>");return c.join("")}}catch(A){A.lineNumber=null;throw A;}}))});steal.loaded("jmvcdoc/content/views/constructor.ejs");
steal("jquery/view/ejs").then(function(j){j.View.preload("jmvcdoc_content_views_favorite_ejs",jQuery.EJS(function(c,q){try{with(q)with(c){c=[];c.push("You can add favorites by clicking the \n");c.push('Favorite button (<span class="favorite favoriteoff" style="background-position: center center"> </span>) by page\'s title. \n');c.push("<br/>After adding favorites, they will appear on the left.");return c.join("")}}catch(m){m.lineNumber=null;throw m;}}))});steal.loaded("jmvcdoc/content/views/favorite.ejs");
steal("jquery/view/ejs").then(function(j){j.View.preload("jmvcdoc_content_views_function_ejs",jQuery.EJS(function(c,q){try{with(q)with(c){c=[];c.push(jQuery.EJS.text(view("//jmvcdoc/content/views/top.ejs",this)));c.push("\n");c.push(" <div class='comment'>");c.push(jQuery.EJS.text(link(this.comment)));c.push("</div>\n");c.push(" <h2>API</h2>\n");c.push(" <pre class='signiture'><code>");c.push(jQuery.EJS.clean(signiture()));c.push("</code></pre>\n");c.push(" \n");c.push(" <div class='params'>\n");
c.push(" \n");c.push(" ");for(var m in this.params){var u=this.params[m];c.push(" \n");c.push(" <div class='param ");c.push(jQuery.EJS.clean(u.optional?"optional":""));c.push("'>\n");c.push(" <label>");c.push(jQuery.EJS.clean(u.name));c.push("</label>\n");c.push(" <code>{");c.push(jQuery.EJS.clean((u.optional?"optional:":"")+""+u.type));c.push("}");c.push(jQuery.EJS.clean(u["default"]?" defaults to "+u["default"]:""));c.push("</code> \n");c.push("\t\t ");c.push(jQuery.EJS.text(link(u.description)));
c.push("\n");c.push(" </div>\n");c.push(" ")}c.push("\n");c.push("\n");c.push(" ");if(this.ret&&this.ret.type){c.push("\n");c.push(" <div class='return'>\n");c.push(" <label>returns</label> \n");c.push(" <code>{");c.push(jQuery.EJS.clean(this.ret.type));c.push("}</code> \n");c.push("\t\t ");c.push(jQuery.EJS.text(link(this.ret.description)));c.push("\n");c.push(" </div>\n");c.push(" ")}c.push(" \n");c.push(" \n");c.push(" </div>");return c.join("")}}catch(A){A.lineNumber=
null;throw A;}}))});steal.loaded("jmvcdoc/content/views/function.ejs");steal("jquery/view/ejs").then(function(j){j.View.preload("jmvcdoc_content_views_page_ejs",jQuery.EJS(function(c,q){try{with(q)with(c){c=[];if(name!="index"){c.push("\n");c.push(jQuery.EJS.text(view("//jmvcdoc/content/views/top.ejs",this)));c.push("\n")}c.push("\n");c.push(jQuery.EJS.text(link(comment)));return c.join("")}}catch(m){m.lineNumber=null;throw m;}}))});steal.loaded("jmvcdoc/content/views/page.ejs");
steal("jquery/view/ejs").then(function(j){j.View.preload("jmvcdoc_content_views_results_ejs",jQuery.EJS(function(c,q){try{with(q)with(c){c=[];q="";var m,u,A;c.push("\n");c.push("\n");if(selected&&selected.length){c.push("\n");c.push("\t<div id='selected'>\n");c.push("\t\t ");for(var F=0;F<selected.length;F++){c.push("\n");c.push("\t\t\t\t");u=selected[F];A=u.title?u.title:u.name;m=calculateDisplay(q,A);name=normalizeName(u.name);c.push("\n");c.push('\t\t<div class="content">\n');c.push('\t\t\t <a href="#&who=');
c.push(jQuery.EJS.clean(name));c.push("\" class='selected choice ");c.push(jQuery.EJS.clean(u.type));c.push("' style=\"padding-left: ");c.push(jQuery.EJS.clean(m.length*20));c.push('px">\n');c.push("\t\t\t \t<span class='remove' title=\"close\"></span>\n");c.push("\t\t\t\t\t");c.push(jQuery.EJS.clean(m.name.replace("jQuery.","$.")));c.push("\n");c.push("\t\t\t\t\t\n");c.push("\t\t\t\t</a>\n");c.push("\t\t\t\t");q=A;c.push("\n");c.push("\t\t</div>\n");c.push("\t\t\t");if(F<selected.length-1){c.push("\n");
c.push('\t\t<div class="spacer"><div> </div></div>\n');c.push("\t\t\t")}c.push("\n");c.push("\t\t\t")}c.push("\n");c.push("\t</div>\n")}c.push("\n");c.push("<div id='results' style=\"display: ");c.push(jQuery.EJS.clean(hide?"none":"block"));c.push('">\n');c.push('\t<div class="content">\n');c.push("\t ");for(F=0;F<list.length;F++){c.push("\n");c.push("\t\t\t");u=list[F];if(!u.hide){A=u.title?u.title:u.name;m=calculateDisplay(q,A);name=normalizeName(u.name);c.push("\n");c.push('\t\t <a href="');
c.push(jQuery.EJS.clean(u.type=="prototype"||u.type=="static"?"javascript://":"#&who="+name));c.push("\" class='result choice ");c.push(jQuery.EJS.clean(u.type));c.push("' style=\"padding-left: ");c.push(jQuery.EJS.clean(m.length*20));c.push('px">\n');c.push("\t\t \t");c.push(jQuery.EJS.clean(m.name.replace("jQuery.","$.")));c.push("\n");c.push("\t\t\t</a>\n");c.push("\t\t\t");q=A;c.push("\n");c.push("\t\t")}}c.push("\n");c.push("\t</div>\n");c.push("</div>\n");c.push("\n");c.push("\n");return c.join("")}}catch(P){P.lineNumber=
null;throw P;}}))});steal.loaded("jmvcdoc/content/views/results.ejs");
steal("jquery/view/ejs").then(function(j){j.View.preload("jmvcdoc_content_views_top_ejs",jQuery.EJS(function(c,q){try{with(q)with(c){c=[];c.push("<div class='top'>\n");c.push('\t<div class="content">\n');c.push("\t <h1>");c.push(jQuery.EJS.clean(this.title||name.replace(/~/g,".")));c.push(" \n");c.push("\t \t<span class='");c.push(jQuery.EJS.clean(type));c.push(' type\'><span class="typeEnd">');c.push(jQuery.EJS.clean(type));c.push("</span></span> \n");c.push('\t \t<span class="favorite favorite');
c.push(jQuery.EJS.clean(isFavorite?"on":"off"));c.push('"> </span></h1>\n');c.push("\t ");if(this.inherits){c.push("\n");c.push("\t <div class='inherits'>\n");c.push("\t inherits: ");c.push(jQuery.EJS.text(linkOpen(this.inherits)));c.push("\n");c.push("\t </div>\n");c.push("\t ")}c.push("\n");c.push("\t ");if(this.tags){c.push("\n");c.push("\t <div class='tags'>\n");c.push("\t tags: ");c.push(jQuery.EJS.text(linkTags(this.tags)));c.push("\n");c.push("\t </div>\n");
c.push("\t ")}c.push("\n");c.push("\t ");if(this.plugin){c.push("\n");c.push("\t <div class='plugin'>\n");c.push("\t plugin: ");c.push(jQuery.EJS.clean(this.plugin));c.push("\n");c.push("\t </div>\n");c.push("\t ")}c.push("\n");c.push("\t\t");if(this.download){c.push("\n");c.push("\t <div class='download'>\n");c.push("\t download: <a href='");c.push(jQuery.EJS.clean(this.download));c.push("'> ");c.push(jQuery.EJS.text(this.title||name.replace(/~/g,".")));c.push("</a>\n");
c.push("\t </div>\n");c.push("\t ")}c.push("\n");c.push("\t\t");if(this.test){c.push("\n");c.push("\t <div class='test'>\n");c.push("\t test: <a href='");c.push(jQuery.EJS.clean(steal.root?steal.root.join(this.test):this.test));c.push("'>");c.push(jQuery.EJS.clean(this.test.match(/[^\/]*$/)[0]));c.push("</a>\n");c.push("\t </div>\n");c.push("\t ")}c.push("\n");c.push("\t</div>\t\n");c.push("</div>\n");return c.join("")}}catch(m){m.lineNumber=null;throw m;}}))});steal.loaded("jmvcdoc/content/views/top.ejs");
steal("jquery/view/ejs").then(function(j){j.View.preload("jmvcdoc_nav_views_results_ejs",jQuery.EJS(function(c,q){try{with(q)with(c){c=[];q="";var m,u,A;c.push("\n");c.push("\n");if(selected&&selected.length){c.push("\n");c.push("\t<div id='selected'>\n");c.push("\t\t ");for(var F=0;F<selected.length;F++){c.push("\n");c.push("\t\t\t\t");u=selected[F];A=u.title?u.title:u.name;m=calculateDisplay(q,A);name=normalizeName(u.name);c.push("\n");c.push('\t\t<div class="content">\n');c.push('\t\t\t <a href="');
c.push(jQuery.EJS.clean(j.route.url({who:name})));c.push("\" class='selected choice ");c.push(jQuery.EJS.clean(u.type));c.push("' style=\"padding-left: ");c.push(jQuery.EJS.clean(m.length*20));c.push('px">\n');c.push("\t\t\t \t");if(name!="index"){c.push("\n");c.push("\t\t\t\t\t\t<span class='remove' title=\"close\"></span>\n");c.push("\t\t\t\t\t")}c.push("\n");c.push("\t\t\t\t\t");c.push(jQuery.EJS.clean(m.name.replace("jQuery.","$.")));c.push("\n");c.push("\t\t\t\t\t\n");c.push("\t\t\t\t</a>\n");
c.push("\t\t\t\t");q=A;c.push("\n");c.push("\t\t</div>\n");c.push("\t\t\t");if(F<selected.length-1){c.push("\n");c.push('\t\t<div class="spacer"><div> </div></div>\n');c.push("\t\t\t")}c.push("\n");c.push("\t\t\t")}c.push("\n");c.push("\t</div>\n")}c.push("\n");c.push("<div id='results' style=\"display: ");c.push(jQuery.EJS.clean(hide?"none":"block"));c.push('">\n');c.push('\t<div class="content">\n');c.push("\t ");for(F=0;F<list.length;F++){c.push("\n");c.push("\t\t\t");u=list[F];if(!u.hide){A=
u.title?u.title:u.name;m=calculateDisplay(q,A);name=normalizeName(u.name);c.push("\n");c.push('\t\t <a href="');c.push(jQuery.EJS.clean(u.type=="prototype"||u.type=="static"?"javascript://":j.route.url({who:name})));c.push("\" class='result choice ");c.push(jQuery.EJS.clean(u.type));c.push("' style=\"padding-left: ");c.push(jQuery.EJS.clean(m.length*20));c.push('px">\n');c.push("\t\t \t");c.push(jQuery.EJS.clean(m.name.replace("jQuery.","$.")));c.push("\n");c.push("\t\t\t</a>\n");c.push("\t\t\t");
q=A;c.push("\n");c.push("\t\t")}}c.push("\n");c.push("\t</div>\n");c.push("</div>\n");c.push("\n");c.push("\n");return c.join("")}}catch(P){P.lineNumber=null;throw P;}}))});steal.loaded("jmvcdoc/nav/views/results.ejs");
steal("jquery").then(function(j){function c(Q){Q=Q||window[u][A];return Q.replace(/^[^#]*#?(.*)$/,"$1")}var q,m=j.event.special,u="location",A="href",F=document.documentMode,P=j.browser.msie&&(F===undefined||F<8),K="onhashchange"in window&&!P;j.hashchangeDelay=100;m.hashchange=j.extend(m.hashchange,{setup:function(){if(K)return false;j(q.start)},teardown:function(){if(K)return false;j(q.stop)}});q=function(){function Q(){k=x=function(B){return B};if(P){C=j('<iframe src="javascript:0"/>').hide().insertAfter("body")[0].contentWindow;
x=function(){return c(C.document[u][A])};k=function(B,J){if(B!==J){J=C.document;J.open().close();J[u].hash="#"+B}};k(c())}}var E={},w,C,k,x;E.start=function(){if(!w){var B=c();k||Q();navigator.userAgent.match(/Rhino/)||function J(){var t=c(),O=x(B);if(t!==B){k(B=t,O);j(window).trigger("hashchange")}else if(O!==B)window[u][A]=window[u][A].replace(/#.*/,"")+"#"+O;w=setTimeout(J,j.hashchangeDelay)}()}};E.stop=function(){if(!C){w&&clearTimeout(w);w=0}};return E}()});steal.loaded("jquery/event/hashchange/hashchange.js");
steal("jquery",function(j){var c=/^\d+$/,q=/([^\[\]]+)|(\[\])/g,m=/\+/g,u=/([^?#]*)(#.*)?$/;j.String=j.extend(j.String||{},{deparam:function(A){if(!A||!u.test(A))return{};var F={};A=A.split("&");for(var P,K=0;K<A.length;K++){P=F;var Q=A[K].split("=");if(Q.length!=2)Q=[Q[0],Q.slice(1).join("=")];var E=decodeURIComponent(Q[0].replace(m," "));Q=decodeURIComponent(Q[1].replace(m," "));E=E.match(q);for(var w=0;w<E.length-1;w++){var C=E[w];P[C]||(P[C]=c.test(E[w+1])||E[w+1]=="[]"?[]:{});P=P[C]}lastPart=
E[E.length-1];if(lastPart=="[]")P.push(Q);else P[lastPart]=Q}return F}})});steal.loaded("jquery/lang/string/deparam/deparam.js");