Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,43 @@
|
||||
/* Metro module 15013; source: modules/threads/FormError.tsx; dependencies: [1244, 7246, 2] */
|
||||
function _fun113486(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#113486, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15210:6, offset: 0x023fc48c, size: 229 bytes, params: 8, frame: 18
|
||||
var object2;
|
||||
const env0_0 = require;
|
||||
const formSubmitError_113487 = function(a0, a1) {
|
||||
var value = a1;
|
||||
var value2 = null;
|
||||
return {type: a0, message: value2 != value ? value : value2};
|
||||
};
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
object2 = {EmptyContent: 0};
|
||||
object2[0] = 'EmptyContent';
|
||||
object2.AutomodViolation = 1;
|
||||
object2[1] = 'AutomodViolation';
|
||||
object2.ApiValidation = 2;
|
||||
object2[2] = 'ApiValidation';
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/threads/FormError.tsx');
|
||||
exports.FormSubmitErrorType = object2;
|
||||
exports.makeEmptyTitleError = function() {
|
||||
return makeEmptyContentError_113488(require(dependencyMap[0]).intl.string(require(dependencyMap[0]).t.uXA573));
|
||||
};
|
||||
exports.makeEmptyMessageError = function() {
|
||||
return makeEmptyContentError_113488(require(dependencyMap[0]).intl.string(require(dependencyMap[0]).t.kesTVT));
|
||||
};
|
||||
exports.makeApiNameRequiredError = makeApiNameRequiredError;
|
||||
exports.makeAutomodViolationError = makeAutomodViolationError_113492;
|
||||
exports.renderError = renderError_113493;
|
||||
}
|
||||
|
||||
function makeApiNameRequiredError() { // fn#113491, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15210:744, offset: 0x023fc5ff, size: 81 bytes, params: 1, frame: 17
|
||||
const formSubmitError_113487Binding = formSubmitError_113487;
|
||||
const ApiValidation = env0_2.ApiValidation;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
return formSubmitError_113487Binding(ApiValidation,
|
||||
intl.string((require(1244) /* metro dependency 1244: indexNative */).t.uXA573));
|
||||
}
|
||||
|
||||
function renderError_113493(a0, a1) { // fn#113493, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15210:1056, offset: 0x023fc650, size: 101 bytes, params: 3, frame: 13
|
||||
const value = null;
|
||||
return value == a0 ? value : a0.type !== env0_2.EmptyContent || value == a1.content ? value != a0.message ? a0.message : value : a1.content.trim().length > 0 ? value : value != a0.message ? a0.message : value;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user