/*Line 201 - 'AtomAutoCompleteBox.js'
486219
function (e) {
/*Line 202 - 'AtomAutoCompleteBox.js' */                var se = this._element;
/*Line 203 - 'AtomAutoCompleteBox.js' */                var p = this._itemsPresenter;
/*Line 204 - 'AtomAutoCompleteBox.js' */                var childElement = e.target;
/*Line 205 - 'AtomAutoCompleteBox.js' */                while (childElement.parentNode != null && childElement != se && childElement != p)
/*Line 206 - 'AtomAutoCompleteBox.js' */                    childElement = childElement.parentNode;
/*Line 207 - 'AtomAutoCompleteBox.js' */                if (childElement == se || childElement == p)
/*Line 208 - 'AtomAutoCompleteBox.js' */                    return;
/*Line 209 - 'AtomAutoCompleteBox.js' */                // close popup....
/*Line 210 - 'AtomAutoCompleteBox.js' */                this.restoreSelection();

/*Line 212 - 'AtomAutoCompleteBox.js' */            }
149777
function () {
/*Line 20 - 'AtomTabControl.js' */               baseType.createChildren.call(this);

/*Line 22 - 'AtomTabControl.js' */                if (this._itemsPresenter != this._element) {


/*Line 25 - 'AtomTabControl.js' */                    var children = [];

/*Line 27 - 'AtomTabControl.js' */                    var ae = new ChildEnumerator(this._element);
/*Line 28 - 'AtomTabControl.js' */                    while (ae.next()) {
/*Line 29 - 'AtomTabControl.js' */                        var c = ae.current();
/*Line 30 - 'AtomTabControl.js' */                        this._element.removeChild(c);
/*Line 31 - 'AtomTabControl.js' */                        children.push(c);
/*Line 32 - 'AtomTabControl.js' */                    }

/*Line 34 - 'AtomTabControl.js' */                    if (this._template) {
/*Line 35 - 'AtomTabControl.js' */                        var t = AtomUI.cloneNode(this._template);
/*Line 36 - 'AtomTabControl.js' */                        t._templateParent = this;
/*Line 37 - 'AtomTabControl.js' */                        this._element.appendChild(t);
/*Line 38 - 'AtomTabControl.js' */                        this.onCreateChildren(this._element);
/*Line 39 - 'AtomTabControl.js' */                    }

/*Line 41 - 'AtomTabControl.js' */                    ae = new AtomEnumerator(children);
/*Line 42 - 'AtomTabControl.js' */                    while (ae.next()) {
/*Line 43 - 'AtomTabControl.js' */                        this._itemsPresenter.appendChild(ae.current());
/*Line 44 - 'AtomTabControl.js' */                    }
/*Line 45 - 'AtomTabControl.js' */                    if (this._template) {
/*Line 46 - 'AtomTabControl.js' */                        this.onCreateChildren(this._itemsPresenter);
/*Line 47 - 'AtomTabControl.js' */                    }

/*Line 49 - 'AtomTabControl.js' */                }

/*Line 51 - 'AtomTabControl.js' */            }
1202709
function (ctrl, p) {
/*Line 336 - 'AtomUI.js' */        if (ctrl._presenters) {
/*Line 337 - 'AtomUI.js' */            var ae = new AtomEnumerator(ctrl._presenters);
/*Line 338 - 'AtomUI.js' */            while (ae.next()) {
/*Line 339 - 'AtomUI.js' */                var c = ae.current();
/*Line 340 - 'AtomUI.js' */                if (c == p)
/*Line 341 - 'AtomUI.js' */                    return ctrl;
/*Line 342 - 'AtomUI.js' */            }
/*Line 343 - 'AtomUI.js' */        }
/*Line 344 - 'AtomUI.js' */        return this.getPresenterOwner(ctrl.get_atomParent(), p);
/*Line 345 - 'AtomUI.js' */    }
1270754
function (e) {

/*Line 101 - 'AtomAutoCompleteBox.js' */                AtomBinder.setValue(this, "isPopupOpen", true);

/*Line 103 - 'AtomAutoCompleteBox.js' */                switch (e.keyCode) {
/*Line 104 - 'AtomAutoCompleteBox.js' */                    case 27:
/*Line 105 - 'AtomAutoCompleteBox.js' */                        AtomBinder.setValue(this, "keyPressed", false);
/*Line 106 - 'AtomAutoCompleteBox.js' */                        this.restoreSelection();
/*Line 107 - 'AtomAutoCompleteBox.js' */                        return;
/*Line 108 - 'AtomAutoCompleteBox.js' */                    case 13:
/*Line 109 - 'AtomAutoCompleteBox.js' */                        AtomBinder.setValue(this, "keyPressed", false);
/*Line 110 - 'AtomAutoCompleteBox.js' */                        AtomBinder.setValue(this, "isPopupOpen", false);
/*Line 111 - 'AtomAutoCompleteBox.js' */                        this._backupValue = this.get_value();
/*Line 112 - 'AtomAutoCompleteBox.js' */                        this.refreshLabel();
/*Line 113 - 'AtomAutoCompleteBox.js' */                        this._backupLabel = this.get_displayLabel();
/*Line 114 - 'AtomAutoCompleteBox.js' */                        return AtomUI.cancelEvent(e);
/*Line 115 - 'AtomAutoCompleteBox.js' */                    case 37:
/*Line 116 - 'AtomAutoCompleteBox.js' */                        // Left
/*Line 117 - 'AtomAutoCompleteBox.js' */                        break;
/*Line 118 - 'AtomAutoCompleteBox.js' */                    case 38:
/*Line 119 - 'AtomAutoCompleteBox.js' */                        // up
/*Line 120 - 'AtomAutoCompleteBox.js' */                        AtomBinder.setValue(this, "keyPressed", false);
/*Line 121 - 'AtomAutoCompleteBox.js' */                        this.moveSelection(true);
/*Line 122 - 'AtomAutoCompleteBox.js' */                        return;
/*Line 123 - 'AtomAutoCompleteBox.js' */                    case 39:
/*Line 124 - 'AtomAutoCompleteBox.js' */                        // right
/*Line 125 - 'AtomAutoCompleteBox.js' */                        break;
/*Line 126 - 'AtomAutoCompleteBox.js' */                    case 40:
/*Line 127 - 'AtomAutoCompleteBox.js' */                        AtomBinder.setValue(this, "keyPressed", false);
/*Line 128 - 'AtomAutoCompleteBox.js' */                        this.moveSelection(false);
/*Line 129 - 'AtomAutoCompleteBox.js' */                        return;
/*Line 130 - 'AtomAutoCompleteBox.js' */                    default:
/*Line 131 - 'AtomAutoCompleteBox.js' */                        // try selecting complete word...
/*Line 132 - 'AtomAutoCompleteBox.js' */                        var caller = this;
/*Line 133 - 'AtomAutoCompleteBox.js' */                        this.dispatcher.callLater(function () {
/*Line 134 - 'AtomAutoCompleteBox.js' */                            caller.trySelect();
/*Line 135 - 'AtomAutoCompleteBox.js' */                        });
/*Line 136 - 'AtomAutoCompleteBox.js' */                        break;
/*Line 137 - 'AtomAutoCompleteBox.js' */                }

/*Line 139 - 'AtomAutoCompleteBox.js' */                if (this.oldTimeout) {
/*Line 140 - 'AtomAutoCompleteBox.js' */                    clearTimeout(this.oldTimeout);
/*Line 141 - 'AtomAutoCompleteBox.js' */                }
/*Line 142 - 'AtomAutoCompleteBox.js' */                var _this = this;
/*Line 143 - 'AtomAutoCompleteBox.js' */                this.oldTimeout = setTimeout(function () {
/*Line 144 - 'AtomAutoCompleteBox.js' */                    AtomBinder.setValue(_this, "keyPressed", true);
/*Line 145 - 'AtomAutoCompleteBox.js' */                }, 500);

/*Line 147 - 'AtomAutoCompleteBox.js' */            }
1256033
function (up) {
/*Line 168 - 'AtomAutoCompleteBox.js' */                if (!this._items || !this._items.length)
/*Line 169 - 'AtomAutoCompleteBox.js' */                    return;
/*Line 170 - 'AtomAutoCompleteBox.js' */                var i = this.get_selectedIndex();

/*Line 172 - 'AtomAutoCompleteBox.js' */                if (i == -1) {
/*Line 173 - 'AtomAutoCompleteBox.js' */                    this.backupLabel = this.get_displayLabel();
/*Line 174 - 'AtomAutoCompleteBox.js' */                }

/*Line 176 - 'AtomAutoCompleteBox.js' */                i = up ? (i - 1) : (i + 1);
/*Line 177 - 'AtomAutoCompleteBox.js' */                if (up && i == -2) {
/*Line 178 - 'AtomAutoCompleteBox.js' */                    i = this._items.length - 1;
/*Line 179 - 'AtomAutoCompleteBox.js' */                }
/*Line 180 - 'AtomAutoCompleteBox.js' */                if (!up && i == this._items.length) {
/*Line 181 - 'AtomAutoCompleteBox.js' */                    i = -1;
/*Line 182 - 'AtomAutoCompleteBox.js' */                }

/*Line 184 - 'AtomAutoCompleteBox.js' */                AtomBinder.setValue(this, "selectedIndex", i);
/*Line 185 - 'AtomAutoCompleteBox.js' */                if (i == -1) {
/*Line 186 - 'AtomAutoCompleteBox.js' */                    AtomBinder.setValue(this, "displayLabel", this.backupLabel || "");
/*Line 187 - 'AtomAutoCompleteBox.js' */                } else {
/*Line 188 - 'AtomAutoCompleteBox.js' */                    this.refreshLabel();
/*Line 189 - 'AtomAutoCompleteBox.js' */                }
/*Line 190 - 'AtomAutoCompleteBox.js' */            }
309932
function () {

/*Line 250 - 'AtomAutoCompleteBox.js' */                this._itemsPresenter._logicalParent = this._element;

/*Line 252 - 'AtomAutoCompleteBox.js' */                $(this._itemsPresenter).remove();

/*Line 254 - 'AtomAutoCompleteBox.js' */                document.body.appendChild(this._itemsPresenter);

/*Line 256 - 'AtomAutoCompleteBox.js' */                $(this._itemsPresenter).addClass("auto-complete-popup");

/*Line 258 - 'AtomAutoCompleteBox.js' */                base.onCreated.apply(this, arguments);
/*Line 259 - 'AtomAutoCompleteBox.js' */                this.bindEvent(this._itemsPresenter, "mouseover", "onMouseOver");
/*Line 260 - 'AtomAutoCompleteBox.js' */                this.bindEvent(this._itemsPresenter, "mouseout", "onMouseOut");
/*Line 261 - 'AtomAutoCompleteBox.js' */            }
1353175
function () {

/*Line 311 - 'AtomItemsControl.js' */                // do not scroll for first auto select 
/*Line 312 - 'AtomItemsControl.js' */                if (this._allowSelectFirst && this.get_selectedIndex() == 0)
/*Line 313 - 'AtomItemsControl.js' */                    return;

/*Line 315 - 'AtomItemsControl.js' */                //var children = $(this._itemsPresenter).children();
/*Line 316 - 'AtomItemsControl.js' */                var ae = new ChildEnumerator(this._itemsPresenter);
/*Line 317 - 'AtomItemsControl.js' */                while (ae.next()) {
/*Line 318 - 'AtomItemsControl.js' */                    var item = ae.current();
/*Line 319 - 'AtomItemsControl.js' */                    var dataItem = item.atomControl ? item.atomControl.get_data() : item;
/*Line 320 - 'AtomItemsControl.js' */                    if (this.isSelected(dataItem)) {
/*Line 321 - 'AtomItemsControl.js' */                        item.scrollIntoView();
/*Line 322 - 'AtomItemsControl.js' */                        return;
/*Line 323 - 'AtomItemsControl.js' */                    }
/*Line 324 - 'AtomItemsControl.js' */                }
/*Line 325 - 'AtomItemsControl.js' */            }
865511
function (v) {
/*Line 83 - 'AtomItemsControl.js' */                this._value = v;
/*Line 84 - 'AtomItemsControl.js' */                if (v === undefined || v === null) {
/*Line 85 - 'AtomItemsControl.js' */                    // reset...
/*Line 86 - 'AtomItemsControl.js' */                    AtomBinder.clear(this._selectedItems);
/*Line 87 - 'AtomItemsControl.js' */                    return;
/*Line 88 - 'AtomItemsControl.js' */                }
/*Line 89 - 'AtomItemsControl.js' */                var dataItems = this.get_dataItems();
/*Line 90 - 'AtomItemsControl.js' */                if (this._allowMultipleSelection && this._valueSeparator) {
/*Line 91 - 'AtomItemsControl.js' */                    if (v.constructor != String) {
/*Line 92 - 'AtomItemsControl.js' */                        v = "" + v;
/*Line 93 - 'AtomItemsControl.js' */                    }
/*Line 94 - 'AtomItemsControl.js' */                    v = AtomArray.split(v, this._valueSeparator);
/*Line 95 - 'AtomItemsControl.js' */                } else {
/*Line 96 - 'AtomItemsControl.js' */                    v = [v];
/*Line 97 - 'AtomItemsControl.js' */                }
/*Line 98 - 'AtomItemsControl.js' */                var items = AtomArray.intersect(dataItems, this._valuePath, v);
/*Line 99 - 'AtomItemsControl.js' */                this._selectedItems.length = 0;
/*Line 100 - 'AtomItemsControl.js' */                var ae = new AtomEnumerator(items);
/*Line 101 - 'AtomItemsControl.js' */                while (ae.next()) {
/*Line 102 - 'AtomItemsControl.js' */                    this._selectedItems.push(ae.current());
/*Line 103 - 'AtomItemsControl.js' */                }
/*Line 104 - 'AtomItemsControl.js' */                AtomBinder.refreshItems(this._selectedItems);
/*Line 105 - 'AtomItemsControl.js' */            }
1120390
function (v) {
/*Line 29 - 'AtomUploadButton.js' */                this._accept = v;
/*Line 30 - 'AtomUploadButton.js' */                if (v) {
/*Line 31 - 'AtomUploadButton.js' */                    var fp = this._filePresenter;
/*Line 32 - 'AtomUploadButton.js' */                    if (fp) {
/*Line 33 - 'AtomUploadButton.js' */                        AtomUI.attr(fp, "accept", v);
/*Line 34 - 'AtomUploadButton.js' */                    }
/*Line 35 - 'AtomUploadButton.js' */                }
/*Line 36 - 'AtomUploadButton.js' */            }
1187593
function (element, v) {
/*Line 156 - 'AtomControl.js' */        var self = this;
/*Line 157 - 'AtomControl.js' */        AtomProperties.validate({
/*Line 158 - 'AtomControl.js' */            value: v,
/*Line 159 - 'AtomControl.js' */            key: "invalid",
/*Line 160 - 'AtomControl.js' */            valueFunction: function () {
/*Line 161 - 'AtomControl.js' */                return v;
/*Line 162 - 'AtomControl.js' */            },
/*Line 163 - 'AtomControl.js' */            validator: function (v) {
/*Line 164 - 'AtomControl.js' */                if (v) {
/*Line 165 - 'AtomControl.js' */                    if ($.isArray(v)) {
/*Line 166 - 'AtomControl.js' */                        return v.join(",");
/*Line 167 - 'AtomControl.js' */                    }
/*Line 168 - 'AtomControl.js' */                }
/*Line 169 - 'AtomControl.js' */                return v;
/*Line 170 - 'AtomControl.js' */            },
/*Line 171 - 'AtomControl.js' */            control: this,
/*Line 172 - 'AtomControl.js' */            element: element
/*Line 173 - 'AtomControl.js' */        });
/*Line 174 - 'AtomControl.js' */        if (this._created) {
/*Line 175 - 'AtomControl.js' */            errors.reset(element);
/*Line 176 - 'AtomControl.js' */        }
/*Line 177 - 'AtomControl.js' */    }
756970
function () {

/*Line 48 - 'AtomViewStack.js' */                var element = this._element;
/*Line 49 - 'AtomViewStack.js' */                var childEn = new ChildEnumerator(element);

/*Line 51 - 'AtomViewStack.js' */                var selectedIndex = this.get_selectedIndex();
/*Line 52 - 'AtomViewStack.js' */                var previousIndex = this._previousIndex;

/*Line 54 - 'AtomViewStack.js' */                var queue = WebAtoms.dispatcher;
/*Line 55 - 'AtomViewStack.js' */                queue.pause();

/*Line 57 - 'AtomViewStack.js' */                var i = -1;

/*Line 59 - 'AtomViewStack.js' */                var self = this;

/*Line 61 - 'AtomViewStack.js' */                var selectedElement, previousElement;

/*Line 63 - 'AtomViewStack.js' */                while (childEn.next()) {
/*Line 64 - 'AtomViewStack.js' */                    i = i + 1;
/*Line 65 - 'AtomViewStack.js' */                    var item = childEn.current();
/*Line 66 - 'AtomViewStack.js' */                    var $item = $(item);
/*Line 67 - 'AtomViewStack.js' */                    $item.addClass("view-stack-child");
/*Line 68 - 'AtomViewStack.js' */                    if (previousIndex == -1) {
/*Line 69 - 'AtomViewStack.js' */                        $item.addClass("hidden");
/*Line 70 - 'AtomViewStack.js' */                    }
/*Line 71 - 'AtomViewStack.js' */                    if (i == selectedIndex) {
/*Line 72 - 'AtomViewStack.js' */                        selectedElement = item;
/*Line 73 - 'AtomViewStack.js' */                    } else if (i == previousIndex) {
/*Line 74 - 'AtomViewStack.js' */                        previousElement = item;
/*Line 75 - 'AtomViewStack.js' */                    } else {
/*Line 76 - 'AtomViewStack.js' */                        $item.addClass("hidden");
/*Line 77 - 'AtomViewStack.js' */                    }
/*Line 78 - 'AtomViewStack.js' */                }

/*Line 80 - 'AtomViewStack.js' */                if (selectedElement) {
/*Line 81 - 'AtomViewStack.js' */                    var width = $(element).innerWidth();
/*Line 82 - 'AtomViewStack.js' */                    var height = $(element).innerHeight();

/*Line 84 - 'AtomViewStack.js' */                    this._selectedChild = selectedElement;
/*Line 85 - 'AtomViewStack.js' */                    var $selectedElement = $(selectedElement);
/*Line 86 - 'AtomViewStack.js' */                    AtomUI.setItemRect($selectedElement,selectedElement, { width: width, height: height });
/*Line 87 - 'AtomViewStack.js' */                    var sac = selectedElement.atomControl;
/*Line 88 - 'AtomViewStack.js' */                    if (sac) {
/*Line 89 - 'AtomViewStack.js' */                        sac.updateUI();
/*Line 90 - 'AtomViewStack.js' */                    }

/*Line 92 - 'AtomViewStack.js' */                    if (previousElement && previousElement != selectedElement) {
/*Line 93 - 'AtomViewStack.js' */                        var self = this;

/*Line 95 - 'AtomViewStack.js' */                        var $previousElement = $(previousElement);

/*Line 97 - 'AtomViewStack.js' */                        var sd = this._swipeDirection;
/*Line 98 - 'AtomViewStack.js' */                        if (sd != null && /none/i.test(sd)) {
/*Line 99 - 'AtomViewStack.js' */                            $previousElement.addClass("hidden");
/*Line 100 - 'AtomViewStack.js' */                            $selectedElement.removeClass("hidden");
/*Line 101 - 'AtomViewStack.js' */                        } else {
/*Line 102 - 'AtomViewStack.js' */                            // animate...
/*Line 103 - 'AtomViewStack.js' */                            var ael = [selectedElement, previousElement];
/*Line 104 - 'AtomViewStack.js' */                            $(ael).removeClass("hidden");
/*Line 105 - 'AtomViewStack.js' */                            this._isAnimating = true;
/*Line 106 - 'AtomViewStack.js' */                            if (selectedIndex < previousIndex) {
/*Line 107 - 'AtomViewStack.js' */                                $selectedElement.css("left", -width);
/*Line 108 - 'AtomViewStack.js' */                                //log("left: -" + width);
/*Line 109 - 'AtomViewStack.js' */                            } else {
/*Line 110 - 'AtomViewStack.js' */                                $selectedElement.css("left", width);
/*Line 111 - 'AtomViewStack.js' */                                //log("left: " + width);
/*Line 112 - 'AtomViewStack.js' */                            }
/*Line 113 - 'AtomViewStack.js' */                            $(ael).addClass("animate-left-property");
/*Line 114 - 'AtomViewStack.js' */                            setTimeout(function () {
/*Line 115 - 'AtomViewStack.js' */                                $selectedElement.css("left", 0);
/*Line 116 - 'AtomViewStack.js' */                                //log("left: 0");
/*Line 117 - 'AtomViewStack.js' */                                if (selectedIndex < previousIndex) {
/*Line 118 - 'AtomViewStack.js' */                                    $previousElement.css("left", width);
/*Line 119 - 'AtomViewStack.js' */                                } else {
/*Line 120 - 'AtomViewStack.js' */                                    $previousElement.css("left", -width);
/*Line 121 - 'AtomViewStack.js' */                                }
/*Line 122 - 'AtomViewStack.js' */                                setTimeout(function () {
/*Line 123 - 'AtomViewStack.js' */                                    self._isAnimating = false;
/*Line 124 - 'AtomViewStack.js' */                                    $(ael).removeClass("animate-left-property");
/*Line 125 - 'AtomViewStack.js' */                                    $previousElement.addClass("hidden");
/*Line 126 - 'AtomViewStack.js' */                                }, 800);
/*Line 127 - 'AtomViewStack.js' */                            }, 50);
/*Line 128 - 'AtomViewStack.js' */                        }
/*Line 129 - 'AtomViewStack.js' */                    } else {
/*Line 130 - 'AtomViewStack.js' */                        $selectedElement.removeClass("hidden");
/*Line 131 - 'AtomViewStack.js' */                    }
/*Line 132 - 'AtomViewStack.js' */                }

/*Line 134 - 'AtomViewStack.js' */                queue.start();

/*Line 136 - 'AtomViewStack.js' */            }
1343733
function (e) {
/*Line 68 - 'AtomAutoCompleteBox.js' */                base.onClick.apply(this, arguments);
/*Line 69 - 'AtomAutoCompleteBox.js' */                this._backupValue = this.get_value();
/*Line 70 - 'AtomAutoCompleteBox.js' */                this.refreshLabel();
/*Line 71 - 'AtomAutoCompleteBox.js' */                this._backupLabel = this.get_displayLabel();
/*Line 72 - 'AtomAutoCompleteBox.js' */                AtomBinder.setValue(this, "keyPressed", false);
/*Line 73 - 'AtomAutoCompleteBox.js' */                AtomBinder.setValue(this, "isPopupOpen", false);
/*Line 74 - 'AtomAutoCompleteBox.js' */            }
990542
function () {
/*Line 40 - 'AtomWizard.js' */                $(this._element).addClass('atom-wizard');

/*Line 42 - 'AtomWizard.js' */                baseType.init.call(this);

/*Line 44 - 'AtomWizard.js' */                var _this = this;


/*Line 47 - 'AtomWizard.js' */                this.goNextCommand = function (scope, sender, evt) {
/*Line 48 - 'AtomWizard.js' */                    if (_this.get_isLastStep()) {
/*Line 49 - 'AtomWizard.js' */                        _this.invokeAction(_this._next, evt);
/*Line 50 - 'AtomWizard.js' */                        AtomBinder.setValue(_this, "canMoveBack", false);
/*Line 51 - 'AtomWizard.js' */                    } else {
/*Line 52 - 'AtomWizard.js' */                        AtomBinder.setValue(_this, "currentStep", _this._currentStep + 1);
/*Line 53 - 'AtomWizard.js' */                    }
/*Line 54 - 'AtomWizard.js' */                };

/*Line 56 - 'AtomWizard.js' */                this.goPrevCommand = function () {
/*Line 57 - 'AtomWizard.js' */                    AtomBinder.setValue(_this, "currentStep", _this._currentStep - 1);
/*Line 58 - 'AtomWizard.js' */                };

/*Line 60 - 'AtomWizard.js' */                this.resetCommand = function () {
/*Line 61 - 'AtomWizard.js' */                    AtomBinder.setValue(_this, "currentStep", 0);
/*Line 62 - 'AtomWizard.js' */                    AtomBinder.setValue(_this, "canMoveBack", true);
/*Line 63 - 'AtomWizard.js' */                };

/*Line 65 - 'AtomWizard.js' */                // create children...

/*Line 67 - 'AtomWizard.js' */                var vs = this._viewPresenter;

/*Line 69 - 'AtomWizard.js' */                var vt = this._viewTemplate;

/*Line 71 - 'AtomWizard.js' */                var i = 0;

/*Line 73 - 'AtomWizard.js' */                var ae = new ChildEnumerator(vt);
/*Line 74 - 'AtomWizard.js' */                while (ae.next()) {
/*Line 75 - 'AtomWizard.js' */                    i++;
/*Line 76 - 'AtomWizard.js' */                    var item = ae.current();
/*Line 77 - 'AtomWizard.js' */                    //$(vs).append(item);
/*Line 78 - 'AtomWizard.js' */                    vs.appendChild(item);
/*Line 79 - 'AtomWizard.js' */                    var type = AtomUI.getAtomType(item);
/*Line 80 - 'AtomWizard.js' */                    if (!type) {
/*Line 81 - 'AtomWizard.js' */                        type = "AtomViewBox";
/*Line 82 - 'AtomWizard.js' */                        AtomUI.attr(item, "data-atom-type", type);
/*Line 83 - 'AtomWizard.js' */                    }

/*Line 85 - 'AtomWizard.js' */                    //var s = new AtomScope(this, this.get_scope(), atomApplication);

/*Line 87 - 'AtomWizard.js' */                    var ct = AtomUI.getAtomType(item) || WebAtoms.AtomControl;
/*Line 88 - 'AtomWizard.js' */                    var cc = AtomUI.createControl(item, ct);
/*Line 89 - 'AtomWizard.js' */                    cc.init();
/*Line 90 - 'AtomWizard.js' */                }
/*Line 91 - 'AtomWizard.js' */                AtomBinder.setValue(this, "steps", i);

/*Line 93 - 'AtomWizard.js' */                if (i) {
/*Line 94 - 'AtomWizard.js' */                    AtomBinder.setValue(this, "currentStep", 0);
/*Line 95 - 'AtomWizard.js' */                }

/*Line 97 - 'AtomWizard.js' */                this.nextCommand = function (scope, sender, evt) {
/*Line 98 - 'AtomWizard.js' */                    var child = vs.atomControl.get_selectedChild().atomControl;
/*Line 99 - 'AtomWizard.js' */                    if (child._next) {
/*Line 100 - 'AtomWizard.js' */                        child.invokeAction(child._next);
/*Line 101 - 'AtomWizard.js' */                        return;
/*Line 102 - 'AtomWizard.js' */                    } else {
/*Line 103 - 'AtomWizard.js' */                        _this.goNextCommand(scope, sender, evt);
/*Line 104 - 'AtomWizard.js' */                    }
/*Line 105 - 'AtomWizard.js' */                };

/*Line 107 - 'AtomWizard.js' */            }
719200
function (evt) {
/*Line 128 - 'AtomUploadButton.js' */                //evt = evt.originalEvent;
/*Line 129 - 'AtomUploadButton.js' */                if (evt.lengthComputable) {
/*Line 130 - 'AtomUploadButton.js' */                    var percentComplete = Math.round(evt.loaded * 100 / evt.total);
/*Line 131 - 'AtomUploadButton.js' */                    AtomBinder.setValue(this, "progress", percentComplete);
/*Line 132 - 'AtomUploadButton.js' */                }
/*Line 133 - 'AtomUploadButton.js' */            }
1041280
function () {
/*Line 193 - 'AtomAutoCompleteBox.js' */                var item = this.get_selectedItem();
/*Line 194 - 'AtomAutoCompleteBox.js' */                var l = item;
/*Line 195 - 'AtomAutoCompleteBox.js' */                if (l && this._labelPath) {
/*Line 196 - 'AtomAutoCompleteBox.js' */                    l = l[this._labelPath];
/*Line 197 - 'AtomAutoCompleteBox.js' */                }
/*Line 198 - 'AtomAutoCompleteBox.js' */                AtomBinder.setValue(this, "displayLabel", l || "");
/*Line 199 - 'AtomAutoCompleteBox.js' */            }
1209216
function () {
/*Line 10 - 'AtomDispatcher.js' */            this._paused = false;
/*Line 11 - 'AtomDispatcher.js' */            this.queue = [];
/*Line 12 - 'AtomDispatcher.js' */            this.onTimeout = function () {
/*Line 13 - 'AtomDispatcher.js' */                if (this._paused)
/*Line 14 - 'AtomDispatcher.js' */                    return;
/*Line 15 - 'AtomDispatcher.js' */                if (this.queue.length == 0) {
/*Line 16 - 'AtomDispatcher.js' */                    var app = atomApplication._element;
/*Line 17 - 'AtomDispatcher.js' */                    if (app.style.visibility == "hidden" || $(app).css("visibility") == "hidden") {
/*Line 18 - 'AtomDispatcher.js' */                        app.style.visibility = "visible";

/*Line 20 - 'AtomDispatcher.js' */                        app.atomControl.updateUI();
/*Line 21 - 'AtomDispatcher.js' */                    }
/*Line 22 - 'AtomDispatcher.js' */                    return;
/*Line 23 - 'AtomDispatcher.js' */                }
/*Line 24 - 'AtomDispatcher.js' */                var item = this.queue.shift();
/*Line 25 - 'AtomDispatcher.js' */                //try{
/*Line 26 - 'AtomDispatcher.js' */                item();
/*Line 27 - 'AtomDispatcher.js' */                //} catch (ex) {

/*Line 29 - 'AtomDispatcher.js' */                //    if (window.console) {
/*Line 30 - 'AtomDispatcher.js' */                //        window.console.log(item.toString());
/*Line 31 - 'AtomDispatcher.js' */                //        window.console.log(JSON.stringify(ex));
/*Line 32 - 'AtomDispatcher.js' */                //    }
/*Line 33 - 'AtomDispatcher.js' */                //}
/*Line 34 - 'AtomDispatcher.js' */                window.setTimeout(this._onTimeout, 1);
/*Line 35 - 'AtomDispatcher.js' */            };
/*Line 36 - 'AtomDispatcher.js' */            //this._onTimeout = Function.createDelegate(this, this.onTimeout);
/*Line 37 - 'AtomDispatcher.js' */            var _this = this;
/*Line 38 - 'AtomDispatcher.js' */            this._onTimeout = function () {
/*Line 39 - 'AtomDispatcher.js' */                _this.onTimeout();
/*Line 40 - 'AtomDispatcher.js' */            };
/*Line 41 - 'AtomDispatcher.js' */        }
1216303
function (element) {
/*Line 435 - 'AtomControl.js' */                var ae = new ChildEnumerator(element);
/*Line 436 - 'AtomControl.js' */                while (ae.next()) {
/*Line 437 - 'AtomControl.js' */                    var child = ae.current();
/*Line 438 - 'AtomControl.js' */                    if (child.atomControl && child.atomControl._created) {
/*Line 439 - 'AtomControl.js' */                        var ctrl = child.atomControl;
/*Line 440 - 'AtomControl.js' */                        if (ctrl._data !== undefined)
/*Line 441 - 'AtomControl.js' */                            continue;
/*Line 442 - 'AtomControl.js' */                        AtomBinder.refreshValue(ctrl, "data");
/*Line 443 - 'AtomControl.js' */                        ctrl.mergeData();
/*Line 444 - 'AtomControl.js' */                    }
/*Line 445 - 'AtomControl.js' */                    this.updateChildBindings(child);
/*Line 446 - 'AtomControl.js' */                }
/*Line 447 - 'AtomControl.js' */            }