Iniit
This commit is contained in:
@@ -0,0 +1,212 @@
|
||||
var Bizgaze;
|
||||
(function (Bizgaze) {
|
||||
let Apps;
|
||||
(function (Apps) {
|
||||
let Transact;
|
||||
(function (Transact) {
|
||||
let Components;
|
||||
(function (Components) {
|
||||
let Offers;
|
||||
(function (Offers) {
|
||||
class ChangeOfferstatus extends Unibase.Platform.Core.BaseComponent {
|
||||
cssFiles() {
|
||||
throw new Error("Method not implemented.");
|
||||
}
|
||||
jsFiles() {
|
||||
return ['apps/transact/managers/offers/offermanager.js', 'apps/transact/components/offers/changeofferstatus.js'];
|
||||
}
|
||||
html(id, containerid) {
|
||||
throw new Error("Method not implemented.");
|
||||
}
|
||||
load(id, containerid, callback) {
|
||||
throw new Error("Method not implemented.");
|
||||
}
|
||||
init() {
|
||||
}
|
||||
changeofferstatus(offerid, statusid) {
|
||||
var instance = this;
|
||||
if (statusid == 2)
|
||||
var msg = "Are you sure you want to De-Activate ?";
|
||||
else
|
||||
var msg = "Are you sure you want to Activate ?";
|
||||
bootbox.confirm({
|
||||
message: msg,
|
||||
closeButton: false,
|
||||
buttons: {
|
||||
confirm: {
|
||||
label: 'Yes',
|
||||
className: 'btn-success'
|
||||
},
|
||||
cancel: {
|
||||
label: 'No',
|
||||
className: 'btn-danger'
|
||||
}
|
||||
},
|
||||
callback: function (result) {
|
||||
if (result) {
|
||||
var Status = "";
|
||||
var Statusid;
|
||||
if (statusid == 2) {
|
||||
Status = "Activate";
|
||||
Statusid = 2;
|
||||
$("#Id_" + offerid + "").removeClass('text-danger');
|
||||
$("#Id_" + offerid + "").addClass('text-success');
|
||||
}
|
||||
else {
|
||||
Status = "activate";
|
||||
Statusid = 1;
|
||||
$("#Id_" + offerid + "").removeClass('text-success');
|
||||
$("#Id_" + offerid + "").addClass('text-danger');
|
||||
}
|
||||
var _recordId = Number(Unibase.Themes.Providers.Detail_Settings.Instance().InputParameters.find(x => x.Key == "hf_" + Unibase.Themes.Providers.DetailHelper.installedAppId + "_recordid").Value);
|
||||
var postdata = {
|
||||
offerid,
|
||||
Statusid,
|
||||
};
|
||||
instance.fileCacheHelper.loadJsFile('apps/transact/managers/offers/offermanager.js', function () {
|
||||
Bizgaze.Apps.Transact.Managers.OfferManager.Instance().ChangeOfferStatus(postdata).then(function (response) {
|
||||
if (response.status == Unibase.Data.Status.Success) {
|
||||
var obj = Unibase.Themes.Compact.Components.Details.Instance();
|
||||
obj._recordId = _recordId;
|
||||
var _installedAppId = Unibase.Themes.Providers.DetailHelper.installedAppId;
|
||||
var containerid = $("._bizgaze_detail_container:visible").attr("id");
|
||||
Unibase.Platform.Helpers.NavigationHelper.Instance().close(containerid, null);
|
||||
instance.navigationHelper.loadDetail(_recordId, _installedAppId, null);
|
||||
MessageHelper.Instance().showSuccess(response.message, "");
|
||||
}
|
||||
else {
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
gettabscheme(planid, actualvalue, tabpercent, target, incidentpercent, incidents) {
|
||||
var instance = this;
|
||||
instance.fileCacheHelper.loadJsFile('apps/transact/managers/offers/offermanager.js', function () {
|
||||
Bizgaze.Apps.Transact.Managers.OfferManager.Instance().gettabsachemedata(planid).then(function (response) {
|
||||
var amount = response.result;
|
||||
var amt = (amount / 100000).toFixed(3);
|
||||
$(actualvalue).val(amt);
|
||||
$(actualvalue).attr("disabled", "disabled");
|
||||
$(tabpercent).change(function () {
|
||||
var tabpercentage = Number($(tabpercent).val());
|
||||
var targetvalue = ((amount * (tabpercentage / 100)) / 100000).toFixed(3);
|
||||
var targetamount = Number(targetvalue);
|
||||
$(target).val(targetvalue);
|
||||
$(target).attr("disabled", "disabled");
|
||||
$(incidentpercent).change(function () {
|
||||
var incidentpercentagevalue = Number($(incidentpercent).val());
|
||||
var incidensvalue = (targetamount * (incidentpercentagevalue / 100)).toFixed(3);
|
||||
$(incidents).val(incidensvalue);
|
||||
$(incidents).attr("disabled", "disabled");
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
changeplanstatus(containerid) {
|
||||
var instance = this;
|
||||
var postdata = [];
|
||||
$(`#${containerid}`).find(".Offer_Plan_Checked").each(function () {
|
||||
postdata.push({
|
||||
OfferId: Number($(this).attr("id")),
|
||||
PlanId: Number($(this).attr("value")),
|
||||
Planstatus: $(this).is(":checked"),
|
||||
});
|
||||
});
|
||||
instance.fileCacheHelper.loadJsFile("apps/transact/managers/offers/offermanager.js", function () {
|
||||
Bizgaze.Apps.Transact.Managers.OfferManager.Instance().changeplanstatus(postdata).then(function (response) {
|
||||
if (response.errors == null) {
|
||||
MessageHelper.Instance().showSuccess(response.message, 'Plan Status Updated Successfully');
|
||||
}
|
||||
else {
|
||||
MessageHelper.Instance().showError(response.message, 'Plan Status Updated Failed');
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
ActiveAllPlans() {
|
||||
var instance = this;
|
||||
var postdata = [];
|
||||
$(".Offer_Plan_Checked").each(function () {
|
||||
postdata.push({
|
||||
OfferId: Number($(this).attr("id")),
|
||||
PlanId: Number($(this).attr("value")),
|
||||
Planstatus: 1,
|
||||
});
|
||||
});
|
||||
if (postdata.length > 0) {
|
||||
bootbox.confirm("Are you sure you want Activate All Plans ?", function (result) {
|
||||
if (result == true) {
|
||||
instance.fileCacheHelper.loadJsFile("apps/transact/managers/offers/offermanager.js", function () {
|
||||
Bizgaze.Apps.Transact.Managers.OfferManager.Instance().changeplanstatus(postdata).then(function (response) {
|
||||
if (response.errors == null) {
|
||||
var detail_instance = Unibase.Themes.Compact.Components.Details.Instance();
|
||||
Unibase.Themes.Compact.Components.Details.Instance().loadPortlets(detail_instance);
|
||||
MessageHelper.Instance().showSuccess(response.message, 'Plan Status Updated Successfully');
|
||||
}
|
||||
else {
|
||||
MessageHelper.Instance().showError(response.message, 'Plan Status Updated Failed');
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
InactiveAllPlans() {
|
||||
var instance = this;
|
||||
var postdata = [];
|
||||
$(".Offer_Plan_Checked").each(function () {
|
||||
postdata.push({
|
||||
OfferId: Number($(this).attr("id")),
|
||||
PlanId: Number($(this).attr("value")),
|
||||
Planstatus: 2,
|
||||
});
|
||||
});
|
||||
if (postdata.length > 0) {
|
||||
bootbox.confirm("Are you sure you want In-Active All Plans ?", function (result) {
|
||||
if (result == true) {
|
||||
instance.fileCacheHelper.loadJsFile("apps/transact/managers/offers/offermanager.js", function () {
|
||||
Bizgaze.Apps.Transact.Managers.OfferManager.Instance().changeplanstatus(postdata).then(function (response) {
|
||||
if (response.errors == null) {
|
||||
var detail_instance = Unibase.Themes.Compact.Components.Details.Instance();
|
||||
Unibase.Themes.Compact.Components.Details.Instance().loadPortlets(detail_instance);
|
||||
MessageHelper.Instance().showSuccess(response.message, 'Plan Status Updated Successfully');
|
||||
}
|
||||
else {
|
||||
MessageHelper.Instance().showError(response.message, 'Plan Status Updated Failed');
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
updateplanstatus(planid) {
|
||||
var instance = this;
|
||||
instance.fileCacheHelper.loadJsFile("apps/transact/managers/offers/offermanager.js", function () {
|
||||
Bizgaze.Apps.Transact.Managers.OfferManager.Instance().updateplanstatus(planid).then(function (response) {
|
||||
if (response.errors == null) {
|
||||
MessageHelper.Instance().showSuccess(response.message, '');
|
||||
}
|
||||
else {
|
||||
MessageHelper.Instance().showError(response.message, 'Plan Status Updated Failed');
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
static Instance() {
|
||||
if (this._instance === undefined)
|
||||
this._instance = new ChangeOfferstatus();
|
||||
return this._instance;
|
||||
}
|
||||
}
|
||||
Offers.ChangeOfferstatus = ChangeOfferstatus;
|
||||
})(Offers = Components.Offers || (Components.Offers = {}));
|
||||
})(Components = Transact.Components || (Transact.Components = {}));
|
||||
})(Transact = Apps.Transact || (Apps.Transact = {}));
|
||||
})(Apps = Bizgaze.Apps || (Bizgaze.Apps = {}));
|
||||
})(Bizgaze || (Bizgaze = {}));
|
||||
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
@@ -0,0 +1,53 @@
|
||||
var Bizgaze;
|
||||
(function (Bizgaze) {
|
||||
let Apps;
|
||||
(function (Apps) {
|
||||
let Transact;
|
||||
(function (Transact) {
|
||||
let Components;
|
||||
(function (Components) {
|
||||
let Offers;
|
||||
(function (Offers) {
|
||||
class RefreshContacts extends Unibase.Platform.Core.BaseComponent {
|
||||
cssFiles() {
|
||||
throw new Error("Method not implemented.");
|
||||
}
|
||||
jsFiles() {
|
||||
return ['apps/transact/managers/offers/offermanager.js'];
|
||||
}
|
||||
html(id, containerid) {
|
||||
throw new Error("Method not implemented.");
|
||||
}
|
||||
load(id, containerid, callback) {
|
||||
throw new Error("Method not implemented.");
|
||||
}
|
||||
init() {
|
||||
var instance = this;
|
||||
var offerid = Number(Unibase.Themes.Providers.Detail_Settings.Instance().InputParameters.find(x => x.Key == "hf_" + Unibase.Themes.Providers.DetailHelper.installedAppId + "_offerid").Value);
|
||||
var offername = Unibase.Themes.Providers.Detail_Settings.Instance().InputParameters.find(x => x.Key == "hf_" + Unibase.Themes.Providers.DetailHelper.installedAppId + "_offername").Value;
|
||||
instance.fileCacheHelper.loadJsFile('apps/transact/managers/offers/offermanager.js', function () {
|
||||
Bizgaze.Apps.Transact.Managers.OfferManager.Instance().refreshcontacts(offerid, offername).then(function (response) {
|
||||
MessageHelper.Instance().showSuccess(response.message, "div_message");
|
||||
});
|
||||
});
|
||||
}
|
||||
rtscontactsrefresh() {
|
||||
var instance = this;
|
||||
instance.fileCacheHelper.loadJsFile('apps/transact/managers/offers/offermanager.js', function () {
|
||||
Bizgaze.Apps.Transact.Managers.OfferManager.Instance().refreshrtscontacts().then(function (response) {
|
||||
MessageHelper.Instance().showSuccess(response.message, "div_message");
|
||||
});
|
||||
});
|
||||
}
|
||||
static Instance() {
|
||||
if (this._instance === undefined)
|
||||
this._instance = new RefreshContacts();
|
||||
return this._instance;
|
||||
}
|
||||
}
|
||||
Offers.RefreshContacts = RefreshContacts;
|
||||
})(Offers = Components.Offers || (Components.Offers = {}));
|
||||
})(Components = Transact.Components || (Transact.Components = {}));
|
||||
})(Transact = Apps.Transact || (Apps.Transact = {}));
|
||||
})(Apps = Bizgaze.Apps || (Bizgaze.Apps = {}));
|
||||
})(Bizgaze || (Bizgaze = {}));
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"refreshcontacts.js","sourceRoot":"","sources":["refreshcontacts.ts"],"names":[],"mappings":"AAAA,IAAU,OAAO,CAqDhB;AArDD,WAAU,OAAO;IACb,IAAiB,IAAI,CAmDpB;IAnDD,WAAiB,IAAI;QACjB,IAAiB,QAAQ,CAiDxB;QAjDD,WAAiB,QAAQ;YACrB,IAAiB,UAAU,CA+C1B;YA/CD,WAAiB,UAAU;gBACvB,IAAiB,MAAM,CA6CtB;gBA7CD,WAAiB,MAAM;oBACnB,MAAa,eAAgB,SAAQ,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa;wBACpE,QAAQ;4BACJ,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;wBAG/C,CAAC;wBAED,OAAO;4BACH,OAAO,CAAC,+CAA+C,CAAC,CAAC;wBAC7D,CAAC;wBACD,IAAI,CAAC,EAAO,EAAE,WAAmB;4BAC7B,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;wBAC/C,CAAC;wBACD,IAAI,CAAC,EAAO,EAAE,WAAmB,EAAE,QAAkB;4BACjD,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;wBAC/C,CAAC;wBAED,IAAI;4BACA,IAAI,QAAQ,GAAG,IAAI,CAAC;4BAEpB,IAAI,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,IAAI,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AI,CAAC,SAAS,GAAG,IAAI,eAAe,EAAE,CAAC;4BAC3C,OAAO,IAAI,CAAC,SAAS,CAAC;wBAC1B,CAAC;qBACJ;oBA3CY,sBAAe,kBA2C3B,CAAA;gBACL,CAAC,EA7CgB,MAAM,GAAN,iBAAM,KAAN,iBAAM,QA6CtB;YACL,CAAC,EA/CgB,UAAU,GAAV,mBAAU,KAAV,mBAAU,QA+C1B;QACL,CAAC,EAjDgB,QAAQ,GAAR,aAAQ,KAAR,aAAQ,QAiDxB;IACL,CAAC,EAnDgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAmDpB;AACL,CAAC,EArDS,OAAO,KAAP,OAAO,QAqDhB"}
|
||||
+1
@@ -0,0 +1 @@
|
||||
var Bizgaze;(function(n){let t;(function(t){let i;(function(t){let i;(function(t){let i;(function(t){class i extends Unibase.Platform.Core.BaseComponent{cssFiles(){throw new Error("Method not implemented.");}jsFiles(){return["apps/transact/managers/offers/offermanager.js"]}html(){throw new Error("Method not implemented.");}load(){throw new Error("Method not implemented.");}init(){var t=this,i=Number(Unibase.Themes.Providers.Detail_Settings.Instance().InputParameters.find(n=>n.Key=="hf_"+Unibase.Themes.Providers.DetailHelper.installedAppId+"_offerid").Value),r=Unibase.Themes.Providers.Detail_Settings.Instance().InputParameters.find(n=>n.Key=="hf_"+Unibase.Themes.Providers.DetailHelper.installedAppId+"_offername").Value;t.fileCacheHelper.loadJsFile("apps/transact/managers/offers/offermanager.js",function(){n.Apps.Transact.Managers.OfferManager.Instance().refreshcontacts(i,r).then(function(n){MessageHelper.Instance().showSuccess(n.message,"div_message")})})}rtscontactsrefresh(){var t=this;t.fileCacheHelper.loadJsFile("apps/transact/managers/offers/offermanager.js",function(){n.Apps.Transact.Managers.OfferManager.Instance().refreshrtscontacts().then(function(n){MessageHelper.Instance().showSuccess(n.message,"div_message")})})}static Instance(){return this._instance===undefined&&(this._instance=new i),this._instance}}t.RefreshContacts=i})(i=t.Offers||(t.Offers={}))})(i=t.Components||(t.Components={}))})(i=t.Transact||(t.Transact={}))})(t=n.Apps||(n.Apps={}))})(Bizgaze||(Bizgaze={}));
|
||||
@@ -0,0 +1,53 @@
|
||||
var Bizgaze;
|
||||
(function (Bizgaze) {
|
||||
let Apps;
|
||||
(function (Apps) {
|
||||
let Transact;
|
||||
(function (Transact) {
|
||||
let Components;
|
||||
(function (Components) {
|
||||
let Offers;
|
||||
(function (Offers) {
|
||||
class RefreshWallets extends Unibase.Platform.Core.BaseComponent {
|
||||
cssFiles() {
|
||||
throw new Error("Method not implemented.");
|
||||
}
|
||||
jsFiles() {
|
||||
return ['apps/transact/managers/offers/offermanager.js'];
|
||||
}
|
||||
html(id, containerid) {
|
||||
throw new Error("Method not implemented.");
|
||||
}
|
||||
load(id, containerid, callback) {
|
||||
throw new Error("Method not implemented.");
|
||||
}
|
||||
init() {
|
||||
var instance = this;
|
||||
var offerid = Number(Unibase.Themes.Providers.Detail_Settings.Instance().InputParameters.find(x => x.Key == "hf_" + Unibase.Themes.Providers.DetailHelper.installedAppId + "_offerid").Value);
|
||||
var offername = Unibase.Themes.Providers.Detail_Settings.Instance().InputParameters.find(x => x.Key == "hf_" + Unibase.Themes.Providers.DetailHelper.installedAppId + "_offername").Value;
|
||||
instance.fileCacheHelper.loadJsFile('apps/transact/managers/offers/offermanager.js', function () {
|
||||
Bizgaze.Apps.Transact.Managers.OfferManager.Instance().refreshallwallets(offerid, offername).then(function (response) {
|
||||
MessageHelper.Instance().showSuccess(response.message, "div_message");
|
||||
});
|
||||
});
|
||||
}
|
||||
refreshwallets() {
|
||||
var instance = this;
|
||||
instance.fileCacheHelper.loadJsFile('apps/transact/managers/offers/offermanager.js', function () {
|
||||
Bizgaze.Apps.Transact.Managers.OfferManager.Instance().refreshallofferswallets().then(function (response) {
|
||||
MessageHelper.Instance().showSuccess(response.message, "div_message");
|
||||
});
|
||||
});
|
||||
}
|
||||
static Instance() {
|
||||
if (this._instance === undefined)
|
||||
this._instance = new RefreshWallets();
|
||||
return this._instance;
|
||||
}
|
||||
}
|
||||
Offers.RefreshWallets = RefreshWallets;
|
||||
})(Offers = Components.Offers || (Components.Offers = {}));
|
||||
})(Components = Transact.Components || (Transact.Components = {}));
|
||||
})(Transact = Apps.Transact || (Apps.Transact = {}));
|
||||
})(Apps = Bizgaze.Apps || (Bizgaze.Apps = {}));
|
||||
})(Bizgaze || (Bizgaze = {}));
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"refreshwallets.js","sourceRoot":"","sources":["refreshwallets.ts"],"names":[],"mappings":"AAAA,IAAU,OAAO,CAoDhB;AApDD,WAAU,OAAO;IACb,IAAiB,IAAI,CAkDpB;IAlDD,WAAiB,IAAI;QACjB,IAAiB,QAAQ,CAgDxB;QAhDD,WAAiB,QAAQ;YACrB,IAAiB,UAAU,CA8C1B;YA9CD,WAAiB,UAAU;gBACvB,IAAiB,MAAM,CA4CtB;gBA5CD,WAAiB,MAAM;oBACnB,MAAa,cAAe,SAAQ,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa;wBACnE,QAAQ;4BACJ,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;wBAC/C,CAAC;wBAGD,OAAO;4BACH,OAAO,CAAC,+CAA+C,CAAC,CAAC;wBAC7D,CAAC;wBACD,IAAI,CAAC,EAAO,EAAE,WAAmB;4BAC7B,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;wBAC/C,CAAC;wBACD,IAAI,CAAC,EAAO,EAAE,WAAmB,EAAE,QAAkB;4BACjD,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;wBAC/C,CAAC;wBAED,IAAI;4BACA,IAAI,QAAQ,GAAG,IAAI,CAAC;4BACpB,IAAI,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,eAAe,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,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,IAAI,CAAC,SAAS,GAAG,IAAI,cAAc,EAAE,CAAC;4BAC1C,OAAO,IAAI,CAAC,SAAS,CAAC;wBAC1B,CAAC;qBACJ;oBA1CY,qBAAc,iBA0C1B,CAAA;gBACL,CAAC,EA5CgB,MAAM,GAAN,iBAAM,KAAN,iBAAM,QA4CtB;YACL,CAAC,EA9CgB,UAAU,GAAV,mBAAU,KAAV,mBAAU,QA8C1B;QACL,CAAC,EAhDgB,QAAQ,GAAR,aAAQ,KAAR,aAAQ,QAgDxB;IACL,CAAC,EAlDgB,IAAI,GAAJ,YAAI,KAAJ,YAAI,QAkDpB;AACL,CAAC,EApDS,OAAO,KAAP,OAAO,QAoDhB"}
|
||||
+1
@@ -0,0 +1 @@
|
||||
var Bizgaze;(function(n){let t;(function(t){let i;(function(t){let i;(function(t){let i;(function(t){class i extends Unibase.Platform.Core.BaseComponent{cssFiles(){throw new Error("Method not implemented.");}jsFiles(){return["apps/transact/managers/offers/offermanager.js"]}html(){throw new Error("Method not implemented.");}load(){throw new Error("Method not implemented.");}init(){var t=this,i=Number(Unibase.Themes.Providers.Detail_Settings.Instance().InputParameters.find(n=>n.Key=="hf_"+Unibase.Themes.Providers.DetailHelper.installedAppId+"_offerid").Value),r=Unibase.Themes.Providers.Detail_Settings.Instance().InputParameters.find(n=>n.Key=="hf_"+Unibase.Themes.Providers.DetailHelper.installedAppId+"_offername").Value;t.fileCacheHelper.loadJsFile("apps/transact/managers/offers/offermanager.js",function(){n.Apps.Transact.Managers.OfferManager.Instance().refreshallwallets(i,r).then(function(n){MessageHelper.Instance().showSuccess(n.message,"div_message")})})}refreshwallets(){var t=this;t.fileCacheHelper.loadJsFile("apps/transact/managers/offers/offermanager.js",function(){n.Apps.Transact.Managers.OfferManager.Instance().refreshallofferswallets().then(function(n){MessageHelper.Instance().showSuccess(n.message,"div_message")})})}static Instance(){return this._instance===undefined&&(this._instance=new i),this._instance}}t.RefreshWallets=i})(i=t.Offers||(t.Offers={}))})(i=t.Components||(t.Components={}))})(i=t.Transact||(t.Transact={}))})(t=n.Apps||(n.Apps={}))})(Bizgaze||(Bizgaze={}));
|
||||
Reference in New Issue
Block a user