Searched defs:Form (Results 1 - 25 of 35) sorted by relevance

12

/external/v8/benchmarks/spinning-balls/
H A Dv.js428 function Form() { class
471 Form.prototype.remove = function () {
498 var form = new Form();
/external/chromium-trace/catapult/third_party/webtest/webtest/
H A D__init__.py13 from webtest.forms import Form namespace
H A Dforms.py358 class Form(object): class in inherits:object
676 value = '<Form'
/external/icu/icu4c/source/i18n/
H A Dstandardplural.h29 enum Form { enum in class:StandardPlural
42 static const char *getKeyword(Form p);
48 static Form orOtherFromString(const char *keyword) {
49 return static_cast<Form>(indexOrOtherIndexFromString(keyword));
56 static Form orOtherFromString(const UnicodeString &keyword) {
57 return static_cast<Form>(indexOrOtherIndexFromString(keyword));
66 static Form fromString(const char *keyword, UErrorCode &errorCode) {
67 return static_cast<Form>(indexFromString(keyword, errorCode));
76 static Form fromString(const UnicodeString &keyword, UErrorCode &errorCode) {
77 return static_cast<Form>(indexFromStrin
[all...]
/external/llvm/lib/DebugInfo/DWARF/
H A DDWARFAbbreviationDeclaration.cpp47 uint16_t Form = Data.getULEB128(OffsetPtr); local
52 if (Attr == 0 && Form == 0)
54 AttributeSpecs.push_back(AttributeSpec(Attr, Form));
80 const char *formString = FormEncodingString(Spec.Form);
84 OS << format("DW_FORM_Unknown_%x", Spec.Form);
/external/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFAbbreviationDeclaration.h23 AttributeSpec(uint16_t Attr, uint16_t Form) : Attr(Attr), Form(Form) {} argument
25 uint16_t Form; member in struct:llvm::DWARFAbbreviationDeclaration::AttributeSpec
43 return idx < AttributeSpecs.size() ? AttributeSpecs[idx].Form : 0;
H A DDWARFAcceleratorTable.h33 typedef uint16_t Form; typedef in struct:llvm::DWARFAcceleratorTable::HeaderData
35 SmallVector<std::pair<AtomType, Form>, 3> Atoms;
H A DDWARFFormValue.h51 uint16_t Form; // Form for this value. member in class:llvm::DWARFFormValue
55 DWARFFormValue(uint16_t Form = 0) : Form(Form) {}
56 uint16_t getForm() const { return Form; }
/external/llvm/unittests/DebugInfo/DWARF/
H A DDWARFFormValueTest.cpp35 bool isFormClass(uint16_t Form, DWARFFormValue::FormClass FC) { argument
36 return DWARFFormValue(Form).isFormClass(FC);
54 DWARFFormValue createDataXFormValue(uint16_t Form, RawTypeT Value) { argument
58 DWARFFormValue Result(Form);
/external/chromium-trace/catapult/firefighter/default/tracing/third_party/css-element-queries/test/
H A Dmootools-more-yui-compressed.min.js1 MooTools.More={version:"1.5.0",build:"73db5e24e6e9c5c87b3a27aebef2248053f7db37"};(function(){Events.Pseudos=function(a,j,i){var k="_monitorEvents:";var l=function(e){return{store:e.store?function(g,f){e.store(k+g,f)}:function(g,f){(e._monitorEvents||(e._monitorEvents={}))[g]=f},retrieve:e.retrieve?function(g,f){return e.retrieve(k+g,f)}:function(g,f){if(!e._monitorEvents){return f}return e._monitorEvents[g]||f}}};var b=function(f){if(f.indexOf(":")==-1||!a){return null}var g=Slick.parse(f).expressions[0][0],q=g.pseudos,h=q.length,r=[];while(h--){var s=q[h].key,e=a[s];if(e!=null){r.push({event:g.tag,value:q[h].value,pseudo:s,original:f,listener:e})}}return r.length?r:null};return{addEvent:function(t,g,w){var s=b(t);if(!s){return j.call(this,t,g,w)}var v=l(this),e=v.retrieve(t,[]),x=s[0].event,u=Array.slice(arguments,2),h=g,f=this;s.each(function(o){var n=o.listener,m=h;if(n==false){x+=":"+o.pseudo+"("+o.value+")"}else{h=function(){n.call(f,o,m,arguments,h)}}});e.include({type:x,event:g,monitor:h});v.store(t,e);if(t!=x){j.apply(this,[t,g].concat(u))}return j.apply(this,[x,h].concat(u))},removeEvent:function(e,f){var g=b(e);if(!g){return i.call(this,e,f)}var p=l(this),h=p.retrieve(e);if(!h){return this}var o=Array.slice(arguments,2);i.apply(this,[e,f].concat(o));h.each(function(n,m){if(!f||n.event==f){i.apply(this,[n.type,n.monitor].concat(o))}delete h[m]},this);p.store(e,h);return this}}};var c={once:function(b,a,g,h){a.apply(this,g);this.removeEvent(b.event,h).removeEvent(b.original,a)},throttle:function(b,a,f){if(!a._throttled){a.apply(this,f);a._throttled=setTimeout(function(){a._throttled=false},b.value||250)}},pause:function(b,a,f){clearTimeout(a._pause);a._pause=a.delay(b.value||250,this,f)}};Events.definePseudo=function(b,a){c[b]=a;return this};Events.lookupPseudo=function(a){return c[a]};var d=Events.prototype;Events.implement(Events.Pseudos(c,d.addEvent,d.removeEvent));["Request","Fx"].each(function(a){if(this[a]){this[a].implement(Events.prototype)}})})();Class.refactor=function(c,d){Object.each(d,function(a,b){var f=c.prototype[b];f=(f&&f.$origin)||f||function(){};c.implement(b,(typeof a=="function")?function(){var h=this.previous;this.previous=f;var e=a.apply(this,arguments);this.previous=h;return e}:a)});return c};Class.Mutators.Binds=function(b){if(!this.prototype.initialize){this.implement("initialize",function(){})}return Array.from(b).concat(this.prototype.Binds||[])};Class.Mutators.initialize=function(b){return function(){Array.from(this.Binds).each(function(a){var d=this[a];if(d){this[a]=d.bind(this)}},this);return b.apply(this,arguments)}};Class.Occlude=new Class({occlude:function(f,d){d=document.id(d||this.element);var e=d.retrieve(f||this.property);if(e&&!this.occluded){return(this.occluded=e)}this.occluded=false;d.store(f||this.property,this);return this.occluded}});(function(){var b={wait:function(a){return this.chain(function(){this.callChain.delay(a==null?500:a,this);return this}.bind(this))}};Chain.implement(b);if(this.Fx){Fx.implement(b)}if(this.Element&&Element.implement&&this.Fx){Element.implement({chains:function(a){Array.from(a||["tween","morph","reveal"]).each(function(d){d=this.get(d);if(!d){return}d.setOptions({link:"chain"})},this);return this},pauseFx:function(d,a){this.chains(a).get(a||"tween").wait(d);return this}})}})();(function(b){Array.implement({min:function(){return Math.min.apply(null,this)},max:function(){return Math.max.apply(null,this)},average:function(){return this.length?this.sum()/this.length:0},sum:function(){var a=0,d=this.length;if(d){while(d--){if(this[d]!=null){a+=parseFloat(this[d])}}}return a},unique:function(){return[].combine(this)},shuffle:function(){for(var f=this.length;f&&--f;){var a=this[f],e=Math.floor(Math.random()*(f+1));this[f]=this[e];this[e]=a}return this},reduce:function(g,f){for(var h=0,a=this.length;h<a;h++){if(h in this){f=f===b?this[h]:g.call(null,f,this[h],h,this)}}return f},reduceRight:function(f,e){var a=this.length;while(a--){if(a in this){e=e===b?this[a]:f.call(null,e,this[a],a,this)}}return e},pluck:function(a){return this.map(function(d){return d[a]})}})})();(function(){var c=function(a){return a!=null};var d=Object.prototype.hasOwnProperty;Object.extend({getFromPath:function(b,a){if(typeof a=="string"){a=a.split(".")}for(var g=0,h=a.length;g<h;g++){if(d.call(b,a[g])){b=b[a[g]]}else{return null}}return b},cleanValues:function(f,a){a=a||c;for(var b in f){if(!a(f[b])){delete f[b]}}return f},erase:function(b,a){if(d.call(b,a)){delete b[a]}return b},run:function(b){var f=Array.slice(arguments,1);for(var a in b){if(b[a].apply){b[a].apply(b,f)}}return b}})})();(function(){var f=null,g={},i={};var j=function(a){if(instanceOf(a,h.Set)){return a}else{return g[a]}};var h=this.Locale={define:function(e,a,c,b){var d;if(instanceOf(e,h.Set)){d=e.name;if(d){g[d]=e}}else{d=e;if(!g[d]){g[d]=new h.Set(d)}e=g[d]}if(a){e.define(a,c,b)}if(!f){f=e}return e},use:function(a){a=j(a);if(a){f=a;this.fireEvent("change",a)}return this},getCurrent:function(){return f},get:function(a,b){return(f)?f.get(a,b):""},inherit:function(c,b,a){c=j(c);if(c){c.inherit(b,a)}return this},list:function(){return Object.keys(g)}};Object.append(h,new Events);h.Set=new Class({sets:{},inherits:{locales:[],sets:{}},initialize:function(a){this.name=a||""},define:function(a,c,b){var d=this.sets[a];if(!d){d={}}if(c){if(typeOf(c)=="object"){d=Object.merge(d,c)}else{d[c]=b}}this.sets[a]=d;return this},get:function(a,t,b){var c=Object.getFromPath(this.sets,a);if(c!=null){var l=typeOf(c);if(l=="function"){c=c.apply(null,Array.from(t))}else{if(l=="object"){c=Object.clone(c)}}return c}var u=a.indexOf("."),d=u<0?a:a.substr(0,u),s=(this.inherits.sets[d]||[]).combine(this.inherits.locales).include("en-US");if(!b){b=[]}for(var v=0,w=s.length;v<w;v++){if(b.contains(s[v])){continue}b.include(s[v]);var e=g[s[v]];if(!e){continue}c=e.get(a,t,b);if(c!=null){return c}}return""},inherit:function(b,a){b=Array.from(b);if(a&&!this.inherits.sets[a]){this.inherits.sets[a]=[]}var c=b.length;while(c--){(a?this.inherits.sets[a]:this.inherits.locales).unshift(b[c])}return this}})})();Locale.define("en-US","Date",{months:["January","February","March","April","May","June","July","August","September","October","November","December"],months_abbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],days_abbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dateOrder:["month","date","year"],shortDate:"%m/%d/%Y",shortTime:"%I:%M%p",AM:"AM",PM:"PM",firstDayOfWeek:0,ordinal:function(b){return(b>3&&b<21)?"th":["th","st","nd","rd","th"][Math.min(b%10,4)]},lessThanMinuteAgo:"less than a minute ago",minuteAgo:"about a minute ago",minutesAgo:"{delta} minutes ago",hourAgo:"about an hour ago",hoursAgo:"about {delta} hours ago",dayAgo:"1 day ago",daysAgo:"{delta} days ago",weekAgo:"1 week ago",weeksAgo:"{delta} weeks ago",monthAgo:"1 month ago",monthsAgo:"{delta} months ago",yearAgo:"1 year ago",yearsAgo:"{delta} years ago",lessThanMinuteUntil:"less than a minute from now",minuteUntil:"about a minute from now",minutesUntil:"{delta} minutes from now",hourUntil:"about an hour from now",hoursUntil:"about {delta} hours from now",dayUntil:"1 day from now",daysUntil:"{delta} days from now",weekUntil:"1 week from now",weeksUntil:"{delta} weeks from now",monthUntil:"1 month from now",monthsUntil:"{delta} months from now",yearUntil:"1 year from now",yearsUntil:"{delta} years from now"});(function(){var J=this.Date;var E=J.Methods={ms:"Milliseconds",year:"FullYear",min:"Minutes",mo:"Month",sec:"Seconds",hr:"Hours"};["Date","Day","FullYear","Hours","Milliseconds","Minutes","Month","Seconds","Time","TimezoneOffset","Week","Timezone","GMTOffset","DayOfYear","LastMonth","LastDayOfMonth","UTCDate","UTCDay","UTCFullYear","AMPM","Ordinal","UTCHours","UTCMilliseconds","UTCMinutes","UTCMonth","UTCSeconds","UTCMilliseconds"].each(function(a){J.Methods[a.toLowerCase()]=a});var u=function(a,b,c){if(b==1){return a}return a<Math.pow(10,b-1)?(c||"0")+u(a,b-1,c):a};J.implement({set:function(a,c){a=a.toLowerCase();var b=E[a]&&"set"+E[a];if(b&&this[b]){this[b](c)}return this}.overloadSetter(),get:function(a){a=a.toLowerCase();var b=E[a]&&"get"+E[a];if(b&&this[b]){return this[b]()}return null}.overloadGetter(),clone:function(){return new J(this.get("time"))},increment:function(c,a){c=c||"day";a=a!=null?a:1;switch(c){case"year":return this.increment("month",a*12);case"month":var b=this.get("date");this.set("date",1).set("mo",this.get("mo")+a);return this.set("date",b.min(this.get("lastdayofmonth")));case"week":return this.increment("day",a*7);case"day":return this.set("date",this.get("date")+a)}if(!J.units[c]){throw new Error(c+" is not a supported interval")}return this.set("time",this.get("time")+a*J.units[c]())},decrement:function(b,a){return this.increment(b,-1*(a!=null?a:1))},isLeapYear:function(){return J.isLeapYear(this.get("year"))},clearTime:function(){return this.set({hr:0,min:0,sec:0,ms:0})},diff:function(a,b){if(typeOf(a)=="string"){a=J.parse(a)}return((a-this)/J.units[b||"day"](3,3)).round()},getLastDayOfMonth:function(){return J.daysInMonth(this.get("mo"),this.get("year"))},getDayOfYear:function(){return(J.UTC(this.get("year"),this.get("mo"),this.get("date")+1)-J.UTC(this.get("year"),0,1))/J.units.day()},setDay:function(b,c){if(c==null){c=J.getMsg("firstDayOfWeek");if(c===""){c=1}}b=(7+J.parseDay(b,true)-c)%7;var a=(7+this.get("day")-c)%7;return this.increment("day",b-a)},getWeek:function(c){if(c==null){c=J.getMsg("firstDayOfWeek");if(c===""){c=1}}var a=this,d=(7+a.get("day")-c)%7,e=0,b;if(c==1){var g=a.get("month"),f=a.get("date")-d;if(g==11&&f>28){return 1}if(g==0&&f<-2){a=new J(a).decrement("day",d);d=0}b=new J(a.get("year"),0,1).get("day")||7;if(b>4){e=-7}}else{b=new J(a.get("year"),0,1).get("day")}e+=a.get("dayofyear");e+=6-d;e+=(7+b-c)%7;return(e/7)},getOrdinal:function(a){return J.getMsg("ordinal",a||this.get("date"))},getTimezone:function(){return this.toString().replace(/^.*? ([A-Z]{3}).[0-9]{4}.*$/,"$1").replace(/^.*?\(([A-Z])[a-z]+ ([A-Z])[a-z]+ ([A-Z])[a-z]+\)$/,"$1$2$3")},getGMTOffset:function(){var a=this.get("timezoneOffset");return((a>0)?"-":"+")+u((a.abs()/60).floor(),2)+u(a%60,2)},setAMPM:function(b){b=b.toUpperCase();var a=this.get("hr");if(a>11&&b=="AM"){return this.decrement("hour",12)}else{if(a<12&&b=="PM"){return this.increment("hour",12)}}return this},getAMPM:function(){return(this.get("hr")<12)?"AM":"PM"},parse:function(a){this.set("time",J.parse(a));return this},isValid:function(a){if(!a){a=this}return typeOf(a)=="date"&&!isNaN(a.valueOf())},format:function(b){if(!this.isValid()){return"invalid date"}if(!b){b="%x %X"}if(typeof b=="string"){b=D[b.toLowerCase()]||b}if(typeof b=="function"){return b(this)}var a=this;return b.replace(/%([a-z%])/gi,function(c,d){switch(d){case"a":return J.getMsg("days_abbr")[a.get("day")];case"A":return J.getMsg("days")[a.get("day")];case"b":return J.getMsg("months_abbr")[a.get("month")];case"B":return J.getMsg("months")[a.get("month")];case"c":return a.format("%a %b %d %H:%M:%S %Y");case"d":return u(a.get("date"),2);case"e":return u(a.get("date"),2," ");case"H":return u(a.get("hr"),2);case"I":return u((a.get("hr")%12)||12,2);case"j":return u(a.get("dayofyear"),3);case"k":return u(a.get("hr"),2," ");case"l":return u((a.get("hr")%12)||12,2," ");case"L":return u(a.get("ms"),3);case"m":return u((a.get("mo")+1),2);case"M":return u(a.get("min"),2);case"o":return a.get("ordinal");case"p":return J.getMsg(a.get("ampm"));case"s":return Math.round(a/1000);case"S":return u(a.get("seconds"),2);case"T":return a.format("%H:%M:%S");case"U":return u(a.get("week"),2);case"w":return a.get("day");case"x":return a.format(J.getMsg("shortDate"));case"X":return a.format(J.getMsg("shortTime"));case"y":return a.get("year").toString().substr(2);case"Y":return a.get("year");case"z":return a.get("GMTOffset");case"Z":return a.get("Timezone")}return d})},toISOString:function(){return this.format("iso8601")}}).alias({toJSON:"toISOString",compare:"diff",strftime:"format"});var z=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var D={db:"%Y-%m-%d %H:%M:%S",compact:"%Y%m%dT%H%M%S","short":"%d %b %H:%M","long":"%B %d, %Y %H:%M",rfc822:function(a){return z[a.get("day")]+a.format(", %d ")+C[a.get("month")]+a.format(" %Y %H:%M:%S %Z")},rfc2822:function(a){return z[a.get("day")]+a.format(", %d ")+C[a.get("month")]+a.format(" %Y %H:%M:%S %z")},iso8601:function(a){return(a.getUTCFullYear()+"-"+u(a.getUTCMonth()+1,2)+"-"+u(a.getUTCDate(),2)+"T"+u(a.getUTCHours(),2)+":"+u(a.getUTCMinutes(),2)+":"+u(a.getUTCSeconds(),2)+"."+u(a.getUTCMilliseconds(),3)+"Z")}};var H=[],w=J.parse;var s=function(c,a,d){var e=-1,b=J.getMsg(c+"s");switch(typeOf(a)){case"object":e=b[a.get(c)];break;case"number":e=b[a];if(!e){throw new Error("Invalid "+c+" index: "+a)}break;case"string":var f=b.filter(function(g){return this.test(g)},new RegExp("^"+a,"i"));if(!f.length){throw new Error("Invalid "+c+" string")}if(f.length>1){throw new Error("Ambiguous "+c)}e=f[0]}return(d)?b.indexOf(e):e};var B=1900,v=70;J.extend({getMsg:function(a,b){return Locale.get("Date."+a,b)},units:{ms:Function.from(1),second:Function.from(1000),minute:Function.from(60000),hour:Function.from(3600000),day:Function.from(86400000),week:Function.from(608400000),month:function(b,c){var a=new J;return J.daysInMonth(b!=null?b:a.get("mo"),c!=null?c:a.get("year"))*86400000},year:function(a){a=a||new J().get("year");return J.isLeapYear(a)?31622400000:31536000000}},daysInMonth:function(a,b){return[31,J.isLeapYear(b)?29:28,31,30,31,30,31,31,30,31,30,31][a]},isLeapYear:function(a){return((a%4===0)&&(a%100!==0))||(a%400===0)},parse:function(a){var b=typeOf(a);if(b=="number"){return new J(a)}if(b!="string"){return a}a=a.clean();if(!a.length){return null}var c;H.some(function(d){var e=d.re.exec(a);return(e)?(c=d.handler(e)):false});if(!(c&&c.isValid())){c=new J(w(a));if(!(c&&c.isValid())){c=new J(a.toInt())}}return c},parseDay:function(b,a){return s("day",b,a)},parseMonth:function(a,b){return s("month",a,b)},parseUTC:function(b){var c=new J(b);var a=J.UTC(c.get("year"),c.get("mo"),c.get("date"),c.get("hr"),c.get("min"),c.get("sec"),c.get("ms"));return new J(a)},orderIndex:function(a){return J.getMsg("dateOrder").indexOf(a)+1},defineFormat:function(b,a){D[b]=a;return this},defineParser:function(a){H.push((a.re&&a.handler)?a:y(a));return this},defineParsers:function(){Array.flatten(arguments).each(J.defineParser);return this},define2DigitYearStart:function(a){v=a%100;B=a-v;return this}}).extend({defineFormats:J.defineFormat.overloadSetter()});var G=function(a){return new RegExp("(?:"+J.getMsg(a).map(function(b){return b.substr(0,3)}).join("|")+")[a-z]*")};var x=function(a){switch(a){case"T":return"%H:%M:%S";case"x":return((J.orderIndex("month")==1)?"%m[-./]%d":"%d[-./]%m")+"([-./]%y)?";case"X":return"%H([.:]%M)?([.:]%S([.:]%s)?)? ?%p? ?%z?"}return null};var A={d:/[0-2]?[0-9]|3[01]/,H:/[01]?[0-9]|2[0-3]/,I:/0?[1-9]|1[0-2]/,M:/[0-5]?\d/,s:/\d+/,o:/[a-z]*/,p:/[ap]\.?m\.?/,y:/\d{2}|\d{4}/,Y:/\d{4}/,z:/Z|[+-]\d{2}(?::?\d{2})?/};A.m=A.I;A.S=A.M;var F;var I=function(a){F=a;A.a=A.A=G("days");A.b=A.B=G("months");H.each(function(b,c){if(b.format){H[c]=y(b.format)}})};var y=function(a){if(!F){return{format:a}}var c=[];var b=(a.source||a).replace(/%([a-z])/gi,function(d,e){return x(e)||d}).replace(/\((?!\?)/g,"(?:").replace(/ (?!\?|\*)/g,",? ").replace(/%([a-z%])/gi,function(e,f){var d=A[f];if(!d){return f}c.push(f);return"("+d.source+")"}).replace(/\[a-z\]/gi,"[a-z\\u00c0-\\uffff;&]");return{format:a,re:new RegExp("^"+b+"$","i"),handler:function(g){g=g.slice(1).associate(c);var f=new J().clearTime(),d=g.y||g.Y;if(d!=null){t.call(f,"y",d)}if("d" in g){t.call(f,"d",1)}if("m" in g||g.b||g.B){t.call(f,"m",1)}for(var e in g){t.call(f,e,g[e])}return f}}};var t=function(c,b){if(!b){return this}switch(c){case"a":case"A":return this.set("day",J.parseDay(b,true));case"b":case"B":return this.set("mo",J.parseMonth(b,true));case"d":return this.set("date",b);case"H":case"I":return this.set("hr",b);case"m":return this.set("mo",b-1);case"M":return this.set("min",b);case"p":return this.set("ampm",b.replace(/\./g,""));case"S":return this.set("sec",b);case"s":return this.set("ms",("0."+b)*1000);case"w":return this.set("day",b);case"Y":return this.set("year",b);case"y":b=+b;if(b<100){b+=B+(b<v?100:0)}return this.set("year",b);case"z":if(b=="Z"){b="+00"}var a=b.match(/([+-])(\d{2}):?(\d{2})?/);a=(a[1]+"1")*(a[2]*60+(+a[3]||0))+this.getTimezoneOffset();return this.set("time",this-a*60000)}return this};J.defineParsers("%Y([-./]%m([-./]%d((T| )%X)?)?)?","%Y%m%d(T%H(%M%S?)?)?","%x( %X)?","%d%o( %b( %Y)?)?( %X)?","%b( %d%o)?( %Y)?( %X)?","%Y %b( %d%o( %X)?)?","%o %b %d %X %z %Y","%T","%H:%M( ?%p)?");Locale.addEvent("change",function(a){if(Locale.get("Date")){I(a)}}).fireEvent("change",Locale.getCurrent())})();Date.implement({timeDiffInWords:function(b){return Date.distanceOfTimeInWords(this,b||new Date)},timeDiff:function(m,p){if(m==null){m=new Date}var k=((m-this)/1000).floor().abs();var n=[],r=[60,60,24,365,0],o=["s","m","h","d","y"],l,q;for(var j=0;j<r.length;j++){if(j&&!k){break}l=k;if((q=r[j])){l=(k%q);k=(k/q).floor()}n.unshift(l+(o[j]||""))}return n.join(p||":")}}).extend({distanceOfTimeInWords:function(c,d){return Date.getTimePhrase(((d-c)/1000).toInt())},getTimePhrase:function(i){var k=(i<0)?"Until":"Ago";if(i<0){i*=-1}var g={minute:60,hour:60,day:24,week:7,month:52/12,year:12,eon:Infinity};var j="lessThanMinute";for(var l in g){var h=g[l];if(i<1.5*h){if(i>0.75*h){j=l}break}i/=h;j=l+"s"}i=i.round();return Date.getMsg(j+k,i).substitute({delta:i})}}).defineParsers({re:/^(?:tod|tom|yes)/i,handler:function(d){var c=new Date().clearTime();switch(d[0]){case"tom":return c.increment();case"yes":return c.decrement();default:return c}}},{re:/^(next|last) ([a-z]+)$/i,handler:function(i){var h=new Date().clearTime();var d=h.getDay();var j=Date.parseDay(i[2],true);var g=j-d;if(j<=d){g+=7}if(i[1]=="last"){g-=7}return h.set("date",h.getDate()+g)}}).alias("timeAgoInWords","timeDiffInWords");Locale.define("en-US","Number",{decimal:".",group:",",currency:{prefix:"$ "}});Number.implement({format:function(i){var t=this;i=i?Object.clone(i):{};var F=function(a){if(i[a]!=null){return i[a]}return Locale.get("Number."+a)};var A=t<0,y=F("decimal"),w=F("precision"),s=F("group"),D=F("decimals");if(A){var B=F("negative")||{};if(B.prefix==null&&B.suffix==null){B.prefix="-"}["prefix","suffix"].each(function(a){if(B[a]){i[a]=F(a)+B[a]}});t=-t}var v=F("prefix"),r=F("suffix");if(D!==""&&D>=0&&D<=20){t=t.toFixed(D)}if(w>=1&&w<=21){t=(+t).toPrecision(w)}t+="";var u;if(F("scientific")===false&&t.indexOf("e")>-1){var x=t.split("e"),E=+x[1];t=x[0].replace(".","");if(E<0){E=-E-1;u=x[0].indexOf(".");if(u>-1){E-=u-1}while(E--){t="0"+t}t="0."+t}else{u=x[0].lastIndexOf(".");if(u>-1){E-=x[0].length-u-1}while(E--){t+="0"}}}if(y!="."){t=t.replace(".",y)}if(s){u=t.lastIndexOf(y);u=(u>-1)?u:t.length;var C=t.substring(u),z=u;while(z--){if((u-z-1)%3==0&&z!=(u-1)){C=s+C}C=t.charAt(z)+C}t=C}if(v){t=v+t}if(r){t+=r}return t},formatCurrency:function(c){var d=Locale.get("Number.currency")||{};if(d.scientific==null){d.scientific=false}d.decimals=c!=null?c:(d.decimals==null?2:d.decimals);return this.format(d)},formatPercentage:function(c){var d=Locale.get("Number.percentage")||{};if(d.suffix==null){d.suffix="%"}d.decimals=c!=null?c:(d.decimals==null?2:d.decimals);return this.format(d)}});(function(){var j={a:/[àáâãäåăą]/g,A:/[ÀÁÂÃÄÅĂĄ]/g,c:/[ćčç]/g,C:/[ĆČÇ]/g,d:/[ďđ]/g,D:/[ĎÐ]/g,e:/[èéêëěę]/g,E:/[ÈÉÊËĚĘ]/g,g:/[ğ]/g,G:/[Ğ]/g,i:/[ìíîï]/g,I:/[ÌÍÎÏ]/g,l:/[ĺľł]/g,L:/[ĹĽŁ]/g,n:/[ñňń]/g,N:/[ÑŇŃ]/g,o:/[òóôõöøő]/g,O:/[ÒÓÔÕÖØ]/g,r:/[řŕ]/g,R:/[ŘŔ]/g,s:/[ššş]/g,S:/[ŠŞŚ]/g,t:/[ťţ]/g,T:/[ŤŢ]/g,u:/[ùúûůüµ]/g,U:/[ÙÚÛŮÜ]/g,y:/[ÿý]/g,Y:/[ŸÝ]/g,z:/[žźż]/g,Z:/[ŽŹŻ]/g,th:/[þ]/g,TH:/[Þ]/g,dh:/[ð]/g,DH:/[Ð]/g,ss:/[ß]/g,oe:/[œ]/g,OE:/[Œ]/g,ae:/[æ]/g,AE:/[Æ]/g},k={" ":/[\xa0\u2002\u2003\u2009]/g,"*":/[\xb7]/g,"'":/[\u2018\u2019]/g,'"':/[\u201c\u201d]/g,"...":/[\u2026]/g,"-":/[\u2013]/g,"&raquo;":/[\uFFFD]/g},l={ms:1,s:1000,m:60000,h:3600000},g=/(\d*.?\d+)([msh]+)/;var h=function(c,a){var d=c,b;for(b in a){d=d.replace(a[b],b)}return d};var i=function(d,b){d=d||"";var a=b?"<"+d+"(?!\\w)[^>]*>([\\s\\S]*?)</"+d+"(?!\\w)>":"</?"+d+"([^>]+)?>",c=new RegExp(a,"gi");return c};String.implement({standardize:function(){return h(this,j)},repeat:function(a){return new Array(a+1).join(this)},pad:function(d,a,b){if(this.length>=d){return this}var c=(a==null?" ":""+a).repeat(d-this.length).substr(0,d-this.length);if(!b||b=="right"){return this+c}if(b=="left"){return c+this}return c.substr(0,(c.length/2).floor())+this+c.substr(0,(c.length/2).ceil())},getTags:function(b,a){return this.match(i(b,a))||[]},stripTags:function(b,a){return this.replace(i(b,a),"")},tidy:function(){return h(this,k)},truncate:function(e,d,a){var b=this;if(d==null&&arguments.length==1){d="…"}if(b.length>e){b=b.substring(0,e);if(a){var c=b.lastIndexOf(a);if(c!=-1){b=b.substr(0,c)}}if(d){b+=d}}return b},ms:function(){var a=g.exec(this);if(a==null){return Number(this)}return Number(a[1])*l[a[2]]}})})();String.implement({parseQueryString:function(g,f){if(g==null){g=true}if(f==null){f=true}var h=this.split(/[&;]/),e={};if(!h.length){return e}h.each(function(a){var j=a.indexOf("=")+1,c=j?a.substr(j):"",d=j?a.substr(0,j-1).match(/([^\]\[]+|(\B)(?=\]))/g):[a],b=e;if(!d){return}if(f){c=decodeURIComponent(c)}d.each(function(m,n){if(g){m=decodeURIComponent(m)}var i=b[m];if(n<d.length-1){b=b[m]=i||{}}else{if(typeOf(i)=="array"){i.push(c)}else{b[m]=i!=null?[i,c]:c}}})});return e},cleanQueryString:function(b){return this.split("&").filter(function(f){var a=f.indexOf("="),h=a<0?"":f.substr(0,a),g=f.substr(a+1);return b?b.call(null,h,g):(g||g===0)}).join("&")}});(function(){var c=function(){return this.get("value")};var d=this.URI=new Class({Implements:Options,options:{},regex:/^(?:(\w+):)?(?:\/\/(?:(?:([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)?(\.\.?$|(?:[^?#\/]*\/)*)([^?#]*)(?:\?([^#]*))?(?:#(.*))?/,parts:["scheme","user","password","host","port","directory","file","query","fragment"],schemes:{http:80,https:443,ftp:21,rtsp:554,mms:1755,file:0},initialize:function(b,f){this.setOptions(f);var a=this.options.base||d.base;if(!b){b=a}if(b&&b.parsed){this.parsed=Object.clone(b.parsed)}else{this.set("value",b.href||b.toString(),a?new d(a):false)}},parse:function(a,b){var f=a.match(this.regex);if(!f){return false}f.shift();return this.merge(f.associate(this.parts),b)},merge:function(a,b){if((!a||!a.scheme)&&(!b||!b.scheme)){return false}if(b){this.parts.every(function(f){if(a[f]){return false}a[f]=b[f]||"";return true})}a.port=a.port||this.schemes[a.scheme.toLowerCase()];a.directory=a.directory?this.parseDirectory(a.directory,b?b.directory:""):"/";return a},parseDirectory:function(b,a){b=(b.substr(0,1)=="/"?"":(a||"/"))+b;if(!b.test(d.regs.directoryDot)){return b}var f=[];b.replace(d.regs.endSlash,"").split("/").each(function(e){if(e==".."&&f.length>0){f.pop()}else{if(e!="."){f.push(e)}}});return f.join("/")+"/"},combine:function(a){return a.value||a.scheme+"://"+(a.user?a.user+(a.password?":"+a.password:"")+"@":"")+(a.host||"")+(a.port&&a.port!=this.schemes[a.scheme]?":"+a.port:"")+(a.directory||"/")+(a.file||"")+(a.query?"?"+a.query:"")+(a.fragment?"#"+a.fragment:"")},set:function(g,a,b){if(g=="value"){var h=a.match(d.regs.scheme);if(h){h=h[1]}if(h&&this.schemes[h.toLowerCase()]==null){this.parsed={scheme:h,value:a}}else{this.parsed=this.parse(a,(b||this).parsed)||(h?{scheme:h,value:a}:{value:a})}}else{if(g=="data"){this.setData(a)}else{this.parsed[g]=a}}return this},get:function(b,a){switch(b){case"value":return this.combine(this.parsed,a?a.parsed:false);case"data":return this.getData()}return this.parsed[b]||""},go:function(){document.location.href=this.toString()},toURI:function(){return this},getData:function(b,g){var h=this.get(g||"query");if(!(h||h===0)){return b?null:{}}var a=h.parseQueryString();return b?a[b]:a},setData:function(h,a,g){if(typeof h=="string"){var b=this.getData();b[arguments[0]]=arguments[1];h=b}else{if(a){h=Object.merge(this.getData(null,g),h)}}return this.set(g||"query",Object.toQueryString(h))},clearData:function(a){return this.set(a||"query","")},toString:c,valueOf:c});d.regs={endSlash:/\/$/,scheme:/^(\w+):/,directoryDot:/\.\/|\.$/};d.base=new d(Array.from(document.getElements("base[href]",true)).getLast(),{base:document.location});String.implement({toURI:function(a){return new d(this,a)}})})();URI=Class.refactor(URI,{combine:function(m,n){if(!n||m.scheme!=n.scheme||m.host!=n.host||m.port!=n.port){return this.previous.apply(this,arguments)}var j=m.file+(m.query?"?"+m.query:"")+(m.fragment?"#"+m.fragment:"");if(!n.directory){return(m.directory||(m.file?"":"./"))+j}var o=n.directory.split("/"),p=m.directory.split("/"),l="",k;var i=0;for(k=0;k<o.length&&k<p.length&&o[k]==p[k];k++){}for(i=0;i<o.length-k-1;i++){l+="../"}for(i=k;i<p.length-1;i++){l+=p[i]+"/"}return(l||(m.file?"":"./"))+j},toAbsolute:function(b){b=new URI(b);if(b){b.set("directory","").set("file","")}return this.toRelative(b)},toRelative:function(b){return this.get("value",new URI(b))}});(function(){if(this.Hash){return}var b=this.Hash=new Type("Hash",function(a){if(typeOf(a)=="hash"){a=Object.clone(a.getClean())}for(var d in a){this[d]=a[d]}return this});this.$H=function(a){return new b(a)};b.implement({forEach:function(a,d){Object.forEach(this,a,d)},getClean:function(){var d={};for(var a in this){if(this.hasOwnProperty(a)){d[a]=this[a]}}return d},getLength:function(){var d=0;for(var a in this){if(this.hasOwnProperty(a)){d++}}return d}});b.alias("each","forEach");b.implement({has:Object.prototype.hasOwnProperty,keyOf:function(a){return Object.keyOf(this,a)},hasValue:function(a){return Object.contains(this,a)},extend:function(a){b.each(a||{},function(e,f){b.set(this,f,e)},this);return this},combine:function(a){b.each(a||{},function(e,f){b.include(this,f,e)},this);return this},erase:function(a){if(this.hasOwnProperty(a)){delete this[a]}return this},get:function(a){return(this.hasOwnProperty(a))?this[a]:null},set:function(a,d){if(!this[a]||this.hasOwnProperty(a)){this[a]=d}return this},empty:function(){b.each(this,function(d,a){delete this[a]},this);return this},include:function(a,d){if(this[a]==undefined){this[a]=d}return this},map:function(a,d){return new b(Object.map(this,a,d))},filter:function(a,d){return new b(Object.filter(this,a,d))},every:function(a,d){return Object.every(this,a,d)},some:function(a,d){return Object.some(this,a,d)},getKeys:function(){return Object.keys(this)},getValues:function(){return Object.values(this)},toQueryString:function(a){return Object.toQueryString(this,a)}});b.alias({indexOf:"keyOf",contains:"hasValue"})})();Hash.implement({getFromPath:function(b){return Object.getFromPath(this,b)},cleanValues:function(b){return new Hash(Object.cleanValues(this,b))},run:function(){Object.run(arguments)}});Element.implement({tidy:function(){this.set("value",this.get("value").tidy())},getTextInRange:function(c,d){return this.get("value").substring(c,d)},getSelectedText:function(){if(this.setSelectionRange){return this.getTextInRange(this.getSelectionStart(),this.getSelectionEnd())}return document.selection.createRange().text},getSelectedRange:function(){if(this.selectionStart!=null){return{start:this.selectionStart,end:this.selectionEnd}}var h={start:0,end:0};var g=this.getDocument().selection.createRange();if(!g||g.parentElement()!=this){return h}var j=g.duplicate();if(this.type=="text"){h.start=0-j.moveStart("character",-100000);h.end=h.start+g.text.length}else{var f=this.get("value");var i=f.length;j.moveToElementText(this);j.setEndPoint("StartToEnd",g);if(j.text.length){i-=f.match(/[\n\r]*$/)[0].length}h.end=i-j.text.length;j.setEndPoint("StartToStart",g);h.start=i-j.text.length}return h},getSelectionStart:function(){return this.getSelectedRange().start},getSelectionEnd:function(){return this.getSelectedRange().end},setCaretPosition:function(b){if(b=="end"){b=this.get("value").length}this.selectRange(b,b);return this},getCaretPosition:function(){return this.getSelectedRange().start},selectRange:function(h,g){if(this.setSelectionRange){this.focus();this.setSelectionRange(h,g)}else{var j=this.get("value");var i=j.substr(h,g-h).replace(/\r/g,"").length;h=j.substr(0,h).replace(/\r/g,"").length;var f=this.createTextRange();f.collapse(true);f.moveEnd("character",h+i);f.moveStart("character",h);f.select()}return this},insertAtCursor:function(e,f){var g=this.getSelectedRange();var h=this.get("value");this.set("value",h.substring(0,g.start)+e+h.substring(g.end,h.length));if(f!==false){this.selectRange(g.start,g.start+e.length)}else{this.setCaretPosition(g.start+e.length)}return this},insertAroundCursor:function(h,i){h=Object.append({before:"",defaultMiddle:"",after:""},h);var n=this.getSelectedText()||h.defaultMiddle;var j=this.getSelectedRange();var k=this.get("value");if(j.start==j.end){this.set("value",k.substring(0,j.start)+h.before+n+h.after+k.substring(j.end,k.length));this.selectRange(j.start+h.before.length,j.end+h.before.length+n.length)}else{var m=k.substring(j.start,j.end);this.set("value",k.substring(0,j.start)+h.before+m+h.after+k.substring(j.end,k.length));var l=j.start+h.before.length;if(i!==false){this.selectRange(l,l+m.length)}else{this.setCaretPosition(l+k.length)}}return this}});Elements.from=function(h,i){if(i||i==null){h=h.stripScripts()}var f,j=h.match(/^\s*(?:<!--.*?-->\s*)*<(t[dhr]|tbody|tfoot|thead)/i);if(j){f=new Element("table");var g=j[1].toLowerCase();if(["td","th","tr"].contains(g)){f=new Element("tbody").inject(f);if(g!="tr"){f=new Element("tr").inject(f)}}}return(f||new Element("div")).set("html",h).getChildren()};(function(){var g={relay:false},h=["once","throttle","pause"],e=h.length;while(e--){g[h[e]]=Events.lookupPseudo(h[e])}DOMEvent.definePseudo=function(b,a){g[b]=a;return this};var f=Element.prototype;[Element,Window,Document].invoke("implement",Events.Pseudos(g,f.addEvent,f.removeEvent))})();(function(){var d="$moo:keys-pressed",c="$moo:keys-keyup";DOMEvent.definePseudo("keys",function(o,n,p){var l=p[0],m=[],b=this.retrieve(d,[]),k=o.value;if(k!="+"){m.append(k.replace("++",function(){m.push("+");return""}).split("+"))}else{m=["+"]}b.include(l.key);if(m.every(function(e){return b.contains(e)})){n.apply(this,p)}this.store(d,b);if(!this.retrieve(c)){var a=function(e){(function(){b=this.retrieve(d,[]).erase(e.key);this.store(d,b)}).delay(0,this)};this.store(c,a).addEvent("keyup",a)}});DOMEvent.defineKeys({"16":"shift","17":"control","18":"alt","20":"capslock","33":"pageup","34":"pagedown","35":"end","36":"home","144":"numlock","145":"scrolllock","186":";","187":"=","188":",","190":".","191":"/","192":"`","219":"[","220":"\\","221":"]","222":"'","107":"+","109":"-","189":"-"})})();(function(){var d=function(b,c){var a=[];Object.each(c,function(h){Object.each(h,function(g){b.each(function(j){a.push(j+"-"+g+(j=="border"?"-width":""))})})});return a};var f=function(a,b){var c=0;Object.each(b,function(i,j){if(j.test(a)){c=c+i.toInt()}});return c};var e=function(a){return !!(!a||a.offsetHeight||a.offsetWidth)};Element.implement({measure:function(a){if(e(this)){return a.call(this)}var b=this.getParent(),i=[];while(!e(b)&&b!=document.body){i.push(b.expose());b=b.getParent()}var c=this.expose(),j=a.call(this);c();i.each(function(g){g()});return j},expose:function(){if(this.getStyle("display")!="none"){return function(){}}var a=this.style.cssText;this.setStyles({display:"block",position:"absolute",visibility:"hidden"});return function(){this.style.cssText=a}.bind(this)},getDimensions:function(k){k=Object.merge({computeSize:false},k);var a={x:0,y:0};var b=function(g,h){return(h.computeSize)?g.getComputedSize(h):g.getSize()};var j=this.getParent("body");if(j&&this.getStyle("display")=="none"){a=this.measure(function(){return b(this,k)})}else{if(j){try{a=b(this,k)}catch(c){}}}return Object.append(a,(a.x||a.x===0)?{width:a.x,height:a.y}:{x:a.width,y:a.height})},getComputedSize:function(h){h=Object.merge({styles:["padding","border"],planes:{height:["top","bottom"],width:["left","right"]},mode:"both"},h);var a={},c={width:0,height:0},b;if(h.mode=="vertical"){delete c.width;delete h.planes.width}else{if(h.mode=="horizontal"){delete c.height;delete h.planes.height}}d(h.styles,h.planes).each(function(g){a[g]=this.getStyle(g).toInt()},this);Object.each(h.planes,function(m,n){var g=n.capitalize(),l=this.getStyle(n);if(l=="auto"&&!b){b=this.getDimensions()}l=a[n]=(l=="auto")?b[n]:l.toInt();c["total"+g]=l;m.each(function(i){var j=f(i,a);c["computed"+i.capitalize()]=j;c["total"+g]+=j})},this);return Object.append(c,a)}})})();(function(){var e=false,d=false;var f=function(){var a=new Element("div").setStyles({position:"fixed",top:0,right:0}).inject(document.body);e=(a.offsetTop===0);a.dispose();d=true};Element.implement({pin:function(p,r){if(!d){f()}if(this.getStyle("display")=="none"){return this}var n,c=window.getScroll(),b,s;if(p!==false){n=this.getPosition();if(!this.retrieve("pin:_pinned")){var q={top:n.y-c.y,left:n.x-c.x,margin:"0px",padding:"0px"};if(e&&!r){this.setStyle("position","fixed").setStyles(q)}else{b=this.getOffsetParent();var o=this.getPosition(b),a=this.getStyles("left","top");if(b&&a.left=="auto"||a.top=="auto"){this.setPosition(o)}if(this.getStyle("position")=="static"){this.setStyle("position","absolute")}o={x:a.left.toInt()-c.x,y:a.top.toInt()-c.y};s=function(){if(!this.retrieve("pin:_pinned")){return}var g=window.getScroll();this.setStyles({left:o.x+g.x,top:o.y+g.y})}.bind(this);this.store("pin:_scrollFixer",s);window.addEvent("scroll",s)}this.store("pin:_pinned",true)}}else{if(!this.retrieve("pin:_pinned")){return this}b=this.getParent();var t=(b.getComputedStyle("position")!="static"?b:b.getOffsetParent());n=this.getPosition();this.store("pin:_pinned",false);s=this.retrieve("pin:_scrollFixer");if(!s){this.setStyles({position:"absolute",top:n.y+c.y,left:n.x+c.x})}else{this.store("pin:_scrollFixer",null);window.removeEvent("scroll",s)}this.removeClass("isPinned")}return this},unpin:function(){return this.pin(false)},togglePin:function(){return this.pin(!this.retrieve("pin:_pinned"))}})})();(function(c){var d=Element.Position={options:{relativeTo:document.body,position:{x:"center",y:"center"},offset:{x:0,y:0}},getOptions:function(a,b){b=Object.merge({},d.options,b);d.setPositionOption(b);d.setEdgeOption(b);d.setOffsetOption(a,b);d.setDimensionsOption(a,b);return b},setPositionOption:function(a){a.position=d.getCoordinateFromValue(a.position)},setEdgeOption:function(a){var b=d.getCoordinateFromValue(a.edge);a.edge=b?b:(a.position.x=="center"&&a.position.y=="center")?{x:"center",y:"center"}:{x:"left",y:"top"}},setOffsetOption:function(b,i){var j={x:0,y:0};var h={x:0,y:0};var a=b.measure(function(){return document.id(this.getOffsetParent())});if(!a||a==b.getDocument().body){return}h=a.getScroll();j=a.measure(function(){var e=this.getPosition();if(this.getStyle("position")=="fixed"){var f=window.getScroll();e.x+=f.x;e.y+=f.y}return e});i.offset={parentPositioned:a!=document.id(i.relativeTo),x:i.offset.x-j.x+h.x,y:i.offset.y-j.y+h.y}},setDimensionsOption:function(a,b){b.dimensions=a.getDimensions({computeSize:true,styles:["padding","border","margin"]})},getPosition:function(h,i){var j={};i=d.getOptions(h,i);var b=document.id(i.relativeTo)||document.body;d.setPositionCoordinates(i,j,b);if(i.edge){d.toEdge(j,i)}var a=i.offset;j.left=((j.x>=0||a.parentPositioned||i.allowNegative)?j.x:0).toInt();j.top=((j.y>=0||a.parentPositioned||i.allowNegative)?j.y:0).toInt();d.toMinMax(j,i);if(i.relFixedPosition||b.getStyle("position")=="fixed"){d.toRelFixedPosition(b,j)}if(i.ignoreScroll){d.toIgnoreScroll(b,j)}if(i.ignoreMargins){d.toIgnoreMargins(j,i)}j.left=Math.ceil(j.left);j.top=Math.ceil(j.top);delete j.x;delete j.y;return j},setPositionCoordinates:function(a,n,q){var o=a.offset.y,m=a.offset.x,p=(q==document.body)?window.getScroll():q.getPosition(),b=p.y,r=p.x,l=window.getSize();switch(a.position.x){case"left":n.x=r+m;break;case"right":n.x=r+m+q.offsetWidth;break;default:n.x=r+((q==document.body?l.x:q.offsetWidth)/2)+m;break}switch(a.position.y){case"top":n.y=b+o;break;case"bottom":n.y=b+o+q.offsetHeight;break;default:n.y=b+((q==document.body?l.y:q.offsetHeight)/2)+o;break}},toMinMax:function(h,g){var a={left:"x",top:"y"},b;["minimum","maximum"].each(function(e){["left","top"].each(function(f){b=g[e]?g[e][a[f]]:null;if(b!=null&&((e=="minimum")?h[f]<b:h[f]>b)){h[f]=b}})})},toRelFixedPosition:function(a,f){var b=window.getScroll();f.top+=b.y;f.left+=b.x},toIgnoreScroll:function(a,b){var f=a.getScroll();b.top-=f.y;b.left-=f.x},toIgnoreMargins:function(b,a){b.left+=a.edge.x=="right"?a.dimensions["margin-right"]:(a.edge.x!="center"?-a.dimensions["margin-left"]:-a.dimensions["margin-left"]+((a.dimensions["margin-right"]+a.dimensions["margin-left"])/2));b.top+=a.edge.y=="bottom"?a.dimensions["margin-bottom"]:(a.edge.y!="center"?-a.dimensions["margin-top"]:-a.dimensions["margin-top"]+((a.dimensions["margin-bottom"]+a.dimensions["margin-top"])/2))},toEdge:function(j,i){var h={},a=i.dimensions,b=i.edge;switch(b.x){case"left":h.x=0;break;case"right":h.x=-a.x-a.computedRight-a.computedLeft;break;default:h.x=-(Math.round(a.totalWidth/2));break}switch(b.y){case"top":h.y=0;break;case"bottom":h.y=-a.y-a.computedTop-a.computedBottom;break;default:h.y=-(Math.round(a.totalHeight/2));break}j.x+=h.x;j.y+=h.y},getCoordinateFromValue:function(a){if(typeOf(a)!="string"){return a}a=a.toLowerCase();return{x:a.test("left")?"left":(a.test("right")?"right":"center"),y:a.test(/upper|top/)?"top":(a.test("bottom")?"bottom":"center")}}};Element.implement({position:function(a){if(a&&(a.x!=null||a.y!=null)){return(c?c.apply(this,arguments):this)}var b=this.setStyle("position","absolute").calculatePosition(a);return(a&&a.returnPos)?b:this.setStyles(b)},calculatePosition:function(a){return d.getPosition(this,a)}})})(Element.prototype.position);Element.implement({isDisplayed:function(){return this.getStyle("display")!="none"},isVisible:function(){var d=this.offsetWidth,c=this.offsetHeight;return(d==0&&c==0)?false:(d>0&&c>0)?true:this.style.display!="none"},toggle:function(){return this[this.isDisplayed()?"hide":"show"]()},hide:function(){var c;try{c=this.getStyle("display")}catch(d){}if(c=="none"){return this}return this.store("element:_originalDisplay",c||"").setStyle("display","none")},show:function(b){if(!b&&this.isDisplayed()){return this}b=b||this.retrieve("element:_originalDisplay")||"block";return this.setStyle("display",(b=="none")?"block":b)},swapClass:function(d,c){return this.removeClass(d).addClass(c)}});Document.implement({clearSelection:function(){if(window.getSelection){var d=window.getSelection();if(d&&d.removeAllRanges){d.removeAllRanges()}}else{if(document.selection&&document.selection.empty){try{document.selection.empty()}catch(c){}}}}});(function(){var b=false;this.IframeShim=new Class({Implements:[Options,Events,Class.Occlude],options:{className:"iframeShim",src:'javascript:false;document.write("");',display:false,zIndex:null,margin:0,offset:{x:0,y:0},browsers:b},property:"IframeShim",initialize:function(d,a){this.element=document.id(d);if(this.occlude()){return this.occluded}this.setOptions(a);this.makeShim();return this},makeShim:function(){if(this.options.browsers){var e=this.element.getStyle("zIndex").toInt();if(!e){e=1;var f=this.element.getStyle("position");if(f=="static"||!f){this.element.setStyle("position","relative")}this.element.setStyle("zIndex",e)}e=((this.options.zIndex!=null||this.options.zIndex===0)&&e>this.options.zIndex)?this.options.zIndex:e-1;if(e<0){e=1}this.shim=new Element("iframe",{src:this.options.src,scrolling:"no",frameborder:0,styles:{zIndex:e,position:"absolute",border:"none",filter:"progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)"},"class":this.options.className}).store("IframeShim",this);var a=(function(){this.shim.inject(this.element,"after");this[this.options.display?"show":"hide"]();this.fireEvent("inject")}).bind(this);if(!IframeShim.ready){window.addEvent("load",a)}else{a()}}else{this.position=this.hide=this.show=this.dispose=Function.from(this)}},position:function(){if(!IframeShim.ready||!this.shim){return this}var a=this.element.measure(function(){return this.getSize()});if(this.options.margin!=undefined){a.x=a.x-(this.options.margin*2);a.y=a.y-(this.options.margin*2);this.options.offset.x+=this.options.margin;this.options.offset.y+=this.options.margin}this.shim.set({width:a.x,height:a.y}).position({relativeTo:this.element,offset:this.options.offset});return this},hide:function(){if(this.shim){this.shim.setStyle("display","none")}return this},show:function(){if(this.shim){this.shim.setStyle("display","block")}return this.position()},dispose:function(){if(this.shim){this.shim.dispose()}return this},destroy:function(){if(this.shim){this.shim.destroy()}return this}})})();window.addEvent("load",function(){IframeShim.ready=true});var Mask=new Class({Implements:[Options,Events],Binds:["position"],options:{style:{},"class":"mask",maskMargins:false,useIframeShim:true,iframeShimOptions:{}},initialize:function(c,d){this.target=document.id(c)||document.id(document.body);this.target.store("mask",this);this.setOptions(d);this.render();this.inject()},render:function(){this.element=new Element("div",{"class":this.options["class"],id:this.options.id||"mask-"+String.uniqueID(),styles:Object.merge({},this.options.style,{display:"none"}),events:{click:function(b){this.fireEvent("click",b);if(this.options.hideOnClick){this.hide()}}.bind(this)}});this.hidden=true},toElement:function(){return this.element},inject:function(c,d){d=d||(this.options.inject?this.options.inject.where:"")||(this.target==document.body?"inside":"after");c=c||(this.options.inject&&this.options.inject.target)||this.target;this.element.inject(c,d);if(this.options.useIframeShim){this.shim=new IframeShim(this.element,this.options.iframeShimOptions);this.addEvents({show:this.shim.show.bind(this.shim),hide:this.shim.hide.bind(this.shim),destroy:this.shim.destroy.bind(this.shim)})}},position:function(){this.resize(this.options.width,this.options.height);this.element.position({relativeTo:this.target,position:"topLeft",ignoreMargins:!this.options.maskMargins,ignoreScroll:this.target==document.body});return this},resize:function(g,h){var f={styles:["padding","border"]};if(this.options.maskMargins){f.styles.push("margin")}var i=this.target.getComputedSize(f);if(this.target==document.body){this.element.setStyles({width:0,height:0});var j=window.getScrollSize();if(i.totalHeight<j.y){i.totalHeight=j.y}if(i.totalWidth<j.x){i.totalWidth=j.x}}this.element.setStyles({width:Array.pick([g,i.totalWidth,i.x]),height:Array.pick([h,i.totalHeight,i.y])});return this},show:function(){if(!this.hidden){return this}window.addEvent("resize",this.position);this.position();this.showMask.apply(this,arguments);return this},showMask:function(){this.element.setStyle("display","block");this.hidden=false;this.fireEvent("show")},hide:function(){if(this.hidden){return this}window.removeEvent("resize",this.position);this.hideMask.apply(this,arguments);if(this.options.destroyOnHide){return this.destroy()}return this},hideMask:function(){this.element.setStyle("display","none");this.hidden=true;this.fireEvent("hide")},toggle:function(){this[this.hidden?"show":"hide"]()},destroy:function(){this.hide();this.element.destroy();this.fireEvent("destroy");this.target.eliminate("mask")}});Element.Properties.mask={set:function(c){var d=this.retrieve("mask");if(d){d.destroy()}return this.eliminate("mask").store("mask:options",c)},get:function(){var b=this.retrieve("mask");if(!b){b=new Mask(this,this.retrieve("mask:options"));this.store("mask",b)}return b}};Element.implement({mask:function(b){if(b){this.set("mask",b)}this.get("mask").show();return this},unmask:function(){this.get("mask").hide();return this}});var Spinner=new Class({Extends:Mask,Implements:Chain,options:{"class":"spinner",containerPosition:{},content:{"class":"spinner-content"},messageContainer:{"class":"spinner-msg"},img:{"class":"spinner-img"},fxOptions:{link:"chain"}},initialize:function(f,e){this.target=document.id(f)||document.id(document.body);this.target.store("spinner",this);this.setOptions(e);this.render();this.inject();var d=function(){this.active=false}.bind(this);this.addEvents({hide:d,show:d})},render:function(){this.parent();this.element.set("id",this.options.id||"spinner-"+String.uniqueID());this.content=document.id(this.options.content)||new Element("div",this.options.content);this.content.inject(this.element);if(this.options.message){this.msg=document.id(this.options.message)||new Element("p",this.options.messageContainer).appendText(this.options.message);this.msg.inject(this.content)}if(this.options.img){this.img=document.id(this.options.img)||new Element("div",this.options.img);this.img.inject(this.content)}this.element.set("tween",this.options.fxOptions)},show:function(b){if(this.active){return this.chain(this.show.bind(this))}if(!this.hidden){this.callChain.delay(20,this);return this}this.target.set("aria-busy","true");this.active=true;return this.parent(b)},showMask:function(d){var c=function(){this.content.position(Object.merge({relativeTo:this.element},this.options.containerPosition))}.bind(this);if(d){this.parent();c()}else{if(!this.options.style.opacity){this.options.style.opacity=this.element.getStyle("opacity").toFloat()}this.element.setStyles({display:"block",opacity:0}).tween("opacity",this.options.style.opacity);c();this.hidden=false;this.fireEvent("show");this.callChain()}},hide:function(b){if(this.active){return this.chain(this.hide.bind(this))}if(this.hidden){this.callChain.delay(20,this);return this}this.target.set("aria-busy","false");this.active=true;return this.parent(b)},hideMask:function(b){if(b){return this.parent()}this.element.tween("opacity",0).get("tween").chain(function(){this.element.setStyle("display","none");this.hidden=true;this.fireEvent("hide");this.callChain()}.bind(this))},destroy:function(){this.content.destroy();this.parent();this.target.eliminate("spinner")}});Request=Class.refactor(Request,{options:{useSpinner:false,spinnerOptions:{},spinnerTarget:false},initialize:function(b){this._send=this.send;this.send=function(a){var d=this.getSpinner();if(d){d.chain(this._send.pass(a,this)).show()}else{this._send(a)}return this};this.previous(b)},getSpinner:function(){if(!this.spinner){var c=document.id(this.options.spinnerTarget)||document.id(this.options.update);if(this.options.useSpinner&&c){c.set("spinner",this.options.spinnerOptions);var d=this.spinner=c.get("spinner");["complete","exception","cancel"].each(function(a){this.addEvent(a,d.hide.bind(d))},this)}}return this.spinner}});Element.Properties.spinner={set:function(d){var c=this.retrieve("spinner");if(c){c.destroy()}return this.eliminate("spinner").store("spinner:options",d)},get:function(){var b=this.retrieve("spinner");if(!b){b=new Spinner(this,this.retrieve("spinner:options"));this.store("spinner",b)}return b}};Element.implement({spin:function(b){if(b){this.set("spinner",b)}this.get("spinner").show();return this},unspin:function(){this.get("spinner").hide();return this}});if(!window.Form){window.Form={}}(function(){Form.Request=new Class({Binds:["onSubmit","onFormValidate"],Implements:[Options,Events,Class.Occlude],options:{requestOptions:{evalScripts:true,useSpinner:true,emulation:false,link:"ignore"},sendButtonClicked:true,extraData:{},resetForm:true},property:"form.request",initialize:function(d,f,e){this.element=document.id(d);if(this.occlude()){return this.occluded}this.setOptions(e).setTarget(f).attach()},setTarget:function(b){this.target=document.id(b);if(!this.request){this.makeRequest()}else{this.request.setOptions({update:this.target})}return this},toElement:function(){return this.element},makeRequest:function(){var b=this;this.request=new Request.HTML(Object.merge({update:this.target,emulation:false,spinnerTarget:this.element,method:this.element.get("method")||"post"},this.options.requestOptions)).addEvents({success:function(h,f,g,a){["complete","success"].each(function(c){b.fireEvent(c,[b.target,h,f,g,a])})},failure:function(){b.fireEvent("complete",arguments).fireEvent("failure",arguments)},exception:function(){b.fireEvent("failure",arguments)}});return this.attachReset()},attachReset:function(){if(!this.options.resetForm){return this}this.request.addEvent("success",function(){Function.attempt(function(){this.element.reset()}.bind(this));if(window.OverText){OverText.update()}}.bind(this));return this},attach:function(e){var f=(e!=false)?"addEvent":"removeEvent";this.element[f]("click:relay(button, input[type=submit])",this.saveClickedButton.bind(this));var d=this.element.retrieve("validator");if(d){d[f]("onFormValidate",this.onFormValidate)}else{this.element[f]("submit",this.onSubmit)}return this},detach:function(){return this.attach(false)},enable:function(){return this.attach()},disable:function(){return this.detach()},onFormValidate:function(h,e,f){if(!f){return}var g=this.element.retrieve("validator");if(h||(g&&!g.options.stopOnFailure)){f.stop();this.send()}},onSubmit:function(d){var c=this.element.retrieve("validator");if(c){this.element.removeEvent("submit",this.onSubmit);c.addEvent("onFormValidate",this.onFormValidate);c.validate(d);return}if(d){d.stop()}this.send()},saveClickedButton:function(d,f){var e=f.get("name");if(!e||!this.options.sendButtonClicked){return}this.options.extraData[e]=f.get("value")||true;this.clickedCleaner=function(){delete this.options.extraData[e];this.clickedCleaner=function(){}}.bind(this)},clickedCleaner:function(){},send:function(){var c=this.element.toQueryString().trim(),d=Object.toQueryString(this.options.extraData);if(c){c+="&"+d}else{c=d}this.fireEvent("send",[this.element,c.parseQueryString()]);this.request.send({data:c,url:this.options.requestOptions.url||this.element.get("action")});this.clickedCleaner();return this}});Element.implement("formUpdate",function(f,d){var e=this.retrieve("form.request");if(!e){e=new Form.Request(this,f,d)}else{if(f){e.setTarget(f)}if(d){e.setOptions(d).makeRequest()}}e.send();return this})})();(function(){var b=function(e){var a=e.options.hideInputs;if(window.OverText){var f=[null];OverText.each(function(c){f.include("."+c.options.labelClass)});if(f){a+=f.join(", ")}}return(a)?e.element.getElements(a):null};Fx.Reveal=new Class({Extends:Fx.Morph,options:{link:"cancel",styles:["padding","border","margin"],transitionOpacity:"opacity" in document.documentElement,mode:"vertical",display:function(){return this.element.get("tag")!="tr"?"block":"table-row"},opacity:1,hideInputs:!("opacity" in document.documentElement)?"select, input, textarea, object, embed":null},dissolve:function(){if(!this.hiding&&!this.showing){if(this.element.getStyle("display")!="none"){this.hiding=true;this.showing=false;this.hidden=true;this.cssText=this.element.style.cssText;var e=this.element.getComputedSize({styles:this.options.styles,mode:this.options.mode});if(this.options.transitionOpacity){e.opacity=this.options.opacity}var f={};Object.each(e,function(c,d){f[d]=[c,0]});this.element.setStyles({display:Function.from(this.options.display).call(this),overflow:"hidden"});var a=b(this);if(a){a.setStyle("visibility","hidden")}this.$chain.unshift(function(){if(this.hidden){this.hiding=false;this.element.style.cssText=this.cssText;this.element.setStyle("display","none");if(a){a.setStyle("visibility","visible")}}this.fireEvent("hide",this.element);this.callChain()}.bind(this));this.start(f)}else{this.callChain.delay(10,this);this.fireEvent("complete",this.element);this.fireEvent("hide",this.element)}}else{if(this.options.link=="chain"){this.chain(this.dissolve.bind(this))}else{if(this.options.link=="cancel"&&!this.hiding){this.cancel();this.dissolve()}}}return this},reveal:function(){if(!this.showing&&!this.hiding){if(this.element.getStyle("display")=="none"){this.hiding=false;this.showing=true;this.hidden=false;this.cssText=this.element.style.cssText;var e;this.element.measure(function(){e=this.element.getComputedSize({styles:this.options.styles,mode:this.options.mode})}.bind(this));if(this.options.heightOverride!=null){e.height=this.options.heightOverride.toInt()}if(this.options.widthOverride!=null){e.width=this.options.widthOverride.toInt()}if(this.options.transitionOpacity){this.element.setStyle("opacity",0);e.opacity=this.options.opacity}var f={height:0,display:Function.from(this.options.display).call(this)};Object.each(e,function(c,d){f[d]=0});f.overflow="hidden";this.element.setStyles(f);var a=b(this);if(a){a.setStyle("visibility","hidden")}this.$chain.unshift(function(){this.element.style.cssText=this.cssText;this.element.setStyle("display",Function.from(this.options.display).call(this));if(!this.hidden){this.showing=false}if(a){a.setStyle("visibility","visible")}this.callChain();this.fireEvent("show",this.element)}.bind(this));this.start(e)}else{this.callChain();this.fireEvent("complete",this.element);this.fireEvent("show",this.element)}}else{if(this.options.link=="chain"){this.chain(this.reveal.bind(this))}else{if(this.options.link=="cancel"&&!this.showing){this.cancel();this.reveal()}}}return this},toggle:function(){if(this.element.getStyle("display")=="none"){this.reveal()}else{this.dissolve()}return this},cancel:function(){this.parent.apply(this,arguments);if(this.cssText!=null){this.element.style.cssText=this.cssText}this.hiding=false;this.showing=false;return this}});Element.Properties.reveal={set:function(a){this.get("reveal").cancel().setOptions(a);return this},get:function(){var a=this.retrieve("reveal");if(!a){a=new Fx.Reveal(this);this.store("reveal",a)}return a}};Element.Properties.dissolve=Element.Properties.reveal;Element.implement({reveal:function(a){this.get("reveal").setOptions(a).reveal();return this},dissolve:function(a){this.get("reveal").setOptions(a).dissolve();return this},nix:function(a){var d=Array.link(arguments,{destroy:Type.isBoolean,options:Type.isObject});this.get("reveal").setOptions(a).dissolve().chain(function(){this[d.destroy?"destroy":"dispose"]()}.bind(this));return this},wink:function(){var d=Array.link(arguments,{duration:Type.isNumber,options:Type.isObject});var a=this.get("reveal").setOptions(d.options);a.reveal().chain(function(){(function(){a.dissolve()}).delay(d.duration||2000)})}})})();Form.Request.Append=new Class({Extends:Form.Request,options:{useReveal:true,revealOptions:{},inject:"bottom"},makeRequest:function(){this.request=new Request.HTML(Object.merge({url:this.element.get("action"),method:this.element.get("method")||"post",spinnerTarget:this.element},this.options.requestOptions,{evalScripts:false})).addEvents({success:function(h,j,k,i){var n;var m=Elements.from(k);if(m.length==1){n=m[0]}else{n=new Element("div",{styles:{display:"none"}}).adopt(m)}n.inject(this.target,this.options.inject);if(this.options.requestOptions.evalScripts){Browser.exec(i)}this.fireEvent("beforeEffect",n);var l=function(){this.fireEvent("success",[n,this.target,h,j,k,i])}.bind(this);if(this.options.useReveal){n.set("reveal",this.options.revealOptions).get("reveal").chain(l);n.reveal()}else{l()}}.bind(this),failure:function(b){this.fireEvent("failure",b)}.bind(this)});this.attachReset()}});Locale.define("en-US","FormValidator",{required:"This field is required.",length:"Please enter {length} characters (you entered {elLength} characters)",minLength:"Please enter at least {minLength} characters (you entered {length} characters).",maxLength:"Please enter no more than {maxLength} characters (you entered {length} characters).",integer:"Please enter an integer in this field. Numbers with decimals (e.g. 1.25) are not permitted.",numeric:'Please enter only numeric values in this field (i.e. "1" or "1.1" or "-1" or "-1.1").',digits:"Please use numbers and punctuation only in this field (for example, a phone number with dashes or dots is permitted).",alpha:"Please use only letters (a-z) within this field. No spaces or other characters are allowed.",alphanum:"Please use only letters (a-z) or numbers (0-9) in this field. No spaces or other characters are allowed.",dateSuchAs:"Please enter a valid date such as {date}",dateInFormatMDY:'Please enter a valid date such as MM/DD/YYYY (i.e. "12/31/1999")',email:'Please enter a valid email address. For example "fred@domain.com".',url:"Please enter a valid URL such as http://www.example.com.",currencyDollar:"Please enter a valid $ amount. For example $100.00 .",oneRequired:"Please enter something for at least one of these inputs.",errorPrefix:"Error: ",warningPrefix:"Warning: ",noSpace:"There can be no spaces in this input.",reqChkByNode:"No items are selected.",requiredChk:"This field is required.",reqChkByName:"Please select a {label}.",match:"This field needs to match the {matchName} field",startDate:"the start date",endDate:"the end date",currentDate:"the current date",afterDate:"The date should be the same or after {label}.",beforeDate:"The date should be the same or before {label}.",startMonth:"Please select a start month",sameMonth:"These two dates must be in the same month - you must change one or the other.",creditcard:"The credit card number entered is invalid. Please check the number and try again. {length} digits entered."});if(!window.Form){window.Form={}}var InputValidator=this.InputValidator=new Class({Implements:[Options],options:{errorMsg:"Validation failed.",test:Function.from(true)},initialize:function(c,d){this.setOptions(d);this.className=c},test:function(c,d){c=document.id(c);return(c)?this.options.test(c,d||this.getProps(c)):false},getError:function(f,e){f=document.id(f);var d=this.options.errorMsg;if(typeOf(d)=="function"){d=d(f,e||this.getProps(f))}return d},getProps:function(b){b=document.id(b);return(b)?b.get("validatorProps"):{}}});Element.Properties.validators={get:function(){return(this.get("data-validators")||this.className).clean().split(" ")}};Element.Properties.validatorProps={set:function(b){return this.eliminate("$moo:validatorProps").store("$moo:validatorProps",b)},get:function(e){if(e){this.set(e)}if(this.retrieve("$moo:validatorProps")){return this.retrieve("$moo:validatorProps")}if(this.getProperty("data-validator-properties")||this.getProperty("validatorProps")){try{this.store("$moo:validatorProps",JSON.decode(this.getProperty("validatorProps")||this.getProperty("data-validator-properties"),false))}catch(f){return{}}}else{var d=this.get("validators").filter(function(a){return a.test(":")});if(!d.length){this.store("$moo:validatorProps",{})}else{e={};d.each(function(c){var b=c.split(":");if(b[1]){try{e[b[0]]=JSON.decode(b[1])}catch(a){}}});this.store("$moo:validatorProps",e)}}return this.retrieve("$moo:validatorProps")}};Form.Validator=new Class({Implements:[Options,Events],options:{fieldSelectors:"input, select, textarea",ignoreHidden:true,ignoreDisabled:true,useTitles:false,evaluateOnSubmit:true,evaluateFieldsOnBlur:true,evaluateFieldsOnChange:true,serial:true,stopOnFailure:true,warningPrefix:function(){return Form method
[all...]
/external/chromium-trace/catapult/tracing/third_party/css-element-queries/test/
H A Dmootools-more-yui-compressed.min.js1 MooTools.More={version:"1.5.0",build:"73db5e24e6e9c5c87b3a27aebef2248053f7db37"};(function(){Events.Pseudos=function(a,j,i){var k="_monitorEvents:";var l=function(e){return{store:e.store?function(g,f){e.store(k+g,f)}:function(g,f){(e._monitorEvents||(e._monitorEvents={}))[g]=f},retrieve:e.retrieve?function(g,f){return e.retrieve(k+g,f)}:function(g,f){if(!e._monitorEvents){return f}return e._monitorEvents[g]||f}}};var b=function(f){if(f.indexOf(":")==-1||!a){return null}var g=Slick.parse(f).expressions[0][0],q=g.pseudos,h=q.length,r=[];while(h--){var s=q[h].key,e=a[s];if(e!=null){r.push({event:g.tag,value:q[h].value,pseudo:s,original:f,listener:e})}}return r.length?r:null};return{addEvent:function(t,g,w){var s=b(t);if(!s){return j.call(this,t,g,w)}var v=l(this),e=v.retrieve(t,[]),x=s[0].event,u=Array.slice(arguments,2),h=g,f=this;s.each(function(o){var n=o.listener,m=h;if(n==false){x+=":"+o.pseudo+"("+o.value+")"}else{h=function(){n.call(f,o,m,arguments,h)}}});e.include({type:x,event:g,monitor:h});v.store(t,e);if(t!=x){j.apply(this,[t,g].concat(u))}return j.apply(this,[x,h].concat(u))},removeEvent:function(e,f){var g=b(e);if(!g){return i.call(this,e,f)}var p=l(this),h=p.retrieve(e);if(!h){return this}var o=Array.slice(arguments,2);i.apply(this,[e,f].concat(o));h.each(function(n,m){if(!f||n.event==f){i.apply(this,[n.type,n.monitor].concat(o))}delete h[m]},this);p.store(e,h);return this}}};var c={once:function(b,a,g,h){a.apply(this,g);this.removeEvent(b.event,h).removeEvent(b.original,a)},throttle:function(b,a,f){if(!a._throttled){a.apply(this,f);a._throttled=setTimeout(function(){a._throttled=false},b.value||250)}},pause:function(b,a,f){clearTimeout(a._pause);a._pause=a.delay(b.value||250,this,f)}};Events.definePseudo=function(b,a){c[b]=a;return this};Events.lookupPseudo=function(a){return c[a]};var d=Events.prototype;Events.implement(Events.Pseudos(c,d.addEvent,d.removeEvent));["Request","Fx"].each(function(a){if(this[a]){this[a].implement(Events.prototype)}})})();Class.refactor=function(c,d){Object.each(d,function(a,b){var f=c.prototype[b];f=(f&&f.$origin)||f||function(){};c.implement(b,(typeof a=="function")?function(){var h=this.previous;this.previous=f;var e=a.apply(this,arguments);this.previous=h;return e}:a)});return c};Class.Mutators.Binds=function(b){if(!this.prototype.initialize){this.implement("initialize",function(){})}return Array.from(b).concat(this.prototype.Binds||[])};Class.Mutators.initialize=function(b){return function(){Array.from(this.Binds).each(function(a){var d=this[a];if(d){this[a]=d.bind(this)}},this);return b.apply(this,arguments)}};Class.Occlude=new Class({occlude:function(f,d){d=document.id(d||this.element);var e=d.retrieve(f||this.property);if(e&&!this.occluded){return(this.occluded=e)}this.occluded=false;d.store(f||this.property,this);return this.occluded}});(function(){var b={wait:function(a){return this.chain(function(){this.callChain.delay(a==null?500:a,this);return this}.bind(this))}};Chain.implement(b);if(this.Fx){Fx.implement(b)}if(this.Element&&Element.implement&&this.Fx){Element.implement({chains:function(a){Array.from(a||["tween","morph","reveal"]).each(function(d){d=this.get(d);if(!d){return}d.setOptions({link:"chain"})},this);return this},pauseFx:function(d,a){this.chains(a).get(a||"tween").wait(d);return this}})}})();(function(b){Array.implement({min:function(){return Math.min.apply(null,this)},max:function(){return Math.max.apply(null,this)},average:function(){return this.length?this.sum()/this.length:0},sum:function(){var a=0,d=this.length;if(d){while(d--){if(this[d]!=null){a+=parseFloat(this[d])}}}return a},unique:function(){return[].combine(this)},shuffle:function(){for(var f=this.length;f&&--f;){var a=this[f],e=Math.floor(Math.random()*(f+1));this[f]=this[e];this[e]=a}return this},reduce:function(g,f){for(var h=0,a=this.length;h<a;h++){if(h in this){f=f===b?this[h]:g.call(null,f,this[h],h,this)}}return f},reduceRight:function(f,e){var a=this.length;while(a--){if(a in this){e=e===b?this[a]:f.call(null,e,this[a],a,this)}}return e},pluck:function(a){return this.map(function(d){return d[a]})}})})();(function(){var c=function(a){return a!=null};var d=Object.prototype.hasOwnProperty;Object.extend({getFromPath:function(b,a){if(typeof a=="string"){a=a.split(".")}for(var g=0,h=a.length;g<h;g++){if(d.call(b,a[g])){b=b[a[g]]}else{return null}}return b},cleanValues:function(f,a){a=a||c;for(var b in f){if(!a(f[b])){delete f[b]}}return f},erase:function(b,a){if(d.call(b,a)){delete b[a]}return b},run:function(b){var f=Array.slice(arguments,1);for(var a in b){if(b[a].apply){b[a].apply(b,f)}}return b}})})();(function(){var f=null,g={},i={};var j=function(a){if(instanceOf(a,h.Set)){return a}else{return g[a]}};var h=this.Locale={define:function(e,a,c,b){var d;if(instanceOf(e,h.Set)){d=e.name;if(d){g[d]=e}}else{d=e;if(!g[d]){g[d]=new h.Set(d)}e=g[d]}if(a){e.define(a,c,b)}if(!f){f=e}return e},use:function(a){a=j(a);if(a){f=a;this.fireEvent("change",a)}return this},getCurrent:function(){return f},get:function(a,b){return(f)?f.get(a,b):""},inherit:function(c,b,a){c=j(c);if(c){c.inherit(b,a)}return this},list:function(){return Object.keys(g)}};Object.append(h,new Events);h.Set=new Class({sets:{},inherits:{locales:[],sets:{}},initialize:function(a){this.name=a||""},define:function(a,c,b){var d=this.sets[a];if(!d){d={}}if(c){if(typeOf(c)=="object"){d=Object.merge(d,c)}else{d[c]=b}}this.sets[a]=d;return this},get:function(a,t,b){var c=Object.getFromPath(this.sets,a);if(c!=null){var l=typeOf(c);if(l=="function"){c=c.apply(null,Array.from(t))}else{if(l=="object"){c=Object.clone(c)}}return c}var u=a.indexOf("."),d=u<0?a:a.substr(0,u),s=(this.inherits.sets[d]||[]).combine(this.inherits.locales).include("en-US");if(!b){b=[]}for(var v=0,w=s.length;v<w;v++){if(b.contains(s[v])){continue}b.include(s[v]);var e=g[s[v]];if(!e){continue}c=e.get(a,t,b);if(c!=null){return c}}return""},inherit:function(b,a){b=Array.from(b);if(a&&!this.inherits.sets[a]){this.inherits.sets[a]=[]}var c=b.length;while(c--){(a?this.inherits.sets[a]:this.inherits.locales).unshift(b[c])}return this}})})();Locale.define("en-US","Date",{months:["January","February","March","April","May","June","July","August","September","October","November","December"],months_abbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],days_abbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dateOrder:["month","date","year"],shortDate:"%m/%d/%Y",shortTime:"%I:%M%p",AM:"AM",PM:"PM",firstDayOfWeek:0,ordinal:function(b){return(b>3&&b<21)?"th":["th","st","nd","rd","th"][Math.min(b%10,4)]},lessThanMinuteAgo:"less than a minute ago",minuteAgo:"about a minute ago",minutesAgo:"{delta} minutes ago",hourAgo:"about an hour ago",hoursAgo:"about {delta} hours ago",dayAgo:"1 day ago",daysAgo:"{delta} days ago",weekAgo:"1 week ago",weeksAgo:"{delta} weeks ago",monthAgo:"1 month ago",monthsAgo:"{delta} months ago",yearAgo:"1 year ago",yearsAgo:"{delta} years ago",lessThanMinuteUntil:"less than a minute from now",minuteUntil:"about a minute from now",minutesUntil:"{delta} minutes from now",hourUntil:"about an hour from now",hoursUntil:"about {delta} hours from now",dayUntil:"1 day from now",daysUntil:"{delta} days from now",weekUntil:"1 week from now",weeksUntil:"{delta} weeks from now",monthUntil:"1 month from now",monthsUntil:"{delta} months from now",yearUntil:"1 year from now",yearsUntil:"{delta} years from now"});(function(){var J=this.Date;var E=J.Methods={ms:"Milliseconds",year:"FullYear",min:"Minutes",mo:"Month",sec:"Seconds",hr:"Hours"};["Date","Day","FullYear","Hours","Milliseconds","Minutes","Month","Seconds","Time","TimezoneOffset","Week","Timezone","GMTOffset","DayOfYear","LastMonth","LastDayOfMonth","UTCDate","UTCDay","UTCFullYear","AMPM","Ordinal","UTCHours","UTCMilliseconds","UTCMinutes","UTCMonth","UTCSeconds","UTCMilliseconds"].each(function(a){J.Methods[a.toLowerCase()]=a});var u=function(a,b,c){if(b==1){return a}return a<Math.pow(10,b-1)?(c||"0")+u(a,b-1,c):a};J.implement({set:function(a,c){a=a.toLowerCase();var b=E[a]&&"set"+E[a];if(b&&this[b]){this[b](c)}return this}.overloadSetter(),get:function(a){a=a.toLowerCase();var b=E[a]&&"get"+E[a];if(b&&this[b]){return this[b]()}return null}.overloadGetter(),clone:function(){return new J(this.get("time"))},increment:function(c,a){c=c||"day";a=a!=null?a:1;switch(c){case"year":return this.increment("month",a*12);case"month":var b=this.get("date");this.set("date",1).set("mo",this.get("mo")+a);return this.set("date",b.min(this.get("lastdayofmonth")));case"week":return this.increment("day",a*7);case"day":return this.set("date",this.get("date")+a)}if(!J.units[c]){throw new Error(c+" is not a supported interval")}return this.set("time",this.get("time")+a*J.units[c]())},decrement:function(b,a){return this.increment(b,-1*(a!=null?a:1))},isLeapYear:function(){return J.isLeapYear(this.get("year"))},clearTime:function(){return this.set({hr:0,min:0,sec:0,ms:0})},diff:function(a,b){if(typeOf(a)=="string"){a=J.parse(a)}return((a-this)/J.units[b||"day"](3,3)).round()},getLastDayOfMonth:function(){return J.daysInMonth(this.get("mo"),this.get("year"))},getDayOfYear:function(){return(J.UTC(this.get("year"),this.get("mo"),this.get("date")+1)-J.UTC(this.get("year"),0,1))/J.units.day()},setDay:function(b,c){if(c==null){c=J.getMsg("firstDayOfWeek");if(c===""){c=1}}b=(7+J.parseDay(b,true)-c)%7;var a=(7+this.get("day")-c)%7;return this.increment("day",b-a)},getWeek:function(c){if(c==null){c=J.getMsg("firstDayOfWeek");if(c===""){c=1}}var a=this,d=(7+a.get("day")-c)%7,e=0,b;if(c==1){var g=a.get("month"),f=a.get("date")-d;if(g==11&&f>28){return 1}if(g==0&&f<-2){a=new J(a).decrement("day",d);d=0}b=new J(a.get("year"),0,1).get("day")||7;if(b>4){e=-7}}else{b=new J(a.get("year"),0,1).get("day")}e+=a.get("dayofyear");e+=6-d;e+=(7+b-c)%7;return(e/7)},getOrdinal:function(a){return J.getMsg("ordinal",a||this.get("date"))},getTimezone:function(){return this.toString().replace(/^.*? ([A-Z]{3}).[0-9]{4}.*$/,"$1").replace(/^.*?\(([A-Z])[a-z]+ ([A-Z])[a-z]+ ([A-Z])[a-z]+\)$/,"$1$2$3")},getGMTOffset:function(){var a=this.get("timezoneOffset");return((a>0)?"-":"+")+u((a.abs()/60).floor(),2)+u(a%60,2)},setAMPM:function(b){b=b.toUpperCase();var a=this.get("hr");if(a>11&&b=="AM"){return this.decrement("hour",12)}else{if(a<12&&b=="PM"){return this.increment("hour",12)}}return this},getAMPM:function(){return(this.get("hr")<12)?"AM":"PM"},parse:function(a){this.set("time",J.parse(a));return this},isValid:function(a){if(!a){a=this}return typeOf(a)=="date"&&!isNaN(a.valueOf())},format:function(b){if(!this.isValid()){return"invalid date"}if(!b){b="%x %X"}if(typeof b=="string"){b=D[b.toLowerCase()]||b}if(typeof b=="function"){return b(this)}var a=this;return b.replace(/%([a-z%])/gi,function(c,d){switch(d){case"a":return J.getMsg("days_abbr")[a.get("day")];case"A":return J.getMsg("days")[a.get("day")];case"b":return J.getMsg("months_abbr")[a.get("month")];case"B":return J.getMsg("months")[a.get("month")];case"c":return a.format("%a %b %d %H:%M:%S %Y");case"d":return u(a.get("date"),2);case"e":return u(a.get("date"),2," ");case"H":return u(a.get("hr"),2);case"I":return u((a.get("hr")%12)||12,2);case"j":return u(a.get("dayofyear"),3);case"k":return u(a.get("hr"),2," ");case"l":return u((a.get("hr")%12)||12,2," ");case"L":return u(a.get("ms"),3);case"m":return u((a.get("mo")+1),2);case"M":return u(a.get("min"),2);case"o":return a.get("ordinal");case"p":return J.getMsg(a.get("ampm"));case"s":return Math.round(a/1000);case"S":return u(a.get("seconds"),2);case"T":return a.format("%H:%M:%S");case"U":return u(a.get("week"),2);case"w":return a.get("day");case"x":return a.format(J.getMsg("shortDate"));case"X":return a.format(J.getMsg("shortTime"));case"y":return a.get("year").toString().substr(2);case"Y":return a.get("year");case"z":return a.get("GMTOffset");case"Z":return a.get("Timezone")}return d})},toISOString:function(){return this.format("iso8601")}}).alias({toJSON:"toISOString",compare:"diff",strftime:"format"});var z=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var D={db:"%Y-%m-%d %H:%M:%S",compact:"%Y%m%dT%H%M%S","short":"%d %b %H:%M","long":"%B %d, %Y %H:%M",rfc822:function(a){return z[a.get("day")]+a.format(", %d ")+C[a.get("month")]+a.format(" %Y %H:%M:%S %Z")},rfc2822:function(a){return z[a.get("day")]+a.format(", %d ")+C[a.get("month")]+a.format(" %Y %H:%M:%S %z")},iso8601:function(a){return(a.getUTCFullYear()+"-"+u(a.getUTCMonth()+1,2)+"-"+u(a.getUTCDate(),2)+"T"+u(a.getUTCHours(),2)+":"+u(a.getUTCMinutes(),2)+":"+u(a.getUTCSeconds(),2)+"."+u(a.getUTCMilliseconds(),3)+"Z")}};var H=[],w=J.parse;var s=function(c,a,d){var e=-1,b=J.getMsg(c+"s");switch(typeOf(a)){case"object":e=b[a.get(c)];break;case"number":e=b[a];if(!e){throw new Error("Invalid "+c+" index: "+a)}break;case"string":var f=b.filter(function(g){return this.test(g)},new RegExp("^"+a,"i"));if(!f.length){throw new Error("Invalid "+c+" string")}if(f.length>1){throw new Error("Ambiguous "+c)}e=f[0]}return(d)?b.indexOf(e):e};var B=1900,v=70;J.extend({getMsg:function(a,b){return Locale.get("Date."+a,b)},units:{ms:Function.from(1),second:Function.from(1000),minute:Function.from(60000),hour:Function.from(3600000),day:Function.from(86400000),week:Function.from(608400000),month:function(b,c){var a=new J;return J.daysInMonth(b!=null?b:a.get("mo"),c!=null?c:a.get("year"))*86400000},year:function(a){a=a||new J().get("year");return J.isLeapYear(a)?31622400000:31536000000}},daysInMonth:function(a,b){return[31,J.isLeapYear(b)?29:28,31,30,31,30,31,31,30,31,30,31][a]},isLeapYear:function(a){return((a%4===0)&&(a%100!==0))||(a%400===0)},parse:function(a){var b=typeOf(a);if(b=="number"){return new J(a)}if(b!="string"){return a}a=a.clean();if(!a.length){return null}var c;H.some(function(d){var e=d.re.exec(a);return(e)?(c=d.handler(e)):false});if(!(c&&c.isValid())){c=new J(w(a));if(!(c&&c.isValid())){c=new J(a.toInt())}}return c},parseDay:function(b,a){return s("day",b,a)},parseMonth:function(a,b){return s("month",a,b)},parseUTC:function(b){var c=new J(b);var a=J.UTC(c.get("year"),c.get("mo"),c.get("date"),c.get("hr"),c.get("min"),c.get("sec"),c.get("ms"));return new J(a)},orderIndex:function(a){return J.getMsg("dateOrder").indexOf(a)+1},defineFormat:function(b,a){D[b]=a;return this},defineParser:function(a){H.push((a.re&&a.handler)?a:y(a));return this},defineParsers:function(){Array.flatten(arguments).each(J.defineParser);return this},define2DigitYearStart:function(a){v=a%100;B=a-v;return this}}).extend({defineFormats:J.defineFormat.overloadSetter()});var G=function(a){return new RegExp("(?:"+J.getMsg(a).map(function(b){return b.substr(0,3)}).join("|")+")[a-z]*")};var x=function(a){switch(a){case"T":return"%H:%M:%S";case"x":return((J.orderIndex("month")==1)?"%m[-./]%d":"%d[-./]%m")+"([-./]%y)?";case"X":return"%H([.:]%M)?([.:]%S([.:]%s)?)? ?%p? ?%z?"}return null};var A={d:/[0-2]?[0-9]|3[01]/,H:/[01]?[0-9]|2[0-3]/,I:/0?[1-9]|1[0-2]/,M:/[0-5]?\d/,s:/\d+/,o:/[a-z]*/,p:/[ap]\.?m\.?/,y:/\d{2}|\d{4}/,Y:/\d{4}/,z:/Z|[+-]\d{2}(?::?\d{2})?/};A.m=A.I;A.S=A.M;var F;var I=function(a){F=a;A.a=A.A=G("days");A.b=A.B=G("months");H.each(function(b,c){if(b.format){H[c]=y(b.format)}})};var y=function(a){if(!F){return{format:a}}var c=[];var b=(a.source||a).replace(/%([a-z])/gi,function(d,e){return x(e)||d}).replace(/\((?!\?)/g,"(?:").replace(/ (?!\?|\*)/g,",? ").replace(/%([a-z%])/gi,function(e,f){var d=A[f];if(!d){return f}c.push(f);return"("+d.source+")"}).replace(/\[a-z\]/gi,"[a-z\\u00c0-\\uffff;&]");return{format:a,re:new RegExp("^"+b+"$","i"),handler:function(g){g=g.slice(1).associate(c);var f=new J().clearTime(),d=g.y||g.Y;if(d!=null){t.call(f,"y",d)}if("d" in g){t.call(f,"d",1)}if("m" in g||g.b||g.B){t.call(f,"m",1)}for(var e in g){t.call(f,e,g[e])}return f}}};var t=function(c,b){if(!b){return this}switch(c){case"a":case"A":return this.set("day",J.parseDay(b,true));case"b":case"B":return this.set("mo",J.parseMonth(b,true));case"d":return this.set("date",b);case"H":case"I":return this.set("hr",b);case"m":return this.set("mo",b-1);case"M":return this.set("min",b);case"p":return this.set("ampm",b.replace(/\./g,""));case"S":return this.set("sec",b);case"s":return this.set("ms",("0."+b)*1000);case"w":return this.set("day",b);case"Y":return this.set("year",b);case"y":b=+b;if(b<100){b+=B+(b<v?100:0)}return this.set("year",b);case"z":if(b=="Z"){b="+00"}var a=b.match(/([+-])(\d{2}):?(\d{2})?/);a=(a[1]+"1")*(a[2]*60+(+a[3]||0))+this.getTimezoneOffset();return this.set("time",this-a*60000)}return this};J.defineParsers("%Y([-./]%m([-./]%d((T| )%X)?)?)?","%Y%m%d(T%H(%M%S?)?)?","%x( %X)?","%d%o( %b( %Y)?)?( %X)?","%b( %d%o)?( %Y)?( %X)?","%Y %b( %d%o( %X)?)?","%o %b %d %X %z %Y","%T","%H:%M( ?%p)?");Locale.addEvent("change",function(a){if(Locale.get("Date")){I(a)}}).fireEvent("change",Locale.getCurrent())})();Date.implement({timeDiffInWords:function(b){return Date.distanceOfTimeInWords(this,b||new Date)},timeDiff:function(m,p){if(m==null){m=new Date}var k=((m-this)/1000).floor().abs();var n=[],r=[60,60,24,365,0],o=["s","m","h","d","y"],l,q;for(var j=0;j<r.length;j++){if(j&&!k){break}l=k;if((q=r[j])){l=(k%q);k=(k/q).floor()}n.unshift(l+(o[j]||""))}return n.join(p||":")}}).extend({distanceOfTimeInWords:function(c,d){return Date.getTimePhrase(((d-c)/1000).toInt())},getTimePhrase:function(i){var k=(i<0)?"Until":"Ago";if(i<0){i*=-1}var g={minute:60,hour:60,day:24,week:7,month:52/12,year:12,eon:Infinity};var j="lessThanMinute";for(var l in g){var h=g[l];if(i<1.5*h){if(i>0.75*h){j=l}break}i/=h;j=l+"s"}i=i.round();return Date.getMsg(j+k,i).substitute({delta:i})}}).defineParsers({re:/^(?:tod|tom|yes)/i,handler:function(d){var c=new Date().clearTime();switch(d[0]){case"tom":return c.increment();case"yes":return c.decrement();default:return c}}},{re:/^(next|last) ([a-z]+)$/i,handler:function(i){var h=new Date().clearTime();var d=h.getDay();var j=Date.parseDay(i[2],true);var g=j-d;if(j<=d){g+=7}if(i[1]=="last"){g-=7}return h.set("date",h.getDate()+g)}}).alias("timeAgoInWords","timeDiffInWords");Locale.define("en-US","Number",{decimal:".",group:",",currency:{prefix:"$ "}});Number.implement({format:function(i){var t=this;i=i?Object.clone(i):{};var F=function(a){if(i[a]!=null){return i[a]}return Locale.get("Number."+a)};var A=t<0,y=F("decimal"),w=F("precision"),s=F("group"),D=F("decimals");if(A){var B=F("negative")||{};if(B.prefix==null&&B.suffix==null){B.prefix="-"}["prefix","suffix"].each(function(a){if(B[a]){i[a]=F(a)+B[a]}});t=-t}var v=F("prefix"),r=F("suffix");if(D!==""&&D>=0&&D<=20){t=t.toFixed(D)}if(w>=1&&w<=21){t=(+t).toPrecision(w)}t+="";var u;if(F("scientific")===false&&t.indexOf("e")>-1){var x=t.split("e"),E=+x[1];t=x[0].replace(".","");if(E<0){E=-E-1;u=x[0].indexOf(".");if(u>-1){E-=u-1}while(E--){t="0"+t}t="0."+t}else{u=x[0].lastIndexOf(".");if(u>-1){E-=x[0].length-u-1}while(E--){t+="0"}}}if(y!="."){t=t.replace(".",y)}if(s){u=t.lastIndexOf(y);u=(u>-1)?u:t.length;var C=t.substring(u),z=u;while(z--){if((u-z-1)%3==0&&z!=(u-1)){C=s+C}C=t.charAt(z)+C}t=C}if(v){t=v+t}if(r){t+=r}return t},formatCurrency:function(c){var d=Locale.get("Number.currency")||{};if(d.scientific==null){d.scientific=false}d.decimals=c!=null?c:(d.decimals==null?2:d.decimals);return this.format(d)},formatPercentage:function(c){var d=Locale.get("Number.percentage")||{};if(d.suffix==null){d.suffix="%"}d.decimals=c!=null?c:(d.decimals==null?2:d.decimals);return this.format(d)}});(function(){var j={a:/[àáâãäåăą]/g,A:/[ÀÁÂÃÄÅĂĄ]/g,c:/[ćčç]/g,C:/[ĆČÇ]/g,d:/[ďđ]/g,D:/[ĎÐ]/g,e:/[èéêëěę]/g,E:/[ÈÉÊËĚĘ]/g,g:/[ğ]/g,G:/[Ğ]/g,i:/[ìíîï]/g,I:/[ÌÍÎÏ]/g,l:/[ĺľł]/g,L:/[ĹĽŁ]/g,n:/[ñňń]/g,N:/[ÑŇŃ]/g,o:/[òóôõöøő]/g,O:/[ÒÓÔÕÖØ]/g,r:/[řŕ]/g,R:/[ŘŔ]/g,s:/[ššş]/g,S:/[ŠŞŚ]/g,t:/[ťţ]/g,T:/[ŤŢ]/g,u:/[ùúûůüµ]/g,U:/[ÙÚÛŮÜ]/g,y:/[ÿý]/g,Y:/[ŸÝ]/g,z:/[žźż]/g,Z:/[ŽŹŻ]/g,th:/[þ]/g,TH:/[Þ]/g,dh:/[ð]/g,DH:/[Ð]/g,ss:/[ß]/g,oe:/[œ]/g,OE:/[Œ]/g,ae:/[æ]/g,AE:/[Æ]/g},k={" ":/[\xa0\u2002\u2003\u2009]/g,"*":/[\xb7]/g,"'":/[\u2018\u2019]/g,'"':/[\u201c\u201d]/g,"...":/[\u2026]/g,"-":/[\u2013]/g,"&raquo;":/[\uFFFD]/g},l={ms:1,s:1000,m:60000,h:3600000},g=/(\d*.?\d+)([msh]+)/;var h=function(c,a){var d=c,b;for(b in a){d=d.replace(a[b],b)}return d};var i=function(d,b){d=d||"";var a=b?"<"+d+"(?!\\w)[^>]*>([\\s\\S]*?)</"+d+"(?!\\w)>":"</?"+d+"([^>]+)?>",c=new RegExp(a,"gi");return c};String.implement({standardize:function(){return h(this,j)},repeat:function(a){return new Array(a+1).join(this)},pad:function(d,a,b){if(this.length>=d){return this}var c=(a==null?" ":""+a).repeat(d-this.length).substr(0,d-this.length);if(!b||b=="right"){return this+c}if(b=="left"){return c+this}return c.substr(0,(c.length/2).floor())+this+c.substr(0,(c.length/2).ceil())},getTags:function(b,a){return this.match(i(b,a))||[]},stripTags:function(b,a){return this.replace(i(b,a),"")},tidy:function(){return h(this,k)},truncate:function(e,d,a){var b=this;if(d==null&&arguments.length==1){d="…"}if(b.length>e){b=b.substring(0,e);if(a){var c=b.lastIndexOf(a);if(c!=-1){b=b.substr(0,c)}}if(d){b+=d}}return b},ms:function(){var a=g.exec(this);if(a==null){return Number(this)}return Number(a[1])*l[a[2]]}})})();String.implement({parseQueryString:function(g,f){if(g==null){g=true}if(f==null){f=true}var h=this.split(/[&;]/),e={};if(!h.length){return e}h.each(function(a){var j=a.indexOf("=")+1,c=j?a.substr(j):"",d=j?a.substr(0,j-1).match(/([^\]\[]+|(\B)(?=\]))/g):[a],b=e;if(!d){return}if(f){c=decodeURIComponent(c)}d.each(function(m,n){if(g){m=decodeURIComponent(m)}var i=b[m];if(n<d.length-1){b=b[m]=i||{}}else{if(typeOf(i)=="array"){i.push(c)}else{b[m]=i!=null?[i,c]:c}}})});return e},cleanQueryString:function(b){return this.split("&").filter(function(f){var a=f.indexOf("="),h=a<0?"":f.substr(0,a),g=f.substr(a+1);return b?b.call(null,h,g):(g||g===0)}).join("&")}});(function(){var c=function(){return this.get("value")};var d=this.URI=new Class({Implements:Options,options:{},regex:/^(?:(\w+):)?(?:\/\/(?:(?:([^:@\/]*):?([^:@\/]*))?@)?([^:\/?#]*)(?::(\d*))?)?(\.\.?$|(?:[^?#\/]*\/)*)([^?#]*)(?:\?([^#]*))?(?:#(.*))?/,parts:["scheme","user","password","host","port","directory","file","query","fragment"],schemes:{http:80,https:443,ftp:21,rtsp:554,mms:1755,file:0},initialize:function(b,f){this.setOptions(f);var a=this.options.base||d.base;if(!b){b=a}if(b&&b.parsed){this.parsed=Object.clone(b.parsed)}else{this.set("value",b.href||b.toString(),a?new d(a):false)}},parse:function(a,b){var f=a.match(this.regex);if(!f){return false}f.shift();return this.merge(f.associate(this.parts),b)},merge:function(a,b){if((!a||!a.scheme)&&(!b||!b.scheme)){return false}if(b){this.parts.every(function(f){if(a[f]){return false}a[f]=b[f]||"";return true})}a.port=a.port||this.schemes[a.scheme.toLowerCase()];a.directory=a.directory?this.parseDirectory(a.directory,b?b.directory:""):"/";return a},parseDirectory:function(b,a){b=(b.substr(0,1)=="/"?"":(a||"/"))+b;if(!b.test(d.regs.directoryDot)){return b}var f=[];b.replace(d.regs.endSlash,"").split("/").each(function(e){if(e==".."&&f.length>0){f.pop()}else{if(e!="."){f.push(e)}}});return f.join("/")+"/"},combine:function(a){return a.value||a.scheme+"://"+(a.user?a.user+(a.password?":"+a.password:"")+"@":"")+(a.host||"")+(a.port&&a.port!=this.schemes[a.scheme]?":"+a.port:"")+(a.directory||"/")+(a.file||"")+(a.query?"?"+a.query:"")+(a.fragment?"#"+a.fragment:"")},set:function(g,a,b){if(g=="value"){var h=a.match(d.regs.scheme);if(h){h=h[1]}if(h&&this.schemes[h.toLowerCase()]==null){this.parsed={scheme:h,value:a}}else{this.parsed=this.parse(a,(b||this).parsed)||(h?{scheme:h,value:a}:{value:a})}}else{if(g=="data"){this.setData(a)}else{this.parsed[g]=a}}return this},get:function(b,a){switch(b){case"value":return this.combine(this.parsed,a?a.parsed:false);case"data":return this.getData()}return this.parsed[b]||""},go:function(){document.location.href=this.toString()},toURI:function(){return this},getData:function(b,g){var h=this.get(g||"query");if(!(h||h===0)){return b?null:{}}var a=h.parseQueryString();return b?a[b]:a},setData:function(h,a,g){if(typeof h=="string"){var b=this.getData();b[arguments[0]]=arguments[1];h=b}else{if(a){h=Object.merge(this.getData(null,g),h)}}return this.set(g||"query",Object.toQueryString(h))},clearData:function(a){return this.set(a||"query","")},toString:c,valueOf:c});d.regs={endSlash:/\/$/,scheme:/^(\w+):/,directoryDot:/\.\/|\.$/};d.base=new d(Array.from(document.getElements("base[href]",true)).getLast(),{base:document.location});String.implement({toURI:function(a){return new d(this,a)}})})();URI=Class.refactor(URI,{combine:function(m,n){if(!n||m.scheme!=n.scheme||m.host!=n.host||m.port!=n.port){return this.previous.apply(this,arguments)}var j=m.file+(m.query?"?"+m.query:"")+(m.fragment?"#"+m.fragment:"");if(!n.directory){return(m.directory||(m.file?"":"./"))+j}var o=n.directory.split("/"),p=m.directory.split("/"),l="",k;var i=0;for(k=0;k<o.length&&k<p.length&&o[k]==p[k];k++){}for(i=0;i<o.length-k-1;i++){l+="../"}for(i=k;i<p.length-1;i++){l+=p[i]+"/"}return(l||(m.file?"":"./"))+j},toAbsolute:function(b){b=new URI(b);if(b){b.set("directory","").set("file","")}return this.toRelative(b)},toRelative:function(b){return this.get("value",new URI(b))}});(function(){if(this.Hash){return}var b=this.Hash=new Type("Hash",function(a){if(typeOf(a)=="hash"){a=Object.clone(a.getClean())}for(var d in a){this[d]=a[d]}return this});this.$H=function(a){return new b(a)};b.implement({forEach:function(a,d){Object.forEach(this,a,d)},getClean:function(){var d={};for(var a in this){if(this.hasOwnProperty(a)){d[a]=this[a]}}return d},getLength:function(){var d=0;for(var a in this){if(this.hasOwnProperty(a)){d++}}return d}});b.alias("each","forEach");b.implement({has:Object.prototype.hasOwnProperty,keyOf:function(a){return Object.keyOf(this,a)},hasValue:function(a){return Object.contains(this,a)},extend:function(a){b.each(a||{},function(e,f){b.set(this,f,e)},this);return this},combine:function(a){b.each(a||{},function(e,f){b.include(this,f,e)},this);return this},erase:function(a){if(this.hasOwnProperty(a)){delete this[a]}return this},get:function(a){return(this.hasOwnProperty(a))?this[a]:null},set:function(a,d){if(!this[a]||this.hasOwnProperty(a)){this[a]=d}return this},empty:function(){b.each(this,function(d,a){delete this[a]},this);return this},include:function(a,d){if(this[a]==undefined){this[a]=d}return this},map:function(a,d){return new b(Object.map(this,a,d))},filter:function(a,d){return new b(Object.filter(this,a,d))},every:function(a,d){return Object.every(this,a,d)},some:function(a,d){return Object.some(this,a,d)},getKeys:function(){return Object.keys(this)},getValues:function(){return Object.values(this)},toQueryString:function(a){return Object.toQueryString(this,a)}});b.alias({indexOf:"keyOf",contains:"hasValue"})})();Hash.implement({getFromPath:function(b){return Object.getFromPath(this,b)},cleanValues:function(b){return new Hash(Object.cleanValues(this,b))},run:function(){Object.run(arguments)}});Element.implement({tidy:function(){this.set("value",this.get("value").tidy())},getTextInRange:function(c,d){return this.get("value").substring(c,d)},getSelectedText:function(){if(this.setSelectionRange){return this.getTextInRange(this.getSelectionStart(),this.getSelectionEnd())}return document.selection.createRange().text},getSelectedRange:function(){if(this.selectionStart!=null){return{start:this.selectionStart,end:this.selectionEnd}}var h={start:0,end:0};var g=this.getDocument().selection.createRange();if(!g||g.parentElement()!=this){return h}var j=g.duplicate();if(this.type=="text"){h.start=0-j.moveStart("character",-100000);h.end=h.start+g.text.length}else{var f=this.get("value");var i=f.length;j.moveToElementText(this);j.setEndPoint("StartToEnd",g);if(j.text.length){i-=f.match(/[\n\r]*$/)[0].length}h.end=i-j.text.length;j.setEndPoint("StartToStart",g);h.start=i-j.text.length}return h},getSelectionStart:function(){return this.getSelectedRange().start},getSelectionEnd:function(){return this.getSelectedRange().end},setCaretPosition:function(b){if(b=="end"){b=this.get("value").length}this.selectRange(b,b);return this},getCaretPosition:function(){return this.getSelectedRange().start},selectRange:function(h,g){if(this.setSelectionRange){this.focus();this.setSelectionRange(h,g)}else{var j=this.get("value");var i=j.substr(h,g-h).replace(/\r/g,"").length;h=j.substr(0,h).replace(/\r/g,"").length;var f=this.createTextRange();f.collapse(true);f.moveEnd("character",h+i);f.moveStart("character",h);f.select()}return this},insertAtCursor:function(e,f){var g=this.getSelectedRange();var h=this.get("value");this.set("value",h.substring(0,g.start)+e+h.substring(g.end,h.length));if(f!==false){this.selectRange(g.start,g.start+e.length)}else{this.setCaretPosition(g.start+e.length)}return this},insertAroundCursor:function(h,i){h=Object.append({before:"",defaultMiddle:"",after:""},h);var n=this.getSelectedText()||h.defaultMiddle;var j=this.getSelectedRange();var k=this.get("value");if(j.start==j.end){this.set("value",k.substring(0,j.start)+h.before+n+h.after+k.substring(j.end,k.length));this.selectRange(j.start+h.before.length,j.end+h.before.length+n.length)}else{var m=k.substring(j.start,j.end);this.set("value",k.substring(0,j.start)+h.before+m+h.after+k.substring(j.end,k.length));var l=j.start+h.before.length;if(i!==false){this.selectRange(l,l+m.length)}else{this.setCaretPosition(l+k.length)}}return this}});Elements.from=function(h,i){if(i||i==null){h=h.stripScripts()}var f,j=h.match(/^\s*(?:<!--.*?-->\s*)*<(t[dhr]|tbody|tfoot|thead)/i);if(j){f=new Element("table");var g=j[1].toLowerCase();if(["td","th","tr"].contains(g)){f=new Element("tbody").inject(f);if(g!="tr"){f=new Element("tr").inject(f)}}}return(f||new Element("div")).set("html",h).getChildren()};(function(){var g={relay:false},h=["once","throttle","pause"],e=h.length;while(e--){g[h[e]]=Events.lookupPseudo(h[e])}DOMEvent.definePseudo=function(b,a){g[b]=a;return this};var f=Element.prototype;[Element,Window,Document].invoke("implement",Events.Pseudos(g,f.addEvent,f.removeEvent))})();(function(){var d="$moo:keys-pressed",c="$moo:keys-keyup";DOMEvent.definePseudo("keys",function(o,n,p){var l=p[0],m=[],b=this.retrieve(d,[]),k=o.value;if(k!="+"){m.append(k.replace("++",function(){m.push("+");return""}).split("+"))}else{m=["+"]}b.include(l.key);if(m.every(function(e){return b.contains(e)})){n.apply(this,p)}this.store(d,b);if(!this.retrieve(c)){var a=function(e){(function(){b=this.retrieve(d,[]).erase(e.key);this.store(d,b)}).delay(0,this)};this.store(c,a).addEvent("keyup",a)}});DOMEvent.defineKeys({"16":"shift","17":"control","18":"alt","20":"capslock","33":"pageup","34":"pagedown","35":"end","36":"home","144":"numlock","145":"scrolllock","186":";","187":"=","188":",","190":".","191":"/","192":"`","219":"[","220":"\\","221":"]","222":"'","107":"+","109":"-","189":"-"})})();(function(){var d=function(b,c){var a=[];Object.each(c,function(h){Object.each(h,function(g){b.each(function(j){a.push(j+"-"+g+(j=="border"?"-width":""))})})});return a};var f=function(a,b){var c=0;Object.each(b,function(i,j){if(j.test(a)){c=c+i.toInt()}});return c};var e=function(a){return !!(!a||a.offsetHeight||a.offsetWidth)};Element.implement({measure:function(a){if(e(this)){return a.call(this)}var b=this.getParent(),i=[];while(!e(b)&&b!=document.body){i.push(b.expose());b=b.getParent()}var c=this.expose(),j=a.call(this);c();i.each(function(g){g()});return j},expose:function(){if(this.getStyle("display")!="none"){return function(){}}var a=this.style.cssText;this.setStyles({display:"block",position:"absolute",visibility:"hidden"});return function(){this.style.cssText=a}.bind(this)},getDimensions:function(k){k=Object.merge({computeSize:false},k);var a={x:0,y:0};var b=function(g,h){return(h.computeSize)?g.getComputedSize(h):g.getSize()};var j=this.getParent("body");if(j&&this.getStyle("display")=="none"){a=this.measure(function(){return b(this,k)})}else{if(j){try{a=b(this,k)}catch(c){}}}return Object.append(a,(a.x||a.x===0)?{width:a.x,height:a.y}:{x:a.width,y:a.height})},getComputedSize:function(h){h=Object.merge({styles:["padding","border"],planes:{height:["top","bottom"],width:["left","right"]},mode:"both"},h);var a={},c={width:0,height:0},b;if(h.mode=="vertical"){delete c.width;delete h.planes.width}else{if(h.mode=="horizontal"){delete c.height;delete h.planes.height}}d(h.styles,h.planes).each(function(g){a[g]=this.getStyle(g).toInt()},this);Object.each(h.planes,function(m,n){var g=n.capitalize(),l=this.getStyle(n);if(l=="auto"&&!b){b=this.getDimensions()}l=a[n]=(l=="auto")?b[n]:l.toInt();c["total"+g]=l;m.each(function(i){var j=f(i,a);c["computed"+i.capitalize()]=j;c["total"+g]+=j})},this);return Object.append(c,a)}})})();(function(){var e=false,d=false;var f=function(){var a=new Element("div").setStyles({position:"fixed",top:0,right:0}).inject(document.body);e=(a.offsetTop===0);a.dispose();d=true};Element.implement({pin:function(p,r){if(!d){f()}if(this.getStyle("display")=="none"){return this}var n,c=window.getScroll(),b,s;if(p!==false){n=this.getPosition();if(!this.retrieve("pin:_pinned")){var q={top:n.y-c.y,left:n.x-c.x,margin:"0px",padding:"0px"};if(e&&!r){this.setStyle("position","fixed").setStyles(q)}else{b=this.getOffsetParent();var o=this.getPosition(b),a=this.getStyles("left","top");if(b&&a.left=="auto"||a.top=="auto"){this.setPosition(o)}if(this.getStyle("position")=="static"){this.setStyle("position","absolute")}o={x:a.left.toInt()-c.x,y:a.top.toInt()-c.y};s=function(){if(!this.retrieve("pin:_pinned")){return}var g=window.getScroll();this.setStyles({left:o.x+g.x,top:o.y+g.y})}.bind(this);this.store("pin:_scrollFixer",s);window.addEvent("scroll",s)}this.store("pin:_pinned",true)}}else{if(!this.retrieve("pin:_pinned")){return this}b=this.getParent();var t=(b.getComputedStyle("position")!="static"?b:b.getOffsetParent());n=this.getPosition();this.store("pin:_pinned",false);s=this.retrieve("pin:_scrollFixer");if(!s){this.setStyles({position:"absolute",top:n.y+c.y,left:n.x+c.x})}else{this.store("pin:_scrollFixer",null);window.removeEvent("scroll",s)}this.removeClass("isPinned")}return this},unpin:function(){return this.pin(false)},togglePin:function(){return this.pin(!this.retrieve("pin:_pinned"))}})})();(function(c){var d=Element.Position={options:{relativeTo:document.body,position:{x:"center",y:"center"},offset:{x:0,y:0}},getOptions:function(a,b){b=Object.merge({},d.options,b);d.setPositionOption(b);d.setEdgeOption(b);d.setOffsetOption(a,b);d.setDimensionsOption(a,b);return b},setPositionOption:function(a){a.position=d.getCoordinateFromValue(a.position)},setEdgeOption:function(a){var b=d.getCoordinateFromValue(a.edge);a.edge=b?b:(a.position.x=="center"&&a.position.y=="center")?{x:"center",y:"center"}:{x:"left",y:"top"}},setOffsetOption:function(b,i){var j={x:0,y:0};var h={x:0,y:0};var a=b.measure(function(){return document.id(this.getOffsetParent())});if(!a||a==b.getDocument().body){return}h=a.getScroll();j=a.measure(function(){var e=this.getPosition();if(this.getStyle("position")=="fixed"){var f=window.getScroll();e.x+=f.x;e.y+=f.y}return e});i.offset={parentPositioned:a!=document.id(i.relativeTo),x:i.offset.x-j.x+h.x,y:i.offset.y-j.y+h.y}},setDimensionsOption:function(a,b){b.dimensions=a.getDimensions({computeSize:true,styles:["padding","border","margin"]})},getPosition:function(h,i){var j={};i=d.getOptions(h,i);var b=document.id(i.relativeTo)||document.body;d.setPositionCoordinates(i,j,b);if(i.edge){d.toEdge(j,i)}var a=i.offset;j.left=((j.x>=0||a.parentPositioned||i.allowNegative)?j.x:0).toInt();j.top=((j.y>=0||a.parentPositioned||i.allowNegative)?j.y:0).toInt();d.toMinMax(j,i);if(i.relFixedPosition||b.getStyle("position")=="fixed"){d.toRelFixedPosition(b,j)}if(i.ignoreScroll){d.toIgnoreScroll(b,j)}if(i.ignoreMargins){d.toIgnoreMargins(j,i)}j.left=Math.ceil(j.left);j.top=Math.ceil(j.top);delete j.x;delete j.y;return j},setPositionCoordinates:function(a,n,q){var o=a.offset.y,m=a.offset.x,p=(q==document.body)?window.getScroll():q.getPosition(),b=p.y,r=p.x,l=window.getSize();switch(a.position.x){case"left":n.x=r+m;break;case"right":n.x=r+m+q.offsetWidth;break;default:n.x=r+((q==document.body?l.x:q.offsetWidth)/2)+m;break}switch(a.position.y){case"top":n.y=b+o;break;case"bottom":n.y=b+o+q.offsetHeight;break;default:n.y=b+((q==document.body?l.y:q.offsetHeight)/2)+o;break}},toMinMax:function(h,g){var a={left:"x",top:"y"},b;["minimum","maximum"].each(function(e){["left","top"].each(function(f){b=g[e]?g[e][a[f]]:null;if(b!=null&&((e=="minimum")?h[f]<b:h[f]>b)){h[f]=b}})})},toRelFixedPosition:function(a,f){var b=window.getScroll();f.top+=b.y;f.left+=b.x},toIgnoreScroll:function(a,b){var f=a.getScroll();b.top-=f.y;b.left-=f.x},toIgnoreMargins:function(b,a){b.left+=a.edge.x=="right"?a.dimensions["margin-right"]:(a.edge.x!="center"?-a.dimensions["margin-left"]:-a.dimensions["margin-left"]+((a.dimensions["margin-right"]+a.dimensions["margin-left"])/2));b.top+=a.edge.y=="bottom"?a.dimensions["margin-bottom"]:(a.edge.y!="center"?-a.dimensions["margin-top"]:-a.dimensions["margin-top"]+((a.dimensions["margin-bottom"]+a.dimensions["margin-top"])/2))},toEdge:function(j,i){var h={},a=i.dimensions,b=i.edge;switch(b.x){case"left":h.x=0;break;case"right":h.x=-a.x-a.computedRight-a.computedLeft;break;default:h.x=-(Math.round(a.totalWidth/2));break}switch(b.y){case"top":h.y=0;break;case"bottom":h.y=-a.y-a.computedTop-a.computedBottom;break;default:h.y=-(Math.round(a.totalHeight/2));break}j.x+=h.x;j.y+=h.y},getCoordinateFromValue:function(a){if(typeOf(a)!="string"){return a}a=a.toLowerCase();return{x:a.test("left")?"left":(a.test("right")?"right":"center"),y:a.test(/upper|top/)?"top":(a.test("bottom")?"bottom":"center")}}};Element.implement({position:function(a){if(a&&(a.x!=null||a.y!=null)){return(c?c.apply(this,arguments):this)}var b=this.setStyle("position","absolute").calculatePosition(a);return(a&&a.returnPos)?b:this.setStyles(b)},calculatePosition:function(a){return d.getPosition(this,a)}})})(Element.prototype.position);Element.implement({isDisplayed:function(){return this.getStyle("display")!="none"},isVisible:function(){var d=this.offsetWidth,c=this.offsetHeight;return(d==0&&c==0)?false:(d>0&&c>0)?true:this.style.display!="none"},toggle:function(){return this[this.isDisplayed()?"hide":"show"]()},hide:function(){var c;try{c=this.getStyle("display")}catch(d){}if(c=="none"){return this}return this.store("element:_originalDisplay",c||"").setStyle("display","none")},show:function(b){if(!b&&this.isDisplayed()){return this}b=b||this.retrieve("element:_originalDisplay")||"block";return this.setStyle("display",(b=="none")?"block":b)},swapClass:function(d,c){return this.removeClass(d).addClass(c)}});Document.implement({clearSelection:function(){if(window.getSelection){var d=window.getSelection();if(d&&d.removeAllRanges){d.removeAllRanges()}}else{if(document.selection&&document.selection.empty){try{document.selection.empty()}catch(c){}}}}});(function(){var b=false;this.IframeShim=new Class({Implements:[Options,Events,Class.Occlude],options:{className:"iframeShim",src:'javascript:false;document.write("");',display:false,zIndex:null,margin:0,offset:{x:0,y:0},browsers:b},property:"IframeShim",initialize:function(d,a){this.element=document.id(d);if(this.occlude()){return this.occluded}this.setOptions(a);this.makeShim();return this},makeShim:function(){if(this.options.browsers){var e=this.element.getStyle("zIndex").toInt();if(!e){e=1;var f=this.element.getStyle("position");if(f=="static"||!f){this.element.setStyle("position","relative")}this.element.setStyle("zIndex",e)}e=((this.options.zIndex!=null||this.options.zIndex===0)&&e>this.options.zIndex)?this.options.zIndex:e-1;if(e<0){e=1}this.shim=new Element("iframe",{src:this.options.src,scrolling:"no",frameborder:0,styles:{zIndex:e,position:"absolute",border:"none",filter:"progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)"},"class":this.options.className}).store("IframeShim",this);var a=(function(){this.shim.inject(this.element,"after");this[this.options.display?"show":"hide"]();this.fireEvent("inject")}).bind(this);if(!IframeShim.ready){window.addEvent("load",a)}else{a()}}else{this.position=this.hide=this.show=this.dispose=Function.from(this)}},position:function(){if(!IframeShim.ready||!this.shim){return this}var a=this.element.measure(function(){return this.getSize()});if(this.options.margin!=undefined){a.x=a.x-(this.options.margin*2);a.y=a.y-(this.options.margin*2);this.options.offset.x+=this.options.margin;this.options.offset.y+=this.options.margin}this.shim.set({width:a.x,height:a.y}).position({relativeTo:this.element,offset:this.options.offset});return this},hide:function(){if(this.shim){this.shim.setStyle("display","none")}return this},show:function(){if(this.shim){this.shim.setStyle("display","block")}return this.position()},dispose:function(){if(this.shim){this.shim.dispose()}return this},destroy:function(){if(this.shim){this.shim.destroy()}return this}})})();window.addEvent("load",function(){IframeShim.ready=true});var Mask=new Class({Implements:[Options,Events],Binds:["position"],options:{style:{},"class":"mask",maskMargins:false,useIframeShim:true,iframeShimOptions:{}},initialize:function(c,d){this.target=document.id(c)||document.id(document.body);this.target.store("mask",this);this.setOptions(d);this.render();this.inject()},render:function(){this.element=new Element("div",{"class":this.options["class"],id:this.options.id||"mask-"+String.uniqueID(),styles:Object.merge({},this.options.style,{display:"none"}),events:{click:function(b){this.fireEvent("click",b);if(this.options.hideOnClick){this.hide()}}.bind(this)}});this.hidden=true},toElement:function(){return this.element},inject:function(c,d){d=d||(this.options.inject?this.options.inject.where:"")||(this.target==document.body?"inside":"after");c=c||(this.options.inject&&this.options.inject.target)||this.target;this.element.inject(c,d);if(this.options.useIframeShim){this.shim=new IframeShim(this.element,this.options.iframeShimOptions);this.addEvents({show:this.shim.show.bind(this.shim),hide:this.shim.hide.bind(this.shim),destroy:this.shim.destroy.bind(this.shim)})}},position:function(){this.resize(this.options.width,this.options.height);this.element.position({relativeTo:this.target,position:"topLeft",ignoreMargins:!this.options.maskMargins,ignoreScroll:this.target==document.body});return this},resize:function(g,h){var f={styles:["padding","border"]};if(this.options.maskMargins){f.styles.push("margin")}var i=this.target.getComputedSize(f);if(this.target==document.body){this.element.setStyles({width:0,height:0});var j=window.getScrollSize();if(i.totalHeight<j.y){i.totalHeight=j.y}if(i.totalWidth<j.x){i.totalWidth=j.x}}this.element.setStyles({width:Array.pick([g,i.totalWidth,i.x]),height:Array.pick([h,i.totalHeight,i.y])});return this},show:function(){if(!this.hidden){return this}window.addEvent("resize",this.position);this.position();this.showMask.apply(this,arguments);return this},showMask:function(){this.element.setStyle("display","block");this.hidden=false;this.fireEvent("show")},hide:function(){if(this.hidden){return this}window.removeEvent("resize",this.position);this.hideMask.apply(this,arguments);if(this.options.destroyOnHide){return this.destroy()}return this},hideMask:function(){this.element.setStyle("display","none");this.hidden=true;this.fireEvent("hide")},toggle:function(){this[this.hidden?"show":"hide"]()},destroy:function(){this.hide();this.element.destroy();this.fireEvent("destroy");this.target.eliminate("mask")}});Element.Properties.mask={set:function(c){var d=this.retrieve("mask");if(d){d.destroy()}return this.eliminate("mask").store("mask:options",c)},get:function(){var b=this.retrieve("mask");if(!b){b=new Mask(this,this.retrieve("mask:options"));this.store("mask",b)}return b}};Element.implement({mask:function(b){if(b){this.set("mask",b)}this.get("mask").show();return this},unmask:function(){this.get("mask").hide();return this}});var Spinner=new Class({Extends:Mask,Implements:Chain,options:{"class":"spinner",containerPosition:{},content:{"class":"spinner-content"},messageContainer:{"class":"spinner-msg"},img:{"class":"spinner-img"},fxOptions:{link:"chain"}},initialize:function(f,e){this.target=document.id(f)||document.id(document.body);this.target.store("spinner",this);this.setOptions(e);this.render();this.inject();var d=function(){this.active=false}.bind(this);this.addEvents({hide:d,show:d})},render:function(){this.parent();this.element.set("id",this.options.id||"spinner-"+String.uniqueID());this.content=document.id(this.options.content)||new Element("div",this.options.content);this.content.inject(this.element);if(this.options.message){this.msg=document.id(this.options.message)||new Element("p",this.options.messageContainer).appendText(this.options.message);this.msg.inject(this.content)}if(this.options.img){this.img=document.id(this.options.img)||new Element("div",this.options.img);this.img.inject(this.content)}this.element.set("tween",this.options.fxOptions)},show:function(b){if(this.active){return this.chain(this.show.bind(this))}if(!this.hidden){this.callChain.delay(20,this);return this}this.target.set("aria-busy","true");this.active=true;return this.parent(b)},showMask:function(d){var c=function(){this.content.position(Object.merge({relativeTo:this.element},this.options.containerPosition))}.bind(this);if(d){this.parent();c()}else{if(!this.options.style.opacity){this.options.style.opacity=this.element.getStyle("opacity").toFloat()}this.element.setStyles({display:"block",opacity:0}).tween("opacity",this.options.style.opacity);c();this.hidden=false;this.fireEvent("show");this.callChain()}},hide:function(b){if(this.active){return this.chain(this.hide.bind(this))}if(this.hidden){this.callChain.delay(20,this);return this}this.target.set("aria-busy","false");this.active=true;return this.parent(b)},hideMask:function(b){if(b){return this.parent()}this.element.tween("opacity",0).get("tween").chain(function(){this.element.setStyle("display","none");this.hidden=true;this.fireEvent("hide");this.callChain()}.bind(this))},destroy:function(){this.content.destroy();this.parent();this.target.eliminate("spinner")}});Request=Class.refactor(Request,{options:{useSpinner:false,spinnerOptions:{},spinnerTarget:false},initialize:function(b){this._send=this.send;this.send=function(a){var d=this.getSpinner();if(d){d.chain(this._send.pass(a,this)).show()}else{this._send(a)}return this};this.previous(b)},getSpinner:function(){if(!this.spinner){var c=document.id(this.options.spinnerTarget)||document.id(this.options.update);if(this.options.useSpinner&&c){c.set("spinner",this.options.spinnerOptions);var d=this.spinner=c.get("spinner");["complete","exception","cancel"].each(function(a){this.addEvent(a,d.hide.bind(d))},this)}}return this.spinner}});Element.Properties.spinner={set:function(d){var c=this.retrieve("spinner");if(c){c.destroy()}return this.eliminate("spinner").store("spinner:options",d)},get:function(){var b=this.retrieve("spinner");if(!b){b=new Spinner(this,this.retrieve("spinner:options"));this.store("spinner",b)}return b}};Element.implement({spin:function(b){if(b){this.set("spinner",b)}this.get("spinner").show();return this},unspin:function(){this.get("spinner").hide();return this}});if(!window.Form){window.Form={}}(function(){Form.Request=new Class({Binds:["onSubmit","onFormValidate"],Implements:[Options,Events,Class.Occlude],options:{requestOptions:{evalScripts:true,useSpinner:true,emulation:false,link:"ignore"},sendButtonClicked:true,extraData:{},resetForm:true},property:"form.request",initialize:function(d,f,e){this.element=document.id(d);if(this.occlude()){return this.occluded}this.setOptions(e).setTarget(f).attach()},setTarget:function(b){this.target=document.id(b);if(!this.request){this.makeRequest()}else{this.request.setOptions({update:this.target})}return this},toElement:function(){return this.element},makeRequest:function(){var b=this;this.request=new Request.HTML(Object.merge({update:this.target,emulation:false,spinnerTarget:this.element,method:this.element.get("method")||"post"},this.options.requestOptions)).addEvents({success:function(h,f,g,a){["complete","success"].each(function(c){b.fireEvent(c,[b.target,h,f,g,a])})},failure:function(){b.fireEvent("complete",arguments).fireEvent("failure",arguments)},exception:function(){b.fireEvent("failure",arguments)}});return this.attachReset()},attachReset:function(){if(!this.options.resetForm){return this}this.request.addEvent("success",function(){Function.attempt(function(){this.element.reset()}.bind(this));if(window.OverText){OverText.update()}}.bind(this));return this},attach:function(e){var f=(e!=false)?"addEvent":"removeEvent";this.element[f]("click:relay(button, input[type=submit])",this.saveClickedButton.bind(this));var d=this.element.retrieve("validator");if(d){d[f]("onFormValidate",this.onFormValidate)}else{this.element[f]("submit",this.onSubmit)}return this},detach:function(){return this.attach(false)},enable:function(){return this.attach()},disable:function(){return this.detach()},onFormValidate:function(h,e,f){if(!f){return}var g=this.element.retrieve("validator");if(h||(g&&!g.options.stopOnFailure)){f.stop();this.send()}},onSubmit:function(d){var c=this.element.retrieve("validator");if(c){this.element.removeEvent("submit",this.onSubmit);c.addEvent("onFormValidate",this.onFormValidate);c.validate(d);return}if(d){d.stop()}this.send()},saveClickedButton:function(d,f){var e=f.get("name");if(!e||!this.options.sendButtonClicked){return}this.options.extraData[e]=f.get("value")||true;this.clickedCleaner=function(){delete this.options.extraData[e];this.clickedCleaner=function(){}}.bind(this)},clickedCleaner:function(){},send:function(){var c=this.element.toQueryString().trim(),d=Object.toQueryString(this.options.extraData);if(c){c+="&"+d}else{c=d}this.fireEvent("send",[this.element,c.parseQueryString()]);this.request.send({data:c,url:this.options.requestOptions.url||this.element.get("action")});this.clickedCleaner();return this}});Element.implement("formUpdate",function(f,d){var e=this.retrieve("form.request");if(!e){e=new Form.Request(this,f,d)}else{if(f){e.setTarget(f)}if(d){e.setOptions(d).makeRequest()}}e.send();return this})})();(function(){var b=function(e){var a=e.options.hideInputs;if(window.OverText){var f=[null];OverText.each(function(c){f.include("."+c.options.labelClass)});if(f){a+=f.join(", ")}}return(a)?e.element.getElements(a):null};Fx.Reveal=new Class({Extends:Fx.Morph,options:{link:"cancel",styles:["padding","border","margin"],transitionOpacity:"opacity" in document.documentElement,mode:"vertical",display:function(){return this.element.get("tag")!="tr"?"block":"table-row"},opacity:1,hideInputs:!("opacity" in document.documentElement)?"select, input, textarea, object, embed":null},dissolve:function(){if(!this.hiding&&!this.showing){if(this.element.getStyle("display")!="none"){this.hiding=true;this.showing=false;this.hidden=true;this.cssText=this.element.style.cssText;var e=this.element.getComputedSize({styles:this.options.styles,mode:this.options.mode});if(this.options.transitionOpacity){e.opacity=this.options.opacity}var f={};Object.each(e,function(c,d){f[d]=[c,0]});this.element.setStyles({display:Function.from(this.options.display).call(this),overflow:"hidden"});var a=b(this);if(a){a.setStyle("visibility","hidden")}this.$chain.unshift(function(){if(this.hidden){this.hiding=false;this.element.style.cssText=this.cssText;this.element.setStyle("display","none");if(a){a.setStyle("visibility","visible")}}this.fireEvent("hide",this.element);this.callChain()}.bind(this));this.start(f)}else{this.callChain.delay(10,this);this.fireEvent("complete",this.element);this.fireEvent("hide",this.element)}}else{if(this.options.link=="chain"){this.chain(this.dissolve.bind(this))}else{if(this.options.link=="cancel"&&!this.hiding){this.cancel();this.dissolve()}}}return this},reveal:function(){if(!this.showing&&!this.hiding){if(this.element.getStyle("display")=="none"){this.hiding=false;this.showing=true;this.hidden=false;this.cssText=this.element.style.cssText;var e;this.element.measure(function(){e=this.element.getComputedSize({styles:this.options.styles,mode:this.options.mode})}.bind(this));if(this.options.heightOverride!=null){e.height=this.options.heightOverride.toInt()}if(this.options.widthOverride!=null){e.width=this.options.widthOverride.toInt()}if(this.options.transitionOpacity){this.element.setStyle("opacity",0);e.opacity=this.options.opacity}var f={height:0,display:Function.from(this.options.display).call(this)};Object.each(e,function(c,d){f[d]=0});f.overflow="hidden";this.element.setStyles(f);var a=b(this);if(a){a.setStyle("visibility","hidden")}this.$chain.unshift(function(){this.element.style.cssText=this.cssText;this.element.setStyle("display",Function.from(this.options.display).call(this));if(!this.hidden){this.showing=false}if(a){a.setStyle("visibility","visible")}this.callChain();this.fireEvent("show",this.element)}.bind(this));this.start(e)}else{this.callChain();this.fireEvent("complete",this.element);this.fireEvent("show",this.element)}}else{if(this.options.link=="chain"){this.chain(this.reveal.bind(this))}else{if(this.options.link=="cancel"&&!this.showing){this.cancel();this.reveal()}}}return this},toggle:function(){if(this.element.getStyle("display")=="none"){this.reveal()}else{this.dissolve()}return this},cancel:function(){this.parent.apply(this,arguments);if(this.cssText!=null){this.element.style.cssText=this.cssText}this.hiding=false;this.showing=false;return this}});Element.Properties.reveal={set:function(a){this.get("reveal").cancel().setOptions(a);return this},get:function(){var a=this.retrieve("reveal");if(!a){a=new Fx.Reveal(this);this.store("reveal",a)}return a}};Element.Properties.dissolve=Element.Properties.reveal;Element.implement({reveal:function(a){this.get("reveal").setOptions(a).reveal();return this},dissolve:function(a){this.get("reveal").setOptions(a).dissolve();return this},nix:function(a){var d=Array.link(arguments,{destroy:Type.isBoolean,options:Type.isObject});this.get("reveal").setOptions(a).dissolve().chain(function(){this[d.destroy?"destroy":"dispose"]()}.bind(this));return this},wink:function(){var d=Array.link(arguments,{duration:Type.isNumber,options:Type.isObject});var a=this.get("reveal").setOptions(d.options);a.reveal().chain(function(){(function(){a.dissolve()}).delay(d.duration||2000)})}})})();Form.Request.Append=new Class({Extends:Form.Request,options:{useReveal:true,revealOptions:{},inject:"bottom"},makeRequest:function(){this.request=new Request.HTML(Object.merge({url:this.element.get("action"),method:this.element.get("method")||"post",spinnerTarget:this.element},this.options.requestOptions,{evalScripts:false})).addEvents({success:function(h,j,k,i){var n;var m=Elements.from(k);if(m.length==1){n=m[0]}else{n=new Element("div",{styles:{display:"none"}}).adopt(m)}n.inject(this.target,this.options.inject);if(this.options.requestOptions.evalScripts){Browser.exec(i)}this.fireEvent("beforeEffect",n);var l=function(){this.fireEvent("success",[n,this.target,h,j,k,i])}.bind(this);if(this.options.useReveal){n.set("reveal",this.options.revealOptions).get("reveal").chain(l);n.reveal()}else{l()}}.bind(this),failure:function(b){this.fireEvent("failure",b)}.bind(this)});this.attachReset()}});Locale.define("en-US","FormValidator",{required:"This field is required.",length:"Please enter {length} characters (you entered {elLength} characters)",minLength:"Please enter at least {minLength} characters (you entered {length} characters).",maxLength:"Please enter no more than {maxLength} characters (you entered {length} characters).",integer:"Please enter an integer in this field. Numbers with decimals (e.g. 1.25) are not permitted.",numeric:'Please enter only numeric values in this field (i.e. "1" or "1.1" or "-1" or "-1.1").',digits:"Please use numbers and punctuation only in this field (for example, a phone number with dashes or dots is permitted).",alpha:"Please use only letters (a-z) within this field. No spaces or other characters are allowed.",alphanum:"Please use only letters (a-z) or numbers (0-9) in this field. No spaces or other characters are allowed.",dateSuchAs:"Please enter a valid date such as {date}",dateInFormatMDY:'Please enter a valid date such as MM/DD/YYYY (i.e. "12/31/1999")',email:'Please enter a valid email address. For example "fred@domain.com".',url:"Please enter a valid URL such as http://www.example.com.",currencyDollar:"Please enter a valid $ amount. For example $100.00 .",oneRequired:"Please enter something for at least one of these inputs.",errorPrefix:"Error: ",warningPrefix:"Warning: ",noSpace:"There can be no spaces in this input.",reqChkByNode:"No items are selected.",requiredChk:"This field is required.",reqChkByName:"Please select a {label}.",match:"This field needs to match the {matchName} field",startDate:"the start date",endDate:"the end date",currentDate:"the current date",afterDate:"The date should be the same or after {label}.",beforeDate:"The date should be the same or before {label}.",startMonth:"Please select a start month",sameMonth:"These two dates must be in the same month - you must change one or the other.",creditcard:"The credit card number entered is invalid. Please check the number and try again. {length} digits entered."});if(!window.Form){window.Form={}}var InputValidator=this.InputValidator=new Class({Implements:[Options],options:{errorMsg:"Validation failed.",test:Function.from(true)},initialize:function(c,d){this.setOptions(d);this.className=c},test:function(c,d){c=document.id(c);return(c)?this.options.test(c,d||this.getProps(c)):false},getError:function(f,e){f=document.id(f);var d=this.options.errorMsg;if(typeOf(d)=="function"){d=d(f,e||this.getProps(f))}return d},getProps:function(b){b=document.id(b);return(b)?b.get("validatorProps"):{}}});Element.Properties.validators={get:function(){return(this.get("data-validators")||this.className).clean().split(" ")}};Element.Properties.validatorProps={set:function(b){return this.eliminate("$moo:validatorProps").store("$moo:validatorProps",b)},get:function(e){if(e){this.set(e)}if(this.retrieve("$moo:validatorProps")){return this.retrieve("$moo:validatorProps")}if(this.getProperty("data-validator-properties")||this.getProperty("validatorProps")){try{this.store("$moo:validatorProps",JSON.decode(this.getProperty("validatorProps")||this.getProperty("data-validator-properties"),false))}catch(f){return{}}}else{var d=this.get("validators").filter(function(a){return a.test(":")});if(!d.length){this.store("$moo:validatorProps",{})}else{e={};d.each(function(c){var b=c.split(":");if(b[1]){try{e[b[0]]=JSON.decode(b[1])}catch(a){}}});this.store("$moo:validatorProps",e)}}return this.retrieve("$moo:validatorProps")}};Form.Validator=new Class({Implements:[Options,Events],options:{fieldSelectors:"input, select, textarea",ignoreHidden:true,ignoreDisabled:true,useTitles:false,evaluateOnSubmit:true,evaluateFieldsOnBlur:true,evaluateFieldsOnChange:true,serial:true,stopOnFailure:true,warningPrefix:function(){return Form method
[all...]
/external/curl/lib/
H A Dformdata.h42 struct Form { struct
71 int Curl_FormInit(struct Form *form, struct FormData *formdata );
/external/llvm/utils/TableGen/
H A DX86RecognizableInstr.h48 uint8_t Form; member in class:llvm::X86Disassembler::RecognizableInstr
/external/llvm/tools/llvm-dwp/
H A Dllvm-dwp.cpp125 uint32_t Form; local
127 (Form = AbbrevData.getULEB128(&AbbrevOffset)) &&
129 DWARFFormValue::skipValue(Form, InfoData, &Offset, Version, AddrSize);
/external/skia/src/sfnt/
H A DSkPanose.h308 struct Form { struct in struct:SkPanose::Data::Script
/external/chromium-trace/catapult/third_party/Paste/paste/
H A Dfixture.py522 Returns a dictionary of ``Form`` objects. Indexes are both in
532 `Form <class-paste.fixture.Form.html>`_)
548 Returns a single `Form
549 <class-paste.fixture.Form.html>`_ instance; it
577 form = Form(self, text)
925 class Form(object): class in inherits:object
/external/llvm/include/llvm/CodeGen/
H A DDIE.h40 /// Form - Dwarf form code.
42 dwarf::Form Form; member in class:llvm::DIEAbbrevData
45 DIEAbbrevData(dwarf::Attribute A, dwarf::Form F) : Attribute(A), Form(F) {}
49 dwarf::Form getForm() const { return Form; }
91 void AddAttribute(dwarf::Attribute Attribute, dwarf::Form Form) { argument
92 Data.push_back(DIEAbbrevData(Attribute, Form));
304 dwarf::Form Form = (dwarf::Form)0; member in class:llvm::DIEValue
592 addValue(BumpPtrAllocator &Alloc, dwarf::Attribute Attribute, dwarf::Form Form, T &&Value) argument
[all...]
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.cpp792 dwarf::Form Form = DD->getDwarfVersion() >= 4 ? dwarf::DW_FORM_sec_offset local
794 Die.addValue(DIEValueAllocator, Attribute, Form, DIELocList(Index));
809 void DwarfCompileUnit::addExpr(DIELoc &Die, dwarf::Form Form, argument
811 Die.addValue(DIEValueAllocator, (dwarf::Attribute)0, Form, DIEExpr(Expr));
H A DDwarfUnit.cpp196 Optional<dwarf::Form> Form, uint64_t Integer) {
197 if (!Form)
198 Form = DIEInteger::BestForm(false, Integer);
199 Die.addValue(DIEValueAllocator, Attribute, *Form, DIEInteger(Integer));
202 void DwarfUnit::addUInt(DIEValueList &Block, dwarf::Form Form, argument
204 addUInt(Block, (dwarf::Attribute)0, Form, Integer);
208 Optional<dwarf::Form> Form, int64_
195 addUInt(DIEValueList &Die, dwarf::Attribute Attribute, Optional<dwarf::Form> Form, uint64_t Integer) argument
207 addSInt(DIEValueList &Die, dwarf::Attribute Attribute, Optional<dwarf::Form> Form, int64_t Integer) argument
214 addSInt(DIELoc &Die, Optional<dwarf::Form> Form, int64_t Integer) argument
226 addLabel(DIEValueList &Die, dwarf::Attribute Attribute, dwarf::Form Form, const MCSymbol *Label) argument
233 addLabel(DIELoc &Die, dwarf::Form Form, const MCSymbol *Label) argument
[all...]
/external/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp41 AddrForm Form; member in struct:__anon12321::SystemZAddressingMode
64 : Form(form), DR(dr), Base(), Disp(0), Index(),
68 bool hasIndexField() { return Form != FormBD; }
71 bool isDynAlloc() { return Form == FormBDXDynAlloc; }
173 // Try to match Addr as a FormBDX* address of form Form with
176 bool selectBDXAddr(SystemZAddressingMode::AddrForm Form,
564 if (AM.Form == SystemZAddressingMode::FormBDXLA &&
652 bool SystemZDAGToDAGISel::selectBDXAddr(SystemZAddressingMode::AddrForm Form, argument
656 SystemZAddressingMode AM(Form, DR);
/external/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCCodeEmitter.cpp1410 uint64_t Form = TSFlags & X86II::FormMask; local
1412 (Form == X86II::MRMXr) ? 0 : Form-X86II::MRM0r,
1427 uint64_t Form = TSFlags & X86II::FormMask; local
1428 EmitMemModRMByte(MI, CurOp, (Form == X86II::MRMXm) ? 0 : Form-X86II::MRM0m,
1457 uint64_t Form = TSFlags & X86II::FormMask; local
1458 EmitByte(0xC0 + Form - X86II::MRM_C0, CurByte, OS);
/external/llvm/lib/MC/
H A DMCDwarf.cpp502 static void EmitAbbrev(MCStreamer *MCOS, uint64_t Name, uint64_t Form) { argument
504 MCOS->EmitULEB128IntValue(Form);
/external/tcpdump/
H A Dprint-snmp.c245 static const char *Form[] = { variable
489 if (form >= sizeof(Form)/sizeof(Form[0])) {
494 ND_PRINT((ndo, "[class?%c/%d]", *Form[form], class));
498 ND_PRINT((ndo, "[id?%c/%s/%d]", *Form[form], Class[class].name, id));
842 * Rose-Normal-Form.
/external/llvm/tools/dsymutil/
H A DDwarfLinker.cpp2170 DWARFFormValue Val(AttrSpec.Form);
2173 DWARFFormValue::skipValue(AttrSpec.Form, Data, &Offset, &Unit);
2192 if (AttrSpec.Form != dwarf::DW_FORM_ref_addr && UseODR && Info.Ctxt &&
2346 if (AttrSpec.Form == dwarf::DW_FORM_ref_addr ||
2373 dwarf::Form(AttrSpec.Form), DIEEntry(*NewRefDie));
2386 if (AttrSpec.Form == dwarf::DW_FORM_exprloc) {
2398 dwarf::Form(AttrSpec.Form), Loc);
2401 dwarf::Form(AttrSpe
3147 uint16_t Form = Attr.Form; local
[all...]
/external/clang/lib/Sema/
H A DSemaChecking.cpp1586 } Form = Init; local
1610 Form = Init;
1615 Form = Load;
1622 Form = Copy;
1644 Form = Arithmetic;
1649 Form = Xchg;
1653 Form = GNUXchg;
1658 Form = C11CmpXchg;
1663 Form = GNUCmpXchg;
1668 if (TheCall->getNumArgs() < NumArgs[Form]) {
[all...]

Completed in 1511 milliseconds

12