/*
 * Aria Templates 1.3.5 - 22 Feb 2013
 *
 * Copyright 2009-2013 Amadeus s.a.s.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
(function(){typeof Aria=="undefined"&&(Aria={}),Aria.version="1.3.5",Aria._start=(new Date).getTime(),Aria.$global=function(){return this}(),!Aria.$frameworkWindow&&Aria.$global.window&&(Aria.$frameworkWindow=Aria.$global),Aria.$window=Aria.$window||Aria.$frameworkWindow;var e={_abstract:1,_boolean:1,_break:1,_byte:1,_case:1,_catch:1,_char:1,_class:1,_const:1,_continue:1,_debugger:1,_default:1,_delete:1,_do:1,_double:1,_else:1,_enum:1,_export:1,_extends:1,_false:1,_final:1,_finally:1,_float:1,_for:1,_function
:1,_goto:1,_if:1,_implements:1,_import:1,_in:1,_instanceof:1,_int:1,_interface:1,_long:1,_native:1,_new:1,_null:1,_package:1,_private:1,_protected:1,_public:1,_return:1,_short:1,_static:1,_super:1,_switch:1,_synchronized:1,_this:1,_throw:1,_throws:1,_transient:1,_true:1,_try:1,_typeof:1,_var:1,_void:1,_volatile:1,_while:1,_with:1,_constructor:1,_prototype:1};Aria.NULL_CLASSPATH="$classpath argument (or both $class and $package arguments) is mandatory and must be a string.",Aria.INVALID_NAMESPACE="Invalid namespace: %1"
,Aria.INVALID_DEFCLASSPATH="Invalid definition classpath: %1",Aria.INVALID_CLASSNAME_FORMAT="%2Invalid class name : '%1'. Class name must be a string and start with a capital case.",Aria.INVALID_CLASSNAME_RESERVED="%2Invalid class name: '%1'. Class name must be a string cannot be a reserved word.",Aria.INVALID_PACKAGENAME_FORMAT="%2Invalid package name : '%1'. Package name must be a string must start with a small case.",Aria.INVALID_PACKAGENAME_RESERVED="%2Invalid package name: '%1'. Package name must be a string cannot be a reserved word."
,Aria.INSTANCE_OF_UNKNOWN_CLASS="Cannot create instance of class '%1'",Aria.DUPLICATE_CLASSNAME="class names in a class hierarchy must be different: %1",Aria.WRONG_BASE_CLASS="super class for %1 is not properly defined: base classes (%2) must be defined through Aria.classDefinition()",Aria.BASE_CLASS_UNDEFINED="super class for %1 is undefined (%2)",Aria.INCOHERENT_CLASSPATH="$class or $package is incoherent with $classpath",Aria.INVALID_INTERFACES="Invalid interface definition in Class %1",Aria.PARENT_NOTCALLED="Error: the %1 of %2 was not called in %3."
,Aria.WRONGPARENT_CALLED="Error: the %1 of %2 was called instead of %3 in %4.",Aria.REDECLARED_EVENT="Redeclared event name: %1 in %2",Aria.INVALID_EXTENDSTYPE="Invalid $extendsType property for class %1.",Aria.TEXT_TEMPLATE_HANDLE_CONFLICT="Template error: can't load text template '%1' defined in '%2'. A macro, a library, a resource, a variable or another text template has already been declared with the same name.",Aria.RESOURCES_HANDLE_CONFLICT="Template error: can't load resources '%1' defined in '%2'. A macro, a library, a text template, a variable or another resource has already been declared with the same name."
,Aria.CANNOT_EXTEND_SINGLETON="Class %1 cannot extend singleton class %2",Aria.FUNCTION_PROTOTYPE_RETURN_NULL="Prototype function of %1 cannot returns null",Aria.$classpath="Aria",Aria.$logDebug=function(){},Aria.$logInfo=function(){},Aria.$logWarn=function(){},Aria.$logError=function(){};var t=function(e,t){if(!e||typeof e!="string")return Aria.$logError(Aria.NULL_CLASSPATH),!1;var i=e.split("."),s=i.length,o;for(var u=0;u<s-1;u++)if(!r(i[u],t))return!1;return n(i[s-1],t)?!0:!1},n=function(e,t){return t=t||""
,!e||!e.match(/^[_A-Z]\w*$/)?(Aria.$logError(Aria.INVALID_CLASSNAME_FORMAT,[e,t]),!1):Aria.isJsReservedWord(e)?(Aria.$logError(Aria.INVALID_CLASSNAME_RESERVED,[e,t]),!1):!0},r=function(e,t){return t=t||"",e?Aria.isJsReservedWord(e)?(Aria.$logError(Aria.INVALID_PACKAGENAME_RESERVED,[e,t]),!1):(e.match(/^[a-z]\w*$/)||Aria.$logInfo(Aria.INVALID_PACKAGENAME_FORMAT,[e,t]),!0):(Aria.$logError(Aria.INVALID_PACKAGENAME_FORMAT,[e,t]),!1)},i=null,s=0,o=0,u={},a={},f=[],l=function(e,t,n,r,i){var s=!e["aria:nextCall"];return!
s&&e["aria:nextCall"]!=t.$classpath&&Aria.$logError(Aria.WRONGPARENT_CALLED,[r,t.$classpath,e["aria:nextCall"],e.$classpath]),e["aria:nextCall"]=n?n.classDefinition.$classpath:null,t[r]?t[r].apply(e,i):n&&r=="$destructor"&&n.prototype.$destructor.apply(e,i),e["aria:nextCall"]&&e["aria:nextCall"]!="aria.core.JsObject"&&Aria.$logError(Aria.PARENT_NOTCALLED,[r,e["aria:nextCall"],t.$classpath]),s&&(e["aria:nextCall"]=undefined),s},c=function(e,t){return Aria.memCheckMode?function(){try{this["aria:objnumber"]||(s++
,this["aria:objnumber"]=s,u[s]=this),l(this,e,t,"$constructor",arguments)}catch(n){throw this["aria:objnumber"]&&(o++,u[this["aria:objnumber"]]=null,delete u[this["aria:objnumber"]],this["aria:objnumber"]=null),n}}:e.$constructor},h=function(e,t){return Aria.memCheckMode?function(){l(this,e,t,"$destructor",arguments),this["aria:objnumber"]&&(o++,u[this["aria:objnumber"]]=null,delete u[this["aria:objnumber"]],this["aria:objnumber"]=null)}:e.$destructor},p=function(e){aria.templates.Layout.setRootDim(e)},d=function(
e,t,n){t&&Aria.$logError(t,n),i&&i.notifyClassLoadError(e)},v=function(e,t,n){var r=!1;for(var i in t)t.hasOwnProperty(i)&&(r||(r=!0),e[i]!=null?Aria.$logError(Aria.REDECLARED_EVENT,[i,n]):e[i]=t[i]);return r};Aria.__mergeEvents=v,Aria.minSizeMode=Aria.minSizeMode===!0,Aria.debug=Aria.debug===!0,Aria.enableProfiling=Aria.enableProfiling===!0,Aria.memCheckMode=Aria.memCheckMode===!0,Aria.FRAMEWORK_PREFIX=Aria.FRAMEWORK_PREFIX||"aria:",Aria.FRAMEWORK_RESOURCES=Aria.FRAMEWORK_RESOURCES||"aria/resources/",Aria.$classDefinitions=
{},Aria.$classes=[],Aria.__undisposedObjects=u,Aria.activateTestMode=function(){Aria.testMode=!0;var e=Aria.rootTemplates;if(e)for(var t=0,n=e.length;t<n;t++){var r=e[t];r.$refresh()}},Aria.dispose=function(e){if(e){var t,n,r;if(typeof e=="string"){t=e,n=Aria.getClassRef(t);if(!n)return;r=n.classDefinition||n.interfaceDefinition;if(!r)return}else{n=e,r=n.classDefinition||n.interfaceDefinition;if(!r)return;t=r.$classpath;if(!t)return}var i=t.split("."),a=i[i.length-1];i.splice(i.length-1,1),i=Aria.nspace(i.join
("."));if(n==i[a]){r.$singleton&&n.$dispose(),r.$onunload&&r.$onunload.call(r.$noargConstructor.prototype,n),delete i[a],delete this.$classDefinitions[t];for(var f=0,l;l=this.$classes[f];f++)if(l==n){this.$classes.splice(f,1);break}}}else{var c=Aria.$classes.slice(0);for(var f=c.length-1;f>=0;f--){var h=c[f];Aria.dispose(h)}c=null;var p=Aria.memCheckMode;Aria=null;if(p)return{nbConstructions:s,nbDestructions:o,nbNotDisposed:s-o,notDisposed:u}}},Aria.nspace=function(e,t,n){n==null&&(n=Aria.$global),t=t!==!1;if(
e==="")return n;if(!e||typeof e!="string")return Aria.$logError(Aria.INVALID_NAMESPACE,[e]),null;var r=e.split("."),i=r.length,s;for(var o=0;o<i;o++){s=r[o];if(!s||Aria.isJsReservedWord(s))return Aria.$logError(Aria.INVALID_NAMESPACE,[e]),null;if(!n[s]){if(!t)return null;n[s]={}}n=n[s]}return n};var m={};Aria.getClassRef=function(e){return m[e]||(m[e]=Aria.nspace(e,!1))},Aria.cleanGetClassRefCache=function(e){e?delete m[e]:m={}},Aria.getClassInstance=function(e,t){var n=Aria.getClassRef(e);if(n)return new n(
t);Aria.$logError(Aria.INSTANCE_OF_UNKNOWN_CLASS,[e])},Aria.isJsReservedWord=function(t){return e["_"+t]?!0:!1},Aria.checkJsVarName=function(e){return e.match(/^[a-zA-Z_\$][\w\$]*$/)?Aria.isJsReservedWord(e)?!1:!0:!1},Aria.tplScriptDefinition=function(e){Aria.classDefinition({$classpath:e.$classpath,$dependencies:e.$dependencies,$resources:e.$resources,$statics:e.$statics,$texts:e.$texts,$prototype:e.$prototype,$onload:function(t){t.tplScriptDefinition=e},$extends:"aria.templates.Template",$constructor:function(
){this.$Template.constructor.call(this),e.$constructor&&e.$constructor.call(this)},$destructor:e.$destructor?function(){e.$destructor.call(this),this.$Template.$destructor.call(this)}:null})},Aria.classDefinition=function(e){if(!e)return Aria.$logError(Aria.NULL_CLASSPATH);var n=e.$classpath,r=e.$class,s=e.$package,o=e.$extends;if(!n&&(r==null||s==null))return Aria.$logError(Aria.NULL_CLASSPATH);var u,a,f;if(n){f=n;var l=f.lastIndexOf(".");l>-1?(u=f.slice(0,l),a=f.slice(l+1)):(u="",a=f);if(r&&r!=a||s&&s!=u)return Aria
.$logError(Aria.INCOHERENT_CLASSPATH);e.$class=a,e.$package=u}else a=r,u=e.$package,f=u+"."+a,e.$classpath=f;if(!t(f,"classDefinition: "))return;e.$events||(e.$events={}),e.$noargConstructor=new Function,(!o||o.match(/^\s*$/))&&f!="aria.core.JsObject"&&(o=e.$extends="aria.core.JsObject"),e.$constructor||(e.$constructor=new Function(e.$extends+".prototype.constructor.apply(this, arguments);")),this.$classDefinitions[f]=e;var c=!0;if(i){var h={TPL:e.$templates,CSS:e.$css,TML:e.$macrolibs,CML:e.$csslibs},p=[],d=
e.$dependencies||[];e.$implements&&e.$implements.length>0&&(d=d.concat(e.$implements));if(aria.utils.Type.isObject(e.$resources))for(var v in e.$resources)e.$resources.hasOwnProperty(v)&&(e.$resources[v].hasOwnProperty("provider")?d.push(e.$resources[v].provider):p.push(e.$resources[v]));aria.utils.Type.isObject(e.$texts)&&(h.TXT=aria.utils.Array.extractValuesFromMap(e.$texts)),h.RES=p,h.JS=d;if(o!="aria.core.JsObject"){var m=e.$extendsType||"JS";if(m!=="JS"&&m!=="TPL"&&m!=="TML"&&m!=="CSS"&&m!=="CML"&&m!=="TXT"
)return Aria.$logError(Aria.INVALID_EXTENDSTYPE,[a]);h[m]?h[m].push(o):h[m]=[o]}c=i.loadClassDependencies(f,h,{fn:Aria.loadClass,scope:Aria,args:f})}c&&this.loadClass(f,f)},Aria.interfaceDefinition=function(e){var n=e.$classpath;if(!t(n,"interfaceDefinition"))return;e.$events==null&&(e.$events={});var r=!0;i&&(r=i.loadClassDependencies(n,{JS:e.$extends?[e.$extends]:[]},{fn:aria.core.Interfaces.loadInterface,scope:aria.core.Interfaces,args:e})),r&&aria.core.Interfaces.loadInterface(e)},Aria.copyObject=function(
e,t){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};var g=Aria.$global.navigator,y=g?g.userAgent.toLowerCase().indexOf("msie")!=-1:!1;Aria.loadClass=function(e,n){n||(n=e);if(!t(n,"loadClass"))return;var r=this.$classDefinitions[e];if(!r)return Aria.$logError(Aria.INVALID_DEFCLASSPATH,[e]);var s=r.$prototype,o=r.$statics,u=r.$events,l=r.$beans,p=r.$resources,m=r.$texts,g=r.$implements,b="",w=n,E=n.lastIndexOf(".");E>-1&&(b=n.slice(0,E),w=n.slice(E+1));var S=Aria.nspace(b),x=null;if(r.$extends){if(!t(r.$extends
,"parentClass"))return d(r.$classpath);x=Aria.getClassRef(r.$extends);if(!x)return d(r.$classpath,Aria.BASE_CLASS_UNDEFINED,[r.$classpath,r.$extends]);if(!x.classDefinition)return d(r.$classpath,Aria.WRONG_BASE_CLASS,[r.$classpath,r.$extends]);if(x.classDefinition.$singleton)return d(r.$classpath,Aria.CANNOT_EXTEND_SINGLETON,[r.$classpath,r.$extends])}var T;x?T=new x.classDefinition.$noargConstructor:T={},T.$classpath=r.$classpath,T.$class=r.$class,T.$package=r.$package;var N={};T.$resources?(N=T.$resources,
T.$resources={},Aria.copyObject(N,T.$resources),Aria.copyObject(p,T.$resources)):T.$resources=r.$resources;var C={};T.$texts?(C=T.$texts,T.$texts={},Aria.copyObject(C,T.$texts),Aria.copyObject(m,T.$texts)):T.$texts=r.$texts,r.$css&&(T.$css=r.$css);if(s){typeof s=="function"&&(s=s.apply({}),s||(Aria.$logError(Aria.FUNCTION_PROTOTYPE_RETURN_NULL,[n]),s={}),Aria.copyObject(s,r.$prototype));for(var k in s)s.hasOwnProperty(k)&&k!="$init"&&(typeof s[k]=="function"&&(s[k].displayName="#"+k),T[k]=s[k]);y&&(s.hasOwnProperty
("toString")&&(T.toString=s.toString),s.hasOwnProperty("valueOf")&&(T.valueOf=s.valueOf))}var L={};if(p)for(var k in p)p.hasOwnProperty(k)&&(T[k]&&!N[k]?Aria.$logError(Aria.RESOURCES_HANDLE_CONFLICT,[k,n]):p[k].provider!=null?(L[k]=p[k],T[k]=Aria.getClassInstance(p[k].provider),T[k].getData=function(e){return function(){return e.__getData(w)}}(T[k]),T[k].__refName=k):T[k]=Aria.getClassRef(p[k]));if(m)for(var k in m)m.hasOwnProperty(k)&&(T[k]&&!C[k]?Aria.$logError(Aria.TEXT_TEMPLATE_HANDLE_CONFLICT,[k,n]):T[k
]=Aria.getClassRef(m[k]));o&&Aria.copyObject(o,T),l,T.$events={},x&&v(T.$events,x.prototype.$events,T.$classpath);if(g)if(aria.utils.Type.isArray(g)){for(var k=0,A=g.length;k<A;k++)if(!aria.core.Interfaces.applyInterface(g[k],T))return i.notifyClassLoadError(T.$classpath)}else d(r.$classpath,Aria.INVALID_INTERFACES,[r.$classpath]);T.$interfaces||(T.$interfaces={}),v(T.$events,u,T.$classpath);var O=h(r,x);O&&(T.$destructor=O);var M="$"+r.$class;if(T[M]!=null)return d(r.$classpath,Aria.DUPLICATE_CLASSNAME,r.$class
);T[M]=T;var _=c(r,x);_.prototype=T,x&&(_.superclass=x.prototype),T.constructor=_,r.$noargConstructor.prototype=T,r.$singleton?S[w]=new _:(o&&Aria.copyObject(o,_),S[w]=_),S[w].classDefinition=r,Aria.$classes.push(S[w]);for(var k in L)if(L.hasOwnProperty(k)){var D=L[k];D.hasOwnProperty("handler")&&T[k].setHandler(D.handler),D.hasOwnProperty("resources")&&T[k].setResources(D.resources),D.hasOwnProperty("onLoad")?T[k].fetchData({fn:D.onLoad,scope:T},w):f.push({ref:k,prot:T[k]})}a[w]={def:r,p:T,ns:S},this.loadSyncProviders
(w)},Aria.loadSyncProviders=function(e){if(f.length>0){var t=f.pop();t.prot.fetchData({fn:this.loadSyncProviders,scope:this,args:{calledback:!0}},e)}else{var n=e,r=a[n].def,s=a[n].p,o=a[n].ns,u=r.$prototype;u&&u.$init&&u.$init(s,r),r.$onload&&r.$onload.call(s,o[n]),i?i.notifyClassLoad(r.$classpath):r.$classpath=="aria.core.ClassMgr"&&(i=aria.core.ClassMgr),a[n]=null}},Aria.load=function(e){var t=new aria.core.MultiLoader(e);t.load()},Aria.beanDefinitions=function(e){aria.core.JsonValidator.beanDefinitions(e)
},Aria.setRootDim=function(e){Aria.load({classes:["aria.templates.Layout"],oncomplete:{fn:p,args:e}})},Aria.loadTemplate=function(e,t){aria.core.TplClassLoader.loadTemplate(e,t)},Aria.disposeTemplate=function(e){return aria.core.TplClassLoader.disposeTemplate(e)},Aria.resourcesDefinition=function(e){var t=Aria.getClassRef(e.$classpath);if(t){var n=t.classDefinition.$prototype;aria.utils.Json.inject(e.$resources,n,!0);for(var r in n)n.hasOwnProperty(r)&&(t[r]=n[r]);i&&i.notifyClassLoad(e.$classpath)}else Aria
.classDefinition({$classpath:e.$classpath,$singleton:!0,$constructor:function(){},$prototype:e.$resources})},Aria.copyGlobals=function(e){e.Aria=Aria;var t=Aria.$global,n=Aria.$classes,r={};for(var i=0,s=n.length;i<s;i++){var o=n[i];if(o){var u=o.$classpath;if(!u){var a=o.classDefinition||o.interfaceDefinition;a&&(u=a.$classpath)}if(u){var f=u.indexOf("."),l=f>-1?u.substring(0,f):u;e[l]=t[l]}}}},Aria.onDomReady=function(e){aria.dom.DomReady.onReady(e)};if(Aria.$frameworkWindow){if(Aria.rootFolderPath==null){
var b,w,E;w=Aria.$frameworkWindow.document.getElementsByTagName("script"),b=w[w.length-1],w=null,E=b.src;var S=E.replace(/aria\/[^\/]*$/,"");S==E&&(S=S.substring(0,S.lastIndexOf("/"))+"/");if(!S){var x=Aria.$frameworkWindow.location;S=x.protocol+"//"+x.host+"/";var T=x.pathname;T=T.match(/[\/\w\.\-]+\//gi),T?T=T[0]:T="",S+=T}Aria.rootFolderPath=S}if(Aria.rootFolderPath=="/"){var N=Aria.$frameworkWindow.location;Aria.rootFolderPath=N.protocol+"//"+N.host+"/"}}Aria.empty=function(){},Aria.returnTrue=function()
{return!0},Aria.returnFalse=function(){return!1},Aria.returnNull=function(){return null},Aria.__tempIE=y})(),Aria.eval=Aria.__tempIE?function(srcJS,srcURL,evalContext){return eval(srcJS)}:function(srcJS,srcURL,evalContext){return srcURL&&(srcJS=[srcJS,"\n//@ sourceURL=",Aria.rootFolderPath,srcURL,"\n"].join("")),eval(srcJS)},delete Aria.__tempIE,function(){var e=Aria.FRAMEWORK_PREFIX+"isDisposed",t=function(e,t,r,i){for(var s in e[t])e[t].hasOwnProperty(s)&&n(e[t],s,r,i)},n=function(e,t,n,r,i,s){if(e==null)return;
var o=e[t];if(o){var u=o.length,a=!1,f=null,l;for(var c=0;c<u;c++){l=o[c],a=(!i||l.src==i)&&(!n||n==l.scope)&&(!r||r==l.fn);if(a){l.removed=!0,o.splice(c,1);if(s)break;c--,u--}}o.length===0&&(e[t]=null,delete e[t])}},r=function(e){var t=aria.utils.String.capitalize(e.method),n=this["on"+t+e.step];if(n)return n.call(this,e);n=this["on"+e.method+e.step];if(n)return n.call(this,e)},i=function(e,t,n){if(n>=t.nbInterceptors)return this[t.method].apply(this,e);var r=t.interceptors[n];if(r.removed)return i.call(this
,o.args,t,n+1);var o={step:"CallBegin",method:t.method,args:e,cancelDefault:!1,returnValue:null},u=t.asyncCbParam;if(u!=null){var a={fn:s,scope:this,args:{info:o,interc:r,origCb:e[u]}};e[u]=a,e.length<=u&&(e.length=u+1),o.callback=a}return this.$callback(r,o),o.cancelDefault||(o.returnValue=i.call(this,o.args,t,n+1),o.step="CallEnd",delete o.cancelDefault,this.$callback(r,o)),o.returnValue},s=function(e,t){var n=t.interc;if(n.removed)return this.$callback(t.origCb,e);var r=t.info;return r.step="Callback",r.callback=
t.origCb,r.callbackResult=e,r.cancelDefault=!1,r.returnValue=null,this.$callback(n,r),r.cancelDefault?r.returnValue:this.$callback(t.origCb,r.callbackResult)},o=function(e,t){var n="on"+aria.utils.String.capitalize(e);return t[n+"CallBegin"]||t[n+"Callback"]||t[n+"CallEnd"]||t["on"+e+"CallBegin"]||t["on"+e+"Callback"]||t["on"+e+"CallEnd"]?!0:!1},u=function(e,t,n){var r=n||{};for(var i in e)e.hasOwnProperty(i)&&(r[i]||(r[i]=[])).push(t);return r},a=function(e,t,n){var i=n||{},s,u,a;for(var f in e)e.hasOwnProperty
(f)&&o(f,t)&&(i[f]||(i[f]=[])).push({fn:r,scope:t});return i};Aria.classDefinition({$classpath:"aria.core.JsObject",$constructor:function(){},$destructor:function(){this[e]=!0},$statics:{UNDECLARED_EVENT:"undeclared event name: %1",MISSING_SCOPE:"scope property is mandatory when adding or removing a listener (event: %1)",INTERFACE_NOT_SUPPORTED:"The '%1' interface is not supported on this object (of type '%2').",ASSERT_FAILURE:"Assert #%1 failed in %2",CALLBACK_ERROR:"An error occured while processing a callback function: \ncalling class: %1\ncalled class: %2"
},$prototype:{$init:function(e,t,n){e.$on=e.$addListeners},$assert:function(e,t){return t?!0:(this.$logError(this.ASSERT_FAILURE,[e,this.$classpath]),!1)},$dispose:function(){this.$destructor(),this._listeners&&(this._listeners=null,delete this._listeners),this.__$interceptors&&(this.__$interceptors=null,delete this.__$interceptors),this.__$interfaces&&aria.core.Interfaces.disposeInterfaces(this)},$logTimestamp:Aria.empty,$startMeasure:Aria.empty,$stopMeasure:Aria.empty,$logDebug:function(e,t,n){return""},$logInfo
:function(e,t,n){return""},$logWarn:function(e,t,n){return""},$logError:function(e,t,n){return Aria.$global.console&&(typeof t=="string"&&(t=[t]),Aria.$global.console.error(e.replace(/%[0-9]+/g,function(e){return t[parseInt(e.substring(1),10)-1]}),n)),""},$callback:function(e,t,n){if(!e)return;if(e.$Callback)return e.call(t);var r=e.scope,i;r=r?r:this,e.fn?i=e.fn:i=e,typeof i=="string"&&(i=r[i]);var s=e.apply===!0&&e.args&&Object.prototype.toString.apply(e.args)==="[object Array]"?e.args:[e.args],o=e.resIndex===
undefined?0:e.resIndex;o>-1&&s.splice(o,0,t);try{return Function.prototype.apply.call(i,r,s)}catch(u){this.$logError(n||this.CALLBACK_ERROR,[this.$classpath,r.$classpath],u)}},$normCallback:function(e){var t=e.scope,n;return t=t?t:this,e.fn?n=e.fn:n=e,typeof n=="string"&&(n=t[n]),{fn:n,scope:t,args:e.args,resIndex:e.resIndex,apply:e.apply}},$alert:function(){var e=[],t;e.push("## "+this.$classpath+" ## ");for(var n in this)this.hasOwnProperty(n)&&(t=typeof this[n],t=="object"||t=="function"?e.push(n+=":["+t+"]"
):t=="string"?e.push(n+=':"'+this[n]+'"'):e.push(n+=":"+this[n]));Aria.$window.alert(e.join("\n")),e=null},toString:function(){return"["+this.$classpath+"]"},$interface:function(e){return aria.core.Interfaces.getInterface(this,e)},$addInterceptor:function(e,t){var n=this.$interfaces[e];if(!n){this.$logError(this.INTERFACE_NOT_SUPPORTED,[e,this.$classpath]);return}var r=this.__$interceptors;r==null&&(r={},this.__$interceptors=r);var i=aria.utils.Type.isCallback(t)?u:a,s=n.prototype.$interfaces;for(var o in s)
if(s.hasOwnProperty(o)){var f=i(s[o].interfaceDefinition.$interface,t,r[o]);r[o]=f}},$removeInterceptors:function(e,n,r){var i=this.$interfaces[e],s=this.__$interceptors;if(!i||!s)return;var o=i.prototype.$interfaces;for(var u in o)o.hasOwnProperty(u)&&t(s,u,n,r)},$call:function(e,t,n,r){var s;return this.__$interceptors==null||this.__$interceptors[e]==null||(s=this.__$interceptors[e][t])==null?this[t].apply(this,n):i.call(this,n,{interceptors:s,nbInterceptors:s.length,method:t,asyncCbParam:r},0)},$addListeners
:function(e,t){var n=e.scope?e.scope:null,r=t?t:this,i;for(var s in e){if(!e.hasOwnProperty(s))continue;i=e[s];if(s=="scope")continue;if(s!="*"&&r.$events[s]==null){this.$logError(this.UNDECLARED_EVENT,s,r.$classpath);continue}if(i.$Callback)i={fn:function(e,t){t.call(e)},scope:this,args:i};else if(!i.fn){if(!n){this.$logError(this.MISSING_SCOPE,s);continue}i={fn:i,scope:n,once:e[s].listenOnce}}else{i={fn:i.fn,scope:i.scope,args:i.args,once:e[s].listenOnce},i.scope||(i.scope=n);if(!i.scope){this.$logError(this
.MISSING_SCOPE,s);continue}}this._listeners==null?(this._listeners={},this._listeners[s]=[]):this._listeners[s]==null&&(this._listeners[s]=[]),i.src=r,this._listeners[s].push(i)}n=i=s=null},$removeListeners:function(e,t){if(this._listeners==null)return;var r=e.scope?e.scope:null,i;for(var s in e){if(!e.hasOwnProperty(s))continue;if(s=="scope")continue;if(this._listeners[s]){var o=e[s];if(typeof o=="function"){if(r==null){this.$logError(this.MISSING_SCOPE,s);continue}n(this._listeners,s,r,o,t)}else{o.scope==null&&
(o.scope=r);if(o.scope==null){this.$logError(this.MISSING_SCOPE,s);continue}n(this._listeners,s,o.scope,o.fn,t,o.firstOnly)}}}r=i=o=null},$unregisterListeners:function(e,t){if(this._listeners==null)return;if(e==null&&t==null)for(var r in this._listeners){if(!this._listeners.hasOwnProperty(r))continue;this._listeners[r]=null,delete this._listeners[r]}else for(var r in this._listeners){if(!this._listeners.hasOwnProperty(r))continue;n(this._listeners,r,e,null,t)}r=null},$onOnce:function(e,t){for(var n in e)e.hasOwnProperty
(n)&&(e[n].listenOnce=!0);this.$addListeners(e,t)},$raiseEvent:function(e){if(this._listeners==null)return;var t="",n=!1;typeof e=="string"?t=e:(t=e.name,n=!0);if(t==null||this.$events[t]==null)this.$logError(this.UNDECLARED_EVENT,[t,this.$classpath]);else{var r=[t,"*"],i=null,s=this._listeners;for(var o=0;o<2;o++){var u=s[r[o]];if(u){i||(i=n?e:{},i.name=t),u=u.slice(0);var a=u.length,f,l;for(var c=0;a>c;c++){f=u[c],l=f.src;if(!f.removed&&(o===0||l.$events[t]!=null)){i.src=l;if(f.once){delete f.once;var h={}
;h[i.name]=f,this.$removeListeners(h)}this.$callback(f,i)}}i.src=null}}s=u=a=null}}}})}(),Aria.classDefinition({$classpath:"aria.utils.Type",$singleton:!0,$prototype:{isArray:function(e){return Object.prototype.toString.apply(e)==="[object Array]"},isString:function(e){return typeof e=="string"?!0:Object.prototype.toString.apply(e)==="[object String]"},isRegExp:function(e){return Object.prototype.toString.apply(e)==="[object RegExp]"},isNumber:function(e){return typeof e=="number"?!0:Object.prototype.toString
.apply(e)==="[object Number]"},isDate:function(e){return Object.prototype.toString.apply(e)==="[object Date]"},isBoolean:function(e){return e===!0||e===!1},isHTMLElement:function(e){if(e){var t=e.nodeName;return e===Aria.$window||aria.utils.Type.isString(t)||e===Aria.$frameworkWindow}return!1},isObject:function(e){return e?Object.prototype.toString.apply(e)==="[object Object]":!1},isInstanceOf:function(e,t){var n=Aria.getClassRef(t);return n==null?!1:e instanceof n},isFunction:function(e){return Object.prototype
.toString.apply(e)==="[object Function]"},isContainer:function(e){return(this.isObject(e)||this.isArray(e))&&!(e instanceof aria.core.JsObject)},isCallback:function(e){if(e.$Callback)return!0;if(e.$classpath)return!1;var t=this.$normCallback(e);return typeof t.fn=="function"}}}),Aria.classDefinition({$classpath:"aria.utils.String",$singleton:!0,$dependencies:["aria.utils.Type"],$prototype:{substitute:function(e,t){return aria.utils.Type.isArray(t)||(t=[t]),e=e.replace(/%[0-9]+/g,function(e){var n=t[parseInt(
e.substring(1),10)-1];return typeof n!="undefined"?n:e}),e},trim:String.trim?String.trim:function(e){return e.replace(/^\s+|\s+$/g,"")},isEscaped:function(e,t){var n=!1;for(var r=t-1;r>=0;r--){if(e.charAt(r)!="\\")return n;n=!n}return n},indexOfNotEscaped:function(e,t,n){var r=e.indexOf(t,n);while(r!=-1){if(!this.isEscaped(e,r))return r;r=e.indexOf(t,r+1)}return-1},escapeHTML:function(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},escapeHTMLAttr:function(e){return e.replace(/'/g
,"&#x27;").replace(/"/g,"&quot;")},escapeForHTML:function(e,t){var n=!1,r=!1;if(aria.utils.Type.isObject(t))n=t.text===!0,r=t.attr===!0;else if(!aria.utils.Type.isBoolean(t)||t)n=!0,r=!0;return n&&(e=this.escapeHTML(e).replace(/\//g,"&#x2F;")),r&&(e=this.escapeHTMLAttr(e)),e},stripAccents:function(e){var t=e;return t=t.replace(/[\u00E0\u00E2\u00E4]/gi,"a"),t=t.replace(/[\u00E9\u00E8\u00EA\u00EB]/gi,"e"),t=t.replace(/[\u00EE\u00EF]/gi,"i"),t=t.replace(/[\u00F4\u00F6]/gi,"o"),t=t.replace(/[\u00F9\u00FB\u00FC]/gi
,"u"),t},nextWhiteSpace:function(e,t,n,r){var i=t,s=r||/\s/,o;while(i<n){o=e.charAt(i);if(s.test(o))return i;i++}return-1},stringify:function(e){return'"'+e.replace(/([\\\"])/g,"\\$1").replace(/(\r)?\n/g,"\\n")+'"'},endsWith:function(e,t){return e.indexOf(t,e.length-t.length)!==-1},encodeForQuotedHTMLAttribute:function(e){return e?e.replace(/"/g,"&quot;"):""},capitalize:function(e){return e.charAt(0).toUpperCase()+e.slice(1)},pad:function(e,t,n,r){e=""+e;var i=e.length;if(i<t){var s=[];for(var o=t-i;o>0;o-=1
)s.push(n);r===!0?e=s.join("")+e:e+=s.join("")}return e},crop:function(e,t,n,r){var i,s;if(r===!0){for(i=0,s=e.length-t;i<s;i+=1)if(e.charAt(i)!==n)break;return e.substring(i)}for(i=e.length-1;i>=t;i-=1)if(e.charAt(i)!==n)break;return e.substring(0,i+1)},chunk:function(e,t,n){return aria.utils.Type.isString(e)?e?aria.utils.Type.isArray(t)?this._chunkArray(e,t,n):this._chunkNumber(e,t,n):[e]:null},_chunkNumber:function(e,t,n){var r=[],i,s=e.length;if(t<1||t>=s)return[e];if(t===1)return e.split("");if(n===!0){
i=0;while(i<s)r.push(e.substr(i,t)),i+=t;return r}i=s;while(i>0)r.push(e.substring(Math.max(0,i-t),i)),i-=t;return r.reverse()},_chunkArray:function(e,t,n){var r=[],i,s=e.length,o,u;if(n===!0){i=0;for(o=0,u=t.length;o<u;o+=1){r.push(e.substr(i,t[o])),i+=t[o];if(i>=s)break}return i<s&&r.push(e.substring(i)),r}i=s;for(o=0,u=t.length;o<u;o+=1){r.push(e.substring(Math.max(0,i-t[o]),i)),i-=t[o];if(i<=0)break}return i>0&&r.push(e.substring(0,i)),r.reverse()}}}),function(){var e=Aria.$global.console;Aria.classDefinition
({$classpath:"aria.core.log.DefaultAppender",$prototype:e?{_formatClassName:function(e){return"["+e+"] "},_inspectObject:function(t){t&&typeof t=="object"&&e.dir&&e.dir(t)},debug:function(t,n,r,i){e.debug?e.debug(this._formatClassName(t)+n):e.log&&e.log(this._formatClassName(t)+n),this._inspectObject(i)},info:function(t,n,r,i){e.info?e.info(this._formatClassName(t)+n):e.log&&e.log(this._formatClassName(t)+n),this._inspectObject(i)},warn:function(t,n,r,i){e.warn?e.warn(this._formatClassName(t)+n):e.log&&e.log
(this._formatClassName(t)+n),this._inspectObject(i)},error:function(t,n,r,i){var s=this._formatClassName(t)+n;i?e.error(s+"\n",i):e.error(s)}}:{debug:function(){},info:function(){},warn:function(){},error:function(){}}})}(),Aria.classDefinition({$classpath:"aria.core.Log",$singleton:!0,$dependencies:["aria.core.log.DefaultAppender","aria.utils.String"],$statics:{LEVEL_DEBUG:1,LEVEL_INFO:2,LEVEL_WARN:3,LEVEL_ERROR:4},$constructor:function(){this._loggers=[],this._loggingLevels={},this._appenders=[];var e=this
,t=aria.core.JsObject.prototype;t.$logDebug=function(t,n,r){return e.debug(this.$classpath,t,n,r),""},Aria.$logDebug=t.$logDebug,t.$logInfo=function(t,n,r){return e.info(this.$classpath,t,n,r),""},Aria.$logInfo=t.$logInfo,t.$logWarn=function(t,n,r){return e.warn(this.$classpath,t,n,r),""},Aria.$logWarn=t.$logWarn,t.$logError=function(t,n,r){return e.error(this.$classpath,t,n,r),""},Aria.$logError=t.$logError,this.resetLoggingLevels(),this.setLoggingLevel("*",Aria.debug?this.LEVEL_DEBUG:this.LEVEL_ERROR),this
.addAppender(new aria.core.log.DefaultAppender)},$destructor:function(){this.resetLoggingLevels(),this.clearAppenders();var e=aria.core.JsObject.prototype,t=Aria.$window.alert;e.$logError=function(e,n,r){t(["Error after aria.core.Log is disposed:\nin:",this.$classpath,"\nmsg:",e].join(""))},Aria.$logError=e.$logError;var n=function(){};e.$logDebug=n,Aria.$logDebug=n,e.$logInfo=n,Aria.$logInfo=n,e.$logWarn=n,Aria.$logWarn=n},$prototype:{isValidLevel:function(e){return e==this.LEVEL_DEBUG||e==this.LEVEL_INFO||
e==this.LEVEL_WARN||e==this.LEVEL_ERROR},setLoggingLevel:function(e,t){this.isValidLevel(t)?this._loggingLevels[e]=t:this.error(this.$classpath,"Invalid level passed to setLoggingLevel")},resetLoggingLevels:function(){this._loggingLevels=[]},getLoggingLevel:function(e){var t=this._loggingLevels[e];if(!t){var n=e;while(n.indexOf(".")!=-1){n=n.substring(0,n.lastIndexOf("."));if(this._loggingLevels[n])return this._loggingLevels[n];if(this._loggingLevels[n+".*"])return this._loggingLevels[n+".*"]}return this._loggingLevels
["*"]||!1}return t},isLogEnabled:function(e,t){var n=this.getLoggingLevel(t);return n?e>=n:!1},addAppender:function(e){this._appenders.push(e)},clearAppenders:function(){var e=this.getAppenders();for(var t=0,n=e.length;t<n;t++)e[t].$dispose();this._appenders=[]},getAppenders:function(e){var t=this._appenders;if(e){t=[];for(var n=0;n<this._appenders.length;n++)this._appenders[n].$classpath==e&&t.push(this._appenders[n])}return t},prepareLoggedMessage:function(e,t,n){t&&(e=aria.utils.String.substitute(e,t));for(
var r in n)n.hasOwnProperty(r)&&(e+="\n"+r+" : "+n[r]+"\n");return e},debug:function(e,t,n,r){this.log(e,this.LEVEL_DEBUG,n,t,r)},info:function(e,t,n,r){this.log(e,this.LEVEL_INFO,n,t,r)},warn:function(e,t,n,r){this.log(e,this.LEVEL_WARN,n,t,r)},error:function(e,t,n,r){this.log(e,this.LEVEL_ERROR,n,t,r)},log:function(e,t,n,r,i){if(!this.isValidLevel(t))this.error(this.$classpath,"Invalid level passed for logging the message");else if(this.isLogEnabled(t,e)){var s=this.prepareLoggedMessage(r,n),o=this.getAppenders
();for(var u=0;u<o.length;u++)t==this.LEVEL_DEBUG&&o[u].debug(e,s,r,i),t==this.LEVEL_INFO&&o[u].info(e,s,r,i),t==this.LEVEL_WARN&&o[u].warn(e,s,r,i),t==this.LEVEL_ERROR&&o[u].error(e,s,r,i)}}}}),function(){var e=Array.prototype,t;Aria.classDefinition({$classpath:"aria.utils.Array",$singleton:!0,$constructor:function(){t=this},$destructor:function(){e=null,t=null},$prototype:{indexOf:e.indexOf?function(e,t){return e.indexOf(t)}:function(e,t){var n=e.length;for(var r=0;r<n;r++)if(r in e&&e[r]===t)return r;return-1
},contains:function(e,n){return t.indexOf(e,n)!=-1},clone:function(e){var t=e.slice(0);return t},remove:function(e,n){var r=t.indexOf(e,n);return r>-1?(t.removeAt(e,r),!0):!1},removeAt:function(e,t){return e.splice(t,1).length==1},isEmpty:function(e){return e.length===0},filter:e.filter?function(e,t,n){return e.filter(t,n)}:function(e,n,r){var i=t.clone(e),s=[];r=r||e;var o=i.length;for(var u=0;u<o;u++){var a=i[u];n.call(r,a,u,e)&&s.push(a)}return s},forEach:e.forEach?function(e,t,n){return e.forEach(t,n)}:function(
e,n,r){var i=t.clone(e),s=[];r=r||e;var o=i.length;for(var u=0;u<o;u++)n.call(r,i[u],u,e);return s},extractValuesFromMap:function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}}})}(),Aria.classDefinition({$classpath:"aria.utils.json.JsonSerializer",$dependencies:["aria.utils.Type"],$constructor:function(e){this._optimized=e||!1},$prototype:function(){var fastSerializer=function(){var e=Aria.$global.JSON||{};if(e.stringify)return e.stringify;String.prototype.toJSON=Number.prototype.toJSON=
Aria.$global.Boolean.prototype.toJSON=function(e){return this.valueOf()};var t=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,n=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,r,i,s={"\b":"\\b","	":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},o=function(e){return n.lastIndex=0,n.test(e)?'"'+e.replace(n,function(e){var t=s[e];return typeof t=="string"?t:"\\u"+
("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'},u=function(e,t){var n,s,a,f,l=r,c,h=t[e];h&&typeof h.toJSON=="function"&&(h=h.toJSON(e));switch(typeof h){case"string":return o(h);case"number":return isFinite(h)?String(h):"null";case"boolean":case"null":return String(h);case"object":if(!h)return"null";r+=i,c=[];if(Object.prototype.toString.apply(h)==="[object Array]"){f=h.length;if(i){for(n=0;n<f;n+=1)c[n]=u(n,h)||"null";a=c.length===0?"[]":r?"[\n"+r+c.join(",\n"+r)+"\n"+l+"]":"["+c.join(",")+"]"
,r=l}else{c.push("[");for(n=0;n<f;n+=1)n!==0&&c.push(","),c.push(u(n,h)||"null");c.push("]"),a=c.join("")}return a}if(i){for(s in h)Object.prototype.hasOwnProperty.call(h,s)&&(a=u(s,h),a&&c.push(o(s)+(r?": ":":")+a));a=c.length===0?"{}":r?"{\n"+r+c.join(",\n"+r)+"\n"+l+"}":"{"+c.join(",")+"}",r=l}else{var p=!1;c.push("{");for(s in h)Object.prototype.hasOwnProperty.call(h,s)&&(a=u(s,h),a&&(p&&(c[c.length]=","),c.push(o(s),":",a),p=!0));c.push("}"),a=c.join("")}return a}};return function(e,t,n){var s;r="",i=""
;if(typeof n=="number")for(s=0;s<n;s+=1)i+=" ";else typeof n=="string"&&(i=n);return u("",{"":e})}}(),typeUtil=aria.utils.Type,defaults={indent:"",maxDepth:100,escapeKeyNames:!0,encodeParameters:!1,reversible:!1,serializedDatePattern:"yyyy/MM/dd HH:mm:ss",keepMetadata:!0};return{serialize:function(e,t){t=t?t:{},this._normalizeOptions(t);if(this._optimized&&t.indent.length<=10&&t.escapeKeyNames&&!t.encodeParameters&&t.keepMetadata&&t.maxDepth>=100&&!t.reversible){var n=Date.prototype.toJSON,r=RegExp.prototype
.toJSON,i=Function.prototype.toJSON,s=this;try{return Date.prototype.toJSON=function(){return aria.utils.Date.format(this,t.serializedDatePattern)},RegExp.prototype.toJSON=function(){return this+""},Function.prototype.toJSON=function(){return"[function]"},fastSerializer(e,null,t.indent)}catch(o){return null}finally{Date.prototype.toJSON=n,RegExp.prototype.toJSON=r,Function.prototype.toJSON=i}}return this._serialize(e,t)},_normalizeOptions:function(e){for(var t in defaults)defaults.hasOwnProperty(t)&&!(t in e
)&&(e[t]=defaults[t])},_serialize:function(e,t){return e===null?this._serializeNull(t):typeUtil.isBoolean(e)?this._serializeBoolean(e,t):typeUtil.isNumber(e)?this._serializeNumber(e,t):typeUtil.isString(e)?this._serializeString(e,t):typeUtil.isDate(e)?this._serializeDate(e,t):typeUtil.isRegExp(e)?this._serializeRegExp(e,t):typeUtil.isArray(e)?this._serializeArray(e,t):typeUtil.isObject(e)?this._serializeObject(e,t):typeUtil.isFunction(e)?this._serializeFunction(e,t):'"['+typeof e+']"'},_serializeObject:function(
e,t){var n=t.indent,r,i=t.baseIndent?t.baseIndent:"",s=n?i+n:null;if(t.maxDepth<1)return t.reversible?null:"{...}";var o=["{"];n&&o.push("\n");var u=!0;for(var a in e)if(e.hasOwnProperty(a)&&this.__preserveObjectKey(a,t)){u=!1,n&&o.push(s),t.escapeKeyNames||a.match(/\:/)?o.push('"'+a+'":'):o.push(a+":"),n&&o.push(" ");var f=aria.utils.Json.copy(t,!0);f.baseIndent=s,f.maxDepth=t.maxDepth-1,r=this._serialize(e[a],f);if(r===null)return null;o.push(r),n?o.push(",\n"):o.push(",")}return u||(o[o.length-1]=""),n?o.
push("\n"+i+"}"):o.push("}"),o.join("")},__preserveObjectKey:function(e,t){return t.keepMetadata?!0:!aria.utils.Json.isMetadata(e)},_serializeArray:function(e,t){var n=t.indent,r,i=t.baseIndent?t.baseIndent:"",s=n?i+n:null;if(t.maxDepth<1)return t.reversible?null:"[...]";var o=e.length;if(o===0)return"[]";var u=["["];n&&u.push("\n");for(var a=0;o>a;a++){n&&u.push(s);var f=aria.utils.Json.copy(t,!0);f.baseIndent=s,f.maxDepth=t.maxDepth-1,r=this._serialize(e[a],f);if(r===null)return null;u.push(r),a!=o-1&&(u.push
(","),n&&u.push("\n"))}return n?u.push("\n"+i+"]"):u.push("]"),u.join("")},_serializeString:function(e,t){var n;return e=e.replace(/([\\\"])/g,"\\$1").replace(/(\r)?\n/g,"\\n"),t.encodeParameters===!0?n=encodeURIComponent(e):n=e,'"'+n+'"'},_serializeNumber:function(e,t){return e+""},_serializeBoolean:function(e,t){return e?"true":"false"},_serializeDate:function(e,t){return t.reversible||!aria.utils.Date?"new Date("+e.getTime()+")":'"'+aria.utils.Date.format(e,t.serializedDatePattern)+'"'},_serializeRegExp:function(
e,t){return t.reversible?e+"":this._serializeString(e+"",t)},_serializeFunction:function(e,t){return'"[function]"'},_serializeNull:function(){return"null"},parse:function(string){var text=String(string);if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return eval("("+text+")");throw new Error("aria.utils.json.JsonSerializer.parse")}}}}),function(){var arrayUtils,typeUtils
,jsonUtils,parProp,res=[],__getListenerMetaName=function(e,t){var n=t?jsonUtils.META_FOR_RECLISTENERS:jsonUtils.META_FOR_LISTENERS;return e!=null&&(n+="_"+e),n},__isValidContainer=function(e){return typeUtils.isContainer(e)&&!typeUtils.isHTMLElement(e)&&!e.$JsObject},__removeLinkToParent=function(e,t,n){var r=e?e[parProp]:null;if(r)for(var i=0,s;s=r[i];i++)if(s.parent==t&&s.property==n){r.splice(i,1);break}},__changeLinkToParent=function(e,t,n,r){var i=e?e[parProp]:null;if(i)for(var s=0,o;o=i[s];s++)if(o.parent==
t&&o.property==n){o.property=r;break}},__addLinkToParent=function(e,t,n){__isValidContainer(e)&&(__checkBackRefs(e),e[parProp].push({parent:t,property:n}))},__includePropForBackRef=function(e){return e!=jsonUtils.OBJECT_PARENT_PROPERTY&&e!=jsonUtils.META_FOR_LISTENERS&&e!=jsonUtils.META_FOR_RECLISTENERS},__checkBackRefs=function(e){if(e[parProp])return;e[parProp]=[];for(var t in e)if(e.hasOwnProperty(t)&&__includePropForBackRef(t)){var n=e[t];__isValidContainer(n)&&(__checkBackRefs(n),n[parProp].push({parent
:e,property:t}))}},__cleanUpRecMarkers=function(e){var t=jsonUtils.TEMP_REC_MARKER;if(e[t]){e[t]=!1,delete e[t];var n=e[jsonUtils.OBJECT_PARENT_PROPERTY];if(n)for(var r=0,i=n.length;r<i;r++)__cleanUpRecMarkers(n[r].parent)}},__appendListeners=function(e,t){return e!=null&&(t||(t=[]),t.push.apply(t,e)),t},__retrieveListeners=function(e,t,n,r){t!=null&&(r=__retrievePropertySpecificListeners(e,t,n,r));if(e[jsonUtils.TEMP_REC_MARKER])return r;r=__retrievePropertySpecificListeners(e,null,n,r);var i=e[jsonUtils.OBJECT_PARENT_PROPERTY
];if(i){e[jsonUtils.TEMP_REC_MARKER]=!0;for(var s=0,o,u;o=i[s];s++)r=__retrieveListeners(o.parent,o.property,!0,r);n||__cleanUpRecMarkers(e)}return r},__retrievePropertySpecificListeners=function(e,t,n,r){return r=__appendListeners(e[__getListenerMetaName(t,!0)],r),n||(r=__appendListeners(e[__getListenerMetaName(t)],r)),r},__callListeners=function(e,t,n){for(var r=0,i=e.length;r<i;r++){var s=e[r];if(s==n||!s)continue;var o=s.fn;o&&o.call(s.scope,t,s.args)}},__notifyListeners=function(e,t,n,r){var i=__retrieveListeners
(e,t);i&&(n.dataHolder=e,n.dataName=t,__callListeners(i,n,r))},__elemCopy=function(e,t,n,r,i){typeUtils.isObject(e)||typeUtils.isArray(e)?r?t[n]=aria.utils.Json.copy(e,!0,null,i):t[n]=e:typeUtils.isDate(e)?t[n]=new Date(e.getTime()):t[n]=e};Aria.classDefinition({$classpath:"aria.utils.Json",$dependencies:["aria.utils.json.JsonSerializer"],$singleton:!0,$constructor:function(){jsonUtils=this,arrayUtils=aria.utils.Array,typeUtils=aria.utils.Type,parProp=this.OBJECT_PARENT_PROPERTY,this.__defaultJsonSerializer=new
aria.utils.json.JsonSerializer(!0)},$destructor:function(){jsonUtils=null,arrayUtils=null,typeUtils=null,parProp=null,res=null,this.__defaultJsonSerializer.$dispose(),this.__defaultJsonSerializer=null},$statics:{META_FOR_LISTENERS:Aria.FRAMEWORK_PREFIX+"listener",META_FOR_RECLISTENERS:Aria.FRAMEWORK_PREFIX+"reclistener",OBJECT_PARENT_PROPERTY:Aria.FRAMEWORK_PREFIX+"parent",TEMP_REC_MARKER:Aria.FRAMEWORK_PREFIX+"tempRecMarker",VALUE_CHANGED:0,KEY_ADDED:1,KEY_REMOVED:2,SPLICE:3,INVALID_JSON_CONTENT:"An error occured while loading an invalid JSON content:\ncontext: %1\nJSON content:\n%2"
,NOT_OF_SPECIFIED_DH_TYPE:"Invalid data holder type: expected to be an object or an array. Data holder provided: ",INVALID_SPLICE_PARAMETERS:"Invalid splice parameters.",INVALID_JSON_SERIALIZER_INSTANCE:"The provided instance of JSON serializer does not have a serialize method."},$prototype:{convertToJsonString:function(e,t,n){return n?"serialize"in n?n.serialize(e,t):(this.$logError(this.INVALID_JSON_SERIALIZER_INSTANCE),null):this.__defaultJsonSerializer.serialize(e,t)},splice:function(e,t,n){var r=arguments
.length-3;if(!(typeUtils.isArray(e)&&typeUtils.isNumber(t)&&typeUtils.isNumber(n)&&r>=0&&n>=0))return this.$logError(this.INVALID_SPLICE_PARAMETERS,[],arguments),null;var i=e.length;t<0&&(t=i+t,t<0&&(t=0)),t>i&&(t=i),t+n>i&&(n=i-t);if(r===0&&n===0)return[];var s=Array.prototype,o=s.splice.apply(e,s.slice.call(arguments,1)),u=e.length;this.$assert(526,n==o.length),this.$assert(527,i+r-n==u);if(e[parProp]){if(n>0)for(var a=n-1;a>=0;a--)__removeLinkToParent(o[a],e,t+a);if(r>0)for(var a=t+r-1;a>=t;a--)__addLinkToParent
(e[a],e,a);if(r!=n)for(var f=t+r,l=t+n;f<u;f++,l++)__changeLinkToParent(e[f],e,l,f)}var c=null,h=r==n?t+r:Math.max(i,u);for(var a=t;a<h;a++){c=__retrievePropertySpecificListeners(e,a);if(c){var p={dataHolder:e,dataName:a};a>=u?p.change=this.KEY_REMOVED:(p.change=this.VALUE_CHANGED,p.newValue=e[a]),a<t+n?p.oldValue=o[a-t]:p.oldValue=e[a-n+r],__callListeners(c,p)}}return c=__retrieveListeners(e),c&&__callListeners(c,{change:this.SPLICE,dataHolder:e,index:t,removed:o,added:s.slice.call(arguments,3)}),o},deleteKey
:function(e,t,n,r){if(!__isValidContainer(e)){if(r)throw{code:this.NOT_OF_SPECIFIED_DH_TYPE};this.$logError(this.NOT_OF_SPECIFIED_DH_TYPE,null,e);return}if(e.hasOwnProperty(t)){var i=e[t];delete e[t],e[parProp]&&__includePropForBackRef(t)&&__removeLinkToParent(i,e,t),__notifyListeners(e,t,{change:this.KEY_REMOVED,oldValue:i},n)}},setValue:function(e,t,n,r,i){if(!__isValidContainer(e)){if(i)throw{code:this.NOT_OF_SPECIFIED_DH_TYPE};this.$logError(this.NOT_OF_SPECIFIED_DH_TYPE,null,e);return}var s=e.hasOwnProperty
(t),o=e[t];e[t]=n;if(o!==n||!s)e[parProp]&&__includePropForBackRef(t)&&(__removeLinkToParent(o,e,t),__addLinkToParent(n,e,t)),__notifyListeners(e,t,{change:s?this.VALUE_CHANGED:this.KEY_ADDED,newValue:n,oldValue:o},r);return n},getValue:function(e,t,n){return!e||!e[t]?n:e[t]},addListener:function(e,t,n,r,i){if(typeUtils.isObject(t))return this.addListener(e,null,t,n,r);var s=__getListenerMetaName(t,i);if(!__isValidContainer(e)){if(r)throw{code:this.NOT_OF_SPECIFIED_DH_TYPE};this.$logError(this.NOT_OF_SPECIFIED_DH_TYPE
,null,e);return}if(!e[s])e[s]=[n];else{var o=e[s];if(arrayUtils.indexOf(o,n)>-1)return;o.push(n)}i&&__checkBackRefs(e)},removeListener:function(e,t,n,r){if(typeUtils.isObject(t))return this.removeListener(e,null,t,n);var i=__getListenerMetaName(t,r);if(!e||e[i]==null)return;var s=e[i],o=arrayUtils.indexOf(s,n);o>-1&&(s.length==1?(e[i]=null,delete e[i]):s.splice(o,1))},copy:function(e,t,n,r){t=t!==!1;var i=!1,s,o;typeUtils.isArray(e)?(s=[],i=!0):typeUtils.isObject(e)&&(s={},i=!0);if(i){for(var u in e)if(e.hasOwnProperty
(u)){if(u.indexOf(":")!=-1){if(!r)continue;if(this.isMetadata(u))continue}if(n&&!arrayUtils.contains(n,u))continue;t?s[u]=this.copy(e[u],t,null,r):s[u]=e[u]}}else typeUtils.isDate(e)?s=new Date(e.getTime()):s=e;return s},load:function(str,ctxt,errMsg){var window=null,document=null,frames=null,res=null;try{str=(""+str).replace(/^\s/,""),res=eval("("+str+")")}catch(ex){res=null,errMsg||(errMsg=this.INVALID_JSON_CONTENT);var cp="unspecified";ctxt&&ctxt.$classpath&&(ctxt=ctxt.$classpath),this.$logError(errMsg,[ctxt
,str],ex)}return res},inject:function(e,t,n){n=n===!0;var r=typeUtils.isArray(e)&&typeUtils.isArray(t),i=typeUtils.isObject(e)&&typeUtils.isObject(t),s;if(!r&&!i)return!1;if(r)if(!n)for(var o=0,u=e.length;o<u;o++)t.push(e[o]);else for(var o=0,u=e.length;o<u;o++)s=e[o],t[o]?typeUtils.isContainer(s)?this.inject(s,t[o],!0)||(t[o]=s):typeUtils.isDate(s)?t[o]=new Date(s.getTime()):t[o]=s:t[o]=s;else if(i)for(var a in e)e.hasOwnProperty(a)&&(s=e[a],!t[a]||!n?this.setValue(t,a,s):typeUtils.isContainer(s)?this.inject
(s,t[a],!0)||this.setValue(t,a,s):typeUtils.isDate(s)?this.setValue(t,a,new Date(s.getTime())):this.setValue(t,a,s));return!0},contains:function(e,t){var n=typeUtils.isArray(e),r=typeUtils.isObject(e),i=typeUtils.isArray(t),s=typeUtils.isObject(t);if(n&&i){for(var o=0,u=t.length;o<u;o++)if(!this.contains(e[o],t[o]))return!1}else{if(!r||!s){var f=typeUtils.isDate(e)&&typeUtils.isDate(t);return f?t.getTime()===e.getTime():t===e}for(var a in t)if(t.hasOwnProperty(a)){if(a.match(/:/))continue;if(t.hasOwnProperty
(a)&&!this.contains(e[a],t[a]))return!1}}return!0},add:function(e,t,n){n==null&&(n=e.length),this.splice(e,n,0,t)},removeAt:function(e,t){this.splice(e,t,1)},equals:function(e,t){return this.contains(e,t)&&this.contains(t,e)},isMetadata:function(e){return aria.utils.Type.isString(e)?e.indexOf(Aria.FRAMEWORK_PREFIX)===0:!1},removeMetadata:function(e){if(!e||!__isValidContainer(e))return e;var t=typeUtils.isArray(e)?[]:{};for(var n in e)this.isMetadata(n)||(t[n]=this.removeMetadata(e[n]));return t}}})}(),Aria.
classDefinition({$classpath:"aria.utils.Object",$singleton:!0,$prototype:{keys:Object.keys?function(e){return aria.utils.Type.isObject(e)?Object.keys(e):[]}:function(e){if(!aria.utils.Type.isObject(e))return[];var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},isEmpty:function(e){var t=this.keys(e);return t.length===0}}}),Aria.classDefinition({$classpath:"aria.core.Browser",$singleton:!0,$constructor:function(){var e=Aria.$global.navigator,t=e?e.userAgent.toLowerCase():"";this.ua=t,this.isIE=!1
,this.isIE6=!1,this.isIE7=!1,this.isIE8=!1,this.isIE9=!1,this.isIE10=!1,this.isOpera=!1,this.isChrome=!1,this.isSafari=!1,this.isWebkit=!1,this.isGecko=!1,this.isFirefox=!1,this.version="",this.isWindows=!1,this.isMac=!1,this.name="",this.environment="",this.majorVersion="",this.isPhone=!1,this.isTablet=!1,this.isIOS=!1,this.isAndroid=!1,this.isWindowsPhone=!1,this.isBlackBerry=!1,this.isSymbian=!1,this.isOtherMobile=!1,this.isMobileView=!1,this.DesktopView=!1,this.isFF=!1,this.isBlackBerryBrowser=!1,this.isAndroidBrowser=!1
,this.isSafariMobile=!1,this.isSafari=!1,this.isChrome=!1,this.isIEMobile=!1,this.isOperaMobile=!1,this.isOperaMini=!1,this.isS60=!1,this.isOtherBrowser=!1,this.osName="",this.osVersion="",this.browserType="",this.browserVersion="",this.deviceName="",this._init()},$prototype:{toString:function(){return this.name+" "+this.version},_init:function(){var e=this.ua;if(e.indexOf("msie")>-1){this.isIE=!0,this.name="IE";if(/msie[\/\s]((?:\d+\.?)+)/.test(e)){this.version=RegExp.$1;var t=parseInt(this.version,10);if(t==6
)this.isIE6=!0;else if(t>=7){var n=Aria.$frameworkWindow.document,r=n.documentMode||7;this["isIE"+r]=!0,r!=t&&(this.version=r+".0")}}}else e.indexOf("opera")>-1?(this.isOpera=!0,this.name="Opera"):e.indexOf("chrome")>-1?(this.isChrome=!0,this.name="Chrome"):e.indexOf("webkit")>-1?(this.isSafari=!0,this.name="Safari"):(e.indexOf("gecko")>-1&&(this.isGecko=!0),e.indexOf("firefox")>-1&&(this.name="Firefox",this.isFirefox=!0));this.isWebkit=this.isSafari||this.isChrome,e.indexOf("windows")!=-1||e.indexOf("win32"
)!=-1?(this.isWindows=!0,this.environment="Windows"):e.indexOf("macintosh")!=-1&&(this.isMac=!0,this.environment="MacOS"),this.isIE||(this.isFirefox?/firefox[\/\s]((?:\d+\.?)+)/.test(e)&&(this.version=RegExp.$1):this.isSafari?/version[\/\s]((?:\d+\.?)+)/.test(e)&&(this.version=RegExp.$1):this.isChrome?/chrome[\/\s]((?:\d+\.?)+)/.test(e)&&(this.version=RegExp.$1):this.isOpera&&/version[\/\s]((?:\d+\.?)+)/.test(e)&&(this.version=RegExp.$1)),this.version&&/(\d+)\./.test(this.version)&&(this.majorVersion=parseInt
(RegExp.$1,10));if(this.ua){var i=[{pattern:/(android)[\/\s-]?([\w\.]+)*/i},{pattern:/(ip[honead]+).*os\s*([\w]+)*\slike\smac/i},{pattern:/(blackberry).+version\/([\w\.]+)/i},{pattern:/(rim\stablet+).*os\s*([\w\.]+)*/i},{pattern:/(windows\sphone\sos|windows\s?[mobile]*)[\s\/\;]?([ntwce\d\.\s]+\w)/i},{pattern:/(symbian\s?os|symbos|s60(?=;))[\/\s-]?([\w\.]+)*/i},{pattern:/(webos|palm\sos|bada|rim\sos|meego)[\/\s-]?([\w\.]+)*/i}],s=[{pattern:/(chrome|crios)\/((\d+)?[\w\.]+)/i},{pattern:/(mobile\ssafari)\/((\d+)?[\w\.]+)/i
},{pattern:/(mobile)\/\w+\s(safari)\/([\w\.]+)/i},{pattern:/(iemobile)[\/\s]?((\d+)?[\w\.]*)/i},{pattern:/(safari)\/((\d+)?[\w\.]+)/i},{pattern:/(series60.+(browserng))\/((\d+)?[\w\.]+)/i},{pattern:/(firefox)\/([\w\.]+).+(fennec)\/\d+/i},{pattern:/(opera\smobi)\/((\d+)?[\w\.-]+)/i},{pattern:/(opera\smini)\/((\d+)?[\w\.-]+)/i},{pattern:/(dolfin|Blazer|S40OviBrowser)\/((\d+)?[\w\.]+)/i}],o=[{pattern:/\(((ipad|playbook));/i},{pattern:/\(((ip[honed]+));/i},{pattern:/(blackberry[\s-]?\w+)/i},{pattern:/(hp)\s([\w\s]+\w)/i
},{pattern:/(htc)[;_\s-]+([\w\s]+(?=\))|\w+)*/i},{pattern:/(sam[sung]*)[\s-]*(\w+-?[\w-]*)*/i},{pattern:/((s[cgp]h-\w+|gt-\w+|galaxy\snexus))/i},{pattern:/sec-((sgh\w+))/i},{pattern:/(maemo|nokia).*(\w|n900|lumia\s\d+)/i},{pattern:/(lg)[e;\s\-\/]+(\w+)*/i},{pattern:/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|huawei|meizu|motorola)[\s_-]?([\w-]+)*/i}];this.__testUaMatch(i,"OS"),this.__testUaMatch(s,"BROWSER"),this.__testUaMatch(o,"DEVICE")}},__testUaMatch:function(e,t){var n;for(var r=0,i=e.length
;r<i;r++){if(t==="OS"){n=this.__checkNavigator(e[r].pattern,this.ua);if(n){this.__setOs(n,r);break}}if(t==="BROWSER"){n=this.__checkNavigator(e[r].pattern,this.ua);if(n){this.__setBrowser(n,r);break}}if(t==="DEVICE"){n=this.__checkNavigator(e[r].pattern,this.ua);if(n){this.__setDevice(n);break}}}},__checkNavigator:function(e,t){return e.exec(t)},__setDevice:function(e){this.deviceName=e[1]||""},__setBrowser:function(e,t){var n=["Mobile Safari","Chrome","Other"];switch(t){case 0:this.browserType=n[1],this.browserVersion=
e[2]||"",this.isChrome=!0;break;case 1:this.browserType=e[1]||"",this.browserVersion=e[2]||"",this.isAndroid&&(this.isAndroidBrowser=!0),this.isBlackBerry&&(this.isBlackBerryBrowser=!0);break;case 2:this.browserType=n[0],this.browserVersion=e[3]||"",this.isSafariMobile=!0;break;case 3:this.browserType=e[1]||"",this.browserVersion=e[2]||"",e[0]&&(e[0].indexOf("XBLWP7")>-1||e[0].indexOf("ZuneWP7")>-1)?this.DesktopView=!0:this.isMobileView=!0,this.isIEMobile=!0;break;case 4:this.browserType=e[1]||"",this.browserVersion=
e[2]||"",this.isSafari=!0;break;case 5:this.browserType=e[2]||"",this.browserVersion=e[3]||"",this.isS60=!0;break;case 6:this.browserType=e[1]||"",this.browserVersion=e[2]||"",this.isFF=!0;break;case 7:this.browserType=e[1]||"",this.browserVersion=e[2]||"",this.isFF=!0;break;case 8:this.browserType=e[1]||"",this.browserVersion=e[2]||"",this.isFF=!0;break;case 9:this.browserType=n[2],this.browserVersion=e[2]||"",this.isOtherBrowser=!0}},__setOs:function(e,t){var n=["Android","IOS","BlackBerry","BlackBerry Tablet OS"
,"Windows","Symbian","Other"];switch(t){case 0:this.isAndroid=!0,this.osName=n[0],this.osVersion=e[2]||"",e[2]&&e[2].match(/\d/)+""=="3"?this.isTablet=!0:this.isPhone=!0;break;case 1:this.isIOS=!0,this.osName=n[1];var r=e[2]||"";this.osVersion=r.replace(/\_/g,"."),e[1]=="iPad"?this.isTablet=!0:this.isPhone=!0;break;case 2:this.isBlackBerry=!0,this.osName=n[2],this.osVersion=e[2]||"",this.isPhone=!0;break;case 3:this.isBlackBerry=!0,this.osName=n[3],this.osVersion=e[2]||"",this.isTablet=!0;break;case 4:this.isWindowsPhone=!0
,this.osName=n[4],this.osVersion=e[2]||"",this.isPhone=!0;break;case 5:this.isSymbian=!0,this.osName=n[5],this.osVersion=e[2]||"",this.isPhone=!0;break;case 6:this.isOtherMobile=!0,this.osName=n[6],this.osVersion=e[2]||"",this.isPhone=!0}this.osVersion=this.osVersion.replace(/\s*/g,"")}}}),Aria.classDefinition({$classpath:"aria.dom.DomReady",$singleton:!0,$events:{ready:"Raised when the DOM is in ready state."},$constructor:function(){this.isReady=!1,this._isListening=!1,this._listenersToRemove=[]},$prototype
:{onReady:function(e){this.isReady?this.$callback(e):this.$on({ready:e,scope:this}),this._isListening||(this._isListening=!0,this._listen())},_listen:function(){var e=Aria.$frameworkWindow;if(e==null){this._raiseReadyEvent();return}this._checkReadyState(!1);if(this.isReady)return;var t=e.document,n=aria.core.Browser,r=this,i;if(e.addEventListener){n.isOpera?(i=function(){r._checkCSSLoaded()},t.addEventListener("DOMContentLoaded",i,!1),this._listenersToRemove.push([t,"removeEventListener","DOMContentLoaded",i
])):(i=function(){r._raiseReadyEvent()},t.addEventListener("DOMContentLoaded",i,!1),this._listenersToRemove.push([t,"removeEventListener","DOMContentLoaded",i]));var s=function(){r._raiseReadyEvent()};this._listenersToRemove.push([e,"removeEventListener","load",s]),e.addEventListener("load",s,!1)}else e.attachEvent&&(e===e.top?this._checkScroll():r._checkReadyState(!0),i=function(){r._raiseReadyEvent()},this._listenersToRemove.push([e,"detachEvent","onload",i]),e.attachEvent("onload",i))},_checkReadyState:function(
e){var t=Aria.$frameworkWindow.document,n=this;t.readyState==="complete"?this._raiseReadyEvent():e&&setTimeout(function(){n._checkReadyState()},16)},_checkCSSLoaded:function(){var e=this,t=Aria.$frameworkWindow.document;for(var n=0;n<t.styleSheets.length;n++)if(t.styleSheets[n].disabled){setTimeout(function(){e._checkCSSLoaded()},16);return}this._raiseReadyEvent()},_checkScroll:function(){var e=this;try{Aria.$frameworkWindow.document.documentElement.doScroll("left")}catch(t){setTimeout(function(){e._checkScroll
()},16);return}this._raiseReadyEvent()},_raiseReadyEvent:function(){if(this.isReady)return;this.isReady=!0,this._removeListeners(),this.$raiseEvent("ready")},_removeListeners:function(){var e=this._listenersToRemove,t;for(var n=0,r=e.length;n<r;n++)t=e[n],t[0][t[1]](t[2],t[3],!1);this._listenersToRemove=[]}}}),Aria.classDefinition({$classpath:"aria.core.Cache",$singleton:!0,$statics:{EXTENSION_MAP:{JS:".js",TPL:".tpl",CSS:".tpl.css",TML:".tml",CML:".cml",TXT:".tpl.txt",RES:".js"}},$prototype:{content:{},STATUS_NEW
:1,STATUS_LOADING:2,STATUS_AVAILABLE:3,STATUS_ERROR:4,getItem:function(e,t,n){n!==!0&&(n=!1);var r=null;if(n){this.content[e]==null&&(this.content[e]={});var r=this.content[e][t];r==null&&(r={status:this.STATUS_NEW,value:null},this.content[e][t]=r)}else this.content[e]!=null&&(r=this.content[e][t]);return r},getFilename:function(e){var t=this.getItem("classes",e,!1);if(t)return e.replace(/\./g,"/")+this.EXTENSION_MAP[t.content]}}}),Aria.classDefinition({$classpath:"aria.core.ClassLoader",$events:{classReady:
{description:"",properties:{refClasspath:"{String} classpath of the reference class if any"}},classError:{description:"",properties:{refClasspath:"{String} classpath of the reference class if any"}},complete:{description:"",properties:{refClasspath:"{String} classpath of the reference class if any"}}},$constructor:function(e,t){this._refClasspath=e,e&&(this._refLogicalPath=aria.core.ClassMgr.getBaseLogicalPath(e,t)),this._classGeneratorClassName=null,this._fullLogicalPath=null,this.callback=null,this._mdp=null
,this._mdpErrors=!1,this._isLoadingRefDefinition=!1,this._classDefinitionCalled=!1,this.handleError=!0},$statics:{CLASS_LOAD_FAILURE:"Class definition for %1 cannot be loaded.",CLASS_LOAD_ERROR:"Load of class %1 failed",CLASS_LOAD_MISSING_REF:"ClassLoader.loadClassDefinition() cannot be called if no reference classpath is defined.",MISSING_CLASS_DEFINITION:"Error: the definition of class '%2' was not found in logical path '%1' - please check the classpath defined in this file."},$prototype:{loadClassDefinition
:function(){if(this._isLoadingRefDefinition)return;this._isLoadingRefDefinition=!0;if(this._refClasspath==null){this.$logError(this.CLASS_LOAD_MISSING_REF);return}aria.core.DownloadMgr.loadFile(this.getRefLogicalPath(),{fn:this._onClassDefinitionReceive,scope:this},{fullLogicalPath:this._fullLogicalPath})},getRefLogicalPath:function(){return this._refLogicalPath},_onClassDefinitionReceive:function(e){var t=this.getRefLogicalPath(),n=aria.core.DownloadMgr.getFileContent(t),r=!1;if(!n)this.handleError&&this.$logError
(this.CLASS_LOAD_FAILURE,this._refClasspath),r=!0;else try{this._loadClass(n,t)}catch(i){this.handleError&&this.$logError(this.CLASS_LOAD_ERROR,[this._refClasspath],i),r=!0}return r&&aria.core.ClassMgr.notifyClassLoadError(this._refClasspath),t=n=null,r},_loadClass:function(e,t){this.$assert(204,!1)},addDependencies:function(e,t){if(e===!1){this._mdpErrors=!0;return}var n=e.length,r,i,s=aria.core.ClassMgr;for(var o=0;n>o;o++)i=e[o],r=s.getClassLoader(i,t),r&&(r.handleError=this.handleError,this._mdp||(this._mdp=
[]),this._mdp.push({loader:r,classpath:i,isReady:!1}),r.$on({classReady:this._onMdpLoad,classError:this._onMdpLoad,scope:this}));r=s=null},loadDependencies:function(){var e=this._mdp;if(e){var t=e.length;for(var n=0;n<t;n+=1){var r=e[n];r.isReady||r.loader.loadClassDefinition();if(!this._mdp)break}}else this._mdpErrors&&this._handleError()},getCircular:function(e){if(!e)e=this._refClasspath;else if(this._refClasspath==e)return!0;var t;if(this._mdp)for(var n=0,r=this._mdp.length;n<r;n++){t=this._mdp[n].loader
.getCircular(e);if(t)return t===!0?this._refClasspath:t}return!1},_onMdpLoad:function(e){e.name==="classError"&&(this._mdpErrors=!0);var t=e.refClasspath;this.$assert(283,!!t),this.$assert(284,this._mdp!=null);var n=this._mdp.length,r,i=!0,s=!1;for(var o=0;n>o;o++){r=this._mdp[o];if(!s&&!r.isReady&&r.classpath==t)s=!0,r.isReady=!0;else if(i)i=r.isReady;else if(s)break}this.$assert(301,s===!0);if(!i)return;this._mdpErrors?this._handleError():this._refClasspath!=null?(this.$assert(286,this.callback!=null),this
.callback.fn.call(this.callback.scope,this.callback.args)):(this._mdp=null,this.notifyLoadComplete())},_handleError:function(){this._refClasspath!=null?aria.core.ClassMgr.notifyClassLoadError(this._refClasspath):this.notifyLoadError()},notifyLoadError:function(){this.$raiseEvent({name:"classError",refClasspath:this._refClasspath}),this.$raiseEvent({name:"complete",refClasspath:this._refClasspath})},notifyLoadComplete:function(){this.$raiseEvent({name:"classReady",refClasspath:this._refClasspath}),this.$raiseEvent
({name:"complete",refClasspath:this._refClasspath})},notifyClassDefinitionCalled:function(){this._classDefinitionCalled=!0},_loadClassAndGenerate:function(e,t,n){var r=/^\s*Aria\.classDefinition\(/;if(r.test(e))this._evalGeneratedFile({classDef:e,scope:this},{logicalPath:t});else{var i="aria.templates."+this._classGeneratorClassName,s=[i];n&&s.push(n),Aria.load({classes:s,oncomplete:{fn:this.__generateClass,scope:this,args:{classDef:e,logicalPath:t,classpath:this._refClasspath}}})}},__generateClass:function(
e){var t=aria.templates[this._classGeneratorClassName];try{t.parseTemplate(e.classDef,!1,{fn:this.__evalGeneratedClass,scope:this,args:{logicalPath:e.logicalPath,classGenerator:t}},{file_classpath:e.logicalPath})}catch(n){this.$logError(this.CLASS_LOAD_ERROR,[this._refClasspath],n)}},__fallbackGenerateClass:function(e,t){this.$logWarn(this.TEMPLATE_DEBUG_EVAL_ERROR,[this._refClasspath]);var n=e.classGenerator;n.parseTemplateFromTree(t,!1,{fn:this.__evalGeneratedClass,scope:this,args:{logicalPath:e.logicalPath
,classGenerator:n}},{file_classpath:e.logicalPath},!0)},__evalGeneratedClass:function(e,t){var n=e.classDef;try{Aria.eval(n,t.logicalPath),this._classDefinitionCalled||(this.$logError(this.MISSING_CLASS_DEFINITION,[this.getRefLogicalPath(),this._refClasspath]),aria.core.ClassMgr.notifyClassLoadError(this._refClasspath))}catch(r){if(!e.debug&&Aria.debug)try{this.__fallbackGenerateClass(t,e.tree)}catch(i){this.$logError(this.TEMPLATE_DEBUG_EVAL_ERROR,[this._refClasspath],i)}else this.$logError(this.TEMPLATE_EVAL_ERROR
,[this._refClasspath],r)}}}}),Aria.classDefinition({$classpath:"aria.core.JsClassLoader",$extends:"aria.core.ClassLoader",$constructor:function(){this.$ClassLoader.constructor.apply(this,arguments),this._refLogicalPath+=".js"},$prototype:{_loadClass:function(e,t){Aria.eval(e,t),this._classDefinitionCalled||(this.$logError(this.MISSING_CLASS_DEFINITION,[this.getRefLogicalPath(),this._refClasspath]),aria.core.ClassMgr.notifyClassLoadError(this._refClasspath))}}}),function(){var e=function(e){var t=e.cfg.tplDiv
;t&&aria.utils.Dom.replaceHTML(t,"#TEMPLATE ERROR#"),this.$callback(e.cb,{success:!1})},t=function(e,t){var n=t.tplCtxt,r=t.cfg;n.viewReady(),this.$callback(t.cb,{success:!0,tplCtxt:r.provideContext?n:null})},n=function(n,r){var i=r.cfg,s=r.cb,o=new aria.templates.TemplateCtxt;n.moduleCtrlPrivate&&i.moduleCtrl.autoDispose&&(i.toDispose?i.toDispose.push(n.moduleCtrlPrivate):i.toDispose=[n.moduleCtrlPrivate]),i.moduleCtrl=n.moduleCtrl,i.isRootTemplate=!0;var u=o.initTemplate(i);u&&o.dataReady();var a=i.tplDiv;
aria.core.Browser.isIE&&(a.style.background=""),a.className=o.getCSSClassNames(),u?(r.tplCtxt=o,o.$onOnce({SectionRefreshed:{fn:t,scope:this,args:r}}),o.$refresh()):(o.$dispose(),e.call(this,r))},r=function(e){var t=e.cfg,r=t.moduleCtrl;r&&!r.getData?aria.templates.ModuleCtrlFactory.createModuleCtrl(r,{fn:n,args:e,scope:this}):(r&&!t.moduleCtrlPrivate&&r.$publicInterface&&(t.moduleCtrl=r.$publicInterface()),n.call(this,{moduleCtrl:t.moduleCtrl},e))},i=function(t){var n=t.cfg,i=t.cb;if(!aria.core.JsonValidator
.normalize({json:n,beanName:"aria.templates.CfgBeans.LoadTemplateCfg"})){this.$callback(i,{success:!1});return}var s=["aria.templates.TemplateCtxt","aria.templates.CSSMgr"],o=n.moduleCtrl;if(o&&!o.getData){if(!aria.core.JsonValidator.normalize({json:o,beanName:"aria.templates.CfgBeans.InitModuleCtrl"})){this.$callback(i,{success:!1});return}s.push("aria.templates.ModuleCtrlFactory",o.classpath)}var u=["aria.templates.GlobalStyle","aria.widgets.GlobalStyle"];n.reload&&(aria.templates.TemplateManager.unloadTemplate
(n.classpath,n.reloadByPassCache),aria.templates.CSSMgr&&(u=u.concat(aria.templates.CSSMgr.getInvalidClasspaths(!0))));var a=aria.templates.Layout;n.rootDim&&a.setRootDim(n.rootDim);var f=n.div;f=aria.utils.Dom.replaceHTML(f,"");if(!f){this.$callback(i,{success:!1});return}Aria.minSizeMode&&(f.style.border="2px solid red"),n.div=f,f.className=this.addPrintOptions(f.className,n.printOptions);if(n.width!=null||n.height!=null)a.setDivSize(f,n.width,n.height),(typeof n.width=="object"||typeof n.height=="object")&&
a.registerAutoresize(f,n.width,n.height);if(aria.core.Browser.isIE6||aria.core.Browser.isIE7){var l=f.style.position;l!="absolute"&&l!="relative"&&(f.style.position="relative")}var c=Aria.$window.document.createElement("div");c.className="xLDI",f.appendChild(c),n.tplDiv=c,Aria.load({classes:s,templates:[n.classpath],css:u,oncomplete:{scope:this,args:t,fn:r},onerror:{scope:this,args:t,fn:e}}),f=null,c=null};Aria.classDefinition({$classpath:"aria.core.TplClassLoader",$extends:"aria.core.ClassLoader",$constructor
:function(){this.$ClassLoader.constructor.apply(this,arguments),this._refLogicalPath+=".tpl",this._classGeneratorClassName="TplClassGenerator"},$onload:function(){var e=aria.core.TplClassLoader;e.$callback=aria.core.JsObject.prototype.$callback,e.$logError=aria.core.JsObject.prototype.$logError,e.$normCallback=aria.core.JsObject.prototype.$normCallback,e.$classpath="aria.core.TplClassLoader"},$statics:{TEMPLATE_EVAL_ERROR:"Error while evaluating the class generated from template '%1'",TEMPLATE_DEBUG_EVAL_ERROR
:"Error while evaluating the class generated from template '%1'",MISSING_TPLSCRIPTDEFINITION:"The template script associated to template %1 must be defined using Aria.tplScriptDefinition.",_importScriptPrototype:function(e,t){var n=e.tplScriptDefinition;if(!n)return this.$logError(this.MISSING_TPLSCRIPTDEFINITION,[t.$classpath]);var r=n.$classpath.split("."),i=r[r.length-1],s="$"+i,o={};if(t[s])return this.$logError(Aria.DUPLICATE_CLASSNAME,[n.$classpath]);Aria.copyObject(n.$prototype,o),Aria.copyObject(n.$statics
,o);var u=e.classDefinition.$resources;if(u){t.$resources||(t.$resources={});var a=e.prototype;for(var f in u)u.hasOwnProperty(f)&&(t[f]&&!t.$resources[f]?this.$logError(Aria.RESOURCES_HANDLE_CONFLICT,[f,n.$classpath]):(o[f]=a[f],t.$resources[f]=u[f]))}var l=e.classDefinition.$texts;if(l){t.$texts||(t.$texts={});for(var f in l)l.hasOwnProperty(f)&&(t[f]&&!t.$texts[f]?this.$logError(Aria.TEXT_TEMPLATE_HANDLE_CONFLICT,[f,n.$classpath]):(o[f]=e.prototype[f],t.$texts[f]=l[f]))}Aria.copyObject(o,t),o.constructor=
n.$constructor||Aria.empty,o.$destructor=n.$destructor||Aria.empty,t[s]=o},addPrintOptions:function(e,t){return e=e.replace(/(\s|^)\s*xPrint\w*/g,""),t=="adaptX"?e+=" xPrintAdaptX":t=="adaptY"?e+=" xPrintAdaptY":t=="adaptXY"?e+=" xPrintAdaptX xPrintAdaptY":t=="hidden"&&(e+=" xPrintHide"),e},loadTemplate:function(e,t){var n=Aria.getClassRef("aria.core.environment.Customizations");n&&n.isCustomized()&&!n.descriptorLoaded()?n.$onOnce({descriptorLoaded:{fn:this._startLoad,scope:this,args:{cfg:e,cb:t}}}):this._startLoad
(null,{cfg:e,cb:t})},_startLoad:function(e,t){var n=t.cfg,r=t.cb,s=Aria.getClassRef("aria.core.environment.Customizations"),o=n.origClasspath||n.classpath;n.classpath=s?s.getTemplateCP(o):o,n.origClasspath=o,Aria.load({classes:["aria.templates.Layout","aria.templates.CfgBeans","aria.utils.Dom","aria.templates.TemplateManager"],oncomplete:{fn:i,args:{cfg:n,cb:r},scope:this}})},disposeTemplate:function(e){var t;typeof e=="string"&&(e=aria.utils.Dom.getElementById(e));if(aria&&aria.utils&&aria.utils.Dom)return aria
.templates.TemplateCtxtManager.disposeFromDom(e)}},$prototype:{_loadClass:function(e,t){this._loadClassAndGenerate(e,t)}}})}(),Aria.classDefinition({$classpath:"aria.core.CSSClassLoader",$extends:"aria.core.ClassLoader",$constructor:function(){this.$ClassLoader.constructor.apply(this,arguments),this._refLogicalPath+=".tpl.css",this._classGeneratorClassName="CSSClassGenerator"},$statics:{TEMPLATE_EVAL_ERROR:"Error while evaluating the class generated from CSS template '%1'",TEMPLATE_DEBUG_EVAL_ERROR:"Error while evaluating the class generated from CSS template '%1'"
},$prototype:{_loadClass:function(e,t){this._loadClassAndGenerate(e,t,"aria.templates.CSSMgr")}}}),Aria.classDefinition({$classpath:"aria.core.ClassMgr",$singleton:!0,$events:{classComplete:{description:"",properties:{refClasspath:"{String} classpath of the reference class if any"}}},$constructor:function(){this._cache=null,this._classTypes={JS:"aria.core.JsClassLoader",TPL:"aria.core.TplClassLoader",RES:"aria.core.ResClassLoader",CSS:"aria.core.CSSClassLoader",TML:"aria.core.TmlClassLoader",CML:"aria.core.CmlClassLoader"
,TXT:"aria.core.TxtClassLoader"}},$statics:{CIRCULAR_DEPENDENCY:"Class %1 and %2 have circular dependency",MISSING_CLASSLOADER:"The class loader of type %1 needed to load class %2 is missing. Make sure it is packaged."},$prototype:{getBaseLogicalPath:function(e,t){var n=e.split(".");return n.join("/")},notifyClassLoad:function(e){this._cache||(this._cache=aria.core.Cache),this.$assert(1,this._cache);var t=this._cache.getItem("classes",e,!0);t.status=this._cache.STATUS_AVAILABLE,t.loader&&t.loader.notifyLoadComplete
();var n=Aria.getClassRef(e);if(n){var r=Aria.getClassRef(e).classDefinition;r&&r.$css&&aria.templates.CSSMgr.registerDependencies(e,r.$css)}},notifyClassLoadError:function(e){this._cache||(this._cache=aria.core.Cache),this.$assert(1,this._cache);var t=this._cache.getItem("classes",e,!0);t.status=this._cache.STATUS_ERROR,t.loader&&t.loader.notifyLoadError()},filterMissingDependencies:function(e,t){if(!e)return null;var n=this._cache,r,i,s=null,o;for(var u=0,a=e.length;u<a;u++){r=e[u],i=n.getItem("classes",r,!0
),o=i.status;if(o!=n.STATUS_AVAILABLE){if(o==n.STATUS_ERROR)return!1;o==n.STATUS_NEW&&Aria.getClassRef(r)&&t!="RES"?i.status=n.STATUS_AVAILABLE:(s||(s=[]),s.push(r))}}return s},loadClassDependencies:function(e,t,n){this._cache||(this._cache=aria.core.Cache),this.$assert(2,this._cache),this.$assert(72,n&&n.fn&&n.scope);var r=this._cache,i=this.getClassLoader(e);if(!i){var s=r.getItem("classes",e,!0);s.status=r.STATUS_LOADING,s=null,i=this.getClassLoader(e)}i.notifyClassDefinitionCalled();if(!t)return!0;i.callback=
n;var o=!0;for(var u in t)if(t.hasOwnProperty(u)){var a=this.filterMissingDependencies(t[u]);a!=null&&(o=!1,i.addDependencies(a,u))}if(o){var s=r.getItem("classes",e,!0);return s.status=r.STATUS_LOADING,!0}var f=i.getCircular();return f?(this.$logError(this.CIRCULAR_DEPENDENCY,[e,f]),this.notifyClassLoadError(e)):(i.loadDependencies(),!1)},getClassLoader:function(e,t,n){var r=this._cache,i=r.getItem("classes",e,!0),s=i.status;if(s==r.STATUS_AVAILABLE||s==r.STATUS_ERROR)return null;var o=i.loader;if(!o){var u=
t!=null?this._classTypes[t]:aria.core.ClassLoader;typeof u=="string"&&(u=Aria.getClassRef(u)),u?(o=new u(e,t),i.loader=o,i.content=t,o.$on({complete:this._onClassLoaderComplete,scope:this})):this.$logError(this.MISSING_CLASSLOADER,[t,e])}return i.status=r.STATUS_LOADING,o},unloadClass:function(e,t){var n=Aria.getClassRef(e);if(n){var r=Aria.getClassRef(e).classDefinition;r&&r.$css&&aria.templates.CSSMgr.unregisterDependencies(e,r.$css,!0,t)}Aria.dispose(e),Aria.cleanGetClassRefCache(e);var i=aria.core.Cache.
getFilename(e);i&&aria.core.DownloadMgr.clearFile(i,t);var s=this._cache.content.classes;delete s[e]},unloadClassesByType:function(e,t){var n=this._cache.content.classes;for(var r in n)if(n.hasOwnProperty(r)&&n[r].content===e){if(t){Aria.dispose(r),Aria.cleanGetClassRefCache(r);var i=aria.core.Cache.getFilename(r);aria.core.DownloadMgr.clearFile(i,!0)}delete n[r]}},_onClassLoaderComplete:function(e){var t=e.refClasspath;this.$assert(4,t);var n=e.src;n.$dispose();var r=aria.core.Cache.getItem("classes",t);r&&
(r.loader=null,delete r.loader),this.$raiseEvent({name:"classComplete",refClasspath:t})}}}),Aria.classDefinition({$classpath:"aria.core.DownloadMgr",$singleton:!0,$dependencies:["aria.utils.Type","aria.utils.Json"],$constructor:function(){this._cache=null,this._urlMap={},this._rootMap={},this._jsonUtils=aria.utils.Json,this._typeUtils=aria.utils.Type,this._timestampURL={}},$destructor:function(){this._cache=null,this._urlMap=null,this._rootMap=null,this._jsonUtils=null,this._timestampURL=null},$prototype:{updateUrlMap
:function(e){this._jsonUtils.inject(e,this._urlMap,!0)},updateRootMap:function(e){this._jsonUtils.inject(e,this._rootMap,!0)},enableURLTimestamp:function(e,t){t!==!1?this._timestampURL[e]=!0:delete this._timestampURL[e]},getURLWithTimestamp:function(e,t){if(t||this._timestampURL[e]){var n=(new Date).getTime();return e.indexOf("?")!=-1?e+"&timestamp="+n:e+"?timestamp="+n}return e},getPackages:function(e){this._typeUtils.isString(e)&&(e=[e]);var t=function(e,n,r){if(e.length===0)return;for(var i in n){var s=n[
i];if(typeof s=="string"){s="/"+s;for(var o=0,u=e.length;o<u;o++){var a=e[o];if(s.substr(0,a.length)==a){r[s]=!0,e.slice(o,o);break}}}else t(e,n[i],r)}},n=[];for(var r=0,i=e.length;r<i;r++)n.push(e[r]);var s={};t(e,this._urlMap,s);var o=[];for(var u in s)o.push(u);return o},loadFile:function(e,t,n){this._cache||(this._cache=aria.core.Cache),this.$assert(34,this._cache),this.$assert(35,t.scope),this.$assert(36,t.fn);var r=this._cache,i=r.getItem("files",e,!0),s=i.status;if(s==r.STATUS_AVAILABLE||s==r.STATUS_ERROR
){var o={name:"fileReady",src:this,logicalPaths:[e],url:null};return this.$callback(t,o)}var u=i.loader;if(!u){this.$assert(63,aria.core.FileLoader);var a;n&&n.fullLogicalPath?a=n.fullLogicalPath:a=this.resolveURL(e);var f=r.getItem("urls",a,!0);if(f.status==this._cache.STATUS_AVAILABLE){var o={name:"fileReady",src:this,logicalPaths:[e],url:a,downloadFailed:!0};return this.$callback(t,o)}f.loader?this.$assert(72,f.status==r.STATUS_LOADING):(f.loader=new aria.core.FileLoader(a),f.status=r.STATUS_LOADING,f.loader
.$on({complete:this._onFileLoaderComplete,scope:this})),u=f.loader,i.loader=u,a=f=null}u.addLogicalPath(e);var l=t.args?t.args:null;u.$on({fileReady:{fn:t.fn,args:l,scope:t.scope}}),u.loadFile(),l=u=null},_extractTarget:function(e,t,n){for(var r=0,i=t.length;r<i;r++){var s=t[r];if(!this._typeUtils.isObject(e)||this._typeUtils.isInstanceOf(e,"aria.core.JsObject"))break;if(!e[s]){n?e["*"]&&r==i-1?e=e["*"]:e=e["**"]:e=e["*"];break}e=e[s]}return{node:e,index:r}},resolveURL:function(e,t){var n=e,r=Aria.rootFolderPath
,i=e.lastIndexOf("."),s=e.substring(0,i),o=this._urlMap,u=this._rootMap,a=s.split("/"),f;return t!==!0&&(f=this._extractTarget(o,a,!0),o=f.node,this._typeUtils.isString(o)?n=o:this._typeUtils.isInstanceOf(o,"aria.utils.Callback")?n=o.call(e):this._typeUtils.isFunction(o)&&(n=o.call(null,e))),u=this._extractTarget(u,a).node,this._typeUtils.isString(u)?r=u:this._typeUtils.isInstanceOf(u,"aria.utils.Callback")?r=u.call(e):this._typeUtils.isFunction(u)&&(r=u.call(null,e)),r+n},_onFileLoaderComplete:function(e){var t=
e.src,n=this._cache,r,i=t.getLogicalPaths();if(i){var s=i.length;for(var o=0;s>o;o++)r=n.getItem("files",i[o],!1),r&&(this.$assert(120,r.loader==t),r.loader=null)}r=n.getItem("urls",t.getURL(),!1),r&&(this.$assert(128,r.loader==t),r.loader=null,r.status=this._cache.STATUS_AVAILABLE),t.$dispose(),t=n=r=i=null},loadFileContent:function(e,t,n){this._cache||(this._cache=aria.core.Cache);var r=this._cache.getItem("files",e,!0);n?r.status=this._cache.STATUS_ERROR:(r.value=t,r.status=this._cache.STATUS_AVAILABLE),r=
null},getFileContent:function(e){var t=this._cache.getItem("files",e,!1);return t&&t.status==this._cache.STATUS_AVAILABLE?t.value:null},loadTplFileContent:function(e,t){var n=aria.core.ClassMgr.getBaseLogicalPath(e)+".tpl";this.loadFile(n,{fn:this._onTplFileContentReceive,scope:this,args:{origCb:t}},null)},_onTplFileContentReceive:function(e,t){var n={content:null};e.downloadFailed&&(n.downloadFailed=e.downloadFailed),e.logicalPaths.length>0&&(n.content=this.getFileContent(e.logicalPaths[0])),this.$callback(
t.origCb,n)},clearFile:function(e,t){var n=this._cache.content;delete n.files[e];var r=this.resolveURL(e);delete n.urls[r],t&&this.enableURLTimestamp(r,!0)}}}),Aria.classDefinition({$classpath:"aria.core.FileLoader",$events:{fileReady:{description:"",properties:{logicalPaths:"{Array} expected logical paths associated to the file (a multipart file may contain extra files, which were not asked for)",url:"{String} URL used to retrieve the file (may be the URL of a multipart file)",downloadFailed:"{boolean} if true, no path in logicalPaths could be retrieved successfully (maybe other logical paths)"
}},complete:{description:""}},$constructor:function(e){this._url=e,this._urlItm=aria.core.Cache.getItem("urls",e,!0),this._logicalPaths=[],this._isProcessing=!1,this.status=aria.core.Cache.STATUS_NEW},$statics:{INVALID_MULTIPART:"Error in multipart structure of %1, part %2",LPNOTFOUND_MULTIPART:"The expected logical path %1 was not found in multipart %2",EXPECTED_MULTIPART:"The expected multipart structure was not found in %1."},$prototype:{_multiPartHeader:/^(\/\*[\s\S]*?\*\/\s*\r?\n)?\/\/\*\*\*MULTI-PART(\r?\n[^\n]+\n)/
,_logicalPathHeader:/^\/\/LOGICAL-PATH:([^\s]+)$/,loadFile:function(){if(this._isProcessing)return;this.$assert(33,this._logicalPaths.length>0),this._isProcessing=!0,aria.core.IO.asyncRequest({sender:{classpath:this.$classpath,logicalPaths:this._logicalPaths},url:aria.core.DownloadMgr.getURLWithTimestamp(this._url),callback:{fn:this._onFileReceive,onerror:this._onFileReceive,scope:this},expectedResponseType:"text"})},addLogicalPath:function(e){var t=this._logicalPaths;for(var n=0,r=t.length;n<r;n++)if(t[n]===
e)return!1;return this._logicalPaths.push(e),!0},getLogicalPaths:function(){return this._logicalPaths},getURL:function(){return this._url},_onFileReceive:function(e){var t,n=e.status!="200";this.$assert(79,this._logicalPaths.length>0);if(!n){t=this._multiPartHeader.exec(e.responseText);if(t!=null){var r=e.responseText.split(t[2]),i=r.length,s={},o;for(var u=1;u<i;u+=2){o=this._logicalPathHeader.exec(r[u]),o!=null&&(o=o[1]);var a=r[u+1];if(o==null||a==null){this.$logError(this.INVALID_MULTIPART,[e.url,(u+1)/2
]);continue}u+3>i&&(this._urlItm.status=aria.core.Cache.STATUS_AVAILABLE),s[o]=1,aria.core.DownloadMgr.loadFileContent(o,a,a==null)}var f=0;for(var u=0;u<this._logicalPaths.length;u++)o=this._logicalPaths[u],s[o]!=1&&(this.$logError(this.LPNOTFOUND_MULTIPART,[o,e.url]),aria.core.DownloadMgr.loadFileContent(o,null,!0),f++);f==this._logicalPaths.length&&(n=!0)}else this._urlItm.status=aria.core.Cache.STATUS_AVAILABLE,this._logicalPaths.length==1?aria.core.DownloadMgr.loadFileContent(this._logicalPaths[0],e.responseText
,!1):(this.$logError(this.EXPECTED_MULTIPART,e.url),n=!0)}if(n&&t==null)for(var u=0;u<this._logicalPaths.length;u++)aria.core.DownloadMgr.loadFileContent(this._logicalPaths[u],e.responseText,!0);this.$raiseEvent({name:"fileReady",logicalPaths:this._logicalPaths,url:this._url,downloadFailed:n}),this._isProcessing=!1,this.$raiseEvent({name:"complete"})}}}),Aria.classDefinition({$classpath:"aria.core.Timer",$singleton:!0,$constructor:function(){this._callbacks={},this._cancelIds={},this._cbCount=0,this._numberOfCallbacks=0
},$destructor:function(){this.callbacksRemaining()},$statics:{TIMER_CB_ERROR:"Uncaught exception in Timer callback (%1)",TIMER_CB_ERROR_ERROR:"Uncaught exception in Timer callback error handler (%1)"},$prototype:{_MAX_COUNT:1e5,callbacksRemaining:function(){var e=this._callbacks;if(this._numberOfCallbacks>0){var t;for(var n in e)t=e[n],this.cancelCallback(n+"-"+t.cancelId)}},addCallback:function(e){this.$assert(74,e&&e.scope&&e.fn);var t=e.onerror?e.onerror:null,n=e.onerrorScope?e.onerrorScope:null;this._cbCount++
,this._numberOfCallbacks++;var r=e.delay>0?e.delay:1,i=e.args?e.args:null;this._callbacks[""+this._cbCount]={fn:e.fn,scope:e.scope,delay:r,args:i,onerror:t,onerrorScope:n};var s=this._cbCount,o=setTimeout(function(){aria.core.Timer._execCallback(s)},r);this._cancelIds[""+o]=this._cbCount,this._callbacks[""+this._cbCount].cancelId=o;var u=this._cbCount+"-"+o;return this._cbCount>this._MAX_COUNT&&(this._cbCount=0),u},_execCallback:function(e){var t=""+e,n=this._callbacks[t];if(n){this._deleteCallback(t,!0);try{
n.fn.call(n.scope,n.args)}catch(r){if(n.onerror!=null&&typeof (n.onerror=="function"))try{var i=n.onerrorScope!=null?n.onerrorScope:n.scope;n.onerror.call(i,r,n)}catch(s){this.$logError(this.TIMER_CB_ERROR_ERROR,[t],s)}else this.$logError(this.TIMER_CB_ERROR,[t],r)}n.fn=null,n.scope=null,n.onerror=null,n.onerrorScope=null}},cancelCallback:function(e){var t=e.split("-"),n=t[0],r=parseInt(t[1],10);clearTimeout(r),this._deleteCallback(n)},_deleteCallback:function(e,t){var n=this._callbacks[""+e];n&&(delete this
._cancelIds[""+n.cancelId],this._numberOfCallbacks--,delete this._callbacks[""+e],t||(n.fn=null,n.scope=null,n.onerror=null,n.onerrorScope=null))}}}),function(){var e=aria.utils.Type,t=Aria.__mergeEvents,n=aria.core.ClassMgr,r=-1,i=function(){return r++,r},s=function(e){var t=1e7*Math.random(),n=""+(t|t);while(e[n])n+="x";return n},o={Function:1,Object:1,Interface:1},u={$type:"Function"},a={$type:"Object"},f={$type:"Object"},l=function(t,n,r){var i;if(e.isFunction(t))return u;if(e.isString(t))i={$type:t};else{
if(e.isArray(t))return f;if(!e.isObject(t))return null;t.$type==null?(this.$logWarn("Member '%2' in interface '%1' uses a deprecated way of declaring an object in an interface. Please use {$type:'Object'} instead of {}.",[n,r]),i=a):i=t}var s=i.$type;return o[s]?aria.core.JsonValidator.normalize({json:i,beanName:"aria.core.CfgBeans.ItfMember"+s+"Cfg"})?i:null:null},c=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},h={$interface:function(){},$destructor:function(){},$addListeners
:function(){},$removeListeners:function(){},$unregisterListeners:function(){},$on:function(){},toString:function(){return"["+this.$classpath+"]"}},p=function(){};p.prototype=h;var d={protoProperty:!0},v={};v.__proto__=d;var m=v.protoProperty?function(e,t){e.__proto__=t;for(var n in e)e.hasOwnProperty(n)&&delete e[n]}:function(e,t){var n=e.__$linkItfWrappers;if(n&&e.hasOwnProperty("__$linkItfWrappers"))for(var r=0,i=n.length;r<i;r++)m.call(this,n[r],t);for(var r in e)e.hasOwnProperty(r)&&delete e[r],r in e&&(
e[r]=t[r]);for(var r in t)e[r]=t[r];delete e.__$linkItfWrappers,t.hasOwnProperty("__$linkItfWrappers")?t.__$linkItfWrappers.push(e):t.__$linkItfWrappers=[e]};d=null,v=null,Aria.classDefinition({$classpath:"aria.core.Interfaces",$singleton:!0,$statics:{INVALID_INTERFACE_MEMBER:"The '%1' interface has a '%2' member, which does not respect the constraints on interface member names. This member will be ignored.",INVALID_INTERFACE_MEMBER_DEF:"Invalid definition for the '%2' member on the '%1' interface. This member will be ignored."
,BASE_INTERFACE_UNDEFINED:"Super interface for %1 is undefined (%2)",WRONG_BASE_INTERFACE:"Super interface for %1 is not properly defined: base interfaces (%2) must be defined through Aria.interfaceDefinition.",METHOD_NOT_IMPLEMENTED:"Class '%1' has no implementation of method '%2', required by interface '%3'.",WRONG_INTERFACE:"Interface '%1' declared in the $implements section of class '%2' was not properly defined through Aria.interfaceDefinition."},$prototype:{generateKey:s,linkItfWrappers:m,loadInterface
:function(e){var r=e.$classpath,o,u=null;if(e.$extends){u=Aria.getClassRef(e.$extends);if(!u){this.$logError(this.BASE_INTERFACE_UNDEFINED,[r,e.$extends]),n.notifyClassLoadError(r);return}var a=u?u.interfaceDefinition:null;a=a?a.$noargConstructor:null;if(!a){this.$logError(this.WRONG_BASE_INTERFACE,[r,e.$extends]),n.notifyClassLoadError(r);return}o=new a,o.$interfaces=c(u.prototype.$interfaces)}else o=new p,o.$interfaces={};o.$classpath=r;var f="__iid"+i(),d=e.$interface,v=[],m=[],g=[];for(var y in d)if(d.hasOwnProperty
(y)){if(!Aria.checkJsVarName(y)||h[y]){this.$logError(this.INVALID_INTERFACE_MEMBER,[r,y]),d[y]=null,delete d[y];continue}var b=l.call(this,d[y],r,y);d[y]=b;if(b!=null)if(b.$type=="Function"){var w=b.$callbackParam;w==null&&(w="null"),v.push("p.",y,"=function(){\nreturn i[this.",f,"].$call('",r,"','",y,"',arguments,",w,");\n}\n")}else b.$type=="Interface"?(m.push("this.",y,"=obj.",y,"?obj.",y,".$interface('",b.$classpath,"'):null;\n"),g.push("this.",y,"=null;\n")):b.$type=="Object"&&(m.push("this.",y,"=obj."
,y,";\n"),g.push("this.",y,"=null;\n"));else this.$logError(this.INVALID_INTERFACE_MEMBER_DEF,[r,y]),delete d[y]}o.$events={};var E=!1;u?E=t(o.$events,u.prototype.$events,r):v.push("p.$interface=function(a){\nreturn aria.core.Interfaces.getInterface(i[this.",f,"],a,this);\n};\n"),t(o.$events,e.$events,r)&&!E&&(v.push("p.$addListeners=function(a){\nreturn i[this.",f,"].$addListeners(a,this);\n};\n"),v.push("p.$onOnce=function(a){\nreturn i[this.",f,"].$onOnce(a,this);\n};\n"),v.push("p.$removeListeners=function(a){\nreturn i[this."
,f,"].$removeListeners(a,this);\n};\n"),v.push("p.$unregisterListeners=function(a){\nreturn i[this.",f,"].$unregisterListeners(a,this);\n};\n"),v.push("p.$on=p.$addListeners;\n")),v.push("p.$destructor=function(){\n",g.join(""),"i[this.",f,"]=null;\ndelete i[this.",f,"];\nthis.",f,"=null;\n",u?"e.prototype.$destructor.call(this);\n":"","};\n");var S=[],x={g:s,p:o,c:null,e:u};Aria.nspace(r,!0),S.push("var i={};\nvar evalContext=arguments[2];\nvar g=evalContext.g;\nvar p=evalContext.p;\nvar e=evalContext.e;\nevalContext.c=function(obj){\n"
,u?"e.call(this,obj);\n":"","var k=g(i);\ni[k]=obj;\nthis.",f,"=k;\n",m.join(""),"};\n",v.join(""),"Aria.$global.",r,"=evalContext.c;\n","p=null;\nevalContext=null;\n"),S=S.join(""),Aria.eval(S,r.replace(/\./g,"/")+"-wrapper.js",x);var T=x.c;o.$interfaces[r]=T,T.prototype=o,T.interfaceDefinition=e,T.superInterface=u,e.$noargConstructor=new Function,e.$noargConstructor.prototype=o,Aria.$classes.push(T),n.notifyClassLoad(r)},applyInterface:function(n,r){var i=r.$interfaces;if(i&&i[n])return!0;var s=Aria.getClassRef
(n);if(!s.interfaceDefinition)return this.$logError(this.WRONG_INTERFACE,[n,r.$classpath]),!1;if(s.superInterface){if(!this.applyInterface(s.interfaceDefinition.$extends,r))return!1;i=r.$interfaces}r.hasOwnProperty("$interfaces")||(i=c(i),r.$interfaces=i),i[n]=s,t(r.$events,s.interfaceDefinition.$events,r.$classpath);var o=s.interfaceDefinition.$interface;for(var u in o)if(o.hasOwnProperty(u)&&o[u].$type=="Function"&&!e.isFunction(r[u]))return this.$logError(this.METHOD_NOT_IMPLEMENTED,[r.$classpath,u,n]),!1
;return!0},getInterface:function(t,n,r){var i,s;e.isFunction(n)?(s=n,i=n.interfaceDefinition.$classpath):e.isString(n)&&(i=n);var o=t.__$interfaces,u;if(r!=null&&!r.$interfaces[i])return this.$logError(this.INTERFACE_NOT_SUPPORTED,[i,r.$classpath]),null;if(o){u=o[i];if(u)return u}if(!t.$interfaces[i])return this.$logError(this.INTERFACE_NOT_SUPPORTED,[i,t.$classpath]),null;if(!s){s=Aria.getClassRef(i);if(!s)return null}return o||(o={},t.__$interfaces=o),u=new s(t),o[i]=u,u},disposeInterfaces:function(e){var t=
e.__$interfaces;if(!t)return;for(var n in t)t.hasOwnProperty(n)&&t[n].$destructor&&(t[n].$destructor(),t[n]=null);e.__$interfaces=null}}})}(),Aria.interfaceDefinition({$classpath:"aria.core.transport.ITransports",$interface:{init:function(e){},request:function(e,t){}}}),Aria.classDefinition({$classpath:"aria.core.transport.BaseXHR",$implements:["aria.core.transport.ITransports"],$prototype:{_pollingInterval:50,isReady:!0,init:Aria.empty,request:function(e,t){var n=this._getConnection();n.open(e.method,e.url,!0
);for(var r in e.headers)e.headers.hasOwnProperty(r)&&n.setRequestHeader(r,e.headers[r]);aria.core.IO.setTimeout(e.id,e.timeout,{fn:this.onAbort,scope:this,args:[e.id,n]}),this._handleReadyState(e.id,n,t),n.send(e.data||null)},_getConnection:function(){return this._standardXHR()||this._activeX()},_standardXHR:function(){try{var e=Aria.$global.XMLHttpRequest;return new e}catch(t){}},_activeX:function(){try{var e=Aria.$global.ActiveXObject;return new e("Microsoft.XMLHTTP")}catch(t){}},_handleReadyState:function(
e,t,n){var r=aria.core.IO,i=this;r._poll[e]=setInterval(function(){t&&t.readyState===4&&(aria.core.IO.clearTimeout(e),clearInterval(r._poll[e]),delete r._poll[e],i._handleTransactionResponse(e,t,n))},this._pollingInterval)},_handleTransactionResponse:function(e,t,n){var r,i;try{var s=t.status;s?r=s||200:!s&&t.responseText?r=200:s==1223?r=204:r=13030}catch(o){r=13030}var u=!1;r>=200&&r<300?i=this._createResponse(t):(i={error:[r,t.statusText].join(" "),responseText:t.responseText,responseXML:t.responseXML},u=!0
),i.status=r,n.fn.call(n.scope,u,n.args,i),t=null,i=null},_createResponse:function(e){var t=e.getAllResponseHeaders(),n={};if(t){var r=t.split("\n");for(var i=0;i<r.length;i++){var s=r[i].indexOf(":");s!=-1&&(n[r[i].substring(0,s)]=r[i].substring(s+2).replace(/^\s+|\s+$/g,""))}}var o={statusText:e.status==1223?"No Content":e.statusText,getResponseHeader:n,getAllResponseHeaders:r,responseText:e.responseText,responseXML:e.responseXML};return o},onAbort:function(e,t){return clearInterval(aria.core.IO._poll[e]),delete
aria.core.IO._poll[e],this._inProgress(t)?(t.abort(),!0):!1},_inProgress:function(e){return e.readyState!==4&&e.readyState!==0}}}),Aria.classDefinition({$classpath:"aria.core.transport.XHR",$extends:"aria.core.transport.BaseXHR",$singleton:!0}),Aria.classDefinition({$classpath:"aria.core.IO",$singleton:!0,$events:{request:{description:"",properties:{req:"{aria.core.CfgBeans.IOAsyncRequestCfg} Request object."}},response:{description:"",properties:{req:"{aria.core.CfgBeans.IOAsyncRequestCfg} Request object."}
},startEvent:{description:"",properties:{o:"{Object} The connection object"}},abortEvent:{description:"",properties:{o:"[DEPRECATED]{Object} The connection object",req:"{aria.core.CfgBeans.IOAsyncRequestCfg} Request object that is being aborted."}}},$statics:{COMM_CODE:0,ABORT_CODE:-1,ABORT_ERROR:"transaction aborted",TIMEOUT_ERROR:"timeout expired",MISSING_IO_CALLBACK:"Missing callback in IO call - Please check\nurl: %1",IO_CALLBACK_ERROR:"Error in IO callback handling on url: %1",IO_REQUEST_FAILED:"Invalid Request: \nurl: %1\nerror: %2"
,JSON_PARSING_ERROR:"Response text could not be evaluated as JSON.\nurl: %1\nresponse: %2",MISSING_FORM:"Missing form id or form object in asyncFormSubmit call - Please check the bean: aria.core.CfgBeans.IOAsyncRequestCfg."},$constructor:function(){this.pendingRequests={},this.nbRequests=0,this.nbOKResponses=0,this.nbKOResponses=0,this.trafficUp=0,this.trafficDown=0,this.defaultTimeout=6e4,this._uriScheme=/^([\w\+\.\-]+:)(?:\/\/)?(.*)/,this._uriLocal=/^(?:file):$/,this.useXHRHeader=!0,this.defaultXHRHeader="XMLHttpRequest"
,this.headers={"X-Requested-With":"XMLHttpRequest"},this.useDefaultPostHeader=!0,this.defaultPostHeader="application/x-www-form-urlencoded; charset=UTF-8",this.useDefaultContentTypeHeader=!0,this.defaultContentTypeHeader="application/x-www-form-urlencoded; charset=UTF-8",this._poll={},this._timeOut={},this.__sameDomain="aria.core.transport.XHR",this.__crossDomain="aria.core.transport.XDR",this.__jsonp="aria.core.transport.JsonP",this.__local="aria.core.transport.Local",this.__iframe="aria.core.transport.IFrame"
,this.__serializer=new aria.utils.json.JsonSerializer},$destructor:function(){var e;for(e in this._poll)this._poll.hasOwnProperty(e)&&clearInterval(this._poll[e]);for(e in this._timeOut)this._timeOut.hasOwnProperty(e)&&clearInterval(this._timeOut[e]);this.__serializer&&(this.__serializer.$dispose(),this.__serializer=null),this._poll=null,this._timeOut=null},$prototype:{asyncRequest:function(e){return this.__normalizeRequest(e),this.pendingRequests[e.id]=e,aria.core.IOFiltersMgr?aria.core.IOFiltersMgr.callFiltersOnRequest
(e,{fn:this._afterRequestFilters,scope:this,args:e}):this._afterRequestFilters(null,e),e.id},asyncFormSubmit:function(e){var t;return aria.utils.Type.isHTMLElement(e.form)?t=e.form:aria.utils.Type.isString(e.formId)&&(t=Aria.$window.document.getElementById(e.formId)),t?(e.url||(e.url=t.action),e.method||(e.method=t.method),e.form=t,e.formId=t.id,this.asyncRequest(e)):(this.$logError(this.MISSING_FORM),e.callback.onerror.call(e.callback.scope,e))},_afterRequestFilters:function(e,t){var n=t.id;this.$raiseEvent
({name:"request",req:t}),t.beginDownload=(new Date).getTime(),t.method=="POST"&&t.postData?t.requestSize=t.postData.length:t.requestSize=t.method!="POST"&&t.method!="PUT"||!t.data?0:t.data.length;try{this._prepareTransport(t)}catch(r){aria.core.Timer.addCallback({fn:this._handleResponse,scope:this,delay:10,args:{isInternalError:!0,reqId:t.id,errDescription:r.description||r.message||r.name+r.number}})}return t.id},__normalizeRequest:function(e){this.nbRequests++,e.id=this.nbRequests;var t=["GET","POST","PUT","DELETE"
,"HEAD","TRACE","OPTIONS","CONNECT","PATCH"];e.timeout==null&&(e.timeout=e.callback==null||e.callback.timeout==null?this.defaultTimeout:e.callback.timeout),e.method?e.method=e.method.toUpperCase():e.method="GET";if(!aria.utils.Array.contains(t,e.method))return this.$logWarn("The request method %1 is invalid",[e.method]);var n={};for(var r in this.headers)this.headers.hasOwnProperty(r)&&(n[r]=this.headers[r]);for(var r in e.headers)e.headers.hasOwnProperty(r)&&(n[r]=e.headers[r]);if(e.method==="POST"||e.method==="PUT"
){var i=n["Content-Type"]||e.contentTypeHeader||e.postHeader;!i&&this.useDefaultPostHeader&&(i=this.defaultPostHeader),!i&&this.useDefaultContentTypeHeader&&(i=this.defaultContentTypeHeader),i&&(n["Content-Type"]=i)}this.useXHRHeader?n["X-Requested-With"]=this.defaultXHRHeader:delete n["X-Requested-With"],e.headers=n,e.data||(e.data=e.postData)},_prepareTransport:function(e){var t=e.id,n;e.jsonp?n=this.__jsonp:aria.utils.Type.isHTMLElement(e.form)?n=this.__iframe:n=this._getTransport(e.url,Aria.$frameworkWindow?
Aria.$frameworkWindow.location:null);var r=Aria.getClassRef(n),i={req:e,transport:{classpath:n,instance:r}};r?this._asyncRequest(i):Aria.load({classes:[n],oncomplete:{fn:this._asyncRequest,args:i,scope:this}})},_getTransport:function(e,t){var n=this._uriScheme.exec(e.toLowerCase());if(n&&t){var r=n[1],i=n[2];if(this._uriLocal.test(r))return this.__local;if(r!=t.protocol||i.indexOf(t.host)!==0)return this.__crossDomain}return this.__sameDomain},_asyncRequest:function(e){var t=e.req,n=t.id,r=t.method,i=e.transport
.instance||Aria.getClassRef(e.transport.classpath),s={fn:this._handleResponse,scope:this,args:t};if(!i.isReady)return i.init(n,s);this.trafficUp+=t.requestSize,i.request(t,s)},_handleResponse:function(e,t,n){n||(n={}),!t&&e&&(t=this.pendingRequests[e.reqId]),this.clearTimeout(t.id),this._normalizeResponse(e,t,n),t.res=n,t.endDownload=(new Date).getTime(),t.downloadTime=t.endDownload-t.beginDownload,t.responseSize=n.responseText.length,this.trafficDown+=t.responseSize,this.$raiseEvent({name:"response",req:t})
,delete this.pendingRequests[t.id],aria.core.IOFiltersMgr?aria.core.IOFiltersMgr.callFiltersOnResponse(t,{fn:this._afterResponseFilters,scope:this,args:t}):this._afterResponseFilters(null,t)},_normalizeResponse:function(e,t,n){n.reqId=t.id,n.url=t.url;var r=t.expectedResponseType;if(e){this.nbKOResponses++,n.responseText||(n.responseText="");if(n.responseText&&r==="json")try{n.responseJSON=this.__serializer.parse(n.responseText)}catch(i){this.$logWarn(this.JSON_PARSING_ERROR,[t.url,n.responseText])}n.error||
(n.error=e===!0?e.statusText||"error":e.errDescription)}else this.nbOKResponses++,r&&this._jsonTextConverter(n,r),n.error=null},_afterResponseFilters:function(e,t){var n=t.res,r=t.callback;if(!r)this.$logError(this.MISSING_IO_CALLBACK,[n.url]);else if(n.error!=null)if(r.onerror==null)this.$logError(this.IO_REQUEST_FAILED,[n.url,n.error]);else{var i=r.onerrorScope;i||(i=r.scope);try{r.onerror.call(i,n,r.args)}catch(s){this.$logError(this.IO_CALLBACK_ERROR,[n.url],s)}}else t.expectedResponseType&&this._jsonTextConverter
(n,t.expectedResponseType),r.fn.call(r.scope,n,r.args);t=r=null},updateTransports:function(e){e.sameDomain&&(this.__sameDomain=e.sameDomain),e.crossDomain&&(this.__crossDomain=e.crossDomain),e.jsonp&&(this.__jsonp=e.jsonp),e.local&&(this.__local=e.local),e.iframe&&(this.__iframe=e.iframe)},getTransports:function(){return{sameDomain:this.__sameDomain,crossDomain:this.__crossDomain,jsonp:this.__jsonp,local:this.__local,iframe:this.__iframe}},setTimeout:function(e,t,n){t>0&&(this._timeOut[e]=setTimeout(function(
){aria.core.IO._timeOut[e]&&aria.core.IO.abort({redId:e,getStatus:n},null,!0)},t))},clearTimeout:function(e){clearInterval(this._poll[e]),delete this._poll[e],clearTimeout(this._timeOut[e]),delete this._timeOut[e]},abort:function(e,t,n){if(!e)return!1;var r=e.redId||e,i=this.pendingRequests[r];this.clearTimeout(r);var s=!1;if(e.getStatus){var o=e.getStatus;s=o.fn.apply(o.scope,o.args)}i&&(s=!0,e===r?e={transaction:r}:e.transaction=r);if(s===!0){this.$raiseEvent({name:"abortEvent",o:e,req:i});var u={transaction
:i.id,req:i,status:n?this.COMM_CODE:this.ABORT_CODE,statusText:n?this.TIMEOUT_ERROR:this.ABORT_ERROR};this._handleResponse(!0,i,u)}return s},jsonp:function(e){return e.jsonp||(e.jsonp="callback"),e.expectedResponseType||(e.expectedResponseType="json"),this.asyncRequest(e)},_jsonTextConverter:function(e,t){if(t=="text")!e.responseText&&e.responseJSON!=null&&(aria.utils.Type.isString(e.responseJSON)?e.responseText=e.responseJSON:e.responseText=aria.utils.Json.convertToJsonString(e.responseJSON));else if(t=="json"&&
e.responseJSON==null&&e.responseText!=null){var n=aria.utils.String.substitute(this.JSON_PARSING_ERROR,[e.url,e.responseText]);e.responseJSON=aria.utils.Json.load(e.responseText,this,n)}},reissue:function(e){var t=this.pendingRequests[e];if(t)return delete this.pendingRequests[e],this.asyncRequest(t)}}}),Aria.classDefinition({$classpath:"aria.core.MultiLoader",$constructor:function(e,t){this._autoDispose=t!==!1,this._loadDesc=e,this._clsLoader=null},$statics:{MULTILOADER_CB1_ERROR:"Error detected while executing synchronous callback on MultiLoader."
,MULTILOADER_CB2_ERROR:"Error detected while executing callback on MultiLoader."},$prototype:{load:function(){var e=aria.core.ClassMgr,t=this._loadDesc,n=!1,r=!0,i={JS:e.filterMissingDependencies(t.classes),TPL:e.filterMissingDependencies(t.templates),RES:e.filterMissingDependencies(t.resources,"RES"),CSS:e.filterMissingDependencies(t.css),TML:e.filterMissingDependencies(t.tml),TXT:e.filterMissingDependencies(t.txt),CML:e.filterMissingDependencies(t.cml)};for(var s in i)if(i.hasOwnProperty(s)){var o=i[s];n=n||
o===!1,r=r&&o===null}if(n||r)this._execCallback(!0,n);else{var u=new aria.core.ClassLoader;this._loadDesc.onerror&&this._loadDesc.onerror.override&&(u.handleError=!1),this._clsLoader=u,u.$on({classReady:this._onClassesReady,classError:this._onClassesError,complete:this._onClassLoaderComplete,scope:this});for(s in i)i.hasOwnProperty(s)&&(o=i[s],o&&u.addDependencies(o,s));u.loadDependencies()}},_execCallback:function(e,t){var n=this._loadDesc[t?"onerror":"oncomplete"];if(n){typeof n=="function"&&(n={fn:n});var r=
n.scope?n.scope:Aria;try{n.fn.call(r,n.args)}catch(i){var s=e?this.MULTILOADER_CB1_ERROR:this.MULTILOADER_CB2_ERROR;this.$logError(s,null,i)}}e&&this._autoDispose&&this.$dispose()},_onClassesReady:function(e){this._execCallback(!1,!1)},_onClassesError:function(e){this._execCallback(!1,!0)},_onClassLoaderComplete:function(e){var t=e.src;this.$assert(90,this._clsLoader===t),this._clsLoader=null,t.$dispose(),this._autoDispose&&this.$dispose()}}}),function(){var e=aria.utils.Json,t=aria.utils.Type;Aria.classDefinition
({$classpath:"aria.core.JsonValidator",$dependencies:["aria.utils.Json","aria.utils.Type"],$singleton:!0,$constructor:function(){this.__waitingBeans={},this.__loadedBeans={},this.__processedBeans={},this.__baseTypes={},this._options={addDefaults:!0,checkEnabled:Aria.debug,checkDefaults:!0,checkMultiTypes:!1,checkInheritance:!0,checkBeans:!0,throwsErrors:!1},this._errors=[],this._currentBeanName="JSON root",this._typeBeingComputed={typeName:"typeBeingComputed"},this._typeError={typeName:"typeError"},this._typeRefError=
{},this._typeRefError[this._MD_BUILTIN]=!0,this._typeRefError[this._MD_BASETYPE]=this._typeError},$destructor:function(){this.__waitingBeans=null,this.__loadedBeans=null},$statics:{INVALID_TYPE_NAME:"Invalid or missing $type in %1: %2",INVALID_TYPE_REF:"Type %1, found in %2, is not defined in package %3",UNDEFINED_PREFIX:"Prefix %1, found in %2, is not defined",MISSING_BEANSPACKAGE:"Beans package %1, referenced in %2, was not found",RECURSIVE_BEAN:"Recursive bean definition in %1",BOTH_MANDATORY_DEFAULT:"$mandatory=true and $default should not be specified at the same time in %1"
,INHERITANCE_EXPECTED:"Type %1 should inherit from %2",MISSING_CONTENTTYPE:"Missing $contentType in the %1 definition in %2",ENUM_DUPLICATED_VALUE:"Duplicated value '%1' in enum definition %2",ENUM_INVALID_INHERITANCE:"Value '%1', from %2, is not present in parent enum definition %3",INVALID_DEFAULTVALUE:"Default value %1 in %2 is invalid: %3",BEANCHECK_FAILED:"Checking bean definition %1 with beans schema failed: %2",MISSING_ENUMVALUES:"$enumValues must be defined and non-empty in the Enum definition in %1"
,INVALID_NAME:"Invalid name for a bean: %1 in %2",NUMBER_INVALID_INHERITANCE:"Invalid inheritance: %1 in %2 should respect its parent range",NUMBER_INVALID_RANGE:"Invalid range in %1: %2-%3",BEAN_NOT_FOUND:"Bean %1 was not found",INVALID_TYPE_VALUE:"Invalid type: expected type %1 (from %2), found incorrect value '%3' in %4",INVALID_MULTITYPES_VALUE:"The value found in %1 is not valid for all the types defined in %2: %3",ENUM_UNKNOWN_VALUE:"Value '%1' in %2 is not in the enum definition %3",UNDEFINED_PROPERTY
:"Property '%1', used in %2, is not defined in %3",MISSING_MANDATORY:"Missing mandatory attribute in %1 for definition %2",REGEXP_FAILED:"Value '%1' in %2 does not comply with RegExp %3 in %4",NUMBER_RANGE:"Number '%1' in %2 is not in the accepted range (%3=%4)",NOT_OF_SPECIFIED_CLASSPATH:"Invalid class instance: expected instance of class %1 (from %2), found incorrect value '%3' in %4"},$prototype:{_MD_TYPENAME:Aria.FRAMEWORK_PREFIX+"typeName",_MD_BASETYPE:Aria.FRAMEWORK_PREFIX+"baseType",_MD_PARENTDEF:Aria
.FRAMEWORK_PREFIX+"parentType",_MD_BUILTIN:Aria.FRAMEWORK_PREFIX+"builtIn",_MD_ENUMVALUESMAP:Aria.FRAMEWORK_PREFIX+"enumValuesMap",_MD_STRDEFAULT:Aria.FRAMEWORK_PREFIX+"strDefault",_BASE_TYPES_PACKAGE:"aria.core.JsonTypes",_BEANS_SCHEMA_PACKAGE:"aria.core.BaseTypes",_logError:function(e,t){this._errors.push({msgId:e,msgArgs:t})},__logAllErrors:function(e,t){if(e.length===0)return!0;if(!t){for(var n=0;n<e.length;n++)this.$logError(e[n].msgId,e[n].msgArgs);return!1}throw{errors:e}},__findTypeInBP:function(e,t)
{var n={$properties:e.$beans},r=t.split(".");for(var i=0;i<r.length;i++){var s=r[i];s=="$contentType"&&n.$contentType?n=n.$contentType:typeof n.$properties=="object"&&n.$properties!=null?n=n.$properties[s]:n=null;if(typeof n!="object"||n==null)return this._logError(this.INVALID_TYPE_REF,[t,this._currentBeanName,e.$package]),this._typeRefError}return n},__getTypeRef:function(e,t){var n,r,i=e.indexOf(":");if(i==-1)n=t.$package,r=t;else{var s=e.substr(0,i);e=e.substr(i+1),n=t.$namespaces==null?null:t.$namespaces
[s];if(n==null)return this._logError(this.UNDEFINED_PREFIX,[s,this._currentBeanName]),this._typeRefError}var o=n+"."+e,u=this.__processedBeans[o];if(u)return u;if(!r){r=this.__loadedBeans[n];if(r==null)return this._logError(this.MISSING_BEANSPACKAGE,[n,this._currentBeanName]),this._typeRefError}return u=this.__findTypeInBP(r,e),u!=this._typeError&&!u[this._MD_TYPENAME]&&(u[this._MD_TYPENAME]=o),u},_preprocessBean:function(n,r,i){this._currentBeanName=r;var s=n[this._MD_BASETYPE];if(s!=null)return s;n[this._MD_TYPENAME
]=r,n[this._MD_BASETYPE]=this._typeBeingComputed;var o=n.$type,u=this._typeRefError;if(typeof o!="string"||!o)return this._logError(this.INVALID_TYPE_NAME,[n[this._MD_TYPENAME],o]),this._typeError;u=this.__getTypeRef(o,i),n[this._MD_PARENTDEF]=u,o=u[this._MD_TYPENAME],s=this._preprocessBean(u,o,i);if(s==this._typeBeingComputed)return i.$package==this._BASE_TYPES_PACKAGE?this._getBuiltInBaseType(n):(this._logError(this.RECURSIVE_BEAN,n[this._MD_TYPENAME]),this._typeError);n[this._MD_BASETYPE]=s,this.__checkBean
(n)||(n[this._MD_BASETYPE]=this._typeError),!n.$description&&!u[this._MD_BUILTIN]&&(n.$description=u.$description);var a=!("$default"in n),f=!("$mandatory"in n);a&&f&&(n.$mandatory=!1,f=!1),f&&(n.$mandatory=u.$mandatory),a&&"$default"in u&&!n.$mandatory&&(n.$default=e.copy(u.$default)),s&&s.preprocess&&s.preprocess(n,r,i);if(n[this._MD_BASETYPE]==this._typeError)return this._typeError;s&&s.makeFastNorm&&!n.$fastNorm&&(n.$getDefault=Aria.returnNull,s.makeFastNorm(n));if("$default"in n){if(n.$mandatory===!0)return this
._logError(this.BOTH_MANDATORY_DEFAULT,n[this._MD_TYPENAME]),this._typeError;if(this._options.checkDefaults){var l=this._errors;this._errors=[];var c=this._processJsonValidation({beanDef:n,json:n.$default});this._errors=l;if(c.length>0)return this._logError(this.INVALID_DEFAULTVALUE,[n.$default,n[this._MD_TYPENAME],c]),this._typeError}var h=n.$default;"$simpleCopyType"in n||(n.$simpleCopyType=!h||t.isString(h)||t.isNumber(h)||h===!0),n.$strDefault||(n.$strDefault=e.convertToJsonString(h,{reversible:!0}),n.$fastNorm&&
(n.$getDefault=new Function("return "+n.$strDefault+";")))}return this.__processedBeans[r]=n,s},__preprocessBP:function(e){this._errors=[];var t=e.$beans;for(var n in t){if(!t.hasOwnProperty(n)||n.indexOf(":")!=-1)continue;Aria.checkJsVarName(n)||this._logError(this.INVALID_NAME,[n,this._currentBeanName]),this._preprocessBean(t[n],e.$package+"."+n,e)}return this._errors},_getBuiltInBaseType:function(e){var t=this.__baseTypes[e.$type];this.$assert(298,t!=null),e[this._MD_BUILTIN]=!0,e[this._MD_BASETYPE]=t,e[this
._MD_TYPENAME]=[this._BASE_TYPES_PACKAGE,t.typeName].join(".")},_addBaseType:function(e){this.__baseTypes[e.typeName]=e,!e.dontSkip&&!this._options.checkEnabled&&(e.process=null,e.preprocess=null)},_checkType:function(t){var n=t.beanDef,r=n[this._MD_BASETYPE];if(t.value==null){n.$mandatory?this._logError(this.MISSING_MANDATORY,[t.path,n[this._MD_TYPENAME]]):"$default"in n&&this._options.addDefaults&&(n.$simpleCopyType?t.value=n.$default:t.value=e.copy(n.$default),t.dataHolder[t.dataName]=t.value);return}r.process&&
r.process(t)},_getBean:function(e){return this.__processedBeans[e]||null},_processJsonValidation:function(e){var t=e.beanDef?e.beanDef:this._getBean(e.beanName);if(t==null)return this._errors=[],this._logError(this.BEAN_NOT_FOUND,e.beanName),this._errors;if(this._options.checkEnabled){this._errors=[],this._checkType({dataHolder:e,dataName:"json",path:"ROOT",value:e.json,beanDef:t});var n=this._errors;return n}return t.$fastNorm&&(e.json=t.$fastNorm(e.json)),[]},__checkBean:function(e){if(this._options.checkBeans&&!
this._options.checkMultiTypes&&this.__loadedBeans[this._BEANS_SCHEMA_PACKAGE]){var t=e[this._MD_BASETYPE];if(t==this._typeError)return!1;var n=this._getBean(this._BEANS_SCHEMA_PACKAGE+"."+t.typeName);this.$assert(402,n!=null);var r=this._errors,i=this._processJsonValidation({beanDef:n,json:e});this._errors=r;if(i.length>0)return this._logError(this.BEANCHECK_FAILED,[this._currentBeanName,i]),!1}return!0},__loadBeans:function(e){var t=!0,n=this.__waitingBeans[e];delete this.__waitingBeans[e],this.$assert(58,n
);if(this._options.checkBeans&&this.__loadedBeans[this._BEANS_SCHEMA_PACKAGE]){var r=this._getBean(this._BEANS_SCHEMA_PACKAGE+".Package");this.$assert(428,r!=null),t=t&&this.__logAllErrors(this._processJsonValidation({beanDef:r,json:n}))}this._options.addDefaults=!0,t=t&&this.__logAllErrors(this.__preprocessBP(n)),t?(this.__loadedBeans[e]=n,aria.core.ClassMgr.notifyClassLoad(e)):aria.core.ClassMgr.notifyClassLoadError(e)},beanDefinitions:function(e){var t=e.$package;Aria.$classes.push({$classpath:t}),this.__waitingBeans
[t]=e;var n=[];this._options.checkBeans&&!this.__loadedBeans[this._BEANS_SCHEMA_PACKAGE]&&t!=this._BEANS_SCHEMA_PACKAGE&&t!=this._BASE_TYPES_PACKAGE&&n.push(this._BEANS_SCHEMA_PACKAGE);var r=e.$dependencies||[];r.length&&(n=n.concat(r));for(var i in e.$namespaces)e.$namespaces.hasOwnProperty(i)&&n.push(e.$namespaces[i]);var s={JS:n},o=aria.core.ClassMgr.loadClassDependencies(t,s,{fn:this.__loadBeans,scope:this,args:t});o&&this.__loadBeans(t)},normalize:function(e,t){return this._options.addDefaults=!0,e.beanDef=
null,this.__logAllErrors(this._processJsonValidation(e),t)},check:function(e,t,n){return this._options.checkEnabled?(this._options.addDefaults=!1,this.__logAllErrors(this._processJsonValidation({json:e,beanName:t}),n)):!0},getBean:function(e){return this._getBean(e)}}})}(),function(){var e,t,n=function(t,n){e._logError(e.INVALID_TYPE_VALUE,[t.typeName,n.beanDef[e._MD_TYPENAME],n.value,n.path])},r=function(t,n){if(!e._options.checkInheritance)return!0;var r=n;while(!r[e._MD_BUILTIN]){if(t==r)return!0;r=r[e._MD_PARENTDEF
]}return e._logError(e.INHERITANCE_EXPECTED,[n[e._MD_TYPENAME],t[e._MD_TYPENAME]]),!1},i=function(t,n,i){var s=t.$contentType,o=null,u=t[e._MD_PARENTDEF];if(!u[e._MD_BUILTIN]){o=u.$contentType;if(s==null){t.$contentType=o;return}}else if(s==null){e._logError(e.MISSING_CONTENTTYPE,[t[e._MD_BASETYPE].typeName,t[e._MD_TYPENAME]]),t[e._MD_BASETYPE]=e._typeError;return}e._preprocessBean(s,n+".$contentType",i),o!=null&&r(o,s)},s=function(t,n,i){var s=t.$keyType,o=null,u=t[e._MD_PARENTDEF];if(!u[e._MD_BUILTIN]){o=u
.$keyType;if(s==null){t.$keyType=o;return}}else if(s==null)return;e._preprocessBean(s,n+".$keyType",i),o!=null&&r(o,s);if(s[e._MD_BASETYPE].typeName!="String"){e._logError(e.INHERITANCE_EXPECTED,[s[e._MD_TYPENAME],e._BASE_TYPES_PACKAGE+".String"]);return}},o=function(t){if(typeof t.value!="string")return n(this,t);var r=t.beanDef;while(!r[e._MD_BUILTIN]){var i=r.$regExp;if(i!=null&&!i.test(t.value))return e._logError(e.REGEXP_FAILED,[t.value,t.path,i,r[e._MD_TYPENAME]]);r=r[e._MD_PARENTDEF]}},u=function(t){var n=
t[e._MD_PARENTDEF];typeof n.$minValue!="undefined"&&(typeof t.$minValue=="undefined"?t.$minValue=n.$minValue:t.$minValue<n.$minValue&&e._logError(e.NUMBER_INVALID_INHERITANCE,["$minValue",t[e._MD_TYPENAME]])),typeof n.$maxValue!="undefined"&&(typeof t.$maxValue=="undefined"?t.$maxValue=n.$maxValue:t.$maxValue>n.$maxValue&&e._logError(e.NUMBER_INVALID_INHERITANCE,["$maxValue",t[e._MD_TYPENAME]])),typeof t.$minValue!="undefined"&&typeof t.$maxValue!="undefined"&&t.$minValue>t.$maxValue&&e._logError(e.NUMBER_INVALID_RANGE
,[t[e._MD_TYPENAME],t.$minValue,t.$maxValue])},a=function(t){var r=t.value,i=t.beanDef;if(typeof r!="number")return n(this,t);if(typeof i.$minValue!="undefined"&&r<i.$minValue)return e._logError(e.NUMBER_RANGE,[t.value,t.path,"$minValue",i.$minValue]);if(typeof i.$maxValue!="undefined"&&r>i.$maxValue)return e._logError(e.NUMBER_RANGE,[t.value,t.path,"$maxValue",i.$maxValue])},f=[{typeName:"String",process:o},{typeName:"Boolean",process:function(e){if(typeof e.value!="boolean")return n(this,e)}},{typeName:"JsonProperty"
,process:function(e){if(typeof e.value=="string"){if(Aria.isJsReservedWord(e.value)||!/^([a-zA-Z_\$][\w\$]*(:[\w\$]*)?)|(\d+)$/.test(e.value))return n(this,e)}else if(typeof e.value!="number"||parseInt(e.value,10)!=e.value)return n(this,e)}},{typeName:"FunctionRef",process:function(e){if(typeof e.value!="function")return n(this,e)}},{typeName:"Date",process:function(e){if(isNaN(Date.parse(e.value)))return n(this,e)}},{typeName:"RegExp",process:function(e){var t=e.value;if(typeof t!="object"&&typeof t!="function"||
t==null||t.constructor!=RegExp)return n(this,e)}},{typeName:"ObjectRef",process:function(r){if(typeof r.value!="object"||r.value==null)return n(this,r);var i=r.beanDef.$classpath;if(i&&!t.isInstanceOf(r.value,i)){e._logError(e.NOT_OF_SPECIFIED_CLASSPATH,[i,r.beanDef[e._MD_TYPENAME],r.value,r.path]);return}}},{typeName:"Integer",preprocess:u,process:function(e){if(parseInt(e.value,10)!==e.value)return n(this,e);a.call(this,e)}},{typeName:"Float",preprocess:u,process:a},{typeName:"Enum",preprocess:function(t){
var n=t.$enumValues,r=t[e._MD_PARENTDEF],i=null;if(!r[e._MD_BUILTIN]){i=r[e._MD_ENUMVALUESMAP];if(n==null){t[e._MD_ENUMVALUESMAP]=i;return}}else if(n==null||n.length===0)n=[],e._logError(e.MISSING_ENUMVALUES,[t[e._MD_TYPENAME]]);var s={};for(var o=0;o<n.length;o++){var u=n[o];s[u]==1?e._logError(e.ENUM_DUPLICATED_VALUE,[u,t[e._MD_TYPENAME]]):i&&i[u]!=1?e._logError(e.ENUM_INVALID_INHERITANCE,[u,t[e._MD_TYPENAME],r[e._MD_TYPENAME]]):s[u]=1}t[e._MD_ENUMVALUESMAP]=s},process:function(t){if(typeof t.value!="string"
)return n(this,t);var r=t.beanDef[e._MD_ENUMVALUESMAP];r[t.value]!=1&&e._logError(e.ENUM_UNKNOWN_VALUE,[t.value,t.path,t.beanDef[e._MD_TYPENAME]])}},{typeName:"Object",dontSkip:!0,preprocess:function(t,n,i){var s=t.$properties;s||(s={},t.$properties=s);var o=t[e._MD_PARENTDEF];t.$restricted=t.$restricted===!1?!1:o.$restricted!==!1;var u=o.$properties;for(var a in u){if(!u.hasOwnProperty(a)||a.indexOf(":")!=-1||a.charAt(0)=="_")continue;var f=u[a],l=s[a];l?(e._preprocessBean(l,n+".$properties."+a,i),f&&r(f,l)
):s[a]=f}for(var c in s){if(!s.hasOwnProperty(c)||c.indexOf(":")!=-1||c.charAt(0)=="_")continue;Aria.checkJsVarName(c)||e._logError(e.INVALID_NAME,[c,e._currentBeanName]),e._preprocessBean(s[c],n+".$properties."+c,i)}},process:function(t){var r=t.value,i=t.beanDef;if(typeof r!="object"||r==null)return n(this,t);var s=i.$properties,o={};if(e._options.checkEnabled&&i.$restricted)for(var u in r){if(!r.hasOwnProperty(u)||u.indexOf(":")!=-1||u.charAt(0)=="_")continue;o[u]=1}for(var u in s){if(!s.hasOwnProperty(u)||
u.indexOf(":")!=-1||u.charAt(0)=="_")continue;var a=s[u];delete o[u],e._checkType({dataHolder:r,dataName:u,value:r[u],beanDef:a,path:t.path+'["'+u+'"]'})}if(e._options.checkEnabled&&i.$restricted)for(var u in o)r.hasOwnProperty(u)&&o[u]==1&&e._logError(e.UNDEFINED_PROPERTY,[u,t.path,i[e._MD_TYPENAME]])},makeFastNorm:function(e){var t=["var beanProperties = this.$properties;"];t.push("if (!obj) { return this.$getDefault(); }");var n=e.$properties,r=!1;for(var i in n){if(!n.hasOwnProperty(i)||i.indexOf(":")!=-1||
i.charAt(0)=="_")continue;var s=n[i];"$strDefault"in s?(r=!0,t.push("if (obj['"+i+"'] == null) { obj['"+i+"']  = "+s.$strDefault+"}"),s.$fastNorm&&t.push("else { beanProperties['"+i+"'].$fastNorm(obj['"+i+"']); }")):s.$fastNorm&&(r=!0,t.push("if (obj['"+i+"'] != null) { beanProperties['"+i+"'].$fastNorm(obj['"+i+"']);}"))}t.push("return obj;"),r?e.$fastNorm=new Function("obj",t.join("\n")):e.$fastNorm=l.emptyObject}},{typeName:"Array",dontSkip:!0,preprocess:i,process:function(t){var r=t.value;if(typeof r!="object"||
r==null||r.constructor!=Array)return n(this,t);var i=t.beanDef.$contentType;for(var s=0;s<r.length;s++)e._checkType({dataHolder:r,dataName:s,value:r[s],beanDef:i,path:t.path+'["'+s+'"]'})},makeFastNorm:function(e){if(!e.$contentType.$fastNorm)return;e.$fastNorm=l.array}},{typeName:"Map",dontSkip:!0,preprocess:function(e,t,n){i(e,t,n),s(e,t,n)},process:function(t){var r=t.value;if(typeof r!="object"||r==null)return n(this,t);var i=t.beanDef.$contentType,s=t.beanDef.$keyType;for(var o in r){if(!r.hasOwnProperty
(o))continue;s&&e._checkType({dataHolder:r,dataName:null,value:o,beanDef:s,path:t.path}),e._checkType({dataHolder:r,dataName:o,value:r[o],beanDef:i,path:t.path+'["'+o+'"]'})}},makeFastNorm:function(e){if(!e.$contentType.$fastNorm)return;e.$fastNorm=l.map}},{typeName:"MultiTypes",preprocess:function(t,n,r){var i=t.$contentTypes,s=t[e._MD_PARENTDEF];if(!s[e._MD_BUILTIN]&&i==null){t.$contentTypes=s.$contentTypes;return}if(i==null)return;for(var o=0;o<i.length;o++)e._preprocessBean(i[o],n+".$contentTypes["+o+"]"
,r)},process:function(t){if(!e._options.checkMultiTypes)return;var n=t.beanDef.$contentTypes;if(n==null)return;var r=e._errors,i=[];for(var s=0;s<n.length;s++){var o=n[s];e._errors=[],e._checkType({dataHolder:t.dataHolder,dataName:t.dataName,value:t.value,beanDef:o,path:t.path});if(e._errors.length===0){e._errors=r;return}i.push({beanDef:o,errors:e._errors})}e._errors=r,e._logError(e.INVALID_MULTITYPES_VALUE,[t.path,t.beanDef[e._MD_TYPENAME],i])}}],l={emptyObject:function(e){var t=this.$properties;return e?e
:this.$getDefault()},array:function(e){if(!e)return this.$getDefault();for(var t=0,n=e.length;t<n;t++)this.$contentType.$fastNorm(e[t]);return e},map:function(e){if(!e)return this.$getDefault();for(var t in e)e.hasOwnProperty(t)&&this.$contentType.$fastNorm(e[t]);return e}};Aria.classDefinition({$classpath:"aria.core.JsonTypesCheck",$singleton:!0,$constructor:function(){e=aria.core.JsonValidator,t=aria.utils.Type;for(var n=0,r=f.length;n<r;n++)e._addBaseType(f[n])},$destructor:function(){e=null,t=null},$prototype
:{}})}(),Aria.beanDefinitions({$package:"aria.core.JsonTypes",$description:"",$beans:{String:{$type:"String",$description:"",$sample:"Some text\non 2 lines!"},Boolean:{$type:"Boolean",$description:"",$sample:!0},Integer:{$type:"Integer",$description:"",$sample:186},Float:{$type:"Float",$description:"",$sample:18.6},Date:{$type:"Date",$description:"",$sample:"12/13/2009"},RegExp:{$type:"RegExp",$description:"",$sample:/^\w([\w\.]*\w)?$/},ObjectRef:{$type:"ObjectRef",$description:""},FunctionRef:{$type:"FunctionRef"
,$description:""},JsonProperty:{$type:"JsonProperty",$description:"",$sample:"name"},Enum:{$type:"Enum",$description:""},Object:{$type:"Object",$description:""},Array:{$type:"Array",$description:""},Map:{$type:"Map",$description:""},MultiTypes:{$type:"MultiTypes",$description:""},PackageName:{$type:"String",$description:"",$sample:"aria.core.JsonTypes",$regExp:/^([a-zA-Z_\$][\w\$]*($|\.(?=.)))+$/}}}),Aria.beanDefinitions({$package:"aria.core.BaseTypes",$description:"",$namespaces:{json:"aria.core.JsonTypes"}
,$beans:{Package:{$type:"json:Object",$description:"",$properties:{$package:{$type:"json:PackageName",$description:"",$mandatory:!0},$description:{$type:"json:String",$description:""},$dependencies:{$type:"json:Array",$description:"",$contentType:{$type:"json:String",$description:""}},$namespaces:{$type:"json:Map",$description:"",$contentType:{$type:"json:PackageName",$mandatory:!0,$description:""}},$beans:{$type:"json:Map",$description:"",$mandatory:!0,$contentType:{$type:"Bean",$mandatory:!0}}}},ElementType
:{$type:"json:String",$description:"",$mandatory:!0,$regExp:/^([a-zA-Z_\$][\w\$]*:)?([a-zA-Z_\$][\w\$]*($|\.))+$/,$sample:"json:Boolean"},Bean:{$type:"json:MultiTypes",$description:"",$contentTypes:[{$type:"String"},{$type:"Boolean"},{$type:"Integer"},{$type:"Float"},{$type:"Date"},{$type:"RegExp"},{$type:"ObjectRef"},{$type:"FunctionRef"},{$type:"Enum"},{$type:"Object"},{$type:"Array"},{$type:"Map"},{$type:"MultiTypes"}]},Element:{$type:"json:Object",$description:"",$properties:{$description:{$type:"json:String"
,$description:"",$mandatory:!1},$type:{$type:"ElementType",$mandatory:!0},$sample:{$type:"json:MultiTypes",$description:"",$mandatory:!1},$default:{$type:"json:MultiTypes",$description:"",$mandatory:!1},$mandatory:{$type:"json:Boolean",$description:"",$mandatory:!1}}},String:{$type:"Element",$description:"",$properties:{$regExp:{$type:"json:RegExp",$description:""}}},Boolean:{$type:"Element",$description:""},Integer:{$type:"Element",$description:"",$properties:{$minValue:{$type:"json:Integer",$description:""
},$maxValue:{$type:"json:Integer",$description:""}}},Float:{$type:"Element",$description:"",$properties:{$minValue:{$type:"json:Float",$description:""},$maxValue:{$type:"json:Float",$description:""}}},Date:{$type:"Element",$description:""},RegExp:{$type:"Element",$description:""},ObjectRef:{$type:"Element",$description:"",$properties:{$classpath:{$type:"json:PackageName",$description:""}}},FunctionRef:{$type:"Element",$description:""},JsonProperty:{$type:"Element",$description:""},Enum:{$type:"Element",$description
:"",$properties:{$enumValues:{$type:"json:Array",$description:"",$contentType:{$type:"json:String",$mandatory:!0,$description:""}}}},Object:{$type:"Element",$description:"",$properties:{$properties:{$type:"json:Map",$description:"",$contentType:{$type:"Bean",$mandatory:!0,$description:""}},$restricted:{$type:"json:Boolean",$description:"",$default:!0},$fastNorm:{$type:"json:FunctionRef",$description:""},$getDefault:{$type:"json:FunctionRef",$description:""}}},Array:{$type:"Element",$description:"",$properties
:{$contentType:{$type:"Bean",$description:""},$fastNorm:{$type:"json:FunctionRef",$description:""},$getDefault:{$type:"json:FunctionRef",$description:""}}},Map:{$type:"Element",$description:"",$properties:{$contentType:{$type:"Bean",$description:""},$keyType:{$type:"Bean",$description:""},$fastNorm:{$type:"json:FunctionRef",$description:""},$getDefault:{$type:"json:FunctionRef",$description:""}}},MultiTypes:{$type:"Element",$description:"",$properties:{$contentTypes:{$type:"json:Array",$description:"",$contentType
:{$type:"Bean",$mandatory:!0}}}}}}),Aria.beanDefinitions({$package:"aria.core.CfgBeans",$description:"",$namespaces:{json:"aria.core.JsonTypes"},$beans:{ClassDefinitionCfg:{$type:"json:Object",$description:"",$properties:{$classpath:{$type:"json:PackageName",$description:"",$mandatory:!0,$sample:"aria.jsunit.TestSuite"},$singleton:{$type:"json:Boolean",$description:"",$default:!1},$extends:{$type:"json:PackageName",$description:"",$default:"aria.core.JsObject"},$implements:{$type:"json:Array",$description:""
,$default:[],$contentType:{$type:"json:PackageName",$description:""}},$dependencies:{$type:"json:Array",$description:"",$default:[],$contentType:{$type:"json:PackageName",$description:""}},$resources:{$type:"json:Map",$description:"",$contentType:{$type:"json:MultiTypes",$description:"",$sample:"aria.widgets.WidgetsRes",$contentTypes:[{$type:"json:Object",$description:""},{$type:"json:String",$description:""}]}},$templates:{$type:"json:Array",$description:"",$contentType:{$type:"json:PackageName",$description
:""}},$css:{$type:"json:Array",$description:"",$contentType:{$type:"json:PackageName",$description:""}},$macrolibs:{$type:"json:Array",$description:"",$contentType:{$type:"json:PackageName",$description:"",$mandatory:!0}},$csslibs:{$type:"json:Array",$description:"",$contentType:{$type:"json:PackageName",$description:"",$mandatory:!0}},$texts:{$type:"json:Map",$description:"",$contentType:{$type:"json:PackageName",$description:"",$mandatory:!0}},$statics:{$type:"json:Map",$description:"",$contentType:{$type:"json:MultiTypes"
,$description:""}},$prototype:{$type:"json:MultiTypes",$description:"",$contentTypes:[{$type:"json:Map",$description:"",$contentType:{$type:"json:MultiTypes",$description:""}},{$type:"json:FunctionRef",$description:""}]},$constructor:{$type:"json:FunctionRef",$description:"",$mandatory:!0},$destructor:{$type:"json:FunctionRef",$description:""},$onload:{$type:"json:FunctionRef",$description:""},$events:{$type:"json:Map",$description:"",$contentType:{$type:"json:MultiTypes",$description:"",$contentTypes:[{$type
:"json:Object",$description:""},{$type:"json:String",$description:""}]}},$beans:{$type:"json:Map",$description:"",$contentType:{$type:"json:MultiTypes",$description:""}}}},ItfBaseMemberCfg:{$type:"json:Object",$description:"",$properties:{$type:{$type:"json:Enum",$enumValues:["Function","Object","Interface"],$description:""}}},ItfMemberFunctionCfg:{$type:"ItfBaseMemberCfg",$description:"",$properties:{$callbackParam:{$type:"json:Integer",$description:""}}},ItfMemberObjectCfg:{$type:"ItfBaseMemberCfg",$description
:"",$properties:{}},ItfMemberInterfaceCfg:{$type:"ItfBaseMemberCfg",$description:"",$properties:{$classpath:{$type:"json:PackageName",$description:"",$mandatory:!0}}},IOAsyncRequestCfg:{$type:"json:Object",$description:"",$properties:{sender:{$type:"json:Object",$description:"",$restricted:!1,$mandatory:!1,$properties:{classpath:{$type:"json:PackageName",$description:"",$mandatory:!0}}},url:{$type:"json:String",$description:""},jsonp:{$type:"json:String",$description:"",$sample:"callback"},method:{$type:"json:Enum"
,$description:"",$default:"GET",$enumValues:["GET","POST","PUT","DELETE","HEAD","TRACE","OPTIONS","CONNECT","PATCH"],$sample:"POST"},postData:{$type:"json:String",$description:""},data:{$type:"json:String",$description:""},postHeader:{$type:"json:String",$description:"",$default:"application/x-www-form-urlencoded; charset=UTF-8"},contentTypeHeader:{$type:"json:String",$description:"",$default:"application/x-www-form-urlencoded; charset=UTF-8"},headers:{$type:"json:Object",$description:"",$sample:"{'Content-Type' : 'text/plain', 'Connection' : 'keep-alive'}"
,$restricted:!1},timeout:{$type:"json:Integer",$description:""},expectedResponseType:{$type:"json:Enum",$description:"",$enumValues:["text","json","xml"]},callback:{$type:"json:Object",$description:"",$properties:{fn:{$type:"json:FunctionRef",$description:""},scope:{$type:"json:ObjectRef",$description:""},onerror:{$type:"json:FunctionRef",$description:""},onerrorScope:{$type:"json:ObjectRef",$description:""},args:{$type:"json:MultiTypes",$description:""},timeout:{$type:"json:Integer",$description:""}}},formId
:{$type:"json:String",$description:""},form:{$type:"json:ObjectRef",$description:""},res:{$type:"IOAsyncRequestResponseCfg",$description:""},delay:{$type:"json:Integer",$description:""},id:{$type:"json:Integer",$description:""},beginDownload:{$type:"json:Integer",$description:""},endDownload:{$type:"json:Integer",$description:""},downloadTime:{$type:"json:Integer",$description:""},requestSize:{$type:"json:Integer",$description:""},responseSize:{$type:"json:Integer",$description:""},evalCb:{$type:"json:String"
,$description:""}}},IOAsyncRequestResponseCfg:{$type:"json:Object",$description:"",$properties:{url:{$type:"json:String",$description:""},status:{$type:"json:MultiTypes",$description:""},responseText:{$type:"json:String",$description:""},responseXML:{$type:"json:ObjectRef",$description:""},responseJSON:{$type:"json:MultiTypes",$description:""},error:{$type:"json:String",$description:""}}},Callback:{$type:"json:Object",$description:"",$properties:{fn:{$type:"json:FunctionRef",$description:"",$mandatory:!0},scope
:{$type:"json:ObjectRef",$description:""},args:{$type:"json:MultiTypes",$description:""},resIndex:{$type:"json:Integer",$description:"",$default:0},apply:{$type:"json:Boolean",$description:"",$default:!1}}}}}),Aria.classDefinition({$classpath:"aria.core.AppEnvironment",$dependencies:["aria.utils.Object"],$singleton:!0,$events:{changingEnvironment:{description:"",properties:{changedProperties:"If null, it means the environment is reset. Otherwise, it contains the list of properties which changed in the environment. This allows listeners to react only when needed."
,asyncCalls:"This number should be incremented by listeners which need to do something asynchronous to apply the environment.",callback:"This is is the callback to be called by listeners which need to do something asynchronous to apply the environment (and have incremented asyncCalls)."}},environmentChanged:{description:"",properties:{changedProperties:"If null, it means the environment is reset. Otherwise, it contains the list of properties which changed in the environment. This allows listeners to react only when needed."
}}},$prototype:{applicationSettings:{},setEnvironment:function(e,t,n){n=!!n;var r=aria.utils.Object.keys(e);if(n)aria.utils.Json.inject(e,this.applicationSettings,!0);else if(r.length===0)this.applicationSettings={},r=null;else for(var i=0;i<r.length;i++){var s=r[i];this.applicationSettings[s]=e[s]}var o={name:"changingEnvironment",changedProperties:r,asyncCalls:1};o.callback={fn:function(){o.asyncCalls--,o.asyncCalls<=0&&(o.callback.fn=null,o=null,r=null,this.$callback(t))},scope:this},this.$raiseEvent(o),this
.$raiseEvent({name:"environmentChanged",changedProperties:r}),this.$callback(o.callback)},updateEnvironment:function(e,t){this.setEnvironment(e,t,!0)}}}),Aria.beanDefinitions({$package:"aria.core.environment.EnvironmentBaseCfgBeans",$description:"",$namespaces:{json:"aria.core.JsonTypes"},$beans:{AppCfg:{$type:"json:Object",$description:"",$restricted:!1,$properties:{appSettings:{$type:"AppSettingsCfg",$description:"",$default:{}},language:{$type:"LanguageCfg",$description:"",$default:{primaryLanguage:"en",region
:"US"}}}},AppSettingsCfg:{$type:"json:Object",$description:"",$properties:{devMode:{$type:"json:Boolean",$description:"",$default:!1},debug:{$type:"json:Boolean",$description:"",$default:Aria.debug}}},LanguageCfg:{$type:"json:Object",$description:"",$properties:{primaryLanguage:{$type:"json:String",$description:"",$mandatory:!0,$regExp:/^[a-z]{2}$/},region:{$type:"json:String",$description:"",$mandatory:!0,$regExp:/^[A-Z]{2}$/}}},FormatTypes:{$type:"json:MultiTypes",$description:"",$contentTypes:[{$type:"json:String"
,$description:""},{$type:"json:FunctionRef",$description:""}]},inputFormatTypes:{$type:"json:MultiTypes",$description:"",$contentTypes:[{$type:"json:String",$description:""},{$type:"json:FunctionRef",$description:""},{$type:"json:Array",$description:"",$contentType:{$type:"json:MultiTypes",$description:"",$contentTypes:[{$type:"json:String",$description:""},{$type:"json:FunctionRef",$description:""}]}}]}}}),Aria.classDefinition({$classpath:"aria.core.environment.EnvironmentBase",$dependencies:["aria.utils.Object"
],$constructor:function(){this.$assert(9,this._cfgPackage!=null),this._localDefCfg={};var e=aria.core.JsonValidator.normalize({json:this._localDefCfg,beanName:this._cfgPackage});this.$assert(15,e),this._changingEnvironment({changedProperties:null,asyncCalls:0,callback:null}),aria.core.AppEnvironment.$on({changingEnvironment:this._changingEnvironment,scope:this})},$destructor:function(){aria.core.AppEnvironment.$unregisterListeners(this),this._localDefCfg=null},$events:{environmentChanged:{description:""}},$prototype
:{_cfgPackage:null,_changingEnvironment:function(e){var t=e.changedProperties,n=this._localDefCfg,r=t==null;if(t)for(var i=0,s=t.length;i<s;i++){var o=t[i];if(o in n){r=!0;break}}r&&(e.asyncCalls++,this._normAndApplyEnv(e.callback))},_normAndApplyEnv:function(e){var t=aria.core.JsonValidator.normalize({json:aria.core.AppEnvironment.applicationSettings,beanName:this._cfgPackage});t?(this._applyEnvironment(e),this.$raiseEvent("environmentChanged")):this.$callback(e)},_applyEnvironment:function(e){this.$callback
(e)},checkApplicationSettings:function(e){return aria.core.AppEnvironment.applicationSettings[e]},setEnvironment:function(e,t,n){this.$logWarn("The setEnvironment method on this object is deprecated. Please use aria.core.AppEnvironment.setEnvironment instead."),aria.core.AppEnvironment.setEnvironment(e,t,n)}}}),Aria.classDefinition({$classpath:"aria.core.environment.Environment",$singleton:!0,$dependencies:["aria.core.environment.EnvironmentBaseCfgBeans","aria.core.AppEnvironment"],$extends:"aria.core.environment.EnvironmentBase"
,$statics:{INVALID_LOCALE:"Error: the locale '%1' is not in correct format"},$constructor:function(){this.$EnvironmentBase.constructor.call(this),this.$on({debugChanged:function(){aria.core.JsonValidator._options.checkEnabled=this.isDebug();var e=aria.core.Log;e&&e.setLoggingLevel("*",this.isDebug()?e.LEVEL_DEBUG:e.LEVEL_ERROR)},scope:this})},$events:{debugChanged:{description:""}},$prototype:{_cfgPackage:"aria.core.environment.EnvironmentBaseCfgBeans.AppCfg",_applyEnvironment:function(e){var t=this.isDebug(
);t!=Aria.debug&&(Aria.debug=t,this.$raiseEvent("debugChanged")),aria.core.ResMgr?aria.core.ResMgr.changeLocale(this.getLanguage(),e):this.$callback(e)},getLanguage:function(){var e=this.checkApplicationSettings("language");return e.primaryLanguage.toLowerCase()+"_"+e.region.toUpperCase()},getRegion:function(){var e=this.checkApplicationSettings("language");return e.region},setLanguage:function(e,t){var n=!1;if(e==null)n=!0;else{var r=e.split("_");e===""||e.length===5&&r!==null&&r.length===2||e.length==2?aria
.core.AppEnvironment.setEnvironment({language:{primaryLanguage:r[0],region:r[1]}},t):n=!0}n&&(this.$logError(this.INVALID_LOCALE,[e]),this.$callback(t,!0))},setDebug:function(e){var t=this.isDebug();t!==e&&(e===!0||e===!1)&&aria.core.AppEnvironment.setEnvironment({appSettings:{debug:e}},null,!0)},setDevMode:function(e){var t=this.isDevMode();t!==e&&(e===!0||e===!1)&&aria.core.AppEnvironment.setEnvironment({appSettings:{devMode:e}},null,!0)},isDevMode:function(){var e=this.checkApplicationSettings("appSettings"
);return e&&e.devMode?!0:!1},isDebug:function(){var e=this.checkApplicationSettings("appSettings");return e&&e.debug?!0:!1}}});
aria.core.DownloadMgr.updateUrlMap({"aria":{"core":{"environment":{"Customizations":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","CustomizationsCfgBeans":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"}},"html":{"beans":{"CheckBoxCfg":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","ElementCfg":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"},"CheckBox":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","Element":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","HtmlLibrary"
:"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"},"modules":{"requestHandler":{"environment":{"RequestHandler":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","RequestHandlerCfgBeans":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"}},"queuing":{"SimpleSessionQueuing":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"},"urlService":{"environment":{"UrlService":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","UrlServiceCfgBeans":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"
}},"RequestBeans":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","RequestMgr":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"},"storage":{"AbstractStorage":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","EventBus":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","HTML5Storage":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","IStorage":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","LocalStorage":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","UserData"
:"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"},"templates":{"BaseCtxt":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","BaseTemplate":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","CfgBeans":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","ClassGenerator":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","ClassWriter":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","CSSClassGenerator":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","CSSCtxt":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"
,"CSSCtxtManager":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","CSSMgr":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","CSSParser":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","CSSTemplate":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","DomElementWrapper":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","DomEventWrapper":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","GlobalStyle":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","IBaseTemplate":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"
,"ICSS":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","IModuleCtrl":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","IObjectLoading":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","ITemplate":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","ITemplateCtxt":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","Layout":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","MarkupWriter":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","Modifiers":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"
,"ModuleCtrl":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","ModuleCtrlFactory":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","NavigationManager":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","ObjectLoading":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","Parser":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","PublicWrapper":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","RefreshManager":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","Repeater"
:"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","Section":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","SectionWrapper":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","Statements":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","Template":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","TemplateCtxt":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","TemplateCtxtManager":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","TemplateManager":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"
,"TplClassGenerator":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","TplParser":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","TreeBeans":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"},"tools":{"contextual":{"environment":{"ContextualMenu":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","ContextualMenuCfgBeans":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"}}},"utils":{"dragdrop":{"DragDropBean":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"},"environment"
:{"VisualFocus":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","VisualFocusCfgBeans":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"},"overlay":{"LoadingOverlay":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","Overlay":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"},"sandbox":{"DOMProperties":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"},"AriaWindow":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","Callback":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"
,"ClassList":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","Delegate":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","Dom":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","DomOverlay":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","Event":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","Function":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","FunctionWriter":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","HashManager":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"
,"Html":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","IdManager":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","InheritanceNormalization":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","Path":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","Profiling":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","Store":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"},"widgetLibs":{"environment":{"WidgetLibsSettings":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"
,"WidgetLibsSettingsCfgBeans":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"},"BaseWidget":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","BindableWidget":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","CommonBeans":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","WidgetLib":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"},"widgets":{"environment":{"WidgetSettings":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","WidgetSettingsCfgBeans":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"
},"AriaLib":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","AriaSkinBeans":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","AriaSkinInterface":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","AriaSkinNormalization":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","GlobalStyle":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","WidgetStyle":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js","WidgetStyleScript":"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"},"DomEvent"
:"aria/pack-todomvc-cafc22b1e6f269bdc224e12efc172477.js"}});
