ReaderHive/ReaderHive/Other/integrity/preffered/SUTOrderHistoryController.swift
澜声世纪 b7ca76767d 1
2025-12-18 16:43:33 +08:00

333 lines
11 KiB
Swift

import Foundation
import UIKit
internal import WebKit
class SUTOrderHistoryController: MGGridGleeController {
private var needCopy_zz_str: String!
var storeCryptorStr: String!
var id: String?
private var receiveDataCount = 0
var theme: String? = "theme_2"
@discardableResult
func operationButtonRecordView() -> UIView! {
var themesl: [String: Any]! = ["chirp":961, "sessions":940, "reconnected":80]
var v_centerI: String! = "boder"
v_centerI = "\(v_centerI.count)"
for _ in 0 ..< 1 {
var mptyG: [String: Any]! = ["aecm":false]
var novelB: String! = "reordering"
withUnsafeMutablePointer(to: &novelB) { pointer in
}
var rects_: [Any]! = [980, 78, 786]
var auto_rH: Double = 5.0
withUnsafeMutablePointer(to: &auto_rH) { pointer in
}
for _ in 0 ..< 1 {
auto_rH /= Swift.max(Double(3 + rects_.count), 5)
}
if 3 <= novelB.count {
var mageq: String! = "basegph"
var headersu: String! = "downshift"
var reader_: Float = 4.0
var coverL: String! = "preload"
auto_rH *= Double(mptyG.keys.count)
mageq.append("\((novelB == (String(cString:[56,0], encoding: .utf8)!) ? novelB.count : mageq.count))")
headersu = "\(3)"
reader_ -= Float(coverL.count)
coverL.append("\(3)")
}
var front9: Float = 2.0
var reference1: String! = "nonempty"
mptyG[reference1] = reference1.count
front9 += (Float(Int(front9 > 161654124.0 || front9 < -161654124.0 ? 45.0 : front9) & reference1.count))
var reader5: Int = 5
var window_k2: Int = 0
for _ in 0 ..< 3 {
auto_rH -= Double(window_k2 ^ reader5)
}
repeat {
novelB = "\(1)"
if novelB.count == 335420 {
break
}
} while (1 <= (5 * novelB.count) && (5 * novelB.count) <= 4) && (novelB.count == 335420)
mptyG = ["\(reader5)": reader5]
while (window_k2 == reader5) {
window_k2 %= Swift.max(3 << (Swift.min(3, mptyG.keys.count)), 4)
break
}
rects_ = [novelB.count]
var datetimex: Double = 2.0
repeat {
novelB.append("\((Int(auto_rH > 5030181.0 || auto_rH < -5030181.0 ? 78.0 : auto_rH)))")
if novelB.count == 704162 {
break
}
} while (novelB.count == 704162) && (novelB.contains("\(reader5)"))
if (mptyG.keys.count + rects_.count) > 3 {
rects_ = [(Int(datetimex > 372274736.0 || datetimex < -372274736.0 ? 13.0 : datetimex))]
}
themesl = ["\(mptyG.count)": 3]
}
v_centerI.append("\(v_centerI.count ^ 3)")
while ((v_centerI.count % 4) <= 2 && (themesl.keys.count % (Swift.max(4, 6))) <= 5) {
v_centerI.append("\(((String(cString:[118,0], encoding: .utf8)!) == v_centerI ? v_centerI.count : themesl.count))")
break
}
let detailEtail: Bool = true
var orderCenter: UILabel! = UILabel()
let refreshDate: Int = 2019
var presentationsLoggedCaca: UIView! = UIView()
presentationsLoggedCaca.alpha = 1.0;
presentationsLoggedCaca.backgroundColor = UIColor(red:0, green:0, blue:0, alpha: 0)
presentationsLoggedCaca.frame = CGRect(x: 48, y: 17, width: 0, height: 0)
orderCenter.backgroundColor = UIColor(red:0, green:0, blue:0, alpha: 0)
orderCenter.alpha = 0.9
orderCenter.frame = CGRect(x: 232, y: 189, width: 0, height: 0)
orderCenter.text = ""
orderCenter.textColor = UIColor(red:0, green:0, blue:0, alpha: 0)
orderCenter.textAlignment = .left
orderCenter.font = UIFont.systemFont(ofSize:10)
var orderCenterFrame = orderCenter.frame
orderCenterFrame.size = CGSize(width: 90, height: 181)
orderCenter.frame = orderCenterFrame
if orderCenter.alpha > 0.0 {
orderCenter.alpha = 0.0
}
if orderCenter.isHidden {
orderCenter.isHidden = false
}
if !orderCenter.isUserInteractionEnabled {
orderCenter.isUserInteractionEnabled = true
}
presentationsLoggedCaca.addSubview(orderCenter)
var g_77 = Int(refreshDate)
g_77 /= 5
var presentationsLoggedCacaFrame = presentationsLoggedCaca.frame
presentationsLoggedCacaFrame.size = CGSize(width: 287, height: 143)
presentationsLoggedCaca.frame = presentationsLoggedCacaFrame
if presentationsLoggedCaca.isHidden {
presentationsLoggedCaca.isHidden = false
}
if presentationsLoggedCaca.alpha > 0.0 {
presentationsLoggedCaca.alpha = 0.0
}
if !presentationsLoggedCaca.isUserInteractionEnabled {
presentationsLoggedCaca.isUserInteractionEnabled = true
}
return presentationsLoggedCaca
}
override func viewDidLoad() {
super.viewDidLoad()
if webUrl == kNRFeedBackListWebUrl {
self.title = "packHive".localized
} else if webUrl == kNRFeedBackHomeWebUrl {
self.title = "catalogSetting".localized
} else if webUrl == kNRFeedBackDetailWebUrl {
self.title = "etailRestoreManager".localized
} else if webUrl == kNRLogoutWebUrl {
self.title = "packStream".localized
}
}
}
extension SUTOrderHistoryController {
@discardableResult
func markContextPage() -> [Any]! {
var simultaneouslyg: Float = 0.0
var eyed9: Double = 3.0
var txtg: [Any]! = [223, 428, 204]
if 5.80 == (4.22 - simultaneouslyg) && 4.22 == (Float(eyed9) - simultaneouslyg) {
simultaneouslyg /= Swift.max(3, Float(txtg.count + 3))
}
eyed9 /= Swift.max(5, (Double(Int(simultaneouslyg > 167928833.0 || simultaneouslyg < -167928833.0 ? 21.0 : simultaneouslyg))))
var featuredI: Float = 0.0
for _ in 0 ..< 1 {
featuredI /= Swift.max(Float(3 | txtg.count), 3)
}
while ((5 % (Swift.max(10, txtg.count))) <= 3) {
var needV: String! = "certificates"
var mptyt: String! = "interation"
var ableP: String! = "rect"
withUnsafeMutablePointer(to: &ableP) { pointer in
_ = pointer.pointee
}
var completery: [String: Any]! = ["singular":972, "whitespaces":562]
completery = [ableP: 2]
if 2 <= mptyt.count {
var old_: String! = "bots"
var gnew_zM: Float = 2.0
var mireoJ: Double = 0.0
_ = mireoJ
var ttll: [Any]! = [1690]
mptyt.append("\(1 + completery.count)")
old_.append("\((Int(mireoJ > 74483179.0 || mireoJ < -74483179.0 ? 39.0 : mireoJ)))")
gnew_zM += (Float(Int(mireoJ > 1779575.0 || mireoJ < -1779575.0 ? 48.0 : mireoJ)))
ttll = [((String(cString:[72,0], encoding: .utf8)!) == mptyt ? Int(gnew_zM > 43339242.0 || gnew_zM < -43339242.0 ? 4.0 : gnew_zM) : mptyt.count)]
}
for _ in 0 ..< 2 {
ableP = "\(3)"
}
ableP = "\(needV.count)"
while (ableP.count > completery.count) {
completery = [mptyt: mptyt.count]
break
}
repeat {
var directory0: Float = 4.0
var scrollh: String! = "rgbi"
needV.append("\(scrollh.count)")
directory0 -= (Float(Int(directory0 > 36492608.0 || directory0 < -36492608.0 ? 49.0 : directory0) % (Swift.max(needV.count, 4))))
if 3364479 == needV.count {
break
}
} while (3364479 == needV.count) && ((2 << (Swift.min(3, needV.count))) <= 4 && (2 << (Swift.min(1, needV.count))) <= 4)
while (5 == mptyt.count) {
var backr: Float = 2.0
var categooryY: Double = 0.0
withUnsafeMutablePointer(to: &categooryY) { pointer in
}
var tapq: String! = "munlock"
withUnsafeMutablePointer(to: &tapq) { pointer in
_ = pointer.pointee
}
var labelQ: Double = 2.0
var abelU: Int = 1
_ = abelU
mptyt.append("\(abelU << (Swift.min(2, labs(1))))")
backr *= Float(abelU)
categooryY *= Double(completery.keys.count % (Swift.max(9, needV.count)))
tapq = "\(1 & mptyt.count)"
labelQ -= Double(2 + ableP.count)
break
}
while (mptyt.count < 2) {
ableP.append("\(2 | ableP.count)")
break
}
ableP = "\(3 ^ completery.values.count)"
if 3 >= (3 / (Swift.max(7, completery.keys.count))) || 4 >= (3 / (Swift.max(8, completery.keys.count))) {
var localizableA: String! = "coerce"
var iconf: Double = 3.0
_ = iconf
var rawi: Int = 2
_ = rawi
ableP.append("\(3 / (Swift.max(2, localizableA.count)))")
iconf *= (Double(needV == (String(cString:[81,0], encoding: .utf8)!) ? needV.count : mptyt.count))
rawi %= Swift.max(2, needV.count & ableP.count)
}
completery[mptyt] = mptyt.count / (Swift.max(7, ableP.count))
if completery.values.count > ableP.count {
ableP = "\(3 + ableP.count)"
}
txtg.append(2 - needV.count)
break
}
repeat {
txtg.append((Int(eyed9 > 303950553.0 || eyed9 < -303950553.0 ? 98.0 : eyed9) % (Swift.max(5, Int(simultaneouslyg > 14170951.0 || simultaneouslyg < -14170951.0 ? 63.0 : simultaneouslyg)))))
if txtg.count == 3475486 {
break
}
} while ((3.43 / (Swift.max(10, eyed9))) == 1.100) && (txtg.count == 3475486)
return txtg
}
func receiveDataFromNative() {
var compatLocales: [Any]! = markContextPage()
let compatLocales_len = compatLocales.count
var tmp_g_80 = Int(compatLocales_len)
var z_44 = 1
let o_7 = 1
if tmp_g_80 > o_7 {
tmp_g_80 = o_7
}
while z_44 < tmp_g_80 {
z_44 += 1
tmp_g_80 -= z_44
tmp_g_80 *= 1
break
}
compatLocales.forEach({ (obj) in
print(obj)
})
withUnsafeMutablePointer(to: &compatLocales) { pointer in
_ = pointer.pointee
}
receiveDataCount += 1
if receiveDataCount > 10 { return }
var dic = [
"token" : KEFOginReachable.manager.token?.token ?? "",
"time_zone" : NRTargetType.timeZone(),
"lang" : SKKReachableReader.shared.currentLocalizedKey,
"type" : "ios",
"device-id" : HZData.shared.id
]
if let theme = theme {
dic["theme"] = theme
}
if let id = id {
dic["id"] = id
}
if let json = dic.toJsonString() {
let js = "receiveDataFromNative(\(json))"
self.webView.evaluateJavaScript(js) { [weak self] _, error in
guard let self = self else { return }
if error != nil {
DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) { [weak self] in
guard let self = self else { return }
self.receiveDataFromNative()
}
}
}
}
}
}