-
Notifications
You must be signed in to change notification settings - Fork 5
/
test.php
73 lines (71 loc) · 2.61 KB
/
test.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?php
return function ($ms) {
return function ($ctx, $json) use ($ms) {
switch ($json->block ? : __undefined) {
case "content005":
switch ($json->elem ? : __undefined) {
case "title-nested":
if (!isset($json->_m[4])) {
$json->_m[4] = true;
$subRes = $ms[4]["fn"]($ctx, $json);
if ($subRes !== null) {
return ($subRes ? : "");
}
if ($json->_stop) {
return;
}
}
break;
case "title":
if (!isset($json->_m[3])) {
$json->_m[3] = true;
$subRes = $ms[3]["fn"]($ctx, $json);
if ($subRes !== null) {
return ($subRes ? : "");
}
if ($json->_stop) {
return;
}
}
break;
case "text":
if (!isset($json->_m[2])) {
$json->_m[2] = true;
$subRes = $ms[2]["fn"]($ctx, $json);
if ($subRes !== null) {
return ($subRes ? : "");
}
if ($json->_stop) {
return;
}
}
break;
}
break;
case "button":
switch ($json->elem ? : __undefined) {
case __undefined:
if (!isset($json->_m[1])) {
$json->_m[1] = true;
$subRes = $ms[1]["fn"]($ctx, $json);
if ($subRes !== null) {
return ($subRes ? : "");
}
if ($json->_stop) {
return;
}
}
break;
}
break;
}
$json->_m[0] = true;
$subRes = $ms[0]["fn"]($ctx, $json);
if ($subRes !== null) {
return ($subRes ? : "");
}
if ($json->_stop) {
return;
}
};
};