var adf=window.adf||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};adf.mf.el=adf.mf.el||{};adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};
adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};
(function(){adf.mf.el.ValueReference=function(){this.baseObject=this.context=this.expression=null;this.baseName="";this.propertyObject=void 0;this.propertyName="";this.evaluateIndexExpression=function(a){var b=a.indexOf("["),d=a.lastIndexOf("]");if(b<d){var e=a.substring(b+1,d),e=adf.mf.internal.el.parser.evaluate(this.context,"#{"+e+"}");expression=a.substring(0,b)+"["+e+"]"+a.substring(d+1)}else expression=a;return expression};switch(arguments.length){case 3:var a=0,b=0;this.context=arguments[0];
this.expression=arguments[1];this.autoCreate=arguments[2];for(var d=this.evaluateIndexExpression(this.expression),e=0;e<d.length;++e)switch(d.charCodeAt(e)){case 93:if(e+1>=d.length)break;case 46:case 91:b=e;e+1<d.length&&(this.propertyName="");try{if(a==b)break;this.baseName=d.substring(a,b);this.baseName=this.baseName.replace(/^\"/,"").replace(/\"$/,"");this.baseObject=this.context.getELResolver().getValue(this.context,this.baseObject,this.baseName);a=b+1}catch(g){var h=d.substring(a,b);adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&
adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"ValueReference","ValueReference","Unable to resolve: "+adf.mf.util.stringify(this.baseObject)+" property: "+h);if(this.autoCreate)adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"ValueReference","ValueReference","auto create is enabled, adding property: "+h),a=b+1,this.baseName=h,null==this.baseObject?(adf.mf.el.addVariable(h,{}),this.baseObject=h):(this.baseObject[h]={},this.baseObject=this.baseObject[h]);
else throw adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"ValueReference","ValueReference","auto create is _not_ enabled, property: "+h+" will generate a property not found exception"),new adf.mf.PropertyNotFoundException(h);}break;default:this.propertyName+=d.charAt(e)}break;case 4:this.context=arguments[0];this.baseObject=arguments[1];this.propertyName=arguments[2];this.autoCreate=arguments[3];this.propertyObject=this.context.getELResolver().getValue(this.context,
this.baseObject,this.propertyName);break;default:throw new adf.mf.IllegalArgumentException("invalid argument set - "+arguments.length);}this.isBaseObjectResolved=function(){return null!==this.baseObject};this.isPropertyObjectResolved=function(){return void 0!==this.propertyObject};this.resolve=function(){try{for(var a="",b=this.evaluateIndexExpression(this.expression),d=0;d<b.length;++d)switch(b.charCodeAt(d)){case 46:case 91:case 93:this.baseObject=this.propertyObject;this.propertyObject=this.context.getELResolver().getValue(this.context,
this.baseObject,a);d<b.length-1&&93==b.charCodeAt(d)&&46==b.charCodeAt(d+1)&&d++;a="";break;default:a+=b.charAt(d)}0<a.length&&(this.baseObject=this.propertyObject,this.propertyObject=this.context.getELResolver().getValue(this.context,this.baseObject,a))}catch(e){this.propertyObject="object"!==typeof this.baseObject&&"inputValue"==a?this.baseObject:void 0}return this.propertyObject}}})();adf=window.adf||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};adf.mf.el=adf.mf.el||{};
adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};
adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};adf.mf.AdfException=function(a){this[adf.mf.internal.api.constants.TYPE_PROPERTY]="oracle.adfmf.framework.exception.AdfException";this[adf.mf.internal.api.constants.EXCEPTION_FLAG_PROPERTY]=!0;this.name="AdfException";this.message=a||""};adf.mf.AdfException.prototype=Error();
adf.mf.ELException=function(a){this[adf.mf.internal.api.constants.TYPE_PROPERTY]="oracle.adfmf.framework.exception.ELException";this[adf.mf.internal.api.constants.EXCEPTION_FLAG_PROPERTY]=!0;this.name="ELException";this.message=a||""};adf.mf.ELException.prototype=Error();
adf.mf.IllegalArgumentException=function(a){this[adf.mf.internal.api.constants.TYPE_PROPERTY]="oracle.adfmf.framework.exception.IllegalArgumentException";this[adf.mf.internal.api.constants.EXCEPTION_FLAG_PROPERTY]=!0;this.name="IllegalArgumentException";this.message=a||""};adf.mf.IllegalArgumentException.prototype=Error();
adf.mf.IndexOutOfBoundsException=function(a){this[adf.mf.internal.api.constants.TYPE_PROPERTY]="oracle.adfmf.framework.exception.IndexOutOfBoundsException";this[adf.mf.internal.api.constants.EXCEPTION_FLAG_PROPERTY]=!0;this.name="IndexOutOfBoundsException";this.message=a||""};adf.mf.IndexOutOfBoundsException.prototype=Error();
adf.mf.NoChannelAvailableException=function(a){this[adf.mf.internal.api.constants.TYPE_PROPERTY]="oracle.adfmf.framework.exception.NoChannelAvailableException";this[adf.mf.internal.api.constants.EXCEPTION_FLAG_PROPERTY]=!0;this.name="NoChannelAvailableException";this.message=a||"Operation not supported in the current environment"};adf.mf.NoChannelAvailableException.prototype=Error();
adf.mf.NullPointerException=function(a){this[adf.mf.internal.api.constants.TYPE_PROPERTY]="oracle.adfmf.framework.exception.NullPointerException";this[adf.mf.internal.api.constants.EXCEPTION_FLAG_PROPERTY]=!0;this.name="NullPointerException";this.message=a||""};adf.mf.NullPointerException.prototype=Error();
adf.mf.IllegalStateException=function(a){this[adf.mf.internal.api.constants.TYPE_PROPERTY]="oracle.adfmf.framework.exception.IllegalStateException";this[adf.mf.internal.api.constants.EXCEPTION_FLAG_PROPERTY]=!0;this.name="IllegalStateException";this.message=a||""};adf.mf.IllegalStateException.prototype=Error();
adf.mf.PropertyNotFoundException=function(a){this[adf.mf.internal.api.constants.TYPE_PROPERTY]="oracle.adfmf.framework.exception.PropertyNotFoundException";this[adf.mf.internal.api.constants.EXCEPTION_FLAG_PROPERTY]=!0;this.name="PropertyNotFoundException";this.message=a||""};adf.mf.PropertyNotFoundException.prototype=Error();
adf.mf.PropertyNotWritableException=function(a){this[adf.mf.internal.api.constants.TYPE_PROPERTY]="oracle.adfmf.framework.exception.PropertyNotWritableException";this[adf.mf.internal.api.constants.EXCEPTION_FLAG_PROPERTY]=!0;this.name="PropertyNotWritableException";this.message=a||""};adf.mf.PropertyNotWritableException.prototype=Error();
adf.mf.UnsupportedOperationException=function(a){this[adf.mf.internal.api.constants.TYPE_PROPERTY]="oracle.adfmf.framework.exception.UnsupportedOperationException";this[adf.mf.internal.api.constants.EXCEPTION_FLAG_PROPERTY]=!0;this.name="UnsupportedOperationException";this.message=a||""};adf.mf.UnsupportedOperationException.prototype=Error();
adf.mf.DataRangeNotPresentException=function(a){this[adf.mf.internal.api.constants.TYPE_PROPERTY]="oracle.adfmf.framework.exception.DataRangeNotPresentException";this[adf.mf.internal.api.constants.EXCEPTION_FLAG_PROPERTY]=!0;this.name="DataRangeNotPresentException";this.message=a||""};adf.mf.DataRangeNotPresentException.prototype=Error();window.JavaScriptModel=function(){};adf=window.adf||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};adf.mf.el=adf.mf.el||{};adf.mf.locale=adf.mf.locale||{};
adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};
adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};adf.mf.internal.mb.ManagedBeanDefinition=adf.mf.internal.mb.ManagedBeanDefinition||{APPLICATION:"applicationScope",PAGE_FLOW:"pageFlowScope",VIEW:"viewScope"};
adf.mf.internal.mb.setBeanDefinitions=function(a,b,d){var e=adf.mf.internal.util.is_array(a)?a:[a],a=adf.mf.internal.util.is_array(b)?b:[b];if(!adf.mf.internal.isJavaAvailable()){if(0==e.length){for(b=0;b<a.length;++b)try{a[b](null,null)}catch(g){}return}adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.mb.setBeanDefinitions","MSG_ERROR_MNGD_BEANS_NOT_SUPPORTED")}adf.mf.api.invokeMethod("oracle.adfmf.framework.api.Model","setBeanDefinitions",e,b,d)};
adf.mf.internal.mb.ManagedBeanDefinition=function(a,b,d,e){this.beanName=a;this.fqnClassname=b;this.scope=d;this.props=e;this.getBeanName=function(){return this.beanName};this.getBeanClass=function(){return this.fqnClassname};this.getScope=function(){return this.scope};this.getManagedProperties=function(){return this.props}};
adf.mf.internal.mb.ManagedPropertyDefinition=function(a,b,d){this.name=a;this.type=b;this.value=d;this.getBeanName=function(){return this.beanName};this.getType=function(){return this.type};this.getValue=function(){return this.value}};adf=window.adf||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};adf.mf.el=adf.mf.el||{};adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};
adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};
(function(){function a(){this.map=null;this.resolveFunction=function(a,b){null===this.map&&(this.map={});return this.map[a+":"+b]};this.setFunction=function(a,b,g){null===this.map&&(this.map={});this.map[a+":"+b]=g}}function b(){this.map=null;this.nextModLZWCode=0;this.resolveVariable=function(a){null===this.map&&(this.map={});return this.map[a]};this.setVariable=function(a,b){null===this.map&&(this.map={});this.map[a]=b;return this.map[a]};this.removeVariable=function(a){null!==this.map&&void 0!==
this.map[a]&&delete this.map[a]};this.clearWeakReferences=function(){if(null!==this.map){for(var a in this.map)void 0!==this.map[a][adf.mf.internal.api.constants.WEAK_REFERENCE_PROPERTY]&&(adf.mf.internal.perf.trace("JavaScriptVariables.clearWeakReferences","removing weak ref - "+a),delete this.map[a]);this.nextModLZWCode=0}};this.resolveWeakReference=function(a){a=this.resolveVariable(a);if(void 0!=a)return a[adf.mf.internal.api.constants.WEAK_REFERENCE_PROPERTY]};this.getWeakReference=function(a){if(null!==
this.map)for(var b in this.map){var g=this.map[b][adf.mf.internal.api.constants.WEAK_REFERENCE_PROPERTY];if(void 0!==g&&0==a.indexOf(g))return a=b+a.substring(g.length),adf.mf.internal.perf.trace("JavaScriptVariables.getWeakReference","just found weak ref - "+a),a}};this.findMatchingWeakReference=function(a){if(null!==this.map)for(var b in this.map){var g=this.map[b][adf.mf.internal.api.constants.WEAK_REFERENCE_PROPERTY];if(void 0!==g&&a==g)return b}};this.addCompressedReference=function(a){var b=
this.findMatchingWeakReference(a);if(void 0==b){var g={};g[adf.mf.internal.api.constants.WEAK_REFERENCE_PROPERTY]=a;b="_"+this.nextModLZWCode++;adf.mf.internal.perf.trace("JavaScriptVariables.addCompressedReference","just added a weak ref - "+g);this.setVariable(b,g)}return b}}adf.mf.internal.el.JavaScriptContext=function(d){this.context=this;this.functions=null;this.resolver=d||null;this.security=this.vmchannel=this.variables=null;this.modid=(new Date).getMilliseconds;this.getModId=function(){return this.modid};
this.updateModId=function(){this.modid=(new Date).getMilliseconds};this.getContext=function(a){return void 0===this.context||null===this.context?null:void 0===a?this.context:this.context[a]};this.getELResolver=function(){null===this.resolver&&(this.resolver=new adf.mf.internal.el.CompositeELResolver,this.getVariableMapper().setVariable("viewScope",{}),this.getVariableMapper().setVariable("pageFlowScope",{}),this.getVariableMapper().setVariable("applicationScope",{}),this.getVariableMapper().setVariable("preferenceScope",
{}),this.getVariableMapper().setVariable("validationScope",{}),this.getVariableMapper().setVariable("deviceScope",{device:{},hardware:{screen:{}}}),this.resolver.add(new adf.mf.internal.el.AttributeELResolver(!1)),this.resolver.add(new adf.mf.internal.el.AttributeBindingELResolver(!1)),this.resolver.add(new adf.mf.internal.el.TreeBindingsELResolver(!1)),this.resolver.add(new adf.mf.internal.el.TreeNodeELResolver(!1)),this.resolver.add(new adf.mf.internal.el.ArrayELResolver(!1)),this.resolver.add(new adf.mf.internal.el.MapELResolver(!1)),
this.resolver.add(new adf.mf.internal.el.RootPropertyELResolver(!1)));return this.resolver};this.getFunctionMapper=function(){null===this.functions&&(this.functions=new a);return this.functions};this.getVariableMapper=function(){null===this.variables&&(this.variables=new b);return this.variables};this.isPropertyResolved=function(){return this.resolved};this.putContext=function(a,b){if(void 0===this.context||null===this.context)this.context={};if(void 0===a||null===a)throw Error("invalid key");if(void 0===
b||null===b)throw Error("invalid context object");this.context[a]=b};this.setELResolver=function(a){this.resolver=a};this.setFunction=function(b,d,h){null===this.functions&&(this.functions=new a);this.functions.setFunction(b,d,h)};this.setPropertyResolved=function(a){this.resolved=a};this.clearWeakReferences=function(){null===this.variables&&(this.variables=new b);return this.variables.clearWeakReferences()};this.getWeakReference=function(a){null===this.variables&&(this.variables=new b);return this.variables.getWeakReference(a)};
this.addCompressedReference=function(a){null===this.variables&&(this.variables=new b);return this.variables.addCompressedReference(a)};this.uncompressReference=function(a){try{var b=a.indexOf("."),d=0<b?a.substring(0,b):a,k=0<b?a.substring(b):"",b=void 0;null!=this.variables&&(b=this.variables.resolveWeakReference(d));return void 0!=b?b+k:a}catch(m){return a}};this.setVariable=function(a,d){null===this.variables&&(this.variables=new b);return this.variables.setVariable(a,d)};this.removeVariable=function(a){null===
this.variables&&(this.variables=new b);return this.variables.removeVariable(a)};this.invokeJavaMethod=function(a,b,d,k){null===this.vmchannel&&(this.vmchannel=new adf.mf.internal.VMChannel(this));void 0!=a&&(b.featureId=a);this.vmchannel.nonBlockingCall(b,d,k)};this.invokeSecurityMethod=function(a,b,d,k,m,n){null===this.security&&(this.security=new adf.mf.security(this));return this.getFunctionMapper().resolveFunction("Security",a).call(void 0,b,d,k,m,n)};this.toString=function(){return"[ ELContext: "+
this.context+" ]"}};adf.mf.internal.VMChannel=function(a){this.blockingCall=function(){throw adf.mf.UnsupportedOperationException("blocking calls are not supported in this version");};this.nonBlockingCall=function(a,b,d){var k=[],m=[],n=a.classname+":"+a.method;if(void 0!==adf.mf.internal.batchRequest){var o={},k=k.concat(adf.mf.internal.util.is_array(b)?b:[b]),m=m.concat(adf.mf.internal.util.is_array(d)?d:[d]);adf.mf.internal.perf.snapshot("adf.mf.internal.VMChannel.nonBlockingCall","appending request on the batch request.");
adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf.mf.internal.VMChannel","nonBlockingCall","appending request on the batch request - actual request is being defered.");adf.mf.internal.batchRequest.push(a);o[adf.mf.internal.api.constants.DEFERRED_PROPERTY];for(b=0;b<k.length;++b)try{k[b](a,o)}catch(q){}}else{k=k.concat([function(){adf.mf.internal.perf.stop("adf.mf.internal.VMChannel.nonBlockingCall",n)}]);k=k.concat(adf.mf.internal.util.is_array(b)?b:[b]);m=m.concat([function(){adf.mf.internal.perf.stop("adf.mf.internal.VMChannel.nonBlockingCall",
n)}]);m=m.concat(adf.mf.internal.errorHandlers);m=m.concat(adf.mf.internal.util.is_array(d)?d:[d]);try{adf.mf.internal.perf.start("adf.mf.internal.VMChannel.nonBlockingCall",n),container.internal.device.integration.vmchannel.invoke(1E4,a,k,m)}catch(s){if(!adf.mf.internal.isJavaAvailable()||"TypeError"==s.name||"ReferenceError"==s.name)s=new adf.mf.NoChannelAvailableException;for(b=0;b<m.length;++b)try{m[b](a,s)}catch(t){}}}};a.setFunction("VMChannel","blockingCall",this.blockingCall);a.setFunction("VMChannel",
"nonBlockingCall",this.nonBlockingCall)};adf.mf.security=function(a){this.login=function(a,b,d){void 0!==container.internal.device.integration&&void 0!==container.internal.device.integration.Security?container.internal.device.integration.Security.featureLogin(a,b,d):adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"Security","login","adfmf - invoking the Security command ")};this.logout=function(){void 0!==container.internal.device.integration&&
void 0!==container.internal.device.integration.Security?container.internal.device.integration.Security.featureLogout():adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"Security","logout","adfmf - invoking the Security command ")};this.isAuthenticated=function(){void 0!==container.internal.device.integration&&void 0!==container.internal.device.integration.Security?container.internal.device.integration.Security.featureIsAuthenticated():adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&
adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"Security","isAuthenticated","adfmf - invoking the Security command ")};this.cancelLogin=function(){void 0!==container.internal.device.integration&&void 0!==container.internal.device.integration.Security?container.internal.device.integration.Security.cancelLogin():console.log("adfmf - invoking the Security command ")};this.isConnectionMultiTenantAware=function(a,b,d,k){void 0!==container.internal.device.integration&&void 0!==container.internal.device.integration.Security?
container.internal.device.integration.Security.featureIsConnectionMultiTenantAware(k):adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"Security","isConnectionMultiTenantAware","adfmf - invoking the Security command ")};this.getMultiTenantUsername=function(a,b,d,k){void 0!==container.internal.device.integration&&void 0!==container.internal.device.integration.Security?container.internal.device.integration.Security.featureGetMultiTenantUsername(k):
adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"Security","getMultiTenantUsername","adfmf - invoking the Security command ")};this.getLoginViewInitData=function(a,b,d,k,m){try{adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"Security","getLoginViewInitData","invoking security command."),container.internal.device.integration.Security.getLoginViewInitData(k,m)}catch(n){adf.mf.log.Framework.isLoggable(adf.mf.log.level.WARNING)&&
adf.mf.log.Framework.logp(adf.mf.log.level.WARNING,"Security","getLoginViewInitData","Security.getLoginViewInitData was not invoked (error="+n+")")}};a.setFunction("Security","cancelLogin",this.cancelLogin);a.setFunction("Security","login",this.login);a.setFunction("Security","logout",this.logout);a.setFunction("Security","isAuthenticated",this.isAuthenticated);a.setFunction("Security","isConnectionMultiTenantAware",this.isConnectionMultiTenantAware);a.setFunction("Security","getMultiTenantUsername",
this.getMultiTenantUsername);a.setFunction("Security","getLoginViewInitData",this.getLoginViewInitData)}})();adf=window.adf||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};adf.mf.el=adf.mf.el||{};adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};
adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};
(function(){adf.mf.api.checkForNewConfiguration=function(a,b){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.AdfmfContainerUtilities","checkForNewConfiguration",a,b)};adf.mf.api.getFeatures=function(a,b){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.AdfmfContainerUtilities","getFeatures",a,b)};adf.mf.api.getApplicationInformation=function(a,b){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.AdfmfContainerUtilities","getApplicationInformation",a,b)};adf.mf.api.gotoFeature=function(a,
b,d){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.AdfmfContainerUtilities","gotoFeature",a,b,d)};adf.mf.api.gotoSpringboard=function(a,b){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.AdfmfContainerUtilities","gotoSpringboard",a,b)};adf.mf.api.gotoDefaultFeature=function(a,b){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.AdfmfContainerUtilities","gotoDefaultFeature",a,b)};adf.mf.api.resetFeature=function(a,b,d){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.AdfmfContainerUtilities",
"resetFeature",a,b,d)};adf.mf.api.hideNavigationBar=function(a,b){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.AdfmfContainerUtilities","hideNavigationBar",a,b)};adf.mf.api.showNavigationBar=function(a,b){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.AdfmfContainerUtilities","showNavigationBar",a,b)};adf.mf.api.invokeContainerJavaScriptFunction=function(a,b,d,e,g){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.AdfmfContainerUtilities","invokeContainerJavaScriptFunction",a,b,d,e,
g)};adf.mf.api.invokeContainerMethod=function(a,b,d,e,g){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.AdfmfContainerUtilities","invokeContainerMethod",a,b,d,e,g)};adf.mf.api.getFeatureById=function(a,b,d){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.AdfmfContainerUtilities","getFeatureById",a,b,d)};adf.mf.api.getFeatureByName=function(a,b,d){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.AdfmfContainerUtilities","getFeatureByName",a,b,d)};adf.mf.internal.api.invokeMethod=function(){argc=
arguments.length;params=[];for(var a=3;a<argc-2;a++)params[a-3]=arguments[a];adf.mf.internal.context.invokeJavaMethod(arguments[0],{classname:arguments[1],method:arguments[2],params:params},arguments[argc-2],arguments[argc-1])};adf.mf.api.sendEmail=function(a,b,d){if(a){var e=a.attachments,g=a.mimeTypes;if(e||g)if(e=e?e.split(","):[],g=(g?g.split(","):[]).length,e=e.length,0<g&&e!=g&&null!=d){a=adf.mf.internal.resource.getResourceStringImpl("ADFErrorBundle","ERR_MIMETYPES_NOTEQUAL_ATTACHMENTS",[g,
e]);d(a);return}}Cordova.exec(b,d,"ADFMobileMessaging","sendEmail",[a])};adf.mf.internal.api.sendEmail=function(a,b,d){try{adf.mf.api.sendEmail(d,function(d){d=d||{};try{adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseSuccess",b,d,function(){},function(){})}catch(e){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.sendEmail","MSG_ERROR_IN_REQUEST","asyncContainerJavaScriptFunctionResponseSuccess",
e)}},function(d){d=d||{};try{adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseFailed",b,d,function(){},function(){})}catch(e){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.sendEmail","MSG_ERROR_IN_REQUEST","asyncContainerJavaScriptFunctionResponseFailed",e)}})}catch(e){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.api.sendEmail","MSG_EXCEPTION",
e),adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseFailed",b,msg,function(){},function(){})}};adf.mf.api.sendSMS=function(a,b,d){adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.api.getDeviceProperties","CORDOVA_DEBUG","Inside the ContainterIntegration.js invoking ADFMobileMessaging.sendSMS Cordova plugin");Cordova.exec(b,d,"ADFMobileMessaging",
"sendSMS",[a])};adf.mf.internal.api.sendSMS=function(a,b,d){try{adf.mf.api.sendSMS(d,function(d){d=d||{};try{adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseSuccess",b,d,function(){},function(){})}catch(e){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.sendSMS","MSG_ERROR_IN_REQUEST","asyncContainerJavaScriptFunctionResponseSuccess",e)}},function(d){d=d||{};try{adf.mf.internal.api.invokeMethod(a,
"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseFailed",b,d,function(){},function(){})}catch(e){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.sendSMS","MSG_ERROR_IN_REQUEST","asyncContainerJavaScriptFunctionResponseFailed",e)}})}catch(e){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.api.sendSMS","MSG_EXCEPTION",e),adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal",
"asyncContainerJavaScriptFunctionResponseFailed",b,msg,function(){},function(){})}};adf.mf.api.getDeviceProperties=function(a,b){adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.api.getDeviceProperties","CORDOVA_DEBUG","Inside the ContainterIntegration.js invoking ADFMobileDeviceProperties.getDeviceProperties Cordova plugin");Cordova.exec(a,b,"ADFMobileDeviceProperties","getDeviceProperties",[])};adf.mf.internal.api.getCurrentPosition=
function(a,b){try{navigator.geolocation.getCurrentPosition(function(d){d=d||{};try{adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseSuccess",b,d,function(){},function(){})}catch(g){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.getCurrentPosition","MSG_ERROR_IN_REQUEST","asyncContainerJavaScriptFunctionResponseSuccess",g)}},function(d){d=null!=d&&void 0!==d?d.message:
"unknown error";try{adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseFailed",b,d,function(){},function(){})}catch(g){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.getCurrentPosition","MSG_ERROR_IN_REQUEST","asyncContainerJavaScriptFunctionResponseFailed",g)}})}catch(d){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"navigator.geolocation.getCurrentPosition",
"MSG_EXCEPTION",d),adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseFailed",b,msg,function(){},function(){})}};adf.mf.internal.api.watchPosition=function(a,b,d,e){var g=!0;try{var h=navigator.geolocation.watchPosition(function(e){e=e||{};if(g){try{adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseSuccess",b,""+h,function(){},
function(){})}catch(k){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.watchPosition","MSG_ERROR_IN_REQUEST","asyncContainerJavaScriptFunctionResponseSuccess",k)}g=!1}try{adf.mf.api.invokeMethod("oracle.adf.model.datacontrols.device.GeolocationProxy","invokeEmbeddedCallback",d,e,function(){},function(){})}catch(o){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.watchPosition","MSG_ERROR_IN_REQUEST","invokeEmbeddedCallback",
o)}},function(d){navigator.geolocation.clearWatch(""+h);d=null!=d&&void 0!==d?d.message:"unknown error";try{adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseFailed",b,d,function(){},function(){})}catch(e){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.watchPosition","MSG_ERROR_IN_REQUEST","asyncContainerJavaScriptFunctionResponseFailed",e)}},e)}catch(k){adf.mf.log.logInfoResource("ADFInfoBundle",
adf.mf.log.level.SEVERE,"navigator.geolocation.watchPosition","MSG_EXCEPTION",k),adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseFailed",b,msg,function(){},function(){})}};adf.mf.internal.api.clearWatch=function(a){adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.SEVERE,"adf.mf.internal.api.clearWatch","CORDOVA_DEBUG",a);navigator.geolocation.clearWatch(a)};
adf.mf.internal.api.createContact=function(a,b,d){adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.internal.api.createContact","CORDOVA_DEBUG",adf.mf.util.stringify(d));try{null!=d&&null==d.displayName&&(d.displayName=""),adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf.mf.internal.api.createContact","CORDOVA_DEBUG_JUST_BEFORE_CREATE_CONTACT_CALL_TO_CORDOVA",adf.mf.util.stringify(d)),
navigator.contacts.create(d).save(function(d){var d=d||{},e=d.birthday;if(isNaN(e)||"undefined"==typeof e.getDate)d.birthday=null;try{adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseSuccess",b,d,function(){},function(){})}catch(k){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.createContact","MSG_ERROR_IN_REQUEST","asyncContainerJavaScriptFunctionResponseSuccess",
k)}},function(d){d=null!=d&&void 0!==d?d.code:ContactError.UNKNOWN_ERROR;try{adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseFailed",b,d,function(){},function(){})}catch(e){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.createContact","MSG_ERROR_IN_REQUEST","asyncContainerJavaScriptFunctionResponseFailed",e)}})}catch(e){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,
"navigator.contacts.save","MSG_EXCEPTION",e),adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseFailed",b,msg,function(){},function(){})}};adf.mf.internal.api.findContacts=function(a,b,d,e){adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&(adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.internal.api.findContacts","CORDOVA_DEBUG - fields",d),adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.internal.api.findContacts",
"CORDOVA_DEBUG - options",adf.mf.util.stringify(e)));try{navigator.contacts.find(d,function(d){d=d||{};adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.internal.api.find success","CORDOVA_FIND_CONTACTS_BEFORE_CONVERTING",adf.mf.util.stringify(d));try{for(var e=0;e<d.length;e++){var g=d[e],n=g.birthday;try{null!=n&&!isNaN(n)&&(g.birthday=new Date(parseFloat(n)))}catch(o){adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,
"adf.mf.internal.api.find success","CORDOVA_FIND_CONTACTS_DURING_CONVERT_BDAY","Exception converting date from long to String"),adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.util.convertContact","MSG_EXCEPTION",o)}}adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.internal.api.find success","CORDOVA_FIND_CONTACTS_AFTER_CONVERTING",adf.mf.util.stringify(d));adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal",
"asyncContainerJavaScriptFunctionResponseSuccess",b,d,function(){},function(){})}catch(q){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.findContacts","MSG_ERROR_IN_REQUEST","asyncContainerJavaScriptFunctionResponseSuccess",q)}},function(d){d=null!=d&&void 0!==d?d.code:ContactError.UNKNOWN_ERROR;try{adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseFailed",b,d,function(){},
function(){})}catch(e){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.findContacts","MSG_ERROR_IN_REQUEST","asyncContainerJavaScriptFunctionResponseFailed",e)}},e)}catch(g){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"navigator.contacts.find","MSG_EXCEPTION",g),adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseFailed",b,msg,function(){},function(){})}};
adf.mf.internal.api.removeContact=function(a,b,d){adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.internal.api.removeContact","CORDOVA_DEBUG",adf.mf.util.stringify(d));try{navigator.contacts.create(d).remove(function(d){d=d||{};try{adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseSuccess",b,d,function(){},function(){})}catch(e){adf.mf.log.logInfoResource("ADFInfoBundle",
adf.mf.log.level.SEVERE,"adf.mf.internal.api.removeContact","MSG_ERROR_IN_REQUEST","asyncContainerJavaScriptFunctionResponseSuccess",e)}},function(d){d=null!=d&&void 0!==d?d.code:ContactError.UNKNOWN_ERROR;try{adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseFailed",b,d,function(){},function(){})}catch(e){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.removeContact",
"MSG_ERROR_IN_REQUEST","asyncContainerJavaScriptFunctionResponseFailed",e)}})}catch(e){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"navigator.contacts.remove","MSG_EXCEPTION",e),adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseFailed",b,msg,function(){},function(){})}};adf.mf.internal.api.getPicture=function(a,b,d){adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,
"adf.mf.internal.api.getPicture","CORDOVA_DEBUG",adf.mf.util.stringify(d));try{navigator.camera.getPicture(function(d){d=d||{};adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.internal.api.getPicture success","CORDOVA_DEBUG","");try{adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseSuccess",b,d,function(){},function(){})}catch(e){adf.mf.log.logInfoResource("ADFInfoBundle",
adf.mf.log.level.SEVERE,"adf.mf.internal.api.getPicture","MSG_ERROR_IN_REQUEST","asyncContainerJavaScriptFunctionResponseSuccess",e)}},function(d){d=d||{};adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.internal.api.getPicture","CORDOVA_DEBUG",d);try{adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseSuccess",b,"",function(){},function(){})}catch(e){adf.mf.log.logInfoResource("ADFInfoBundle",
adf.mf.log.level.SEVERE,"adf.mf.internal.api.getPicture","MSG_ERROR_IN_REQUEST","asyncContainerJavaScriptFunctionResponseFailed",e)}},d)}catch(e){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"navigator.camera.getPicture","MSG_EXCEPTION",e),adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseFailed",b,msg,function(){},function(){})}};adf.mf.internal.api.getDeviceProperties=function(a,b){adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&
adf.mf.log.Framework.logp(adf.mf.log.level.SEVERE,"adf.mf.internal.api.getDeviceProperties","CORDOVA_DEBUG","");try{adf.mf.api.getDeviceProperties(function(d){d=d||{};adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.internal.api.getDeviceProperties success","CORDOVA_DEBUG",adf.mf.util.stringify(d));d.device.phonegap=window.device.cordova;try{adf.mf.internal.api.invokeMethod(a,"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal",
"asyncContainerJavaScriptFunctionResponseSuccess",b,d,function(){},function(){})}catch(g){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.getDeviceProperties","MSG_ERROR_IN_REQUEST","asyncContainerJavaScriptFunctionResponseSuccess",g)}},function(d){d=d||{};adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.internal.api.getDeviceProperties failed","CORDOVA_DEBUG","");try{adf.mf.internal.api.invokeMethod(a,
"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseFailed",b,d,function(){},function(){})}catch(g){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.getDeviceProperties","MSG_ERROR_IN_REQUEST","asyncContainerJavaScriptFunctionResponseFailed",g)}})}catch(d){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.api.getDeviceProperties","MSG_EXCEPTION",d),adf.mf.internal.api.invokeMethod(a,
"oracle.adfmf.framework.internal.AdfmfContainerUtilitiesInternal","asyncContainerJavaScriptFunctionResponseFailed",b,msg,function(){},function(){})}}})();adf=window.adf||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};adf.mf.el=adf.mf.el||{};adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};
adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};
(function(){adf.mf.log.Performance=adf.mf.log.Performance||new adf.mf.log.logger("oracle.adfmf.performance");adf.mf.log.Performance.init(adf.mf.log.level.FINE,"[%LEVEL% - %LOGGER% - %CLASS% - %METHOD%] %MESSAGE%");var a=void 0,b=void 0,d=1,e=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],g=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],h=0,k=30,m=0,n=0,o=0,q=[];adf.mf.internal.perf.getCurrentSequenceId=function(){return"ID: "+e};adf.mf.internal.perf.getQueryParameter=
function(a){try{var b=adf.mf.api.getQueryString(),b=b.toLowerCase();return adf.mf.api.getQueryStringParamValue(b,a.toLowerCase())}catch(d){adf.mf.log.Framework.logp(adf.mf.log.level.WARNING,"adf.mf.internal.perf","getQueryParameter","query parameter '"+a+"' was not found.")}};n=Math.floor(adf.mf.internal.perf.getQueryParameter("appStartTime")||0);o=Math.floor(adf.mf.internal.perf.getQueryParameter("webviewStartTime")||0);(new Date).getTime();adf.mf.internal.perf.adjustScopeLevel=function(a){if(h+
a>=e.length)throw new adf.mf.IllegalArgumentException("performance logging too deep to record (depth="+h+").");0>a&&h+1<e.length&&(e[h+1]=0);h+=a};adf.mf.internal.perf.getNextSequenceId=function(a){var b=void 0;e[h-1]+="STOP"==a||"STOP.STORY"==a?0:1;b=e.slice(0,h);b=b.concat(g);return b.slice(0,k).join(".")};adf.mf.internal.perf.enterBlock=function(){adf.mf.internal.perf.adjustScopeLevel(1)};adf.mf.internal.perf.leaveBlock=function(){adf.mf.internal.perf.adjustScopeLevel(-1)};adf.mf.internal.perf.AdfPerfLogRecord=
function(a,b,d,e,g){this.sequence=adf.mf.internal.perf.getNextSequenceId(a);this.mtype=a;this.depth=h;this.when=e?new Date(e):new Date;this.message=b;g?(this.timing=g,this.delta=g-m,m=g):this.delta=this.timing=null;this.key=d?d:null};adf.mf.internal.perf.AdfPerfTimingConsoleLogger=function(){this.Init()};adf.mf.internal.perf.AdfPerfTimingConsoleLogger.prototype.Init=function(){this._loggedMessages=[];this._lastTimeOffset=0};adf.mf.internal.perf.AdfPerfTimingConsoleLogger.prototype.storeLogRecord=
function(a){if(void 0===a)throw new adf.mf.IllegalArgumentException("logRecord is invalid");1>this._loggedMessages.length&&(a.timing=null);this._loggedMessages.push(a)};adf.mf.internal.perf.AdfPerfTimingConsoleLogger.prototype.getLogRecords=function(){return this._loggedMessages};adf.mf.internal.perf.AdfPerfTimingConsoleLogger.prototype.Clear=function(){var a=(new Date).getTime();delete this._loggedMessages;this._loggedMessages=null;this._loggedMessages=[];this._lastTimeOffset=0;this._appDelta=a-
n;this._featureDelta=a-o};adf.mf.internal.perf.AdfPerfTimingConsoleLogger.prototype.FormatWhen=function(a){if(a){var b=a.toTimeString(),d=b.indexOf(" ");-1!=d&&(b=b.substring(0,d));return b+=", "+a.getTime()}return null};adf.mf.internal.perf.AdfPerfTimingConsoleLogger.prototype.FormatMessage=function(a){a=a.replace(/</g,"&lt;");a=a.replace(/>/g,"&gt;");return a=a.replace(/\n/g,"<br>")};adf.mf.internal.perf.AdfPerfTimingConsoleLogger.prototype.FormatLogRecord=function(a){var b="",d="";adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINER)||
(b+=this.FormatWhen(a.when),b+=", ",d=(a.key||"NoCategory").substring(0,10)+", ",b+=formatLine(d,0,12));d=a.sequence+", ";b+=formatLine(d,0,3*k);d=""+a.timing+", ";b+=formatLine(d,0,6);d=(""+a.delta).substring(0,8)+", ";b+=formatLine(d,0,6);d=(""+a.depth||"???").substring(0,3)+", ";b+=formatLine(d,0,6);d=((a.mtype||"UNKNOWN")+",         ").substring(0,12);b+=formatLine(d,0,10)+" MSG, ";d=a.message;return b+=formatLine(d,a.depth,32)};formatLine=function(a,b,d){for(var a=a||"undefined",b=b||0,d=(d||
0)-a.length,e=0;e<b;++e)a=" "+a;for(b=0;b<d;++b)a+=" ";return a};adf.mf.internal.perf.AdfPerfTimingConsoleLogger.prototype.closeRecord=function(){var a="\n",b=void 0,g=void 0;if(this._loggedMessages.length){for(var a=this._loggedMessages.length,k=0;k<a;k++){if("START.STORY"==this._loggedMessages[k].mtype)for(var m=k+1;m<a;m++)if("START.STORY"!=this._loggedMessages[m].mtype){this._loggedMessages[k].when=this._loggedMessages[m].when;break}if("STOP.STORY"==this._loggedMessages[k].mtype)for(m=k-1;0<m;m--)if("STOP.STORY"!=
this._loggedMessages[m].mtype){this._loggedMessages[k].when=this._loggedMessages[m].when;break}}for(k=0;k<a;k++)m=this._loggedMessages[k].when,this._loggedMessages[k]="LR "+d+", "+this.FormatLogRecord(this._loggedMessages[k]),b=void 0!==b&&b<m?b:m,g=void 0!==g&&g>m?g:m;a=" [time offsets app: "+this._appDelta+" feature: "+this._featureDelta+"] ";a=a+(" took "+(g-b)+" ms.\n")+"<LR>, <time>, <timestamp>, <category>, <sequence id>, <timing>, <delta>, <depth>, <type>, <message>\n"+this._loggedMessages.join("\n");
adf.mf.log.Performance.logp(adf.mf.log.level.FINE,"AdfPerfTimingConsoleLogger","perfTimings",a);d++;e[h]=0}this.Clear()};var s=new adf.mf.internal.perf.AdfPerfTimingConsoleLogger;adf.mf.internal.perf.getMaxDepth=function(){return k};adf.mf.internal.perf.setMaxDepth=function(a){k=a};adf.mf.internal.perf.getCurrentDepth=function(){return h};adf.mf.internal.perf.perfTimings=function(a,b,d,e,g,h){if(adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINE)||adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINER)&&
d)adf.mf.internal.perf.enterBlock(),adf.mf.internal.perf.log(0,a,b,d,e,g,h),adf.mf.internal.perf.leaveBlock()};adf.mf.internal.perf.trace=function(a,b,d){adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINEST)&&(adf.mf.internal.perf.enterBlock(),adf.mf.internal.perf.log("TRACE",!1,!1,!1,a,b,d),adf.mf.internal.perf.leaveBlock())};adf.mf.internal.perf.snapshot=function(a,b,d){adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINER)&&(adf.mf.internal.perf.enterBlock(),adf.mf.internal.perf.log("CHECK",
!1,!1,!1,a,b,d),adf.mf.internal.perf.leaveBlock())};adf.mf.internal.perf.start=function(a,b,d){if(adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINE)||adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINER)&&timing)adf.mf.internal.perf.enterBlock(),adf.mf.internal.perf.log("START",!1,!1,!0,a,b,d)};adf.mf.internal.perf.stop=function(a,b,d){if(adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINE)||adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINER)&&timing)adf.mf.internal.perf.log("STOP",
1==h,!1,!0,a,b,d),adf.mf.internal.perf.leaveBlock()};adf.mf.internal.perf.log=function(d,e,g,m,n,o,q){if(h>k-1)adf.mf.log.Performance.logp(adf.mf.log.level.SEVERE,"AdfPerfTimingConsoleLogger","--ERROR--","Attempting to go over the top in the nesting level for "+("record: (key="+q+", str1="+n+", str2="+o+")"));else if(0>h&&(adf.mf.log.Performance.logp(adf.mf.log.level.SEVERE,"AdfPerfTimingConsoleLogger","--ERROR--","Attempting to go negative in the nesting level for "+("record: (key="+q+", str1="+
n+", str2="+o+")")),h=0),adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINE)||adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINER)&&m){var A=void 0,A=void 0,n=(n||"")+" "+(o||"");if("boolean"!=typeof e||"boolean"!=typeof g||"boolean"!=typeof m)throw new adf.mf.IllegalArgumentException("closeRecord="+e+", closeBefore="+g+", timing="+m);A=(new Date).getTime();void 0===b&&(b=A);a=a||0;A-=a;e?(g?(s.closeRecord(),s.storeLogRecord(new adf.mf.internal.perf.AdfPerfLogRecord(d,n,q,A))):(s.storeLogRecord(new adf.mf.internal.perf.AdfPerfLogRecord(d,
n,q,A,A-b)),s.closeRecord()),b=void 0):s.storeLogRecord(new adf.mf.internal.perf.AdfPerfLogRecord(d,n,q,A,A-b))}};adf.mf.internal.perf.story.isEnabled=function(){return adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINE)||adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINER)||adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINEST)};adf.mf.internal.perf.story.start=function(a){if(adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINE)||adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINER)||
adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINEST))q.push(a),adf.mf.internal.perf.enterBlock(),adf.mf.internal.perf.log("START.STORY",!1,!1,!0,"user story",a,"")};adf.mf.internal.perf.story.stop=function(){if(adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINE)||adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINER)||adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINEST)){var a=q.pop();void 0!==a?(adf.mf.internal.perf.log("STOP.STORY",1==h,!1,!0,"user story",a,""),adf.mf.internal.perf.leaveBlock()):
adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.internal.perf.story","stop","attempting to stop an user story but there are no started stories.")}}})();adf=window.adf||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};adf.mf.el=adf.mf.el||{};adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};
adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};
adf.mf.internal.el.ArrayELResolver=function(a){this.readOnly=void 0===a?!1:a;this.getCommonPropertyType=function(a,d){return this.isResolvable(d)?"number":null};this.getFeatureDescriptors=function(){return null};this.getType=function(a,d,e){if(null===a)throw new adf.mf.NullPointerException("context is null");var g=null;this.isResolvable(d)&&(a.setPropertyResolved(!0),g=typeof d[e]|NaN);return g};this.getValue=function(a,d,e){if(null===a)throw new adf.mf.NullPointerException("context is null");var g=
null;this.isResolvable(d)&&(g=d[e],a.setPropertyResolved(void 0!==g));return g};this.isReadOnly=function(a,d){if(null===a)throw new adf.mf.NullPointerException("context is null");this.isResolvable(d)&&a.setPropertyResolved(!0);return this.readOnly};this.setValue=function(a,d,e,g){if(null===a)throw new adf.mf.NullPointerException("context is null");if(this.isResolvable(d)){if(this.readOnly)throw new adf.mf.PropertyNotWritableException("resolver is read-only");d[e]=g;a.setPropertyResolved(!0)}};this.isResolvable=
function(a){return void 0!==a&&null!==a&&a instanceof Array}};adf=window.adf||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};adf.mf.el=adf.mf.el||{};adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};adf.mf.internal.locale=adf.mf.internal.locale||{};
adf.mf.internal.log=adf.mf.internal.log||{};adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};
adf.mf.internal.el.MapELResolver=function(a){this.readOnly=void 0===a?!1:a;this.getCommonPropertyType=function(a,d){return this.isResolvable(d)?typeof d:null};this.getFeatureDescriptors=function(){throw new adf.mf.UnsupportedOperationException("feature descriptions not available");};this.getType=function(a,d,e){if(void 0===a||null===a)throw new adf.mf.NullPointerException("context is null");var g=null;this.isResolvable(d)&&(a.setPropertyResolved(!0),g=typeof d[e]|NaN);return g};this.getValue=function(a,
d,e){if(null===a)throw new adf.mf.NullPointerException("context is null");var g=null;this.isResolvable(d)&&(g=d[e],void 0==g&&"object"==typeof d&&"bindings"==e&&(g=d),a.setPropertyResolved(void 0!==g));return g};this.isReadOnly=function(a,d){if(null===a)throw new adf.mf.NullPointerException("context is null");this.isResolvable(d)&&a.setPropertyResolved(!0);return this.readOnly};this.setValue=function(a,d,e,g){if(null===a)throw new adf.mf.NullPointerException("context is null");if(this.isResolvable(d)){if(this.readOnly)throw new adf.mf.PropertyNotWritableException("resolver is read-only");
d[e]=g;a.setPropertyResolved(!0)}};this.isResolvable=function(a){return null!==a&&"object"==typeof a}};adf=window.adf||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};adf.mf.el=adf.mf.el||{};adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};
adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};
(function(){adf.mf.internal.el.TreeNodeELResolver=function(a){this.readOnly=void 0===a?!1:a;this.getCommonPropertyType=function(a,d){return this.isResolvable(d)?typeof d:null};this.getFeatureDescriptors=function(){throw new adf.mf.UnsupportedOperationException("feature descriptions not available");};this.getType=function(a,d,e){if(void 0===a||null===a)throw new adf.mf.NullPointerException("context is null");var g=null;this.isResolvable(d)&&(a.setPropertyResolved(!0),g=typeof d[e]|NaN);return g};this.getValue=
function(a,d,e){if(null===a)throw new adf.mf.NullPointerException("context is null");var g=null;this.isResolvable(d)&&(g="bindings"==e?new adf.mf.internal.el.AttributeBinding(d):"rowkey"==e.toLowerCase()?d.rowKey():"dataProvider"==e?d.getProvider():(d.getProvider()||{})[e],a.setPropertyResolved(void 0!==g));return g};this.isReadOnly=function(a,d){if(null===a)throw new adf.mf.NullPointerException("context is null");this.isResolvable(d)&&a.setPropertyResolved(!0);return this.readOnly};this.setValue=
function(a,d,e,g){if(null===a)throw new adf.mf.NullPointerException("context is null");if(this.isResolvable(d)){if(this.readOnly)throw new adf.mf.PropertyNotWritableException("resolver is read-only");"bindings"==e?d.bindings=g:"dataProvider"==e?d.dataProvider=g:(d.getProvider()||{})[e]=g;a.setPropertyResolved(!0)}};this.isResolvable=function(a){return null!==a&&"object"==typeof a&&"oracle.adfmf.bindings.dbf.TreeNode"==a[".type"]}}})();adf=window.adf||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};
adf.mf.el=adf.mf.el||{};adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.converters=adf.mf.internal.converters||{};adf.mf.internal.converters.dateParser=adf.mf.internal.converters.dateParser||{};adf.mf.internal.converters.dateParser.iso8601=adf.mf.internal.converters.dateParser.iso8601||{};adf.mf.internal.el=adf.mf.internal.el||{};
adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};
adf.mf.util.startBatchRequest=function(){if(void 0!=adf.mf.internal.batchRequest)throw new adf.mf.ELException("Batch Request already started.");adf.mf.internal.batchRequest=[]};adf.mf.util.isException=function(a){var a=void 0!=a&&"object"==typeof a?a:{},b=!0===a[adf.mf.internal.api.constants.EXCEPTION_FLAG_PROPERTY];return b?b:adf.mf.util.isType(a,"Exception")};
adf.mf.util.isType=function(a,b){var d=(void 0!=a&&"object"==typeof a?a:{})[adf.mf.internal.api.constants.TYPE_PROPERTY]||"unknown";return d.length==b.length?d==b:-1!=d.indexOf(b,d.length-b.length)};
adf.mf.util.flushBatchRequest=function(){var a=arguments,b=arguments.length,d=[],e=[];if(4!=b&&3!=b&&2!=b)throw new adf.mf.ELException("Wrong number of arguments");var g=a[0]||!1,d=d.concat([4==b&&!0==a[3]?adf.mf.internal.api.nvpEatErrors:adf.mf.internal.api.arraySimulatedErrors]),d=d.concat(adf.mf.internal.util.is_array(a[1])?a[1]:[a[1]]),d=d.concat([function(){adf.mf.internal.perf.stop("adf.mf.util.flushBatchRequest","success")}]),e=e.concat(adf.mf.internal.util.is_array(a[2])?a[2]:[a[2]]),e=e.concat([function(){adf.mf.internal.perf.stop("adf.mf.util.flushBatchRequest",
"failed")}]);adf.mf.internal.perf.start("adf.mf.util.flushBatchRequest");try{if(void 0===adf.mf.internal.batchRequest||null===adf.mf.internal.batchRequest)throw new adf.mf.IllegalStateException("batch request is not defined");if(0<adf.mf.internal.batchRequest.length)if(adf.mf.internal.isJavaAvailable()){var h=adf.mf.internal.batchRequest.slice(0);adf.mf.internal.perf.snapshot("adf.mf.util.flushBatchRequest","batch request contains "+h.length+" requests.");adf.mf.internal.batchRequest=void 0;adf.mf.api.invokeMethod("oracle.adfmf.framework.api.Model",
"processBatchRequests",g,h,d,e)}else throw new adf.mf.IllegalStateException("invalid environment defined for batch request");else{adf.mf.internal.batchRequest=void 0;for(a=0;a<d.length;++a)try{d[a]()}catch(k){}}}catch(m){for(a=0;a<e.length;++a)try{e[a]()}catch(n){}}};adf.mf.util.getTerms=function(a){return adf.mf.internal.el.parser.parse(a).dependencies()};adf.mf.util.getContextFreeExpression=function(a){return adf.mf.internal.el.parser.parse(a).toContextFreeExpression()};
adf.mf.util.removeDuplicates=function(a){if(adf.mf.internal.util.is_array(a)){a.sort();for(var b=1;b<a.length;)a[b-1]==a[b]?a.splice(b,1):b++}return a};adf.mf.util.stringify=function(a){adf.mf.internal.perf.start("adf.mf.util.stringify");a=adf.mf.internal.util.stringify(a);adf.mf.internal.perf.stop("adf.mf.util.stringify");return a};adf.mf.internal.converters.dateParser.parse=function(a){var b=Date.parse(a);isNaN(b)&&(b=adf.mf.internal.converters.dateParser.iso8601.parse(a));return b};
adf.mf.internal.converters.dateParser.iso8601.parse=function(a){a=/^(\d{4})(?:(\d{2})(\d{2})|-(\d{2})(?:-(\d{2}))?)?(?:T(\d{2})(?::(\d{2})(?::(\d{2}))?|(\d{2})(?:(\d{2}))?)?(?:[,\.](\d+))?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/.exec(a);if(!a)return NaN;var b=this.constants,d=a[b.YEAR],e=a[b.MONTH]||a[b.MONTH_HYPHEN]||"1",g=a[b.DAY]||a[b.DAY_HYPHEN]||"1",h=a[b.HOURS]||"0",k=a[b.MINUTES]||a[b.MINUTES_COLON]||"0",m=a[b.SECONDS]||a[b.SECONDS_COLON]||"0",n=a[b.FRACTION]||"0",o=a[b.ZULU],d=parseInt(d,
10),e=parseInt(e,10),g=parseInt(g,10),h=parseInt(h,10),k=parseInt(k,10),m=parseInt(m,10),q=0;a[b.FRACTION]&&(n=parseFloat("."+n),q=a[b.SECONDS]||a[b.SECONDS_COLON]?Math.round(1E3*n):a[b.MINUTES]||a[b.MINUTES_COLON]?Math.round(6E4*n):Math.round(36E5*n));d=Date.UTC(d,e-1,g,h,k,m);d+=q;o||(o=a[b.TZ_PLUS],q=a[b.TZ_MINUTES]||"0",a=36E5*parseInt(a[b.TZ_HOURS]||"0",10),a+=6E4*parseInt(q,10),d="+"==o?d+a:d-a);return d};
adf.mf.internal.converters.dateParser.iso8601.constants={YEAR:1,MONTH:2,DAY:3,MONTH_HYPHEN:4,DAY_HYPHEN:5,HOURS:6,MINUTES:7,SECONDS:8,MINUTES_COLON:9,SECONDS_COLON:10,FRACTION:11,ZULU:12,TZ_PLUS:13,TZ_HOURS:14,TZ_MINUTES:15};adf.mf.internal.util.tokenSubsitution=function(a,b){for(var d=a,e=0;e<b.length;++e)var g=b[e],d="#{"+adf.mf.internal.el.parser.parse(d).replaceTokens(!0,g)+"}";return d};
adf.mf.internal.util.stringify=function(a){var b=" ";if(a instanceof Array)for(var d=0;d<a.length;++d)b+="["+d+":",b+=this.stringify(a[d]),b+="]";else if("object"===typeof a){b+="{";for(property in a)void 0!==property&&null!==property&&"function"!=typeof a[property]&&(b+=property+":"+this.stringify(a[property])+"; ");b+="}"}else b+=a;return b};adf.mf.internal.util.is_array=function(a){return"object"==typeof a&&a instanceof Array};
adf.mf.util.obfuscate=function(a){return a.replace(/[a-zA-Z]/g,function(a){return String.fromCharCode(("Z">=a?90:122)>=(a=a.charCodeAt(0)+13)?a:a-26)})};adf=window.adf||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};adf.mf.el=adf.mf.el||{};adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};
adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};
(function(){adf.mf.internal.el.TreeBindingsELResolver=function(a){this.readOnly=void 0===a?!1:a;this.inBindings=!1;this.getCommonPropertyType=function(a,d){return this.isResolvable(d)?typeof d:null};this.getFeatureDescriptors=function(){throw new adf.mf.UnsupportedOperationException("feature descriptions not available");};this.getType=function(a,d,e){if(void 0===a||null===a)throw new adf.mf.NullPointerException("context is null");var g=null;this.isResolvable(d)&&(a.setPropertyResolved(!0),g="collectionModel"==
e?typeof d.bindings||"TreeBindings":typeof(d.columnAttributes()||{})[e]||"AttributeBindings");return g};this.getValue=function(a,d,e){if(null===a)throw new adf.mf.NullPointerException("context is null");var g=null;if(this.isResolvable(d)){if("iterator"==e)try{g=new adf.mf.el.TreeNodeIterator(d,0),adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINE)&&adf.mf.internal.perf.snapshot("adf.mf.internal.el.TreeBindingsELResolver","resolved iterator with "+g.getCachedRowCount(0)+" rows cached.")}catch(h){adf.mf.internal.perf.trace("adf.mf.internal.el.TreeBindingsELResolver",
"resolving the iterator resulted in an exception: "+h)}else g=void 0!==d[e]?d[e]:(d.columnAttributes()||{})[e];a.setPropertyResolved(void 0!==g)}return g};this.isReadOnly=function(a,d){if(null===a)throw new adf.mf.NullPointerException("context is null");this.isResolvable(d)&&a.setPropertyResolved(!0);return this.readOnly};this.setValue=function(a,d,e,g){if(null===a)throw new adf.mf.NullPointerException("context is null");if(this.isResolvable(d)){if(this.readOnly)throw new adf.mf.PropertyNotWritableException("resolver is read-only");
if("iterator"==e)throw new adf.mf.PropertyNotWritableException("resolver is read-only");if(void 0!==d[e])d[e]=g;else{if("AttributeBindings"!==typeof g)throw new adf.mf.IllegalArgumentException("value is not a AttributeBindings object");(d.columnAttributes()||{})[e]=g}a.setPropertyResolved(!0)}};this.isResolvable=function(a){return null!==a&&"object"==typeof a&&"TreeBindings"==a[".type"]}}})();adf=window.adf||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};adf.mf.el=adf.mf.el||{};
adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};
adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};
adf.mf.internal.el.Attribute=function(a,b){this.ab=a;this[".type"]="Attribute";this[".name"]=b;this.toString=function(){return"Attribute["+adf.mf.util.stringify(this.getPropertyInputValue())+"]"};this.getProperty=function(a){var b=void 0,g=void 0;try{b=this.ab.getBindings(),g=b[this[".name"]]}catch(h){throw new adf.mf.PropertyNotFoundException("unknown property "+this[".name"]);}return g[a]};this.getPropertyInputValue=function(){if(void 0!==a&&void 0!==a.tn)return""+adf.mf.util.stringify(this.ab.tn.getProvider()[this[".name"]]);
throw new adf.mf.PropertyNotFoundException("unknown property "+this[".name"]);};this.setProperty=function(a,b){this.ab.getBindings()[this[".name"]][a]=b};this.setPropertyInputValue=function(b){if(void 0!==a&&void 0!==a.tn)this.ab.tn.getProvider()[this[".name"]]=b;else throw new adf.mf.PropertyNotFoundException("unknown property "+this._name);}};
adf.mf.internal.el.AttributeELResolver=function(a){this.readOnly=void 0===a?!1:a;this.getCommonPropertyType=function(a,d){return this.isResolvable(d)?typeof d:null};this.getFeatureDescriptors=function(){throw new adf.mf.UnsupportedOperationException("feature descriptions not available");};this.getType=function(a,d,e){if(void 0===a||null===a)throw new adf.mf.NullPointerException("context is null");var g=null;this.isResolvable(d)&&(a.setPropertyResolved(!0),g=typeof d[e]|NaN);return g};this.getValue=
function(a,d,e){if(null===a)throw new adf.mf.NullPointerException("context is null");var g=null;this.isResolvable(d)&&(g="bindings"==e?new adf.mf.internal.el.AttributeBinding(d):"inputValue"==e?d.getPropertyInputValue(e):d.getProperty(e),a.setPropertyResolved(void 0!==g));return g};this.isReadOnly=function(a,d){if(null===a)throw new adf.mf.NullPointerException("context is null");this.isResolvable(d)&&a.setPropertyResolved(!0);return this.readOnly};this.setValue=function(a,d,e,g){if(null===a)throw new adf.mf.NullPointerException("context is null");
if(this.isResolvable(d)){if(this.readOnly)throw new adf.mf.PropertyNotWritableException("resolver is read-only");"inputValue"==e?result=d.setPropertyInputValue(g):d.setProperty(e,g);a.setPropertyResolved(!0)}};this.isResolvable=function(a){return null!==a&&"object"==typeof a&&"Attribute"==a[".type"]}};
adf.mf.internal.el.AttributeBinding=function(a){this[".type"]="AttributeBinding";this.tn=a;this.getBindings=function(){return a.getBindings()};this.getProvider=function(){return a.getProvider()};this.toString=function(){return"Attribute Bindings"}};
adf.mf.internal.el.AttributeBindingELResolver=function(a){this.readOnly=void 0===a?!1:a;this.getCommonPropertyType=function(a,d){return this.isResolvable(d)?typeof d:null};this.getFeatureDescriptors=function(){throw new adf.mf.UnsupportedOperationException("feature descriptions not available");};this.getType=function(a,d,e){if(void 0===a||null===a)throw new adf.mf.NullPointerException("context is null");var g=null;this.isResolvable(d)&&(a.setPropertyResolved(!0),g=typeof d[e]|NaN);return g};this.getValue=
function(a,d,e){if(null===a)throw new adf.mf.NullPointerException("context is null");var g=null;this.isResolvable(d)&&(g=new adf.mf.internal.el.Attribute(d,e),a.setPropertyResolved(void 0!==g));return g};this.isReadOnly=function(a,d){if(null===a)throw new adf.mf.NullPointerException("context is null");this.isResolvable(d)&&a.setPropertyResolved(!0);return this.readOnly};this.setValue=function(a,d,e,g){if(null===a)throw new adf.mf.NullPointerException("context is null");if(this.isResolvable(d)){if(this.readOnly)throw new adf.mf.PropertyNotWritableException("resolver is read-only");
d[e]=g;a.setPropertyResolved(!0)}};this.isResolvable=function(a){return null!==a&&"object"==typeof a&&"AttributeBinding"==a[".type"]}};adf=window.adf||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};adf.mf.el=adf.mf.el||{};adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};
adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};
adf.mf.internal.el.CompositeELResolver=function(){this.resolvers=[];this.add=function(a){if(null===a)throw Error("resolver can not be null");a.temporary=!1;this.resolvers.push(a)};this.registerELResolver=function(a){if(null===a)throw Error("resolver can not be null");a.temporary=!0;this.resolvers.push(a)};this.unregisterELResolver=function(a){if(null===a)throw Error("resolver can not be null");for(var b=0;b<this.resolvers.length;++b)if(this.resolvers[b]===a)if(this.resolvers[b].temporary)this.resolvers.splice(b,
b+1);else throw Error("can not remove a non-temporary resolver.");};this.getCommonPropertyType=function(a,b){for(var d=null,e=0;e<this.resolvers.length&&!(null!==this.resolvers[e]&&(d=this.resolvers[e].getCommonPropertyType(a,b),a.isPropertyResolved()&&null!==d));++e);return d};this.getFeatureDescriptors=function(){throw new adf.mf.UnsupportedOperation("UnsupportedOperationException - getCommonPropertyType");};this.getType=function(a,b,d){var e=null;a.setPropertyResolved(!1);for(var g=0;g<this.resolvers.length&&
!(null!==this.resolvers[g]&&(e=this.resolvers[g].getType(a,b,d),a.isPropertyResolved()));++g);return e};this.getValue=function(a,b,d){var e=null;a.setPropertyResolved(!1);for(var g=0;g<this.resolvers.length&&!(null!==this.resolvers[g]&&(e=this.resolvers[g].getValue(a,b,d),a.isPropertyResolved()));++g);if(!a.isPropertyResolved())throw new adf.mf.PropertyNotFoundException;return e};this.isReadOnly=function(a,b,d){var e=null;a.setPropertyResolved(!1);for(var g=0;g<this.resolvers.length&&!(null!==this.resolvers[g]&&
(e=this.resolvers[g].isReadOnly(a,b,d),a.isPropertyResolved()));++g);return e};this.setValue=function(a,b,d,e){a.setPropertyResolved(!1);for(var g=0;g<this.resolvers.length&&!(null!==this.resolvers[g]&&(this.resolvers[g].setValue(a,b,d,e),a.isPropertyResolved()));++g);};this.invoke=function(a,b,d,e,g){var h=null;a.setPropertyResolved(!1);for(var k=0;k<this.resolvers.length&&!(null!==this.resolvers[k]&&(h=this.resolvers[k].invoke(a,b,d,e,g),a.isPropertyResolved()));++k);return h}};
adf=window.adf||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};adf.mf.el=adf.mf.el||{};adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};
adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};
adf.mf.el.JavaScriptExpressionFactory=function(a){this.properties=a;this.coerceToType=function(a){return a};this.createMethodExpression=function(){return null};this.createValueExpression=function(a,d,e){d=adf.mf.internal.el.parser.parse(void 0!==d?d:" ");return new adf.mf.el.ValueExpression(a,d,e)};this.createObjectExpression=function(){return null}};adf=window.adf||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};adf.mf.el=adf.mf.el||{};adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};
adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};
adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};
adf.mf.el.ValueExpression=function(a,b,d){this.context=void 0!==a?a:new JavaScriptContext;this.expression=void 0!==b?b:null;this.expectedType=void 0!==d?d:"object";this.getExpectedType=function(){return this.expectedType};this.getType=function(a){return typeof this.getValue(a)};this.getValue=function(a){return null===b?null:b.evaluate(a)};this.isReadOnly=function(){return null===b?!0:b.isReadOnly()};this.setValue=function(a,b){if(this.isReadOnly(a))throw new adf.mf.PropertyNotWritableException(this.expression.toString());
adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINEST)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINEST,"ValueExpression","setValue","adfmf- setValue "+this.expression.toString()+" = "+adf.mf.util.stringify(b));var d=this.getValueReference(a,!0);adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINEST)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINEST,"ValueExpression","setValue","adfmf- have the "+this.expression.toString()+" value reference");d.isPropertyObjectResolved()?(adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINEST)&&
adf.mf.log.Framework.logp(adf.mf.log.level.FINEST,"ValueExpression","setValue","Case-1 po ["+d.baseName+"."+d.propertyName+"] is resolved setting the value "+b),a.getELResolver().setValue(a,d.baseObject,d.propertyName,b),adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINEST)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINEST,"ValueExpression","setValue","Case-1 po ["+d.baseName+"."+d.propertyName+"] done.")):d.isBaseObjectResolved()?(adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINEST)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINEST,
"ValueExpression","setValue","Case-2 bo ["+d.baseName+"] is resolved setting the value for "+d.propertyName),a.getELResolver().setValue(a,d.baseObject,d.propertyName,b),adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINEST)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINEST,"ValueExpression","setValue","Case-2 complete: base object now looks like: ["+adf.mf.util.stringify(d.baseObject)+"]")):0<d.baseName.length?(adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINEST)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINEST,
"ValueExpression","setValue","Case-3 bn ["+d.baseName+" is not null, need to fake the object"),a.setVariable(d.baseName,{}),this.setValue(a,b),adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINEST)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINEST,"ValueExpression","setValue","case-3: pn: "+d.baseName+" = "+b)):(adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINEST)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINEST,"ValueExpression","setValue","Case-4 nothing else worked "+d.propertyName+" is going to be set."),
a.setVariable(d.propertyName,b),adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINEST)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINEST,"ValueExpression","setValue","case-4: pn:"+d.propertyName+" = "+b))};this.getValueReference=function(a,b){return new adf.mf.el.ValueReference(a,this.expression.toString(),b)}};adf=window.adf||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};adf.mf.el=adf.mf.el||{};adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};
adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};
adf.mf.internal.util=adf.mf.internal.util||{};
(function(){adf.mf.internal.el.RootPropertyELResolver=function(a){this.readOnly=void 0===a?!1:a;this.getCommonPropertyType=function(a,d){return this.isResolvable(d)?string:null};this.getFeatureDescriptors=function(){return null};this.getType=function(a,d,e){var g=null;if(null===a)throw new adf.mf.NullPointerException("context is null");this.isResolvable(d)&&(a.setPropertyResolved(!0),g=typeof a.getVariableMapper()[e]|NaN);return g};this.getValue=function(a,d,e){var g=null;if(null===a)throw new adf.mf.NullPointerException("context is null");
if(this.isResolvable(d)){d=a.getVariableMapper();try{g=d.resolveVariable(e);if(g instanceof Object&&void 0!==g[adf.mf.internal.api.constants.WEAK_REFERENCE_PROPERTY]){var h=new adf.mf.el.ValueReference(a,g[adf.mf.internal.api.constants.WEAK_REFERENCE_PROPERTY],!1),g=h.resolve();h.isBaseObjectResolved()&&!h.isPropertyObjectResolved()&&(g={},h.baseObject[h.propertyName]=g)}a.setPropertyResolved(void 0!==g)}catch(k){a.setPropertyResolved(!1)}}return g};this.isReadOnly=function(a,d){if(null===a)throw new adf.mf.NullPointerException("context is null");
this.isResolvable(d)&&a.setPropertyResolved(!0);return this.readOnly};this.setValue=function(a,d,e,g){if(null===a)throw new adf.mf.NullPointerException("context is null");if(this.isResolvable(d)){if(this.readOnly)throw new adf.mf.PropertyNotWritableException("resolver is read-only");a.getVariableMapper().setVariable(e,g);a.setPropertyResolved(!0)}};this.isResolvable=function(a){return void 0===a||null===a}}})();adf=window.adf||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};adf.mf.el=adf.mf.el||{};
adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};
adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};
(function(){(function(){function a(a,b,d,e,g){this.tokens=a;this.unaryOperations=b;this.binaryOperations=d;this.ternaryOperations=e;this.functions=g;this.readonly=this.stringVersion=null}function b(a){function b(){}b.prototype=a;return new b}function d(a,b,d,e){this.type=a;this.index=b||0;this.prior=d||3;this.value=void 0!==e?e:null;this.toString=function(){switch(this.type){case L:return G(this.value);case B:case D:case J:case T:case P:case Q:case M:case K:case H:return this.index;case N:return"INVOKE";
default:return"Invalid Token"}}}function e(a,b){return""+a+b}function g(a,b){return a+b}function h(a,b){return a-b}function k(a,b){return a*b}function m(a,b){return a/b}function n(a,b){return a%b}function o(a){return-a}function q(a){return null===a||""===a}function s(a){return!C(a)}function t(a,b){return a>=b}function u(a,b){return a>b}function v(a,b){return a<=b}function w(a,b){return a<b}function x(a,b){return C(a)==C(b)}function y(a,b){return C(a)!=C(b)}function z(a,b){return C(a)||C(b)}function A(a,
b){return C(a)&&C(b)}function F(a,b,d){return C(a)?b:d}function C(a){return"true"==a?!0:"false"==a?!1:a}function E(){}function I(){this.success=!1;this.expression=this.errormsg="";this.value=this.pos=0;this.prior=3;this.pmatch=this.token=0;this.unaryOperations={"-":["-",o,1,2,3],"!":["!",s,1,2,3],not:["not",s,3,2,3],empty:["empty",q,5,2,3]};this.binaryOperations={"#":["#",e,1,2,5],"+":["+",g,1,2,5],"-":["-",h,1,2,5],"*":["*",k,1,1,4],"/":["/",m,1,1,4],div:["div",m,3,2,4],"%":["%",n,1,2,4],mod:["mod",
n,3,2,4],and:["and",A,3,2,8],"&&":["&&",A,2,2,8],or:["or",z,2,2,9],"||":["||",z,2,2,9],"<=":["<=",v,2,2,6],le:["le",v,2,2,6],"<":["<",w,1,1,6],lt:["lt",w,2,1,6],">=":[">=",t,2,2,6],ge:["ge",t,2,2,6],">":[">",u,1,2,6],gt:["gt",u,2,2,6],"==":["==",x,2,2,7],eq:["eq",x,2,2,7],"!=":["!=",y,2,2,7],ne:["ne",y,2,2,7]};this.ternaryOperations={"?":["?",F,1,2,11]};this.constants={"true":!0,"false":!1,"null":null};this.functions={abs:Math.abs,sign:E,pow:Math.pow,exp:Math.exp,ln:E,round:Math.round,truncate:Math.floor,
len:E,strstr:E,leftstr:E,rightstr:E,substr:String.substr,lower:String.toLowerCase,upper:String.toUpperCase,date:E,now:E,lookup:E}}function G(a){escapable=/[\\\'\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;meta={"\u0008":"\\b","\t":"\\t","\n":"\\n","\u000c":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"};return"string"===typeof a?(escapable.lastIndex=0,escapable.test(a)?'"'+a.replace(escapable,function(a){var b=meta[a];return"string"===
typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'):a}adf.mf.internal.el.parser.parse=function(a){return(new I).parse(a)};adf.mf.internal.el.parser.evaluate=function(a,b){return adf.mf.internal.el.parser.parse(b).evaluate(a)};a.prototype={ensureItIsNotTheNullObject:function(a){return null==a?null:!0==a[".null"]?"":a},evaluate:function(a){var b,d,e,g,h=[],k=this.tokens.length;e=b=null;for(var m=0;m<k;m++)if(g=this.tokens[m],b=g.type,b===L)h.push(g.value);else if(b===J)e=
this.ensureItIsNotTheNullObject(h.pop()),d=this.ensureItIsNotTheNullObject(h.pop()),b=this.ensureItIsNotTheNullObject(h.pop()),g=this.ternaryOperations[g.index][1],h.push(g(b,d,e));else if(b===D)d=this.ensureItIsNotTheNullObject(h.pop()),b=this.ensureItIsNotTheNullObject(h.pop()),g=this.binaryOperations[g.index][1],h.push(g(b,d));else if(b===P)d=this.ensureItIsNotTheNullObject(h.pop()),b=this.ensureItIsNotTheNullObject(h.pop()),h.push(b[d]);else if(b!==M&&b!==Q&&b!==T&&b!==K)if(b===O){d=g.index;b=
this.ensureItIsNotTheNullObject(h.pop());e=d.split(".");if(void 0!=e)for(g=0;g<e.length;++g)void 0!==b&&null!==b&&(b=b[e[g]]);else b=b[d];h.push(b)}else if(b===H)if(b=new adf.mf.el.ValueReference(a,g.index,!1),e=b.resolve(),b.isPropertyObjectResolved())h.push(e);else throw new adf.mf.PropertyNotFoundException(g.index);else if(b===B)b=h.pop(),g=this.unaryOperations[g.index][1],h.push(g(b));else if(b===N)if(b=h.pop(),g=h.pop(),g.apply&&g.call)"[object Array]"!=Object.prototype.toString.call(b)&&(b=
[b]),b.push(a),h.push(g.apply(void 0,b));else throw new adf.mf.ELException(g+" is not a function");else throw new adf.mf.ELException("invalid ELExpression - "+b);if(1<h.length)throw new adf.mf.ELException("invalid ELExpression (mis-match tokens and operations)");return h[0]},equals:function(a){return this.getExpressionString()==a.getExpressionString()},getExpressionString:function(){null===this.stringVersion&&(this.stringVersion=this.toString());return this.stringVersion},isLiteralText:function(){for(var a=
this.tokens.length,b=0;b<a;b++){var d=this.tokens[b];if(d.type===H||d.type===N)return!1}return!0},isReadOnly:function(){null===this.readonly&&(this.readonly=!(0<this.tokens.length&&this.tokens[0].type==H));return this.readonly},dependentObjects:function(){for(var a=this.tokens.length,b=[],d=0;d<a;d++){var e=this.tokens[d];e.type===H&&-1==b.indexOf(e.index)&&b.push(e.index)}return b},isComplexExpression:function(){return 1<this.tokens.length},dependencies:function(){void 0==this.term&&this.toContextFreeExpression();
return this.term},cleanup:function(a,b){for(var d=adf.mf.util.removeDuplicates(a),e=b.length,g=d.length,h=0;h<e;++h)for(var k=0;k<g;++k)d[k]==b[h]&&d.splice(k,1);return d},getStringRepresentation:function(a,b){for(var d=this.tokens.length,e=[],g=[],h=[],k,m,n,u=0;u<d;u++)if(n=this.tokens[u],k=n.type,k===L)k=G(n.value),e.push(k);else if(k===J)n=e.pop(),m=e.pop(),k=e.pop(),e.push("(("+k+")? "+m+" : "+n+")");else if(k===M)m=e.pop(),k=e.pop(),e.push(""+k+", "+m+"");else if(k!==Q)if(k===T)e.push("");else if(k===
D)m=e.pop(),k=e.pop(),n=n.index,e.push("("+k+" "+n+" "+m+")");else if(k===P)m=e.pop(),k=e.pop(),n=""+k+"["+m+"]",e.push(n),h.push(k),g.push(n);else if(k===K)m=e.pop(),k=e.pop(),n=""+k+"."+m+"",e.push(n),g.push(n);else if(k===O)e.push(n.index);else if(k===H){k=n.index;if(void 0!=b||null!=b)m=k.indexOf("."),m=k.substring(0,m)||k,n=adf.mf.el.getLocalValue(b[m]||m),void 0!==n&&(k=k.replace(m,n));a&&(m=k.substring(0,k.indexOf(".")),n=adf.mf.el.getLocalValue("#{"+m+"}"),void 0!==n&&void 0!==n.getAlias&&
(k=k.replace(m,n.getAlias(!0)),k=adf.mf.internal.context.uncompressReference(k)));e.push(k);g.push(k)}else if(k===B)k=e.pop(),f=n.index,"!"===f?e.push("(!"+k+")"):"-"===f?e.push("(-"+k+")"):e.push(f+"("+k+")");else if(k===N)k=e.pop(),n=e.pop(),e.push(n+"("+k+")"),g.push(n+"("+k+")"),h.push(n);else throw new adf.mf.ELException("Invalid ELExpression");if(1<e.length)throw new adf.mf.ELException("Invalid ELExpression (incorrect number of operands)");this.term=this.cleanup(g,h);return e[0]},toContextFreeExpression:function(){var a=
this.getStringRepresentation(!0,void 0);return"#{"+adf.mf.internal.context.uncompressReference(a)+"}"},replaceTokens:function(a,b){return this.getStringRepresentation(a,b)},toString:function(){return this.getStringRepresentation(!1,void 0)}};var L=0,B=1,D=2,J=3,H=4,N=5,P=6,K=7,O=8,Q=9,M=10,T=11;I.prototype={parse:function(e){var g=[],h=[],k=256,m=0,n=null;this.pmatch=0;this.errormsg="";this.success=!0;this.expression=e;this.expCount=this.text=this.pos=0;e.match(/.*[$#]{[^}]*[$#]{/)&&this.parsingError(this.pos,
"MSG_EL_PARSER_NESTED_EL_NOT_SUPPORTED");for(this.expression=this.expression.replace(/\[/g,"[( ").replace(/\]/g," )]");this.pos<this.expression.length;)256==(k&256)?(this.isExpressionDirective()||(e=null,this.pos+1==this.expression.length?(e=this.expression.substring(this.text,this.expression.length),0!==this.text&&this.expCount++):this.isOpenExpression()&&(this.expCount++,e=this.expression.substring(this.text,this.pos-1),k=1629),null!==e&&0<e.length&&(e=new d(L,0,0,e),1<this.expCount++&&(this.token=
"+",this.prior=30,m+=2,this.addfunc(h,g,D),this.text=this.pos),h.push(e))),this.pos++):this.isOperator()?this.isSign()&&k&64?(this.isNegativeSign()&&(this.updateState(this.unaryOperations["-"],!1),m++,this.addfunc(h,g,B)),k=589):this.isComment()||(0===(k&2)&&(e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_UNEXPECTED_OPERATOR_FOUND"),this.parsingError(this.pos,e)),m+=2,this.addfunc(h,g,D),k=1613):this.isOperationToken(this.unaryOperations)?(0===(k&1024)&&(e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle",
"MSG_EL_PARSER_UNEXPECTED_UNIARY_OP_FOUND"),this.parsingError(this.pos,e)),this.addfunc(h,g,B),m++,k=589):this.isCloseExpression()?(0===(k&512)&&(e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_UNKNOWN_CHAR_FOUND",["}"]),this.parsingError(this.pos,e)),1<this.expCount&&(this.token="+",this.prior=30,m+=2,this.addfunc(h,g,D)),this.text=this.pos,k=256):this.isComma()?(0===(k&32)&&(e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_UNKNOWN_CHAR_FOUND",
[","]),this.parsingError(this.pos,e)),this.addfunc(h,g,M),m+=2,k=1613):this.isConstant()?(0===(k&1)&&(e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_UNEXPECTED_CONSTANT_FOUND"),this.parsingError(this.pos,e)),k=new d(L,0,0,this.value),h.push(k),k=6714):this.isExpressionDirective()||(this.isLeftBrace()?(0===(k&8192)?(e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_UNKNOWN_CHAR_FOUND",["["]),this.parsingError(this.pos,e)):(m+=2,this.prior=
1,this.token="[",this.addfunc(h,g,P)),k=1101):this.isLeftParenthesis()?(0===(k&8)&&(e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_UNKNOWN_CHAR_FOUND",["("]),this.parsingError(this.pos,e)),k&128?(m+=2,this.prior=11,this.token="(",this.addfunc(h,g,N),k=17501):k=1113):this.isNumber()?(0===(k&1)&&(e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_UNEXPECTED_NUMBER_CONSTANT_FOUND"),this.parsingError(this.pos,e)),n=new d(L,0,0,this.value),
h.push(n),k=6706):this.isOperationToken(this.binaryOperations)?(0===(k&4)&&(e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_UNEXPECTED_BINARY_OP_FOUND"),this.parsingError(this.pos,e)),this.addfunc(h,g,D),m+=2,k=1097):this.isOperationToken(this.ternaryOperations)?(0===(k&2048)&&(e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_UNEXPECTED_TERNARY_OP_FOUND"),this.parsingError(this.pos,e)),this.addfunc(h,g,J),m+=2,k=1097):this.isRightParenthesis()?
(0===(k&16)&&(e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_UNKNOWN_CHAR_FOUND",[")"]),this.parsingError(this.pos,e)),16384===(k&16384)&&(k=new d(T,this.token,0,0),h.push(k)),k=15034):this.isRightBrace()?(0===(k&16)&&(e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_UNKNOWN_CHAR_FOUND",["]"]),this.parsingError(this.pos,e)),k=10770,this.isDot()&&(m+=2,this.prior=-2,this.addfunc(h,g,K),this.isVariable()?(k=new d(O,this.token,0,0),h.push(k)):
(e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_UNKNOWN_CHAR_FOUND",["."]),this.parsingError(this.pos,e)),k=15034)):this.isColon()?(0===(k&4096)&&(e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_UNKNOWN_CHAR_FOUND",[":"]),this.parsingError(this.pos,e)),this.addfunc(h,g,Q),m+=2,k=1097):this.isVariable()?(0===(k&1)&&(e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_UNEXPECTED_VARIABLE_FOUND"),this.parsingError(this.pos,
e)),k=new d(H,this.token,0,0),h.push(k),k=15034):this.isString()?(0===(k&1)&&(e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_UNEXPECTED_STRING_FOUND"),this.parsingError(this.pos,e)),n=new d(L,0,0,this.value),h.push(n),k=6706):this.isWhitespace()||(""===this.errormsg?(e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_UNKNOWN_CHAR_FOUND",[this.expression.charAt(this.pos)]),this.parsingError(this.pos,e)):this.parsingError(this.pos,this.errormsg)));
0!=this.pmatch&&(e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_MISMATCH"),this.parsingError(this.pos,e));for(;0<g.length;)k=g.pop(),h.push(k);0==h.length&&(n=new d(L,0,0,""),h.push(n));if(m+1!==h.length){g="{";for(k=0;k<h.length;++k)g+=" token["+k+"] = '"+h[k].toString()+"' ";e=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_INCORRECT_OPERANDS",["["+(m+1)+", "+h.length+"]",g+"}"]);this.parsingError(this.pos,e)}return new a(h,b(this.unaryOperations),
b(this.binaryOperations),b(this.ternaryOperations),b(this.functions))},evaluate:function(a,b){var d=this.parse(a),e=[],g;try{g=d.evaluate(b)}catch(h){try{e=d.dependencies()}catch(k){e=[]}e.push(a);teval={msg:adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_EL_PARSER_UNABLE_TO_RESOLVE",[a]),variables:e};throw h;}return g},parsingError:function(a,b){this.success=!1;this.errormsg=adf.mf.internal.resource.getResourceStringImpl("ADFInfoBundle","MSG_ERROR_IN_EL_PARSING",[b,a,this.expression]);
adf.mf.log.Framework.logp(adf.mf.log.level.SEVERE,"adf.mf.internal.el.parser","EL Parser",this.errormsg);throw new adf.mf.ELException(this.errormsg);},addfunc:function(a,b,e){for(e=new d(e,this.token,this.prior-this.pmatch,0);0<b.length;)if(e.prior>=b[b.length-1].prior)a.push(b.pop());else break;b.push(e)},updateState:function(a,b){this.token=a[0];this.prior=a[4];b&&(this.pos+=a[2])},isConstant:function(){var a;for(c in this.constants)if(null!==c){var b=c.length;a=this.expression.substr(this.pos,
b);if(c==a.toLowerCase())return this.value=this.constants[c],this.pos+=b,!0}return!1},isNumber:function(){for(var a=!1,b=[],d=this.pos;this.pos<this.expression.length;){var e=this.expression.charCodeAt(this.pos),g=0<this.pos?this.expression.charCodeAt(this.pos-1):null,h=!1;if(69==g||101==g)if(1<b.length)h=!0;else return this.pos=d,!1;if(48<=e&&57>=e||!0==h&&43==e||!0==h&&45==e||46==e||69==e||101==e)b.push(this.expression.charAt(this.pos)),a=!0;else break;this.pos++}a&&(b=b.join(""),this.value=parseFloat(b));
return a},isString:function(){for(var a=!1,b="",d=this.pos,e=["'",'"'],g=0;g<e.length;++g)if(this.pos<this.expression.length&&this.expression.charAt(this.pos)==e[g])for(this.pos++;this.pos<this.expression.length;)if(this.expression.charAt(this.pos)!=e[g]||"\\"==b.slice(-1))b+=this.expression.charAt(this.pos),this.pos++;else{this.pos++;this.value=this.unescape(b,d);a=!0;break}return a},unescape:function(a,b){for(var d=[],e=!1,g=0;g<a.length;g++){var h=a.charAt(g);if(e){switch(h){case "'":d.push("'");
break;case "\\":d.push("\\");break;case "/":d.push("/");break;case "b":d.push("\u0008");break;case "f":d.push("\u000c");break;case "n":d.push("\n");break;case "r":d.push("\r");break;case "t":d.push("\t");break;case "u":e=parseInt(a.substring(g+1,g+5),16);d.push(String.fromCharCode(e));g+=4;break;default:throw this.parsingError(b+g,"Illegal escape sequence: '\\"+h+"'");}e=!1}else"\\"==h?e=!0:d.push(h)}return d.join("")},isOperator:function(){var a=null,b=null,d;for(d in this.binaryOperations){for(var a=
!0,e=0;e<d.length;++e){var g=this.expression.charCodeAt(this.pos+e),b=this.binaryOperations[d];if(g!=d.charCodeAt(e)){a=!1;break}}if(a)return this.updateState(b,!0),!0}return!1},isSign:function(){var a=this.expression.charCodeAt(this.pos-1);return 45===a||43===a},isBang:function(){return 33===this.expression.charCodeAt(this.pos)?(this.pos++,this.prior=3,this.token="!",!0):!1},isHook:function(){return 63===this.expression.charCodeAt(this.pos)?(this.pos++,this.prior=10,this.token="?",!0):!1},isColon:function(){return 58===
this.expression.charCodeAt(this.pos)?(this.pos++,this.prior=10,this.token=":",!0):!1},isPositiveSign:function(){return 43===this.expression.charCodeAt(this.pos-1)},isNegativeSign:function(){return 45===this.expression.charCodeAt(this.pos-1)},isLeftParenthesis:function(){return 40===this.expression.charCodeAt(this.pos)?(this.pos++,this.pmatch+=100,!0):!1},isRightParenthesis:function(){return 41===this.expression.charCodeAt(this.pos)?(this.pos++,this.pmatch-=100,!0):!1},isLeftBrace:function(){return 91===
this.expression.charCodeAt(this.pos)?(this.pos++,this.pmatch+=100,!0):!1},isRightBrace:function(){return 93===this.expression.charCodeAt(this.pos)?(this.pos++,this.pmatch-=100,!0):!1},isDot:function(){return 46===this.expression.charCodeAt(this.pos)?(this.pos++,this.prior=0,!0):!1},isOpenExpression:function(){return 123===this.expression.charCodeAt(this.pos)&&this.directive+1==this.pos?!0:!1},isCloseExpression:function(){return 125===this.expression.charCodeAt(this.pos)?(this.pos++,!0):!1},isExpressionDirective:function(){var a=
!1,b=this.expression.charCodeAt(this.pos);if(35===b||36===b)this.directive=this.pos,a=!0;return a},isComma:function(){return 44===this.expression.charCodeAt(this.pos)?(this.pos++,this.prior=-1,this.token=",",!0):!1},isWhitespace:function(){var a=this.expression.charCodeAt(this.pos);return 32===a||9===a||10===a||13===a?(this.pos++,!0):!1},isOperationToken:function(a){for(var b="",d=this.pos;d<this.expression.length;++d){var e=this.expression.charAt(d);if(e.toUpperCase()===e.toLowerCase()&&(d===this.pos||
"0">e||"9"<e)){d===this.pos&&(b=e);break}b+=e}return 0<b.length&&b in a?(this.token=b,this.prior=a[b][4],this.pos+=b.length,!0):!1},isVariable:function(){for(var a="",b=0,d=this.pos;d<this.expression.length;d++){var e=this.expression.charAt(d);if(""===a&&e.toLowerCase()==e.toUpperCase()&&"_"!==e)break;if(e.toLowerCase()==e.toUpperCase()&&!("0"<=e&&"9">=e||"."==e||"_"==e))break;b++;a+=e}return 0<a.length?(this.token=a,this.prior=3,this.pos+=b,!0):!1},isComment:function(){return 47===this.expression.charCodeAt(this.pos-
1)&&42===this.expression.charCodeAt(this.pos)?(this.pos=this.expression.indexOf("*/",this.pos)+2,1===this.pos&&(this.pos=this.expression.length),!0):!1}};return I})()})();adf=window.adf||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};adf.mf.el=adf.mf.el||{};adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};
adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};
(function(){function a(a,d){this.id=a.id;this.index=d;this.modid=adf.mf.internal.context.getModId();this.getAlias=function(a){var b=a||!1,a=this.id+".collectionModel.treeNodeBindings.providers['"+this.getKey()+"']",b=b?adf.mf.internal.api.addCompressedReference(a):a;adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"TreeNode","getAlias","alias="+b+" expanded="+a);return b};this.getTreeNodeBindings=function(){return this.modid==adf.mf.internal.context.getModId()?a.treeNodeBindings:adf.mf.api.getLocalValue("#{"+
this.id+".collectionModel}").treeNodeBindings||{}};this.tnb=this.getTreeNodeBindings();this.getProvider=function(){var a=this.getKey();return this.provider=void 0!=a?this.tnb.providers[a]:void 0};this.getBindings=function(){return this.tnb.columnBindings};this.getKey=function(){return this.key=0>d||d>=this.tnb.keys.length?void 0:this.tnb.keys[d]};this.rowKey=function(){return this.getKey()};this.provider=this.getProvider();this.key=this.getKey();this.note=""+typeof this+" with EL variable id: "+this.id+
" on index "+this.index;this[".type"]="oracle.adfmf.bindings.dbf.TreeNode"}adf.mf.internal.el.TreeNode=a;adf.mf.el.TreeNodeIterator=function(b,d){this.id=b.id;this.treeNodeBindings=b.treeNodeBindings||{providers:{},keys:[]};this.index=d;this.currentKey=null;this[".type"]="TreeNodeIterator";this.modid=adf.mf.internal.context.getModId();this.getTreeNodeBindings=function(){return this.modid==adf.mf.internal.context.getModId()?b.treeNodeBindings:adf.mf.api.getLocalValue("#{"+this.id+".collectionModel}").treeNodeBindings||
{providers:{},keys:[]}};this.createRow=function(a,b,d,k){return adf.mf.api.invokeMethod("oracle.adfmf.bindings.iterator.IteratorHandler","create",this.id,this.currentKey,a,b,d,k)};this.first=function(a,b){this.fetch(0,a,b)};this.getCurrentIndex=function(){return this.index};this.getCurrentKey=function(){return this.currentKey};this.getCurrentRow=function(){var a=this.getTreeNodeBindings();return void 0!==this.currentKey?a.providers[this.currentKey]:void 0};this.hasNext=function(){return this.index<
this.getTreeNodeBindings().keys.length-1};this.hasPrevious=function(){return 0<this.index};this.last=function(a,b){this.fetch(this.getTreeNodeBindings().keys.length-1,a,b)};this.next=function(a,b){this.fetch(this.index+1,a,b)};this.localFirst=function(){return this.localFetch(0)};this.localLast=function(){return this.localFetch(this.getTreeNodeBindings().keys.length-1)};this.localNext=function(){return this.localFetch(this.index+1)};this.localPrevious=function(){return this.localFetch(this.index-
1)};this.nextSet=function(a,b){this.fetchSet("next",this.index,a,b)};this.previous=function(a,b){this.fetch(this.index-1,a,b)};this.previousSet=function(a,b){this.fetchSet("previous",this.index,a,b)};this.refresh=function(a,b){this.fetchSet("next",this.index,a,b)};this.setCurrentIndex=function(a){var b=this.getTreeNodeBindings();if(0>a||a>b.keys.length-1)this.index=-1,this.currentKey=void 0;this.index=a;this.currentKey=b.keys[a]};this.getCachedRowCount=function(a){var b=0,d=this.getTreeNodeBindings();
if(0>a||a>d.keys.length-1)return 0;for(;a<d.keys.length;++a)if(void 0!=d.providers[d.keys[a]])++b;else break;return b};this.getRangeSize=function(){var a=adf.mf.api.getLocalValue("#{"+this.id+".IterBinding.RangeSize}");return void 0==a?0:a};this.fetch=function(d,g,h){var k=this.getTreeNodeBindings();this.setCurrentIndex(d);void 0!==this.currentKey?void 0===k.providers[this.currentKey]?(adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"TreeNodeIterator",
"fetch","no provider present for the key "+this.currentKey+" need to fetch the value."),this.fetchProviderByKey(this.currentKey,this.index,g,h)):(adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"TreeNodeIterator","fetch","we have a provider for key "+this.currentKey+" = "+adf.mf.util.stringify(k.providers[this.currentKey])),this.returnProvider(this.currentKey,new a(b,this.index),g)):(adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,
"TreeNodeIterator","fetch","no element found"),this.returnProvider(void 0,void 0,h))};this.localFetch=function(d){var g=this.getTreeNodeBindings(),h=this.index;this.setCurrentIndex(d);if(void 0!==this.currentKey&&void 0!==g.providers[this.currentKey])return adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"TreeNodeIterator","fetch","we have a provider for key "+this.currentKey+" = "+adf.mf.util.stringify(g.providers[this.currentKey])),new a(b,
this.index);this.setCurrentIndex(h)};this.getKeys=function(a,b){var d=adf.mf.api.getLocalValue("#{"+this.id+".collectionModel}");return adf.mf.api.invokeMethod("oracle.adfmf.bindings.iterator.IteratorHandler","getKeys",this.id,[function(a,b){d.treeNodeBindings.keys=b},a],b)};this.removeCurrentRow=function(a,b){for(var d=this.getTreeNodeBindings(),k=this.currentKey,m=0,n=this.index,m=0;m<d.keys.length;++m)if(d.keys[m]===this.currentKey){d.keys.splice(m,1);break}m=d.keys.length-1;n==m&&(n=m-1);0>m?
(this.index=-1,this.currentKey=void 0):this.setCurrentIndex(n);return adf.mf.api.invokeMethod("oracle.adfmf.bindings.iterator.IteratorHandler","removeRowWithKey",this.id,k,a,b)};this.setCurrentRowKey=function(a){var b=this.treeNodeBindings.keys.indexOf(a);return-1!=b?(this.index=b,this.currentKey=a,!0):!1};this.setCurrentRowWithKey=function(a,b,d){for(var k=this.getTreeNodeBindings(),m=-1,n=0;n<k.keys.length;++n)if(k.keys[n]===a){m=n;break}-1!=m?(this.setCurrentIndex(m),adf.mf.api.invokeMethod("oracle.adfmf.bindings.iterator.IteratorHandler",
"setCurrentRowWithKey",this.id,a,b,d)):adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"TreeNodeIterator","setCurrentRowWithKey","unable to find the key to set the current row to.")};this.fetchSet=function(a,b,d,k){var m=adf.mf.api.getLocalValue("#{"+this.id+".collectionModel}"),n=[],o=[],q=this.updateProviders;adf.mf.internal.perf.start("oracle.adfmf.bindings.iterator.IteratorHandler:fetchSetRelativeTo");n=n.concat([function(a,b){adf.mf.internal.perf.stop("oracle.adfmf.bindings.iterator.IteratorHandler:fetchSetRelativeTo");
adf.mf.internal.perf.start("adf.mf.api.TreeNodeIterator.updateProviders");q(m,b);adf.mf.internal.perf.stop("adf.mf.api.TreeNodeIterator.updateProviders")}]);n=n.concat(adf.mf.internal.util.is_array(d)?d:[d]);o=o.concat([function(a,b){adf.mf.internal.perf.stop("oracle.adfmf.bindings.iterator.IteratorHandler:fetchSetRelativeTo");adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.WARNING,"TreeNodeIterator.fetchSet","MSG_UNABLE_TO_FETCH_SET",adf.mf.util.stringify(arguments))}]);o=o.concat(adf.mf.internal.util.is_array(k)?
k:[k]);return adf.mf.api.invokeMethod("oracle.adfmf.bindings.iterator.IteratorHandler","fetchSetRelativeTo",this.id,a,m.treeNodeBindings.keys[b],n,o)};this.fetchProviderByKey=function(d,g,h,k){var m=this.returnProvider;this.fetchSet("next",g,function(){m(d,new a(b,g),h)},k)};this.updateKeys=function(a){try{adf.mf.api.getLocalValue("#{"+this.id+".collectionModel}").treeNodeBindings.keys=a}catch(b){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"TreeNodeIterator.updateKeys","MSG_ERROR_TREENODEITERATOR_UPDATE_KEYS",
this.id,b)}};this.updateProviders=function(a,b){var d=b||{};if(void 0===a)adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"TreeNodeIterator.updateProviders","MSG_ERROR_TREENODEITERATOR_UPDATE_PROVIDERS");else for(var k in d)void 0!==k&&(a.treeNodeBindings.providers[k]=d[k])};this.returnProvider=function(a,b,d){var k=[{name:a}],a=[{name:a,value:b}];if(adf.mf.internal.util.is_array(d))for(var b=d.length,m=0;m<b;++m)d[m](k,a);else d(k,a)}}})();var PERFMON=!0,adf=window.adf||{};
adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};adf.mf.el=adf.mf.el||{};adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};
adf.mf.internal.mb=adf.mf.internal.mb||{};adf.mf.internal.perf=adf.mf.internal.perf||{};adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};
adf.mf.internal.api.constants=adf.mf.internal.api.constants||{KEY_PROPERTY:".key",NULL_FLAG_PROPERTY:".null",TYPE_PROPERTY:".type",TRANSIENT_FLAG_PROPERTY:".transient",EXCEPTION_FLAG_PROPERTY:".exception",VALUE_REF_PROPERTY:".valueref",WEAK_REFERENCE_PROPERTY:".weakref",DEFERRED_PROPERTY:".deferred"};
(function(){adf.mf.internal.context=new adf.mf.internal.el.JavaScriptContext;var a=new adf.mf.el.JavaScriptExpressionFactory,b={},d={};adf.mf.internal.batchDataChangeListeners=[];adf.mf.internal.batchRequest=void 0;adf.mf.internal.el.getValueBatch=void 0;adf.mf.internal.logError=function(a,b){var d=adf.mf.resource.getInfoString("ADFInfoBundle","MSG_ERROR_IN_REQUEST",adf.mf.util.stringify(a),adf.mf.util.stringify(b));adf.mf.internal.perf.snapshot("adf.mf.internal.logError",d);adf.mf.log.Framework.logp(adf.mf.log.level.SEVERE,
"adf.mf.internal","logError",d)};adf.mf.internal.errorHandlers=[adf.mf.internal.logError];adf.mf.api.addDataChangeListeners=function(a,b){var k=adf.mf.internal.el.parser.parse(a).dependencies();adf.mf.internal.perf.start("adf.mf.api.addDataChangeListeners",k.length);adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINEST)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINEST,"adf.mf.api","addDataChangeListeners","addDataChangeListeners "+a+" ==> "+k.length+" ==> "+k.join());for(var m=0;m<k.length;++m){var n=
!1,o=k[m],q="bindings"==o.slice(0,8)?e.dataChangeListeners:d;void 0===q[o]&&(q[o]={id:[],callback:[]});for(var n=!1,s=0;s<q[o].id.length;++s)if(q[o].id[s]==a){adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf.mf.api","addDataChangeListeners","addDataChangeListener "+o+" id="+a+" was already registered.");n=!0;break}n||(q[o].id.push(a),adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,
"adf.mf.api","addDataChangeListeners","there are now "+q[o].id.length+" different listener's IDs."));n=!1;for(s=0;s<q[o].callback.length;++s)if(q[o].callback[s].toString()==b.toString()){adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.api","addDataChangeListeners","variable "+o+" already has this callback registered.");n=!0;break}n||(q[o].callback.push(b),adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,
"adf.mf.api","addDataChangeListeners","there are now "+q[o].callback.length+" different callbacks registered."));adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINEST)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINEST,"adf.mf.api","addDataChangeListeners","adding the "+o+" "+adf.mf.util.stringify(q[o])+" listener.");adf.mf.internal.perf.stop("adf.mf.api.addDataChangeListeners",k.length)}};adf.mf.api.addBatchDataChangeListener=function(a){for(var b=0;b<adf.mf.internal.batchDataChangeListeners.length;++b)if(adf.mf.internal.batchDataChangeListeners[b]==
a)return;adf.mf.internal.batchDataChangeListeners.push(a)};adf.mf.api.addErrorHandler=function(a){for(var b=0;b<adf.mf.internal.errorHandlers.length;++b)if(adf.mf.internal.errorHandlers[b]==a)return;adf.mf.internal.errorHandlers.push(a)};adf.mf.api.getContextId=function(a,b){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.Model","getContextId",a,b)};adf.mf.api.getContextPageDef=function(a,b){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.Model","getContextPageDef",a,b)};adf.mf.api.getContextInstanceId=
function(a,b){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.Model","getContextInstanceId",a,b)};adf.mf.api.invokeMethod=function(){var a=[].splice.call(arguments,0);adf.mf.internal.api.invokeMethod.apply(this,[null].concat(a))};adf.mf.api.invokeSecurityMethod=function(a,b,d,e,n,o){adf.mf.internal.context.invokeSecurityMethod(a,b,d,e,n,o)};adf.mf.api.removeDataChangeListeners=function(a){for(var b=adf.mf.internal.el.parser.parse(a).dependencies(),k=0;k<b.length;++k){var m=b[k],n="bindings"==
m.slice(0,8)?e.dataChangeListeners:d;try{for(var o=n[m].id,q=0;q<o.length;++q)o[q]===a&&(adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf","removeDataChangeListeners","removing the "+adf.mf.util.stringify(o[q])+" listener."),o.splice(q,1));0==o.length&&(adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf","removeDataChangeListeners","removing the "+o+" listener all together."),delete n[m]);
adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINEST)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINEST,"adf","removeDataChangeListeners","All the current data change listeners in the system:<br> "+adf.mf.util.stringify(n))}catch(s){adf.mf.log.Framework.isLoggable(adf.mf.log.level.WARNING)&&adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.WARNING,"adf.removeDataChangeListeners","MSG_EXCEPTION",s)}}};adf.mf.api.removeBatchDataChangeListener=function(a){for(var b=[],d=0;d<adf.mf.internal.batchDataChangeListeners.length;++d)adf.mf.internal.batchDataChangeListeners[d]!=
a&&b.push(adf.mf.internal.batchDataChangeListeners[d]);adf.mf.internal.batchDataChangeListeners=b};adf.mf.api.removeErrorHandler=function(a){for(var b=[],d=0;d<adf.mf.internal.errorHandlers.length;++d)adf.mf.internal.errorHandlers[d]!=a&&b.push(adf.mf.internal.errorHandlers[d]);adf.mf.internal.errorHandlers=b};adf.mf.api.removeContextInstance=function(a,b,d,e){adf.mf.internal.el.resetBindingContext();adf.mf.api.invokeMethod("oracle.adfmf.framework.api.Model","removeContextInstance",a,b,d,e)};adf.mf.api.resetContext=
function(a,b){adf.mf.api.setContext("",a,b)};adf.mf.api.setContextInstance=function(a,b,d,e,n,o){try{void 0===a||null===a||1>a.length?(adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf","setContextInstance","\n\n*******\nBindings = "+adf.mf.util.stringify(adf.mf.api.getLocalValue("#{bindings}"))+"\n*******\n\n"),adf.mf.api.removeContextInstance(a,b)):(adf.mf.internal.el.switchBindingInstance(a+":"+b),adf.mf.api.invokeMethod("oracle.adfmf.framework.api.Model",
"setContextInstance",a,b,d,e,n,o))}catch(q){adf.mf.log.Framework.isLoggable(adf.mf.log.level.WARNING)&&adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.WARNING,"adf.setContextInstance","MSG_EXCEPTION",q)}};adf.mf.api.clearAndSetContext=function(a,b,d){adf.mf.internal.api.setContext(a,!0,b,d)};adf.mf.api.setContext=function(a,b,d){adf.mf.internal.api.setContext(a,!1,b,d)};adf.mf.internal.api.setContext=function(a,b,d,e){try{var b=[],n=[],b=b.concat([function(){adf.mf.internal.perf.stop("adf.mf.api.setContext",
a)}]),b=b.concat(adf.mf.internal.util.is_array(d)?d:[d]),n=n.concat([function(){adf.mf.internal.perf.stop("adf.mf.api.setContext",a)}]),n=n.concat(adf.mf.internal.util.is_array(e)?e:[e]);if(void 0===a||null===a||1>a.length)adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf","setContext","\n\n*******\nBindings = "+adf.mf.util.stringify(adf.mf.api.getLocalValue("#{bindings}"))+"\n*******\n\n"),adf.mf.internal.el.resetBindingContext();adf.mf.internal.perf.start("adf.mf.api.setContext",
a);adf.mf.api.invokeMethod("oracle.adfmf.framework.api.Model","setContext",a,b,n)}catch(o){adf.mf.internal.perf.stop("adf.mf.api.setContext",a+" - error: "+o),adf.mf.log.Framework.isLoggable(adf.mf.log.level.WARNING)&&adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.WARNING,"adf.setContext","MSG_EXCEPTION",o)}};adf.mf.el.addVariable=function(a,b){adf.mf.internal.perf.snapshot("adf.mf.api.addVariable",a);adf.mf.internal.context.setVariable(a,b)};adf.mf.api.addVariable=adf.mf.el.addVariable;
adf.mf.el.getLocalValue=function(a){var b=void 0;try{adf.mf.internal.perf.snapshot("adf.mf.api.getLocalValue",a),b=adf.mf.internal.el.parser.evaluate(adf.mf.internal.context,a)}catch(d){if(adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.api","getLocalValue","unable to resolve '"+a+"' locally."),void 0!==adf.mf.internal.el.getValueBatch)try{for(var e=adf.mf.internal.el.parser.parse(a).toContextFreeExpression(),n=adf.mf.internal.el.parser.parse(e).dependencies(),
e=0;e<n.length;++e){var o="#{"+n[e]+"}";try{b=adf.mf.internal.el.parser.evaluate(adf.mf.internal.context,o),void 0===b&&adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf.mf.api","getLocalValue","we currently do not have term: "+o+" cached, adding to the batch.")}catch(q){adf.mf.internal.el.getValueBatch.push(o),adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf.mf.api","getLocalValue",
"we currently do not have term: "+o+" cached, adding to the batch.")}}}catch(s){adf.mf.internal.api.notifyErrorHandlers(a,s),b=s}}finally{}return b};adf.mf.api.getLocalValue=adf.mf.el.getLocalValue;adf.mf.el.startGetValueBatchRequest=function(){if(void 0!==adf.mf.internal.el.getValueBatch)throw new adf.mf.ELException("GetValueBatchRequest already started");adf.mf.internal.el.getValueBatch=[]};adf.mf.api.startGetValueBatchRequest=adf.mf.el.startGetValueBatchRequest;adf.mf.internal.el.getListOfTerms=
function(a){for(var a=a||[],b=[],d=0,a=adf.mf.internal.util.is_array(a)?a:[a],d=a.length,e=0;e<d;++e){var n=adf.mf.internal.el.parser.parse(a[e]);if(void 0!==n||null!==n)b=b.concat(n.dependencies())}return b};adf.mf.el.flushGetValueBatchRequest=function(){if(void 0!==adf.mf.internal.el.getValueBatch)0<adf.mf.internal.el.getValueBatch.length&&(adf.mf.internal.perf.start("adf.mf.api.flushGetValueBatchRequest",adf.mf.internal.el.getValueBatch.length+" entries"),adf.mf.api.getValue(adf.mf.util.removeDuplicates(adf.mf.internal.el.getValueBatch),
function(a){try{var b=adf.mf.internal.el.getListOfTerms(a.params[0]);adf.mf.internal.api.notifyDataChangeListeners(b);adf.mf.internal.perf.stop("adf.mf.api.flushGetValueBatchRequest",adf.mf.internal.util.stringify(b))}catch(d){adf.mf.internal.perf.stop("adf.mf.api.flushGetValueBatchRequest - Error: "+adf.mf.internal.util.stringify(d))}},function(){adf.mf.internal.perf.stop("adf.mf.api.flushGetValueBatchRequest")})),adf.mf.internal.el.getValueBatch=void 0;else throw new adf.mf.IllegalStateException("No get value batch started.");
};adf.mf.api.flushGetValueBatchRequest=adf.mf.el.flushGetValueBatchRequest;adf.mf.el.getValue=function(){var a=arguments,b=arguments.length;if(4!=b&&3!=b&&2!=b)throw new adf.mf.ELException("Wrong number of arguments");try{if("object"!=typeof a[1]&&a[1]instanceof Function){var d=adf.mf.internal.util.is_array(a[0])?a[0]:[a[0]],e=adf.mf.internal.util.is_array(a[1])?a[1]:[a[1]],n=adf.mf.internal.util.is_array(a[2])?a[2]:[a[2]],o=[4==b&&!0==a[3]?adf.mf.internal.api.nvpEatErrors:adf.mf.internal.api.nvpSimulatedErrors,
function(){adf.mf.internal.perf.stop("adf.mf.api.getValue","success")}],b=[function(){adf.mf.internal.perf.stop("adf.mf.api.getValue","failed")}];adf.mf.internal.perf.start("adf.mf.api.getValue");try{for(var q=d.length,s=[],t=0;t<q;t++){var u=void 0;adf.mf.internal.perf.snapshot("evaluating locally",d[t]);if(void 0===(u=adf.mf.internal.el.parser.evaluate(adf.mf.internal.context,d[t])))throw new adf.mf.PropertyNotFoundException(d[t]);s.push({name:d[t],value:u})}adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&
adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.api","getValue","adfmf- did not call the server for "+d.join(", "));adf.mf.internal.perf.stop("adf.mf.api.getValue","found everything locally");for(t=0;t<e.length;++t)try{e[t](d,s)}catch(v){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.api.getValue","MSG_GETVALUE_SUCCESS_CB_ERROR",t,v)}}catch(w){s=d;q=d.length;for(t=0;t<q;t++)for(var x=adf.mf.internal.el.parser.parse(d[t]).dependencies(),u=0;u<x.length;u++)s.push("#{"+
adf.mf.internal.context.uncompressReference(x[u])+"}");adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.api","getValue","adfmf- needs to call the server for "+s.join(", "));o=o.concat(adf.mf.internal.el.cacheResult,e);b=b.concat(n);adf.mf.api.invokeMethod("oracle.adfmf.framework.api.Model","getValue",s,o,b)}}else s=a[0],u=a[1],value=adf.mf.internal.context.getELResolver().getValue(adf.mf.internal.context,s,u),adf.mf.internal.perf.snapshot("context.getELResolver().getValue",
s+"."+u)}catch(y){d=adf.mf.internal.util.is_array(a[0])?a[0]:[a[0]];n=adf.mf.internal.util.is_array(a[2])?a[2]:[a[2]];adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.api.getValue","MSG_EXCEPTION_RESOLVING",y,d.join(", "));adf.mf.internal.perf.stop("adf.mf.api.getLocalValue","exception - "+y);for(t=0;t<n.length;++t)try{n[t](d,y)}catch(z){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.api.getValue","MSG_GETVALUE_FAILED_CB_ERROR",t,z)}}finally{}};
adf.mf.api.getValue=adf.mf.el.getValue;adf.mf.el.invoke=function(a,b,d,e,n,o){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.Model","evaluateMethodExpression",a,b,d,e,n,o)};adf.mf.el.setValue=function(){var a=arguments;if(3!=arguments.length)throw new adf.mf.ELException("Wrong number of arguments");try{var b=adf.mf.internal.util.is_array(a[0])?a[0]:[a[0]],d=adf.mf.internal.util.is_array(a[1])?a[1]:[a[1]],e=adf.mf.internal.util.is_array(a[2])?a[2]:[a[2]],n=[],o=[];adf.mf.internal.perf.start("adf.mf.api.setValue",
"for "+b.length);for(var q=b.length,s=0;s<q;++s)for(var t=adf.mf.internal.el.parser.parse(b[s].name).dependencies(),u=0;u<t.length;u++)b[s].name="#{"+adf.mf.internal.context.uncompressReference(t[u])+"}";adf.mf.internal.perf.snapshot("adf.mf.api.setValue","We now have the uncompressed terms.");if(d[0]instanceof Function){if(adf.mf.internal.isJavaAvailable())var v=[],v=v.concat([adf.mf.internal.api.nvpSimulatedErrors]),v=v.concat([function(){adf.mf.internal.perf.stop("adf.mf.api.setValue","success")}]),
v=v.concat(d),n=n.concat(function(){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.Model","setValue",b,v,e)}),o=n.concat(e);else a=void 0,a=[function(){for(var a=0;a<b.length;++a){var d=adf.mf.internal.el.parser.parse(b[a].name).dependencies();adf.mf.internal.api.notifyDataChangeListeners(d)}}],n=a.concat(function(){adf.mf.internal.perf.stop("adf.mf.api.setValue","success")}),n=n.concat(d),o=a.concat(function(){adf.mf.internal.perf.stop("adf.mf.api.setValue","failed")}),o=o.concat(e),adf.mf.log.logInfoResource("ADFInfoBundle",
adf.mf.log.level.WARNING,"adf.mf.api.setValue","MSG_SKIP_REMOTE_WRITE");adf.mf.internal.perf.snapshot("adf.mf.api.setValue","now calling setLocalValue");adf.mf.api.setLocalValue(b,n,o)}else{var w=a[0],x=a[1],y=a[2];adf.mf.internal.context.getELResolver().setValue(adf.mf.internal.context,w,x,y);adf.mf.internal.perf.stop("adf.mf.api.setValue",w+"."+x)}}catch(z){adf.mf.internal.perf.stop("adf.mf.api.setValue","exception "+z),adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.api.setValue",
"MSG_EXCEPTION",z)}finally{}};adf.mf.api.setValue=adf.mf.el.setValue;adf.mf.el.setLocalValue=function(){try{if(3!=arguments.length)throw new adf.mf.ELException("Wrong number of arguments");var b=arguments,d=adf.mf.internal.util.is_array(b[0])?b[0]:[b[0]],e=adf.mf.internal.util.is_array(b[1])?b[1]:[b[1]],m=adf.mf.internal.util.is_array(b[2])?b[2]:[b[2]];if(e[0]instanceof Function){try{for(var n=d.length,o=0;o<n;o++){var q=d[o].name,s=void 0===d[o]?null:d[o].value;null!=s&&void 0!==s[adf.mf.internal.api.constants.VALUE_REF_PROPERTY]?
(adf.mf.internal.perf.snapshot("adf.mf.api.setLocalValue","value reference property ignored - "+q),adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.api","setLocalValue","adfmf- not caching '"+q+"' because it is value reference.")):null!=s&&void 0!==s[adf.mf.internal.api.constants.TRANSIENT_FLAG_PROPERTY]?(adf.mf.internal.perf.snapshot("adf.mf.api.setLocalValue","transient property ignored - "+q),adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&
adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.api","setLocalValue","adfmf- not caching '"+q+"' because it is transient.")):(a.createValueExpression(adf.mf.internal.context,q,"object").setValue(adf.mf.internal.context,s),adf.mf.internal.perf.snapshot("adf.mf.api.setLocalValue",q),adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.api","setLocalValue","adfmf- setting local value : "+q))}}catch(t){try{adf.mf.log.logInfoResource("ADFInfoBundle",
adf.mf.log.level.SEVERE,"adf.mf.api.setLocalValue","MSG_SET_LOCAL_VALUE_FAILED",t);for(o=0;o<m.length;++o)m[o](d,t);adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.api","setLocalValue","set local value failed callback has been executed.")}catch(u){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.api.setLocalValue","MSG_SET_LOCAL_VALUE_FAILED_CB",u)}return}adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&
adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.api","setLocalValue","set local value is now complete and now calling the success callback(s)");for(o=0;o<e.length;++o)try{e[o](d,d)}catch(v){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.api.setLocalValue","MSG_SET_LOCAL_VALUE_SUCCESS_CB_FAILED",o,v)}adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.api","setLocalValue","set local value is now complete and "+
e.length+" success callback has been executed.")}else{var w=b[0],x=b[1],y=b[2];adf.mf.internal.context.getELResolver().setValue(adf.mf.internal.context,w,x,y);adf.mf.internal.perf.snapshot("context.getELResolver().setValue",w+"."+x)}}catch(z){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.api.setLocalValue","MSG_EXCEPTION",z)}finally{}};adf.mf.api.setLocalValue=adf.mf.el.setLocalValue;adf.mf.el.removeVariable=function(a){adf.mf.internal.perf.snapshot("adf.mf.api.removeVariable",
a);adf.mf.internal.context.removeVariable(a)};adf.mf.api.removeVariable=adf.mf.el.removeVariable;adf.mf.el.setVariable=function(a,b){adf.mf.internal.perf.start("adf.mf.api.setVariable",a);adf.mf.internal.context.setVariable(a,b);adf.mf.internal.api.notifyDataChangeListeners(a);adf.mf.internal.perf.stop("adf.mf.api.setVariable",a)};adf.mf.api.setVariable=adf.mf.el.setVariable;adf.mf.api.pushPageFlowScope=function(a,b){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.Model","pushPageFlowScope",a,
b)};adf.mf.api.popPageFlowScope=function(a,b){adf.mf.api.invokeMethod("oracle.adfmf.framework.api.Model","popPageFlowScope",a,b)};adf.mf.api.processDataChangeEvent=function(a){var b=[],d={};adf.mf.internal.perf.start("adf.mf.api.processDataChangeEvent");try{adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.api","processDataChangeEvent","processing a data change event with "+adf.mf.util.stringify(a));try{adf.mf.internal.api.updateGenericCacheElement(a.variableChanges,
!1);for(var e in a.variableChanges)b.push(e),void 0!==(weakref=adf.mf.internal.context.getWeakReference(e))&&b.push(weakref),adf.mf.util.isType(a.variableChanges[e],"TreeBindings")&&(adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINEST)&&adf.mf.internal.perf.trace("adf.mf.api.processDataChangeEvent","found variable '"+e+"' which is a non-itemized collection model change."),d[e]={itemized:!1})}catch(n){adf.mf.log.Framework.isLoggable(adf.mf.log.level.WARNING)&&adf.mf.log.logInfoResource("ADFInfoBundle",
adf.mf.log.level.WARNING,"adf.mf.api.processDataChangeEvent","MSG_ERROR_PROCESSING_VAR_CHANGES",n)}try{if(adf.mf.internal.perf.start("adf.mf.api.processDataChangeEvent","handling provider changes"),void 0!==a.providerChanges)for(var o in a.providerChanges){var q=a.providerChanges[o];adf.mf.internal.api.updateGenericCacheElement(q.columnAttributes,!0);if(q.providers){e=o+".collectionModel";var s="#{"+e+"}",t=adf.mf.api.getLocalValue(s),u=q.providers.create||{},v=q.providers.update||{},w=q.providers.dirty||
{},x=q.providers.remove||{},y={itemized:!0,created:[],updated:[],deleted:[],dirtied:[]};if(void 0===t){adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.api","processDataChangeEvent","Warning: received a data change event before "+s+" has been cached.  Ignoring the change.");break}t.treeNodeBindings.providers=t.treeNodeBindings.providers||{};for(var z in u)try{y.created.push({key:z}),t.treeNodeBindings.providers[z]=u[z]}catch(A){adf.mf.log.Framework.isLoggable(adf.mf.log.level.WARNING)&&
adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.WARNING,"adf.mf.api.processDataChangeEvent","MSG_ERROR_PROCESSING_CREATE_DATA_CHANGE",o,A)}for(z in v)try{y.updated.push(z),t.treeNodeBindings.providers[z]=v[z]}catch(F){adf.mf.log.Framework.isLoggable(adf.mf.log.level.WARNING)&&adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.WARNING,"adf.mf.api.processDataChangeEvent","MSG_ERROR_PROCESSING_UPDATE_DATA_CHANGE",o,F)}for(z in w)try{y.dirtied.push(z),delete t.treeNodeBindings.providers[z]}catch(C){adf.mf.internal.perf.snapshot("adf.mf.api.processDataChangeEvent",
"error: "+C),adf.mf.log.Framework.isLoggable(adf.mf.log.level.WARNING)&&adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.WARNING,"adf.mf.api.processDataChangeEvent","MSG_ERROR_PROCESSING_REMOVE_DATA_CHANGE",o,C)}for(z in x)try{y.deleted.push(z),delete t.treeNodeBindings.providers[z]}catch(E){adf.mf.internal.perf.snapshot("adf.mf.api.processDataChangeEvent","error: "+E),adf.mf.log.Framework.isLoggable(adf.mf.log.level.WARNING)&&adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.WARNING,
"adf.mf.api.processDataChangeEvent","MSG_ERROR_PROCESSING_REMOVE_DATA_CHANGE",o,E)}d[e]=y;b.push(e)}}}catch(I){adf.mf.log.Framework.isLoggable(adf.mf.log.level.WARNING)&&adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.WARNING,"adf.mf.api.processDataChangeEvent","MSG_ERROR_PROCESSING_PROVIDER_CHANGES",I)}finally{adf.mf.internal.perf.stop("adf.mf.api.processDataChangeEvent","handling provider changes")}adf.mf.internal.api.notifyDataChangeListeners(b,d)}catch(G){adf.mf.log.logInfoResource("ADFInfoBundle",
adf.mf.log.level.SEVERE,"adf.mf.api.processDataChangeEvent","MSG_ERROR_PROCESSING_DATA_CHANGE_EVENT",G)}finally{adf.mf.internal.perf.stop("adf.mf.api.processDataChangeEvent"),adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.api","processDataChangeEvent","process data change event done")}};adf.mf.internal.api.getWeakReference=function(a){return adf.mf.internal.context.getWeakReference(a)};adf.mf.internal.api.addCompressedReference=function(a){return adf.mf.internal.context.addCompressedReference(a)};
adf.mf.internal.isJavaAvailable=function(){return void 0!==window&&void 0!==window.container&&void 0!==window.container.internal&&void 0!==window.container.internal.device&&void 0!==window.container.internal.device.integration&&void 0!==window.container.internal.device.integration.vmchannel};adf.mf.internal.isDesignTime=function(){return!1};adf.mf.internal.el.cacheResult=function(a,b){if(adf.mf.internal.util.is_array(b))for(var d=0;d<b.length;++d){var e=b[d];adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&
adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf.mf.internal.el","cacheResult","adfmf- caching "+b.length+" values.");adf.mf.internal.el.parser.parse(e.name).isComplexExpression()?adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf.mf.internal.el","cacheResult","not caching complex expression ["+e.name+"]."):(!0===e[adf.mf.internal.api.constants.EXCEPTION_FLAG_PROPERTY]&&adf.mf.internal.perf.snapshot("adf.mf.internal.el.cacheResult",
"Caching ["+e.name+"] as an exception - "+adf.mf.util.stringify(e)),adf.mf.api.setLocalValue(e,function(){},function(){}))}};adf.mf.internal.api.updateGenericCacheElement=function(){var a=0<arguments.length?arguments[0]:null,b=1<arguments.length?arguments[1]:!0;adf.mf.internal.context.updateModId();if(void 0!==a){var d=[],e;for(e in a)d.push({name:"#{"+e+"}",value:a[e]});if(0<d.length)try{adf.mf.api.setLocalValue(d,function(a,b){adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINER,
"adf.mf.internal.api","updateGenericCacheElement","updated the java script cache varaibles "+adf.mf.util.stringify(b))},function(a,b){adf.mf.log.Framework.isLoggable(adf.mf.log.level.SEVERE)&&adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.updateGenericCacheElement","MSG_UNABLE_TO_SET_DATA_CHANGE_VALS",adf.mf.util.stringify(b))}),b&&adf.mf.internal.api.notifyDataChangeListeners(a,null)}catch(n){adf.mf.log.Framework.isLoggable(adf.mf.log.level.WARNING)&&adf.mf.log.logInfoResource("ADFInfoBundle",
adf.mf.log.level.WARNING,"adf.mf.internal.api.updateGenericCacheElement","MSG_ERROR_UPDATING_CACHE")}}};adf.mf.internal.api.notifyBatchDataChangeListeners=function(a,b){adf.mf.internal.perf.start("adf.mf.internal.api.notifyBatchDataChangeListeners");for(var d=0;d<adf.mf.internal.batchDataChangeListeners.length;++d)try{adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf.mf.internal.api","notifyBatchDataChangeListeners","notify listener "+d+
"th bulk data change callback"),adf.mf.internal.perf.start("adf.mf.internal.api.notifyBatchDataChangeListeners.callback"),adf.mf.internal.batchDataChangeListeners[d](a,b),adf.mf.internal.perf.stop("adf.mf.internal.api.notifyBatchDataChangeListeners.callback")}catch(e){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.notifyBatchDataChangeListeners","MSG_ERROR_IN_BULK_NOTIFICATION_CALLBACK",e)}adf.mf.internal.perf.stop("adf.mf.internal.api.notifyBatchDataChangeListeners")};
adf.mf.internal.api.notifyIndividualDataChangeListeners=function(a){a=adf.mf.internal.util.is_array(a)?a:[a];adf.mf.internal.perf.start("adf.mf.internal.api.notifyIndividualDataChangeListeners",adf.mf.util.stringify(a));for(var b=0;b<a.length;++b){var k=a[b],m="bindings"==k.slice(0,8)?e.dataChangeListeners[k]:d[k];adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINE)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINE,"adf.mf.internal.api","notifyIndividualDataChangeListeners","**NDCL** Variable "+
b+": "+k+" has changed ("+adf.mf.api.getLocalValue(k)+") ");if(void 0!==m)for(k=0;k<m.callback.length;++k){var n=0;try{for(n=0;n<m.id.length;++n)adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf.mf.internal.api","notifyDataChangeListeners","notify listener "+k+"th callback in "+adf.mf.util.stringify(m)+" listeners"),adf.mf.internal.perf.start("adf.mf.internal.api.notifyIndividualDataChangeListeners.callback"),m.callback[k](m.id[n]),adf.mf.internal.perf.stop("adf.mf.internal.api.notifyIndividualDataChangeListeners.callback")}catch(o){adf.mf.log.logInfoResource("ADFInfoBundle",
adf.mf.log.level.SEVERE,"adf.mf.internal.api.notifyIndividualDataChangeListeners","MSG_ERROR_IN_INDIVIDUAL_NOTIFICATION_CALLBACK",m.id[n],o)}}else adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf.mf.internal.api","notifyIndividualDataChangeListeners","no listener set is defined for "+a[b])}adf.mf.internal.perf.stop("adf.mf.internal.api.notifyIndividualDataChangeListeners")};adf.mf.internal.api.notifyDataChangeListeners=function(a,b){adf.mf.log.Performance.isLoggable(adf.mf.log.level.FINEST)&&
(adf.mf.internal.perf.trace("adf.mf.api.notifyDataChangeListeners","with variables "+adf.mf.util.stringify(a)),adf.mf.internal.perf.trace("adf.mf.api.notifyDataChangeListeners","with provider details"+adf.mf.util.stringify(b)));adf.mf.internal.api.notifyIndividualDataChangeListeners(a);adf.mf.internal.api.notifyBatchDataChangeListeners(a,b)};adf.mf.internal.api.nvpEatErrors=function(){adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf.mf.internal.api","nvpEatErrors","eat standard errors")};adf.mf.internal.api.arraySimulatedErrors=
function(a,b){var d=adf.mf.internal.util.is_array(a)?a:[a],e=adf.mf.internal.util.is_array(b)?b:[b],n=e.length;adf.mf.internal.perf.start("adf.mf.internal.api.arraySimulatedErrors",e.length);for(var o=0;o<n;++o){var q=adf.mf.internal.util.is_array(e[o])?e[o][0]:e[o];if(adf.mf.util.isType(q,"NameValuePair"))adf.mf.internal.api.nvpSimulatedErrors(d[0],e[o]);else if(adf.mf.util.isException(e[o]))try{adf.mf.internal.perf.start("adf.mf.internal.api.arraySimulatedErrors "+o,adf.mf.util.stringify(e[o])),
adf.mf.internal.api.notifyErrorHandlers(d[0],e[o]),adf.mf.internal.perf.stop("adf.mf.internal.api.arraySimulatedErrors "+o,adf.mf.util.stringify(e[o]))}catch(s){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.arraySimulatedErrors","MSG_ERROR_IN_ERROR_CALLBACK")}}adf.mf.internal.perf.stop("adf.mf.internal.api.arraySimulatedErrors",e.length)};adf.mf.internal.api.nvpSimulatedErrors=function(a,b){var d=adf.mf.internal.util.is_array(b)?b:[b];adf.mf.internal.perf.start("adf.mf.internal.api.nvpSimulatedErrors",
d.length);for(var e=0;e<d.length;++e){var n=d[e];if(adf.mf.util.isType(n,"NameValuePair")){if(void 0!==n[adf.mf.internal.api.constants.EXCEPTION_FLAG_PROPERTY]&&(adf.mf.internal.perf.snapshot("adf.mf.internal.api.nvpSimulatedErrors","this is an exception: "+adf.mf.util.stringify(n)),!0==n[adf.mf.internal.api.constants.EXCEPTION_FLAG_PROPERTY]))try{adf.mf.internal.perf.start("adf.mf.internal.api.nvpSimulatedErrors "+e,adf.mf.util.stringify(n.value)),adf.mf.internal.api.notifyErrorHandlers(n.name,n.value),
adf.mf.internal.perf.stop("adf.mf.internal.api.nvpSimulatedErrors "+e,adf.mf.util.stringify(n.value))}catch(o){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.nvpSimulatedErrors","MSG_ERROR_IN_ERROR_CALLBACK")}}else adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf.mf.internal.api","nvpSimulatedErrors","response element "+e+" was not of type NameValuePair - "+adf.mf.util.stringify(n))}adf.mf.internal.perf.stop("adf.mf.internal.api.nvpSimulatedErrors",d.length)};
adf.mf.internal.api.notifyErrorHandlers=function(a,b){adf.mf.internal.perf.start("adf.mf.internal.api.notifyErrorHandlers.callback");if(void 0!=b&&null!=b&&!0!=b[adf.mf.internal.api.constants.DEFERRED_PROPERTY])for(var d=0;d<adf.mf.internal.errorHandlers.length;++d)try{adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf.mf.internal.api","notifyErrorHandlers","notify error handler "+d+" of the error"),adf.mf.internal.perf.start("adf.mf.internal.api.notifyErrorHandlers.callback"+
d),adf.mf.internal.errorHandlers[d](a,b),adf.mf.internal.perf.stop("adf.mf.internal.api.notifyErrorHandlers.callback"+d)}catch(e){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.api.notifyErrorHandlers","MSG_ERROR_CALLING_ERROR_HANDLERS",e)}adf.mf.internal.perf.stop("adf.mf.internal.api.notifyErrorHandlers.callback")};adf.mf.internal.el.removeCacheVariable=function(b){adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINER,
"adf.mf.internal.el","removeCacheVariable","-----\> removing "+b+" from the cache.");b=a.createValueExpression(adf.mf.internal.context,b,"object").getValueReference(adf.mf.internal.context,!1);b.isBaseObjectResolved&&(b.baseObject[b.propertyName]=null)};adf.mf.api.purgeCache=function(a,b){adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf.mf.api","purgeCache","****** purgeCache ******");try{if(adf.mf.internal.util.is_array(b))for(var d=b.length,
e=0;e<d;e++)adf.mf.internal.el.removeCacheVariable(b.result[e].name),adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf.mf.api","purgeCache","purging '"+b.result[e].name+"' from the cache.")}catch(n){adf.mf.log.Framework.isLoggable(adf.mf.log.level.WARNING)&&adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.WARNING,"adf.mf.api.purgeCache","MSG_ERROR_PURGING_CACHE",n)}};adf.mf.internal.el.resetBindingContext=function(){adf.mf.internal.perf.start("adf.mf.internal.el.resetBindingContext");
try{adf.mf.api.removeVariable("bindings"),adf.mf.api.addVariable("bindings",{}),adf.mf.internal.el.clearWeakReferences(),e.dataChangeListeners={}}catch(a){adf.mf.log.logInfoResource("ADFInfoBundle",adf.mf.log.level.SEVERE,"adf.mf.internal.el.resetBindingContext","MSG_ERROR_RESETTING_BINDING_CONTEXT",a)}finally{adf.mf.internal.perf.stop("adf.mf.internal.el.resetBindingContext")}};adf.mf.internal.el.clearWeakReferences=function(){adf.mf.internal.perf.snapshot("adf.mf.internal.el.clearWeakReferences",
name);adf.mf.internal.context.clearWeakReferences()};adf.mf.el.removeCache=function(a){count=a.length;for(var b=0;b<count;b++)elCache.kill(a[b])};adf.mf.internal.el.getBindingInstance=function(a){var d=b[a];null==d&&(d={bindings:{},dataChangeListeners:{}},b[a]=d);adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf.mf.internal.el","purgeCache","getBindingInstance for '"+a+"' = "+adf.mf.util.stringify(d));return d};adf.mf.internal.el.switchBindingInstance=
function(a){adf.mf.log.Framework.isLoggable(adf.mf.log.level.FINER)&&adf.mf.log.Framework.logp(adf.mf.log.level.FINER,"adf.mf.internal.el","switchBindingInstance","switchBindingInstance to '"+a+"'");e=adf.mf.internal.el.getBindingInstance(a);adf.mf.api.removeVariable("bindings");adf.mf.api.addVariable("bindings",e.bindings)};var e=adf.mf.internal.el.getBindingInstance("default")})();adf=window.adf||{};adf.el=adf.el||{};adf.log=adf.log||{};adf.mf=adf.mf||{};adf.mf.api=adf.mf.api||{};
adf.mf.api.adf=adf.mf.api.adf||{};adf.mf.el=adf.mf.el||{};adf.mf.locale=adf.mf.locale||{};adf.mf.log=adf.mf.log||{};adf.mf.resource=adf.mf.resource||{};adf.mf.util=adf.mf.util||{};adf.mf.internal=adf.mf.internal||{};adf.mf.internal.api=adf.mf.internal.api||{};adf.mf.internal.el=adf.mf.internal.el||{};adf.mf.internal.el.parser=adf.mf.internal.el.parser||{};adf.mf.internal.locale=adf.mf.internal.locale||{};adf.mf.internal.log=adf.mf.internal.log||{};adf.mf.internal.mb=adf.mf.internal.mb||{};
adf.mf.internal.perf=adf.mf.internal.perf||{};adf.mf.internal.perf.story=adf.mf.internal.perf.story||{};adf.mf.internal.resource=adf.mf.internal.resource||{};adf.mf.internal.util=adf.mf.internal.util||{};adf.addDataChangeListeners=function(a,b){adf.mf.api.addDataChangeListeners.apply(this,arguments)};adf.mf.api.adf.loadADFMessageBundles=function(a,b){adf.mf.resource.loadADFMessageBundles.apply(this,arguments)};adf.mf.api.adf.getInfoString=function(a,b){adf.mf.resource.getInfoString.apply(this,arguments)};
adf.mf.api.adf.getErrorId=function(a,b){adf.mf.resource.adf.getErrorId.apply(this,arguments)};adf.mf.api.adf.getErrorCause=function(a,b){adf.mf.resource.getErrorCause.apply(this,arguments)};adf.mf.api.adf.getErrorAction=function(a,b){adf.mf.resource.getErrorAction.apply(this,arguments)};adf.mf.api.adf.logAndThrowErrorResource=function(a,b,d){adf.mf.log.logAndThrowErrorResource.apply(this,arguments)};adf.mf.api.adf.logInfoResource=function(a,b,d,e){adf.mf.log.logInfoResource.apply(this,arguments)};
adf.getContextId=function(a,b){adf.mf.api.getContextId.apply(this,arguments)};adf.getContextPageDef=function(a,b){adf.mf.api.getContextPageDef.apply(this,arguments)};adf.getContextInstanceId=function(a,b){adf.mf.api.getContextInstanceId.apply(this,arguments)};adf.setContextInstance=function(a,b,d,e,g,h){adf.mf.api.setContextInstance.apply(this,arguments)};adf.removeContextInstance=function(a,b,d,e){adf.mf.api.removeContextInstance.apply(this,arguments)};
adf.invokeMethod=function(){adf.mf.api.invokeMethod.apply(this,arguments)};adf.invokeSecurityMethod=function(a,b,d,e){adf.mf.security.invokeSecurityMethod.apply(this,arguments)};adf.removeDataChangeListeners=function(a){adf.mf.api.removeDataChangeListeners.apply(this,arguments)};adf.resetContext=function(a,b){adf.mf.api.resetContext.apply(this,arguments)};adf.setContext=function(a,b,d){adf.mf.api.setContext.apply(this,arguments)};
adf.el.addVariable=function(a,b){adf.mf.api.addVariable.apply(this,arguments)};adf.el.getLocalValue=function(a){return adf.mf.api.getLocalValue.apply(this,arguments)};adf.el.getValue=function(){adf.mf.api.getValue.apply(this,arguments)};adf.el.invoke=function(a,b,d,e,g,h){adf.mf.api.invoke.apply(this,arguments)};adf.el.setValue=function(a,b,d){adf.mf.api.setValue.apply(this,arguments)};adf.el.setLocalValue=function(){adf.mf.api.setLocalValue.apply(this,arguments)};
adf.el.removeVariable=function(a){adf.mf.api.removeVariable.apply(this,arguments)};adf.el.setVariable=function(a,b){adf.mf.api.setVariable.apply(this,arguments)};adf.processDataChangeEvent=function(a){adf.mf.api.processDataChangeEvent.apply(this,arguments)};