2026-10-06 11:16:32 +00:00
|
|
|
// Module ID: 6695
|
|
|
|
|
// Function ID: 6696
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: ClipboardUtils
|
2026-10-06 11:16:32 +00:00
|
|
|
// Dependencies: [5, 6696, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: copy, getString
|
|
|
|
|
|
2026-10-06 11:16:32 +00:00
|
|
|
// Module 6695 (ClipboardUtils)
|
|
|
|
|
import _modDef6696 from "module_6696" /* 6696 */;
|
2026-10-03 08:58:59 +00:00
|
|
|
import _asyncToGenerator from "_asyncToGenerator" /* 5 */;
|
|
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-10-03 08:58:59 +00:00
|
|
|
let c2, c3;
|
|
|
|
|
|
|
|
|
|
let obj = function _copy() {
|
|
|
|
|
obj = _asyncToGenerator(async (arg0, value) => {
|
|
|
|
|
let closure_0 = arg0;
|
|
|
|
|
let closure_1 = value;
|
|
|
|
|
if (c2 === 2) {
|
|
|
|
|
c2 = 3;
|
|
|
|
|
throw new TypeError("Generator functions may not be called on executing generators");
|
|
|
|
|
} else if (tmp2 === 3) {
|
|
|
|
|
if (arg0 === 1) {
|
|
|
|
|
throw value;
|
|
|
|
|
} else if (arg0 === 2) {
|
|
|
|
|
const obj3 = { value, done: true };
|
|
|
|
|
return obj3;
|
|
|
|
|
} else {
|
2026-10-05 08:00:40 +00:00
|
|
|
return { value: "IconComponent", done: null };
|
2026-10-03 08:58:59 +00:00
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
} else {
|
2026-10-03 08:58:59 +00:00
|
|
|
try {
|
|
|
|
|
c2 = 2;
|
|
|
|
|
if (0 === c3) {
|
|
|
|
|
if (arg0 === 1) {
|
|
|
|
|
c2 = 3;
|
|
|
|
|
throw value;
|
|
|
|
|
} else if (arg0 === 2) {
|
|
|
|
|
c2 = 3;
|
|
|
|
|
const obj4 = { value, done: true };
|
|
|
|
|
return obj4;
|
|
|
|
|
} else {
|
2026-10-06 11:16:32 +00:00
|
|
|
const obj2 = _modDef6696;
|
2026-10-03 08:58:59 +00:00
|
|
|
obj2.setString(closure_0);
|
|
|
|
|
const tmp5 = closure_1;
|
|
|
|
|
if (closure_1 != null) {
|
|
|
|
|
tmp5();
|
|
|
|
|
}
|
|
|
|
|
c3 = 1;
|
|
|
|
|
c2 = 1;
|
|
|
|
|
const obj5 = { value: Promise.resolve(), done: false };
|
|
|
|
|
return obj5;
|
|
|
|
|
}
|
|
|
|
|
} else if (arg0 === 1) {
|
2026-09-10 05:38:07 +00:00
|
|
|
c2 = 3;
|
|
|
|
|
throw value;
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (arg0 === 2) {
|
2026-09-10 05:38:07 +00:00
|
|
|
c2 = 3;
|
2026-10-03 08:58:59 +00:00
|
|
|
obj = { value, done: true };
|
|
|
|
|
return obj;
|
2026-07-29 08:29:29 +00:00
|
|
|
} else {
|
2026-10-03 08:58:59 +00:00
|
|
|
c2 = 3;
|
2026-10-05 08:00:40 +00:00
|
|
|
return { value: "IconComponent", done: null };
|
2026-07-29 08:29:29 +00:00
|
|
|
}
|
2026-10-03 08:58:59 +00:00
|
|
|
} catch (tmp12) {
|
2026-09-10 05:38:07 +00:00
|
|
|
c2 = 3;
|
2026-10-03 08:58:59 +00:00
|
|
|
throw tmp12;
|
2026-07-29 08:29:29 +00:00
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
}
|
2026-10-03 08:58:59 +00:00
|
|
|
});
|
|
|
|
|
return obj(...arguments);
|
2026-09-10 05:38:07 +00:00
|
|
|
};
|
|
|
|
|
const result = size.fileFinishedImporting("utils/ClipboardUtils.native.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const SUPPORTS_COPY = true;
|
|
|
|
|
export const copy = function copy() {
|
2026-10-03 08:58:59 +00:00
|
|
|
return obj(...arguments);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export const getString = function getString() {
|
2026-10-06 11:16:32 +00:00
|
|
|
obj = _modDef6696;
|
2026-10-03 08:58:59 +00:00
|
|
|
return obj.getString();
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|