MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / V

Function V

scripts/backup/fb-proxy.js:163–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161 } = _import("react"),
162 [Z, X] = M(0),
163 V = () => {
164 if (!E[j]) return I(sourceCmp);
165 const g = E[j].find((z) => z.options.skipOthers);
166 if (g && g.component)
167 return T(g.fallback ? Q : O, {
168 fallback: g.fallback,
169 children: T(g.component, {
170 payload: payload,
171 SourceCmp: sourceCmp,
172 lastCmp: I(sourceCmp),
173 definedArgs: argsList,
174 callingArgs: callingArgs,
175 extraPayloadFromDefiner: g.options.extraPayload,
176 proxyCount: 0,
177 removeThisModuleProxy() {
178 const z = E[j].indexOf(g);
179 ~z && E[j].splice(z, 1);
180 },
181 }),
182 });
183 let $ = 0;
184 return E[j].reduce(
185 (lastCmp, P) => (
186 P.component &&
187 ((lastCmp = T(P.fallback ? Q : O, {
188 fallback: P.fallback,
189 children: T(P.component, {
190 payload: payload,
191 SourceCmp: sourceCmp,
192 lastCmp: lastCmp,
193 extraPayloadFromDefiner: P.options.extraPayload,
194 proxyCount: $,
195 definedArgs: argsList,
196 callingArgs: callingArgs,
197 removeThisModuleProxy() {
198 const N = E[j].indexOf(P);
199 if (~N) {
200 const J = k.indexOf(P);
201 E[j].splice(N, 1),
202 k.splice(J, 1),
203 C(_moduleName);
204 }
205 },
206 }),
207 })),
208 $++),
209 lastCmp
210 ),
211 I(sourceCmp)
212 );
213 };
214 function I(g) {
215 return g && g.$1 && typeof g.$1 == "function"
216 ? T(g, g.props)

Callers 1

applyFunction · 0.70

Calls 2

IFunction · 0.70
TFunction · 0.50

Tested by

no test coverage detected