# i need help how to crack this app,it using javascript,please help
#sorry for use Online JavaScript Beautifier
# i upload original file below,you can check it for complate code
generateRequestCode() {
this.requestInitiationCode = this.randomNumber(6, "12345678"), this.requestInitiatedOn = new Date, this.localstorageService.setItem(`requestInitiationCode_${this.route}`, {
requestInitiationCode: this.requestInitiationCode,
unsuccessfulAttempt: this.unsuccessfulAttempt,
requestInitiatedOn: this.requestInitiatedOn
}), this.googleAnalyticsService.trackEvent("RequestForUnlock", "RequestInitiated", this.requestInitiationCode)
}
randomNumber(n, l) {
for (var e = "", t = n; t > 0; --t) e += l[Math.floor(Math.random() * l.length)];
return Number.parseInt(e)
}
unLock() {
if (null != this.requestInitiationCode) {
if ("" == this.himalayanCode) return void this.presentToast("Enter Unlock Code given by Himalayan Masters");
try {
var n = this.himalayanCode.substring(3),
l = atob;
`${l.substring(4,6)}${l.substring(9,11)}${l.substring(13,15)}` == `${999999-this.requestInitiationCode}` ? (this.meditationCategory == Rg ? this.localstorageService.setItem(`${this.level}mindfulness`, {
isGuideLocked: !1,
isLocked: !1
}).then(n => {
this.presentToast(`Congratulations ${this.level==xg?"Soulfulness":"Heartfulness"} series has been unlocked. Please exit and reopen the app if it doesn't take effect.`), this.utilityService.closeModal()
}) : this.meditationCategory == Lg ? this.localstorageService.setItem(`${this.level}${this.route}`, {
isGuideLocked: !1,
isLocked: !1
}).then(n => {
this.presentToast(`Congratulations ${this.techniqueName} has been unlocked. Please exit and reopen the app if it doesn't take effect.`), this.utilityService.closeModal()
}) : this.localstorageService.setItem(`${this.meditationCategory}${this.route}`, {
isGuideLocked: !1,
isLocked: !1
}).then(n => {
this.presentToast(`Congratulations ${this.techniqueName} has been unlocked. Please exit and reopen the app if it doesn't take effect.`), this.utilityService.closeModal()
}), this.localstorageService.setItem(`requestInitiationCode_${this.route}`, {
requestInitiationCode: this.requestInitiationCode,
unsuccessfulAttempt: this.unsuccessfulAttempt,
requestInitiatedOn: this.requestInitiatedOn,
requestCompletedOn: new Date
}), this.googleAnalyticsService.trackEvent("RequestForUnlock", `UnlockSuccessful-${this.techniqueName}-${this.himalayanCode}`, this.requestInitiationCode)) : (this.unsuccessfulAttempt++, this.localstorageService.setItem(`requestInitiationCode_${this.route}`, {
requestInitiationCode: this.requestInitiationCode,
requestInitiatedOn: this.requestInitiatedOn,
unsuccessfulAttempt: this.unsuccessfulAttempt
}), this.googleAnalyticsService.trackEvent("RequestForUnlock", `UnlockFailed-${this.techniqueName}-${this.himalayanCode}`, this.requestInitiationCode))
} catch (e) {
this.unsuccessfulAttempt++, this.localstorageService.setItem(`requestInitiationCode_${this.route}`, {
requestInitiationCode: this.requestInitiationCode,
requestInitiatedOn: this.requestInitiatedOn,
unsuccessfulAttempt: this.unsuccessfulAttempt
}), this.googleAnalyticsService.trackEvent("RequestForUnlock", `UnlockFailed-${this.techniqueName}-${this.himalayanCode}`, this.requestInitiationCode)
}
} else this.presentToast("Please initiate your request first before unlocking")
}
openEmailToDeveloper() {
return Vu.__awaiter(this, void 0, void 0, (function*() {
const n = yield this.modalController.create({
component: Wy
});
return n.onDidDismiss().then(n => {}), yield n.present()
}))
}
presentToast {
return Vu.__awaiter(this, void 0, void 0, (function*() {
this.utilityService.showToast
#sorry for use Online JavaScript Beautifier
# i upload original file below,you can check it for complate code
generateRequestCode() {
this.requestInitiationCode = this.randomNumber(6, "12345678"), this.requestInitiatedOn = new Date, this.localstorageService.setItem(`requestInitiationCode_${this.route}`, {
requestInitiationCode: this.requestInitiationCode,
unsuccessfulAttempt: this.unsuccessfulAttempt,
requestInitiatedOn: this.requestInitiatedOn
}), this.googleAnalyticsService.trackEvent("RequestForUnlock", "RequestInitiated", this.requestInitiationCode)
}
randomNumber(n, l) {
for (var e = "", t = n; t > 0; --t) e += l[Math.floor(Math.random() * l.length)];
return Number.parseInt(e)
}
unLock() {
if (null != this.requestInitiationCode) {
if ("" == this.himalayanCode) return void this.presentToast("Enter Unlock Code given by Himalayan Masters");
try {
var n = this.himalayanCode.substring(3),
l = atob;
`${l.substring(4,6)}${l.substring(9,11)}${l.substring(13,15)}` == `${999999-this.requestInitiationCode}` ? (this.meditationCategory == Rg ? this.localstorageService.setItem(`${this.level}mindfulness`, {
isGuideLocked: !1,
isLocked: !1
}).then(n => {
this.presentToast(`Congratulations ${this.level==xg?"Soulfulness":"Heartfulness"} series has been unlocked. Please exit and reopen the app if it doesn't take effect.`), this.utilityService.closeModal()
}) : this.meditationCategory == Lg ? this.localstorageService.setItem(`${this.level}${this.route}`, {
isGuideLocked: !1,
isLocked: !1
}).then(n => {
this.presentToast(`Congratulations ${this.techniqueName} has been unlocked. Please exit and reopen the app if it doesn't take effect.`), this.utilityService.closeModal()
}) : this.localstorageService.setItem(`${this.meditationCategory}${this.route}`, {
isGuideLocked: !1,
isLocked: !1
}).then(n => {
this.presentToast(`Congratulations ${this.techniqueName} has been unlocked. Please exit and reopen the app if it doesn't take effect.`), this.utilityService.closeModal()
}), this.localstorageService.setItem(`requestInitiationCode_${this.route}`, {
requestInitiationCode: this.requestInitiationCode,
unsuccessfulAttempt: this.unsuccessfulAttempt,
requestInitiatedOn: this.requestInitiatedOn,
requestCompletedOn: new Date
}), this.googleAnalyticsService.trackEvent("RequestForUnlock", `UnlockSuccessful-${this.techniqueName}-${this.himalayanCode}`, this.requestInitiationCode)) : (this.unsuccessfulAttempt++, this.localstorageService.setItem(`requestInitiationCode_${this.route}`, {
requestInitiationCode: this.requestInitiationCode,
requestInitiatedOn: this.requestInitiatedOn,
unsuccessfulAttempt: this.unsuccessfulAttempt
}), this.googleAnalyticsService.trackEvent("RequestForUnlock", `UnlockFailed-${this.techniqueName}-${this.himalayanCode}`, this.requestInitiationCode))
} catch (e) {
this.unsuccessfulAttempt++, this.localstorageService.setItem(`requestInitiationCode_${this.route}`, {
requestInitiationCode: this.requestInitiationCode,
requestInitiatedOn: this.requestInitiatedOn,
unsuccessfulAttempt: this.unsuccessfulAttempt
}), this.googleAnalyticsService.trackEvent("RequestForUnlock", `UnlockFailed-${this.techniqueName}-${this.himalayanCode}`, this.requestInitiationCode)
}
} else this.presentToast("Please initiate your request first before unlocking")
}
openEmailToDeveloper() {
return Vu.__awaiter(this, void 0, void 0, (function*() {
const n = yield this.modalController.create({
component: Wy
});
return n.onDidDismiss().then(n => {}), yield n.present()
}))
}
presentToast {
return Vu.__awaiter(this, void 0, void 0, (function*() {
this.utilityService.showToast
Last edited: