decord/source/components_native/calls/stream/StreamFullAlert.tsx
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

44 lines
1.9 KiB
TypeScript

// Module ID: 17949
// Function ID: 17950
// Name: StreamFullAlert
// Dependencies: [19, 17, 21, 9179, 1114, 5044, 4601, 17950, 2]
// Exports: default
// Module 17949 (StreamFullAlert)
import util from "util" /* 1114 */;
import Text_Text from "Text/Text" /* 4601 */;
import common_AlertDefault from "common/Alert" /* 5044 */;
import AVError from "AVError" /* 9179 */;
import _modDef17950 from "module_17950" /* 17950 */;
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: _modDef17950, style: closure_6.image });
obj2.children = items;
return hasOwnProperty(tmp6, obj2);
};