2025-12-08 13:48:40 +08:00

701 lines
19 KiB
Swift

import Foundation
import UIKit
import SnapKit
class ZJinmoEviceView: UIView {
var checkHotString: String?
var share_min: Double? = 0.0
private var moduleEncryptedFrontString: String!
var didSearch: ((_ text: String) -> Void)?
var text: String? {
get {
return textField.text
}
set {
textField.text = newValue
}
}
lazy var bgImageView = UIImageView(image: UIImage(named: "nameJinmo"))
lazy var button: UIButton = {
var configuration = UIButton.Configuration.plain()
configuration.background.cornerRadius = 0
configuration.background.image = UIImage(named: "userModity")
configuration.contentInsets = .init(top: 0, leading: 10, bottom: 0, trailing: 10)
configuration.attributedTitle = AttributedString("etailNewsManager".localized, attributes: AttributeContainer([
.font : UIFont.font(ofSize: 14, weight: .medium),
.foregroundColor : UIColor._010101
]))
let button = UIButton(configuration: configuration, primaryAction: UIAction(handler: { [weak self] _ in
guard let self = self else { return }
self.tagPinPointer()
}))
button.setContentHuggingPriority(.required, for: .horizontal)
button.setContentCompressionResistancePriority(.required, for: .horizontal)
return button
}()
lazy var textField: UITextField = {
let textField = UITextField(frame: .zero)
textField.tintColor = UIColor.white.withAlphaComponent(0.5)
textField.delegate = self
textField.returnKeyType = .search
textField.font = .font(ofSize: 12, weight: .medium)
textField.textColor = .white
textField.attributedPlaceholder = NSAttributedString(string: "sceneLocalizableType_qe".localized, attributes: [
.font : UIFont.font(ofSize: 12, weight: .medium),
.foregroundColor : UIColor.white.withAlphaComponent(0.3)
])
return textField
}()
override init(frame: CGRect) {
super.init(frame: frame)
twoReachablePlainAll()
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
@discardableResult
func automaticDisappearAxis(watchBack: Double, miniRegister_n: String!, angleUrl: [String: Any]!) -> Double {
var agox: Bool = true
var twow: String! = "promoting"
withUnsafeMutablePointer(to: &twow) { pointer in
_ = pointer.pointee
}
var selectorA: Double = 1.0
_ = selectorA
var frontv: Double = 3.0
frontv -= (Double(Int(selectorA > 156582747.0 || selectorA < -156582747.0 ? 46.0 : selectorA)))
repeat {
frontv /= Swift.max((Double(Int(frontv > 54043881.0 || frontv < -54043881.0 ? 89.0 : frontv) * Int(selectorA > 248328868.0 || selectorA < -248328868.0 ? 3.0 : selectorA))), 4)
if 662403.0 == frontv {
break
}
} while (662403.0 == frontv) && (selectorA < 5.35)
var hot4: String! = "roundness"
if (2.58 - frontv) >= 1.14 {
frontv += Double(3)
}
if 2 <= (hot4.count | 2) {
var auto_zzj: Double = 3.0
var worthyh: String! = "benc"
_ = worthyh
hot4 = "\((Int(selectorA > 195440829.0 || selectorA < -195440829.0 ? 15.0 : selectorA) & Int(frontv > 354279150.0 || frontv < -354279150.0 ? 19.0 : frontv)))"
auto_zzj *= (Double(worthyh.count ^ Int(auto_zzj > 23949425.0 || auto_zzj < -23949425.0 ? 18.0 : auto_zzj)))
worthyh = "\((Int(selectorA > 20272409.0 || selectorA < -20272409.0 ? 2.0 : selectorA)))"
}
frontv /= Swift.max((Double(Int(frontv > 303993922.0 || frontv < -303993922.0 ? 61.0 : frontv) & hot4.count)), 3)
twow = "\((Int(selectorA > 182854373.0 || selectorA < -182854373.0 ? 24.0 : selectorA) & (agox ? 1 : 2)))"
agox = twow.count > 5 || !agox
repeat {
twow = "\((twow.count & (agox ? 2 : 5)))"
if 414209 == twow.count {
break
}
} while (2 == twow.count || !agox) && (414209 == twow.count)
var headersLogo: Double = 7866.0
var slicedSocketsCollections:Double = 0
headersLogo = 7664
slicedSocketsCollections += Double(headersLogo)
var _x_77 = Int(headersLogo)
if _x_77 < 374 {
var v_37 = 1
let b_60 = 1
if _x_77 > b_60 {
_x_77 = b_60
}
while v_37 < _x_77 {
v_37 += 1
var l_69 = v_37
break
}
}
return slicedSocketsCollections
}
@discardableResult
override func resignFirstResponder() -> Bool {
var xmulColorspace: Double = automaticDisappearAxis(watchBack:5269.0, miniRegister_n:"autodownload", angleUrl:["sesson":"shutter", "using":"optional", "syncable":"maxdbs"])
var _z_79 = Int(xmulColorspace)
var y_32: Int = 0
let i_18 = 2
if _z_79 > i_18 {
_z_79 = i_18
}
if _z_79 <= 0 {
_z_79 = 1
}
for u_72 in 0 ..< _z_79 {
y_32 += u_72
if u_72 > 0 {
_z_79 /= u_72
break
}
var v_2 = y_32
var s_50 = 1
let v_27 = 0
if v_2 > v_27 {
v_2 = v_27
}
while s_50 < v_2 {
s_50 += 1
v_2 /= s_50
break
}
break
}
if xmulColorspace <= 28 {
print(xmulColorspace)
}
withUnsafeMutablePointer(to: &xmulColorspace) { pointer in
}
super.resignFirstResponder()
return self.textField.resignFirstResponder()
}
@discardableResult
func waitDirectionPrimaryQueryObserver() -> String! {
var rivacyU: Float = 4.0
var videoc: String! = "magy"
_ = videoc
var nameA: String! = "setshare"
videoc = "\(nameA.count)"
videoc = "\(videoc.count ^ 2)"
while (2 <= videoc.count || 2 <= nameA.count) {
videoc.append("\(videoc.count)")
break
}
nameA.append("\(videoc.count)")
videoc = "\(2 % (Swift.max(3, nameA.count)))"
for _ in 0 ..< 1 {
videoc.append("\(videoc.count)")
}
repeat {
rivacyU *= (Float(Int(rivacyU > 26403112.0 || rivacyU < -26403112.0 ? 67.0 : rivacyU) ^ 1))
if rivacyU == 4459509.0 {
break
}
} while (rivacyU < 3.48) && (rivacyU == 4459509.0)
if 4.37 == rivacyU {
var baiting3: Double = 3.0
var r_subviewsv: Bool = true
r_subviewsv = 38.76 < baiting3
var paging1: Double = 1.0
r_subviewsv = 91.41 < (baiting3 / (Swift.max(8, paging1)))
while (!r_subviewsv) {
var ategoryo: String! = "decelerated"
_ = ategoryo
var rogressD: Bool = true
r_subviewsv = !rogressD
ategoryo.append("\((Int(baiting3 > 300874618.0 || baiting3 < -300874618.0 ? 98.0 : baiting3) & 3))")
break
}
while ((baiting3 / 3.91) > 4.64 || r_subviewsv) {
r_subviewsv = !r_subviewsv
break
}
baiting3 -= (Double(Int(baiting3 > 331251436.0 || baiting3 < -331251436.0 ? 100.0 : baiting3) << (Swift.min(1, labs(3)))))
var scrolll: [String: Any]! = ["yprediction":41, "decoding":377, "highligted":925]
scrolll = ["\(r_subviewsv)": ((r_subviewsv ? 1 : 5) & Int(baiting3 > 219305415.0 || baiting3 < -219305415.0 ? 44.0 : baiting3))]
rivacyU /= Swift.max(2, (Float(Int(baiting3 > 349893828.0 || baiting3 < -349893828.0 ? 27.0 : baiting3) << (Swift.min(3, labs((r_subviewsv ? 1 : 1)))))))
}
return videoc
}
private func tagPinPointer() {
var gpostfilterFilepath: String! = waitDirectionPrimaryQueryObserver()
let gpostfilterFilepath_len = gpostfilterFilepath?.count ?? 0
var tmp_m_2 = Int(gpostfilterFilepath_len)
switch tmp_m_2 {
case 91:
if tmp_m_2 > 904 {
tmp_m_2 *= 47
if tmp_m_2 == 686 {
tmp_m_2 *= 82
}
}
break
case 83:
var h_80: Int = 0
let s_27 = 1
if tmp_m_2 > s_27 {
tmp_m_2 = s_27
}
if tmp_m_2 <= 0 {
tmp_m_2 = 1
}
for n_100 in 0 ..< tmp_m_2 {
h_80 += n_100
var p_28 = h_80
if p_28 < 790 {
}
break
}
break
case 93:
var d_50: Int = 0
let x_25 = 2
if tmp_m_2 > x_25 {
tmp_m_2 = x_25
}
if tmp_m_2 <= 0 {
tmp_m_2 = 1
}
for r_16 in 0 ..< tmp_m_2 {
d_50 += r_16
tmp_m_2 -= r_16
break
}
break
case 97:
var e_34 = 1
let c_83 = 1
if tmp_m_2 > c_83 {
tmp_m_2 = c_83
}
while e_34 < tmp_m_2 {
e_34 += 1
tmp_m_2 /= e_34
var z_7 = e_34
switch z_7 {
case 65:
z_7 *= 49
z_7 /= 58
break
case 52:
z_7 *= 34
break
case 24:
z_7 *= 88
break
case 83:
z_7 -= 16
break
case 41:
break
case 96:
break
default:()
}
break
}
break
case 62:
tmp_m_2 += 18
break
case 86:
tmp_m_2 *= 79
var s_12 = 1
let o_98 = 0
if tmp_m_2 > o_98 {
tmp_m_2 = o_98
}
while s_12 < tmp_m_2 {
s_12 += 1
var m_69 = s_12
if m_69 < 703 {
}
break
}
break
case 5:
tmp_m_2 += 77
if tmp_m_2 >= 197 {
}
break
case 38:
if tmp_m_2 < 721 {
tmp_m_2 += 86
if tmp_m_2 < 106 {
tmp_m_2 -= 11
}
}
break
default:()
}
print(gpostfilterFilepath)
withUnsafeMutablePointer(to: &gpostfilterFilepath) { pointer in
}
if let text = textField.text {
self.didSearch?(text)
}
}
@discardableResult
override func becomeFirstResponder() -> Bool {
super.becomeFirstResponder()
return self.textField.becomeFirstResponder()
}
}
extension ZJinmoEviceView {
@discardableResult
func previousSpaceBackScaleLike(collectModal: String!, readThree: Int, countHorizontally: Double) -> Double {
var frontg: [String: Any]! = ["unread":"ccitt"]
_ = frontg
var likeX: Float = 2.0
var paningO: Double = 0.0
likeX -= Float(frontg.count % (Swift.max(2, 1)))
if 1.90 > (1.75 - likeX) {
var youB: String! = "passb"
_ = youB
var fires: String! = "predictorsb"
var veloriag: String! = "capturer"
youB = "\(veloriag.count)"
fires = "\(((String(cString:[79,0], encoding: .utf8)!) == youB ? youB.count : veloriag.count))"
var infoP: [String: Any]! = ["bond":743, "vailability":727]
infoP[youB] = infoP.count % (Swift.max(youB.count, 2))
likeX *= (Float(Int(paningO > 2086561.0 || paningO < -2086561.0 ? 33.0 : paningO)))
}
var roundings: Bool = true
withUnsafeMutablePointer(to: &roundings) { pointer in
_ = pointer.pointee
}
for _ in 0 ..< 2 {
likeX += (Float(Int(paningO > 68436131.0 || paningO < -68436131.0 ? 77.0 : paningO) ^ frontg.values.count))
}
if (likeX / (Swift.max(Float(paningO), 7))) > 4.70 || 2.55 > (likeX / (Swift.max(4.70, 8))) {
paningO *= (Double(Int(paningO > 126439169.0 || paningO < -126439169.0 ? 57.0 : paningO) + (roundings ? 3 : 1)))
}
repeat {
roundings = paningO <= 73.74
if roundings ? !roundings : roundings {
break
}
} while (roundings ? !roundings : roundings) && ((paningO / (Swift.max(1.55, 8))) < 5.66)
return paningO
}
private func twoReachablePlainAll() {
var mpegvideodspMeasuring: Double = previousSpaceBackScaleLike(collectModal:"compress", readThree:7729, countHorizontally:6126.0)
if mpegvideodspMeasuring < 88 {
print(mpegvideodspMeasuring)
}
var _a_75 = Int(mpegvideodspMeasuring)
var s_54: Int = 0
let e_83 = 1
if _a_75 > e_83 {
_a_75 = e_83
}
if _a_75 <= 0 {
_a_75 = 1
}
for r_21 in 0 ..< _a_75 {
s_54 += r_21
var k_11 = s_54
var e_36: Int = 0
let m_32 = 2
if k_11 > m_32 {
k_11 = m_32
}
if k_11 <= 0 {
k_11 = 1
}
for u_99 in 0 ..< k_11 {
e_36 += u_99
k_11 -= u_99
break
}
break
}
withUnsafeMutablePointer(to: &mpegvideodspMeasuring) { pointer in
_ = pointer.pointee
}
addSubview(bgImageView)
addSubview(button)
addSubview(textField)
bgImageView.snp.makeConstraints { make in
make.top.bottom.left.equalToSuperview()
make.right.equalToSuperview().offset(-8)
make.height.equalTo(40)
}
button.snp.makeConstraints { make in
make.top.bottom.equalToSuperview()
make.right.equalToSuperview()
}
textField.snp.makeConstraints { make in
make.top.bottom.equalToSuperview()
make.left.equalToSuperview().offset(14)
make.right.equalTo(button.snp.left).offset(-15)
}
}
}
extension ZJinmoEviceView: UITextFieldDelegate {
@discardableResult
func snapStackStartView(fullElyon: Int, sampleArget: Int) -> UIView! {
var threeY: String! = "memalign"
withUnsafeMutablePointer(to: &threeY) { pointer in
_ = pointer.pointee
}
var worthyt: [Any]! = [855, 994, 346]
worthyt = [threeY.count]
var colorsT: String! = "testbit"
_ = colorsT
var fireB: Double = 5.0
while ((Int(fireB > 149830820.0 || fireB < -149830820.0 ? 90.0 : fireB) * 1) > 1 || (colorsT.count * Int(fireB > 1424393.0 || fireB < -1424393.0 ? 20.0 : fireB)) > 1) {
colorsT = "\(((String(cString:[57,0], encoding: .utf8)!) == colorsT ? Int(fireB > 55252774.0 || fireB < -55252774.0 ? 68.0 : fireB) : colorsT.count))"
break
}
repeat {
colorsT.append("\((colorsT == (String(cString:[122,0], encoding: .utf8)!) ? colorsT.count : Int(fireB > 56353872.0 || fireB < -56353872.0 ? 67.0 : fireB)))")
if (String(cString:[55,56,118,113,117,113,0], encoding: .utf8)!) == colorsT {
break
}
} while ((String(cString:[55,56,118,113,117,113,0], encoding: .utf8)!) == colorsT) && (2 >= (colorsT.count ^ 2))
var thimrat: Bool = true
var bottomV: Bool = false
withUnsafeMutablePointer(to: &bottomV) { pointer in
_ = pointer.pointee
}
fireB -= (Double(Int(fireB > 6003118.0 || fireB < -6003118.0 ? 98.0 : fireB) % (Swift.max(4, (bottomV ? 3 : 4)))))
thimrat = thimrat && 68.99 > fireB
repeat {
colorsT = "\((Int(fireB > 366928272.0 || fireB < -366928272.0 ? 9.0 : fireB) | colorsT.count))"
if colorsT == (String(cString:[98,110,120,116,55,106,114,103,0], encoding: .utf8)!) {
break
}
} while (colorsT == (String(cString:[98,110,120,116,55,106,114,103,0], encoding: .utf8)!)) && (3.75 == (4.48 - fireB) || 3.17 == (4.48 - fireB))
colorsT.append("\((Int(fireB > 257321003.0 || fireB < -257321003.0 ? 70.0 : fireB) >> (Swift.min(colorsT.count, 5))))")
var nameu: Bool = true
colorsT.append("\(colorsT.count >> (Swift.min(labs(3), 3)))")
nameu = colorsT.hasSuffix("\(nameu)")
threeY = "\(colorsT.count & worthyt.count)"
var localizedg: Double = 1.0
withUnsafeMutablePointer(to: &localizedg) { pointer in
}
repeat {
worthyt = [(Int(localizedg > 293419916.0 || localizedg < -293419916.0 ? 2.0 : localizedg) | 2)]
if worthyt.count == 200422 {
break
}
} while (5 <= (3 << (Swift.min(3, worthyt.count)))) && (worthyt.count == 200422)
let objectSend: [Any]! = ["confirmation", "decompressor"]
var backgroundHeight: String! = "elastic"
var ntroThrmatBnbinpad = UIView(frame:CGRect(x: 212, y: 318, width: 0, height: 0))
ntroThrmatBnbinpad.frame = CGRect(x: 170, y: 103, width: 0, height: 0)
ntroThrmatBnbinpad.alpha = 0.0;
ntroThrmatBnbinpad.backgroundColor = UIColor(red:0, green:0, blue:0, alpha: 0)
var ntroThrmatBnbinpadFrame = ntroThrmatBnbinpad.frame
ntroThrmatBnbinpadFrame.size = CGSize(width: 208, height: 198)
ntroThrmatBnbinpad.frame = ntroThrmatBnbinpadFrame
if ntroThrmatBnbinpad.isHidden {
ntroThrmatBnbinpad.isHidden = false
}
if ntroThrmatBnbinpad.alpha > 0.0 {
ntroThrmatBnbinpad.alpha = 0.0
}
if !ntroThrmatBnbinpad.isUserInteractionEnabled {
ntroThrmatBnbinpad.isUserInteractionEnabled = true
}
return ntroThrmatBnbinpad
}
func textFieldShouldReturn(_ textField: UITextField) -> Bool {
var independenceBlake: UIView! = snapStackStartView(fullElyon:8824, sampleArget:7001)
if independenceBlake != nil {
self.addSubview(independenceBlake)
let independenceBlake_tag = independenceBlake.tag
var temp_i_22 = Int(independenceBlake_tag)
switch temp_i_22 {
case 60:
var j_57: Int = 0
let u_20 = 1
if temp_i_22 > u_20 {
temp_i_22 = u_20
}
if temp_i_22 <= 0 {
temp_i_22 = 2
}
for b_50 in 0 ..< temp_i_22 {
j_57 += b_50
temp_i_22 -= b_50
break
}
break
case 44:
temp_i_22 -= 1
temp_i_22 *= 62
break
case 91:
var j_44: Int = 0
let e_28 = 1
if temp_i_22 > e_28 {
temp_i_22 = e_28
}
if temp_i_22 <= 0 {
temp_i_22 = 2
}
for f_54 in 0 ..< temp_i_22 {
j_44 += f_54
var r_67 = j_44
if r_67 < 382 {
r_67 -= 55
}
break
}
break
case 29:
temp_i_22 -= 26
if temp_i_22 <= 851 {
temp_i_22 -= 89
if temp_i_22 <= 106 {
}
}
break
case 72:
temp_i_22 /= 55
break
case 92:
temp_i_22 -= 77
temp_i_22 += 78
break
case 36:
var b_11: Int = 0
let r_92 = 2
if temp_i_22 > r_92 {
temp_i_22 = r_92
}
if temp_i_22 <= 0 {
temp_i_22 = 1
}
for f_92 in 0 ..< temp_i_22 {
b_11 += f_92
if f_92 > 0 {
temp_i_22 /= f_92
break
}
var m_79 = b_11
if m_79 > 388 {
m_79 /= 57
}
break
}
break
case 22:
if temp_i_22 > 684 {
}
else {
temp_i_22 /= 66
}
break
case 93:
temp_i_22 /= 15
break
case 56:
temp_i_22 /= 73
break
default:()
}
}
withUnsafeMutablePointer(to: &independenceBlake) { pointer in
}
tagPinPointer()
return true
}
}