Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.119
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html_old /
iNetty /
node_modules /
preact /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
diff
[ DIR ]
drwxr-xr-x
2022-04-21 14:33
cjs.js
115
B
-rw-r--r--
2022-04-21 14:29
clone-element.js
983
B
-rw-r--r--
2022-04-21 14:29
component.js
6.81
KB
-rw-r--r--
2022-04-21 14:29
constants.js
161
B
-rw-r--r--
2022-04-21 14:29
create-context.js
2.11
KB
-rw-r--r--
2022-04-21 14:29
create-element.js
3.01
KB
-rw-r--r--
2022-04-21 14:29
index.d.ts
8.22
KB
-rw-r--r--
2022-04-21 14:29
index.js
391
B
-rw-r--r--
2022-04-21 14:29
internal.d.ts
4.91
KB
-rw-r--r--
2022-04-21 14:29
jsx.d.ts
31.81
KB
-rw-r--r--
2022-04-21 14:29
options.js
587
B
-rw-r--r--
2022-04-21 14:29
render.js
2.43
KB
-rw-r--r--
2022-04-21 14:29
util.js
850
B
-rw-r--r--
2022-04-21 14:29
Save
Rename
import { assign, slice } from './util'; import { createVNode } from './create-element'; /** * Clones the given VNode, optionally adding attributes/props and replacing its children. * @param {import('./internal').VNode} vnode The virtual DOM element to clone * @param {object} props Attributes/props to add when cloning * @param {Array<import('./internal').ComponentChildren>} rest Any additional arguments will be used as replacement children. * @returns {import('./internal').VNode} */ export function cloneElement(vnode, props, children) { let normalizedProps = assign({}, vnode.props), key, ref, i; for (i in props) { if (i == 'key') key = props[i]; else if (i == 'ref') ref = props[i]; else normalizedProps[i] = props[i]; } if (arguments.length > 2) { normalizedProps.children = arguments.length > 3 ? slice.call(arguments, 2) : children; } return createVNode( vnode.type, normalizedProps, key || vnode.key, ref || vnode.ref, null ); }