Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ramajs

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ramajs - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5

2

package.json
{
"name": "ramajs",
"version": "0.4.4",
"version": "0.4.5",
"author": {

@@ -5,0 +5,0 @@ "name": ""

/*[global-shim-start]*/
!function(e,n,r){var o=n.define,t=function(e){var r,o=e.split("."),t=n;for(r=0;r<o.length&&t;r++)t=t[o[r]];return t},i=function(e,r){var o,t,i,l=e.split("."),u=n;for(o=0;o<l.length-1;o++)t=l[o],i=u[t],i||(i=u[t]={}),u=i;t=l[l.length-1],u[t]=r},l=function(e){if(!e||!e.__esModule)return!1;var n={__esModule:!0,"default":!0};for(var r in e)if(!n[r])return!1;return!0},u=n.define&&n.define.modules||n._define&&n._define.modules||{},f=n.define=function(r,d,a){var _;"function"==typeof d&&(a=d,d=[]);var s,c=[];for(s=0;s<d.length;s++)c.push(e[d[s]]?t(e[d[s]]):u[d[s]]||t(d[s]));if(!d.length&&a.length){_={exports:{}};var p=function(n){return e[n]?t(e[n]):u[n]};c.push(p,_.exports,_)}else c[0]||"exports"!==d[0]?c[0]||"module"!==d[0]||(c[0]={id:r}):(_={exports:{}},c[0]=_.exports,"module"===d[1]&&(c[1]=_));n.define=o;var v=a?a.apply(null,c):void 0;n.define=f,v=_&&_.exports?_.exports:v,u[r]=v;var g=e[r];g&&!t(g)&&(l(v)&&(v=v["default"]),i(g,v))};n.define.orig=o,n.define.modules=u,n.define.amd=!0,f("@loader",[],function(){var e=function(){};return{get:function(){return{prepareGlobal:e,retrieveGlobal:e}},global:n,__exec:function(e){r(e.source,n)}}})}({},window,function(__$source__,__$global__){eval("(function() { "+__$source__+" \n }).call(__$global__);")});
/*dist/core/pollyfills*/
define("dist/core/pollyfills",["module","@loader"],function(e,o){o.get("@@global-helpers").prepareGlobal(e.id,[]);var t=o.global.define,n=o.global.require,l='var myWindow=window;try{new myWindow.CustomEvent("test")}catch(e){var CustomEventFuntion=function(t,n){var e;return n=n||{bubbles:!1,cancelable:!1,detail:void 0},e=document.createEvent("CustomEvent"),e.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),e};CustomEventFuntion.prototype=Event.prototype,myWindow.CustomEvent=CustomEventFuntion}';return o.global.define=void 0,o.global.module=void 0,o.global.exports=void 0,o.__exec({source:l,address:e.uri}),o.global.require=n,o.global.define=t,o.get("@@global-helpers").retrieveGlobal(e.id,void 0)});
/*dist/core/utils/string-utils*/
define("dist/core/utils/string-utils",function(e,t,r){"use strict";function n(e){return e.charAt(0).toUpperCase()+e.slice(1)}function u(e){return e.replace(s,function(e,t,r,n){return n?r.toUpperCase():r}).replace(a,"Moz$1")}function i(e){return null==e?"":(e+"").replace(c,"")}var c=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,s=/([\:\-\_]+(.))/g,a=/^moz([A-Z])/;t.titleCase=n,t.camelCase=u,t.trim=i});
/*dist/core/UIEventDispatcher*/
define("dist/core/UIEventDispatcher",function(e,t,n){"use strict";var i=function(){function e(e){this.eventListenersDictionary={},this.__setElementRef(e)}return e.prototype.__setElementRef=function(e){this._element=e,this[0]=e},e.prototype.addEventListener=function(e,t,n){this._element.addEventListener(e,t,n),(void 0===this.eventListenersDictionary[e]||null===this.eventListenersDictionary[e])&&(this.eventListenersDictionary[e]=[]),t.useCapture=n,this.eventListenersDictionary[e].push(t)},e.prototype.dispatchEvent=function(e){return this._element.dispatchEvent(e),!e.defaultPrevented},e.prototype.removeEventListener=function(e,t,n){if(this._element.removeEventListener(e,t,n),void 0!==this.eventListenersDictionary[e]&&null!==this.eventListenersDictionary[e]){var i=this.eventListenersDictionary[e].indexOf(t);i>-1&&this.eventListenersDictionary[e].splice(i,1),this.eventListenersDictionary[e].length<=0&&(this.eventListenersDictionary[e]=null)}},e.prototype.hasEventListener=function(e){return void 0!==this.eventListenersDictionary[e]&&null!==this.eventListenersDictionary[e]},e.prototype.removeAllEventListeners=function(){for(var e in this.eventListenersDictionary)if(null!==this.eventListenersDictionary[e])for(var t=this.eventListenersDictionary[e].length-1;t>=0;t-=1){var n=this.eventListenersDictionary[e][t];this.removeEventListener(e,n,n.useCapture)}},e}();t.UIEventDispatcher=i});
/*dist/core/UIElement*/
define("dist/core/UIElement",function(t,e,i){"use strict";var n=this&&this.__extends||function(t,e){function i(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)};t("dist/core/pollyfills");var r=t("dist/core/utils/string-utils"),o=t("dist/core/UIEventDispatcher"),s=function(t){function e(e){var i=e;"string"==typeof e&&(i=document.createElement(e)),t.call(this,i),this._initialized=!1,this._children=[],this._currentState=""}return n(e,t),e.prototype.getCurrentState=function(){return this._currentState},e.prototype.setCurrentState=function(t){this._currentState!==t&&(this._currentState=t,this.validateState())},e.prototype.initialize=function(){this._initialized||(this.__preInitialize(),this.preInitialize(),this.createChildren(),this.childrenCreated(),this._initialized=!0,this.initialized())},e.prototype.__preInitialize=function(){},e.prototype.preInitialize=function(){},e.prototype.initialized=function(){},e.prototype.preAttach=function(){},e.prototype.attached=function(){},e.prototype.preDetach=function(){},e.prototype.detached=function(){},e.prototype.getElementRef=function(){return this._element},e.prototype.setChildren=function(t){},e.prototype.getChildren=function(){return this._children},e.prototype.appendChild=function(t){this.appendChildAt(t,this._children.length)},e.prototype.appendChildAt=function(t,e){-1===e&&(e=0),this.initializeAndAppendElement(t,e)},e.prototype.initializeAndAppendElement=function(t,e){if(t.parentElement=this,t.initialize(),t.preAttach(),this._children.length<=0||e>this._children.length-1)this._element.appendChild(t.getElementRef());else{var i=this._children[e].getElementRef();this._element.insertBefore(t.getElementRef(),i)}t.attached(),this._children.splice(e,0,t)},e.prototype.removeChild=function(t){t.preDetach(),this._children.splice(this._children.indexOf(t),1),this._element.removeChild(t.getElementRef()),t.detached()},e.prototype.removeAllChildren=function(){for(;this._children.length>0;)this.removeChild(this._children[0])},e.prototype.setAttribute=function(t,e){var i="set"+r.titleCase(t);this[i]?this[i](e):this[t]=e;var n=new RegExp("^on");n.test(t)&&this.addEventListener(t.substring(2),e),this._element instanceof Element&&"string"==typeof e&&this._element.setAttribute(t,e)},e.prototype.getAttribute=function(t){return this._element instanceof Element?this._element.getAttribute(t):null},e.prototype.isInitialized=function(){return this._initialized},e.prototype.createChildren=function(){},e.prototype.childrenCreated=function(){},e.prototype.validateState=function(){},e.prototype.hasClass=function(t){return this.getAttribute?(" "+(this.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1},e.prototype.removeClasses=function(t){var e=this;t&&t.forEach(function(t){e.setAttribute("class",e.trim((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+e.trim(t)+" "," ")))},this)},e.prototype.addClasses=function(t){var e=this;if(t){var i=(" "+(this.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");t.forEach(function(t){t=e.trim(t),-1===i.indexOf(" "+t+" ")&&(i+=t+" ")}),this[0].setAttribute("class",this.trim(i))}},e.prototype.toggleClasses=function(t){var e=this;t&&t.forEach(function(t){var i=!e.hasClass(t);i?e.addClasses([t]):e.removeClasses([t])})},e.prototype.trim=function(t){return null==t?"":(t+"").replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},e}(o.UIEventDispatcher);e.UIElement=s});
/*dist/core/support_classes/PropertySetter*/
define("dist/core/support_classes/PropertySetter",function(t,e,r){"use strict";var i=function(){function t(t,e,r){this._target=null,this._name=null,this._value=null,this.oldValue=null,this._target=t,this._name=e,this._value=r}return Object.defineProperty(t.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),t.prototype.apply=function(){this._target&&(this.oldValue=this._target.getAttribute(this._name),this.oldValue||(this.oldValue=""),this._target.setAttribute(this._name,this._value))},t.prototype.remove=function(){this._target&&this._target.setAttribute(this._name,this.oldValue)},t}();e.PropertySetter=i});
/*dist/core/GroupBase*/
define("dist/core/GroupBase",function(t,e,i){"use strict";var n=this&&this.__extends||function(t,e){function i(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},r=t("dist/core/UIElement"),h=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype.setChildren=function(t){return this._initialized?(this.removeAllChildren(),this._children=t,void this.createChildren()):void(this._children=t)},e.prototype.createChildren=function(){if(this._children&&this._children.length>0){for(var t=document.createDocumentFragment(),e=0;e<this._children.length;e++){var i=this._children[e];i.parentElement=this,i.initialize(),i.preAttach(),t.appendChild(i.getElementRef()),i.attached()}this._element.appendChild(t)}},e}(r.UIElement);e.GroupBase=h});
/*dist/core/DOMElement*/
define("dist/core/DOMElement",function(t,e,n){"use strict";var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=t("dist/core/GroupBase"),i=function(t){function e(){t.apply(this,arguments)}return o(e,t),e}(r.GroupBase);e.DOMElement=i});
/*dist/core/collections/Dictionary*/
define("dist/core/collections/Dictionary",function(t,r,i){"use strict";var e=function(){function t(){this.dictionaryArray=[]}return t.prototype.get=function(t){var r=this.getKeyItem(t);return void 0!==r?r.value:null},t.prototype.set=function(t,r){var i=this.getKeyItem(t);void 0!==i?i.value=r:this.dictionaryArray.push({key:t,value:r})},t.prototype.remove=function(t,r){for(var i=0;i<this.dictionaryArray.length;i++){var e=this.dictionaryArray[i];if(e.key===t){this.dictionaryArray.splice(i,1);break}}},t.prototype.hasKey=function(t){var r=this.getKeyItem(t);return void 0!==r},t.prototype.getKeyItem=function(t){for(var r=0;r<this.dictionaryArray.length;r++){var i=this.dictionaryArray[r];if(i.key===t)return i}},t}();r.Dictionary=e});
/*dist/core/utils/dom*/
define("dist/core/utils/dom",function(e,t,r){"use strict";function n(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={},o={};for(var s in t){var a=s.split("__");if(2==a.length){var p=a[1];void 0===o[p]&&(o[p]={}),o[p][a[0]]=t[s]}else i[s]=t[s]}return{type:e,children:r,props:i,stateManagedProps:o}}function i(e,t,r){var n,c;if(c="string"==typeof e?{type:"text",text:e}:e,"text"==c.type){var l=document.createTextNode(c.text);return new d.DOMElement(l)}if("string"==typeof c.type){var u=document.createElement(c.type);n=new d.DOMElement(u)}else n=new c.type;if(!(n instanceof p.UIElement))throw TypeError("Custom Component Class must extend UIElement.\n"+n.toString());if(c.props)for(var v in c.props)n.setAttribute(v,c.props[v]);var y=c.children;if(y){for(var m=[],g=0;g<y.length;g++){var h=i(y[g],t,r);if(h){var E=y[g];if("string"!=typeof y[g]&&"string"==typeof E.type){var M="set"+f.titleCase(E.type);n[M]?n[M](h.getChildren()):m.push(h)}else m.push(h)}}n.setChildren(m)}return s(t,c.props,n),a(n,r,c.stateManagedProps),o(n,c.props),n}function o(e,r){var n=t.eventMetadata.get(e.constructor);n&&n.forEach(function(t){r[t]&&e.addEventListener(t,r[t])})}function s(e,t,r){e&&t&&t.id&&(e[t.id]=r)}function a(e,t,r){if(t&&r)for(var n in r){void 0===t[n]&&(t[n]=[]);var i=r[n];for(var o in i){var s=new c.PropertySetter(e,o,i[o]);t[n].push(s)}}}var p=e("dist/core/UIElement"),c=e("dist/core/support_classes/PropertySetter"),f=e("dist/core/utils/string-utils"),d=e("dist/core/DOMElement"),l=e("dist/core/collections/Dictionary");t.eventMetadata=new l.Dictionary,t.createVNode=n,t.createElement=i});
/*dist/core/ModelEventDispatcher*/
define("dist/core/ModelEventDispatcher",function(t,e,n){"use strict";var r=function(){function t(t,e){this._handler=t,this._context=e}return Object.defineProperty(t.prototype,"handler",{get:function(){return this._handler},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._context},enumerable:!0,configurable:!0}),t}(),o=function(){function t(){this.handlers={}}return t.prototype.dispatchEvent=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r,o;if(o="string"==typeof t?t:t.type,r=this.getHandlers(o))for(var i=0;i<r.length;i++){var s=r[i];"string"==typeof t?(a=s.handler).call.apply(a,[s.context].concat(e)):s.handler.call(s.context,t)}var a},t.prototype.addEventListener=function(t,e,n){this.toggleSubscription(t,e,!0,n)},t.prototype.removeEventListener=function(t,e){this.toggleSubscription(t,e,!1)},t.prototype.removeAllEventListeners=function(t){this.handlers[t]=[]},t.prototype.toggleSubscription=function(t,e,n,o){for(var i=this.getHandlers(t),s=0;s<i.length;s++){var a=i[s];if(a.handler===e)return void(n===!1&&i.splice(i.indexOf(a),1))}i.push(new r(e,o))},t.prototype.getHandlers=function(t){var e;return e=this.handlers[t],(null===e||void 0===e)&&(this.handlers[t]=e=[]),e},t.prototype.hasEventListener=function(t){return void 0!==this.handlers[t]&&this.handlers[t].length>0},t}();e.ModelEventDispatcher=o});
/*dist/core/event*/
define("dist/core/event",function(t,e,n){"use strict";var i=function(){function t(t,e,n){this.bubbles=t,this.cancelable=e,this.detail=n}return t}();e.REventInit=i;var r=function(){function t(t){this._type=t}return Object.defineProperty(t.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),t}();e.REvent=r});
/*dist/core/collections/events/CollectionEvent*/
define("dist/core/collections/events/CollectionEvent",function(t,e,n){"use strict";var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=t("dist/core/event");e.CollectionEventKind={ADD:"add",MOVE:"move",REMOVE:"remove",REPLACE:"replace",EXPAND:"expand",REFRESH:"refresh",RESET:"reset",UPDATE:"update"};var r=function(t){function e(e,n,o,i,r){t.call(this,e),this.kind=n,this.location=o,this.oldLocation=i,this.items=r?r:[]}return o(e,t),e}(i.REvent);e.CollectionEvent=r});
/*dist/core/collections/ArrayList*/
define("dist/core/collections/ArrayList",function(t,e,n){"use strict";var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=t("dist/core/collections/events/CollectionEvent"),s=t("dist/core/collections/events/CollectionEvent"),r=t("dist/core/ModelEventDispatcher"),c=function(t){function e(e){t.call(this),this._dispatchEvents=0,this._source=null,this.disableEvents(),this.setSource(e),this.enableEvents()}return o(e,t),e.prototype.getSource=function(){return this._source},e.prototype.setSource=function(t){if(this._source=t?t:[],0==this._dispatchEvents){var e=new i.CollectionEvent(i.CollectionEvent.COLLECTION_CHANGE,s.CollectionEventKind.RESET);this.dispatchEvent(e)}},Object.defineProperty(e.prototype,"length",{get:function(){return this._source?this._source.length:0},enumerable:!0,configurable:!0}),e.prototype.addItem=function(t){this.addItemAt(t,this.length)},e.prototype.addItemAt=function(t,e){if(0>e||e>this.length){var n="Index out of bounds Exception: Specified index "+e+"is out of bounds forthis collection of length "+this.length;throw new RangeError(n)}this._source.splice(e,0,t),this.internalDispatchEvent(s.CollectionEventKind.ADD,t,e)},e.prototype.addAll=function(t){this.addAllAt(t,this.length)},e.prototype.addAllAt=function(t,e){for(var n=t.length,o=0;n>o;o++)this.addItemAt(t[o],o+e)},e.prototype.getItemIndex=function(t){return this._source.indexOf(t)},e.prototype.removeItem=function(t){var e=this.getItemIndex(t),n=e>=0;return n&&this.removeItemAt(e),n},e.prototype.removeItemAt=function(t){if(0>t||t>=this.length){var e="Index out of bounds Exception: Specified index "+t+"is out of bounds forthis collection of length "+this.length;throw new RangeError(e)}var n=this._source.splice(t,1)[0];return this.internalDispatchEvent(s.CollectionEventKind.REMOVE,n,t),n},e.prototype.removeAll=function(){this.length>0&&(this._source.splice(0,this.length),this.internalDispatchEvent(s.CollectionEventKind.RESET))},e.prototype.toArray=function(){return this._source.concat()},e.prototype.toString=function(){return this._source.toString()},e.prototype.getItemAt=function(t){if(0>t||t>=this.length){var e="Index out of bounds Exception: Specified index "+t+"is out of bounds forthis collection of length "+this.length;throw new RangeError(e)}return this._source[t]},e.prototype.setItemAt=function(t,e){if(0>e||e>=this.length){var n="Index out of bounds Exception: Specified index "+e+"is out of bounds forthis collection of length "+this.length;throw new RangeError(n)}var o=this._source[e];if(this._source[e]=t,0==this._dispatchEvents){var r=this.hasEventListener(i.CollectionEvent.COLLECTION_CHANGE);if(r){var c=new i.CollectionEvent(i.CollectionEvent.COLLECTION_CHANGE);c.kind=s.CollectionEventKind.REPLACE,c.location=e;var h={};h.oldValue=o,h.newValue=t,h.property=e,c.items.push(h),this.dispatchEvent(c)}}return o},e.prototype.refresh=function(){var t=new i.CollectionEvent(i.CollectionEvent.COLLECTION_CHANGE);t.kind=s.CollectionEventKind.REFRESH,this.dispatchEvent(t)},e.prototype.forEach=function(t,e){for(var n=0;n<this.length;n++)t.call(e,this._source[n])},e.prototype.internalDispatchEvent=function(t,e,n){if(0==this._dispatchEvents&&this.hasEventListener(i.CollectionEvent.COLLECTION_CHANGE)){var o=new i.CollectionEvent(i.CollectionEvent.COLLECTION_CHANGE,t,n);o.items.push(e),this.dispatchEvent(o)}},e.prototype.enableEvents=function(){this._dispatchEvents++,this._dispatchEvents>0&&(this._dispatchEvents=0)},e.prototype.disableEvents=function(){this._dispatchEvents--},e}(r.ModelEventDispatcher);e.ArrayList=c});
/*dist/core/collections/ArrayCollection*/
define("dist/core/collections/ArrayCollection",function(t,e,i){"use strict";var n=this&&this.__extends||function(t,e){function i(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},o=t("dist/core/ModelEventDispatcher"),r=t("dist/core/collections/ArrayList"),l=t("dist/core/collections/events/CollectionEvent"),s=function(t){function e(e,i,n){t.call(this),this._filterFunction=i,this._sortFunction=n,this.setSource(e)}return n(e,t),Object.defineProperty(e.prototype,"sortFunction",{get:function(){return this._sortFunction},set:function(t){this._sortFunction=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterFunction",{get:function(){return this._filterFunction},set:function(t){this._filterFunction=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._localIndex?this._localIndex.length:this._list?this._list.length:0},enumerable:!0,configurable:!0}),e.prototype.setSource=function(t){var e=this;this._list&&this._list.getSource()===t||(this._list=new r.ArrayList(t),this.internalRefresh(!1),this._list.addEventListener(l.CollectionEvent.COLLECTION_CHANGE,function(t){e.dataProvider_collectionChangeHandler(t)}))},e.prototype.getSource=function(){return this._list?this._list.getSource():null},e.prototype.addItem=function(t){this.addItemAt(t,this.length)},e.prototype.addItemAt=function(t,e){if(0>e||e>this.length){var i="Index out of bounds Exception: Specified index "+e+"is out of bounds forthis collection of length "+this.length;throw new RangeError(i)}var n=e;this._localIndex&&this._sortFunction?n=this._list.length:this._localIndex&&null!=this._filterFunction&&(n=n==this._localIndex.length?this._list.length:this._list.getItemIndex(this._localIndex[e])),this._list.addItemAt(t,n)},e.prototype.addAll=function(t){this.addAllAt(t,this.length)},e.prototype.addAllAt=function(t,e){for(var i=t.length,n=0;i>n;n++)this.addItemAt(t[n],n+e)},e.prototype.getItemIndex=function(t){var e;if(this._localIndex){var i=this._localIndex.length;for(e=0;i>e;e++)if(this._localIndex[e]==t)return e;return-1}return this._list.getItemIndex(t)},e.prototype.removeItem=function(t){var e=this.getItemIndex(t),i=e>=0;return i&&this.removeItemAt(e),i},e.prototype.removeItemAt=function(t){if(0>t||t>=this.length){var e="Index out of bounds Exception: Specified index "+t+"is out of bounds forthis collection of length "+this.length;throw new RangeError(e)}var i=t;if(this._localIndex){var n=this._localIndex[t];i=this._list.getItemIndex(n),this._localIndex.splice(t,1)}return this._list.removeItemAt(i)},e.prototype.removeAll=function(){var t=this.length;if(t>0)if(this._localIndex)for(var e=t-1;e>=0;e--)this.removeItemAt(e);else this._list.removeAll()},e.prototype.toArray=function(){var t;return t=this._localIndex?this._localIndex.concat():this._list.toArray()},e.prototype.toString=function(){return this._localIndex?this._localIndex.toString():this._list&&this._list.toString?this._list.toString():void this.toString()},e.prototype.getItemAt=function(t){if(0>t||t>=this.length){var e="Index out of bounds Exception: Specified index "+t+"is out of bounds forthis collection of length "+this.length;throw new RangeError(e)}return this._localIndex?this._localIndex[t]:this._list?this._list.getItemAt(t):null},e.prototype.setItemAt=function(t,e){if(0>e||e>=this.length){var i="Index out of bounds Exception: Specified index "+e+"is out of bounds forthis collection of length "+this.length;throw new RangeError(i)}var n=e;if(this._localIndex){var o=this._localIndex[e];n=this._list.getItemIndex(o),this._localIndex[e]=t}return this._list.setItemAt(t,n)},e.prototype.refresh=function(){this.internalRefresh(!0)},e.prototype.forEach=function(t,e){for(var i=0;i<this.length;i++)t.call(e,this.getItemAt(i))},e.prototype.dataProvider_collectionChangeHandler=function(t){var e=new l.CollectionEvent(l.CollectionEvent.COLLECTION_CHANGE);for(var i in e)t.hasOwnProperty(i)&&(e[i]=t[i]);this.dispatchEvent(e)},e.prototype.internalRefresh=function(t){if(this._sortFunction||this._filterFunction){if(this._list?this._localIndex=this._list.toArray():this._localIndex=[],null!=this._filterFunction){for(var e=[],i=this._localIndex.length,n=0;i>n;n++){var o=this._localIndex[n];this._filterFunction(o)&&e.push(o)}this._localIndex=e}this._sortFunction&&(this._localIndex.sort(this._sortFunction),t=!0)}else this._localIndex&&(this._localIndex=null);t&&this._list.refresh()},e}(o.ModelEventDispatcher);e.ArrayCollection=s});
/*dist/decorators*/
define("dist/decorators",function(t,e,n){"use strict";function i(t){return void 0===t&&(t=!1),function(e,n){e.skinParts||(e.skinParts={}),e.skinParts[n]={required:t}}}function a(t){return function(e){r.eventMetadata.get(e)||r.eventMetadata.set(e,[]);var n=r.eventMetadata.get(e);-1==n.indexOf(t)&&n.push(t)}}var r=t("dist/core/utils/dom");e.skinPart=i,e.event=a});
/*dist/core/support_classes/State*/
define("dist/core/support_classes/State",function(t,e,r){"use strict";var i=t("dist/core/utils/string-utils"),n=function(){function t(t,e){var r=this;if(this.propertySetters=[],this._stateGroups=[],this._name=t,e){var n=e.split(",");n.forEach(function(t){r._stateGroups.push(i.trim(t))})}}return Object.defineProperty(t.prototype,"stateGroups",{get:function(){return this._stateGroups},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),t.prototype.initialize=function(){this._initialized||(this._initialized=!0)},t.prototype.apply=function(){for(var t=0;t<this.propertySetters.length;t++){var e=this.propertySetters[t];e.target[e.name]=e.value}},t}();e.State=n});
/*dist/core/ViewBase*/
define("dist/core/ViewBase",function(t,e,r){"use strict";var i=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},n=t("dist/core/utils/dom"),o=t("dist/core/support_classes/State"),s=t("dist/core/UIElement"),p=function(t){function e(){t.call(this),this._viewStates=[],this._stateManagedProperties={},this._tempAttributes={}}return i(e,t),e.prototype.__preInitialize=function(){var t=this;this.parse(),this._viewStates.forEach(function(e){t._stateManagedProperties.hasOwnProperty(e.name)&&e.propertySetters.push.apply(e.propertySetters,t._stateManagedProperties[e.name]),e.stateGroups.forEach(function(r){t._stateManagedProperties.hasOwnProperty(r)&&e.propertySetters.push.apply(e.propertySetters,t._stateManagedProperties[r])})})},e.prototype.initialized=function(){this.setCurrentState(this._tempCurrentState)},e.prototype.setChildren=function(t){return this._initialized?(this._children=t,void this.createChildren()):void(this._children=t)},e.prototype.getChildren=function(){return this.rootElement.getChildren()},e.prototype.removeChild=function(t){this.rootElement.removeChild(t)},e.prototype.removeAllChildren=function(){this.rootElement.removeAllChildren()},e.prototype.appendChildAt=function(t,e){this.rootElement.appendChildAt(t,e)},e.prototype.appendChild=function(t){this.rootElement.appendChild(t)},e.prototype.setAttribute=function(t,e){return this.rootElement?void this.rootElement.setAttribute(t,e):void(this._tempAttributes[t]=e)},e.prototype.getAttribute=function(t){return this.rootElement.getAttribute(t)},e.prototype.createChildren=function(){this._children&&this._children.length>0&&this.rootElement.setChildren(this._children);for(var t in this._tempAttributes)this.rootElement.setAttribute(t,this._tempAttributes[t]);this.rootElement.initialize()},e.prototype.parse=function(){var t,e=this.render();if((null===e||void 0===e)&&(e={type:"div"}),e.children)for(var r=0;r<e.children.length;r++){var i=e.children[r];if("string"!=typeof i&&"states"===i.type){t=i,e.children.splice(r,1);break}}if(t&&t.children)for(var s=0;s<t.children.length;s++){var p=t.children[s];if("string"==typeof p)return;if(p.props&&null!==p.props.name&&void 0!==p.props.name){var a=new o.State(p.props.name,p.props.stateGroups);this._viewStates.push(a)}}this.rootElement=n.createElement(e,this,this._stateManagedProperties),this.__setElementRef(this.rootElement.getElementRef())},e.prototype.hasState=function(t){for(var e=0;e<this._viewStates.length;e++)if(this._viewStates[e].name==t)return!0;return!1},e.prototype.getCurrentState=function(){return this.initialized?this._currentState:this._tempCurrentState},e.prototype.setCurrentState=function(t){var e=this.getState(this._currentState);if(this._initialized)if(this.isBaseState(t))this.removeState(e),this._currentState=t;else{var r=this.getState(t);this.initializeState(t),this.removeState(e),this._currentState=t,this.applyState(r)}else this._tempCurrentState=t},e.prototype.isBaseState=function(t){return!t||""==t},e.prototype.initializeState=function(t){var e=this.getState(t);e&&e.initialize()},e.prototype.removeState=function(t){if(t)for(var e=0;e<t.propertySetters.length;e++)t.propertySetters[e].remove()},e.prototype.applyState=function(t){if(t)for(var e=0;e<t.propertySetters.length;e++)t.propertySetters[e].apply()},e.prototype.getState=function(t){if(!this._viewStates||this.isBaseState(t))return null;for(var e=0;e<this._viewStates.length;e++)if(this._viewStates[e].name==t)return this._viewStates[e];throw new ReferenceError("State not Found Exception: The state '"+t+"' being set on the component is not found in the skin")},e}(s.UIElement);e.ViewBase=p});
/*dist/View*/
define("dist/View",function(t,e,n){"use strict";var i=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=t("dist/core/ViewBase"),r=function(t){function e(){t.apply(this,arguments)}return i(e,t),e}(o.ViewBase);e.View=r});
/*dist/Skin*/
define("dist/Skin",function(t,n,e){"use strict";var i=this&&this.__extends||function(t,n){function e(){this.constructor=t}for(var i in n)n.hasOwnProperty(i)&&(t[i]=n[i]);t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)},r=t("dist/core/ViewBase"),o=function(t){function n(){t.apply(this,arguments)}return i(n,t),n.prototype.getSkinPartByID=function(t){var n=this[t];return n?n:null},n}(r.ViewBase);n.Skin=o});
/*dist/Group*/
define("dist/Group",function(t,o,r){"use strict";var n=this&&this.__extends||function(t,o){function r(){this.constructor=t}for(var n in o)o.hasOwnProperty(n)&&(t[n]=o[n]);t.prototype=null===o?Object.create(o):(r.prototype=o.prototype,new r)},e=t("dist/core/GroupBase"),i=function(t){function o(){t.call(this,"div")}return n(o,t),o}(e.GroupBase);o.Group=i});
/*dist/Component*/
define("dist/Component",function(t,i,n){"use strict";var e=this&&this.__extends||function(t,i){function n(){this.constructor=t}for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e]);t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)},s=t("dist/core/UIElement"),o=function(t){function i(i){var n;i||(n="div"),t.call(this,n)}return e(i,t),i.prototype.detached=function(){this.detachSkin()},i.prototype.setSkinClass=function(t){this._skinClass!==t&&(this._skinClass=t,this._initialized&&this.validateSkinChange())},i.prototype.partAdded=function(t,i){},i.prototype.partRemoved=function(t,i){},i.prototype.createChildren=function(){this.validateSkinChange()},i.prototype.validateSkinChange=function(){this._skinElement&&this.detachSkin(),this.attachSkin()},i.prototype.attachSkin=function(){this._skinClass&&(this._skinElement=new this._skinClass,this.initializeAndAppendElement(this._skinElement,0),this.findSkinParts(),this.validateSkinState())},i.prototype.validateState=function(){this.validateSkinState()},i.prototype.validateSkinState=function(){this._skinElement&&this._skinElement.setCurrentState(this.getCurrentState())},i.prototype.detachSkin=function(){this._skinElement&&(this.clearSkinParts(),this.removeChild(this._skinElement))},i.prototype.findSkinParts=function(){if(this._skinElement)for(var t in this.skinParts){var i=this.skinParts[t],n=!1,e=this._skinElement.getSkinPartByID(t);if(e&&(n=!0,this[t]=e,this.partAdded(t,e)),i.required===!0&&!n)throw new ReferenceError("Required Skin part not found: "+t+" in the Attached skin")}},i.prototype.clearSkinParts=function(){if(this._skinElement)for(var t in this.skinParts){this.skinParts[t];null!==this[t]&&this.partRemoved(t,this[t])}},i.prototype.appendChild=function(t){},i.prototype.appendChildAt=function(t,i){},i}(s.UIElement);i.Component=o});
/*dist/Container*/
define("dist/Container",function(t,e,n){"use strict";var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=this&&this.__decorate||function(t,e,n,o){var r,i=arguments.length,p=3>i?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)p=Reflect.decorate(t,e,n,o);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(p=(3>i?r(p):i>3?r(e,n,p):r(e,n))||p);return i>3&&p&&Object.defineProperty(e,n,p),p},i=this&&this.__metadata||function(t,e){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(t,e):void 0},p=t("dist/Component"),c=t("dist/core/GroupBase"),s=t("dist/decorators"),h=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype.getChildren=function(){return this.contentGroup?this.contentGroup.getChildren():this._tempChildren},e.prototype.setChildren=function(t){this._tempChildren=t,this.contentGroup&&this.contentGroup.setChildren(this._tempChildren)},e.prototype.partAdded=function(e,n){t.prototype.partAdded.call(this,e,n),n===this.contentGroup&&this.contentGroup.setChildren(this._tempChildren)},e.prototype.removeChild=function(t){this.contentGroup&&this.contentGroup.removeChild(t)},e.prototype.removeAllChildren=function(){this.contentGroup&&this.contentGroup.removeAllChildren()},e.prototype.appendChildAt=function(t,e){this.contentGroup&&this.contentGroup.appendChildAt(t,e)},e.prototype.appendChild=function(t){this.contentGroup&&this.contentGroup.appendChild(t)},r([s.skinPart(!1),i("design:type",c.GroupBase)],e.prototype,"contentGroup",void 0),e}(p.Component);e.Container=h});
/*dist/index*/
define("dist/index",function(e,t,i){"use strict";function r(e){for(var i in e)t.hasOwnProperty(i)||(t[i]=e[i])}var n=e("dist/core/utils/dom"),o=e("dist/core/DOMElement");t.rama={createElement:n.createVNode},t.render=function(e,t){t.innerHTML="";var i=new e;i.initialize();var r=new o.DOMElement(t);r.appendChild(i)},r(e("dist/core/utils/dom")),r(e("dist/core/UIElement")),r(e("dist/core/UIEventDispatcher")),r(e("dist/core/ModelEventDispatcher")),r(e("dist/core/UIElement")),r(e("dist/core/collections/ArrayCollection")),r(e("dist/core/collections/ArrayList")),r(e("dist/core/collections/Dictionary")),r(e("dist/decorators")),r(e("dist/View")),r(e("dist/Skin")),r(e("dist/Group")),r(e("dist/Component")),r(e("dist/Container"))});
/*ramajs/core/pollyfills*/
define("ramajs/core/pollyfills",["module","@loader"],function(e,o){o.get("@@global-helpers").prepareGlobal(e.id,[]);var t=o.global.define,n=o.global.require,l='var myWindow=window;try{new myWindow.CustomEvent("test")}catch(e){var CustomEventFuntion=function(t,n){var e;return n=n||{bubbles:!1,cancelable:!1,detail:void 0},e=document.createEvent("CustomEvent"),e.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),e};CustomEventFuntion.prototype=Event.prototype,myWindow.CustomEvent=CustomEventFuntion}';return o.global.define=void 0,o.global.module=void 0,o.global.exports=void 0,o.__exec({source:l,address:e.uri}),o.global.require=n,o.global.define=t,o.get("@@global-helpers").retrieveGlobal(e.id,void 0)});
/*ramajs/core/utils/string-utils*/
define("ramajs/core/utils/string-utils",function(e,r,t){"use strict";function n(e){return e.charAt(0).toUpperCase()+e.slice(1)}function u(e){return e.replace(s,function(e,r,t,n){return n?t.toUpperCase():t}).replace(a,"Moz$1")}function c(e){return null==e?"":(e+"").replace(i,"")}var i=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,s=/([\:\-\_]+(.))/g,a=/^moz([A-Z])/;r.titleCase=n,r.camelCase=u,r.trim=c});
/*ramajs/core/UIEventDispatcher*/
define("ramajs/core/UIEventDispatcher",function(e,t,n){"use strict";var i=function(){function e(e){this.eventListenersDictionary={},this.__setElementRef(e)}return e.prototype.__setElementRef=function(e){this._element=e,this[0]=e},e.prototype.addEventListener=function(e,t,n){this._element.addEventListener(e,t,n),(void 0===this.eventListenersDictionary[e]||null===this.eventListenersDictionary[e])&&(this.eventListenersDictionary[e]=[]),t.useCapture=n,this.eventListenersDictionary[e].push(t)},e.prototype.dispatchEvent=function(e){return this._element.dispatchEvent(e),!e.defaultPrevented},e.prototype.removeEventListener=function(e,t,n){if(this._element.removeEventListener(e,t,n),void 0!==this.eventListenersDictionary[e]&&null!==this.eventListenersDictionary[e]){var i=this.eventListenersDictionary[e].indexOf(t);i>-1&&this.eventListenersDictionary[e].splice(i,1),this.eventListenersDictionary[e].length<=0&&(this.eventListenersDictionary[e]=null)}},e.prototype.hasEventListener=function(e){return void 0!==this.eventListenersDictionary[e]&&null!==this.eventListenersDictionary[e]},e.prototype.removeAllEventListeners=function(){for(var e in this.eventListenersDictionary)if(null!==this.eventListenersDictionary[e])for(var t=this.eventListenersDictionary[e].length-1;t>=0;t-=1){var n=this.eventListenersDictionary[e][t];this.removeEventListener(e,n,n.useCapture)}},e}();t.UIEventDispatcher=i});
/*ramajs/core/UIElement*/
define("ramajs/core/UIElement",function(t,e,i){"use strict";var n=this&&this.__extends||function(t,e){function i(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)};t("ramajs/core/pollyfills");var r=t("ramajs/core/utils/string-utils"),o=t("ramajs/core/UIEventDispatcher"),s=function(t){function e(e){var i=e;"string"==typeof e&&(i=document.createElement(e)),t.call(this,i),this._initialized=!1,this._children=[],this._currentState=""}return n(e,t),e.prototype.getCurrentState=function(){return this._currentState},e.prototype.setCurrentState=function(t){this._currentState!==t&&(this._currentState=t,this.validateState())},e.prototype.initialize=function(){this._initialized||(this.__preInitialize(),this.preInitialize(),this.createChildren(),this.childrenCreated(),this._initialized=!0,this.initialized())},e.prototype.__preInitialize=function(){},e.prototype.preInitialize=function(){},e.prototype.initialized=function(){},e.prototype.preAttach=function(){},e.prototype.attached=function(){},e.prototype.preDetach=function(){},e.prototype.detached=function(){},e.prototype.getElementRef=function(){return this._element},e.prototype.setChildren=function(t){},e.prototype.getChildren=function(){return this._children},e.prototype.appendChild=function(t){this.appendChildAt(t,this._children.length)},e.prototype.appendChildAt=function(t,e){-1===e&&(e=0),this.initializeAndAppendElement(t,e)},e.prototype.initializeAndAppendElement=function(t,e){if(t.parentElement=this,t.initialize(),t.preAttach(),this._children.length<=0||e>this._children.length-1)this._element.appendChild(t.getElementRef());else{var i=this._children[e].getElementRef();this._element.insertBefore(t.getElementRef(),i)}t.attached(),this._children.splice(e,0,t)},e.prototype.removeChild=function(t){t.preDetach(),this._children.splice(this._children.indexOf(t),1),this._element.removeChild(t.getElementRef()),t.detached()},e.prototype.removeAllChildren=function(){for(;this._children.length>0;)this.removeChild(this._children[0])},e.prototype.setAttribute=function(t,e){var i="set"+r.titleCase(t);this[i]?this[i](e):this[t]=e;var n=new RegExp("^on");n.test(t)&&this.addEventListener(t.substring(2),e),this._element instanceof Element&&"string"==typeof e&&this._element.setAttribute(t,e)},e.prototype.getAttribute=function(t){return this._element instanceof Element?this._element.getAttribute(t):null},e.prototype.isInitialized=function(){return this._initialized},e.prototype.createChildren=function(){},e.prototype.childrenCreated=function(){},e.prototype.validateState=function(){},e.prototype.hasClass=function(t){return this.getAttribute?(" "+(this.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1},e.prototype.removeClasses=function(t){var e=this;t&&t.forEach(function(t){e.setAttribute("class",e.trim((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+e.trim(t)+" "," ")))},this)},e.prototype.addClasses=function(t){var e=this;if(t){var i=(" "+(this.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");t.forEach(function(t){t=e.trim(t),-1===i.indexOf(" "+t+" ")&&(i+=t+" ")}),this[0].setAttribute("class",this.trim(i))}},e.prototype.toggleClasses=function(t){var e=this;t&&t.forEach(function(t){var i=!e.hasClass(t);i?e.addClasses([t]):e.removeClasses([t])})},e.prototype.trim=function(t){return null==t?"":(t+"").replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},e}(o.UIEventDispatcher);e.UIElement=s});
/*ramajs/core/support_classes/PropertySetter*/
define("ramajs/core/support_classes/PropertySetter",function(t,e,r){"use strict";var i=function(){function t(t,e,r){this._target=null,this._name=null,this._value=null,this.oldValue=null,this._target=t,this._name=e,this._value=r}return Object.defineProperty(t.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),t.prototype.apply=function(){this._target&&(this.oldValue=this._target.getAttribute(this._name),this.oldValue||(this.oldValue=""),this._target.setAttribute(this._name,this._value))},t.prototype.remove=function(){this._target&&this._target.setAttribute(this._name,this.oldValue)},t}();e.PropertySetter=i});
/*ramajs/core/GroupBase*/
define("ramajs/core/GroupBase",function(e,t,n){"use strict";var i=this&&this.__extends||function(e,t){function n(){this.constructor=e}for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},r=e("ramajs/core/UIElement"),h=function(e){function t(){e.apply(this,arguments)}return i(t,e),t.prototype.setChildren=function(e){return this._initialized?(this.removeAllChildren(),this._children=e,void this.createChildren()):void(this._children=e)},t.prototype.createChildren=function(){if(this._children&&this._children.length>0){for(var e=document.createDocumentFragment(),t=0;t<this._children.length;t++){var n=this._children[t];n.parentElement=this,n.initialize(),n.preAttach(),e.appendChild(n.getElementRef()),n.attached()}this._element.appendChild(e)}},t}(r.UIElement);t.GroupBase=h});
/*ramajs/core/DOMElement*/
define("ramajs/core/DOMElement",function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},o=t("ramajs/core/GroupBase"),s=function(t){function e(){t.apply(this,arguments)}return r(e,t),e}(o.GroupBase);e.DOMElement=s});
/*ramajs/core/collections/Dictionary*/
define("ramajs/core/collections/Dictionary",function(t,r,i){"use strict";var e=function(){function t(){this.dictionaryArray=[]}return t.prototype.get=function(t){var r=this.getKeyItem(t);return void 0!==r?r.value:null},t.prototype.set=function(t,r){var i=this.getKeyItem(t);void 0!==i?i.value=r:this.dictionaryArray.push({key:t,value:r})},t.prototype.remove=function(t,r){for(var i=0;i<this.dictionaryArray.length;i++){var e=this.dictionaryArray[i];if(e.key===t){this.dictionaryArray.splice(i,1);break}}},t.prototype.hasKey=function(t){var r=this.getKeyItem(t);return void 0!==r},t.prototype.getKeyItem=function(t){for(var r=0;r<this.dictionaryArray.length;r++){var i=this.dictionaryArray[r];if(i.key===t)return i}},t}();r.Dictionary=e});
/*ramajs/core/utils/dom*/
define("ramajs/core/utils/dom",function(e,t,r){"use strict";function n(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a={},o={};for(var s in t){var i=s.split("__");if(2==i.length){var p=i[1];void 0===o[p]&&(o[p]={}),o[p][i[0]]=t[s]}else a[s]=t[s]}return{type:e,children:r,props:a,stateManagedProps:o}}function a(e,t,r){var n,c;if(c="string"==typeof e?{type:"text",text:e}:e,"text"==c.type){var u=document.createTextNode(c.text);return new l.DOMElement(u)}if("string"==typeof c.type){var v=document.createElement(c.type);n=new l.DOMElement(v)}else n=new c.type;if(!(n instanceof p.UIElement))throw TypeError("Custom Component Class must extend UIElement.\n"+n.toString());if(c.props)for(var m in c.props)n.setAttribute(m,c.props[m]);var d=c.children;if(d){for(var y=[],g=0;g<d.length;g++){var h=a(d[g],t,r);if(h){var E=d[g];if("string"!=typeof d[g]&&"string"==typeof E.type){var M="set"+f.titleCase(E.type);n[M]?n[M](h.getChildren()):y.push(h)}else y.push(h)}}n.setChildren(y)}return s(t,c.props,n),i(n,r,c.stateManagedProps),o(n,c.props),n}function o(e,r){var n=t.eventMetadata.get(e.constructor);n&&n.forEach(function(t){r[t]&&e.addEventListener(t,r[t])})}function s(e,t,r){e&&t&&t.id&&(e[t.id]=r)}function i(e,t,r){if(t&&r)for(var n in r){void 0===t[n]&&(t[n]=[]);var a=r[n];for(var o in a){var s=new c.PropertySetter(e,o,a[o]);t[n].push(s)}}}var p=e("ramajs/core/UIElement"),c=e("ramajs/core/support_classes/PropertySetter"),f=e("ramajs/core/utils/string-utils"),l=e("ramajs/core/DOMElement"),u=e("ramajs/core/collections/Dictionary");t.eventMetadata=new u.Dictionary,t.createVNode=n,t.createElement=a});
/*ramajs/core/ModelEventDispatcher*/
define("ramajs/core/ModelEventDispatcher",function(t,e,n){"use strict";var r=function(){function t(t,e){this._handler=t,this._context=e}return Object.defineProperty(t.prototype,"handler",{get:function(){return this._handler},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._context},enumerable:!0,configurable:!0}),t}(),o=function(){function t(){this.handlers={}}return t.prototype.dispatchEvent=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r,o;if(o="string"==typeof t?t:t.type,r=this.getHandlers(o))for(var i=0;i<r.length;i++){var s=r[i];"string"==typeof t?(a=s.handler).call.apply(a,[s.context].concat(e)):s.handler.call(s.context,t)}var a},t.prototype.addEventListener=function(t,e,n){this.toggleSubscription(t,e,!0,n)},t.prototype.removeEventListener=function(t,e){this.toggleSubscription(t,e,!1)},t.prototype.removeAllEventListeners=function(t){this.handlers[t]=[]},t.prototype.toggleSubscription=function(t,e,n,o){for(var i=this.getHandlers(t),s=0;s<i.length;s++){var a=i[s];if(a.handler===e)return void(n===!1&&i.splice(i.indexOf(a),1))}i.push(new r(e,o))},t.prototype.getHandlers=function(t){var e;return e=this.handlers[t],(null===e||void 0===e)&&(this.handlers[t]=e=[]),e},t.prototype.hasEventListener=function(t){return void 0!==this.handlers[t]&&this.handlers[t].length>0},t}();e.ModelEventDispatcher=o});
/*ramajs/core/event*/
define("ramajs/core/event",function(t,e,n){"use strict";var i=function(){function t(t,e,n){this.bubbles=t,this.cancelable=e,this.detail=n}return t}();e.REventInit=i;var r=function(){function t(t){this._type=t}return Object.defineProperty(t.prototype,"type",{get:function(){return this._type},enumerable:!0,configurable:!0}),t}();e.REvent=r});
/*ramajs/core/collections/events/CollectionEvent*/
define("ramajs/core/collections/events/CollectionEvent",function(t,e,n){"use strict";var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=t("ramajs/core/event");e.CollectionEventKind={ADD:"add",MOVE:"move",REMOVE:"remove",REPLACE:"replace",EXPAND:"expand",REFRESH:"refresh",RESET:"reset",UPDATE:"update"};var r=function(t){function e(e,n,o,i,r){t.call(this,e),this.kind=n,this.location=o,this.oldLocation=i,this.items=r?r:[]}return o(e,t),e}(i.REvent);e.CollectionEvent=r});
/*ramajs/core/collections/ArrayList*/
define("ramajs/core/collections/ArrayList",function(t,e,n){"use strict";var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=t("ramajs/core/collections/events/CollectionEvent"),s=t("ramajs/core/collections/events/CollectionEvent"),r=t("ramajs/core/ModelEventDispatcher"),c=function(t){function e(e){t.call(this),this._dispatchEvents=0,this._source=null,this.disableEvents(),this.setSource(e),this.enableEvents()}return o(e,t),e.prototype.getSource=function(){return this._source},e.prototype.setSource=function(t){if(this._source=t?t:[],0==this._dispatchEvents){var e=new i.CollectionEvent(i.CollectionEvent.COLLECTION_CHANGE,s.CollectionEventKind.RESET);this.dispatchEvent(e)}},Object.defineProperty(e.prototype,"length",{get:function(){return this._source?this._source.length:0},enumerable:!0,configurable:!0}),e.prototype.addItem=function(t){this.addItemAt(t,this.length)},e.prototype.addItemAt=function(t,e){if(0>e||e>this.length){var n="Index out of bounds Exception: Specified index "+e+"is out of bounds forthis collection of length "+this.length;throw new RangeError(n)}this._source.splice(e,0,t),this.internalDispatchEvent(s.CollectionEventKind.ADD,t,e)},e.prototype.addAll=function(t){this.addAllAt(t,this.length)},e.prototype.addAllAt=function(t,e){for(var n=t.length,o=0;n>o;o++)this.addItemAt(t[o],o+e)},e.prototype.getItemIndex=function(t){return this._source.indexOf(t)},e.prototype.removeItem=function(t){var e=this.getItemIndex(t),n=e>=0;return n&&this.removeItemAt(e),n},e.prototype.removeItemAt=function(t){if(0>t||t>=this.length){var e="Index out of bounds Exception: Specified index "+t+"is out of bounds forthis collection of length "+this.length;throw new RangeError(e)}var n=this._source.splice(t,1)[0];return this.internalDispatchEvent(s.CollectionEventKind.REMOVE,n,t),n},e.prototype.removeAll=function(){this.length>0&&(this._source.splice(0,this.length),this.internalDispatchEvent(s.CollectionEventKind.RESET))},e.prototype.toArray=function(){return this._source.concat()},e.prototype.toString=function(){return this._source.toString()},e.prototype.getItemAt=function(t){if(0>t||t>=this.length){var e="Index out of bounds Exception: Specified index "+t+"is out of bounds forthis collection of length "+this.length;throw new RangeError(e)}return this._source[t]},e.prototype.setItemAt=function(t,e){if(0>e||e>=this.length){var n="Index out of bounds Exception: Specified index "+e+"is out of bounds forthis collection of length "+this.length;throw new RangeError(n)}var o=this._source[e];if(this._source[e]=t,0==this._dispatchEvents){var r=this.hasEventListener(i.CollectionEvent.COLLECTION_CHANGE);if(r){var c=new i.CollectionEvent(i.CollectionEvent.COLLECTION_CHANGE);c.kind=s.CollectionEventKind.REPLACE,c.location=e;var h={};h.oldValue=o,h.newValue=t,h.property=e,c.items.push(h),this.dispatchEvent(c)}}return o},e.prototype.refresh=function(){var t=new i.CollectionEvent(i.CollectionEvent.COLLECTION_CHANGE);t.kind=s.CollectionEventKind.REFRESH,this.dispatchEvent(t)},e.prototype.forEach=function(t,e){for(var n=0;n<this.length;n++)t.call(e,this._source[n])},e.prototype.internalDispatchEvent=function(t,e,n){if(0==this._dispatchEvents&&this.hasEventListener(i.CollectionEvent.COLLECTION_CHANGE)){var o=new i.CollectionEvent(i.CollectionEvent.COLLECTION_CHANGE,t,n);o.items.push(e),this.dispatchEvent(o)}},e.prototype.enableEvents=function(){this._dispatchEvents++,this._dispatchEvents>0&&(this._dispatchEvents=0)},e.prototype.disableEvents=function(){this._dispatchEvents--},e}(r.ModelEventDispatcher);e.ArrayList=c});
/*ramajs/core/collections/ArrayCollection*/
define("ramajs/core/collections/ArrayCollection",function(t,e,i){"use strict";var n=this&&this.__extends||function(t,e){function i(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)},o=t("ramajs/core/ModelEventDispatcher"),r=t("ramajs/core/collections/ArrayList"),l=t("ramajs/core/collections/events/CollectionEvent"),s=function(t){function e(e,i,n){t.call(this),this._filterFunction=i,this._sortFunction=n,this.setSource(e)}return n(e,t),Object.defineProperty(e.prototype,"sortFunction",{get:function(){return this._sortFunction},set:function(t){this._sortFunction=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"filterFunction",{get:function(){return this._filterFunction},set:function(t){this._filterFunction=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"length",{get:function(){return this._localIndex?this._localIndex.length:this._list?this._list.length:0},enumerable:!0,configurable:!0}),e.prototype.setSource=function(t){var e=this;this._list&&this._list.getSource()===t||(this._list=new r.ArrayList(t),this.internalRefresh(!1),this._list.addEventListener(l.CollectionEvent.COLLECTION_CHANGE,function(t){e.dataProvider_collectionChangeHandler(t)}))},e.prototype.getSource=function(){return this._list?this._list.getSource():null},e.prototype.addItem=function(t){this.addItemAt(t,this.length)},e.prototype.addItemAt=function(t,e){if(0>e||e>this.length){var i="Index out of bounds Exception: Specified index "+e+"is out of bounds forthis collection of length "+this.length;throw new RangeError(i)}var n=e;this._localIndex&&this._sortFunction?n=this._list.length:this._localIndex&&null!=this._filterFunction&&(n=n==this._localIndex.length?this._list.length:this._list.getItemIndex(this._localIndex[e])),this._list.addItemAt(t,n)},e.prototype.addAll=function(t){this.addAllAt(t,this.length)},e.prototype.addAllAt=function(t,e){for(var i=t.length,n=0;i>n;n++)this.addItemAt(t[n],n+e)},e.prototype.getItemIndex=function(t){var e;if(this._localIndex){var i=this._localIndex.length;for(e=0;i>e;e++)if(this._localIndex[e]==t)return e;return-1}return this._list.getItemIndex(t)},e.prototype.removeItem=function(t){var e=this.getItemIndex(t),i=e>=0;return i&&this.removeItemAt(e),i},e.prototype.removeItemAt=function(t){if(0>t||t>=this.length){var e="Index out of bounds Exception: Specified index "+t+"is out of bounds forthis collection of length "+this.length;throw new RangeError(e)}var i=t;if(this._localIndex){var n=this._localIndex[t];i=this._list.getItemIndex(n),this._localIndex.splice(t,1)}return this._list.removeItemAt(i)},e.prototype.removeAll=function(){var t=this.length;if(t>0)if(this._localIndex)for(var e=t-1;e>=0;e--)this.removeItemAt(e);else this._list.removeAll()},e.prototype.toArray=function(){var t;return t=this._localIndex?this._localIndex.concat():this._list.toArray()},e.prototype.toString=function(){return this._localIndex?this._localIndex.toString():this._list&&this._list.toString?this._list.toString():void this.toString()},e.prototype.getItemAt=function(t){if(0>t||t>=this.length){var e="Index out of bounds Exception: Specified index "+t+"is out of bounds forthis collection of length "+this.length;throw new RangeError(e)}return this._localIndex?this._localIndex[t]:this._list?this._list.getItemAt(t):null},e.prototype.setItemAt=function(t,e){if(0>e||e>=this.length){var i="Index out of bounds Exception: Specified index "+e+"is out of bounds forthis collection of length "+this.length;throw new RangeError(i)}var n=e;if(this._localIndex){var o=this._localIndex[e];n=this._list.getItemIndex(o),this._localIndex[e]=t}return this._list.setItemAt(t,n)},e.prototype.refresh=function(){this.internalRefresh(!0)},e.prototype.forEach=function(t,e){for(var i=0;i<this.length;i++)t.call(e,this.getItemAt(i))},e.prototype.dataProvider_collectionChangeHandler=function(t){var e=new l.CollectionEvent(l.CollectionEvent.COLLECTION_CHANGE);for(var i in e)t.hasOwnProperty(i)&&(e[i]=t[i]);this.dispatchEvent(e)},e.prototype.internalRefresh=function(t){if(this._sortFunction||this._filterFunction){if(this._list?this._localIndex=this._list.toArray():this._localIndex=[],null!=this._filterFunction){for(var e=[],i=this._localIndex.length,n=0;i>n;n++){var o=this._localIndex[n];this._filterFunction(o)&&e.push(o)}this._localIndex=e}this._sortFunction&&(this._localIndex.sort(this._sortFunction),t=!0)}else this._localIndex&&(this._localIndex=null);t&&this._list.refresh()},e}(o.ModelEventDispatcher);e.ArrayCollection=s});
/*ramajs/decorators*/
define("ramajs/decorators",function(t,e,n){"use strict";function a(t){return void 0===t&&(t=!1),function(e,n){e.skinParts||(e.skinParts={}),e.skinParts[n]={required:t}}}function r(t){return function(e){i.eventMetadata.get(e)||i.eventMetadata.set(e,[]);var n=i.eventMetadata.get(e);-1==n.indexOf(t)&&n.push(t)}}var i=t("ramajs/core/utils/dom");e.skinPart=a,e.event=r});
/*ramajs/core/support_classes/State*/
define("ramajs/core/support_classes/State",function(t,e,r){"use strict";var i=t("ramajs/core/utils/string-utils"),n=function(){function t(t,e){var r=this;if(this.propertySetters=[],this._stateGroups=[],this._name=t,e){var n=e.split(",");n.forEach(function(t){r._stateGroups.push(i.trim(t))})}}return Object.defineProperty(t.prototype,"stateGroups",{get:function(){return this._stateGroups},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),t.prototype.initialize=function(){this._initialized||(this._initialized=!0)},t.prototype.apply=function(){for(var t=0;t<this.propertySetters.length;t++){var e=this.propertySetters[t];e.target[e.name]=e.value}},t}();e.State=n});
/*ramajs/core/ViewBase*/
define("ramajs/core/ViewBase",function(t,e,r){"use strict";var i=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},n=t("ramajs/core/utils/dom"),o=t("ramajs/core/support_classes/State"),s=t("ramajs/core/UIElement"),a=function(t){function e(){t.call(this),this._viewStates=[],this._stateManagedProperties={},this._tempAttributes={}}return i(e,t),e.prototype.__preInitialize=function(){var t=this;this.parse(),this._viewStates.forEach(function(e){t._stateManagedProperties.hasOwnProperty(e.name)&&e.propertySetters.push.apply(e.propertySetters,t._stateManagedProperties[e.name]),e.stateGroups.forEach(function(r){t._stateManagedProperties.hasOwnProperty(r)&&e.propertySetters.push.apply(e.propertySetters,t._stateManagedProperties[r])})})},e.prototype.initialized=function(){this.setCurrentState(this._tempCurrentState)},e.prototype.setChildren=function(t){return this._initialized?(this._children=t,void this.createChildren()):void(this._children=t)},e.prototype.getChildren=function(){return this.rootElement.getChildren()},e.prototype.removeChild=function(t){this.rootElement.removeChild(t)},e.prototype.removeAllChildren=function(){this.rootElement.removeAllChildren()},e.prototype.appendChildAt=function(t,e){this.rootElement.appendChildAt(t,e)},e.prototype.appendChild=function(t){this.rootElement.appendChild(t)},e.prototype.setAttribute=function(t,e){return this.rootElement?void this.rootElement.setAttribute(t,e):void(this._tempAttributes[t]=e)},e.prototype.getAttribute=function(t){return this.rootElement.getAttribute(t)},e.prototype.createChildren=function(){this._children&&this._children.length>0&&this.rootElement.setChildren(this._children);for(var t in this._tempAttributes)this.rootElement.setAttribute(t,this._tempAttributes[t]);this.rootElement.initialize()},e.prototype.parse=function(){var t,e=this.render();if((null===e||void 0===e)&&(e={type:"div"}),e.children)for(var r=0;r<e.children.length;r++){var i=e.children[r];if("string"!=typeof i&&"states"===i.type){t=i,e.children.splice(r,1);break}}if(t&&t.children)for(var s=0;s<t.children.length;s++){var a=t.children[s];if("string"==typeof a)return;if(a.props&&null!==a.props.name&&void 0!==a.props.name){var p=new o.State(a.props.name,a.props.stateGroups);this._viewStates.push(p)}}this.rootElement=n.createElement(e,this,this._stateManagedProperties),this.__setElementRef(this.rootElement.getElementRef())},e.prototype.hasState=function(t){for(var e=0;e<this._viewStates.length;e++)if(this._viewStates[e].name==t)return!0;return!1},e.prototype.getCurrentState=function(){return this.initialized?this._currentState:this._tempCurrentState},e.prototype.setCurrentState=function(t){var e=this.getState(this._currentState);if(this._initialized)if(this.isBaseState(t))this.removeState(e),this._currentState=t;else{var r=this.getState(t);this.initializeState(t),this.removeState(e),this._currentState=t,this.applyState(r)}else this._tempCurrentState=t},e.prototype.isBaseState=function(t){return!t||""==t},e.prototype.initializeState=function(t){var e=this.getState(t);e&&e.initialize()},e.prototype.removeState=function(t){if(t)for(var e=0;e<t.propertySetters.length;e++)t.propertySetters[e].remove()},e.prototype.applyState=function(t){if(t)for(var e=0;e<t.propertySetters.length;e++)t.propertySetters[e].apply()},e.prototype.getState=function(t){if(!this._viewStates||this.isBaseState(t))return null;for(var e=0;e<this._viewStates.length;e++)if(this._viewStates[e].name==t)return this._viewStates[e];throw new ReferenceError("State not Found Exception: The state '"+t+"' being set on the component is not found in the skin")},e}(s.UIElement);e.ViewBase=a});
/*ramajs/View*/
define("ramajs/View",function(t,e,n){"use strict";var r=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},i=t("ramajs/core/ViewBase"),o=function(t){function e(){t.apply(this,arguments)}return r(e,t),e}(i.ViewBase);e.View=o});
/*ramajs/Skin*/
define("ramajs/Skin",function(t,n,e){"use strict";var r=this&&this.__extends||function(t,n){function e(){this.constructor=t}for(var r in n)n.hasOwnProperty(r)&&(t[r]=n[r]);t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)},i=t("ramajs/core/ViewBase"),o=function(t){function n(){t.apply(this,arguments)}return r(n,t),n.prototype.getSkinPartByID=function(t){var n=this[t];return n?n:null},n}(i.ViewBase);n.Skin=o});
/*ramajs/Group*/
define("ramajs/Group",function(t,r,o){"use strict";var n=this&&this.__extends||function(t,r){function o(){this.constructor=t}for(var n in r)r.hasOwnProperty(n)&&(t[n]=r[n]);t.prototype=null===r?Object.create(r):(o.prototype=r.prototype,new o)},e=t("ramajs/core/GroupBase"),i=function(t){function r(){t.call(this,"div")}return n(r,t),r}(e.GroupBase);r.Group=i});
/*ramajs/Component*/
define("ramajs/Component",function(t,i,n){"use strict";var e=this&&this.__extends||function(t,i){function n(){this.constructor=t}for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e]);t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)},s=t("ramajs/core/UIElement"),a=function(t){function i(i){var n;i||(n="div"),t.call(this,n)}return e(i,t),i.prototype.detached=function(){this.detachSkin()},i.prototype.setSkinClass=function(t){this._skinClass!==t&&(this._skinClass=t,this._initialized&&this.validateSkinChange())},i.prototype.partAdded=function(t,i){},i.prototype.partRemoved=function(t,i){},i.prototype.createChildren=function(){this.validateSkinChange()},i.prototype.validateSkinChange=function(){this._skinElement&&this.detachSkin(),this.attachSkin()},i.prototype.attachSkin=function(){this._skinClass&&(this._skinElement=new this._skinClass,this.initializeAndAppendElement(this._skinElement,0),this.findSkinParts(),this.validateSkinState())},i.prototype.validateState=function(){this.validateSkinState()},i.prototype.validateSkinState=function(){this._skinElement&&this._skinElement.setCurrentState(this.getCurrentState())},i.prototype.detachSkin=function(){this._skinElement&&(this.clearSkinParts(),this.removeChild(this._skinElement))},i.prototype.findSkinParts=function(){if(this._skinElement)for(var t in this.skinParts){var i=this.skinParts[t],n=!1,e=this._skinElement.getSkinPartByID(t);if(e&&(n=!0,this[t]=e,this.partAdded(t,e)),i.required===!0&&!n)throw new ReferenceError("Required Skin part not found: "+t+" in the Attached skin")}},i.prototype.clearSkinParts=function(){if(this._skinElement)for(var t in this.skinParts){this.skinParts[t];null!==this[t]&&this.partRemoved(t,this[t])}},i.prototype.appendChild=function(t){},i.prototype.appendChildAt=function(t,i){},i}(s.UIElement);i.Component=a});
/*ramajs/Container*/
define("ramajs/Container",function(t,e,n){"use strict";var o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var o in e)e.hasOwnProperty(o)&&(t[o]=e[o]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},r=this&&this.__decorate||function(t,e,n,o){var r,i=arguments.length,p=3>i?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)p=Reflect.decorate(t,e,n,o);else for(var c=t.length-1;c>=0;c--)(r=t[c])&&(p=(3>i?r(p):i>3?r(e,n,p):r(e,n))||p);return i>3&&p&&Object.defineProperty(e,n,p),p},i=this&&this.__metadata||function(t,e){return"object"==typeof Reflect&&"function"==typeof Reflect.metadata?Reflect.metadata(t,e):void 0},p=t("ramajs/Component"),c=t("ramajs/core/GroupBase"),s=t("ramajs/decorators"),h=function(t){function e(){t.apply(this,arguments)}return o(e,t),e.prototype.getChildren=function(){return this.contentGroup?this.contentGroup.getChildren():this._tempChildren},e.prototype.setChildren=function(t){this._tempChildren=t,this.contentGroup&&this.contentGroup.setChildren(this._tempChildren)},e.prototype.partAdded=function(e,n){t.prototype.partAdded.call(this,e,n),n===this.contentGroup&&this.contentGroup.setChildren(this._tempChildren)},e.prototype.removeChild=function(t){this.contentGroup&&this.contentGroup.removeChild(t)},e.prototype.removeAllChildren=function(){this.contentGroup&&this.contentGroup.removeAllChildren()},e.prototype.appendChildAt=function(t,e){this.contentGroup&&this.contentGroup.appendChildAt(t,e)},e.prototype.appendChild=function(t){this.contentGroup&&this.contentGroup.appendChild(t)},r([s.skinPart(!1),i("design:type",c.GroupBase)],e.prototype,"contentGroup",void 0),e}(p.Component);e.Container=h});
/*ramajs/index*/
define("ramajs/index",function(a,r,e){"use strict";function n(a){for(var e in a)r.hasOwnProperty(e)||(r[e]=a[e])}var o=a("ramajs/core/utils/dom"),s=a("ramajs/core/DOMElement");r.rama={createElement:o.createVNode},r.render=function(a,r){r.innerHTML="";var e=new a;e.initialize();var n=new s.DOMElement(r);n.appendChild(e)},n(a("ramajs/core/utils/dom")),n(a("ramajs/core/UIElement")),n(a("ramajs/core/UIEventDispatcher")),n(a("ramajs/core/ModelEventDispatcher")),n(a("ramajs/core/UIElement")),n(a("ramajs/core/collections/ArrayCollection")),n(a("ramajs/core/collections/ArrayList")),n(a("ramajs/core/collections/Dictionary")),n(a("ramajs/decorators")),n(a("ramajs/View")),n(a("ramajs/Skin")),n(a("ramajs/Group")),n(a("ramajs/Component")),n(a("ramajs/Container"))});
/*[global-shim-end]*/
!function(){window._define=window.define,window.define=window.define.orig}();

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc