decord/source/components_native/calls/stream/StreamFullAlert.tsx
github-actions a36fe4ec9c chore: update source for alpha 347.0
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-14 20:04:03 +00:00

44 lines
1.9 KiB
TypeScript

// Module ID: 17971
// Function ID: 17972
// Name: StreamFullAlert
// Dependencies: [19, 17, 21, 9239, 1114, 5075, 4632, 17972, 2]
// Exports: default
// Module 17971 (StreamFullAlert)
import util from "util" /* 1114 */;
import Text_Text from "Text/Text" /* 4632 */;
import common_AlertDefault from "common/Alert" /* 5075 */;
import AVError from "AVError" /* 9239 */;
import _modDef17972 from "module_17972" /* 17972 */;
import noop from "module_19" /* 19 */;
require = fn;
const Image = fn(17).Image;
const jsxProd = fn(21);
({ jsx: closure_4, jsxs: hasOwnProperty } = jsxProd);
let closure_6 = { image: { alignSelf: "center", marginTop: 32 }, body: { marginTop: 16 } };
const size = fn(2);
const result = size.fileFinishedImporting("components_native/calls/stream/StreamFullAlert.tsx");
export default function StreamFullAlert(arg0) {
const errorInfo = AVError.getErrorInfo(AVError.AVError.STREAM_FULL);
let errorCode;
if (errorInfo != null) {
errorCode = errorInfo.errorCode;
}
const intl = tmp(1114).intl;
const obj2 = {};
const formatToPlainStringResult = intl.formatToPlainString(util.t.ejOT95, { errorCode });
const merged = Object.assign(arg0);
const intl2 = tmp(1114).intl;
obj2.title = intl2.string(util.t.GzjdO5);
const obj3 = { variant: "text-md/normal", style: closure_6.body, children: null };
const intl3 = tmp(1114).intl;
obj3.children = intl3.string(util.t.VVZDBL);
const items = [React4(Text_Text.Text, obj3), React4(Text_Text.Text, { variant: "text-md/normal", selectable: true, color: "text-muted", style: closure_6.body, children: formatToPlainStringResult }), ];
const obj4 = { variant: "text-md/normal", selectable: true, color: "text-muted", style: closure_6.body, children: formatToPlainStringResult };
const tmp6 = common_AlertDefault;
items[2] = React4(Image, { source: _modDef17972, style: closure_6.image });
obj2.children = items;
return hasOwnProperty(tmp6, obj2);
};