blob: 2dcc88861be8e5719e66cbbb74e2b030458d0ba3 [file] [log] [blame]
var aa='BE0001_Hello_World',ba='Error #1034: Type Coercion failed: cannot convert ',ca='array',da='auto',ea='backgroundImage',fa='border-box',ha='childrenAdded',e='class',ia='deferredSizeHandler',ja='explicitHeightChanged',ka='explicitWidthChanged',la='function',ma='handleInitComplete',na='handleSizeChange',oa='heightChanged',pa='inherit',qa='initComplete',g='interface',ra='number',sa='object',ta='org.apache.royale.core.Application',ua='org.apache.royale.core.ApplicationBase',va='org.apache.royale.core.Bead',
wa='org.apache.royale.core.BeadViewBase',xa='org.apache.royale.core.DispatcherBead',ya='org.apache.royale.core.ElementWrapper',za='org.apache.royale.core.GroupBase',Aa='org.apache.royale.core.HTMLElementWrapper',Ba='org.apache.royale.core.IApplicationView',Ca='org.apache.royale.core.IBead',Da='org.apache.royale.core.IBeadController',Ea='org.apache.royale.core.IBeadLayout',Fa='org.apache.royale.core.IBeadModel',Ga='org.apache.royale.core.IBeadView',Ha='org.apache.royale.core.IBorderPaddingMarginValuesImpl',
Ia='org.apache.royale.core.ICSSImpl',Ja='org.apache.royale.core.IChild',Ka='org.apache.royale.core.IContainer',La='org.apache.royale.core.IContentViewHost',Ma='org.apache.royale.core.IDocument',Na='org.apache.royale.core.IFlexInfo',Oa='org.apache.royale.core.IId',Pa='org.apache.royale.core.IInitialViewApplication',Qa='org.apache.royale.core.ILayoutChild',Ra='org.apache.royale.core.ILayoutHost',Sa='org.apache.royale.core.ILayoutParent',Ta='org.apache.royale.core.ILayoutView',Ua='org.apache.royale.core.IMXMLDocument',
Va='org.apache.royale.core.IMeasurementBead',Wa='org.apache.royale.core.IParent',Xa='org.apache.royale.core.IParentIUIBase',Ya='org.apache.royale.core.IPopUpHost',Za='org.apache.royale.core.IPopUpHostParent',$a='org.apache.royale.core.IRenderedObject',ab='org.apache.royale.core.IRoyaleElement',bb='org.apache.royale.core.IState',cb='org.apache.royale.core.IStatesImpl',db='org.apache.royale.core.IStatesObject',eb='org.apache.royale.core.IStrand',fb='org.apache.royale.core.IStrandWithModel',gb='org.apache.royale.core.IStrandWithModelView',
hb='org.apache.royale.core.IStyleObject',ib='org.apache.royale.core.IStyleableObject',jb='org.apache.royale.core.IUIBase',kb='org.apache.royale.core.IValuesImpl',lb='org.apache.royale.core.LayoutBase',mb='org.apache.royale.core.SimpleCSSValuesImpl',nb='org.apache.royale.core.UIBase',ob='org.apache.royale.core.ValuesManager',pb='org.apache.royale.core.View',qb='org.apache.royale.core.ViewBase',rb='org.apache.royale.core.WrappedHTMLElement',sb='org.apache.royale.core.layout.EdgeData',tb='org.apache.royale.core.layout.LayoutData',
ub='org.apache.royale.core.layout.MarginData',vb='org.apache.royale.core.styles.BorderStyles',wb='org.apache.royale.events.BrowserEvent',xb='org.apache.royale.events.ElementEvents',yb='org.apache.royale.events.Event',zb='org.apache.royale.events.EventDispatcher',Ab='org.apache.royale.events.IBrowserEvent',Bb='org.apache.royale.events.IEventDispatcher',Cb='org.apache.royale.events.IRoyaleEvent',Db='org.apache.royale.events.ValueChangeEvent',Eb='org.apache.royale.events.ValueEvent',Fb='org.apache.royale.events.utils.EventUtils',
Gb='org.apache.royale.html.Label',Hb='org.apache.royale.html.beads.GroupView',Ib='org.apache.royale.html.beads.layouts.BasicLayout',Jb='org.apache.royale.utils.CSSUtils',Kb='org.apache.royale.utils.MXMLDataInterpreter',Lb='org.apache.royale.utils.StringPadder',Mb='org.apache.royale.utils.Timer',Nb='percentHeightChanged',Ob='percentWidthChanged',k='px',Pb='resizeHandler',Qb='sizeChanged',Rb='string',Sb='valueChange',Tb='viewChanged',Ub='widthChanged';function m(){return function(){}}
function n(a){return function(b){this[a]=b}}function q(a){return function(){return this[a]}}function Vb(a){return function(){return a}}var r,Wb=typeof Object.defineProperties==la?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},Xb='undefined'!=typeof window&&window===this?this:'undefined'!=typeof global&&null!=global?global:this;
function Yb(a){if(a){for(var b=Xb,c=['Object','assign'],d=0;d<c.length-1;d++){var f=c[d];f in b||(b[f]={});b=b[f]}c=c[c.length-1];d=b[c];a=a(d);a!=d&&null!=a&&Wb(b,c,{configurable:!0,writable:!0,value:a})}}var Zb=typeof Object.assign==la?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(a[f]=d[f])}return a};Yb(function(a){return a||Zb});var $b=this;function ac(){}
function bc(a){var b=typeof a;if(b==sa)if(a){if(a instanceof Array)return ca;if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if('[object Window]'==c)return sa;if('[object Array]'==c||typeof a.length==ra&&'undefined'!=typeof a.splice&&'undefined'!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable('splice'))return ca;if('[object Function]'==c||'undefined'!=typeof a.call&&'undefined'!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable('call'))return la}else return'null';
else if(b==la&&'undefined'==typeof a.call)return sa;return b}function cc(a){var b=typeof a;return b==sa&&null!=a||b==la}var dc='closure_uid_'+(1E9*Math.random()>>>0),ec=0;function fc(a,b,c){return a.call.apply(a.bind,arguments)}
function gc(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}}function hc(a,b,c){hc=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf('native code')?fc:gc;return hc.apply(null,arguments)}
function u(a,b){a=a.split('.');var c=$b;a[0]in c||!c.execScript||c.execScript('var '+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b}function v(a,b){function c(){}c.prototype=b.prototype;a.v=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.sd=function(a,c,h){for(var d=Array(arguments.length-2),f=2;f<arguments.length;f++)d[f-2]=arguments[f];return b.prototype[c].apply(a,d)}};function ic(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}var jc='constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf'.split(' ');function kc(a,b){for(var c,d,f=1;f<arguments.length;f++){d=arguments[f];for(c in d)a[c]=d[c];for(var h=0;h<jc.length;h++)c=jc[h],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var lc='closure_listenable_'+(1E6*Math.random()|0);function mc(a){return!(!a||!a[lc])}var nc=0;function oc(a,b,c,d,f){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.P=f;this.key=++nc;this.removed=this.callOnce=!1}function pc(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.P=null};var qc=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,'')};function sc(a,b){return a<b?-1:a>b?1:0};var tc=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(typeof a==Rb)return typeof b==Rb&&1==b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1};function uc(a){this.src=a;this.u={};this.U=0}r=uc.prototype;r.add=function(a,b,c,d,f){var h=a.toString();a=this.u[h];a||(a=this.u[h]=[],this.U++);var l=vc(a,b,d,f);-1<l?(b=a[l],c||(b.callOnce=!1)):(b=new oc(b,this.src,h,!!d,f),b.callOnce=c,a.push(b));return b};r.remove=function(a,b,c,d){a=a.toString();if(!(a in this.u))return!1;var f=this.u[a];b=vc(f,b,c,d);return-1<b?(pc(f[b]),Array.prototype.splice.call(f,b,1),0==f.length&&(delete this.u[a],this.U--),!0):!1};
function wc(a,b){var c=b.type;if(c in a.u){var d=a.u[c],f=tc(d,b),h;(h=0<=f)&&Array.prototype.splice.call(d,f,1);h&&(pc(b),0==a.u[c].length&&(delete a.u[c],a.U--))}}r.getListeners=function(a,b){a=this.u[a.toString()];var c=[];if(a)for(var d=0;d<a.length;++d){var f=a[d];f.capture==b&&c.push(f)}return c};r.getListener=function(a,b,c,d){a=this.u[a.toString()];var f=-1;a&&(f=vc(a,b,c,d));return-1<f?a[f]:null};
r.hasListener=function(a,b){var c=void 0!==a,d=c?a.toString():'',f=void 0!==b;return ic(this.u,function(a){for(var h=0;h<a.length;++h)if(!(c&&a[h].type!=d||f&&a[h].capture!=b))return!0;return!1})};function vc(a,b,c,d){for(var f=0;f<a.length;++f){var h=a[f];if(!h.removed&&h.listener==b&&h.capture==!!c&&h.P==d)return f}return-1};function xc(){0!=yc&&(this[dc]||(this[dc]=++ec))}var yc=0;function zc(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.K=!1;this.pa=!0}zc.prototype.stopPropagation=function(){this.K=!0};zc.prototype.preventDefault=function(){this.defaultPrevented=!0;this.pa=!1};function Ac(a){Ac[' '](a);return a}Ac[' ']=ac;function Bc(a,b){var c=Cc;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var w;a:{var Dc=$b.navigator;if(Dc){var Ec=Dc.userAgent;if(Ec){w=Ec;break a}}w=''};var Fc=-1!=w.indexOf('Opera'),Gc=-1!=w.indexOf('Trident')||-1!=w.indexOf('MSIE'),Hc=-1!=w.indexOf('Edge'),Ic=-1!=w.indexOf('Gecko')&&!(-1!=w.toLowerCase().indexOf('webkit')&&-1==w.indexOf('Edge'))&&!(-1!=w.indexOf('Trident')||-1!=w.indexOf('MSIE'))&&-1==w.indexOf('Edge'),Jc=-1!=w.toLowerCase().indexOf('webkit')&&-1==w.indexOf('Edge'),Kc=-1!=w.indexOf('Macintosh');function Lc(){var a=$b.document;return a?a.documentMode:void 0}var Mc;
a:{var Nc='',Oc=function(){var a=w;if(Ic)return/rv:([^\);]+)(\)|;)/.exec(a);if(Hc)return/Edge\/([\d\.]+)/.exec(a);if(Gc)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Jc)return/WebKit\/(\S+)/.exec(a);if(Fc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Oc&&(Nc=Oc?Oc[1]:'');if(Gc){var Pc=Lc();if(null!=Pc&&Pc>parseFloat(Nc)){Mc=String(Pc);break a}}Mc=Nc}var Cc={};
function Qc(a){return Bc(a,function(){for(var b=0,c=qc(String(Mc)).split('.'),d=qc(String(a)).split('.'),f=Math.max(c.length,d.length),h=0;0==b&&h<f;h++){var l=c[h]||'',p=d[h]||'';do{l=/(\d*)(\D*)(.*)/.exec(l)||['','','',''];p=/(\d*)(\D*)(.*)/.exec(p)||['','','',''];if(0==l[0].length&&0==p[0].length)break;b=sc(0==l[1].length?0:parseInt(l[1],10),0==p[1].length?0:parseInt(p[1],10))||sc(0==l[2].length,0==p[2].length)||sc(l[2],p[2]);l=l[3];p=p[3]}while(0==b)}return 0<=b})}var Rc;var Sc=$b.document;
Rc=Sc&&Gc?Lc()||('CSS1Compat'==Sc.compatMode?parseInt(Mc,10):5):void 0;var Tc=!Gc||9<=Number(Rc),Uc=!Gc||9<=Number(Rc),Vc=Gc&&!Qc('9');!Jc||Qc('528');Ic&&Qc('1.9b')||Gc&&Qc('8')||Fc&&Qc('9.5')||Jc&&Qc('528');Ic&&!Qc('8')||Gc&&Qc('9');var Wc=function(){if(!$b.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},'passive',{get:function(){a=!0}});$b.addEventListener('test',ac,b);$b.removeEventListener('test',ac,b);return a}();function Xc(a,b){zc.call(this,a?a.type:'');this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key='';this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.platformModifierKey=!1;this.D=null;a&&this.init(a,b)}v(Xc,zc);var Yc=[1,4,2];r=Xc.prototype;
r.init=function(a,b){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;if(b=a.relatedTarget){if(Ic){a:{try{Ac(b.nodeName);var f=!0;break a}catch(h){}f=!1}f||(b=null)}}else'mouseover'==c?b=a.fromElement:'mouseout'==c&&(b=a.toElement);this.relatedTarget=b;null===d?(this.offsetX=Jc||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=Jc||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=
void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||'';this.charCode=a.charCode||('keypress'==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.platformModifierKey=Kc?a.metaKey:a.ctrlKey;
this.state=a.state;this.D=a;a.defaultPrevented&&this.preventDefault()};r.isButton=function(a){return Tc?this.D.button==a:'click'==this.type?0==a:!!(this.D.button&Yc[a])};r.isMouseActionButton=function(){return this.isButton(0)&&!(Jc&&Kc&&this.ctrlKey)};r.stopPropagation=function(){Xc.v.stopPropagation.call(this);this.D.stopPropagation?this.D.stopPropagation():this.D.cancelBubble=!0};
r.preventDefault=function(){Xc.v.preventDefault.call(this);var a=this.D;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Vc)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};r.getBrowserEvent=q('D');var Zc='closure_lm_'+(1E6*Math.random()|0),$c={},ad=0;function bd(a,b,c,d,f){if(d&&d.once)cd(a,b,c,d,f);else if(bc(b)==ca)for(var h=0;h<b.length;h++)bd(a,b[h],c,d,f);else c=dd(c),mc(a)?a.w.add(String(b),c,!1,cc(d)?!!d.capture:!!d,f):ed(a,b,c,!1,d,f)}
function ed(a,b,c,d,f,h){if(!b)throw Error('Invalid event type');var l=cc(f)?!!f.capture:!!f,p=fd(a);p||(a[Zc]=p=new uc(a));c=p.add(b,c,d,l,h);if(!c.proxy){d=gd();c.proxy=d;d.src=a;d.listener=c;if(a.addEventListener)Wc||(f=l),void 0===f&&(f=!1),a.addEventListener(b.toString(),d,f);else if(a.attachEvent)a.attachEvent(hd(b.toString()),d);else throw Error('addEventListener and attachEvent are unavailable.');ad++}}
function gd(){var a=id,b=Uc?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b}function cd(a,b,c,d,f){if(bc(b)==ca)for(var h=0;h<b.length;h++)cd(a,b[h],c,d,f);else c=dd(c),mc(a)?a.w.add(String(b),c,!0,cc(d)?!!d.capture:!!d,f):ed(a,b,c,!0,d,f)}
function jd(a,b,c,d,f){if(bc(b)==ca)for(var h=0;h<b.length;h++)jd(a,b[h],c,d,f);else d=cc(d)?!!d.capture:!!d,c=dd(c),mc(a)?a.w.remove(String(b),c,d,f):a&&(a=fd(a))&&(b=a.getListener(b,c,d,f))&&kd(b)}function kd(a){if(typeof a!=ra&&a&&!a.removed){var b=a.src;if(mc(b))wc(b.w,a);else{var c=a.type,d=a.proxy;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent&&b.detachEvent(hd(c),d);ad--;(c=fd(b))?(wc(c,a),0==c.U&&(c.src=null,b[Zc]=null)):pc(a)}}}
function ld(a,b){if(mc(a))return a.hasListener(b,void 0);a=fd(a);return!!a&&a.hasListener(b,void 0)}function hd(a){return a in $c?$c[a]:$c[a]='on'+a}function md(a,b,c,d){var f=!0;if(a=fd(a))if(b=a.u[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var h=b[a];h&&h.capture==c&&!h.removed&&(h=nd(h,d),f=f&&!1!==h)}return f}function nd(a,b){var c=a.listener,d=a.P||a.src;a.callOnce&&kd(a);return c.call(d,b)}
function id(a,b){if(a.removed)return!0;if(!Uc){if(!b)a:{b=['window','event'];for(var c=$b,d;d=b.shift();)if(null!=c[d])c=c[d];else{b=null;break a}b=c}d=b;b=new Xc(d,this);c=!0;if(!(0>d.keyCode||void 0!=d.returnValue)){a:{var f=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(l){f=!0}if(f||void 0==d.returnValue)d.returnValue=!0}d=[];for(f=b.currentTarget;f;f=f.parentNode)d.push(f);a=a.type;for(f=d.length-1;!b.K&&0<=f;f--){b.currentTarget=d[f];var h=md(d[f],a,!0,b);c=c&&h}for(f=0;!b.K&&f<d.length;f++)b.currentTarget=
d[f],h=md(d[f],a,!1,b),c=c&&h}return c}return nd(a,new Xc(b,this))}function fd(a){a=a[Zc];return a instanceof uc?a:null}var od='__closure_events_fn_'+(1E9*Math.random()>>>0);function dd(a){if(bc(a)==la)return a;a[od]||(a[od]=function(b){return a.handleEvent(b)});return a[od]};function pd(){xc.call(this);this.w=new uc(this);this.Qa=this}v(pd,xc);pd.prototype[lc]=!0;r=pd.prototype;r.getParentEventTarget=Vb(null);r.addEventListener=function(a,b,c,d){bd(this,a,b,c,d)};r.removeEventListener=function(a,b,c,d){jd(this,a,b,c,d)};r.dispatchEvent=function(a){var b,c=this.getParentEventTarget();if(c)for(b=[];c;c=c.getParentEventTarget())b.push(c);return qd(this.Qa,a,b)};
r.fireListeners=function(a,b,c){a=this.w.u[String(a)];if(!a)return!0;a=a.concat();for(var d=!0,f=0;f<a.length;++f){var h=a[f];if(h&&!h.removed&&h.capture==b){var l=h.listener,p=h.P||h.src;h.callOnce&&wc(this.w,h);d=!1!==l.call(p,c)&&d}}return d&&0!=c.pa};r.getListeners=function(a,b){return this.w.getListeners(String(a),b)};r.getListener=function(a,b,c,d){return this.w.getListener(String(a),b,c,d)};r.hasListener=function(a,b){return this.w.hasListener(void 0!==a?String(a):void 0,b)};
function qd(a,b,c){var d=b.type||b;if(typeof b==Rb)b=new zc(b,a);else if(b instanceof zc)b.target=b.target||a;else{var f=b;b=new zc(d,a);kc(b,f)}f=!0;if(c)for(var h=c.length-1;!b.K&&0<=h;h--){var l=b.currentTarget=c[h];f=l.fireListeners(d,!0,b)&&f}b.K||(l=b.currentTarget=a,f=l.fireListeners(d,!0,b)&&f,b.K||(f=l.fireListeners(d,!1,b)&&f));if(c)for(h=0;!b.K&&h<c.length;h++)l=b.currentTarget=c[h],f=l.fireListeners(d,!1,b)&&f;return f};function rd(){}rd.prototype.info=m();rd.prototype.g={names:[{name:'IFlexInfo',h:Na,kind:g}]};function x(){}var sd,td,y,ud=[];Object.defineProperties(x,{G:{get:function(){var a=String.fromCharCode(0);Object.defineProperty(x,'zeroStr',{value:a,writable:!0});return a},set:function(a){Object.defineProperty(x,'zeroStr',{value:a,writable:!0})},configurable:!0}});
x.as=function(a,b,c){var d=x.is(a,b);if(!d&&c){if(b.constructor===y)return b.coerce(a);if(-1!=[Boolean,Number,String].indexOf(b))return b(a);if(Object===b)return b(a).valueOf();if(null==a)return null;throw new TypeError(ba+(a.g?a.g.names[0].h:String(a))+' to '+(''+(b.prototype&&b.prototype.g?b.prototype.g.names[0].h:String(b))));}return d?a:null};x.N=function(a){return a>>0};x.j=function(a){return null==a?null:''+a};
x.is=function(a,b){if(null==a||null==b)return!1;if(b===Array)return Array.isArray(a)&&!('_s'in a);if(a instanceof b||b===Object)return!0;var c=typeof a;if(c===Rb)return b===String;if(c===ra&&b===Number)return!0;if('boolean'===c)return b===Boolean;if(b.constructor===y)return!!b.checkIs(a);if(void 0===a.g)return!1;if(a.g.i&&vd(a,b))return!0;if(a=a.constructor.v)for(;a&&a.g;){if(a.g.i&&vd(a,b))return!0;a=a.constructor.v}return!1};
function vd(a,b){var c=a.g.i;for(a=c.length-1>>0;-1<a;a--)if(c[a]===b||c[a].prototype.g.i&&vd(c[a].prototype,b))return!0;return!1}x.trace=m();x.s=function(a){return a>>>0};x.o=function(a,b,c){if(b.hasOwnProperty(c))return b[c];a=hc(a,b);Object.defineProperty(b,c,{value:a});return a};x.sort=function(a,b){b=Array.prototype.slice.call(arguments,1);var c=null,d=0;1==b.length?typeof b[0]===la?c=b[0]:d=b[0]>>0:2==b.length&&(c=b[0],d=b[1]>>0);td=0<(2&d)?-1:1;c?a.sort(c):d&16?a.sort(wd):d&1?a.sort(xd):a.sort(yd)};
function xd(a,b){a=(a||x.G).toString().toLowerCase().localeCompare((b||x.G).toString().toLowerCase())>>0;return 0!=a?a*td>>0:0}function yd(a,b){a=(a||x.G).toString().localeCompare((b||x.G).toString())>>0;return 0!=a?a*td>>0:0}function wd(a,b){return a>b?td>>0:a<b?-td>>0:0}
x.Gd=function(a,b,c){c='undefined'!==typeof c?c:0;x.is(b,Array)?sd=b:(ud[0]=b,sd=ud);if(x.is(c,Array)){b=0;for(var d in c)b|=c[d]}else b=(x.N(c)==c?x.N(c):0)>>0;td=0<(2&b)?-1:1;var f;b&8&&(f=a.slice());b&16?a.sort(zd):b&1?a.sort(Ad):a.sort(Bd);if(b&8){d=[];c=a.length>>0;for(b=0;b<c;b++)d.push(a.indexOf(f[b]));return d}return a};
function Ad(a,b){var c=sd,d;for(d in c){var f=c[d];f=(a[f]||x.G).toString().toLowerCase().localeCompare((b[f]||x.G).toString().toLowerCase())>>0;if(0!=f)return f*td>>0}return 0}function Bd(a,b){var c=sd,d;for(d in c){var f=c[d];f=(a[f]||x.G).toString().localeCompare((b[f]||x.G).toString())>>0;if(0!=f)return f*td>>0}return 0}function zd(a,b){var c=sd,d;for(d in c){var f=c[d];if(a[f]>b[f])return td>>0;if(a[f]<b[f])return-td>>0}return 0}
x.Dd=function(a){if(a){var b=a.constructor;if(b==String||b==Number||b==Boolean||b.constructor==y)a=a.valueOf()}return a};x.od='_s';x.nd='_ci';x.wd=function(a){return!(!y||!a||a.constructor!=y)};
x.Na=function(a,b){y||(y=Function('return function(b,c,d,e,n){var f=function(){var t=this;var a=Array.prototype.slice.call(arguments);a.push(t);t.type=f.type;t.value=f.construct.apply(t,a);return f.noWrap?t.value:t};f.type=b;f.toString=function(){return b};f.construct=c;f.checkIs=d;f.coerce=e;f.noWrap=!!n;var p=f.prototype;p.valueOf=function(){return this.value};p.constructor=f;f.constructor=arguments.callee;return f}')(),Object.defineProperties(y,{_types:{value:{}}}));var c=y._types;b&&(c[a]=new y(a,
b.construct,b.checkIs,b.coerce,b.noWrap));b=c[a];if(!b)switch(a){case 'int':b=c['int']=new y('int',x.N,function(a){return a>>0===a.valueOf()},x.N);break;case 'uint':b=c.uint=new y('uint',x.s,function(a){return a>>>0===a.valueOf()},x.s);break;case 'Class':var d=/^name$|^name,|,name$|,name(?=,)/,f=Object.getOwnPropertyNames(m()).join().replace(d,''),h=function(a){return!(typeof a!=la||!a.prototype||a.prototype.constructor!=a||!a.prototype.g&&a.constructor!=y&&a!=Boolean&&Object.getOwnPropertyNames(a).join().replace(d,
'')==f)};b=c.Class=new y('Class',function(){throw new TypeError('Error #1115: Class is not a constructor.');},h,function(a){if(null!=a&&!h(a))throw new TypeError('Error #1034: Type Coercion failed: cannot convert "'+x.j(a)+'" to Class.');return a?a:null});break;default:throw new TypeError('unknown synthetic type:'+a);}return b};
x.Oa=function(a){var b='Vector';null!==a&&(b+='.<'+a+'>');var c=x.Na;if(!y||!y._types[b]){c=c(b,{construct:function(c,d,f){var h=arguments,l=h.length;f=h[--l];d=!(2!=l||!h[--l]);c=(1==l?h[0]:0)>>0;f.type=b;f[A.C]=d?c:-1;return A.Aa([],c,a,d,f)},checkIs:function(a){return A.V(a,b)},coerce:function(c){if(c&&Array.isArray(c))return c=x.as(c,Array),A.V(c,b)?c:A.Aa(c.slice(),c.length>>0,a,!1,null,!1);throw new TypeError(ba+c+' to '+b);},noWrap:!0});A.Da=y;A.Pa(a,c,!1);A.md(a,c);c.prototype=Object.create(c.prototype);
var d=A.Ta(),f={length:{get:d.ga,set:d.xa},toString:{value:d.toString},map:{value:d.map},splice:{value:d.splice},slice:{value:d.slice},concat:{value:d.concat},filter:{value:d.filter},insertAt:{value:d.ya},removeAt:{value:d.za},constructor:{value:c}};f._ci={value:d._ci};f[A.B]={value:a};f.type={value:b};f[A.A]={value:c[A.A],configurable:!0};f[A.H]={value:c[A.H]};Object.defineProperties(c.prototype,f)}return y._types[b]};
x.pd=function(a,b,c){a='undefined'!==typeof a?a:0;c='undefined'!==typeof c?c:!1;return new (x.Oa('undefined'!==typeof b?b:null))(a,c)};x.rd=function(a,b){a='undefined'!==typeof a?a:0;b='undefined'!==typeof b?b:null;var c=[],d=null;'int'==b||'uint'==b||'Number'==b?d=0:'String'==b?d='':'Boolean'==b&&(d=!1);for(b=0;b<a;b++)c.push(d);return c};function A(){}var Cd,B,Dd,Ed;A.Ba='Error #1126: Cannot change the length of a fixed Vector';A.ic='Error #1007: Instantiation attempted on a non-constructor.';
A.A='cE';A.H='dV';A.B='eT';A.C='fL';function Fd(a,b){return'Error #1125: The index '+a+' is out of range '+b}A.V=function(a,b){var c=!!(a&&'_s'in a),d=c&&a._s instanceof A.Da._types[b];!d&&c&&'Vector.<*>'==b&&(a=x.j(a._s[A.B]),d='int'!=a&&'uint'!=a&&'Number'!=a);return d};A.md=function(a,b){if(void 0===b[A.H]){var c={'int':0,uint:0,Number:0,String:'',Boolean:!1},d=null;a in c&&(d=c[a]);b[A.H]=d}};
A.Pa=function(a,b,c){function d(a){return void 0===a?null:a}if(b[A.A])return b[A.A];var f={'int':x.N,uint:x.s,Number:Number,String:x.j,Boolean:Boolean,'*':d,Object:d};f='Class'==a?x.Na('Class',null).coerce:f[a];if(null==f)if(0==a.indexOf('Vector.<'))f=function(b){if(null===b||x.Oa(a.slice(8,-1)).checkIs(b))return b;throw new TypeError(ba+b+' to '+a);};else{f=!1;for(var h=a.split('.'),l=h.length>>0,p=$b,t=0;t<l;t++)if(p=p&&p[h[t]],!p){if(c)throw new TypeError('missing dependency '+a);f=!0;break}f=
f?null:function(a){return x.as(a,p,!0)}}b[A.A]=f;c&&Object.defineProperty(b.prototype,A.A,{value:f});return f};function Gd(a,b,c){var d=c[A.A];null==d&&(d=A.Pa(x.j(c[A.B]),c.constructor,!0));for(var f,h=0;h<b;h++){var l=a[h];void 0===l&&(l=null);try{a[h]=d(l)}catch(p){Hd(a,c[A.H],h>>>0);f=p;break}}return f}
A.Aa=function(a,b,c,d,f,h){h='undefined'!==typeof h?h:!0;b>>>=0;if(null==c)throw new TypeError(A.ic);A.M(a,c,d,f);f||(f=a._s);if(b)if(h)a.length=b,Hd(a,f[A.H],0);else if(b=Gd(a,b>>>0,f))throw new b.constructor(b.message);return a};
A.M=function(a,b,c,d){b=d?d.constructor:A.Da._types['Vector.<'+b+'>'];d||(d=(new b)._s);d.value=a;b=Object.assign||function(a,b){for(var c in b)a[c]=b[c];return a};var f={fixed:{get:function(){return-1<d[A.C]},set:function(b){-1<d[A.C]!=b&&(d[A.C]=b?a.length:-1,Object.defineProperties(a,A.Ca(b)))}},splice:{value:d.splice},slice:{value:d.slice},concat:{value:d.concat},map:{value:d.map},filter:{value:d.filter},toString:{value:d.toString},constructor:{value:d.constructor}};f._ci={value:d._ci};f._s={value:d};
b(f,A.Ca(c));Object.defineProperties(a,f);return a};function Hd(a,b,c){if(a.fill)a.fill(b,c);else{c>>>=0;for(var d=a.length>>>0;c<d;)a[c]=b,c++}}A.Ta=function(){if(B)return B;Cd=new A;B={};var a=Cd;B.toString=a.toString;B.map=a.map;B.splice=a.splice;B.slice=a.slice;B.concat=a.concat;B.filter=a.filter;B.ya=a.ya;B.za=a.za;B.ga=a.ga;B.xa=a.xa;B._ci=a.Ra;return B};
A.Ca=function(a){if(Dd)return a?Ed:Dd;var b=Cd;Dd={pop:{value:Array.prototype.pop,configurable:!0},push:{value:b.push,configurable:!0},shift:{value:Array.prototype.shift,configurable:!0},unshift:{value:b.unshift,configurable:!0},insertAt:{value:b.hc,configurable:!0},removeAt:{value:b.Gc,configurable:!0}};b={value:b.ld,configurable:!0};Ed={pop:b,push:b,shift:b,unshift:b,insertAt:b,removeAt:b};return a?Ed:Dd};r=A.prototype;r.toString=function(){return Array.prototype.map.call(this,String).toString()};
r.map=function(a){var b=this._s;return A.M(Array.prototype.map.call(this,function(c,d,f){return b[A.A](a(c,d,f))}),x.j(b[A.B]),!1,null)};r.splice=function(){var a=Array.prototype.slice.call(arguments),b=this._s;a=Array.prototype.splice.apply(this,a);-1<b[A.C]&&(b[A.C]=this.length);return A.M(a,x.j(b[A.B]),!1,null)};r.slice=function(){var a=Array.prototype.slice.call(arguments),b=this._s;a=Array.prototype.slice.apply(this,a);return A.M(a,x.j(b[A.B]),!1,null)};
r.filter=function(){var a=Array.prototype.slice.call(arguments),b=this._s;a=Array.prototype.filter.apply(this,a);return A.M(a,x.j(b[A.B]),!1,null)};r.concat=function(){for(var a=Array.prototype.slice.call(arguments),b=this._s,c=a.length>>>0,d=0;d<c;d++){var f=a[d];if(!A.V(f,b.type))throw new TypeError(ba+f._s.type+' to '+b.type);}a=Array.prototype.concat.apply(this,a);return A.M(a,x.j(b[A.B]),!1,null)};r.ya=function(a,b){return Array.prototype.splice.call(this,a,0,b)};
r.za=function(a){return Array.prototype.splice.call(this,a,1)[0]};r.ga=function(){return Number(this.value.length)};r.xa=function(a){if(-1!=this[A.C])throw new RangeError(A.Ba);var b=Number(this.value.length);this.value.length=a;b<a&&Hd(this.value,this[A.H],b>>>0)};r.push=function(a){var b=Array.prototype.slice.call(arguments),c=Gd(b,b.length>>>0,this._s);b=Array.prototype.push.apply(this,b)>>>0;if(c)throw new c.constructor(c.message);return b};
r.unshift=function(a){var b=Array.prototype.slice.call(arguments),c=Gd(b,b.length>>>0,this._s);b=Array.prototype.unshift.apply(this,b)>>>0;if(c)throw new c.constructor(c.message);return b};r.hc=function(a,b){this._s.insertAt.call(this,a,b)};r.Gc=function(a){var b=(0>a?Math.max(this.length+a,0):a)>>0;if(b>=this.length)throw new RangeError(Fd(a,this.length>>>0));return this._s.removeAt.call(this,b)};r.ld=function(){throw new RangeError(A.Ba);};
r.Ra=function(a){var b=Number(this._s[A.C]);if(a>>>0!==a||(-1==b?a>(b=Number(this.length)):a>=b))throw new RangeError(Fd(a,b>>>0));return a};function C(){}C.prototype.addBead=m();C.prototype.getBeadByType=m();C.prototype.removeBead=m();C.prototype.g={names:[{name:'IStrand',h:eb,kind:g}]};function D(){}r=D.prototype;r.addEventListener=m();r.removeEventListener=m();r.hasEventListener=m();r.dispatchEvent=m();r.g={names:[{name:'IEventDispatcher',h:Bb,kind:g}]};function E(a){pd.call(this);this.Ma=('undefined'!==typeof a?a:null)||this}v(E,pd);r=E.prototype;r.hasEventListener=function(a){return ld(this,a)};r.dispatchEvent=function(a){if(a)typeof a==Rb?(a=new F(''+a),a.target=this.Ma):'target'in a&&(a.target=this.Ma);else return!1;var b=null;if(a.bubbles){var c=this.getParentEventTarget();if(c)for(b=[];c;c=c.getParentEventTarget())b.push(c)}return!!qd(this,a,b)};
r.fireListeners=function(a,b,c){a=this.getListeners(a,b);if(!a)return!0;a=a.concat();for(var d=!0,f=0;f<a.length&&!c.immediatePropogationStopped;++f){var h=a[f];if(h&&!h.removed&&h.capture==b){var l=h.listener,p=h.P||h.src;h.callOnce&&wc(this.w,h);d=!1!==l.call(p,c)&&d}}return d&&0!=c.pa};r.toString=Vb('[object Object]');r.g={names:[{name:'EventDispatcher',h:zb,kind:e}],i:[D]};function G(){E.call(this)}v(G,E);G.converterMap={};u('org.apache.royale.core.ElementWrapper.converterMap',G.converterMap);r=G.prototype;r.addBead=function(a){this._beads||(this._beads=[]);this._beads.push(a);a.strand=this};r.getBeadByType=function(a){var b;if(!this._beads)return null;var c=this._beads.length;for(b=0;b<c;b++){var d=this._beads[b];if(x.is(d,a))return d}return null};
r.removeBead=function(a){var b;var c=this._beads.length;for(b=0;b<c;b++){var d=this._beads[b];if(a===d)return this._beads.splice(b>>0,1),a}return null};r.addEventListener=function(a,b,c){bd(Id(this,a),a,b,!('undefined'===typeof c||!c))};r.removeEventListener=function(a,b,c){jd(Id(this,a),a,b,!('undefined'===typeof c||!c))};function Id(a,b){var c=a;Jd.elementEvents[b]&&(c=a.element);return c}r.hasEventListener=function(a){return ld(Id(this,a),a)};
r.dispatchEvent=function(a){if(typeof a==Rb){var b=a;'change'==a&&(a=Kd.createEvent(b,!!a.bubbles))}else b=x.j(a.type),Jd.elementEvents[b]&&(a=Kd.createEvent(b,!!a.bubbles));b=Id(this,b);return b==this?G.v.dispatchEvent.apply(this,[a]):!!b.dispatchEvent(a)};r.qb=q('_element');r.Rc=function(a){this._element=a;this._element.royale_wrapper=this};Object.defineProperties(G.prototype,{element:{get:G.prototype.qb,set:G.prototype.Rc}});G.googFireListener=nd;
nd=function(a,b){var c=b.getBrowserEvent();var d=G.converterMap[c.constructor.name];d?c=d(c,b):(c=new I,c.wrapEvent(b));return!!G.googFireListener(a,c)};G.prototype.g={names:[{name:'ElementWrapper',h:ya,kind:e}],i:[C]};function J(){E.call(this)}v(J,G);J.prototype.addBead=function(a){x.is(a,Ld)&&(this._model=a);J.v.addBead.apply(this,[a])};J.prototype.$=function(){if(null==this._model){var a=new (K.valuesImpl.getValue(this,'iBeadModel'));this.addBead(a)}return this._model};J.prototype.ta=function(a){this._model!=a&&(x.is(a,L)?this.addBead(a):this._model=a,this.dispatchEvent('modelChanged'))};Object.defineProperties(J.prototype,{model:{get:J.prototype.$,set:J.prototype.ta}});
J.prototype.g={names:[{name:'HTMLElementWrapper',h:Aa,kind:e}]};function M(){E.call(this)}v(M,J);r=M.prototype;r.info=q('Bd');r.setHeight=function(a,b){this.jc!=a&&(this.jc=a,Md(this).height=a.toString()+k,'undefined'!==typeof b&&b||this.dispatchEvent(oa))};r.setWidth=function(a,b){this.kc!=a&&(this.kc=a,Md(this).width=a.toString()+k,'undefined'!==typeof b&&b||this.dispatchEvent(Ub))};r.O=function(){var a=Md(this).width;a=null==a?NaN:N.toNumber(a,NaN);isNaN(a)&&(a=this.element.offsetWidth,0===a&&0!==this.element.scrollWidth&&(a=this.element.scrollWidth));return a};
r.R=function(a){this.explicitWidth!=a&&(this.explicitWidth=a);this.setWidth(a)};r.Z=function(){var a=Md(this).height;a=null==a?NaN:N.toNumber(a,NaN);isNaN(a)&&(a=this.element.offsetHeight,0===a&&0!==this.element.scrollHeight&&(a=this.element.scrollHeight));return a};r.sa=function(a){this.explicitHeight!=a&&(this.explicitHeight=a);this.setHeight(a)};r.Y=q('ia');r.ra=function(a){this.ia!=a&&(isNaN(a)||(this.Fa=NaN),this.ia=a,this.dispatchEvent(ka))};r.X=q('ha');
r.qa=function(a){this.ha!=a&&(isNaN(a)||(this.Ea=NaN),this.ha=a,this.dispatchEvent(ja))};r.ca=q('Fa');r.va=function(a){this.Fa=a;Md(this).width=a.toString()+'%';isNaN(a)||(this.ia=NaN);this.dispatchEvent(Ob)};r.ba=q('Ea');r.ua=function(a){this.Ea=a;Md(this).height=a.toString()+'%';isNaN(a)||(this.ha=NaN);this.dispatchEvent(Nb)};
Object.defineProperties(M.prototype,{width:{get:M.prototype.O,set:M.prototype.R},height:{get:M.prototype.Z,set:M.prototype.sa},explicitWidth:{get:M.prototype.Y,set:M.prototype.ra},explicitHeight:{get:M.prototype.X,set:M.prototype.qa},percentWidth:{get:M.prototype.ca,set:M.prototype.va},percentHeight:{get:M.prototype.ba,set:M.prototype.ua}});M.prototype.g={names:[{name:'ApplicationBase',h:ua,kind:e}],i:[rd]};function Nd(){}Nd.prototype.g={names:[{name:'IInitialViewApplication',h:Pa,kind:g}],i:[D]};function Od(){}Od.prototype.g={names:[{name:'IRoyaleElement',h:ab,kind:g}]};function Pd(){}Pd.prototype.g={names:[{name:'IStyleableObject',h:ib,kind:g}],i:[D]};function Qd(){}Qd.prototype.g={names:[{name:'IStrandWithModel',h:fb,kind:g}],i:[C]};function Rd(){}Rd.prototype.g={names:[{name:'IStrandWithModelView',h:gb,kind:g}],i:[Qd]};function Sd(){}Sd.prototype.g={names:[{name:'IRenderedObject',h:$a,kind:g}]};function Td(){}Td.prototype.g={names:[{name:'IChild',h:Ja,kind:g}],i:[Sd]};function Ud(){}Ud.prototype.addedToParent=m();Ud.prototype.g={names:[{name:'IUIBase',h:jb,kind:g}],i:[C,D,Td]};function Vd(){}r=Vd.prototype;r.setHeight=m();r.setWidth=m();r.setX=m();r.setY=m();r.setWidthAndHeight=m();r.isWidthSizedToContent=m();r.isHeightSizedToContent=m();r.g={names:[{name:'ILayoutChild',h:Qa,kind:g}],i:[Td,Ud]};function Wd(){}Wd.prototype.g={names:[{name:'IId',h:Oa,kind:g}]};function Xd(){}r=Xd.prototype;r.addElement=m();r.addElementAt=m();r.getElementIndex=m();r.removeElement=m();r.getElementAt=m();r.g={names:[{name:'IParent',h:Wa,kind:g}]};function Yd(){}Yd.prototype.g={names:[{name:'IParentIUIBase',h:Xa,kind:g}],i:[Xd,Ud]};function O(){E.call(this);this.createElement()}v(O,J);r=O.prototype;r.setHeight=function(a,b){this._height!==a&&(this._height=a,this.positioner.style.height=a.toString()+k,'undefined'!==typeof b&&b||this.dispatchEvent(oa))};r.setWidth=function(a,b){this._width!==a&&(this._width=a,this.positioner.style.width=a.toString()+k,'undefined'!==typeof b&&b||this.dispatchEvent(Ub))};
r.setWidthAndHeight=function(a,b,c){c='undefined'!==typeof c?c:!1;var d=this._width!==a,f=this._height!==b;d&&(this._width=a,this.positioner.style.width=a.toString()+k,c||f||this.dispatchEvent(Ub));f&&(this._height=b,this.positioner.style.height=b.toString()+k,c||d||this.dispatchEvent(oa));d&&f&&this.dispatchEvent(Qb)};
r.isWidthSizedToContent=function(){if(!isNaN(this._explicitWidth)||!isNaN(this._percentWidth))return!1;var a=K.valuesImpl.getValue(this,'left'),b=K.valuesImpl.getValue(this,'right');return void 0===a||void 0===b};r.isHeightSizedToContent=function(){if(!isNaN(this._explicitHeight)||!isNaN(this._percentHeight))return!1;var a=K.valuesImpl.getValue(this,'top'),b=K.valuesImpl.getValue(this,'bottom');return void 0===a||void 0===b};
r.setX=function(a){this.positioner.parentNode!=this.positioner.offsetParent&&(a+=this.positioner.parentNode.offsetLeft);this.positioner.style.left=a.toString()+k};r.setY=function(a){this.positioner.parentNode!=this.positioner.offsetParent&&(a+=this.positioner.parentNode.offsetTop);this.positioner.style.top=a.toString()+k};r.setDisplayStyleForLayout=function(a){this.displayStyleForLayout=a;'none'!==this.positioner.style.display&&(this.positioner.style.display=a)};r.internalChildren=function(){return this.element.childNodes};
r.typeNames='';O.prototype.typeNames=O.prototype.typeNames;r=O.prototype;r.getParentEventTarget=function(){return x.as(this.parent,E)};r.addBead=function(a){O.v.addBead.apply(this,[a]);if(this._model!==a&&x.is(a,Zd)){this.T=a;var b=!0}b&&this.dispatchEvent(Tb)};r.addElement=function(a){this.element.appendChild(a.positioner);a.addedToParent()};r.addElementAt=function(a,b){var c=this.element.childNodes;b>=c.length?this.element.appendChild(a.positioner):this.element.insertBefore(a.positioner,c[b]);a.addedToParent()};
r.getElementAt=function(a){var b=this.element.childNodes;return 0==b.length?null:b[a].royale_wrapper};r.getElementIndex=function(a){for(var b=this.element.childNodes,c=b.length>>0,d=0;d<c;d++)if(b[d]===a.positioner)return d;return-1};r.removeElement=function(a){this.element.removeChild(a.positioner)};
r.addedToParent=function(){if(!this.rc){this.rc=!0;var a=(this.L?this.L+' '+this.typeNames:this.typeNames).trim();a&&(this.element.className=a);this.style&&K.valuesImpl.applyStyles(this,this.style);isNaN(this._explicitWidth)&&isNaN(this._percentWidth)&&(a=K.valuesImpl.getValue(this,'width'),void 0!==a&&(x.is(a,String)?(a=String(a),-1<a.indexOf('%')?this._percentWidth=Number(a.substring(0,a.length-1)):(-1!==a.indexOf(k)&&(a=a.substring(0,a.length-2)),this._width=this._explicitWidth=Number(a))):this._width=
this._explicitWidth=a));isNaN(this._explicitHeight)&&isNaN(this._percentHeight)&&(a=K.valuesImpl.getValue(this,'height'),void 0!==a&&(x.is(a,String)?(a=String(a),-1!==a.indexOf('%')?this._percentHeight=Number(a.substring(0,a.length-1)):(-1!==a.indexOf(k)&&(a=a.substring(0,a.length-2)),this._height=this._explicitHeight=Number(a))):this._height=this._explicitHeight=a));a=this.beads;for(var b in a)this.addBead(a[b]);$d(Ld,'iBeadModel',this);$d(Zd,'iBeadView',this);$d(ae,'iBeadController',this);this.dispatchEvent('beadsAdded')}};
r.createElement=function(){be(this,'div');this.positioner.style.display='block';return this.element};r.Nb=function(){return this};r.$c=m();r.Y=q('_explicitWidth');r.ra=function(a){this._explicitWidth!=a&&(isNaN(a)||(this._percentWidth=NaN),this._explicitWidth=a,this.dispatchEvent(ka))};r.X=q('_explicitHeight');r.qa=function(a){this._explicitHeight!=a&&(isNaN(a)||(this._percentHeight=NaN),this._explicitHeight=a,this.dispatchEvent(ja))};r.ca=q('_percentWidth');
r.va=function(a){this._percentWidth=a;this.positioner.style.width=a.toString()+'%';isNaN(a)||(this._explicitWidth=NaN);this.dispatchEvent(Ob)};r.ba=q('_percentHeight');r.ua=function(a){this._percentHeight=a;this.positioner.style.height=a.toString()+'%';isNaN(a)||(this._explicitHeight=NaN);this.dispatchEvent(Nb)};
r.O=function(){if(!isNaN(this._width))return this._width;if(!isNaN(this._explicitWidth))return this._explicitWidth;var a=this.element.style.width;a=null==a?NaN:N.toNumber(a,NaN);isNaN(a)&&(a=this.positioner.offsetWidth,0==a&&0!=this.positioner.scrollWidth&&(a=this.positioner.scrollWidth));return a};r.R=function(a){this.explicitWidth!==a&&(this.explicitWidth=a);this.setWidth(a)};
r.Z=function(){if(!isNaN(this._height))return this._height;if(!isNaN(this._explicitHeight))return this._explicitHeight;var a=this.element.style.height;a=null==a?NaN:N.toNumber(a,NaN);isNaN(a)&&(a=this.positioner.offsetHeight,0==a&&0!=this.positioner.scrollHeight&&(a=this.positioner.scrollHeight));return a};r.sa=function(a){this.explicitHeight!==a&&(this.explicitHeight=a);this.setHeight(a)};
r.fc=function(){if(!isNaN(this._x))return this._x;var a=parseFloat(this.positioner.style.left);isNaN(a)&&(a=this.positioner.offsetLeft,this.positioner.parentNode!=this.positioner.offsetParent&&(a-=this.positioner.parentNode.offsetLeft));return a};r.hd=function(a){this._x=a;this.setX(a)};
r.gc=function(){if(!isNaN(this._y))return this._y;var a=parseFloat(this.positioner.style.top);isNaN(a)&&(a=this.positioner.offsetTop,this.positioner.parentNode!=this.positioner.offsetParent&&(a-=this.positioner.parentNode.offsetTop));return a};r.jd=function(a){this._y=a;this.setY(a)};r.ec=function(){return'none'!==this.positioner.style.display};
r.gd=function(a){!!a!==('none'!==this.positioner.style.display)&&(a?(null!=this.displayStyleForLayout&&(this.positioner.style.display=this.displayStyleForLayout),this.dispatchEvent('show')):(this.displayStyleForLayout=this.positioner.style.display,this.positioner.style.display='none',this.dispatchEvent('hide')),this.dispatchEvent('visibleChanged'))};r.dc=function(){this.T||(this.T=$d(Zd,'iBeadView',this));return this.T};r.fd=function(a){this.T!=a&&(this.addBead(a),this.dispatchEvent(Tb))};r.tb=q('la');
r.Tc=function(a){this.la!==a&&(this.la=a,this.dispatchEvent('idChanged'));this.element.id=this.la};r.fa=q('I');r.wa=function(a){this.I!==a&&(x.is(a,String)?this.I=K.valuesImpl.parseStyles(a):this.I=a,isNaN(this._y)||(this.I.top=this._y),isNaN(this._x)||(this.I.left=this._x),this.parent&&K.valuesImpl.applyStyles(this,this.I),this.dispatchEvent('stylesChanged'),a=x.as(this.I,ce))&&(a.object=this)};r.eb=q('L');
r.Nc=function(a){this.L!==a&&(this.L=a,this.parent&&(this.element.className=this.L?this.L+' '+this.typeNames:this.typeNames),this.dispatchEvent('classNameChanged'))};r.aa=function(){return this.element.childNodes.length>>0};r.Cb=function(){this.Ia||(this.Ia=$d(de,'iMeasurementBead',this));return this.Ia};r.$b=function(){return document.body.royale_wrapper};r.Jb=q('element');r.Yc=n('element');r.Ua=function(){return parseFloat(this.positioner.style.opacity)};
r.Hc=function(a){this.positioner.style.opacity=a};r.Hb=function(){var a=this.positioner.parentNode;return a?a.royale_wrapper:null};r.ac=q('element');
Object.defineProperties(O.prototype,{royale_wrapper:{get:O.prototype.Nb,set:O.prototype.$c},explicitWidth:{get:O.prototype.Y,set:O.prototype.ra},explicitHeight:{get:O.prototype.X,set:O.prototype.qa},percentWidth:{get:O.prototype.ca,set:O.prototype.va},percentHeight:{get:O.prototype.ba,set:O.prototype.ua},width:{get:O.prototype.O,set:O.prototype.R},height:{get:O.prototype.Z,set:O.prototype.sa},x:{get:O.prototype.fc,set:O.prototype.hd},y:{get:O.prototype.gc,set:O.prototype.jd},visible:{get:O.prototype.ec,
set:O.prototype.gd},view:{get:O.prototype.dc,set:O.prototype.fd},id:{get:O.prototype.tb,set:O.prototype.Tc},style:{get:O.prototype.fa,set:O.prototype.wa},className:{get:O.prototype.eb,set:O.prototype.Nc},numElements:{get:O.prototype.aa},measurementBead:{get:O.prototype.Cb},topMostEventDispatcher:{get:O.prototype.$b},positioner:{get:O.prototype.Jb,set:O.prototype.Yc},alpha:{get:O.prototype.Ua,set:O.prototype.Hc},parent:{get:O.prototype.Hb},transformElement:{get:O.prototype.ac}});
O.prototype.g={names:[{name:'UIBase',h:nb,kind:e}],i:[Rd,D,Yd,Pd,Vd,Od,Wd]};function ee(){}ee.prototype.cloneEvent=m();ee.prototype.g={names:[{name:'IRoyaleEvent',h:Cb,kind:g}]};function F(a,b,c){b='undefined'!==typeof b?b:!1;c='undefined'!==typeof c?c:!1;zc.call(this,a);this.bubbles=b;this.cancelable=c}v(F,zc);F.CHANGE='change';u('org.apache.royale.events.Event.CHANGE',F.CHANGE);F.COMPLETE='complete';u('org.apache.royale.events.Event.COMPLETE',F.COMPLETE);F.SELECT='select';u('org.apache.royale.events.Event.SELECT',F.SELECT);F.OPEN='open';u('org.apache.royale.events.Event.OPEN',F.OPEN);r=F.prototype;r.stopImmediatePropagation=function(){this.Ec=!0};
r.cloneEvent=function(){return new F(this.type,this.bubbles,this.cancelable)};r.isDefaultPrevented=q('defaultPrevented');r.isSameTarget=function(a){return a===this.target||x.is(this.target,Od)&&this.target.royale_wrapper===a?!0:!1};r.ub=q('Ec');Object.defineProperties(F.prototype,{immediatePropogationStopped:{get:F.prototype.ub}});F.prototype.g={names:[{name:'Event',h:yb,kind:e}],i:[ee]};function fe(a){if(a){if(a.royale_wrapper)return a.royale_wrapper;if(a.parentNode&&a.parentNode.royale_wrapper)return a.parentNode.royale_wrapper}return a};function L(){}L.prototype.g={names:[{name:'IBead',h:Ca,kind:g}]};function ge(){}ge.prototype.g={names:[{name:'IStatesImpl',h:cb,kind:g}],i:[D,L]};function ce(){}ce.prototype.g={names:[{name:'IStyleObject',h:hb,kind:g}]};function he(){}he.prototype.layout=m();he.prototype.g={names:[{name:'IBeadLayout',h:Ea,kind:g}],i:[L]};function ie(){}ie.prototype.listenOnStrand=function(a,b){this._strand.addEventListener(a,b,!1)};ie.prototype.F=n('_strand');Object.defineProperties(ie.prototype,{strand:{set:ie.prototype.F}});ie.prototype.g={names:[{name:'Bead',h:va,kind:e}],i:[L]};function je(){}v(je,ie);r=je.prototype;r.Ha=-1;r.Ga=-1;r.handleSizeChange=function(){if(this.host.width!=this.Ha||this.host.height!=this.Ga)this.performLayout(),this.Ha=this.host.width,this.Ga=this.host.height};r.handleChildrenAdded=function(){this.pc&&this.performLayout()};r.handleLayoutNeeded=function(){this.performLayout()};r.handleInitComplete=function(){this.pc=!0;this.performLayout()};r.isLayoutRunning=!1;
r.performLayout=function(){this.isLayoutRunning||(this.isLayoutRunning=!0,this.host.getLayoutHost().beforeLayout()&&this.layout(),this.isLayoutRunning=!1,this._strand.dispatchEvent('layoutComplete'))};r.layout=Vb(!1);
r.F=function(a){this.host=this._strand=a;this.listenOnStrand(Ub,x.o(this.handleSizeChange,this,na));this.listenOnStrand(oa,x.o(this.handleSizeChange,this,na));this.listenOnStrand(Qb,x.o(this.handleSizeChange,this,na));this.listenOnStrand(ha,x.o(this.handleChildrenAdded,this,'handleChildrenAdded'));this.listenOnStrand(qa,x.o(this.handleInitComplete,this,ma));this.listenOnStrand('layoutNeeded',x.o(this.handleLayoutNeeded,this,'handleLayoutNeeded'))};r.xb=function(){return this.host.getLayoutHost().contentView};
Object.defineProperties(je.prototype,{strand:{set:je.prototype.F},layoutView:{get:je.prototype.xb}});je.prototype.g={names:[{name:'LayoutBase',h:lb,kind:e}],i:[he]};function ke(){}v(ke,je);ke.prototype.layout=function(){var a,b=this.layoutView;var c=b.numElements;'absolute'!=b.element.style.position&&'relative'!=b.element.style.position&&(b.element.style.position='relative');for(a=0;a<c;a++)b.getElementAt(a).positioner.style.position='absolute';return!0};ke.prototype.g={names:[{name:'BasicLayout',h:Ib,kind:e}],i:[he]};function le(){}le.prototype.g={names:[{name:'IStatesObject',h:db,kind:g}],i:[D]};function me(){}me.prototype.g={names:[{name:'IApplicationView',h:Ba,kind:g}],i:[Ud,le]};function ne(a){E.call(this,'undefined'!==typeof a?a:null)}v(ne,E);ne.prototype.listenOnStrand=function(a,b){this._strand.addEventListener(a,b,!1)};ne.prototype.F=n('_strand');Object.defineProperties(ne.prototype,{strand:{set:ne.prototype.F}});ne.prototype.g={names:[{name:'DispatcherBead',h:xa,kind:e}],i:[L]};function Zd(){}Zd.prototype.g={names:[{name:'IBeadView',h:Ga,kind:g}],i:[L]};function oe(){ne.call(this)}v(oe,ne);oe.prototype.rb=q('_strand');Object.defineProperties(oe.prototype,{host:{get:oe.prototype.rb}});oe.prototype.g={names:[{name:'BeadViewBase',h:wa,kind:e}],i:[Zd]};function Md(a){return a.element.style};function pe(){}pe.prototype.setMXMLDescriptor=m();pe.prototype.generateMXMLAttributes=m();pe.prototype.g={names:[{name:'IMXMLDocument',h:Ua,kind:g}]};function qe(){}qe.prototype.g={names:[{name:'IPopUpHost',h:Ya,kind:g}]};function re(){}re.prototype.g={names:[{name:'IPopUpHostParent',h:Za,kind:g}],i:[Xd]};function se(){}se.prototype.getElementAt=m();se.prototype.g={names:[{name:'ILayoutView',h:Ta,kind:g}]};function te(){}te.prototype.g={names:[{name:'IContentViewHost',h:La,kind:g}],i:[Xd]};function ue(){}ue.prototype.childrenAdded=m();ue.prototype.g={names:[{name:'IContainer',h:Ka,kind:g}],i:[Xd]};function ve(){}ve.prototype.getLayoutHost=m();ve.prototype.g={names:[{name:'ILayoutParent',h:Sa,kind:g}]};function P(){O.call(this)}v(P,O);r=P.prototype;r.createElement=function(){return be(this,'div')};r.addedToParent=function(){P.v.addedToParent.apply(this);$d(he,'iBeadLayout',this)};r.childrenAdded=function(){we(this,new xe(ha))};r.layoutNeeded=function(){this.dispatchEvent('layoutNeeded')};r.getLayoutHost=q('view');r.hasState=function(a){var b=this.ja,c;for(c in b)if(b[c].name==a)return!0;return!1};
r.addElement=function(a,b){b='undefined'!==typeof b?b:!0;P.v.addElement.apply(this,[a,b]);b&&we(this,new xe(ha,a))};r.addElementAt=function(a,b,c){c='undefined'!==typeof c?c:!0;P.v.addElementAt.apply(this,[a,b,c]);c&&we(this,new xe(ha,a))};r.removeElement=function(a,b){b='undefined'!==typeof b?b:!0;P.v.removeElement.apply(this,[a,b]);b&&we(this,new xe('childrenRemoved',a))};r.Vb=function(){return this};r.Ub=q('ja');r.ad=function(a){this.ja=a;this.S=x.j(this.ja[0].name);try{$d(ge,'iStatesImpl',this)}catch(b){}};
r.nb=q('S');r.Qc=function(a){if(a!=this.S){var b=new Q('currentStateChange',!1,!1,this.S,a);this.S=a;this.dispatchEvent(b)}};r.bc=q('oc');r.dd=n('oc');Object.defineProperties(P.prototype,{strandChildren:{get:P.prototype.Vb},states:{get:P.prototype.Ub,set:P.prototype.ad},currentState:{get:P.prototype.nb,set:P.prototype.Qc},transitions:{get:P.prototype.bc,set:P.prototype.dd}});P.prototype.g={names:[{name:'GroupBase',h:za,kind:e}],i:[le,ue,ve,se,te]};function R(){O.call(this);this.typeNames='royale'}v(R,P);R.prototype.Wa=q('sc');R.prototype.Ic=function(a){this.sc=a;this.dispatchEvent('modelChanged')};R.prototype.ea=function(){return this};R.prototype.da=function(){return this};Object.defineProperties(R.prototype,{applicationModel:{get:R.prototype.Wa,set:R.prototype.Ic},popUpParent:{get:R.prototype.ea},popUpHost:{get:R.prototype.da}});R.prototype.g={names:[{name:'ViewBase',h:qb,kind:e}],i:[qe,re,me]};function S(){this.Ka=this;R.call(this)}v(S,R);S.prototype.addedToParent=function(){this.Ja||K.valuesImpl.init(this);S.v.addedToParent.apply(this);this.Ja||(T.generateMXMLInstances(this.Ka,this,this.MXMLDescriptor),this.dispatchEvent('initBindings'),this.dispatchEvent(qa),this.Ja=!0)};S.prototype.setMXMLDescriptor=function(a,b){this.Ka=a;this.tc=b};S.prototype.generateMXMLAttributes=function(a){T.generateMXMLProperties(this,a)};S.prototype.W=q('tc');Object.defineProperties(S.prototype,{MXMLDescriptor:{get:S.prototype.W}});
S.prototype.g={names:[{name:'View',h:pb,kind:e}],i:[pe]};function xe(a,b,c,d){b='undefined'!==typeof b?b:null;F.call(this,a,'undefined'!==typeof c?c:!1,'undefined'!==typeof d?d:!1);this.value=b}v(xe,F);xe.prototype.cloneEvent=function(){return new xe(this.type,this.value,this.bubbles,this.cancelable)};xe.prototype.g={names:[{name:'ValueEvent',h:Eb,kind:e}]};function ye(){}ye.pad=function(a,b,c,d){a=a?a:'';c=c+1-(a.length>>0);b=Array(c).join(b);return'undefined'!==typeof d&&d?a+b:b+a};ye.prototype.g={names:[{name:'StringPadder',h:Lb,kind:e}]};function ae(){}ae.prototype.g={names:[{name:'IBeadController',h:Da,kind:g}],i:[L]};function ze(){}ze.prototype.beforeLayout=m();ze.prototype.afterLayout=m();ze.prototype.g={names:[{name:'ILayoutHost',h:Ra,kind:g}]};function U(){ne.call(this)}v(U,oe);r=U.prototype;r.handleInitComplete=function(){var a=this.host;!a.isHeightSizedToContent()&&isNaN(a.explicitHeight)&&isNaN(a.percentHeight)||!a.isWidthSizedToContent()&&isNaN(a.explicitWidth)&&isNaN(a.percentWidth)?(this.host.addEventListener(Qb,x.o(this.deferredSizeHandler,this,ia)),this.host.addEventListener(Ub,x.o(this.deferredSizeHandler,this,ia)),this.host.addEventListener(oa,x.o(this.deferredSizeHandler,this,ia))):Ae(this)};
r.deferredSizeHandler=function(){this.host.removeEventListener(Qb,x.o(this.deferredSizeHandler,this,ia));this.host.removeEventListener(Ub,x.o(this.deferredSizeHandler,this,ia));this.host.removeEventListener(oa,x.o(this.deferredSizeHandler,this,ia));Ae(this)};function Ae(a){a.host.addEventListener(Qb,x.o(a.resizeHandler,a,Pb));a.host.addEventListener(Ub,x.o(a.resizeHandler,a,Pb));a.host.addEventListener(oa,x.o(a.resizeHandler,a,Pb))}r.resizeHandler=m();r.beforeLayout=Vb(!0);r.performLayout=m();
r.afterLayout=m();r.jb=q('host');r.Lb=q('host');r.F=function(a){U.v.F.apply(this,[a]);this.host.addEventListener(qa,x.o(this.handleInitComplete,this,ma))};Object.defineProperties(U.prototype,{contentView:{get:U.prototype.jb},resizableView:{get:U.prototype.Lb},strand:{set:U.prototype.F}});U.prototype.g={names:[{name:'GroupView',h:Hb,kind:e}],i:[Zd,ze]};function Be(){}Be.prototype.g={names:[{name:'IDocument',h:Ma,kind:g}]};function Ce(){O.call(this);this.typeNames='Label'}v(Ce,O);r=Ce.prototype;r.na='';r.createElement=function(){be(this,'span');this.textNode=document.createTextNode(this.na);this.element.appendChild(this.textNode);this.element.style.whiteSpace='nowrap';return this.element};r.Xb=q('na');r.bd=function(a){this.textNode&&(this.na=a=null!=a?a+'':'',this.textNode.nodeValue=a,this.dispatchEvent('textChange'))};r.sb=function(){return this.element.innerHTML};r.Sc=function(a){this.element.innerHTML=a;this.dispatchEvent('textChange')};
Object.defineProperties(Ce.prototype,{text:{get:Ce.prototype.Xb,set:Ce.prototype.bd},html:{get:Ce.prototype.sb,set:Ce.prototype.Sc}});Ce.prototype.g={names:[{name:'Label',h:Gb,kind:e}]};function V(){}r=V.prototype;r.La=0;r.fa=q('Cc');r.wa=n('Cc');r.hb=q('La');r.Oc=n('La');r.O=q('Dc');r.R=n('Dc');Object.defineProperties(V.prototype,{style:{get:V.prototype.fa,set:V.prototype.wa},color:{get:V.prototype.hb,set:V.prototype.Oc},width:{get:V.prototype.O,set:V.prototype.R}});V.prototype.g={names:[{name:'BorderStyles',h:vb,kind:e}]};function Jd(){}Jd.elementEvents={click:1,dblclick:1,change:1,keyup:1,keydown:1,load:1,mouseover:1,mouseout:1,mouseup:1,mousedown:1,mousemove:1,rollover:1,rollout:1,wheel:1};u('org.apache.royale.events.ElementEvents.elementEvents',Jd.elementEvents);Jd.prototype.g={names:[{name:'ElementEvents',h:xb,kind:e}]};function Kd(){}Kd.createEvent=function(a,b,c){b='undefined'!==typeof b?b:!1;c='undefined'!==typeof c?c:!1;var d=null;try{return d=new Event(a,De(b,c))}catch(f){}d||(d=document.createEvent('Event'),d.initEvent(a,b,c));return d};Kd.prototype.g={names:[{name:'EventUtils',h:Fb,kind:e}]};function $d(a,b,c){a=c.getBeadByType(a);!a&&(b=K.valuesImpl.getValue(c,b))&&(a=new b,c.addBead(a));return a};function Ee(){}r=Ee.prototype;r.Ya=q('yc');r.Kc=n('yc');r.Gb=q('Ac');r.Xc=n('Ac');r.Bb=q('zc');r.Wc=n('zc');Object.defineProperties(Ee.prototype,{border:{get:Ee.prototype.Ya,set:Ee.prototype.Kc},padding:{get:Ee.prototype.Gb,set:Ee.prototype.Xc},margins:{get:Ee.prototype.Bb,set:Ee.prototype.Wc}});Ee.prototype.g={names:[{name:'LayoutData',h:tb,kind:e}]};function N(){}N.attributeFromColor=function(a){var b=a.toString(16);if(16777215<a){a=b.match(/.{2}/g);for(b=0;4>b;b++)a[b]=parseInt(a[b],16);a[3]=parseInt(''+a[3]/255*1E3,10)/1E3;return'rgba('+a.join(',')+')'}return'#'+ye.pad(b,'0',6)};N.toNumber=function(a,b){if(''===a)return NaN;var c=a.indexOf(k)>>0;if(-1<c)return Number(a.substr(0,c));c=a.indexOf('%')>>0;return-1<c?Number(a.substr(0,c))*('undefined'!==typeof b?b:0)/100:Number(a)};
N.toColor=function(a){return(N.toColorWithAlpha(a)&16777215)>>>0};
N.toColorWithAlpha=function(a){if(!x.is(a,String))return(x.s(a)|4278190080)>>>0;var b=a;if('transparent'===b)return 4294967295;if('#'===b.charAt(0))return 4===b.length?x.s('0x'+b.charAt(1)+b.charAt(1)+b.charAt(2)+b.charAt(2)+b.charAt(3)+b.charAt(3)):7===b.length?x.s('0xFF'+b.substr(1)):x.s('0x'+b.substr(1));if(-1!==(a=b.indexOf('rgb(')>>0)){var c=b.indexOf(')')>>0;b=b.substring(a+4,c);a=b.split(',');return 4278190080+(x.s(a[0])<<16)+(x.s(a[1])<<8)+x.s(a[2])>>>0}return-1!==(a=b.indexOf('rgba(')>>0)?
(c=b.indexOf(')')>>0,b=b.substring(a+5,c),a=b.split(','),a[3]*=255,(x.s(a[3])<<24)+(x.s(a[0])<<16)+(x.s(a[1])<<8)+x.s(a[2])>>>0):N.colorMap.hasOwnProperty(b)?N.colorMap[b]>>>0:x.s(b)};N.getTopValue=function(a,b,c){c='undefined'!==typeof c?c:NaN;return N.getSideValue(a,b,0,c)};N.getRightValue=function(a,b,c){c='undefined'!==typeof c?c:NaN;return N.getSideValue(a,b,1,c)};N.getBottomValue=function(a,b,c){c='undefined'!==typeof c?c:NaN;return N.getSideValue(a,b,2,c)};
N.getLeftValue=function(a,b,c){c='undefined'!==typeof c?c:NaN;return N.getSideValue(a,b,3,c)};N.getSideValue=function(a,b,c,d){d='undefined'!==typeof d?d:NaN;if(x.is(a,Number))return a;if(x.is(b,Number))return b;if(null!=a)return N.toNumber(a,d);if(null==b)return 0;if(x.is(b,Array)){a=c;c=b.length>>0;switch(a){case 2:a=(2===c?0:2)>>0;break;case 3:a=(3>c?1:3)>>0}a=b[a];return x.is(a,String)?N.toNumber(a,d):a}return N.toNumber(b,d)};
N.colorMap={Id:0,Jd:4294967295,Fd:4290822336,vd:4286611584,td:4278190080,red:4294901760,yd:4286578688,Kd:4294967040,Ad:4286611456,xd:4278255360,green:4278222848,qd:4278255615,Hd:4278222976,blue:4278190335,zd:4278190208,ud:4294902015,Cd:4286578816};u('org.apache.royale.utils.CSSUtils.colorMap',N.colorMap);N.prototype.g={names:[{name:'CSSUtils',h:Jb,kind:e}]};function Fe(){HTMLElement.call(this)}v(Fe,HTMLElement);Fe.prototype.g={names:[{name:'WrappedHTMLElement',h:rb,kind:e}],i:[Od]};function Q(a,b,c,d,f){d='undefined'!==typeof d?d:null;f='undefined'!==typeof f?f:null;F.call(this,a,'undefined'!==typeof b?b:!1,'undefined'!==typeof c?c:!1);this.oldValue=d;this.newValue=f}v(Q,F);Q.VALUE_CHANGE=Sb;u('org.apache.royale.events.ValueChangeEvent.VALUE_CHANGE',Q.VALUE_CHANGE);Q.createUpdateEvent=function(a,b,c,d){c=new Q(Sb,!1,!1,c,d);c.propertyName=b;c.source=a;return c};Q.prototype.cloneEvent=function(){return new Q(this.type,this.bubbles,this.cancelable,this.oldValue,this.newValue)};
Q.prototype.g={names:[{name:'ValueChangeEvent',h:Db,kind:e}]};function Ge(){}r=Ge.prototype;r.getValue=m();r.newInstance=m();r.getInstance=m();r.init=m();r.convertColor=m();r.parseStyles=m();r.addRule=m();r.applyStyles=m();r.g={names:[{name:'IValuesImpl',h:kb,kind:g}]};function be(a,b){b=document.createElement(b);return a.element=b};function De(a,b){return{bubbles:'undefined'!==typeof a?a:!1,cancelable:'undefined'!==typeof b?b:!1}};function K(){}var He;Object.defineProperties(K,{valuesImpl:{get:function(){return He},set:function(a){He=a}}});K.prototype.g={names:[{name:'ValuesManager',h:ob,kind:e}]};function Ie(){}Ie.prototype.g={names:[{name:'ICSSImpl',h:Ia,kind:g}]};function de(){}de.prototype.g={names:[{name:'IMeasurementBead',h:Va,kind:g}],i:[L]};function W(){}r=W.prototype;r.yb=q('vc');r.Vc=n('vc');r.Zb=q('xc');r.cd=n('xc');r.Mb=q('wc');r.Zc=n('wc');r.Za=q('uc');r.Lc=n('uc');Object.defineProperties(W.prototype,{left:{get:W.prototype.yb,set:W.prototype.Vc},top:{get:W.prototype.Zb,set:W.prototype.cd},right:{get:W.prototype.Mb,set:W.prototype.Zc},bottom:{get:W.prototype.Za,set:W.prototype.Lc}});W.prototype.g={names:[{name:'EdgeData',h:sb,kind:e}]};function Je(){}v(Je,W);Je.prototype.Xa=q('Bc');Je.prototype.Jc=n('Bc');Object.defineProperties(Je.prototype,{auto:{get:Je.prototype.Xa,set:Je.prototype.Jc}});Je.prototype.g={names:[{name:'MarginData',h:ub,kind:e}]};function Ke(a,b){if(''!=a&&null!=a){a=a.split(b);b=a.length>>0;for(var c=0;c<b;c++)a[c]=Le(x.j(a[c]));return a}return[]};function Me(){}r=Me.prototype;r.getBorderStyles=m();r.getBorderMetrics=m();r.getPaddingMetrics=m();r.getBorderAndPaddingMetrics=m();r.getMargins=m();r.getPositions=m();r.getBorderPaddingAndMargins=m();r.g={names:[{name:'IBorderPaddingMarginValuesImpl',h:Ha,kind:g}],i:[Ge]};function Ne(){}Ne.prototype.wrapEvent=m();Ne.prototype.g={names:[{name:'IBrowserEvent',h:Ab,kind:g}]};function I(){}r=I.prototype;r.wrapEvent=function(a){this.m=a;this.nativeEvent=a.getBrowserEvent()};r.getBrowserEvent=function(){return this.m.getBrowserEvent()};r.isButton=function(a){return!!this.m.isButton(a)};r.isMouseActionButton=function(){return!!this.m.isMouseActionButton()};r.preventDefault=function(){this.m.preventDefault()};r.stopImmediatePropagation=function(){this.m.getBrowserEvent().stopImmediatePropagation();this.m.stopPropagation()};r.stopPropagation=function(){this.m.stopPropagation()};
r.ma=-1;r.Va=function(){return!!this.m.altKey};r.$a=function(){return this.m.button>>>0};r.cb=function(){return this.m.charCode>>>0};r.fb=function(){return Number(this.m.clientX)};r.zb=q('clientX');r.gb=function(){return Number(this.m.clientY)};r.Ab=q('clientY');r.lb=function(){return!!this.m.ctrlKey};r.ob=function(){return fe(this.m.currentTarget)};r.pb=function(){return!!this.m.defaultPrevented};r.wb=function(){return this.m.keyCode>>>0};r.Db=function(){return!!this.m.metaKey};r.Eb=function(){return Number(this.m.offsetX)};
r.Fb=function(){return Number(this.m.offsetY)};r.Ib=q('platformModifierKey');r.Kb=function(){return fe(this.m.relatedTarget)};r.Pb=function(){return Number(this.m.screenX)};r.Qb=function(){return Number(this.m.screenY)};r.Rb=function(){return!!this.m.shiftKey};r.Tb=function(){return this.m.state};r.Wb=function(){return fe(this.m.target)};r.Yb=function(){return this.m.timestamp};r.cc=function(){return x.j(this.m.type)};
r.ab=function(){if(-1<this.ma)return 1==this.ma;var a=this.m.getBrowserEvent();return'buttons'in a?1==a.buttons:1==a.which};r.Mc=function(a){this.ma=(a?1:0)>>0};r.bb=function(){return this.m.getBrowserEvent().buttons>>0};
Object.defineProperties(I.prototype,{altKey:{get:I.prototype.Va},button:{get:I.prototype.$a},charCode:{get:I.prototype.cb},clientX:{get:I.prototype.fb},localX:{get:I.prototype.zb},clientY:{get:I.prototype.gb},localY:{get:I.prototype.Ab},ctrlKey:{get:I.prototype.lb},currentTarget:{get:I.prototype.ob},defaultPrevented:{get:I.prototype.pb},keyCode:{get:I.prototype.wb},metaKey:{get:I.prototype.Db},offsetX:{get:I.prototype.Eb},offsetY:{get:I.prototype.Fb},platformModifierKey:{get:I.prototype.Ib},relatedTarget:{get:I.prototype.Kb},
screenX:{get:I.prototype.Pb},screenY:{get:I.prototype.Qb},shiftKey:{get:I.prototype.Rb},state:{get:I.prototype.Tb},target:{get:I.prototype.Wb},timestamp:{get:I.prototype.Yb},type:{get:I.prototype.cc},buttonDown:{get:I.prototype.ab,set:I.prototype.Mc},buttons:{get:I.prototype.bb}});I.prototype.g={names:[{name:'BrowserEvent',h:wb,kind:e}],i:[Ne]};function X(a,b){E.call(this);this.delay=a;this.repeatCount='undefined'!==typeof b?b:0}v(X,E);X.TIMER='timer';u('org.apache.royale.utils.Timer.TIMER',X.TIMER);X.prototype.repeatCount=0;X.prototype.repeatCount=X.prototype.repeatCount;r=X.prototype;r.oa=0;r.J=-1;r.reset=function(){this.stop();this.oa=0};r.stop=function(){-1!=this.J&&(clearInterval(this.J),this.J=-1)};r.start=function(){-1==this.J&&(this.J=setInterval(x.o(this.Fc,this,'org_apache_royale_utils_Timer_timerHandler'),this.delay)>>0)};
r.Fc=function(){-1!=this.J&&(this.oa++,0<this.repeatCount&&this.currentCount>=this.repeatCount&&this.stop(),this.dispatchEvent(new F('timer')))};r.Ob=function(){return-1!=this.J};r.mb=q('oa');Object.defineProperties(X.prototype,{running:{get:X.prototype.Ob},currentCount:{get:X.prototype.mb}});X.prototype.g={names:[{name:'Timer',h:Mb,kind:e}]};function T(){}T.generateMXMLObject=function(a,b){var c,d=0,f=new b[d++];if(x.is(f,C))Oe(a,null,f,b,d);else{var h;var l=b[d++]>>0;for(c=0;c<l;c++){var p=x.j(b[d++]);var t=b[d++];var H=b[d++];null==t?H=T.generateMXMLArray(a,null,H):0==t&&(H=T.generateMXMLObject(a,H));'id'==p&&(h=H);if('document'!=p||f.document)if('_id'==p)h=H;else if('id'==p)try{f.id=H}catch(z){}else f[p]=H;else f.document=a}h&&(a[h]=f);x.is(f,Be)}return f};
T.generateMXMLArray=function(a,b,c){for(var d=[],f=c.length>>0,h=0;h<f;){var l=new c[h++];h=Oe(a,b,l,c,h);d.push(l)}return d};
function Oe(a,b,c,d,f){var h,l=null;var p=d[f++]>>0;if(0<p&&'model'==d[0]){p--;var t=x.j(d[f++]);var H=d[f++];var z=d[f++];null==H?z=T.generateMXMLArray(a,b,z):0==H&&(z=T.generateMXMLObject(a,z));c[t]=z;x.is(z,L)&&x.is(c,C)&&c.addBead(z)}var rc=f+3*(p-1)>>0;0<p&&'beads'==d[rc]?p--:rc=-1;for(h=0;h<p;h++)if(t=x.j(d[f++]),H=d[f++],z=d[f++],null==H?z=T.generateMXMLArray(a,null,z):0==H&&(z=T.generateMXMLObject(a,z)),'id'==t&&(l=z),'document'!=t||c.document)if('_id'==t)l=z;else if('id'==t)try{c.id=z}catch(Xe){}else c[t]=
z;else c.document=a;-1<rc&&(t=x.j(d[f++]),H=d[f++],z=d[f++],null==H?z=T.generateMXMLArray(a,null,z):0==H&&(z=T.generateMXMLObject(a,z)),c[t]=z);p=d[f++]>>0;for(h=0;h<p;h++)t=x.j(d[f++]),H=d[f++],z=d[f++],null==H?z=T.generateMXMLArray(a,null,z):0==H&&(z=T.generateMXMLObject(a,z)),c.Ed(t,z);p=d[f++]>>0;for(h=0;h<p;h++)t=x.j(d[f++]),z=d[f++],c.addEventListener(t,hc(z,a));l&&(a[l]=c);x.is(c,Be);if((d=d[f++])&&x.is(c,pe)){c.setMXMLDescriptor(a,d);var Ue=!0}b&&x.is(c,Td)&&b.addElement(c,!x.is(b,ue));d&&
(Ue||x.is(c,pe)||T.generateMXMLInstances(a,c,d));return f}T.generateMXMLInstances=function(a,b,c){null!=c&&T.generateMXMLArray(a,b,c);x.is(b,ue)&&b.childrenAdded()};
T.generateMXMLProperties=function(a,b){var c;if(b){var d=0;var f=b[d++]>>0;var h=d+3*(f-1)>>0;0<f&&'beads'==b[h]?f--:h=-1;for(c=0;c<f;c++){var l=x.j(b[d++]);var p=b[d++];var t=b[d++];null==p?t=T.generateMXMLArray(a,null,t):0==p&&(t=T.generateMXMLObject(a,t));'_id'!=l&&(a[l]=t)}-1<h&&(l=x.j(b[d++]),p=b[d++],t=b[d++],null==p?t=T.generateMXMLArray(a,null,t):0==p&&(t=T.generateMXMLObject(a,t)),a[l]=t);f=b[d++]>>0;for(c=0;c<f;c++)l=x.j(b[d++]),p=b[d++],t=b[d++],null==p?t=T.generateMXMLArray(a,null,t):
0==p&&(t=T.generateMXMLObject(a,t)),a[l]=t;f=b[d++]>>0;for(c=0;c<f;c++)l=x.j(b[d++]),t=b[d++],a.addEventListener(l,hc(t,a))}};T.prototype.g={names:[{name:'MXMLDataInterpreter',h:Kb,kind:e}]};function Y(){E.call(this)}v(Y,E);r=Y.prototype;r.qc=0;r.init=function(a){a=a.Sa;var b=this.values;null==b&&(b={});if(a)for(var c=a.length>>0,d=0;d<c;){var f=a[d++]>>0;0<f&&(d+=f);f=a[d++]>>0;for(var h=a[d+f],l,p=0;p<f;p++){var t=x.j(a[d++]);b[t]&&(l=b[t],h.prototype=l);b[t]=new h;b[t].__index__=this.qc++}d++}this.values=b};function Pe(a){for(var b=a.indexOf('-')>>0;-1<b;)a=a.substr(0,b)+a.charAt(b+1).toUpperCase()+a.substr(b+2),b=a.indexOf('-')>>0;return a}
r.getValue=function(a,b,c,d){c='undefined'!==typeof c?c:null;d='undefined'!==typeof d?d:null;b=Pe(b);if(x.is(a,Pd)){if(null!=a.style){var f=a.style[b];if(f===pa)return Qe(this,a,b,c,d);if(void 0!==f)return f}if(null!=a.id&&(f=this.values['#'+a.id],void 0!==f)){f=f[b];if(f===pa)return Qe(this,a,b,c,d);if(void 0!==f)return f}var h=a.className;var l;if(null!=h){var p=h.split(' '),t;for(t in p)h=p[t],null!=c&&(f=h+':'+c,f=this.values['.'+f],void 0!==f&&(f=f[b],f===pa&&(l=Qe(this,a,b,c,d)),void 0!==f&&
(l=f))),f=this.values['.'+h],void 0!==f&&(f=f[b],f===pa&&(l=Qe(this,a,b,c,d)),void 0!==f&&(l=f))}if(void 0!==l)return l}f=this.values['*'];if(void 0!==f&&(f=f[b],void 0!==f))return f;h=x.j(a.g.names[0].h);for(l=a;'Object'!=h;){if(null!=c&&(f=h+':'+c,f=this.values[f],void 0!==f)){f=f[b];if(f===pa)return Qe(this,a,b,c,d);if(void 0!==f)return f}f=this.values[h];if(void 0!==f){f=f[b];if(f===pa)return Qe(this,a,b,c,d);if(void 0!==f)return f}l=l.constructor.v;if(!l||!l.g)break;h=x.j(l.g.names[0].h)}if(void 0!==
Y.inheritingStyles[b]&&x.is(a,Td)&&(a=a.parent))return this.getValue(a,b,c,d);f=this.values.global;if(void 0!==f)return f[b]};function Qe(a,b,c,d,f){d='undefined'!==typeof d?d:null;f='undefined'!==typeof f?f:null;if(x.is(b,Td)){var h=b.parent;if(h)return b=a.getValue(h,c,d,f),b===pa||void 0===b?Qe(a,h,c,d,f):b}else return pa}r.setValue=function(a,b,c){b=Pe(b);a=this.values[b];a!==c&&(this.values[b]=c,this.dispatchEvent(new Q(Sb,!1,!1,a,c)))};
r.newInstance=function(a,b,c,d){return(a=this.getValue(a,b,'undefined'!==typeof c?c:null,'undefined'!==typeof d?d:null))?new a:null};r.getInstance=function(a){var b=this.values.global;b=b[a];var c=null;typeof b==la&&(c=b);c&&(b[a]=new c);return b};r.convertColor=function(a){return N.toColor(a)};
r.parseStyles=function(a){var b={};a=a.split(';');for(var c in a){var d=Ke(a[c],':');if(!(2>d.length)){var f=x.j(d[0]);f=Pe(f);d=x.j(d[1]);if('null'==d)b[f]=null;else if('true'==d)b[f]=!0;else if('false'==d)b[f]=!1;else{var h=Number(d);isNaN(h)?('#'!=d.charAt(0)&&0!=d.indexOf('rgb')&&("'"==d.charAt(0)?d=d.substr(1,d.length-2):'"'==d.charAt(0)&&(d=d.substr(1,d.length-2))),b[f]=d):b[f]=h}}}return b};
r.addRule=function(a,b){var c={};for(f in b){var d=b[f];var f=Pe(f);c[f]=d}this.values[a]=c;this.ka||(b=document.createElement('style'),document.head.appendChild(b),this.ka=b.sheet);a+=' {';for(var h in this.values)b=this.values[h],typeof b!=la&&(a+=h+': ',typeof b==ra?b=Re(this,h,b):h==ea&&0!=h.indexOf('url')&&(b='url('+b+')'),a+=b+';');this.ka.insertRule(a+'}',this.ka.cssRules.length)};function Re(a,b,c){return a.colorStyles[b]?N.attributeFromColor(c>>>0):c+k}
Y.inheritingStyles={color:1,fontFamily:1,fontSize:1,fontStyle:1,textAlign:1};var Se={background:1,backgroundColor:1,borderColor:1,color:1},Te={constructor:1};r=Y.prototype;r.applyStyles=function(a,b){var c=this.skipStyles,d=b;b&&b.kd&&(d=b.kd);for(var f in d)c[f]||(d=b[f],void 0!==d&&(typeof d==ra?d=Re(this,f,d):f==ea&&0!=d.indexOf('url')&&(d='url('+d+')'),a.element.style[f]=d))};
r.getBorderStyles=function(a,b){b='undefined'!==typeof b?b:null;var c=new V;if(!this.l){this.l=getComputedStyle(a.element,b);var d=!0}c.style=x.j(this.l['border-style']);c.width=N.toNumber(x.j(this.l['border-width']));c.color=N.toColor(this.l['border-color']);d&&(this.l=null);return c};
r.getBorderMetrics=function(a,b){var c=new W;if(!this.l){this.l=getComputedStyle(a.element,'undefined'!==typeof b?b:null);var d=!0}c.left=N.toNumber(x.j(this.l['border-left-width']));c.right=N.toNumber(x.j(this.l['border-right-width']));c.top=N.toNumber(x.j(this.l['border-top-width']));c.bottom=N.toNumber(x.j(this.l['border-bottom-width']));d&&(this.l=null);return c};
r.getPaddingMetrics=function(a,b,c,d){b=new W;if(!this.l){this.l=getComputedStyle(a.element,'undefined'!==typeof d?d:null);var f=!0}b.left=N.toNumber(x.j(this.l['padding-left']));b.right=N.toNumber(x.j(this.l['padding-right']));b.top=N.toNumber(x.j(this.l['padding-top']));b.bottom=N.toNumber(x.j(this.l['padding-bottom']));f&&(this.l=null);return b};
r.getBorderAndPaddingMetrics=function(a,b,c,d){d='undefined'!==typeof d?d:null;if(!this.l){this.l=getComputedStyle(a.element,d);var f=!0}b=this.getBorderMetrics(a);a=this.getPaddingMetrics(a);b.left+=a.left;b.top+=a.top;b.right+=a.right;b.bottom+=a.bottom;f&&(this.l=null);return b};
r.getMargins=function(a,b,c,d){b=new Je;if(!this.l){this.l=getComputedStyle(a.element,'undefined'!==typeof d?d:null);var f=!0}a=this.l['margin-left'];d=this.l['margin-right'];c=this.l['margin-top'];var h=this.l['margin-bottom'];b.left=a==da?0:N.toNumber(a);b.right=c==da?0:N.toNumber(c);b.top=d==da?0:N.toNumber(d);b.bottom=h==da?0:N.toNumber(h);f&&(this.l=null);b.auto=a==da&&c==da;return b};
r.getPositions=function(a,b,c,d){b=new W;a=getComputedStyle(a.element,'undefined'!==typeof d?d:null);b.left=N.toNumber(a.left);b.right=N.toNumber(a.right);b.top=N.toNumber(a.top);b.bottom=N.toNumber(a.bottom);return b};
r.getBorderPaddingAndMargins=function(a,b,c,d){b='undefined'!==typeof b?b:NaN;c='undefined'!==typeof c?c:NaN;d='undefined'!==typeof d?d:null;this.l=getComputedStyle(a.element,d);var f=new Ee;f.border=this.getBorderMetrics(a,d);f.padding=this.getPaddingMetrics(a,b,c,d);f.margins=this.getMargins(a,b,c,d);this.l=null;return f};r.ib=function(){return Se};r.Sb=function(){return Te};Object.defineProperties(Y.prototype,{colorStyles:{get:Y.prototype.ib},skipStyles:{get:Y.prototype.Sb}});
Y.prototype.g={names:[{name:'SimpleCSSValuesImpl',h:mb,kind:e}],i:[Me,Ie]};function Z(){E.call(this);this.element=document.getElementsByTagName('body')[0];this.element.className='Application'}v(Z,M);r=Z.prototype;r.generateMXMLAttributes=function(a){for(var b=a[0]>>0,c=a.length>>0,d=1;d<c;d+=3)if('initialView'==a[d]){var f=a.splice(d,3);a.splice(3*(b-1)+1>>0,0,f[0],f[1],f[2])}T.generateMXMLProperties(this,a)};r.addElement=function(a){this.element.appendChild(a.positioner);a.addedToParent()};
r.addElementAt=function(a,b){var c=this.element.childNodes;b>=c.length?this.addElement(a):(this.element.insertBefore(a.positioner,c[b]),a.addedToParent())};r.getElementAt=function(a){return this.element.childNodes[a].royale_wrapper};r.getElementIndex=function(a){for(var b=this.element.childNodes,c=b.length>>0,d=0;d<c;d++)if(b[d]==a.positioner)return d;return-1};r.removeElement=function(a){this.element.removeChild(a.positioner)};r.internalChildren=function(){return this.element.childNodes};
r.start=function(){x.is(this.model,L)&&this.addBead(this.model);x.is(this.controller,L)&&this.addBead(this.controller);for(var a in this.beads)this.addBead(this.beads[a]);this.dispatchEvent('beadsAdded');we(this,new F('preinitialize',!1,!0))?this.initialize():(this.startupTimer=new X(34,0),this.startupTimer.addEventListener('timer',x.o(this.handleStartupTimer,this,'handleStartupTimer')),this.startupTimer.start())};
r.handleStartupTimer=function(){we(this,new F('preinitialize',!1,!0))&&(this.startupTimer.stop(),this.initialize())};
r.initialize=function(){T.generateMXMLInstances(this,null,this.MXMLDescriptor);this.dispatchEvent('initialize');if(this.initialView){this.initialView.applicationModel=this.model;this.addElement(this.initialView);var a=this.initialView;isNaN(a.percentWidth)&&isNaN(a.percentHeight)||(a=Md(this),a.height=window.innerHeight.toString()+k,a.width=window.innerWidth.toString()+k,this.initialView.dispatchEvent(Qb));this.dispatchEvent(Tb)}this.dispatchEvent('applicationComplete')};
r.ed=function(a){K.valuesImpl=a;K.valuesImpl.init(this)};r.vb=q('mc');r.Uc=n('mc');r.$=q('nc');r.ta=n('nc');r.kb=q('lc');r.Pc=n('lc');r.ea=function(){return this};r.W=Vb(null);r.aa=function(){return this.element.childNodes.length>>0};r.da=function(){return this};
Object.defineProperties(Z.prototype,{valuesImpl:{set:Z.prototype.ed},initialView:{get:Z.prototype.vb,set:Z.prototype.Uc},model:{get:Z.prototype.$,set:Z.prototype.ta},controller:{get:Z.prototype.kb,set:Z.prototype.Pc},popUpParent:{get:Z.prototype.ea},MXMLDescriptor:{get:Z.prototype.W},numElements:{get:Z.prototype.aa},popUpHost:{get:Z.prototype.da}});Z.prototype.g={names:[{name:'Application',h:ta,kind:e}],i:[C,Xd,D,Nd,qe,re,Sd]};function Ve(){}Ve.prototype.g={names:[{name:'IState',h:bb,kind:g}]};function we(a,b){return a.dispatchEvent(b)};function Ld(){}Ld.prototype.g={names:[{name:'IBeadModel',h:Fa,kind:g}],i:[L,D]};function Le(a){return a.trim()};function We(){Z.call(this);this.generateMXMLAttributes([2,'valuesImpl',!1,[Y,1,'_id',!0,'$ID_8_0',0,0,null],'initialView',!1,[S,1,'_id',!0,'$ID_8_2',0,0,[Ce,2,'_id',!0,'$ID_8_1','text',!0,'Hello World',0,0,null]],0,0])}v(We,Z);We.prototype.g={names:[{name:aa,h:aa,kind:e}]};We.prototype.info=function(){return{compiledLocales:['en_US']}};
We.prototype.Sa=[0,1,'.Application *',function(){this.boxSizing=this.WebkitBoxSizing=this.MozBoxSizing=fa},0,1,'.royale *',function(){this.boxSizing=this.WebkitBoxSizing=this.MozBoxSizing=fa},0,1,'.royale *:before',function(){this.boxSizing=this.WebkitBoxSizing=this.MozBoxSizing=fa},0,1,'.royale *:after',function(){this.boxSizing=this.WebkitBoxSizing=this.MozBoxSizing=fa},0,1,ta,function(){this.padding=this.margin=0},0,1,pb,function(){this.iBeadLayout=ke;this.iBeadView=U},0,1,'global',function(){this.effectTimerInterval=
10},0,1,Gb,function(){this.fontFamily='sans-serif';this.fontSize=12}];u(eb,C);u(Bb,D);u(zb,E);u('org.apache.royale.events.EventDispatcher.prototype.hasEventListener',E.prototype.hasEventListener);u('org.apache.royale.events.EventDispatcher.prototype.dispatchEvent',E.prototype.dispatchEvent);u('org.apache.royale.events.EventDispatcher.prototype.fireListeners',E.prototype.fireListeners);u('org.apache.royale.events.EventDispatcher.prototype.toString',E.prototype.toString);u(ya,G);
u('org.apache.royale.core.ElementWrapper.prototype.getBeadByType',G.prototype.getBeadByType);u('org.apache.royale.core.ElementWrapper.prototype.dispatchEvent',G.prototype.dispatchEvent);u('org.apache.royale.core.ElementWrapper.prototype.addBead',G.prototype.addBead);u('org.apache.royale.core.ElementWrapper.prototype.hasEventListener',G.prototype.hasEventListener);u('org.apache.royale.core.ElementWrapper.prototype.removeEventListener',G.prototype.removeEventListener);
u('org.apache.royale.core.ElementWrapper.prototype.removeBead',G.prototype.removeBead);u('org.apache.royale.core.ElementWrapper.prototype.addEventListener',G.prototype.addEventListener);u(Aa,J);u('org.apache.royale.core.HTMLElementWrapper.prototype.addBead',J.prototype.addBead);u(Na,rd);u(ua,M);u('org.apache.royale.core.ApplicationBase.prototype.setHeight',M.prototype.setHeight);u('org.apache.royale.core.ApplicationBase.prototype.setWidth',M.prototype.setWidth);
u('org.apache.royale.core.ApplicationBase.prototype.info',M.prototype.info);u(Pa,Nd);u(Wa,Xd);u(Ya,qe);u(Za,re);u($a,Sd);u(ta,Z);u('org.apache.royale.core.Application.prototype.generateMXMLAttributes',Z.prototype.generateMXMLAttributes);u('org.apache.royale.core.Application.prototype.getElementAt',Z.prototype.getElementAt);u('org.apache.royale.core.Application.prototype.getElementIndex',Z.prototype.getElementIndex);u('org.apache.royale.core.Application.prototype.start',Z.prototype.start);
u('org.apache.royale.core.Application.prototype.addElementAt',Z.prototype.addElementAt);u('org.apache.royale.core.Application.prototype.addElement',Z.prototype.addElement);u('org.apache.royale.core.Application.prototype.removeElement',Z.prototype.removeElement);u(aa,We);u(Oa,Wd);u(Ja,Td);u(jb,Ud);u(Qa,Vd);u(Xa,Yd);u(ab,Od);u(fb,Qd);u(gb,Rd);u(ib,Pd);u(nb,O);u('org.apache.royale.core.UIBase.prototype.setY',O.prototype.setY);u('org.apache.royale.core.UIBase.prototype.setX',O.prototype.setX);
u('org.apache.royale.core.UIBase.prototype.isWidthSizedToContent',O.prototype.isWidthSizedToContent);u('org.apache.royale.core.UIBase.prototype.getElementAt',O.prototype.getElementAt);u('org.apache.royale.core.UIBase.prototype.getElementIndex',O.prototype.getElementIndex);u('org.apache.royale.core.UIBase.prototype.setHeight',O.prototype.setHeight);u('org.apache.royale.core.UIBase.prototype.addElement',O.prototype.addElement);u('org.apache.royale.core.UIBase.prototype.getParentEventTarget',O.prototype.getParentEventTarget);
u('org.apache.royale.core.UIBase.prototype.setWidthAndHeight',O.prototype.setWidthAndHeight);u('org.apache.royale.core.UIBase.prototype.isHeightSizedToContent',O.prototype.isHeightSizedToContent);u('org.apache.royale.core.UIBase.prototype.addBead',O.prototype.addBead);u('org.apache.royale.core.UIBase.prototype.setWidth',O.prototype.setWidth);u('org.apache.royale.core.UIBase.prototype.setDisplayStyleForLayout',O.prototype.setDisplayStyleForLayout);
u('org.apache.royale.core.UIBase.prototype.addElementAt',O.prototype.addElementAt);u('org.apache.royale.core.UIBase.prototype.internalChildren',O.prototype.internalChildren);u('org.apache.royale.core.UIBase.prototype.removeElement',O.prototype.removeElement);u('org.apache.royale.core.UIBase.prototype.addedToParent',O.prototype.addedToParent);u(Ka,ue);u(La,te);u(Sa,ve);u(Ta,se);u(db,le);u(za,P);u('org.apache.royale.core.GroupBase.prototype.hasState',P.prototype.hasState);
u('org.apache.royale.core.GroupBase.prototype.layoutNeeded',P.prototype.layoutNeeded);u('org.apache.royale.core.GroupBase.prototype.childrenAdded',P.prototype.childrenAdded);u('org.apache.royale.core.GroupBase.prototype.getLayoutHost',P.prototype.getLayoutHost);u('org.apache.royale.core.GroupBase.prototype.addElementAt',P.prototype.addElementAt);u('org.apache.royale.core.GroupBase.prototype.addElement',P.prototype.addElement);u('org.apache.royale.core.GroupBase.prototype.removeElement',P.prototype.removeElement);
u('org.apache.royale.core.GroupBase.prototype.addedToParent',P.prototype.addedToParent);u(Ba,me);u(qb,R);u(Ua,pe);u(pb,S);u('org.apache.royale.core.View.prototype.setMXMLDescriptor',S.prototype.setMXMLDescriptor);u('org.apache.royale.core.View.prototype.generateMXMLAttributes',S.prototype.generateMXMLAttributes);u('org.apache.royale.core.View.prototype.addedToParent',S.prototype.addedToParent);u(Ca,L);u(Ea,he);u(va,ie);u(lb,je);u('org.apache.royale.core.LayoutBase.prototype.layout',je.prototype.layout);
u('org.apache.royale.core.LayoutBase.prototype.performLayout',je.prototype.performLayout);u(Ib,ke);u('org.apache.royale.html.beads.layouts.BasicLayout.prototype.layout',ke.prototype.layout);u(xa,ne);u(Ga,Zd);u(wa,oe);u(Ra,ze);u(Hb,U);u('org.apache.royale.html.beads.GroupView.prototype.afterLayout',U.prototype.afterLayout);u('org.apache.royale.html.beads.GroupView.prototype.beforeLayout',U.prototype.beforeLayout);u(Gb,Ce);u(Fa,Ld);u(kb,Ge);u(Ha,Me);u(Ia,Ie);u(mb,Y);
u('org.apache.royale.core.SimpleCSSValuesImpl.prototype.getBorderStyles',Y.prototype.getBorderStyles);u('org.apache.royale.core.SimpleCSSValuesImpl.prototype.getBorderMetrics',Y.prototype.getBorderMetrics);u('org.apache.royale.core.SimpleCSSValuesImpl.prototype.convertColor',Y.prototype.convertColor);u('org.apache.royale.core.SimpleCSSValuesImpl.prototype.getPositions',Y.prototype.getPositions);u('org.apache.royale.core.SimpleCSSValuesImpl.prototype.getBorderPaddingAndMargins',Y.prototype.getBorderPaddingAndMargins);
u('org.apache.royale.core.SimpleCSSValuesImpl.prototype.getMargins',Y.prototype.getMargins);u('org.apache.royale.core.SimpleCSSValuesImpl.prototype.parseStyles',Y.prototype.parseStyles);u('org.apache.royale.core.SimpleCSSValuesImpl.prototype.init',Y.prototype.init);u('org.apache.royale.core.SimpleCSSValuesImpl.prototype.getBorderAndPaddingMetrics',Y.prototype.getBorderAndPaddingMetrics);u('org.apache.royale.core.SimpleCSSValuesImpl.prototype.newInstance',Y.prototype.newInstance);
u('org.apache.royale.core.SimpleCSSValuesImpl.prototype.getValue',Y.prototype.getValue);u('org.apache.royale.core.SimpleCSSValuesImpl.prototype.addRule',Y.prototype.addRule);u('org.apache.royale.core.SimpleCSSValuesImpl.prototype.setValue',Y.prototype.setValue);u('org.apache.royale.core.SimpleCSSValuesImpl.prototype.applyStyles',Y.prototype.applyStyles);u('org.apache.royale.core.SimpleCSSValuesImpl.prototype.getPaddingMetrics',Y.prototype.getPaddingMetrics);
u('org.apache.royale.core.SimpleCSSValuesImpl.prototype.getInstance',Y.prototype.getInstance);u(ob,K);u(rb,Fe);u(Fb,Kd);u('org.apache.royale.events.utils.EventUtils.createEvent',Kd.createEvent);u(Ab,Ne);u(wb,I);u('org.apache.royale.events.BrowserEvent.prototype.wrapEvent',I.prototype.wrapEvent);u('org.apache.royale.events.BrowserEvent.prototype.isMouseActionButton',I.prototype.isMouseActionButton);u('org.apache.royale.events.BrowserEvent.prototype.preventDefault',I.prototype.preventDefault);
u('org.apache.royale.events.BrowserEvent.prototype.stopPropagation',I.prototype.stopPropagation);u('org.apache.royale.events.BrowserEvent.prototype.getBrowserEvent',I.prototype.getBrowserEvent);u('org.apache.royale.events.BrowserEvent.prototype.isButton',I.prototype.isButton);u('org.apache.royale.events.BrowserEvent.prototype.stopImmediatePropagation',I.prototype.stopImmediatePropagation);u(xb,Jd);u(Cb,ee);u(yb,F);u('org.apache.royale.events.Event.prototype.isDefaultPrevented',F.prototype.isDefaultPrevented);
u('org.apache.royale.events.Event.prototype.isSameTarget',F.prototype.isSameTarget);u('org.apache.royale.events.Event.prototype.cloneEvent',F.prototype.cloneEvent);u('org.apache.royale.events.Event.prototype.stopImmediatePropagation',F.prototype.stopImmediatePropagation);u('org.apache.royale.utils.html.getStyle',Md);u(Jb,N);u('org.apache.royale.utils.CSSUtils.attributeFromColor',N.attributeFromColor);u('org.apache.royale.utils.CSSUtils.getBottomValue',N.getBottomValue);
u('org.apache.royale.utils.CSSUtils.toColorWithAlpha',N.toColorWithAlpha);u('org.apache.royale.utils.CSSUtils.getRightValue',N.getRightValue);u('org.apache.royale.utils.CSSUtils.toColor',N.toColor);u('org.apache.royale.utils.CSSUtils.getTopValue',N.getTopValue);u('org.apache.royale.utils.CSSUtils.getSideValue',N.getSideValue);u('org.apache.royale.utils.CSSUtils.toNumber',N.toNumber);u('org.apache.royale.utils.CSSUtils.getLeftValue',N.getLeftValue);u(Kb,T);
u('org.apache.royale.utils.MXMLDataInterpreter.generateMXMLObject',T.generateMXMLObject);u('org.apache.royale.utils.MXMLDataInterpreter.generateMXMLArray',T.generateMXMLArray);u('org.apache.royale.utils.MXMLDataInterpreter.generateMXMLInstances',T.generateMXMLInstances);u('org.apache.royale.utils.MXMLDataInterpreter.generateMXMLProperties',T.generateMXMLProperties);u(Mb,X);u('org.apache.royale.utils.Timer.prototype.stop',X.prototype.stop);u('org.apache.royale.utils.Timer.prototype.start',X.prototype.start);
u('org.apache.royale.utils.Timer.prototype.reset',X.prototype.reset);u('org.apache.royale.utils.sendEvent',we);u('org.apache.royale.utils.sendStrandEvent',function(a,b){return a.dispatchEvent(b)});u('org.apache.royale.html.util.addElementToWrapper',be);u('org.apache.royale.conversions.createEventInit',De);u(sb,W);u(tb,Ee);u(ub,Je);u(vb,V);u(Da,ae);u(Ma,Be);u(Va,de);u(bb,Ve);u(cb,ge);u(hb,ce);u(Db,Q);u('org.apache.royale.events.ValueChangeEvent.createUpdateEvent',Q.createUpdateEvent);
u('org.apache.royale.events.ValueChangeEvent.prototype.cloneEvent',Q.prototype.cloneEvent);u(Eb,xe);u('org.apache.royale.events.ValueEvent.prototype.cloneEvent',xe.prototype.cloneEvent);u('org.apache.royale.events.getTargetWrapper',fe);u('org.apache.royale.utils.string.splitAndTrim',Ke);u(Lb,ye);u('org.apache.royale.utils.StringPadder.pad',ye.pad);u('org.apache.royale.utils.loadBeadFromValuesManager',$d);u('org.apache.royale.utils.string.trim',Le);u('org.apache.royale.debugging.assert',m());