MCPcopy Index your code
hub / github.com/danielstocks/react-sortable / vg

Function vg

bundle.js:4347–4462  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

4345 tg = J.Callback,
4346 ug = J.ContentReset;
4347function vg(a, b) {
4348 function c(a) {
4349 var c = a.ref;if (null !== c) try {
4350 c(null);
4351 } catch (t) {
4352 b(a, t);
4353 }
4354 }function d(a) {
4355 return a.tag === lg || a.tag === kg || a.tag === ng;
4356 }function e(a) {
4357 for (var b = a;;) {
4358 if (g(b), null !== b.child && b.tag !== ng) b.child["return"] = b, b = b.child;else {
4359 if (b === a) break;for (; null === b.sibling;) {
4360 if (null === b["return"] || b["return"] === a) return;b = b["return"];
4361 }b.sibling["return"] = b["return"];b = b.sibling;
4362 }
4363 }
4364 }function f(a) {
4365 for (var b = a, c = !1, d = void 0, f = void 0;;) {
4366 if (!c) {
4367 c = b["return"];a: for (;;) {
4368 null === c ? w("160") : void 0;switch (c.tag) {case lg:
4369 d = c.stateNode;f = !1;break a;case kg:
4370 d = c.stateNode.containerInfo;f = !0;break a;case ng:
4371 d = c.stateNode.containerInfo;f = !0;break a;}c = c["return"];
4372 }c = !0;
4373 }if (b.tag === lg || b.tag === mg) e(b), f ? C(d, b.stateNode) : H(d, b.stateNode);else if (b.tag === ng ? d = b.stateNode.containerInfo : g(b), null !== b.child) {
4374 b.child["return"] = b;b = b.child;continue;
4375 }if (b === a) break;for (; null === b.sibling;) {
4376 if (null === b["return"] || b["return"] === a) return;b = b["return"];b.tag === ng && (c = !1);
4377 }b.sibling["return"] = b["return"];b = b.sibling;
4378 }
4379 }function g(a) {
4380 "function" === typeof qg && qg(a);switch (a.tag) {case jg:
4381 c(a);var d = a.stateNode;if ("function" === typeof d.componentWillUnmount) try {
4382 d.props = a.memoizedProps, d.state = a.memoizedState, d.componentWillUnmount();
4383 } catch (t) {
4384 b(a, t);
4385 }break;case lg:
4386 c(a);break;case og:
4387 e(a.stateNode);break;case ng:
4388 f(a);}
4389 }var h = a.commitMount,
4390 k = a.commitUpdate,
4391 p = a.resetTextContent,
4392 x = a.commitTextUpdate,
4393 S = a.appendChild,
4394 D = a.appendChildToContainer,
4395 y = a.insertBefore,
4396 B = a.insertInContainerBefore,
4397 H = a.removeChild,
4398 C = a.removeChildFromContainer,
4399 Ca = a.getPublicInstance;
4400 return { commitPlacement: function commitPlacement(a) {
4401 a: {
4402 for (var b = a["return"]; null !== b;) {
4403 if (d(b)) {
4404 var c = b;break a;

Callers 1

hhFunction · 0.85

Calls 14

dFunction · 0.85
wFunction · 0.85
pFunction · 0.85
BFunction · 0.85
yFunction · 0.85
DFunction · 0.85
SFunction · 0.85
fFunction · 0.85
kFunction · 0.85
xFunction · 0.85
hFunction · 0.85
bFunction · 0.85

Tested by

no test coverage detected