var __awaiter=this&&this.__awaiter||function(n,t,i,r){function u(n){return n instanceof i?n:new i(function(t){t(n)})}return new(i||(i=Promise))(function(i,f){function o(n){try{e(r.next(n))}catch(t){f(t)}}function s(n){try{e(r["throw"](n))}catch(t){f(t)}}function e(n){n.done?i(n.value):u(n.value).then(o,s)}e((r=r.apply(n,t||[])).next())})},Bizgaze;(function(n){let t;(function(t){let i;(function(t){let i;(function(t){class i extends Unibase.Platform.Core.BaseComponent{constructor(){super(...arguments);this._order=n.Apps.Transact.Controls.Order.Instance();this.g_ContactId=0;this.g_CountryId=0;this.g_LobId=0;this.g_Tags="";this.g_PageIndex=0;this.g_BranchId=0;this.g_BillingAddressId=0;this.g_ShippingAddressId=0;this.g_ShipFromAddressId=0;this.g_BillFromAddressId=0;this.g_Edit_OrderItemId=0;this.g_RefStatusId=0;this.g_FocItems=[];this.g_VisibleContainerId=""}init(n,t){let i=this;i.loadControlSettings(t.ControlJsonText,t.FormPropertyId);i.loadPropertySettings(t.PropertySettings,t.FormPropertyId)}loadControl(n){let t=this;t.g_VisibleContainerId=Unibase.Platform.Helpers.NavigationHelper.ModalContainerIds[Unibase.Platform.Helpers.NavigationHelper.ModalContainerIds.length-1];$("#"+n).html('