compass-jquery-plugin 0.3.2.2 → 0.3.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -2
- data/VERSION.yml +1 -1
- data/lib/jquery/jqgrid/jqgrid.rb +2 -2
- data/templates/dynatree/jquery.dynatree.js +1 -1
- data/templates/dynatree/jquery.dynatree.min.js +1 -1
- data/templates/jqtouch/jquery/touch/jqtouch.scss +8 -4
- data/templates/jquery/jquery.js +1968 -866
- data/templates/jquery/jquery.min.js +166 -152
- data/templates/jquery/jquery.pngFix.js +101 -1
- data/templates/jquery/jquery.pngFix.min.js +5 -2
- data/templates/jquery/jquery/ui/pngFix/blank.gif +0 -0
- data/templates/jquery/manifest.rb +1 -0
- metadata +5 -4
@@ -1,152 +1,166 @@
|
|
1
|
-
(function(
|
2
|
-
|
3
|
-
this.length=1;return this}if(typeof
|
4
|
-
|
5
|
-
|
6
|
-
arguments),"slice",
|
7
|
-
L[
|
8
|
-
|
9
|
-
function(
|
10
|
-
return true},error:function(
|
11
|
-
|
12
|
-
null?"":
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
a.
|
27
|
-
|
28
|
-
|
29
|
-
(
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
k
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
a.
|
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
|
-
c)
|
79
|
-
|
80
|
-
e
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
"
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
a.
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
a.
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
d
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
a.
|
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
|
-
try{
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
a.
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
1
|
+
(function(P,K){var H=P.document,S=function(){function a(){if(!o.isReady){try{H.documentElement.doScroll("left")}catch(h){setTimeout(a,1);return}o.ready()}}var o=function(h,t){return new o.fn.init(h,t,A)},D=P.jQuery,y=P.$,A,u=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,C=/\S/,r=/^\s+/,i=/\s+$/,f=/\d/,j=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,q=/^[\],:{}\s]*$/,z=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,l=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,n=/(?:^|:|,)(?:\s*\[)+/g,p=/(webkit)[ \/]([\w.]+)/,
|
2
|
+
w=/(opera)(?:.*version)?[ \/]([\w.]+)/,c=/(msie) ([\w.]+)/,g=/(mozilla)(?:.*? rv:([\w.]+))?/,b=navigator.userAgent,e=false,d,k={then:0,done:"fail",fail:"done",isResolved:"isRejected",isRejected:"isResolved",promise:"invert",invert:"promise"},s,m=Object.prototype.toString,x=Object.prototype.hasOwnProperty,E=Array.prototype.push,v=Array.prototype.slice,I=String.prototype.trim,F=Array.prototype.indexOf,J={};o.fn=o.prototype={constructor:o,init:function(h,t,B){var G;if(!h)return this;if(h.nodeType){this.context=
|
3
|
+
this[0]=h;this.length=1;return this}if(h==="body"&&!t&&H.body){this.context=H;this[0]=H.body;this.selector="body";this.length=1;return this}if(typeof h==="string")if((G=u.exec(h))&&(G[1]||!t))if(G[1]){B=(t=t instanceof o?t[0]:t)?t.ownerDocument||t:H;if(h=j.exec(h))if(o.isPlainObject(t)){h=[H.createElement(h[1])];o.fn.attr.call(h,t,true)}else h=[B.createElement(h[1])];else{h=o.buildFragment([G[1]],[B]);h=(h.cacheable?o.clone(h.fragment):h.fragment).childNodes}return o.merge(this,h)}else{if((t=H.getElementById(G[2]))&&
|
4
|
+
t.parentNode){if(t.id!==G[2])return B.find(h);this.length=1;this[0]=t}this.context=H;this.selector=h;return this}else return!t||t.jquery?(t||B).find(h):this.constructor(t).find(h);else if(o.isFunction(h))return B.ready(h);if(h.selector!==K){this.selector=h.selector;this.context=h.context}return o.makeArray(h,this)},selector:"",jquery:"@VERSION",length:0,size:function(){return this.length},toArray:function(){return v.call(this,0)},get:function(h){return h==null?this.toArray():h<0?this[this.length+
|
5
|
+
h]:this[h]},pushStack:function(h,t,B){var G=this.constructor();o.isArray(h)?E.apply(G,h):o.merge(G,h);G.prevObject=this;G.context=this.context;if(t==="find")G.selector=this.selector+(this.selector?" ":"")+B;else if(t)G.selector=this.selector+"."+t+"("+B+")";return G},each:function(h,t){return o.each(this,h,t)},ready:function(h){o.bindReady();d.done(h);return this},eq:function(h){return h===-1?this.slice(h):this.slice(h,+h+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},
|
6
|
+
slice:function(){return this.pushStack(v.apply(this,arguments),"slice",v.call(arguments).join(","))},map:function(h){return this.pushStack(o.map(this,function(t,B){return h.call(t,B,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice};o.fn.init.prototype=o.fn;o.extend=o.fn.extend=function(){var h,t,B,G,M,L=arguments[0]||{},N=1,R=arguments.length,U=false;if(typeof L==="boolean"){U=L;L=arguments[1]||{};N=2}if(typeof L!=="object"&&!o.isFunction(L))L=
|
7
|
+
{};if(R===N){L=this;--N}for(;N<R;N++)if((h=arguments[N])!=null)for(t in h){B=L[t];G=h[t];if(L!==G)if(U&&G&&(o.isPlainObject(G)||(M=o.isArray(G)))){if(M){M=false;B=B&&o.isArray(B)?B:[]}else B=B&&o.isPlainObject(B)?B:{};L[t]=o.extend(U,B,G)}else if(G!==K)L[t]=G}return L};o.extend({noConflict:function(h){P.$=y;if(h)P.jQuery=D;return o},isReady:false,readyWait:1,ready:function(h){h===true&&o.readyWait--;if(!o.readyWait||h!==true&&!o.isReady){if(!H.body)return setTimeout(o.ready,1);o.isReady=true;if(!(h!==
|
8
|
+
true&&--o.readyWait>0)){d.resolveWith(H,[o]);o.fn.trigger&&o(H).trigger("ready").unbind("ready")}}},bindReady:function(){if(!e){e=true;if(H.readyState==="complete")return setTimeout(o.ready,1);if(H.addEventListener){H.addEventListener("DOMContentLoaded",s,false);P.addEventListener("load",o.ready,false)}else if(H.attachEvent){H.attachEvent("onreadystatechange",s);P.attachEvent("onload",o.ready);var h=false;try{h=P.frameElement==null}catch(t){}H.documentElement.doScroll&&h&&a()}}},isFunction:function(h){return o.type(h)===
|
9
|
+
"function"},isArray:Array.isArray||function(h){return o.type(h)==="array"},isWindow:function(h){return h&&typeof h==="object"&&"setInterval"in h},isNaN:function(h){return h==null||!f.test(h)||isNaN(h)},type:function(h){return h==null?String(h):J[m.call(h)]||"object"},isPlainObject:function(h){if(!h||o.type(h)!=="object"||h.nodeType||o.isWindow(h))return false;if(h.constructor&&!x.call(h,"constructor")&&!x.call(h.constructor.prototype,"isPrototypeOf"))return false;for(var t in h);return t===K||x.call(h,
|
10
|
+
t)},isEmptyObject:function(h){for(var t in h)return false;return true},error:function(h){throw h;},parseJSON:function(h){if(typeof h!=="string"||!h)return null;h=o.trim(h);if(q.test(h.replace(z,"@").replace(l,"]").replace(n,"")))return P.JSON&&P.JSON.parse?P.JSON.parse(h):(new Function("return "+h))();else o.error("Invalid JSON: "+h)},parseXML:function(h,t,B){if(P.DOMParser){B=new DOMParser;t=B.parseFromString(h,"text/xml")}else{t=new ActiveXObject("Microsoft.XMLDOM");t.async="false";t.loadXML(h)}B=
|
11
|
+
t.documentElement;if(!B||!B.nodeName||B.nodeName==="parsererror")o.error("Invalid XML: "+h);return t},noop:function(){},globalEval:function(h){if(h&&C.test(h)){var t=H.head||H.getElementsByTagName("head")[0]||H.documentElement,B=H.createElement("script");if(o.support.scriptEval())B.appendChild(H.createTextNode(h));else B.text=h;t.insertBefore(B,t.firstChild);t.removeChild(B)}},nodeName:function(h,t){return h.nodeName&&h.nodeName.toUpperCase()===t.toUpperCase()},each:function(h,t,B){var G,M=0,L=h.length,
|
12
|
+
N=L===K||o.isFunction(h);if(B)if(N)for(G in h){if(t.apply(h[G],B)===false)break}else for(;M<L;){if(t.apply(h[M++],B)===false)break}else if(N)for(G in h){if(t.call(h[G],G,h[G])===false)break}else for(B=h[0];M<L&&t.call(B,M,B)!==false;B=h[++M]);return h},trim:I?function(h){return h==null?"":I.call(h)}:function(h){return h==null?"":h.toString().replace(r,"").replace(i,"")},makeArray:function(h,t){var B=t||[];if(h!=null){var G=o.type(h);h.length==null||G==="string"||G==="function"||G==="regexp"||o.isWindow(h)?
|
13
|
+
E.call(B,h):o.merge(B,h)}return B},inArray:function(h,t){if(t.indexOf)return t.indexOf(h);for(var B=0,G=t.length;B<G;B++)if(t[B]===h)return B;return-1},merge:function(h,t){var B=h.length,G=0;if(typeof t.length==="number")for(var M=t.length;G<M;G++)h[B++]=t[G];else for(;t[G]!==K;)h[B++]=t[G++];h.length=B;return h},grep:function(h,t,B){var G=[],M;B=!!B;for(var L=0,N=h.length;L<N;L++){M=!!t(h[L],L);B!==M&&G.push(h[L])}return G},map:function(h,t,B){for(var G=[],M,L=0,N=h.length;L<N;L++){M=t(h[L],L,B);
|
14
|
+
if(M!=null)G[G.length]=M}return G.concat.apply([],G)},guid:1,proxy:function(h,t,B){if(arguments.length===2)if(typeof t==="string"){B=h;h=B[t];t=K}else if(t&&!o.isFunction(t)){B=t;t=K}if(!t&&h)t=function(){return h.apply(B||this,arguments)};if(h)t.guid=h.guid=h.guid||t.guid||o.guid++;return t},access:function(h,t,B,G,M,L){var N=h.length;if(typeof t==="object"){for(var R in t)o.access(h,R,t[R],G,M,B);return h}if(B!==K){G=!L&&G&&o.isFunction(B);for(R=0;R<N;R++)M(h[R],t,G?B.call(h[R],R,M(h[R],t)):B,L);
|
15
|
+
return h}return N?M(h[0],t):K},now:function(){return(new Date).getTime()},_Deferred:function(){var h=[],t,B,G,M={done:function(){if(!G){var L=arguments,N,R,U,Y,Z;if(t){Z=t;t=0}N=0;for(R=L.length;N<R;N++){U=L[N];Y=o.type(U);if(Y==="array")M.done.apply(M,U);else Y==="function"&&h.push(U)}Z&&M.resolveWith(Z[0],Z[1])}return this},resolveWith:function(L,N){if(!G&&!t&&!B){B=1;try{for(;h[0];)h.shift().apply(L,N)}finally{t=[L,N];B=0}}return this},resolve:function(){M.resolveWith(o.isFunction(this.promise)?
|
16
|
+
this.promise():this,arguments);return this},isResolved:function(){return!!(B||t)},cancel:function(){G=1;h=[];return this}};return M},Deferred:function(h){var t=o._Deferred(),B=o._Deferred(),G,M;o.extend(t,{then:function(L,N){t.done(L).fail(N);return this},fail:B.done,rejectWith:B.resolveWith,reject:B.resolve,isRejected:B.isResolved,promise:function(L){if(L==null){if(G)return G;G=L={}}for(var N in k)L[N]=t[N];return L},invert:function(L){if(L==null){if(M)return M;M=L={}}for(var N in k)L[N]=k[N]&&t[k[N]];
|
17
|
+
L.then=M.then||function(R,U){t.done(U).fail(R);return this};return L}});t.then(B.cancel,t.cancel);delete t.cancel;h&&h.call(t,t);return t},when:function(h){var t=arguments,B=t.length,G=B<=1&&h&&o.isFunction(h.promise)?h:o.Deferred(),M=G.promise(),L;if(B>1){L=Array(B);o.each(t,function(N,R){o.when(R).then(function(U){L[N]=arguments.length>1?v.call(arguments,0):U;--B||G.resolveWith(M,L)},G.reject)})}else G!==h&&G.resolve(h);return M},uaMatch:function(h){h=h.toLowerCase();h=p.exec(h)||w.exec(h)||c.exec(h)||
|
18
|
+
h.indexOf("compatible")<0&&g.exec(h)||[];return{browser:h[1]||"",version:h[2]||"0"}},sub:function(){function h(B,G){return new h.fn.init(B,G)}o.extend(true,h,this);h.superclass=this;h.fn=h.prototype=this();h.fn.constructor=h;h.subclass=this.subclass;h.fn.init=function(B,G){if(G&&G instanceof o&&!(G instanceof h))G=h(G);return o.fn.init.call(this,B,G,t)};h.fn.init.prototype=h.fn;var t=h(H);return h},browser:{}});d=o._Deferred();o.each("Boolean Number String Function Array Date RegExp Object".split(" "),
|
19
|
+
function(h,t){J["[object "+t+"]"]=t.toLowerCase()});b=o.uaMatch(b);if(b.browser){o.browser[b.browser]=true;o.browser.version=b.version}if(o.browser.webkit)o.browser.safari=true;if(F)o.inArray=function(h,t){return F.call(t,h)};if(C.test(" ")){r=/^[\s\xA0]+/;i=/[\s\xA0]+$/}A=o(H);if(H.addEventListener)s=function(){H.removeEventListener("DOMContentLoaded",s,false);o.ready()};else if(H.attachEvent)s=function(){if(H.readyState==="complete"){H.detachEvent("onreadystatechange",s);o.ready()}};return P.jQuery=
|
20
|
+
P.$=o}();(function(a){(function(){a.support={};var o=H.createElement("div");o.style.display="none";o.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";var D=o.getElementsByTagName("*"),y=o.getElementsByTagName("a")[0],A=H.createElement("select"),u=A.appendChild(H.createElement("option"));if(!(!D||!D.length||!y)){a.support={leadingWhitespace:o.firstChild.nodeType===3,tbody:!o.getElementsByTagName("tbody").length,htmlSerialize:!!o.getElementsByTagName("link").length,
|
21
|
+
style:/red/.test(y.getAttribute("style")),hrefNormalized:y.getAttribute("href")==="/a",opacity:/^0.55$/.test(y.style.opacity),cssFloat:!!y.style.cssFloat,checkOn:o.getElementsByTagName("input")[0].value==="on",optSelected:u.selected,deleteExpando:true,optDisabled:false,checkClone:false,_scriptEval:null,noCloneEvent:true,boxModel:null,inlineBlockNeedsLayout:false,shrinkWrapBlocks:false,reliableHiddenOffsets:true};A.disabled=true;a.support.optDisabled=!u.disabled;a.support.scriptEval=function(){if(a.support._scriptEval===
|
22
|
+
null){var r=H.documentElement,i=H.createElement("script"),f="script"+a.now();i.type="text/javascript";try{i.appendChild(H.createTextNode("window."+f+"=1;"))}catch(j){}r.insertBefore(i,r.firstChild);if(P[f]){a.support._scriptEval=true;delete P[f]}else a.support._scriptEval=false;r.removeChild(i)}return a.support._scriptEval};try{delete o.test}catch(C){a.support.deleteExpando=false}if(o.attachEvent&&o.fireEvent){o.attachEvent("onclick",function r(){a.support.noCloneEvent=false;o.detachEvent("onclick",
|
23
|
+
r)});o.cloneNode(true).fireEvent("onclick")}o=H.createElement("div");o.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";D=H.createDocumentFragment();D.appendChild(o.firstChild);a.support.checkClone=D.cloneNode(true).cloneNode(true).lastChild.checked;a(function(){var r=H.createElement("div"),i=H.getElementsByTagName("body")[0];if(i){r.style.width=r.style.paddingLeft="1px";i.appendChild(r);a.boxModel=a.support.boxModel=r.offsetWidth===2;if("zoom"in r.style){r.style.display="inline";
|
24
|
+
r.style.zoom=1;a.support.inlineBlockNeedsLayout=r.offsetWidth===2;r.style.display="";r.innerHTML="<div style='width:4px;'></div>";a.support.shrinkWrapBlocks=r.offsetWidth!==2}r.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>";var f=r.getElementsByTagName("td");a.support.reliableHiddenOffsets=f[0].offsetHeight===0;f[0].style.display="";f[1].style.display="none";a.support.reliableHiddenOffsets=a.support.reliableHiddenOffsets&&f[0].offsetHeight===0;r.innerHTML=
|
25
|
+
"";i.removeChild(r).style.display="none"}});D=function(r){var i=H.createElement("div");r="on"+r;if(!i.attachEvent)return true;var f=r in i;if(!f){i.setAttribute(r,"return;");f=typeof i[r]==="function"}return f};a.support.submitBubbles=D("submit");a.support.changeBubbles=D("change");o=D=y=null}})()})(S);(function(a){function o(y,A,u){if(u===K&&y.nodeType===1){u=y.getAttribute("data-"+A);if(typeof u==="string"){try{u=u==="true"?true:u==="false"?false:u==="null"?null:!a.isNaN(u)?parseFloat(u):D.test(u)?
|
26
|
+
a.parseJSON(u):u}catch(C){}a.data(y,A,u)}else u=K}return u}var D=/^(?:\{.*\}|\[.*\])$/;a.extend({cache:{},uuid:0,expando:"jQuery"+(a.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:true,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:true},hasData:function(y){y=y.nodeType?a.cache[y[a.expando]]:y[a.expando];return!!y&&!a.isEmptyObject(y)},data:function(y,A,u,C){if(a.acceptData(y)){var r=a.expando,i=typeof A==="string",f=y.nodeType,j=f?a.cache:y,q=f?y[a.expando]:y[a.expando]&&a.expando;
|
27
|
+
if(!((!q||C&&q&&!j[q][r])&&i&&u===K)){if(!q)if(f)y[a.expando]=q=++a.uuid;else q=a.expando;j[q]||(j[q]={});if(typeof A==="object")if(C)j[q][r]=a.extend(j[q][r],A);else j[q]=a.extend(j[q],A);y=j[q];if(C){y[r]||(y[r]={});y=y[r]}if(u!==K)y[A]=u;if(A==="events"&&!y[A])return y[r]&&y[r].events;return i?y[A]:y}}},removeData:function(y,A,u){if(a.acceptData(y)){var C=a.expando,r=y.nodeType,i=r?a.cache:y,f=r?y[a.expando]:a.expando;if(i[f]){if(A){var j=u?i[f][C]:i[f];if(j){delete j[A];if(!a.isEmptyObject(j))return}}if(u){delete i[f][C];
|
28
|
+
if(!a.isEmptyObject(i[f]))return}A=i[f][C];if(a.support.deleteExpando||i!=P)delete i[f];else i[f]=null;if(A){i[f]={};i[f][C]=A}else if(r)if(a.support.deleteExpando)delete y[a.expando];else if(y.removeAttribute)y.removeAttribute(a.expando);else y[a.expando]=null}}},_data:function(y,A,u){return a.data(y,A,u,true)},acceptData:function(y){if(y.nodeName){var A=a.noData[y.nodeName.toLowerCase()];if(A)return!(A===true||y.getAttribute("classid")!==A)}return true}});a.fn.extend({data:function(y,A){var u=null;
|
29
|
+
if(typeof y==="undefined"){if(this.length){u=a.data(this[0]);if(this[0].nodeType===1)for(var C=this[0].attributes,r,i=0,f=C.length;i<f;i++){r=C[i].name;if(r.indexOf("data-")===0){r=r.substr(5);o(this[0],r,u[r])}}}return u}else if(typeof y==="object")return this.each(function(){a.data(this,y)});var j=y.split(".");j[1]=j[1]?"."+j[1]:"";if(A===K){u=this.triggerHandler("getData"+j[1]+"!",[j[0]]);if(u===K&&this.length){u=a.data(this[0],y);u=o(this[0],y,u)}return u===K&&j[1]?this.data(j[0]):u}else return this.each(function(){var q=
|
30
|
+
a(this),z=[j[0],A];q.triggerHandler("setData"+j[1]+"!",z);a.data(this,y,A);q.triggerHandler("changeData"+j[1]+"!",z)})},removeData:function(y){return this.each(function(){a.removeData(this,y)})}})})(S);(function(a){a.extend({queue:function(o,D,y){if(o){D=(D||"fx")+"queue";var A=a._data(o,D);if(!y)return A||[];if(!A||a.isArray(y))A=a._data(o,D,a.makeArray(y));else A.push(y);return A}},dequeue:function(o,D){D=D||"fx";var y=a.queue(o,D),A=y.shift();if(A==="inprogress")A=y.shift();if(A){D==="fx"&&y.unshift("inprogress");
|
31
|
+
A.call(o,function(){a.dequeue(o,D)})}y.length||a.removeData(o,D+"queue",true)}});a.fn.extend({queue:function(o,D){if(typeof o!=="string"){D=o;o="fx"}if(D===K)return a.queue(this[0],o);return this.each(function(){var y=a.queue(this,o,D);o==="fx"&&y[0]!=="inprogress"&&a.dequeue(this,o)})},dequeue:function(o){return this.each(function(){a.dequeue(this,o)})},delay:function(o,D){o=a.fx?a.fx.speeds[o]||o:o;D=D||"fx";return this.queue(D,function(){var y=this;setTimeout(function(){a.dequeue(y,D)},o)})},clearQueue:function(o){return this.queue(o||
|
32
|
+
"fx",[])}})})(S);(function(a){var o=/[\n\t\r]/g,D=/\s+/,y=/\r/g,A=/^(?:href|src|style)$/,u=/^(?:button|input)$/i,C=/^(?:button|input|object|select|textarea)$/i,r=/^a(?:rea)?$/i,i=/^(?:radio|checkbox)$/i;a.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};a.fn.extend({attr:function(f,j){return a.access(this,f,j,true,a.attr)},removeAttr:function(f){return this.each(function(){a.attr(this,
|
33
|
+
f,"");this.nodeType===1&&this.removeAttribute(f)})},addClass:function(f){if(a.isFunction(f))return this.each(function(g){var b=a(this);b.addClass(f.call(this,g,b.attr("class")))});if(f&&typeof f==="string")for(var j=(f||"").split(D),q=0,z=this.length;q<z;q++){var l=this[q];if(l.nodeType===1)if(l.className){for(var n=" "+l.className+" ",p=l.className,w=0,c=j.length;w<c;w++)if(n.indexOf(" "+j[w]+" ")<0)p+=" "+j[w];l.className=a.trim(p)}else l.className=f}return this},removeClass:function(f){if(a.isFunction(f))return this.each(function(c){var g=
|
34
|
+
a(this);g.removeClass(f.call(this,c,g.attr("class")))});if(f&&typeof f==="string"||f===K)for(var j=(f||"").split(D),q=0,z=this.length;q<z;q++){var l=this[q];if(l.nodeType===1&&l.className)if(f){for(var n=(" "+l.className+" ").replace(o," "),p=0,w=j.length;p<w;p++)n=n.replace(" "+j[p]+" "," ");l.className=a.trim(n)}else l.className=""}return this},toggleClass:function(f,j){var q=typeof f,z=typeof j==="boolean";if(a.isFunction(f))return this.each(function(l){var n=a(this);n.toggleClass(f.call(this,
|
35
|
+
l,n.attr("class"),j),j)});return this.each(function(){if(q==="string")for(var l,n=0,p=a(this),w=j,c=f.split(D);l=c[n++];){w=z?w:!p.hasClass(l);p[w?"addClass":"removeClass"](l)}else if(q==="undefined"||q==="boolean"){this.className&&a._data(this,"__className__",this.className);this.className=this.className||f===false?"":a._data(this,"__className__")||""}})},hasClass:function(f){f=" "+f+" ";for(var j=0,q=this.length;j<q;j++)if((" "+this[j].className+" ").replace(o," ").indexOf(f)>-1)return true;return false},
|
36
|
+
val:function(f){if(!arguments.length){var j=this[0];if(j){if(a.nodeName(j,"option")){var q=j.attributes.value;return!q||q.specified?j.value:j.text}if(a.nodeName(j,"select")){var z=j.selectedIndex;q=[];var l=j.options;j=j.type==="select-one";if(z<0)return null;var n=j?z:0;for(z=j?z+1:l.length;n<z;n++){var p=l[n];if(p.selected&&(a.support.optDisabled?!p.disabled:p.getAttribute("disabled")===null)&&(!p.parentNode.disabled||!a.nodeName(p.parentNode,"optgroup"))){f=a(p).val();if(j)return f;q.push(f)}}return q}if(i.test(j.type)&&
|
37
|
+
!a.support.checkOn)return j.getAttribute("value")===null?"on":j.value;return(j.value||"").replace(y,"")}return K}var w=a.isFunction(f);return this.each(function(c){var g=a(this),b=f;if(this.nodeType===1){if(w)b=f.call(this,c,g.val());if(b==null)b="";else if(typeof b==="number")b+="";else if(a.isArray(b))b=a.map(b,function(d){return d==null?"":d+""});if(a.isArray(b)&&i.test(this.type))this.checked=a.inArray(g.val(),b)>=0;else if(a.nodeName(this,"select")){var e=a.makeArray(b);a("option",this).each(function(){this.selected=
|
38
|
+
a.inArray(a(this).val(),e)>=0});if(!e.length)this.selectedIndex=-1}else this.value=b}})}});a.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(f,j,q,z){if(!f||f.nodeType===3||f.nodeType===8||f.nodeType===2)return K;if(z&&j in a.attrFn)return a(f)[j](q);z=f.nodeType!==1||!a.isXMLDoc(f);var l=q!==K;j=z&&a.props[j]||j;if(f.nodeType===1){var n=A.test(j);if((j in f||f[j]!==K)&&z&&!n){if(l){j==="type"&&u.test(f.nodeName)&&f.parentNode&&a.error("type property can't be changed");
|
39
|
+
if(q===null)f.nodeType===1&&f.removeAttribute(j);else f[j]=q}if(a.nodeName(f,"form")&&f.getAttributeNode(j))return f.getAttributeNode(j).nodeValue;if(j==="tabIndex")return(j=f.getAttributeNode("tabIndex"))&&j.specified?j.value:C.test(f.nodeName)||r.test(f.nodeName)&&f.href?0:K;return f[j]}if(!a.support.style&&z&&j==="style"){if(l)f.style.cssText=""+q;return f.style.cssText}l&&f.setAttribute(j,""+q);if(!f.attributes[j]&&f.hasAttribute&&!f.hasAttribute(j))return K;f=!a.support.hrefNormalized&&z&&n?
|
40
|
+
f.getAttribute(j,2):f.getAttribute(j);return f===null?K:f}if(l)f[j]=q;return f[j]}})})(S);(function(a){function o(){return false}function D(){return true}function y(b,e,d){d[0].type=b;return a.event.handle.apply(e,d)}function A(b){var e,d,k,s,m,x,E,v,I,F,J,h=[];s=[];m=a._data(this,z);if(typeof m==="function")m=m.events;if(!(b.liveFired===this||!m||!m.live||b.target.disabled||b.button&&b.type==="click")){if(b.namespace)J=RegExp("(^|\\.)"+b.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)");b.liveFired=
|
41
|
+
this;var t=m.live.slice(0);for(E=0;E<t.length;E++){m=t[E];m.origType.replace(C,"")===b.type?s.push(m.selector):t.splice(E--,1)}s=a(b.target).closest(s,b.currentTarget);v=0;for(I=s.length;v<I;v++){F=s[v];for(E=0;E<t.length;E++){m=t[E];if(F.selector===m.selector&&(!J||J.test(m.namespace))){x=F.elem;k=null;if(m.preType==="mouseenter"||m.preType==="mouseleave"){b.type=m.preType;k=a(b.relatedTarget).closest(m.selector)[0]}if(!k||k!==x)h.push({elem:x,handleObj:m,level:F.level})}}}v=0;for(I=h.length;v<I;v++){s=
|
42
|
+
h[v];if(d&&s.level>d)break;b.currentTarget=s.elem;b.data=s.handleObj.data;b.handleObj=s.handleObj;J=s.handleObj.origHandler.apply(s.elem,arguments);if(J===false||b.isPropagationStopped()){d=s.level;if(J===false)e=false;if(b.isImmediatePropagationStopped())break}}return e}}function u(b,e){return(b&&b!=="*"?b+".":"")+e.replace(i,"`").replace(f,"&")}var C=/\.(.*)$/,r=/^(?:textarea|input|select)$/i,i=/\./g,f=/ /g,j=/[^\w\s.|`]/g,q=function(b){return b.replace(j,"\\$&")},z="events";a.event={add:function(b,
|
43
|
+
e,d,k){if(!(b.nodeType===3||b.nodeType===8)){if(a.isWindow(b)&&b!==P&&!b.frameElement)b=P;if(d===false)d=o;else if(!d)return;var s,m;if(d.handler){s=d;d=s.handler}if(!d.guid)d.guid=a.guid++;if(m=a._data(b)){var x=m[z],E=m.handle;if(typeof x==="function"){E=x.handle;x=x.events}else if(!x){b.nodeType||(m[z]=m=function(){});m.events=x={}}if(!E)m.handle=E=function(){return typeof a!=="undefined"&&!a.event.triggered?a.event.handle.apply(E.elem,arguments):K};E.elem=b;e=e.split(" ");for(var v,I=0,F;v=e[I++];){m=
|
44
|
+
s?a.extend({},s):{handler:d,data:k};if(v.indexOf(".")>-1){F=v.split(".");v=F.shift();m.namespace=F.slice(0).sort().join(".")}else{F=[];m.namespace=""}m.type=v;if(!m.guid)m.guid=d.guid;var J=x[v],h=a.event.special[v]||{};if(!J){J=x[v]=[];if(!h.setup||h.setup.call(b,k,F,E)===false)if(b.addEventListener)b.addEventListener(v,E,false);else b.attachEvent&&b.attachEvent("on"+v,E)}if(h.add){h.add.call(b,m);if(!m.handler.guid)m.handler.guid=d.guid}J.push(m);a.event.global[v]=true}b=null}}},global:{},remove:function(b,
|
45
|
+
e,d,k){if(!(b.nodeType===3||b.nodeType===8)){if(d===false)d=o;var s,m,x=0,E,v,I,F,J,h,t=a.hasData(b)&&a._data(b),B=t&&t[z];if(t&&B){if(typeof B==="function"){t=B;B=B.events}if(e&&e.type){d=e.handler;e=e.type}if(!e||typeof e==="string"&&e.charAt(0)==="."){e=e||"";for(s in B)a.event.remove(b,s+e)}else{for(e=e.split(" ");s=e[x++];){F=s;E=s.indexOf(".")<0;v=[];if(!E){v=s.split(".");s=v.shift();I=RegExp("(^|\\.)"+a.map(v.slice(0).sort(),q).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(J=B[s])if(d){F=a.event.special[s]||
|
46
|
+
{};for(m=k||0;m<J.length;m++){h=J[m];if(d.guid===h.guid){if(E||I.test(h.namespace)){k==null&&J.splice(m--,1);F.remove&&F.remove.call(b,h)}if(k!=null)break}}if(J.length===0||k!=null&&J.length===1){if(!F.teardown||F.teardown.call(b,v)===false)a.removeEvent(b,s,t.handle);delete B[s]}}else for(m=0;m<J.length;m++){h=J[m];if(E||I.test(h.namespace)){a.event.remove(b,F,h.handler,m);J.splice(m--,1)}}}if(a.isEmptyObject(B)){if(e=t.handle)e.elem=null;delete t.events;delete t.handle;if(typeof t==="function")a.removeData(b,
|
47
|
+
z,true);else a.isEmptyObject(t)&&a.removeData(b,K,true)}}}}},trigger:function(b,e,d,k){var s=b.type||b;if(!k){b=typeof b==="object"?b[a.expando]?b:a.extend(a.Event(s),b):a.Event(s);if(s.indexOf("!")>=0){b.type=s=s.slice(0,-1);b.exclusive=true}if(!d){b.stopPropagation();a.event.global[s]&&a.each(a.cache,function(){var J=this[a.expando];J&&J.events&&J.events[s]&&a.event.trigger(b,e,J.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return K;b.result=K;b.target=d;e=a.makeArray(e);e.unshift(b)}b.currentTarget=
|
48
|
+
d;(k=d.nodeType?a._data(d,"handle"):(a._data(d,z)||{}).handle)&&k.apply(d,e);k=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&a.noData[d.nodeName.toLowerCase()]))if(d["on"+s]&&d["on"+s].apply(d,e)===false){b.result=false;b.preventDefault()}}catch(m){}if(!b.isPropagationStopped()&&k)a.event.trigger(b,e,k,true);else if(!b.isDefaultPrevented()){var x;k=b.target;var E=s.replace(C,""),v=a.nodeName(k,"a")&&E==="click",I=a.event.special[E]||{};if((!I._default||I._default.call(d,b)===false)&&!v&&!(k&&
|
49
|
+
k.nodeName&&a.noData[k.nodeName.toLowerCase()])){try{if(k[E]){if(x=k["on"+E])k["on"+E]=null;a.event.triggered=true;k[E]()}}catch(F){}if(x)k["on"+E]=x;a.event.triggered=false}}},handle:function(b){var e,d,k,s;d=[];var m=a.makeArray(arguments);b=m[0]=a.event.fix(b||P.event);b.currentTarget=this;e=b.type.indexOf(".")<0&&!b.exclusive;if(!e){k=b.type.split(".");b.type=k.shift();d=k.slice(0).sort();k=RegExp("(^|\\.)"+d.join("\\.(?:.*\\.)?")+"(\\.|$)")}b.namespace=b.namespace||d.join(".");s=a._data(this,
|
50
|
+
z);if(typeof s==="function")s=s.events;d=(s||{})[b.type];if(s&&d){d=d.slice(0);s=0;for(var x=d.length;s<x;s++){var E=d[s];if(e||k.test(E.namespace)){b.handler=E.handler;b.data=E.data;b.handleObj=E;E=E.handler.apply(this,m);if(E!==K){b.result=E;if(E===false){b.preventDefault();b.stopPropagation()}}if(b.isImmediatePropagationStopped())break}}}return b.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),
|
51
|
+
fix:function(b){if(b[a.expando])return b;var e=b;b=a.Event(e);for(var d=this.props.length,k;d;){k=this.props[--d];b[k]=e[k]}if(!b.target)b.target=b.srcElement||H;if(b.target.nodeType===3)b.target=b.target.parentNode;if(!b.relatedTarget&&b.fromElement)b.relatedTarget=b.fromElement===b.target?b.toElement:b.fromElement;if(b.pageX==null&&b.clientX!=null){e=H.documentElement;d=H.body;b.pageX=b.clientX+(e&&e.scrollLeft||d&&d.scrollLeft||0)-(e&&e.clientLeft||d&&d.clientLeft||0);b.pageY=b.clientY+(e&&e.scrollTop||
|
52
|
+
d&&d.scrollTop||0)-(e&&e.clientTop||d&&d.clientTop||0)}if(b.which==null&&(b.charCode!=null||b.keyCode!=null))b.which=b.charCode!=null?b.charCode:b.keyCode;if(!b.metaKey&&b.ctrlKey)b.metaKey=b.ctrlKey;if(!b.which&&b.button!==K)b.which=b.button&1?1:b.button&2?3:b.button&4?2:0;return b},guid:1E8,proxy:a.proxy,special:{ready:{setup:a.bindReady,teardown:a.noop},live:{add:function(b){a.event.add(this,u(b.origType,b.selector),a.extend({},b,{handler:A,guid:b.handler.guid}))},remove:function(b){a.event.remove(this,
|
53
|
+
u(b.origType,b.selector),b)}},beforeunload:{setup:function(b,e,d){if(a.isWindow(this))this.onbeforeunload=d},teardown:function(b,e){if(this.onbeforeunload===e)this.onbeforeunload=null}}}};a.removeEvent=H.removeEventListener?function(b,e,d){b.removeEventListener&&b.removeEventListener(e,d,false)}:function(b,e,d){b.detachEvent&&b.detachEvent("on"+e,d)};a.Event=function(b){if(!this.preventDefault)return new a.Event(b);if(b&&b.type){this.originalEvent=b;this.type=b.type;this.isDefaultPrevented=b.defaultPrevented||
|
54
|
+
b.returnValue===false||b.getPreventDefault&&b.getPreventDefault()?D:o}else this.type=b;this.timeStamp=a.now();this[a.expando]=true};a.Event.prototype={preventDefault:function(){this.isDefaultPrevented=D;var b=this.originalEvent;if(b)if(b.preventDefault)b.preventDefault();else b.returnValue=false},stopPropagation:function(){this.isPropagationStopped=D;var b=this.originalEvent;if(b){b.stopPropagation&&b.stopPropagation();b.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=
|
55
|
+
D;this.stopPropagation()},isDefaultPrevented:o,isPropagationStopped:o,isImmediatePropagationStopped:o};var l=function(b){var e=b.relatedTarget;try{for(;e&&e!==this;)e=e.parentNode;if(e!==this){b.type=b.data;a.event.handle.apply(this,arguments)}}catch(d){}},n=function(b){b.type=b.data;a.event.handle.apply(this,arguments)};a.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(b,e){a.event.special[b]={setup:function(d){a.event.add(this,e,d&&d.selector?n:l,b)},teardown:function(d){a.event.remove(this,
|
56
|
+
e,d&&d.selector?n:l)}}});if(!a.support.submitBubbles)a.event.special.submit={setup:function(){if(this.nodeName&&this.nodeName.toLowerCase()!=="form"){a.event.add(this,"click.specialSubmit",function(b){var e=b.target,d=e.type;if((d==="submit"||d==="image")&&a(e).closest("form").length){b.liveFired=K;return y("submit",this,arguments)}});a.event.add(this,"keypress.specialSubmit",function(b){var e=b.target,d=e.type;if((d==="text"||d==="password")&&a(e).closest("form").length&&b.keyCode===13){b.liveFired=
|
57
|
+
K;return y("submit",this,arguments)}})}else return false},teardown:function(){a.event.remove(this,".specialSubmit")}};if(!a.support.changeBubbles){var p,w=function(b){var e=b.type,d=b.value;if(e==="radio"||e==="checkbox")d=b.checked;else if(e==="select-multiple")d=b.selectedIndex>-1?a.map(b.options,function(k){return k.selected}).join("-"):"";else if(b.nodeName.toLowerCase()==="select")d=b.selectedIndex;return d},c=function(b,e){var d=b.target,k,s;if(!(!r.test(d.nodeName)||d.readOnly)){k=a._data(d,
|
58
|
+
"_change_data");s=w(d);if(b.type!=="focusout"||d.type!=="radio")a._data(d,"_change_data",s);if(!(k===K||s===k))if(k!=null||s){b.type="change";b.liveFired=K;return a.event.trigger(b,e,d)}}};a.event.special.change={filters:{focusout:c,beforedeactivate:c,click:function(b){var e=b.target,d=e.type;if(d==="radio"||d==="checkbox"||e.nodeName.toLowerCase()==="select")return c.call(this,b)},keydown:function(b){var e=b.target,d=e.type;if(b.keyCode===13&&e.nodeName.toLowerCase()!=="textarea"||b.keyCode===32&&
|
59
|
+
(d==="checkbox"||d==="radio")||d==="select-multiple")return c.call(this,b)},beforeactivate:function(b){b=b.target;a._data(b,"_change_data",w(b))}},setup:function(){if(this.type==="file")return false;for(var b in p)a.event.add(this,b+".specialChange",p[b]);return r.test(this.nodeName)},teardown:function(){a.event.remove(this,".specialChange");return r.test(this.nodeName)}};p=a.event.special.change.filters;p.focus=p.beforeactivate}H.addEventListener&&a.each({focus:"focusin",blur:"focusout"},function(b,
|
60
|
+
e){function d(k){k=a.event.fix(k);k.type=e;return a.event.handle.call(this,k)}a.event.special[e]={setup:function(){this.addEventListener(b,d,true)},teardown:function(){this.removeEventListener(b,d,true)}}});a.each(["bind","one"],function(b,e){a.fn[e]=function(d,k,s){if(typeof d==="object"){for(var m in d)this[e](m,k,d[m],s);return this}if(a.isFunction(k)||k===false){s=k;k=K}var x=e==="one"?a.proxy(s,function(v){a(this).unbind(v,x);return s.apply(this,arguments)}):s;if(d==="unload"&&e!=="one")this.one(d,
|
61
|
+
k,s);else{m=0;for(var E=this.length;m<E;m++)a.event.add(this[m],d,x,k)}return this}});a.fn.extend({unbind:function(b,e){if(typeof b==="object"&&!b.preventDefault)for(var d in b)this.unbind(d,b[d]);else{d=0;for(var k=this.length;d<k;d++)a.event.remove(this[d],b,e)}return this},delegate:function(b,e,d,k){return this.live(e,d,k,b)},undelegate:function(b,e,d){return arguments.length===0?this.unbind("live"):this.die(e,null,d,b)},trigger:function(b,e){return this.each(function(){a.event.trigger(b,e,this)})},
|
62
|
+
triggerHandler:function(b,e){if(this[0]){var d=a.Event(b);d.preventDefault();d.stopPropagation();a.event.trigger(d,e,this[0]);return d.result}},toggle:function(b){for(var e=arguments,d=1;d<e.length;)a.proxy(b,e[d++]);return this.click(a.proxy(b,function(k){var s=(a._data(this,"lastToggle"+b.guid)||0)%d;a._data(this,"lastToggle"+b.guid,s+1);k.preventDefault();return e[s].apply(this,arguments)||false}))},hover:function(b,e){return this.mouseenter(b).mouseleave(e||b)}});var g={focus:"focusin",blur:"focusout",
|
63
|
+
mouseenter:"mouseover",mouseleave:"mouseout"};a.each(["live","die"],function(b,e){a.fn[e]=function(d,k,s,m){var x,E=0,v,I,F=m||this.selector;m=m?this:a(this.context);if(typeof d==="object"&&!d.preventDefault){for(x in d)m[e](x,k,d[x],F);return this}if(a.isFunction(k)){s=k;k=K}for(d=(d||"").split(" ");(x=d[E++])!=null;){v=C.exec(x);I="";if(v){I=v[0];x=x.replace(C,"")}if(x==="hover")d.push("mouseenter"+I,"mouseleave"+I);else{v=x;if(x==="focus"||x==="blur"){d.push(g[x]+I);x+=I}else x=(g[x]||x)+I;if(e===
|
64
|
+
"live"){I=0;for(var J=m.length;I<J;I++)a.event.add(m[I],"live."+u(x,F),{data:k,selector:F,handler:s,origType:x,origHandler:s,preType:v})}else m.unbind("live."+u(x,F),s)}}return this}});a.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "),function(b,e){a.fn[e]=function(d,k){if(k==null){k=d;d=null}return arguments.length>0?this.bind(e,d,k):this.trigger(e)};
|
65
|
+
if(a.attrFn)a.attrFn[e]=true})})(S);(function(){function a(c,g,b,e,d,k){d=0;for(var s=e.length;d<s;d++){var m=e[d];if(m){var x=false;for(m=m[c];m;){if(m.sizcache===b){x=e[m.sizset];break}if(m.nodeType===1&&!k){m.sizcache=b;m.sizset=d}if(m.nodeName.toLowerCase()===g){x=m;break}m=m[c]}e[d]=x}}}function o(c,g,b,e,d,k){d=0;for(var s=e.length;d<s;d++){var m=e[d];if(m){var x=false;for(m=m[c];m;){if(m.sizcache===b){x=e[m.sizset];break}if(m.nodeType===1){if(!k){m.sizcache=b;m.sizset=d}if(typeof g!=="string"){if(m===
|
66
|
+
g){x=true;break}}else if(r.filter(g,[m]).length>0){x=m;break}}m=m[c]}e[d]=x}}}var D=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,y=0,A=Object.prototype.toString,u=false,C=true;[0,0].sort(function(){C=false;return 0});var r=function(c,g,b,e){b=b||[];var d=g=g||H;if(g.nodeType!==1&&g.nodeType!==9)return[];if(!c||typeof c!=="string")return b;var k,s,m,x,E,v=true,I=r.isXML(g),F=[],J=c;do{D.exec("");if(k=D.exec(J)){J=
|
67
|
+
k[3];F.push(k[1]);if(k[2]){x=k[3];break}}}while(k);if(F.length>1&&f.exec(c))if(F.length===2&&i.relative[F[0]])s=w(F[0]+F[1],g);else for(s=i.relative[F[0]]?[g]:r(F.shift(),g);F.length;){c=F.shift();if(i.relative[c])c+=F.shift();s=w(c,s)}else{if(!e&&F.length>1&&g.nodeType===9&&!I&&i.match.ID.test(F[0])&&!i.match.ID.test(F[F.length-1])){k=r.find(F.shift(),g,I);g=k.expr?r.filter(k.expr,k.set)[0]:k.set[0]}if(g){k=e?{expr:F.pop(),set:z(e)}:r.find(F.pop(),F.length===1&&(F[0]==="~"||F[0]==="+")&&g.parentNode?
|
68
|
+
g.parentNode:g,I);s=k.expr?r.filter(k.expr,k.set):k.set;if(F.length>0)m=z(s);else v=false;for(;F.length;){k=E=F.pop();if(i.relative[E])k=F.pop();else E="";if(k==null)k=g;i.relative[E](m,k,I)}}else m=[]}m||(m=s);m||r.error(E||c);if(A.call(m)==="[object Array]")if(v)if(g&&g.nodeType===1)for(c=0;m[c]!=null;c++){if(m[c]&&(m[c]===true||m[c].nodeType===1&&r.contains(g,m[c])))b.push(s[c])}else for(c=0;m[c]!=null;c++)m[c]&&m[c].nodeType===1&&b.push(s[c]);else b.push.apply(b,m);else z(m,b);if(x){r(x,d,b,e);
|
69
|
+
r.uniqueSort(b)}return b};r.uniqueSort=function(c){if(n){u=C;c.sort(n);if(u)for(var g=1;g<c.length;g++)c[g]===c[g-1]&&c.splice(g--,1)}return c};r.matches=function(c,g){return r(c,null,null,g)};r.matchesSelector=function(c,g){return r(g,null,null,[c]).length>0};r.find=function(c,g,b){var e;if(!c)return[];for(var d=0,k=i.order.length;d<k;d++){var s,m=i.order[d];if(s=i.leftMatch[m].exec(c)){var x=s[1];s.splice(1,1);if(x.substr(x.length-1)!=="\\"){s[1]=(s[1]||"").replace(/\\/g,"");e=i.find[m](s,g,b);
|
70
|
+
if(e!=null){c=c.replace(i.match[m],"");break}}}}e||(e=typeof g.getElementsByTagName!=="undefined"?g.getElementsByTagName("*"):[]);return{set:e,expr:c}};r.filter=function(c,g,b,e){for(var d,k,s=c,m=[],x=g,E=g&&g[0]&&r.isXML(g[0]);c&&g.length;){for(var v in i.filter)if((d=i.leftMatch[v].exec(c))!=null&&d[2]){var I,F,J=i.filter[v];F=d[1];k=false;d.splice(1,1);if(F.substr(F.length-1)!=="\\"){if(x===m)m=[];if(i.preFilter[v])if(d=i.preFilter[v](d,x,b,m,e,E)){if(d===true)continue}else k=I=true;if(d)for(var h=
|
71
|
+
0;(F=x[h])!=null;h++)if(F){I=J(F,d,h,x);var t=e^!!I;if(b&&I!=null)if(t)k=true;else x[h]=false;else if(t){m.push(F);k=true}}if(I!==K){b||(x=m);c=c.replace(i.match[v],"");if(!k)return[];break}}}if(c===s)if(k==null)r.error(c);else break;s=c}return x};r.error=function(c){throw"Syntax error, unrecognized expression: "+c;};var i=r.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,
|
72
|
+
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(c){return c.getAttribute("href")}},
|
73
|
+
relative:{"+":function(c,g){var b=typeof g==="string",e=b&&!/\W/.test(g);b=b&&!e;if(e)g=g.toLowerCase();e=0;for(var d=c.length,k;e<d;e++)if(k=c[e]){for(;(k=k.previousSibling)&&k.nodeType!==1;);c[e]=b||k&&k.nodeName.toLowerCase()===g?k||false:k===g}b&&r.filter(g,c,true)},">":function(c,g){var b,e=typeof g==="string",d=0,k=c.length;if(e&&!/\W/.test(g))for(g=g.toLowerCase();d<k;d++){if(b=c[d]){b=b.parentNode;c[d]=b.nodeName.toLowerCase()===g?b:false}}else{for(;d<k;d++)if(b=c[d])c[d]=e?b.parentNode:b.parentNode===
|
74
|
+
g;e&&r.filter(g,c,true)}},"":function(c,g,b){var e,d=y++,k=o;if(typeof g==="string"&&!/\W/.test(g)){e=g=g.toLowerCase();k=a}k("parentNode",g,d,c,e,b)},"~":function(c,g,b){var e,d=y++,k=o;if(typeof g==="string"&&!/\W/.test(g)){e=g=g.toLowerCase();k=a}k("previousSibling",g,d,c,e,b)}},find:{ID:function(c,g,b){if(typeof g.getElementById!=="undefined"&&!b)return(c=g.getElementById(c[1]))&&c.parentNode?[c]:[]},NAME:function(c,g){if(typeof g.getElementsByName!=="undefined"){for(var b=[],e=g.getElementsByName(c[1]),
|
75
|
+
d=0,k=e.length;d<k;d++)e[d].getAttribute("name")===c[1]&&b.push(e[d]);return b.length===0?null:b}},TAG:function(c,g){if(typeof g.getElementsByTagName!=="undefined")return g.getElementsByTagName(c[1])}},preFilter:{CLASS:function(c,g,b,e,d,k){c=" "+c[1].replace(/\\/g,"")+" ";if(k)return c;k=0;for(var s;(s=g[k])!=null;k++)if(s)if(d^(s.className&&(" "+s.className+" ").replace(/[\t\n\r]/g," ").indexOf(c)>=0))b||e.push(s);else if(b)g[k]=false;return false},ID:function(c){return c[1].replace(/\\/g,"")},
|
76
|
+
TAG:function(c){return c[1].toLowerCase()},CHILD:function(c){if(c[1]==="nth"){c[2]||r.error(c[0]);c[2]=c[2].replace(/^\+|\s*/g,"");var g=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(c[2]==="even"&&"2n"||c[2]==="odd"&&"2n+1"||!/\D/.test(c[2])&&"0n+"+c[2]||c[2]);c[2]=g[1]+(g[2]||1)-0;c[3]=g[3]-0}else c[2]&&r.error(c[0]);c[0]=y++;return c},ATTR:function(c,g,b,e,d,k){g=c[1]=c[1].replace(/\\/g,"");if(!k&&i.attrMap[g])c[1]=i.attrMap[g];c[4]=(c[4]||c[5]||"").replace(/\\/g,"");if(c[2]==="~=")c[4]=" "+c[4]+" ";return c},
|
77
|
+
PSEUDO:function(c,g,b,e,d){if(c[1]==="not")if((D.exec(c[3])||"").length>1||/^\w/.test(c[3]))c[3]=r(c[3],null,null,g);else{c=r.filter(c[3],g,b,true^d);b||e.push.apply(e,c);return false}else if(i.match.POS.test(c[0])||i.match.CHILD.test(c[0]))return true;return c},POS:function(c){c.unshift(true);return c}},filters:{enabled:function(c){return c.disabled===false&&c.type!=="hidden"},disabled:function(c){return c.disabled===true},checked:function(c){return c.checked===true},selected:function(c){return c.selected===
|
78
|
+
true},parent:function(c){return!!c.firstChild},empty:function(c){return!c.firstChild},has:function(c,g,b){return!!r(b[3],c).length},header:function(c){return/h\d/i.test(c.nodeName)},text:function(c){return"text"===c.type},radio:function(c){return"radio"===c.type},checkbox:function(c){return"checkbox"===c.type},file:function(c){return"file"===c.type},password:function(c){return"password"===c.type},submit:function(c){return"submit"===c.type},image:function(c){return"image"===c.type},reset:function(c){return"reset"===
|
79
|
+
c.type},button:function(c){return"button"===c.type||c.nodeName.toLowerCase()==="button"},input:function(c){return/input|select|textarea|button/i.test(c.nodeName)}},setFilters:{first:function(c,g){return g===0},last:function(c,g,b,e){return g===e.length-1},even:function(c,g){return g%2===0},odd:function(c,g){return g%2===1},lt:function(c,g,b){return g<b[3]-0},gt:function(c,g,b){return g>b[3]-0},nth:function(c,g,b){return b[3]-0===g},eq:function(c,g,b){return b[3]-0===g}},filter:{PSEUDO:function(c,
|
80
|
+
g,b,e){var d=g[1],k=i.filters[d];if(k)return k(c,b,g,e);else if(d==="contains")return(c.textContent||c.innerText||r.getText([c])||"").indexOf(g[3])>=0;else if(d==="not"){g=g[3];b=0;for(e=g.length;b<e;b++)if(g[b]===c)return false;return true}else r.error(d)},CHILD:function(c,g){var b=g[1],e=c;switch(b){case "only":case "first":for(;e=e.previousSibling;)if(e.nodeType===1)return false;if(b==="first")return true;e=c;case "last":for(;e=e.nextSibling;)if(e.nodeType===1)return false;return true;case "nth":b=
|
81
|
+
g[2];var d=g[3];if(b===1&&d===0)return true;var k=g[0],s=c.parentNode;if(s&&(s.sizcache!==k||!c.nodeIndex)){var m=0;for(e=s.firstChild;e;e=e.nextSibling)if(e.nodeType===1)e.nodeIndex=++m;s.sizcache=k}e=c.nodeIndex-d;return b===0?e===0:e%b===0&&e/b>=0}},ID:function(c,g){return c.nodeType===1&&c.getAttribute("id")===g},TAG:function(c,g){return g==="*"&&c.nodeType===1||c.nodeName.toLowerCase()===g},CLASS:function(c,g){return(" "+(c.className||c.getAttribute("class"))+" ").indexOf(g)>-1},ATTR:function(c,
|
82
|
+
g){var b=g[1];b=i.attrHandle[b]?i.attrHandle[b](c):c[b]!=null?c[b]:c.getAttribute(b);var e=b+"",d=g[2],k=g[4];return b==null?d==="!=":d==="="?e===k:d==="*="?e.indexOf(k)>=0:d==="~="?(" "+e+" ").indexOf(k)>=0:!k?e&&b!==false:d==="!="?e!==k:d==="^="?e.indexOf(k)===0:d==="$="?e.substr(e.length-k.length)===k:d==="|="?e===k||e.substr(0,k.length+1)===k+"-":false},POS:function(c,g,b,e){var d=i.setFilters[g[2]];if(d)return d(c,b,g,e)}}},f=i.match.POS,j=function(c,g){return"\\"+(g-0+1)},q;for(q in i.match){i.match[q]=
|
83
|
+
RegExp(i.match[q].source+/(?![^\[]*\])(?![^\(]*\))/.source);i.leftMatch[q]=RegExp(/(^(?:.|\r|\n)*?)/.source+i.match[q].source.replace(/\\(\d+)/g,j))}var z=function(c,g){c=Array.prototype.slice.call(c,0);if(g){g.push.apply(g,c);return g}return c};try{Array.prototype.slice.call(H.documentElement.childNodes,0)}catch(l){z=function(c,g){var b=0,e=g||[];if(A.call(c)==="[object Array]")Array.prototype.push.apply(e,c);else if(typeof c.length==="number")for(var d=c.length;b<d;b++)e.push(c[b]);else for(;c[b];b++)e.push(c[b]);
|
84
|
+
return e}}var n,p;if(H.documentElement.compareDocumentPosition)n=function(c,g){if(c===g){u=true;return 0}if(!c.compareDocumentPosition||!g.compareDocumentPosition)return c.compareDocumentPosition?-1:1;return c.compareDocumentPosition(g)&4?-1:1};else{n=function(c,g){var b,e,d=[],k=[];b=c.parentNode;e=g.parentNode;var s=b;if(c===g){u=true;return 0}else if(b===e)return p(c,g);else if(b){if(!e)return 1}else return-1;for(;s;){d.unshift(s);s=s.parentNode}for(s=e;s;){k.unshift(s);s=s.parentNode}b=d.length;
|
85
|
+
e=k.length;for(s=0;s<b&&s<e;s++)if(d[s]!==k[s])return p(d[s],k[s]);return s===b?p(c,k[s],-1):p(d[s],g,1)};p=function(c,g,b){if(c===g)return b;for(c=c.nextSibling;c;){if(c===g)return-1;c=c.nextSibling}return 1}}r.getText=function(c){for(var g="",b,e=0;c[e];e++){b=c[e];if(b.nodeType===3||b.nodeType===4)g+=b.nodeValue;else if(b.nodeType!==8)g+=r.getText(b.childNodes)}return g};(function(){var c=H.createElement("div"),g="script"+(new Date).getTime(),b=H.documentElement;c.innerHTML="<a name='"+g+"'/>";
|
86
|
+
b.insertBefore(c,b.firstChild);if(H.getElementById(g)){i.find.ID=function(e,d,k){if(typeof d.getElementById!=="undefined"&&!k)return(d=d.getElementById(e[1]))?d.id===e[1]||typeof d.getAttributeNode!=="undefined"&&d.getAttributeNode("id").nodeValue===e[1]?[d]:K:[]};i.filter.ID=function(e,d){var k=typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id");return e.nodeType===1&&k&&k.nodeValue===d}}b.removeChild(c);b=c=null})();(function(){var c=H.createElement("div");c.appendChild(H.createComment(""));
|
87
|
+
if(c.getElementsByTagName("*").length>0)i.find.TAG=function(g,b){var e=b.getElementsByTagName(g[1]);if(g[1]==="*"){for(var d=[],k=0;e[k];k++)e[k].nodeType===1&&d.push(e[k]);e=d}return e};c.innerHTML="<a href='#'></a>";if(c.firstChild&&typeof c.firstChild.getAttribute!=="undefined"&&c.firstChild.getAttribute("href")!=="#")i.attrHandle.href=function(g){return g.getAttribute("href",2)};c=null})();H.querySelectorAll&&function(){var c=r,g=H.createElement("div");g.innerHTML="<p class='TEST'></p>";if(!(g.querySelectorAll&&
|
88
|
+
g.querySelectorAll(".TEST").length===0)){r=function(e,d,k,s){d=d||H;if(!s&&!r.isXML(d)){var m=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(e);if(m&&(d.nodeType===1||d.nodeType===9))if(m[1])return z(d.getElementsByTagName(e),k);else if(m[2]&&i.find.CLASS&&d.getElementsByClassName)return z(d.getElementsByClassName(m[2]),k);if(d.nodeType===9){if(e==="body"&&d.body)return z([d.body],k);else if(m&&m[3]){var x=d.getElementById(m[3]);if(x&&x.parentNode){if(x.id===m[3])return z([x],k)}else return z([],k)}try{return z(d.querySelectorAll(e),
|
89
|
+
k)}catch(E){}}else if(d.nodeType===1&&d.nodeName.toLowerCase()!=="object"){x=(m=d.getAttribute("id"))||"__sizzle__";var v=d.parentNode,I=/^\s*[+~]/.test(e);if(m)x=x.replace(/'/g,"\\$&");else d.setAttribute("id",x);if(I&&v)d=d.parentNode;try{if(!I||v)return z(d.querySelectorAll("[id='"+x+"'] "+e),k)}catch(F){}finally{m||d.removeAttribute("id")}}}return c(e,d,k,s)};for(var b in c)r[b]=c[b];g=null}}();(function(){var c=H.documentElement,g=c.matchesSelector||c.mozMatchesSelector||c.webkitMatchesSelector||
|
90
|
+
c.msMatchesSelector,b=false;try{g.call(H.documentElement,"[test!='']:sizzle")}catch(e){b=true}if(g)r.matchesSelector=function(d,k){k=k.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!r.isXML(d))try{if(b||!i.match.PSEUDO.test(k)&&!/!=/.test(k))return g.call(d,k)}catch(s){}return r(k,null,null,[d]).length>0}})();(function(){var c=H.createElement("div");c.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!c.getElementsByClassName||c.getElementsByClassName("e").length===0)){c.lastChild.className=
|
91
|
+
"e";if(c.getElementsByClassName("e").length!==1){i.order.splice(1,0,"CLASS");i.find.CLASS=function(g,b,e){if(typeof b.getElementsByClassName!=="undefined"&&!e)return b.getElementsByClassName(g[1])};c=null}}})();r.contains=H.documentElement.contains?function(c,g){return c!==g&&(c.contains?c.contains(g):true)}:H.documentElement.compareDocumentPosition?function(c,g){return!!(c.compareDocumentPosition(g)&16)}:function(){return false};r.isXML=function(c){return(c=(c?c.ownerDocument||c:0).documentElement)?
|
92
|
+
c.nodeName!=="HTML":false};var w=function(c,g){for(var b,e=[],d="",k=g.nodeType?[g]:g;b=i.match.PSEUDO.exec(c);){d+=b[0];c=c.replace(i.match.PSEUDO,"")}c=i.relative[c]?c+"*":c;b=0;for(var s=k.length;b<s;b++)r(c,k[b],e);return r.filter(d,e)};S.find=r;S.expr=r.selectors;S.expr[":"]=S.expr.filters;S.unique=r.uniqueSort;S.text=r.getText;S.isXMLDoc=r.isXML;S.contains=r.contains})();(function(a){function o(f,j,q){if(a.isFunction(j))return a.grep(f,function(l,n){return!!j.call(l,n,l)===q});else if(j.nodeType)return a.grep(f,
|
93
|
+
function(l){return l===j===q});else if(typeof j==="string"){var z=a.grep(f,function(l){return l.nodeType===1});if(u.test(j))return a.filter(j,z,!q);else j=a.filter(j,z)}return a.grep(f,function(l){return a.inArray(l,j)>=0===q})}var D=/Until$/,y=/^(?:parents|prevUntil|prevAll)/,A=/,/,u=/^.[^:#\[\.,]*$/,C=Array.prototype.slice,r=a.expr.match.POS,i={children:true,contents:true,next:true,prev:true};a.fn.extend({find:function(f){for(var j=this.pushStack("","find",f),q=0,z=0,l=this.length;z<l;z++){q=j.length;
|
94
|
+
a.find(f,this[z],j);if(z>0)for(var n=q;n<j.length;n++)for(var p=0;p<q;p++)if(j[p]===j[n]){j.splice(n--,1);break}}return j},has:function(f){var j=a(f);return this.filter(function(){for(var q=0,z=j.length;q<z;q++)if(a.contains(this,j[q]))return true})},not:function(f){return this.pushStack(o(this,f,false),"not",f)},filter:function(f){return this.pushStack(o(this,f,true),"filter",f)},is:function(f){return!!f&&a.filter(f,this).length>0},closest:function(f,j){var q=[],z,l,n=this[0];if(a.isArray(f)){var p,
|
95
|
+
w={},c=1;if(n&&f.length){z=0;for(l=f.length;z<l;z++){p=f[z];w[p]||(w[p]=a.expr.match.POS.test(p)?a(p,j||this.context):p)}for(;n&&n.ownerDocument&&n!==j;){for(p in w){z=w[p];if(z.jquery?z.index(n)>-1:a(n).is(z))q.push({selector:p,elem:n,level:c})}n=n.parentNode;c++}}return q}p=r.test(f)?a(f,j||this.context):null;z=0;for(l=this.length;z<l;z++)for(n=this[z];n;)if(p?p.index(n)>-1:a.find.matchesSelector(n,f)){q.push(n);break}else{n=n.parentNode;if(!n||!n.ownerDocument||n===j)break}q=q.length>1?a.unique(q):
|
96
|
+
q;return this.pushStack(q,"closest",f)},index:function(f){if(!f||typeof f==="string")return a.inArray(this[0],f?a(f):this.parent().children());return a.inArray(f.jquery?f[0]:f,this)},add:function(f,j){var q=typeof f==="string"?a(f,j):a.makeArray(f),z=a.merge(this.get(),q);return this.pushStack(!q[0]||!q[0].parentNode||q[0].parentNode.nodeType===11||!z[0]||!z[0].parentNode||z[0].parentNode.nodeType===11?z:a.unique(z))},andSelf:function(){return this.add(this.prevObject)}});a.each({parent:function(f){return(f=
|
97
|
+
f.parentNode)&&f.nodeType!==11?f:null},parents:function(f){return a.dir(f,"parentNode")},parentsUntil:function(f,j,q){return a.dir(f,"parentNode",q)},next:function(f){return a.nth(f,2,"nextSibling")},prev:function(f){return a.nth(f,2,"previousSibling")},nextAll:function(f){return a.dir(f,"nextSibling")},prevAll:function(f){return a.dir(f,"previousSibling")},nextUntil:function(f,j,q){return a.dir(f,"nextSibling",q)},prevUntil:function(f,j,q){return a.dir(f,"previousSibling",q)},siblings:function(f){return a.sibling(f.parentNode.firstChild,
|
98
|
+
f)},children:function(f){return a.sibling(f.firstChild)},contents:function(f){return a.nodeName(f,"iframe")?f.contentDocument||f.contentWindow.document:a.makeArray(f.childNodes)}},function(f,j){a.fn[f]=function(q,z){var l=a.map(this,j,q),n=C.call(arguments);D.test(f)||(z=q);if(z&&typeof z==="string")l=a.filter(z,l);l=this.length>1&&!i[f]?a.unique(l):l;if((this.length>1||A.test(z))&&y.test(f))l=l.reverse();return this.pushStack(l,f,n.join(","))}});a.extend({filter:function(f,j,q){if(q)f=":not("+f+
|
99
|
+
")";return j.length===1?a.find.matchesSelector(j[0],f)?[j[0]]:[]:a.find.matches(f,j)},dir:function(f,j,q){var z=[];for(f=f[j];f&&f.nodeType!==9&&(q===K||f.nodeType!==1||!a(f).is(q));){f.nodeType===1&&z.push(f);f=f[j]}return z},nth:function(f,j,q){j=j||1;for(var z=0;f;f=f[q])if(f.nodeType===1&&++z===j)break;return f},sibling:function(f,j){for(var q=[];f;f=f.nextSibling)f.nodeType===1&&f!==j&&q.push(f);return q}})})(S);(function(a){function o(l,n){if(!(n.nodeType!==1||!a.hasData(l))){var p=a.expando,
|
100
|
+
w=a.data(l),c=a.data(n,w);if(w=w[p]){var g=w.events;c=c[p]=a.extend({},w);if(g){delete c.handle;c.events={};for(var b in g){p=0;for(w=g[b].length;p<w;p++)a.event.add(n,b,g[b][p],g[b][p].data)}}}}}function D(l,n){if(n.nodeType===1){var p=n.nodeName.toLowerCase();n.clearAttributes();n.mergeAttributes(l);if(p==="object")n.outerHTML=l.outerHTML;else if(p==="input"&&(l.type==="checkbox"||l.type==="radio")){if(l.checked)n.defaultChecked=n.checked=l.checked;if(n.value!==l.value)n.value=l.value}else if(p===
|
101
|
+
"option")n.selected=l.defaultSelected;else if(p==="input"||p==="textarea")n.defaultValue=l.defaultValue;n.removeAttribute(a.expando)}}function y(l,n){n.src?a.ajax({url:n.src,async:false,dataType:"script"}):a.globalEval(n.text||n.textContent||n.innerHTML||"");n.parentNode&&n.parentNode.removeChild(n)}var A=/ jQuery\d+="(?:\d+|null)"/g,u=/^\s+/,C=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,r=/<([\w:]+)/,i=/<tbody/i,f=/<|&#?\w+;/,j=/<(?:script|object|embed|option|style)/i,
|
102
|
+
q=/checked\s*(?:[^=]|=\s*.checked.)/i,z={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,"",""]};z.optgroup=z.option;z.tbody=z.tfoot=z.colgroup=z.caption=z.thead;z.th=z.td;if(!a.support.htmlSerialize)z._default=[1,"div<div>","</div>"];
|
103
|
+
a.fn.extend({text:function(l){if(a.isFunction(l))return this.each(function(n){var p=a(this);p.text(l.call(this,n,p.text()))});if(typeof l!=="object"&&l!==K)return this.empty().append((this[0]&&this[0].ownerDocument||H).createTextNode(l));return a.text(this)},wrapAll:function(l){if(a.isFunction(l))return this.each(function(p){a(this).wrapAll(l.call(this,p))});if(this[0]){var n=a(l,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&n.insertBefore(this[0]);n.map(function(){for(var p=this;p.firstChild&&
|
104
|
+
p.firstChild.nodeType===1;)p=p.firstChild;return p}).append(this)}return this},wrapInner:function(l){if(a.isFunction(l))return this.each(function(n){a(this).wrapInner(l.call(this,n))});return this.each(function(){var n=a(this),p=n.contents();p.length?p.wrapAll(l):n.append(l)})},wrap:function(l){return this.each(function(){a(this).wrapAll(l)})},unwrap:function(){return this.parent().each(function(){a.nodeName(this,"body")||a(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,
|
105
|
+
true,function(l){this.nodeType===1&&this.appendChild(l)})},prepend:function(){return this.domManip(arguments,true,function(l){this.nodeType===1&&this.insertBefore(l,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(n){this.parentNode.insertBefore(n,this)});else if(arguments.length){var l=a(arguments[0]);l.push.apply(l,this.toArray());return this.pushStack(l,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,
|
106
|
+
false,function(n){this.parentNode.insertBefore(n,this.nextSibling)});else if(arguments.length){var l=this.pushStack(this,"after",arguments);l.push.apply(l,a(arguments[0]).toArray());return l}},remove:function(l,n){for(var p=0,w;(w=this[p])!=null;p++)if(!l||a.filter(l,[w]).length){if(!n&&w.nodeType===1){a.cleanData(w.getElementsByTagName("*"));a.cleanData([w])}w.parentNode&&w.parentNode.removeChild(w)}return this},empty:function(){for(var l=0,n;(n=this[l])!=null;l++)for(n.nodeType===1&&a.cleanData(n.getElementsByTagName("*"));n.firstChild;)n.removeChild(n.firstChild);
|
107
|
+
return this},clone:function(l,n){l=l==null?false:l;n=n==null?l:n;return this.map(function(){return a.clone(this,l,n)})},html:function(l){if(l===K)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(A,""):null;else if(typeof l==="string"&&!j.test(l)&&(a.support.leadingWhitespace||!u.test(l))&&!z[(r.exec(l)||["",""])[1].toLowerCase()]){l=l.replace(C,"<$1></$2>");try{for(var n=0,p=this.length;n<p;n++)if(this[n].nodeType===1){a.cleanData(this[n].getElementsByTagName("*"));this[n].innerHTML=
|
108
|
+
l}}catch(w){this.empty().append(l)}}else a.isFunction(l)?this.each(function(c){var g=a(this);g.html(l.call(this,c,g.html()))}):this.empty().append(l);return this},replaceWith:function(l){if(this[0]&&this[0].parentNode){if(a.isFunction(l))return this.each(function(n){var p=a(this),w=p.html();p.replaceWith(l.call(this,n,w))});if(typeof l!=="string")l=a(l).detach();return this.each(function(){var n=this.nextSibling,p=this.parentNode;a(this).remove();n?a(n).before(l):a(p).append(l)})}else return this.pushStack(a(a.isFunction(l)?
|
109
|
+
l():l),"replaceWith",l)},detach:function(l){return this.remove(l,true)},domManip:function(l,n,p){var w,c,g,b=l[0],e=[];if(!a.support.checkClone&&arguments.length===3&&typeof b==="string"&&q.test(b))return this.each(function(){a(this).domManip(l,n,p,true)});if(a.isFunction(b))return this.each(function(s){var m=a(this);l[0]=b.call(this,s,n?m.html():K);m.domManip(l,n,p)});if(this[0]){w=b&&b.parentNode;w=a.support.parentNode&&w&&w.nodeType===11&&w.childNodes.length===this.length?{fragment:w}:a.buildFragment(l,
|
110
|
+
this,e);g=w.fragment;if(c=g.childNodes.length===1?g=g.firstChild:g.firstChild){n=n&&a.nodeName(c,"tr");c=0;for(var d=this.length,k=d-1;c<d;c++)p.call(n?a.nodeName(this[c],"table")?this[c].getElementsByTagName("tbody")[0]||this[c].appendChild(this[c].ownerDocument.createElement("tbody")):this[c]:this[c],w.cacheable||d>1&&c<k?a.clone(g,true,true):g)}e.length&&a.each(e,y)}return this}});a.buildFragment=function(l,n,p){var w,c,g;n=n&&n[0]?n[0].ownerDocument||n[0]:H;if(l.length===1&&typeof l[0]==="string"&&
|
111
|
+
l[0].length<512&&n===H&&l[0].charAt(0)==="<"&&!j.test(l[0])&&(a.support.checkClone||!q.test(l[0]))){c=true;if(g=a.fragments[l[0]])if(g!==1)w=g}if(!w){w=n.createDocumentFragment();a.clean(l,n,w,p)}if(c)a.fragments[l[0]]=g?w:1;return{fragment:w,cacheable:c}};a.fragments={};a.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(l,n){a.fn[l]=function(p){var w=[];p=a(p);var c=this.length===1&&this[0].parentNode;if(c&&c.nodeType===11&&
|
112
|
+
c.childNodes.length===1&&p.length===1){p[n](this[0]);return this}else{c=0;for(var g=p.length;c<g;c++){var b=(c>0?this.clone(true):this).get();a(p[c])[n](b);w=w.concat(b)}return this.pushStack(w,l,p.selector)}}});a.extend({clone:function(l,n,p){var w=l.cloneNode(true),c,g,b;if(!a.support.noCloneEvent&&(l.nodeType===1||l.nodeType===11)&&!a.isXMLDoc(l)){D(l,w);c=l.getElementsByTagName("*");g=w.getElementsByTagName("*");for(b=0;c[b];++b)D(c[b],g[b])}if(n){o(l,w);if(p&&"getElementsByTagName"in l){c=l.getElementsByTagName("*");
|
113
|
+
g=w.getElementsByTagName("*");if(c.length)for(b=0;c[b];++b)o(c[b],g[b])}}return w},clean:function(l,n,p,w){n=n||H;if(typeof n.createElement==="undefined")n=n.ownerDocument||n[0]&&n[0].ownerDocument||H;for(var c=[],g=0,b;(b=l[g])!=null;g++){if(typeof b==="number")b+="";if(b){if(typeof b==="string"&&!f.test(b))b=n.createTextNode(b);else if(typeof b==="string"){b=b.replace(C,"<$1></$2>");var e=(r.exec(b)||["",""])[1].toLowerCase(),d=z[e]||z._default,k=d[0],s=n.createElement("div");for(s.innerHTML=d[1]+
|
114
|
+
b+d[2];k--;)s=s.lastChild;if(!a.support.tbody){k=i.test(b);e=e==="table"&&!k?s.firstChild&&s.firstChild.childNodes:d[1]==="<table>"&&!k?s.childNodes:[];for(d=e.length-1;d>=0;--d)a.nodeName(e[d],"tbody")&&!e[d].childNodes.length&&e[d].parentNode.removeChild(e[d])}!a.support.leadingWhitespace&&u.test(b)&&s.insertBefore(n.createTextNode(u.exec(b)[0]),s.firstChild);b=s.childNodes}if(b.nodeType)c.push(b);else c=a.merge(c,b)}}if(p)for(g=0;c[g];g++)if(w&&a.nodeName(c[g],"script")&&(!c[g].type||c[g].type.toLowerCase()===
|
115
|
+
"text/javascript"))w.push(c[g].parentNode?c[g].parentNode.removeChild(c[g]):c[g]);else{c[g].nodeType===1&&c.splice.apply(c,[g+1,0].concat(a.makeArray(c[g].getElementsByTagName("script"))));p.appendChild(c[g])}return c},cleanData:function(l){for(var n,p,w=a.cache,c=a.expando,g=a.event.special,b=a.support.deleteExpando,e=0,d;(d=l[e])!=null;e++)if(!(d.nodeName&&a.noData[d.nodeName.toLowerCase()]))if(p=d[a.expando]){if((n=w[p]&&w[p][c])&&n.events){for(var k in n.events)g[k]?a.event.remove(d,k):a.removeEvent(d,
|
116
|
+
k,n.handle);if(n.handle)n.handle.elem=null}if(b)delete d[a.expando];else d.removeAttribute&&d.removeAttribute(a.expando);delete w[p]}}})})(S);(function(a){function o(p,w,c){var g=w==="width"?p.offsetWidth:p.offsetHeight;if(c==="border")return g;a.each(w==="width"?f:j,function(){c||(g-=parseFloat(a.css(p,"padding"+this))||0);if(c==="margin")g+=parseFloat(a.css(p,"margin"+this))||0;else g-=parseFloat(a.css(p,"border"+this+"Width"))||0});return g}var D=/alpha\([^)]*\)/i,y=/opacity=([^)]*)/,A=/-([a-z])/ig,
|
117
|
+
u=/([A-Z])/g,C=/^-?\d+(?:px)?$/i,r=/^-?\d/,i={position:"absolute",visibility:"hidden",display:"block"},f=["Left","Right"],j=["Top","Bottom"],q,z,l,n=function(p,w){return w.toUpperCase()};a.fn.css=function(p,w){if(arguments.length===2&&w===K)return this;return a.access(this,p,w,true,function(c,g,b){return b!==K?a.style(c,g,b):a.css(c,g)})};a.extend({cssHooks:{opacity:{get:function(p,w){if(w){var c=q(p,"opacity","opacity");return c===""?"1":c}else return p.style.opacity}}},cssNumber:{zIndex:true,fontWeight:true,
|
118
|
+
opacity:true,zoom:true,lineHeight:true},cssProps:{"float":a.support.cssFloat?"cssFloat":"styleFloat"},style:function(p,w,c,g){if(!(!p||p.nodeType===3||p.nodeType===8||!p.style)){var b,e=a.camelCase(w),d=p.style,k=a.cssHooks[e];w=a.cssProps[e]||e;if(c!==K){if(!(typeof c==="number"&&isNaN(c)||c==null)){if(typeof c==="number"&&!a.cssNumber[e])c+="px";if(!k||!("set"in k)||(c=k.set(p,c))!==K)try{d[w]=c}catch(s){}}}else{if(k&&"get"in k&&(b=k.get(p,false,g))!==K)return b;return d[w]}}},css:function(p,w,
|
119
|
+
c){var g,b=a.camelCase(w),e=a.cssHooks[b];w=a.cssProps[b]||b;if(e&&"get"in e&&(g=e.get(p,true,c))!==K)return g;else if(q)return q(p,w,b)},swap:function(p,w,c){var g={},b;for(b in w){g[b]=p.style[b];p.style[b]=w[b]}c.call(p);for(b in w)p.style[b]=g[b]},camelCase:function(p){return p.replace(A,n)}});a.curCSS=a.css;a.each(["height","width"],function(p,w){a.cssHooks[w]={get:function(c,g,b){var e;if(g){if(c.offsetWidth!==0)e=o(c,w,b);else a.swap(c,i,function(){e=o(c,w,b)});if(e<=0){e=q(c,w,w);if(e==="0px"&&
|
120
|
+
l)e=l(c,w,w);if(e!=null)return e===""||e==="auto"?"0px":e}if(e<0||e==null){e=c.style[w];return e===""||e==="auto"?"0px":e}return typeof e==="string"?e:e+"px"}},set:function(c,g){if(C.test(g)){g=parseFloat(g);if(g>=0)return g+"px"}else return g}}});if(!a.support.opacity)a.cssHooks.opacity={get:function(p,w){return y.test((w&&p.currentStyle?p.currentStyle.filter:p.style.filter)||"")?parseFloat(RegExp.$1)/100+"":w?"1":""},set:function(p,w){var c=p.style;c.zoom=1;var g=a.isNaN(w)?"":"alpha(opacity="+
|
121
|
+
w*100+")",b=c.filter||"";c.filter=D.test(b)?b.replace(D,g):c.filter+" "+g}};if(H.defaultView&&H.defaultView.getComputedStyle)z=function(p,w,c){var g;c=c.replace(u,"-$1").toLowerCase();if(!(w=p.ownerDocument.defaultView))return K;if(w=w.getComputedStyle(p,null)){g=w.getPropertyValue(c);if(g===""&&!a.contains(p.ownerDocument.documentElement,p))g=a.style(p,c)}return g};if(H.documentElement.currentStyle)l=function(p,w){var c,g=p.currentStyle&&p.currentStyle[w],b=p.runtimeStyle&&p.runtimeStyle[w],e=p.style;
|
122
|
+
if(!C.test(g)&&r.test(g)){c=e.left;if(b)p.runtimeStyle.left=p.currentStyle.left;e.left=w==="fontSize"?"1em":g||0;g=e.pixelLeft+"px";e.left=c;if(b)p.runtimeStyle.left=b}return g===""?"auto":g};q=z||l;if(a.expr&&a.expr.filters){a.expr.filters.hidden=function(p){var w=p.offsetHeight;return p.offsetWidth===0&&w===0||!a.support.reliableHiddenOffsets&&(p.style.display||a.css(p,"display"))==="none"};a.expr.filters.visible=function(p){return!a.expr.filters.hidden(p)}}})(S);(function(a){function o(m){return function(x,
|
123
|
+
E){if(typeof x!=="string"){E=x;x="*"}if(a.isFunction(E))for(var v=x.toLowerCase().split(p),I=0,F=v.length,J,h;I<F;I++){J=v[I];if(h=/^\+/.test(J))J=J.substr(1)||"*";J=m[J]=m[J]||[];J[h?"unshift":"push"](E)}}}function D(m,x,E,v,I,F){I=I||x.dataTypes[0];F=F||{};F[I]=true;I=m[I];for(var J=0,h=I?I.length:0,t=m===b,B;J<h&&(t||!B);J++){B=I[J](x,E,v);if(typeof B==="string")if(!t||F[B])B=K;else{x.dataTypes.unshift(B);B=D(m,x,E,v,B,F)}}if((t||!B)&&!F["*"])B=D(m,x,E,v,"*",F);return B}function y(m,x,E,v){if(a.isArray(x)&&
|
124
|
+
x.length)a.each(x,function(F,J){E||u.test(m)?v(m,J):y(m+"["+(typeof J==="object"||a.isArray(J)?F:"")+"]",J,E,v)});else if(!E&&x!=null&&typeof x==="object")if(a.isArray(x)||a.isEmptyObject(x))v(m,"");else for(var I in x)y(m+"["+I+"]",x[I],E,v);else v(m,x)}var A=/%20/g,u=/\[\]$/,C=/\r?\n/g,r=/#.*$/,i=/^(.*?):\s*(.*?)\r?$/mg,f=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,j=/^(?:GET|HEAD)$/,q=/^\/\//,z=/\?/,l=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,
|
125
|
+
n=/^(?:select|textarea)/i,p=/\s+/,w=/([?&])_=[^&]*/,c=/^([\w\+\.\-]+:)\/\/([^\/?#:]*)(?::(\d+))?/,g=a.fn.load,b={},e={},d,k;try{d=H.location.href}catch(s){d=H.createElement("a");d.href="";d=d.href}k=c.exec(d.toLowerCase());a.fn.extend({load:function(m,x,E){if(typeof m!=="string"&&g)return g.apply(this,arguments);else if(!this.length)return this;var v=m.indexOf(" ");if(v>=0){var I=m.slice(v,m.length);m=m.slice(0,v)}v="GET";if(x)if(a.isFunction(x)){E=x;x=null}else if(typeof x==="object"){x=a.param(x,
|
126
|
+
a.ajaxSettings.traditional);v="POST"}var F=this;a.ajax({url:m,type:v,dataType:"html",data:x,complete:function(J,h,t){t=J.responseText;if(J.isResolved()){J.done(function(B){t=B});F.html(I?a("<div>").append(t.replace(l,"")).find(I):t)}E&&F.each(E,[t,h,J])}});return this},serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?a.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||
|
127
|
+
n.test(this.nodeName)||f.test(this.type))}).map(function(m,x){var E=a(this).val();return E==null?null:a.isArray(E)?a.map(E,function(v){return{name:x.name,value:v.replace(C,"\r\n")}}):{name:x.name,value:E.replace(C,"\r\n")}}).get()}});a.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(m,x){a.fn[x]=function(E){return this.bind(x,E)}});a.each(["get","post"],function(m,x){a[x]=function(E,v,I,F){if(a.isFunction(v)){F=F||I;I=v;v=null}return a.ajax({type:x,url:E,
|
128
|
+
data:v,success:I,dataType:F})}});a.extend({getScript:function(m,x){return a.get(m,null,x,"script")},getJSON:function(m,x,E){return a.get(m,x,E,"json")},ajaxSetup:function(m){a.extend(true,a.ajaxSettings,m);if(m.context)a.ajaxSettings.context=m.context},ajaxSettings:{url:d,isLocal:/(?:^file|^widget|\-extension):$/.test(k[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",
|
129
|
+
json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":P.String,"text html":true,"text json":a.parseJSON,"text xml":a.parseXML}},ajaxPrefilter:o(b),ajaxTransport:o(e),ajax:function(m,x){function E(T,Q,V,ea){if(Y!==2){Y=2;R&&clearTimeout(R);N=K;M=ea||"";O.readyState=T?4:0;var ia,na,ka;if(V){ea=v;var sa=O,oa=ea.contents,$=ea.dataTypes,ta=ea.responseFields,X,W,aa,pa;for(W in ta)if(W in
|
130
|
+
V)sa[ta[W]]=V[W];for(;$[0]==="*";){$.shift();if(X===K)X=sa.getResponseHeader("content-type")}if(X)for(W in oa)if(oa[W]&&oa[W].test(X)){$.unshift(W);break}if($[0]in V)aa=$[0];else{for(W in V){if(!$[0]||ea.converters[W+" "+$[0]]){aa=W;break}pa||(pa=W)}aa=aa||pa}if(aa){aa!==$[0]&&$.unshift(aa);V=V[aa]}else V=void 0}else V=K;V=V;if(T>=200&&T<300||T===304){if(v.ifModified){if(X=O.getResponseHeader("Last-Modified"))a.lastModified[B]=X;if(X=O.getResponseHeader("Etag"))a.etag[B]=X}if(T===304){Q="notmodified";
|
131
|
+
ia=true}else try{X=v;V=V;if(X.dataFilter)V=X.dataFilter(V,X.dataType);var qa=X.dataTypes;W={};var ja,la,wa=qa.length,ma,ba=qa[0],fa,ra,ca,da,ga;for(ja=1;ja<wa;ja++){if(ja===1)for(la in X.converters)if(typeof la==="string")W[la.toLowerCase()]=X.converters[la];fa=ba;ba=qa[ja];if(ba==="*")ba=fa;else if(fa!=="*"&&fa!==ba){ra=fa+" "+ba;ca=W[ra]||W["* "+ba];if(!ca){ga=K;for(da in W){ma=da.split(" ");if(ma[0]===fa||ma[0]==="*")if(ga=W[ma[1]+" "+ba]){da=W[da];if(da===true)ca=ga;else if(ga===true)ca=da;break}}}ca||
|
132
|
+
ga||a.error("No conversion from "+ra.replace(" "," to "));if(ca!==true)V=ca?ca(V):ga(da(V))}}na=V;Q="success";ia=true}catch(xa){Q="parsererror";ka=xa}}else{ka=Q;if(T){Q="error";if(T<0)T=0}}O.status=T;O.statusText=Q;ia?J.resolveWith(I,[na,Q,O]):J.rejectWith(I,[O,Q,ka]);O.statusCode(t);t=K;if(Z)F.trigger("ajax"+(ia?"Success":"Error"),[O,v,ia?na:ka]);h.resolveWith(I,[O,Q]);if(Z){F.trigger("ajaxComplete",[O,v]);--a.active||a.event.trigger("ajaxStop")}}}if(typeof m==="object"){x=m;m=K}x=x||{};var v=a.extend(true,
|
133
|
+
{},a.ajaxSettings,x),I=(v.context=("context"in x?x:a.ajaxSettings).context)||v,F=I!==v&&I.nodeType?a(I):a.event,J=a.Deferred(),h=a._Deferred(),t=v.statusCode||{},B,G={},M,L,N,R,U,Y=0,Z,ha,O={readyState:0,setRequestHeader:function(T,Q){if(Y===0)G[T.toLowerCase()]=Q;return this},getAllResponseHeaders:function(){return Y===2?M:null},getResponseHeader:function(T){var Q;if(Y===2){if(!L)for(L={};Q=i.exec(M);)L[Q[1].toLowerCase()]=Q[2];Q=L[T.toLowerCase()]}return Q||null},abort:function(T){T=T||"abort";
|
134
|
+
N&&N.abort(T);E(0,T);return this}};J.promise(O);O.success=O.done;O.error=O.fail;O.complete=h.done;O.statusCode=function(T){if(T){var Q;if(Y<2)for(Q in T)t[Q]=[t[Q],T[Q]];else{Q=T[O.status];O.then(Q,Q)}}return this};v.url=(""+(m||v.url)).replace(r,"").replace(q,k[1]+"//");v.dataTypes=a.trim(v.dataType||"*").toLowerCase().split(p);if(!v.crossDomain){U=c.exec(v.url.toLowerCase());v.crossDomain=!!(U&&(U[1]!=k[1]||U[2]!=k[2]||(U[3]||(U[1]==="http:"?80:443))!=(k[3]||(k[1]==="http:"?80:443))))}if(v.data&&
|
135
|
+
v.processData&&typeof v.data!=="string")v.data=a.param(v.data,v.traditional);D(b,v,x,O);if(Y===2)return false;Z=v.global;v.type=v.type.toUpperCase();v.hasContent=!j.test(v.type);Z&&a.active++===0&&a.event.trigger("ajaxStart");if(!v.hasContent){if(v.data)v.url+=(z.test(v.url)?"&":"?")+v.data;B=v.url;if(v.cache===false){U=a.now();var ua=v.url.replace(w,"$1_="+U);v.url=ua+(ua===v.url?(z.test(v.url)?"&":"?")+"_="+U:"")}}if(v.data&&v.hasContent&&v.contentType!==false||x.contentType)G["content-type"]=v.contentType;
|
136
|
+
if(v.ifModified){B=B||v.url;if(a.lastModified[B])G["if-modified-since"]=a.lastModified[B];if(a.etag[B])G["if-none-match"]=a.etag[B]}G.accept=v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+(v.dataTypes[0]!=="*"?", */*; q=0.01":""):v.accepts["*"];for(ha in v.headers)G[ha.toLowerCase()]=v.headers[ha];if(v.beforeSend&&(v.beforeSend.call(I,O,v)===false||Y===2)){O.abort();return false}for(ha in{success:1,error:1,complete:1})O[ha](v[ha]);if(N=D(e,v,x,O)){Y=O.readyState=1;Z&&F.trigger("ajaxSend",
|
137
|
+
[O,v]);if(v.async&&v.timeout>0)R=setTimeout(function(){O.abort("timeout")},v.timeout);try{N.send(G,E)}catch(va){status<2?E(-1,va):a.error(va)}}else E(-1,"No Transport");return O},param:function(m,x){var E=[],v=function(F,J){J=a.isFunction(J)?J():J;E[E.length]=encodeURIComponent(F)+"="+encodeURIComponent(J)};if(x===K)x=a.ajaxSettings.traditional;if(a.isArray(m)||m.jquery&&!a.isPlainObject(m))a.each(m,function(){v(this.name,this.value)});else for(var I in m)y(I,m[I],x,v);return E.join("&").replace(A,
|
138
|
+
"+")}});a.extend({active:0,lastModified:{},etag:{}})})(S);(function(a){var o=a.now(),D=/(\=)\?(&|$)|()\?\?()/i;a.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return a.expando+"_"+o++}});a.ajaxPrefilter("json jsonp",function(y,A,u){var C=typeof y.data==="string";if(y.dataTypes[0]==="jsonp"||A.jsonpCallback||A.jsonp!=null||y.jsonp!==false&&(D.test(y.url)||C&&D.test(y.data))){var r,i=y.jsonpCallback=a.isFunction(y.jsonpCallback)?y.jsonpCallback():y.jsonpCallback,f=P[i];A=y.url;var j=y.data,q=
|
139
|
+
"$1"+i+"$2",z=function(){P[i]=f;r&&a.isFunction(f)&&P[i](r[0])};if(y.jsonp!==false){A=A.replace(D,q);if(y.url===A){if(C)j=j.replace(D,q);if(y.data===j)A+=(/\?/.test(A)?"&":"?")+y.jsonp+"="+i}}y.url=A;y.data=j;P[i]=function(l){r=[l]};u.then(z,z);y.converters["script json"]=function(){r||a.error(i+" was not called");return r[0]};y.dataTypes[0]="json";return"script"}})})(S);(function(a){a.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
|
140
|
+
contents:{script:/javascript|ecmascript/},converters:{"text script":function(o){a.globalEval(o);return o}}});a.ajaxPrefilter("script",function(o){if(o.cache===K)o.cache=false;if(o.crossDomain){o.type="GET";o.global=false}});a.ajaxTransport("script",function(o){if(o.crossDomain){var D,y=H.head||H.getElementsByTagName("head")[0]||H.documentElement;return{send:function(A,u){D=H.createElement("script");D.async="async";if(o.scriptCharset)D.charset=o.scriptCharset;D.src=o.url;D.onload=D.onreadystatechange=
|
141
|
+
function(C,r){if(!D.readyState||/loaded|complete/.test(D.readyState)){D.onload=D.onreadystatechange=null;y&&D.parentNode&&y.removeChild(D);D=K;r||u(200,"success")}};y.insertBefore(D,y.firstChild)},abort:function(){D&&D.onload(0,1)}}}})})(S);(function(a){function o(){try{return new P.XMLHttpRequest}catch(C){}}var D=a.now(),y={},A,u;a.ajaxSettings.xhr=P.ActiveXObject?function(){var C;if(!(C=!this.isLocal&&o()))a:{try{C=new P.ActiveXObject("Microsoft.XMLHTTP");break a}catch(r){}C=void 0}return C}:o;
|
142
|
+
u=a.ajaxSettings.xhr();a.support.ajax=!!u;a.support.cors=u&&"withCredentials"in u;u=K;a.support.ajax&&a.ajaxTransport(function(C){if(!C.crossDomain||a.support.cors){var r;return{send:function(i,f){if(!A){A=1;a(P).bind("unload",function(){a.each(y,function(n,p){p.onreadystatechange&&p.onreadystatechange(1)})})}var j=C.xhr(),q,z;C.username?j.open(C.type,C.url,C.async,C.username,C.password):j.open(C.type,C.url,C.async);if(C.xhrFields)for(z in C.xhrFields)j[z]=C.xhrFields[z];if(!(C.crossDomain&&!C.hasContent)&&
|
143
|
+
!i["x-requested-with"])i["x-requested-with"]="XMLHttpRequest";try{a.each(i,function(n,p){j.setRequestHeader(n,p)})}catch(l){}j.send(C.hasContent&&C.data||null);r=function(n,p){var w,c,g,b,e;try{if(r&&(p||j.readyState===4)){r=K;if(q){j.onreadystatechange=a.noop;delete y[q]}if(p)j.readyState!==4&&j.abort();else{w=j.status;g=j.getAllResponseHeaders();b={};if((e=j.responseXML)&&e.documentElement)b.xml=e;b.text=j.responseText;try{c=j.statusText}catch(d){c=""}if(w===1223)w=204;else if(w===304&&!i["if-modified-since"]&&
|
144
|
+
!i["if-none-match"])w=200;else if(!w)if(C.crossDomain)C.statusText||(w=302);else if(C.isLocal)w=200}}}catch(k){p||f(-1,k)}b&&f(w,c,b,g)};if(!C.async||j.readyState===4)r();else{q=D++;y[q]=j;j.onreadystatechange=r}},abort:function(){r&&r(0,1)}}}})})(S);(function(a){function o(i,f){var j={};a.each(r.concat.apply([],r.slice(0,f)),function(){j[this]=i});return j}function D(i){if(!y[i]){var f=a("<"+i+">").appendTo("body"),j=f.css("display");f.remove();if(j==="none"||j==="")j="block";y[i]=j}return y[i]}
|
145
|
+
var y={},A=/^(?:toggle|show|hide)$/,u=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,C,r=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];a.fn.extend({show:function(i,f,j){if(i||i===0)return this.animate(o("show",3),i,f,j);else{j=0;for(var q=this.length;j<q;j++){i=this[j];f=i.style.display;if(!a._data(i,"olddisplay")&&f==="none")f=i.style.display="";f===""&&a.css(i,"display")==="none"&&a._data(i,"olddisplay",D(i.nodeName))}for(j=
|
146
|
+
0;j<q;j++){i=this[j];f=i.style.display;if(f===""||f==="none")i.style.display=a._data(i,"olddisplay")||""}return this}},hide:function(i,f,j){if(i||i===0)return this.animate(o("hide",3),i,f,j);else{i=0;for(f=this.length;i<f;i++){j=a.css(this[i],"display");j!=="none"&&!a._data(this[i],"olddisplay")&&a._data(this[i],"olddisplay",j)}for(i=0;i<f;i++)this[i].style.display="none";return this}},_toggle:a.fn.toggle,toggle:function(i,f,j){var q=typeof i==="boolean";if(a.isFunction(i)&&a.isFunction(f))this._toggle.apply(this,
|
147
|
+
arguments);else i==null||q?this.each(function(){var z=q?i:a(this).is(":hidden");a(this)[z?"show":"hide"]()}):this.animate(o("toggle",3),i,f,j);return this},fadeTo:function(i,f,j,q){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:f},i,j,q)},animate:function(i,f,j,q){var z=a.speed(f,j,q);if(a.isEmptyObject(i))return this.each(z.complete);return this[z.queue===false?"each":"queue"](function(){var l=a.extend({},z),n,p=this.nodeType===1,w=p&&a(this).is(":hidden"),c=this;for(n in i){var g=
|
148
|
+
a.camelCase(n);if(n!==g){i[g]=i[n];delete i[n];n=g}if(i[n]==="hide"&&w||i[n]==="show"&&!w)return l.complete.call(this);if(p&&(n==="height"||n==="width")){l.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY];if(a.css(this,"display")==="inline"&&a.css(this,"float")==="none")if(a.support.inlineBlockNeedsLayout)if(D(this.nodeName)==="inline")this.style.display="inline-block";else{this.style.display="inline";this.style.zoom=1}else this.style.display="inline-block"}if(a.isArray(i[n])){(l.specialEasing=
|
149
|
+
l.specialEasing||{})[n]=i[n][1];i[n]=i[n][0]}}if(l.overflow!=null)this.style.overflow="hidden";l.curAnim=a.extend({},i);a.each(i,function(b,e){var d=new a.fx(c,l,b);if(A.test(e))d[e==="toggle"?w?"show":"hide":e](i);else{var k=u.exec(e),s=d.cur()||0;if(k){var m=parseFloat(k[2]),x=k[3]||"px";if(x!=="px"){a.style(c,b,(m||1)+x);s=(m||1)/d.cur()*s;a.style(c,b,s+x)}if(k[1])m=(k[1]==="-="?-1:1)*m+s;d.custom(s,m,x)}else d.custom(s,e,"")}});return true})},stop:function(i,f){var j=a.timers;i&&this.queue([]);
|
150
|
+
this.each(function(){for(var q=j.length-1;q>=0;q--)if(j[q].elem===this){f&&j[q](true);j.splice(q,1)}});f||this.dequeue();return this}});a.each({slideDown:o("show",1),slideUp:o("hide",1),slideToggle:o("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(i,f){a.fn[i]=function(j,q,z){return this.animate(f,j,q,z)}});a.extend({speed:function(i,f,j){var q=i&&typeof i==="object"?a.extend({},i):{complete:j||!j&&f||a.isFunction(i)&&i,duration:i,easing:j&&f||
|
151
|
+
f&&!a.isFunction(f)&&f};q.duration=a.fx.off?0:typeof q.duration==="number"?q.duration:q.duration in a.fx.speeds?a.fx.speeds[q.duration]:a.fx.speeds._default;q.old=q.complete;q.complete=function(){q.queue!==false&&a(this).dequeue();a.isFunction(q.old)&&q.old.call(this)};return q},easing:{linear:function(i,f,j,q){return j+q*i},swing:function(i,f,j,q){return(-Math.cos(i*Math.PI)/2+0.5)*q+j}},timers:[],fx:function(i,f,j){this.options=f;this.elem=i;this.prop=j;if(!f.orig)f.orig={}}});a.fx.prototype={update:function(){this.options.step&&
|
152
|
+
this.options.step.call(this.elem,this.now,this);(a.fx.step[this.prop]||a.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return parseFloat(a.css(this.elem,this.prop))||0},custom:function(i,f,j){function q(n){return z.step(n)}var z=this,l=a.fx;this.startTime=a.now();this.start=i;this.end=f;this.unit=j||this.unit||"px";this.now=this.start;this.pos=this.state=0;q.elem=this.elem;if(q()&&a.timers.push(q)&&
|
153
|
+
!C)C=setInterval(l.tick,l.interval)},show:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());a(this.elem).show()},hide:function(){this.options.orig[this.prop]=a.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(i){var f=a.now(),j=true;if(i||f>=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=
|
154
|
+
true;for(var q in this.options.curAnim)if(this.options.curAnim[q]!==true)j=false;if(j){if(this.options.overflow!=null&&!a.support.shrinkWrapBlocks){var z=this.elem,l=this.options;a.each(["","X","Y"],function(p,w){z.style["overflow"+w]=l.overflow[p]})}this.options.hide&&a(this.elem).hide();if(this.options.hide||this.options.show)for(var n in this.options.curAnim)a.style(this.elem,n,this.options.orig[n]);this.options.complete.call(this.elem)}return false}else{i=f-this.startTime;this.state=i/this.options.duration;
|
155
|
+
f=this.options.easing||(a.easing.swing?"swing":"linear");this.pos=a.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||f](this.state,i,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};a.extend(a.fx,{tick:function(){for(var i=a.timers,f=0;f<i.length;f++)i[f]()||i.splice(f--,1);i.length||a.fx.stop()},interval:13,stop:function(){clearInterval(C);C=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(i){a.style(i.elem,
|
156
|
+
"opacity",i.now)},_default:function(i){if(i.elem.style&&i.elem.style[i.prop]!=null)i.elem.style[i.prop]=(i.prop==="width"||i.prop==="height"?Math.max(0,i.now):i.now)+i.unit;else i.elem[i.prop]=i.now}}});if(a.expr&&a.expr.filters)a.expr.filters.animated=function(i){return a.grep(a.timers,function(f){return i===f.elem}).length}})(S);(function(a){function o(A){return a.isWindow(A)?A:A.nodeType===9?A.defaultView||A.parentWindow:false}var D=/^t(?:able|d|h)$/i,y=/^(?:body|html)$/i;a.fn.offset="getBoundingClientRect"in
|
157
|
+
H.documentElement?function(A){var u=this[0],C;if(A)return this.each(function(j){a.offset.setOffset(this,A,j)});if(!u||!u.ownerDocument)return null;if(u===u.ownerDocument.body)return a.offset.bodyOffset(u);try{C=u.getBoundingClientRect()}catch(r){}var i=u.ownerDocument,f=i.documentElement;if(!C||!a.contains(f,u))return C?{top:C.top,left:C.left}:{top:0,left:0};u=i.body;i=o(i);return{top:C.top+(i.pageYOffset||a.support.boxModel&&f.scrollTop||u.scrollTop)-(f.clientTop||u.clientTop||0),left:C.left+(i.pageXOffset||
|
158
|
+
a.support.boxModel&&f.scrollLeft||u.scrollLeft)-(f.clientLeft||u.clientLeft||0)}}:function(A){var u=this[0];if(A)return this.each(function(l){a.offset.setOffset(this,A,l)});if(!u||!u.ownerDocument)return null;if(u===u.ownerDocument.body)return a.offset.bodyOffset(u);a.offset.initialize();var C,r=u.offsetParent,i=u.ownerDocument,f=i.documentElement,j=i.body;C=(i=i.defaultView)?i.getComputedStyle(u,null):u.currentStyle;for(var q=u.offsetTop,z=u.offsetLeft;(u=u.parentNode)&&u!==j&&u!==f;){if(a.offset.supportsFixedPosition&&
|
159
|
+
C.position==="fixed")break;C=i?i.getComputedStyle(u,null):u.currentStyle;q-=u.scrollTop;z-=u.scrollLeft;if(u===r){q+=u.offsetTop;z+=u.offsetLeft;if(a.offset.doesNotAddBorder&&!(a.offset.doesAddBorderForTableAndCells&&D.test(u.nodeName))){q+=parseFloat(C.borderTopWidth)||0;z+=parseFloat(C.borderLeftWidth)||0}r=u.offsetParent}if(a.offset.subtractsBorderForOverflowNotVisible&&C.overflow!=="visible"){q+=parseFloat(C.borderTopWidth)||0;z+=parseFloat(C.borderLeftWidth)||0}C=C}if(C.position==="relative"||
|
160
|
+
C.position==="static"){q+=j.offsetTop;z+=j.offsetLeft}if(a.offset.supportsFixedPosition&&C.position==="fixed"){q+=Math.max(f.scrollTop,j.scrollTop);z+=Math.max(f.scrollLeft,j.scrollLeft)}return{top:q,left:z}};a.offset={initialize:function(){var A=H.body,u=H.createElement("div"),C,r,i,f=parseFloat(a.css(A,"marginTop"))||0;a.extend(u.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});u.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>";
|
161
|
+
A.insertBefore(u,A.firstChild);C=u.firstChild;r=C.firstChild;i=C.nextSibling.firstChild.firstChild;this.doesNotAddBorder=r.offsetTop!==5;this.doesAddBorderForTableAndCells=i.offsetTop===5;r.style.position="fixed";r.style.top="20px";this.supportsFixedPosition=r.offsetTop===20||r.offsetTop===15;r.style.position=r.style.top="";C.style.overflow="hidden";C.style.position="relative";this.subtractsBorderForOverflowNotVisible=r.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=A.offsetTop!==f;A.removeChild(u);
|
162
|
+
a.offset.initialize=a.noop},bodyOffset:function(A){var u=A.offsetTop,C=A.offsetLeft;a.offset.initialize();if(a.offset.doesNotIncludeMarginInBodyOffset){u+=parseFloat(a.css(A,"marginTop"))||0;C+=parseFloat(a.css(A,"marginLeft"))||0}return{top:u,left:C}},setOffset:function(A,u,C){var r=a.css(A,"position");if(r==="static")A.style.position="relative";var i=a(A),f=i.offset(),j=a.css(A,"top"),q=a.css(A,"left"),z=r==="absolute"&&a.inArray("auto",[j,q])>-1;r={};var l={};if(z)l=i.position();j=z?l.top:parseInt(j,
|
163
|
+
10)||0;q=z?l.left:parseInt(q,10)||0;if(a.isFunction(u))u=u.call(A,C,f);if(u.top!=null)r.top=u.top-f.top+j;if(u.left!=null)r.left=u.left-f.left+q;"using"in u?u.using.call(A,r):i.css(r)}};a.fn.extend({position:function(){if(!this[0])return null;var A=this[0],u=this.offsetParent(),C=this.offset(),r=y.test(u[0].nodeName)?{top:0,left:0}:u.offset();C.top-=parseFloat(a.css(A,"marginTop"))||0;C.left-=parseFloat(a.css(A,"marginLeft"))||0;r.top+=parseFloat(a.css(u[0],"borderTopWidth"))||0;r.left+=parseFloat(a.css(u[0],
|
164
|
+
"borderLeftWidth"))||0;return{top:C.top-r.top,left:C.left-r.left}},offsetParent:function(){return this.map(function(){for(var A=this.offsetParent||H.body;A&&!y.test(A.nodeName)&&a.css(A,"position")==="static";)A=A.offsetParent;return A})}});a.each(["Left","Top"],function(A,u){var C="scroll"+u;a.fn[C]=function(r){var i=this[0],f;if(!i)return null;if(r!==K)return this.each(function(){if(f=o(this))f.scrollTo(!A?r:a(f).scrollLeft(),A?r:a(f).scrollTop());else this[C]=r});else return(f=o(i))?"pageXOffset"in
|
165
|
+
f?f[A?"pageYOffset":"pageXOffset"]:a.support.boxModel&&f.document.documentElement[C]||f.document.body[C]:i[C]}})})(S);(function(a){a.each(["Height","Width"],function(o,D){var y=D.toLowerCase();a.fn["inner"+D]=function(){return this[0]?parseFloat(a.css(this[0],y,"padding")):null};a.fn["outer"+D]=function(A){return this[0]?parseFloat(a.css(this[0],y,A?"margin":"border")):null};a.fn[y]=function(A){var u=this[0];if(!u)return A==null?null:this;if(a.isFunction(A))return this.each(function(r){var i=a(this);
|
166
|
+
i[y](A.call(this,r,i[y]()))});if(a.isWindow(u)){var C=u.document.documentElement["client"+D];return u.document.compatMode==="CSS1Compat"&&C||u.document.body["client"+D]||C}else if(u.nodeType===9)return Math.max(u.documentElement["client"+D],u.body["scroll"+D],u.documentElement["scroll"+D],u.body["offset"+D],u.documentElement["offset"+D]);else if(A===K){u=a.css(u,y);C=parseFloat(u);return a.isNaN(C)?u:C}else return this.css(y,typeof A==="string"?A:A+"px")}})})(S)})(window);
|
@@ -7,5 +7,105 @@
|
|
7
7
|
*
|
8
8
|
* Copyright (c) 2007 Andreas Eberhard
|
9
9
|
* Licensed under GPL (http://www.opensource.org/licenses/gpl-license.php)
|
10
|
+
*
|
11
|
+
* Changelog:
|
12
|
+
* 11.09.2007 Version 1.1
|
13
|
+
* - removed noConflict
|
14
|
+
* - added png-support for input type=image
|
15
|
+
* - 01.08.2007 CSS background-image support extension added by Scott Jehl, scott@filamentgroup.com, http://www.filamentgroup.com
|
16
|
+
* 31.05.2007 initial Version 1.0
|
17
|
+
* --------------------------------------------------------------------
|
18
|
+
* @example $(function(){$(document).pngFix();});
|
19
|
+
* @desc Fixes all PNG's in the document on document.ready
|
20
|
+
*
|
21
|
+
* jQuery(function(){jQuery(document).pngFix();});
|
22
|
+
* @desc Fixes all PNG's in the document on document.ready when using noConflict
|
23
|
+
*
|
24
|
+
* @example $(function(){$('div.examples').pngFix();});
|
25
|
+
* @desc Fixes all PNG's within div with class examples
|
26
|
+
*
|
27
|
+
* @example $(function(){$('div.examples').pngFix( { blankgif:'ext.gif' } );});
|
28
|
+
* @desc Fixes all PNG's within div with class examples, provides blank gif for input with png
|
29
|
+
* --------------------------------------------------------------------
|
10
30
|
*/
|
11
|
-
|
31
|
+
|
32
|
+
(function($) {
|
33
|
+
|
34
|
+
jQuery.fn.pngFix = function(settings) {
|
35
|
+
|
36
|
+
// Settings
|
37
|
+
settings = jQuery.extend({
|
38
|
+
blankgif: '/images/jquery/ui/pngFix/blank.gif'
|
39
|
+
}, settings);
|
40
|
+
|
41
|
+
var ie55 = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) == 4 && navigator.appVersion.indexOf("MSIE 5.5") != -1);
|
42
|
+
var ie6 = (navigator.appName == "Microsoft Internet Explorer" && parseInt(navigator.appVersion) == 4 && navigator.appVersion.indexOf("MSIE 6.0") != -1);
|
43
|
+
|
44
|
+
if (jQuery.browser.msie && (ie55 || ie6)) {
|
45
|
+
|
46
|
+
//fix images with png-source
|
47
|
+
jQuery(this).find("img[@src$=.png]").each(function() {
|
48
|
+
|
49
|
+
jQuery(this).attr('width',jQuery(this).width());
|
50
|
+
jQuery(this).attr('height',jQuery(this).height());
|
51
|
+
|
52
|
+
var prevStyle = '';
|
53
|
+
var strNewHTML = '';
|
54
|
+
var imgId = (jQuery(this).attr('id')) ? 'id="' + jQuery(this).attr('id') + '" ' : '';
|
55
|
+
var imgClass = (jQuery(this).attr('class')) ? 'class="' + jQuery(this).attr('class') + '" ' : '';
|
56
|
+
var imgTitle = (jQuery(this).attr('title')) ? 'title="' + jQuery(this).attr('title') + '" ' : '';
|
57
|
+
var imgAlt = (jQuery(this).attr('alt')) ? 'alt="' + jQuery(this).attr('alt') + '" ' : '';
|
58
|
+
var imgAlign = (jQuery(this).attr('align')) ? 'float:' + jQuery(this).attr('align') + ';' : '';
|
59
|
+
var imgHand = (jQuery(this).parent().attr('href')) ? 'cursor:hand;' : '';
|
60
|
+
if (this.style.border) {
|
61
|
+
prevStyle += 'border:'+this.style.border+';';
|
62
|
+
this.style.border = '';
|
63
|
+
}
|
64
|
+
if (this.style.padding) {
|
65
|
+
prevStyle += 'padding:'+this.style.padding+';';
|
66
|
+
this.style.padding = '';
|
67
|
+
}
|
68
|
+
if (this.style.margin) {
|
69
|
+
prevStyle += 'margin:'+this.style.margin+';';
|
70
|
+
this.style.margin = '';
|
71
|
+
}
|
72
|
+
var imgStyle = (this.style.cssText);
|
73
|
+
|
74
|
+
strNewHTML += '<span '+imgId+imgClass+imgTitle+imgAlt;
|
75
|
+
strNewHTML += 'style="position:relative;white-space:pre-line;display:inline-block;background:transparent;'+imgAlign+imgHand;
|
76
|
+
strNewHTML += 'width:' + jQuery(this).width() + 'px;' + 'height:' + jQuery(this).height() + 'px;';
|
77
|
+
strNewHTML += 'filter:progid:DXImageTransform.Microsoft.AlphaImageLoader' + '(src=\'' + jQuery(this).attr('src') + '\', sizingMethod=\'scale\');';
|
78
|
+
strNewHTML += imgStyle+'"></span>';
|
79
|
+
if (prevStyle != ''){
|
80
|
+
strNewHTML = '<span style="position:relative;display:inline-block;'+prevStyle+imgHand+'width:' + jQuery(this).width() + 'px;' + 'height:' + jQuery(this).height() + 'px;'+'">' + strNewHTML + '</span>';
|
81
|
+
}
|
82
|
+
|
83
|
+
jQuery(this).hide();
|
84
|
+
jQuery(this).after(strNewHTML);
|
85
|
+
|
86
|
+
});
|
87
|
+
|
88
|
+
// fix css background pngs
|
89
|
+
jQuery(this).find("*").each(function(){
|
90
|
+
var bgIMG = jQuery(this).css('background-image');
|
91
|
+
if(bgIMG.indexOf(".png")!=-1){
|
92
|
+
var iebg = bgIMG.split('url("')[1].split('")')[0];
|
93
|
+
jQuery(this).css('background-image', 'none');
|
94
|
+
jQuery(this).get(0).runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + iebg + "',sizingMethod='scale')";
|
95
|
+
}
|
96
|
+
});
|
97
|
+
|
98
|
+
//fix input with png-source
|
99
|
+
jQuery(this).find("input[@src$=.png]").each(function() {
|
100
|
+
var bgIMG = jQuery(this).attr('src');
|
101
|
+
jQuery(this).get(0).runtimeStyle.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader' + '(src=\'' + bgIMG + '\', sizingMethod=\'scale\');';
|
102
|
+
jQuery(this).attr('src', settings.blankgif)
|
103
|
+
});
|
104
|
+
|
105
|
+
}
|
106
|
+
|
107
|
+
return jQuery;
|
108
|
+
|
109
|
+
};
|
110
|
+
|
111
|
+
})(jQuery);
|
@@ -1,2 +1,5 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
(function(){jQuery.fn.pngFix=function(c){c=jQuery.extend({blankgif:"/images/jquery/ui/pngFix/blank.gif"},c);var e=navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)==4&&navigator.appVersion.indexOf("MSIE 5.5")!=-1,f=navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)==4&&navigator.appVersion.indexOf("MSIE 6.0")!=-1;if(jQuery.browser.msie&&(e||f)){jQuery(this).find("img[@src$=.png]").each(function(){jQuery(this).attr("width",jQuery(this).width());
|
2
|
+
jQuery(this).attr("height",jQuery(this).height());var a="",b="",g=jQuery(this).attr("id")?'id="'+jQuery(this).attr("id")+'" ':"",h=jQuery(this).attr("class")?'class="'+jQuery(this).attr("class")+'" ':"",i=jQuery(this).attr("title")?'title="'+jQuery(this).attr("title")+'" ':"",j=jQuery(this).attr("alt")?'alt="'+jQuery(this).attr("alt")+'" ':"",k=jQuery(this).attr("align")?"float:"+jQuery(this).attr("align")+";":"",d=jQuery(this).parent().attr("href")?"cursor:hand;":"";if(this.style.border){a+="border:"+
|
3
|
+
this.style.border+";";this.style.border=""}if(this.style.padding){a+="padding:"+this.style.padding+";";this.style.padding=""}if(this.style.margin){a+="margin:"+this.style.margin+";";this.style.margin=""}var l=this.style.cssText;b+="<span "+g+h+i+j;b+='style="position:relative;white-space:pre-line;display:inline-block;background:transparent;'+k+d;b+="width:"+jQuery(this).width()+"px;height:"+jQuery(this).height()+"px;";b+="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+jQuery(this).attr("src")+
|
4
|
+
"', sizingMethod='scale');";b+=l+'"></span>';if(a!="")b='<span style="position:relative;display:inline-block;'+a+d+"width:"+jQuery(this).width()+"px;height:"+jQuery(this).height()+'px;">'+b+"</span>";jQuery(this).hide();jQuery(this).after(b)});jQuery(this).find("*").each(function(){var a=jQuery(this).css("background-image");if(a.indexOf(".png")!=-1){a=a.split('url("')[1].split('")')[0];jQuery(this).css("background-image","none");jQuery(this).get(0).runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+
|
5
|
+
a+"',sizingMethod='scale')"}});jQuery(this).find("input[@src$=.png]").each(function(){var a=jQuery(this).attr("src");jQuery(this).get(0).runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+a+"', sizingMethod='scale');";jQuery(this).attr("src",c.blankgif)})}return jQuery}})(jQuery);
|
Binary file
|
@@ -58,6 +58,7 @@ image 'jquery/ui/contextMenu/page_white_paste.png'
|
|
58
58
|
image 'jquery/ui/farbtastic/marker.png'
|
59
59
|
image 'jquery/ui/farbtastic/mask.png'
|
60
60
|
image 'jquery/ui/farbtastic/wheel.png'
|
61
|
+
image 'jquery/ui/pngFix/blank.gif'
|
61
62
|
image 'jquery/ui/themeSwitcher/buttonbg.png'
|
62
63
|
image 'jquery/ui/themeSwitcher/icon_color_arrow.gif'
|
63
64
|
image 'jquery/ui/themeSwitcher/menuhoverbg.png'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-jquery-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 89
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
9
|
- 2
|
10
|
-
-
|
11
|
-
version: 0.3.2.
|
10
|
+
- 3
|
11
|
+
version: 0.3.2.3
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Kosmas Schuetz
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-02-
|
19
|
+
date: 2011-02-06 00:00:00 +01:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -705,6 +705,7 @@ files:
|
|
705
705
|
- templates/jquery/jquery/ui/pepper-grinder/ui-icons_fbdb93_256x240.png
|
706
706
|
- templates/jquery/jquery/ui/pepper-grinder/ui-icons_ffffff_256x240.png
|
707
707
|
- templates/jquery/jquery/ui/pepper-grinder.scss
|
708
|
+
- templates/jquery/jquery/ui/pngFix/blank.gif
|
708
709
|
- templates/jquery/jquery/ui/redmond/ui-anim_basic_16x16.gif
|
709
710
|
- templates/jquery/jquery/ui/redmond/ui-bg_flat_0_aaaaaa_40x100.png
|
710
711
|
- templates/jquery/jquery/ui/redmond/ui-bg_flat_55_fbec88_40x100.png
|