// DOMRect
(function (global) {
function number(v) {
return v === undefined ? 0 : Number(v);
}
function different(u, v) {
return u !== v && !(isNaN(u) && isNaN(v));
}
function DOMRect(xArg, yArg, wArg, hArg) {
var x, y, width, height, left, right, top, bottom;
x = number(xArg);
y = number(yArg);
width = number(wArg);
height = number(hArg);
Object.defineProperties(this, {
x: {
get: function () { return x; },
set: function (newX) {
if (different(x, newX)) {
x = newX;
left = right = undefined;
}
},
enumerable: true
},
y: {
get: function () { return y; },
set: function (newY) {
if (different(y, newY)) {
y = newY;
top = bottom = undefined;
}
},
enumerable: true
},
width: {
get: function () { return width; },
set: function (newWidth) {
if (different(width, newWidth)) {
width = newWidth;
left = right = undefined;
}
},
enumerable: true
},
height: {
get: function () { return height; },
set: function (newHeight) {
if (different(height, newHeight)) {
height = newHeight;
top = bottom = undefined;
}
},
enumerable: true
},
left: {
get: function () {
if (left === undefined) {
left = x + Math.min(0, width);
}
return left;
},
enumerable: true
},
right: {
get: function () {
if (right === undefined) {
right = x + Math.max(0, width);
}
return right;
},
enumerable: true
},
top: {
get: function () {
if (top === undefined) {
top = y + Math.min(0, height);
}
return top;
},
enumerable: true
},
bottom: {
get: function () {
if (bottom === undefined) {
bottom = y + Math.max(0, height);
}
return bottom;
},
enumerable: true
}
});
}
global.DOMRect = DOMRect;
}(self));
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| lodash.js | 2026-02-23 19:41 | 531.35 KB | 76129f60960:kunden | -xw-x----- | |
| lodash.min.js | 2026-02-23 19:41 | 69.05 KB | 76129f60960:kunden | -xw-x----- | |
| moment.js | 2026-02-23 19:41 | 172.3 KB | 76129f60960:kunden | -xw-x----- | |
| moment.min.js | 2026-02-23 19:41 | 57.43 KB | 76129f60960:kunden | -xw-x----- | |
| react-dom.js | 2026-02-23 19:41 | 1.03 MB | 76129f60960:kunden | -xw-x----- | |
| react-dom.min.js | 2026-02-23 19:41 | 125.92 KB | 76129f60960:kunden | -xw-x----- | |
| react-jsx-runtime.js | 2026-02-23 19:41 | 46.17 KB | 76129f60960:kunden | -xw-x----- | |
| react-jsx-runtime.min.js | 2026-02-23 19:41 | 900 B | 76129f60960:kunden | -xw-x----- | |
| react-jsx-runtime.min.js.LICENSE.txt | 2026-02-23 19:41 | 249 B | 76129f60960:kunden | -xw-x----- | |
| react.js | 2026-02-23 19:41 | 107.35 KB | 76129f60960:kunden | -xw-x----- | |
| react.min.js | 2026-02-23 19:41 | 10.38 KB | 76129f60960:kunden | -xw-x----- | |
| regenerator-runtime.js | 2026-02-23 19:41 | 24.71 KB | 76129f60960:kunden | -xw-x----- | |
| regenerator-runtime.min.js | 2026-02-23 19:41 | 6.44 KB | 76129f60960:kunden | -xw-x----- | |
| wp-polyfill-dom-rect.js | 2026-02-23 19:41 | 1.88 KB | 76129f60960:kunden | -xw-x----- | |
| wp-polyfill-dom-rect.min.js | 2026-02-23 19:41 | 860 B | 76129f60960:kunden | -xw-x----- | |
| wp-polyfill-element-closest.js | 2026-02-23 19:41 | 428 B | 76129f60960:kunden | -xw-x----- | |
| wp-polyfill-element-closest.min.js | 2026-02-23 19:41 | 425 B | 76129f60960:kunden | -xw-x----- | |
| wp-polyfill-fetch.js | 2026-02-23 19:41 | 19.35 KB | 76129f60960:kunden | -xw-x----- | |
| wp-polyfill-fetch.min.js | 2026-02-23 19:41 | 9.77 KB | 76129f60960:kunden | -xw-x----- | |
| wp-polyfill-formdata.js | 2026-02-23 19:41 | 11.6 KB | 76129f60960:kunden | -xw-x----- | |
| wp-polyfill-formdata.min.js | 2026-02-23 19:41 | 8.57 KB | 76129f60960:kunden | -xw-x----- | |
| wp-polyfill-inert.js | 2026-02-23 19:41 | 29.51 KB | 76129f60960:kunden | -xw-x----- | |
| wp-polyfill-inert.min.js | 2026-02-23 19:41 | 8.02 KB | 76129f60960:kunden | -xw-x----- | |
| wp-polyfill-node-contains.js | 2026-02-23 19:41 | 643 B | 76129f60960:kunden | -xw-x----- | |
| wp-polyfill-node-contains.min.js | 2026-02-23 19:41 | 348 B | 76129f60960:kunden | -xw-x----- | |
| wp-polyfill-object-fit.js | 2026-02-23 19:41 | 8.97 KB | 76129f60960:kunden | -xw-x----- | |
| wp-polyfill-object-fit.min.js | 2026-02-23 19:41 | 2.91 KB | 76129f60960:kunden | -xw-x----- | |
| wp-polyfill-url.js | 2026-02-23 19:41 | 107.75 KB | 76129f60960:kunden | -xw-x----- | |
| wp-polyfill-url.min.js | 2026-02-23 19:41 | 45.97 KB | 76129f60960:kunden | -xw-x----- | |
| wp-polyfill.js | 2026-02-23 19:41 | 106.13 KB | 76129f60960:kunden | -xw-x----- | |
| wp-polyfill.min.js | 2026-02-23 19:41 | 32.76 KB | 76129f60960:kunden | -xw-x----- | |