decord/source/components_native/calls/stream/StreamFullAlert.tsx
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

44 lines
1.9 KiB
TypeScript

// Module ID: 18009
// Function ID: 18010
// Name: StreamFullAlert
// Dependencies: [19, 17, 21, 9242, 1115, 5078, 4635, 18010, 2]
// Exports: default
// Module 18009 (StreamFullAlert)
import util from "util" /* 1115 */;
import Text_Text from "Text/Text" /* 4635 */;
import common_AlertDefault from "common/Alert" /* 5078 */;
import AVError from "AVError" /* 9242 */;
import _modDef18010 from "module_18010" /* 18010 */;
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(1115).intl;
const obj2 = {};
const formatToPlainStringResult = intl.formatToPlainString(util.t.ejOT95, { errorCode });
const merged = Object.assign(arg0);
const intl2 = tmp(1115).intl;
obj2.title = intl2.string(util.t.GzjdO5);
const obj3 = { variant: "text-md/normal", style: closure_6.body, children: null };
const intl3 = tmp(1115).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: _modDef18010, style: closure_6.image });
obj2.children = items;
return hasOwnProperty(tmp6, obj2);
};