decord/source/__helpers/04xxx/4613__playHaptic.js
github-actions ecf26fc058 chore: update source for alpha 347.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
2026-09-16 07:03:15 +00:00

66 lines
1.7 KiB
JavaScript

// Module ID: 4613
// Function ID: 4614
// Name: _playHaptic
// Dependencies: [5, 17, 4609]
// Exports: playHaptic
// Module 4613 (_playHaptic)
import _modDef4609 from "module_4609" /* 4609 */;
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
let closure_3 = async function _playHaptic(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 obj2 = { value, done: true };
return obj2;
} else {
return { value: "HermesInternal", done: null };
}
} else {
try {
c2 = 2;
if (arg0 === 1) {
c2 = 3;
throw value;
} else if (arg0 === 2) {
c2 = 3;
const obj3 = { value, done: true };
return obj3;
} else {
if (obj.isEnabled()) {
c2 = 3;
const obj4 = { value: tmp6(tmp7[2]).triggerPattern(tmp4, tmp5), done: true };
return obj4;
} else {
c2 = 3;
return { value: "HermesInternal", done: null };
}
obj = _modDef4609;
tmp4 = closure_0;
tmp5 = closure_1;
tmp6 = importDefault;
tmp7 = dependencyMap;
}
} catch (tmp8) {
c2 = tmp;
throw tmp8;
}
}
};
const Platform = fn(17).Platform;
export const playHaptic = function playHaptic(arg0, arg1, arg2) {
const self = this;
const apply = closure_3.apply;
if (typeof apply === "unknown") {
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
} else {
applyArgumentsResult = apply(self, arguments);
}
return applyArgumentsResult;
};