decord/beta/source/components_native/common/VoiceSensitivity.tsx
github-actions 30c0bb2ec3 chore: update source for beta 347.10
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4975.js (118.4 MB)
2026-09-24 16:03:38 +00:00

842 lines
28 KiB
TypeScript

// Module ID: 10277
// Function ID: 10278
// Name: VoiceSensitivity
// Dependencies: [5, 32, 19, 17, 1996, 5670, 1983, 1078, 4999, 21, 4790, 580, 4640, 558, 568, 1482, 504, 5389, 4845, 4504, 1119, 1181, 8908, 1368, 8586, 2]
// Module 10277 (VoiceSensitivity)
import nativeDefault from "native" /* 580 */;
import util from "util" /* 1119 */;
import AccessibilityAnnouncer2 from "AccessibilityAnnouncer" /* 4504 */;
import BaseConnectionEvent from "BaseConnectionEvent" /* 4845 */;
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
import _slicedToArray from "module_32" /* 32 */;
import noop from "module_19" /* 19 */;
import MediaEngineStore from "MediaEngineStore" /* 1996 */;
import SpeakingStore from "SpeakingStore" /* 5670 */;
import AppStateStore from "AppStateStore" /* 1983 */;
require = fn;
const View = fn(17).View;
const AppStates = fn(1078).AppStates;
const NativePermissionTypes = fn(4999).NativePermissionTypes;
const jsxProd = fn(21);
({ jsx: closure_12, jsxs: map1 } = jsxProd);
const createStyles = fn(4790);
let obj2 = { sensitivity: { position: "relative", height: 20 }, sensitivityBar: { position: "absolute", top: 7, left: 0, right: 0, bottom: 7, flexDirection: "row" }, sensitivityFill: null, sensitivityCommon: null, sensitivityMin: null, sensitivityMax: null, sensitivityDefault: null, sensitivitySpeaking: null, sensitivitySlider: null };
const rect = { position: "absolute", backgroundColor: nativeDefault.unsafe_rawColors.WHITE, opacity: 0.5, top: 7, left: 0, right: 0, bottom: 7 };
obj2.sensitivityFill = rect;
obj2.sensitivityCommon = { height: 6, borderRadius: 3 };
obj2.sensitivityMin = { backgroundColor: nativeDefault.unsafe_rawColors.YELLOW_300 };
let obj3 = { backgroundColor: nativeDefault.unsafe_rawColors.YELLOW_300 };
obj2.sensitivityMax = { backgroundColor: nativeDefault.unsafe_rawColors.GREEN_360 };
let obj5 = { flex: 1, backgroundColor: null };
const ColorUtils = fn(4640);
obj5.backgroundColor = ColorUtils.hexWithOpacity(nativeDefault.unsafe_rawColors.PRIMARY_400, 0.6);
obj2.sensitivityDefault = obj5;
let obj4 = { backgroundColor: nativeDefault.unsafe_rawColors.GREEN_360 };
obj2.sensitivitySpeaking = { flex: 1, backgroundColor: nativeDefault.unsafe_rawColors.GREEN_360 };
obj2.sensitivitySlider = { flex: 1, backgroundColor: "transparent", marginVertical: -10 };
let closure_14 = createStyles.createStyles(obj2);
const ReactCompilerGating = fn(558);
let obj6 = { flex: 1, backgroundColor: nativeDefault.unsafe_rawColors.GREEN_360 };
const size = fn(2);
let result = size.fileFinishedImporting("components_native/common/VoiceSensitivity.tsx");
export default ReactCompilerGating.isReactCompilerEnabled() ? ((auto) => {
const cResult = auto(first1[14]).c(75);
auto = auto.auto;
const onThresholdChange = auto.onThresholdChange;
const tmp4 = closure_14();
const sum = auto.threshold + 100;
let ref = stateFromStores.useRef(null);
stateFromStores.useRef(null);
stateFromStores.useRef(null);
if (cResult[0] === Symbol.for("react.memo_cache_sentinel")) {
const result = first3.isCurrentUserSpeaking();
cResult[0] = result;
let first = result;
} else {
first = cResult[0];
}
const tmp13 = width(stateFromStores.useState(first), 2);
first1 = tmp13[0];
asyncGeneratorStep = tmp13[1];
width = onThresholdChange(tmp2[15])().width;
if (cResult[1] === Symbol.for("react.memo_cache_sentinel")) {
const items = [state];
const fn = function w() {
return state.getState();
};
const items1 = [];
cResult[1] = items;
cResult[2] = fn;
cResult[3] = items1;
let tmp17 = items1;
let tmp16 = fn;
let tmp15 = items;
} else {
tmp15 = cResult[1];
tmp16 = cResult[2];
tmp17 = cResult[3];
}
let obj = auto(first1[14]);
stateFromStores = auto(first1[16]).useStateFromStores(tmp15, tmp16, tmp17);
const tmp12Result = width(stateFromStores.useState(0), 2);
const first2 = tmp12Result[0];
MediaEngineStore = tmp12Result[1];
const tmp12Result4 = width(stateFromStores.useState(sum), 2);
first3 = tmp12Result4[0];
state = tmp12Result4[1];
const tmpResult = auto(first1[16]);
[tmp25, AppStates] = width(stateFromStores.useState(first3 / 100), 2);
const tmp12Result5 = width(stateFromStores.useState(first3 / 100), 2);
[r10089, NativePermissionTypes] = width(stateFromStores.useState(width * (1 - first2 / -100)), 2);
if (cResult[4] === auto) {
if (cResult[5] === first3) {
let tmp27 = cResult[6];
let tmp28 = cResult[7];
}
const effect = obj2.useEffect(tmp27, tmp28);
if (cResult[8] === auto) {
if (cResult[9] === first2) {
if (cResult[10] === width) {
let tmp30 = cResult[11];
let tmp31 = cResult[12];
}
const effect1 = obj2.useEffect(tmp30, tmp31);
const _Symbol = Symbol;
class D {
constructor() {
if (!auto) {
tmp = closure_11;
tmp2 = width;
tmp3 = closure_6;
num = -100;
num2 = 1;
tmp4 = closure_11(width * (1 - closure_6 / -100));
}
return;
}
}
if (tmp33 === Symbol.for("react.memo_cache_sentinel")) {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
cResult[13] = U;
class D {
constructor() {
if (!auto) {
tmp = closure_11;
tmp2 = width;
tmp3 = closure_6;
num = -100;
num2 = 1;
tmp4 = closure_11(width * (1 - closure_6 / -100));
}
return;
}
}
} else {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
}
closure_12 = tmp34;
const _Symbol2 = Symbol;
if (cResult[14] === Symbol.for("react.memo_cache_sentinel")) {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
cResult[14] = tmp35;
class D {
constructor() {
if (!auto) {
tmp = closure_11;
tmp2 = width;
tmp3 = closure_6;
num = -100;
num2 = 1;
tmp4 = closure_11(width * (1 - closure_6 / -100));
}
return;
}
}
} else {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
}
if (cResult[15] !== onThresholdChange) {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
cResult[15] = onThresholdChange;
class D {
constructor() {
if (!auto) {
tmp = closure_11;
tmp2 = width;
tmp3 = closure_6;
num = -100;
num2 = 1;
tmp4 = closure_11(width * (1 - closure_6 / -100));
}
return;
}
}
cResult[16] = tmp37;
} else {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
}
if (cResult[17] !== stateFromStores) {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
const items2 = [tmp34, ];
class D {
constructor() {
if (!auto) {
tmp = closure_11;
tmp2 = width;
tmp3 = closure_6;
num = -100;
num2 = 1;
tmp4 = closure_11(width * (1 - closure_6 / -100));
}
return;
}
}
cResult[17] = stateFromStores;
cResult[18] = tmp40;
cResult[19] = items2;
let tmp39 = items2;
const tmp38 = tmp40;
} else {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
tmp39 = cResult[19];
}
const effect2 = obj2.useEffect(tmp38, tmp39);
ref = obj2.useRef(false);
closure_14 = obj2.useRef(false);
obj2.useRef(null);
if (cResult[20] === auto) {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
const effect3 = obj2.useEffect(tmp42, tmp43);
if (auto) {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
const _Symbol3 = Symbol;
class D {
constructor() {
if (!auto) {
tmp = closure_11;
tmp2 = width;
tmp3 = closure_6;
num = -100;
num2 = 1;
tmp4 = closure_11(width * (1 - closure_6 / -100));
}
return;
}
}
if (first1) {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
}
if (cResult[25] !== first1) {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
const string = tmp54.string;
const t = tmp(tmp2[20]).t;
class D {
constructor() {
if (!auto) {
tmp = closure_11;
tmp2 = width;
tmp3 = closure_6;
num = -100;
num2 = 1;
tmp4 = closure_11(width * (1 - closure_6 / -100));
}
return;
}
}
cResult[25] = first1;
cResult[26] = tmp55;
} else {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
const _Symbol4 = Symbol;
class D {
constructor() {
if (!auto) {
tmp = closure_11;
tmp2 = width;
tmp3 = closure_6;
num = -100;
num2 = 1;
tmp4 = closure_11(width * (1 - closure_6 / -100));
}
return;
}
}
if (cResult[29] === tmp50) {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
if (cResult[32] === tmp4.sensitivityBar) {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
if (cResult[35] === tmp4.sensitivity) {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
}
class D {
constructor() {
if (!auto) {
tmp = closure_11;
tmp2 = width;
tmp3 = closure_6;
num = -100;
num2 = 1;
tmp4 = closure_11(width * (1 - closure_6 / -100));
}
return;
}
}
tmp69[2] = tmp52;
tmp69[3] = num25;
tmp69[6] = tmp53;
tmp69[7] = tmp58;
tmp69[8] = tmp59;
tmp69[9] = tmp4.sensitivity;
tmp69[10] = tmp64;
const tmp70 = closure_12(tmp(tmp2[21]).AccessibilityFocusView, tmp69);
cResult[35] = tmp4.sensitivity;
cResult[36] = num25;
cResult[37] = tmp53;
cResult[38] = tmp64;
cResult[39] = tmp70;
}
class D {
constructor() {
if (!auto) {
tmp = closure_11;
tmp2 = width;
tmp3 = closure_6;
num = -100;
num2 = 1;
tmp4 = closure_11(width * (1 - closure_6 / -100));
}
return;
}
}
const obj3 = { style: tmp4.sensitivityBar, children: tmp60 };
const tmp66 = closure_12(first2, obj3);
cResult[32] = tmp4.sensitivityBar;
cResult[33] = tmp60;
cResult[34] = tmp66;
}
let obj4 = { style: null };
const items3 = [tmp4.sensitivityCommon, tmp50];
obj4.style = items3;
const tmp63 = closure_12(first2, obj4);
cResult[29] = tmp50;
cResult[30] = tmp4.sensitivityCommon;
cResult[31] = tmp63;
}
} else {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
if (cResult[43] !== tmp25) {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
tmp46[0] = tmp25;
class D {
constructor() {
if (!auto) {
tmp = closure_11;
tmp2 = width;
tmp3 = closure_6;
num = -100;
num2 = 1;
tmp4 = closure_11(width * (1 - closure_6 / -100));
}
return;
}
}
cResult[44] = tmp46;
} else {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
}
if (cResult[45] === tmp4.sensitivityCommon) {
class U {
constructor(arg0, arg1) {
tmp = closure_3(arg1);
tmp2 = closure_7(auto);
return;
}
}
}
class D {
constructor() {
if (!auto) {
tmp = closure_11;
tmp2 = width;
tmp3 = closure_6;
num = -100;
num2 = 1;
tmp4 = closure_11(width * (1 - closure_6 / -100));
}
return;
}
}
let obj5 = { ref, style: null };
const items4 = [, , ];
({ sensitivityCommon: arr7[0], sensitivityMin: arr7[1] } = tmp4);
items4[2] = tmp45;
obj5.style = items4;
const tmp49 = closure_12(first2, obj5);
cResult[45] = tmp4.sensitivityCommon;
cResult[46] = tmp4.sensitivityMin;
cResult[47] = tmp45;
cResult[48] = tmp49;
}
}
function ve() {
if (ref.current) {
if (auto) {
if (tmp3.current) {
if (first1) {
if (null != tmp5.current) {
let _clearTimeout = clearTimeout;
clearTimeout(tmp5.current);
tmp5.current = null;
}
let AccessibilityAnnouncer = AccessibilityAnnouncer2.AccessibilityAnnouncer;
let intl = util.intl;
AccessibilityAnnouncer.announce(intl.string(util.t.haLKZ0));
} else {
const _setTimeout = setTimeout;
tmp5.current = setTimeout(() => {
ref.current = null;
const AccessibilityAnnouncer = auto(first1[19]).AccessibilityAnnouncer;
const intl = auto(first1[20]).intl;
AccessibilityAnnouncer.announce(intl.string(auto(first1[20]).t.X2hJL7));
}, 1000);
}
return () => {
if (null != ref.current) {
const _clearTimeout = clearTimeout;
clearTimeout(tmp.current);
tmp.current = null;
}
};
}
} else {
tmp3.current = false;
}
} else {
tmp.current = true;
}
}
const items5 = [auto, first1];
cResult[20] = auto;
cResult[21] = first1;
cResult[22] = ve;
cResult[23] = items5;
tmp42 = ve;
tmp43 = items5;
}
}
class D {
constructor() {
if (!auto) {
tmp = closure_11;
tmp2 = width;
tmp3 = closure_6;
num = -100;
num2 = 1;
tmp4 = closure_11(width * (1 - closure_6 / -100));
}
return;
}
}
const items6 = [auto, first2, width];
cResult[8] = auto;
cResult[9] = first2;
cResult[10] = width;
cResult[11] = D;
cResult[12] = items6;
tmp31 = items6;
tmp30 = D;
}
class W {
constructor() {
if (!auto) {
tmp = closure_10;
tmp2 = closure_8;
num = 100;
tmp3 = closure_10(closure_8 / 100);
}
return;
}
}
const items7 = [auto, first3];
cResult[4] = auto;
cResult[5] = first3;
cResult[6] = W;
cResult[7] = items7;
tmp28 = items7;
tmp27 = W;
}) : ((auto) => {
auto = auto.auto;
const onThresholdChange = auto.onThresholdChange;
let width;
let stateFromStores;
let first2;
state = undefined;
c10 = undefined;
closure_14 = undefined;
const tmp = closure_14();
const sum = auto.threshold + 100;
stateFromStores.useRef(null);
stateFromStores.useRef(null);
const tmp6 = width(stateFromStores.useState(first2.isCurrentUserSpeaking()), 2);
const first = tmp6[0];
closure_3 = tmp6[1];
width = onThresholdChange(first[15])().width;
const ref1 = stateFromStores.useRef(null);
const tmp8 = onThresholdChange;
const items = [state];
stateFromStores = auto(first[16]).useStateFromStores(items, () => state.getState(), []);
const tmp12 = width(stateFromStores.useState(0), 2);
const first1 = tmp12[0];
closure_7 = tmp12[1];
const tmp14 = width(stateFromStores.useState(sum), 2);
first2 = tmp14[0];
state = tmp14[1];
let obj = auto(first[16]);
[tmp17, c10] = width(stateFromStores.useState(first2 / 100), 2);
const tmp18 = width(stateFromStores.useState(width * (1 - first1 / -100)), 2);
closure_11 = tmp18[1];
const items1 = [auto, first2];
const effect = stateFromStores.useEffect(() => {
if (!auto) {
_undefined(first2 / 100);
}
}, items1);
const items2 = [auto, first1, width];
const effect1 = stateFromStores.useEffect(() => {
if (!auto) {
closure_11(width * (1 - first1 / -100));
}
}, items2);
const callback = stateFromStores.useCallback((arg0, arg1) => {
closure_3(arg1);
closure_7(arg0);
}, []);
const items3 = [callback, stateFromStores];
const callback1 = stateFromStores.useCallback((arg0) => {
state(arg0);
}, []);
const effect2 = stateFromStores.useEffect(() => {
closure_1 = async function _listenOnlyIfWeHavePermission2(arg0, value) {
if (c2 === 2) {
c2 = 3;
throw new TypeError("Generator functions may not be called on executing generators");
} else if (tmp3 === 3) {
if (arg0 === 1) {
throw value;
} else if (arg0 === 2) {
const obj = { value, done: true };
return obj;
} else {
return { value: "IconComponent", done: null };
}
} else {
try {
c2 = 2;
if (0 === c1) {
if (arg0 === 1) {
c2 = 3;
throw value;
} else if (arg0 === 2) {
c2 = 3;
const obj2 = { value, done: true };
return obj2;
} else {
closure_0 = tmp4;
c1 = 1;
c2 = 1;
const obj4 = { value: onThresholdChange(5389).hasPermission(constants.AUDIO, { showAuthorizationError: false }), done: false };
return obj4;
}
} else if (arg0 === 1) {
c2 = 3;
throw value;
} else if (arg0 === 2) {
c2 = 3;
const obj5 = { value, done: true };
return obj5;
} else {
let tmp5 = value;
if (value) {
tmp5 = !closure_128_0;
}
if (tmp5) {
mediaEngine = mediaEngine.getMediaEngine();
mediaEngine.on(auto(4845).MediaEngineEvent.VoiceActivity, callback);
}
c2 = 3;
return { value: "IconComponent", done: null };
}
} catch (tmp17) {
c2 = tmp;
throw tmp17;
}
}
};
if (stateFromStores === _undefined.ACTIVE) {
c0 = false;
(function listenOnlyIfWeHavePermission() {
const self = this;
const apply = closure_1.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
})();
return () => {
c0 = true;
const mediaEngine = MediaEngineStore.getMediaEngine();
mediaEngine.removeListener(BaseConnectionEvent.MediaEngineEvent.VoiceActivity, callback);
};
}
}, items3);
const ref = stateFromStores.useRef(false);
closure_14 = stateFromStores.useRef(false);
const ref2 = stateFromStores.useRef(null);
const items4 = [auto, first];
const effect3 = stateFromStores.useEffect(() => {
if (ref.current) {
if (auto) {
if (tmp3.current) {
if (first) {
if (null != tmp5.current) {
let _clearTimeout = clearTimeout;
clearTimeout(tmp5.current);
tmp5.current = null;
}
let AccessibilityAnnouncer = AccessibilityAnnouncer2.AccessibilityAnnouncer;
let intl = util.intl;
AccessibilityAnnouncer.announce(intl.string(util.t.haLKZ0));
} else {
const _setTimeout = setTimeout;
tmp5.current = setTimeout(() => {
ref.current = null;
const AccessibilityAnnouncer = auto(first[19]).AccessibilityAnnouncer;
const intl = auto(first[20]).intl;
AccessibilityAnnouncer.announce(intl.string(auto(first[20]).t.X2hJL7));
}, 1000);
}
return () => {
if (null != ref.current) {
const _clearTimeout = clearTimeout;
clearTimeout(tmp.current);
tmp.current = null;
}
};
}
} else {
tmp3.current = false;
}
} else {
tmp.current = true;
}
}, items4);
if (auto) {
let obj2 = { accessible: true, role: "meter", "aria-label": null, "aria-valuenow": null, "aria-valuemin": 0, "aria-valuemax": 100, "aria-valuetext": null, onAccessibilityFocus: null, onAccessibilityBlur: null, style: null, children: null };
const intl2 = tmp10(tmp9[20]).intl;
obj2["aria-label"] = intl2.string(tmp10(tmp9[20]).t.yZcOjo);
let num = 0;
if (first) {
num = 100;
}
obj2["aria-valuenow"] = num;
const intl3 = tmp10(tmp9[20]).intl;
const string = intl3.string;
const t = tmp10(tmp9[20]).t;
if (first) {
let stringResult = string(t.haLKZ0);
} else {
stringResult = string(t.X2hJL7);
}
const obj3 = { children: null };
obj2["aria-valuetext"] = stringResult;
obj2.onAccessibilityFocus = function onAccessibilityFocus() {
closure_14.current = true;
};
obj2.onAccessibilityBlur = function onAccessibilityBlur() {
closure_14.current = false;
if (null != ref2.current) {
const _clearTimeout = clearTimeout;
clearTimeout(tmp.current);
tmp.current = null;
}
};
obj2.style = tmp.sensitivity;
let obj4 = { style: tmp.sensitivityBar, children: null };
let obj5 = { style: null };
const items5 = [tmp.sensitivityCommon, first ? tmp.sensitivitySpeaking : tmp.sensitivityDefault];
obj5.style = items5;
obj4.children = callback(first1, obj5);
obj2.children = callback(first1, obj4);
const items6 = [callback(tmp10(tmp9[21]).AccessibilityFocusView, obj2), ];
const obj6 = { inset: true, children: null };
const intl4 = tmp10(tmp9[20]).intl;
obj6.children = intl4.string(tmp10(tmp9[20]).t.W3K5Im);
items6[1] = callback(tmp10(tmp9[22]).FormHint, obj6);
obj3.children = items6;
return ref(first1, obj3);
} else {
const obj7 = { style: tmp.sensitivity, children: null };
const obj8 = { style: tmp.sensitivityBar, children: null };
const obj9 = { ref, style: null };
const items7 = [, , ];
({ sensitivityCommon: arr6[0], sensitivityMin: arr6[1] } = tmp);
const obj10 = { flex: tmp17 };
items7[2] = obj10;
obj9.style = items7;
const items8 = [callback(first1, obj9), ];
const obj11 = { ref: ref1, style: null };
const items9 = [, , ];
({ sensitivityCommon: arr8[0], sensitivityMax: arr8[1] } = tmp);
const obj12 = { flex: 1 - tmp17 };
items9[2] = obj12;
obj11.style = items9;
items8[1] = callback(first1, obj11);
obj8.children = items8;
const items10 = [ref(first1, obj8), , ];
const obj13 = { ref: ref2, style: null };
const items11 = [tmp.sensitivityFill, ];
const obj14 = { left: tmp18[0] };
items11[1] = obj14;
obj13.style = items11;
items10[1] = callback(first1, obj13);
const obj15 = { style: tmp.sensitivitySlider, value: sum, minimumValue: 0, maximumValue: 100, minimumTrackTintColor: "transparent", maximumTrackTintColor: "transparent", accessibilityLabel: null, onValueChange: null, onSlidingComplete: null, onResponderGrant: null };
let intl = tmp10(tmp9[20]).intl;
obj15.accessibilityLabel = intl.string(tmp10(tmp9[20]).t["sqUm+k"]);
obj15.onValueChange = callback1;
obj15.onSlidingComplete = function handleSlidingComplete(arg0) {
onThresholdChange(-1 * (100 - arg0));
};
const tmp25 = ref;
const tmp26 = first1;
const tmp27 = callback;
const tmp8Result = tmp8(tmp9[24]);
let fn;
if (tmp10Result.isAndroid()) {
fn = () => true;
}
obj15.onResponderGrant = fn;
items10[2] = tmp27(tmp8Result, obj15);
obj7.children = items10;
return tmp25(tmp26, obj7);
}
const tmp16 = width(stateFromStores.useState(first2 / 100), 2);
});