jQuery.noConflict();
jQuery.cookie=function(a,q,j){if(typeof q!="undefined"){j=j||{};if(q===null){q="";j.expires=-1}var h="";if(j.expires&&(typeof j.expires=="number"||j.expires.toUTCString)){if(typeof j.expires=="number"){h=new Date;h.setTime(h.getTime()+j.expires*24*60*60*1E3)}else h=j.expires;h="; expires="+h.toUTCString()}var l=j.path?"; path="+j.path:"",p=j.domain?"; domain="+j.domain:"";j=j.secure?"; secure":"";document.cookie=[a,"=",encodeURIComponent(q),h,l,p,j].join("")}else{q=null;if(document.cookie&&document.cookie!=
""){j=document.cookie.split(";");for(h=0;h<j.length;h++){l=jQuery.trim(j[h]);if(l.substring(0,a.length+1)==a+"="){q=decodeURIComponent(l.substring(a.length+1));break}}}return q}};
(function(a){function q(){}q.prototype={init:function(h,l){this.textArray=[];this.elements=[];this.options=l;this.jquery=h;this.n=-1;if(l.async===true)l.async=2;if(l.not){h=h.not(l.not);h=h.add(h.find("*").not(l.not)).not(a(l.not).find("*"))}else h=h.add(h.find("*"));this.jq=h;this.jql=this.jq.length;return this.process()},process:function(){this.n++;var h=this,l=this.options,p="",t=false,f=false,i=this.jq[this.n],c,b;if(this.n===this.jql){p=this.jquery.pushStack(this.elements,"nodesContainingText");
l.complete.call(p,p,this.textArray);if(l.returnAll===false&&l.walk===false)return this.jquery;return p}if(!i)return this.process();c=a(i);b=i.nodeName.toUpperCase();var m=b==="INPUT"&&a.attr(i,"type").toLowerCase();if({SCRIPT:1,NOSCRIPT:1,STYLE:1,OBJECT:1,IFRAME:1}[b])return this.process();if(typeof l.subject==="string")p=c.attr(l.subject);else if(l.altAndVal&&(b==="IMG"||m==="image"))p=c.attr("alt");else if(l.altAndVal&&{text:1,button:1,submit:1}[m])p=c.val();else if(b==="TEXTAREA")p=c.val();else{b=
i.firstChild;if(l.walk!==true)f=true;else for(;b;){if(b.nodeType==1){f=true;break}b=b.nextSibling}if(f){if(l.walk!==true)t=true;for(b=i.firstChild;b;){if(b.nodeType==3&&b.nodeValue.match(/\S/)!==null)if(b.nodeValue.match(/<![ \r\n\t]*(--([^\-]|[\r\n]|-[^\-])*--[ \r\n\t]*)>/)!==null){if(b.nodeValue.match(/(\S+(?=.*<))|(>(?=.*\S+))/)!==null){t=true;break}}else{t=true;break}b=b.nextSibling}if(t){p=c.html();p=l.stripScripts?p.replace(/<script[^>]*>([\s\S]*?)<\/script>/gi,""):p;this.jq=this.jq.not(c.find("*"))}}else p=
c.text()}if(!p)return this.process();this.elements.push(i);this.textArray.push(p);l.each.call(i,this.elements.length-1,i,p);if(l.async){setTimeout(function(){h.process()},l.async);return this.jquery}else return this.process()}};var j={not:"",async:false,each:function(){},complete:function(){},comments:false,returnAll:true,walk:true,altAndVal:false,subject:true,stripScripts:true};a.fn.nodesContainingText=function(h){h=a.extend({},j,a.fn.nodesContainingText.defaults,h);return(new q).init(this,h)};a.fn.nodesContainingText.defaults=
j})(jQuery);
(function(a){function q(){}function j(){a.translate.GL=y=google.language;a.translate.GLL=z=y.Languages;B=a.translate.toLanguageCode;a.each(z,function(e,g){E[g.toUpperCase()]=e});a.translate.isReady=c;for(var d;d=H.shift();)d()}function h(d,e){var g={};a.each(d,function(k,r){if(e(r,k)===c)g[k]=r});return g}function l(d,e,g){return function(){return d.apply(e===c?arguments[0]:e,g||arguments)}}function p(d){return d!==m}function t(d,e,g){var k,r={},u=a.grep(d,p);a.each(e,function(s,v){var D=a.grep(v[0],
function(C,A){return p(u[A])&&u[A].constructor===C}).length;if(D===u.length&&D===v[0].length&&(k=c)){a.each(v[1],function(C,A){r[A]=u[C]});return b}});if(!k)throw g;return r}function f(d,e){var g=t(d,a.translate.overload,"jQuery.translate: Invalid arguments"),k=g.options||{};delete g.options;k=a.extend({},F,e,a.extend(k,g));if(k.fromOriginal)k.toggle=c;if(k.toggle)k.data=c;if(k.async===c)k.async=2;return k}function i(){this.extend(a.translate);delete this.defaults;delete this.fn}var c=true,b=false,
m,n="".replace,o=String,w=Function,x=Object,y,z,B,E={},I,H=[],F={from:"",to:"",start:q,error:q,each:q,complete:q,onTimeout:q,timeout:0,stripComments:c,stripWhitespace:c,stripScripts:c,separators:/\.\?\!;:/,limit:1750,walk:c,returnAll:b,replace:c,rebind:c,data:c,setLangAttr:b,subject:c,not:"",altAndVal:c,async:b,toggle:b,fromOriginal:c,parallel:false};i.prototype={version:"1.4.6",_init:function(d,e){var g=e.separators.source||e.separators,k=this.isString=typeof d==="string",r=0;a.each(["stripComments",
"stripScripts","stripWhitespace"],function(u,s){var v=a.translate[s];if(e[s])d=k?v(d):a.map(d,v)});this.rawSource="<div>"+(k?d:d.join("</div><div>"))+"</div>";this._m3=RegExp("["+g+"](?![^"+g+"]*["+g+"])");this.options=e;this.from=e.from=B(e.from)||"";this.to=e.to=B(e.to)||"";this.source=d;this.rawTranslation="";this.translation=[];this.i=0;this.stopped=b;this.elements=e.nodes;this._i=-1;for(this.rawSources=[];c;){g=this.truncate(this.rawSource.substr(r),e.limit);if(!g)break;this.rawSources.push(g);
r+=g.length}this.queue=Array(this.rawSources.length);this.done=0;e.start.call(this,d,e.from,e.to,e);if(e.timeout)this.timeout=setTimeout(l(e.onTimeout,this,[d,e.from,e.to,e]),e.timeout);e.toggle&&e.nodes?e.textNodes?this._toggleTextNodes():this._toggle():this._process()},_process:function(){if(!this.stopped){for(var d=this.options,e=this.rawTranslation.length,g,k;(e=this.rawTranslation.lastIndexOf("</div>",e))>-1;){e=e-1;g=this.rawTranslation.substr(0,e+1);k=g.match(/<div[> ]/gi);g=g.match(/<\/div>/gi);
k=k?k.length:0;g=g?g.length:0;if(k===g+1){e=a(this.rawTranslation.substr(0,e+7));k=e.length;var r=this.i;if(r===k)break;e.slice(r,k).each(l(function(D,C){if(this.stopped)return b;var A=a.trim(a(C).html()),G=r+D,J=this.source,K=!this.from&&this.detectedSourceLanguage||this.from;this.translation[G]=A;this.isString?this.translation=A:J=this.source[G];d.each.call(this,G,A,J,K,this.to,d);this.i++},this));break}}this.rawSources.length-1==this._i&&this._complete();var u=l(this._translate,this);if(d.parallel){if(this._i<
0)if(d.parallel){var s=this.rawSources.length,v=function(){u();0<s&&setTimeout(v,d.parallel)};v()}else a.each(this.rawSources,u)}else u()}},_translate:function(){this._i++;var d=this._i,e=this.rawSourceSub=this.rawSources[d];e&&y.translate(e,this.from,this.to,l(function(g){if(g.error)return this.options.error.call(this,g.error,this.rawSourceSub,this.from,this.to,this.options);this.queue[d]=g.translation||this.rawSourceSub;this.detectedSourceLanguage=g.detectedSourceLanguage;this._check()},this))},
_check:function(){if(this.options.parallel){var d=0;jQuery.each(this.queue,function(g,k){if(k!=m)d=g;else return false});if(d>this.done||d===this.queue.length-1){for(var e=0;e<=d;e++)this.rawTranslation+=this.queue[e];this._process()}this.done=d}else{this.rawTranslation+=this.queue[this._i];this._process()}},_complete:function(){clearTimeout(this.timeout);this.options.complete.call(this,this.translation,this.source,!this.from&&this.detectedSourceLanguage||this.from,this.to,this.options)},stop:function(){if(this.stopped)return this;
this.stopped=c;this.options.error.call(this,{message:"stopped"});return this}};a.translate=function(d,e){if(d==m)return new i;if(a.isFunction(d))return a.translate.ready(d,e);var g=new i,k=[].slice.call(arguments,0);k.shift();return a.translate.ready(l(g._init,g,[d,f(k,a.translate.defaults)]),b,g)};a.translate.fn=a.translate.prototype=i.prototype;a.translate.fn.extend=a.translate.extend=a.extend;a.translate.extend({_bind:l,_filter:h,_validate:t,_getOpt:f,_defaults:F,defaults:a.extend({},F),capitalize:function(d){return d.charAt(0).toUpperCase()+
d.substr(1).toLowerCase()},truncate:function(d,e){var g,k,r,u,s,v=encodeURIComponent(d);for(g=0;g<10;g++){try{s=decodeURIComponent(v.substr(0,e-g))}catch(D){continue}if(s)break}return!(k=/<(?![^<]*>)/.exec(s))?!/>\s*$/.exec(s)?(r=this._m3.exec(s))?(u=/>(?![^>]*<)/.exec(s))?r.index>u.index?s.substring(0,r.index+1):s.substring(0,u.index+1):s.substring(0,r.index+1):s:s:s.substring(0,k.index)},getLanguages:function(d,e){if(d==m||e==m&&!d)return z;var g={},k=typeof d,r=e?a.translate.getLanguages(d):z;
if(k=k==="object"||k==="function"?d:e)if(k.call)g=h(r,k);else for(var u=0,s=k.length,v;u<s;u++){v=a.translate.toLanguage(k[u]);if(r[v]!=m)g[v]=r[v]}else g=h(z,y.isTranslatable);return g},toLanguage:function(d,e){var g=d.toUpperCase();g=E[g]||(z[g]?g:m)||E[(a.translate.languageCodeMap[d.toLowerCase()]||"").toUpperCase()];return g==m?m:e==="lowercase"?g.toLowerCase():e==="capitalize"?a.translate.capitalize(g):g},toLanguageCode:function(d){return z[d]||z[a.translate.toLanguage(d)]||a.translate.languageCodeMap[d.toLowerCase()]},
same:function(d,e){return d===e||B(d)===B(e)},isTranslatable:function(d){return y.isTranslatable(B(d))},languageCodeMap:{pt:"pt-PT",he:"iw",zlm:"ms","zh-hans":"zh-CN","zh-hant":"zh-TW"},isRtl:{ar:c,iw:c,fa:c,ur:c,yi:c},getBranding:function(){return a(y.getBranding.apply(y,arguments))},load:function(d,e){function g(){google.load("language",e||"1",{callback:j})}I=c;typeof google!=="undefined"&&google.load?g():a.getScript("http://www.google.com/jsapi"+(d?"?key="+d:""),g);return a.translate},ready:function(d,
e,g){a.translate.isReady?d():H.push(d);!I&&!e&&a.translate.load();return g||a.translate},isReady:b,overload:[[[],[]],[[o,o,x],["from","to","options"]],[[o,x],["to","options"]],[[x],["options"]],[[o,o],["from","to"]],[[o],["to"]],[[o,o,w],["from","to","complete"]],[[o,w],["to","complete"]]],stripScripts:l(n,c,[/<script[^>]*>([\s\S]*?)<\/script>/gi,""]),stripWhitespace:l(n,c,[/\s\s+/g," "]),stripComments:l(n,c,[/<![ \r\n\t]*(--([^\-]|[\r\n]|-[^\-])*--[ \r\n\t]*)>/g,""])})})(jQuery);
(function(a){function q(f,i){var c=f.css("text-align");f.css("direction",i);c==="right"&&f.css("text-align","left");c==="left"&&f.css("text-align","right")}function j(f,i){var c=f.nodeName.toUpperCase(),b=c==="INPUT"&&a.attr(f,"type").toLowerCase();i=i||{altAndVal:h,subject:h};return typeof i.subject==="string"?i.subject:i.altAndVal&&(c==="IMG"||b==="image")?"alt":i.altAndVal&&l[b]?"$val":c==="TEXTAREA"?"$val":"$html"}var h=true,l={text:h,button:h,submit:h},p={SCRIPT:h,NOSCRIPT:h,STYLE:h,OBJECT:h,
IFRAME:h},t=a([]);t.length=1;a.translate.fn._toggle=function(){var f=this.options,i=f.to,c;this.elements.each(a.translate._bind(function(b,m){this.i=b;var n=a(m);n=a.translate.getData(n,i,f);if(!n)return!(c=h);this.translation.push(n);f.each.call(this,b,m,n,this.source[b],this.from,i,f)},this));!c?this._complete():this._process()};a.translate.extend({_getType:j,each:function(f,i,c,b,m,n,o){t[0]=i;a.translate.setData(t,n,c,m,b,o);a.translate.replace(t,c,n,o);a.translate.setLangAttr(t,n,o)},getData:function(f,
i,c){f=f[0]||f;var b=a.data(f,"translation");return b&&b[i]&&b[i][j(f,c)]},setData:function(f,i,c,b,m,n){if(!(n&&!n.data)){f=f[0]||f;n=j(f,n);var o=a.data(f,"translation");o=o||a.data(f,"translation",{});(o[b]=o[b]||{})[n]=m;(o[i]=o[i]||{})[n]=c}},replace:function(f,i,c,b){if(!(b&&!b.replace)){if(b&&typeof b.subject==="string")return f.attr(b.subject,i);var m=f[0]||f,n=m.nodeName.toUpperCase(),o=n==="INPUT"&&a.attr(m,"type").toLowerCase(),w=a.translate.isRtl,x=a.data(m,"lang");if(x!==c){if(w[c]!==
w[x||b&&b.from])if(w[c])q(f,"rtl");else f.css("direction")==="rtl"&&q(f,"ltr");if((!b||b.altAndVal)&&(n==="IMG"||o==="image"))f.attr("alt",i);else if(n==="TEXTAREA"||(!b||b.altAndVal)&&l[o])f.val(i);else if(!b||b.rebind){if(!(b=this.doc)){for(b=m;b&&b.nodeType!=9;)b=b.parentNode;b=b}this.doc=b;b=f.find("*").not("script");i=a(this.doc.createElement("div")).html(i);a.translate.copyEvents(b,i.find("*"));f.html(i.contents())}else f.html(i);a.data(m,"lang",c)}}},setLangAttr:function(f,i,c){if(!c||c.setLangAttr)f.attr(!c||
c.setLangAttr===h?"lang":c.setLangAttr,i)},copyEvents:function(f,i){i.each(function(c,b){var m=f[c];if(!b||!m)return false;if(p[m.nodeName.toUpperCase()])return h;m=a.data(m,"events");if(!m)return h;for(var n in m)for(var o in m[n])a.event.add(b,n,m[n][o],m[n][o].data)})}});a.fn.translate=function(){var f=a.translate._getOpt(arguments,a.fn.translate.defaults),i=a.extend({},a.translate._defaults,a.fn.translate.defaults,f,{complete:function(c,b){a.translate(function(){function m(w){return function(){[].unshift.call(arguments,
this.elements);w.apply(this,arguments)}}var n=a.translate.toLanguageCode(f.from);f.fromOriginal&&c.each(function(w,x){t[0]=x;var y=a.translate.getData(t,n,f);if(!y)return true;b[w]=y});var o=f.each;f.nodes=c;f.start=m(f.start);f.onTimeout=m(f.onTimeout);f.complete=m(f.complete);f.each=function(w){var x=arguments;arguments.length!==7&&[].splice.call(x,1,0,this.elements[w]);this.each.apply(this,x);o.apply(this,x)};a.translate(b,f)})},each:function(){}});if(this.nodesContainingText)return this.nodesContainingText(i);
f.nodes=this;a.translate(a.map(this,function(c){return a(c).html()||a(c).val()}),f);return this};a.fn.translate.defaults=a.extend({},a.translate._defaults)})(jQuery);
(function(a){var q={tags:["select","option"],filter:a.translate.isTranslatable,label:a.translate.toNativeLanguage||function(j,h){return a.translate.capitalize(h)},includeUnknown:false};a.translate.ui=function(){var j={},h="",l="",p="";if(typeof arguments[0]==="string")j.tags=a.makeArray(arguments);else j=arguments[0];j=a.extend({},q,a.translate.ui.defaults,j);if(j.tags[2]){l="<"+j.tags[2]+">";p="</"+j.tags[2]+">"}var t=a.translate.getLanguages(j.filter);j.includeUnknown||delete t.UNKNOWN;a.each(t,
function(f,i){h+="<"+j.tags[1]+" value="+i+">"+l+j.label(i,f)+p+"</"+j.tags[1]+">"});return a("<"+j.tags[0]+' class="jq-translate-ui">'+h+"</"+j.tags[0]+">")};a.translate.ui.defaults=a.extend({},q)})(jQuery);jQuery.translate.fn.progress=function(a,q){if(!this.i)this._pr=0;this._pr+=this.source[this.i].length;var j=100*this._pr/(this.rawSource.length-11*(this.i+1));if(a){var h=jQuery(a);!this.i&&!h.hasClass("ui-progressbar")&&h.progressbar(q);h.progressbar("option","value",j)}return j};

