<commit_before>var abaaso=function(){var a={contains:function(a,b){try{if(!a instanceof Array)throw new Error(i.error.expectedArray);b=b.toString().indexOf(",")>-1?b.split(/\s*,\s*/):b;if(b instanceof Array){var c=[],d=args.length,e=null;for(e=0;e<d;e++)c[e]=a.index(b[e]);return c}return a.index(b)}catch(f){o(f);return undefined}},diff:function(a,b){try{if(!a instanceof Array&&!b instanceof Array)throw new Error(i.error.expectedArray);return a.filter(function(a){return b.indexOf(a)<0})}catch(c){o(c);return undefined}},first:function(a){try{if(!a instanceof Array)throw new Error(i.error.expectedArray);return a[0]}catch(b){o(b);return undefined}},index:function(a,b){try{if(!a instanceof Array)throw new Error(i.error.expectedArray);var c=a.length;while(c--)if(a[c]==b)return c;return-1}catch(d){o(d);return-1}},indexed:function(a){try{if(!a instanceof Array)throw new Error(i.error.expectedArray);var b,c=0,d=[];for(b in a)typeof a[b]!="function"&&(d[c]=a[b]instanceof Array?a[b].indexed():a[b],c++);d.length=c;return d}catch(e){o(e);return undefined}},keys:function(a){try{if(!a instanceof Array)throw new Error(i.error.expectedArray);var b=[],c=null;for(c in a)typeof a[c]!="function"?b.push(c):void 0;return b}catch(d){o(d);return undefined}},last:function(a){try{if(!a instanceof Array)throw new Error(i.error.expectedArray);return a.length>1?a[a.length-1]:a[0]}catch(b){o(b);return undefined}},remove:function(a,b,c){try{if(!a instanceof Array)throw new Error(i.error.expectedArray);var d;b=b||0,a.fire("beforeRemove"),d=a.slice((c||b)+1||a.length),a.length=b<0?a.length+b:b,a.push.apply(obj,d),a.fire("afterRemove");return a}catch(e){o(e);return undefined}},total:function(a){try{if(!a instanceof Array)throw new Error(i.error.expectedArray);var b=0,c;for(c in a)typeof a[c]!="function"?b++:void 0;return b}catch(d){o(d);return-1}}},b={items:[],clean:function(){for(var a in b.items)typeof b.items[a]!="function"&&b.expired(a)===!0?b.expire(a):void 0;return},expire:function(a){b.items[a]!==undefined?delete b.items[a]:void 0;return},expired:function(a){var d=b.items[a]!==undefined&&(b.items[a].headers.Expires!==undefined&&new Date(b.items[a].headers.Expires)<new Date||c.ms>0&&b.items[a].headers.Date!==undefined&&(new Date(b.items[a].headers.Date)).setMilliseconds((new Date(b.items[a].headers.Date)).getMilliseconds()+c.ms)>new Date||c.ms>0&&(new Date(b.items[a].epoch)).setMilliseconds((new Date(b.items[a].epoch)).getMilliseconds()+c.ms)>new Date)?!0:!1;return d},get:function(a,c){try{c=c===!1?!1:!0;if(b.items[a]===undefined)return!1;if(b.items[a].headers!==undefined){if(b.items[a].headers.Pragma!==undefined&&b.items[a].headers.Pragma=="no-cache"&&c||b.expired(b.items[a])){b.expire(a);return!1}return b.items[a]}return b.items[a]}catch(d){o(d);return undefined}},set:function(a,c,d){try{b.items[a]===undefined&&(b.items[a]={},b.items[a].permission=0),c=="permission"?b.items[a].permission|=d:c=="!permission"?b.items[a].permission&=~d:b.items[a][c]=d}catch(e){o(e)}}},c={chrome:function(){return navigator.userAgent.toLowerCase().indexOf("chrome")>-1?!0:!1}(),css3:!1,firefox:function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1?!0:!1}(),ie:function(){return navigator.userAgent.toLowerCase().indexOf("msie")>-1?!0:!1}(),ms:0,opera:function(){return navigator.userAgent.toLowerCase().indexOf("opera")>-1?!0:!1}(),safari:function(){return navigator.userAgent.toLowerCase().indexOf("safari")>-1?!0:!1}(),version:null,del:function(a,d,e){try{if(a==""||!d instanceof Function)throw new Error(i.error.invalidArguments);a.on("afterDelete",function(){b.expire(a),a.un("afterDelete","expire")},"expire").fire("beforeDelete");var f=b.get(a);!f||f.permission===0||f.permission&1?c.request(a,d,"DELETE",null,e):e(typeof f.response!="undefined"?f.response:i.error.serverInvalidMethod)}catch(g){o(g),e instanceof Function?e(g):void 0}},get:function(a,d,e){try{if(a==""||!d instanceof Function)throw new Error(i.error.invalidArguments);a.fire("beforeGet");var f=b.get(a);!f||f.permission===0||f.permission&4?c.request(a,d,"GET",null,e):f?d(f.response):e(typeof f.response!="undefined"?f.response:i.error.serverInvalidMethod)}catch(g){o(g),e instanceof Function?e(g):void 0}},put:function(a,d,e,f){try{if(a==""||!d instanceof Function||e===undefined||typeof e!="object")throw new Error(i.error.invalidArguments);a.fire("beforePut");var g=b.get(a);!g||g.permission===0||g.permission&2?c.request(a,d,"PUT",e,f):f(typeof g.response!="undefined"?g.response:i.error.serverInvalidMethod)}catch(h){o(h),f instanceof Function?f(h):void 0}},post:function(a,d,e,f){try{if(a==""||!d instanceof Function||e=="")throw new Error(i.error.invalidArguments);a.fire("beforePost");var g=b.get(a);!g||g.permission===0||g.permission&2?c.request(a,d,"POST",e,f):f(typeof g.response!="undefined"?g.response:i.error.serverInvalidMethod)}catch(h){o(h),f instanceof Function?f(h):void 0}},jsonp:function(a,b,d,e){try{if(a===undefined||a==""||!b instanceof Function)throw new Error(i.error.invalidArguments);e=e!==undefined?e:null,a.fire("beforeJSONP"),c.request(a,b,"JSONP",e,d)}catch(f){o(f),d instanceof Function?d(f):void 0}},permission:function(a){var c=b.get(a,!1),d=c?c.permission:0,e={allows:[],bit:d,map:{read:4,write:2,"delete":1}};d&1?e.allows.push("DELETE"):void 0,d&2?function(){e.allows.push("PUT"),e.allows.push("PUT")}():void 0,d&4?e.allows.push("GET"):void 0;return e},request:function(a,d,e,g,h){if((e.toLowerCase()=="post"||e.toLowerCase()=="put")&&typeof g!="object")throw new Error(i.error.invalidArguments);if(e.toLowerCase()=="jsonp"){var j="a"+l.id(),k=a,m=n("head")[0];do j="a"+l.id();while(abaaso.callback[j]!==undefined);g===null?g="callback":void 0,a=a.replace(g+"=?",g+"=abaaso.callback."+j),a+="&"+(new Date).getTime().toString(),abaaso.callback[j]=function(a){d(a),delete abaaso.callback[j],k.fire("afterJSONP")},f.create("script",{src:a,type:"text/javascript"},m)}else{var o=new XMLHttpRequest,p=e.toLowerCase()=="post"||e.toLowerCase()=="put"?g:null,q=b.get(a,!1);a.fire("beforeXHR"),o.onreadystatechange=function(){c.response(o,a,d,e,h)},abaaso.timer[a]=setTimeout(function(){delete abaaso.timer[a],h()},3e4),o.open(e.toUpperCase(),a,!0),p!==null?o.setRequestHeader("Content-type","application/x-www-form-urlencoded; charset=UTF-8"):void 0,q!==!1&&q.headers.ETag!==undefined?o.setRequestHeader("ETag",q.headers.ETag):void 0,o.send(p)}},response:function(a,c,d,e,f){try{if(a.readyState==2){var g=a.getAllResponseHeaders().split("\n"),h=null,j=g.length,l={},m=null,n;n=function(a){try{if(!a instanceof Array)throw Error(i.error.expectedArray);var b=0,c=a.length,d;for(d=0;d<c;d++)switch(a[d].toLowerCase()){case"get":b|=4;break;case"post":case"put":b|=2;break;case"delete":b|=1}return b}catch(e){o(e);return 0}};for(h=0;h<j;h++)if(g[h]!=""){var p=g[h].toString(),q=p.substr(p.indexOf(":")+1,p.length).replace(/\s/,"");p=p.substr(0,p.indexOf(":")).replace(/\s/,""),l[p]=q,p.toLowerCase()=="accept"?m=q:void 0}b.set(c,"headers",l),b.set(c,"permission",n(m!==null?m.split(/\s*,\s*/):[e]))}else if(a.readyState==4){clearTimeout(abaaso.timer[c]),delete abaaso.timer[c];if(a.status!=200||a.responseText==""){if(a.status==401)throw new Error(i.error.serverUnauthorized);if(a.status==405){b.set(c,"!permission",n([e]));throw new Error(i.error.serverInvalidMethod)}throw new Error(i.error.serverError)}var r=null,s=abaaso.state;e!="DELETE"&&(b.set(c,"epoch",new Date),b.set(c,"response",a.responseText)),c.fire("afterXHR"),c.fire("after"+e.toLowerCase().capitalize()),c=b.get(c,!1),s.header!==null&&(r=c.headers[s.header])&&r!==undefined&&(s.previous=s.current,s.current=r,s.previous!==null&&s.current!==null?k.replace(abaaso,r,s.previous,s.current,s.current):void 0,abaaso.fire(r)),d!==undefined?d(c.response):void 0}}catch(t){o(t),f instanceof Function?f(t):void 0}},size:function(){var a=document.compatMode=="CSS1Compat"&&c.opera===!1?document.documentElement.clientWidth:document.body.clientWidth,b=document.compatMode=="CSS1Compat"&&c.opera===!1?document.documentElement.clientHeight:document.body.clientHeight;return{x:a,y:b}}},d={expire:function(a){this.get(a)!==undefined?this.set(a,"","-1s"):void 0},get:function(a){return this.list()[a]},list:function(){var a=null,b=null,c=null,d=null,e={};if(document.cookie&&document.cookie!=""){d=document.cookie.split(";"),b=d.length;for(a=0;a<b;a++)c=d[a].split("="),e[decodeURIComponent(c[0].toString().trim())]=decodeURIComponent(c[1].toString().trim())}return e},set:function(a,b,c){c=c.toString()||"";var d="",e=null,f=null,g=["d","h","m","s"],h=g.length;if(c!=""){while(h--)if(c.indexOf(g[h])>0){f=g[h],e=parseInt(c.substring(0,c.indexOf(f)));break}if(isNaN(e))throw new Error(i.error.invalidArguments);d=new Date;switch(f){case"d":d.setDate(d.getDate()+e);break;case"h":d.setHours(d.getHours()+e);break;case"m":d.setMinutes(d.getMinutes()+e);break;case"s":d.setSeconds(d.getSeconds()+e)}}d!=""?d="; expires="+d.toUTCString():void 0,document.cookie=a.toString().trim()+"="+b+d+"; path=/";return this.get(a)}},e={keys:[],records:[],clear:function(){this.parentNode.id.fire("beforeClear"),this.keys=[],this.records=[],this.parentNode.id.fire("afterClear");return this},del:function(a,b){try{b=b===!1?!1:!0;var c,d;if(a===undefined||typeof a!="string"&&typeof a!="number")throw new Error(i.error.invalidArguments);this.parentNode.id.fire("beforeDelete");if(typeof a=="string"){c=this.keys[a];if(c===undefined)throw new Error(i.error.invalidArguments);delete this.records[c.index],delete this.keys[a]}else c=this.records[a].key,delete this.records[a],delete this.keys[c];b===!0?this.reindex():void 0,this.parentNode.id.fire("afterDelete");return this}catch(e){o(e);return undefined}},find:function(a,b){a=a||undefined,b=b||undefined;try{if(a===undefined)throw Error(i.error.invalidArguments);var c,d=[],e=typeof a=="string"?a.split(/\s*,\s*/):a;if(b===undefined||!b instanceof Array)if(typeof b=="string"){d=b.split(/\s*,\s*/);for(c in d)if(this.records[0].data[d[c]]===undefined)throw Error(i.error.invalidArguments)}else for(c in this.records[0].data)d.push(c);else{for(c in b)if(this.records[0].data[b[c]]===undefined)throw Error(i.error.invalidArguments);d=b}var f=[],g=d.length,h=e.length,j,k,l,m,n,p;c=this.records.length,this.parentNode.id.fire("beforeFind");while(c--)for(j=0;j<g;j++)for(k=0;k<h;k++)l=d[j],p=e[k],m=new RegExp(p,"gi"),n=this.records[c].data[l],m.test(n)&&f.push(this.records[c]);this.parentNode.id.fire("afterFind");return f}catch(q){o(q);return undefined}},get:function(a){try{var b=[],c,d,e;this.parentNode.id.fire("beforeGet");if(typeof a=="string")return this.keys[a]!==undefined?this.records[this.keys[a].index]:undefined;if(a instanceof Array){if(isNaN(a[0])||isNaN(a[1]))throw new Error(i.error.invalidArguments);d=a[0]-1,e=a[1]-1;for(c=d;c<e;c++)this.records[c]!==undefined?b.push(this.records[c]):void 0;return b}return this.records[a]}catch(f){o(f);return undefined}},register:function(a){try{if(a instanceof Array){var b=isNaN(a.length)?a.total():a.length;while(b--)this.register(a[b])}else a=l.object(a),abaaso.genId(a),a.data=l.clone(this),a.data.parentNode=a,delete a.data.register;return a}catch(c){o(c);return undefined}},reindex:function(){var a,b=0,c=this.records.length,d,e;for(a=0;a<c;a++)this.records[a]!==undefined&&(d=this.records[a].key,e=parseInt(this.keys[d].index),e!=b&&(this.records[b]=this.records[a],this.keys[d].index=b,delete this.records[a]),b++);b>0?this.records.length=b:void 0;return this},set:function(a,b){try{if(a===undefined||a===undefined)throw new Error(i.error.invalidArguments);this.parentNode.id.fire("beforeSet");var c=this.keys[a]===undefined&&this.records[a]===undefined?undefined:this.get(a),d,e;if(c===undefined)this.keys[a]={},e=this.records.length-1+1,this.keys[a].index=e,this.records[e]={},this.records[e].data=b,this.records[e].key=a,c=this.records[e];else if(typeof b=="object"){for(d in b)c[d]=b[d];this.records[c.index]=c}else this.records[c.index]=b;this.parentNode.id.fire("afterSet");return this}catch(f){o(f);return undefined}void 0}},f={clear:function(a){try{if(a instanceof Array){var b=isNaN(a.length)?a.total():a.length,c=null;for(c=0;c<b;c++)this.clear(a[c]);return a}a=l.object(a);if(a!==null){a.fire("beforeClear"),typeof a.reset=="function"?a.reset():a.value!==undefined?a.update({innerHTML:"",value:""}):a.update({innerHTML:""}),a.fire("afterClear");return a}throw new Error(i.error.elementNotFound)}catch(d){o(d);return undefined}},create:function(a,b,c){try{if(a===undefined)throw new Error(i.error.invalidArguments);var d,e;c!==undefined?e=typeof c=="object"?c:n(c):b===undefined||typeof b!="string"&&b.childNodes===undefined?e=document.body:(e=b,typeof e=="string"?e=n(e):void 0);if(e===undefined)throw new Error(i.error.invalidArguments);d=document.createElement(a),b!==undefined&&typeof b!="string"&&b.childNodes===undefined&&b.id!==undefined&&n("#"+b.id)===undefined?d.id=b.id:d.genId(),b!==undefined&&b.id!==undefined?delete b.id:void 0,d.fire("beforeCreate"),typeof b=="object"&&b.childNodes===undefined?d.update(b):void 0,e.appendChild(d),d.fire("afterCreate");return d}catch(f){o(f);return undefined}},css:function(a){try{var b,c;b=create("style",{type:"text/css"},n("head")[0]),b.styleSheet?b.styleSheet.cssText=a:(c=document.createTextNode(a),b.appendChild(c));return b}catch(d){o(d);return undefined}},destroy:function(a){try{if(a instanceof Array){var b=isNaN(a.length)?a.total():a.length;while(b--)this.destroy(a[b]);return a}a=l.object(a),a!==undefined&&(a.fire("beforeDestroy"),k.remove(a.id),a.parentNode.removeChild(a),a.fire("afterDestroy"));return undefined}catch(c){o(c);return undefined}},disable:function(a){try{if(a instanceof Array){var b=isNaN(a.length)?a.total():a.length;while(b--)this.disable(a[b]);return a}a=l.object(a),a!==undefined&&a.disabled!==undefined&&(a.fire("beforeDisable"),a.disabled=!0,a.fire("afterDisable"));return a}catch(c){o(c);return undefined}},enable:function(a){try{if(a instanceof Array){var b=isNaN(a.length)?a.total():a.length;while(b--)this.enable(a[b]);return a}a=l.object(a),a!==undefined&&a.disabled!==undefined&&(a.fire("beforeEnable"),a.disabled=!1,a.fire("afterEnable"),instances.push(a));return a}catch(c){o(c);return undefined}},eventID:function(a,b){return window.event?window.event.srcElement.id:b.id},hide:function(a){try{if(a instanceof Array){var b=isNaN(a.length)?a.total():a.length,c=null;for(c=0;c<b;c++)this.hide(a[c]);return a}a=l.object(a),a.fire("beforeHide"),a.old===undefined?a.old={}:void 0,a.old.display=a.style.display,a.style.display="none",a.fire("afterHide");return a}catch(d){o(d);return undefined}},position:function(a){a=l.object(a);if(a===undefined)throw new Error(i.error.invalidArguments);var b=null,c=null;if(a.offsetParent){b=a.offsetLeft,c=a.offsetTop;while(a=a.offsetParent)b+=a.offsetLeft,c+=a.offsetTop}return[b,c]},show:function(a){try{if(a instanceof Array){var b=isNaN(a.length)?a.total():a.length,c=null;for(c=0;c<b;c++)this.show(a[c]);return a}a=l.object(a),a.fire("beforeShow"),a.style.display=a.old!==undefined&&a.old.display!==undefined&&a.old.display!=""?a.old.display:"inherit",a.fire("afterShow");return a}catch(d){o(d);return undefined}},size:function(a){a=l.object(a);if(a===undefined)throw new Error(i.error.invalidArguments);var b=function(a){return isNaN(parseInt(a))?0:parseInt(a)},c=a.offsetHeight+b(a.style.paddingTop)+b(a.style.paddingBottom)+b(a.style.borderTop)+b(a.style.borderBottom),d=a.offsetWidth+b(a.style.paddingLeft)+b(a.style.paddingRight)+b(a.style.borderLeft)+b(a.style.borderRight);return{x:c,y:d}},update:function(a,b){try{if(a instanceof Array){var d=isNaN(a.length)?a.total():a.length,e=null;for(e=0;e<d;e++)this.update(a[e],b);return a}a=l.object(a),b=b||{};if(a===undefined)throw new Error(i.error.invalidArguments);a.fire("beforeUpdate");if(a){for(var e in b)switch(e){case"innerHTML":case"type":case"src":a[e]=b[e];break;case"opacity":a.opacity(b[e]);break;case"class":c.ie&&c.version<8?e="className":void 0;case"id":var f=k.listeners;f[a.id]!==undefined&&(f[b[e]]=[].concat(f[a.id]),delete f[a.id]);default:a.setAttribute(e,b[e])}a.fire("afterUpdate");return a}throw new Error(i.error.elementNotFound)}catch(g){o(g);return undefined}}},g={even:function(a){try{return a%2===0}catch(b){o(b);return undefined}},odd:function(a){try{return a%2!==0}catch(b){o(b);return undefined}}},h={decode:function(a){try{return JSON.parse(a)}catch(b){o(b);return undefined}},encode:function(a){try{return JSON.stringify(a)}catch(b){o(b);return undefined}}},i={common:{back:"Back",cancel:"Cancel",clear:"Clear",close:"Close",cont:"Continue",del:"Delete",edit:"Edit",find:"Find",gen:"Generate",go:"Go",loading:"Loading",next:"Next",login:"Login",ran:"Random",save:"Save",search:"Search",submit:"Submit"},error:{databaseNotOpen:"Failed to open the Database, possibly exceeded Domain quota",databaseNotSupported:"Client does not support local database storage",databaseWarnInjection:"Possible SQL injection in database transaction, use the &#63; placeholder",elementNotCreated:"Could not create the Element",elementNotFound:"Could not find the Element",expectedArray:"Expected an Array",expectedArrayObject:"Expected an Array or Object",expectedBoolean:"Expected a Boolean value",expectedNumber:"Expected a Number",expectedObject:"Expected an Object",invalidArguments:"One or more arguments is invalid",invalidDate:"Invalid Date",invalidFields:"The following required fields are invalid: ",serverError:"A server error has occurred",serverInvalidMethod:"Invalid method on the URI",serverUnauthorized:"Unauthorized to access URI"}},j={enabled:!1,log:!1,pos:{x:null,y:null},track:function(a){var b=abaaso.mouse;if(typeof a=="object"){var c,d,e=!1;c=a.pageX?a.pageX:document.body.scrollTop+a.clientX,d=a.pageY?a.pageY:document.body.scrollLeft+a.clientY,b.pos.x!=c&&(b.pos.x=c,e=!0),b.pos.y!=d&&(b.pos.y=d,e=!0);if(e===!0&&b.log===!0)try{console.log(b.pos.x+" : "+b.pos.y)}catch(f){abaaso.error(f)}}else typeof a=="boolean"&&(a===!0?document.addEventListener?document.addEventListener("mousemove",abaaso.mouse.track,!1):document.attachEvent("onmousemove",abaaso.mouse.track):document.removeEventListener?document.removeEventListener("mousemove",abaaso.mouse.track,!1):document.detachEvent("onmousemove",abaaso.mouse.track),b.enabled=a);return b}},k={listeners:[],log:!1,add:function(a,b,c,d,e,f){try{if(a instanceof Array){var g=a.length&&!isNaN(a.length)?a.length:a.total(),h=null;for(h=0;h<g;h++)this.add(a[h],b,c,d,e===!1?a[h]:e,f);return a}var j=null,m=k.listeners,p=a.id!==undefined?a.id:a;a=l.object(a),f=f===!0?!0:!1;if(p===undefined||b===undefined||!c instanceof Function||f&&d===undefined)throw new Error(i.error.invalidArguments);m[p]===undefined?m[p]=[]:void 0,m[p][b]===undefined?m[p][b]=[]:void 0,m[p][b].active===undefined?m[p][b].active=[]:void 0;var q={fn:c};e!==undefined&&e!==null?q.scope=e:void 0,f?(m[p][b].standby===undefined?m[p][b].standby=[]:void 0,m[p][b].standby[d]=q):(d!==undefined?m[p][b].active[d]=q:m[p][b].active.push(q),j=p!="abaaso"?n("#"+p):null,j!==null&&j!==undefined?typeof j.addEventListener=="function"?j.addEventListener(b,function(a){a?void 0:a=window.event,a.cancelBubble=!0,typeof a.stopPropagation=="function"?a.stopPropagation():void 0,j.fire(b)},!1):j.attachEvent("on"+b,function(a){a?void 0:a=window.event,a.cancelBubble=!0,typeof a.stopPropagation=="function"?a.stopPropagation():void 0,j.fire(b)}):void 0);return a}catch(r){o(r);return undefined}},fire:function(a,b){try{if(a instanceof Array){var c=isNaN(a.length)?a.total():a.length,d=null;for(d=0;d<c;d++)this.fire(a[d],b);return a}a=l.object(a);var e=k.listeners,f=a.id!==undefined?a.id:a.toString(),d;if(f===undefined||f==""||a===undefined||b===undefined)throw new Error(i.error.invalidArguments);abaaso.observer.log===!0?l.log(f+" fired "+b):void 0;var g=k.list(a,b).active;if(g!==undefined)for(d in g)if(g[d]!==undefined&&typeof g[d]!="function"&&g[d].fn)if(g[d].scope!==undefined){var h=typeof g[d].scope=="object"?g[d].scope:n("#"+g[d].scope),j=g[d].fn,m=h!==undefined?h:g[d].scope;j.call(m)}else g[d].fn();return a}catch(p){o(p);return undefined}},list:function(a,b){try{if(a===undefined)throw new Error(i.error.invalidArguments);a=l.object(a);var c=k.listeners,d=a.id!==undefined?a.id:a.toString();return c[d]!==undefined?b!==undefined&&c[d][b]!==undefined?c[d][b]:c[d]:[]}catch(e){o(e);return undefined}},remove:function(a,b,c){try{if(a instanceof Array){var d=isNaN(a.length)?a.total():a.length,e=null;for(e=0;e<d;e++)this.remove(a[e],b,c);return a}a=l.object(a);var f=null,g=a.id!==undefined?a.id:a.toString(),h=k.listeners;if(g===undefined||b===undefined||h[g]===undefined||h[g][b]===undefined)return a;c===undefined?(delete h[g][b],f=g!="abaaso"?n("#"+g):null,f!==null&&f!==undefined?typeof f.removeEventListener=="function"?f.removeEventListener(b,function(a){a?void 0:a=window.event,a.cancelBubble=!0,typeof a.stopPropagation=="function"?a.stopPropagation():void 0,f.fire(b)},!1):f.detachEvent("on"+b,function(a){a?void 0:a=window.event,a.cancelBubble=!0,typeof a.stopPropagation=="function"?a.stopPropagation():void 0,f.fire(b)}):void 0):h[g][b].active[c]!==undefined&&(delete h[g][b].active[c],h[g][b].standby!==undefined&&h[g][b].standby[c]!==undefined&&delete h[g][b].standby[c]);return a}catch(i){o(i);return undefined}},replace:function(a,b,c,d,e){try{if(a instanceof Array){var f=isNaN(a.length)?a.total():a.length,g=null;for(g=0;g<f;g++)this.replace(a[g],b,c,d,e);return a}a=l.object(a);var h=k.listeners,j=a.id!==undefined?a.id:a.toString();if(j===undefined||b===undefined||c===undefined||d===undefined||h[j]===undefined||h[j][b]===undefined||h[j][b].active===undefined||h[j][b].active[c]===undefined)throw new Error(i.error.invalidArguments);h[j][b].standby===undefined?h[j][b].standby=[]:void 0;if(typeof e=="string"){if(h[j][b].standby[e]===undefined||h[j][b].standby[e].fn===undefined)throw new Error(i.error.invalidArguments);e=h[j][b].standby[e].fn}else if(!e instanceof Function)throw new Error(i.error.invalidArguments);h[j][b].standby[d]={fn:h[j][b].active[c].fn},h[j][b].active[c]={fn:e};return a}catch(m){o(m);return undefined}}},l={$:function(a,b){var d,e,f,g,h,i,j,k,l,m,o,p=window.document,q=[];i=function(a,b){var c,d,e=[];if(a instanceof Array){d=a.length;for(c=0;c<d;c++)c.even()===b?e.push(a[c]):void 0}else if(a.childNodes&&a.childNodes.length>0){d=a.childNodes.length;for(c=0;c<d;c++)c.even()===b?e.push(a.childNodes[c]):void 0}return e},j=function(a,b){b=b.split(/\s*,\s*/);var c,d,e=b.length,f=[];for(c=0;c<e;c++)d=new RegExp(b[c].replace("*",".*"),"ig"),d.test(a)?f.push(b[c]):void 0;return f.length>0?!0:!1},k=function(a,b){var c,d,e=[];a instanceof Array&&a.length==1?a=a.first():void 0;if(a instanceof Array){d=a.length;for(c=0;c<d;c++)a[c].innerHTML.indexOf(b)>=0?e.push(a[c]):void 0;return e.length==1?e[0]:e}return a!=null&&b!=null&&a.innerHTML.indexOf(b)>=0?a:undefined},l=function(a,b){var c,d,e=[];a instanceof Array&&a.length==1?a=a.first():void 0;if(a instanceof Array){var f,g;d=a.length;for(c=0;c<d;c++){g=a[c].childNodes.length;for(f=0;f<g;f++)a[c].genId(),j(a[c].childNodes[f].nodeName,b)===!0&&e[a[c].id]===undefined?e[a[c].id]=a[c]:void 0}e=e.indexed()}else{d=a.childNodes.length;for(c=0;c<d;c++)j(a.childNodes[c].nodeName,b)===!0?e.push(a.childNodes[c]):void 0}return e},is=function(a,b){var c,d,e=[];a instanceof Array&&a.length==1?a=a.first():void 0;if(a instanceof Array){d=a.length;for(c=0;c<d;c++)a[c].genId(),j(a[c].nodeName,b)===!0&&e[a[c].id]===undefined?e[a[c].id]=a[c]:void 0;e=e.indexed()}else j(a.nodeName,b)===!0?e.push(a):void 0;return e},m=function(a,b){var c,d,e=[];a instanceof Array&&a.length==1?a=a.first():void 0;if(a instanceof Array){var f,g;d=a.length;for(c=0;c<d;c++){g=a[c].childNodes.length;for(f=0;f<g;f++)a[c].genId(),j(a[c].childNodes[f].nodeName,b)===!1?e[a[c].id]===undefined?e[a[c].id]=a[c]:void 0:e[a[c].id]!==undefined?delete e[a[c].id]:void 0}e=e.indexed()}else{d=a.childNodes.length;for(c=0;c<d;c++)j(a.childNodes[c].nodeName,b)===!1?e.push(a.childNodes[c]):void 0}return e};var r=/[^.:]{1,}/gi.exec(a)!==null?/[^.:]{1,}/gi.exec(a)[0]:"",s=/[.:]{1,}.*/gi.exec(a)!==null?/[.:]{1,}.*/gi.exec(a)[0]:"";a.charAt(0)=="."?r="."+r:void 0,a=r.indexOf(",")>-1?r.split(/\s*,\s*/):r,b=b===!0?!0:!1;if(a instanceof Array){g=a.length;for(f=0;f<g;f++)q.push(n(a[f]+s,b));return q}d=s.split(/\.|:/).slice(1),a.charAt(0)==":"?a=":":a.charAt(0)=="."?(a=d.length&&d.length>0?new String("."+d[0]):new String(a),d=d.splice(1)):a=d.length&&d.length>0?new String(a.split(/\.|:/)[0]):new String(a);switch(a.charAt(0)){case".":e=p.getElementsByClassName(a.substring(1)),e!==null&&b===!1&&(!c.ie||c.version>8)?e=Array.prototype.slice.call(e):void 0;break;case"#":e=p.getElementById(a.substring(1));break;case":":e=p.body.getElementsByTagName("*");if(e!==null&&b===!1)if(!c.ie||c.version>8)e=Array.prototype.slice.call(e);else{var r=[],f,g=e.length;for(var f=0;f<g;f++)r.push(e[f]);e=r}break;default:e=p.getElementsByTagName(a);if(e!==null&&b===!1)if(!c.ie||c.version>8)e=Array.prototype.slice.call(e);else{var r=[],f,g=e.length;for(var f=0;f<g;f++)r.push(e[f]);e=r}}if(e!==null&&d.length&&d.length>0){g=d.length;for(f=0;f<g;f++){if(e===undefined){e=[];break}switch(d[f].toString().replace(/\(.*\)/,"")){case"contains":e=k(e,d[f].toString().replace(/.*\(|'|"|\)/g,""));break;case"even":e=i(e,!0);break;case"first":e=e.first();break;case"has":e=l(e,d[f].toString().replace(/.*\(|'|"|\)/g,""));break;case"is":e=is(e,d[f].toString().replace(/.*\(|'|"|\)/g,""));break;case"last":e=e.last();break;case"not":e=m(e,d[f].toString().replace(/.*\(|'|"|\)/g,""));break;case"odd":e=i(e,!1);break;default:g=e.length?e.length:0,q=[];for(o=0;o<g;o++)h=e[o].className.split(" "),h.index(d[f])>-1?q.push(e[o]):void 0;e=q}e instanceof Array&&(e.length===0?e=f+1==g?[]:undefined:void 0)}}e===null&&(e=undefined);return e},clone:function(a){try{if(typeof a!="object")throw Error(i.error.expectedObject);var b={},c;typeof a.prototype=="object"?b.prototype=a.prototype:void 0;for(c in a)b[c]=a[c];return b}catch(d){o(d);return undefined}},define:function(a,b,c){a=a.split("."),c=c||this;var d=null,e=a.length,f=c;for(d=0;d<e;d++)f[a[d]]===undefined?f[a[d]]=d+1<e?{}:b!==undefined?b:null:d+1>=e?f[a[d]]=b!==undefined?b:null:void 0,f=f[a[d]];return c},error:function(a){var b={name:typeof a=="object"?a.name:"TypeError",message:typeof a=="object"?a.message:a};a.number!==undefined?b.number=a.number&65535:void 0,typeof console!="undefined"?console.error(b.message):void 0,o.events===undefined?o.events=[]:void 0,o.events.push(b)},domId:function(a){try{return a.toString().replace(/(\&|,|(\s)|\/)/gi,"").toLowerCase()}catch(b){o(b);return undefined}},genId:function(a){try{if(typeof a!="object")throw new Error(i.error.invalidArguments);if(a instanceof Array||a instanceof String||typeof a.id!="undefined"&&a.id!="")return a;var b;do b="abo-"+l.id();while(n("#"+b)!==undefined);a.id=b;return a}catch(c){o(c);return undefined}},id:function(){return Math.floor(Math.random()*1e9)},loading:function(a){try{if(a instanceof Array){var b=isNaN(a.length)?a.total():a.length,c=null;for(c=0;c<b;c++)this.loading(a[c]);return arg}if(abaaso.loading.url===null)throw new Error(i.error.elementNotFound);a=typeof a=="object"?a:n(a);if(a===undefined)throw new Error(i.error.invalidArguments);abaaso.loading.image===undefined&&(abaaso.loading.image=new Image,abaaso.loading.image.src=abaaso.loading.url),a.genId(),a.clear(),n("#"+a.id).create("div",{id:a.id+"_loading",style:"text-align:center"}),n("#"+a.id+"_loading").create("img",{alt:i.common.loading,src:abaaso.loading.image.src});return a}catch(d){o(d);return undefined}},log:function(a){try{console.log(a)}catch(b){o(b)}},object:function(a){return typeof a=="object"?a:a.charAt(0)=="#"?n(a):a},proto:function(a,c){try{if(typeof a!="object")throw new Error(i.error.invalidArguments);var d=function(a,b){var c=b.length;while(c--)a[b[c].name]=b[c].fn},e={array:[{name:"contains",fn:function(a){return abaaso.array.contains(this,a)}},{name:"diff",fn:function(a){return abaaso.array.diff(this,a)}},{name:"first",fn:function(){return abaaso.array.first(this)}},{name:"index",fn:function(a){return abaaso.array.index(this,a)}},{name:"indexed",fn:function(){return abaaso.array.indexed(this)}},{name:"keys",fn:function(){return abaaso.array.keys(this)}},{name:"last",fn:function(a){return abaaso.array.last(this)}},{name:"on",fn:function(a,b,c,d,e){d=d||!1;return abaaso.on(this,a,b,c,d,e)}},{name:"remove",fn:function(a){return abaaso.array.remove(this,a)}},{name:"total",fn:function(){return abaaso.array.total(this)}}],element:[{name:"create",fn:function(a,b){this.genId();return abaaso.create(a,b,this)}},{name:"disable",fn:function(){return abaaso.el.disable(this)}},{name:"enable",fn:function(){return abaaso.el.enable(this)}},{name:"get",fn:function(a){this.fire("beforeGet");var c=b.get(a);c?(this.value!==undefined?this.update({value:c.response}):this.update({innerHTML:c.response}),this.fire("afterGet")):(a.on("afterGet",function(){a.un("afterGet","get");var c=b.get(a,!1).response;this.value!==undefined?this.update({value:c}):this.update({innerHTML:c}),this.fire("afterGet")},"get",this),abaaso.get(a));return this}},{name:"hide",fn:function(){this.genId();return abaaso.el.hide(this)}},{name:"isAlpha",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({string:this.innerHTML}).pass}},{name:"isAlphaNum",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({string:this.innerHTML,number:this.innerHTML}).pass}},{name:"isBoolean",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({"boolean":this.innerHTML}).pass}},{name:"isDate",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({date:this.innerHTML}).pass}},{name:"isDomain",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({domain:this.innerHTML}).pass}},{name:"isEmail",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({email:this.innerHTML}).pass}},{name:"isEmpty",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:!abaaso.validate.test({notEmpty:this.innerHTML}).pass}},{name:"isIP",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({ip:this.innerHTML}).pass}},{name:"isInt",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({integer:this.innerHTML}).pass}},{name:"isNum",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({number:this.innerHTML}).pass}},{name:"isPhone",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({phone:this.innerHTML}).pass}},{name:"jsonp",fn:function(a,b,c){var d=this,e=b,f,g=function(a){var b=d,c=a,f=e,g,h;try{if(f!==undefined){f=f.replace(/]|'|"/g,"").replace(/\./g,"[").split("["),h=f.length;for(g=0;g<h;g++)c=isNaN(f[g])?c[f[g]]:c[parseInt(f[g])];text=c}else text=a}catch(i){text=abaaso.label.error.serverError,abaaso.error(i)}b.text(text)};abaaso.client.jsonp(a,g,null,c);return this}},{name:"loading",fn:function(){return abaaso.loading.create(this)}},{name:"on",fn:function(a,b,c,d,e){d=d||this,this.id===undefined||this.id==""?this.genId():void 0;return abaaso.on(this,a,b,c,d,e)}},{name:"position",fn:function(){this.genId();return abaaso.el.position(this)}},{name:"show",fn:function(){this.genId();return abaaso.el.show(this)}},{name:"size",fn:function(){this.genId();return abaaso.el.size(this)}},{name:"text",fn:function(a){this.genId();return abaaso.update(this,{innerHTML:a})}},{name:"update",fn:function(a){this.genId();return abaaso.update(this,a)}}],number:[{name:"even",fn:function(){return abaaso.number.even(this)}},{name:"odd",fn:function(){return abaaso.number.odd(this)}},{name:"on",fn:function(a,b,c,d,e){d=d||this;return abaaso.on(this,a,b,c,d,e)}}],shared:[{name:"clear",fn:function(){typeof this=="object"&&(this.id===undefined||this.id=="")?this.genId():void 0,this instanceof String?this.constructor=new String(""):abaaso.clear(this);return this}},{name:"destroy",fn:function(){abaaso.destroy(this)}},{name:"domId",fn:function(){if(!this instanceof String){this.genId();return abaaso.domId(this.id)}return abaaso.domId(this)}},{name:"fire",fn:function(a){!this instanceof String&&(this.id===undefined||this.id=="")?this.genId():void 0;return abaaso.fire(this,a)}},{name:"genId",fn:function(){return abaaso.genId(this)}},{name:"listeners",fn:function(a){!this instanceof String&&(this.id===undefined||this.id=="")?this.genId():void 0;return abaaso.listeners(this,a)}},{name:"un",fn:function(a,b){!this instanceof String&&(this.id===undefined||this.id=="")?this.genId():void 0;return abaaso.un(this,a,b)}}],string:[{name:"capitalize",fn:function(){return this.charAt(0).toUpperCase()+this.slice(1)}},{name:"isAlpha",fn:function(){return abaaso.validate.test({string:this}).pass}},{name:"isAlphaNum",fn:function(){return abaaso.validate.test({string:this,number:this}).pass}},{name:"isBoolean",fn:function(){return abaaso.validate.test({"boolean":this}).pass}},{name:"isDate",fn:function(){return abaaso.validate.test({date:this}).pass}},{name:"isDomain",fn:function(){return abaaso.validate.test({domain:this}).pass}},{name:"isEmail",fn:function(){return abaaso.validate.test({email:this}).pass}},{name:"isEmpty",fn:function(){return!abaaso.validate.test({notEmpty:this}).pass}},{name:"isIP",fn:function(){return abaaso.validate.test({ip:this}).pass}},{name:"isInt",fn:function(){return abaaso.validate.test({integer:this}).pass}},{name:"isNum",fn:function(){return abaaso.validate.test({number:this}).pass}},{name:"isPhone",fn:function(){return abaaso.validate.test({phone:this}).pass}},{name:"on",fn:function(a,b,c,d,e){d=d||this;return abaaso.on(this,a,b,c,d,e)}},{name:"permission",fn:function(){return abaaso.permission(this)}},{name:"trim",fn:function(){return this.replace(/^\s+|\s+$/,"")}}]};d(a,e[c]),d(a,e.shared)}catch(f){o(f)}}},m={pattern:{"boolean":/^(0|1|true|false)?$/,domain:/^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)*[a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?$/,email:/^([0-9a-zA-Z]+([_.-]?[0-9a-zA-Z]+)*@[0-9a-zA-Z]+[0-9,a-z,A-Z,.,-]*(.){1}[a-zA-Z]{2,4})+$/,notEmpty:/\w{1,}/,domain:/^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)*[a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?$/,ip:/^((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})$/,integer:/(^-?\d\d*$)/,number:/(^-?\d\d*\.\d*$)|(^-?\d\d*$)|(^-?\.\d\d*$)/,phone:/^\([1-9]\d{2}\)\s?\d{3}\-\d{4}$/,string:/\w/},test:function(a){try{var b=!1,c=[],d=null;if(typeof a.nodeName!="undefined"&&/form/gi.test(a.nodeName)){var e,f,g,h,i,j,k={},l,m,p,c=[],q={};a.id.isEmpty()?a.genId():void 0,h=n("#"+a.id+":has(input,select)"),l=h.length;for(e=0;e<l;e++){g=null,f=this.pattern[h[e].nodeName.toLowerCase()]?this.pattern[h[e].nodeName.toLowerCase()]:h[e].id.isEmpty()===!1&&this.pattern[h[e].id.toLowerCase()]?this.pattern[h[e].id.toLowerCase()]:"notEmpty";if(/(radio|checkbox)/gi.test(h[e].type)){if(h[e].name in q)continue;i=document.getElementsByName(h[e].name),m=i.length;for(j=0;j<m;j++)if(i[j].checked){g=i[j].value,q[h[e].name]=!0;continue}}else/select/gi.test(h[e].type)?g=h[e].options[h[e].selectedIndex].value:g=typeof h[e].value!="undefined"?h[e].value:h[e].innerText;g===null?g="":void 0,k[f]=g}p=this.test(k);return p}for(var e in a){d=new String(a[e].charAt(0)=="#"?n(a[e])!==undefined?n(a[e]).value?n(a[e]).value:n(a[e]).innerHTML:"":a[e]);switch(e){case"date":new Date(d)||(c.push({test:"date",value:a[e]}),b=!0);break;case"domainip":if(!this.pattern.domain.test(d)||!this.pattern.ip.test(d))c.push({test:"domainip",value:a[e]}),b=!0;break;default:var f=this.pattern[e]!==undefined?this.pattern[e]:e;f.test(d)||(c.push({test:f,value:a[e]}),b=!0)}}return{pass:!b,invalid:c}}catch(r){o(r);return{pass:!1,invalid:{}}}}},n=l.$,o=l.error;return{array:a,callback:[],client:{css3:c.css3,chrome:c.chrome,firefox:c.firefox,ie:c.ie,ms:c.ms,opera:c.opera,safari:c.safari,size:{x:0,y:0},version:c.version,del:c.del,get:c.get,post:c.post,put:c.put,jsonp:c.jsonp,permission:c.permission},cookie:d,data:e,el:f,json:h,label:i,loading:{create:l.loading,url:null},mouse:j,number:g,observer:{log:k.log,add:k.add,fire:k.fire,list:k.list,remove:k.remove},state:{current:null,header:null,previous:null},validate:m,$:l.$,clean:b.clean,clear:f.clear,clone:l.clone,create:f.create,css:f.css,decode:h.decode,define:l.define,del:c.del,destroy:f.destroy,domId:l.domId,encode:h.encode,error:l.error,fire:function(){var a=arguments[1]===undefined?abaaso:arguments[0],b=arguments[1]===undefined?arguments[0]:arguments[1];return abaaso.observer.fire(a,b)},genId:l.genId,get:c.get,id:"abaaso",init:function(){abaaso.ready=!0,c.version=function(){if(c.chrome)return parseInt(navigator.userAgent.replace(/(.*Chrome\/|Safari.*)/gi,"").trim());if(c.firefox)return parseInt(navigator.userAgent.replace(/(.*Firefox\/)/gi,"").trim());if(c.ie)return parseInt(navigator.userAgent.replace(/(.*MSIE|;.*)/gi,"").trim());if(c.opera)return parseInt(navigator.userAgent.replace(/(.*Opera\/|\(.*)/gi,"").trim());return c.safari?parseInt(navigator.userAgent.replace(/(.*Version\/|Safari.*)/gi,"").trim()):parseInt(navigator.appVersion)}(),c.css3=function(){if(c.chrome&&c.version>5)return!0;if(c.firefox&&c.version>2)return!0;if(c.ie&&c.version>8)return!0;if(c.opera&&c.version>8)return!0;return c.safari&&c.version>4?!0:!1}(),abaaso.client.version=c.version,abaaso.client.css3=c.css3,abaaso.client.size=c.size(),l.proto(Array.prototype,"array"),l.proto(Element.prototype,"element"),c.ie&&c.version==8?l.proto(HTMLDocument.prototype,"element"):void 0,l.proto(Number.prototype,"number"),l.proto(String.prototype,"string"),window.onhashchange=function(){abaaso.fire("hash")},window.onresize=function(){abaaso.client.size=c.size(),abaaso.fire("resize")},abaaso.timer.clean=setInterval(function(){abaaso.clean()},12e4),typeof document.getElementsByClassName=="undefined"&&(document.getElementsByClassName=function(a){var b=document.getElementsByTagName("*"),c=b.length,d=null,e=[],f=new RegExp("(^|\\s)"+a+"(\\s|$)");for(d=0;d<c;d++)f.test(b[d].className)?e.push(b[d]):void 0;return e}),typeof Array.prototype.filter=="undefined"&&(Array.prototype.filter=function(a){"use strict";if(this===void 0||this===null||typeof a!="function")throw new Error(i.error.invalidArguments);var b=null,c=Object(this),d=c.length>>>0,e=[],f=arguments[1];val=null;for(b=0;b<d;b++)b in c&&(val=c[b],a.call(f,val,b,c)?e.push(val):void 0);return e}),abaaso.fire("ready").un("ready");if(!c.ie||c.version>8)abaaso.timer.render=setInterval(function(){/loaded|complete/.test(document.readyState)&&(clearInterval(abaaso.timer.render),delete abaaso.timer.render,abaaso.fire("render").un("render"))},10);delete abaaso.init},jsonp:c.jsonp,listeners:function(){var a=arguments[1]!==undefined?!0:!1,b=a?arguments[0]:abaaso,c=a?arguments[1]:arguments[0];return abaaso.observer.list(b,c)},on:function(){var a=arguments[2]instanceof Function?!0:!1,b=a?arguments[0]:abaaso,c=a?arguments[1]:arguments[0],d=a?arguments[2]:arguments[1],e=a?arguments[3]:arguments[2],f=a?arguments[4]:arguments[3],g=a?arguments[5]:arguments[4];return abaaso.observer.add(b,c,d,e,f,g)},permission:c.permission,position:f.position,post:c.post,put:c.put,ready:!1,store:function(a){return e.register.call(e,a)},timer:{},un:function(){var a=typeof arguments[0]=="string"?!1:!0,b=a?arguments[0]:abaaso,c=a?arguments[1]:arguments[0],d=a?arguments[2]:arguments[1];return abaaso.observer.remove(b,c,d)},update:f.update,version:"1.5.000"}}(),$=function(a,b){return abaaso.$(a,b)};switch(!0){case abaaso.client.chrome:case abaaso.client.firefox:case abaaso.client.opera:case abaaso.client.safari:case abaaso.client.ie&&abaaso.client.version>8:document.addEventListener("DOMContentLoaded",function(){abaaso.init()},!1);break;default:abaaso.timer.init=setInterval(function(){/loaded|complete/.test(document.readyState)&&(clearInterval(abaaso.timer.init),abaaso.init(),abaaso.fire("render").un("render"))},10)}
<commit_msg>Synced the minified version<commit_after>var abaaso=function(){var a={contains:function(a,b){try{if(!a instanceof Array)throw new Error(i.error.expectedArray);b=b.toString().indexOf(",")>-1?b.split(/\s*,\s*/):b;if(b instanceof Array){var c=[],d=args.length,e=null;for(e=0;e<d;e++)c[e]=a.index(b[e]);return c}return a.index(b)}catch(f){o(f);return undefined}},diff:function(a,b){try{if(!a instanceof Array&&!b instanceof Array)throw new Error(i.error.expectedArray);return a.filter(function(a){return b.indexOf(a)<0})}catch(c){o(c);return undefined}},first:function(a){try{if(!a instanceof Array)throw new Error(i.error.expectedArray);return a[0]}catch(b){o(b);return undefined}},index:function(a,b){try{if(!a instanceof Array)throw new Error(i.error.expectedArray);var c=a.length;while(c--)if(a[c]==b)return c;return-1}catch(d){o(d);return-1}},indexed:function(a){try{if(!a instanceof Array)throw new Error(i.error.expectedArray);var b,c=0,d=[];for(b in a)typeof a[b]!="function"&&(d[c]=a[b]instanceof Array?a[b].indexed():a[b],c++);d.length=c;return d}catch(e){o(e);return undefined}},keys:function(a){try{if(!a instanceof Array)throw new Error(i.error.expectedArray);var b=[],c=null;for(c in a)typeof a[c]!="function"?b.push(c):void 0;return b}catch(d){o(d);return undefined}},last:function(a){try{if(!a instanceof Array)throw new Error(i.error.expectedArray);return a.length>1?a[a.length-1]:a[0]}catch(b){o(b);return undefined}},remove:function(a,b,c){try{if(!a instanceof Array)throw new Error(i.error.expectedArray);var d;b=b||0,a.fire("beforeRemove"),d=a.slice((c||b)+1||a.length),a.length=b<0?a.length+b:b,a.push.apply(obj,d),a.fire("afterRemove");return a}catch(e){o(e);return undefined}},total:function(a){try{if(!a instanceof Array)throw new Error(i.error.expectedArray);var b=0,c;for(c in a)typeof a[c]!="function"?b++:void 0;return b}catch(d){o(d);return-1}}},b={items:[],clean:function(){for(var a in b.items)typeof b.items[a]!="function"&&b.expired(a)===!0?b.expire(a):void 0;return},expire:function(a){b.items[a]!==undefined?delete b.items[a]:void 0;return},expired:function(a){var d=b.items[a]!==undefined&&(b.items[a].headers.Expires!==undefined&&new Date(b.items[a].headers.Expires)<new Date||c.ms>0&&b.items[a].headers.Date!==undefined&&(new Date(b.items[a].headers.Date)).setMilliseconds((new Date(b.items[a].headers.Date)).getMilliseconds()+c.ms)>new Date||c.ms>0&&(new Date(b.items[a].epoch)).setMilliseconds((new Date(b.items[a].epoch)).getMilliseconds()+c.ms)>new Date)?!0:!1;return d},get:function(a,c){try{c=c===!1?!1:!0;if(b.items[a]===undefined)return!1;if(b.items[a].headers!==undefined){if(b.items[a].headers.Pragma!==undefined&&b.items[a].headers.Pragma=="no-cache"&&c||b.expired(b.items[a])){b.expire(a);return!1}return b.items[a]}return b.items[a]}catch(d){o(d);return undefined}},set:function(a,c,d){try{b.items[a]===undefined&&(b.items[a]={},b.items[a].permission=0),c=="permission"?b.items[a].permission|=d:c=="!permission"?b.items[a].permission&=~d:b.items[a][c]=d}catch(e){o(e)}}},c={chrome:function(){return navigator.userAgent.toLowerCase().indexOf("chrome")>-1?!0:!1}(),css3:!1,firefox:function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1?!0:!1}(),ie:function(){return navigator.userAgent.toLowerCase().indexOf("msie")>-1?!0:!1}(),ms:0,opera:function(){return navigator.userAgent.toLowerCase().indexOf("opera")>-1?!0:!1}(),safari:function(){return navigator.userAgent.toLowerCase().indexOf("safari")>-1?!0:!1}(),version:null,del:function(a,d,e){try{if(a==""||!d instanceof Function)throw new Error(i.error.invalidArguments);a.on("afterDelete",function(){b.expire(a),a.un("afterDelete","expire")},"expire").fire("beforeDelete");var f=b.get(a);!f||f.permission===0||f.permission&1?c.request(a,d,"DELETE",null,e):e(typeof f.response!="undefined"?f.response:i.error.serverInvalidMethod)}catch(g){o(g),e instanceof Function?e(g):void 0}},get:function(a,d,e){try{if(a==""||!d instanceof Function)throw new Error(i.error.invalidArguments);a.fire("beforeGet");var f=b.get(a);!f||f.permission===0||f.permission&4?c.request(a,d,"GET",null,e):f?d(f.response):e(typeof f.response!="undefined"?f.response:i.error.serverInvalidMethod)}catch(g){o(g),e instanceof Function?e(g):void 0}},put:function(a,d,e,f){try{if(a==""||!d instanceof Function||e===undefined||typeof e!="object")throw new Error(i.error.invalidArguments);a.fire("beforePut");var g=b.get(a);!g||g.permission===0||g.permission&2?c.request(a,d,"PUT",e,f):f(typeof g.response!="undefined"?g.response:i.error.serverInvalidMethod)}catch(h){o(h),f instanceof Function?f(h):void 0}},post:function(a,d,e,f){try{if(a==""||!d instanceof Function||e=="")throw new Error(i.error.invalidArguments);a.fire("beforePost");var g=b.get(a);!g||g.permission===0||g.permission&2?c.request(a,d,"POST",e,f):f(typeof g.response!="undefined"?g.response:i.error.serverInvalidMethod)}catch(h){o(h),f instanceof Function?f(h):void 0}},jsonp:function(a,b,d,e){try{if(a===undefined||a==""||!b instanceof Function)throw new Error(i.error.invalidArguments);e=e!==undefined?e:null,a.fire("beforeJSONP"),c.request(a,b,"JSONP",e,d)}catch(f){o(f),d instanceof Function?d(f):void 0}},permission:function(a){var c=b.get(a,!1),d=c?c.permission:0,e={allows:[],bit:d,map:{read:4,write:2,"delete":1}};d&1?e.allows.push("DELETE"):void 0,d&2?function(){e.allows.push("PUT"),e.allows.push("PUT")}():void 0,d&4?e.allows.push("GET"):void 0;return e},request:function(a,d,e,g,h){if((e.toLowerCase()=="post"||e.toLowerCase()=="put")&&typeof g!="object")throw new Error(i.error.invalidArguments);if(e.toLowerCase()=="jsonp"){var j="a"+l.id(),k=a,m=n("head")[0];do j="a"+l.id();while(abaaso.callback[j]!==undefined);g===null?g="callback":void 0,a=a.replace(g+"=?",g+"=abaaso.callback."+j),a+="&"+(new Date).getTime().toString(),abaaso.callback[j]=function(a){d(a),delete abaaso.callback[j],k.fire("afterJSONP")},f.create("script",{src:a,type:"text/javascript"},m)}else{var o=new XMLHttpRequest,p=e.toLowerCase()=="post"||e.toLowerCase()=="put"?g:null,q=b.get(a,!1);a.fire("beforeXHR"),o.onreadystatechange=function(){c.response(o,a,d,e,h)},abaaso.timer[a]=setTimeout(function(){delete abaaso.timer[a],h()},3e4),o.open(e.toUpperCase(),a,!0),p!==null?o.setRequestHeader("Content-type","application/x-www-form-urlencoded; charset=UTF-8"):void 0,q!==!1&&q.headers.ETag!==undefined?o.setRequestHeader("ETag",q.headers.ETag):void 0,o.send(p)}},response:function(a,c,d,e,f){try{if(a.readyState==2){var g=a.getAllResponseHeaders().split("\n"),h=null,j=g.length,l={},m=null,n;n=function(a){try{if(!a instanceof Array)throw Error(i.error.expectedArray);var b=0,c=a.length,d;for(d=0;d<c;d++)switch(a[d].toLowerCase()){case"get":b|=4;break;case"post":case"put":b|=2;break;case"delete":b|=1}return b}catch(e){o(e);return 0}};for(h=0;h<j;h++)if(g[h]!=""){var p=g[h].toString(),q=p.substr(p.indexOf(":")+1,p.length).replace(/\s/,"");p=p.substr(0,p.indexOf(":")).replace(/\s/,""),l[p]=q,p.toLowerCase()=="accept"?m=q:void 0}b.set(c,"headers",l),b.set(c,"permission",n(m!==null?m.split(/\s*,\s*/):[e]))}else if(a.readyState==4){clearTimeout(abaaso.timer[c]),delete abaaso.timer[c];if(a.status!=200||a.responseText==""){if(a.status==401)throw new Error(i.error.serverUnauthorized);if(a.status==405){b.set(c,"!permission",n([e]));throw new Error(i.error.serverInvalidMethod)}throw new Error(i.error.serverError)}var r=null,s=abaaso.state;e!="DELETE"&&(b.set(c,"epoch",new Date),b.set(c,"response",a.responseText)),c.fire("afterXHR"),c.fire("after"+e.toLowerCase().capitalize()),c=b.get(c,!1),s.header!==null&&(r=c.headers[s.header])&&r!==undefined&&(s.previous=s.current,s.current=r,s.previous!==null&&s.current!==null?k.replace(abaaso,r,s.previous,s.current,s.current):void 0,abaaso.fire(r)),d!==undefined?d(c.response):void 0}}catch(t){o(t),f instanceof Function?f(t):void 0}},size:function(){var a=document.compatMode=="CSS1Compat"&&c.opera===!1?document.documentElement.clientWidth:document.body.clientWidth,b=document.compatMode=="CSS1Compat"&&c.opera===!1?document.documentElement.clientHeight:document.body.clientHeight;return{x:a,y:b}}},d={expire:function(a){this.get(a)!==undefined?this.set(a,"","-1s"):void 0},get:function(a){return this.list()[a]},list:function(){var a=null,b=null,c=null,d=null,e={};if(document.cookie&&document.cookie!=""){d=document.cookie.split(";"),b=d.length;for(a=0;a<b;a++)c=d[a].split("="),e[decodeURIComponent(c[0].toString().trim())]=decodeURIComponent(c[1].toString().trim())}return e},set:function(a,b,c){c=c.toString()||"";var d="",e=null,f=null,g=["d","h","m","s"],h=g.length;if(c!=""){while(h--)if(c.indexOf(g[h])>0){f=g[h],e=parseInt(c.substring(0,c.indexOf(f)));break}if(isNaN(e))throw new Error(i.error.invalidArguments);d=new Date;switch(f){case"d":d.setDate(d.getDate()+e);break;case"h":d.setHours(d.getHours()+e);break;case"m":d.setMinutes(d.getMinutes()+e);break;case"s":d.setSeconds(d.getSeconds()+e)}}d!=""?d="; expires="+d.toUTCString():void 0,document.cookie=a.toString().trim()+"="+b+d+"; path=/";return this.get(a)}},e={keys:[],records:[],clear:function(){this.parentNode.id.fire("beforeClear"),this.keys=[],this.records=[],this.parentNode.id.fire("afterClear");return this},del:function(a,b){try{b=b===!1?!1:!0;var c,d;if(a===undefined||typeof a!="string"&&typeof a!="number")throw new Error(i.error.invalidArguments);this.parentNode.id.fire("beforeDelete");if(typeof a=="string"){c=this.keys[a];if(c===undefined)throw new Error(i.error.invalidArguments);delete this.records[c.index],delete this.keys[a]}else c=this.records[a].key,delete this.records[a],delete this.keys[c];b===!0?this.reindex():void 0,this.parentNode.id.fire("afterDelete");return this}catch(e){o(e);return undefined}},find:function(a,b){a=a||undefined,b=b||undefined;try{if(a===undefined)throw Error(i.error.invalidArguments);var c,d=[],e=typeof a=="string"?a.split(/\s*,\s*/):a;if(b===undefined||!b instanceof Array)if(typeof b=="string"){d=b.split(/\s*,\s*/);for(c in d)if(this.records[0].data[d[c]]===undefined)throw Error(i.error.invalidArguments)}else for(c in this.records[0].data)d.push(c);else{for(c in b)if(this.records[0].data[b[c]]===undefined)throw Error(i.error.invalidArguments);d=b}var f=[],g=d.length,h=e.length,j,k,l,m,n,p;c=this.records.length,this.parentNode.id.fire("beforeFind");while(c--)for(j=0;j<g;j++)for(k=0;k<h;k++)l=d[j],p=e[k],m=new RegExp(p,"gi"),n=this.records[c].data[l],m.test(n)&&f.push(this.records[c]);this.parentNode.id.fire("afterFind");return f}catch(q){o(q);return undefined}},get:function(a){try{var b=[],c,d,e;this.parentNode.id.fire("beforeGet");if(typeof a=="string")return this.keys[a]!==undefined?this.records[this.keys[a].index]:undefined;if(a instanceof Array){if(isNaN(a[0])||isNaN(a[1]))throw new Error(i.error.invalidArguments);d=a[0]-1,e=a[1]-1;for(c=d;c<e;c++)this.records[c]!==undefined?b.push(this.records[c]):void 0;return b}return this.records[a]}catch(f){o(f);return undefined}},register:function(a){try{if(a instanceof Array){var b=isNaN(a.length)?a.total():a.length;while(b--)this.register(a[b])}else a=l.object(a),abaaso.genId(a),a.data=l.clone(this),a.data.parentNode=a,delete a.data.register;return a}catch(c){o(c);return undefined}},reindex:function(){var a,b=0,c=this.records.length,d,e;for(a=0;a<c;a++)this.records[a]!==undefined&&(d=this.records[a].key,e=parseInt(this.keys[d].index),e!=b&&(this.records[b]=this.records[a],this.keys[d].index=b,delete this.records[a]),b++);b>0?this.records.length=b:void 0;return this},set:function(a,b){try{if(a===undefined||a===undefined)throw new Error(i.error.invalidArguments);this.parentNode.id.fire("beforeSet");var c=this.keys[a]===undefined&&this.records[a]===undefined?undefined:this.get(a),d,e;if(c===undefined)this.keys[a]={},e=this.records.length-1+1,this.keys[a].index=e,this.records[e]={},this.records[e].data=b,this.records[e].key=a,c=this.records[e];else if(typeof b=="object"){for(d in b)c[d]=b[d];this.records[c.index]=c}else this.records[c.index]=b;this.parentNode.id.fire("afterSet");return this}catch(f){o(f);return undefined}void 0}},f={clear:function(a){try{if(a instanceof Array){var b=isNaN(a.length)?a.total():a.length,c=null;for(c=0;c<b;c++)this.clear(a[c]);return a}a=l.object(a);if(a!==null){a.fire("beforeClear"),typeof a.reset=="function"?a.reset():a.value!==undefined?a.update({innerHTML:"",value:""}):a.update({innerHTML:""}),a.fire("afterClear");return a}throw new Error(i.error.elementNotFound)}catch(d){o(d);return undefined}},create:function(a,b,c){try{if(a===undefined)throw new Error(i.error.invalidArguments);var d,e;c!==undefined?e=typeof c=="object"?c:n(c):b===undefined||typeof b!="string"&&b.childNodes===undefined?e=document.body:(e=b,typeof e=="string"?e=n(e):void 0);if(e===undefined)throw new Error(i.error.invalidArguments);d=document.createElement(a),b!==undefined&&typeof b!="string"&&b.childNodes===undefined&&b.id!==undefined&&n("#"+b.id)===undefined?d.id=b.id:d.genId(),b!==undefined&&b.id!==undefined?delete b.id:void 0,d.fire("beforeCreate"),typeof b=="object"&&b.childNodes===undefined?d.update(b):void 0,e.appendChild(d),d.fire("afterCreate");return d}catch(f){o(f);return undefined}},css:function(a){try{var b,c;b=create("style",{type:"text/css"},n("head")[0]),b.styleSheet?b.styleSheet.cssText=a:(c=document.createTextNode(a),b.appendChild(c));return b}catch(d){o(d);return undefined}},destroy:function(a){try{if(a instanceof Array){var b=isNaN(a.length)?a.total():a.length;while(b--)this.destroy(a[b]);return a}a=l.object(a),a!==undefined&&(a.fire("beforeDestroy"),k.remove(a.id),a.parentNode.removeChild(a),a.fire("afterDestroy"));return undefined}catch(c){o(c);return undefined}},disable:function(a){try{if(a instanceof Array){var b=isNaN(a.length)?a.total():a.length;while(b--)this.disable(a[b]);return a}a=l.object(a),a!==undefined&&a.disabled!==undefined&&(a.fire("beforeDisable"),a.disabled=!0,a.fire("afterDisable"));return a}catch(c){o(c);return undefined}},enable:function(a){try{if(a instanceof Array){var b=isNaN(a.length)?a.total():a.length;while(b--)this.enable(a[b]);return a}a=l.object(a),a!==undefined&&a.disabled!==undefined&&(a.fire("beforeEnable"),a.disabled=!1,a.fire("afterEnable"),instances.push(a));return a}catch(c){o(c);return undefined}},eventID:function(a,b){return window.event?window.event.srcElement.id:b.id},hide:function(a){try{if(a instanceof Array){var b=isNaN(a.length)?a.total():a.length,c=null;for(c=0;c<b;c++)this.hide(a[c]);return a}a=l.object(a),a.fire("beforeHide"),a.old===undefined?a.old={}:void 0,a.old.display=a.style.display,a.style.display="none",a.fire("afterHide");return a}catch(d){o(d);return undefined}},position:function(a){a=l.object(a);if(a===undefined)throw new Error(i.error.invalidArguments);var b=null,c=null;if(a.offsetParent){b=a.offsetLeft,c=a.offsetTop;while(a=a.offsetParent)b+=a.offsetLeft,c+=a.offsetTop}return[b,c]},show:function(a){try{if(a instanceof Array){var b=isNaN(a.length)?a.total():a.length,c=null;for(c=0;c<b;c++)this.show(a[c]);return a}a=l.object(a),a.fire("beforeShow"),a.style.display=a.old!==undefined&&a.old.display!==undefined&&a.old.display!=""?a.old.display:"inherit",a.fire("afterShow");return a}catch(d){o(d);return undefined}},size:function(a){a=l.object(a);if(a===undefined)throw new Error(i.error.invalidArguments);var b=function(a){return isNaN(parseInt(a))?0:parseInt(a)},c=a.offsetHeight+b(a.style.paddingTop)+b(a.style.paddingBottom)+b(a.style.borderTop)+b(a.style.borderBottom),d=a.offsetWidth+b(a.style.paddingLeft)+b(a.style.paddingRight)+b(a.style.borderLeft)+b(a.style.borderRight);return{x:c,y:d}},update:function(a,b){try{if(a instanceof Array){var d=isNaN(a.length)?a.total():a.length,e=null;for(e=0;e<d;e++)this.update(a[e],b);return a}a=l.object(a),b=b||{};if(a===undefined)throw new Error(i.error.invalidArguments);a.fire("beforeUpdate");if(a){for(var e in b)switch(e){case"innerHTML":case"type":case"src":a[e]=b[e];break;case"opacity":a.opacity(b[e]);break;case"class":c.ie&&c.version<8?e="className":void 0;case"id":var f=k.listeners;f[a.id]!==undefined&&(f[b[e]]=[].concat(f[a.id]),delete f[a.id]);default:a.setAttribute(e,b[e])}a.fire("afterUpdate");return a}throw new Error(i.error.elementNotFound)}catch(g){o(g);return undefined}}},g={even:function(a){try{return a%2===0}catch(b){o(b);return undefined}},odd:function(a){try{return a%2!==0}catch(b){o(b);return undefined}}},h={decode:function(a){try{return JSON.parse(a)}catch(b){o(b);return undefined}},encode:function(a){try{return JSON.stringify(a)}catch(b){o(b);return undefined}}},i={common:{back:"Back",cancel:"Cancel",clear:"Clear",close:"Close",cont:"Continue",del:"Delete",edit:"Edit",find:"Find",gen:"Generate",go:"Go",loading:"Loading",next:"Next",login:"Login",ran:"Random",save:"Save",search:"Search",submit:"Submit"},error:{databaseNotOpen:"Failed to open the Database, possibly exceeded Domain quota",databaseNotSupported:"Client does not support local database storage",databaseWarnInjection:"Possible SQL injection in database transaction, use the &#63; placeholder",elementNotCreated:"Could not create the Element",elementNotFound:"Could not find the Element",expectedArray:"Expected an Array",expectedArrayObject:"Expected an Array or Object",expectedBoolean:"Expected a Boolean value",expectedNumber:"Expected a Number",expectedObject:"Expected an Object",invalidArguments:"One or more arguments is invalid",invalidDate:"Invalid Date",invalidFields:"The following required fields are invalid: ",serverError:"A server error has occurred",serverInvalidMethod:"Invalid method on the URI",serverUnauthorized:"Unauthorized to access URI"}},j={enabled:!1,log:!1,pos:{x:null,y:null},track:function(a){var b=abaaso.mouse;if(typeof a=="object"){var c,d,e=!1;c=a.pageX?a.pageX:document.body.scrollTop+a.clientX,d=a.pageY?a.pageY:document.body.scrollLeft+a.clientY,b.pos.x!=c&&(b.pos.x=c,e=!0),b.pos.y!=d&&(b.pos.y=d,e=!0);if(e===!0&&b.log===!0)try{console.log(b.pos.x+" : "+b.pos.y)}catch(f){abaaso.error(f)}}else typeof a=="boolean"&&(a===!0?document.addEventListener?document.addEventListener("mousemove",abaaso.mouse.track,!1):document.attachEvent("onmousemove",abaaso.mouse.track):document.removeEventListener?document.removeEventListener("mousemove",abaaso.mouse.track,!1):document.detachEvent("onmousemove",abaaso.mouse.track),b.enabled=a);return b}},k={listeners:[],log:!1,add:function(a,b,c,d,e,f){try{if(a instanceof Array){var g=a.length&&!isNaN(a.length)?a.length:a.total(),h=null;for(h=0;h<g;h++)this.add(a[h],b,c,d,e===!1?a[h]:e,f);return a}var j=null,m=k.listeners,p=a.id!==undefined?a.id:a;a=l.object(a),f=f===!0?!0:!1;if(p===undefined||b===undefined||!c instanceof Function||f&&d===undefined)throw new Error(i.error.invalidArguments);m[p]===undefined?m[p]=[]:void 0,m[p][b]===undefined?m[p][b]=[]:void 0,m[p][b].active===undefined?m[p][b].active=[]:void 0;var q={fn:c};e!==undefined&&e!==null?q.scope=e:void 0,f?(m[p][b].standby===undefined?m[p][b].standby=[]:void 0,m[p][b].standby[d]=q):(d!==undefined?m[p][b].active[d]=q:m[p][b].active.push(q),j=p!="abaaso"?n("#"+p):null,j!==null&&j!==undefined?typeof j.addEventListener=="function"?j.addEventListener(b,function(a){a?void 0:a=window.event,a.cancelBubble=!0,typeof a.stopPropagation=="function"?a.stopPropagation():void 0,j.fire(b)},!1):j.attachEvent("on"+b,function(a){a?void 0:a=window.event,a.cancelBubble=!0,typeof a.stopPropagation=="function"?a.stopPropagation():void 0,j.fire(b)}):void 0);return a}catch(r){o(r);return undefined}},fire:function(a,b){try{if(a instanceof Array){var c=isNaN(a.length)?a.total():a.length,d=null;for(d=0;d<c;d++)this.fire(a[d],b);return a}a=l.object(a);var e=k.listeners,f=a.id!==undefined?a.id:a.toString(),d;if(f===undefined||f==""||a===undefined||b===undefined)throw new Error(i.error.invalidArguments);abaaso.observer.log===!0?l.log(f+" fired "+b):void 0;var g=k.list(a,b).active;if(g!==undefined)for(d in g)if(g[d]!==undefined&&typeof g[d]!="function"&&g[d].fn)if(g[d].scope!==undefined){var h=typeof g[d].scope=="object"?g[d].scope:n("#"+g[d].scope),j=g[d].fn,m=h!==undefined?h:g[d].scope;j.call(m)}else g[d].fn();return a}catch(p){o(p);return undefined}},list:function(a,b){try{if(a===undefined)throw new Error(i.error.invalidArguments);a=l.object(a);var c=k.listeners,d=a.id!==undefined?a.id:a.toString();return c[d]!==undefined?b!==undefined&&c[d][b]!==undefined?c[d][b]:c[d]:[]}catch(e){o(e);return undefined}},remove:function(a,b,c){try{if(a instanceof Array){var d=isNaN(a.length)?a.total():a.length,e=null;for(e=0;e<d;e++)this.remove(a[e],b,c);return a}a=l.object(a);var f=null,g=a.id!==undefined?a.id:a.toString(),h=k.listeners;if(g===undefined||b===undefined||h[g]===undefined||h[g][b]===undefined)return a;c===undefined?(delete h[g][b],f=g!="abaaso"?n("#"+g):null,f!==null&&f!==undefined?typeof f.removeEventListener=="function"?f.removeEventListener(b,function(a){a?void 0:a=window.event,a.cancelBubble=!0,typeof a.stopPropagation=="function"?a.stopPropagation():void 0,f.fire(b)},!1):f.detachEvent("on"+b,function(a){a?void 0:a=window.event,a.cancelBubble=!0,typeof a.stopPropagation=="function"?a.stopPropagation():void 0,f.fire(b)}):void 0):h[g][b].active[c]!==undefined&&(delete h[g][b].active[c],h[g][b].standby!==undefined&&h[g][b].standby[c]!==undefined&&delete h[g][b].standby[c]);return a}catch(i){o(i);return undefined}},replace:function(a,b,c,d,e){try{if(a instanceof Array){var f=isNaN(a.length)?a.total():a.length,g=null;for(g=0;g<f;g++)this.replace(a[g],b,c,d,e);return a}a=l.object(a);var h=k.listeners,j=a.id!==undefined?a.id:a.toString();if(j===undefined||b===undefined||c===undefined||d===undefined||h[j]===undefined||h[j][b]===undefined||h[j][b].active===undefined||h[j][b].active[c]===undefined)throw new Error(i.error.invalidArguments);h[j][b].standby===undefined?h[j][b].standby=[]:void 0;if(typeof e=="string"){if(h[j][b].standby[e]===undefined||h[j][b].standby[e].fn===undefined)throw new Error(i.error.invalidArguments);e=h[j][b].standby[e].fn}else if(!e instanceof Function)throw new Error(i.error.invalidArguments);h[j][b].standby[d]={fn:h[j][b].active[c].fn},h[j][b].active[c]={fn:e};return a}catch(m){o(m);return undefined}}},l={$:function(a,b){var d,e,f,g,h,i,j,k,l,m,o,p=window.document,q=[];i=function(a,b){var c,d,e=[];if(a instanceof Array){d=a.length;for(c=0;c<d;c++)c.even()===b?e.push(a[c]):void 0}else if(a.childNodes&&a.childNodes.length>0){d=a.childNodes.length;for(c=0;c<d;c++)c.even()===b?e.push(a.childNodes[c]):void 0}return e},j=function(a,b){b=b.split(/\s*,\s*/);var c,d,e=b.length,f=[];for(c=0;c<e;c++)d=new RegExp(b[c].replace("*",".*"),"ig"),d.test(a)?f.push(b[c]):void 0;return f.length>0?!0:!1},k=function(a,b){var c,d,e=[];a instanceof Array&&a.length==1?a=a.first():void 0;if(a instanceof Array){d=a.length;for(c=0;c<d;c++)a[c].innerHTML.indexOf(b)>=0?e.push(a[c]):void 0;return e.length==1?e[0]:e}return a!=null&&b!=null&&a.innerHTML.indexOf(b)>=0?a:undefined},l=function(a,b){var c,d,e=[];a instanceof Array&&a.length==1?a=a.first():void 0;if(a instanceof Array){var f,g;d=a.length;for(c=0;c<d;c++){g=a[c].childNodes.length;for(f=0;f<g;f++)a[c].genId(),j(a[c].childNodes[f].nodeName,b)===!0&&e[a[c].id]===undefined?e[a[c].id]=a[c]:void 0}e=e.indexed()}else{d=a.childNodes.length;for(c=0;c<d;c++)j(a.childNodes[c].nodeName,b)===!0?e.push(a.childNodes[c]):void 0}return e},is=function(a,b){var c,d,e=[];a instanceof Array&&a.length==1?a=a.first():void 0;if(a instanceof Array){d=a.length;for(c=0;c<d;c++)a[c].genId(),j(a[c].nodeName,b)===!0&&e[a[c].id]===undefined?e[a[c].id]=a[c]:void 0;e=e.indexed()}else j(a.nodeName,b)===!0?e.push(a):void 0;return e},m=function(a,b){var c,d,e=[];a instanceof Array&&a.length==1?a=a.first():void 0;if(a instanceof Array){var f,g;d=a.length;for(c=0;c<d;c++){g=a[c].childNodes.length;for(f=0;f<g;f++)a[c].genId(),j(a[c].childNodes[f].nodeName,b)===!1?e[a[c].id]===undefined?e[a[c].id]=a[c]:void 0:e[a[c].id]!==undefined?delete e[a[c].id]:void 0}e=e.indexed()}else{d=a.childNodes.length;for(c=0;c<d;c++)j(a.childNodes[c].nodeName,b)===!1?e.push(a.childNodes[c]):void 0}return e};var r=/[^:]{1,}/gi.exec(a)!==null?/[^:]{1,}/gi.exec(a)[0]:"",s=/[:]{1,}.*/gi.exec(a)!==null?/[:]{1,}.*/gi.exec(a)[0]:"";a=r.indexOf(",")>-1?r.split(/\s*,\s*/):r,b=b===!0?!0:!1;if(a instanceof Array){g=a.length;for(f=0;f<g;f++)q.push(n(a[f]+s,b));return q}d=s.split(/:/).slice(1),a.charAt(0)==":"?a=":":a.charAt(0)=="."?(a=d.length&&d.length>0?new String("."+d[0]):new String(a),d=d.splice(1)):a=d.length&&d.length>0?new String(a.split(/\.|:/)[0]):new String(a);switch(a.charAt(0)){case".":e=p.getElementsByClassName(a.substring(1)),e!==null&&b===!1&&(!c.ie||c.version>8)?e=Array.prototype.slice.call(e):void 0;break;case"#":e=p.getElementById(a.substring(1));break;case":":e=p.body.getElementsByTagName("*");if(e!==null&&b===!1)if(!c.ie||c.version>8)e=Array.prototype.slice.call(e);else{var r=[],f,g=e.length;for(var f=0;f<g;f++)r.push(e[f]);e=r}break;default:e=p.getElementsByTagName(a);if(e!==null&&b===!1)if(!c.ie||c.version>8)e=Array.prototype.slice.call(e);else{var r=[],f,g=e.length;for(var f=0;f<g;f++)r.push(e[f]);e=r}}if(e!==null&&d.length&&d.length>0){g=d.length;for(f=0;f<g;f++){if(e===undefined){e=[];break}switch(d[f].toString().replace(/\(.*\)/,"")){case"contains":e=k(e,d[f].toString().replace(/.*\(|'|"|\)/g,""));break;case"even":e=i(e,!0);break;case"first":e=e.first();break;case"has":e=l(e,d[f].toString().replace(/.*\(|'|"|\)/g,""));break;case"is":e=is(e,d[f].toString().replace(/.*\(|'|"|\)/g,""));break;case"last":e=e.last();break;case"not":e=m(e,d[f].toString().replace(/.*\(|'|"|\)/g,""));break;case"odd":e=i(e,!1);break;default:g=e.length?e.length:0,q=[];for(o=0;o<g;o++)h=e[o].className.split(" "),h.index(d[f])>-1?q.push(e[o]):void 0;e=q}e instanceof Array&&(e.length===0?e=f+1==g?[]:undefined:void 0)}}e===null&&(e=undefined);return e},clone:function(a){try{if(typeof a!="object")throw Error(i.error.expectedObject);var b={},c;typeof a.prototype=="object"?b.prototype=a.prototype:void 0;for(c in a)b[c]=a[c];return b}catch(d){o(d);return undefined}},define:function(a,b,c){a=a.split("."),c=c||this;var d=null,e=a.length,f=c;for(d=0;d<e;d++)f[a[d]]===undefined?f[a[d]]=d+1<e?{}:b!==undefined?b:null:d+1>=e?f[a[d]]=b!==undefined?b:null:void 0,f=f[a[d]];return c},error:function(a){var b={name:typeof a=="object"?a.name:"TypeError",message:typeof a=="object"?a.message:a};a.number!==undefined?b.number=a.number&65535:void 0,typeof console!="undefined"?console.error(b.message):void 0,o.events===undefined?o.events=[]:void 0,o.events.push(b)},domId:function(a){try{return a.toString().replace(/(\&|,|(\s)|\/)/gi,"").toLowerCase()}catch(b){o(b);return undefined}},genId:function(a){try{if(typeof a!="object")throw new Error(i.error.invalidArguments);if(a instanceof Array||a instanceof String||typeof a.id!="undefined"&&a.id!="")return a;var b;do b="abo-"+l.id();while(n("#"+b)!==undefined);a.id=b;return a}catch(c){o(c);return undefined}},id:function(){return Math.floor(Math.random()*1e9)},loading:function(a){try{if(a instanceof Array){var b=isNaN(a.length)?a.total():a.length,c=null;for(c=0;c<b;c++)this.loading(a[c]);return arg}if(abaaso.loading.url===null)throw new Error(i.error.elementNotFound);a=typeof a=="object"?a:n(a);if(a===undefined)throw new Error(i.error.invalidArguments);abaaso.loading.image===undefined&&(abaaso.loading.image=new Image,abaaso.loading.image.src=abaaso.loading.url),a.genId(),a.clear(),n("#"+a.id).create("div",{id:a.id+"_loading",style:"text-align:center"}),n("#"+a.id+"_loading").create("img",{alt:i.common.loading,src:abaaso.loading.image.src});return a}catch(d){o(d);return undefined}},log:function(a){try{console.log(a)}catch(b){o(b)}},object:function(a){return typeof a=="object"?a:a.charAt(0)=="#"?n(a):a},proto:function(a,c){try{if(typeof a!="object")throw new Error(i.error.invalidArguments);var d=function(a,b){var c=b.length;while(c--)a[b[c].name]=b[c].fn},e={array:[{name:"contains",fn:function(a){return abaaso.array.contains(this,a)}},{name:"diff",fn:function(a){return abaaso.array.diff(this,a)}},{name:"first",fn:function(){return abaaso.array.first(this)}},{name:"index",fn:function(a){return abaaso.array.index(this,a)}},{name:"indexed",fn:function(){return abaaso.array.indexed(this)}},{name:"keys",fn:function(){return abaaso.array.keys(this)}},{name:"last",fn:function(a){return abaaso.array.last(this)}},{name:"on",fn:function(a,b,c,d,e){d=d||!1;return abaaso.on(this,a,b,c,d,e)}},{name:"remove",fn:function(a){return abaaso.array.remove(this,a)}},{name:"total",fn:function(){return abaaso.array.total(this)}}],element:[{name:"create",fn:function(a,b){this.genId();return abaaso.create(a,b,this)}},{name:"disable",fn:function(){return abaaso.el.disable(this)}},{name:"enable",fn:function(){return abaaso.el.enable(this)}},{name:"get",fn:function(a){this.fire("beforeGet");var c=b.get(a);c?(this.value!==undefined?this.update({value:c.response}):this.update({innerHTML:c.response}),this.fire("afterGet")):(a.on("afterGet",function(){a.un("afterGet","get");var c=b.get(a,!1).response;this.value!==undefined?this.update({value:c}):this.update({innerHTML:c}),this.fire("afterGet")},"get",this),abaaso.get(a));return this}},{name:"hide",fn:function(){this.genId();return abaaso.el.hide(this)}},{name:"isAlpha",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({string:this.innerHTML}).pass}},{name:"isAlphaNum",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({string:this.innerHTML,number:this.innerHTML}).pass}},{name:"isBoolean",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({"boolean":this.innerHTML}).pass}},{name:"isDate",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({date:this.innerHTML}).pass}},{name:"isDomain",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({domain:this.innerHTML}).pass}},{name:"isEmail",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({email:this.innerHTML}).pass}},{name:"isEmpty",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:!abaaso.validate.test({notEmpty:this.innerHTML}).pass}},{name:"isIP",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({ip:this.innerHTML}).pass}},{name:"isInt",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({integer:this.innerHTML}).pass}},{name:"isNum",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({number:this.innerHTML}).pass}},{name:"isPhone",fn:function(){return this.nodeName.toLowerCase()=="form"?!1:abaaso.validate.test({phone:this.innerHTML}).pass}},{name:"jsonp",fn:function(a,b,c){var d=this,e=b,f,g=function(a){var b=d,c=a,f=e,g,h;try{if(f!==undefined){f=f.replace(/]|'|"/g,"").replace(/\./g,"[").split("["),h=f.length;for(g=0;g<h;g++)c=isNaN(f[g])?c[f[g]]:c[parseInt(f[g])];text=c}else text=a}catch(i){text=abaaso.label.error.serverError,abaaso.error(i)}b.text(text)};abaaso.client.jsonp(a,g,null,c);return this}},{name:"loading",fn:function(){return abaaso.loading.create(this)}},{name:"on",fn:function(a,b,c,d,e){d=d||this,this.id===undefined||this.id==""?this.genId():void 0;return abaaso.on(this,a,b,c,d,e)}},{name:"position",fn:function(){this.genId();return abaaso.el.position(this)}},{name:"show",fn:function(){this.genId();return abaaso.el.show(this)}},{name:"size",fn:function(){this.genId();return abaaso.el.size(this)}},{name:"text",fn:function(a){this.genId();return abaaso.update(this,{innerHTML:a})}},{name:"update",fn:function(a){this.genId();return abaaso.update(this,a)}}],number:[{name:"even",fn:function(){return abaaso.number.even(this)}},{name:"odd",fn:function(){return abaaso.number.odd(this)}},{name:"on",fn:function(a,b,c,d,e){d=d||this;return abaaso.on(this,a,b,c,d,e)}}],shared:[{name:"clear",fn:function(){typeof this=="object"&&(this.id===undefined||this.id=="")?this.genId():void 0,this instanceof String?this.constructor=new String(""):abaaso.clear(this);return this}},{name:"destroy",fn:function(){abaaso.destroy(this)}},{name:"domId",fn:function(){if(!this instanceof String){this.genId();return abaaso.domId(this.id)}return abaaso.domId(this)}},{name:"fire",fn:function(a){!this instanceof String&&(this.id===undefined||this.id=="")?this.genId():void 0;return abaaso.fire(this,a)}},{name:"genId",fn:function(){return abaaso.genId(this)}},{name:"listeners",fn:function(a){!this instanceof String&&(this.id===undefined||this.id=="")?this.genId():void 0;return abaaso.listeners(this,a)}},{name:"un",fn:function(a,b){!this instanceof String&&(this.id===undefined||this.id=="")?this.genId():void 0;return abaaso.un(this,a,b)}}],string:[{name:"capitalize",fn:function(){return this.charAt(0).toUpperCase()+this.slice(1)}},{name:"isAlpha",fn:function(){return abaaso.validate.test({string:this}).pass}},{name:"isAlphaNum",fn:function(){return abaaso.validate.test({string:this,number:this}).pass}},{name:"isBoolean",fn:function(){return abaaso.validate.test({"boolean":this}).pass}},{name:"isDate",fn:function(){return abaaso.validate.test({date:this}).pass}},{name:"isDomain",fn:function(){return abaaso.validate.test({domain:this}).pass}},{name:"isEmail",fn:function(){return abaaso.validate.test({email:this}).pass}},{name:"isEmpty",fn:function(){return!abaaso.validate.test({notEmpty:this}).pass}},{name:"isIP",fn:function(){return abaaso.validate.test({ip:this}).pass}},{name:"isInt",fn:function(){return abaaso.validate.test({integer:this}).pass}},{name:"isNum",fn:function(){return abaaso.validate.test({number:this}).pass}},{name:"isPhone",fn:function(){return abaaso.validate.test({phone:this}).pass}},{name:"on",fn:function(a,b,c,d,e){d=d||this;return abaaso.on(this,a,b,c,d,e)}},{name:"permission",fn:function(){return abaaso.permission(this)}},{name:"trim",fn:function(){return this.replace(/^\s+|\s+$/,"")}}]};d(a,e[c]),d(a,e.shared)}catch(f){o(f)}}},m={pattern:{"boolean":/^(0|1|true|false)?$/,domain:/^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)*[a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?$/,email:/^([0-9a-zA-Z]+([_.-]?[0-9a-zA-Z]+)*@[0-9a-zA-Z]+[0-9,a-z,A-Z,.,-]*(.){1}[a-zA-Z]{2,4})+$/,notEmpty:/\w{1,}/,domain:/^([a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?\.)*[a-zA-Z0-9]([a-zA-Z0-9\-]{0,61}[a-zA-Z0-9])?$/,ip:/^((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){3}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})$/,integer:/(^-?\d\d*$)/,number:/(^-?\d\d*\.\d*$)|(^-?\d\d*$)|(^-?\.\d\d*$)/,phone:/^\([1-9]\d{2}\)\s?\d{3}\-\d{4}$/,string:/\w/},test:function(a){try{var b=!1,c=[],d=null;if(typeof a.nodeName!="undefined"&&/form/gi.test(a.nodeName)){var e,f,g,h,i,j,k={},l,m,p,c=[],q={};a.id.isEmpty()?a.genId():void 0,h=n("#"+a.id+":has(input,select)"),l=h.length;for(e=0;e<l;e++){g=null,f=this.pattern[h[e].nodeName.toLowerCase()]?this.pattern[h[e].nodeName.toLowerCase()]:h[e].id.isEmpty()===!1&&this.pattern[h[e].id.toLowerCase()]?this.pattern[h[e].id.toLowerCase()]:"notEmpty";if(/(radio|checkbox)/gi.test(h[e].type)){if(h[e].name in q)continue;i=document.getElementsByName(h[e].name),m=i.length;for(j=0;j<m;j++)if(i[j].checked){g=i[j].value,q[h[e].name]=!0;continue}}else/select/gi.test(h[e].type)?g=h[e].options[h[e].selectedIndex].value:g=typeof h[e].value!="undefined"?h[e].value:h[e].innerText;g===null?g="":void 0,k[f]=g}p=this.test(k);return p}for(var e in a){d=new String(a[e].charAt(0)=="#"?n(a[e])!==undefined?n(a[e]).value?n(a[e]).value:n(a[e]).innerHTML:"":a[e]);switch(e){case"date":new Date(d)||(c.push({test:"date",value:a[e]}),b=!0);break;case"domainip":if(!this.pattern.domain.test(d)||!this.pattern.ip.test(d))c.push({test:"domainip",value:a[e]}),b=!0;break;default:var f=this.pattern[e]!==undefined?this.pattern[e]:e;f.test(d)||(c.push({test:f,value:a[e]}),b=!0)}}return{pass:!b,invalid:c}}catch(r){o(r);return{pass:!1,invalid:{}}}}},n=l.$,o=l.error;return{array:a,callback:[],client:{css3:c.css3,chrome:c.chrome,firefox:c.firefox,ie:c.ie,ms:c.ms,opera:c.opera,safari:c.safari,size:{x:0,y:0},version:c.version,del:c.del,get:c.get,post:c.post,put:c.put,jsonp:c.jsonp,permission:c.permission},cookie:d,data:e,el:f,json:h,label:i,loading:{create:l.loading,url:null},mouse:j,number:g,observer:{log:k.log,add:k.add,fire:k.fire,list:k.list,remove:k.remove},state:{current:null,header:null,previous:null},validate:m,$:l.$,clean:b.clean,clear:f.clear,clone:l.clone,create:f.create,css:f.css,decode:h.decode,define:l.define,del:c.del,destroy:f.destroy,domId:l.domId,encode:h.encode,error:l.error,fire:function(){var a=arguments[1]===undefined?abaaso:arguments[0],b=arguments[1]===undefined?arguments[0]:arguments[1];return abaaso.observer.fire(a,b)},genId:l.genId,get:c.get,id:"abaaso",init:function(){abaaso.ready=!0,c.version=function(){if(c.chrome)return parseInt(navigator.userAgent.replace(/(.*Chrome\/|Safari.*)/gi,"").trim());if(c.firefox)return parseInt(navigator.userAgent.replace(/(.*Firefox\/)/gi,"").trim());if(c.ie)return parseInt(navigator.userAgent.replace(/(.*MSIE|;.*)/gi,"").trim());if(c.opera)return parseInt(navigator.userAgent.replace(/(.*Opera\/|\(.*)/gi,"").trim());return c.safari?parseInt(navigator.userAgent.replace(/(.*Version\/|Safari.*)/gi,"").trim()):parseInt(navigator.appVersion)}(),c.css3=function(){if(c.chrome&&c.version>5)return!0;if(c.firefox&&c.version>2)return!0;if(c.ie&&c.version>8)return!0;if(c.opera&&c.version>8)return!0;return c.safari&&c.version>4?!0:!1}(),abaaso.client.version=c.version,abaaso.client.css3=c.css3,abaaso.client.size=c.size(),l.proto(Array.prototype,"array"),l.proto(Element.prototype,"element"),c.ie&&c.version==8?l.proto(HTMLDocument.prototype,"element"):void 0,l.proto(Number.prototype,"number"),l.proto(String.prototype,"string"),window.onhashchange=function(){abaaso.fire("hash")},window.onresize=function(){abaaso.client.size=c.size(),abaaso.fire("resize")},abaaso.timer.clean=setInterval(function(){abaaso.clean()},12e4),typeof document.getElementsByClassName=="undefined"&&(document.getElementsByClassName=function(a){var b=document.getElementsByTagName("*"),c=b.length,d=null,e=[],f=new RegExp("(^|\\s)"+a+"(\\s|$)");for(d=0;d<c;d++)f.test(b[d].className)?e.push(b[d]):void 0;return e}),typeof Array.prototype.filter=="undefined"&&(Array.prototype.filter=function(a){"use strict";if(this===void 0||this===null||typeof a!="function")throw new Error(i.error.invalidArguments);var b=null,c=Object(this),d=c.length>>>0,e=[],f=arguments[1];val=null;for(b=0;b<d;b++)b in c&&(val=c[b],a.call(f,val,b,c)?e.push(val):void 0);return e}),abaaso.fire("ready").un("ready");if(!c.ie||c.version>8)abaaso.timer.render=setInterval(function(){/loaded|complete/.test(document.readyState)&&(clearInterval(abaaso.timer.render),delete abaaso.timer.render,abaaso.fire("render").un("render"))},10);delete abaaso.init},jsonp:c.jsonp,listeners:function(){var a=arguments[1]!==undefined?!0:!1,b=a?arguments[0]:abaaso,c=a?arguments[1]:arguments[0];return abaaso.observer.list(b,c)},on:function(){var a=arguments[2]instanceof Function?!0:!1,b=a?arguments[0]:abaaso,c=a?arguments[1]:arguments[0],d=a?arguments[2]:arguments[1],e=a?arguments[3]:arguments[2],f=a?arguments[4]:arguments[3],g=a?arguments[5]:arguments[4];return abaaso.observer.add(b,c,d,e,f,g)},permission:c.permission,position:f.position,post:c.post,put:c.put,ready:!1,store:function(a){return e.register.call(e,a)},timer:{},un:function(){var a=typeof arguments[0]=="string"?!1:!0,b=a?arguments[0]:abaaso,c=a?arguments[1]:arguments[0],d=a?arguments[2]:arguments[1];return abaaso.observer.remove(b,c,d)},update:f.update,version:"1.5.001"}}(),$=function(a,b){return abaaso.$(a,b)};switch(!0){case abaaso.client.chrome:case abaaso.client.firefox:case abaaso.client.opera:case abaaso.client.safari:case abaaso.client.ie&&abaaso.client.version>8:document.addEventListener("DOMContentLoaded",function(){abaaso.init()},!1);break;default:abaaso.timer.init=setInterval(function(){/loaded|complete/.test(document.readyState)&&(clearInterval(abaaso.timer.init),abaaso.init(),abaaso.fire("render").un("render"))},10)}

{'fraction_non_alphanumeric': 0.28254636064260047, 'fraction_numerical': 0.012796914716451923, 'mean_word_length': 14.979191676670668, 'pattern_counts': {'":': 84, '<': 91, '<?xml version=': 0, '>': 75, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2585205', 'n_tokens_mistral': 32709, 'n_tokens_neox': 32541, 'n_words': 1578}