(function(){if(!this.require){var D={},q={},v=function(c,x){var r=e(x,c),j=e(r,"./index"),m;if(m=q[r]||q[j])return m;if(j=D[r]||D[r=j])return m={id:r,exports:{}},q[r]=m.exports,j(m.exports,function(c){return v(c,r.split("/").slice(0,-1).join("/"))},m),q[r]=m.exports;throw"module "+c+" not found";},e=function(c,e){var r=[],j,m;/^\.\.?(\/|$)/.test(e)?j=[c,e].join("/").split("/"):j=e.split("/");for(var n=0,k=j.length;n<k;n++)m=j[n],m==".."?r.pop():m!="."&&m!=""&&r.push(m);return r.join("/")};this.require=
function(c){return v(c,"")};this.require.define=function(c){for(var e in c)D[e]=c[e]};this.require.modules=D;this.require.cache=q}return this.require.define}).call(this)({"spine/index":function(D,q,v){v.exports=q("./lib/spine")},"spine/lib/spine":function(D,q,v){(function(){var e,c,q,r,j,m,n,k,h,A,B,f,I=Array.prototype.slice,U=Array.prototype.indexOf||function(c){for(var w=0,y=this.length;w<y;w++)if(this[w]===c)return w;return-1},N=function(c,w){return function(){return c.apply(w,arguments)}},D=Object.prototype.hasOwnProperty,
O=function(c,w){function y(){this.constructor=c}for(var f in w)D.call(w,f)&&(c[f]=w[f]);return y.prototype=w.prototype,c.prototype=new y,c.__super__=w.prototype,c};q={bind:function(c,w){var y,f,e,h,k;f=c.split(" ");y=this.hasOwnProperty("_callbacks")&&this._callbacks||(this._callbacks={});for(h=0,k=f.length;h<k;h++)e=f[h],y[e]||(y[e]=[]),y[e].push(w);return this},one:function(c,w){return this.bind(c,function(){return this.unbind(c,arguments.callee),w.apply(this,arguments)})},trigger:function(){var c,
w,y,f,e;c=1<=arguments.length?I.call(arguments,0):[];w=c.shift();y=this.hasOwnProperty("_callbacks")&&((f=this._callbacks)!=null?f[w]:void 0);if(!y)return!1;for(f=0,e=y.length;f<e;f++)if(w=y[f],w.apply(this,c)===!1)break;return!0},unbind:function(c,w){var y,f,e,h;if(!c)return this._callbacks={},this;e=(y=this._callbacks)!=null?y[c]:void 0;if(!e)return this;if(!w)return delete this._callbacks[c],this;for(f=0,h=e.length;f<h;f++)if(y=e[f],y===w){e=e.slice();e.splice(f,1);this._callbacks[c]=e;break}return this}};
r={trace:!0,logPrefix:"(App)",log:function(){var c;c=1<=arguments.length?I.call(arguments,0):[];if(this.trace)return typeof console=="undefined"?void 0:(this.logPrefix&&c.unshift(this.logPrefix),console.log.apply(console,c),this)}};f=["included","extended"];m=function(){function c(){typeof this.init=="function"&&this.init.apply(this,arguments)}return c.include=function(w){var c,e,h;if(!w)throw"include(obj) requires obj";for(e in w)h=w[e],U.call(f,e)<0&&(this.prototype[e]=h);return c=w.included,c&&
c.apply(this),this},c.extend=function(w){var c,e,h;if(!w)throw"extend(obj) requires obj";for(e in w)h=w[e],U.call(f,e)<0&&(this[e]=h);return c=w.extended,c&&c.apply(this),this},c.proxy=function(w){return N(function(){return w.apply(this,arguments)},this)},c.prototype.proxy=function(w){return N(function(){return w.apply(this,arguments)},this)},c}();j=function(){function c(w){c.__super__.constructor.apply(this,arguments);this.ids=[];w&&this.load(w)}return O(c,m),c.extend(q),c.records={},c.attributes=
[],c.configure=function(){var c,f;return f=arguments[0],c=2<=arguments.length?I.call(arguments,1):[],this.className=f,this.records={},c.length&&(this.attributes=c),this.attributes&&(this.attributes=B(this.attributes)),this.attributes||(this.attributes=[]),this.unbind(),this},c.toString=function(){return""+this.className+"("+this.attributes.join(", ")+")"},c.find=function(c){c=this.records[c];if(!c)throw"Unknown record";return c.clone()},c.exists=function(c){try{return this.find(c)}catch(f){return!1}},
c.refresh=function(c,f){var e,j,A,m;f==null&&(f={});f.clear&&(this.records={});j=this.fromJSON(c);h(j)||(j=[j]);for(A=0,m=j.length;A<m;A++)e=j[A],e.newRecord=!1,e.id||(e.id=k()),this.records[e.id]=e;return this.trigger("refresh",!f.clear&&j),this},c.select=function(c){var f,e,h;return h=function(){var h,j;h=this.records;j=[];for(f in h)e=h[f],c(e)&&j.push(e);return j}.call(this),this.cloneArray(h)},c.findByAttribute=function(c,f){var e,h,j;j=this.records;for(e in j)if(h=j[e],h[c]===f)return h.clone();
return null},c.findAllByAttribute=function(c,f){return this.select(function(e){return e[c]===f})},c.each=function(c){var f,e,h,j;h=this.records;j=[];for(f in h)e=h[f],j.push(c(e.clone()));return j},c.all=function(){return this.cloneArray(this.recordsValues())},c.first=function(){var c;return c=this.recordsValues()[0],c!=null?c.clone():void 0},c.last=function(){var c,f;return f=this.recordsValues(),c=f[f.length-1],c!=null?c.clone():void 0},c.count=function(){return this.recordsValues().length},c.deleteAll=
function(){var c,f,e;f=this.records;e=[];for(c in f)e.push(delete this.records[c]);return e},c.destroyAll=function(){var c,f,e;f=this.records;e=[];for(c in f)e.push(this.records[c].destroy());return e},c.update=function(c,f){return this.find(c).updateAttributes(f)},c.create=function(c){var f;return f=new this(c),f.save()},c.destroy=function(c){return this.find(c).destroy()},c.change=function(c){return typeof c=="function"?this.bind("change",c):this.trigger("change",c)},c.fetch=function(c){return typeof c==
"function"?this.bind("fetch",c):this.trigger("fetch",c)},c.toJSON=function(){return this.recordsValues()},c.fromJSON=function(c){var f,e,j,k;if(c){typeof c=="string"&&(c=JSON.parse(c));if(h(c)){k=[];for(e=0,j=c.length;e<j;e++)f=c[e],k.push(new this(f));return k}return new this(c)}},c.fromForm=function(){var c;return(c=new this).fromForm.apply(c,arguments)},c.recordsValues=function(){var c,f,e,h;f=[];h=this.records;for(c in h)e=h[c],f.push(e);return f},c.cloneArray=function(c){var f,e,h,j;j=[];for(e=
0,h=c.length;e<h;e++)f=c[e],j.push(f.clone());return j},c.prototype.newRecord=!0,c.prototype.isNew=function(){return this.newRecord},c.prototype.isValid=function(){return!this.validate()},c.prototype.validate=function(){},c.prototype.load=function(c){var f,e;for(f in c)e=c[f],typeof this[f]=="function"?this[f](e):this[f]=e;return this},c.prototype.attributes=function(){var c,f,e,h,j;f={};j=this.constructor.attributes;for(e=0,h=j.length;e<h;e++)c=j[e],c in this&&(typeof this[c]=="function"?f[c]=this[c]():
f[c]=this[c]);return this.id&&(f.id=this.id),f},c.prototype.eql=function(c){var f,e;return c&&c.constructor===this.constructor&&(c.id===this.id||(f=this.id,U.call(c.ids,f)>=0)||(e=c.id,U.call(this.ids,e)>=0))},c.prototype.save=function(){var c,f;return c=this.validate(),c?(this.trigger("error",c),!1):(this.trigger("beforeSave"),f=this.newRecord?this.create():this.update(),this.trigger("save"),f)},c.prototype.updateAttribute=function(c,f){return this[c]=f,this.save()},c.prototype.updateAttributes=
function(c){return this.load(c),this.save()},c.prototype.changeID=function(c){var f;return this.ids.push(this.id),f=this.constructor.records,f[c]=f[this.id],delete f[this.id],this.id=c,this.save()},c.prototype.destroy=function(){return this.trigger("beforeDestroy"),delete this.constructor.records[this.id],this.destroyed=!0,this.trigger("destroy"),this.trigger("change","destroy"),this.unbind(),this},c.prototype.dup=function(c){var f;return f=new this.constructor(this.attributes()),c===!1?f.newRecord=
this.newRecord:delete f.id,f},c.prototype.clone=function(){return Object.create(this)},c.prototype.reload=function(){var c;return this.newRecord?this:(c=this.constructor.find(this.id),this.load(c.attributes()),c)},c.prototype.toJSON=function(){return this.attributes()},c.prototype.toString=function(){return"<"+this.constructor.className+" ("+JSON.stringify(this)+")>"},c.prototype.fromForm=function(c){var f,h,j,k;h={};k=e(c).serializeArray();for(c=0,j=k.length;c<j;c++)f=k[c],h[f.name]=f.value;return this.load(h)},
c.prototype.exists=function(){return this.id&&this.id in this.constructor.records},c.prototype.update=function(){var c,f;return this.trigger("beforeUpdate"),f=this.constructor.records,f[this.id].load(this.attributes()),c=f[this.id].clone(),c.trigger("update"),c.trigger("change","update"),c},c.prototype.create=function(){var c,f;return this.trigger("beforeCreate"),this.id||(this.id=k()),this.newRecord=!1,f=this.constructor.records,f[this.id]=this.dup(!1),c=f[this.id].clone(),c.trigger("create"),c.trigger("change",
"create"),c},c.prototype.bind=function(c,f){var e,h;return this.constructor.bind(c,e=N(function(c){if(c&&this.eql(c))return f.apply(this,arguments)},this)),this.constructor.bind("unbind",h=N(function(f){if(f&&this.eql(f))return this.constructor.unbind(c,e),this.constructor.unbind("unbind",h)},this)),e},c.prototype.trigger=function(){var c,f;return c=1<=arguments.length?I.call(arguments,0):[],c.splice(1,0,this),(f=this.constructor).trigger.apply(f,c)},c.prototype.unbind=function(){return this.trigger("unbind")},
c}();c=function(){function c(f){this.release=N(this.release,this);var h,j,k;this.options=f;k=this.options;for(h in k)j=k[h],this[h]=j;this.el||(this.el=document.createElement(this.tag));this.el=e(this.el);this.className&&this.el.addClass(this.className);this.release(function(){return this.el.remove()});this.events||(this.events=this.constructor.events);this.elements||(this.elements=this.constructor.elements);this.events&&this.delegateEvents();this.elements&&this.refreshElements();c.__super__.constructor.apply(this,
arguments)}return O(c,m),c.include(q),c.include(r),c.prototype.eventSplitter=/^(\S+)\s*(.*)$/,c.prototype.tag="div",c.prototype.release=function(c){return typeof c=="function"?this.bind("release",c):this.trigger("release")},c.prototype.$=function(c){return e(c,this.el)},c.prototype.delegateEvents=function(){var c,f,e,h,j,k,A;k=this.events;A=[];for(f in k)h=k[f],typeof h!="function"&&(h=this.proxy(this[h])),e=f.match(this.eventSplitter),c=e[1],j=e[2],A.push(j===""?this.el.bind(c,h):this.el.delegate(j,
c,h));return A},c.prototype.refreshElements=function(){var c,f,e,h;e=this.elements;h=[];for(c in e)f=e[c],h.push(this[f]=this.$(c));return h},c.prototype.delay=function(c,f){return setTimeout(this.proxy(c),f||0)},c.prototype.html=function(c){return this.el.html(c.el||c),this.refreshElements(),this.el},c.prototype.append=function(){var c,f,e;return f=1<=arguments.length?I.call(arguments,0):[],f=function(){var e,h,j;j=[];for(e=0,h=f.length;e<h;e++)c=f[e],j.push(c.el||c);return j}(),(e=this.el).append.apply(e,
f),this.refreshElements(),this.el},c.prototype.appendTo=function(c){return this.el.appendTo(c.el||c),this.refreshElements(),this.el},c.prototype.prepend=function(){var c,f,e;return f=1<=arguments.length?I.call(arguments,0):[],f=function(){var e,h,j;j=[];for(e=0,h=f.length;e<h;e++)c=f[e],j.push(c.el||c);return j}(),(e=this.el).prepend.apply(e,f),this.refreshElements(),this.el},c.prototype.replace=function(c){var f,e;return e=[this.el,c.el||c],f=e[0],this.el=e[1],f.replaceWith(this.el),this.delegateEvents(),
this.refreshElements(),this.el},c}();e=this.jQuery||this.Zepto||function(c){return c};typeof Object.create!="function"&&(Object.create=function(c){var f;return f=function(){},f.prototype=c,new f});h=function(c){return Object.prototype.toString.call(c)==="[object Array]"};A=function(c){var f;if(!c)return!0;for(f in c)return!1;return!0};B=function(c){return Array.prototype.slice.call(c,0)};k=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(c){var f,e;return f=Math.random()*
16|0,e=c==="x"?f:f&3|8,e.toString(16)}).toUpperCase()};n=this.Spine={};typeof v!="undefined"&&v!==null&&(v.exports=n);n.version="1.0.3";n.isArray=h;n.isBlank=A;n.$=e;n.Events=q;n.Log=r;n.Module=m;n.Controller=c;n.Model=j;m.extend.call(n,q);m.create=m.sub=c.create=c.sub=j.sub=function(c,f){var e;return e=function(){function c(){c.__super__.constructor.apply(this,arguments)}return O(c,this),c}.call(this),c&&e.include(c),f&&e.extend(f),typeof e.unbind=="function"&&e.unbind(),e};j.setup=function(c,f){var e;
return f==null&&(f=[]),e=function(){function c(){c.__super__.constructor.apply(this,arguments)}return O(c,this),c}.call(this),e.configure.apply(e,[c].concat(I.call(f))),e};m.init=c.init=j.init=function(c,f,e,h,j){return new this(c,f,e,h,j)};n.Class=m}).call(this)},"spine/lib/local":function(D,q,v){(function(){if(typeof Spine=="undefined"||Spine===null)Spine=q("spine");Spine.Model.Local={extended:function(){return this.change(this.saveLocal),this.fetch(this.loadLocal)},saveLocal:function(){var e;return e=
JSON.stringify(this),localStorage[this.className]=e},loadLocal:function(){var e;return e=localStorage[this.className],this.refresh(e||[],{clear:!0})}};typeof v!="undefined"&&v!==null&&(v.exports=Spine.Model.Local)}).call(this)},"spine/lib/ajax":function(D,q,v){(function(){var e,c,x,r,j,m,n,k,h=function(c,e){return function(){return c.apply(e,arguments)}},A=Object.prototype.hasOwnProperty,B=function(c,e){function h(){this.constructor=c}for(var j in e)A.call(e,j)&&(c[j]=e[j]);return h.prototype=e.prototype,
c.prototype=new h,c.__super__=e.prototype,c};if(typeof Spine=="undefined"||Spine===null)Spine=q("spine");e=Spine.$;n=Spine.Model;c={getURL:function(c){return c&&(typeof c.url=="function"?c.url():void 0)||c.url},enabled:!0,pending:!1,requests:[],disable:function(c){return this.enabled=!1,c(),this.enabled=!0},requestNext:function(){var c;return c=this.requests.shift(),c?this.request(c):this.pending=!1},request:function(c){return c().complete(h(function(){return this.requestNext()},this))},queue:function(c){return!this.enabled?
void 0:(this.pending?this.requests.push(c):(this.pending=!0,this.request(c)),c)}};x=function(){function f(){}return f.prototype.defaults={contentType:"application/json",dataType:"json",processData:!1,headers:{"X-Requested-With":"XMLHttpRequest"}},f.prototype.ajax=function(c,f){return e.ajax(e.extend({},this.defaults,f,c))},f.prototype.queue=function(f){return c.queue(f)},f}();r=function(){function f(c){this.model=c;this.errorResponse=h(this.errorResponse,this);this.recordsResponse=h(this.recordsResponse,
this)}return B(f,x),f.prototype.find=function(f,e){var h;return h=new this.model({id:f}),this.ajax(e,{type:"GET",url:c.getURL(h)}).success(this.recordsResponse).error(this.errorResponse)},f.prototype.all=function(f){return this.ajax(f,{type:"GET",url:c.getURL(this.model)}).success(this.recordsResponse).error(this.errorResponse)},f.prototype.fetch=function(c){var f;return c==null&&(c={}),(f=c.id)?(delete c.id,this.find(f,c).success(h(function(c){return this.model.refresh(c)},this))):this.all(c).success(h(function(c){return this.model.refresh(c)},
this))},f.prototype.recordsResponse=function(c,f,e){return this.model.trigger("ajaxSuccess",null,f,e)},f.prototype.errorResponse=function(c,f,e){return this.model.trigger("ajaxError",null,c,f,e)},f}();k=function(){function f(c){this.record=c;this.errorResponse=h(this.errorResponse,this);this.blankResponse=h(this.blankResponse,this);this.recordResponse=h(this.recordResponse,this);this.model=this.record.constructor}return B(f,x),f.prototype.reload=function(f){return this.queue(h(function(){return this.ajax(f,
{type:"GET",url:c.getURL(this.record)}).success(this.recordResponse).error(this.errorResponse)},this))},f.prototype.create=function(f){return this.queue(h(function(){return this.ajax(f,{type:"POST",data:JSON.stringify(this.record),url:c.getURL(this.model)}).success(this.recordResponse).error(this.errorResponse)},this))},f.prototype.update=function(f){return this.queue(h(function(){return this.ajax(f,{type:"PUT",data:JSON.stringify(this.record),url:c.getURL(this.record)}).success(this.recordResponse).error(this.errorResponse)},
this))},f.prototype.destroy=function(f){return this.queue(h(function(){return this.ajax(f,{type:"DELETE",url:c.getURL(this.record)}).success(this.recordResponse).error(this.errorResponse)},this))},f.prototype.recordResponse=function(f,e,j){this.record.trigger("ajaxSuccess",e,j);return Spine.isBlank(f)?void 0:(f=this.model.fromJSON(f),c.disable(h(function(){return f.id&&this.record.id!==f.id&&this.record.changeID(f.id),this.record.updateAttributes(f.attributes())},this)))},f.prototype.blankResponse=
function(c,f,e){return this.record.trigger("ajaxSuccess",f,e)},f.prototype.errorResponse=function(c,f,e){return this.record.trigger("ajaxError",c,f,e)},f}();n.host="";m={ajax:function(){return new k(this)},url:function(){var f;return f=c.getURL(this.constructor),f.charAt(f.length-1)!=="/"&&(f+="/"),f+=encodeURIComponent(this.id),f}};j={ajax:function(){return new r(this)},url:function(){return""+n.host+"/"+this.className.toLowerCase()+"s"}};n.Ajax={extended:function(){return this.fetch(this.ajaxFetch),
this.change(this.ajaxChange),this.extend(j),this.include(m)},ajaxFetch:function(){var c;return(c=this.ajax()).fetch.apply(c,arguments)},ajaxChange:function(c,e){return c.ajax()[e]()}};n.Ajax.Methods={extended:function(){return this.extend(j),this.include(m)}};Spine.Ajax=c;typeof v!="undefined"&&v!==null&&(v.exports=c)}).call(this)},"spine/lib/route":function(D,q,v){(function(){var e,c,x,r,j,m=Object.prototype.hasOwnProperty,n=function(c,e){function j(){this.constructor=c}for(var f in e)m.call(e,f)&&
(c[f]=e[f]);return j.prototype=e.prototype,c.prototype=new j,c.__super__=e.prototype,c},k=Array.prototype.slice;if(typeof Spine=="undefined"||Spine===null)Spine=q("spine");e=Spine.$;x=/^#*/;r=/:([\w\d]+)/g;j=/\*([\w\d]+)/g;c=/[-[\]{}()+?.,\\^$|#\s]/g;Spine.Route=function(){function h(e,h){var f;this.path=e;this.callback=h;this.names=[];if(typeof e=="string"){for(;(f=r.exec(e))!==null;)this.names.push(f[1]);e=e.replace(c,"\\$&").replace(r,"([^/]*)").replace(j,"(.*?)");this.route=RegExp("^"+e+"$")}else this.route=
e}return n(h,Spine.Module),h.extend(Spine.Events),h.historySupport="history"in window,h.routes=[],h.options={trigger:!0,history:!1,shim:!1},h.add=function(c,e){var f,h,j;if(typeof c!="object"||c instanceof RegExp)return this.routes.push(new this(c,e));j=[];for(f in c)h=c[f],j.push(this.add(f,h));return j},h.setup=function(c){c==null&&(c={});this.options=e.extend({},this.options,c);this.options.history&&(this.history=this.historySupport&&this.options.history);return this.options.shim?void 0:(this.history?
e(window).bind("popstate",this.change):e(window).bind("hashchange",this.change),this.change())},h.unbind=function(){return this.history?e(window).unbind("popstate",this.change):e(window).unbind("hashchange",this.change)},h.navigate=function(){var c,h,f,j;c=1<=arguments.length?k.call(arguments,0):[];f={};h=c[c.length-1];typeof h=="object"?f=c.pop():typeof h=="boolean"&&(f.trigger=c.pop());f=e.extend({},this.options,f);j=c.join("/");if(this.path!==j)return this.path=j,f.trigger&&this.matchRoute(this.path,
f),f.shim?void 0:this.history?history.pushState({},document.title,this.getHost()+this.path):window.location.hash=this.path},h.getPath=function(){return window.location.pathname},h.getHash=function(){return window.location.hash},h.getFragment=function(){return this.getHash().replace(x,"")},h.getHost=function(){return(document.location+"").replace(this.getPath()+this.getHash(),"")},h.change=function(){var c;c=this.history?this.getPath():this.getFragment();return c===this.path?void 0:(this.path=c,this.matchRoute(this.path))},
h.matchRoute=function(c,e){var f,h,j,k;k=this.routes;for(h=0,j=k.length;h<j;h++)if(f=k[h],f.match(c,e))return this.trigger("change",f,c),f},h.prototype.match=function(c,e){var f,h,j,k;e==null&&(e={});f=this.route.exec(c);if(!f)return!1;e.match=f;j=f.slice(1);if(this.names.length)for(f=0,k=j.length;f<k;f++)h=j[f],e[this.names[f]]=h;return this.callback.call(null,e)!==!1},h}();Spine.Route.change=Spine.Route.proxy(Spine.Route.change);Spine.Controller.include({route:function(c,e){return Spine.Route.add(c,
this.proxy(e))},routes:function(c){var e,j,f;f=[];for(e in c)j=c[e],f.push(this.route(e,j));return f},navigate:function(){return Spine.Route.navigate.apply(Spine.Route,arguments)}});typeof v!="undefined"&&v!==null&&(v.exports=Spine.Route)}).call(this)},"spine/lib/tmpl":function(D,q){(function(){var v;v=typeof jQuery!="undefined"&&jQuery!==null?jQuery:q("jqueryify");v.fn.item=function(){var e;return e=v(this),e=e.data("item")||(typeof e.tmplItem=="function"?e.tmplItem().data:void 0),e!=null?typeof e.reload==
"function"?e.reload():void 0:void 0};v.fn.forItem=function(e){return this.filter(function(){var c;return c=v(this).item(),(typeof e.eql=="function"?e.eql(c):void 0)||e===c})}}).call(this)},"jqueryify/index":function(D,q,v){(function(e,c){function q(a){var b=ua[a]={},d,g,a=a.split(/\s+/);for(d=0,g=a.length;d<g;d++)b[a[d]]=!0;return b}function r(a,b,i){if(i===c&&a.nodeType===1)if(i="data-"+b.replace(Za,"-$1").toLowerCase(),i=a.getAttribute(i),typeof i=="string"){try{i=i==="true"?!0:i==="false"?!1:i===
"null"?null:d.isNumeric(i)?parseFloat(i):$a.test(i)?d.parseJSON(i):i}catch(g){}d.data(a,b,i)}else i=c;return i}function j(a){for(var b in a)if(!(b==="data"&&d.isEmptyObject(a[b]))&&b!=="toJSON")return!1;return!0}function m(a,b,i){var g=b+"defer",c=b+"queue",u=b+"mark",f=d._data(a,g);f&&(i==="queue"||!d._data(a,c))&&(i==="mark"||!d._data(a,u))&&setTimeout(function(){!d._data(a,c)&&!d._data(a,u)&&(d.removeData(a,g,!0),f.fire())},0)}function n(){return!1}function k(){return!0}function h(a,b,i){b=b||
0;if(d.isFunction(b))return d.grep(a,function(a,d){return!!b.call(a,d,a)===i});if(b.nodeType)return d.grep(a,function(a){return a===b===i});if(typeof b=="string"){var g=d.grep(a,function(a){return a.nodeType===1});if(ab.test(b))return d.filter(b,g,!i);b=d.filter(b,g)}return d.grep(a,function(a){return d.inArray(a,b)>=0===i})}function A(a){var b=va.split("|"),a=a.createDocumentFragment();if(a.createElement)for(;b.length;)a.createElement(b.pop());return a}function B(a,b){if(b.nodeType===1&&d.hasData(a)){var i,
g,c;g=d._data(a);var u=d._data(b,g),f=g.events;if(f)for(i in delete u.handle,u.events={},f)for(g=0,c=f[i].length;g<c;g++)d.event.add(b,i+(f[i][g].namespace?".":"")+f[i][g].namespace,f[i][g],f[i][g].data);u.data&&(u.data=d.extend({},u.data))}}function f(a,b){var i;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes();b.mergeAttributes&&b.mergeAttributes(a);i=b.nodeName.toLowerCase();if(i==="object")b.outerHTML=a.outerHTML;else if(i!=="input"||a.type!=="checkbox"&&a.type!=="radio")if(i==="option")b.selected=
a.defaultSelected;else{if(i==="input"||i==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(d.expando)}}function v(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function D(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function N(a){var b=(a.nodeName||"").toLowerCase();b===
"input"?D(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&d.grep(a.getElementsByTagName("input"),D)}function Ya(a,b){b.src?d.ajax({url:b.src,async:!1,dataType:"script"}):d.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bb,"/*$0*/"));b.parentNode&&b.parentNode.removeChild(b)}function O(a,b,i){var g=b==="width"?a.offsetWidth:a.offsetHeight,c=b==="width"?cb:db,u=0,f=c.length;if(g>0){if(i!=="border")for(;u<f;u++)i||(g-=parseFloat(d.css(a,"padding"+c[u]))||0),i==="margin"?g+=
parseFloat(d.css(a,i+c[u]))||0:g-=parseFloat(d.css(a,"border"+c[u]+"Width"))||0;return g+"px"}g=R(a,b,b);if(g<0||g==null)g=a.style[b]||0;g=parseFloat(g)||0;if(i)for(;u<f;u++)g+=parseFloat(d.css(a,"padding"+c[u]))||0,i!=="padding"&&(g+=parseFloat(d.css(a,"border"+c[u]+"Width"))||0),i==="margin"&&(g+=parseFloat(d.css(a,i+c[u]))||0);return g+"px"}function qa(a){return function(b,i){typeof b!="string"&&(i=b,b="*");if(d.isFunction(i))for(var g=b.toLowerCase().split(wa),c=0,u=g.length,f,e,h;c<u;c++)f=g[c],
h=/^\+/.test(f),h&&(f=f.substr(1)||"*"),e=a[f]=a[f]||[],e[h?"unshift":"push"](i)}}function w(a,b,d,g,l,u){l=l||b.dataTypes[0];u=u||{};u[l]=!0;for(var l=a[l],f=0,e=l?l.length:0,h=a===ga,j;f<e&&(h||!j);f++)j=l[f](b,d,g),typeof j=="string"&&(!h||u[j]?j=c:(b.dataTypes.unshift(j),j=w(a,b,d,g,j,u)));return(h||!j)&&!u["*"]&&(j=w(a,b,d,g,"*",u)),j}function y(a,b){var i,g,l=d.ajaxSettings.flatOptions||{};for(i in b)b[i]!==c&&((l[i]?a:g||(g={}))[i]=b[i]);g&&d.extend(!0,a,g)}function fa(a,b,i,c){if(d.isArray(b))d.each(b,
function(b,l){i||eb.test(a)?c(a,l):fa(a+"["+(typeof l=="object"||d.isArray(l)?b:"")+"]",l,i,c)});else if(!i&&b!=null&&typeof b=="object")for(var l in b)fa(a+"["+l+"]",b[l],i,c);else c(a,b)}function ra(){try{return new e.XMLHttpRequest}catch(a){}}function sa(){Z=c}function M(a,b){var i={};return d.each(xa.concat.apply([],xa.slice(0,b)),function(){i[this]=a}),i}function ta(a){if(!ha[a]){var b=p.body,i=d("<"+a+">").appendTo(b),c=i.css("display");i.remove();if(c==="none"||c===""){J||(J=p.createElement("iframe"),
J.frameBorder=J.width=J.height=0);b.appendChild(J);if(!V||!J.createElement)V=(J.contentWindow||J.contentDocument).document,V.write((p.compatMode==="CSS1Compat"?"<!doctype html>":"")+"<html><body>"),V.close();i=V.createElement(a);V.body.appendChild(i);c=d.css(i,"display");b.removeChild(J)}ha[a]=c}return ha[a]}function ia(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}var p=e.document,fb=e.navigator,gb=e.location,d=function(){function a(){if(!b.isReady){try{p.documentElement.doScroll("left")}catch(d){setTimeout(a,
1);return}b.ready()}}var b=function(a,d){return new b.fn.init(a,d,l)},d=e.jQuery,g=e.$,l,u=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,f=/\S/,E=/^\s+/,h=/\s+$/,j=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,k=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,s=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,t=/(?:^|:|,)(?:\s*\[)+/g,m=/(webkit)[ \/]([\w.]+)/,n=/(opera)(?:.*version)?[ \/]([\w.]+)/,A=/(msie) ([\w.]+)/,hb=/(mozilla)(?:.*? rv:([\w.]+))?/,q=/-([a-z]|[0-9])/ig,r=/^-ms-/,B=function(a,
b){return(b+"").toUpperCase()},v=fb.userAgent,C,ba,X,ib=Object.prototype.toString,ja=Object.prototype.hasOwnProperty,ka=Array.prototype.push,aa=Array.prototype.slice,ya=String.prototype.trim,za=Array.prototype.indexOf,w={};return b.fn=b.prototype={constructor:b,init:function(a,d,i){var g,l,f;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(a==="body"&&!d&&p.body)return this.context=p,this[0]=p.body,this.selector=a,this.length=1,this;if(typeof a=="string"){a.charAt(0)===
"<"&&a.charAt(a.length-1)===">"&&a.length>=3?g=[null,a,null]:g=u.exec(a);if(g&&(g[1]||!d)){if(g[1])return d=d instanceof b?d[0]:d,f=d?d.ownerDocument||d:p,l=j.exec(a),l?b.isPlainObject(d)?(a=[p.createElement(l[1])],b.fn.attr.call(a,d,!0)):a=[f.createElement(l[1])]:(l=b.buildFragment([g[1]],[f]),a=(l.cacheable?b.clone(l.fragment):l.fragment).childNodes),b.merge(this,a);if((d=p.getElementById(g[2]))&&d.parentNode){if(d.id!==g[2])return i.find(a);this.length=1;this[0]=d}return this.context=p,this.selector=
a,this}return!d||d.jquery?(d||i).find(a):this.constructor(d).find(a)}return b.isFunction(a)?i.ready(a):(a.selector!==c&&(this.selector=a.selector,this.context=a.context),b.makeArray(a,this))},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return aa.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,d,i){var c=this.constructor();return b.isArray(a)?ka.apply(c,a):b.merge(c,a),c.prevObject=this,
c.context=this.context,d==="find"?c.selector=this.selector+(this.selector?" ":"")+i:d&&(c.selector=this.selector+"."+d+"("+i+")"),c},each:function(a,d){return b.each(this,a,d)},ready:function(a){return b.bindReady(),ba.add(a),this},eq:function(a){return a=+a,a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(aa.apply(this,arguments),"slice",aa.call(arguments).join(","))},map:function(a){return this.pushStack(b.map(this,
function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:ka,sort:[].sort,splice:[].splice},b.fn.init.prototype=b.fn,b.extend=b.fn.extend=function(){var a,d,i,g,l,f,u=arguments[0]||{},C=1,e=arguments.length,G=!1;for(typeof u=="boolean"&&(G=u,u=arguments[1]||{},C=2),typeof u!="object"&&!b.isFunction(u)&&(u={}),e===C&&(u=this,--C);C<e;C++)if((a=arguments[C])!=null)for(d in a)i=u[d],g=a[d],u!==g&&(G&&g&&(b.isPlainObject(g)||(l=b.isArray(g)))?(l?(l=!1,
f=i&&b.isArray(i)?i:[]):f=i&&b.isPlainObject(i)?i:{},u[d]=b.extend(G,f,g)):g!==c&&(u[d]=g));return u},b.extend({noConflict:function(a){return e.$===b&&(e.$=g),a&&e.jQuery===b&&(e.jQuery=d),b},isReady:!1,readyWait:1,holdReady:function(a){a?b.readyWait++:b.ready(!0)},ready:function(a){if(a===!0&&!--b.readyWait||a!==!0&&!b.isReady){if(!p.body)return setTimeout(b.ready,1);b.isReady=!0;a!==!0&&--b.readyWait>0||(ba.fireWith(p,[b]),b.fn.trigger&&b(p).trigger("ready").off("ready"))}},bindReady:function(){if(!ba){ba=
b.Callbacks("once memory");if(p.readyState==="complete")return setTimeout(b.ready,1);if(p.addEventListener)p.addEventListener("DOMContentLoaded",X,!1),e.addEventListener("load",b.ready,!1);else if(p.attachEvent){p.attachEvent("onreadystatechange",X);e.attachEvent("onload",b.ready);var d=!1;try{d=e.frameElement==null}catch(i){}p.documentElement.doScroll&&d&&a()}}},isFunction:function(a){return b.type(a)==="function"},isArray:Array.isArray||function(a){return b.type(a)==="array"},isWindow:function(a){return a&&
typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):w[ib.call(a)]||"object"},isPlainObject:function(a){if(!a||b.type(a)!=="object"||a.nodeType||b.isWindow(a))return!1;try{if(a.constructor&&!ja.call(a,"constructor")&&!ja.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(d){return!1}for(var i in a);return i===c||ja.call(a,i)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw Error(a);
},parseJSON:function(a){if(typeof a!="string"||!a)return null;a=b.trim(a);if(e.JSON&&e.JSON.parse)return e.JSON.parse(a);if(k.test(a.replace(o,"@").replace(s,"]").replace(t,"")))return(new Function("return "+a))();b.error("Invalid JSON: "+a)},parseXML:function(a){var d,i;try{e.DOMParser?(i=new DOMParser,d=i.parseFromString(a,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(a))}catch(g){d=c}return(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&
b.error("Invalid XML: "+a),d},noop:function(){},globalEval:function(a){a&&f.test(a)&&(e.execScript||function(a){e.eval.call(e,a)})(a)},camelCase:function(a){return a.replace(r,"ms-").replace(q,B)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,d,i){var g,l=0,u=a.length,f=u===c||b.isFunction(a);if(i)if(f)for(g in a){if(d.apply(a[g],i)===!1)break}else for(;l<u;){if(d.apply(a[l++],i)===!1)break}else if(f)for(g in a){if(d.call(a[g],g,a[g])===!1)break}else for(;l<
u;)if(d.call(a[l],l,a[l++])===!1)break;return a},trim:ya?function(a){return a==null?"":ya.call(a)}:function(a){return a==null?"":a.toString().replace(E,"").replace(h,"")},makeArray:function(a,d){var i=d||[];if(a!=null){var c=b.type(a);a.length==null||c==="string"||c==="function"||c==="regexp"||b.isWindow(a)?ka.call(i,a):b.merge(i,a)}return i},inArray:function(a,b,d){var i;if(b){if(za)return za.call(b,a,d);for(i=b.length,d=d?d<0?Math.max(0,i+d):d:0;d<i;d++)if(d in b&&b[d]===a)return d}return-1},merge:function(a,
b){var d=a.length,i=0;if(typeof b.length=="number")for(var g=b.length;i<g;i++)a[d++]=b[i];else for(;b[i]!==c;)a[d++]=b[i++];return a.length=d,a},grep:function(a,b,d){for(var i=[],c,d=!!d,g=0,l=a.length;g<l;g++)c=!!b(a[g],g),d!==c&&i.push(a[g]);return i},map:function(a,d,i){var g,l,u=[],f=0,C=a.length;if(a instanceof b||C!==c&&typeof C=="number"&&(C>0&&a[0]&&a[C-1]||C===0||b.isArray(a)))for(;f<C;f++)g=d(a[f],f,i),g!=null&&(u[u.length]=g);else for(l in a)g=d(a[l],l,i),g!=null&&(u[u.length]=g);return u.concat.apply([],
u)},guid:1,proxy:function(a,d){if(typeof d=="string"){var i=a[d];d=a;a=i}if(!b.isFunction(a))return c;var g=aa.call(arguments,2),i=function(){return a.apply(d,g.concat(aa.call(arguments)))};return i.guid=a.guid=a.guid||i.guid||b.guid++,i},access:function(a,d,i,g,l,u){var f=a.length;if(typeof d=="object"){for(var C in d)b.access(a,C,d[C],g,l,i);return a}if(i!==c){g=!u&&g&&b.isFunction(i);for(C=0;C<f;C++)l(a[C],d,g?i.call(a[C],C,l(a[C],d)):i,u);return a}return f?l(a[0],d):c},now:function(){return(new Date).getTime()},
uaMatch:function(a){a=a.toLowerCase();a=m.exec(a)||n.exec(a)||A.exec(a)||a.indexOf("compatible")<0&&hb.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},sub:function(){function a(b,d){return new a.fn.init(b,d)}b.extend(!0,a,this);a.superclass=this;a.fn=a.prototype=this();a.fn.constructor=a;a.sub=this.sub;a.fn.init=function F(i,F){return F&&F instanceof b&&!(F instanceof a)&&(F=a(F)),b.fn.init.call(this,i,F,d)};a.fn.init.prototype=a.fn;var d=a(p);return a},browser:{}}),b.each("Boolean Number String Function Array Date RegExp Object".split(" "),
function(a,b){w["[object "+b+"]"]=b.toLowerCase()}),C=b.uaMatch(v),C.browser&&(b.browser[C.browser]=!0,b.browser.version=C.version),b.browser.webkit&&(b.browser.safari=!0),f.test("\u00a0")&&(E=/^[\s\xA0]+/,h=/[\s\xA0]+$/),l=b(p),p.addEventListener?X=function(){p.removeEventListener("DOMContentLoaded",X,!1);b.ready()}:p.attachEvent&&(X=function(){p.readyState==="complete"&&(p.detachEvent("onreadystatechange",X),b.ready())}),b}(),ua={};d.Callbacks=function(a){var a=a?ua[a]||q(a):{},b=[],i=[],g,l,u,
f,e,h=function(i){var g,c,l,f;for(g=0,c=i.length;g<c;g++)l=i[g],f=d.type(l),f==="array"?h(l):f==="function"&&(!a.unique||!k.has(l))&&b.push(l)},j=function(d,c){for(c=c||[],g=!a.memory||[d,c],l=!0,e=u||0,u=0,f=b.length;b&&e<f;e++)if(b[e].apply(d,c)===!1&&a.stopOnFalse){g=!0;break}l=!1;b&&(a.once?g===!0?k.disable():b=[]:i&&i.length&&(g=i.shift(),k.fireWith(g[0],g[1])))},k={add:function(){if(b){var a=b.length;h(arguments);l?f=b.length:g&&g!==!0&&(u=a,j(g[0],g[1]))}return this},remove:function(){if(b)for(var d=
arguments,i=0,g=d.length;i<g;i++)for(var c=0;c<b.length;c++)if(d[i]===b[c]&&(l&&c<=f&&(f--,c<=e&&e--),b.splice(c--,1),a.unique))break;return this},has:function(a){if(b)for(var d=0,i=b.length;d<i;d++)if(a===b[d])return!0;return!1},empty:function(){return b=[],this},disable:function(){return b=i=g=c,this},disabled:function(){return!b},lock:function(){return i=c,(!g||g===!0)&&k.disable(),this},locked:function(){return!i},fireWith:function(b,d){return i&&(l?a.once||i.push([b,d]):(!a.once||!g)&&j(b,d)),
this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!g}};return k};var la=[].slice;d.extend({Deferred:function(a){var b=d.Callbacks("once memory"),i=d.Callbacks("once memory"),g=d.Callbacks("memory"),c="pending",f={resolve:b,reject:i,notify:g},e={done:b.add,fail:i.add,progress:g.add,state:function(){return c},isResolved:b.fired,isRejected:i.fired,then:function(a,b,d){return E.done(a).fail(b).progress(d),this},always:function(){return E.done.apply(E,arguments).fail.apply(E,
arguments),this},pipe:function(a,b,i){return d.Deferred(function(c){d.each({done:[a,"resolve"],fail:[b,"reject"],progress:[i,"notify"]},function(a,b){var i=b[0],g=b[1],l;d.isFunction(i)?E[a](function(){l=i.apply(this,arguments);l&&d.isFunction(l.promise)?l.promise().then(c.resolve,c.reject,c.notify):c[g+"With"](this===E?c:this,[l])}):E[a](c[g])})}).promise()},promise:function(a){if(a==null)a=e;else for(var b in e)a[b]=e[b];return a}},E=e.promise({}),h;for(h in f)E[h]=f[h].fire,E[h+"With"]=f[h].fireWith;
return E.done(function(){c="resolved"},i.disable,g.lock).fail(function(){c="rejected"},b.disable,g.lock),a&&a.call(E,E),E},when:function(a){function b(a){return function(b){c[a]=arguments.length>1?la.call(arguments,0):b;--E||h.resolveWith(h,c)}}function i(a){return function(b){e[a]=arguments.length>1?la.call(arguments,0):b;h.notifyWith(j,e)}}var c=la.call(arguments,0),l=0,f=c.length,e=Array(f),E=f,h=f<=1&&a&&d.isFunction(a.promise)?a:d.Deferred(),j=h.promise();if(f>1){for(;l<f;l++)c[l]&&c[l].promise&&
d.isFunction(c[l].promise)?c[l].promise().then(b(l),h.reject,i(l)):--E;E||h.resolveWith(h,c)}else h!==a&&h.resolveWith(h,f?[a]:[]);return j}});d.support=function(){var a,b,i,c,l,f,G,h,j,k,m,o,s=p.createElement("div");s.setAttribute("className","t");s.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>";b=s.getElementsByTagName("*");i=s.getElementsByTagName("a")[0];if(!b||!b.length||!i)return{};c=p.createElement("select");l=c.appendChild(p.createElement("option"));
f=s.getElementsByTagName("input")[0];a={leadingWhitespace:s.firstChild.nodeType===3,tbody:!s.getElementsByTagName("tbody").length,htmlSerialize:!!s.getElementsByTagName("link").length,style:/top/.test(i.getAttribute("style")),hrefNormalized:i.getAttribute("href")==="/a",opacity:/^0.55/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,checkOn:f.value==="on",optSelected:l.selected,getSetAttribute:s.className!=="t",enctype:!!p.createElement("form").enctype,html5Clone:p.createElement("nav").cloneNode(!0).outerHTML!==
"<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0};f.checked=!0;a.noCloneChecked=f.cloneNode(!0).checked;c.disabled=!0;a.optDisabled=!l.disabled;try{delete s.test}catch(t){a.deleteExpando=!1}!s.addEventListener&&s.attachEvent&&s.fireEvent&&(s.attachEvent("onclick",function(){a.noCloneEvent=!1}),s.cloneNode(!0).fireEvent("onclick"));f=p.createElement("input");f.value="t";f.setAttribute("type",
"radio");a.radioValue=f.value==="t";f.setAttribute("checked","checked");s.appendChild(f);h=p.createDocumentFragment();h.appendChild(s.lastChild);a.checkClone=h.cloneNode(!0).cloneNode(!0).lastChild.checked;a.appendChecked=f.checked;h.removeChild(f);h.appendChild(s);s.innerHTML="";e.getComputedStyle&&(G=p.createElement("div"),G.style.width="0",G.style.marginRight="0",s.style.width="2px",s.appendChild(G),a.reliableMarginRight=(parseInt((e.getComputedStyle(G,null)||{marginRight:0}).marginRight,10)||
0)===0);if(s.attachEvent)for(m in{submit:1,change:1,focusin:1})k="on"+m,o=k in s,o||(s.setAttribute(k,"return;"),o=typeof s[k]=="function"),a[m+"Bubbles"]=o;return h.removeChild(s),h=c=l=G=s=f=null,d(function(){var b,i,c,g,l,f=p.getElementsByTagName("body")[0];if(f)b=p.createElement("div"),b.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",f.insertBefore(b,f.firstChild),s=p.createElement("div"),b.appendChild(s),s.innerHTML="<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>",
j=s.getElementsByTagName("td"),o=j[0].offsetHeight===0,j[0].style.display="",j[1].style.display="none",a.reliableHiddenOffsets=o&&j[0].offsetHeight===0,s.innerHTML="",s.style.width=s.style.paddingLeft="1px",d.boxModel=a.boxModel=s.offsetWidth===2,typeof s.style.zoom!="undefined"&&(s.style.display="inline",s.style.zoom=1,a.inlineBlockNeedsLayout=s.offsetWidth===2,s.style.display="",s.innerHTML="<div style='width:4px;'></div>",a.shrinkWrapBlocks=s.offsetWidth!==2),s.style.cssText="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;visibility:hidden;border:0;",
s.innerHTML="<div style='position:absolute;top:0;left:0;width:1px;height:1px;margin:0;border:5px solid #000;padding:0;'><div></div></div><table style='position:absolute;top:0;left:0;width:1px;height:1px;margin:0;border:5px solid #000;padding:0;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>",i=s.firstChild,c=i.firstChild,g=i.nextSibling.firstChild.firstChild,l={doesNotAddBorder:c.offsetTop!==5,doesAddBorderForTableAndCells:g.offsetTop===5},c.style.position="fixed",c.style.top="20px",
l.fixedPosition=c.offsetTop===20||c.offsetTop===15,c.style.position=c.style.top="",i.style.overflow="hidden",i.style.position="relative",l.subtractsBorderForOverflowNotVisible=c.offsetTop===-5,l.doesNotIncludeMarginInBodyOffset=f.offsetTop!==1,f.removeChild(b),s=null,d.extend(a,l)}),a}();var $a=/^(?:\{.*\}|\[.*\])$/,Za=/([A-Z])/g;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},
hasData:function(a){return a=a.nodeType?d.cache[a[d.expando]]:a[d.expando],!!a&&!j(a)},data:function(a,b,i,g){if(d.acceptData(a)){var l,f,e,h=d.expando,j=typeof b=="string",k=a.nodeType,m=k?d.cache:a,o=k?a[h]:a[h]&&h,s=b==="events";if(o&&m[o]&&(s||g||m[o].data)||!(j&&i===c)){o||(k?a[h]=o=++d.uuid:o=h);m[o]||(m[o]={},k||(m[o].toJSON=d.noop));if(typeof b=="object"||typeof b=="function")g?m[o]=d.extend(m[o],b):m[o].data=d.extend(m[o].data,b);return l=f=m[o],g||(f.data||(f.data={}),f=f.data),i!==c&&(f[d.camelCase(b)]=
i),s&&!f[b]?l.events:(j?(e=f[b],e==null&&(e=f[d.camelCase(b)])):e=f,e)}}},removeData:function(a,b,i){if(d.acceptData(a)){var c,l,f,e=d.expando,h=a.nodeType,k=h?d.cache:a,m=h?a[e]:e;if(k[m]){if(b&&(c=i?k[m]:k[m].data)){d.isArray(b)||(b in c?b=[b]:(b=d.camelCase(b),b in c?b=[b]:b=b.split(" ")));for(l=0,f=b.length;l<f;l++)delete c[b[l]];if(!(i?j:d.isEmptyObject)(c))return}if(!i&&(delete k[m].data,!j(k[m])))return;d.support.deleteExpando||!k.setInterval?delete k[m]:k[m]=null;h&&(d.support.deleteExpando?
delete a[e]:a.removeAttribute?a.removeAttribute(e):a[e]=null)}}},_data:function(a,b,i){return d.data(a,b,i,!0)},acceptData:function(a){if(a.nodeName){var b=d.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}});d.fn.extend({data:function(a,b){var i,g,l,f=null;if(typeof a=="undefined"){if(this.length&&(f=d.data(this[0]),this[0].nodeType===1&&!d._data(this[0],"parsedAttrs"))){g=this[0].attributes;for(var e=0,h=g.length;e<h;e++)l=g[e].name,l.indexOf("data-")===
0&&(l=d.camelCase(l.substring(5)),r(this[0],l,f[l]));d._data(this[0],"parsedAttrs",!0)}return f}return typeof a=="object"?this.each(function(){d.data(this,a)}):(i=a.split("."),i[1]=i[1]?"."+i[1]:"",b===c?(f=this.triggerHandler("getData"+i[1]+"!",[i[0]]),f===c&&this.length&&(f=d.data(this[0],a),f=r(this[0],a,f)),f===c&&i[1]?this.data(i[0]):f):this.each(function(){var c=d(this),g=[i[0],b];c.triggerHandler("setData"+i[1]+"!",g);d.data(this,a,b);c.triggerHandler("changeData"+i[1]+"!",g)}))},removeData:function(a){return this.each(function(){d.removeData(this,
a)})}});d.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",d._data(a,b,(d._data(a,b)||0)+1))},_unmark:function(a,b,i){a!==!0&&(i=b,b=a,a=!1);if(b){var i=i||"fx",c=i+"mark";(a=a?0:(d._data(b,c)||1)-1)?d._data(b,c,a):(d.removeData(b,c,!0),m(b,i,"mark"))}},queue:function(a,b,i){var c;if(a)return b=(b||"fx")+"queue",c=d._data(a,b),i&&(!c||d.isArray(i)?c=d._data(a,b,d.makeArray(i)):c.push(i)),c||[]},dequeue:function(a,b){var b=b||"fx",i=d.queue(a,b),c=i.shift(),l={};c==="inprogress"&&(c=i.shift());c&&
(b==="fx"&&i.unshift("inprogress"),d._data(a,b+".run",l),c.call(a,function(){d.dequeue(a,b)},l));i.length||(d.removeData(a,b+"queue "+b+".run",!0),m(a,b,"queue"))}});d.fn.extend({queue:function(a,b){return typeof a!="string"&&(b=a,a="fx"),b===c?d.queue(this[0],a):this.each(function(){var i=d.queue(this,a,b);a==="fx"&&i[0]!=="inprogress"&&d.dequeue(this,a)})},dequeue:function(a){return this.each(function(){d.dequeue(this,a)})},delay:function(a,b){return a=d.fx?d.fx.speeds[a]||a:a,b=b||"fx",this.queue(b,
function(b,d){var c=setTimeout(b,a);d.stop=function(){clearTimeout(c)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a){function b(){--f||i.resolveWith(g,[g])}typeof a!="string"&&(a=c);a=a||"fx";var i=d.Deferred(),g=this,l=g.length,f=1,e=a+"defer",h=a+"queue";a+="mark";for(var j;l--;)if(j=d.data(g[l],e,c,!0)||(d.data(g[l],h,c,!0)||d.data(g[l],a,c,!0))&&d.data(g[l],e,d.Callbacks("once memory"),!0))f++,j.add(b);return b(),i.promise()}});var Aa=/[\n\t\r]/g,ca=/\s+/,jb=/\r/g,
kb=/^(?:button|input)$/i,lb=/^(?:button|input|object|select|textarea)$/i,mb=/^a(?:rea)?$/i,Ba=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,Ca=d.support.getSetAttribute,L,Da,Ea;d.fn.extend({attr:function(a,b){return d.access(this,a,b,!0,d.attr)},removeAttr:function(a){return this.each(function(){d.removeAttr(this,a)})},prop:function(a,b){return d.access(this,a,b,!0,d.prop)},removeProp:function(a){return a=d.propFix[a]||
a,this.each(function(){try{this[a]=c,delete this[a]}catch(b){}})},addClass:function(a){var b,i,c,l,f,e,h;if(d.isFunction(a))return this.each(function(b){d(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(ca);for(i=0,c=this.length;i<c;i++)if(l=this[i],l.nodeType===1)if(!l.className&&b.length===1)l.className=a;else{f=" "+l.className+" ";for(e=0,h=b.length;e<h;e++)~f.indexOf(" "+b[e]+" ")||(f+=b[e]+" ");l.className=d.trim(f)}}return this},removeClass:function(a){var b,
i,g,l,f,e,h;if(d.isFunction(a))return this.each(function(b){d(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===c){b=(a||"").split(ca);for(i=0,g=this.length;i<g;i++)if(l=this[i],l.nodeType===1&&l.className)if(a){f=(" "+l.className+" ").replace(Aa," ");for(e=0,h=b.length;e<h;e++)f=f.replace(" "+b[e]+" "," ");l.className=d.trim(f)}else l.className=""}return this},toggleClass:function(a,b){var i=typeof a,c=typeof b=="boolean";return d.isFunction(a)?this.each(function(c){d(this).toggleClass(a.call(this,
c,this.className,b),b)}):this.each(function(){if(i==="string")for(var l,f=0,e=d(this),h=b,j=a.split(ca);l=j[f++];)h=c?h:!e.hasClass(l),e[h?"addClass":"removeClass"](l);else if(i==="undefined"||i==="boolean")this.className&&d._data(this,"__className__",this.className),this.className=this.className||a===!1?"":d._data(this,"__className__")||""})},hasClass:function(a){for(var a=" "+a+" ",b=0,d=this.length;b<d;b++)if(this[b].nodeType===1&&(" "+this[b].className+" ").replace(Aa," ").indexOf(a)>-1)return!0;
return!1},val:function(a){var b,i,g,l=this[0];if(arguments.length)return g=d.isFunction(a),this.each(function(i){var l=d(this),f;if(this.nodeType===1&&(g?f=a.call(this,i,l.val()):f=a,f==null?f="":typeof f=="number"?f+="":d.isArray(f)&&(f=d.map(f,function(a){return a==null?"":a+""})),b=d.valHooks[this.nodeName.toLowerCase()]||d.valHooks[this.type],!b||!("set"in b)||b.set(this,f,"value")===c))this.value=f});else if(l)return b=d.valHooks[l.nodeName.toLowerCase()]||d.valHooks[l.type],b&&"get"in b&&(i=
b.get(l,"value"))!==c?i:(i=l.value,typeof i=="string"?i.replace(jb,""):i==null?"":i)}});d.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,g=a.selectedIndex,l=[],f=a.options,e=a.type==="select-one";if(g<0)return null;for(a=e?g:0,c=e?g+1:f.length;a<c;a++)if(b=f[a],b.selected&&(d.support.optDisabled?!b.disabled:b.getAttribute("disabled")===null)&&(!b.parentNode.disabled||!d.nodeName(b.parentNode,"optgroup"))){b=
d(b).val();if(e)return b;l.push(b)}return e&&!l.length&&f.length?d(f[g]).val():l},set:function(a,b){var c=d.makeArray(b);return d(a).find("option").each(function(){this.selected=d.inArray(d(this).val(),c)>=0}),c.length||(a.selectedIndex=-1),c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,b,i,g){var l,f,e,h=a.nodeType;if(a&&!(h===3||h===8||h===2)){if(g&&b in d.attrFn)return d(a)[b](i);if(typeof a.getAttribute=="undefined")return d.prop(a,b,i);e=h!==
1||!d.isXMLDoc(a);e&&(b=b.toLowerCase(),f=d.attrHooks[b]||(Ba.test(b)?Da:L));if(i!==c){if(i===null){d.removeAttr(a,b);return}return f&&"set"in f&&e&&(l=f.set(a,i,b))!==c?l:(a.setAttribute(b,""+i),i)}return f&&"get"in f&&e&&(l=f.get(a,b))!==null?l:(l=a.getAttribute(b),l===null?c:l)}},removeAttr:function(a,b){var c,g,l,f,e=0;if(b&&a.nodeType===1)for(g=b.toLowerCase().split(ca),f=g.length;e<f;e++)l=g[e],l&&(c=d.propFix[l]||l,d.attr(a,l,""),a.removeAttribute(Ca?l:c),Ba.test(l)&&c in a&&(a[c]=!1))},attrHooks:{type:{set:function(a,
b){if(kb.test(a.nodeName)&&a.parentNode)d.error("type property can't be changed");else if(!d.support.radioValue&&b==="radio"&&d.nodeName(a,"input")){var c=a.value;return a.setAttribute("type",b),c&&(a.value=c),b}}},value:{get:function(a,b){return L&&d.nodeName(a,"button")?L.get(a,b):b in a?a.value:null},set:function(a,b,c){if(L&&d.nodeName(a,"button"))return L.set(a,b,c);a.value=b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",
cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,b,i){var g,l,f,e=a.nodeType;return!a||e===3||e===8||e===2?void 0:(f=e!==1||!d.isXMLDoc(a),f&&(b=d.propFix[b]||b,l=d.propHooks[b]),i!==c?l&&"set"in l&&(g=l.set(a,i,b))!==c?g:a[b]=i:l&&"get"in l&&(g=l.get(a,b))!==null?g:a[b])},propHooks:{tabIndex:{get:function(a){var b=a.getAttributeNode("tabindex");return b&&b.specified?parseInt(b.value,10):lb.test(a.nodeName)||
mb.test(a.nodeName)&&a.href?0:c}}}});d.attrHooks.tabindex=d.propHooks.tabIndex;Da={get:function(a,b){var i,g=d.prop(a,b);return g===!0||typeof g!="boolean"&&(i=a.getAttributeNode(b))&&i.nodeValue!==!1?b.toLowerCase():c},set:function(a,b,c){var g;return b===!1?d.removeAttr(a,c):(g=d.propFix[c]||c,g in a&&(a[g]=!0),a.setAttribute(c,c.toLowerCase())),c}};Ca||(Ea={name:!0,id:!0},L=d.valHooks.button={get:function(a,b){var d;return d=a.getAttributeNode(b),d&&(Ea[b]?d.nodeValue!=="":d.specified)?d.nodeValue:
c},set:function(a,b,d){var c=a.getAttributeNode(d);return c||(c=p.createAttribute(d),a.setAttributeNode(c)),c.nodeValue=b+""}},d.attrHooks.tabindex.set=L.set,d.each(["width","height"],function(a,b){d.attrHooks[b]=d.extend(d.attrHooks[b],{set:function(a,d){if(d==="")return a.setAttribute(b,"auto"),d}})}),d.attrHooks.contenteditable={get:L.get,set:function(a,b,d){b===""&&(b="false");L.set(a,b,d)}});d.support.hrefNormalized||d.each(["href","src","width","height"],function(a,b){d.attrHooks[b]=d.extend(d.attrHooks[b],
{get:function(a){a=a.getAttribute(b,2);return a===null?c:a}})});d.support.style||(d.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||c},set:function(a,b){return a.style.cssText=""+b}});d.support.optSelected||(d.propHooks.selected=d.extend(d.propHooks.selected,{get:function(){return null}}));d.support.enctype||(d.propFix.enctype="encoding");d.support.checkOn||d.each(["radio","checkbox"],function(){d.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}});
d.each(["radio","checkbox"],function(){d.valHooks[this]=d.extend(d.valHooks[this],{set:function(a,b){if(d.isArray(b))return a.checked=d.inArray(d(a).val(),b)>=0}})});var ma=/^(?:textarea|input|select)$/i,Fa=/^([^\.]*)?(?:\.(.+))?$/,nb=/\bhover(\.\S+)?\b/,ob=/^key/,pb=/^(?:mouse|contextmenu)|click/,Ga=/^(?:focusinfocus|focusoutblur)$/,qb=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,rb=function(a){a=qb.exec(a);return a&&(a[1]=(a[1]||"").toLowerCase(),a[3]=a[3]&&RegExp("(?:^|\\s)"+a[3]+"(?:\\s|$)")),a},
Ha=function(a){return d.event.special.hover?a:a.replace(nb,"mouseenter$1 mouseleave$1")};d.event={add:function(a,b,i,g,l){var f,e,h,j,k,m,o,s,t,n;if(!(a.nodeType===3||a.nodeType===8||!b||!i||!(f=d._data(a)))){i.handler&&(s=i,i=s.handler);i.guid||(i.guid=d.guid++);h=f.events;h||(f.events=h={});e=f.handle;e||(f.handle=e=function(a){return typeof d=="undefined"||a&&d.event.triggered===a.type?c:d.event.dispatch.apply(e.elem,arguments)},e.elem=a);b=d.trim(Ha(b)).split(" ");for(f=0;f<b.length;f++){j=Fa.exec(b[f])||
[];k=j[1];m=(j[2]||"").split(".").sort();n=d.event.special[k]||{};k=(l?n.delegateType:n.bindType)||k;n=d.event.special[k]||{};o=d.extend({type:k,origType:j[1],data:g,handler:i,guid:i.guid,selector:l,quick:rb(l),namespace:m.join(".")},s);t=h[k];if(!t&&(t=h[k]=[],t.delegateCount=0,!n.setup||n.setup.call(a,g,m,e)===!1))a.addEventListener?a.addEventListener(k,e,!1):a.attachEvent&&a.attachEvent("on"+k,e);n.add&&(n.add.call(a,o),o.handler.guid||(o.handler.guid=i.guid));l?t.splice(t.delegateCount++,0,o):
t.push(o);d.event.global[k]=!0}a=null}},global:{},remove:function(a,b,c,g,l){var f=d.hasData(a)&&d._data(a),e,h,j,k,m,o,n,t,p,A,q,r;if(f&&(t=f.events)){b=d.trim(Ha(b||"")).split(" ");for(e=0;e<b.length;e++)if(h=Fa.exec(b[e])||[],j=k=h[1],m=h[2],j){p=d.event.special[j]||{};j=(g?p.delegateType:p.bindType)||j;q=t[j]||[];o=q.length;m=m?RegExp("(^|\\.)"+m.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(n=0;n<q.length;n++)r=q[n],(l||k===r.origType)&&(!c||c.guid===r.guid)&&(!m||m.test(r.namespace))&&
(!g||g===r.selector||g==="**"&&r.selector)&&(q.splice(n--,1),r.selector&&q.delegateCount--,p.remove&&p.remove.call(a,r));q.length===0&&o!==q.length&&((!p.teardown||p.teardown.call(a,m)===!1)&&d.removeEvent(a,j,f.handle),delete t[j])}else for(j in t)d.event.remove(a,j+b[e],c,g,!0);d.isEmptyObject(t)&&(A=f.handle,A&&(A.elem=null),d.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(a,b,i,g){if(!i||i.nodeType!==3&&i.nodeType!==8){var l=a.type||
a,f=[],h,j,k,m,n,o,p;if(!Ga.test(l+d.event.triggered)&&(l.indexOf("!")>=0&&(l=l.slice(0,-1),h=!0),l.indexOf(".")>=0&&(f=l.split("."),l=f.shift(),f.sort()),i&&!d.event.customEvent[l]||d.event.global[l]))if(a=typeof a=="object"?a[d.expando]?a:new d.Event(l,a):new d.Event(l),a.type=l,a.isTrigger=!0,a.exclusive=h,a.namespace=f.join("."),a.namespace_re=a.namespace?RegExp("(^|\\.)"+f.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,f=l.indexOf(":")<0?"on"+l:"",i){if(a.result=c,a.target||(a.target=i),b=b!=null?d.makeArray(b):
[],b.unshift(a),h=d.event.special[l]||{},!(h.trigger&&h.trigger.apply(i,b)===!1)){o=[[i,h.bindType||l]];if(!g&&!h.noBubble&&!d.isWindow(i)){for(p=h.delegateType||l,k=Ga.test(p+l)?i:i.parentNode,m=null;k;k=k.parentNode)o.push([k,p]),m=k;m&&m===i.ownerDocument&&o.push([m.defaultView||m.parentWindow||e,p])}for(j=0;j<o.length&&!a.isPropagationStopped();j++)k=o[j][0],a.type=o[j][1],n=(d._data(k,"events")||{})[a.type]&&d._data(k,"handle"),n&&n.apply(k,b),n=f&&k[f],n&&d.acceptData(k)&&n.apply(k,b)===!1&&
a.preventDefault();return a.type=l,!g&&!a.isDefaultPrevented()&&(!h._default||h._default.apply(i.ownerDocument,b)===!1)&&(l!=="click"||!d.nodeName(i,"a"))&&d.acceptData(i)&&f&&i[l]&&(l!=="focus"&&l!=="blur"||a.target.offsetWidth!==0)&&!d.isWindow(i)&&(m=i[f],m&&(i[f]=null),d.event.triggered=l,i[l](),d.event.triggered=c,m&&(i[f]=m)),a.result}}else for(j in i=d.cache,i)i[j].events&&i[j].events[l]&&d.event.trigger(a,b,i[j].handle.elem,!0)}},dispatch:function(a){var a=d.event.fix(a||e.event),b=(d._data(this,
"events")||{})[a.type]||[],i=b.delegateCount,g=[].slice.call(arguments,0),f=!a.exclusive&&!a.namespace,h=[],j,k,m,n,p,o,s,t,q;g[0]=a;a.delegateTarget=this;if(i&&!a.target.disabled&&(!a.button||a.type!=="click")){m=d(this);m.context=this.ownerDocument||this;for(k=a.target;k!=this;k=k.parentNode||this){p={};s=[];m[0]=k;for(j=0;j<i;j++){t=b[j];q=t.selector;if(p[q]===c){var A=p,r=q,B;if(t.quick){B=t.quick;var v=k.attributes||{};B=(!B[1]||k.nodeName.toLowerCase()===B[1])&&(!B[2]||(v.id||{}).value===B[2])&&
(!B[3]||B[3].test((v["class"]||{}).value))}else B=m.is(q);A[r]=B}p[q]&&s.push(t)}s.length&&h.push({elem:k,matches:s})}}b.length>i&&h.push({elem:this,matches:b.slice(i)});for(j=0;j<h.length&&!a.isPropagationStopped();j++){o=h[j];a.currentTarget=o.elem;for(b=0;b<o.matches.length&&!a.isImmediatePropagationStopped();b++)if(t=o.matches[b],f||!a.namespace&&!t.namespace||a.namespace_re&&a.namespace_re.test(t.namespace))a.data=t.data,a.handleObj=t,n=((d.event.special[t.origType]||{}).handle||t.handler).apply(o.elem,
g),n!==c&&(a.result=n,n===!1&&(a.preventDefault(),a.stopPropagation()))}return a.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){return a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode),a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
filter:function(a,b){var d,g,f,e=b.button,h=b.fromElement;return a.pageX==null&&b.clientX!=null&&(d=a.target.ownerDocument||p,g=d.documentElement,f=d.body,a.pageX=b.clientX+(g&&g.scrollLeft||f&&f.scrollLeft||0)-(g&&g.clientLeft||f&&f.clientLeft||0),a.pageY=b.clientY+(g&&g.scrollTop||f&&f.scrollTop||0)-(g&&g.clientTop||f&&f.clientTop||0)),!a.relatedTarget&&h&&(a.relatedTarget=h===a.target?b.toElement:h),!a.which&&e!==c&&(a.which=e&1?1:e&2?3:e&4?2:0),a}},fix:function(a){if(a[d.expando])return a;var b,
i,g=a,f=d.event.fixHooks[a.type]||{},e=f.props?this.props.concat(f.props):this.props,a=d.Event(g);for(b=e.length;b;)i=e[--b],a[i]=g[i];return a.target||(a.target=g.srcElement||p),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===c&&(a.metaKey=a.ctrlKey),f.filter?f.filter(a,g):a},special:{ready:{setup:d.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){d.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,
b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,g){a=d.extend(new d.Event,c,{type:a,isSimulated:!0,originalEvent:{}});g?d.event.trigger(a,null,b):d.event.dispatch.call(b,a);a.isDefaultPrevented()&&c.preventDefault()}};d.event.handle=d.event.dispatch;d.removeEvent=p.removeEventListener?function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d,!1)}:function(a,b,d){a.detachEvent&&a.detachEvent("on"+b,d)};d.Event=function(a,b){if(this instanceof d.Event)a&&a.type?
(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?k:n):this.type=a,b&&d.extend(this,b),this.timeStamp=a&&a.timeStamp||d.now(),this[d.expando]=!0;else return new d.Event(a,b)};d.Event.prototype={preventDefault:function(){this.isDefaultPrevented=k;var a=this.originalEvent;if(a)a.preventDefault?a.preventDefault():a.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=k;var a=this.originalEvent;
if(a)a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=k;this.stopPropagation()},isDefaultPrevented:n,isPropagationStopped:n,isImmediatePropagationStopped:n};d.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){d.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=a.relatedTarget,f=a.handleObj,e;if(!c||c!==this&&!d.contains(this,c))a.type=f.origType,e=f.handler.apply(this,arguments),a.type=
b;return e}}});d.support.submitBubbles||(d.event.special.submit={setup:function(){if(d.nodeName(this,"form"))return!1;d.event.add(this,"click._submit keypress._submit",function(a){a=a.target;(a=d.nodeName(a,"input")||d.nodeName(a,"button")?a.form:c)&&!a._submit_attached&&(d.event.add(a,"submit._submit",function(a){this.parentNode&&!a.isTrigger&&d.event.simulate("submit",this.parentNode,a,!0)}),a._submit_attached=!0)})},teardown:function(){if(d.nodeName(this,"form"))return!1;d.event.remove(this,"._submit")}});
d.support.changeBubbles||(d.event.special.change={setup:function(){if(ma.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")d.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),d.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,d.event.simulate("change",this,a,!0))});return!1}d.event.add(this,"beforeactivate._change",function(a){a=a.target;ma.test(a.nodeName)&&!a._change_attached&&
(d.event.add(a,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&d.event.simulate("change",this.parentNode,a,!0)}),a._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){return d.event.remove(this,"._change"),ma.test(this.nodeName)}});d.support.focusinBubbles||d.each({focus:"focusin",blur:"focusout"},function(a,b){var c=
0,g=function(a){d.event.simulate(b,a.target,d.event.fix(a),!0)};d.event.special[b]={setup:function(){c++===0&&p.addEventListener(a,g,!0)},teardown:function(){--c===0&&p.removeEventListener(a,g,!0)}}});d.fn.extend({on:function(a,b,i,g,f){var e,h;if(typeof a=="object"){typeof b!="string"&&(i=b,b=c);for(h in a)this.on(h,b,i,a[h],f);return this}i==null&&g==null?(g=b,i=b=c):g==null&&(typeof b=="string"?(g=i,i=c):(g=i,i=b,b=c));if(g===!1)g=n;else if(!g)return this;return f===1&&(e=g,g=function(a){return d().off(a),
e.apply(this,arguments)},g.guid=e.guid||(e.guid=d.guid++)),this.each(function(){d.event.add(this,a,g,i,b)})},one:function(a,b,d,c){return this.on.call(this,a,b,d,c,1)},off:function(a,b,i){if(a&&a.preventDefault&&a.handleObj){var g=a.handleObj;return d(a.delegateTarget).off(g.namespace?g.type+"."+g.namespace:g.type,g.selector,g.handler),this}if(typeof a=="object"){for(g in a)this.off(g,b,a[g]);return this}if(b===!1||typeof b=="function")i=b,b=c;return i===!1&&(i=n),this.each(function(){d.event.remove(this,
a,i,b)})},bind:function(a,b,d){return this.on(a,null,b,d)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){return d(this.context).on(a,this.selector,b,c),this},die:function(a,b){return d(this.context).off(a,this.selector||"**",b),this},delegate:function(a,b,d,c){return this.on(b,a,d,c)},undelegate:function(a,b,d){return arguments.length==1?this.off(a,"**"):this.off(b,a,d)},trigger:function(a,b){return this.each(function(){d.event.trigger(a,b,this)})},triggerHandler:function(a,
b){if(this[0])return d.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||d.guid++,g=0,f=function(c){var i=(d._data(this,"lastToggle"+a.guid)||0)%g;return d._data(this,"lastToggle"+a.guid,i+1),c.preventDefault(),b[i].apply(this,arguments)||!1};for(f.guid=c;g<b.length;)b[g++].guid=c;return this.click(f)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});d.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),
function(a,b){d.fn[b]=function(a,d){return d==null&&(d=a,a=null),arguments.length>0?this.on(b,null,a,d):this.trigger(b)};d.attrFn&&(d.attrFn[b]=!0);ob.test(b)&&(d.event.fixHooks[b]=d.event.keyHooks);pb.test(b)&&(d.event.fixHooks[b]=d.event.mouseHooks)});(function(){function a(a,b,d,c,i,f){for(var i=0,l=c.length;i<l;i++){var e=c[i];if(e){for(var h=!1,e=e[a];e;){if(e[g]===d){h=c[e.sizset];break}e.nodeType===1&&!f&&(e[g]=d,e.sizset=i);if(e.nodeName.toLowerCase()===b){h=e;break}e=e[a]}c[i]=h}}}function b(a,
b,d,c,i,f){for(var i=0,l=c.length;i<l;i++){var e=c[i];if(e){for(var h=!1,e=e[a];e;){if(e[g]===d){h=c[e.sizset];break}if(e.nodeType===1)if(f||(e[g]=d,e.sizset=i),typeof b!="string"){if(e===b){h=!0;break}}else if(o.filter(b,[e]).length>0){h=e;break}e=e[a]}c[i]=h}}}var i=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,g="sizcache"+(Math.random()+"").replace(".",""),f=0,e=Object.prototype.toString,h=!1,j=!0,k=/\\/g,
m=/\r\n/g,n=/\W/;[0,0].sort(function(){return j=!1,0});var o=function(a,b,d,c){d=d||[];b=b||p;var g=b;if(b.nodeType!==1&&b.nodeType!==9)return[];if(!a||typeof a!="string")return d;var f,l,h,j,k,G,m,E=!0,n=o.isXML(b),s=[],r=a;do if(i.exec(""),f=i.exec(r),f&&(r=f[3],s.push(f[1]),f[2])){j=f[3];break}while(f);if(s.length>1&&q.exec(a))if(s.length===2&&t.relative[s[0]])l=x(s[0]+s[1],b,c);else for(l=t.relative[s[0]]?[b]:o(s.shift(),b);s.length;)a=s.shift(),t.relative[a]&&(a+=s.shift()),l=x(a,l,c);else if(!c&&
s.length>1&&b.nodeType===9&&!n&&t.match.ID.test(s[0])&&!t.match.ID.test(s[s.length-1])&&(k=o.find(s.shift(),b,n),b=k.expr?o.filter(k.expr,k.set)[0]:k.set[0]),b)for(k=c?{expr:s.pop(),set:B(c)}:o.find(s.pop(),s.length!==1||s[0]!=="~"&&s[0]!=="+"||!b.parentNode?b:b.parentNode,n),l=k.expr?o.filter(k.expr,k.set):k.set,s.length>0?h=B(l):E=!1;s.length;)G=s.pop(),m=G,t.relative[G]?m=s.pop():G="",m==null&&(m=b),t.relative[G](h,m,n);else h=[];h||(h=l);h||o.error(G||a);if(e.call(h)==="[object Array]")if(E)if(b&&
b.nodeType===1)for(a=0;h[a]!=null;a++)h[a]&&(h[a]===!0||h[a].nodeType===1&&o.contains(b,h[a]))&&d.push(l[a]);else for(a=0;h[a]!=null;a++)h[a]&&h[a].nodeType===1&&d.push(l[a]);else d.push.apply(d,h);else B(h,d);return j&&(o(j,g,d,c),o.uniqueSort(d)),d};o.uniqueSort=function(a){if(w&&(h=j,a.sort(w),h))for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1);return a};o.matches=function(a,b){return o(a,null,null,b)};o.matchesSelector=function(a,b){return o(b,null,null,[a]).length>0};o.find=function(a,
b,d){var c,i,g,f,l,e;if(!a)return[];for(i=0,g=t.order.length;i<g;i++)if(l=t.order[i],f=t.leftMatch[l].exec(a))if(e=f[1],f.splice(1,1),e.substr(e.length-1)!=="\\"&&(f[1]=(f[1]||"").replace(k,""),c=t.find[l](f,b,d),c!=null)){a=a.replace(t.match[l],"");break}return c||(c=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]),{set:c,expr:a}};o.filter=function(a,b,d,i){for(var g,f,l,e,h,j,u,k,G=a,m=[],E=b,n=b&&b[0]&&o.isXML(b[0]);a&&b.length;){for(l in t.filter)if((g=t.leftMatch[l].exec(a))!=
null&&g[2])if(j=t.filter[l],h=g[1],f=!1,g.splice(1,1),h.substr(h.length-1)!=="\\"){E===m&&(m=[]);if(t.preFilter[l])if(g=t.preFilter[l](g,E,d,m,i,n)){if(g===!0)continue}else f=e=!0;if(g)for(u=0;(h=E[u])!=null;u++)h&&(e=j(h,g,u,E),k=i^e,d&&e!=null?k?f=!0:E[u]=!1:k&&(m.push(h),f=!0));if(e!==c){d||(E=m);a=a.replace(t.match[l],"");if(!f)return[];break}}if(a===G)if(f==null)o.error(a);else break;G=a}return E};o.error=function(a){throw Error("Syntax error, unrecognized expression: "+a);};var s=o.getText=
function(a){var b,d;b=a.nodeType;var c="";if(b)if(b===1||b===9){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(m,"");for(a=a.firstChild;a;a=a.nextSibling)c+=s(a)}else{if(b===3||b===4)return a.nodeValue}else for(b=0;d=a[b];b++)d.nodeType!==8&&(c+=s(d));return c},t=o.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,
ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},
type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var d=typeof b=="string",c=d&&!n.test(b),d=d&&!c;c&&(b=b.toLowerCase());for(var c=0,i=a.length,g;c<i;c++)if(g=a[c]){for(;(g=g.previousSibling)&&g.nodeType!==1;);a[c]=d||g&&g.nodeName.toLowerCase()===b?g||!1:g===b}d&&o.filter(b,a,!0)},">":function(a,b){var d,c=typeof b=="string",i=0,g=a.length;if(c&&!n.test(b))for(b=b.toLowerCase();i<g;i++){if(d=a[i])d=d.parentNode,a[i]=d.nodeName.toLowerCase()===b?d:!1}else{for(;i<g;i++)d=
a[i],d&&(a[i]=c?d.parentNode:d.parentNode===b);c&&o.filter(b,a,!0)}},"":function(d,c,i){var g,e=f++,h=b;typeof c=="string"&&!n.test(c)&&(c=c.toLowerCase(),g=c,h=a);h("parentNode",c,e,d,g,i)},"~":function(d,c,i){var g,e=f++,h=b;typeof c=="string"&&!n.test(c)&&(c=c.toLowerCase(),g=c,h=a);h("previousSibling",c,e,d,g,i)}},find:{ID:function(a,b,d){if(typeof b.getElementById!="undefined"&&!d)return(a=b.getElementById(a[1]))&&a.parentNode?[a]:[]},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){for(var d=
[],c=b.getElementsByName(a[1]),i=0,g=c.length;i<g;i++)c[i].getAttribute("name")===a[1]&&d.push(c[i]);return d.length===0?null:d}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,d,c,i,g){a=" "+a[1].replace(k,"")+" ";if(g)return a;for(var g=0,f;(f=b[g])!=null;g++)f&&(i^(f.className&&(" "+f.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?d||c.push(f):d&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(k,
"")},TAG:function(a){return a[1].replace(k,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||o.error(a[0]);a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0;a[3]=b[3]-0}else a[2]&&o.error(a[0]);return a[0]=f++,a},ATTR:function(a,b,d,c,i,g){b=a[1]=a[1].replace(k,"");return!g&&t.attrMap[b]&&(a[1]=t.attrMap[b]),a[4]=(a[4]||a[5]||"").replace(k,""),a[2]==="~="&&(a[4]=" "+
a[4]+" "),a},PSEUDO:function(a,b,d,c,g){if(a[1]==="not")if((i.exec(a[3])||"").length>1||/^\w/.test(a[3]))a[3]=o(a[3],null,null,b);else return a=o.filter(a[3],b,d,1^g),d||c.push.apply(c,a),!1;else if(t.match.POS.test(a[0])||t.match.CHILD.test(a[0]))return!0;return a},POS:function(a){return a.unshift(!0),a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){return a.selected===
!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,d){return!!o(d[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),d=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===d&&(b===d||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()===
"input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},
focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,d,c){return b===c.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,d){return b<d[3]-0},gt:function(a,b,d){return b>d[3]-0},nth:function(a,b,d){return d[3]-0===b},eq:function(a,b,d){return d[3]-0===b}},filter:{PSEUDO:function(a,b,d,c){var i=b[1],g=t.filters[i];if(g)return g(a,d,b,c);if(i==="contains")return(a.textContent||a.innerText||
s([a])||"").indexOf(b[3])>=0;if(i==="not"){b=b[3];d=0;for(c=b.length;d<c;d++)if(b[d]===a)return!1;return!0}o.error(i)},CHILD:function(a,b){var d,c,i,f,l,e;d=b[1];var h=a;switch(d){case "only":case "first":for(;h=h.previousSibling;)if(h.nodeType===1)return!1;if(d==="first")return!0;h=a;case "last":for(;h=h.nextSibling;)if(h.nodeType===1)return!1;return!0;case "nth":d=b[2];c=b[3];if(d===1&&c===0)return!0;i=b[0];f=a.parentNode;if(f&&(f[g]!==i||!a.nodeIndex)){l=0;for(h=f.firstChild;h;h=h.nextSibling)h.nodeType===
1&&(h.nodeIndex=++l);f[g]=i}return e=a.nodeIndex-c,d===0?e===0:e%d===0&&e/d>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var d=b[1],d=o.attr?o.attr(a,d):t.attrHandle[d]?t.attrHandle[d](a):a[d]!=null?a[d]:a.getAttribute(d),c=d+"",i=b[2],g=b[4];return d==null?i==="!=":!i&&o.attr?
d!=null:i==="="?c===g:i==="*="?c.indexOf(g)>=0:i==="~="?(" "+c+" ").indexOf(g)>=0:g?i==="!="?c!==g:i==="^="?c.indexOf(g)===0:i==="$="?c.substr(c.length-g.length)===g:i==="|="?c===g||c.substr(0,g.length+1)===g+"-":!1:c&&d!==!1},POS:function(a,b,d,c){var i=t.setFilters[b[2]];if(i)return i(a,d,b,c)}}},q=t.match.POS,A=function(a,b){return"\\"+(b-0+1)},r;for(r in t.match)t.match[r]=RegExp(t.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),t.leftMatch[r]=RegExp(/(^(?:.|\r|\n)*?)/.source+t.match[r].source.replace(/\\(\d+)/g,
A));var B=function(a,b){return a=Array.prototype.slice.call(a,0),b?(b.push.apply(b,a),b):a};try{Array.prototype.slice.call(p.documentElement.childNodes,0)}catch(v){B=function(a,b){var d=0,c=b||[];if(e.call(a)==="[object Array]")Array.prototype.push.apply(c,a);else if(typeof a.length=="number")for(var i=a.length;d<i;d++)c.push(a[d]);else for(;a[d];d++)c.push(a[d]);return c}}var w,z;p.documentElement.compareDocumentPosition?w=function(a,b){return a===b?(h=!0,0):!a.compareDocumentPosition||!b.compareDocumentPosition?
a.compareDocumentPosition?-1:1:a.compareDocumentPosition(b)&4?-1:1}:(w=function(a,b){if(a===b)return h=!0,0;if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var d,c,i=[],g=[];d=a.parentNode;c=b.parentNode;var f=d;if(d===c)return z(a,b);if(!d)return-1;if(!c)return 1;for(;f;)i.unshift(f),f=f.parentNode;for(f=c;f;)g.unshift(f),f=f.parentNode;d=i.length;c=g.length;for(f=0;f<d&&f<c;f++)if(i[f]!==g[f])return z(i[f],g[f]);return f===d?z(a,g[f],-1):z(i[f],b,1)},z=function(a,b,d){if(a===
b)return d;for(a=a.nextSibling;a;){if(a===b)return-1;a=a.nextSibling}return 1});(function(){var a=p.createElement("div"),b="script"+(new Date).getTime(),d=p.documentElement;a.innerHTML="<a name='"+b+"'/>";d.insertBefore(a,d.firstChild);p.getElementById(b)&&(t.find.ID=function(a,b,d){if(typeof b.getElementById!="undefined"&&!d)return(b=b.getElementById(a[1]))?b.id===a[1]||typeof b.getAttributeNode!="undefined"&&b.getAttributeNode("id").nodeValue===a[1]?[b]:c:[]},t.filter.ID=function(a,b){var d=typeof a.getAttributeNode!=
"undefined"&&a.getAttributeNode("id");return a.nodeType===1&&d&&d.nodeValue===b});d.removeChild(a);d=a=null})();(function(){var a=p.createElement("div");a.appendChild(p.createComment(""));a.getElementsByTagName("*").length>0&&(t.find.TAG=function(a,b){var d=b.getElementsByTagName(a[1]);if(a[1]==="*"){for(var c=[],i=0;d[i];i++)d[i].nodeType===1&&c.push(d[i]);d=c}return d});a.innerHTML="<a href='#'></a>";a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!==
"#"&&(t.attrHandle.href=function(a){return a.getAttribute("href",2)});a=null})();p.querySelectorAll&&function(){var a=o,b=p.createElement("div");b.innerHTML="<p class='TEST'></p>";if(!(b.querySelectorAll&&b.querySelectorAll(".TEST").length===0)){o=function(b,d,c,i){d=d||p;if(!i&&!o.isXML(d)){var g=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(g&&(d.nodeType===1||d.nodeType===9)){if(g[1])return B(d.getElementsByTagName(b),c);if(g[2]&&t.find.CLASS&&d.getElementsByClassName)return B(d.getElementsByClassName(g[2]),
c)}if(d.nodeType===9){if(b==="body"&&d.body)return B([d.body],c);if(g&&g[3]){var f=d.getElementById(g[3]);if(!f||!f.parentNode)return B([],c);if(f.id===g[3])return B([f],c)}try{return B(d.querySelectorAll(b),c)}catch(l){}}else if(d.nodeType===1&&d.nodeName.toLowerCase()!=="object"){var g=d,e=(f=d.getAttribute("id"))||"__sizzle__",h=d.parentNode,j=/^\s*[+~]/.test(b);f?e=e.replace(/'/g,"\\$&"):d.setAttribute("id",e);j&&h&&(d=d.parentNode);try{if(!j||h)return B(d.querySelectorAll("[id='"+e+"'] "+b),
c)}catch(u){}finally{f||g.removeAttribute("id")}}}return a(b,d,c,i)};for(var d in a)o[d]=a[d];b=null}}();(function(){var a=p.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(p.createElement("div"),"div"),c=!1;try{b.call(p.documentElement,"[test!='']:sizzle")}catch(i){c=!0}o.matchesSelector=function(a,i){i=i.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!o.isXML(a))try{if(c||!t.match.PSEUDO.test(i)&&!/!=/.test(i)){var g=b.call(a,
i);if(g||!d||a.document&&a.document.nodeType!==11)return g}}catch(f){}return o(i,null,null,[a]).length>0}}})();(function(){var a=p.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0&&(a.lastChild.className="e",a.getElementsByClassName("e").length!==1))t.order.splice(1,0,"CLASS"),t.find.CLASS=function(a,b,d){if(typeof b.getElementsByClassName!="undefined"&&!d)return b.getElementsByClassName(a[1])},
a=null})();p.documentElement.contains?o.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:p.documentElement.compareDocumentPosition?o.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:o.contains=function(){return!1};o.isXML=function(a){return(a=(a?a.ownerDocument||a:0).documentElement)?a.nodeName!=="HTML":!1};var x=function(a,b,d){for(var c,i=[],g="",b=b.nodeType?[b]:b;c=t.match.PSEUDO.exec(a);)g+=c[0],a=a.replace(t.match.PSEUDO,"");a=t.relative[a]?a+"*":a;c=0;for(var f=
b.length;c<f;c++)o(a,b[c],i,d);return o.filter(g,i)};o.attr=d.attr;o.selectors.attrMap={};d.find=o;d.expr=o.selectors;d.expr[":"]=d.expr.filters;d.unique=o.uniqueSort;d.text=o.getText;d.isXMLDoc=o.isXML;d.contains=o.contains})();var sb=/Until$/,tb=/^(?:parents|prevUntil|prevAll)/,ub=/,/,ab=/^.[^:#\[\.,]*$/,vb=Array.prototype.slice,Ia=d.expr.match.POS,wb={children:!0,contents:!0,next:!0,prev:!0};d.fn.extend({find:function(a){var b=this,c,g;if(typeof a!="string")return d(a).filter(function(){for(c=
0,g=b.length;c<g;c++)if(d.contains(b[c],this))return!0});var f=this.pushStack("","find",a),e,h,j;for(c=0,g=this.length;c<g;c++)if(e=f.length,d.find(a,this[c],f),c>0)for(h=e;h<f.length;h++)for(j=0;j<e;j++)if(f[j]===f[h]){f.splice(h--,1);break}return f},has:function(a){var b=d(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(d.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(h(this,a,!1),"not",a)},filter:function(a){return this.pushStack(h(this,a,!0),"filter",
a)},is:function(a){return!!a&&(typeof a=="string"?Ia.test(a)?d(a,this.context).index(this[0])>=0:d.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],g,f,e=this[0];if(d.isArray(a)){for(f=1;e&&e.ownerDocument&&e!==b;){for(g=0;g<a.length;g++)d(e).is(a[g])&&c.push({selector:a[g],elem:e,level:f});e=e.parentNode;f++}return c}var h=Ia.test(a)||typeof a!="string"?d(a,b||this.context):0;for(g=0,f=this.length;g<f;g++)for(e=this[g];e;){if(h?h.index(e)>-1:d.find.matchesSelector(e,
a)){c.push(e);break}e=e.parentNode;if(!e||!e.ownerDocument||e===b||e.nodeType===11)break}return c=c.length>1?d.unique(c):c,this.pushStack(c,"closest",a)},index:function(a){return a?typeof a=="string"?d.inArray(this[0],d(a)):d.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(a,b){var c=typeof a=="string"?d(a,b):d.makeArray(a&&a.nodeType?[a]:a),g=d.merge(this.get(),c);return this.pushStack(!c[0]||!c[0].parentNode||c[0].parentNode.nodeType===11||!g[0]||
!g[0].parentNode||g[0].parentNode.nodeType===11?g:d.unique(g))},andSelf:function(){return this.add(this.prevObject)}});d.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return d.nth(a,2,"nextSibling")},prev:function(a){return d.nth(a,2,"previousSibling")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},
nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling",c)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(c,g){var f=d.map(this,b,c);return sb.test(a)||(g=c),g&&typeof g=="string"&&(f=d.filter(g,f)),f=this.length>
1&&!wb[a]?d.unique(f):f,(this.length>1||ub.test(g))&&tb.test(a)&&(f=f.reverse()),this.pushStack(f,a,vb.call(arguments).join(","))}});d.extend({filter:function(a,b,c){return c&&(a=":not("+a+")"),b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,b,i){for(var g=[],a=a[b];a&&a.nodeType!==9&&(i===c||a.nodeType!==1||!d(a).is(i));)a.nodeType===1&&g.push(a),a=a[b];return g},nth:function(a,b,d){for(var b=b||1,c=0;a;a=a[d])if(a.nodeType===1&&++c===b)break;return a},sibling:function(a,
b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var va="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",xb=/ jQuery\d+="(?:\d+|null)"/g,na=/^\s+/,Ja=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Ka=/<([\w:]+)/,yb=/<tbody/i,zb=/<|&#?\w+;/,Ab=/<(?:script|style)/i,Bb=/<(?:script|object|embed|option|style)/i,La=RegExp("<(?:"+va+")","i"),Ma=/checked\s*(?:[^=]|=\s*.checked.)/i,
Cb=/\/(java|ecma)script/i,bb=/^\s*<!(?:\[CDATA\[|\-\-)/,H={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,"",""]},Na=A(p);H.optgroup=H.option;H.tbody=H.tfoot=H.colgroup=H.caption=H.thead;H.th=H.td;d.support.htmlSerialize||(H._default=
[1,"div<div>","</div>"]);d.fn.extend({text:function(a){return d.isFunction(a)?this.each(function(b){var c=d(this);c.text(a.call(this,b,c.text()))}):typeof a!="object"&&a!==c?this.empty().append((this[0]&&this[0].ownerDocument||p).createTextNode(a)):d.text(this)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapAll(a.call(this,b))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var a=this;a.firstChild&&
a.firstChild.nodeType===1;)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return d.isFunction(a)?this.each(function(b){d(this).wrapInner(a.call(this,b))}):this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=d.isFunction(a);return this.each(function(c){d(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()},
append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=d.clean(arguments);return a.push.apply(a,this.toArray()),this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&
this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);return a.push.apply(a,d.clean(arguments)),a}},remove:function(a,b){for(var c=0,g;(g=this[c])!=null;c++)if(!a||d.filter(a,[g]).length)!b&&g.nodeType===1&&(d.cleanData(g.getElementsByTagName("*")),d.cleanData([g])),g.parentNode&&g.parentNode.removeChild(g);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===
1&&d.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild);return this},clone:function(a,b){return a=a==null?!1:a,b=b==null?a:b,this.map(function(){return d.clone(this,a,b)})},html:function(a){if(a===c)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(xb,""):null;if(typeof a=="string"&&!Ab.test(a)&&(d.support.leadingWhitespace||!na.test(a))&&!H[(Ka.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ja,"<$1></$2>");try{for(var b=0,f=this.length;b<f;b++)this[b].nodeType===
1&&(d.cleanData(this[b].getElementsByTagName("*")),this[b].innerHTML=a)}catch(g){this.empty().append(a)}}else d.isFunction(a)?this.each(function(b){var c=d(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){return this[0]&&this[0].parentNode?d.isFunction(a)?this.each(function(b){var c=d(this),g=c.html();c.replaceWith(a.call(this,b,g))}):(typeof a!="string"&&(a=d(a).detach()),this.each(function(){var b=this.nextSibling,c=this.parentNode;d(this).remove();
b?d(b).before(a):d(c).append(a)})):this.length?this.pushStack(d(d.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,b,f){var g,e,h,j,k=a[0],m=[];if(!d.support.checkClone&&arguments.length===3&&typeof k=="string"&&Ma.test(k))return this.each(function(){d(this).domManip(a,b,f,!0)});if(d.isFunction(k))return this.each(function(g){var e=d(this);a[0]=k.call(this,g,b?e.html():c);e.domManip(a,b,f)});if(this[0]){j=k&&k.parentNode;d.support.parentNode&&
j&&j.nodeType===11&&j.childNodes.length===this.length?g={fragment:j}:g=d.buildFragment(a,this,m);h=g.fragment;h.childNodes.length===1?e=h=h.firstChild:e=h.firstChild;if(e){b=b&&d.nodeName(e,"tr");e=0;j=this.length;for(var n=j-1;e<j;e++)f.call(b?d.nodeName(this[e],"table")?this[e].getElementsByTagName("tbody")[0]||this[e].appendChild(this[e].ownerDocument.createElement("tbody")):this[e]:this[e],g.cacheable||j>1&&e<n?d.clone(h,!0,!0):h)}m.length&&d.each(m,Ya)}return this}});d.buildFragment=function(a,
b,c){var g,f,e,h,j=a[0];return b&&b[0]&&(h=b[0].ownerDocument||b[0]),h.createDocumentFragment||(h=p),a.length===1&&typeof j=="string"&&j.length<512&&h===p&&j.charAt(0)==="<"&&!Bb.test(j)&&(d.support.checkClone||!Ma.test(j))&&(d.support.html5Clone||!La.test(j))&&(f=!0,e=d.fragments[j],e&&e!==1&&(g=e)),g||(g=h.createDocumentFragment(),d.clean(a,h,g,c)),f&&(d.fragments[j]=e?g:1),{fragment:g,cacheable:f}};d.fragments={};d.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",
replaceAll:"replaceWith"},function(a,b){d.fn[a]=function(c){var g=[],c=d(c),f=this.length===1&&this[0].parentNode;if(f&&f.nodeType===11&&f.childNodes.length===1&&c.length===1)return c[b](this[0]),this;for(var f=0,e=c.length;f<e;f++){var h=(f>0?this.clone(!0):this).get();d(c[f])[b](h);g=g.concat(h)}return this.pushStack(g,a,c.selector)}});d.extend({clone:function(a,b,c){var g,e,h;d.support.html5Clone||!La.test("<"+a.nodeName)?g=a.cloneNode(!0):(g=p.createElement("div"),g=(Na.appendChild(g),g.innerHTML=
a.outerHTML,g.firstChild));var j=g;if((!d.support.noCloneEvent||!d.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){f(a,j);g=v(a);e=v(j);for(h=0;g[h];++h)e[h]&&f(g[h],e[h])}if(b&&(B(a,j),c)){g=v(a);e=v(j);for(h=0;g[h];++h)B(g[h],e[h])}return j},clean:function(a,b,c,f){b=b||p;typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||p);for(var e=[],h,j=0,k;(k=a[j])!=null;j++)if(typeof k=="number"&&(k+=""),k){if(typeof k=="string")if(zb.test(k)){k=
k.replace(Ja,"<$1></$2>");h=(Ka.exec(k)||["",""])[1].toLowerCase();var m=H[h]||H._default,n=m[0],q=b.createElement("div");for(b===p?Na.appendChild(q):A(b).appendChild(q),q.innerHTML=m[1]+k+m[2];n--;)q=q.lastChild;if(!d.support.tbody){n=yb.test(k);m=h==="table"&&!n?q.firstChild&&q.firstChild.childNodes:m[1]==="<table>"&&!n?q.childNodes:[];for(h=m.length-1;h>=0;--h)d.nodeName(m[h],"tbody")&&!m[h].childNodes.length&&m[h].parentNode.removeChild(m[h])}!d.support.leadingWhitespace&&na.test(k)&&q.insertBefore(b.createTextNode(na.exec(k)[0]),
q.firstChild);k=q.childNodes}else k=b.createTextNode(k);var o;if(!d.support.appendChecked)if(k[0]&&typeof(o=k.length)=="number")for(h=0;h<o;h++)N(k[h]);else N(k);k.nodeType?e.push(k):e=d.merge(e,k)}if(c){a=function(a){return!a.type||Cb.test(a.type)};for(j=0;e[j];j++)f&&d.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript")?f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]):(e[j].nodeType===1&&(b=d.grep(e[j].getElementsByTagName("script"),a),e.splice.apply(e,
[j+1,0].concat(b))),c.appendChild(e[j]))}return e},cleanData:function(a){for(var b,c,f=d.cache,e=d.event.special,h=d.support.deleteExpando,j=0,k;(k=a[j])!=null;j++)if(!k.nodeName||!d.noData[k.nodeName.toLowerCase()])if(c=k[d.expando]){if((b=f[c])&&b.events){for(var m in b.events)e[m]?d.event.remove(k,m):d.removeEvent(k,m,b.handle);b.handle&&(b.handle.elem=null)}h?delete k[d.expando]:k.removeAttribute&&k.removeAttribute(d.expando);delete f[c]}}});var oa=/alpha\([^)]*\)/i,Db=/opacity=([^)]*)/,Eb=/([A-Z]|^ms)/g,
Oa=/^-?\d+(?:px)?$/i,Fb=/^-?\d/,Gb=/^([\-+])=([\-+.\de]+)/,Hb={position:"absolute",visibility:"hidden",display:"block"},cb=["Left","Right"],db=["Top","Bottom"],R,Pa,Qa;d.fn.css=function(a,b){return arguments.length===2&&b===c?this:d.access(this,a,b,!0,function(a,b,f){return f!==c?d.style(a,b,f):d.css(a,b)})};d.extend({cssHooks:{opacity:{get:function(a,b){if(b){var d=R(a,"opacity","opacity");return d===""?"1":d}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,
orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":d.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,b,f,g){if(a&&!(a.nodeType===3||a.nodeType===8||!a.style)){var e,h,j=d.camelCase(b),k=a.style,m=d.cssHooks[j],b=d.cssProps[j]||j;if(f===c)return m&&"get"in m&&(e=m.get(a,!1,g))!==c?e:k[b];h=typeof f;h==="string"&&(e=Gb.exec(f))&&(f=+(e[1]+1)*+e[2]+parseFloat(d.css(a,b)),h="number");if(!(f==null||h==="number"&&isNaN(f)))if(h==="number"&&!d.cssNumber[j]&&(f+="px"),!m||!("set"in m)||
(f=m.set(a,f))!==c)try{k[b]=f}catch(n){}}},css:function(a,b,f){var g,e;b=d.camelCase(b);e=d.cssHooks[b];b=d.cssProps[b]||b;b==="cssFloat"&&(b="float");if(e&&"get"in e&&(g=e.get(a,!0,f))!==c)return g;if(R)return R(a,b)},swap:function(a,b,d){var c={},f;for(f in b)c[f]=a.style[f],a.style[f]=b[f];d.call(a);for(f in b)a.style[f]=c[f]}});d.curCSS=d.css;d.each(["height","width"],function(a,b){d.cssHooks[b]={get:function(a,c,f){var e;if(c)return a.offsetWidth!==0?O(a,b,f):(d.swap(a,Hb,function(){e=O(a,b,
f)}),e)},set:function(a,b){if(!Oa.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}});d.support.opacity||(d.cssHooks.opacity={get:function(a,b){return Db.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,f=a.currentStyle,e=d.isNumeric(b)?"alpha(opacity="+b*100+")":"",h=f&&f.filter||c.filter||"";c.zoom=1;if(b>=1&&d.trim(h.replace(oa,""))===""&&(c.removeAttribute("filter"),f&&!f.filter))return;c.filter=oa.test(h)?
h.replace(oa,e):h+" "+e}});d(function(){d.support.reliableMarginRight||(d.cssHooks.marginRight={get:function(a,b){var c;return d.swap(a,{display:"inline-block"},function(){b?c=R(a,"margin-right","marginRight"):c=a.style.marginRight}),c}})});p.defaultView&&p.defaultView.getComputedStyle&&(Pa=function(a,b){var c,f,e;return b=b.replace(Eb,"-$1").toLowerCase(),(f=a.ownerDocument.defaultView)&&(e=f.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!d.contains(a.ownerDocument.documentElement,
a)&&(c=d.style(a,b))),c});p.documentElement.currentStyle&&(Qa=function(a,b){var d,c,f,e=a.currentStyle&&a.currentStyle[b],h=a.style;return e===null&&h&&(f=h[b])&&(e=f),!Oa.test(e)&&Fb.test(e)&&(d=h.left,c=a.runtimeStyle&&a.runtimeStyle.left,c&&(a.runtimeStyle.left=a.currentStyle.left),h.left=b==="fontSize"?"1em":e||0,e=h.pixelLeft+"px",h.left=d,c&&(a.runtimeStyle.left=c)),e===""?"auto":e});R=Pa||Qa;d.expr&&d.expr.filters&&(d.expr.filters.hidden=function(a){var b=a.offsetHeight;return a.offsetWidth===
0&&b===0||!d.support.reliableHiddenOffsets&&(a.style&&a.style.display||d.css(a,"display"))==="none"},d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)});var Ib=/%20/g,eb=/\[\]$/,Ra=/\r?\n/g,Jb=/#.*$/,Kb=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Lb=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Mb=/^(?:GET|HEAD)$/,Nb=/^\/\//,Sa=/\?/,Ob=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,Pb=/^(?:select|textarea)/i,wa=/\s+/,
Qb=/([?&])_=[^&]*/,Ta=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,Ua=d.fn.load,ga={},Va={},P,K,Wa=["*/"]+["*"];try{P=gb.href}catch(Wb){P=p.createElement("a"),P.href="",P=P.href}K=Ta.exec(P.toLowerCase())||[];d.fn.extend({load:function(a,b,f){if(typeof a!="string"&&Ua)return Ua.apply(this,arguments);if(!this.length)return this;var g=a.indexOf(" ");if(g>=0)var e=a.slice(g,a.length),a=a.slice(0,g);g="GET";b&&(d.isFunction(b)?(f=b,b=c):typeof b=="object"&&(b=d.param(b,d.ajaxSettings.traditional),
g="POST"));var h=this;return d.ajax({url:a,type:g,dataType:"html",data:b,complete:function(a,b,c){c=a.responseText;a.isResolved()&&(a.done(function(a){c=a}),h.html(e?d("<div>").append(c.replace(Ob,"")).find(e):c));f&&h.each(f,[c,b,a])}}),this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||Pb.test(this.nodeName)||
Lb.test(this.type))}).map(function(a,b){var c=d(this).val();return c==null?null:d.isArray(c)?d.map(c,function(a){return{name:b.name,value:a.replace(Ra,"\r\n")}}):{name:b.name,value:c.replace(Ra,"\r\n")}}).get()}});d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){d.fn[b]=function(a){return this.on(b,a)}});d.each(["get","post"],function(a,b){d[b]=function(a,f,e,h){return d.isFunction(f)&&(h=h||e,e=f,f=c),d.ajax({type:b,url:a,data:f,success:e,dataType:h})}});
d.extend({getScript:function(a,b){return d.get(a,c,b,"script")},getJSON:function(a,b,c){return d.get(a,b,c,"json")},ajaxSetup:function(a,b){return b?y(a,d.ajaxSettings):(b=a,a=d.ajaxSettings),y(a,b),a},ajaxSettings:{url:P,isLocal:/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/.test(K[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript",
"*":Wa},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":d.parseJSON,"text xml":d.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:qa(ga),ajaxTransport:qa(Va),ajax:function(a,b){function f(a,b,i,o){if(A!==2){A=2;B&&clearTimeout(B);q=c;s=o||"";z.readyState=a>0?4:0;var p,t,r,o=b;if(i){var w=g,x=z,C=w.contents,Q=w.dataTypes,D=w.responseFields,F,y,I,H;for(y in D)y in i&&(x[D[y]]=i[y]);for(;Q[0]===
"*";)Q.shift(),F===c&&(F=w.mimeType||x.getResponseHeader("content-type"));if(F)for(y in C)if(C[y]&&C[y].test(F)){Q.unshift(y);break}if(Q[0]in i)I=Q[0];else{for(y in i){if(!Q[0]||w.converters[y+" "+Q[0]]){I=y;break}H||(H=y)}I=I||H}i=I?(I!==Q[0]&&Q.unshift(I),i[I]):void 0}else i=c;if(a>=200&&a<300||a===304){if(g.ifModified){if(F=z.getResponseHeader("Last-Modified"))d.lastModified[n]=F;if(F=z.getResponseHeader("Etag"))d.etag[n]=F}if(a===304)o="notmodified",p=!0;else try{F=g;F.dataFilter&&(i=F.dataFilter(i,
F.dataType));var N=F.dataTypes;y={};var J,L,U=N.length,O,S=N[0],W,P,T,K,M;for(J=1;J<U;J++){if(J===1)for(L in F.converters)typeof L=="string"&&(y[L.toLowerCase()]=F.converters[L]);W=S;S=N[J];if(S==="*")S=W;else if(W!=="*"&&W!==S){P=W+" "+S;T=y[P]||y["* "+S];if(!T)for(K in M=c,y)if(O=K.split(" "),O[0]===W||O[0]==="*")if(M=y[O[1]+" "+S]){K=y[K];K===!0?T=M:M===!0&&(T=K);break}!T&&!M&&d.error("No conversion from "+P.replace(" "," to "));T!==!0&&(i=T?T(i):M(K(i)))}}t=i;o="success";p=!0}catch(R){o="parsererror",
r=R}}else if(r=o,!o||a)o="error",a<0&&(a=0);z.status=a;z.statusText=""+(b||o);p?j.resolveWith(e,[t,o,z]):j.rejectWith(e,[z,o,r]);z.statusCode(m);m=c;v&&h.trigger("ajax"+(p?"Success":"Error"),[z,g,p?t:r]);k.fireWith(e,[z,o]);v&&(h.trigger("ajaxComplete",[z,g]),--d.active||d.event.trigger("ajaxStop"))}}typeof a=="object"&&(b=a,a=c);b=b||{};var g=d.ajaxSetup({},b),e=g.context||g,h=e!==g&&(e.nodeType||e instanceof d)?d(e):d.event,j=d.Deferred(),k=d.Callbacks("once memory"),m=g.statusCode||{},n,p={},o=
{},s,t,q,B,r,A=0,v,x,z={readyState:0,setRequestHeader:function(a,b){if(!A){var d=a.toLowerCase();a=o[d]=o[d]||a;p[a]=b}return this},getAllResponseHeaders:function(){return A===2?s:null},getResponseHeader:function(a){var b;if(A===2){if(!t)for(t={};b=Kb.exec(s);)t[b[1].toLowerCase()]=b[2];b=t[a.toLowerCase()]}return b===c?null:b},overrideMimeType:function(a){return A||(g.mimeType=a),this},abort:function(a){return a=a||"abort",q&&q.abort(a),f(0,a),this}};j.promise(z);z.success=z.done;z.error=z.fail;
z.complete=k.add;z.statusCode=function(a){if(a){var b;if(A<2)for(b in a)m[b]=[m[b],a[b]];else b=a[z.status],z.then(b,b)}return this};g.url=((a||g.url)+"").replace(Jb,"").replace(Nb,K[1]+"//");g.dataTypes=d.trim(g.dataType||"*").toLowerCase().split(wa);g.crossDomain==null&&(r=Ta.exec(g.url.toLowerCase()),g.crossDomain=!(!r||r[1]==K[1]&&r[2]==K[2]&&(r[3]||(r[1]==="http:"?80:443))==(K[3]||(K[1]==="http:"?80:443))));g.data&&g.processData&&typeof g.data!="string"&&(g.data=d.param(g.data,g.traditional));
w(ga,g,b,z);if(A===2)return!1;v=g.global;g.type=g.type.toUpperCase();g.hasContent=!Mb.test(g.type);v&&d.active++===0&&d.event.trigger("ajaxStart");if(!g.hasContent&&(g.data&&(g.url+=(Sa.test(g.url)?"&":"?")+g.data,delete g.data),n=g.url,g.cache===!1)){r=d.now();var D=g.url.replace(Qb,"$1_="+r);g.url=D+(D===g.url?(Sa.test(g.url)?"&":"?")+"_="+r:"")}(g.data&&g.hasContent&&g.contentType!==!1||b.contentType)&&z.setRequestHeader("Content-Type",g.contentType);g.ifModified&&(n=n||g.url,d.lastModified[n]&&
z.setRequestHeader("If-Modified-Since",d.lastModified[n]),d.etag[n]&&z.setRequestHeader("If-None-Match",d.etag[n]));z.setRequestHeader("Accept",g.dataTypes[0]&&g.accepts[g.dataTypes[0]]?g.accepts[g.dataTypes[0]]+(g.dataTypes[0]!=="*"?", "+Wa+"; q=0.01":""):g.accepts["*"]);for(x in g.headers)z.setRequestHeader(x,g.headers[x]);if(!g.beforeSend||g.beforeSend.call(e,z,g)!==!1&&A!==2){for(x in{success:1,error:1,complete:1})z[x](g[x]);if(q=w(Va,g,b,z)){z.readyState=1;v&&h.trigger("ajaxSend",[z,g]);g.async&&
g.timeout>0&&(B=setTimeout(function(){z.abort("timeout")},g.timeout));try{A=1,q.send(p,f)}catch(C){if(A<2)f(-1,C);else throw C;}}else f(-1,"No Transport");return z}return z.abort(),!1},param:function(a,b){var f=[],g=function(a,b){b=d.isFunction(b)?b():b;f[f.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};b===c&&(b=d.ajaxSettings.traditional);if(d.isArray(a)||a.jquery&&!d.isPlainObject(a))d.each(a,function(){g(this.name,this.value)});else for(var e in a)fa(e,a[e],b,g);return f.join("&").replace(Ib,
"+")}});d.extend({active:0,lastModified:{},etag:{}});var Rb=d.now(),da=/(\=)\?(&|$)|\?\?/i;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return d.expando+"_"+Rb++}});d.ajaxPrefilter("json jsonp",function(a,b,c){b=a.contentType==="application/x-www-form-urlencoded"&&typeof a.data=="string";if(a.dataTypes[0]==="jsonp"||a.jsonp!==!1&&(da.test(a.url)||b&&da.test(a.data))){var f,h=a.jsonpCallback=d.isFunction(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback,j=e[h],k=a.url,m=a.data,n="$1"+h+
"$2";return a.jsonp!==!1&&(k=k.replace(da,n),a.url===k&&(b&&(m=m.replace(da,n)),a.data===m&&(k+=(/\?/.test(k)?"&":"?")+a.jsonp+"="+h))),a.url=k,a.data=m,e[h]=function(a){f=[a]},c.always(function(){e[h]=j;f&&d.isFunction(j)&&e[h](f[0])}),a.converters["script json"]=function(){return f||d.error(h+" was not called"),f[0]},a.dataTypes[0]="json","script"}});d.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},
converters:{"text script":function(a){return d.globalEval(a),a}}});d.ajaxPrefilter("script",function(a){a.cache===c&&(a.cache=!1);a.crossDomain&&(a.type="GET",a.global=!1)});d.ajaxTransport("script",function(a){if(a.crossDomain){var b,d=p.head||p.getElementsByTagName("head")[0]||p.documentElement;return{send:function(f,e){b=p.createElement("script");b.async="async";a.scriptCharset&&(b.charset=a.scriptCharset);b.src=a.url;b.onload=b.onreadystatechange=function(a,f){if(f||!b.readyState||/loaded|complete/.test(b.readyState))b.onload=
b.onreadystatechange=null,d&&b.parentNode&&d.removeChild(b),b=c,f||e(200,"success")};d.insertBefore(b,d.firstChild)},abort:function(){b&&b.onload(0,1)}}}});var pa=e.ActiveXObject?function(){for(var a in Y)Y[a](0,1)}:!1,Sb=0,Y;d.ajaxSettings.xhr=e.ActiveXObject?function(){var a;if(!(a=!this.isLocal&&ra()))a:{try{a=new e.ActiveXObject("Microsoft.XMLHTTP");break a}catch(b){}a=void 0}return a}:ra;(function(a){d.extend(d.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})})(d.ajaxSettings.xhr());d.support.ajax&&
d.ajaxTransport(function(a){if(!a.crossDomain||d.support.cors){var b;return{send:function(f,g){var h=a.xhr(),j,k;a.username?h.open(a.type,a.url,a.async,a.username,a.password):h.open(a.type,a.url,a.async);if(a.xhrFields)for(k in a.xhrFields)h[k]=a.xhrFields[k];a.mimeType&&h.overrideMimeType&&h.overrideMimeType(a.mimeType);!a.crossDomain&&!f["X-Requested-With"]&&(f["X-Requested-With"]="XMLHttpRequest");try{for(k in f)h.setRequestHeader(k,f[k])}catch(m){}h.send(a.hasContent&&a.data||null);b=function(f,
e){var i,k,m,n,p;try{if(b&&(e||h.readyState===4))if(b=c,j&&(h.onreadystatechange=d.noop,pa&&delete Y[j]),e)h.readyState!==4&&h.abort();else{i=h.status;m=h.getAllResponseHeaders();n={};p=h.responseXML;p&&p.documentElement&&(n.xml=p);n.text=h.responseText;try{k=h.statusText}catch(q){k=""}!i&&a.isLocal&&!a.crossDomain?i=n.text?200:404:i===1223&&(i=204)}}catch(r){e||g(-1,r)}n&&g(i,k,n,m)};!a.async||h.readyState===4?b():(j=++Sb,pa&&(Y||(Y={},d(e).unload(pa)),Y[j]=b),h.onreadystatechange=b)},abort:function(){b&&
b(0,1)}}}});var ha={},J,V,Tb=/^(?:toggle|show|hide)$/,Ub=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,ea,xa=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],Z;d.fn.extend({show:function(a,b,c){var f,e;if(a||a===0)return this.animate(M("show",3),a,b,c);a=0;for(b=this.length;a<b;a++)f=this[a],f.style&&(e=f.style.display,!d._data(f,"olddisplay")&&e==="none"&&(e=f.style.display=""),e===""&&d.css(f,"display")==="none"&&
d._data(f,"olddisplay",ta(f.nodeName)));for(a=0;a<b;a++)if(f=this[a],f.style&&(e=f.style.display,e===""||e==="none"))f.style.display=d._data(f,"olddisplay")||"";return this},hide:function(a,b,c){if(a||a===0)return this.animate(M("hide",3),a,b,c);for(var f,e,a=0,b=this.length;a<b;a++)f=this[a],f.style&&(e=d.css(f,"display"),e!=="none"&&!d._data(f,"olddisplay")&&d._data(f,"olddisplay",e));for(a=0;a<b;a++)this[a].style&&(this[a].style.display="none");return this},_toggle:d.fn.toggle,toggle:function(a,
b,c){var f=typeof a=="boolean";return d.isFunction(a)&&d.isFunction(b)?this._toggle.apply(this,arguments):a==null||f?this.each(function(){var b=f?a:d(this).is(":hidden");d(this)[b?"show":"hide"]()}):this.animate(M("toggle",3),a,b,c),this},fadeTo:function(a,b,d,c){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d,c)},animate:function(a,b,c,f){function e(){var o;h.queue===!1&&d._mark(this);var b=d.extend({},h),c=this.nodeType===1,f=c&&d(this).is(":hidden"),g,i,j,l,
k,m,n,p,q;b.animatedProperties={};for(j in a){g=d.camelCase(j);j!==g&&(a[g]=a[j],delete a[j]);i=a[g];d.isArray(i)?(b.animatedProperties[g]=i[1],o=a[g]=i[0],i=o):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(i==="hide"&&f||i==="show"&&!f)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],d.css(this,"display")==="inline"&&d.css(this,"float")==="none"&&(!d.support.inlineBlockNeedsLayout||
ta(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(j in a)l=new d.fx(this,b,j),i=a[j],Tb.test(i)?(q=d._data(this,"toggle"+j)||(i==="toggle"?f?"show":"hide":0),q?(d._data(this,"toggle"+j,q==="show"?"hide":"show"),l[q]()):l[i]()):(k=Ub.exec(i),m=l.cur(),k?(n=parseFloat(k[2]),p=k[3]||(d.cssNumber[j]?"":"px"),p!=="px"&&(d.style(this,j,(n||1)+p),m*=(n||1)/l.cur(),d.style(this,j,m+p)),k[1]&&(n=(k[1]==="-="?-1:1)*n+m),l.custom(m,
n,p)):l.custom(m,i,""));return!0}var h=d.speed(b,c,f);return d.isEmptyObject(a)?this.each(h.complete,[!1]):(a=d.extend({},a),h.queue===!1?this.each(e):this.queue(h.queue,e))},stop:function(a,b,f){return typeof a!="string"&&(f=b,b=a,a=c),b&&a!==!1&&this.queue(a||"fx",[]),this.each(function(){function b(a,c,e){c=c[e];d.removeData(a,e,!0);c.stop(f)}var c,e=!1,h=d.timers,j=d._data(this);f||d._unmark(!0,this);if(a==null)for(c in j)j[c]&&j[c].stop&&c.indexOf(".run")===c.length-4&&b(this,j,c);else j[c=a+
".run"]&&j[c].stop&&b(this,j,c);for(c=h.length;c--;)h[c].elem===this&&(a==null||h[c].queue===a)&&(f?h[c](!0):h[c].saveState(),e=!0,h.splice(c,1));(!f||!e)&&d.dequeue(this,a)})}});d.each({slideDown:M("show",1),slideUp:M("hide",1),slideToggle:M("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(a,d,c){return this.animate(b,a,d,c)}});d.extend({speed:function(a,b,c){var f=a&&typeof a=="object"?d.extend({},a):{complete:c||!c&&b||d.isFunction(a)&&
a,duration:a,easing:c&&b||b&&!d.isFunction(b)&&b};f.duration=d.fx.off?0:typeof f.duration=="number"?f.duration:f.duration in d.fx.speeds?d.fx.speeds[f.duration]:d.fx.speeds._default;if(f.queue==null||f.queue===!0)f.queue="fx";return f.old=f.complete,f.complete=function(a){d.isFunction(f.old)&&f.old.call(this);f.queue?d.dequeue(this,f.queue):a!==!1&&d._unmark(this)},f},easing:{linear:function(a,b,d,c){return d+c*a},swing:function(a,b,d,c){return(-Math.cos(a*Math.PI)/2+0.5)*c+d}},timers:[],fx:function(a,
b,d){this.options=b;this.elem=a;this.prop=d;b.orig=b.orig||{}}});d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(d.fx.step[this.prop]||d.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]==null||this.elem.style&&this.elem.style[this.prop]!=null){var a,b=d.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a}return this.elem[this.prop]},custom:function(a,b,f){function e(a){return h.step(a)}var h=this,j=d.fx;this.startTime=
Z||(setTimeout(sa,0),Z=d.now());this.end=b;this.now=this.start=a;this.pos=this.state=0;this.unit=f||this.unit||(d.cssNumber[this.prop]?"":"px");e.queue=this.options.queue;e.elem=this.elem;e.saveState=function(){h.options.hide&&d._data(h.elem,"fxshow"+h.prop)===c&&d._data(h.elem,"fxshow"+h.prop,h.start)};e()&&d.timers.push(e)&&!ea&&(ea=setInterval(j.tick,j.interval))},show:function(){var a=d._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||d.style(this.elem,this.prop);this.options.show=
!0;a!==c?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d._data(this.elem,"fxshow"+this.prop)||d.style(this.elem,this.prop);this.options.hide=!0;this.custom(this.cur(),0)},step:function(a){var b,c,f,e=Z||(setTimeout(sa,0),Z=d.now()),h=!0,j=this.elem,k=this.options;if(a||e>=k.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();k.animatedProperties[this.prop]=
!0;for(b in k.animatedProperties)k.animatedProperties[b]!==!0&&(h=!1);if(h){k.overflow!=null&&!d.support.shrinkWrapBlocks&&d.each(["","X","Y"],function(a,b){j.style["overflow"+b]=k.overflow[a]});k.hide&&d(j).hide();if(k.hide||k.show)for(b in k.animatedProperties)d.style(j,b,k.orig[b]),d.removeData(j,"fxshow"+b,!0),d.removeData(j,"toggle"+b,!0);f=k.complete;f&&(k.complete=!1,f.call(j))}return!1}return k.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/k.duration,this.pos=d.easing[k.animatedProperties[this.prop]](this.state,
c,0,1,k.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(),!0}};d.extend(d.fx,{tick:function(){for(var a,b=d.timers,c=0;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||d.fx.stop()},interval:13,stop:function(){clearInterval(ea);ea=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){d.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}});d.each(["width",
"height"],function(a,b){d.fx.step[b]=function(a){d.style(a.elem,b,Math.max(0,a.now)+a.unit)}});d.expr&&d.expr.filters&&(d.expr.filters.animated=function(a){return d.grep(d.timers,function(b){return a===b.elem}).length});var Vb=/^t(?:able|d|h)$/i,Xa=/^(?:body|html)$/i;"getBoundingClientRect"in p.documentElement?d.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);
try{c=b.getBoundingClientRect()}catch(f){}var e=b.ownerDocument,h=e.documentElement;if(!c||!d.contains(h,b))return c?{top:c.top,left:c.left}:{top:0,left:0};b=e.body;e=ia(e);return{top:c.top+(e.pageYOffset||d.support.boxModel&&h.scrollTop||b.scrollTop)-(h.clientTop||b.clientTop||0),left:c.left+(e.pageXOffset||d.support.boxModel&&h.scrollLeft||b.scrollLeft)-(h.clientLeft||b.clientLeft||0)}}:d.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){d.offset.setOffset(this,a,b)});if(!b||
!b.ownerDocument)return null;if(b===b.ownerDocument.body)return d.offset.bodyOffset(b);for(var c,f=b.offsetParent,e=b.ownerDocument,h=e.documentElement,j=e.body,k=(e=e.defaultView)?e.getComputedStyle(b,null):b.currentStyle,m=b.offsetTop,n=b.offsetLeft;(b=b.parentNode)&&b!==j&&b!==h;){if(d.support.fixedPosition&&k.position==="fixed")break;c=e?e.getComputedStyle(b,null):b.currentStyle;m-=b.scrollTop;n-=b.scrollLeft;b===f&&(m+=b.offsetTop,n+=b.offsetLeft,d.support.doesNotAddBorder&&(!d.support.doesAddBorderForTableAndCells||
!Vb.test(b.nodeName))&&(m+=parseFloat(c.borderTopWidth)||0,n+=parseFloat(c.borderLeftWidth)||0),f=b.offsetParent);d.support.subtractsBorderForOverflowNotVisible&&c.overflow!=="visible"&&(m+=parseFloat(c.borderTopWidth)||0,n+=parseFloat(c.borderLeftWidth)||0);k=c}if(k.position==="relative"||k.position==="static")m+=j.offsetTop,n+=j.offsetLeft;return d.support.fixedPosition&&k.position==="fixed"&&(m+=Math.max(h.scrollTop,j.scrollTop),n+=Math.max(h.scrollLeft,j.scrollLeft)),{top:m,left:n}};d.offset=
{bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;return d.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(d.css(a,"marginTop"))||0,c+=parseFloat(d.css(a,"marginLeft"))||0),{top:b,left:c}},setOffset:function(a,b,c){var f=d.css(a,"position");f==="static"&&(a.style.position="relative");var e=d(a),h=e.offset(),j=d.css(a,"top"),k=d.css(a,"left"),m={},n={},p,o;(f==="absolute"||f==="fixed")&&d.inArray("auto",[j,k])>-1?(n=e.position(),p=n.top,o=n.left):(p=parseFloat(j)||0,o=parseFloat(k)||
0);d.isFunction(b)&&(b=b.call(a,c,h));b.top!=null&&(m.top=b.top-h.top+p);b.left!=null&&(m.left=b.left-h.left+o);"using"in b?b.using.call(a,m):e.css(m)}};d.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),f=Xa.test(b[0].nodeName)?{top:0,left:0}:b.offset();return c.top-=parseFloat(d.css(a,"marginTop"))||0,c.left-=parseFloat(d.css(a,"marginLeft"))||0,f.top+=parseFloat(d.css(b[0],"borderTopWidth"))||0,f.left+=parseFloat(d.css(b[0],"borderLeftWidth"))||
0,{top:c.top-f.top,left:c.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||p.body;a&&!Xa.test(a.nodeName)&&d.css(a,"position")==="static";)a=a.offsetParent;return a})}});d.each(["Left","Top"],function(a,b){var f="scroll"+b;d.fn[f]=function(b){var e,h;return b===c?(e=this[0],e?(h=ia(e),h?"pageXOffset"in h?h[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&h.document.documentElement[f]||h.document.body[f]:e[f]):null):this.each(function(){h=ia(this);h?h.scrollTo(a?
d(h).scrollLeft():b,a?b:d(h).scrollTop()):this[f]=b})}});d.each(["Height","Width"],function(a,b){var f=b.toLowerCase();d.fn["inner"+b]=function(){var a=this[0];return a?a.style?parseFloat(d.css(a,f,"padding")):this[f]():null};d.fn["outer"+b]=function(a){var b=this[0];return b?b.style?parseFloat(d.css(b,f,a?"margin":"border")):this[f]():null};d.fn[f]=function(a){var e=this[0];if(!e)return a==null?null:this;if(d.isFunction(a))return this.each(function(b){var c=d(this);c[f](a.call(this,b,c[f]()))});
if(d.isWindow(e)){var h=e.document.documentElement["client"+b],j=e.document.body;return e.document.compatMode==="CSS1Compat"&&h||j&&j["client"+b]||h}if(e.nodeType===9)return Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]);return a===c?(e=d.css(e,f),h=parseFloat(e),d.isNumeric(h)?h:e):this.css(f,typeof a=="string"?a:a+"px")}});e.jQuery=e.$=d;typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",
[],function(){return d})})(window);v.exports=jQuery},"spine/lib/manager":function(D,q,v){(function(){var e=Object.prototype.hasOwnProperty,c=function(c,m){function n(){this.constructor=c}for(var k in m)e.call(m,k)&&(c[k]=m[k]);return n.prototype=m.prototype,c.prototype=new n,c.__super__=m.prototype,c},x=Array.prototype.slice,r=function(c,e){return function(){return c.apply(e,arguments)}};if(typeof Spine=="undefined"||Spine===null)Spine=q("spine");Spine.Manager=function(){function e(){this.controllers=
[];this.bind("change",this.change);this.add.apply(this,arguments)}return c(e,Spine.Module),e.include(Spine.Events),e.prototype.add=function(){var c,e,j,h,q;e=1<=arguments.length?x.call(arguments,0):[];q=[];for(j=0,h=e.length;j<h;j++)c=e[j],q.push(this.addOne(c));return q},e.prototype.addOne=function(c){return c.bind("active",r(function(){var e;return e=1<=arguments.length?x.call(arguments,0):[],this.trigger.apply(this,["change",c].concat(x.call(e)))},this)),c.bind("release",r(function(){return this.controllers.splice(this.controllers.indexOf(c),
1)},this)),this.controllers.push(c)},e.prototype.deactivate=function(){return this.trigger.apply(this,["change",!1].concat(x.call(arguments)))},e.prototype.change=function(){var c,e,j,h,q,r,f;j=arguments[0];c=2<=arguments.length?x.call(arguments,1):[];r=this.controllers;f=[];for(h=0,q=r.length;h<q;h++)e=r[h],f.push(e===j?e.activate.apply(e,c):e.deactivate.apply(e,c));return f},e}();Spine.Controller.include({active:function(){var c;return c=1<=arguments.length?x.call(arguments,0):[],typeof c[0]=="function"?
this.bind("active",c[0]):(c.unshift("active"),this.trigger.apply(this,c)),this},isActive:function(){return this.el.hasClass("active")},activate:function(){return this.el.addClass("active"),this},deactivate:function(){return this.el.removeClass("active"),this}});Spine.Stack=function(){function e(){var c,n,k,h;e.__super__.constructor.apply(this,arguments);this.manager=new Spine.Manager;k=this.controllers;for(c in k)n=k[c],this[c]=new n({stack:this}),this.add(this[c]);h=this.routes;k=r(function(c,e){var f;
return typeof e=="function"&&(f=e),f||(f=r(function(){var c;return(c=this[e]).active.apply(c,arguments)},this)),this.route(c,f)},this);for(c in h)n=h[c],k(c,n);this["default"]&&this[this["default"]].active()}return c(e,Spine.Controller),e.prototype.controllers={},e.prototype.routes={},e.prototype.className="spine stack",e.prototype.add=function(c){return this.manager.add(c),this.append(c)},e}();typeof v!="undefined"&&v!==null&&(v.exports=Spine.Manager)}).call(this)},"controllers/page":function(D,
q,v){(function(){var e,c,x=Object.prototype.hasOwnProperty,r=function(c,e){function n(){this.constructor=c}for(var k in e)x.call(e,k)&&(c[k]=e[k]);return n.prototype=e.prototype,c.prototype=new n,c.__super__=e.prototype,c};c=q("spine");e=function(){function e(){this.meta_title&&this.setTitle("David Kaneda - "+this.meta_title);$("meta[name=description").html(this.meta_description);e.__super__.constructor.apply(this,arguments)}return r(e,c.Controller),e.prototype.meta_description="All about Dave.",
e.prototype.meta_title="David Kaneda",e.prototype.setTitle=function(c){return window.document.title=c},e}();v.exports=e}).call(this)},"controllers/project_detail":function(D,q,v){(function(){var e,c,x,r,j=function(c,e){return function(){return c.apply(e,arguments)}},m=Object.prototype.hasOwnProperty,n=function(c,e){function j(){this.constructor=c}for(var n in e)m.call(e,n)&&(c[n]=e[n]);return j.prototype=e.prototype,c.prototype=new j,c.__super__=e.prototype,c};r=q("spine");c=q("controllers/page");
e=r.$;q("spine/lib/tmpl");x=function(){function k(c){this.onFrameLoad=j(this.onFrameLoad,this);this.loadiframe=j(this.loadiframe,this);this.project=c.project;this.el=q("views/detail")(this).appendTo("#content");this.meta_title=this.project.name;e("body").addClass("p-"+this.project.stub);k.__super__.constructor.apply(this,arguments);_gaq.push(["_trackPageview"]);this.project.iframe&&setTimeout(this.loadiframe,200)}return n(k,c),k.prototype.remove=function(){return this.el.remove(),this.iframe&&this.iframe.remove(),
delete this.el,delete this.iframe,e("body").removeClass("loading-frame p-"+this.project.stub)},k.prototype.loadiframe=function(){return this.iframe=e('<iframe frameborder="0" border="0" cellspacing="0" class="bigiframe" />').attr("src",this.project.iframe).load(this.onFrameLoad).appendTo("body").load(this.onFrameLoad),e("body").addClass("loading-frame")},k.prototype.onFrameLoad=function(){return this.iframe.addClass("loaded"),e("body").removeClass("loading-frame")},k}();v.exports=x}).call(this)},
"controllers/projects":function(D,q,v){(function(){var e,c,x,r,j,m,n=function(c,e){return function(){return c.apply(e,arguments)}},k=Object.prototype.hasOwnProperty,h=function(c,e){function f(){this.constructor=c}for(var h in e)k.call(e,h)&&(c[h]=e[h]);return f.prototype=e.prototype,c.prototype=new f,c.__super__=e.prototype,c};m=q("spine");c=q("controllers/page");r=q("controllers/project_detail");x=q("models/project");e=m.$;q("spine/lib/tmpl");j=function(){function j(){this.render=n(this.render,this);
this.el=e("#work");j.__super__.constructor.apply(this,arguments);x.bind("refresh change",this.render);this.hasLoaded=new e.Deferred;x.fetch()}return h(j,c),j.prototype.meta_title="Projects",j.prototype.render=function(){return this.projects=x.all(),this.hasLoaded.resolve(),this.append(q("views/project")(this))},j.prototype.loadRecord=function(c){var f;return f=new r({project:x.findByAttribute("stub",c)}),this.detail=f},j.prototype.removeDetail=function(){if(this.detail)return this.detail.remove()},
j}();v.exports=j}).call(this)},index:function(D,q,v){(function(){var e,c,x,r,j=function(c,e){return function(){return c.apply(e,arguments)}},m=Object.prototype.hasOwnProperty,n=function(c,e){function j(){this.constructor=c}for(var n in e)m.call(e,n)&&(c[n]=e[n]);return j.prototype=e.prototype,c.prototype=new j,c.__super__=e.prototype,c};q("lib/setup");r=q("spine");c=q("controllers/page");q("models/project");x=q("controllers/projects");e=function(){function e(){this.navClick=j(this.navClick,this);
var c=this;e.__super__.constructor.apply(this,arguments);this.routes({"/work/:id":this.work,"/presentations/":this.presentations,"/hi":this.home,"*any":function(){return this.navigate("/hi",!0)}});this.$(".social a").attr("target","_blank");r.Route.setup({history:!0});setTimeout(function(){return c.el.addClass("routed",0)})}return n(e,c),e.prototype.events={"click #page-header a, a[rel=internal]":"navClick"},e.prototype.presentations=function(){return this.switchClass("presentations")},e.prototype.work=
function(c){var e=this;this.projects||(this.projects=new x);this.switchClass(c.id?"project-detail":"work");if(c.id)return this.projects.hasLoaded.done(function(){return e.projects.loadRecord(c.id)})},e.prototype.home=function(){return this.setTitle("David Kaneda"),this.switchClass("home")},e.prototype.switchClass=function(c){return _gaq.push(["_trackPageview"]),this.el.hasClass("project-detail")&&this.projects.removeDetail(),this.currentClass&&this.el.removeClass(this.currentClass),this.el.addClass(c),
this.$("#"+this.currentClass).removeClass("current"),this.$("#"+c).addClass("current"),this.$("#nav-"+this.currentClass).removeClass("active"),this.$("#nav-"+c).addClass("active"),this.currentClass=c},e.prototype.navClick=function(c){var e;return e=$(c.currentTarget).addClass("active").attr("href"),this.navigate(e,!0),!1},e}();v.exports=e}).call(this)},"lib/setup":function(D,q){q("spine");q("spine/lib/local");q("spine/lib/ajax");q("spine/lib/manager");q("spine/lib/route");q("spine/lib/tmpl")},"models/project":function(D,
q,v){(function(){var e,c,x=Object.prototype.hasOwnProperty,r=function(c,e){function n(){this.constructor=c}for(var k in e)x.call(e,k)&&(c[k]=e[k]);return n.prototype=e.prototype,c.prototype=new n,c.__super__=e.prototype,c};c=q("spine");e=function(){function e(){e.__super__.constructor.apply(this,arguments)}return r(e,c.Model),e.configure("Project","name"),e.extend(c.Model.Ajax),e.url="/data/projects.json",e}();v.exports=e}).call(this)},"views/detail":function(D,q,v){v.exports=function(e){for(var c=
jQuery,q=c(),e=c.makeArray(e),r=0;r<e.length;r++){var j=e[r],m=c(function(c){c||(c={});var e=[],h=c.safe,j=c.escape;return c.safe=function(c){if(c&&c.ecoSafe)return c;if(typeof c=="undefined"||c==null)c="";c=new String(c);return c.ecoSafe=!0,c},j||(j=c.escape=function(c){return(""+c).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}),function(){e.push('<div class="current">\n    <h2>');e.push(this.project.title&&this.project.title.ecoSafe?this.project.title:typeof this.project.title!=
"undefined"&&this.project.title!=null?j(this.project.title):"");e.push("</h2>\n    ");e.push(this.project.description);e.push('\n    <p>\n        <a href="/work/" rel="internal">\u21bc Return to Project List</a><br>\n        <a href="');e.push(this.project.iframe);e.push('" target="_blank">Launch in New Window \u279a</a>\n    </p>\n</div>')}.call(c),c.safe=h,c.escape=j,e.join("")}(j));m.data("item",j);c.merge(q,m)}return q}},"views/project":function(D,q,v){v.exports=function(e){for(var c=jQuery,q=
c(),e=c.makeArray(e),r=0;r<e.length;r++){var j=e[r],m=c(function(c){c||(c={});var e=[],h=function(c){return c&&c.ecoSafe?c:typeof c!="undefined"&&c!=null?m(c):""},j=c.safe,m=c.escape;return c.safe=function(c){if(c&&c.ecoSafe)return c;if(typeof c=="undefined"||c==null)c="";c=new String(c);return c.ecoSafe=!0,c},m||(m=c.escape=function(c){return(""+c).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}),function(){(function(){var c,j,m,n;if(this.projects.length){e.push("\n  ");
n=this.projects;for(j=0,m=n.length;j<m;j++)c=n[j],e.push('\n    <a rel="internal" href="/work/'),e.push(h(c.stub)),e.push('" class="tnail '),e.push(h(c.stub)),e.push(" project"),c.featured&&e.push(" featured"),e.push('">\n    <img src="'),e.push(h(c.avatar)),e.push('" class="coverphoto" />\n    <h2>'),e.push(h(c.name)),e.push("</h2>\n    </a>\n  ");e.push("\n")}else e.push("\n  No projects\n")}).call(this)}.call(c),c.safe=j,c.escape=m,e.join("")}(j));m.data("item",j);c.merge(q,m)}return q}}});

