2026-07-25 08:10:48 +00:00
|
|
|
// Module ID: 4405
|
|
|
|
|
// Function ID: 38878
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: shimStringTrim
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [1381, 4398, 1382]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-25 08:10:48 +00:00
|
|
|
// Module 4405 (shimStringTrim)
|
2026-07-23 10:11:24 +00:00
|
|
|
let closure_2 = require("hasPropertyDescriptors")();
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function shimStringTrim() {
|
2026-07-25 08:10:48 +00:00
|
|
|
const tmp = require(4398) /* getPolyfill */();
|
2026-07-20 16:05:17 +00:00
|
|
|
if (String.prototype.trim !== tmp) {
|
2026-07-23 10:11:24 +00:00
|
|
|
const tmp5 = require(1382) /* defineDataProperty */;
|
2026-07-20 16:05:17 +00:00
|
|
|
const _String = String;
|
|
|
|
|
if (closure_2) {
|
|
|
|
|
tmp5(prototype, "trim", tmp, true);
|
|
|
|
|
} else {
|
|
|
|
|
tmp5(prototype, "trim", tmp);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return tmp;
|
|
|
|
|
};
|